Versions in this module Expand all Collapse all v0 v0.8.2 Jun 11, 2019 Changes in this version + const TokenABI + type Token struct + func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error) + type TokenApproval struct + Raw types.Log + Spender common.Address + TokenOwner common.Address + Tokens *big.Int + type TokenApprovalIterator struct + Event *TokenApproval + func (it *TokenApprovalIterator) Close() error + func (it *TokenApprovalIterator) Error() error + func (it *TokenApprovalIterator) Next() bool + type TokenCaller struct + func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error) + func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, tokenOwner common.Address, spender common.Address) (*big.Int, error) + func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, tokenOwner common.Address) (*big.Int, error) + func (_Token *TokenCaller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_Token *TokenCaller) Name(opts *bind.CallOpts) (string, error) + func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error) + func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + type TokenCallerRaw struct + Contract *TokenCaller + func (_Token *TokenCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type TokenCallerSession struct + CallOpts bind.CallOpts + Contract *TokenCaller + func (_Token *TokenCallerSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error) + func (_Token *TokenCallerSession) BalanceOf(tokenOwner common.Address) (*big.Int, error) + func (_Token *TokenCallerSession) Decimals() (uint8, error) + func (_Token *TokenCallerSession) Name() (string, error) + func (_Token *TokenCallerSession) Symbol() (string, error) + func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error) + type TokenFilterer struct + func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error) + func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*TokenApprovalIterator, error) + func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error) + func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, tokenOwner []common.Address, ...) (event.Subscription, error) + func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error) + type TokenRaw struct + Contract *Token + func (_Token *TokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TokenSession struct + CallOpts bind.CallOpts + Contract *Token + TransactOpts bind.TransactOpts + func (_Token *TokenSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error) + func (_Token *TokenSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) BalanceOf(tokenOwner common.Address) (*big.Int, error) + func (_Token *TokenSession) Decimals() (uint8, error) + func (_Token *TokenSession) Name() (string, error) + func (_Token *TokenSession) Symbol() (string, error) + func (_Token *TokenSession) TotalSupply() (*big.Int, error) + func (_Token *TokenSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error) + type TokenTransactor struct + func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error) + func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, tokens *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, tokens *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error) + type TokenTransactorRaw struct + Contract *TokenTransactor + func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Token *TokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TokenTransactorSession struct + Contract *TokenTransactor + TransactOpts bind.TransactOpts + func (_Token *TokenTransactorSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error) + type TokenTransfer struct + From common.Address + Raw types.Log + To common.Address + Tokens *big.Int + type TokenTransferIterator struct + Event *TokenTransfer + func (it *TokenTransferIterator) Close() error + func (it *TokenTransferIterator) Error() error + func (it *TokenTransferIterator) Next() bool