Documentation ¶
Index ¶
- Constants
- Variables
- type BasicToken
- type BasicTokenCaller
- type BasicTokenCallerRaw
- type BasicTokenCallerSession
- type BasicTokenFilterer
- func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
- func (_BasicToken *BasicTokenFilterer) ParseTransfer(log types.Log) (*BasicTokenTransfer, error)
- func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type BasicTokenRaw
- func (_BasicToken *BasicTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BasicToken *BasicTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BasicTokenSession
- type BasicTokenTransactor
- type BasicTokenTransactorRaw
- type BasicTokenTransactorSession
- type BasicTokenTransfer
- type BasicTokenTransferIterator
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Basic
- type ERC20BasicCaller
- type ERC20BasicCallerRaw
- type ERC20BasicCallerSession
- type ERC20BasicFilterer
- func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
- func (_ERC20Basic *ERC20BasicFilterer) ParseTransfer(log types.Log) (*ERC20BasicTransfer, error)
- func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20BasicRaw
- func (_ERC20Basic *ERC20BasicRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Basic *ERC20BasicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BasicSession
- type ERC20BasicTransactor
- type ERC20BasicTransactorRaw
- type ERC20BasicTransactorSession
- type ERC20BasicTransfer
- type ERC20BasicTransferIterator
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) 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 MintableToken
- type MintableTokenApproval
- type MintableTokenApprovalIterator
- type MintableTokenCaller
- func (_MintableToken *MintableTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MintableToken *MintableTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_MintableToken *MintableTokenCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_MintableToken *MintableTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_MintableToken *MintableTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MintableToken *MintableTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MintableTokenCallerRaw
- type MintableTokenCallerSession
- func (_MintableToken *MintableTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MintableToken *MintableTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_MintableToken *MintableTokenCallerSession) GetOwner() (common.Address, error)
- func (_MintableToken *MintableTokenCallerSession) MintingFinished() (bool, error)
- func (_MintableToken *MintableTokenCallerSession) Owner() (common.Address, error)
- func (_MintableToken *MintableTokenCallerSession) TotalSupply() (*big.Int, error)
- type MintableTokenFilterer
- func (_MintableToken *MintableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MintableTokenApprovalIterator, error)
- func (_MintableToken *MintableTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MintableTokenMintIterator, error)
- func (_MintableToken *MintableTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*MintableTokenMintFinishedIterator, error)
- func (_MintableToken *MintableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MintableTokenOwnershipTransferredIterator, error)
- func (_MintableToken *MintableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MintableTokenTransferIterator, error)
- func (_MintableToken *MintableTokenFilterer) ParseApproval(log types.Log) (*MintableTokenApproval, error)
- func (_MintableToken *MintableTokenFilterer) ParseMint(log types.Log) (*MintableTokenMint, error)
- func (_MintableToken *MintableTokenFilterer) ParseMintFinished(log types.Log) (*MintableTokenMintFinished, error)
- func (_MintableToken *MintableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*MintableTokenOwnershipTransferred, error)
- func (_MintableToken *MintableTokenFilterer) ParseTransfer(log types.Log) (*MintableTokenTransfer, error)
- func (_MintableToken *MintableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MintableTokenApproval, ...) (event.Subscription, error)
- func (_MintableToken *MintableTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MintableTokenMint, to []common.Address) (event.Subscription, error)
- func (_MintableToken *MintableTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *MintableTokenMintFinished) (event.Subscription, error)
- func (_MintableToken *MintableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MintableTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_MintableToken *MintableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MintableTokenTransfer, ...) (event.Subscription, error)
- type MintableTokenMint
- type MintableTokenMintFinished
- type MintableTokenMintFinishedIterator
- type MintableTokenMintIterator
- type MintableTokenOwnershipTransferred
- type MintableTokenOwnershipTransferredIterator
- type MintableTokenRaw
- func (_MintableToken *MintableTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MintableToken *MintableTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MintableToken *MintableTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MintableTokenSession
- func (_MintableToken *MintableTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_MintableToken *MintableTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_MintableToken *MintableTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) FinishMinting() (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) GetOwner() (common.Address, error)
- func (_MintableToken *MintableTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) MintingFinished() (bool, error)
- func (_MintableToken *MintableTokenSession) Owner() (common.Address, error)
- func (_MintableToken *MintableTokenSession) TotalSupply() (*big.Int, error)
- func (_MintableToken *MintableTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type MintableTokenTransactor
- func (_MintableToken *MintableTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type MintableTokenTransactorRaw
- type MintableTokenTransactorSession
- func (_MintableToken *MintableTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_MintableToken *MintableTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type MintableTokenTransfer
- type MintableTokenTransferIterator
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathM
- type SafeMathMCaller
- type SafeMathMCallerRaw
- type SafeMathMCallerSession
- type SafeMathMFilterer
- type SafeMathMRaw
- func (_SafeMathM *SafeMathMRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMathM *SafeMathMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMathM *SafeMathMRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathMSession
- type SafeMathMTransactor
- type SafeMathMTransactorRaw
- type SafeMathMTransactorSession
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type StandardToken
- type StandardTokenApproval
- type StandardTokenApprovalIterator
- type StandardTokenCaller
- func (_StandardToken *StandardTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type StandardTokenCallerRaw
- type StandardTokenCallerSession
- func (_StandardToken *StandardTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
- type StandardTokenFilterer
- func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
- func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
- func (_StandardToken *StandardTokenFilterer) ParseApproval(log types.Log) (*StandardTokenApproval, error)
- func (_StandardToken *StandardTokenFilterer) ParseTransfer(log types.Log) (*StandardTokenTransfer, error)
- func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, ...) (event.Subscription, error)
- func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, ...) (event.Subscription, error)
- type StandardTokenRaw
- func (_StandardToken *StandardTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StandardToken *StandardTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StandardTokenSession
- func (_StandardToken *StandardTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransactor
- func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type StandardTokenTransactorRaw
- type StandardTokenTransactorSession
- func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransfer
- type StandardTokenTransferIterator
- type Utilities
- type UtilitiesCaller
- type UtilitiesCallerRaw
- type UtilitiesCallerSession
- type UtilitiesFilterer
- type UtilitiesRaw
- func (_Utilities *UtilitiesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Utilities *UtilitiesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Utilities *UtilitiesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UtilitiesSession
- type UtilitiesTransactor
- type UtilitiesTransactorRaw
- type UtilitiesTransactorSession
- type Vault
- type VaultCaller
- func (_Vault *VaultCaller) HasAccess(opts *bind.CallOpts, user common.Address, miniVault common.Address) (bool, error)
- func (_Vault *VaultCaller) UserBalance(opts *bind.CallOpts, userAddress common.Address) (*big.Int, error)
- func (_Vault *VaultCaller) ZapToken(opts *bind.CallOpts) (common.Address, error)
- type VaultCallerRaw
- type VaultCallerSession
- type VaultFilterer
- type VaultRaw
- func (_Vault *VaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Vault *VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Vault *VaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VaultSession
- func (_Vault *VaultSession) Deposit(userAddress common.Address, value *big.Int) (*types.Transaction, error)
- func (_Vault *VaultSession) HasAccess(user common.Address, miniVault common.Address) (bool, error)
- func (_Vault *VaultSession) IncreaseApproval() (*types.Transaction, error)
- func (_Vault *VaultSession) LockSmith(miniVault common.Address, authorizedUser common.Address) (*types.Transaction, error)
- func (_Vault *VaultSession) UserBalance(userAddress common.Address) (*big.Int, error)
- func (_Vault *VaultSession) Withdraw(userAddress common.Address, value *big.Int) (*types.Transaction, error)
- func (_Vault *VaultSession) ZapToken() (common.Address, error)
- type VaultTransactor
- func (_Vault *VaultTransactor) Deposit(opts *bind.TransactOpts, userAddress common.Address, value *big.Int) (*types.Transaction, error)
- func (_Vault *VaultTransactor) IncreaseApproval(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Vault *VaultTransactor) LockSmith(opts *bind.TransactOpts, miniVault common.Address, ...) (*types.Transaction, error)
- func (_Vault *VaultTransactor) Withdraw(opts *bind.TransactOpts, userAddress common.Address, value *big.Int) (*types.Transaction, error)
- type VaultTransactorRaw
- type VaultTransactorSession
- func (_Vault *VaultTransactorSession) Deposit(userAddress common.Address, value *big.Int) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) IncreaseApproval() (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) LockSmith(miniVault common.Address, authorizedUser common.Address) (*types.Transaction, error)
- func (_Vault *VaultTransactorSession) Withdraw(userAddress common.Address, value *big.Int) (*types.Transaction, error)
- type Zap
- type ZapApproval
- type ZapApprovalIterator
- type ZapCaller
- func (_Zap *ZapCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_Zap *ZapCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Zap *ZapCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Zap *ZapCaller) Token(opts *bind.CallOpts) (common.Address, error)
- type ZapCallerRaw
- type ZapCallerSession
- type ZapDataRequested
- type ZapDataRequestedIterator
- type ZapDispute
- type ZapDisputeCaller
- type ZapDisputeCallerRaw
- type ZapDisputeCallerSession
- type ZapDisputeDisputeVoteTallied
- type ZapDisputeDisputeVoteTalliedIterator
- type ZapDisputeFilterer
- func (_ZapDispute *ZapDisputeFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*ZapDisputeDisputeVoteTalliedIterator, error)
- func (_ZapDispute *ZapDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*ZapDisputeNewDisputeIterator, error)
- func (_ZapDispute *ZapDisputeFilterer) FilterNewZapAddress(opts *bind.FilterOpts) (*ZapDisputeNewZapAddressIterator, error)
- func (_ZapDispute *ZapDisputeFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address) (*ZapDisputeVotedIterator, error)
- func (_ZapDispute *ZapDisputeFilterer) ParseDisputeVoteTallied(log types.Log) (*ZapDisputeDisputeVoteTallied, error)
- func (_ZapDispute *ZapDisputeFilterer) ParseNewDispute(log types.Log) (*ZapDisputeNewDispute, error)
- func (_ZapDispute *ZapDisputeFilterer) ParseNewZapAddress(log types.Log) (*ZapDisputeNewZapAddress, error)
- func (_ZapDispute *ZapDisputeFilterer) ParseVoted(log types.Log) (*ZapDisputeVoted, error)
- func (_ZapDispute *ZapDisputeFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *ZapDisputeDisputeVoteTallied, ...) (event.Subscription, error)
- func (_ZapDispute *ZapDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *ZapDisputeNewDispute, _disputeId []*big.Int, ...) (event.Subscription, error)
- func (_ZapDispute *ZapDisputeFilterer) WatchNewZapAddress(opts *bind.WatchOpts, sink chan<- *ZapDisputeNewZapAddress) (event.Subscription, error)
- func (_ZapDispute *ZapDisputeFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *ZapDisputeVoted, _disputeID []*big.Int, ...) (event.Subscription, error)
- type ZapDisputeNewDispute
- type ZapDisputeNewDisputeIterator
- type ZapDisputeNewZapAddress
- type ZapDisputeNewZapAddressIterator
- type ZapDisputeRaw
- func (_ZapDispute *ZapDisputeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapDispute *ZapDisputeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapDispute *ZapDisputeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapDisputeSession
- type ZapDisputeTransactor
- type ZapDisputeTransactorRaw
- type ZapDisputeTransactorSession
- type ZapDisputeVoted
- type ZapDisputeVotedIterator
- type ZapFilterer
- func (_Zap *ZapFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ZapApprovalIterator, error)
- func (_Zap *ZapFilterer) FilterDataRequested(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapDataRequestedIterator, error)
- func (_Zap *ZapFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentRequestId []*big.Int) (*ZapNewChallengeIterator, error)
- func (_Zap *ZapFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*ZapNewDisputeIterator, error)
- func (_Zap *ZapFilterer) FilterNewRequestOnDeck(opts *bind.FilterOpts, _requestId []*big.Int) (*ZapNewRequestOnDeckIterator, error)
- func (_Zap *ZapFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ZapOwnershipTransferredIterator, error)
- func (_Zap *ZapFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapTipAddedIterator, error)
- func (_Zap *ZapFilterer) ParseApproval(log types.Log) (*ZapApproval, error)
- func (_Zap *ZapFilterer) ParseDataRequested(log types.Log) (*ZapDataRequested, error)
- func (_Zap *ZapFilterer) ParseNewChallenge(log types.Log) (*ZapNewChallenge, error)
- func (_Zap *ZapFilterer) ParseNewDispute(log types.Log) (*ZapNewDispute, error)
- func (_Zap *ZapFilterer) ParseNewRequestOnDeck(log types.Log) (*ZapNewRequestOnDeck, error)
- func (_Zap *ZapFilterer) ParseOwnershipTransferred(log types.Log) (*ZapOwnershipTransferred, error)
- func (_Zap *ZapFilterer) ParseTipAdded(log types.Log) (*ZapTipAdded, error)
- func (_Zap *ZapFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZapApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_Zap *ZapFilterer) WatchDataRequested(opts *bind.WatchOpts, sink chan<- *ZapDataRequested, _sender []common.Address, ...) (event.Subscription, error)
- func (_Zap *ZapFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *ZapNewChallenge, ...) (event.Subscription, error)
- func (_Zap *ZapFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *ZapNewDispute, _disputeId []*big.Int, ...) (event.Subscription, error)
- func (_Zap *ZapFilterer) WatchNewRequestOnDeck(opts *bind.WatchOpts, sink chan<- *ZapNewRequestOnDeck, _requestId []*big.Int) (event.Subscription, error)
- func (_Zap *ZapFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZapOwnershipTransferred, ...) (event.Subscription, error)
- func (_Zap *ZapFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *ZapTipAdded, _sender []common.Address, ...) (event.Subscription, error)
- type ZapGetters
- type ZapGettersCaller
- func (_ZapGetters *ZapGettersCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
- func (_ZapGetters *ZapGettersCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
- func (_ZapGetters *ZapGettersCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
- func (_ZapGetters *ZapGettersCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ZapGetters *ZapGettersCaller) GetCurrentVariables(opts *bind.CallOpts) ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
- func (_ZapGetters *ZapGettersCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
- func (_ZapGetters *ZapGettersCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ZapGetters *ZapGettersCaller) GetName(opts *bind.CallOpts) (string, error)
- func (_ZapGetters *ZapGettersCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetRequestIdByQueryHash(opts *bind.CallOpts, _request [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetRequestQ(opts *bind.CallOpts) ([51]*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetSymbol(opts *bind.CallOpts) (string, error)
- func (_ZapGetters *ZapGettersCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) GetVariablesOnDeck(opts *bind.CallOpts) (*big.Int, *big.Int, string, error)
- func (_ZapGetters *ZapGettersCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ZapGetters *ZapGettersCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCaller) TotalTokenSupply(opts *bind.CallOpts) (*big.Int, error)
- type ZapGettersCallerRaw
- type ZapGettersCallerSession
- func (_ZapGetters *ZapGettersCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_ZapGetters *ZapGettersCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_ZapGetters *ZapGettersCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_ZapGetters *ZapGettersCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ZapGetters *ZapGettersCallerSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetLastNewValue() (*big.Int, bool, error)
- func (_ZapGetters *ZapGettersCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_ZapGetters *ZapGettersCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ZapGetters *ZapGettersCallerSession) GetName() (string, error)
- func (_ZapGetters *ZapGettersCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetRequestQ() ([51]*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetSymbol() (string, error)
- func (_ZapGetters *ZapGettersCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_ZapGetters *ZapGettersCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ZapGetters *ZapGettersCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersCallerSession) TotalTokenSupply() (*big.Int, error)
- type ZapGettersFilterer
- type ZapGettersLibrary
- type ZapGettersLibraryCaller
- type ZapGettersLibraryCallerRaw
- type ZapGettersLibraryCallerSession
- type ZapGettersLibraryFilterer
- func (_ZapGettersLibrary *ZapGettersLibraryFilterer) FilterNewZapAddress(opts *bind.FilterOpts) (*ZapGettersLibraryNewZapAddressIterator, error)
- func (_ZapGettersLibrary *ZapGettersLibraryFilterer) ParseNewZapAddress(log types.Log) (*ZapGettersLibraryNewZapAddress, error)
- func (_ZapGettersLibrary *ZapGettersLibraryFilterer) WatchNewZapAddress(opts *bind.WatchOpts, sink chan<- *ZapGettersLibraryNewZapAddress) (event.Subscription, error)
- type ZapGettersLibraryNewZapAddress
- type ZapGettersLibraryNewZapAddressIterator
- type ZapGettersLibraryRaw
- func (_ZapGettersLibrary *ZapGettersLibraryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapGettersLibrary *ZapGettersLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapGettersLibrary *ZapGettersLibraryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapGettersLibrarySession
- type ZapGettersLibraryTransactor
- type ZapGettersLibraryTransactorRaw
- type ZapGettersLibraryTransactorSession
- type ZapGettersRaw
- func (_ZapGetters *ZapGettersRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapGetters *ZapGettersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapGetters *ZapGettersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapGettersSession
- func (_ZapGetters *ZapGettersSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_ZapGetters *ZapGettersSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_ZapGetters *ZapGettersSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_ZapGetters *ZapGettersSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ZapGetters *ZapGettersSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetLastNewValue() (*big.Int, bool, error)
- func (_ZapGetters *ZapGettersSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_ZapGetters *ZapGettersSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ZapGetters *ZapGettersSession) GetName() (string, error)
- func (_ZapGetters *ZapGettersSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetRequestQ() ([51]*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetSymbol() (string, error)
- func (_ZapGetters *ZapGettersSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_ZapGetters *ZapGettersSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ZapGetters *ZapGettersSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapGetters *ZapGettersSession) TotalTokenSupply() (*big.Int, error)
- type ZapGettersTransactor
- type ZapGettersTransactorRaw
- type ZapGettersTransactorSession
- type ZapLibrary
- type ZapLibraryCaller
- type ZapLibraryCallerRaw
- type ZapLibraryCallerSession
- type ZapLibraryDataRequested
- type ZapLibraryDataRequestedIterator
- type ZapLibraryFilterer
- func (_ZapLibrary *ZapLibraryFilterer) FilterDataRequested(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapLibraryDataRequestedIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentRequestId []*big.Int) (*ZapLibraryNewChallengeIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) FilterNewRequestOnDeck(opts *bind.FilterOpts, _requestId []*big.Int) (*ZapLibraryNewRequestOnDeckIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) FilterNewValue(opts *bind.FilterOpts, _requestId []*big.Int) (*ZapLibraryNewValueIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) FilterNonceSubmitted(opts *bind.FilterOpts, _miner []common.Address, _requestId []*big.Int) (*ZapLibraryNonceSubmittedIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _previousOwner []common.Address, ...) (*ZapLibraryOwnershipTransferredIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapLibraryTipAddedIterator, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseDataRequested(log types.Log) (*ZapLibraryDataRequested, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseNewChallenge(log types.Log) (*ZapLibraryNewChallenge, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseNewRequestOnDeck(log types.Log) (*ZapLibraryNewRequestOnDeck, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseNewValue(log types.Log) (*ZapLibraryNewValue, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseNonceSubmitted(log types.Log) (*ZapLibraryNonceSubmitted, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseOwnershipTransferred(log types.Log) (*ZapLibraryOwnershipTransferred, error)
- func (_ZapLibrary *ZapLibraryFilterer) ParseTipAdded(log types.Log) (*ZapLibraryTipAdded, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchDataRequested(opts *bind.WatchOpts, sink chan<- *ZapLibraryDataRequested, ...) (event.Subscription, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *ZapLibraryNewChallenge, ...) (event.Subscription, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchNewRequestOnDeck(opts *bind.WatchOpts, sink chan<- *ZapLibraryNewRequestOnDeck, ...) (event.Subscription, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchNewValue(opts *bind.WatchOpts, sink chan<- *ZapLibraryNewValue, _requestId []*big.Int) (event.Subscription, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchNonceSubmitted(opts *bind.WatchOpts, sink chan<- *ZapLibraryNonceSubmitted, ...) (event.Subscription, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZapLibraryOwnershipTransferred, ...) (event.Subscription, error)
- func (_ZapLibrary *ZapLibraryFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *ZapLibraryTipAdded, ...) (event.Subscription, error)
- type ZapLibraryNewChallenge
- type ZapLibraryNewChallengeIterator
- type ZapLibraryNewRequestOnDeck
- type ZapLibraryNewRequestOnDeckIterator
- type ZapLibraryNewValue
- type ZapLibraryNewValueIterator
- type ZapLibraryNonceSubmitted
- type ZapLibraryNonceSubmittedIterator
- type ZapLibraryOwnershipTransferred
- type ZapLibraryOwnershipTransferredIterator
- type ZapLibraryRaw
- func (_ZapLibrary *ZapLibraryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapLibrary *ZapLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapLibrary *ZapLibraryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapLibrarySession
- type ZapLibraryTipAdded
- type ZapLibraryTipAddedIterator
- type ZapLibraryTransactor
- type ZapLibraryTransactorRaw
- type ZapLibraryTransactorSession
- type ZapMaster
- type ZapMasterCaller
- func (_ZapMaster *ZapMasterCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
- func (_ZapMaster *ZapMasterCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
- func (_ZapMaster *ZapMasterCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
- func (_ZapMaster *ZapMasterCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ZapMaster *ZapMasterCaller) GetCurrentVariables(opts *bind.CallOpts) ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
- func (_ZapMaster *ZapMasterCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
- func (_ZapMaster *ZapMasterCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ZapMaster *ZapMasterCaller) GetName(opts *bind.CallOpts) (string, error)
- func (_ZapMaster *ZapMasterCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetRequestIdByQueryHash(opts *bind.CallOpts, _request [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetRequestQ(opts *bind.CallOpts) ([51]*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetSymbol(opts *bind.CallOpts) (string, error)
- func (_ZapMaster *ZapMasterCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) GetVariablesOnDeck(opts *bind.CallOpts) (*big.Int, *big.Int, string, error)
- func (_ZapMaster *ZapMasterCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ZapMaster *ZapMasterCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCaller) TotalTokenSupply(opts *bind.CallOpts) (*big.Int, error)
- type ZapMasterCallerRaw
- type ZapMasterCallerSession
- func (_ZapMaster *ZapMasterCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_ZapMaster *ZapMasterCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_ZapMaster *ZapMasterCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_ZapMaster *ZapMasterCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ZapMaster *ZapMasterCallerSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetLastNewValue() (*big.Int, bool, error)
- func (_ZapMaster *ZapMasterCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_ZapMaster *ZapMasterCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ZapMaster *ZapMasterCallerSession) GetName() (string, error)
- func (_ZapMaster *ZapMasterCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetRequestQ() ([51]*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetSymbol() (string, error)
- func (_ZapMaster *ZapMasterCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_ZapMaster *ZapMasterCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ZapMaster *ZapMasterCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterCallerSession) TotalTokenSupply() (*big.Int, error)
- type ZapMasterFilterer
- func (_ZapMaster *ZapMasterFilterer) FilterNewZapAddress(opts *bind.FilterOpts) (*ZapMasterNewZapAddressIterator, error)
- func (_ZapMaster *ZapMasterFilterer) ParseNewZapAddress(log types.Log) (*ZapMasterNewZapAddress, error)
- func (_ZapMaster *ZapMasterFilterer) WatchNewZapAddress(opts *bind.WatchOpts, sink chan<- *ZapMasterNewZapAddress) (event.Subscription, error)
- type ZapMasterNewZapAddress
- type ZapMasterNewZapAddressIterator
- type ZapMasterRaw
- func (_ZapMaster *ZapMasterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapMaster *ZapMasterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapMasterSession
- func (_ZapMaster *ZapMasterSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterSession) ChangeVaultContract(_vaultContract common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterSession) ChangeZapContract(_zapContract common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_ZapMaster *ZapMasterSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_ZapMaster *ZapMasterSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_ZapMaster *ZapMasterSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ZapMaster *ZapMasterSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetLastNewValue() (*big.Int, bool, error)
- func (_ZapMaster *ZapMasterSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_ZapMaster *ZapMasterSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ZapMaster *ZapMasterSession) GetName() (string, error)
- func (_ZapMaster *ZapMasterSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetRequestQ() ([51]*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetSymbol() (string, error)
- func (_ZapMaster *ZapMasterSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_ZapMaster *ZapMasterSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ZapMaster *ZapMasterSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ZapMaster *ZapMasterSession) TotalTokenSupply() (*big.Int, error)
- type ZapMasterTransactor
- func (_ZapMaster *ZapMasterTransactor) ChangeDeity(opts *bind.TransactOpts, _newDeity common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterTransactor) ChangeVaultContract(opts *bind.TransactOpts, _vaultContract common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterTransactor) ChangeZapContract(opts *bind.TransactOpts, _zapContract common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- type ZapMasterTransactorRaw
- type ZapMasterTransactorSession
- func (_ZapMaster *ZapMasterTransactorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterTransactorSession) ChangeVaultContract(_vaultContract common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterTransactorSession) ChangeZapContract(_zapContract common.Address) (*types.Transaction, error)
- func (_ZapMaster *ZapMasterTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- type ZapNewChallenge
- type ZapNewChallengeIterator
- type ZapNewDispute
- type ZapNewDisputeIterator
- type ZapNewRequestOnDeck
- type ZapNewRequestOnDeckIterator
- type ZapOwnershipTransferred
- type ZapOwnershipTransferredIterator
- type ZapRaw
- type ZapSession
- func (_Zap *ZapSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_Zap *ZapSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) DepositStake() (*types.Transaction, error)
- func (_Zap *ZapSession) GetNewCurrentVariables() (struct{ ... }, error)
- func (_Zap *ZapSession) IncreaseVaultApproval(vaultAddress common.Address) (*types.Transaction, error)
- func (_Zap *ZapSession) Owner() (common.Address, error)
- func (_Zap *ZapSession) ProposeFork(_propNewZapAddress common.Address) (*types.Transaction, error)
- func (_Zap *ZapSession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_Zap *ZapSession) SubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) Token() (common.Address, error)
- func (_Zap *ZapSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_Zap *ZapSession) WithdrawStake() (*types.Transaction, error)
- type ZapStake
- type ZapStakeCaller
- type ZapStakeCallerRaw
- type ZapStakeCallerSession
- type ZapStakeFilterer
- func (_ZapStake *ZapStakeFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*ZapStakeNewStakeIterator, error)
- func (_ZapStake *ZapStakeFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*ZapStakeStakeWithdrawRequestedIterator, error)
- func (_ZapStake *ZapStakeFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*ZapStakeStakeWithdrawnIterator, error)
- func (_ZapStake *ZapStakeFilterer) ParseNewStake(log types.Log) (*ZapStakeNewStake, error)
- func (_ZapStake *ZapStakeFilterer) ParseStakeWithdrawRequested(log types.Log) (*ZapStakeStakeWithdrawRequested, error)
- func (_ZapStake *ZapStakeFilterer) ParseStakeWithdrawn(log types.Log) (*ZapStakeStakeWithdrawn, error)
- func (_ZapStake *ZapStakeFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *ZapStakeNewStake, _sender []common.Address) (event.Subscription, error)
- func (_ZapStake *ZapStakeFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *ZapStakeStakeWithdrawRequested, ...) (event.Subscription, error)
- func (_ZapStake *ZapStakeFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *ZapStakeStakeWithdrawn, ...) (event.Subscription, error)
- type ZapStakeNewStake
- type ZapStakeNewStakeIterator
- type ZapStakeRaw
- func (_ZapStake *ZapStakeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapStake *ZapStakeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapStake *ZapStakeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapStakeSession
- type ZapStakeStakeWithdrawRequested
- type ZapStakeStakeWithdrawRequestedIterator
- type ZapStakeStakeWithdrawn
- type ZapStakeStakeWithdrawnIterator
- type ZapStakeTransactor
- type ZapStakeTransactorRaw
- type ZapStakeTransactorSession
- type ZapStorage
- type ZapStorageCaller
- type ZapStorageCallerRaw
- type ZapStorageCallerSession
- type ZapStorageFilterer
- type ZapStorageRaw
- func (_ZapStorage *ZapStorageRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapStorage *ZapStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapStorage *ZapStorageRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapStorageSession
- type ZapStorageTransactor
- type ZapStorageTransactorRaw
- type ZapStorageTransactorSession
- type ZapTipAdded
- type ZapTipAddedIterator
- type ZapTokenBSC
- type ZapTokenBSCApproval
- type ZapTokenBSCApprovalIterator
- type ZapTokenBSCCaller
- func (_ZapTokenBSC *ZapTokenBSCCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ZapTokenBSC *ZapTokenBSCCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ZapTokenBSCCallerRaw
- type ZapTokenBSCCallerSession
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) Decimals() (uint8, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) GetOwner() (common.Address, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) MintingFinished() (bool, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) Name() (string, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) Owner() (common.Address, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) Symbol() (string, error)
- func (_ZapTokenBSC *ZapTokenBSCCallerSession) TotalSupply() (*big.Int, error)
- type ZapTokenBSCFilterer
- func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ZapTokenBSCApprovalIterator, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*ZapTokenBSCMintIterator, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterMintFinished(opts *bind.FilterOpts) (*ZapTokenBSCMintFinishedIterator, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ZapTokenBSCOwnershipTransferredIterator, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ZapTokenBSCTransferIterator, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseApproval(log types.Log) (*ZapTokenBSCApproval, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseMint(log types.Log) (*ZapTokenBSCMint, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseMintFinished(log types.Log) (*ZapTokenBSCMintFinished, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseOwnershipTransferred(log types.Log) (*ZapTokenBSCOwnershipTransferred, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseTransfer(log types.Log) (*ZapTokenBSCTransfer, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCMint, to []common.Address) (event.Subscription, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCMintFinished) (event.Subscription, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCOwnershipTransferred, ...) (event.Subscription, error)
- func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCTransfer, from []common.Address, ...) (event.Subscription, error)
- type ZapTokenBSCMint
- type ZapTokenBSCMintFinished
- type ZapTokenBSCMintFinishedIterator
- type ZapTokenBSCMintIterator
- type ZapTokenBSCOwnershipTransferred
- type ZapTokenBSCOwnershipTransferredIterator
- type ZapTokenBSCRaw
- func (_ZapTokenBSC *ZapTokenBSCRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapTokenBSC *ZapTokenBSCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapTokenBSCSession
- func (_ZapTokenBSC *ZapTokenBSCSession) Allocate(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Decimals() (uint8, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) FinishMinting() (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) GetOwner() (common.Address, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) MintingFinished() (bool, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Name() (string, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Owner() (common.Address, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Symbol() (string, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) TotalSupply() (*big.Int, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ZapTokenBSCTransactor
- func (_ZapTokenBSC *ZapTokenBSCTransactor) Allocate(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ZapTokenBSCTransactorRaw
- type ZapTokenBSCTransactorSession
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) Allocate(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ZapTokenBSC *ZapTokenBSCTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ZapTokenBSCTransfer
- type ZapTokenBSCTransferIterator
- type ZapTransactor
- func (_Zap *ZapTransactor) AddTip(opts *bind.TransactOpts, _requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactor) BeginDispute(opts *bind.TransactOpts, _requestId *big.Int, _timestamp *big.Int, ...) (*types.Transaction, error)
- func (_Zap *ZapTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Zap *ZapTransactor) IncreaseVaultApproval(opts *bind.TransactOpts, vaultAddress common.Address) (*types.Transaction, error)
- func (_Zap *ZapTransactor) ProposeFork(opts *bind.TransactOpts, _propNewZapAddress common.Address) (*types.Transaction, error)
- func (_Zap *ZapTransactor) RequestData(opts *bind.TransactOpts, _c_sapi string, _c_symbol string, ...) (*types.Transaction, error)
- func (_Zap *ZapTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Zap *ZapTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactor) TallyVotes(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_Zap *ZapTransactor) Vote(opts *bind.TransactOpts, _disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_Zap *ZapTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapTransactorRaw
- type ZapTransactorSession
- func (_Zap *ZapTransactorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) DepositStake() (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) IncreaseVaultApproval(vaultAddress common.Address) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) ProposeFork(_propNewZapAddress common.Address) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) SubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_Zap *ZapTransactorSession) WithdrawStake() (*types.Transaction, error)
- type ZapTransfer
- type ZapTransferApproval
- type ZapTransferApprovalIterator
- type ZapTransferCaller
- type ZapTransferCallerRaw
- type ZapTransferCallerSession
- type ZapTransferFilterer
- func (_ZapTransfer *ZapTransferFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ZapTransferApprovalIterator, error)
- func (_ZapTransfer *ZapTransferFilterer) ParseApproval(log types.Log) (*ZapTransferApproval, error)
- func (_ZapTransfer *ZapTransferFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZapTransferApproval, ...) (event.Subscription, error)
- type ZapTransferRaw
- func (_ZapTransfer *ZapTransferRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZapTransfer *ZapTransferRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZapTransfer *ZapTransferRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZapTransferSession
- type ZapTransferTransactor
- type ZapTransferTransactorRaw
- type ZapTransferTransactorSession
Constants ¶
const BasicTokenABI = "" /* 1176-byte string literal not displayed */
BasicTokenABI is the input ABI used to generate the binding from.
const ERC20ABI = "" /* 2622-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20BasicABI = "" /* 1164-byte string literal not displayed */
ERC20BasicABI is the input ABI used to generate the binding from.
const MintableTokenABI = "" /* 5410-byte string literal not displayed */
MintableTokenABI is the input ABI used to generate the binding from.
const OwnableABI = "" /* 1020-byte string literal not displayed */
OwnableABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathMABI = "[]"
SafeMathMABI is the input ABI used to generate the binding from.
const StandardTokenABI = "" /* 3397-byte string literal not displayed */
StandardTokenABI is the input ABI used to generate the binding from.
const UtilitiesABI = "[]"
UtilitiesABI is the input ABI used to generate the binding from.
const VaultABI = "" /* 2180-byte string literal not displayed */
VaultABI is the input ABI used to generate the binding from.
const ZapABI = "" /* 8717-byte string literal not displayed */
ZapABI is the input ABI used to generate the binding from.
const ZapDisputeABI = "" /* 1512-byte string literal not displayed */
ZapDisputeABI is the input ABI used to generate the binding from.
const ZapGettersABI = "" /* 10570-byte string literal not displayed */
ZapGettersABI is the input ABI used to generate the binding from.
const ZapGettersLibraryABI = "" /* 173-byte string literal not displayed */
ZapGettersLibraryABI is the input ABI used to generate the binding from.
const ZapLibraryABI = "" /* 3559-byte string literal not displayed */
ZapLibraryABI is the input ABI used to generate the binding from.
const ZapMasterABI = "" /* 11588-byte string literal not displayed */
ZapMasterABI is the input ABI used to generate the binding from.
const ZapStakeABI = "" /* 519-byte string literal not displayed */
ZapStakeABI is the input ABI used to generate the binding from.
const ZapStorageABI = "[]"
ZapStorageABI is the input ABI used to generate the binding from.
const ZapTokenBSCABI = "" /* 6391-byte string literal not displayed */
ZapTokenBSCABI is the input ABI used to generate the binding from.
const ZapTransferABI = "" /* 347-byte string literal not displayed */
ZapTransferABI is the input ABI used to generate the binding from.
Variables ¶
var BasicTokenBin = "" /* 1138-byte string literal not displayed */
BasicTokenBin is the compiled bytecode used for deploying new contracts.
var BasicTokenFuncSigs = map[string]string{
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
}
BasicTokenFuncSigs maps the 4-byte function signature to its string representation.
var ERC20BasicFuncSigs = map[string]string{
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
}
ERC20BasicFuncSigs maps the 4-byte function signature to its string representation.
var ERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20FuncSigs maps the 4-byte function signature to its string representation.
var MintableTokenBin = "" /* 4964-byte string literal not displayed */
MintableTokenBin is the compiled bytecode used for deploying new contracts.
var MintableTokenFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"66188463": "decreaseApproval(address,uint256)",
"7d64bcb4": "finishMinting()",
"893d20e8": "getOwner()",
"d73dd623": "increaseApproval(address,uint256)",
"40c10f19": "mint(address,uint256)",
"05d2035b": "mintingFinished()",
"8da5cb5b": "owner()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
"f2fde38b": "transferOwnership(address)",
}
MintableTokenFuncSigs maps the 4-byte function signature to its string representation.
var OwnableBin = "" /* 842-byte string literal not displayed */
OwnableBin is the compiled bytecode used for deploying new contracts.
var OwnableFuncSigs = map[string]string{
"893d20e8": "getOwner()",
"8da5cb5b": "owner()",
"f2fde38b": "transferOwnership(address)",
}
OwnableFuncSigs maps the 4-byte function signature to its string representation.
var SafeMathBin = "" /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var SafeMathMBin = "" /* 242-byte string literal not displayed */
SafeMathMBin is the compiled bytecode used for deploying new contracts.
var StandardTokenBin = "" /* 3392-byte string literal not displayed */
StandardTokenBin is the compiled bytecode used for deploying new contracts.
var StandardTokenFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"66188463": "decreaseApproval(address,uint256)",
"d73dd623": "increaseApproval(address,uint256)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
StandardTokenFuncSigs maps the 4-byte function signature to its string representation.
var UtilitiesBin = "" /* 242-byte string literal not displayed */
UtilitiesBin is the compiled bytecode used for deploying new contracts.
var VaultBin = "" /* 5148-byte string literal not displayed */
VaultBin is the compiled bytecode used for deploying new contracts.
var VaultFuncSigs = map[string]string{
"47e7ef24": "deposit(address,uint256)",
"1709ef07": "hasAccess(address,address)",
"cd8f942c": "increaseApproval()",
"7a47328b": "lockSmith(address,address)",
"0103c92b": "userBalance(address)",
"f3fef3a3": "withdraw(address,uint256)",
"2b56eb56": "zapToken()",
}
VaultFuncSigs maps the 4-byte function signature to its string representation.
var ZapBin = "" /* 20352-byte string literal not displayed */
ZapBin is the compiled bytecode used for deploying new contracts.
var ZapDisputeBin = "" /* 6424-byte string literal not displayed */
ZapDisputeBin is the compiled bytecode used for deploying new contracts.
var ZapDisputeFuncSigs = map[string]string{
"804b8931": "proposeFork(ZapStorage.ZapStorageStruct storage,address)",
"3cedafe5": "tallyVotes(ZapStorage.ZapStorageStruct storage,uint256)",
"9264b888": "updateDisputeFee(ZapStorage.ZapStorageStruct storage)",
"f9f6af17": "vote(ZapStorage.ZapStorageStruct storage,uint256,bool,uint256)",
}
ZapDisputeFuncSigs maps the 4-byte function signature to its string representation.
var ZapFuncSigs = map[string]string{
"752d49a1": "addTip(uint256,uint256)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"8581af19": "beginDispute(uint256,uint256,uint256)",
"0d2d76a2": "depositStake()",
"4049f198": "getNewCurrentVariables()",
"7cf26110": "increaseVaultApproval(address)",
"8da5cb5b": "owner()",
"26b7d9f6": "proposeFork(address)",
"3fff2816": "requestData(string,string,uint256,uint256)",
"28449c3a": "requestStakingWithdraw()",
"68c180d5": "submitMiningSolution(string,uint256,uint256)",
"4d318b0e": "tallyVotes(uint256)",
"fc0c546a": "token()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
"c9d27afe": "vote(uint256,bool)",
"bed9d861": "withdrawStake()",
}
ZapFuncSigs maps the 4-byte function signature to its string representation.
var ZapGettersBin = "" /* 12872-byte string literal not displayed */
ZapGettersBin is the compiled bytecode used for deploying new contracts.
var ZapGettersFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"70a08231": "balanceOf(address)",
"63bb82ad": "didMine(bytes32,address)",
"a7c438bc": "didVote(uint256,address)",
"133bee5e": "getAddressVars(bytes32)",
"af0b1327": "getAllDisputeVars(uint256)",
"a22e407a": "getCurrentVariables()",
"da379941": "getDisputeIdByDisputeHash(bytes32)",
"7f6fd5d9": "getDisputeUintVars(uint256,bytes32)",
"fc7cf0a0": "getLastNewValue()",
"3180f8df": "getLastNewValueById(uint256)",
"c775b542": "getMinedBlockNum(uint256,uint256)",
"69026d63": "getMinersByRequestIdAndTimestamp(uint256,uint256)",
"17d7de7c": "getName()",
"46eee1c4": "getNewValueCountbyRequestId(uint256)",
"1db842f0": "getRequestIdByQueryHash(bytes32)",
"6173c0b8": "getRequestIdByRequestQIndex(uint256)",
"0f0b424d": "getRequestIdByTimestamp(uint256)",
"b5413029": "getRequestQ()",
"e0ae93c1": "getRequestUintVars(uint256,bytes32)",
"e1eee6d6": "getRequestVars(uint256)",
"733bdef0": "getStakerInfo(address)",
"11c98512": "getSubmissionsByTimestamp(uint256,uint256)",
"15070401": "getSymbol()",
"77fbb663": "getTimestampbyRequestIDandIndex(uint256,uint256)",
"612c8f7f": "getUintVar(bytes32)",
"19e8e03b": "getVariablesOnDeck()",
"3df0777b": "isInDispute(uint256,uint256)",
"93fa4915": "retrieveData(uint256,uint256)",
"1ca8b6cb": "totalTokenSupply()",
}
ZapGettersFuncSigs maps the 4-byte function signature to its string representation.
var ZapGettersLibraryBin = "" /* 242-byte string literal not displayed */
ZapGettersLibraryBin is the compiled bytecode used for deploying new contracts.
var ZapLibraryBin = "" /* 12116-byte string literal not displayed */
ZapLibraryBin is the compiled bytecode used for deploying new contracts.
var ZapLibraryFuncSigs = map[string]string{
"d723552b": "submitMiningSolution(ZapStorage.ZapStorageStruct storage,string,uint256,uint256)",
}
ZapLibraryFuncSigs maps the 4-byte function signature to its string representation.
var ZapMasterBin = "" /* 16078-byte string literal not displayed */
ZapMasterBin is the compiled bytecode used for deploying new contracts.
var ZapMasterFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"70a08231": "balanceOf(address)",
"47abd7f1": "changeDeity(address)",
"af2a5102": "changeVaultContract(address)",
"e4203f66": "changeZapContract(address)",
"63bb82ad": "didMine(bytes32,address)",
"a7c438bc": "didVote(uint256,address)",
"133bee5e": "getAddressVars(bytes32)",
"af0b1327": "getAllDisputeVars(uint256)",
"a22e407a": "getCurrentVariables()",
"da379941": "getDisputeIdByDisputeHash(bytes32)",
"7f6fd5d9": "getDisputeUintVars(uint256,bytes32)",
"fc7cf0a0": "getLastNewValue()",
"3180f8df": "getLastNewValueById(uint256)",
"c775b542": "getMinedBlockNum(uint256,uint256)",
"69026d63": "getMinersByRequestIdAndTimestamp(uint256,uint256)",
"17d7de7c": "getName()",
"46eee1c4": "getNewValueCountbyRequestId(uint256)",
"1db842f0": "getRequestIdByQueryHash(bytes32)",
"6173c0b8": "getRequestIdByRequestQIndex(uint256)",
"0f0b424d": "getRequestIdByTimestamp(uint256)",
"b5413029": "getRequestQ()",
"e0ae93c1": "getRequestUintVars(uint256,bytes32)",
"e1eee6d6": "getRequestVars(uint256)",
"733bdef0": "getStakerInfo(address)",
"11c98512": "getSubmissionsByTimestamp(uint256,uint256)",
"15070401": "getSymbol()",
"77fbb663": "getTimestampbyRequestIDandIndex(uint256,uint256)",
"612c8f7f": "getUintVar(bytes32)",
"19e8e03b": "getVariablesOnDeck()",
"3df0777b": "isInDispute(uint256,uint256)",
"93fa4915": "retrieveData(uint256,uint256)",
"1ca8b6cb": "totalTokenSupply()",
}
ZapMasterFuncSigs maps the 4-byte function signature to its string representation.
var ZapStakeBin = "" /* 2852-byte string literal not displayed */
ZapStakeBin is the compiled bytecode used for deploying new contracts.
var ZapStakeFuncSigs = map[string]string{
"326991a3": "depositStake(ZapStorage.ZapStorageStruct storage)",
"47b024eb": "init(ZapStorage.ZapStorageStruct storage)",
"3c734827": "requestStakingWithdraw(ZapStorage.ZapStorageStruct storage)",
"78bfa277": "withdrawStake(ZapStorage.ZapStorageStruct storage)",
}
ZapStakeFuncSigs maps the 4-byte function signature to its string representation.
var ZapStorageBin = "" /* 242-byte string literal not displayed */
ZapStorageBin is the compiled bytecode used for deploying new contracts.
var ZapTokenBSCBin = "" /* 6690-byte string literal not displayed */
ZapTokenBSCBin is the compiled bytecode used for deploying new contracts.
var ZapTokenBSCFuncSigs = map[string]string{
"b78b52df": "allocate(address,uint256)",
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"313ce567": "decimals()",
"66188463": "decreaseApproval(address,uint256)",
"7d64bcb4": "finishMinting()",
"893d20e8": "getOwner()",
"d73dd623": "increaseApproval(address,uint256)",
"40c10f19": "mint(address,uint256)",
"05d2035b": "mintingFinished()",
"06fdde03": "name()",
"8da5cb5b": "owner()",
"95d89b41": "symbol()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
"f2fde38b": "transferOwnership(address)",
}
ZapTokenBSCFuncSigs maps the 4-byte function signature to its string representation.
var ZapTransferBin = "" /* 3348-byte string literal not displayed */
ZapTransferBin is the compiled bytecode used for deploying new contracts.
var ZapTransferFuncSigs = map[string]string{
"fade3342": "allowance(ZapStorage.ZapStorageStruct storage,address,address)",
"b9290ca5": "allowedToTrade(ZapStorage.ZapStorageStruct storage,address,uint256)",
"c6f7efe0": "balanceOfAt(ZapStorage.ZapStorageStruct storage,address,uint256)",
"a93a4d03": "doTransfer(ZapStorage.ZapStorageStruct storage,address,address,uint256)",
"82c1fecb": "getBalanceAt(ZapStorage.Checkpoint[] storage,uint256)",
"2dfd8908": "updateBalanceAtNow(ZapStorage.Checkpoint[] storage,uint256)",
}
ZapTransferFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type BasicToken ¶
type BasicToken struct { BasicTokenCaller // Read-only binding to the contract BasicTokenTransactor // Write-only binding to the contract BasicTokenFilterer // Log filterer for contract events }
BasicToken is an auto generated Go binding around an Ethereum contract.
func DeployBasicToken ¶
func DeployBasicToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BasicToken, error)
DeployBasicToken deploys a new Ethereum contract, binding an instance of BasicToken to it.
func NewBasicToken ¶
func NewBasicToken(address common.Address, backend bind.ContractBackend) (*BasicToken, error)
NewBasicToken creates a new instance of BasicToken, bound to a specific deployed contract.
type BasicTokenCaller ¶
type BasicTokenCaller struct {
// contains filtered or unexported fields
}
BasicTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBasicTokenCaller ¶
func NewBasicTokenCaller(address common.Address, caller bind.ContractCaller) (*BasicTokenCaller, error)
NewBasicTokenCaller creates a new read-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenCaller) BalanceOf ¶
func (_BasicToken *BasicTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*BasicTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BasicTokenCallerRaw ¶
type BasicTokenCallerRaw struct {
Contract *BasicTokenCaller // Generic read-only contract binding to access the raw methods on
}
BasicTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BasicTokenCallerRaw) Call ¶
func (_BasicToken *BasicTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type BasicTokenCallerSession ¶
type BasicTokenCallerSession struct { Contract *BasicTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BasicTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BasicTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*BasicTokenCallerSession) TotalSupply ¶
func (_BasicToken *BasicTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BasicTokenFilterer ¶
type BasicTokenFilterer struct {
// contains filtered or unexported fields
}
BasicTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBasicTokenFilterer ¶
func NewBasicTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BasicTokenFilterer, error)
NewBasicTokenFilterer creates a new log filterer instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenFilterer) FilterTransfer ¶
func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BasicTokenFilterer) ParseTransfer ¶
func (_BasicToken *BasicTokenFilterer) ParseTransfer(log types.Log) (*BasicTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BasicTokenFilterer) WatchTransfer ¶
func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type BasicTokenRaw ¶
type BasicTokenRaw struct {
Contract *BasicToken // Generic contract binding to access the raw methods on
}
BasicTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BasicTokenRaw) Call ¶
func (_BasicToken *BasicTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*BasicTokenRaw) Transact ¶
func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenRaw) Transfer ¶
func (_BasicToken *BasicTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BasicTokenSession ¶
type BasicTokenSession struct { Contract *BasicToken // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BasicTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BasicTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*BasicTokenSession) TotalSupply ¶
func (_BasicToken *BasicTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BasicTokenSession) Transfer ¶
func (_BasicToken *BasicTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type BasicTokenTransactor ¶
type BasicTokenTransactor struct {
// contains filtered or unexported fields
}
BasicTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBasicTokenTransactor ¶
func NewBasicTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BasicTokenTransactor, error)
NewBasicTokenTransactor creates a new write-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenTransactor) Transfer ¶
func (_BasicToken *BasicTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type BasicTokenTransactorRaw ¶
type BasicTokenTransactorRaw struct {
Contract *BasicTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BasicTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BasicTokenTransactorRaw) Transact ¶
func (_BasicToken *BasicTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenTransactorRaw) Transfer ¶
func (_BasicToken *BasicTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type BasicTokenTransactorSession ¶
type BasicTokenTransactorSession struct { Contract *BasicTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BasicTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BasicTokenTransactorSession) Transfer ¶
func (_BasicToken *BasicTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
type BasicTokenTransfer ¶
type BasicTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BasicTokenTransfer represents a Transfer event raised by the BasicToken contract.
type BasicTokenTransferIterator ¶
type BasicTokenTransferIterator struct { Event *BasicTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BasicTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BasicToken contract.
func (*BasicTokenTransferIterator) Close ¶
func (it *BasicTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BasicTokenTransferIterator) Error ¶
func (it *BasicTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BasicTokenTransferIterator) Next ¶
func (it *BasicTokenTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20Basic ¶
type ERC20Basic struct { ERC20BasicCaller // Read-only binding to the contract ERC20BasicTransactor // Write-only binding to the contract ERC20BasicFilterer // Log filterer for contract events }
ERC20Basic is an auto generated Go binding around an Ethereum contract.
func NewERC20Basic ¶
func NewERC20Basic(address common.Address, backend bind.ContractBackend) (*ERC20Basic, error)
NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.
type ERC20BasicCaller ¶
type ERC20BasicCaller struct {
// contains filtered or unexported fields
}
ERC20BasicCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20BasicCaller ¶
func NewERC20BasicCaller(address common.Address, caller bind.ContractCaller) (*ERC20BasicCaller, error)
NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicCaller) BalanceOf ¶
func (_ERC20Basic *ERC20BasicCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) view returns(uint256)
func (*ERC20BasicCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20BasicCallerRaw ¶
type ERC20BasicCallerRaw struct {
Contract *ERC20BasicCaller // Generic read-only contract binding to access the raw methods on
}
ERC20BasicCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20BasicCallerRaw) Call ¶
func (_ERC20Basic *ERC20BasicCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ERC20BasicCallerSession ¶
type ERC20BasicCallerSession struct { Contract *ERC20BasicCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20BasicCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20BasicCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) view 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() view returns(uint256)
type ERC20BasicFilterer ¶
type ERC20BasicFilterer struct {
// contains filtered or unexported fields
}
ERC20BasicFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20BasicFilterer ¶
func NewERC20BasicFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BasicFilterer, error)
NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicFilterer) FilterTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20BasicFilterer) ParseTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) ParseTransfer(log types.Log) (*ERC20BasicTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20BasicFilterer) WatchTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20BasicRaw ¶
type ERC20BasicRaw struct {
Contract *ERC20Basic // Generic contract binding to access the raw methods on
}
ERC20BasicRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20BasicRaw) Call ¶
func (_ERC20Basic *ERC20BasicRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ERC20BasicRaw) Transact ¶
func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20BasicSession ¶
type ERC20BasicSession struct { Contract *ERC20Basic // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20BasicSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20BasicSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) view 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() view returns(uint256)
func (*ERC20BasicSession) Transfer ¶
func (_ERC20Basic *ERC20BasicSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
type ERC20BasicTransactor ¶
type ERC20BasicTransactor struct {
// contains filtered or unexported fields
}
ERC20BasicTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20BasicTransactor ¶
func NewERC20BasicTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BasicTransactor, error)
NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicTransactor) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
type ERC20BasicTransactorRaw ¶
type ERC20BasicTransactorRaw struct {
Contract *ERC20BasicTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20BasicTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20BasicTransactorRaw) Transact ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicTransactorRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20BasicTransactorSession ¶
type ERC20BasicTransactorSession struct { Contract *ERC20BasicTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20BasicTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20BasicTransactorSession) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
type ERC20BasicTransfer ¶
type ERC20BasicTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.
type ERC20BasicTransferIterator ¶
type ERC20BasicTransferIterator struct { Event *ERC20BasicTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20BasicTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Basic contract.
func (*ERC20BasicTransferIterator) Close ¶
func (it *ERC20BasicTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20BasicTransferIterator) Error ¶
func (it *ERC20BasicTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20BasicTransferIterator) Next ¶
func (it *ERC20BasicTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) view returns(uint256)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view 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) view returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) view 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() view returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address who) view 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() view returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MintableToken ¶
type MintableToken struct { MintableTokenCaller // Read-only binding to the contract MintableTokenTransactor // Write-only binding to the contract MintableTokenFilterer // Log filterer for contract events }
MintableToken is an auto generated Go binding around an Ethereum contract.
func DeployMintableToken ¶
func DeployMintableToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MintableToken, error)
DeployMintableToken deploys a new Ethereum contract, binding an instance of MintableToken to it.
func NewMintableToken ¶
func NewMintableToken(address common.Address, backend bind.ContractBackend) (*MintableToken, error)
NewMintableToken creates a new instance of MintableToken, bound to a specific deployed contract.
type MintableTokenApproval ¶
type MintableTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MintableTokenApproval represents a Approval event raised by the MintableToken contract.
type MintableTokenApprovalIterator ¶
type MintableTokenApprovalIterator struct { Event *MintableTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MintableToken contract.
func (*MintableTokenApprovalIterator) Close ¶
func (it *MintableTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableTokenApprovalIterator) Error ¶
func (it *MintableTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableTokenApprovalIterator) Next ¶
func (it *MintableTokenApprovalIterator) 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 MintableTokenCaller ¶
type MintableTokenCaller struct {
// contains filtered or unexported fields
}
MintableTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMintableTokenCaller ¶
func NewMintableTokenCaller(address common.Address, caller bind.ContractCaller) (*MintableTokenCaller, error)
NewMintableTokenCaller creates a new read-only instance of MintableToken, bound to a specific deployed contract.
func (*MintableTokenCaller) Allowance ¶
func (_MintableToken *MintableTokenCaller) 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) view returns(uint256 remaining)
func (*MintableTokenCaller) BalanceOf ¶
func (_MintableToken *MintableTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*MintableTokenCaller) GetOwner ¶
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*MintableTokenCaller) MintingFinished ¶
func (_MintableToken *MintableTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*MintableTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MintableTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MintableTokenCallerRaw ¶
type MintableTokenCallerRaw struct {
Contract *MintableTokenCaller // Generic read-only contract binding to access the raw methods on
}
MintableTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MintableTokenCallerRaw) Call ¶
func (_MintableToken *MintableTokenCallerRaw) 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 MintableTokenCallerSession ¶
type MintableTokenCallerSession struct { Contract *MintableTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MintableTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MintableTokenCallerSession) Allowance ¶
func (_MintableToken *MintableTokenCallerSession) 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) view returns(uint256 remaining)
func (*MintableTokenCallerSession) BalanceOf ¶
func (_MintableToken *MintableTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*MintableTokenCallerSession) GetOwner ¶
func (_MintableToken *MintableTokenCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*MintableTokenCallerSession) MintingFinished ¶
func (_MintableToken *MintableTokenCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*MintableTokenCallerSession) Owner ¶
func (_MintableToken *MintableTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MintableTokenCallerSession) TotalSupply ¶
func (_MintableToken *MintableTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MintableTokenFilterer ¶
type MintableTokenFilterer struct {
// contains filtered or unexported fields
}
MintableTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMintableTokenFilterer ¶
func NewMintableTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MintableTokenFilterer, error)
NewMintableTokenFilterer creates a new log filterer instance of MintableToken, bound to a specific deployed contract.
func (*MintableTokenFilterer) FilterApproval ¶
func (_MintableToken *MintableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MintableTokenApprovalIterator, 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 (*MintableTokenFilterer) FilterMint ¶
func (_MintableToken *MintableTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MintableTokenMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MintableTokenFilterer) FilterMintFinished ¶
func (_MintableToken *MintableTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*MintableTokenMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*MintableTokenFilterer) FilterOwnershipTransferred ¶
func (_MintableToken *MintableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MintableTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MintableTokenFilterer) FilterTransfer ¶
func (_MintableToken *MintableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MintableTokenTransferIterator, 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 (*MintableTokenFilterer) ParseApproval ¶
func (_MintableToken *MintableTokenFilterer) ParseApproval(log types.Log) (*MintableTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MintableTokenFilterer) ParseMint ¶
func (_MintableToken *MintableTokenFilterer) ParseMint(log types.Log) (*MintableTokenMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MintableTokenFilterer) ParseMintFinished ¶
func (_MintableToken *MintableTokenFilterer) ParseMintFinished(log types.Log) (*MintableTokenMintFinished, error)
ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*MintableTokenFilterer) ParseOwnershipTransferred ¶
func (_MintableToken *MintableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*MintableTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MintableTokenFilterer) ParseTransfer ¶
func (_MintableToken *MintableTokenFilterer) ParseTransfer(log types.Log) (*MintableTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MintableTokenFilterer) WatchApproval ¶
func (_MintableToken *MintableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MintableTokenApproval, 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 (*MintableTokenFilterer) WatchMint ¶
func (_MintableToken *MintableTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MintableTokenMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*MintableTokenFilterer) WatchMintFinished ¶
func (_MintableToken *MintableTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *MintableTokenMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*MintableTokenFilterer) WatchOwnershipTransferred ¶
func (_MintableToken *MintableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MintableTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MintableTokenFilterer) WatchTransfer ¶
func (_MintableToken *MintableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MintableTokenTransfer, 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 MintableTokenMint ¶
type MintableTokenMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MintableTokenMint represents a Mint event raised by the MintableToken contract.
type MintableTokenMintFinished ¶
MintableTokenMintFinished represents a MintFinished event raised by the MintableToken contract.
type MintableTokenMintFinishedIterator ¶
type MintableTokenMintFinishedIterator struct { Event *MintableTokenMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableTokenMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the MintableToken contract.
func (*MintableTokenMintFinishedIterator) Close ¶
func (it *MintableTokenMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableTokenMintFinishedIterator) Error ¶
func (it *MintableTokenMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableTokenMintFinishedIterator) Next ¶
func (it *MintableTokenMintFinishedIterator) 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 MintableTokenMintIterator ¶
type MintableTokenMintIterator struct { Event *MintableTokenMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableTokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the MintableToken contract.
func (*MintableTokenMintIterator) Close ¶
func (it *MintableTokenMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableTokenMintIterator) Error ¶
func (it *MintableTokenMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableTokenMintIterator) Next ¶
func (it *MintableTokenMintIterator) 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 MintableTokenOwnershipTransferred ¶
type MintableTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MintableTokenOwnershipTransferred represents a OwnershipTransferred event raised by the MintableToken contract.
type MintableTokenOwnershipTransferredIterator ¶
type MintableTokenOwnershipTransferredIterator struct { Event *MintableTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MintableToken contract.
func (*MintableTokenOwnershipTransferredIterator) Close ¶
func (it *MintableTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableTokenOwnershipTransferredIterator) Error ¶
func (it *MintableTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableTokenOwnershipTransferredIterator) Next ¶
func (it *MintableTokenOwnershipTransferredIterator) 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 MintableTokenRaw ¶
type MintableTokenRaw struct {
Contract *MintableToken // Generic contract binding to access the raw methods on
}
MintableTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MintableTokenRaw) Call ¶
func (_MintableToken *MintableTokenRaw) 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 (*MintableTokenRaw) Transact ¶
func (_MintableToken *MintableTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MintableTokenRaw) Transfer ¶
func (_MintableToken *MintableTokenRaw) 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 MintableTokenSession ¶
type MintableTokenSession struct { Contract *MintableToken // 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 }
MintableTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MintableTokenSession) Allowance ¶
func (_MintableToken *MintableTokenSession) 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) view returns(uint256 remaining)
func (*MintableTokenSession) Approve ¶
func (_MintableToken *MintableTokenSession) 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 (*MintableTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*MintableTokenSession) DecreaseApproval ¶
func (_MintableToken *MintableTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*MintableTokenSession) FinishMinting ¶
func (_MintableToken *MintableTokenSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*MintableTokenSession) GetOwner ¶
func (_MintableToken *MintableTokenSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*MintableTokenSession) IncreaseApproval ¶
func (_MintableToken *MintableTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*MintableTokenSession) Mint ¶
func (_MintableToken *MintableTokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MintableTokenSession) MintingFinished ¶
func (_MintableToken *MintableTokenSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*MintableTokenSession) Owner ¶
func (_MintableToken *MintableTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MintableTokenSession) TotalSupply ¶
func (_MintableToken *MintableTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MintableTokenSession) Transfer ¶
func (_MintableToken *MintableTokenSession) 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 (*MintableTokenSession) TransferFrom ¶
func (_MintableToken *MintableTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*MintableTokenSession) TransferOwnership ¶
func (_MintableToken *MintableTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MintableTokenTransactor ¶
type MintableTokenTransactor struct {
// contains filtered or unexported fields
}
MintableTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMintableTokenTransactor ¶
func NewMintableTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MintableTokenTransactor, error)
NewMintableTokenTransactor creates a new write-only instance of MintableToken, bound to a specific deployed contract.
func (*MintableTokenTransactor) Approve ¶
func (_MintableToken *MintableTokenTransactor) 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 (*MintableTokenTransactor) DecreaseApproval ¶
func (_MintableToken *MintableTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*MintableTokenTransactor) FinishMinting ¶
func (_MintableToken *MintableTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*MintableTokenTransactor) IncreaseApproval ¶
func (_MintableToken *MintableTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*MintableTokenTransactor) Mint ¶
func (_MintableToken *MintableTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MintableTokenTransactor) Transfer ¶
func (_MintableToken *MintableTokenTransactor) 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 (*MintableTokenTransactor) TransferFrom ¶
func (_MintableToken *MintableTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*MintableTokenTransactor) TransferOwnership ¶
func (_MintableToken *MintableTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MintableTokenTransactorRaw ¶
type MintableTokenTransactorRaw struct {
Contract *MintableTokenTransactor // Generic write-only contract binding to access the raw methods on
}
MintableTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MintableTokenTransactorRaw) Transact ¶
func (_MintableToken *MintableTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MintableTokenTransactorRaw) Transfer ¶
func (_MintableToken *MintableTokenTransactorRaw) 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 MintableTokenTransactorSession ¶
type MintableTokenTransactorSession struct { Contract *MintableTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MintableTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MintableTokenTransactorSession) Approve ¶
func (_MintableToken *MintableTokenTransactorSession) 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 (*MintableTokenTransactorSession) DecreaseApproval ¶
func (_MintableToken *MintableTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*MintableTokenTransactorSession) FinishMinting ¶
func (_MintableToken *MintableTokenTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*MintableTokenTransactorSession) IncreaseApproval ¶
func (_MintableToken *MintableTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*MintableTokenTransactorSession) Mint ¶
func (_MintableToken *MintableTokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*MintableTokenTransactorSession) Transfer ¶
func (_MintableToken *MintableTokenTransactorSession) 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 (*MintableTokenTransactorSession) TransferFrom ¶
func (_MintableToken *MintableTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*MintableTokenTransactorSession) TransferOwnership ¶
func (_MintableToken *MintableTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MintableTokenTransfer ¶
type MintableTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MintableTokenTransfer represents a Transfer event raised by the MintableToken contract.
type MintableTokenTransferIterator ¶
type MintableTokenTransferIterator struct { Event *MintableTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintableTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MintableToken contract.
func (*MintableTokenTransferIterator) Close ¶
func (it *MintableTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintableTokenTransferIterator) Error ¶
func (it *MintableTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintableTokenTransferIterator) Next ¶
func (it *MintableTokenTransferIterator) 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 Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around an Ethereum contract.
func DeployOwnable ¶
func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error)
DeployOwnable deploys a new Ethereum contract, binding an instance of Ownable to it.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) ParseOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) GetOwner ¶
func (_Ownable *OwnableSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
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 SafeMathM ¶
type SafeMathM struct { SafeMathMCaller // Read-only binding to the contract SafeMathMTransactor // Write-only binding to the contract SafeMathMFilterer // Log filterer for contract events }
SafeMathM is an auto generated Go binding around an Ethereum contract.
func DeploySafeMathM ¶
func DeploySafeMathM(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMathM, error)
DeploySafeMathM deploys a new Ethereum contract, binding an instance of SafeMathM to it.
func NewSafeMathM ¶
NewSafeMathM creates a new instance of SafeMathM, bound to a specific deployed contract.
type SafeMathMCaller ¶
type SafeMathMCaller struct {
// contains filtered or unexported fields
}
SafeMathMCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathMCaller ¶
func NewSafeMathMCaller(address common.Address, caller bind.ContractCaller) (*SafeMathMCaller, error)
NewSafeMathMCaller creates a new read-only instance of SafeMathM, bound to a specific deployed contract.
type SafeMathMCallerRaw ¶
type SafeMathMCallerRaw struct {
Contract *SafeMathMCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathMCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathMCallerRaw) Call ¶
func (_SafeMathM *SafeMathMCallerRaw) 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 SafeMathMCallerSession ¶
type SafeMathMCallerSession struct { Contract *SafeMathMCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathMCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathMFilterer ¶
type SafeMathMFilterer struct {
// contains filtered or unexported fields
}
SafeMathMFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathMFilterer ¶
func NewSafeMathMFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathMFilterer, error)
NewSafeMathMFilterer creates a new log filterer instance of SafeMathM, bound to a specific deployed contract.
type SafeMathMRaw ¶
type SafeMathMRaw struct {
Contract *SafeMathM // Generic contract binding to access the raw methods on
}
SafeMathMRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathMRaw) Call ¶
func (_SafeMathM *SafeMathMRaw) 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 (*SafeMathMRaw) Transact ¶
func (_SafeMathM *SafeMathMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathMRaw) Transfer ¶
func (_SafeMathM *SafeMathMRaw) 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 SafeMathMSession ¶
type SafeMathMSession struct { Contract *SafeMathM // 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 }
SafeMathMSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathMTransactor ¶
type SafeMathMTransactor struct {
// contains filtered or unexported fields
}
SafeMathMTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathMTransactor ¶
func NewSafeMathMTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathMTransactor, error)
NewSafeMathMTransactor creates a new write-only instance of SafeMathM, bound to a specific deployed contract.
type SafeMathMTransactorRaw ¶
type SafeMathMTransactorRaw struct {
Contract *SafeMathMTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathMTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathMTransactorRaw) Transact ¶
func (_SafeMathM *SafeMathMTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathMTransactorRaw) Transfer ¶
func (_SafeMathM *SafeMathMTransactorRaw) 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 SafeMathMTransactorSession ¶
type SafeMathMTransactorSession struct { Contract *SafeMathMTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathMTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type StandardToken ¶
type StandardToken struct { StandardTokenCaller // Read-only binding to the contract StandardTokenTransactor // Write-only binding to the contract StandardTokenFilterer // Log filterer for contract events }
StandardToken is an auto generated Go binding around an Ethereum contract.
func DeployStandardToken ¶
func DeployStandardToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StandardToken, error)
DeployStandardToken deploys a new Ethereum contract, binding an instance of StandardToken to it.
func NewStandardToken ¶
func NewStandardToken(address common.Address, backend bind.ContractBackend) (*StandardToken, error)
NewStandardToken creates a new instance of StandardToken, bound to a specific deployed contract.
type StandardTokenApproval ¶
type StandardTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StandardTokenApproval represents a Approval event raised by the StandardToken contract.
type StandardTokenApprovalIterator ¶
type StandardTokenApprovalIterator struct { Event *StandardTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StandardTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StandardToken contract.
func (*StandardTokenApprovalIterator) Close ¶
func (it *StandardTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenApprovalIterator) Error ¶
func (it *StandardTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenApprovalIterator) Next ¶
func (it *StandardTokenApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type StandardTokenCaller ¶
type StandardTokenCaller struct {
// contains filtered or unexported fields
}
StandardTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStandardTokenCaller ¶
func NewStandardTokenCaller(address common.Address, caller bind.ContractCaller) (*StandardTokenCaller, error)
NewStandardTokenCaller creates a new read-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenCaller) Allowance ¶
func (_StandardToken *StandardTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)
func (*StandardTokenCaller) BalanceOf ¶
func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*StandardTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type StandardTokenCallerRaw ¶
type StandardTokenCallerRaw struct {
Contract *StandardTokenCaller // Generic read-only contract binding to access the raw methods on
}
StandardTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StandardTokenCallerRaw) Call ¶
func (_StandardToken *StandardTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type StandardTokenCallerSession ¶
type StandardTokenCallerSession struct { Contract *StandardTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StandardTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StandardTokenCallerSession) Allowance ¶
func (_StandardToken *StandardTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)
func (*StandardTokenCallerSession) BalanceOf ¶
func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*StandardTokenCallerSession) TotalSupply ¶
func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type StandardTokenFilterer ¶
type StandardTokenFilterer struct {
// contains filtered or unexported fields
}
StandardTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStandardTokenFilterer ¶
func NewStandardTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardTokenFilterer, error)
NewStandardTokenFilterer creates a new log filterer instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenFilterer) FilterApproval ¶
func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StandardTokenFilterer) FilterTransfer ¶
func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StandardTokenFilterer) ParseApproval ¶
func (_StandardToken *StandardTokenFilterer) ParseApproval(log types.Log) (*StandardTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StandardTokenFilterer) ParseTransfer ¶
func (_StandardToken *StandardTokenFilterer) ParseTransfer(log types.Log) (*StandardTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StandardTokenFilterer) WatchApproval ¶
func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StandardTokenFilterer) WatchTransfer ¶
func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type StandardTokenRaw ¶
type StandardTokenRaw struct {
Contract *StandardToken // Generic contract binding to access the raw methods on
}
StandardTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StandardTokenRaw) Call ¶
func (_StandardToken *StandardTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*StandardTokenRaw) Transact ¶
func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenRaw) Transfer ¶
func (_StandardToken *StandardTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type StandardTokenSession ¶
type StandardTokenSession struct { Contract *StandardToken // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StandardTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StandardTokenSession) Allowance ¶
func (_StandardToken *StandardTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)
func (*StandardTokenSession) Approve ¶
func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*StandardTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*StandardTokenSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*StandardTokenSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*StandardTokenSession) TotalSupply ¶
func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*StandardTokenSession) Transfer ¶
func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*StandardTokenSession) TransferFrom ¶
func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type StandardTokenTransactor ¶
type StandardTokenTransactor struct {
// contains filtered or unexported fields
}
StandardTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStandardTokenTransactor ¶
func NewStandardTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardTokenTransactor, error)
NewStandardTokenTransactor creates a new write-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenTransactor) Approve ¶
func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*StandardTokenTransactor) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*StandardTokenTransactor) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*StandardTokenTransactor) Transfer ¶
func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*StandardTokenTransactor) TransferFrom ¶
func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type StandardTokenTransactorRaw ¶
type StandardTokenTransactorRaw struct {
Contract *StandardTokenTransactor // Generic write-only contract binding to access the raw methods on
}
StandardTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StandardTokenTransactorRaw) Transact ¶
func (_StandardToken *StandardTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenTransactorRaw) Transfer ¶
func (_StandardToken *StandardTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type StandardTokenTransactorSession ¶
type StandardTokenTransactorSession struct { Contract *StandardTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StandardTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StandardTokenTransactorSession) Approve ¶
func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*StandardTokenTransactorSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*StandardTokenTransactorSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*StandardTokenTransactorSession) Transfer ¶
func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*StandardTokenTransactorSession) TransferFrom ¶
func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type StandardTokenTransfer ¶
type StandardTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StandardTokenTransfer represents a Transfer event raised by the StandardToken contract.
type StandardTokenTransferIterator ¶
type StandardTokenTransferIterator struct { Event *StandardTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StandardTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StandardToken contract.
func (*StandardTokenTransferIterator) Close ¶
func (it *StandardTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenTransferIterator) Error ¶
func (it *StandardTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenTransferIterator) Next ¶
func (it *StandardTokenTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type Utilities ¶
type Utilities struct { UtilitiesCaller // Read-only binding to the contract UtilitiesTransactor // Write-only binding to the contract UtilitiesFilterer // Log filterer for contract events }
Utilities is an auto generated Go binding around an Ethereum contract.
func DeployUtilities ¶
func DeployUtilities(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Utilities, error)
DeployUtilities deploys a new Ethereum contract, binding an instance of Utilities to it.
func NewUtilities ¶
NewUtilities creates a new instance of Utilities, bound to a specific deployed contract.
type UtilitiesCaller ¶
type UtilitiesCaller struct {
// contains filtered or unexported fields
}
UtilitiesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUtilitiesCaller ¶
func NewUtilitiesCaller(address common.Address, caller bind.ContractCaller) (*UtilitiesCaller, error)
NewUtilitiesCaller creates a new read-only instance of Utilities, bound to a specific deployed contract.
type UtilitiesCallerRaw ¶
type UtilitiesCallerRaw struct {
Contract *UtilitiesCaller // Generic read-only contract binding to access the raw methods on
}
UtilitiesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UtilitiesCallerRaw) Call ¶
func (_Utilities *UtilitiesCallerRaw) 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 UtilitiesCallerSession ¶
type UtilitiesCallerSession struct { Contract *UtilitiesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UtilitiesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type UtilitiesFilterer ¶
type UtilitiesFilterer struct {
// contains filtered or unexported fields
}
UtilitiesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUtilitiesFilterer ¶
func NewUtilitiesFilterer(address common.Address, filterer bind.ContractFilterer) (*UtilitiesFilterer, error)
NewUtilitiesFilterer creates a new log filterer instance of Utilities, bound to a specific deployed contract.
type UtilitiesRaw ¶
type UtilitiesRaw struct {
Contract *Utilities // Generic contract binding to access the raw methods on
}
UtilitiesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UtilitiesRaw) Call ¶
func (_Utilities *UtilitiesRaw) 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 (*UtilitiesRaw) Transact ¶
func (_Utilities *UtilitiesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UtilitiesRaw) Transfer ¶
func (_Utilities *UtilitiesRaw) 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 UtilitiesSession ¶
type UtilitiesSession struct { Contract *Utilities // 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 }
UtilitiesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type UtilitiesTransactor ¶
type UtilitiesTransactor struct {
// contains filtered or unexported fields
}
UtilitiesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUtilitiesTransactor ¶
func NewUtilitiesTransactor(address common.Address, transactor bind.ContractTransactor) (*UtilitiesTransactor, error)
NewUtilitiesTransactor creates a new write-only instance of Utilities, bound to a specific deployed contract.
type UtilitiesTransactorRaw ¶
type UtilitiesTransactorRaw struct {
Contract *UtilitiesTransactor // Generic write-only contract binding to access the raw methods on
}
UtilitiesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UtilitiesTransactorRaw) Transact ¶
func (_Utilities *UtilitiesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UtilitiesTransactorRaw) Transfer ¶
func (_Utilities *UtilitiesTransactorRaw) 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 UtilitiesTransactorSession ¶
type UtilitiesTransactorSession struct { Contract *UtilitiesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UtilitiesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Vault ¶
type Vault struct { VaultCaller // Read-only binding to the contract VaultTransactor // Write-only binding to the contract VaultFilterer // Log filterer for contract events }
Vault is an auto generated Go binding around an Ethereum contract.
func DeployVault ¶
func DeployVault(auth *bind.TransactOpts, backend bind.ContractBackend, token common.Address, master common.Address) (common.Address, *types.Transaction, *Vault, error)
DeployVault deploys a new Ethereum contract, binding an instance of Vault to it.
type VaultCaller ¶
type VaultCaller struct {
// contains filtered or unexported fields
}
VaultCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVaultCaller ¶
func NewVaultCaller(address common.Address, caller bind.ContractCaller) (*VaultCaller, error)
NewVaultCaller creates a new read-only instance of Vault, bound to a specific deployed contract.
func (*VaultCaller) HasAccess ¶
func (_Vault *VaultCaller) HasAccess(opts *bind.CallOpts, user common.Address, miniVault common.Address) (bool, error)
HasAccess is a free data retrieval call binding the contract method 0x1709ef07.
Solidity: function hasAccess(address user, address miniVault) view returns(bool)
func (*VaultCaller) UserBalance ¶
func (_Vault *VaultCaller) UserBalance(opts *bind.CallOpts, userAddress common.Address) (*big.Int, error)
UserBalance is a free data retrieval call binding the contract method 0x0103c92b.
Solidity: function userBalance(address userAddress) view returns(uint256 balance)
type VaultCallerRaw ¶
type VaultCallerRaw struct {
Contract *VaultCaller // Generic read-only contract binding to access the raw methods on
}
VaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VaultCallerRaw) Call ¶
func (_Vault *VaultCallerRaw) 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 VaultCallerSession ¶
type VaultCallerSession struct { Contract *VaultCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VaultCallerSession) HasAccess ¶
func (_Vault *VaultCallerSession) HasAccess(user common.Address, miniVault common.Address) (bool, error)
HasAccess is a free data retrieval call binding the contract method 0x1709ef07.
Solidity: function hasAccess(address user, address miniVault) view returns(bool)
func (*VaultCallerSession) UserBalance ¶
UserBalance is a free data retrieval call binding the contract method 0x0103c92b.
Solidity: function userBalance(address userAddress) view returns(uint256 balance)
type VaultFilterer ¶
type VaultFilterer struct {
// contains filtered or unexported fields
}
VaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVaultFilterer ¶
func NewVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*VaultFilterer, error)
NewVaultFilterer creates a new log filterer instance of Vault, bound to a specific deployed contract.
type VaultRaw ¶
type VaultRaw struct {
Contract *Vault // Generic contract binding to access the raw methods on
}
VaultRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VaultRaw) Call ¶
func (_Vault *VaultRaw) 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 (*VaultRaw) Transact ¶
func (_Vault *VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VaultRaw) Transfer ¶
func (_Vault *VaultRaw) 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 VaultSession ¶
type VaultSession struct { Contract *Vault // 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 }
VaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VaultSession) Deposit ¶
func (_Vault *VaultSession) Deposit(userAddress common.Address, value *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address userAddress, uint256 value) returns()
func (*VaultSession) HasAccess ¶
HasAccess is a free data retrieval call binding the contract method 0x1709ef07.
Solidity: function hasAccess(address user, address miniVault) view returns(bool)
func (*VaultSession) IncreaseApproval ¶
func (_Vault *VaultSession) IncreaseApproval() (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xcd8f942c.
Solidity: function increaseApproval() returns(bool)
func (*VaultSession) LockSmith ¶
func (_Vault *VaultSession) LockSmith(miniVault common.Address, authorizedUser common.Address) (*types.Transaction, error)
LockSmith is a paid mutator transaction binding the contract method 0x7a47328b.
Solidity: function lockSmith(address miniVault, address authorizedUser) returns()
func (*VaultSession) UserBalance ¶
UserBalance is a free data retrieval call binding the contract method 0x0103c92b.
Solidity: function userBalance(address userAddress) view returns(uint256 balance)
func (*VaultSession) Withdraw ¶
func (_Vault *VaultSession) Withdraw(userAddress common.Address, value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address userAddress, uint256 value) returns()
type VaultTransactor ¶
type VaultTransactor struct {
// contains filtered or unexported fields
}
VaultTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVaultTransactor ¶
func NewVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*VaultTransactor, error)
NewVaultTransactor creates a new write-only instance of Vault, bound to a specific deployed contract.
func (*VaultTransactor) Deposit ¶
func (_Vault *VaultTransactor) Deposit(opts *bind.TransactOpts, userAddress common.Address, value *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address userAddress, uint256 value) returns()
func (*VaultTransactor) IncreaseApproval ¶
func (_Vault *VaultTransactor) IncreaseApproval(opts *bind.TransactOpts) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xcd8f942c.
Solidity: function increaseApproval() returns(bool)
func (*VaultTransactor) LockSmith ¶
func (_Vault *VaultTransactor) LockSmith(opts *bind.TransactOpts, miniVault common.Address, authorizedUser common.Address) (*types.Transaction, error)
LockSmith is a paid mutator transaction binding the contract method 0x7a47328b.
Solidity: function lockSmith(address miniVault, address authorizedUser) returns()
func (*VaultTransactor) Withdraw ¶
func (_Vault *VaultTransactor) Withdraw(opts *bind.TransactOpts, userAddress common.Address, value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address userAddress, uint256 value) returns()
type VaultTransactorRaw ¶
type VaultTransactorRaw struct {
Contract *VaultTransactor // Generic write-only contract binding to access the raw methods on
}
VaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VaultTransactorRaw) Transact ¶
func (_Vault *VaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VaultTransactorRaw) Transfer ¶
func (_Vault *VaultTransactorRaw) 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 VaultTransactorSession ¶
type VaultTransactorSession struct { Contract *VaultTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VaultTransactorSession) Deposit ¶
func (_Vault *VaultTransactorSession) Deposit(userAddress common.Address, value *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.
Solidity: function deposit(address userAddress, uint256 value) returns()
func (*VaultTransactorSession) IncreaseApproval ¶
func (_Vault *VaultTransactorSession) IncreaseApproval() (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xcd8f942c.
Solidity: function increaseApproval() returns(bool)
func (*VaultTransactorSession) LockSmith ¶
func (_Vault *VaultTransactorSession) LockSmith(miniVault common.Address, authorizedUser common.Address) (*types.Transaction, error)
LockSmith is a paid mutator transaction binding the contract method 0x7a47328b.
Solidity: function lockSmith(address miniVault, address authorizedUser) returns()
func (*VaultTransactorSession) Withdraw ¶
func (_Vault *VaultTransactorSession) Withdraw(userAddress common.Address, value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address userAddress, uint256 value) returns()
type Zap ¶
type Zap struct { ZapCaller // Read-only binding to the contract ZapTransactor // Write-only binding to the contract ZapFilterer // Log filterer for contract events }
Zap is an auto generated Go binding around an Ethereum contract.
func DeployZap ¶
func DeployZap(auth *bind.TransactOpts, backend bind.ContractBackend, zapTokenBsc common.Address) (common.Address, *types.Transaction, *Zap, error)
DeployZap deploys a new Ethereum contract, binding an instance of Zap to it.
type ZapApproval ¶
type ZapApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapApproval represents a Approval event raised by the Zap contract.
type ZapApprovalIterator ¶
type ZapApprovalIterator struct { Event *ZapApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Zap contract.
func (*ZapApprovalIterator) Close ¶
func (it *ZapApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapApprovalIterator) Error ¶
func (it *ZapApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapApprovalIterator) Next ¶
func (it *ZapApprovalIterator) 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 ZapCaller ¶
type ZapCaller struct {
// contains filtered or unexported fields
}
ZapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapCaller ¶
NewZapCaller creates a new read-only instance of Zap, bound to a specific deployed contract.
func (*ZapCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256 balance)
func (*ZapCaller) GetNewCurrentVariables ¶
func (_Zap *ZapCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct { Challenge [32]byte RequestIds [5]*big.Int Difficutly *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficutly, uint256 _tip)
type ZapCallerRaw ¶
type ZapCallerRaw struct {
Contract *ZapCaller // Generic read-only contract binding to access the raw methods on
}
ZapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapCallerRaw) Call ¶
func (_Zap *ZapCallerRaw) 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 ZapCallerSession ¶
type ZapCallerSession struct { Contract *ZapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ZapCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256 balance)
func (*ZapCallerSession) GetNewCurrentVariables ¶
func (_Zap *ZapCallerSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Difficutly *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficutly, uint256 _tip)
type ZapDataRequested ¶
type ZapDataRequested struct { Sender common.Address Query string QuerySymbol string Granularity *big.Int RequestId *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapDataRequested represents a DataRequested event raised by the Zap contract.
type ZapDataRequestedIterator ¶
type ZapDataRequestedIterator struct { Event *ZapDataRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapDataRequestedIterator is returned from FilterDataRequested and is used to iterate over the raw logs and unpacked data for DataRequested events raised by the Zap contract.
func (*ZapDataRequestedIterator) Close ¶
func (it *ZapDataRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapDataRequestedIterator) Error ¶
func (it *ZapDataRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapDataRequestedIterator) Next ¶
func (it *ZapDataRequestedIterator) 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 ZapDispute ¶
type ZapDispute struct { ZapDisputeCaller // Read-only binding to the contract ZapDisputeTransactor // Write-only binding to the contract ZapDisputeFilterer // Log filterer for contract events }
ZapDispute is an auto generated Go binding around an Ethereum contract.
func DeployZapDispute ¶
func DeployZapDispute(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapDispute, error)
DeployZapDispute deploys a new Ethereum contract, binding an instance of ZapDispute to it.
func NewZapDispute ¶
func NewZapDispute(address common.Address, backend bind.ContractBackend) (*ZapDispute, error)
NewZapDispute creates a new instance of ZapDispute, bound to a specific deployed contract.
type ZapDisputeCaller ¶
type ZapDisputeCaller struct {
// contains filtered or unexported fields
}
ZapDisputeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapDisputeCaller ¶
func NewZapDisputeCaller(address common.Address, caller bind.ContractCaller) (*ZapDisputeCaller, error)
NewZapDisputeCaller creates a new read-only instance of ZapDispute, bound to a specific deployed contract.
type ZapDisputeCallerRaw ¶
type ZapDisputeCallerRaw struct {
Contract *ZapDisputeCaller // Generic read-only contract binding to access the raw methods on
}
ZapDisputeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapDisputeCallerRaw) Call ¶
func (_ZapDispute *ZapDisputeCallerRaw) 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 ZapDisputeCallerSession ¶
type ZapDisputeCallerSession struct { Contract *ZapDisputeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapDisputeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZapDisputeDisputeVoteTallied ¶
type ZapDisputeDisputeVoteTallied struct { DisputeID *big.Int Result *big.Int ReportedMiner common.Address ReportingParty common.Address Active bool Raw types.Log // Blockchain specific contextual infos }
ZapDisputeDisputeVoteTallied represents a DisputeVoteTallied event raised by the ZapDispute contract.
type ZapDisputeDisputeVoteTalliedIterator ¶
type ZapDisputeDisputeVoteTalliedIterator struct { Event *ZapDisputeDisputeVoteTallied // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapDisputeDisputeVoteTalliedIterator is returned from FilterDisputeVoteTallied and is used to iterate over the raw logs and unpacked data for DisputeVoteTallied events raised by the ZapDispute contract.
func (*ZapDisputeDisputeVoteTalliedIterator) Close ¶
func (it *ZapDisputeDisputeVoteTalliedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapDisputeDisputeVoteTalliedIterator) Error ¶
func (it *ZapDisputeDisputeVoteTalliedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapDisputeDisputeVoteTalliedIterator) Next ¶
func (it *ZapDisputeDisputeVoteTalliedIterator) 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 ZapDisputeFilterer ¶
type ZapDisputeFilterer struct {
// contains filtered or unexported fields
}
ZapDisputeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapDisputeFilterer ¶
func NewZapDisputeFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapDisputeFilterer, error)
NewZapDisputeFilterer creates a new log filterer instance of ZapDispute, bound to a specific deployed contract.
func (*ZapDisputeFilterer) FilterDisputeVoteTallied ¶
func (_ZapDispute *ZapDisputeFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*ZapDisputeDisputeVoteTalliedIterator, error)
FilterDisputeVoteTallied is a free log retrieval operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: event DisputeVoteTallied(uint256 indexed _disputeID, int256 _result, address indexed _reportedMiner, address _reportingParty, bool _active)
func (*ZapDisputeFilterer) FilterNewDispute ¶
func (_ZapDispute *ZapDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*ZapDisputeNewDisputeIterator, error)
FilterNewDispute is a free log retrieval operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ZapDisputeFilterer) FilterNewZapAddress ¶
func (_ZapDispute *ZapDisputeFilterer) FilterNewZapAddress(opts *bind.FilterOpts) (*ZapDisputeNewZapAddressIterator, error)
FilterNewZapAddress is a free log retrieval operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapDisputeFilterer) FilterVoted ¶
func (_ZapDispute *ZapDisputeFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address) (*ZapDisputeVotedIterator, error)
FilterVoted is a free log retrieval operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: event Voted(uint256 indexed _disputeID, bool _position, address indexed _voter)
func (*ZapDisputeFilterer) ParseDisputeVoteTallied ¶
func (_ZapDispute *ZapDisputeFilterer) ParseDisputeVoteTallied(log types.Log) (*ZapDisputeDisputeVoteTallied, error)
ParseDisputeVoteTallied is a log parse operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: event DisputeVoteTallied(uint256 indexed _disputeID, int256 _result, address indexed _reportedMiner, address _reportingParty, bool _active)
func (*ZapDisputeFilterer) ParseNewDispute ¶
func (_ZapDispute *ZapDisputeFilterer) ParseNewDispute(log types.Log) (*ZapDisputeNewDispute, error)
ParseNewDispute is a log parse operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ZapDisputeFilterer) ParseNewZapAddress ¶
func (_ZapDispute *ZapDisputeFilterer) ParseNewZapAddress(log types.Log) (*ZapDisputeNewZapAddress, error)
ParseNewZapAddress is a log parse operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapDisputeFilterer) ParseVoted ¶
func (_ZapDispute *ZapDisputeFilterer) ParseVoted(log types.Log) (*ZapDisputeVoted, error)
ParseVoted is a log parse operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: event Voted(uint256 indexed _disputeID, bool _position, address indexed _voter)
func (*ZapDisputeFilterer) WatchDisputeVoteTallied ¶
func (_ZapDispute *ZapDisputeFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *ZapDisputeDisputeVoteTallied, _disputeID []*big.Int, _reportedMiner []common.Address) (event.Subscription, error)
WatchDisputeVoteTallied is a free log subscription operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: event DisputeVoteTallied(uint256 indexed _disputeID, int256 _result, address indexed _reportedMiner, address _reportingParty, bool _active)
func (*ZapDisputeFilterer) WatchNewDispute ¶
func (_ZapDispute *ZapDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *ZapDisputeNewDispute, _disputeId []*big.Int, _requestId []*big.Int) (event.Subscription, error)
WatchNewDispute is a free log subscription operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ZapDisputeFilterer) WatchNewZapAddress ¶
func (_ZapDispute *ZapDisputeFilterer) WatchNewZapAddress(opts *bind.WatchOpts, sink chan<- *ZapDisputeNewZapAddress) (event.Subscription, error)
WatchNewZapAddress is a free log subscription operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapDisputeFilterer) WatchVoted ¶
func (_ZapDispute *ZapDisputeFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *ZapDisputeVoted, _disputeID []*big.Int, _voter []common.Address) (event.Subscription, error)
WatchVoted is a free log subscription operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: event Voted(uint256 indexed _disputeID, bool _position, address indexed _voter)
type ZapDisputeNewDispute ¶
type ZapDisputeNewDispute struct { DisputeId *big.Int RequestId *big.Int Timestamp *big.Int Miner common.Address Raw types.Log // Blockchain specific contextual infos }
ZapDisputeNewDispute represents a NewDispute event raised by the ZapDispute contract.
type ZapDisputeNewDisputeIterator ¶
type ZapDisputeNewDisputeIterator struct { Event *ZapDisputeNewDispute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapDisputeNewDisputeIterator is returned from FilterNewDispute and is used to iterate over the raw logs and unpacked data for NewDispute events raised by the ZapDispute contract.
func (*ZapDisputeNewDisputeIterator) Close ¶
func (it *ZapDisputeNewDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapDisputeNewDisputeIterator) Error ¶
func (it *ZapDisputeNewDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapDisputeNewDisputeIterator) Next ¶
func (it *ZapDisputeNewDisputeIterator) 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 ZapDisputeNewZapAddress ¶
type ZapDisputeNewZapAddress struct { NewZap common.Address Raw types.Log // Blockchain specific contextual infos }
ZapDisputeNewZapAddress represents a NewZapAddress event raised by the ZapDispute contract.
type ZapDisputeNewZapAddressIterator ¶
type ZapDisputeNewZapAddressIterator struct { Event *ZapDisputeNewZapAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapDisputeNewZapAddressIterator is returned from FilterNewZapAddress and is used to iterate over the raw logs and unpacked data for NewZapAddress events raised by the ZapDispute contract.
func (*ZapDisputeNewZapAddressIterator) Close ¶
func (it *ZapDisputeNewZapAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapDisputeNewZapAddressIterator) Error ¶
func (it *ZapDisputeNewZapAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapDisputeNewZapAddressIterator) Next ¶
func (it *ZapDisputeNewZapAddressIterator) 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 ZapDisputeRaw ¶
type ZapDisputeRaw struct {
Contract *ZapDispute // Generic contract binding to access the raw methods on
}
ZapDisputeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapDisputeRaw) Call ¶
func (_ZapDispute *ZapDisputeRaw) 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 (*ZapDisputeRaw) Transact ¶
func (_ZapDispute *ZapDisputeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapDisputeRaw) Transfer ¶
func (_ZapDispute *ZapDisputeRaw) 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 ZapDisputeSession ¶
type ZapDisputeSession struct { Contract *ZapDispute // 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 }
ZapDisputeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZapDisputeTransactor ¶
type ZapDisputeTransactor struct {
// contains filtered or unexported fields
}
ZapDisputeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapDisputeTransactor ¶
func NewZapDisputeTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapDisputeTransactor, error)
NewZapDisputeTransactor creates a new write-only instance of ZapDispute, bound to a specific deployed contract.
type ZapDisputeTransactorRaw ¶
type ZapDisputeTransactorRaw struct {
Contract *ZapDisputeTransactor // Generic write-only contract binding to access the raw methods on
}
ZapDisputeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapDisputeTransactorRaw) Transact ¶
func (_ZapDispute *ZapDisputeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapDisputeTransactorRaw) Transfer ¶
func (_ZapDispute *ZapDisputeTransactorRaw) 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 ZapDisputeTransactorSession ¶
type ZapDisputeTransactorSession struct { Contract *ZapDisputeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapDisputeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZapDisputeVoted ¶
type ZapDisputeVoted struct { DisputeID *big.Int Position bool Voter common.Address Raw types.Log // Blockchain specific contextual infos }
ZapDisputeVoted represents a Voted event raised by the ZapDispute contract.
type ZapDisputeVotedIterator ¶
type ZapDisputeVotedIterator struct { Event *ZapDisputeVoted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapDisputeVotedIterator is returned from FilterVoted and is used to iterate over the raw logs and unpacked data for Voted events raised by the ZapDispute contract.
func (*ZapDisputeVotedIterator) Close ¶
func (it *ZapDisputeVotedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapDisputeVotedIterator) Error ¶
func (it *ZapDisputeVotedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapDisputeVotedIterator) Next ¶
func (it *ZapDisputeVotedIterator) 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 ZapFilterer ¶
type ZapFilterer struct {
// contains filtered or unexported fields
}
ZapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapFilterer ¶
func NewZapFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapFilterer, error)
NewZapFilterer creates a new log filterer instance of Zap, bound to a specific deployed contract.
func (*ZapFilterer) FilterApproval ¶
func (_Zap *ZapFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ZapApprovalIterator, 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 (*ZapFilterer) FilterDataRequested ¶
func (_Zap *ZapFilterer) FilterDataRequested(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapDataRequestedIterator, error)
FilterDataRequested is a free log retrieval operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: event DataRequested(address indexed _sender, string _query, string _querySymbol, uint256 _granularity, uint256 indexed _requestId, uint256 _totalTips)
func (*ZapFilterer) FilterNewChallenge ¶
func (_Zap *ZapFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentRequestId []*big.Int) (*ZapNewChallengeIterator, error)
FilterNewChallenge is a free log retrieval operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: event NewChallenge(bytes32 _currentChallenge, uint256 indexed _currentRequestId, uint256 _difficulty, uint256 _multiplier, string _query, uint256 _totalTips)
func (*ZapFilterer) FilterNewDispute ¶
func (_Zap *ZapFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*ZapNewDisputeIterator, error)
FilterNewDispute is a free log retrieval operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ZapFilterer) FilterNewRequestOnDeck ¶
func (_Zap *ZapFilterer) FilterNewRequestOnDeck(opts *bind.FilterOpts, _requestId []*big.Int) (*ZapNewRequestOnDeckIterator, error)
FilterNewRequestOnDeck is a free log retrieval operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: event NewRequestOnDeck(uint256 indexed _requestId, string _query, bytes32 _onDeckQueryHash, uint256 _onDeckTotalTips)
func (*ZapFilterer) FilterOwnershipTransferred ¶
func (_Zap *ZapFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZapOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ZapFilterer) FilterTipAdded ¶
func (_Zap *ZapFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapTipAddedIterator, error)
FilterTipAdded is a free log retrieval operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ZapFilterer) ParseApproval ¶
func (_Zap *ZapFilterer) ParseApproval(log types.Log) (*ZapApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*ZapFilterer) ParseDataRequested ¶
func (_Zap *ZapFilterer) ParseDataRequested(log types.Log) (*ZapDataRequested, error)
ParseDataRequested is a log parse operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: event DataRequested(address indexed _sender, string _query, string _querySymbol, uint256 _granularity, uint256 indexed _requestId, uint256 _totalTips)
func (*ZapFilterer) ParseNewChallenge ¶
func (_Zap *ZapFilterer) ParseNewChallenge(log types.Log) (*ZapNewChallenge, error)
ParseNewChallenge is a log parse operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: event NewChallenge(bytes32 _currentChallenge, uint256 indexed _currentRequestId, uint256 _difficulty, uint256 _multiplier, string _query, uint256 _totalTips)
func (*ZapFilterer) ParseNewDispute ¶
func (_Zap *ZapFilterer) ParseNewDispute(log types.Log) (*ZapNewDispute, error)
ParseNewDispute is a log parse operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ZapFilterer) ParseNewRequestOnDeck ¶
func (_Zap *ZapFilterer) ParseNewRequestOnDeck(log types.Log) (*ZapNewRequestOnDeck, error)
ParseNewRequestOnDeck is a log parse operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: event NewRequestOnDeck(uint256 indexed _requestId, string _query, bytes32 _onDeckQueryHash, uint256 _onDeckTotalTips)
func (*ZapFilterer) ParseOwnershipTransferred ¶
func (_Zap *ZapFilterer) ParseOwnershipTransferred(log types.Log) (*ZapOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ZapFilterer) ParseTipAdded ¶
func (_Zap *ZapFilterer) ParseTipAdded(log types.Log) (*ZapTipAdded, error)
ParseTipAdded is a log parse operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ZapFilterer) WatchApproval ¶
func (_Zap *ZapFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZapApproval, _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 (*ZapFilterer) WatchDataRequested ¶
func (_Zap *ZapFilterer) WatchDataRequested(opts *bind.WatchOpts, sink chan<- *ZapDataRequested, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchDataRequested is a free log subscription operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: event DataRequested(address indexed _sender, string _query, string _querySymbol, uint256 _granularity, uint256 indexed _requestId, uint256 _totalTips)
func (*ZapFilterer) WatchNewChallenge ¶
func (_Zap *ZapFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *ZapNewChallenge, _currentRequestId []*big.Int) (event.Subscription, error)
WatchNewChallenge is a free log subscription operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: event NewChallenge(bytes32 _currentChallenge, uint256 indexed _currentRequestId, uint256 _difficulty, uint256 _multiplier, string _query, uint256 _totalTips)
func (*ZapFilterer) WatchNewDispute ¶
func (_Zap *ZapFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *ZapNewDispute, _disputeId []*big.Int, _requestId []*big.Int) (event.Subscription, error)
WatchNewDispute is a free log subscription operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ZapFilterer) WatchNewRequestOnDeck ¶
func (_Zap *ZapFilterer) WatchNewRequestOnDeck(opts *bind.WatchOpts, sink chan<- *ZapNewRequestOnDeck, _requestId []*big.Int) (event.Subscription, error)
WatchNewRequestOnDeck is a free log subscription operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: event NewRequestOnDeck(uint256 indexed _requestId, string _query, bytes32 _onDeckQueryHash, uint256 _onDeckTotalTips)
func (*ZapFilterer) WatchOwnershipTransferred ¶
func (_Zap *ZapFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZapOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ZapFilterer) WatchTipAdded ¶
func (_Zap *ZapFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *ZapTipAdded, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchTipAdded is a free log subscription operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
type ZapGetters ¶
type ZapGetters struct { ZapGettersCaller // Read-only binding to the contract ZapGettersTransactor // Write-only binding to the contract ZapGettersFilterer // Log filterer for contract events }
ZapGetters is an auto generated Go binding around an Ethereum contract.
func DeployZapGetters ¶
func DeployZapGetters(auth *bind.TransactOpts, backend bind.ContractBackend, zapTokenBsc common.Address) (common.Address, *types.Transaction, *ZapGetters, error)
DeployZapGetters deploys a new Ethereum contract, binding an instance of ZapGetters to it.
func NewZapGetters ¶
func NewZapGetters(address common.Address, backend bind.ContractBackend) (*ZapGetters, error)
NewZapGetters creates a new instance of ZapGetters, bound to a specific deployed contract.
type ZapGettersCaller ¶
type ZapGettersCaller struct {
// contains filtered or unexported fields
}
ZapGettersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapGettersCaller ¶
func NewZapGettersCaller(address common.Address, caller bind.ContractCaller) (*ZapGettersCaller, error)
NewZapGettersCaller creates a new read-only instance of ZapGetters, bound to a specific deployed contract.
func (*ZapGettersCaller) Allowance ¶
func (_ZapGetters *ZapGettersCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ZapGettersCaller) BalanceOf ¶
func (_ZapGetters *ZapGettersCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ZapGettersCaller) DidMine ¶
func (_ZapGetters *ZapGettersCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ZapGettersCaller) DidVote ¶
func (_ZapGetters *ZapGettersCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ZapGettersCaller) GetAddressVars ¶
func (_ZapGetters *ZapGettersCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ZapGettersCaller) GetAllDisputeVars ¶
func (_ZapGetters *ZapGettersCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ZapGettersCaller) GetCurrentVariables ¶
func (_ZapGetters *ZapGettersCaller) GetCurrentVariables(opts *bind.CallOpts) ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
GetCurrentVariables is a free data retrieval call binding the contract method 0xa22e407a.
Solidity: function getCurrentVariables() view returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*ZapGettersCaller) GetDisputeIdByDisputeHash ¶
func (_ZapGetters *ZapGettersCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ZapGettersCaller) GetDisputeUintVars ¶
func (_ZapGetters *ZapGettersCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ZapGettersCaller) GetLastNewValue ¶
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ZapGettersCaller) GetLastNewValueById ¶
func (_ZapGetters *ZapGettersCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ZapGettersCaller) GetMinedBlockNum ¶
func (_ZapGetters *ZapGettersCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapGettersCaller) GetMinersByRequestIdAndTimestamp ¶
func (_ZapGetters *ZapGettersCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ZapGettersCaller) GetName ¶
func (_ZapGetters *ZapGettersCaller) GetName(opts *bind.CallOpts) (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() view returns(string)
func (*ZapGettersCaller) GetNewValueCountbyRequestId ¶
func (_ZapGetters *ZapGettersCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ZapGettersCaller) GetRequestIdByQueryHash ¶
func (_ZapGetters *ZapGettersCaller) GetRequestIdByQueryHash(opts *bind.CallOpts, _request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(bytes32 _request) view returns(uint256)
func (*ZapGettersCaller) GetRequestIdByRequestQIndex ¶
func (_ZapGetters *ZapGettersCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ZapGettersCaller) GetRequestIdByTimestamp ¶
func (_ZapGetters *ZapGettersCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ZapGettersCaller) GetRequestQ ¶
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ZapGettersCaller) GetRequestUintVars ¶
func (_ZapGetters *ZapGettersCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ZapGettersCaller) GetRequestVars ¶
func (_ZapGetters *ZapGettersCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(string, string, bytes32, uint256, uint256, uint256)
func (*ZapGettersCaller) GetStakerInfo ¶
func (_ZapGetters *ZapGettersCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ZapGettersCaller) GetSubmissionsByTimestamp ¶
func (_ZapGetters *ZapGettersCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ZapGettersCaller) GetSymbol ¶
func (_ZapGetters *ZapGettersCaller) GetSymbol(opts *bind.CallOpts) (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() view returns(string)
func (*ZapGettersCaller) GetTimestampbyRequestIDandIndex ¶
func (_ZapGetters *ZapGettersCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ZapGettersCaller) GetUintVar ¶
func (_ZapGetters *ZapGettersCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ZapGettersCaller) GetVariablesOnDeck ¶
func (_ZapGetters *ZapGettersCaller) GetVariablesOnDeck(opts *bind.CallOpts) (*big.Int, *big.Int, string, error)
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() view returns(uint256, uint256, string)
func (*ZapGettersCaller) IsInDispute ¶
func (_ZapGetters *ZapGettersCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ZapGettersCaller) RetrieveData ¶
func (_ZapGetters *ZapGettersCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapGettersCaller) TotalTokenSupply ¶
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb.
Solidity: function totalTokenSupply() view returns(uint256)
type ZapGettersCallerRaw ¶
type ZapGettersCallerRaw struct {
Contract *ZapGettersCaller // Generic read-only contract binding to access the raw methods on
}
ZapGettersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapGettersCallerRaw) Call ¶
func (_ZapGetters *ZapGettersCallerRaw) 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 ZapGettersCallerSession ¶
type ZapGettersCallerSession struct { Contract *ZapGettersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapGettersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ZapGettersCallerSession) Allowance ¶
func (_ZapGetters *ZapGettersCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ZapGettersCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ZapGettersCallerSession) DidMine ¶
func (_ZapGetters *ZapGettersCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ZapGettersCallerSession) DidVote ¶
func (_ZapGetters *ZapGettersCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ZapGettersCallerSession) GetAddressVars ¶
func (_ZapGetters *ZapGettersCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ZapGettersCallerSession) GetAllDisputeVars ¶
func (_ZapGetters *ZapGettersCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ZapGettersCallerSession) GetCurrentVariables ¶
func (_ZapGetters *ZapGettersCallerSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
GetCurrentVariables is a free data retrieval call binding the contract method 0xa22e407a.
Solidity: function getCurrentVariables() view returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*ZapGettersCallerSession) GetDisputeIdByDisputeHash ¶
func (_ZapGetters *ZapGettersCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ZapGettersCallerSession) GetDisputeUintVars ¶
func (_ZapGetters *ZapGettersCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ZapGettersCallerSession) GetLastNewValue ¶
func (_ZapGetters *ZapGettersCallerSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ZapGettersCallerSession) GetLastNewValueById ¶
func (_ZapGetters *ZapGettersCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ZapGettersCallerSession) GetMinedBlockNum ¶
func (_ZapGetters *ZapGettersCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapGettersCallerSession) GetMinersByRequestIdAndTimestamp ¶
func (_ZapGetters *ZapGettersCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ZapGettersCallerSession) GetName ¶
func (_ZapGetters *ZapGettersCallerSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() view returns(string)
func (*ZapGettersCallerSession) GetNewValueCountbyRequestId ¶
func (_ZapGetters *ZapGettersCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ZapGettersCallerSession) GetRequestIdByQueryHash ¶
func (_ZapGetters *ZapGettersCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(bytes32 _request) view returns(uint256)
func (*ZapGettersCallerSession) GetRequestIdByRequestQIndex ¶
func (_ZapGetters *ZapGettersCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ZapGettersCallerSession) GetRequestIdByTimestamp ¶
func (_ZapGetters *ZapGettersCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ZapGettersCallerSession) GetRequestQ ¶
func (_ZapGetters *ZapGettersCallerSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ZapGettersCallerSession) GetRequestUintVars ¶
func (_ZapGetters *ZapGettersCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ZapGettersCallerSession) GetRequestVars ¶
func (_ZapGetters *ZapGettersCallerSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(string, string, bytes32, uint256, uint256, uint256)
func (*ZapGettersCallerSession) GetStakerInfo ¶
func (_ZapGetters *ZapGettersCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ZapGettersCallerSession) GetSubmissionsByTimestamp ¶
func (_ZapGetters *ZapGettersCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ZapGettersCallerSession) GetSymbol ¶
func (_ZapGetters *ZapGettersCallerSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() view returns(string)
func (*ZapGettersCallerSession) GetTimestampbyRequestIDandIndex ¶
func (_ZapGetters *ZapGettersCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ZapGettersCallerSession) GetUintVar ¶
func (_ZapGetters *ZapGettersCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ZapGettersCallerSession) GetVariablesOnDeck ¶
func (_ZapGetters *ZapGettersCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() view returns(uint256, uint256, string)
func (*ZapGettersCallerSession) IsInDispute ¶
func (_ZapGetters *ZapGettersCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ZapGettersCallerSession) RetrieveData ¶
func (_ZapGetters *ZapGettersCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapGettersCallerSession) TotalTokenSupply ¶
func (_ZapGetters *ZapGettersCallerSession) TotalTokenSupply() (*big.Int, error)
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb.
Solidity: function totalTokenSupply() view returns(uint256)
type ZapGettersFilterer ¶
type ZapGettersFilterer struct {
// contains filtered or unexported fields
}
ZapGettersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapGettersFilterer ¶
func NewZapGettersFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapGettersFilterer, error)
NewZapGettersFilterer creates a new log filterer instance of ZapGetters, bound to a specific deployed contract.
type ZapGettersLibrary ¶
type ZapGettersLibrary struct { ZapGettersLibraryCaller // Read-only binding to the contract ZapGettersLibraryTransactor // Write-only binding to the contract ZapGettersLibraryFilterer // Log filterer for contract events }
ZapGettersLibrary is an auto generated Go binding around an Ethereum contract.
func DeployZapGettersLibrary ¶
func DeployZapGettersLibrary(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapGettersLibrary, error)
DeployZapGettersLibrary deploys a new Ethereum contract, binding an instance of ZapGettersLibrary to it.
func NewZapGettersLibrary ¶
func NewZapGettersLibrary(address common.Address, backend bind.ContractBackend) (*ZapGettersLibrary, error)
NewZapGettersLibrary creates a new instance of ZapGettersLibrary, bound to a specific deployed contract.
type ZapGettersLibraryCaller ¶
type ZapGettersLibraryCaller struct {
// contains filtered or unexported fields
}
ZapGettersLibraryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapGettersLibraryCaller ¶
func NewZapGettersLibraryCaller(address common.Address, caller bind.ContractCaller) (*ZapGettersLibraryCaller, error)
NewZapGettersLibraryCaller creates a new read-only instance of ZapGettersLibrary, bound to a specific deployed contract.
type ZapGettersLibraryCallerRaw ¶
type ZapGettersLibraryCallerRaw struct {
Contract *ZapGettersLibraryCaller // Generic read-only contract binding to access the raw methods on
}
ZapGettersLibraryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapGettersLibraryCallerRaw) Call ¶
func (_ZapGettersLibrary *ZapGettersLibraryCallerRaw) 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 ZapGettersLibraryCallerSession ¶
type ZapGettersLibraryCallerSession struct { Contract *ZapGettersLibraryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapGettersLibraryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZapGettersLibraryFilterer ¶
type ZapGettersLibraryFilterer struct {
// contains filtered or unexported fields
}
ZapGettersLibraryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapGettersLibraryFilterer ¶
func NewZapGettersLibraryFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapGettersLibraryFilterer, error)
NewZapGettersLibraryFilterer creates a new log filterer instance of ZapGettersLibrary, bound to a specific deployed contract.
func (*ZapGettersLibraryFilterer) FilterNewZapAddress ¶
func (_ZapGettersLibrary *ZapGettersLibraryFilterer) FilterNewZapAddress(opts *bind.FilterOpts) (*ZapGettersLibraryNewZapAddressIterator, error)
FilterNewZapAddress is a free log retrieval operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapGettersLibraryFilterer) ParseNewZapAddress ¶
func (_ZapGettersLibrary *ZapGettersLibraryFilterer) ParseNewZapAddress(log types.Log) (*ZapGettersLibraryNewZapAddress, error)
ParseNewZapAddress is a log parse operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapGettersLibraryFilterer) WatchNewZapAddress ¶
func (_ZapGettersLibrary *ZapGettersLibraryFilterer) WatchNewZapAddress(opts *bind.WatchOpts, sink chan<- *ZapGettersLibraryNewZapAddress) (event.Subscription, error)
WatchNewZapAddress is a free log subscription operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
type ZapGettersLibraryNewZapAddress ¶
type ZapGettersLibraryNewZapAddress struct { NewZap common.Address Raw types.Log // Blockchain specific contextual infos }
ZapGettersLibraryNewZapAddress represents a NewZapAddress event raised by the ZapGettersLibrary contract.
type ZapGettersLibraryNewZapAddressIterator ¶
type ZapGettersLibraryNewZapAddressIterator struct { Event *ZapGettersLibraryNewZapAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapGettersLibraryNewZapAddressIterator is returned from FilterNewZapAddress and is used to iterate over the raw logs and unpacked data for NewZapAddress events raised by the ZapGettersLibrary contract.
func (*ZapGettersLibraryNewZapAddressIterator) Close ¶
func (it *ZapGettersLibraryNewZapAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapGettersLibraryNewZapAddressIterator) Error ¶
func (it *ZapGettersLibraryNewZapAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapGettersLibraryNewZapAddressIterator) Next ¶
func (it *ZapGettersLibraryNewZapAddressIterator) 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 ZapGettersLibraryRaw ¶
type ZapGettersLibraryRaw struct {
Contract *ZapGettersLibrary // Generic contract binding to access the raw methods on
}
ZapGettersLibraryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapGettersLibraryRaw) Call ¶
func (_ZapGettersLibrary *ZapGettersLibraryRaw) 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 (*ZapGettersLibraryRaw) Transact ¶
func (_ZapGettersLibrary *ZapGettersLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapGettersLibraryRaw) Transfer ¶
func (_ZapGettersLibrary *ZapGettersLibraryRaw) 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 ZapGettersLibrarySession ¶
type ZapGettersLibrarySession struct { Contract *ZapGettersLibrary // 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 }
ZapGettersLibrarySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZapGettersLibraryTransactor ¶
type ZapGettersLibraryTransactor struct {
// contains filtered or unexported fields
}
ZapGettersLibraryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapGettersLibraryTransactor ¶
func NewZapGettersLibraryTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapGettersLibraryTransactor, error)
NewZapGettersLibraryTransactor creates a new write-only instance of ZapGettersLibrary, bound to a specific deployed contract.
type ZapGettersLibraryTransactorRaw ¶
type ZapGettersLibraryTransactorRaw struct {
Contract *ZapGettersLibraryTransactor // Generic write-only contract binding to access the raw methods on
}
ZapGettersLibraryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapGettersLibraryTransactorRaw) Transact ¶
func (_ZapGettersLibrary *ZapGettersLibraryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapGettersLibraryTransactorRaw) Transfer ¶
func (_ZapGettersLibrary *ZapGettersLibraryTransactorRaw) 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 ZapGettersLibraryTransactorSession ¶
type ZapGettersLibraryTransactorSession struct { Contract *ZapGettersLibraryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapGettersLibraryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZapGettersRaw ¶
type ZapGettersRaw struct {
Contract *ZapGetters // Generic contract binding to access the raw methods on
}
ZapGettersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapGettersRaw) Call ¶
func (_ZapGetters *ZapGettersRaw) 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 (*ZapGettersRaw) Transact ¶
func (_ZapGetters *ZapGettersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapGettersRaw) Transfer ¶
func (_ZapGetters *ZapGettersRaw) 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 ZapGettersSession ¶
type ZapGettersSession struct { Contract *ZapGetters // 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 }
ZapGettersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ZapGettersSession) Allowance ¶
func (_ZapGetters *ZapGettersSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ZapGettersSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ZapGettersSession) DidMine ¶
func (_ZapGetters *ZapGettersSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ZapGettersSession) DidVote ¶
func (_ZapGetters *ZapGettersSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ZapGettersSession) GetAddressVars ¶
func (_ZapGetters *ZapGettersSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ZapGettersSession) GetAllDisputeVars ¶
func (_ZapGetters *ZapGettersSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ZapGettersSession) GetCurrentVariables ¶
func (_ZapGetters *ZapGettersSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
GetCurrentVariables is a free data retrieval call binding the contract method 0xa22e407a.
Solidity: function getCurrentVariables() view returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*ZapGettersSession) GetDisputeIdByDisputeHash ¶
func (_ZapGetters *ZapGettersSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ZapGettersSession) GetDisputeUintVars ¶
func (_ZapGetters *ZapGettersSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ZapGettersSession) GetLastNewValue ¶
func (_ZapGetters *ZapGettersSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ZapGettersSession) GetLastNewValueById ¶
func (_ZapGetters *ZapGettersSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ZapGettersSession) GetMinedBlockNum ¶
func (_ZapGetters *ZapGettersSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapGettersSession) GetMinersByRequestIdAndTimestamp ¶
func (_ZapGetters *ZapGettersSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ZapGettersSession) GetName ¶
func (_ZapGetters *ZapGettersSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() view returns(string)
func (*ZapGettersSession) GetNewValueCountbyRequestId ¶
func (_ZapGetters *ZapGettersSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ZapGettersSession) GetRequestIdByQueryHash ¶
func (_ZapGetters *ZapGettersSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(bytes32 _request) view returns(uint256)
func (*ZapGettersSession) GetRequestIdByRequestQIndex ¶
func (_ZapGetters *ZapGettersSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ZapGettersSession) GetRequestIdByTimestamp ¶
func (_ZapGetters *ZapGettersSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ZapGettersSession) GetRequestQ ¶
func (_ZapGetters *ZapGettersSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ZapGettersSession) GetRequestUintVars ¶
func (_ZapGetters *ZapGettersSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ZapGettersSession) GetRequestVars ¶
func (_ZapGetters *ZapGettersSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(string, string, bytes32, uint256, uint256, uint256)
func (*ZapGettersSession) GetStakerInfo ¶
func (_ZapGetters *ZapGettersSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ZapGettersSession) GetSubmissionsByTimestamp ¶
func (_ZapGetters *ZapGettersSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ZapGettersSession) GetSymbol ¶
func (_ZapGetters *ZapGettersSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() view returns(string)
func (*ZapGettersSession) GetTimestampbyRequestIDandIndex ¶
func (_ZapGetters *ZapGettersSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ZapGettersSession) GetUintVar ¶
func (_ZapGetters *ZapGettersSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ZapGettersSession) GetVariablesOnDeck ¶
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() view returns(uint256, uint256, string)
func (*ZapGettersSession) IsInDispute ¶
func (_ZapGetters *ZapGettersSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ZapGettersSession) RetrieveData ¶
func (_ZapGetters *ZapGettersSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapGettersSession) TotalTokenSupply ¶
func (_ZapGetters *ZapGettersSession) TotalTokenSupply() (*big.Int, error)
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb.
Solidity: function totalTokenSupply() view returns(uint256)
type ZapGettersTransactor ¶
type ZapGettersTransactor struct {
// contains filtered or unexported fields
}
ZapGettersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapGettersTransactor ¶
func NewZapGettersTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapGettersTransactor, error)
NewZapGettersTransactor creates a new write-only instance of ZapGetters, bound to a specific deployed contract.
type ZapGettersTransactorRaw ¶
type ZapGettersTransactorRaw struct {
Contract *ZapGettersTransactor // Generic write-only contract binding to access the raw methods on
}
ZapGettersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapGettersTransactorRaw) Transact ¶
func (_ZapGetters *ZapGettersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapGettersTransactorRaw) Transfer ¶
func (_ZapGetters *ZapGettersTransactorRaw) 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 ZapGettersTransactorSession ¶
type ZapGettersTransactorSession struct { Contract *ZapGettersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapGettersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZapLibrary ¶
type ZapLibrary struct { ZapLibraryCaller // Read-only binding to the contract ZapLibraryTransactor // Write-only binding to the contract ZapLibraryFilterer // Log filterer for contract events }
ZapLibrary is an auto generated Go binding around an Ethereum contract.
func DeployZapLibrary ¶
func DeployZapLibrary(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapLibrary, error)
DeployZapLibrary deploys a new Ethereum contract, binding an instance of ZapLibrary to it.
func NewZapLibrary ¶
func NewZapLibrary(address common.Address, backend bind.ContractBackend) (*ZapLibrary, error)
NewZapLibrary creates a new instance of ZapLibrary, bound to a specific deployed contract.
type ZapLibraryCaller ¶
type ZapLibraryCaller struct {
// contains filtered or unexported fields
}
ZapLibraryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapLibraryCaller ¶
func NewZapLibraryCaller(address common.Address, caller bind.ContractCaller) (*ZapLibraryCaller, error)
NewZapLibraryCaller creates a new read-only instance of ZapLibrary, bound to a specific deployed contract.
type ZapLibraryCallerRaw ¶
type ZapLibraryCallerRaw struct {
Contract *ZapLibraryCaller // Generic read-only contract binding to access the raw methods on
}
ZapLibraryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapLibraryCallerRaw) Call ¶
func (_ZapLibrary *ZapLibraryCallerRaw) 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 ZapLibraryCallerSession ¶
type ZapLibraryCallerSession struct { Contract *ZapLibraryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapLibraryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZapLibraryDataRequested ¶
type ZapLibraryDataRequested struct { Sender common.Address Query string QuerySymbol string Granularity *big.Int RequestId *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapLibraryDataRequested represents a DataRequested event raised by the ZapLibrary contract.
type ZapLibraryDataRequestedIterator ¶
type ZapLibraryDataRequestedIterator struct { Event *ZapLibraryDataRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryDataRequestedIterator is returned from FilterDataRequested and is used to iterate over the raw logs and unpacked data for DataRequested events raised by the ZapLibrary contract.
func (*ZapLibraryDataRequestedIterator) Close ¶
func (it *ZapLibraryDataRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryDataRequestedIterator) Error ¶
func (it *ZapLibraryDataRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryDataRequestedIterator) Next ¶
func (it *ZapLibraryDataRequestedIterator) 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 ZapLibraryFilterer ¶
type ZapLibraryFilterer struct {
// contains filtered or unexported fields
}
ZapLibraryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapLibraryFilterer ¶
func NewZapLibraryFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapLibraryFilterer, error)
NewZapLibraryFilterer creates a new log filterer instance of ZapLibrary, bound to a specific deployed contract.
func (*ZapLibraryFilterer) FilterDataRequested ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterDataRequested(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapLibraryDataRequestedIterator, error)
FilterDataRequested is a free log retrieval operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: event DataRequested(address indexed _sender, string _query, string _querySymbol, uint256 _granularity, uint256 indexed _requestId, uint256 _totalTips)
func (*ZapLibraryFilterer) FilterNewChallenge ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentRequestId []*big.Int) (*ZapLibraryNewChallengeIterator, error)
FilterNewChallenge is a free log retrieval operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: event NewChallenge(bytes32 _currentChallenge, uint256 indexed _currentRequestId, uint256 _difficulty, uint256 _multiplier, string _query, uint256 _totalTips)
func (*ZapLibraryFilterer) FilterNewRequestOnDeck ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterNewRequestOnDeck(opts *bind.FilterOpts, _requestId []*big.Int) (*ZapLibraryNewRequestOnDeckIterator, error)
FilterNewRequestOnDeck is a free log retrieval operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: event NewRequestOnDeck(uint256 indexed _requestId, string _query, bytes32 _onDeckQueryHash, uint256 _onDeckTotalTips)
func (*ZapLibraryFilterer) FilterNewValue ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterNewValue(opts *bind.FilterOpts, _requestId []*big.Int) (*ZapLibraryNewValueIterator, error)
FilterNewValue is a free log retrieval operation binding the contract event 0xc509d04e0782579ee59912139246ccbdf6c36c43abd90591d912017f3467dd16.
Solidity: event NewValue(uint256 indexed _requestId, uint256 _time, uint256 _value, uint256 _totalTips, bytes32 _currentChallenge)
func (*ZapLibraryFilterer) FilterNonceSubmitted ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterNonceSubmitted(opts *bind.FilterOpts, _miner []common.Address, _requestId []*big.Int) (*ZapLibraryNonceSubmittedIterator, error)
FilterNonceSubmitted is a free log retrieval operation binding the contract event 0xe6d63a2aee0aaed2ab49702313ce54114f2145af219d7db30d6624af9e6dffc4.
Solidity: event NonceSubmitted(address indexed _miner, string _nonce, uint256 indexed _requestId, uint256 _value, bytes32 _currentChallenge)
func (*ZapLibraryFilterer) FilterOwnershipTransferred ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _previousOwner []common.Address, _newOwner []common.Address) (*ZapLibraryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed _previousOwner, address indexed _newOwner)
func (*ZapLibraryFilterer) FilterTipAdded ¶
func (_ZapLibrary *ZapLibraryFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ZapLibraryTipAddedIterator, error)
FilterTipAdded is a free log retrieval operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ZapLibraryFilterer) ParseDataRequested ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseDataRequested(log types.Log) (*ZapLibraryDataRequested, error)
ParseDataRequested is a log parse operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: event DataRequested(address indexed _sender, string _query, string _querySymbol, uint256 _granularity, uint256 indexed _requestId, uint256 _totalTips)
func (*ZapLibraryFilterer) ParseNewChallenge ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseNewChallenge(log types.Log) (*ZapLibraryNewChallenge, error)
ParseNewChallenge is a log parse operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: event NewChallenge(bytes32 _currentChallenge, uint256 indexed _currentRequestId, uint256 _difficulty, uint256 _multiplier, string _query, uint256 _totalTips)
func (*ZapLibraryFilterer) ParseNewRequestOnDeck ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseNewRequestOnDeck(log types.Log) (*ZapLibraryNewRequestOnDeck, error)
ParseNewRequestOnDeck is a log parse operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: event NewRequestOnDeck(uint256 indexed _requestId, string _query, bytes32 _onDeckQueryHash, uint256 _onDeckTotalTips)
func (*ZapLibraryFilterer) ParseNewValue ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseNewValue(log types.Log) (*ZapLibraryNewValue, error)
ParseNewValue is a log parse operation binding the contract event 0xc509d04e0782579ee59912139246ccbdf6c36c43abd90591d912017f3467dd16.
Solidity: event NewValue(uint256 indexed _requestId, uint256 _time, uint256 _value, uint256 _totalTips, bytes32 _currentChallenge)
func (*ZapLibraryFilterer) ParseNonceSubmitted ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseNonceSubmitted(log types.Log) (*ZapLibraryNonceSubmitted, error)
ParseNonceSubmitted is a log parse operation binding the contract event 0xe6d63a2aee0aaed2ab49702313ce54114f2145af219d7db30d6624af9e6dffc4.
Solidity: event NonceSubmitted(address indexed _miner, string _nonce, uint256 indexed _requestId, uint256 _value, bytes32 _currentChallenge)
func (*ZapLibraryFilterer) ParseOwnershipTransferred ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseOwnershipTransferred(log types.Log) (*ZapLibraryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed _previousOwner, address indexed _newOwner)
func (*ZapLibraryFilterer) ParseTipAdded ¶
func (_ZapLibrary *ZapLibraryFilterer) ParseTipAdded(log types.Log) (*ZapLibraryTipAdded, error)
ParseTipAdded is a log parse operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ZapLibraryFilterer) WatchDataRequested ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchDataRequested(opts *bind.WatchOpts, sink chan<- *ZapLibraryDataRequested, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchDataRequested is a free log subscription operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: event DataRequested(address indexed _sender, string _query, string _querySymbol, uint256 _granularity, uint256 indexed _requestId, uint256 _totalTips)
func (*ZapLibraryFilterer) WatchNewChallenge ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *ZapLibraryNewChallenge, _currentRequestId []*big.Int) (event.Subscription, error)
WatchNewChallenge is a free log subscription operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: event NewChallenge(bytes32 _currentChallenge, uint256 indexed _currentRequestId, uint256 _difficulty, uint256 _multiplier, string _query, uint256 _totalTips)
func (*ZapLibraryFilterer) WatchNewRequestOnDeck ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchNewRequestOnDeck(opts *bind.WatchOpts, sink chan<- *ZapLibraryNewRequestOnDeck, _requestId []*big.Int) (event.Subscription, error)
WatchNewRequestOnDeck is a free log subscription operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: event NewRequestOnDeck(uint256 indexed _requestId, string _query, bytes32 _onDeckQueryHash, uint256 _onDeckTotalTips)
func (*ZapLibraryFilterer) WatchNewValue ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchNewValue(opts *bind.WatchOpts, sink chan<- *ZapLibraryNewValue, _requestId []*big.Int) (event.Subscription, error)
WatchNewValue is a free log subscription operation binding the contract event 0xc509d04e0782579ee59912139246ccbdf6c36c43abd90591d912017f3467dd16.
Solidity: event NewValue(uint256 indexed _requestId, uint256 _time, uint256 _value, uint256 _totalTips, bytes32 _currentChallenge)
func (*ZapLibraryFilterer) WatchNonceSubmitted ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchNonceSubmitted(opts *bind.WatchOpts, sink chan<- *ZapLibraryNonceSubmitted, _miner []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchNonceSubmitted is a free log subscription operation binding the contract event 0xe6d63a2aee0aaed2ab49702313ce54114f2145af219d7db30d6624af9e6dffc4.
Solidity: event NonceSubmitted(address indexed _miner, string _nonce, uint256 indexed _requestId, uint256 _value, bytes32 _currentChallenge)
func (*ZapLibraryFilterer) WatchOwnershipTransferred ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZapLibraryOwnershipTransferred, _previousOwner []common.Address, _newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed _previousOwner, address indexed _newOwner)
func (*ZapLibraryFilterer) WatchTipAdded ¶
func (_ZapLibrary *ZapLibraryFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *ZapLibraryTipAdded, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchTipAdded is a free log subscription operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
type ZapLibraryNewChallenge ¶
type ZapLibraryNewChallenge struct { CurrentChallenge [32]byte CurrentRequestId *big.Int Difficulty *big.Int Multiplier *big.Int Query string TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapLibraryNewChallenge represents a NewChallenge event raised by the ZapLibrary contract.
type ZapLibraryNewChallengeIterator ¶
type ZapLibraryNewChallengeIterator struct { Event *ZapLibraryNewChallenge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryNewChallengeIterator is returned from FilterNewChallenge and is used to iterate over the raw logs and unpacked data for NewChallenge events raised by the ZapLibrary contract.
func (*ZapLibraryNewChallengeIterator) Close ¶
func (it *ZapLibraryNewChallengeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryNewChallengeIterator) Error ¶
func (it *ZapLibraryNewChallengeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryNewChallengeIterator) Next ¶
func (it *ZapLibraryNewChallengeIterator) 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 ZapLibraryNewRequestOnDeck ¶
type ZapLibraryNewRequestOnDeck struct { RequestId *big.Int Query string OnDeckQueryHash [32]byte OnDeckTotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapLibraryNewRequestOnDeck represents a NewRequestOnDeck event raised by the ZapLibrary contract.
type ZapLibraryNewRequestOnDeckIterator ¶
type ZapLibraryNewRequestOnDeckIterator struct { Event *ZapLibraryNewRequestOnDeck // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryNewRequestOnDeckIterator is returned from FilterNewRequestOnDeck and is used to iterate over the raw logs and unpacked data for NewRequestOnDeck events raised by the ZapLibrary contract.
func (*ZapLibraryNewRequestOnDeckIterator) Close ¶
func (it *ZapLibraryNewRequestOnDeckIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryNewRequestOnDeckIterator) Error ¶
func (it *ZapLibraryNewRequestOnDeckIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryNewRequestOnDeckIterator) Next ¶
func (it *ZapLibraryNewRequestOnDeckIterator) 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 ZapLibraryNewValue ¶
type ZapLibraryNewValue struct { RequestId *big.Int Time *big.Int Value *big.Int TotalTips *big.Int CurrentChallenge [32]byte Raw types.Log // Blockchain specific contextual infos }
ZapLibraryNewValue represents a NewValue event raised by the ZapLibrary contract.
type ZapLibraryNewValueIterator ¶
type ZapLibraryNewValueIterator struct { Event *ZapLibraryNewValue // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryNewValueIterator is returned from FilterNewValue and is used to iterate over the raw logs and unpacked data for NewValue events raised by the ZapLibrary contract.
func (*ZapLibraryNewValueIterator) Close ¶
func (it *ZapLibraryNewValueIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryNewValueIterator) Error ¶
func (it *ZapLibraryNewValueIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryNewValueIterator) Next ¶
func (it *ZapLibraryNewValueIterator) 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 ZapLibraryNonceSubmitted ¶
type ZapLibraryNonceSubmitted struct { Miner common.Address Nonce string RequestId *big.Int Value *big.Int CurrentChallenge [32]byte Raw types.Log // Blockchain specific contextual infos }
ZapLibraryNonceSubmitted represents a NonceSubmitted event raised by the ZapLibrary contract.
type ZapLibraryNonceSubmittedIterator ¶
type ZapLibraryNonceSubmittedIterator struct { Event *ZapLibraryNonceSubmitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryNonceSubmittedIterator is returned from FilterNonceSubmitted and is used to iterate over the raw logs and unpacked data for NonceSubmitted events raised by the ZapLibrary contract.
func (*ZapLibraryNonceSubmittedIterator) Close ¶
func (it *ZapLibraryNonceSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryNonceSubmittedIterator) Error ¶
func (it *ZapLibraryNonceSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryNonceSubmittedIterator) Next ¶
func (it *ZapLibraryNonceSubmittedIterator) 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 ZapLibraryOwnershipTransferred ¶
type ZapLibraryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ZapLibraryOwnershipTransferred represents a OwnershipTransferred event raised by the ZapLibrary contract.
type ZapLibraryOwnershipTransferredIterator ¶
type ZapLibraryOwnershipTransferredIterator struct { Event *ZapLibraryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ZapLibrary contract.
func (*ZapLibraryOwnershipTransferredIterator) Close ¶
func (it *ZapLibraryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryOwnershipTransferredIterator) Error ¶
func (it *ZapLibraryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryOwnershipTransferredIterator) Next ¶
func (it *ZapLibraryOwnershipTransferredIterator) 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 ZapLibraryRaw ¶
type ZapLibraryRaw struct {
Contract *ZapLibrary // Generic contract binding to access the raw methods on
}
ZapLibraryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapLibraryRaw) Call ¶
func (_ZapLibrary *ZapLibraryRaw) 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 (*ZapLibraryRaw) Transact ¶
func (_ZapLibrary *ZapLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapLibraryRaw) Transfer ¶
func (_ZapLibrary *ZapLibraryRaw) 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 ZapLibrarySession ¶
type ZapLibrarySession struct { Contract *ZapLibrary // 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 }
ZapLibrarySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZapLibraryTipAdded ¶
type ZapLibraryTipAdded struct { Sender common.Address RequestId *big.Int Tip *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapLibraryTipAdded represents a TipAdded event raised by the ZapLibrary contract.
type ZapLibraryTipAddedIterator ¶
type ZapLibraryTipAddedIterator struct { Event *ZapLibraryTipAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapLibraryTipAddedIterator is returned from FilterTipAdded and is used to iterate over the raw logs and unpacked data for TipAdded events raised by the ZapLibrary contract.
func (*ZapLibraryTipAddedIterator) Close ¶
func (it *ZapLibraryTipAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapLibraryTipAddedIterator) Error ¶
func (it *ZapLibraryTipAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapLibraryTipAddedIterator) Next ¶
func (it *ZapLibraryTipAddedIterator) 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 ZapLibraryTransactor ¶
type ZapLibraryTransactor struct {
// contains filtered or unexported fields
}
ZapLibraryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapLibraryTransactor ¶
func NewZapLibraryTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapLibraryTransactor, error)
NewZapLibraryTransactor creates a new write-only instance of ZapLibrary, bound to a specific deployed contract.
type ZapLibraryTransactorRaw ¶
type ZapLibraryTransactorRaw struct {
Contract *ZapLibraryTransactor // Generic write-only contract binding to access the raw methods on
}
ZapLibraryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapLibraryTransactorRaw) Transact ¶
func (_ZapLibrary *ZapLibraryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapLibraryTransactorRaw) Transfer ¶
func (_ZapLibrary *ZapLibraryTransactorRaw) 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 ZapLibraryTransactorSession ¶
type ZapLibraryTransactorSession struct { Contract *ZapLibraryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapLibraryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZapMaster ¶
type ZapMaster struct { ZapMasterCaller // Read-only binding to the contract ZapMasterTransactor // Write-only binding to the contract ZapMasterFilterer // Log filterer for contract events }
ZapMaster is an auto generated Go binding around an Ethereum contract.
func DeployZapMaster ¶
func DeployZapMaster(auth *bind.TransactOpts, backend bind.ContractBackend, _zapContract common.Address, tokenAddress common.Address) (common.Address, *types.Transaction, *ZapMaster, error)
DeployZapMaster deploys a new Ethereum contract, binding an instance of ZapMaster to it.
func NewZapMaster ¶
NewZapMaster creates a new instance of ZapMaster, bound to a specific deployed contract.
type ZapMasterCaller ¶
type ZapMasterCaller struct {
// contains filtered or unexported fields
}
ZapMasterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapMasterCaller ¶
func NewZapMasterCaller(address common.Address, caller bind.ContractCaller) (*ZapMasterCaller, error)
NewZapMasterCaller creates a new read-only instance of ZapMaster, bound to a specific deployed contract.
func (*ZapMasterCaller) Allowance ¶
func (_ZapMaster *ZapMasterCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ZapMasterCaller) BalanceOf ¶
func (_ZapMaster *ZapMasterCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ZapMasterCaller) DidMine ¶
func (_ZapMaster *ZapMasterCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ZapMasterCaller) DidVote ¶
func (_ZapMaster *ZapMasterCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ZapMasterCaller) GetAddressVars ¶
func (_ZapMaster *ZapMasterCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ZapMasterCaller) GetAllDisputeVars ¶
func (_ZapMaster *ZapMasterCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ZapMasterCaller) GetCurrentVariables ¶
func (_ZapMaster *ZapMasterCaller) GetCurrentVariables(opts *bind.CallOpts) ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
GetCurrentVariables is a free data retrieval call binding the contract method 0xa22e407a.
Solidity: function getCurrentVariables() view returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*ZapMasterCaller) GetDisputeIdByDisputeHash ¶
func (_ZapMaster *ZapMasterCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ZapMasterCaller) GetDisputeUintVars ¶
func (_ZapMaster *ZapMasterCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ZapMasterCaller) GetLastNewValue ¶
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ZapMasterCaller) GetLastNewValueById ¶
func (_ZapMaster *ZapMasterCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ZapMasterCaller) GetMinedBlockNum ¶
func (_ZapMaster *ZapMasterCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapMasterCaller) GetMinersByRequestIdAndTimestamp ¶
func (_ZapMaster *ZapMasterCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ZapMasterCaller) GetName ¶
func (_ZapMaster *ZapMasterCaller) GetName(opts *bind.CallOpts) (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() view returns(string)
func (*ZapMasterCaller) GetNewValueCountbyRequestId ¶
func (_ZapMaster *ZapMasterCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ZapMasterCaller) GetRequestIdByQueryHash ¶
func (_ZapMaster *ZapMasterCaller) GetRequestIdByQueryHash(opts *bind.CallOpts, _request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(bytes32 _request) view returns(uint256)
func (*ZapMasterCaller) GetRequestIdByRequestQIndex ¶
func (_ZapMaster *ZapMasterCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ZapMasterCaller) GetRequestIdByTimestamp ¶
func (_ZapMaster *ZapMasterCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ZapMasterCaller) GetRequestQ ¶
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ZapMasterCaller) GetRequestUintVars ¶
func (_ZapMaster *ZapMasterCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ZapMasterCaller) GetRequestVars ¶
func (_ZapMaster *ZapMasterCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(string, string, bytes32, uint256, uint256, uint256)
func (*ZapMasterCaller) GetStakerInfo ¶
func (_ZapMaster *ZapMasterCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ZapMasterCaller) GetSubmissionsByTimestamp ¶
func (_ZapMaster *ZapMasterCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ZapMasterCaller) GetSymbol ¶
func (_ZapMaster *ZapMasterCaller) GetSymbol(opts *bind.CallOpts) (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() view returns(string)
func (*ZapMasterCaller) GetTimestampbyRequestIDandIndex ¶
func (_ZapMaster *ZapMasterCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ZapMasterCaller) GetUintVar ¶
func (_ZapMaster *ZapMasterCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ZapMasterCaller) GetVariablesOnDeck ¶
func (_ZapMaster *ZapMasterCaller) GetVariablesOnDeck(opts *bind.CallOpts) (*big.Int, *big.Int, string, error)
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() view returns(uint256, uint256, string)
func (*ZapMasterCaller) IsInDispute ¶
func (_ZapMaster *ZapMasterCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ZapMasterCaller) RetrieveData ¶
func (_ZapMaster *ZapMasterCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapMasterCaller) TotalTokenSupply ¶
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb.
Solidity: function totalTokenSupply() view returns(uint256)
type ZapMasterCallerRaw ¶
type ZapMasterCallerRaw struct {
Contract *ZapMasterCaller // Generic read-only contract binding to access the raw methods on
}
ZapMasterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapMasterCallerRaw) Call ¶
func (_ZapMaster *ZapMasterCallerRaw) 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 ZapMasterCallerSession ¶
type ZapMasterCallerSession struct { Contract *ZapMasterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapMasterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ZapMasterCallerSession) Allowance ¶
func (_ZapMaster *ZapMasterCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ZapMasterCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ZapMasterCallerSession) DidMine ¶
func (_ZapMaster *ZapMasterCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ZapMasterCallerSession) DidVote ¶
func (_ZapMaster *ZapMasterCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ZapMasterCallerSession) GetAddressVars ¶
func (_ZapMaster *ZapMasterCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ZapMasterCallerSession) GetAllDisputeVars ¶
func (_ZapMaster *ZapMasterCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ZapMasterCallerSession) GetCurrentVariables ¶
func (_ZapMaster *ZapMasterCallerSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
GetCurrentVariables is a free data retrieval call binding the contract method 0xa22e407a.
Solidity: function getCurrentVariables() view returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*ZapMasterCallerSession) GetDisputeIdByDisputeHash ¶
func (_ZapMaster *ZapMasterCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ZapMasterCallerSession) GetDisputeUintVars ¶
func (_ZapMaster *ZapMasterCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ZapMasterCallerSession) GetLastNewValue ¶
func (_ZapMaster *ZapMasterCallerSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ZapMasterCallerSession) GetLastNewValueById ¶
func (_ZapMaster *ZapMasterCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ZapMasterCallerSession) GetMinedBlockNum ¶
func (_ZapMaster *ZapMasterCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapMasterCallerSession) GetMinersByRequestIdAndTimestamp ¶
func (_ZapMaster *ZapMasterCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ZapMasterCallerSession) GetName ¶
func (_ZapMaster *ZapMasterCallerSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() view returns(string)
func (*ZapMasterCallerSession) GetNewValueCountbyRequestId ¶
func (_ZapMaster *ZapMasterCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ZapMasterCallerSession) GetRequestIdByQueryHash ¶
func (_ZapMaster *ZapMasterCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(bytes32 _request) view returns(uint256)
func (*ZapMasterCallerSession) GetRequestIdByRequestQIndex ¶
func (_ZapMaster *ZapMasterCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ZapMasterCallerSession) GetRequestIdByTimestamp ¶
func (_ZapMaster *ZapMasterCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ZapMasterCallerSession) GetRequestQ ¶
func (_ZapMaster *ZapMasterCallerSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ZapMasterCallerSession) GetRequestUintVars ¶
func (_ZapMaster *ZapMasterCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ZapMasterCallerSession) GetRequestVars ¶
func (_ZapMaster *ZapMasterCallerSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(string, string, bytes32, uint256, uint256, uint256)
func (*ZapMasterCallerSession) GetStakerInfo ¶
func (_ZapMaster *ZapMasterCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ZapMasterCallerSession) GetSubmissionsByTimestamp ¶
func (_ZapMaster *ZapMasterCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ZapMasterCallerSession) GetSymbol ¶
func (_ZapMaster *ZapMasterCallerSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() view returns(string)
func (*ZapMasterCallerSession) GetTimestampbyRequestIDandIndex ¶
func (_ZapMaster *ZapMasterCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ZapMasterCallerSession) GetUintVar ¶
func (_ZapMaster *ZapMasterCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ZapMasterCallerSession) GetVariablesOnDeck ¶
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() view returns(uint256, uint256, string)
func (*ZapMasterCallerSession) IsInDispute ¶
func (_ZapMaster *ZapMasterCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ZapMasterCallerSession) RetrieveData ¶
func (_ZapMaster *ZapMasterCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapMasterCallerSession) TotalTokenSupply ¶
func (_ZapMaster *ZapMasterCallerSession) TotalTokenSupply() (*big.Int, error)
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb.
Solidity: function totalTokenSupply() view returns(uint256)
type ZapMasterFilterer ¶
type ZapMasterFilterer struct {
// contains filtered or unexported fields
}
ZapMasterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapMasterFilterer ¶
func NewZapMasterFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapMasterFilterer, error)
NewZapMasterFilterer creates a new log filterer instance of ZapMaster, bound to a specific deployed contract.
func (*ZapMasterFilterer) FilterNewZapAddress ¶
func (_ZapMaster *ZapMasterFilterer) FilterNewZapAddress(opts *bind.FilterOpts) (*ZapMasterNewZapAddressIterator, error)
FilterNewZapAddress is a free log retrieval operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapMasterFilterer) ParseNewZapAddress ¶
func (_ZapMaster *ZapMasterFilterer) ParseNewZapAddress(log types.Log) (*ZapMasterNewZapAddress, error)
ParseNewZapAddress is a log parse operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
func (*ZapMasterFilterer) WatchNewZapAddress ¶
func (_ZapMaster *ZapMasterFilterer) WatchNewZapAddress(opts *bind.WatchOpts, sink chan<- *ZapMasterNewZapAddress) (event.Subscription, error)
WatchNewZapAddress is a free log subscription operation binding the contract event 0x4a9a276906262ed9ed5e1fd15850a5f2b951b97198cc2fc0d32625f1bf3ab270.
Solidity: event NewZapAddress(address _newZap)
type ZapMasterNewZapAddress ¶
type ZapMasterNewZapAddress struct { NewZap common.Address Raw types.Log // Blockchain specific contextual infos }
ZapMasterNewZapAddress represents a NewZapAddress event raised by the ZapMaster contract.
type ZapMasterNewZapAddressIterator ¶
type ZapMasterNewZapAddressIterator struct { Event *ZapMasterNewZapAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapMasterNewZapAddressIterator is returned from FilterNewZapAddress and is used to iterate over the raw logs and unpacked data for NewZapAddress events raised by the ZapMaster contract.
func (*ZapMasterNewZapAddressIterator) Close ¶
func (it *ZapMasterNewZapAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapMasterNewZapAddressIterator) Error ¶
func (it *ZapMasterNewZapAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapMasterNewZapAddressIterator) Next ¶
func (it *ZapMasterNewZapAddressIterator) 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 ZapMasterRaw ¶
type ZapMasterRaw struct {
Contract *ZapMaster // Generic contract binding to access the raw methods on
}
ZapMasterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapMasterRaw) Call ¶
func (_ZapMaster *ZapMasterRaw) 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 (*ZapMasterRaw) Transact ¶
func (_ZapMaster *ZapMasterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapMasterRaw) Transfer ¶
func (_ZapMaster *ZapMasterRaw) 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 ZapMasterSession ¶
type ZapMasterSession struct { Contract *ZapMaster // 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 }
ZapMasterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ZapMasterSession) Allowance ¶
func (_ZapMaster *ZapMasterSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ZapMasterSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ZapMasterSession) ChangeDeity ¶
func (_ZapMaster *ZapMasterSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(address _newDeity) returns()
func (*ZapMasterSession) ChangeVaultContract ¶
func (_ZapMaster *ZapMasterSession) ChangeVaultContract(_vaultContract common.Address) (*types.Transaction, error)
ChangeVaultContract is a paid mutator transaction binding the contract method 0xaf2a5102.
Solidity: function changeVaultContract(address _vaultContract) returns()
func (*ZapMasterSession) ChangeZapContract ¶
func (_ZapMaster *ZapMasterSession) ChangeZapContract(_zapContract common.Address) (*types.Transaction, error)
ChangeZapContract is a paid mutator transaction binding the contract method 0xe4203f66.
Solidity: function changeZapContract(address _zapContract) returns()
func (*ZapMasterSession) DidMine ¶
func (_ZapMaster *ZapMasterSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ZapMasterSession) DidVote ¶
func (_ZapMaster *ZapMasterSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ZapMasterSession) Fallback ¶
func (_ZapMaster *ZapMasterSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*ZapMasterSession) GetAddressVars ¶
func (_ZapMaster *ZapMasterSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ZapMasterSession) GetAllDisputeVars ¶
func (_ZapMaster *ZapMasterSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ZapMasterSession) GetCurrentVariables ¶
func (_ZapMaster *ZapMasterSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
GetCurrentVariables is a free data retrieval call binding the contract method 0xa22e407a.
Solidity: function getCurrentVariables() view returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*ZapMasterSession) GetDisputeIdByDisputeHash ¶
func (_ZapMaster *ZapMasterSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ZapMasterSession) GetDisputeUintVars ¶
func (_ZapMaster *ZapMasterSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ZapMasterSession) GetLastNewValue ¶
func (_ZapMaster *ZapMasterSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ZapMasterSession) GetLastNewValueById ¶
func (_ZapMaster *ZapMasterSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ZapMasterSession) GetMinedBlockNum ¶
func (_ZapMaster *ZapMasterSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapMasterSession) GetMinersByRequestIdAndTimestamp ¶
func (_ZapMaster *ZapMasterSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ZapMasterSession) GetName ¶
func (_ZapMaster *ZapMasterSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() view returns(string)
func (*ZapMasterSession) GetNewValueCountbyRequestId ¶
func (_ZapMaster *ZapMasterSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ZapMasterSession) GetRequestIdByQueryHash ¶
func (_ZapMaster *ZapMasterSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(bytes32 _request) view returns(uint256)
func (*ZapMasterSession) GetRequestIdByRequestQIndex ¶
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ZapMasterSession) GetRequestIdByTimestamp ¶
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ZapMasterSession) GetRequestQ ¶
func (_ZapMaster *ZapMasterSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ZapMasterSession) GetRequestUintVars ¶
func (_ZapMaster *ZapMasterSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ZapMasterSession) GetRequestVars ¶
func (_ZapMaster *ZapMasterSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(string, string, bytes32, uint256, uint256, uint256)
func (*ZapMasterSession) GetStakerInfo ¶
func (_ZapMaster *ZapMasterSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ZapMasterSession) GetSubmissionsByTimestamp ¶
func (_ZapMaster *ZapMasterSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ZapMasterSession) GetSymbol ¶
func (_ZapMaster *ZapMasterSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() view returns(string)
func (*ZapMasterSession) GetTimestampbyRequestIDandIndex ¶
func (_ZapMaster *ZapMasterSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ZapMasterSession) GetUintVar ¶
func (_ZapMaster *ZapMasterSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ZapMasterSession) GetVariablesOnDeck ¶
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() view returns(uint256, uint256, string)
func (*ZapMasterSession) IsInDispute ¶
func (_ZapMaster *ZapMasterSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ZapMasterSession) RetrieveData ¶
func (_ZapMaster *ZapMasterSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ZapMasterSession) TotalTokenSupply ¶
func (_ZapMaster *ZapMasterSession) TotalTokenSupply() (*big.Int, error)
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb.
Solidity: function totalTokenSupply() view returns(uint256)
type ZapMasterTransactor ¶
type ZapMasterTransactor struct {
// contains filtered or unexported fields
}
ZapMasterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapMasterTransactor ¶
func NewZapMasterTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapMasterTransactor, error)
NewZapMasterTransactor creates a new write-only instance of ZapMaster, bound to a specific deployed contract.
func (*ZapMasterTransactor) ChangeDeity ¶
func (_ZapMaster *ZapMasterTransactor) ChangeDeity(opts *bind.TransactOpts, _newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(address _newDeity) returns()
func (*ZapMasterTransactor) ChangeVaultContract ¶
func (_ZapMaster *ZapMasterTransactor) ChangeVaultContract(opts *bind.TransactOpts, _vaultContract common.Address) (*types.Transaction, error)
ChangeVaultContract is a paid mutator transaction binding the contract method 0xaf2a5102.
Solidity: function changeVaultContract(address _vaultContract) returns()
func (*ZapMasterTransactor) ChangeZapContract ¶
func (_ZapMaster *ZapMasterTransactor) ChangeZapContract(opts *bind.TransactOpts, _zapContract common.Address) (*types.Transaction, error)
ChangeZapContract is a paid mutator transaction binding the contract method 0xe4203f66.
Solidity: function changeZapContract(address _zapContract) returns()
func (*ZapMasterTransactor) Fallback ¶
func (_ZapMaster *ZapMasterTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
type ZapMasterTransactorRaw ¶
type ZapMasterTransactorRaw struct {
Contract *ZapMasterTransactor // Generic write-only contract binding to access the raw methods on
}
ZapMasterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapMasterTransactorRaw) Transact ¶
func (_ZapMaster *ZapMasterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapMasterTransactorRaw) Transfer ¶
func (_ZapMaster *ZapMasterTransactorRaw) 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 ZapMasterTransactorSession ¶
type ZapMasterTransactorSession struct { Contract *ZapMasterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapMasterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ZapMasterTransactorSession) ChangeDeity ¶
func (_ZapMaster *ZapMasterTransactorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(address _newDeity) returns()
func (*ZapMasterTransactorSession) ChangeVaultContract ¶
func (_ZapMaster *ZapMasterTransactorSession) ChangeVaultContract(_vaultContract common.Address) (*types.Transaction, error)
ChangeVaultContract is a paid mutator transaction binding the contract method 0xaf2a5102.
Solidity: function changeVaultContract(address _vaultContract) returns()
func (*ZapMasterTransactorSession) ChangeZapContract ¶
func (_ZapMaster *ZapMasterTransactorSession) ChangeZapContract(_zapContract common.Address) (*types.Transaction, error)
ChangeZapContract is a paid mutator transaction binding the contract method 0xe4203f66.
Solidity: function changeZapContract(address _zapContract) returns()
func (*ZapMasterTransactorSession) Fallback ¶
func (_ZapMaster *ZapMasterTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
type ZapNewChallenge ¶
type ZapNewChallenge struct { CurrentChallenge [32]byte CurrentRequestId *big.Int Difficulty *big.Int Multiplier *big.Int Query string TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapNewChallenge represents a NewChallenge event raised by the Zap contract.
type ZapNewChallengeIterator ¶
type ZapNewChallengeIterator struct { Event *ZapNewChallenge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapNewChallengeIterator is returned from FilterNewChallenge and is used to iterate over the raw logs and unpacked data for NewChallenge events raised by the Zap contract.
func (*ZapNewChallengeIterator) Close ¶
func (it *ZapNewChallengeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapNewChallengeIterator) Error ¶
func (it *ZapNewChallengeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapNewChallengeIterator) Next ¶
func (it *ZapNewChallengeIterator) 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 ZapNewDispute ¶
type ZapNewDispute struct { DisputeId *big.Int RequestId *big.Int Timestamp *big.Int Miner common.Address Raw types.Log // Blockchain specific contextual infos }
ZapNewDispute represents a NewDispute event raised by the Zap contract.
type ZapNewDisputeIterator ¶
type ZapNewDisputeIterator struct { Event *ZapNewDispute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapNewDisputeIterator is returned from FilterNewDispute and is used to iterate over the raw logs and unpacked data for NewDispute events raised by the Zap contract.
func (*ZapNewDisputeIterator) Close ¶
func (it *ZapNewDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapNewDisputeIterator) Error ¶
func (it *ZapNewDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapNewDisputeIterator) Next ¶
func (it *ZapNewDisputeIterator) 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 ZapNewRequestOnDeck ¶
type ZapNewRequestOnDeck struct { RequestId *big.Int Query string OnDeckQueryHash [32]byte OnDeckTotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapNewRequestOnDeck represents a NewRequestOnDeck event raised by the Zap contract.
type ZapNewRequestOnDeckIterator ¶
type ZapNewRequestOnDeckIterator struct { Event *ZapNewRequestOnDeck // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapNewRequestOnDeckIterator is returned from FilterNewRequestOnDeck and is used to iterate over the raw logs and unpacked data for NewRequestOnDeck events raised by the Zap contract.
func (*ZapNewRequestOnDeckIterator) Close ¶
func (it *ZapNewRequestOnDeckIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapNewRequestOnDeckIterator) Error ¶
func (it *ZapNewRequestOnDeckIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapNewRequestOnDeckIterator) Next ¶
func (it *ZapNewRequestOnDeckIterator) 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 ZapOwnershipTransferred ¶
type ZapOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ZapOwnershipTransferred represents a OwnershipTransferred event raised by the Zap contract.
type ZapOwnershipTransferredIterator ¶
type ZapOwnershipTransferredIterator struct { Event *ZapOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Zap contract.
func (*ZapOwnershipTransferredIterator) Close ¶
func (it *ZapOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapOwnershipTransferredIterator) Error ¶
func (it *ZapOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapOwnershipTransferredIterator) Next ¶
func (it *ZapOwnershipTransferredIterator) 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 ZapRaw ¶
type ZapRaw struct {
Contract *Zap // Generic contract binding to access the raw methods on
}
ZapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapRaw) Call ¶
func (_Zap *ZapRaw) 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 (*ZapRaw) Transact ¶
func (_Zap *ZapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapRaw) Transfer ¶
func (_Zap *ZapRaw) 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 ZapSession ¶
type ZapSession struct { Contract *Zap // 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 }
ZapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ZapSession) AddTip ¶
func (_Zap *ZapSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*ZapSession) Approve ¶
func (_Zap *ZapSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*ZapSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256 balance)
func (*ZapSession) BeginDispute ¶
func (_Zap *ZapSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*ZapSession) DepositStake ¶
func (_Zap *ZapSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ZapSession) GetNewCurrentVariables ¶
func (_Zap *ZapSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Difficutly *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficutly, uint256 _tip)
func (*ZapSession) IncreaseVaultApproval ¶
func (_Zap *ZapSession) IncreaseVaultApproval(vaultAddress common.Address) (*types.Transaction, error)
IncreaseVaultApproval is a paid mutator transaction binding the contract method 0x7cf26110.
Solidity: function increaseVaultApproval(address vaultAddress) returns(bool)
func (*ZapSession) Owner ¶
func (_Zap *ZapSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ZapSession) ProposeFork ¶
func (_Zap *ZapSession) ProposeFork(_propNewZapAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewZapAddress) returns()
func (*ZapSession) RequestData ¶
func (_Zap *ZapSession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
RequestData is a paid mutator transaction binding the contract method 0x3fff2816.
Solidity: function requestData(string _c_sapi, string _c_symbol, uint256 _granularity, uint256 _tip) returns()
func (*ZapSession) RequestStakingWithdraw ¶
func (_Zap *ZapSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ZapSession) SubmitMiningSolution ¶
func (_Zap *ZapSession) SubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*ZapSession) TallyVotes ¶
func (_Zap *ZapSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*ZapSession) Token ¶
func (_Zap *ZapSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ZapSession) Transfer ¶
func (_Zap *ZapSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*ZapSession) TransferFrom ¶
func (_Zap *ZapSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*ZapSession) Vote ¶
func (_Zap *ZapSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*ZapSession) WithdrawStake ¶
func (_Zap *ZapSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ZapStake ¶
type ZapStake struct { ZapStakeCaller // Read-only binding to the contract ZapStakeTransactor // Write-only binding to the contract ZapStakeFilterer // Log filterer for contract events }
ZapStake is an auto generated Go binding around an Ethereum contract.
func DeployZapStake ¶
func DeployZapStake(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapStake, error)
DeployZapStake deploys a new Ethereum contract, binding an instance of ZapStake to it.
func NewZapStake ¶
NewZapStake creates a new instance of ZapStake, bound to a specific deployed contract.
type ZapStakeCaller ¶
type ZapStakeCaller struct {
// contains filtered or unexported fields
}
ZapStakeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapStakeCaller ¶
func NewZapStakeCaller(address common.Address, caller bind.ContractCaller) (*ZapStakeCaller, error)
NewZapStakeCaller creates a new read-only instance of ZapStake, bound to a specific deployed contract.
type ZapStakeCallerRaw ¶
type ZapStakeCallerRaw struct {
Contract *ZapStakeCaller // Generic read-only contract binding to access the raw methods on
}
ZapStakeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapStakeCallerRaw) Call ¶
func (_ZapStake *ZapStakeCallerRaw) 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 ZapStakeCallerSession ¶
type ZapStakeCallerSession struct { Contract *ZapStakeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapStakeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZapStakeFilterer ¶
type ZapStakeFilterer struct {
// contains filtered or unexported fields
}
ZapStakeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapStakeFilterer ¶
func NewZapStakeFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapStakeFilterer, error)
NewZapStakeFilterer creates a new log filterer instance of ZapStake, bound to a specific deployed contract.
func (*ZapStakeFilterer) FilterNewStake ¶
func (_ZapStake *ZapStakeFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*ZapStakeNewStakeIterator, error)
FilterNewStake is a free log retrieval operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: event NewStake(address indexed _sender)
func (*ZapStakeFilterer) FilterStakeWithdrawRequested ¶
func (_ZapStake *ZapStakeFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*ZapStakeStakeWithdrawRequestedIterator, error)
FilterStakeWithdrawRequested is a free log retrieval operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: event StakeWithdrawRequested(address indexed _sender)
func (*ZapStakeFilterer) FilterStakeWithdrawn ¶
func (_ZapStake *ZapStakeFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*ZapStakeStakeWithdrawnIterator, error)
FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: event StakeWithdrawn(address indexed _sender)
func (*ZapStakeFilterer) ParseNewStake ¶
func (_ZapStake *ZapStakeFilterer) ParseNewStake(log types.Log) (*ZapStakeNewStake, error)
ParseNewStake is a log parse operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: event NewStake(address indexed _sender)
func (*ZapStakeFilterer) ParseStakeWithdrawRequested ¶
func (_ZapStake *ZapStakeFilterer) ParseStakeWithdrawRequested(log types.Log) (*ZapStakeStakeWithdrawRequested, error)
ParseStakeWithdrawRequested is a log parse operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: event StakeWithdrawRequested(address indexed _sender)
func (*ZapStakeFilterer) ParseStakeWithdrawn ¶
func (_ZapStake *ZapStakeFilterer) ParseStakeWithdrawn(log types.Log) (*ZapStakeStakeWithdrawn, error)
ParseStakeWithdrawn is a log parse operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: event StakeWithdrawn(address indexed _sender)
func (*ZapStakeFilterer) WatchNewStake ¶
func (_ZapStake *ZapStakeFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *ZapStakeNewStake, _sender []common.Address) (event.Subscription, error)
WatchNewStake is a free log subscription operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: event NewStake(address indexed _sender)
func (*ZapStakeFilterer) WatchStakeWithdrawRequested ¶
func (_ZapStake *ZapStakeFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *ZapStakeStakeWithdrawRequested, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawRequested is a free log subscription operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: event StakeWithdrawRequested(address indexed _sender)
func (*ZapStakeFilterer) WatchStakeWithdrawn ¶
func (_ZapStake *ZapStakeFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *ZapStakeStakeWithdrawn, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawn is a free log subscription operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: event StakeWithdrawn(address indexed _sender)
type ZapStakeNewStake ¶
type ZapStakeNewStake struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ZapStakeNewStake represents a NewStake event raised by the ZapStake contract.
type ZapStakeNewStakeIterator ¶
type ZapStakeNewStakeIterator struct { Event *ZapStakeNewStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapStakeNewStakeIterator is returned from FilterNewStake and is used to iterate over the raw logs and unpacked data for NewStake events raised by the ZapStake contract.
func (*ZapStakeNewStakeIterator) Close ¶
func (it *ZapStakeNewStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapStakeNewStakeIterator) Error ¶
func (it *ZapStakeNewStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapStakeNewStakeIterator) Next ¶
func (it *ZapStakeNewStakeIterator) 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 ZapStakeRaw ¶
type ZapStakeRaw struct {
Contract *ZapStake // Generic contract binding to access the raw methods on
}
ZapStakeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapStakeRaw) Call ¶
func (_ZapStake *ZapStakeRaw) 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 (*ZapStakeRaw) Transact ¶
func (_ZapStake *ZapStakeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapStakeRaw) Transfer ¶
func (_ZapStake *ZapStakeRaw) 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 ZapStakeSession ¶
type ZapStakeSession struct { Contract *ZapStake // 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 }
ZapStakeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZapStakeStakeWithdrawRequested ¶
type ZapStakeStakeWithdrawRequested struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ZapStakeStakeWithdrawRequested represents a StakeWithdrawRequested event raised by the ZapStake contract.
type ZapStakeStakeWithdrawRequestedIterator ¶
type ZapStakeStakeWithdrawRequestedIterator struct { Event *ZapStakeStakeWithdrawRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapStakeStakeWithdrawRequestedIterator is returned from FilterStakeWithdrawRequested and is used to iterate over the raw logs and unpacked data for StakeWithdrawRequested events raised by the ZapStake contract.
func (*ZapStakeStakeWithdrawRequestedIterator) Close ¶
func (it *ZapStakeStakeWithdrawRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapStakeStakeWithdrawRequestedIterator) Error ¶
func (it *ZapStakeStakeWithdrawRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapStakeStakeWithdrawRequestedIterator) Next ¶
func (it *ZapStakeStakeWithdrawRequestedIterator) 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 ZapStakeStakeWithdrawn ¶
type ZapStakeStakeWithdrawn struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ZapStakeStakeWithdrawn represents a StakeWithdrawn event raised by the ZapStake contract.
type ZapStakeStakeWithdrawnIterator ¶
type ZapStakeStakeWithdrawnIterator struct { Event *ZapStakeStakeWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapStakeStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the ZapStake contract.
func (*ZapStakeStakeWithdrawnIterator) Close ¶
func (it *ZapStakeStakeWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapStakeStakeWithdrawnIterator) Error ¶
func (it *ZapStakeStakeWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapStakeStakeWithdrawnIterator) Next ¶
func (it *ZapStakeStakeWithdrawnIterator) 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 ZapStakeTransactor ¶
type ZapStakeTransactor struct {
// contains filtered or unexported fields
}
ZapStakeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapStakeTransactor ¶
func NewZapStakeTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapStakeTransactor, error)
NewZapStakeTransactor creates a new write-only instance of ZapStake, bound to a specific deployed contract.
type ZapStakeTransactorRaw ¶
type ZapStakeTransactorRaw struct {
Contract *ZapStakeTransactor // Generic write-only contract binding to access the raw methods on
}
ZapStakeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapStakeTransactorRaw) Transact ¶
func (_ZapStake *ZapStakeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapStakeTransactorRaw) Transfer ¶
func (_ZapStake *ZapStakeTransactorRaw) 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 ZapStakeTransactorSession ¶
type ZapStakeTransactorSession struct { Contract *ZapStakeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapStakeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZapStorage ¶
type ZapStorage struct { ZapStorageCaller // Read-only binding to the contract ZapStorageTransactor // Write-only binding to the contract ZapStorageFilterer // Log filterer for contract events }
ZapStorage is an auto generated Go binding around an Ethereum contract.
func DeployZapStorage ¶
func DeployZapStorage(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapStorage, error)
DeployZapStorage deploys a new Ethereum contract, binding an instance of ZapStorage to it.
func NewZapStorage ¶
func NewZapStorage(address common.Address, backend bind.ContractBackend) (*ZapStorage, error)
NewZapStorage creates a new instance of ZapStorage, bound to a specific deployed contract.
type ZapStorageCaller ¶
type ZapStorageCaller struct {
// contains filtered or unexported fields
}
ZapStorageCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapStorageCaller ¶
func NewZapStorageCaller(address common.Address, caller bind.ContractCaller) (*ZapStorageCaller, error)
NewZapStorageCaller creates a new read-only instance of ZapStorage, bound to a specific deployed contract.
type ZapStorageCallerRaw ¶
type ZapStorageCallerRaw struct {
Contract *ZapStorageCaller // Generic read-only contract binding to access the raw methods on
}
ZapStorageCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapStorageCallerRaw) Call ¶
func (_ZapStorage *ZapStorageCallerRaw) 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 ZapStorageCallerSession ¶
type ZapStorageCallerSession struct { Contract *ZapStorageCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapStorageCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZapStorageFilterer ¶
type ZapStorageFilterer struct {
// contains filtered or unexported fields
}
ZapStorageFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapStorageFilterer ¶
func NewZapStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapStorageFilterer, error)
NewZapStorageFilterer creates a new log filterer instance of ZapStorage, bound to a specific deployed contract.
type ZapStorageRaw ¶
type ZapStorageRaw struct {
Contract *ZapStorage // Generic contract binding to access the raw methods on
}
ZapStorageRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapStorageRaw) Call ¶
func (_ZapStorage *ZapStorageRaw) 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 (*ZapStorageRaw) Transact ¶
func (_ZapStorage *ZapStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapStorageRaw) Transfer ¶
func (_ZapStorage *ZapStorageRaw) 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 ZapStorageSession ¶
type ZapStorageSession struct { Contract *ZapStorage // 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 }
ZapStorageSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZapStorageTransactor ¶
type ZapStorageTransactor struct {
// contains filtered or unexported fields
}
ZapStorageTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapStorageTransactor ¶
func NewZapStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapStorageTransactor, error)
NewZapStorageTransactor creates a new write-only instance of ZapStorage, bound to a specific deployed contract.
type ZapStorageTransactorRaw ¶
type ZapStorageTransactorRaw struct {
Contract *ZapStorageTransactor // Generic write-only contract binding to access the raw methods on
}
ZapStorageTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapStorageTransactorRaw) Transact ¶
func (_ZapStorage *ZapStorageTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapStorageTransactorRaw) Transfer ¶
func (_ZapStorage *ZapStorageTransactorRaw) 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 ZapStorageTransactorSession ¶
type ZapStorageTransactorSession struct { Contract *ZapStorageTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapStorageTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ZapTipAdded ¶
type ZapTipAdded struct { Sender common.Address RequestId *big.Int Tip *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapTipAdded represents a TipAdded event raised by the Zap contract.
type ZapTipAddedIterator ¶
type ZapTipAddedIterator struct { Event *ZapTipAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTipAddedIterator is returned from FilterTipAdded and is used to iterate over the raw logs and unpacked data for TipAdded events raised by the Zap contract.
func (*ZapTipAddedIterator) Close ¶
func (it *ZapTipAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTipAddedIterator) Error ¶
func (it *ZapTipAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTipAddedIterator) Next ¶
func (it *ZapTipAddedIterator) 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 ZapTokenBSC ¶
type ZapTokenBSC struct { ZapTokenBSCCaller // Read-only binding to the contract ZapTokenBSCTransactor // Write-only binding to the contract ZapTokenBSCFilterer // Log filterer for contract events }
ZapTokenBSC is an auto generated Go binding around an Ethereum contract.
func DeployZapTokenBSC ¶
func DeployZapTokenBSC(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapTokenBSC, error)
DeployZapTokenBSC deploys a new Ethereum contract, binding an instance of ZapTokenBSC to it.
func NewZapTokenBSC ¶
func NewZapTokenBSC(address common.Address, backend bind.ContractBackend) (*ZapTokenBSC, error)
NewZapTokenBSC creates a new instance of ZapTokenBSC, bound to a specific deployed contract.
type ZapTokenBSCApproval ¶
type ZapTokenBSCApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapTokenBSCApproval represents a Approval event raised by the ZapTokenBSC contract.
type ZapTokenBSCApprovalIterator ¶
type ZapTokenBSCApprovalIterator struct { Event *ZapTokenBSCApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTokenBSCApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ZapTokenBSC contract.
func (*ZapTokenBSCApprovalIterator) Close ¶
func (it *ZapTokenBSCApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTokenBSCApprovalIterator) Error ¶
func (it *ZapTokenBSCApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTokenBSCApprovalIterator) Next ¶
func (it *ZapTokenBSCApprovalIterator) 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 ZapTokenBSCCaller ¶
type ZapTokenBSCCaller struct {
// contains filtered or unexported fields
}
ZapTokenBSCCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapTokenBSCCaller ¶
func NewZapTokenBSCCaller(address common.Address, caller bind.ContractCaller) (*ZapTokenBSCCaller, error)
NewZapTokenBSCCaller creates a new read-only instance of ZapTokenBSC, bound to a specific deployed contract.
func (*ZapTokenBSCCaller) Allowance ¶
func (_ZapTokenBSC *ZapTokenBSCCaller) 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) view returns(uint256 remaining)
func (*ZapTokenBSCCaller) BalanceOf ¶
func (_ZapTokenBSC *ZapTokenBSCCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*ZapTokenBSCCaller) Decimals ¶
func (_ZapTokenBSC *ZapTokenBSCCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ZapTokenBSCCaller) GetOwner ¶
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*ZapTokenBSCCaller) MintingFinished ¶
func (_ZapTokenBSC *ZapTokenBSCCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*ZapTokenBSCCaller) Name ¶
func (_ZapTokenBSC *ZapTokenBSCCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ZapTokenBSCCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ZapTokenBSCCaller) Symbol ¶
func (_ZapTokenBSC *ZapTokenBSCCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ZapTokenBSCCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ZapTokenBSCCallerRaw ¶
type ZapTokenBSCCallerRaw struct {
Contract *ZapTokenBSCCaller // Generic read-only contract binding to access the raw methods on
}
ZapTokenBSCCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapTokenBSCCallerRaw) Call ¶
func (_ZapTokenBSC *ZapTokenBSCCallerRaw) 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 ZapTokenBSCCallerSession ¶
type ZapTokenBSCCallerSession struct { Contract *ZapTokenBSCCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapTokenBSCCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ZapTokenBSCCallerSession) Allowance ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) 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) view returns(uint256 remaining)
func (*ZapTokenBSCCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*ZapTokenBSCCallerSession) Decimals ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ZapTokenBSCCallerSession) GetOwner ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*ZapTokenBSCCallerSession) MintingFinished ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*ZapTokenBSCCallerSession) Name ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ZapTokenBSCCallerSession) Owner ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ZapTokenBSCCallerSession) Symbol ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ZapTokenBSCCallerSession) TotalSupply ¶
func (_ZapTokenBSC *ZapTokenBSCCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ZapTokenBSCFilterer ¶
type ZapTokenBSCFilterer struct {
// contains filtered or unexported fields
}
ZapTokenBSCFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapTokenBSCFilterer ¶
func NewZapTokenBSCFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapTokenBSCFilterer, error)
NewZapTokenBSCFilterer creates a new log filterer instance of ZapTokenBSC, bound to a specific deployed contract.
func (*ZapTokenBSCFilterer) FilterApproval ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ZapTokenBSCApprovalIterator, 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 (*ZapTokenBSCFilterer) FilterMint ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*ZapTokenBSCMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*ZapTokenBSCFilterer) FilterMintFinished ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterMintFinished(opts *bind.FilterOpts) (*ZapTokenBSCMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*ZapTokenBSCFilterer) FilterOwnershipTransferred ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZapTokenBSCOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ZapTokenBSCFilterer) FilterTransfer ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ZapTokenBSCTransferIterator, 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 (*ZapTokenBSCFilterer) ParseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseApproval(log types.Log) (*ZapTokenBSCApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ZapTokenBSCFilterer) ParseMint ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseMint(log types.Log) (*ZapTokenBSCMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*ZapTokenBSCFilterer) ParseMintFinished ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseMintFinished(log types.Log) (*ZapTokenBSCMintFinished, error)
ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*ZapTokenBSCFilterer) ParseOwnershipTransferred ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseOwnershipTransferred(log types.Log) (*ZapTokenBSCOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ZapTokenBSCFilterer) ParseTransfer ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) ParseTransfer(log types.Log) (*ZapTokenBSCTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ZapTokenBSCFilterer) WatchApproval ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCApproval, 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 (*ZapTokenBSCFilterer) WatchMint ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*ZapTokenBSCFilterer) WatchMintFinished ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*ZapTokenBSCFilterer) WatchOwnershipTransferred ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ZapTokenBSCFilterer) WatchTransfer ¶
func (_ZapTokenBSC *ZapTokenBSCFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZapTokenBSCTransfer, 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 ZapTokenBSCMint ¶
type ZapTokenBSCMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapTokenBSCMint represents a Mint event raised by the ZapTokenBSC contract.
type ZapTokenBSCMintFinished ¶
ZapTokenBSCMintFinished represents a MintFinished event raised by the ZapTokenBSC contract.
type ZapTokenBSCMintFinishedIterator ¶
type ZapTokenBSCMintFinishedIterator struct { Event *ZapTokenBSCMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTokenBSCMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the ZapTokenBSC contract.
func (*ZapTokenBSCMintFinishedIterator) Close ¶
func (it *ZapTokenBSCMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTokenBSCMintFinishedIterator) Error ¶
func (it *ZapTokenBSCMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTokenBSCMintFinishedIterator) Next ¶
func (it *ZapTokenBSCMintFinishedIterator) 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 ZapTokenBSCMintIterator ¶
type ZapTokenBSCMintIterator struct { Event *ZapTokenBSCMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTokenBSCMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the ZapTokenBSC contract.
func (*ZapTokenBSCMintIterator) Close ¶
func (it *ZapTokenBSCMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTokenBSCMintIterator) Error ¶
func (it *ZapTokenBSCMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTokenBSCMintIterator) Next ¶
func (it *ZapTokenBSCMintIterator) 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 ZapTokenBSCOwnershipTransferred ¶
type ZapTokenBSCOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ZapTokenBSCOwnershipTransferred represents a OwnershipTransferred event raised by the ZapTokenBSC contract.
type ZapTokenBSCOwnershipTransferredIterator ¶
type ZapTokenBSCOwnershipTransferredIterator struct { Event *ZapTokenBSCOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTokenBSCOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ZapTokenBSC contract.
func (*ZapTokenBSCOwnershipTransferredIterator) Close ¶
func (it *ZapTokenBSCOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTokenBSCOwnershipTransferredIterator) Error ¶
func (it *ZapTokenBSCOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTokenBSCOwnershipTransferredIterator) Next ¶
func (it *ZapTokenBSCOwnershipTransferredIterator) 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 ZapTokenBSCRaw ¶
type ZapTokenBSCRaw struct {
Contract *ZapTokenBSC // Generic contract binding to access the raw methods on
}
ZapTokenBSCRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapTokenBSCRaw) Call ¶
func (_ZapTokenBSC *ZapTokenBSCRaw) 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 (*ZapTokenBSCRaw) Transact ¶
func (_ZapTokenBSC *ZapTokenBSCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapTokenBSCRaw) Transfer ¶
func (_ZapTokenBSC *ZapTokenBSCRaw) 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 ZapTokenBSCSession ¶
type ZapTokenBSCSession struct { Contract *ZapTokenBSC // 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 }
ZapTokenBSCSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ZapTokenBSCSession) Allocate ¶
func (_ZapTokenBSC *ZapTokenBSCSession) Allocate(to common.Address, amount *big.Int) (*types.Transaction, error)
Allocate is a paid mutator transaction binding the contract method 0xb78b52df.
Solidity: function allocate(address to, uint256 amount) returns()
func (*ZapTokenBSCSession) Allowance ¶
func (_ZapTokenBSC *ZapTokenBSCSession) 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) view returns(uint256 remaining)
func (*ZapTokenBSCSession) Approve ¶
func (_ZapTokenBSC *ZapTokenBSCSession) 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 (*ZapTokenBSCSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*ZapTokenBSCSession) Decimals ¶
func (_ZapTokenBSC *ZapTokenBSCSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ZapTokenBSCSession) DecreaseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*ZapTokenBSCSession) FinishMinting ¶
func (_ZapTokenBSC *ZapTokenBSCSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*ZapTokenBSCSession) GetOwner ¶
func (_ZapTokenBSC *ZapTokenBSCSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*ZapTokenBSCSession) IncreaseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*ZapTokenBSCSession) Mint ¶
func (_ZapTokenBSC *ZapTokenBSCSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*ZapTokenBSCSession) MintingFinished ¶
func (_ZapTokenBSC *ZapTokenBSCSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*ZapTokenBSCSession) Name ¶
func (_ZapTokenBSC *ZapTokenBSCSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ZapTokenBSCSession) Owner ¶
func (_ZapTokenBSC *ZapTokenBSCSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ZapTokenBSCSession) Symbol ¶
func (_ZapTokenBSC *ZapTokenBSCSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ZapTokenBSCSession) TotalSupply ¶
func (_ZapTokenBSC *ZapTokenBSCSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ZapTokenBSCSession) Transfer ¶
func (_ZapTokenBSC *ZapTokenBSCSession) 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 (*ZapTokenBSCSession) TransferFrom ¶
func (_ZapTokenBSC *ZapTokenBSCSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*ZapTokenBSCSession) TransferOwnership ¶
func (_ZapTokenBSC *ZapTokenBSCSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ZapTokenBSCTransactor ¶
type ZapTokenBSCTransactor struct {
// contains filtered or unexported fields
}
ZapTokenBSCTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapTokenBSCTransactor ¶
func NewZapTokenBSCTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapTokenBSCTransactor, error)
NewZapTokenBSCTransactor creates a new write-only instance of ZapTokenBSC, bound to a specific deployed contract.
func (*ZapTokenBSCTransactor) Allocate ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) Allocate(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Allocate is a paid mutator transaction binding the contract method 0xb78b52df.
Solidity: function allocate(address to, uint256 amount) returns()
func (*ZapTokenBSCTransactor) Approve ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) 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 (*ZapTokenBSCTransactor) DecreaseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*ZapTokenBSCTransactor) FinishMinting ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*ZapTokenBSCTransactor) IncreaseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*ZapTokenBSCTransactor) Mint ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*ZapTokenBSCTransactor) Transfer ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) 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 (*ZapTokenBSCTransactor) TransferFrom ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*ZapTokenBSCTransactor) TransferOwnership ¶
func (_ZapTokenBSC *ZapTokenBSCTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ZapTokenBSCTransactorRaw ¶
type ZapTokenBSCTransactorRaw struct {
Contract *ZapTokenBSCTransactor // Generic write-only contract binding to access the raw methods on
}
ZapTokenBSCTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapTokenBSCTransactorRaw) Transact ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapTokenBSCTransactorRaw) Transfer ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorRaw) 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 ZapTokenBSCTransactorSession ¶
type ZapTokenBSCTransactorSession struct { Contract *ZapTokenBSCTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapTokenBSCTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ZapTokenBSCTransactorSession) Allocate ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) Allocate(to common.Address, amount *big.Int) (*types.Transaction, error)
Allocate is a paid mutator transaction binding the contract method 0xb78b52df.
Solidity: function allocate(address to, uint256 amount) returns()
func (*ZapTokenBSCTransactorSession) Approve ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) 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 (*ZapTokenBSCTransactorSession) DecreaseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*ZapTokenBSCTransactorSession) FinishMinting ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*ZapTokenBSCTransactorSession) IncreaseApproval ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*ZapTokenBSCTransactorSession) Mint ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*ZapTokenBSCTransactorSession) Transfer ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) 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 (*ZapTokenBSCTransactorSession) TransferFrom ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*ZapTokenBSCTransactorSession) TransferOwnership ¶
func (_ZapTokenBSC *ZapTokenBSCTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ZapTokenBSCTransfer ¶
type ZapTokenBSCTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapTokenBSCTransfer represents a Transfer event raised by the ZapTokenBSC contract.
type ZapTokenBSCTransferIterator ¶
type ZapTokenBSCTransferIterator struct { Event *ZapTokenBSCTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTokenBSCTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ZapTokenBSC contract.
func (*ZapTokenBSCTransferIterator) Close ¶
func (it *ZapTokenBSCTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTokenBSCTransferIterator) Error ¶
func (it *ZapTokenBSCTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTokenBSCTransferIterator) Next ¶
func (it *ZapTokenBSCTransferIterator) 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 ZapTransactor ¶
type ZapTransactor struct {
// contains filtered or unexported fields
}
ZapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapTransactor ¶
func NewZapTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapTransactor, error)
NewZapTransactor creates a new write-only instance of Zap, bound to a specific deployed contract.
func (*ZapTransactor) AddTip ¶
func (_Zap *ZapTransactor) AddTip(opts *bind.TransactOpts, _requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*ZapTransactor) Approve ¶
func (_Zap *ZapTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*ZapTransactor) BeginDispute ¶
func (_Zap *ZapTransactor) BeginDispute(opts *bind.TransactOpts, _requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*ZapTransactor) DepositStake ¶
func (_Zap *ZapTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ZapTransactor) IncreaseVaultApproval ¶
func (_Zap *ZapTransactor) IncreaseVaultApproval(opts *bind.TransactOpts, vaultAddress common.Address) (*types.Transaction, error)
IncreaseVaultApproval is a paid mutator transaction binding the contract method 0x7cf26110.
Solidity: function increaseVaultApproval(address vaultAddress) returns(bool)
func (*ZapTransactor) ProposeFork ¶
func (_Zap *ZapTransactor) ProposeFork(opts *bind.TransactOpts, _propNewZapAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewZapAddress) returns()
func (*ZapTransactor) RequestData ¶
func (_Zap *ZapTransactor) RequestData(opts *bind.TransactOpts, _c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
RequestData is a paid mutator transaction binding the contract method 0x3fff2816.
Solidity: function requestData(string _c_sapi, string _c_symbol, uint256 _granularity, uint256 _tip) returns()
func (*ZapTransactor) RequestStakingWithdraw ¶
func (_Zap *ZapTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ZapTransactor) SubmitMiningSolution ¶
func (_Zap *ZapTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*ZapTransactor) TallyVotes ¶
func (_Zap *ZapTransactor) TallyVotes(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*ZapTransactor) Transfer ¶
func (_Zap *ZapTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*ZapTransactor) TransferFrom ¶
func (_Zap *ZapTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*ZapTransactor) Vote ¶
func (_Zap *ZapTransactor) Vote(opts *bind.TransactOpts, _disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*ZapTransactor) WithdrawStake ¶
func (_Zap *ZapTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ZapTransactorRaw ¶
type ZapTransactorRaw struct {
Contract *ZapTransactor // Generic write-only contract binding to access the raw methods on
}
ZapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapTransactorRaw) Transact ¶
func (_Zap *ZapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapTransactorRaw) Transfer ¶
func (_Zap *ZapTransactorRaw) 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 ZapTransactorSession ¶
type ZapTransactorSession struct { Contract *ZapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ZapTransactorSession) AddTip ¶
func (_Zap *ZapTransactorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*ZapTransactorSession) Approve ¶
func (_Zap *ZapTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*ZapTransactorSession) BeginDispute ¶
func (_Zap *ZapTransactorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*ZapTransactorSession) DepositStake ¶
func (_Zap *ZapTransactorSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ZapTransactorSession) IncreaseVaultApproval ¶
func (_Zap *ZapTransactorSession) IncreaseVaultApproval(vaultAddress common.Address) (*types.Transaction, error)
IncreaseVaultApproval is a paid mutator transaction binding the contract method 0x7cf26110.
Solidity: function increaseVaultApproval(address vaultAddress) returns(bool)
func (*ZapTransactorSession) ProposeFork ¶
func (_Zap *ZapTransactorSession) ProposeFork(_propNewZapAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewZapAddress) returns()
func (*ZapTransactorSession) RequestData ¶
func (_Zap *ZapTransactorSession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
RequestData is a paid mutator transaction binding the contract method 0x3fff2816.
Solidity: function requestData(string _c_sapi, string _c_symbol, uint256 _granularity, uint256 _tip) returns()
func (*ZapTransactorSession) RequestStakingWithdraw ¶
func (_Zap *ZapTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ZapTransactorSession) SubmitMiningSolution ¶
func (_Zap *ZapTransactorSession) SubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*ZapTransactorSession) TallyVotes ¶
func (_Zap *ZapTransactorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*ZapTransactorSession) Transfer ¶
func (_Zap *ZapTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*ZapTransactorSession) TransferFrom ¶
func (_Zap *ZapTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*ZapTransactorSession) Vote ¶
func (_Zap *ZapTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*ZapTransactorSession) WithdrawStake ¶
func (_Zap *ZapTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ZapTransfer ¶
type ZapTransfer struct { ZapTransferCaller // Read-only binding to the contract ZapTransferTransactor // Write-only binding to the contract ZapTransferFilterer // Log filterer for contract events }
ZapTransfer is an auto generated Go binding around an Ethereum contract.
func DeployZapTransfer ¶
func DeployZapTransfer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ZapTransfer, error)
DeployZapTransfer deploys a new Ethereum contract, binding an instance of ZapTransfer to it.
func NewZapTransfer ¶
func NewZapTransfer(address common.Address, backend bind.ContractBackend) (*ZapTransfer, error)
NewZapTransfer creates a new instance of ZapTransfer, bound to a specific deployed contract.
type ZapTransferApproval ¶
type ZapTransferApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ZapTransferApproval represents a Approval event raised by the ZapTransfer contract.
type ZapTransferApprovalIterator ¶
type ZapTransferApprovalIterator struct { Event *ZapTransferApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ZapTransferApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ZapTransfer contract.
func (*ZapTransferApprovalIterator) Close ¶
func (it *ZapTransferApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZapTransferApprovalIterator) Error ¶
func (it *ZapTransferApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZapTransferApprovalIterator) Next ¶
func (it *ZapTransferApprovalIterator) 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 ZapTransferCaller ¶
type ZapTransferCaller struct {
// contains filtered or unexported fields
}
ZapTransferCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZapTransferCaller ¶
func NewZapTransferCaller(address common.Address, caller bind.ContractCaller) (*ZapTransferCaller, error)
NewZapTransferCaller creates a new read-only instance of ZapTransfer, bound to a specific deployed contract.
type ZapTransferCallerRaw ¶
type ZapTransferCallerRaw struct {
Contract *ZapTransferCaller // Generic read-only contract binding to access the raw methods on
}
ZapTransferCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ZapTransferCallerRaw) Call ¶
func (_ZapTransfer *ZapTransferCallerRaw) 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 ZapTransferCallerSession ¶
type ZapTransferCallerSession struct { Contract *ZapTransferCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ZapTransferCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ZapTransferFilterer ¶
type ZapTransferFilterer struct {
// contains filtered or unexported fields
}
ZapTransferFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZapTransferFilterer ¶
func NewZapTransferFilterer(address common.Address, filterer bind.ContractFilterer) (*ZapTransferFilterer, error)
NewZapTransferFilterer creates a new log filterer instance of ZapTransfer, bound to a specific deployed contract.
func (*ZapTransferFilterer) FilterApproval ¶
func (_ZapTransfer *ZapTransferFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ZapTransferApprovalIterator, 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 (*ZapTransferFilterer) ParseApproval ¶
func (_ZapTransfer *ZapTransferFilterer) ParseApproval(log types.Log) (*ZapTransferApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*ZapTransferFilterer) WatchApproval ¶
func (_ZapTransfer *ZapTransferFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZapTransferApproval, _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)
type ZapTransferRaw ¶
type ZapTransferRaw struct {
Contract *ZapTransfer // Generic contract binding to access the raw methods on
}
ZapTransferRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ZapTransferRaw) Call ¶
func (_ZapTransfer *ZapTransferRaw) 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 (*ZapTransferRaw) Transact ¶
func (_ZapTransfer *ZapTransferRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapTransferRaw) Transfer ¶
func (_ZapTransfer *ZapTransferRaw) 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 ZapTransferSession ¶
type ZapTransferSession struct { Contract *ZapTransfer // 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 }
ZapTransferSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ZapTransferTransactor ¶
type ZapTransferTransactor struct {
// contains filtered or unexported fields
}
ZapTransferTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZapTransferTransactor ¶
func NewZapTransferTransactor(address common.Address, transactor bind.ContractTransactor) (*ZapTransferTransactor, error)
NewZapTransferTransactor creates a new write-only instance of ZapTransfer, bound to a specific deployed contract.
type ZapTransferTransactorRaw ¶
type ZapTransferTransactorRaw struct {
Contract *ZapTransferTransactor // Generic write-only contract binding to access the raw methods on
}
ZapTransferTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ZapTransferTransactorRaw) Transact ¶
func (_ZapTransfer *ZapTransferTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ZapTransferTransactorRaw) Transfer ¶
func (_ZapTransfer *ZapTransferTransactorRaw) 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 ZapTransferTransactorSession ¶
type ZapTransferTransactorSession struct { Contract *ZapTransferTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ZapTransferTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.