Versions in this module Expand all Collapse all v0 v0.5.4 Nov 13, 2021 v0.5.3 Nov 13, 2021 Changes in this version + var TokenABI = TokenMetaData.ABI + var TokenMetaData = &bind.MetaData + type Token struct + func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error) + type TokenApproval struct + Guy common.Address + Raw types.Log + Src common.Address + Wad *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, arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, arg0 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, ...) error + type TokenCallerSession struct + CallOpts bind.CallOpts + Contract *TokenCaller + func (_Token *TokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_Token *TokenCallerSession) BalanceOf(arg0 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 TokenDeposit struct + Dst common.Address + Raw types.Log + Wad *big.Int + type TokenDepositIterator struct + Event *TokenDeposit + func (it *TokenDepositIterator) Close() error + func (it *TokenDepositIterator) Error() error + func (it *TokenDepositIterator) Next() bool + type TokenFilterer struct + func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error) + func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*TokenApprovalIterator, error) + func (_Token *TokenFilterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*TokenDepositIterator, error) + func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*TokenTransferIterator, error) + func (_Token *TokenFilterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*TokenWithdrawalIterator, error) + func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error) + func (_Token *TokenFilterer) ParseDeposit(log types.Log) (*TokenDeposit, error) + func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error) + func (_Token *TokenFilterer) ParseWithdrawal(log types.Log) (*TokenWithdrawal, error) + func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, src []common.Address, ...) (event.Subscription, error) + func (_Token *TokenFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *TokenDeposit, dst []common.Address) (event.Subscription, error) + func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, src []common.Address, ...) (event.Subscription, error) + func (_Token *TokenFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *TokenWithdrawal, src []common.Address) (event.Subscription, error) + type TokenRaw struct + Contract *Token + func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) 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(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_Token *TokenSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) BalanceOf(arg0 common.Address) (*big.Int, error) + func (_Token *TokenSession) Decimals() (uint8, error) + func (_Token *TokenSession) Deposit() (*types.Transaction, error) + func (_Token *TokenSession) Fallback(calldata []byte) (*types.Transaction, error) + func (_Token *TokenSession) Name() (string, error) + func (_Token *TokenSession) Symbol() (string, error) + func (_Token *TokenSession) TotalSupply() (*big.Int, error) + func (_Token *TokenSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) Withdraw(wad *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, guy common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Token *TokenTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error) + func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*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(guy common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) Deposit() (*types.Transaction, error) + func (_Token *TokenTransactorSession) Fallback(calldata []byte) (*types.Transaction, error) + func (_Token *TokenTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error) + type TokenTransfer struct + Dst common.Address + Raw types.Log + Src common.Address + Wad *big.Int + type TokenTransferIterator struct + Event *TokenTransfer + func (it *TokenTransferIterator) Close() error + func (it *TokenTransferIterator) Error() error + func (it *TokenTransferIterator) Next() bool + type TokenWithdrawal struct + Raw types.Log + Src common.Address + Wad *big.Int + type TokenWithdrawalIterator struct + Event *TokenWithdrawal + func (it *TokenWithdrawalIterator) Close() error + func (it *TokenWithdrawalIterator) Error() error + func (it *TokenWithdrawalIterator) Next() bool