Documentation ¶
Index ¶
- Constants
- 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) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_EtherToken *EtherTokenCaller) Symbol(opts *bind.CallOpts) (string, 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) Decimals() (*big.Int, error)
- func (_EtherToken *EtherTokenCallerSession) Symbol() (string, error)
- func (_EtherToken *EtherTokenCallerSession) TotalSupply() (*big.Int, error)
- type EtherTokenDeposited
- type EtherTokenDepositedIterator
- type EtherTokenFilterer
- func (_EtherToken *EtherTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*EtherTokenApprovalIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterDeposited(opts *bind.FilterOpts, source []common.Address) (*EtherTokenDepositedIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, to []common.Address) (*EtherTokenTransferIterator, error)
- func (_EtherToken *EtherTokenFilterer) FilterWithdrawn(opts *bind.FilterOpts, to []common.Address) (*EtherTokenWithdrawnIterator, error)
- func (_EtherToken *EtherTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *EtherTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *EtherTokenDeposited, ...) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EtherTokenTransfer, source []common.Address, ...) (event.Subscription, error)
- func (_EtherToken *EtherTokenFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *EtherTokenWithdrawn, to []common.Address) (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 EtherTokenSession
- func (_EtherToken *EtherTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_EtherToken *EtherTokenSession) Decimals() (*big.Int, error)
- func (_EtherToken *EtherTokenSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Deposit() (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Symbol() (string, error)
- func (_EtherToken *EtherTokenSession) TotalSupply() (*big.Int, error)
- func (_EtherToken *EtherTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) TransferFrom(source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenSession) Withdraw(amount *big.Int) (*types.Transaction, error)
- type EtherTokenTransactor
- func (_EtherToken *EtherTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactor) TransferFrom(opts *bind.TransactOpts, source 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) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Deposit() (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) TransferFrom(source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_EtherToken *EtherTokenTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
- type EtherTokenTransfer
- type EtherTokenTransferIterator
- type EtherTokenWithdrawn
- type EtherTokenWithdrawnIterator
Constants ¶
const EtherTokenABI = "" /* 3744-byte string literal not displayed */
EtherTokenABI is the input ABI used to generate the binding from.
const EtherTokenBin = `` /* 4534-byte string literal not displayed */
EtherTokenBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) (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 Amount *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 out)
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 out)
func (*EtherTokenCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256 out)
func (*EtherTokenCaller) Symbol ¶
func (_EtherToken *EtherTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string out)
func (*EtherTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256 out)
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 out)
func (*EtherTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) constant returns(uint256 out)
func (*EtherTokenCallerSession) Decimals ¶
func (_EtherToken *EtherTokenCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256 out)
func (*EtherTokenCallerSession) Symbol ¶
func (_EtherToken *EtherTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string out)
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 out)
type EtherTokenDeposited ¶
type EtherTokenDeposited struct { Source common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EtherTokenDeposited represents a Deposited event raised by the EtherToken contract.
type EtherTokenDepositedIterator ¶
type EtherTokenDepositedIterator struct { Event *EtherTokenDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EtherTokenDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the EtherToken contract.
func (*EtherTokenDepositedIterator) Close ¶
func (it *EtherTokenDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EtherTokenDepositedIterator) Error ¶
func (it *EtherTokenDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EtherTokenDepositedIterator) Next ¶
func (it *EtherTokenDepositedIterator) 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 amount)
func (*EtherTokenFilterer) FilterDeposited ¶
func (_EtherToken *EtherTokenFilterer) FilterDeposited(opts *bind.FilterOpts, source []common.Address) (*EtherTokenDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.
Solidity: event Deposited(address indexed source, uint256 amount)
func (*EtherTokenFilterer) FilterTransfer ¶
func (_EtherToken *EtherTokenFilterer) FilterTransfer(opts *bind.FilterOpts, source []common.Address, to []common.Address) (*EtherTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed source, address indexed to, uint256 amount)
func (*EtherTokenFilterer) FilterWithdrawn ¶
func (_EtherToken *EtherTokenFilterer) FilterWithdrawn(opts *bind.FilterOpts, to []common.Address) (*EtherTokenWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed to, uint256 amount)
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 amount)
func (*EtherTokenFilterer) WatchDeposited ¶
func (_EtherToken *EtherTokenFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *EtherTokenDeposited, source []common.Address) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.
Solidity: event Deposited(address indexed source, uint256 amount)
func (*EtherTokenFilterer) WatchTransfer ¶
func (_EtherToken *EtherTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *EtherTokenTransfer, source []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 source, address indexed to, uint256 amount)
func (*EtherTokenFilterer) WatchWithdrawn ¶
func (_EtherToken *EtherTokenFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *EtherTokenWithdrawn, to []common.Address) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed to, uint256 amount)
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 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 out)
func (*EtherTokenSession) Approve ¶
func (_EtherToken *EtherTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool out)
func (*EtherTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) constant returns(uint256 out)
func (*EtherTokenSession) Decimals ¶
func (_EtherToken *EtherTokenSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256 out)
func (*EtherTokenSession) DecreaseAllowance ¶
func (_EtherToken *EtherTokenSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 amount) returns(bool out)
func (*EtherTokenSession) Deposit ¶
func (_EtherToken *EtherTokenSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*EtherTokenSession) IncreaseAllowance ¶
func (_EtherToken *EtherTokenSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 amount) returns(bool out)
func (*EtherTokenSession) Symbol ¶
func (_EtherToken *EtherTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string out)
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 out)
func (*EtherTokenSession) Transfer ¶
func (_EtherToken *EtherTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool out)
func (*EtherTokenSession) TransferFrom ¶
func (_EtherToken *EtherTokenSession) TransferFrom(source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address source, address to, uint256 amount) returns(bool out)
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()
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) Approve ¶
func (_EtherToken *EtherTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool out)
func (*EtherTokenTransactor) DecreaseAllowance ¶
func (_EtherToken *EtherTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 amount) returns(bool out)
func (*EtherTokenTransactor) Deposit ¶
func (_EtherToken *EtherTokenTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*EtherTokenTransactor) IncreaseAllowance ¶
func (_EtherToken *EtherTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 amount) returns(bool out)
func (*EtherTokenTransactor) Transfer ¶
func (_EtherToken *EtherTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool out)
func (*EtherTokenTransactor) TransferFrom ¶
func (_EtherToken *EtherTokenTransactor) TransferFrom(opts *bind.TransactOpts, source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address source, address to, uint256 amount) returns(bool out)
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()
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) Approve ¶
func (_EtherToken *EtherTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool out)
func (*EtherTokenTransactorSession) DecreaseAllowance ¶
func (_EtherToken *EtherTokenTransactorSession) DecreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 amount) returns(bool out)
func (*EtherTokenTransactorSession) Deposit ¶
func (_EtherToken *EtherTokenTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*EtherTokenTransactorSession) IncreaseAllowance ¶
func (_EtherToken *EtherTokenTransactorSession) IncreaseAllowance(spender common.Address, amount *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 amount) returns(bool out)
func (*EtherTokenTransactorSession) Transfer ¶
func (_EtherToken *EtherTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool out)
func (*EtherTokenTransactorSession) TransferFrom ¶
func (_EtherToken *EtherTokenTransactorSession) TransferFrom(source common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address source, address to, uint256 amount) returns(bool out)
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()
type EtherTokenTransfer ¶
type EtherTokenTransfer struct { Source common.Address To common.Address Amount *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 { To common.Address Amount *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.