Documentation ¶
Index ¶
- Variables
- type Erc20Metadata
- type Erc20MetadataApproval
- type Erc20MetadataApprovalIterator
- type Erc20MetadataCaller
- func (_Erc20Metadata *Erc20MetadataCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Erc20Metadata *Erc20MetadataCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Erc20Metadata *Erc20MetadataCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Erc20Metadata *Erc20MetadataCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type Erc20MetadataCallerRaw
- type Erc20MetadataCallerSession
- func (_Erc20Metadata *Erc20MetadataCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataCallerSession) Decimals() (uint8, error)
- func (_Erc20Metadata *Erc20MetadataCallerSession) Name() (string, error)
- func (_Erc20Metadata *Erc20MetadataCallerSession) Symbol() (string, error)
- func (_Erc20Metadata *Erc20MetadataCallerSession) TotalSupply() (*big.Int, error)
- type Erc20MetadataFilterer
- func (_Erc20Metadata *Erc20MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc20MetadataApprovalIterator, error)
- func (_Erc20Metadata *Erc20MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc20MetadataTransferIterator, error)
- func (_Erc20Metadata *Erc20MetadataFilterer) ParseApproval(log types.Log) (*Erc20MetadataApproval, error)
- func (_Erc20Metadata *Erc20MetadataFilterer) ParseTransfer(log types.Log) (*Erc20MetadataTransfer, error)
- func (_Erc20Metadata *Erc20MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20MetadataApproval, ...) (event.Subscription, error)
- func (_Erc20Metadata *Erc20MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20MetadataTransfer, ...) (event.Subscription, error)
- type Erc20MetadataRaw
- func (_Erc20Metadata *Erc20MetadataRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Erc20Metadata *Erc20MetadataRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Erc20MetadataSession
- func (_Erc20Metadata *Erc20MetadataSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataSession) Decimals() (uint8, error)
- func (_Erc20Metadata *Erc20MetadataSession) Name() (string, error)
- func (_Erc20Metadata *Erc20MetadataSession) Symbol() (string, error)
- func (_Erc20Metadata *Erc20MetadataSession) TotalSupply() (*big.Int, error)
- func (_Erc20Metadata *Erc20MetadataSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type Erc20MetadataTransactor
- func (_Erc20Metadata *Erc20MetadataTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type Erc20MetadataTransactorRaw
- type Erc20MetadataTransactorSession
- func (_Erc20Metadata *Erc20MetadataTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc20Metadata *Erc20MetadataTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type Erc20MetadataTransfer
- type Erc20MetadataTransferIterator
Constants ¶
This section is empty.
Variables ¶
var Erc20MetadataABI = Erc20MetadataMetaData.ABI
Erc20MetadataABI is the input ABI used to generate the binding from. Deprecated: Use Erc20MetadataMetaData.ABI instead.
var Erc20MetadataMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Erc20MetadataMetaData contains all meta data concerning the Erc20Metadata contract.
Functions ¶
This section is empty.
Types ¶
type Erc20Metadata ¶
type Erc20Metadata struct { Erc20MetadataCaller // Read-only binding to the contract Erc20MetadataTransactor // Write-only binding to the contract Erc20MetadataFilterer // Log filterer for contract events }
Erc20Metadata is an auto generated Go binding around an Ethereum contract.
func NewErc20Metadata ¶
func NewErc20Metadata(address common.Address, backend bind.ContractBackend) (*Erc20Metadata, error)
NewErc20Metadata creates a new instance of Erc20Metadata, bound to a specific deployed contract.
type Erc20MetadataApproval ¶
type Erc20MetadataApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc20MetadataApproval represents a Approval event raised by the Erc20Metadata contract.
type Erc20MetadataApprovalIterator ¶
type Erc20MetadataApprovalIterator struct { Event *Erc20MetadataApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc20MetadataApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Erc20Metadata contract.
func (*Erc20MetadataApprovalIterator) Close ¶
func (it *Erc20MetadataApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc20MetadataApprovalIterator) Error ¶
func (it *Erc20MetadataApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc20MetadataApprovalIterator) Next ¶
func (it *Erc20MetadataApprovalIterator) 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 Erc20MetadataCaller ¶
type Erc20MetadataCaller struct {
// contains filtered or unexported fields
}
Erc20MetadataCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewErc20MetadataCaller ¶
func NewErc20MetadataCaller(address common.Address, caller bind.ContractCaller) (*Erc20MetadataCaller, error)
NewErc20MetadataCaller creates a new read-only instance of Erc20Metadata, bound to a specific deployed contract.
func (*Erc20MetadataCaller) Allowance ¶
func (_Erc20Metadata *Erc20MetadataCaller) 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) view returns(uint256)
func (*Erc20MetadataCaller) BalanceOf ¶
func (_Erc20Metadata *Erc20MetadataCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Erc20MetadataCaller) Decimals ¶
func (_Erc20Metadata *Erc20MetadataCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*Erc20MetadataCaller) Name ¶
func (_Erc20Metadata *Erc20MetadataCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Erc20MetadataCaller) Symbol ¶
func (_Erc20Metadata *Erc20MetadataCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Erc20MetadataCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Erc20MetadataCallerRaw ¶
type Erc20MetadataCallerRaw struct {
Contract *Erc20MetadataCaller // Generic read-only contract binding to access the raw methods on
}
Erc20MetadataCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Erc20MetadataCallerRaw) Call ¶
func (_Erc20Metadata *Erc20MetadataCallerRaw) 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 Erc20MetadataCallerSession ¶
type Erc20MetadataCallerSession struct { Contract *Erc20MetadataCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Erc20MetadataCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Erc20MetadataCallerSession) Allowance ¶
func (_Erc20Metadata *Erc20MetadataCallerSession) 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) view returns(uint256)
func (*Erc20MetadataCallerSession) BalanceOf ¶
func (_Erc20Metadata *Erc20MetadataCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Erc20MetadataCallerSession) Decimals ¶
func (_Erc20Metadata *Erc20MetadataCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*Erc20MetadataCallerSession) Name ¶
func (_Erc20Metadata *Erc20MetadataCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Erc20MetadataCallerSession) Symbol ¶
func (_Erc20Metadata *Erc20MetadataCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Erc20MetadataCallerSession) TotalSupply ¶
func (_Erc20Metadata *Erc20MetadataCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Erc20MetadataFilterer ¶
type Erc20MetadataFilterer struct {
// contains filtered or unexported fields
}
Erc20MetadataFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewErc20MetadataFilterer ¶
func NewErc20MetadataFilterer(address common.Address, filterer bind.ContractFilterer) (*Erc20MetadataFilterer, error)
NewErc20MetadataFilterer creates a new log filterer instance of Erc20Metadata, bound to a specific deployed contract.
func (*Erc20MetadataFilterer) FilterApproval ¶
func (_Erc20Metadata *Erc20MetadataFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc20MetadataApprovalIterator, 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 (*Erc20MetadataFilterer) FilterTransfer ¶
func (_Erc20Metadata *Erc20MetadataFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc20MetadataTransferIterator, 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 (*Erc20MetadataFilterer) ParseApproval ¶
func (_Erc20Metadata *Erc20MetadataFilterer) ParseApproval(log types.Log) (*Erc20MetadataApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*Erc20MetadataFilterer) ParseTransfer ¶
func (_Erc20Metadata *Erc20MetadataFilterer) ParseTransfer(log types.Log) (*Erc20MetadataTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*Erc20MetadataFilterer) WatchApproval ¶
func (_Erc20Metadata *Erc20MetadataFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20MetadataApproval, 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 (*Erc20MetadataFilterer) WatchTransfer ¶
func (_Erc20Metadata *Erc20MetadataFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20MetadataTransfer, 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 Erc20MetadataRaw ¶
type Erc20MetadataRaw struct {
Contract *Erc20Metadata // Generic contract binding to access the raw methods on
}
Erc20MetadataRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Erc20MetadataRaw) Call ¶
func (_Erc20Metadata *Erc20MetadataRaw) 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 (*Erc20MetadataRaw) Transact ¶
func (_Erc20Metadata *Erc20MetadataRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc20MetadataRaw) Transfer ¶
func (_Erc20Metadata *Erc20MetadataRaw) 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 Erc20MetadataSession ¶
type Erc20MetadataSession struct { Contract *Erc20Metadata // 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 }
Erc20MetadataSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Erc20MetadataSession) Allowance ¶
func (_Erc20Metadata *Erc20MetadataSession) 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) view returns(uint256)
func (*Erc20MetadataSession) Approve ¶
func (_Erc20Metadata *Erc20MetadataSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*Erc20MetadataSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Erc20MetadataSession) Decimals ¶
func (_Erc20Metadata *Erc20MetadataSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*Erc20MetadataSession) Name ¶
func (_Erc20Metadata *Erc20MetadataSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Erc20MetadataSession) Symbol ¶
func (_Erc20Metadata *Erc20MetadataSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Erc20MetadataSession) TotalSupply ¶
func (_Erc20Metadata *Erc20MetadataSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*Erc20MetadataSession) Transfer ¶
func (_Erc20Metadata *Erc20MetadataSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*Erc20MetadataSession) TransferFrom ¶
func (_Erc20Metadata *Erc20MetadataSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type Erc20MetadataTransactor ¶
type Erc20MetadataTransactor struct {
// contains filtered or unexported fields
}
Erc20MetadataTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewErc20MetadataTransactor ¶
func NewErc20MetadataTransactor(address common.Address, transactor bind.ContractTransactor) (*Erc20MetadataTransactor, error)
NewErc20MetadataTransactor creates a new write-only instance of Erc20Metadata, bound to a specific deployed contract.
func (*Erc20MetadataTransactor) Approve ¶
func (_Erc20Metadata *Erc20MetadataTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*Erc20MetadataTransactor) Transfer ¶
func (_Erc20Metadata *Erc20MetadataTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*Erc20MetadataTransactor) TransferFrom ¶
func (_Erc20Metadata *Erc20MetadataTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type Erc20MetadataTransactorRaw ¶
type Erc20MetadataTransactorRaw struct {
Contract *Erc20MetadataTransactor // Generic write-only contract binding to access the raw methods on
}
Erc20MetadataTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Erc20MetadataTransactorRaw) Transact ¶
func (_Erc20Metadata *Erc20MetadataTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc20MetadataTransactorRaw) Transfer ¶
func (_Erc20Metadata *Erc20MetadataTransactorRaw) 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 Erc20MetadataTransactorSession ¶
type Erc20MetadataTransactorSession struct { Contract *Erc20MetadataTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Erc20MetadataTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Erc20MetadataTransactorSession) Approve ¶
func (_Erc20Metadata *Erc20MetadataTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*Erc20MetadataTransactorSession) Transfer ¶
func (_Erc20Metadata *Erc20MetadataTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*Erc20MetadataTransactorSession) TransferFrom ¶
func (_Erc20Metadata *Erc20MetadataTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type Erc20MetadataTransfer ¶
type Erc20MetadataTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc20MetadataTransfer represents a Transfer event raised by the Erc20Metadata contract.
type Erc20MetadataTransferIterator ¶
type Erc20MetadataTransferIterator struct { Event *Erc20MetadataTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc20MetadataTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Erc20Metadata contract.
func (*Erc20MetadataTransferIterator) Close ¶
func (it *Erc20MetadataTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc20MetadataTransferIterator) Error ¶
func (it *Erc20MetadataTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc20MetadataTransferIterator) Next ¶
func (it *Erc20MetadataTransferIterator) 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.