Documentation ¶
Index ¶
- Constants
- type KNWToken
- type KNWTokenBurn
- type KNWTokenBurnIterator
- type KNWTokenCaller
- func (_KNWToken *KNWTokenCaller) BalanceOfLabel(opts *bind.CallOpts, _address common.Address, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_KNWToken *KNWTokenCaller) FreeBalanceOfLabel(opts *bind.CallOpts, _address common.Address, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenCaller) LabelCountOfAddress(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
- func (_KNWToken *KNWTokenCaller) LabelOfAddress(opts *bind.CallOpts, _address common.Address, _labelID *big.Int) (string, error)
- func (_KNWToken *KNWTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_KNWToken *KNWTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_KNWToken *KNWTokenCaller) TotalLabelSupply(opts *bind.CallOpts, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_KNWToken *KNWTokenCaller) VotingContracts(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- type KNWTokenCallerRaw
- type KNWTokenCallerSession
- func (_KNWToken *KNWTokenCallerSession) BalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenCallerSession) Decimals() (uint8, error)
- func (_KNWToken *KNWTokenCallerSession) FreeBalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenCallerSession) LabelCountOfAddress(_address common.Address) (*big.Int, error)
- func (_KNWToken *KNWTokenCallerSession) LabelOfAddress(_address common.Address, _labelID *big.Int) (string, error)
- func (_KNWToken *KNWTokenCallerSession) Name() (string, error)
- func (_KNWToken *KNWTokenCallerSession) Symbol() (string, error)
- func (_KNWToken *KNWTokenCallerSession) TotalLabelSupply(_label string) (*big.Int, error)
- func (_KNWToken *KNWTokenCallerSession) TotalSupply() (*big.Int, error)
- func (_KNWToken *KNWTokenCallerSession) VotingContracts(arg0 common.Address) (bool, error)
- type KNWTokenFilterer
- func (_KNWToken *KNWTokenFilterer) FilterBurn(opts *bind.FilterOpts, who []common.Address) (*KNWTokenBurnIterator, error)
- func (_KNWToken *KNWTokenFilterer) FilterMint(opts *bind.FilterOpts, who []common.Address) (*KNWTokenMintIterator, error)
- func (_KNWToken *KNWTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *KNWTokenBurn, who []common.Address) (event.Subscription, error)
- func (_KNWToken *KNWTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *KNWTokenMint, who []common.Address) (event.Subscription, error)
- type KNWTokenMint
- type KNWTokenMintIterator
- type KNWTokenRaw
- func (_KNWToken *KNWTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_KNWToken *KNWTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_KNWToken *KNWTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type KNWTokenSession
- func (_KNWToken *KNWTokenSession) AddVotingContract(_contractAddress common.Address) (*types.Transaction, error)
- func (_KNWToken *KNWTokenSession) BalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenSession) Burn(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenSession) Decimals() (uint8, error)
- func (_KNWToken *KNWTokenSession) FreeBalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
- func (_KNWToken *KNWTokenSession) LabelCountOfAddress(_address common.Address) (*big.Int, error)
- func (_KNWToken *KNWTokenSession) LabelOfAddress(_address common.Address, _labelID *big.Int) (string, error)
- func (_KNWToken *KNWTokenSession) LockTokens(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenSession) Mint(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenSession) Name() (string, error)
- func (_KNWToken *KNWTokenSession) Symbol() (string, error)
- func (_KNWToken *KNWTokenSession) TotalLabelSupply(_label string) (*big.Int, error)
- func (_KNWToken *KNWTokenSession) TotalSupply() (*big.Int, error)
- func (_KNWToken *KNWTokenSession) UnlockTokens(_address common.Address, _label string, _numberOfTokens *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenSession) VotingContracts(arg0 common.Address) (bool, error)
- type KNWTokenTransactor
- func (_KNWToken *KNWTokenTransactor) AddVotingContract(opts *bind.TransactOpts, _contractAddress common.Address) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactor) Burn(opts *bind.TransactOpts, _address common.Address, _label string, ...) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactor) LockTokens(opts *bind.TransactOpts, _address common.Address, _label string, ...) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactor) Mint(opts *bind.TransactOpts, _address common.Address, _label string, ...) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactor) UnlockTokens(opts *bind.TransactOpts, _address common.Address, _label string, ...) (*types.Transaction, error)
- type KNWTokenTransactorRaw
- type KNWTokenTransactorSession
- func (_KNWToken *KNWTokenTransactorSession) AddVotingContract(_contractAddress common.Address) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactorSession) Burn(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactorSession) LockTokens(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactorSession) Mint(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
- func (_KNWToken *KNWTokenTransactorSession) UnlockTokens(_address common.Address, _label string, _numberOfTokens *big.Int) (*types.Transaction, error)
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const KNWTokenABI = "" /* 4249-byte string literal not displayed */
KNWTokenABI is the input ABI used to generate the binding from.
const KNWTokenBin = `` /* 9776-byte string literal not displayed */
KNWTokenBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "" /* 210-byte string literal not displayed */
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 824-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KNWToken ¶
type KNWToken struct { KNWTokenCaller // Read-only binding to the contract KNWTokenTransactor // Write-only binding to the contract KNWTokenFilterer // Log filterer for contract events }
KNWToken is an auto generated Go binding around an Ethereum contract.
func DeployKNWToken ¶
func DeployKNWToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *KNWToken, error)
DeployKNWToken deploys a new Ethereum contract, binding an instance of KNWToken to it.
func NewKNWToken ¶
NewKNWToken creates a new instance of KNWToken, bound to a specific deployed contract.
type KNWTokenBurn ¶
type KNWTokenBurn struct { Who common.Address Label string Value *big.Int Raw types.Log // Blockchain specific contextual infos }
KNWTokenBurn represents a Burn event raised by the KNWToken contract.
type KNWTokenBurnIterator ¶
type KNWTokenBurnIterator struct { Event *KNWTokenBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KNWTokenBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the KNWToken contract.
func (*KNWTokenBurnIterator) Close ¶
func (it *KNWTokenBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KNWTokenBurnIterator) Error ¶
func (it *KNWTokenBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KNWTokenBurnIterator) Next ¶
func (it *KNWTokenBurnIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type KNWTokenCaller ¶
type KNWTokenCaller struct {
// contains filtered or unexported fields
}
KNWTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewKNWTokenCaller ¶
func NewKNWTokenCaller(address common.Address, caller bind.ContractCaller) (*KNWTokenCaller, error)
NewKNWTokenCaller creates a new read-only instance of KNWToken, bound to a specific deployed contract.
func (*KNWTokenCaller) BalanceOfLabel ¶
func (_KNWToken *KNWTokenCaller) BalanceOfLabel(opts *bind.CallOpts, _address common.Address, _label string) (*big.Int, error)
BalanceOfLabel is a free data retrieval call binding the contract method 0xb88c0f98.
Solidity: function balanceOfLabel(address _address, string _label) constant returns(uint256 balance)
func (*KNWTokenCaller) Decimals ¶
func (_KNWToken *KNWTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*KNWTokenCaller) FreeBalanceOfLabel ¶
func (_KNWToken *KNWTokenCaller) FreeBalanceOfLabel(opts *bind.CallOpts, _address common.Address, _label string) (*big.Int, error)
FreeBalanceOfLabel is a free data retrieval call binding the contract method 0x06970f1c.
Solidity: function freeBalanceOfLabel(address _address, string _label) constant returns(uint256 freeBalance)
func (*KNWTokenCaller) LabelCountOfAddress ¶
func (_KNWToken *KNWTokenCaller) LabelCountOfAddress(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
LabelCountOfAddress is a free data retrieval call binding the contract method 0xe7017fc4.
Solidity: function labelCountOfAddress(address _address) constant returns(uint256 labelCount)
func (*KNWTokenCaller) LabelOfAddress ¶
func (_KNWToken *KNWTokenCaller) LabelOfAddress(opts *bind.CallOpts, _address common.Address, _labelID *big.Int) (string, error)
LabelOfAddress is a free data retrieval call binding the contract method 0x58e546cf.
Solidity: function labelOfAddress(address _address, uint256 _labelID) constant returns(string label)
func (*KNWTokenCaller) Name ¶
func (_KNWToken *KNWTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*KNWTokenCaller) Symbol ¶
func (_KNWToken *KNWTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*KNWTokenCaller) TotalLabelSupply ¶
func (_KNWToken *KNWTokenCaller) TotalLabelSupply(opts *bind.CallOpts, _label string) (*big.Int, error)
TotalLabelSupply is a free data retrieval call binding the contract method 0xc1a63f3c.
Solidity: function totalLabelSupply(string _label) constant returns(uint256 totalSupplyOfLabel)
func (*KNWTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*KNWTokenCaller) VotingContracts ¶
func (_KNWToken *KNWTokenCaller) VotingContracts(opts *bind.CallOpts, arg0 common.Address) (bool, error)
VotingContracts is a free data retrieval call binding the contract method 0xfa06792b.
Solidity: function votingContracts(address ) constant returns(bool)
type KNWTokenCallerRaw ¶
type KNWTokenCallerRaw struct {
Contract *KNWTokenCaller // Generic read-only contract binding to access the raw methods on
}
KNWTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*KNWTokenCallerRaw) Call ¶
func (_KNWToken *KNWTokenCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type KNWTokenCallerSession ¶
type KNWTokenCallerSession struct { Contract *KNWTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KNWTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*KNWTokenCallerSession) BalanceOfLabel ¶
func (_KNWToken *KNWTokenCallerSession) BalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
BalanceOfLabel is a free data retrieval call binding the contract method 0xb88c0f98.
Solidity: function balanceOfLabel(address _address, string _label) constant returns(uint256 balance)
func (*KNWTokenCallerSession) Decimals ¶
func (_KNWToken *KNWTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*KNWTokenCallerSession) FreeBalanceOfLabel ¶
func (_KNWToken *KNWTokenCallerSession) FreeBalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
FreeBalanceOfLabel is a free data retrieval call binding the contract method 0x06970f1c.
Solidity: function freeBalanceOfLabel(address _address, string _label) constant returns(uint256 freeBalance)
func (*KNWTokenCallerSession) LabelCountOfAddress ¶
func (_KNWToken *KNWTokenCallerSession) LabelCountOfAddress(_address common.Address) (*big.Int, error)
LabelCountOfAddress is a free data retrieval call binding the contract method 0xe7017fc4.
Solidity: function labelCountOfAddress(address _address) constant returns(uint256 labelCount)
func (*KNWTokenCallerSession) LabelOfAddress ¶
func (_KNWToken *KNWTokenCallerSession) LabelOfAddress(_address common.Address, _labelID *big.Int) (string, error)
LabelOfAddress is a free data retrieval call binding the contract method 0x58e546cf.
Solidity: function labelOfAddress(address _address, uint256 _labelID) constant returns(string label)
func (*KNWTokenCallerSession) Name ¶
func (_KNWToken *KNWTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*KNWTokenCallerSession) Symbol ¶
func (_KNWToken *KNWTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*KNWTokenCallerSession) TotalLabelSupply ¶
func (_KNWToken *KNWTokenCallerSession) TotalLabelSupply(_label string) (*big.Int, error)
TotalLabelSupply is a free data retrieval call binding the contract method 0xc1a63f3c.
Solidity: function totalLabelSupply(string _label) constant returns(uint256 totalSupplyOfLabel)
func (*KNWTokenCallerSession) TotalSupply ¶
func (_KNWToken *KNWTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*KNWTokenCallerSession) VotingContracts ¶
func (_KNWToken *KNWTokenCallerSession) VotingContracts(arg0 common.Address) (bool, error)
VotingContracts is a free data retrieval call binding the contract method 0xfa06792b.
Solidity: function votingContracts(address ) constant returns(bool)
type KNWTokenFilterer ¶
type KNWTokenFilterer struct {
// contains filtered or unexported fields
}
KNWTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewKNWTokenFilterer ¶
func NewKNWTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*KNWTokenFilterer, error)
NewKNWTokenFilterer creates a new log filterer instance of KNWToken, bound to a specific deployed contract.
func (*KNWTokenFilterer) FilterBurn ¶
func (_KNWToken *KNWTokenFilterer) FilterBurn(opts *bind.FilterOpts, who []common.Address) (*KNWTokenBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed who, string label, uint256 value)
func (*KNWTokenFilterer) FilterMint ¶
func (_KNWToken *KNWTokenFilterer) FilterMint(opts *bind.FilterOpts, who []common.Address) (*KNWTokenMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0xec4de1eef14af3ae5d77facf1ed7a9d3d50f6285573ee0ec155fc11217fc3442.
Solidity: event Mint(address indexed who, string label, uint256 value)
func (*KNWTokenFilterer) WatchBurn ¶
func (_KNWToken *KNWTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *KNWTokenBurn, who []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed who, string label, uint256 value)
func (*KNWTokenFilterer) WatchMint ¶
func (_KNWToken *KNWTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *KNWTokenMint, who []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0xec4de1eef14af3ae5d77facf1ed7a9d3d50f6285573ee0ec155fc11217fc3442.
Solidity: event Mint(address indexed who, string label, uint256 value)
type KNWTokenMint ¶
type KNWTokenMint struct { Who common.Address Label string Value *big.Int Raw types.Log // Blockchain specific contextual infos }
KNWTokenMint represents a Mint event raised by the KNWToken contract.
type KNWTokenMintIterator ¶
type KNWTokenMintIterator struct { Event *KNWTokenMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KNWTokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the KNWToken contract.
func (*KNWTokenMintIterator) Close ¶
func (it *KNWTokenMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KNWTokenMintIterator) Error ¶
func (it *KNWTokenMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KNWTokenMintIterator) Next ¶
func (it *KNWTokenMintIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type KNWTokenRaw ¶
type KNWTokenRaw struct {
Contract *KNWToken // Generic contract binding to access the raw methods on
}
KNWTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*KNWTokenRaw) Call ¶
func (_KNWToken *KNWTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*KNWTokenRaw) Transact ¶
func (_KNWToken *KNWTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KNWTokenRaw) Transfer ¶
func (_KNWToken *KNWTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type KNWTokenSession ¶
type KNWTokenSession struct { Contract *KNWToken // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KNWTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*KNWTokenSession) AddVotingContract ¶
func (_KNWToken *KNWTokenSession) AddVotingContract(_contractAddress common.Address) (*types.Transaction, error)
AddVotingContract is a paid mutator transaction binding the contract method 0x20c7ad57.
Solidity: function addVotingContract(address _contractAddress) returns(bool success)
func (*KNWTokenSession) BalanceOfLabel ¶
func (_KNWToken *KNWTokenSession) BalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
BalanceOfLabel is a free data retrieval call binding the contract method 0xb88c0f98.
Solidity: function balanceOfLabel(address _address, string _label) constant returns(uint256 balance)
func (*KNWTokenSession) Burn ¶
func (_KNWToken *KNWTokenSession) Burn(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xc45b71de.
Solidity: function burn(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenSession) Decimals ¶
func (_KNWToken *KNWTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*KNWTokenSession) FreeBalanceOfLabel ¶
func (_KNWToken *KNWTokenSession) FreeBalanceOfLabel(_address common.Address, _label string) (*big.Int, error)
FreeBalanceOfLabel is a free data retrieval call binding the contract method 0x06970f1c.
Solidity: function freeBalanceOfLabel(address _address, string _label) constant returns(uint256 freeBalance)
func (*KNWTokenSession) LabelCountOfAddress ¶
LabelCountOfAddress is a free data retrieval call binding the contract method 0xe7017fc4.
Solidity: function labelCountOfAddress(address _address) constant returns(uint256 labelCount)
func (*KNWTokenSession) LabelOfAddress ¶
func (_KNWToken *KNWTokenSession) LabelOfAddress(_address common.Address, _labelID *big.Int) (string, error)
LabelOfAddress is a free data retrieval call binding the contract method 0x58e546cf.
Solidity: function labelOfAddress(address _address, uint256 _labelID) constant returns(string label)
func (*KNWTokenSession) LockTokens ¶
func (_KNWToken *KNWTokenSession) LockTokens(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
LockTokens is a paid mutator transaction binding the contract method 0x73599798.
Solidity: function lockTokens(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenSession) Mint ¶
func (_KNWToken *KNWTokenSession) Mint(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xba7aef43.
Solidity: function mint(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenSession) Name ¶
func (_KNWToken *KNWTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*KNWTokenSession) Symbol ¶
func (_KNWToken *KNWTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*KNWTokenSession) TotalLabelSupply ¶
func (_KNWToken *KNWTokenSession) TotalLabelSupply(_label string) (*big.Int, error)
TotalLabelSupply is a free data retrieval call binding the contract method 0xc1a63f3c.
Solidity: function totalLabelSupply(string _label) constant returns(uint256 totalSupplyOfLabel)
func (*KNWTokenSession) TotalSupply ¶
func (_KNWToken *KNWTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*KNWTokenSession) UnlockTokens ¶
func (_KNWToken *KNWTokenSession) UnlockTokens(_address common.Address, _label string, _numberOfTokens *big.Int) (*types.Transaction, error)
UnlockTokens is a paid mutator transaction binding the contract method 0xd950df34.
Solidity: function unlockTokens(address _address, string _label, uint256 _numberOfTokens) returns(bool success)
func (*KNWTokenSession) VotingContracts ¶
func (_KNWToken *KNWTokenSession) VotingContracts(arg0 common.Address) (bool, error)
VotingContracts is a free data retrieval call binding the contract method 0xfa06792b.
Solidity: function votingContracts(address ) constant returns(bool)
type KNWTokenTransactor ¶
type KNWTokenTransactor struct {
// contains filtered or unexported fields
}
KNWTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewKNWTokenTransactor ¶
func NewKNWTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*KNWTokenTransactor, error)
NewKNWTokenTransactor creates a new write-only instance of KNWToken, bound to a specific deployed contract.
func (*KNWTokenTransactor) AddVotingContract ¶
func (_KNWToken *KNWTokenTransactor) AddVotingContract(opts *bind.TransactOpts, _contractAddress common.Address) (*types.Transaction, error)
AddVotingContract is a paid mutator transaction binding the contract method 0x20c7ad57.
Solidity: function addVotingContract(address _contractAddress) returns(bool success)
func (*KNWTokenTransactor) Burn ¶
func (_KNWToken *KNWTokenTransactor) Burn(opts *bind.TransactOpts, _address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xc45b71de.
Solidity: function burn(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenTransactor) LockTokens ¶
func (_KNWToken *KNWTokenTransactor) LockTokens(opts *bind.TransactOpts, _address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
LockTokens is a paid mutator transaction binding the contract method 0x73599798.
Solidity: function lockTokens(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenTransactor) Mint ¶
func (_KNWToken *KNWTokenTransactor) Mint(opts *bind.TransactOpts, _address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xba7aef43.
Solidity: function mint(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenTransactor) UnlockTokens ¶
func (_KNWToken *KNWTokenTransactor) UnlockTokens(opts *bind.TransactOpts, _address common.Address, _label string, _numberOfTokens *big.Int) (*types.Transaction, error)
UnlockTokens is a paid mutator transaction binding the contract method 0xd950df34.
Solidity: function unlockTokens(address _address, string _label, uint256 _numberOfTokens) returns(bool success)
type KNWTokenTransactorRaw ¶
type KNWTokenTransactorRaw struct {
Contract *KNWTokenTransactor // Generic write-only contract binding to access the raw methods on
}
KNWTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*KNWTokenTransactorRaw) Transact ¶
func (_KNWToken *KNWTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KNWTokenTransactorRaw) Transfer ¶
func (_KNWToken *KNWTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type KNWTokenTransactorSession ¶
type KNWTokenTransactorSession struct { Contract *KNWTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KNWTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*KNWTokenTransactorSession) AddVotingContract ¶
func (_KNWToken *KNWTokenTransactorSession) AddVotingContract(_contractAddress common.Address) (*types.Transaction, error)
AddVotingContract is a paid mutator transaction binding the contract method 0x20c7ad57.
Solidity: function addVotingContract(address _contractAddress) returns(bool success)
func (*KNWTokenTransactorSession) Burn ¶
func (_KNWToken *KNWTokenTransactorSession) Burn(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xc45b71de.
Solidity: function burn(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenTransactorSession) LockTokens ¶
func (_KNWToken *KNWTokenTransactorSession) LockTokens(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
LockTokens is a paid mutator transaction binding the contract method 0x73599798.
Solidity: function lockTokens(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenTransactorSession) Mint ¶
func (_KNWToken *KNWTokenTransactorSession) Mint(_address common.Address, _label string, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xba7aef43.
Solidity: function mint(address _address, string _label, uint256 _amount) returns(bool success)
func (*KNWTokenTransactorSession) UnlockTokens ¶
func (_KNWToken *KNWTokenTransactorSession) UnlockTokens(_address common.Address, _label string, _numberOfTokens *big.Int) (*types.Transaction, error)
UnlockTokens is a paid mutator transaction binding the contract method 0xd950df34.
Solidity: function unlockTokens(address _address, string _label, uint256 _numberOfTokens) returns(bool success)
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.