Documentation ¶
Index ¶
- Constants
- type ContractsErc20
- type ContractsErc20Approval
- type ContractsErc20ApprovalIterator
- type ContractsErc20Caller
- func (_ContractsErc20 *ContractsErc20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ContractsErc20 *ContractsErc20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ContractsErc20 *ContractsErc20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ContractsErc20 *ContractsErc20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ContractsErc20CallerRaw
- type ContractsErc20CallerSession
- func (_ContractsErc20 *ContractsErc20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20CallerSession) Decimals() (uint8, error)
- func (_ContractsErc20 *ContractsErc20CallerSession) Name() (string, error)
- func (_ContractsErc20 *ContractsErc20CallerSession) Symbol() (string, error)
- func (_ContractsErc20 *ContractsErc20CallerSession) TotalSupply() (*big.Int, error)
- type ContractsErc20Filterer
- func (_ContractsErc20 *ContractsErc20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ContractsErc20ApprovalIterator, error)
- func (_ContractsErc20 *ContractsErc20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ContractsErc20TransferIterator, error)
- func (_ContractsErc20 *ContractsErc20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractsErc20Approval, ...) (event.Subscription, error)
- func (_ContractsErc20 *ContractsErc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractsErc20Transfer, ...) (event.Subscription, error)
- type ContractsErc20Raw
- func (_ContractsErc20 *ContractsErc20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ContractsErc20 *ContractsErc20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractsErc20Session
- func (_ContractsErc20 *ContractsErc20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20Session) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20Session) Decimals() (uint8, error)
- func (_ContractsErc20 *ContractsErc20Session) Name() (string, error)
- func (_ContractsErc20 *ContractsErc20Session) Symbol() (string, error)
- func (_ContractsErc20 *ContractsErc20Session) TotalSupply() (*big.Int, error)
- func (_ContractsErc20 *ContractsErc20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ContractsErc20Transactor
- func (_ContractsErc20 *ContractsErc20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type ContractsErc20TransactorRaw
- type ContractsErc20TransactorSession
- func (_ContractsErc20 *ContractsErc20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ContractsErc20 *ContractsErc20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ContractsErc20Transfer
- type ContractsErc20TransferIterator
Constants ¶
const ContractsErc20ABI = "" /* 2603-byte string literal not displayed */
ContractsErc20ABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractsErc20 ¶
type ContractsErc20 struct { ContractsErc20Caller // Read-only binding to the contract ContractsErc20Transactor // Write-only binding to the contract ContractsErc20Filterer // Log filterer for contract events }
ContractsErc20 is an auto generated Go binding around an Ethereum contract.
func NewContractsErc20 ¶
func NewContractsErc20(address common.Address, backend bind.ContractBackend) (*ContractsErc20, error)
NewContractsErc20 creates a new instance of ContractsErc20, bound to a specific deployed contract.
type ContractsErc20Approval ¶
type ContractsErc20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractsErc20Approval represents a Approval event raised by the ContractsErc20 contract.
type ContractsErc20ApprovalIterator ¶
type ContractsErc20ApprovalIterator struct { Event *ContractsErc20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractsErc20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ContractsErc20 contract.
func (*ContractsErc20ApprovalIterator) Close ¶
func (it *ContractsErc20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractsErc20ApprovalIterator) Error ¶
func (it *ContractsErc20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractsErc20ApprovalIterator) Next ¶
func (it *ContractsErc20ApprovalIterator) 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 ContractsErc20Caller ¶
type ContractsErc20Caller struct {
// contains filtered or unexported fields
}
ContractsErc20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractsErc20Caller ¶
func NewContractsErc20Caller(address common.Address, caller bind.ContractCaller) (*ContractsErc20Caller, error)
NewContractsErc20Caller creates a new read-only instance of ContractsErc20, bound to a specific deployed contract.
func (*ContractsErc20Caller) Allowance ¶
func (_ContractsErc20 *ContractsErc20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ContractsErc20Caller) BalanceOf ¶
func (_ContractsErc20 *ContractsErc20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256 balance)
func (*ContractsErc20Caller) Decimals ¶
func (_ContractsErc20 *ContractsErc20Caller) 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 (*ContractsErc20Caller) Name ¶
func (_ContractsErc20 *ContractsErc20Caller) 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 (*ContractsErc20Caller) Symbol ¶
func (_ContractsErc20 *ContractsErc20Caller) 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 (*ContractsErc20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ContractsErc20CallerRaw ¶
type ContractsErc20CallerRaw struct {
Contract *ContractsErc20Caller // Generic read-only contract binding to access the raw methods on
}
ContractsErc20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractsErc20CallerRaw) Call ¶
func (_ContractsErc20 *ContractsErc20CallerRaw) 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 ContractsErc20CallerSession ¶
type ContractsErc20CallerSession struct { Contract *ContractsErc20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractsErc20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractsErc20CallerSession) Allowance ¶
func (_ContractsErc20 *ContractsErc20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ContractsErc20CallerSession) BalanceOf ¶
func (_ContractsErc20 *ContractsErc20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256 balance)
func (*ContractsErc20CallerSession) Decimals ¶
func (_ContractsErc20 *ContractsErc20CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*ContractsErc20CallerSession) Name ¶
func (_ContractsErc20 *ContractsErc20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*ContractsErc20CallerSession) Symbol ¶
func (_ContractsErc20 *ContractsErc20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*ContractsErc20CallerSession) TotalSupply ¶
func (_ContractsErc20 *ContractsErc20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ContractsErc20Filterer ¶
type ContractsErc20Filterer struct {
// contains filtered or unexported fields
}
ContractsErc20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractsErc20Filterer ¶
func NewContractsErc20Filterer(address common.Address, filterer bind.ContractFilterer) (*ContractsErc20Filterer, error)
NewContractsErc20Filterer creates a new log filterer instance of ContractsErc20, bound to a specific deployed contract.
func (*ContractsErc20Filterer) FilterApproval ¶
func (_ContractsErc20 *ContractsErc20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ContractsErc20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ContractsErc20Filterer) FilterTransfer ¶
func (_ContractsErc20 *ContractsErc20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ContractsErc20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ContractsErc20Filterer) WatchApproval ¶
func (_ContractsErc20 *ContractsErc20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractsErc20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ContractsErc20Filterer) WatchTransfer ¶
func (_ContractsErc20 *ContractsErc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractsErc20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ContractsErc20Raw ¶
type ContractsErc20Raw struct {
Contract *ContractsErc20 // Generic contract binding to access the raw methods on
}
ContractsErc20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractsErc20Raw) Call ¶
func (_ContractsErc20 *ContractsErc20Raw) 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 (*ContractsErc20Raw) Transact ¶
func (_ContractsErc20 *ContractsErc20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractsErc20Raw) Transfer ¶
func (_ContractsErc20 *ContractsErc20Raw) 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 ContractsErc20Session ¶
type ContractsErc20Session struct { Contract *ContractsErc20 // 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 }
ContractsErc20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractsErc20Session) Allowance ¶
func (_ContractsErc20 *ContractsErc20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ContractsErc20Session) Approve ¶
func (_ContractsErc20 *ContractsErc20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ContractsErc20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256 balance)
func (*ContractsErc20Session) Decimals ¶
func (_ContractsErc20 *ContractsErc20Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*ContractsErc20Session) Name ¶
func (_ContractsErc20 *ContractsErc20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*ContractsErc20Session) Symbol ¶
func (_ContractsErc20 *ContractsErc20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*ContractsErc20Session) TotalSupply ¶
func (_ContractsErc20 *ContractsErc20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ContractsErc20Session) Transfer ¶
func (_ContractsErc20 *ContractsErc20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ContractsErc20Session) TransferFrom ¶
func (_ContractsErc20 *ContractsErc20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ContractsErc20Transactor ¶
type ContractsErc20Transactor struct {
// contains filtered or unexported fields
}
ContractsErc20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractsErc20Transactor ¶
func NewContractsErc20Transactor(address common.Address, transactor bind.ContractTransactor) (*ContractsErc20Transactor, error)
NewContractsErc20Transactor creates a new write-only instance of ContractsErc20, bound to a specific deployed contract.
func (*ContractsErc20Transactor) Approve ¶
func (_ContractsErc20 *ContractsErc20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ContractsErc20Transactor) Transfer ¶
func (_ContractsErc20 *ContractsErc20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ContractsErc20Transactor) TransferFrom ¶
func (_ContractsErc20 *ContractsErc20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ContractsErc20TransactorRaw ¶
type ContractsErc20TransactorRaw struct {
Contract *ContractsErc20Transactor // Generic write-only contract binding to access the raw methods on
}
ContractsErc20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractsErc20TransactorRaw) Transact ¶
func (_ContractsErc20 *ContractsErc20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractsErc20TransactorRaw) Transfer ¶
func (_ContractsErc20 *ContractsErc20TransactorRaw) 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 ContractsErc20TransactorSession ¶
type ContractsErc20TransactorSession struct { Contract *ContractsErc20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractsErc20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractsErc20TransactorSession) Approve ¶
func (_ContractsErc20 *ContractsErc20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ContractsErc20TransactorSession) Transfer ¶
func (_ContractsErc20 *ContractsErc20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ContractsErc20TransactorSession) TransferFrom ¶
func (_ContractsErc20 *ContractsErc20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ContractsErc20Transfer ¶
type ContractsErc20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractsErc20Transfer represents a Transfer event raised by the ContractsErc20 contract.
type ContractsErc20TransferIterator ¶
type ContractsErc20TransferIterator struct { Event *ContractsErc20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractsErc20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ContractsErc20 contract.
func (*ContractsErc20TransferIterator) Close ¶
func (it *ContractsErc20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractsErc20TransferIterator) Error ¶
func (it *ContractsErc20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractsErc20TransferIterator) Next ¶
func (it *ContractsErc20TransferIterator) 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.