Versions in this module Expand all Collapse all v1 v1.0.1 May 2, 2021 Changes in this version + const Erc20ABI + type Erc20 struct + func NewErc20(address common.Address, backend bind.ContractBackend) (*Erc20, error) + type Erc20Approval struct + Amt *big.Int + Dst common.Address + Raw types.Log + Src common.Address + 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, src common.Address, dst common.Address) (*big.Int, error) + func (_Erc20 *Erc20Caller) BalanceOf(opts *bind.CallOpts, whom common.Address) (*big.Int, error) + func (_Erc20 *Erc20Caller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_Erc20 *Erc20Caller) Name(opts *bind.CallOpts) (string, error) + func (_Erc20 *Erc20Caller) Symbol(opts *bind.CallOpts) (string, 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(src common.Address, dst common.Address) (*big.Int, error) + func (_Erc20 *Erc20CallerSession) BalanceOf(whom common.Address) (*big.Int, error) + func (_Erc20 *Erc20CallerSession) Decimals() (uint8, error) + func (_Erc20 *Erc20CallerSession) Name() (string, error) + func (_Erc20 *Erc20CallerSession) Symbol() (string, 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, src []common.Address, dst []common.Address) (*Erc20ApprovalIterator, error) + func (_Erc20 *Erc20Filterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []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, src []common.Address, ...) (event.Subscription, error) + func (_Erc20 *Erc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20Transfer, src []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(src common.Address, dst common.Address) (*big.Int, error) + func (_Erc20 *Erc20Session) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error) + func (_Erc20 *Erc20Session) BalanceOf(whom common.Address) (*big.Int, error) + func (_Erc20 *Erc20Session) Decimals() (uint8, error) + func (_Erc20 *Erc20Session) Name() (string, error) + func (_Erc20 *Erc20Session) Symbol() (string, error) + func (_Erc20 *Erc20Session) TotalSupply() (*big.Int, error) + func (_Erc20 *Erc20Session) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error) + func (_Erc20 *Erc20Session) TransferFrom(src common.Address, dst common.Address, amt *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, dst common.Address, amt *big.Int) (*types.Transaction, error) + func (_Erc20 *Erc20Transactor) Transfer(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error) + func (_Erc20 *Erc20Transactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amt *big.Int) (*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(dst common.Address, amt *big.Int) (*types.Transaction, error) + func (_Erc20 *Erc20TransactorSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error) + func (_Erc20 *Erc20TransactorSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error) + type Erc20Transfer struct + Amt *big.Int + Dst common.Address + Raw types.Log + Src common.Address + type Erc20TransferIterator struct + Event *Erc20Transfer + func (it *Erc20TransferIterator) Close() error + func (it *Erc20TransferIterator) Error() error + func (it *Erc20TransferIterator) Next() bool