Documentation ¶
Index ¶
- Constants
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Aware
- type ERC20AwareCaller
- type ERC20AwareCallerRaw
- type ERC20AwareCallerSession
- type ERC20AwareFilterer
- type ERC20AwareRaw
- func (_ERC20Aware *ERC20AwareRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20Aware *ERC20AwareRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Aware *ERC20AwareRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20AwareSession
- type ERC20AwareTransactor
- type ERC20AwareTransactorRaw
- type ERC20AwareTransactorSession
- 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) 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) 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 IdentityBalance
- func (balances *IdentityBalance) BindForTopUpEvents(sink chan<- *IdentityBalancesToppedUp) (event.Subscription, error)
- func (balances *IdentityBalance) BindForWithdrawEvents(sink chan<- *IdentityBalancesWithdrawn) (event.Subscription, error)
- func (balances *IdentityBalance) Withdraw(request *WithdrawRequest) (err error)
- type IdentityBalances
- type IdentityBalancesCaller
- type IdentityBalancesCallerRaw
- type IdentityBalancesCallerSession
- type IdentityBalancesFilterer
- func (_IdentityBalances *IdentityBalancesFilterer) FilterToppedUp(opts *bind.FilterOpts, identity []common.Address) (*IdentityBalancesToppedUpIterator, error)
- func (_IdentityBalances *IdentityBalancesFilterer) FilterWithdrawn(opts *bind.FilterOpts, identity []common.Address) (*IdentityBalancesWithdrawnIterator, error)
- func (_IdentityBalances *IdentityBalancesFilterer) WatchToppedUp(opts *bind.WatchOpts, sink chan<- *IdentityBalancesToppedUp, ...) (event.Subscription, error)
- func (_IdentityBalances *IdentityBalancesFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *IdentityBalancesWithdrawn, ...) (event.Subscription, error)
- type IdentityBalancesRaw
- func (_IdentityBalances *IdentityBalancesRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_IdentityBalances *IdentityBalancesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IdentityBalances *IdentityBalancesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IdentityBalancesSession
- func (_IdentityBalances *IdentityBalancesSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_IdentityBalances *IdentityBalancesSession) ERC20Token() (common.Address, error)
- func (_IdentityBalances *IdentityBalancesSession) TopUp(identity common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IdentityBalances *IdentityBalancesSession) Withdraw(amount *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- type IdentityBalancesToppedUp
- type IdentityBalancesToppedUpIterator
- type IdentityBalancesTransactor
- func (_IdentityBalances *IdentityBalancesTransactor) TopUp(opts *bind.TransactOpts, identity common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IdentityBalances *IdentityBalancesTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- type IdentityBalancesTransactorRaw
- type IdentityBalancesTransactorSession
- type IdentityBalancesWithdrawn
- type IdentityBalancesWithdrawnIterator
- type Math
- type MathCaller
- type MathCallerRaw
- type MathCallerSession
- type MathFilterer
- type MathRaw
- func (_Math *MathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Math *MathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Math *MathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MathSession
- type MathTransactor
- type MathTransactorRaw
- type MathTransactorSession
- type WithdrawRequest
Constants ¶
const ERC20ABI = "" /* 1993-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20AwareABI = "" /* 326-byte string literal not displayed */
ERC20AwareABI is the input ABI used to generate the binding from.
const ERC20AwareBin = `` /* 560-byte string literal not displayed */
ERC20AwareBin is the compiled bytecode used for deploying new contracts.
const ERC20BasicABI = "" /* 906-byte string literal not displayed */
ERC20BasicABI is the input ABI used to generate the binding from.
const ERC20BasicBin = `0x`
ERC20BasicBin is the compiled bytecode used for deploying new contracts.
const ERC20Bin = `0x`
ERC20Bin is the compiled bytecode used for deploying new contracts.
const IdentityBalancesABI = "" /* 1664-byte string literal not displayed */
IdentityBalancesABI is the input ABI used to generate the binding from.
const IdentityBalancesBin = `` /* 2894-byte string literal not displayed */
IdentityBalancesBin is the compiled bytecode used for deploying new contracts.
const MathABI = "[]"
MathABI is the input ABI used to generate the binding from.
const MathBin = `` /* 242-byte string literal not displayed */
MathBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
func DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
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 ERC20Aware ¶
type ERC20Aware struct { ERC20AwareCaller // Read-only binding to the contract ERC20AwareTransactor // Write-only binding to the contract ERC20AwareFilterer // Log filterer for contract events }
ERC20Aware is an auto generated Go binding around an Ethereum contract.
func DeployERC20Aware ¶
func DeployERC20Aware(auth *bind.TransactOpts, backend bind.ContractBackend, erc20tokenAddress common.Address) (common.Address, *types.Transaction, *ERC20Aware, error)
DeployERC20Aware deploys a new Ethereum contract, binding an instance of ERC20Aware to it.
func NewERC20Aware ¶
func NewERC20Aware(address common.Address, backend bind.ContractBackend) (*ERC20Aware, error)
NewERC20Aware creates a new instance of ERC20Aware, bound to a specific deployed contract.
type ERC20AwareCaller ¶
type ERC20AwareCaller struct {
// contains filtered or unexported fields
}
ERC20AwareCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20AwareCaller ¶
func NewERC20AwareCaller(address common.Address, caller bind.ContractCaller) (*ERC20AwareCaller, error)
NewERC20AwareCaller creates a new read-only instance of ERC20Aware, bound to a specific deployed contract.
func (*ERC20AwareCaller) ERC20Token ¶
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareCallerRaw ¶
type ERC20AwareCallerRaw struct {
Contract *ERC20AwareCaller // Generic read-only contract binding to access the raw methods on
}
ERC20AwareCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20AwareCallerRaw) Call ¶
func (_ERC20Aware *ERC20AwareCallerRaw) 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 ERC20AwareCallerSession ¶
type ERC20AwareCallerSession struct { Contract *ERC20AwareCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20AwareCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20AwareCallerSession) ERC20Token ¶
func (_ERC20Aware *ERC20AwareCallerSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareFilterer ¶
type ERC20AwareFilterer struct {
// contains filtered or unexported fields
}
ERC20AwareFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20AwareFilterer ¶
func NewERC20AwareFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20AwareFilterer, error)
NewERC20AwareFilterer creates a new log filterer instance of ERC20Aware, bound to a specific deployed contract.
type ERC20AwareRaw ¶
type ERC20AwareRaw struct {
Contract *ERC20Aware // Generic contract binding to access the raw methods on
}
ERC20AwareRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20AwareRaw) Call ¶
func (_ERC20Aware *ERC20AwareRaw) 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 (*ERC20AwareRaw) Transact ¶
func (_ERC20Aware *ERC20AwareRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20AwareRaw) Transfer ¶
func (_ERC20Aware *ERC20AwareRaw) 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 ERC20AwareSession ¶
type ERC20AwareSession struct { Contract *ERC20Aware // 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 }
ERC20AwareSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20AwareSession) ERC20Token ¶
func (_ERC20Aware *ERC20AwareSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareTransactor ¶
type ERC20AwareTransactor struct {
// contains filtered or unexported fields
}
ERC20AwareTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20AwareTransactor ¶
func NewERC20AwareTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20AwareTransactor, error)
NewERC20AwareTransactor creates a new write-only instance of ERC20Aware, bound to a specific deployed contract.
type ERC20AwareTransactorRaw ¶
type ERC20AwareTransactorRaw struct {
Contract *ERC20AwareTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20AwareTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20AwareTransactorRaw) Transact ¶
func (_ERC20Aware *ERC20AwareTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20AwareTransactorRaw) Transfer ¶
func (_ERC20Aware *ERC20AwareTransactorRaw) 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 ERC20AwareTransactorSession ¶
type ERC20AwareTransactorSession struct { Contract *ERC20AwareTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20AwareTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
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 DeployERC20Basic ¶
func DeployERC20Basic(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Basic, error)
DeployERC20Basic deploys a new Ethereum contract, binding an instance of ERC20Basic to it.
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(who address) 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(who address) 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: e Transfer(from indexed address, to indexed address, value uint256)
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: e Transfer(from indexed address, to indexed address, value uint256)
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(who address) 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(to address, value uint256) 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(to address, value uint256) 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(to address, value uint256) 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(owner address, spender address) constant returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) 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(owner address, spender address) constant returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) 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: e Approval(owner indexed address, spender indexed address, value uint256)
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: e Transfer(from indexed address, to indexed address, value uint256)
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: e Approval(owner indexed address, spender indexed address, value uint256)
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: e Transfer(from indexed address, to indexed address, value uint256)
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(owner address, spender address) 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(spender address, value uint256) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) 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(to address, value uint256) 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(from address, to address, value uint256) 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(spender address, value uint256) 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(to address, value uint256) 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(from address, to address, value uint256) 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(spender address, value uint256) 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(to address, value uint256) 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(from address, to address, value uint256) 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 IdentityBalance ¶
type IdentityBalance struct { Address common.Address IdentityBalancesSession }
func DeployIdentityBalance ¶
func DeployIdentityBalance(transactorOpts *bind.TransactOpts, erc20Address common.Address, backend bind.ContractBackend) (*IdentityBalance, error)
func (*IdentityBalance) BindForTopUpEvents ¶
func (balances *IdentityBalance) BindForTopUpEvents(sink chan<- *IdentityBalancesToppedUp) (event.Subscription, error)
func (*IdentityBalance) BindForWithdrawEvents ¶
func (balances *IdentityBalance) BindForWithdrawEvents(sink chan<- *IdentityBalancesWithdrawn) (event.Subscription, error)
func (*IdentityBalance) Withdraw ¶
func (balances *IdentityBalance) Withdraw(request *WithdrawRequest) (err error)
type IdentityBalances ¶
type IdentityBalances struct { IdentityBalancesCaller // Read-only binding to the contract IdentityBalancesTransactor // Write-only binding to the contract IdentityBalancesFilterer // Log filterer for contract events }
IdentityBalances is an auto generated Go binding around an Ethereum contract.
func DeployIdentityBalances ¶
func DeployIdentityBalances(auth *bind.TransactOpts, backend bind.ContractBackend, tokenAddress common.Address) (common.Address, *types.Transaction, *IdentityBalances, error)
DeployIdentityBalances deploys a new Ethereum contract, binding an instance of IdentityBalances to it.
func NewIdentityBalances ¶
func NewIdentityBalances(address common.Address, backend bind.ContractBackend) (*IdentityBalances, error)
NewIdentityBalances creates a new instance of IdentityBalances, bound to a specific deployed contract.
type IdentityBalancesCaller ¶
type IdentityBalancesCaller struct {
// contains filtered or unexported fields
}
IdentityBalancesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIdentityBalancesCaller ¶
func NewIdentityBalancesCaller(address common.Address, caller bind.ContractCaller) (*IdentityBalancesCaller, error)
NewIdentityBalancesCaller creates a new read-only instance of IdentityBalances, bound to a specific deployed contract.
func (*IdentityBalancesCaller) Balances ¶
func (_IdentityBalances *IdentityBalancesCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances( address) constant returns(uint256)
func (*IdentityBalancesCaller) ERC20Token ¶
func (_IdentityBalances *IdentityBalancesCaller) ERC20Token(opts *bind.CallOpts) (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type IdentityBalancesCallerRaw ¶
type IdentityBalancesCallerRaw struct {
Contract *IdentityBalancesCaller // Generic read-only contract binding to access the raw methods on
}
IdentityBalancesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IdentityBalancesCallerRaw) Call ¶
func (_IdentityBalances *IdentityBalancesCallerRaw) 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 IdentityBalancesCallerSession ¶
type IdentityBalancesCallerSession struct { Contract *IdentityBalancesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IdentityBalancesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IdentityBalancesCallerSession) Balances ¶
func (_IdentityBalances *IdentityBalancesCallerSession) Balances(arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances( address) constant returns(uint256)
func (*IdentityBalancesCallerSession) ERC20Token ¶
func (_IdentityBalances *IdentityBalancesCallerSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type IdentityBalancesFilterer ¶
type IdentityBalancesFilterer struct {
// contains filtered or unexported fields
}
IdentityBalancesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIdentityBalancesFilterer ¶
func NewIdentityBalancesFilterer(address common.Address, filterer bind.ContractFilterer) (*IdentityBalancesFilterer, error)
NewIdentityBalancesFilterer creates a new log filterer instance of IdentityBalances, bound to a specific deployed contract.
func (*IdentityBalancesFilterer) FilterToppedUp ¶
func (_IdentityBalances *IdentityBalancesFilterer) FilterToppedUp(opts *bind.FilterOpts, identity []common.Address) (*IdentityBalancesToppedUpIterator, error)
FilterToppedUp is a free log retrieval operation binding the contract event 0xbdde76a89d276b6d334c784be5c2d00d6c2219d11a2f2c80e00b85144845ab4d.
Solidity: e ToppedUp(identity indexed address, amount uint256, totalBalance uint256)
func (*IdentityBalancesFilterer) FilterWithdrawn ¶
func (_IdentityBalances *IdentityBalancesFilterer) FilterWithdrawn(opts *bind.FilterOpts, identity []common.Address) (*IdentityBalancesWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0x92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6.
Solidity: e Withdrawn(identity indexed address, amount uint256, totalBalance uint256)
func (*IdentityBalancesFilterer) WatchToppedUp ¶
func (_IdentityBalances *IdentityBalancesFilterer) WatchToppedUp(opts *bind.WatchOpts, sink chan<- *IdentityBalancesToppedUp, identity []common.Address) (event.Subscription, error)
WatchToppedUp is a free log subscription operation binding the contract event 0xbdde76a89d276b6d334c784be5c2d00d6c2219d11a2f2c80e00b85144845ab4d.
Solidity: e ToppedUp(identity indexed address, amount uint256, totalBalance uint256)
func (*IdentityBalancesFilterer) WatchWithdrawn ¶
func (_IdentityBalances *IdentityBalancesFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *IdentityBalancesWithdrawn, identity []common.Address) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0x92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6.
Solidity: e Withdrawn(identity indexed address, amount uint256, totalBalance uint256)
type IdentityBalancesRaw ¶
type IdentityBalancesRaw struct {
Contract *IdentityBalances // Generic contract binding to access the raw methods on
}
IdentityBalancesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IdentityBalancesRaw) Call ¶
func (_IdentityBalances *IdentityBalancesRaw) 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 (*IdentityBalancesRaw) Transact ¶
func (_IdentityBalances *IdentityBalancesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IdentityBalancesRaw) Transfer ¶
func (_IdentityBalances *IdentityBalancesRaw) 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 IdentityBalancesSession ¶
type IdentityBalancesSession struct { Contract *IdentityBalances // 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 }
IdentityBalancesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IdentityBalancesSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances( address) constant returns(uint256)
func (*IdentityBalancesSession) ERC20Token ¶
func (_IdentityBalances *IdentityBalancesSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
func (*IdentityBalancesSession) TopUp ¶
func (_IdentityBalances *IdentityBalancesSession) TopUp(identity common.Address, amount *big.Int) (*types.Transaction, error)
TopUp is a paid mutator transaction binding the contract method 0xd6f7ddf9.
Solidity: function topUp(identity address, amount uint256) returns(bool)
func (*IdentityBalancesSession) Withdraw ¶
func (_IdentityBalances *IdentityBalancesSession) Withdraw(amount *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x5ebfdfc6.
Solidity: function withdraw(amount uint256, v uint8, r bytes32, s bytes32) returns(bool)
type IdentityBalancesToppedUp ¶
type IdentityBalancesToppedUp struct { Identity common.Address Amount *big.Int TotalBalance *big.Int Raw types.Log // Blockchain specific contextual infos }
IdentityBalancesToppedUp represents a ToppedUp event raised by the IdentityBalances contract.
type IdentityBalancesToppedUpIterator ¶
type IdentityBalancesToppedUpIterator struct { Event *IdentityBalancesToppedUp // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IdentityBalancesToppedUpIterator is returned from FilterToppedUp and is used to iterate over the raw logs and unpacked data for ToppedUp events raised by the IdentityBalances contract.
func (*IdentityBalancesToppedUpIterator) Close ¶
func (it *IdentityBalancesToppedUpIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IdentityBalancesToppedUpIterator) Error ¶
func (it *IdentityBalancesToppedUpIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IdentityBalancesToppedUpIterator) Next ¶
func (it *IdentityBalancesToppedUpIterator) 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 IdentityBalancesTransactor ¶
type IdentityBalancesTransactor struct {
// contains filtered or unexported fields
}
IdentityBalancesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIdentityBalancesTransactor ¶
func NewIdentityBalancesTransactor(address common.Address, transactor bind.ContractTransactor) (*IdentityBalancesTransactor, error)
NewIdentityBalancesTransactor creates a new write-only instance of IdentityBalances, bound to a specific deployed contract.
func (*IdentityBalancesTransactor) TopUp ¶
func (_IdentityBalances *IdentityBalancesTransactor) TopUp(opts *bind.TransactOpts, identity common.Address, amount *big.Int) (*types.Transaction, error)
TopUp is a paid mutator transaction binding the contract method 0xd6f7ddf9.
Solidity: function topUp(identity address, amount uint256) returns(bool)
func (*IdentityBalancesTransactor) Withdraw ¶
func (_IdentityBalances *IdentityBalancesTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x5ebfdfc6.
Solidity: function withdraw(amount uint256, v uint8, r bytes32, s bytes32) returns(bool)
type IdentityBalancesTransactorRaw ¶
type IdentityBalancesTransactorRaw struct {
Contract *IdentityBalancesTransactor // Generic write-only contract binding to access the raw methods on
}
IdentityBalancesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IdentityBalancesTransactorRaw) Transact ¶
func (_IdentityBalances *IdentityBalancesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IdentityBalancesTransactorRaw) Transfer ¶
func (_IdentityBalances *IdentityBalancesTransactorRaw) 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 IdentityBalancesTransactorSession ¶
type IdentityBalancesTransactorSession struct { Contract *IdentityBalancesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IdentityBalancesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IdentityBalancesTransactorSession) TopUp ¶
func (_IdentityBalances *IdentityBalancesTransactorSession) TopUp(identity common.Address, amount *big.Int) (*types.Transaction, error)
TopUp is a paid mutator transaction binding the contract method 0xd6f7ddf9.
Solidity: function topUp(identity address, amount uint256) returns(bool)
func (*IdentityBalancesTransactorSession) Withdraw ¶
func (_IdentityBalances *IdentityBalancesTransactorSession) Withdraw(amount *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x5ebfdfc6.
Solidity: function withdraw(amount uint256, v uint8, r bytes32, s bytes32) returns(bool)
type IdentityBalancesWithdrawn ¶
type IdentityBalancesWithdrawn struct { Identity common.Address Amount *big.Int TotalBalance *big.Int Raw types.Log // Blockchain specific contextual infos }
IdentityBalancesWithdrawn represents a Withdrawn event raised by the IdentityBalances contract.
type IdentityBalancesWithdrawnIterator ¶
type IdentityBalancesWithdrawnIterator struct { Event *IdentityBalancesWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IdentityBalancesWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the IdentityBalances contract.
func (*IdentityBalancesWithdrawnIterator) Close ¶
func (it *IdentityBalancesWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IdentityBalancesWithdrawnIterator) Error ¶
func (it *IdentityBalancesWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IdentityBalancesWithdrawnIterator) Next ¶
func (it *IdentityBalancesWithdrawnIterator) 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 Math ¶
type Math struct { MathCaller // Read-only binding to the contract MathTransactor // Write-only binding to the contract MathFilterer // Log filterer for contract events }
Math is an auto generated Go binding around an Ethereum contract.
func DeployMath ¶
func DeployMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Math, error)
DeployMath deploys a new Ethereum contract, binding an instance of Math to it.
type MathCaller ¶
type MathCaller struct {
// contains filtered or unexported fields
}
MathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMathCaller ¶
func NewMathCaller(address common.Address, caller bind.ContractCaller) (*MathCaller, error)
NewMathCaller creates a new read-only instance of Math, bound to a specific deployed contract.
type MathCallerRaw ¶
type MathCallerRaw struct {
Contract *MathCaller // Generic read-only contract binding to access the raw methods on
}
MathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MathCallerRaw) Call ¶
func (_Math *MathCallerRaw) 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 MathCallerSession ¶
type MathCallerSession struct { Contract *MathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type MathFilterer ¶
type MathFilterer struct {
// contains filtered or unexported fields
}
MathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMathFilterer ¶
func NewMathFilterer(address common.Address, filterer bind.ContractFilterer) (*MathFilterer, error)
NewMathFilterer creates a new log filterer instance of Math, bound to a specific deployed contract.
type MathRaw ¶
type MathRaw struct {
Contract *Math // Generic contract binding to access the raw methods on
}
MathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MathRaw) Call ¶
func (_Math *MathRaw) 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 (*MathRaw) Transact ¶
func (_Math *MathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MathRaw) Transfer ¶
func (_Math *MathRaw) 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 MathSession ¶
type MathSession struct { Contract *Math // 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 }
MathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type MathTransactor ¶
type MathTransactor struct {
// contains filtered or unexported fields
}
MathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMathTransactor ¶
func NewMathTransactor(address common.Address, transactor bind.ContractTransactor) (*MathTransactor, error)
NewMathTransactor creates a new write-only instance of Math, bound to a specific deployed contract.
type MathTransactorRaw ¶
type MathTransactorRaw struct {
Contract *MathTransactor // Generic write-only contract binding to access the raw methods on
}
MathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MathTransactorRaw) Transact ¶
func (_Math *MathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MathTransactorRaw) Transfer ¶
func (_Math *MathTransactorRaw) 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 MathTransactorSession ¶
type MathTransactorSession struct { Contract *MathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type WithdrawRequest ¶
type WithdrawRequest struct { Amount *big.Int Signature *identity.DecomposedSignature }
func NewWithdrawRequest ¶
func NewWithdrawRequest(signer identity.Signer, amount int64) (*WithdrawRequest, error)