Versions in this module Expand all Collapse all v1 v1.2.13 Jun 11, 2024 Changes in this version + var ERC20ABI = ERC20MetaData.ABI + var ERC20MetaData = &bind.MetaData + type ERC20 struct + func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error) + type ERC20Approval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type ERC20ApprovalIterator struct + Event *ERC20Approval + func (it *ERC20ApprovalIterator) Close() error + func (it *ERC20ApprovalIterator) Error() error + func (it *ERC20ApprovalIterator) Next() bool + type ERC20Caller struct + func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error) + func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + type ERC20CallerRaw struct + Contract *ERC20Caller + func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type ERC20CallerSession struct + CallOpts bind.CallOpts + Contract *ERC20Caller + func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error) + type ERC20Filterer struct + func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error) + func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error) + func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error) + func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error) + func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error) + func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error) + func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error) + type ERC20Raw struct + Contract *ERC20 + func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC20Session struct + CallOpts bind.CallOpts + Contract *ERC20 + TransactOpts bind.TransactOpts + func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error) + func (_ERC20 *ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) + type ERC20Transactor struct + func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error) + func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error) + type ERC20TransactorRaw struct + Contract *ERC20Transactor + func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC20TransactorSession struct + Contract *ERC20Transactor + TransactOpts bind.TransactOpts + func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) + type ERC20Transfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type ERC20TransferIterator struct + Event *ERC20Transfer + func (it *ERC20TransferIterator) Close() error + func (it *ERC20TransferIterator) Error() error + func (it *ERC20TransferIterator) Next() bool