Documentation ¶
Index ¶
- Constants
- Variables
- type BasicToken
- type BasicTokenCaller
- type BasicTokenCallerRaw
- type BasicTokenCallerSession
- type BasicTokenFilterer
- func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
- func (_BasicToken *BasicTokenFilterer) ParseTransfer(log types.Log) (*BasicTokenTransfer, error)
- func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type BasicTokenRaw
- func (_BasicToken *BasicTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BasicToken *BasicTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BasicTokenSession
- type BasicTokenTransactor
- type BasicTokenTransactorRaw
- type BasicTokenTransactorSession
- type BasicTokenTransfer
- type BasicTokenTransferIterator
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Basic
- type ERC20BasicCaller
- type ERC20BasicCallerRaw
- type ERC20BasicCallerSession
- type ERC20BasicFilterer
- func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
- func (_ERC20Basic *ERC20BasicFilterer) ParseTransfer(log types.Log) (*ERC20BasicTransfer, error)
- func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20BasicRaw
- func (_ERC20Basic *ERC20BasicRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Basic *ERC20BasicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BasicSession
- type ERC20BasicTransactor
- type ERC20BasicTransactorRaw
- type ERC20BasicTransactorSession
- type ERC20BasicTransfer
- type ERC20BasicTransferIterator
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Filterer
- 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
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) 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
- 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(_who 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
- 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
- type ERC20TransactorSession
- 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
- type ERC20TransferIterator
- type EtherToken
- type EtherTokenApproval
- type EtherTokenApprovalIterator
- type EtherTokenCaller
- func (_EtherToken *EtherTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenCaller) DecodeTrieValue(opts *bind.CallOpts, trieValue []byte) (*big.Int, error)
- func (_EtherToken *EtherTokenCaller) Development(opts *bind.CallOpts) (bool, error)
- func (_EtherToken *EtherTokenCaller) GetBalanceTrieKey(opts *bind.CallOpts, _who common.Address) ([32]byte, error)
- func (_EtherToken *EtherTokenCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_EtherToken *EtherTokenCaller) Rootchain(opts *bind.CallOpts) (common.Address, error)
- func (_EtherToken *EtherTokenCaller) SwapEnabled(opts *bind.CallOpts) (bool, error)
- func (_EtherToken *EtherTokenCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_EtherToken *EtherTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type EtherTokenCallerRaw
- type EtherTokenCallerSession
- func (_EtherToken *EtherTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenCallerSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
- func (_EtherToken *EtherTokenCallerSession) Development() (bool, error)
- func (_EtherToken *EtherTokenCallerSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
- func (_EtherToken *EtherTokenCallerSession) Initialized() (bool, error)
- func (_EtherToken *EtherTokenCallerSession) Rootchain() (common.Address, error)
- func (_EtherToken *EtherTokenCallerSession) SwapEnabled() (bool, error)
- func (_EtherToken *EtherTokenCallerSession) Token() (common.Address, error)
- func (_EtherToken *EtherTokenCallerSession) TotalSupply() (*big.Int, error)
- type EtherTokenDepositted
- type EtherTokenDeposittedIterator
- type EtherTokenFilterer
- func (_EtherToken *EtherTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EtherTokenApprovalIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterDepositted(opts *bind.FilterOpts) (*EtherTokenDeposittedIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterRequestCreated(opts *bind.FilterOpts) (*EtherTokenRequestCreatedIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*EtherTokenTransferIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterWithdrawn(opts *bind.FilterOpts) (*EtherTokenWithdrawnIterator, error)
- func (_EtherToken *EtherTokenFilterer) ParseApproval(log types.Log) (*EtherTokenApproval, error)
- func (_EtherToken *EtherTokenFilterer) ParseDepositted(log types.Log) (*EtherTokenDepositted, error)
- func (_EtherToken *EtherTokenFilterer) ParseRequestCreated(log types.Log) (*EtherTokenRequestCreated, error)
- func (_EtherToken *EtherTokenFilterer) ParseTransfer(log types.Log) (*EtherTokenTransfer, error)
- func (_EtherToken *EtherTokenFilterer) ParseWithdrawn(log types.Log) (*EtherTokenWithdrawn, error)
- func (_EtherToken *EtherTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EtherTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchDepositted(opts *bind.WatchOpts, sink chan<- *EtherTokenDepositted) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchRequestCreated(opts *bind.WatchOpts, sink chan<- *EtherTokenRequestCreated) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EtherTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *EtherTokenWithdrawn) (event.Subscription, error)
- type EtherTokenRaw
- func (_EtherToken *EtherTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_EtherToken *EtherTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EtherToken *EtherTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EtherTokenRequestCreated
- type EtherTokenRequestCreatedIterator
- type EtherTokenSession
- func (_EtherToken *EtherTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
- func (_EtherToken *EtherTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Development() (bool, error)
- func (_EtherToken *EtherTokenSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
- func (_EtherToken *EtherTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Init(_rootchain common.Address) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Initialized() (bool, error)
- func (_EtherToken *EtherTokenSession) Rootchain() (common.Address, error)
- func (_EtherToken *EtherTokenSession) SwapEnabled() (bool, error)
- func (_EtherToken *EtherTokenSession) SwapFromEth() (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) SwapToEth(_amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Token() (common.Address, error)
- func (_EtherToken *EtherTokenSession) TotalSupply() (*big.Int, error)
- func (_EtherToken *EtherTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type EtherTokenTransactor
- func (_EtherToken *EtherTokenTransactor) ApplyRequestInChildChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) ApplyRequestInRootChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Init(opts *bind.TransactOpts, _rootchain common.Address) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) SwapFromEth(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) SwapToEth(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type EtherTokenTransactorRaw
- type EtherTokenTransactorSession
- func (_EtherToken *EtherTokenTransactorSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Init(_rootchain common.Address) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) SwapFromEth() (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) SwapToEth(_amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type EtherTokenTransfer
- type EtherTokenTransferIterator
- type EtherTokenWithdrawn
- type EtherTokenWithdrawnIterator
- type RequestableERC20Wrapper
- func DeployRequestableERC20Wrapper(auth *bind.TransactOpts, backend bind.ContractBackend, _development bool, ...) (common.Address, *types.Transaction, *RequestableERC20Wrapper, error)
- func NewRequestableERC20Wrapper(address common.Address, backend bind.ContractBackend) (*RequestableERC20Wrapper, error)
- type RequestableERC20WrapperApproval
- type RequestableERC20WrapperApprovalIterator
- type RequestableERC20WrapperCaller
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) DecodeTrieValue(opts *bind.CallOpts, trieValue []byte) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Development(opts *bind.CallOpts) (bool, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) GetBalanceTrieKey(opts *bind.CallOpts, _who common.Address) ([32]byte, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Initialized(opts *bind.CallOpts) (bool, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Rootchain(opts *bind.CallOpts) (common.Address, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type RequestableERC20WrapperCallerRaw
- type RequestableERC20WrapperCallerSession
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Development() (bool, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Initialized() (bool, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Rootchain() (common.Address, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Token() (common.Address, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) TotalSupply() (*big.Int, error)
- type RequestableERC20WrapperDepositted
- type RequestableERC20WrapperDeposittedIterator
- type RequestableERC20WrapperFilterer
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*RequestableERC20WrapperApprovalIterator, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterDepositted(opts *bind.FilterOpts) (*RequestableERC20WrapperDeposittedIterator, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterRequestCreated(opts *bind.FilterOpts) (*RequestableERC20WrapperRequestCreatedIterator, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RequestableERC20WrapperTransferIterator, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterWithdrawn(opts *bind.FilterOpts) (*RequestableERC20WrapperWithdrawnIterator, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseApproval(log types.Log) (*RequestableERC20WrapperApproval, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseDepositted(log types.Log) (*RequestableERC20WrapperDepositted, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseRequestCreated(log types.Log) (*RequestableERC20WrapperRequestCreated, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseTransfer(log types.Log) (*RequestableERC20WrapperTransfer, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseWithdrawn(log types.Log) (*RequestableERC20WrapperWithdrawn, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperApproval, ...) (event.Subscription, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchDepositted(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperDepositted) (event.Subscription, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchRequestCreated(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperRequestCreated) (event.Subscription, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperTransfer, ...) (event.Subscription, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperWithdrawn) (event.Subscription, error)
- type RequestableERC20WrapperRaw
- func (_RequestableERC20Wrapper *RequestableERC20WrapperRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_RequestableERC20Wrapper *RequestableERC20WrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RequestableERC20WrapperRequestCreated
- type RequestableERC20WrapperRequestCreatedIterator
- type RequestableERC20WrapperSession
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Development() (bool, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Init(_rootchain common.Address) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Initialized() (bool, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Rootchain() (common.Address, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Token() (common.Address, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) TotalSupply() (*big.Int, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type RequestableERC20WrapperTransactor
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) ApplyRequestInChildChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) ApplyRequestInRootChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Init(opts *bind.TransactOpts, _rootchain common.Address) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type RequestableERC20WrapperTransactorRaw
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RequestableERC20WrapperTransactorSession
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Init(_rootchain common.Address) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type RequestableERC20WrapperTransfer
- type RequestableERC20WrapperTransferIterator
- type RequestableERC20WrapperWithdrawn
- type RequestableERC20WrapperWithdrawnIterator
- type RequestableI
- type RequestableICaller
- type RequestableICallerRaw
- type RequestableICallerSession
- type RequestableIFilterer
- type RequestableIRaw
- func (_RequestableI *RequestableIRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_RequestableI *RequestableIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RequestableI *RequestableIRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RequestableISession
- func (_RequestableI *RequestableISession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_RequestableI *RequestableISession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- type RequestableITransactor
- func (_RequestableI *RequestableITransactor) ApplyRequestInChildChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, ...) (*types.Transaction, error)
- func (_RequestableI *RequestableITransactor) ApplyRequestInRootChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, ...) (*types.Transaction, error)
- type RequestableITransactorRaw
- type RequestableITransactorSession
- func (_RequestableI *RequestableITransactorSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- func (_RequestableI *RequestableITransactorSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, ...) (*types.Transaction, error)
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type StandardToken
- type StandardTokenApproval
- type StandardTokenApprovalIterator
- type StandardTokenCaller
- func (_StandardToken *StandardTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type StandardTokenCallerRaw
- type StandardTokenCallerSession
- func (_StandardToken *StandardTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
- type StandardTokenFilterer
- func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
- func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
- func (_StandardToken *StandardTokenFilterer) ParseApproval(log types.Log) (*StandardTokenApproval, error)
- func (_StandardToken *StandardTokenFilterer) ParseTransfer(log types.Log) (*StandardTokenTransfer, error)
- func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, ...) (event.Subscription, error)
- func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, ...) (event.Subscription, error)
- type StandardTokenRaw
- func (_StandardToken *StandardTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StandardToken *StandardTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StandardTokenSession
- func (_StandardToken *StandardTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransactor
- func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type StandardTokenTransactorRaw
- type StandardTokenTransactorSession
- func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransfer
- type StandardTokenTransferIterator
Constants ¶
const BasicTokenABI = "" /* 1169-byte string literal not displayed */
BasicTokenABI is the input ABI used to generate the binding from.
const ERC20ABI = "" /* 2632-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20BasicABI = "" /* 1167-byte string literal not displayed */
ERC20BasicABI is the input ABI used to generate the binding from.
const EtherTokenABI = "" /* 8670-byte string literal not displayed */
EtherTokenABI is the input ABI used to generate the binding from.
const RequestableERC20WrapperABI = "" /* 7957-byte string literal not displayed */
RequestableERC20WrapperABI is the input ABI used to generate the binding from.
const RequestableIABI = "" /* 1176-byte string literal not displayed */
RequestableIABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const StandardTokenABI = "" /* 3367-byte string literal not displayed */
StandardTokenABI is the input ABI used to generate the binding from.
Variables ¶
var BasicTokenBin = "" /* 1150-byte string literal not displayed */
BasicTokenBin is the compiled bytecode used for deploying new contracts.
var BasicTokenFuncSigs = map[string]string{
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
}
BasicTokenFuncSigs maps the 4-byte function signature to its string representation.
var ERC20BasicFuncSigs = map[string]string{
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
}
ERC20BasicFuncSigs maps the 4-byte function signature to its string representation.
var ERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20FuncSigs maps the 4-byte function signature to its string representation.
var EtherTokenBin = "" /* 9054-byte string literal not displayed */
EtherTokenBin is the compiled bytecode used for deploying new contracts.
var EtherTokenFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"141ecf46": "applyRequestInChildChain(bool,uint256,address,bytes32,bytes)",
"a9f79308": "applyRequestInRootChain(bool,uint256,address,bytes32,bytes)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"b9e59d09": "decodeTrieValue(bytes)",
"66188463": "decreaseApproval(address,uint256)",
"b6b55f25": "deposit(uint256)",
"7b929c27": "development()",
"b18fcfdf": "getBalanceTrieKey(address)",
"d73dd623": "increaseApproval(address,uint256)",
"19ab453c": "init(address)",
"158ef93e": "initialized()",
"bcc7874d": "rootchain()",
"6ddd1713": "swapEnabled()",
"59310da7": "swapFromEth()",
"b06c6729": "swapToEth(uint256)",
"fc0c546a": "token()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
"2e1a7d4d": "withdraw(uint256)",
}
EtherTokenFuncSigs maps the 4-byte function signature to its string representation.
var RequestableERC20WrapperBin = "" /* 7988-byte string literal not displayed */
RequestableERC20WrapperBin is the compiled bytecode used for deploying new contracts.
var RequestableERC20WrapperFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"141ecf46": "applyRequestInChildChain(bool,uint256,address,bytes32,bytes)",
"a9f79308": "applyRequestInRootChain(bool,uint256,address,bytes32,bytes)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"b9e59d09": "decodeTrieValue(bytes)",
"66188463": "decreaseApproval(address,uint256)",
"b6b55f25": "deposit(uint256)",
"7b929c27": "development()",
"b18fcfdf": "getBalanceTrieKey(address)",
"d73dd623": "increaseApproval(address,uint256)",
"19ab453c": "init(address)",
"158ef93e": "initialized()",
"bcc7874d": "rootchain()",
"fc0c546a": "token()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
"2e1a7d4d": "withdraw(uint256)",
}
RequestableERC20WrapperFuncSigs maps the 4-byte function signature to its string representation.
var RequestableIFuncSigs = map[string]string{
"141ecf46": "applyRequestInChildChain(bool,uint256,address,bytes32,bytes)",
"a9f79308": "applyRequestInRootChain(bool,uint256,address,bytes32,bytes)",
}
RequestableIFuncSigs maps the 4-byte function signature to its string representation.
var SafeMathBin = "" /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var StandardTokenBin = "" /* 3572-byte string literal not displayed */
StandardTokenBin is the compiled bytecode used for deploying new contracts.
var StandardTokenFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"66188463": "decreaseApproval(address,uint256)",
"d73dd623": "increaseApproval(address,uint256)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
StandardTokenFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type BasicToken ¶
type BasicToken struct { BasicTokenCaller // Read-only binding to the contract BasicTokenTransactor // Write-only binding to the contract BasicTokenFilterer // Log filterer for contract events }
BasicToken is an auto generated Go binding around an Ethereum contract.
func DeployBasicToken ¶
func DeployBasicToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BasicToken, error)
DeployBasicToken deploys a new Ethereum contract, binding an instance of BasicToken to it.
func NewBasicToken ¶
func NewBasicToken(address common.Address, backend bind.ContractBackend) (*BasicToken, error)
NewBasicToken creates a new instance of BasicToken, bound to a specific deployed contract.
type BasicTokenCaller ¶
type BasicTokenCaller struct {
// contains filtered or unexported fields
}
BasicTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBasicTokenCaller ¶
func NewBasicTokenCaller(address common.Address, caller bind.ContractCaller) (*BasicTokenCaller, error)
NewBasicTokenCaller creates a new read-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenCaller) BalanceOf ¶
func (_BasicToken *BasicTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*BasicTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BasicTokenCallerRaw ¶
type BasicTokenCallerRaw struct {
Contract *BasicTokenCaller // Generic read-only contract binding to access the raw methods on
}
BasicTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BasicTokenCallerRaw) Call ¶
func (_BasicToken *BasicTokenCallerRaw) 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 BasicTokenCallerSession ¶
type BasicTokenCallerSession struct { Contract *BasicTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BasicTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BasicTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*BasicTokenCallerSession) TotalSupply ¶
func (_BasicToken *BasicTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BasicTokenFilterer ¶
type BasicTokenFilterer struct {
// contains filtered or unexported fields
}
BasicTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBasicTokenFilterer ¶
func NewBasicTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BasicTokenFilterer, error)
NewBasicTokenFilterer creates a new log filterer instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenFilterer) FilterTransfer ¶
func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, 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 (*BasicTokenFilterer) ParseTransfer ¶
func (_BasicToken *BasicTokenFilterer) ParseTransfer(log types.Log) (*BasicTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BasicTokenFilterer) WatchTransfer ¶
func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, 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 BasicTokenRaw ¶
type BasicTokenRaw struct {
Contract *BasicToken // Generic contract binding to access the raw methods on
}
BasicTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BasicTokenRaw) Call ¶
func (_BasicToken *BasicTokenRaw) 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 (*BasicTokenRaw) Transact ¶
func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenRaw) Transfer ¶
func (_BasicToken *BasicTokenRaw) 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 BasicTokenSession ¶
type BasicTokenSession struct { Contract *BasicToken // 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 }
BasicTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BasicTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*BasicTokenSession) TotalSupply ¶
func (_BasicToken *BasicTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*BasicTokenSession) Transfer ¶
func (_BasicToken *BasicTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type BasicTokenTransactor ¶
type BasicTokenTransactor struct {
// contains filtered or unexported fields
}
BasicTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBasicTokenTransactor ¶
func NewBasicTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BasicTokenTransactor, error)
NewBasicTokenTransactor creates a new write-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenTransactor) Transfer ¶
func (_BasicToken *BasicTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type BasicTokenTransactorRaw ¶
type BasicTokenTransactorRaw struct {
Contract *BasicTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BasicTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BasicTokenTransactorRaw) Transact ¶
func (_BasicToken *BasicTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenTransactorRaw) Transfer ¶
func (_BasicToken *BasicTokenTransactorRaw) 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 BasicTokenTransactorSession ¶
type BasicTokenTransactorSession struct { Contract *BasicTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BasicTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BasicTokenTransactorSession) Transfer ¶
func (_BasicToken *BasicTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type BasicTokenTransfer ¶
type BasicTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BasicTokenTransfer represents a Transfer event raised by the BasicToken contract.
type BasicTokenTransferIterator ¶
type BasicTokenTransferIterator struct { Event *BasicTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BasicTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BasicToken contract.
func (*BasicTokenTransferIterator) Close ¶
func (it *BasicTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BasicTokenTransferIterator) Error ¶
func (it *BasicTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BasicTokenTransferIterator) Next ¶
func (it *BasicTokenTransferIterator) 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 ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) 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 ERC20Basic ¶
type ERC20Basic struct { ERC20BasicCaller // Read-only binding to the contract ERC20BasicTransactor // Write-only binding to the contract ERC20BasicFilterer // Log filterer for contract events }
ERC20Basic is an auto generated Go binding around an Ethereum contract.
func NewERC20Basic ¶
func NewERC20Basic(address common.Address, backend bind.ContractBackend) (*ERC20Basic, error)
NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.
type ERC20BasicCaller ¶
type ERC20BasicCaller struct {
// contains filtered or unexported fields
}
ERC20BasicCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20BasicCaller ¶
func NewERC20BasicCaller(address common.Address, caller bind.ContractCaller) (*ERC20BasicCaller, error)
NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicCaller) BalanceOf ¶
func (_ERC20Basic *ERC20BasicCaller) BalanceOf(opts *bind.CallOpts, _who common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20BasicCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20BasicCallerRaw ¶
type ERC20BasicCallerRaw struct {
Contract *ERC20BasicCaller // Generic read-only contract binding to access the raw methods on
}
ERC20BasicCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20BasicCallerRaw) Call ¶
func (_ERC20Basic *ERC20BasicCallerRaw) 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 ERC20BasicCallerSession ¶
type ERC20BasicCallerSession struct { Contract *ERC20BasicCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20BasicCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20BasicCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20BasicCallerSession) TotalSupply ¶
func (_ERC20Basic *ERC20BasicCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20BasicFilterer ¶
type ERC20BasicFilterer struct {
// contains filtered or unexported fields
}
ERC20BasicFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20BasicFilterer ¶
func NewERC20BasicFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BasicFilterer, error)
NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicFilterer) FilterTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, 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 (*ERC20BasicFilterer) ParseTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) ParseTransfer(log types.Log) (*ERC20BasicTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20BasicFilterer) WatchTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, 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 ERC20BasicRaw ¶
type ERC20BasicRaw struct {
Contract *ERC20Basic // Generic contract binding to access the raw methods on
}
ERC20BasicRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20BasicRaw) Call ¶
func (_ERC20Basic *ERC20BasicRaw) 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 (*ERC20BasicRaw) Transact ¶
func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicRaw) 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 ERC20BasicSession ¶
type ERC20BasicSession struct { Contract *ERC20Basic // 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 }
ERC20BasicSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20BasicSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20BasicSession) TotalSupply ¶
func (_ERC20Basic *ERC20BasicSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20BasicSession) Transfer ¶
func (_ERC20Basic *ERC20BasicSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type ERC20BasicTransactor ¶
type ERC20BasicTransactor struct {
// contains filtered or unexported fields
}
ERC20BasicTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20BasicTransactor ¶
func NewERC20BasicTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BasicTransactor, error)
NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicTransactor) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type ERC20BasicTransactorRaw ¶
type ERC20BasicTransactorRaw struct {
Contract *ERC20BasicTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20BasicTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20BasicTransactorRaw) Transact ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicTransactorRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) 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 ERC20BasicTransactorSession ¶
type ERC20BasicTransactorSession struct { Contract *ERC20BasicTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20BasicTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20BasicTransactorSession) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type ERC20BasicTransfer ¶
type ERC20BasicTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.
type ERC20BasicTransferIterator ¶
type ERC20BasicTransferIterator struct { Event *ERC20BasicTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20BasicTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Basic contract.
func (*ERC20BasicTransferIterator) Close ¶
func (it *ERC20BasicTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20BasicTransferIterator) Error ¶
func (it *ERC20BasicTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20BasicTransferIterator) Next ¶
func (it *ERC20BasicTransferIterator) 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 ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) 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) constant returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) 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) constant returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, 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 (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, 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 (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, 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 (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, 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 ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) 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 ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // 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 }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) 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) constant returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _who) constant returns(uint256)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) 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 EtherToken ¶
type EtherToken struct { EtherTokenCaller // Read-only binding to the contract EtherTokenTransactor // Write-only binding to the contract EtherTokenFilterer // Log filterer for contract events }
EtherToken is an auto generated Go binding around an Ethereum contract.
func DeployEtherToken ¶
func DeployEtherToken(auth *bind.TransactOpts, backend bind.ContractBackend, _development bool, _token common.Address, _swapEnabled bool) (common.Address, *types.Transaction, *EtherToken, error)
DeployEtherToken deploys a new Ethereum contract, binding an instance of EtherToken to it.
func NewEtherToken ¶
func NewEtherToken(address common.Address, backend bind.ContractBackend) (*EtherToken, error)
NewEtherToken creates a new instance of EtherToken, bound to a specific deployed contract.
type EtherTokenApproval ¶
type EtherTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
EtherTokenApproval represents a Approval event raised by the EtherToken contract.
type EtherTokenApprovalIterator ¶
type EtherTokenApprovalIterator struct { Event *EtherTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EtherTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the EtherToken contract.
func (*EtherTokenApprovalIterator) Close ¶
func (it *EtherTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EtherTokenApprovalIterator) Error ¶
func (it *EtherTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EtherTokenApprovalIterator) Next ¶
func (it *EtherTokenApprovalIterator) 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 EtherTokenCaller ¶
type EtherTokenCaller struct {
// contains filtered or unexported fields
}
EtherTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEtherTokenCaller ¶
func NewEtherTokenCaller(address common.Address, caller bind.ContractCaller) (*EtherTokenCaller, error)
NewEtherTokenCaller creates a new read-only instance of EtherToken, bound to a specific deployed contract.
func (*EtherTokenCaller) Allowance ¶
func (_EtherToken *EtherTokenCaller) 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) constant returns(uint256)
func (*EtherTokenCaller) BalanceOf ¶
func (_EtherToken *EtherTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*EtherTokenCaller) DecodeTrieValue ¶
func (_EtherToken *EtherTokenCaller) DecodeTrieValue(opts *bind.CallOpts, trieValue []byte) (*big.Int, error)
DecodeTrieValue is a free data retrieval call binding the contract method 0xb9e59d09.
Solidity: function decodeTrieValue(bytes trieValue) constant returns(uint256 v)
func (*EtherTokenCaller) Development ¶
func (_EtherToken *EtherTokenCaller) Development(opts *bind.CallOpts) (bool, error)
Development is a free data retrieval call binding the contract method 0x7b929c27.
Solidity: function development() constant returns(bool)
func (*EtherTokenCaller) GetBalanceTrieKey ¶
func (_EtherToken *EtherTokenCaller) GetBalanceTrieKey(opts *bind.CallOpts, _who common.Address) ([32]byte, error)
GetBalanceTrieKey is a free data retrieval call binding the contract method 0xb18fcfdf.
Solidity: function getBalanceTrieKey(address _who) constant returns(bytes32)
func (*EtherTokenCaller) Initialized ¶
func (_EtherToken *EtherTokenCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*EtherTokenCaller) Rootchain ¶
Rootchain is a free data retrieval call binding the contract method 0xbcc7874d.
Solidity: function rootchain() constant returns(address)
func (*EtherTokenCaller) SwapEnabled ¶
func (_EtherToken *EtherTokenCaller) SwapEnabled(opts *bind.CallOpts) (bool, error)
SwapEnabled is a free data retrieval call binding the contract method 0x6ddd1713.
Solidity: function swapEnabled() constant returns(bool)
func (*EtherTokenCaller) Token ¶
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*EtherTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type EtherTokenCallerRaw ¶
type EtherTokenCallerRaw struct {
Contract *EtherTokenCaller // Generic read-only contract binding to access the raw methods on
}
EtherTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EtherTokenCallerRaw) Call ¶
func (_EtherToken *EtherTokenCallerRaw) 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 EtherTokenCallerSession ¶
type EtherTokenCallerSession struct { Contract *EtherTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EtherTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EtherTokenCallerSession) Allowance ¶
func (_EtherToken *EtherTokenCallerSession) 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) constant returns(uint256)
func (*EtherTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*EtherTokenCallerSession) DecodeTrieValue ¶
func (_EtherToken *EtherTokenCallerSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
DecodeTrieValue is a free data retrieval call binding the contract method 0xb9e59d09.
Solidity: function decodeTrieValue(bytes trieValue) constant returns(uint256 v)
func (*EtherTokenCallerSession) Development ¶
func (_EtherToken *EtherTokenCallerSession) Development() (bool, error)
Development is a free data retrieval call binding the contract method 0x7b929c27.
Solidity: function development() constant returns(bool)
func (*EtherTokenCallerSession) GetBalanceTrieKey ¶
func (_EtherToken *EtherTokenCallerSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
GetBalanceTrieKey is a free data retrieval call binding the contract method 0xb18fcfdf.
Solidity: function getBalanceTrieKey(address _who) constant returns(bytes32)
func (*EtherTokenCallerSession) Initialized ¶
func (_EtherToken *EtherTokenCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*EtherTokenCallerSession) Rootchain ¶
func (_EtherToken *EtherTokenCallerSession) Rootchain() (common.Address, error)
Rootchain is a free data retrieval call binding the contract method 0xbcc7874d.
Solidity: function rootchain() constant returns(address)
func (*EtherTokenCallerSession) SwapEnabled ¶
func (_EtherToken *EtherTokenCallerSession) SwapEnabled() (bool, error)
SwapEnabled is a free data retrieval call binding the contract method 0x6ddd1713.
Solidity: function swapEnabled() constant returns(bool)
func (*EtherTokenCallerSession) Token ¶
func (_EtherToken *EtherTokenCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*EtherTokenCallerSession) TotalSupply ¶
func (_EtherToken *EtherTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type EtherTokenDepositted ¶
type EtherTokenDepositted struct { From common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
EtherTokenDepositted represents a Depositted event raised by the EtherToken contract.
type EtherTokenDeposittedIterator ¶
type EtherTokenDeposittedIterator struct { Event *EtherTokenDepositted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EtherTokenDeposittedIterator is returned from FilterDepositted and is used to iterate over the raw logs and unpacked data for Depositted events raised by the EtherToken contract.
func (*EtherTokenDeposittedIterator) Close ¶
func (it *EtherTokenDeposittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EtherTokenDeposittedIterator) Error ¶
func (it *EtherTokenDeposittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EtherTokenDeposittedIterator) Next ¶
func (it *EtherTokenDeposittedIterator) 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 EtherTokenFilterer ¶
type EtherTokenFilterer struct {
// contains filtered or unexported fields
}
EtherTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEtherTokenFilterer ¶
func NewEtherTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*EtherTokenFilterer, error)
NewEtherTokenFilterer creates a new log filterer instance of EtherToken, bound to a specific deployed contract.
func (*EtherTokenFilterer) FilterApproval ¶
func (_EtherToken *EtherTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EtherTokenApprovalIterator, 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 (*EtherTokenFilterer) FilterDepositted ¶
func (_EtherToken *EtherTokenFilterer) FilterDepositted(opts *bind.FilterOpts) (*EtherTokenDeposittedIterator, error)
FilterDepositted is a free log retrieval operation binding the contract event 0x46fc0825df492a7a7f1fb1b690f6912ecb69575484fbb24be0f398ae70d97db4.
Solidity: event Depositted(address _from, uint256 _value)
func (*EtherTokenFilterer) FilterRequestCreated ¶
func (_EtherToken *EtherTokenFilterer) FilterRequestCreated(opts *bind.FilterOpts) (*EtherTokenRequestCreatedIterator, error)
FilterRequestCreated is a free log retrieval operation binding the contract event 0x4b0c23cd90bac23cdaa0958fbd0306f53e20cd5e65676d21b9ceb109784e15b8.
Solidity: event RequestCreated(bool _isExit, address _requestor, bytes32 _trieKey, uint256 _value)
func (*EtherTokenFilterer) FilterTransfer ¶
func (_EtherToken *EtherTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*EtherTokenTransferIterator, 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 (*EtherTokenFilterer) FilterWithdrawn ¶
func (_EtherToken *EtherTokenFilterer) FilterWithdrawn(opts *bind.FilterOpts) (*EtherTokenWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address _from, uint256 _value)
func (*EtherTokenFilterer) ParseApproval ¶
func (_EtherToken *EtherTokenFilterer) ParseApproval(log types.Log) (*EtherTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*EtherTokenFilterer) ParseDepositted ¶
func (_EtherToken *EtherTokenFilterer) ParseDepositted(log types.Log) (*EtherTokenDepositted, error)
ParseDepositted is a log parse operation binding the contract event 0x46fc0825df492a7a7f1fb1b690f6912ecb69575484fbb24be0f398ae70d97db4.
Solidity: event Depositted(address _from, uint256 _value)
func (*EtherTokenFilterer) ParseRequestCreated ¶
func (_EtherToken *EtherTokenFilterer) ParseRequestCreated(log types.Log) (*EtherTokenRequestCreated, error)
ParseRequestCreated is a log parse operation binding the contract event 0x4b0c23cd90bac23cdaa0958fbd0306f53e20cd5e65676d21b9ceb109784e15b8.
Solidity: event RequestCreated(bool _isExit, address _requestor, bytes32 _trieKey, uint256 _value)
func (*EtherTokenFilterer) ParseTransfer ¶
func (_EtherToken *EtherTokenFilterer) ParseTransfer(log types.Log) (*EtherTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*EtherTokenFilterer) ParseWithdrawn ¶
func (_EtherToken *EtherTokenFilterer) ParseWithdrawn(log types.Log) (*EtherTokenWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address _from, uint256 _value)
func (*EtherTokenFilterer) WatchApproval ¶
func (_EtherToken *EtherTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EtherTokenApproval, 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 (*EtherTokenFilterer) WatchDepositted ¶
func (_EtherToken *EtherTokenFilterer) WatchDepositted(opts *bind.WatchOpts, sink chan<- *EtherTokenDepositted) (event.Subscription, error)
WatchDepositted is a free log subscription operation binding the contract event 0x46fc0825df492a7a7f1fb1b690f6912ecb69575484fbb24be0f398ae70d97db4.
Solidity: event Depositted(address _from, uint256 _value)
func (*EtherTokenFilterer) WatchRequestCreated ¶
func (_EtherToken *EtherTokenFilterer) WatchRequestCreated(opts *bind.WatchOpts, sink chan<- *EtherTokenRequestCreated) (event.Subscription, error)
WatchRequestCreated is a free log subscription operation binding the contract event 0x4b0c23cd90bac23cdaa0958fbd0306f53e20cd5e65676d21b9ceb109784e15b8.
Solidity: event RequestCreated(bool _isExit, address _requestor, bytes32 _trieKey, uint256 _value)
func (*EtherTokenFilterer) WatchTransfer ¶
func (_EtherToken *EtherTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EtherTokenTransfer, 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)
func (*EtherTokenFilterer) WatchWithdrawn ¶
func (_EtherToken *EtherTokenFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *EtherTokenWithdrawn) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address _from, uint256 _value)
type EtherTokenRaw ¶
type EtherTokenRaw struct {
Contract *EtherToken // Generic contract binding to access the raw methods on
}
EtherTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EtherTokenRaw) Call ¶
func (_EtherToken *EtherTokenRaw) 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 (*EtherTokenRaw) Transact ¶
func (_EtherToken *EtherTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EtherTokenRaw) Transfer ¶
func (_EtherToken *EtherTokenRaw) 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 EtherTokenRequestCreated ¶
type EtherTokenRequestCreated struct { IsExit bool Requestor common.Address TrieKey [32]byte Value *big.Int Raw types.Log // Blockchain specific contextual infos }
EtherTokenRequestCreated represents a RequestCreated event raised by the EtherToken contract.
type EtherTokenRequestCreatedIterator ¶
type EtherTokenRequestCreatedIterator struct { Event *EtherTokenRequestCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EtherTokenRequestCreatedIterator is returned from FilterRequestCreated and is used to iterate over the raw logs and unpacked data for RequestCreated events raised by the EtherToken contract.
func (*EtherTokenRequestCreatedIterator) Close ¶
func (it *EtherTokenRequestCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EtherTokenRequestCreatedIterator) Error ¶
func (it *EtherTokenRequestCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EtherTokenRequestCreatedIterator) Next ¶
func (it *EtherTokenRequestCreatedIterator) 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 EtherTokenSession ¶
type EtherTokenSession struct { Contract *EtherToken // 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 }
EtherTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EtherTokenSession) Allowance ¶
func (_EtherToken *EtherTokenSession) 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) constant returns(uint256)
func (*EtherTokenSession) ApplyRequestInChildChain ¶
func (_EtherToken *EtherTokenSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*EtherTokenSession) ApplyRequestInRootChain ¶
func (_EtherToken *EtherTokenSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*EtherTokenSession) Approve ¶
func (_EtherToken *EtherTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*EtherTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*EtherTokenSession) DecodeTrieValue ¶
func (_EtherToken *EtherTokenSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
DecodeTrieValue is a free data retrieval call binding the contract method 0xb9e59d09.
Solidity: function decodeTrieValue(bytes trieValue) constant returns(uint256 v)
func (*EtherTokenSession) DecreaseApproval ¶
func (_EtherToken *EtherTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*EtherTokenSession) Deposit ¶
func (_EtherToken *EtherTokenSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns(bool)
func (*EtherTokenSession) Development ¶
func (_EtherToken *EtherTokenSession) Development() (bool, error)
Development is a free data retrieval call binding the contract method 0x7b929c27.
Solidity: function development() constant returns(bool)
func (*EtherTokenSession) GetBalanceTrieKey ¶
func (_EtherToken *EtherTokenSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
GetBalanceTrieKey is a free data retrieval call binding the contract method 0xb18fcfdf.
Solidity: function getBalanceTrieKey(address _who) constant returns(bytes32)
func (*EtherTokenSession) IncreaseApproval ¶
func (_EtherToken *EtherTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*EtherTokenSession) Init ¶
func (_EtherToken *EtherTokenSession) Init(_rootchain common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _rootchain) returns(bool)
func (*EtherTokenSession) Initialized ¶
func (_EtherToken *EtherTokenSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*EtherTokenSession) Rootchain ¶
func (_EtherToken *EtherTokenSession) Rootchain() (common.Address, error)
Rootchain is a free data retrieval call binding the contract method 0xbcc7874d.
Solidity: function rootchain() constant returns(address)
func (*EtherTokenSession) SwapEnabled ¶
func (_EtherToken *EtherTokenSession) SwapEnabled() (bool, error)
SwapEnabled is a free data retrieval call binding the contract method 0x6ddd1713.
Solidity: function swapEnabled() constant returns(bool)
func (*EtherTokenSession) SwapFromEth ¶
func (_EtherToken *EtherTokenSession) SwapFromEth() (*types.Transaction, error)
SwapFromEth is a paid mutator transaction binding the contract method 0x59310da7.
Solidity: function swapFromEth() returns()
func (*EtherTokenSession) SwapToEth ¶
func (_EtherToken *EtherTokenSession) SwapToEth(_amount *big.Int) (*types.Transaction, error)
SwapToEth is a paid mutator transaction binding the contract method 0xb06c6729.
Solidity: function swapToEth(uint256 _amount) returns()
func (*EtherTokenSession) Token ¶
func (_EtherToken *EtherTokenSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*EtherTokenSession) TotalSupply ¶
func (_EtherToken *EtherTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*EtherTokenSession) Transfer ¶
func (_EtherToken *EtherTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*EtherTokenSession) TransferFrom ¶
func (_EtherToken *EtherTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*EtherTokenSession) Withdraw ¶
func (_EtherToken *EtherTokenSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns(bool)
type EtherTokenTransactor ¶
type EtherTokenTransactor struct {
// contains filtered or unexported fields
}
EtherTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEtherTokenTransactor ¶
func NewEtherTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*EtherTokenTransactor, error)
NewEtherTokenTransactor creates a new write-only instance of EtherToken, bound to a specific deployed contract.
func (*EtherTokenTransactor) ApplyRequestInChildChain ¶
func (_EtherToken *EtherTokenTransactor) ApplyRequestInChildChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*EtherTokenTransactor) ApplyRequestInRootChain ¶
func (_EtherToken *EtherTokenTransactor) ApplyRequestInRootChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*EtherTokenTransactor) Approve ¶
func (_EtherToken *EtherTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*EtherTokenTransactor) DecreaseApproval ¶
func (_EtherToken *EtherTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*EtherTokenTransactor) Deposit ¶
func (_EtherToken *EtherTokenTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns(bool)
func (*EtherTokenTransactor) IncreaseApproval ¶
func (_EtherToken *EtherTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*EtherTokenTransactor) Init ¶
func (_EtherToken *EtherTokenTransactor) Init(opts *bind.TransactOpts, _rootchain common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _rootchain) returns(bool)
func (*EtherTokenTransactor) SwapFromEth ¶
func (_EtherToken *EtherTokenTransactor) SwapFromEth(opts *bind.TransactOpts) (*types.Transaction, error)
SwapFromEth is a paid mutator transaction binding the contract method 0x59310da7.
Solidity: function swapFromEth() returns()
func (*EtherTokenTransactor) SwapToEth ¶
func (_EtherToken *EtherTokenTransactor) SwapToEth(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
SwapToEth is a paid mutator transaction binding the contract method 0xb06c6729.
Solidity: function swapToEth(uint256 _amount) returns()
func (*EtherTokenTransactor) Transfer ¶
func (_EtherToken *EtherTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*EtherTokenTransactor) TransferFrom ¶
func (_EtherToken *EtherTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*EtherTokenTransactor) Withdraw ¶
func (_EtherToken *EtherTokenTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns(bool)
type EtherTokenTransactorRaw ¶
type EtherTokenTransactorRaw struct {
Contract *EtherTokenTransactor // Generic write-only contract binding to access the raw methods on
}
EtherTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EtherTokenTransactorRaw) Transact ¶
func (_EtherToken *EtherTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EtherTokenTransactorRaw) Transfer ¶
func (_EtherToken *EtherTokenTransactorRaw) 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 EtherTokenTransactorSession ¶
type EtherTokenTransactorSession struct { Contract *EtherTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EtherTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EtherTokenTransactorSession) ApplyRequestInChildChain ¶
func (_EtherToken *EtherTokenTransactorSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*EtherTokenTransactorSession) ApplyRequestInRootChain ¶
func (_EtherToken *EtherTokenTransactorSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*EtherTokenTransactorSession) Approve ¶
func (_EtherToken *EtherTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*EtherTokenTransactorSession) DecreaseApproval ¶
func (_EtherToken *EtherTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*EtherTokenTransactorSession) Deposit ¶
func (_EtherToken *EtherTokenTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns(bool)
func (*EtherTokenTransactorSession) IncreaseApproval ¶
func (_EtherToken *EtherTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*EtherTokenTransactorSession) Init ¶
func (_EtherToken *EtherTokenTransactorSession) Init(_rootchain common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _rootchain) returns(bool)
func (*EtherTokenTransactorSession) SwapFromEth ¶
func (_EtherToken *EtherTokenTransactorSession) SwapFromEth() (*types.Transaction, error)
SwapFromEth is a paid mutator transaction binding the contract method 0x59310da7.
Solidity: function swapFromEth() returns()
func (*EtherTokenTransactorSession) SwapToEth ¶
func (_EtherToken *EtherTokenTransactorSession) SwapToEth(_amount *big.Int) (*types.Transaction, error)
SwapToEth is a paid mutator transaction binding the contract method 0xb06c6729.
Solidity: function swapToEth(uint256 _amount) returns()
func (*EtherTokenTransactorSession) Transfer ¶
func (_EtherToken *EtherTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*EtherTokenTransactorSession) TransferFrom ¶
func (_EtherToken *EtherTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*EtherTokenTransactorSession) Withdraw ¶
func (_EtherToken *EtherTokenTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns(bool)
type EtherTokenTransfer ¶
type EtherTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
EtherTokenTransfer represents a Transfer event raised by the EtherToken contract.
type EtherTokenTransferIterator ¶
type EtherTokenTransferIterator struct { Event *EtherTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EtherTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the EtherToken contract.
func (*EtherTokenTransferIterator) Close ¶
func (it *EtherTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EtherTokenTransferIterator) Error ¶
func (it *EtherTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EtherTokenTransferIterator) Next ¶
func (it *EtherTokenTransferIterator) 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 EtherTokenWithdrawn ¶
type EtherTokenWithdrawn struct { From common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
EtherTokenWithdrawn represents a Withdrawn event raised by the EtherToken contract.
type EtherTokenWithdrawnIterator ¶
type EtherTokenWithdrawnIterator struct { Event *EtherTokenWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EtherTokenWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the EtherToken contract.
func (*EtherTokenWithdrawnIterator) Close ¶
func (it *EtherTokenWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EtherTokenWithdrawnIterator) Error ¶
func (it *EtherTokenWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EtherTokenWithdrawnIterator) Next ¶
func (it *EtherTokenWithdrawnIterator) 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 RequestableERC20Wrapper ¶
type RequestableERC20Wrapper struct { RequestableERC20WrapperCaller // Read-only binding to the contract RequestableERC20WrapperTransactor // Write-only binding to the contract RequestableERC20WrapperFilterer // Log filterer for contract events }
RequestableERC20Wrapper is an auto generated Go binding around an Ethereum contract.
func DeployRequestableERC20Wrapper ¶
func DeployRequestableERC20Wrapper(auth *bind.TransactOpts, backend bind.ContractBackend, _development bool, _token common.Address) (common.Address, *types.Transaction, *RequestableERC20Wrapper, error)
DeployRequestableERC20Wrapper deploys a new Ethereum contract, binding an instance of RequestableERC20Wrapper to it.
func NewRequestableERC20Wrapper ¶
func NewRequestableERC20Wrapper(address common.Address, backend bind.ContractBackend) (*RequestableERC20Wrapper, error)
NewRequestableERC20Wrapper creates a new instance of RequestableERC20Wrapper, bound to a specific deployed contract.
type RequestableERC20WrapperApproval ¶
type RequestableERC20WrapperApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RequestableERC20WrapperApproval represents a Approval event raised by the RequestableERC20Wrapper contract.
type RequestableERC20WrapperApprovalIterator ¶
type RequestableERC20WrapperApprovalIterator struct { Event *RequestableERC20WrapperApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RequestableERC20WrapperApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the RequestableERC20Wrapper contract.
func (*RequestableERC20WrapperApprovalIterator) Close ¶
func (it *RequestableERC20WrapperApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RequestableERC20WrapperApprovalIterator) Error ¶
func (it *RequestableERC20WrapperApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RequestableERC20WrapperApprovalIterator) Next ¶
func (it *RequestableERC20WrapperApprovalIterator) 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 RequestableERC20WrapperCaller ¶
type RequestableERC20WrapperCaller struct {
// contains filtered or unexported fields
}
RequestableERC20WrapperCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRequestableERC20WrapperCaller ¶
func NewRequestableERC20WrapperCaller(address common.Address, caller bind.ContractCaller) (*RequestableERC20WrapperCaller, error)
NewRequestableERC20WrapperCaller creates a new read-only instance of RequestableERC20Wrapper, bound to a specific deployed contract.
func (*RequestableERC20WrapperCaller) Allowance ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) 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) constant returns(uint256)
func (*RequestableERC20WrapperCaller) BalanceOf ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*RequestableERC20WrapperCaller) DecodeTrieValue ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) DecodeTrieValue(opts *bind.CallOpts, trieValue []byte) (*big.Int, error)
DecodeTrieValue is a free data retrieval call binding the contract method 0xb9e59d09.
Solidity: function decodeTrieValue(bytes trieValue) constant returns(uint256 v)
func (*RequestableERC20WrapperCaller) Development ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Development(opts *bind.CallOpts) (bool, error)
Development is a free data retrieval call binding the contract method 0x7b929c27.
Solidity: function development() constant returns(bool)
func (*RequestableERC20WrapperCaller) GetBalanceTrieKey ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) GetBalanceTrieKey(opts *bind.CallOpts, _who common.Address) ([32]byte, error)
GetBalanceTrieKey is a free data retrieval call binding the contract method 0xb18fcfdf.
Solidity: function getBalanceTrieKey(address _who) constant returns(bytes32)
func (*RequestableERC20WrapperCaller) Initialized ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Initialized(opts *bind.CallOpts) (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*RequestableERC20WrapperCaller) Rootchain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Rootchain(opts *bind.CallOpts) (common.Address, error)
Rootchain is a free data retrieval call binding the contract method 0xbcc7874d.
Solidity: function rootchain() constant returns(address)
func (*RequestableERC20WrapperCaller) Token ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) Token(opts *bind.CallOpts) (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*RequestableERC20WrapperCaller) TotalSupply ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type RequestableERC20WrapperCallerRaw ¶
type RequestableERC20WrapperCallerRaw struct {
Contract *RequestableERC20WrapperCaller // Generic read-only contract binding to access the raw methods on
}
RequestableERC20WrapperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RequestableERC20WrapperCallerRaw) Call ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerRaw) 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 RequestableERC20WrapperCallerSession ¶
type RequestableERC20WrapperCallerSession struct { Contract *RequestableERC20WrapperCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RequestableERC20WrapperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RequestableERC20WrapperCallerSession) Allowance ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) 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) constant returns(uint256)
func (*RequestableERC20WrapperCallerSession) BalanceOf ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*RequestableERC20WrapperCallerSession) DecodeTrieValue ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
DecodeTrieValue is a free data retrieval call binding the contract method 0xb9e59d09.
Solidity: function decodeTrieValue(bytes trieValue) constant returns(uint256 v)
func (*RequestableERC20WrapperCallerSession) Development ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Development() (bool, error)
Development is a free data retrieval call binding the contract method 0x7b929c27.
Solidity: function development() constant returns(bool)
func (*RequestableERC20WrapperCallerSession) GetBalanceTrieKey ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
GetBalanceTrieKey is a free data retrieval call binding the contract method 0xb18fcfdf.
Solidity: function getBalanceTrieKey(address _who) constant returns(bytes32)
func (*RequestableERC20WrapperCallerSession) Initialized ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*RequestableERC20WrapperCallerSession) Rootchain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Rootchain() (common.Address, error)
Rootchain is a free data retrieval call binding the contract method 0xbcc7874d.
Solidity: function rootchain() constant returns(address)
func (*RequestableERC20WrapperCallerSession) Token ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*RequestableERC20WrapperCallerSession) TotalSupply ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type RequestableERC20WrapperDepositted ¶
type RequestableERC20WrapperDepositted struct { From common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RequestableERC20WrapperDepositted represents a Depositted event raised by the RequestableERC20Wrapper contract.
type RequestableERC20WrapperDeposittedIterator ¶
type RequestableERC20WrapperDeposittedIterator struct { Event *RequestableERC20WrapperDepositted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RequestableERC20WrapperDeposittedIterator is returned from FilterDepositted and is used to iterate over the raw logs and unpacked data for Depositted events raised by the RequestableERC20Wrapper contract.
func (*RequestableERC20WrapperDeposittedIterator) Close ¶
func (it *RequestableERC20WrapperDeposittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RequestableERC20WrapperDeposittedIterator) Error ¶
func (it *RequestableERC20WrapperDeposittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RequestableERC20WrapperDeposittedIterator) Next ¶
func (it *RequestableERC20WrapperDeposittedIterator) 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 RequestableERC20WrapperFilterer ¶
type RequestableERC20WrapperFilterer struct {
// contains filtered or unexported fields
}
RequestableERC20WrapperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRequestableERC20WrapperFilterer ¶
func NewRequestableERC20WrapperFilterer(address common.Address, filterer bind.ContractFilterer) (*RequestableERC20WrapperFilterer, error)
NewRequestableERC20WrapperFilterer creates a new log filterer instance of RequestableERC20Wrapper, bound to a specific deployed contract.
func (*RequestableERC20WrapperFilterer) FilterApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*RequestableERC20WrapperApprovalIterator, 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 (*RequestableERC20WrapperFilterer) FilterDepositted ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterDepositted(opts *bind.FilterOpts) (*RequestableERC20WrapperDeposittedIterator, error)
FilterDepositted is a free log retrieval operation binding the contract event 0x46fc0825df492a7a7f1fb1b690f6912ecb69575484fbb24be0f398ae70d97db4.
Solidity: event Depositted(address _from, uint256 _value)
func (*RequestableERC20WrapperFilterer) FilterRequestCreated ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterRequestCreated(opts *bind.FilterOpts) (*RequestableERC20WrapperRequestCreatedIterator, error)
FilterRequestCreated is a free log retrieval operation binding the contract event 0x4b0c23cd90bac23cdaa0958fbd0306f53e20cd5e65676d21b9ceb109784e15b8.
Solidity: event RequestCreated(bool _isExit, address _requestor, bytes32 _trieKey, uint256 _value)
func (*RequestableERC20WrapperFilterer) FilterTransfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RequestableERC20WrapperTransferIterator, 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 (*RequestableERC20WrapperFilterer) FilterWithdrawn ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) FilterWithdrawn(opts *bind.FilterOpts) (*RequestableERC20WrapperWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address _from, uint256 _value)
func (*RequestableERC20WrapperFilterer) ParseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseApproval(log types.Log) (*RequestableERC20WrapperApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*RequestableERC20WrapperFilterer) ParseDepositted ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseDepositted(log types.Log) (*RequestableERC20WrapperDepositted, error)
ParseDepositted is a log parse operation binding the contract event 0x46fc0825df492a7a7f1fb1b690f6912ecb69575484fbb24be0f398ae70d97db4.
Solidity: event Depositted(address _from, uint256 _value)
func (*RequestableERC20WrapperFilterer) ParseRequestCreated ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseRequestCreated(log types.Log) (*RequestableERC20WrapperRequestCreated, error)
ParseRequestCreated is a log parse operation binding the contract event 0x4b0c23cd90bac23cdaa0958fbd0306f53e20cd5e65676d21b9ceb109784e15b8.
Solidity: event RequestCreated(bool _isExit, address _requestor, bytes32 _trieKey, uint256 _value)
func (*RequestableERC20WrapperFilterer) ParseTransfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseTransfer(log types.Log) (*RequestableERC20WrapperTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*RequestableERC20WrapperFilterer) ParseWithdrawn ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) ParseWithdrawn(log types.Log) (*RequestableERC20WrapperWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address _from, uint256 _value)
func (*RequestableERC20WrapperFilterer) WatchApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperApproval, 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 (*RequestableERC20WrapperFilterer) WatchDepositted ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchDepositted(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperDepositted) (event.Subscription, error)
WatchDepositted is a free log subscription operation binding the contract event 0x46fc0825df492a7a7f1fb1b690f6912ecb69575484fbb24be0f398ae70d97db4.
Solidity: event Depositted(address _from, uint256 _value)
func (*RequestableERC20WrapperFilterer) WatchRequestCreated ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchRequestCreated(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperRequestCreated) (event.Subscription, error)
WatchRequestCreated is a free log subscription operation binding the contract event 0x4b0c23cd90bac23cdaa0958fbd0306f53e20cd5e65676d21b9ceb109784e15b8.
Solidity: event RequestCreated(bool _isExit, address _requestor, bytes32 _trieKey, uint256 _value)
func (*RequestableERC20WrapperFilterer) WatchTransfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperTransfer, 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)
func (*RequestableERC20WrapperFilterer) WatchWithdrawn ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *RequestableERC20WrapperWithdrawn) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address _from, uint256 _value)
type RequestableERC20WrapperRaw ¶
type RequestableERC20WrapperRaw struct {
Contract *RequestableERC20Wrapper // Generic contract binding to access the raw methods on
}
RequestableERC20WrapperRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RequestableERC20WrapperRaw) Call ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperRaw) 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 (*RequestableERC20WrapperRaw) Transact ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RequestableERC20WrapperRaw) Transfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperRaw) 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 RequestableERC20WrapperRequestCreated ¶
type RequestableERC20WrapperRequestCreated struct { IsExit bool Requestor common.Address TrieKey [32]byte Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RequestableERC20WrapperRequestCreated represents a RequestCreated event raised by the RequestableERC20Wrapper contract.
type RequestableERC20WrapperRequestCreatedIterator ¶
type RequestableERC20WrapperRequestCreatedIterator struct { Event *RequestableERC20WrapperRequestCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RequestableERC20WrapperRequestCreatedIterator is returned from FilterRequestCreated and is used to iterate over the raw logs and unpacked data for RequestCreated events raised by the RequestableERC20Wrapper contract.
func (*RequestableERC20WrapperRequestCreatedIterator) Close ¶
func (it *RequestableERC20WrapperRequestCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RequestableERC20WrapperRequestCreatedIterator) Error ¶
func (it *RequestableERC20WrapperRequestCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RequestableERC20WrapperRequestCreatedIterator) Next ¶
func (it *RequestableERC20WrapperRequestCreatedIterator) 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 RequestableERC20WrapperSession ¶
type RequestableERC20WrapperSession struct { Contract *RequestableERC20Wrapper // 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 }
RequestableERC20WrapperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RequestableERC20WrapperSession) Allowance ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) 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) constant returns(uint256)
func (*RequestableERC20WrapperSession) ApplyRequestInChildChain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableERC20WrapperSession) ApplyRequestInRootChain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableERC20WrapperSession) Approve ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*RequestableERC20WrapperSession) BalanceOf ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*RequestableERC20WrapperSession) DecodeTrieValue ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) DecodeTrieValue(trieValue []byte) (*big.Int, error)
DecodeTrieValue is a free data retrieval call binding the contract method 0xb9e59d09.
Solidity: function decodeTrieValue(bytes trieValue) constant returns(uint256 v)
func (*RequestableERC20WrapperSession) DecreaseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*RequestableERC20WrapperSession) Deposit ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns(bool)
func (*RequestableERC20WrapperSession) Development ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Development() (bool, error)
Development is a free data retrieval call binding the contract method 0x7b929c27.
Solidity: function development() constant returns(bool)
func (*RequestableERC20WrapperSession) GetBalanceTrieKey ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) GetBalanceTrieKey(_who common.Address) ([32]byte, error)
GetBalanceTrieKey is a free data retrieval call binding the contract method 0xb18fcfdf.
Solidity: function getBalanceTrieKey(address _who) constant returns(bytes32)
func (*RequestableERC20WrapperSession) IncreaseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*RequestableERC20WrapperSession) Init ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Init(_rootchain common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _rootchain) returns(bool)
func (*RequestableERC20WrapperSession) Initialized ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Initialized() (bool, error)
Initialized is a free data retrieval call binding the contract method 0x158ef93e.
Solidity: function initialized() constant returns(bool)
func (*RequestableERC20WrapperSession) Rootchain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Rootchain() (common.Address, error)
Rootchain is a free data retrieval call binding the contract method 0xbcc7874d.
Solidity: function rootchain() constant returns(address)
func (*RequestableERC20WrapperSession) Token ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*RequestableERC20WrapperSession) TotalSupply ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*RequestableERC20WrapperSession) Transfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*RequestableERC20WrapperSession) TransferFrom ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*RequestableERC20WrapperSession) Withdraw ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns(bool)
type RequestableERC20WrapperTransactor ¶
type RequestableERC20WrapperTransactor struct {
// contains filtered or unexported fields
}
RequestableERC20WrapperTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRequestableERC20WrapperTransactor ¶
func NewRequestableERC20WrapperTransactor(address common.Address, transactor bind.ContractTransactor) (*RequestableERC20WrapperTransactor, error)
NewRequestableERC20WrapperTransactor creates a new write-only instance of RequestableERC20Wrapper, bound to a specific deployed contract.
func (*RequestableERC20WrapperTransactor) ApplyRequestInChildChain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) ApplyRequestInChildChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableERC20WrapperTransactor) ApplyRequestInRootChain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) ApplyRequestInRootChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableERC20WrapperTransactor) Approve ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*RequestableERC20WrapperTransactor) DecreaseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*RequestableERC20WrapperTransactor) Deposit ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns(bool)
func (*RequestableERC20WrapperTransactor) IncreaseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*RequestableERC20WrapperTransactor) Init ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Init(opts *bind.TransactOpts, _rootchain common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _rootchain) returns(bool)
func (*RequestableERC20WrapperTransactor) Transfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*RequestableERC20WrapperTransactor) TransferFrom ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*RequestableERC20WrapperTransactor) Withdraw ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns(bool)
type RequestableERC20WrapperTransactorRaw ¶
type RequestableERC20WrapperTransactorRaw struct {
Contract *RequestableERC20WrapperTransactor // Generic write-only contract binding to access the raw methods on
}
RequestableERC20WrapperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RequestableERC20WrapperTransactorRaw) Transact ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RequestableERC20WrapperTransactorRaw) Transfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorRaw) 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 RequestableERC20WrapperTransactorSession ¶
type RequestableERC20WrapperTransactorSession struct { Contract *RequestableERC20WrapperTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RequestableERC20WrapperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RequestableERC20WrapperTransactorSession) ApplyRequestInChildChain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableERC20WrapperTransactorSession) ApplyRequestInRootChain ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableERC20WrapperTransactorSession) Approve ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*RequestableERC20WrapperTransactorSession) DecreaseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*RequestableERC20WrapperTransactorSession) Deposit ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns(bool)
func (*RequestableERC20WrapperTransactorSession) IncreaseApproval ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*RequestableERC20WrapperTransactorSession) Init ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Init(_rootchain common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _rootchain) returns(bool)
func (*RequestableERC20WrapperTransactorSession) Transfer ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*RequestableERC20WrapperTransactorSession) TransferFrom ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*RequestableERC20WrapperTransactorSession) Withdraw ¶
func (_RequestableERC20Wrapper *RequestableERC20WrapperTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns(bool)
type RequestableERC20WrapperTransfer ¶
type RequestableERC20WrapperTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RequestableERC20WrapperTransfer represents a Transfer event raised by the RequestableERC20Wrapper contract.
type RequestableERC20WrapperTransferIterator ¶
type RequestableERC20WrapperTransferIterator struct { Event *RequestableERC20WrapperTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RequestableERC20WrapperTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the RequestableERC20Wrapper contract.
func (*RequestableERC20WrapperTransferIterator) Close ¶
func (it *RequestableERC20WrapperTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RequestableERC20WrapperTransferIterator) Error ¶
func (it *RequestableERC20WrapperTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RequestableERC20WrapperTransferIterator) Next ¶
func (it *RequestableERC20WrapperTransferIterator) 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 RequestableERC20WrapperWithdrawn ¶
type RequestableERC20WrapperWithdrawn struct { From common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RequestableERC20WrapperWithdrawn represents a Withdrawn event raised by the RequestableERC20Wrapper contract.
type RequestableERC20WrapperWithdrawnIterator ¶
type RequestableERC20WrapperWithdrawnIterator struct { Event *RequestableERC20WrapperWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RequestableERC20WrapperWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the RequestableERC20Wrapper contract.
func (*RequestableERC20WrapperWithdrawnIterator) Close ¶
func (it *RequestableERC20WrapperWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RequestableERC20WrapperWithdrawnIterator) Error ¶
func (it *RequestableERC20WrapperWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RequestableERC20WrapperWithdrawnIterator) Next ¶
func (it *RequestableERC20WrapperWithdrawnIterator) 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 RequestableI ¶
type RequestableI struct { RequestableICaller // Read-only binding to the contract RequestableITransactor // Write-only binding to the contract RequestableIFilterer // Log filterer for contract events }
RequestableI is an auto generated Go binding around an Ethereum contract.
func NewRequestableI ¶
func NewRequestableI(address common.Address, backend bind.ContractBackend) (*RequestableI, error)
NewRequestableI creates a new instance of RequestableI, bound to a specific deployed contract.
type RequestableICaller ¶
type RequestableICaller struct {
// contains filtered or unexported fields
}
RequestableICaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRequestableICaller ¶
func NewRequestableICaller(address common.Address, caller bind.ContractCaller) (*RequestableICaller, error)
NewRequestableICaller creates a new read-only instance of RequestableI, bound to a specific deployed contract.
type RequestableICallerRaw ¶
type RequestableICallerRaw struct {
Contract *RequestableICaller // Generic read-only contract binding to access the raw methods on
}
RequestableICallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RequestableICallerRaw) Call ¶
func (_RequestableI *RequestableICallerRaw) 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 RequestableICallerSession ¶
type RequestableICallerSession struct { Contract *RequestableICaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RequestableICallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type RequestableIFilterer ¶
type RequestableIFilterer struct {
// contains filtered or unexported fields
}
RequestableIFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRequestableIFilterer ¶
func NewRequestableIFilterer(address common.Address, filterer bind.ContractFilterer) (*RequestableIFilterer, error)
NewRequestableIFilterer creates a new log filterer instance of RequestableI, bound to a specific deployed contract.
type RequestableIRaw ¶
type RequestableIRaw struct {
Contract *RequestableI // Generic contract binding to access the raw methods on
}
RequestableIRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RequestableIRaw) Call ¶
func (_RequestableI *RequestableIRaw) 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 (*RequestableIRaw) Transact ¶
func (_RequestableI *RequestableIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RequestableIRaw) Transfer ¶
func (_RequestableI *RequestableIRaw) 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 RequestableISession ¶
type RequestableISession struct { Contract *RequestableI // 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 }
RequestableISession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RequestableISession) ApplyRequestInChildChain ¶
func (_RequestableI *RequestableISession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableISession) ApplyRequestInRootChain ¶
func (_RequestableI *RequestableISession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
type RequestableITransactor ¶
type RequestableITransactor struct {
// contains filtered or unexported fields
}
RequestableITransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRequestableITransactor ¶
func NewRequestableITransactor(address common.Address, transactor bind.ContractTransactor) (*RequestableITransactor, error)
NewRequestableITransactor creates a new write-only instance of RequestableI, bound to a specific deployed contract.
func (*RequestableITransactor) ApplyRequestInChildChain ¶
func (_RequestableI *RequestableITransactor) ApplyRequestInChildChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableITransactor) ApplyRequestInRootChain ¶
func (_RequestableI *RequestableITransactor) ApplyRequestInRootChain(opts *bind.TransactOpts, isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
type RequestableITransactorRaw ¶
type RequestableITransactorRaw struct {
Contract *RequestableITransactor // Generic write-only contract binding to access the raw methods on
}
RequestableITransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RequestableITransactorRaw) Transact ¶
func (_RequestableI *RequestableITransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RequestableITransactorRaw) Transfer ¶
func (_RequestableI *RequestableITransactorRaw) 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 RequestableITransactorSession ¶
type RequestableITransactorSession struct { Contract *RequestableITransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RequestableITransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RequestableITransactorSession) ApplyRequestInChildChain ¶
func (_RequestableI *RequestableITransactorSession) ApplyRequestInChildChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInChildChain is a paid mutator transaction binding the contract method 0x141ecf46.
Solidity: function applyRequestInChildChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
func (*RequestableITransactorSession) ApplyRequestInRootChain ¶
func (_RequestableI *RequestableITransactorSession) ApplyRequestInRootChain(isExit bool, requestId *big.Int, requestor common.Address, trieKey [32]byte, trieValue []byte) (*types.Transaction, error)
ApplyRequestInRootChain is a paid mutator transaction binding the contract method 0xa9f79308.
Solidity: function applyRequestInRootChain(bool isExit, uint256 requestId, address requestor, bytes32 trieKey, bytes trieValue) returns(bool success)
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type StandardToken ¶
type StandardToken struct { StandardTokenCaller // Read-only binding to the contract StandardTokenTransactor // Write-only binding to the contract StandardTokenFilterer // Log filterer for contract events }
StandardToken is an auto generated Go binding around an Ethereum contract.
func DeployStandardToken ¶
func DeployStandardToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StandardToken, error)
DeployStandardToken deploys a new Ethereum contract, binding an instance of StandardToken to it.
func NewStandardToken ¶
func NewStandardToken(address common.Address, backend bind.ContractBackend) (*StandardToken, error)
NewStandardToken creates a new instance of StandardToken, bound to a specific deployed contract.
type StandardTokenApproval ¶
type StandardTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StandardTokenApproval represents a Approval event raised by the StandardToken contract.
type StandardTokenApprovalIterator ¶
type StandardTokenApprovalIterator struct { Event *StandardTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StandardTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StandardToken contract.
func (*StandardTokenApprovalIterator) Close ¶
func (it *StandardTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenApprovalIterator) Error ¶
func (it *StandardTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenApprovalIterator) Next ¶
func (it *StandardTokenApprovalIterator) 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 StandardTokenCaller ¶
type StandardTokenCaller struct {
// contains filtered or unexported fields
}
StandardTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStandardTokenCaller ¶
func NewStandardTokenCaller(address common.Address, caller bind.ContractCaller) (*StandardTokenCaller, error)
NewStandardTokenCaller creates a new read-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenCaller) Allowance ¶
func (_StandardToken *StandardTokenCaller) 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) constant returns(uint256)
func (*StandardTokenCaller) BalanceOf ¶
func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*StandardTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type StandardTokenCallerRaw ¶
type StandardTokenCallerRaw struct {
Contract *StandardTokenCaller // Generic read-only contract binding to access the raw methods on
}
StandardTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StandardTokenCallerRaw) Call ¶
func (_StandardToken *StandardTokenCallerRaw) 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 StandardTokenCallerSession ¶
type StandardTokenCallerSession struct { Contract *StandardTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StandardTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StandardTokenCallerSession) Allowance ¶
func (_StandardToken *StandardTokenCallerSession) 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) constant returns(uint256)
func (*StandardTokenCallerSession) BalanceOf ¶
func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*StandardTokenCallerSession) TotalSupply ¶
func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type StandardTokenFilterer ¶
type StandardTokenFilterer struct {
// contains filtered or unexported fields
}
StandardTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStandardTokenFilterer ¶
func NewStandardTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardTokenFilterer, error)
NewStandardTokenFilterer creates a new log filterer instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenFilterer) FilterApproval ¶
func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, 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 (*StandardTokenFilterer) FilterTransfer ¶
func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, 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 (*StandardTokenFilterer) ParseApproval ¶
func (_StandardToken *StandardTokenFilterer) ParseApproval(log types.Log) (*StandardTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StandardTokenFilterer) ParseTransfer ¶
func (_StandardToken *StandardTokenFilterer) ParseTransfer(log types.Log) (*StandardTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StandardTokenFilterer) WatchApproval ¶
func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, 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 (*StandardTokenFilterer) WatchTransfer ¶
func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, 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 StandardTokenRaw ¶
type StandardTokenRaw struct {
Contract *StandardToken // Generic contract binding to access the raw methods on
}
StandardTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StandardTokenRaw) Call ¶
func (_StandardToken *StandardTokenRaw) 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 (*StandardTokenRaw) Transact ¶
func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenRaw) Transfer ¶
func (_StandardToken *StandardTokenRaw) 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 StandardTokenSession ¶
type StandardTokenSession struct { Contract *StandardToken // 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 }
StandardTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StandardTokenSession) Allowance ¶
func (_StandardToken *StandardTokenSession) 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) constant returns(uint256)
func (*StandardTokenSession) Approve ¶
func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*StandardTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*StandardTokenSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*StandardTokenSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*StandardTokenSession) TotalSupply ¶
func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*StandardTokenSession) Transfer ¶
func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*StandardTokenSession) TransferFrom ¶
func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type StandardTokenTransactor ¶
type StandardTokenTransactor struct {
// contains filtered or unexported fields
}
StandardTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStandardTokenTransactor ¶
func NewStandardTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardTokenTransactor, error)
NewStandardTokenTransactor creates a new write-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenTransactor) Approve ¶
func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*StandardTokenTransactor) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*StandardTokenTransactor) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*StandardTokenTransactor) Transfer ¶
func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*StandardTokenTransactor) TransferFrom ¶
func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type StandardTokenTransactorRaw ¶
type StandardTokenTransactorRaw struct {
Contract *StandardTokenTransactor // Generic write-only contract binding to access the raw methods on
}
StandardTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StandardTokenTransactorRaw) Transact ¶
func (_StandardToken *StandardTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenTransactorRaw) Transfer ¶
func (_StandardToken *StandardTokenTransactorRaw) 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 StandardTokenTransactorSession ¶
type StandardTokenTransactorSession struct { Contract *StandardTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StandardTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StandardTokenTransactorSession) Approve ¶
func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*StandardTokenTransactorSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*StandardTokenTransactorSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*StandardTokenTransactorSession) Transfer ¶
func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*StandardTokenTransactorSession) TransferFrom ¶
func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type StandardTokenTransfer ¶
type StandardTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StandardTokenTransfer represents a Transfer event raised by the StandardToken contract.
type StandardTokenTransferIterator ¶
type StandardTokenTransferIterator struct { Event *StandardTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StandardTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StandardToken contract.
func (*StandardTokenTransferIterator) Close ¶
func (it *StandardTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenTransferIterator) Error ¶
func (it *StandardTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenTransferIterator) Next ¶
func (it *StandardTokenTransferIterator) 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.