Documentation ¶
Index ¶
- Constants
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20AwareBalance
- type ERC20AwareBalanceCaller
- type ERC20AwareBalanceCallerRaw
- type ERC20AwareBalanceCallerSession
- type ERC20AwareBalanceFilterer
- type ERC20AwareBalanceRaw
- func (_ERC20AwareBalance *ERC20AwareBalanceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20AwareBalance *ERC20AwareBalanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20AwareBalance *ERC20AwareBalanceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20AwareBalanceSession
- type ERC20AwareBalanceTransactor
- type ERC20AwareBalanceTransactorRaw
- type ERC20AwareBalanceTransactorSession
- type ERC20AwareRegistry
- type ERC20AwareRegistryCaller
- type ERC20AwareRegistryCallerRaw
- type ERC20AwareRegistryCallerSession
- type ERC20AwareRegistryFilterer
- type ERC20AwareRegistryRaw
- func (_ERC20AwareRegistry *ERC20AwareRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20AwareRegistry *ERC20AwareRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20AwareRegistry *ERC20AwareRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20AwareRegistrySession
- type ERC20AwareRegistryTransactor
- type ERC20AwareRegistryTransactorRaw
- type ERC20AwareRegistryTransactorSession
- 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(owner common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, 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) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *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) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *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 IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(who common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- 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 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 WithdrawRequest
Constants ¶
const ERC20ABI = "" /* 2558-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20AwareBalanceABI = "" /* 326-byte string literal not displayed */
ERC20AwareBalanceABI is the input ABI used to generate the binding from.
const ERC20AwareBalanceBin = `` /* 592-byte string literal not displayed */
ERC20AwareBalanceBin is the compiled bytecode used for deploying new contracts.
const ERC20AwareRegistryABI = "" /* 326-byte string literal not displayed */
ERC20AwareRegistryABI is the input ABI used to generate the binding from.
const ERC20AwareRegistryBin = `` /* 592-byte string literal not displayed */
ERC20AwareRegistryBin is the compiled bytecode used for deploying new contracts.
const ERC20Bin = `` /* 3228-byte string literal not displayed */
ERC20Bin is the compiled bytecode used for deploying new contracts.
const IERC20ABI = "" /* 1993-byte string literal not displayed */
IERC20ABI is the input ABI used to generate the binding from.
const IERC20Bin = `0x`
IERC20Bin 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 = `` /* 2878-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.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin 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 ERC20AwareBalance ¶
type ERC20AwareBalance struct { ERC20AwareBalanceCaller // Read-only binding to the contract ERC20AwareBalanceTransactor // Write-only binding to the contract ERC20AwareBalanceFilterer // Log filterer for contract events }
ERC20AwareBalance is an auto generated Go binding around an Ethereum contract.
func DeployERC20AwareBalance ¶
func DeployERC20AwareBalance(auth *bind.TransactOpts, backend bind.ContractBackend, erc20tokenAddress common.Address) (common.Address, *types.Transaction, *ERC20AwareBalance, error)
DeployERC20AwareBalance deploys a new Ethereum contract, binding an instance of ERC20AwareBalance to it.
func NewERC20AwareBalance ¶
func NewERC20AwareBalance(address common.Address, backend bind.ContractBackend) (*ERC20AwareBalance, error)
NewERC20AwareBalance creates a new instance of ERC20AwareBalance, bound to a specific deployed contract.
type ERC20AwareBalanceCaller ¶
type ERC20AwareBalanceCaller struct {
// contains filtered or unexported fields
}
ERC20AwareBalanceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20AwareBalanceCaller ¶
func NewERC20AwareBalanceCaller(address common.Address, caller bind.ContractCaller) (*ERC20AwareBalanceCaller, error)
NewERC20AwareBalanceCaller creates a new read-only instance of ERC20AwareBalance, bound to a specific deployed contract.
func (*ERC20AwareBalanceCaller) ERC20Token ¶
func (_ERC20AwareBalance *ERC20AwareBalanceCaller) 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 ERC20AwareBalanceCallerRaw ¶
type ERC20AwareBalanceCallerRaw struct {
Contract *ERC20AwareBalanceCaller // Generic read-only contract binding to access the raw methods on
}
ERC20AwareBalanceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20AwareBalanceCallerRaw) Call ¶
func (_ERC20AwareBalance *ERC20AwareBalanceCallerRaw) 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 ERC20AwareBalanceCallerSession ¶
type ERC20AwareBalanceCallerSession struct { Contract *ERC20AwareBalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20AwareBalanceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20AwareBalanceCallerSession) ERC20Token ¶
func (_ERC20AwareBalance *ERC20AwareBalanceCallerSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareBalanceFilterer ¶
type ERC20AwareBalanceFilterer struct {
// contains filtered or unexported fields
}
ERC20AwareBalanceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20AwareBalanceFilterer ¶
func NewERC20AwareBalanceFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20AwareBalanceFilterer, error)
NewERC20AwareBalanceFilterer creates a new log filterer instance of ERC20AwareBalance, bound to a specific deployed contract.
type ERC20AwareBalanceRaw ¶
type ERC20AwareBalanceRaw struct {
Contract *ERC20AwareBalance // Generic contract binding to access the raw methods on
}
ERC20AwareBalanceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20AwareBalanceRaw) Call ¶
func (_ERC20AwareBalance *ERC20AwareBalanceRaw) 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 (*ERC20AwareBalanceRaw) Transact ¶
func (_ERC20AwareBalance *ERC20AwareBalanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20AwareBalanceRaw) Transfer ¶
func (_ERC20AwareBalance *ERC20AwareBalanceRaw) 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 ERC20AwareBalanceSession ¶
type ERC20AwareBalanceSession struct { Contract *ERC20AwareBalance // 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 }
ERC20AwareBalanceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20AwareBalanceSession) ERC20Token ¶
func (_ERC20AwareBalance *ERC20AwareBalanceSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareBalanceTransactor ¶
type ERC20AwareBalanceTransactor struct {
// contains filtered or unexported fields
}
ERC20AwareBalanceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20AwareBalanceTransactor ¶
func NewERC20AwareBalanceTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20AwareBalanceTransactor, error)
NewERC20AwareBalanceTransactor creates a new write-only instance of ERC20AwareBalance, bound to a specific deployed contract.
type ERC20AwareBalanceTransactorRaw ¶
type ERC20AwareBalanceTransactorRaw struct {
Contract *ERC20AwareBalanceTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20AwareBalanceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20AwareBalanceTransactorRaw) Transact ¶
func (_ERC20AwareBalance *ERC20AwareBalanceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20AwareBalanceTransactorRaw) Transfer ¶
func (_ERC20AwareBalance *ERC20AwareBalanceTransactorRaw) 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 ERC20AwareBalanceTransactorSession ¶
type ERC20AwareBalanceTransactorSession struct { Contract *ERC20AwareBalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20AwareBalanceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ERC20AwareRegistry ¶
type ERC20AwareRegistry struct { ERC20AwareRegistryCaller // Read-only binding to the contract ERC20AwareRegistryTransactor // Write-only binding to the contract ERC20AwareRegistryFilterer // Log filterer for contract events }
ERC20AwareRegistry is an auto generated Go binding around an Ethereum contract.
func DeployERC20AwareRegistry ¶
func DeployERC20AwareRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, erc20tokenAddress common.Address) (common.Address, *types.Transaction, *ERC20AwareRegistry, error)
DeployERC20AwareRegistry deploys a new Ethereum contract, binding an instance of ERC20AwareRegistry to it.
func NewERC20AwareRegistry ¶
func NewERC20AwareRegistry(address common.Address, backend bind.ContractBackend) (*ERC20AwareRegistry, error)
NewERC20AwareRegistry creates a new instance of ERC20AwareRegistry, bound to a specific deployed contract.
type ERC20AwareRegistryCaller ¶
type ERC20AwareRegistryCaller struct {
// contains filtered or unexported fields
}
ERC20AwareRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20AwareRegistryCaller ¶
func NewERC20AwareRegistryCaller(address common.Address, caller bind.ContractCaller) (*ERC20AwareRegistryCaller, error)
NewERC20AwareRegistryCaller creates a new read-only instance of ERC20AwareRegistry, bound to a specific deployed contract.
func (*ERC20AwareRegistryCaller) ERC20Token ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryCaller) 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 ERC20AwareRegistryCallerRaw ¶
type ERC20AwareRegistryCallerRaw struct {
Contract *ERC20AwareRegistryCaller // Generic read-only contract binding to access the raw methods on
}
ERC20AwareRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20AwareRegistryCallerRaw) Call ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryCallerRaw) 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 ERC20AwareRegistryCallerSession ¶
type ERC20AwareRegistryCallerSession struct { Contract *ERC20AwareRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20AwareRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20AwareRegistryCallerSession) ERC20Token ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryCallerSession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareRegistryFilterer ¶
type ERC20AwareRegistryFilterer struct {
// contains filtered or unexported fields
}
ERC20AwareRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20AwareRegistryFilterer ¶
func NewERC20AwareRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20AwareRegistryFilterer, error)
NewERC20AwareRegistryFilterer creates a new log filterer instance of ERC20AwareRegistry, bound to a specific deployed contract.
type ERC20AwareRegistryRaw ¶
type ERC20AwareRegistryRaw struct {
Contract *ERC20AwareRegistry // Generic contract binding to access the raw methods on
}
ERC20AwareRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20AwareRegistryRaw) Call ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryRaw) 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 (*ERC20AwareRegistryRaw) Transact ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20AwareRegistryRaw) Transfer ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryRaw) 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 ERC20AwareRegistrySession ¶
type ERC20AwareRegistrySession struct { Contract *ERC20AwareRegistry // 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 }
ERC20AwareRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20AwareRegistrySession) ERC20Token ¶
func (_ERC20AwareRegistry *ERC20AwareRegistrySession) ERC20Token() (common.Address, error)
ERC20Token is a free data retrieval call binding the contract method 0x7a80760e.
Solidity: function ERC20Token() constant returns(address)
type ERC20AwareRegistryTransactor ¶
type ERC20AwareRegistryTransactor struct {
// contains filtered or unexported fields
}
ERC20AwareRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20AwareRegistryTransactor ¶
func NewERC20AwareRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20AwareRegistryTransactor, error)
NewERC20AwareRegistryTransactor creates a new write-only instance of ERC20AwareRegistry, bound to a specific deployed contract.
type ERC20AwareRegistryTransactorRaw ¶
type ERC20AwareRegistryTransactorRaw struct {
Contract *ERC20AwareRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20AwareRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20AwareRegistryTransactorRaw) Transact ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20AwareRegistryTransactorRaw) Transfer ¶
func (_ERC20AwareRegistry *ERC20AwareRegistryTransactorRaw) 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 ERC20AwareRegistryTransactorSession ¶
type ERC20AwareRegistryTransactorSession struct { Contract *ERC20AwareRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20AwareRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
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 owner) 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 owner) 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) 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 owner) constant returns(uint256)
func (*ERC20Session) DecreaseAllowance ¶
func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20Session) IncreaseAllowance ¶
func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
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) DecreaseAllowance ¶
func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20Transactor) IncreaseAllowance ¶
func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) 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) DecreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20TransactorSession) IncreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) 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 IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
func DeployIERC20 ¶
func DeployIERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *IERC20, error)
DeployIERC20 deploys a new Ethereum contract, binding an instance of IERC20 to it.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) 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 IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) constant returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) 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 (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) constant returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, 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 (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, 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 (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, 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 (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, 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 IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) constant returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) 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 IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) 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 (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) 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 (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) 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 IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) 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 (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) 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 (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) 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 IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) 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: event ToppedUp(address indexed identity, uint256 amount, uint256 totalBalance)
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: event Withdrawn(address indexed identity, uint256 amount, uint256 totalBalance)
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: event ToppedUp(address indexed identity, uint256 amount, uint256 totalBalance)
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: event Withdrawn(address indexed identity, uint256 amount, uint256 totalBalance)
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(address identity, uint256 amount) 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(uint256 amount, uint8 v, bytes32 r, bytes32 s) 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(address identity, uint256 amount) 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(uint256 amount, uint8 v, bytes32 r, bytes32 s) 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(address identity, uint256 amount) 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(uint256 amount, uint8 v, bytes32 r, bytes32 s) 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 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 WithdrawRequest ¶
type WithdrawRequest struct { Amount *big.Int Signature *identity.DecomposedSignature }
func NewWithdrawRequest ¶
func NewWithdrawRequest(signer identity.Signer, amount int64) (*WithdrawRequest, error)