Documentation ¶
Index ¶
- Constants
- type BerryDispute
- type BerryDisputeCaller
- type BerryDisputeCallerRaw
- type BerryDisputeCallerSession
- type BerryDisputeDisputeVoteTallied
- type BerryDisputeDisputeVoteTalliedIterator
- type BerryDisputeFilterer
- func (_BerryDispute *BerryDisputeFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*BerryDisputeDisputeVoteTalliedIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryDisputeNewBerryAddressIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*BerryDisputeNewDisputeIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address) (*BerryDisputeVotedIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *BerryDisputeDisputeVoteTallied, ...) (event.Subscription, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewBerryAddress) (event.Subscription, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewDispute, ...) (event.Subscription, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *BerryDisputeVoted, _disputeID []*big.Int, ...) (event.Subscription, error)
- type BerryDisputeNewBerryAddress
- type BerryDisputeNewBerryAddressIterator
- type BerryDisputeNewDispute
- type BerryDisputeNewDisputeIterator
- type BerryDisputeRaw
- func (_BerryDispute *BerryDisputeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryDispute *BerryDisputeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryDispute *BerryDisputeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryDisputeSession
- type BerryDisputeTransactor
- type BerryDisputeTransactorRaw
- type BerryDisputeTransactorSession
- type BerryDisputeVoted
- type BerryDisputeVotedIterator
- type BerryGetters
- type BerryGettersCaller
- func (_BerryGetters *BerryGettersCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) AllowedToTrade(opts *bind.CallOpts, _user common.Address, _amount *big.Int) (bool, error)
- func (_BerryGetters *BerryGettersCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) BalanceOfAt(opts *bind.CallOpts, _user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
- func (_BerryGetters *BerryGettersCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
- func (_BerryGetters *BerryGettersCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
- func (_BerryGetters *BerryGettersCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_BerryGetters *BerryGettersCaller) GetCurrentVariables(opts *bind.CallOpts) ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
- func (_BerryGetters *BerryGettersCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
- func (_BerryGetters *BerryGettersCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_BerryGetters *BerryGettersCaller) GetName(opts *bind.CallOpts) (string, error)
- func (_BerryGetters *BerryGettersCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetRequestIdByQueryHash(opts *bind.CallOpts, _request [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetRequestQ(opts *bind.CallOpts) ([51]*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetSymbol(opts *bind.CallOpts) (string, error)
- func (_BerryGetters *BerryGettersCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) GetVariablesOnDeck(opts *bind.CallOpts) (*big.Int, *big.Int, string, error)
- func (_BerryGetters *BerryGettersCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_BerryGetters *BerryGettersCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type BerryGettersCallerRaw
- type BerryGettersCallerSession
- func (_BerryGetters *BerryGettersCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
- func (_BerryGetters *BerryGettersCallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_BerryGetters *BerryGettersCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_BerryGetters *BerryGettersCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_BerryGetters *BerryGettersCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_BerryGetters *BerryGettersCallerSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetLastNewValue() (*big.Int, bool, error)
- func (_BerryGetters *BerryGettersCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_BerryGetters *BerryGettersCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_BerryGetters *BerryGettersCallerSession) GetName() (string, error)
- func (_BerryGetters *BerryGettersCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetRequestQ() ([51]*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetSymbol() (string, error)
- func (_BerryGetters *BerryGettersCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_BerryGetters *BerryGettersCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_BerryGetters *BerryGettersCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersCallerSession) TotalSupply() (*big.Int, error)
- type BerryGettersFilterer
- type BerryGettersLibrary
- type BerryGettersLibraryCaller
- type BerryGettersLibraryCallerRaw
- type BerryGettersLibraryCallerSession
- type BerryGettersLibraryFilterer
- func (_BerryGettersLibrary *BerryGettersLibraryFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryGettersLibraryNewBerryAddressIterator, error)
- func (_BerryGettersLibrary *BerryGettersLibraryFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryGettersLibraryNewBerryAddress) (event.Subscription, error)
- type BerryGettersLibraryNewBerryAddress
- type BerryGettersLibraryNewBerryAddressIterator
- type BerryGettersLibraryRaw
- func (_BerryGettersLibrary *BerryGettersLibraryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryGettersLibrary *BerryGettersLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryGettersLibrary *BerryGettersLibraryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryGettersLibrarySession
- type BerryGettersLibraryTransactor
- type BerryGettersLibraryTransactorRaw
- type BerryGettersLibraryTransactorSession
- type BerryGettersRaw
- func (_BerryGetters *BerryGettersRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryGetters *BerryGettersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryGetters *BerryGettersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryGettersSession
- func (_BerryGetters *BerryGettersSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
- func (_BerryGetters *BerryGettersSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_BerryGetters *BerryGettersSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_BerryGetters *BerryGettersSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_BerryGetters *BerryGettersSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_BerryGetters *BerryGettersSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetLastNewValue() (*big.Int, bool, error)
- func (_BerryGetters *BerryGettersSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_BerryGetters *BerryGettersSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_BerryGetters *BerryGettersSession) GetName() (string, error)
- func (_BerryGetters *BerryGettersSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetRequestQ() ([51]*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetSymbol() (string, error)
- func (_BerryGetters *BerryGettersSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_BerryGetters *BerryGettersSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_BerryGetters *BerryGettersSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryGetters *BerryGettersSession) TotalSupply() (*big.Int, error)
- type BerryGettersTransactor
- type BerryGettersTransactorRaw
- type BerryGettersTransactorSession
- type BerryMaster
- type BerryMasterCaller
- func (_BerryMaster *BerryMasterCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) AllowedToTrade(opts *bind.CallOpts, _user common.Address, _amount *big.Int) (bool, error)
- func (_BerryMaster *BerryMasterCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) BalanceOfAt(opts *bind.CallOpts, _user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
- func (_BerryMaster *BerryMasterCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
- func (_BerryMaster *BerryMasterCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
- func (_BerryMaster *BerryMasterCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_BerryMaster *BerryMasterCaller) GetCurrentVariables(opts *bind.CallOpts) ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
- func (_BerryMaster *BerryMasterCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
- func (_BerryMaster *BerryMasterCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_BerryMaster *BerryMasterCaller) GetName(opts *bind.CallOpts) (string, error)
- func (_BerryMaster *BerryMasterCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetRequestIdByQueryHash(opts *bind.CallOpts, _request [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetRequestQ(opts *bind.CallOpts) ([51]*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetSymbol(opts *bind.CallOpts) (string, error)
- func (_BerryMaster *BerryMasterCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) GetVariablesOnDeck(opts *bind.CallOpts) (*big.Int, *big.Int, string, error)
- func (_BerryMaster *BerryMasterCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_BerryMaster *BerryMasterCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type BerryMasterCallerRaw
- type BerryMasterCallerSession
- func (_BerryMaster *BerryMasterCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
- func (_BerryMaster *BerryMasterCallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_BerryMaster *BerryMasterCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_BerryMaster *BerryMasterCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_BerryMaster *BerryMasterCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_BerryMaster *BerryMasterCallerSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetLastNewValue() (*big.Int, bool, error)
- func (_BerryMaster *BerryMasterCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_BerryMaster *BerryMasterCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_BerryMaster *BerryMasterCallerSession) GetName() (string, error)
- func (_BerryMaster *BerryMasterCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetRequestQ() ([51]*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetSymbol() (string, error)
- func (_BerryMaster *BerryMasterCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_BerryMaster *BerryMasterCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_BerryMaster *BerryMasterCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterCallerSession) TotalSupply() (*big.Int, error)
- type BerryMasterFilterer
- type BerryMasterNewBerryAddress
- type BerryMasterNewBerryAddressIterator
- type BerryMasterRaw
- func (_BerryMaster *BerryMasterRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryMaster *BerryMasterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryMaster *BerryMasterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryMasterSession
- func (_BerryMaster *BerryMasterSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
- func (_BerryMaster *BerryMasterSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) ChangeBerryContract(_berryContract common.Address) (*types.Transaction, error)
- func (_BerryMaster *BerryMasterSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
- func (_BerryMaster *BerryMasterSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_BerryMaster *BerryMasterSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_BerryMaster *BerryMasterSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_BerryMaster *BerryMasterSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_BerryMaster *BerryMasterSession) GetCurrentVariables() ([32]byte, *big.Int, *big.Int, string, *big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetLastNewValue() (*big.Int, bool, error)
- func (_BerryMaster *BerryMasterSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_BerryMaster *BerryMasterSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_BerryMaster *BerryMasterSession) GetName() (string, error)
- func (_BerryMaster *BerryMasterSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetRequestQ() ([51]*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetRequestVars(_requestId *big.Int) (string, string, [32]byte, *big.Int, *big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetSymbol() (string, error)
- func (_BerryMaster *BerryMasterSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
- func (_BerryMaster *BerryMasterSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_BerryMaster *BerryMasterSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_BerryMaster *BerryMasterSession) TotalSupply() (*big.Int, error)
- type BerryMasterTransactor
- type BerryMasterTransactorRaw
- type BerryMasterTransactorSession
- type BerryStake
- type BerryStakeCaller
- type BerryStakeCallerRaw
- type BerryStakeCallerSession
- type BerryStakeFilterer
- func (_BerryStake *BerryStakeFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeNewStakeIterator, error)
- func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawRequestedIterator, error)
- func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawnIterator, error)
- func (_BerryStake *BerryStakeFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *BerryStakeNewStake, ...) (event.Subscription, error)
- func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawRequested, ...) (event.Subscription, error)
- func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawn, ...) (event.Subscription, error)
- type BerryStakeNewStake
- type BerryStakeNewStakeIterator
- type BerryStakeRaw
- func (_BerryStake *BerryStakeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryStake *BerryStakeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryStake *BerryStakeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryStakeSession
- type BerryStakeStakeWithdrawRequested
- type BerryStakeStakeWithdrawRequestedIterator
- type BerryStakeStakeWithdrawn
- type BerryStakeStakeWithdrawnIterator
- type BerryStakeTransactor
- type BerryStakeTransactorRaw
- type BerryStakeTransactorSession
- type BerryStorage
- type BerryStorageCaller
- type BerryStorageCallerRaw
- type BerryStorageCallerSession
- type BerryStorageFilterer
- type BerryStorageRaw
- func (_BerryStorage *BerryStorageRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryStorage *BerryStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryStorage *BerryStorageRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryStorageSession
- type BerryStorageTransactor
- type BerryStorageTransactorRaw
- type BerryStorageTransactorSession
- type BerryTransfer
- type BerryTransferApproval
- type BerryTransferApprovalIterator
- type BerryTransferCaller
- type BerryTransferCallerRaw
- type BerryTransferCallerSession
- type BerryTransferFilterer
- func (_BerryTransfer *BerryTransferFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*BerryTransferApprovalIterator, error)
- func (_BerryTransfer *BerryTransferFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*BerryTransferTransferIterator, error)
- func (_BerryTransfer *BerryTransferFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BerryTransferApproval, ...) (event.Subscription, error)
- func (_BerryTransfer *BerryTransferFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BerryTransferTransfer, ...) (event.Subscription, error)
- type BerryTransferRaw
- func (_BerryTransfer *BerryTransferRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryTransfer *BerryTransferRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryTransfer *BerryTransferRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryTransferSession
- type BerryTransferTransactor
- type BerryTransferTransactorRaw
- type BerryTransferTransactorSession
- type BerryTransferTransfer
- type BerryTransferTransferIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Utilities
- type UtilitiesCaller
- type UtilitiesCallerRaw
- type UtilitiesCallerSession
- type UtilitiesFilterer
- type UtilitiesRaw
- func (_Utilities *UtilitiesRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) 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
Constants ¶
const BerryDisputeABI = "" /* 1146-byte string literal not displayed */
BerryDisputeABI is the input ABI used to generate the binding from.
const BerryDisputeBin = `` /* 11314-byte string literal not displayed */
BerryDisputeBin is the compiled bytecode used for deploying new contracts.
const BerryGettersABI = "" /* 8423-byte string literal not displayed */
BerryGettersABI is the input ABI used to generate the binding from.
const BerryGettersBin = `` /* 13462-byte string literal not displayed */
BerryGettersBin is the compiled bytecode used for deploying new contracts.
const BerryGettersLibraryABI = "" /* 148-byte string literal not displayed */
BerryGettersLibraryABI is the input ABI used to generate the binding from.
const BerryGettersLibraryBin = `` /* 242-byte string literal not displayed */
BerryGettersLibraryBin is the compiled bytecode used for deploying new contracts.
const BerryMasterABI = "" /* 9190-byte string literal not displayed */
BerryMasterABI is the input ABI used to generate the binding from.
const BerryMasterBin = `` /* 16422-byte string literal not displayed */
BerryMasterBin is the compiled bytecode used for deploying new contracts.
const BerryStakeABI = "" /* 432-byte string literal not displayed */
BerryStakeABI is the input ABI used to generate the binding from.
const BerryStakeBin = `` /* 4564-byte string literal not displayed */
BerryStakeBin is the compiled bytecode used for deploying new contracts.
const BerryStorageABI = "[]"
BerryStorageABI is the input ABI used to generate the binding from.
const BerryStorageBin = `` /* 242-byte string literal not displayed */
BerryStorageBin is the compiled bytecode used for deploying new contracts.
const BerryTransferABI = "" /* 513-byte string literal not displayed */
BerryTransferABI is the input ABI used to generate the binding from.
const BerryTransferBin = `` /* 4794-byte string literal not displayed */
BerryTransferBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const UtilitiesABI = "[]"
UtilitiesABI is the input ABI used to generate the binding from.
const UtilitiesBin = `` /* 242-byte string literal not displayed */
UtilitiesBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BerryDispute ¶
type BerryDispute struct { BerryDisputeCaller // Read-only binding to the contract BerryDisputeTransactor // Write-only binding to the contract BerryDisputeFilterer // Log filterer for contract events }
BerryDispute is an auto generated Go binding around an Ethereum contract.
func DeployBerryDispute ¶
func DeployBerryDispute(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryDispute, error)
DeployBerryDispute deploys a new Ethereum contract, binding an instance of BerryDispute to it.
func NewBerryDispute ¶
func NewBerryDispute(address common.Address, backend bind.ContractBackend) (*BerryDispute, error)
NewBerryDispute creates a new instance of BerryDispute, bound to a specific deployed contract.
type BerryDisputeCaller ¶
type BerryDisputeCaller struct {
// contains filtered or unexported fields
}
BerryDisputeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryDisputeCaller ¶
func NewBerryDisputeCaller(address common.Address, caller bind.ContractCaller) (*BerryDisputeCaller, error)
NewBerryDisputeCaller creates a new read-only instance of BerryDispute, bound to a specific deployed contract.
type BerryDisputeCallerRaw ¶
type BerryDisputeCallerRaw struct {
Contract *BerryDisputeCaller // Generic read-only contract binding to access the raw methods on
}
BerryDisputeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryDisputeCallerRaw) Call ¶
func (_BerryDispute *BerryDisputeCallerRaw) 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 BerryDisputeCallerSession ¶
type BerryDisputeCallerSession struct { Contract *BerryDisputeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryDisputeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryDisputeDisputeVoteTallied ¶
type BerryDisputeDisputeVoteTallied struct { DisputeID *big.Int Result *big.Int ReportedMiner common.Address ReportingParty common.Address Active bool Raw types.Log // Blockchain specific contextual infos }
BerryDisputeDisputeVoteTallied represents a DisputeVoteTallied event raised by the BerryDispute contract.
type BerryDisputeDisputeVoteTalliedIterator ¶
type BerryDisputeDisputeVoteTalliedIterator struct { Event *BerryDisputeDisputeVoteTallied // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeDisputeVoteTalliedIterator is returned from FilterDisputeVoteTallied and is used to iterate over the raw logs and unpacked data for DisputeVoteTallied events raised by the BerryDispute contract.
func (*BerryDisputeDisputeVoteTalliedIterator) Close ¶
func (it *BerryDisputeDisputeVoteTalliedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeDisputeVoteTalliedIterator) Error ¶
func (it *BerryDisputeDisputeVoteTalliedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeDisputeVoteTalliedIterator) Next ¶
func (it *BerryDisputeDisputeVoteTalliedIterator) 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 BerryDisputeFilterer ¶
type BerryDisputeFilterer struct {
// contains filtered or unexported fields
}
BerryDisputeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryDisputeFilterer ¶
func NewBerryDisputeFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryDisputeFilterer, error)
NewBerryDisputeFilterer creates a new log filterer instance of BerryDispute, bound to a specific deployed contract.
func (*BerryDisputeFilterer) FilterDisputeVoteTallied ¶
func (_BerryDispute *BerryDisputeFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*BerryDisputeDisputeVoteTalliedIterator, error)
FilterDisputeVoteTallied is a free log retrieval operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: e DisputeVoteTallied(_disputeID indexed uint256, _result int256, _reportedMiner indexed address, _reportingParty address, _active bool)
func (*BerryDisputeFilterer) FilterNewBerryAddress ¶
func (_BerryDispute *BerryDisputeFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryDisputeNewBerryAddressIterator, error)
FilterNewBerryAddress is a free log retrieval operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryDisputeFilterer) FilterNewDispute ¶
func (_BerryDispute *BerryDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*BerryDisputeNewDisputeIterator, error)
FilterNewDispute is a free log retrieval operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: e NewDispute(_disputeId indexed uint256, _requestId indexed uint256, _timestamp uint256, _miner address)
func (*BerryDisputeFilterer) FilterVoted ¶
func (_BerryDispute *BerryDisputeFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address) (*BerryDisputeVotedIterator, error)
FilterVoted is a free log retrieval operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: e Voted(_disputeID indexed uint256, _position bool, _voter indexed address)
func (*BerryDisputeFilterer) WatchDisputeVoteTallied ¶
func (_BerryDispute *BerryDisputeFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *BerryDisputeDisputeVoteTallied, _disputeID []*big.Int, _reportedMiner []common.Address) (event.Subscription, error)
WatchDisputeVoteTallied is a free log subscription operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: e DisputeVoteTallied(_disputeID indexed uint256, _result int256, _reportedMiner indexed address, _reportingParty address, _active bool)
func (*BerryDisputeFilterer) WatchNewBerryAddress ¶
func (_BerryDispute *BerryDisputeFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewBerryAddress) (event.Subscription, error)
WatchNewBerryAddress is a free log subscription operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryDisputeFilterer) WatchNewDispute ¶
func (_BerryDispute *BerryDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewDispute, _disputeId []*big.Int, _requestId []*big.Int) (event.Subscription, error)
WatchNewDispute is a free log subscription operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: e NewDispute(_disputeId indexed uint256, _requestId indexed uint256, _timestamp uint256, _miner address)
func (*BerryDisputeFilterer) WatchVoted ¶
func (_BerryDispute *BerryDisputeFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *BerryDisputeVoted, _disputeID []*big.Int, _voter []common.Address) (event.Subscription, error)
WatchVoted is a free log subscription operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: e Voted(_disputeID indexed uint256, _position bool, _voter indexed address)
type BerryDisputeNewBerryAddress ¶
type BerryDisputeNewBerryAddress struct { NewBerry common.Address Raw types.Log // Blockchain specific contextual infos }
BerryDisputeNewBerryAddress represents a NewBerryAddress event raised by the BerryDispute contract.
type BerryDisputeNewBerryAddressIterator ¶
type BerryDisputeNewBerryAddressIterator struct { Event *BerryDisputeNewBerryAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeNewBerryAddressIterator is returned from FilterNewBerryAddress and is used to iterate over the raw logs and unpacked data for NewBerryAddress events raised by the BerryDispute contract.
func (*BerryDisputeNewBerryAddressIterator) Close ¶
func (it *BerryDisputeNewBerryAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeNewBerryAddressIterator) Error ¶
func (it *BerryDisputeNewBerryAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeNewBerryAddressIterator) Next ¶
func (it *BerryDisputeNewBerryAddressIterator) 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 BerryDisputeNewDispute ¶
type BerryDisputeNewDispute struct { DisputeId *big.Int RequestId *big.Int Timestamp *big.Int Miner common.Address Raw types.Log // Blockchain specific contextual infos }
BerryDisputeNewDispute represents a NewDispute event raised by the BerryDispute contract.
type BerryDisputeNewDisputeIterator ¶
type BerryDisputeNewDisputeIterator struct { Event *BerryDisputeNewDispute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeNewDisputeIterator is returned from FilterNewDispute and is used to iterate over the raw logs and unpacked data for NewDispute events raised by the BerryDispute contract.
func (*BerryDisputeNewDisputeIterator) Close ¶
func (it *BerryDisputeNewDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeNewDisputeIterator) Error ¶
func (it *BerryDisputeNewDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeNewDisputeIterator) Next ¶
func (it *BerryDisputeNewDisputeIterator) 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 BerryDisputeRaw ¶
type BerryDisputeRaw struct {
Contract *BerryDispute // Generic contract binding to access the raw methods on
}
BerryDisputeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryDisputeRaw) Call ¶
func (_BerryDispute *BerryDisputeRaw) 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 (*BerryDisputeRaw) Transact ¶
func (_BerryDispute *BerryDisputeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryDisputeRaw) Transfer ¶
func (_BerryDispute *BerryDisputeRaw) 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 BerryDisputeSession ¶
type BerryDisputeSession struct { Contract *BerryDispute // 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 }
BerryDisputeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryDisputeTransactor ¶
type BerryDisputeTransactor struct {
// contains filtered or unexported fields
}
BerryDisputeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryDisputeTransactor ¶
func NewBerryDisputeTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryDisputeTransactor, error)
NewBerryDisputeTransactor creates a new write-only instance of BerryDispute, bound to a specific deployed contract.
type BerryDisputeTransactorRaw ¶
type BerryDisputeTransactorRaw struct {
Contract *BerryDisputeTransactor // Generic write-only contract binding to access the raw methods on
}
BerryDisputeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryDisputeTransactorRaw) Transact ¶
func (_BerryDispute *BerryDisputeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryDisputeTransactorRaw) Transfer ¶
func (_BerryDispute *BerryDisputeTransactorRaw) 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 BerryDisputeTransactorSession ¶
type BerryDisputeTransactorSession struct { Contract *BerryDisputeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryDisputeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryDisputeVoted ¶
type BerryDisputeVoted struct { DisputeID *big.Int Position bool Voter common.Address Raw types.Log // Blockchain specific contextual infos }
BerryDisputeVoted represents a Voted event raised by the BerryDispute contract.
type BerryDisputeVotedIterator ¶
type BerryDisputeVotedIterator struct { Event *BerryDisputeVoted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeVotedIterator is returned from FilterVoted and is used to iterate over the raw logs and unpacked data for Voted events raised by the BerryDispute contract.
func (*BerryDisputeVotedIterator) Close ¶
func (it *BerryDisputeVotedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeVotedIterator) Error ¶
func (it *BerryDisputeVotedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeVotedIterator) Next ¶
func (it *BerryDisputeVotedIterator) 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 BerryGetters ¶
type BerryGetters struct { BerryGettersCaller // Read-only binding to the contract BerryGettersTransactor // Write-only binding to the contract BerryGettersFilterer // Log filterer for contract events }
BerryGetters is an auto generated Go binding around an Ethereum contract.
func DeployBerryGetters ¶
func DeployBerryGetters(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryGetters, error)
DeployBerryGetters deploys a new Ethereum contract, binding an instance of BerryGetters to it.
func NewBerryGetters ¶
func NewBerryGetters(address common.Address, backend bind.ContractBackend) (*BerryGetters, error)
NewBerryGetters creates a new instance of BerryGetters, bound to a specific deployed contract.
type BerryGettersCaller ¶
type BerryGettersCaller struct {
// contains filtered or unexported fields
}
BerryGettersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryGettersCaller ¶
func NewBerryGettersCaller(address common.Address, caller bind.ContractCaller) (*BerryGettersCaller, error)
NewBerryGettersCaller creates a new read-only instance of BerryGetters, bound to a specific deployed contract.
func (*BerryGettersCaller) Allowance ¶
func (_BerryGetters *BerryGettersCaller) 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(_user address, _spender address) constant returns(uint256)
func (*BerryGettersCaller) AllowedToTrade ¶
func (_BerryGetters *BerryGettersCaller) AllowedToTrade(opts *bind.CallOpts, _user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(_user address, _amount uint256) constant returns(bool)
func (*BerryGettersCaller) BalanceOf ¶
func (_BerryGetters *BerryGettersCaller) 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(_user address) constant returns(uint256)
func (*BerryGettersCaller) BalanceOfAt ¶
func (_BerryGetters *BerryGettersCaller) BalanceOfAt(opts *bind.CallOpts, _user common.Address, _blockNumber *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(_user address, _blockNumber uint256) constant returns(uint256)
func (*BerryGettersCaller) DidMine ¶
func (_BerryGetters *BerryGettersCaller) 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(_challenge bytes32, _miner address) constant returns(bool)
func (*BerryGettersCaller) DidVote ¶
func (_BerryGetters *BerryGettersCaller) 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(_disputeId uint256, _address address) constant returns(bool)
func (*BerryGettersCaller) GetAddressVars ¶
func (_BerryGetters *BerryGettersCaller) 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(_data bytes32) constant returns(address)
func (*BerryGettersCaller) GetAllDisputeVars ¶
func (_BerryGetters *BerryGettersCaller) 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(_disputeId uint256) constant returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*BerryGettersCaller) GetCurrentVariables ¶
func (_BerryGetters *BerryGettersCaller) 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() constant returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*BerryGettersCaller) GetDisputeIdByDisputeHash ¶
func (_BerryGetters *BerryGettersCaller) 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(_hash bytes32) constant returns(uint256)
func (*BerryGettersCaller) GetDisputeUintVars ¶
func (_BerryGetters *BerryGettersCaller) 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(_disputeId uint256, _data bytes32) constant returns(uint256)
func (*BerryGettersCaller) GetLastNewValue ¶
func (_BerryGetters *BerryGettersCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() constant returns(uint256, bool)
func (*BerryGettersCaller) GetLastNewValueById ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256) constant returns(uint256, bool)
func (*BerryGettersCaller) GetMinedBlockNum ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryGettersCaller) GetMinersByRequestIdAndTimestamp ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256, _timestamp uint256) constant returns(address[5])
func (*BerryGettersCaller) GetName ¶
func (_BerryGetters *BerryGettersCaller) GetName(opts *bind.CallOpts) (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() constant returns(string)
func (*BerryGettersCaller) GetNewValueCountbyRequestId ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256) constant returns(uint256)
func (*BerryGettersCaller) GetRequestIdByQueryHash ¶
func (_BerryGetters *BerryGettersCaller) 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(_request bytes32) constant returns(uint256)
func (*BerryGettersCaller) GetRequestIdByRequestQIndex ¶
func (_BerryGetters *BerryGettersCaller) 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(_index uint256) constant returns(uint256)
func (*BerryGettersCaller) GetRequestIdByTimestamp ¶
func (_BerryGetters *BerryGettersCaller) 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(_timestamp uint256) constant returns(uint256)
func (*BerryGettersCaller) GetRequestQ ¶
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() constant returns(uint256[51])
func (*BerryGettersCaller) GetRequestUintVars ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256, _data bytes32) constant returns(uint256)
func (*BerryGettersCaller) GetRequestVars ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256) constant returns(string, string, bytes32, uint256, uint256, uint256)
func (*BerryGettersCaller) GetStakerInfo ¶
func (_BerryGetters *BerryGettersCaller) 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(_staker address) constant returns(uint256, uint256)
func (*BerryGettersCaller) GetSubmissionsByTimestamp ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256, _timestamp uint256) constant returns(uint256[5])
func (*BerryGettersCaller) GetSymbol ¶
func (_BerryGetters *BerryGettersCaller) GetSymbol(opts *bind.CallOpts) (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() constant returns(string)
func (*BerryGettersCaller) GetTimestampbyRequestIDandIndex ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestID uint256, _index uint256) constant returns(uint256)
func (*BerryGettersCaller) GetUintVar ¶
func (_BerryGetters *BerryGettersCaller) 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(_data bytes32) constant returns(uint256)
func (*BerryGettersCaller) GetVariablesOnDeck ¶
func (_BerryGetters *BerryGettersCaller) 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() constant returns(uint256, uint256, string)
func (*BerryGettersCaller) IsInDispute ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256, _timestamp uint256) constant returns(bool)
func (*BerryGettersCaller) RetrieveData ¶
func (_BerryGetters *BerryGettersCaller) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryGettersCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BerryGettersCallerRaw ¶
type BerryGettersCallerRaw struct {
Contract *BerryGettersCaller // Generic read-only contract binding to access the raw methods on
}
BerryGettersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryGettersCallerRaw) Call ¶
func (_BerryGetters *BerryGettersCallerRaw) 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 BerryGettersCallerSession ¶
type BerryGettersCallerSession struct { Contract *BerryGettersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryGettersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BerryGettersCallerSession) Allowance ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_user address, _spender address) constant returns(uint256)
func (*BerryGettersCallerSession) AllowedToTrade ¶
func (_BerryGetters *BerryGettersCallerSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(_user address, _amount uint256) constant returns(bool)
func (*BerryGettersCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_user address) constant returns(uint256)
func (*BerryGettersCallerSession) BalanceOfAt ¶
func (_BerryGetters *BerryGettersCallerSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(_user address, _blockNumber uint256) constant returns(uint256)
func (*BerryGettersCallerSession) DidMine ¶
func (_BerryGetters *BerryGettersCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(_challenge bytes32, _miner address) constant returns(bool)
func (*BerryGettersCallerSession) DidVote ¶
func (_BerryGetters *BerryGettersCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(_disputeId uint256, _address address) constant returns(bool)
func (*BerryGettersCallerSession) GetAddressVars ¶
func (_BerryGetters *BerryGettersCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(_data bytes32) constant returns(address)
func (*BerryGettersCallerSession) GetAllDisputeVars ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_disputeId uint256) constant returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*BerryGettersCallerSession) GetCurrentVariables ¶
func (_BerryGetters *BerryGettersCallerSession) 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() constant returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*BerryGettersCallerSession) GetDisputeIdByDisputeHash ¶
func (_BerryGetters *BerryGettersCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(_hash bytes32) constant returns(uint256)
func (*BerryGettersCallerSession) GetDisputeUintVars ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_disputeId uint256, _data bytes32) constant returns(uint256)
func (*BerryGettersCallerSession) GetLastNewValue ¶
func (_BerryGetters *BerryGettersCallerSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() constant returns(uint256, bool)
func (*BerryGettersCallerSession) GetLastNewValueById ¶
func (_BerryGetters *BerryGettersCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(_requestId uint256) constant returns(uint256, bool)
func (*BerryGettersCallerSession) GetMinedBlockNum ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryGettersCallerSession) GetMinersByRequestIdAndTimestamp ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(address[5])
func (*BerryGettersCallerSession) GetName ¶
func (_BerryGetters *BerryGettersCallerSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() constant returns(string)
func (*BerryGettersCallerSession) GetNewValueCountbyRequestId ¶
func (_BerryGetters *BerryGettersCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(_requestId uint256) constant returns(uint256)
func (*BerryGettersCallerSession) GetRequestIdByQueryHash ¶
func (_BerryGetters *BerryGettersCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(_request bytes32) constant returns(uint256)
func (*BerryGettersCallerSession) GetRequestIdByRequestQIndex ¶
func (_BerryGetters *BerryGettersCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(_index uint256) constant returns(uint256)
func (*BerryGettersCallerSession) GetRequestIdByTimestamp ¶
func (_BerryGetters *BerryGettersCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(_timestamp uint256) constant returns(uint256)
func (*BerryGettersCallerSession) GetRequestQ ¶
func (_BerryGetters *BerryGettersCallerSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() constant returns(uint256[51])
func (*BerryGettersCallerSession) GetRequestUintVars ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestId uint256, _data bytes32) constant returns(uint256)
func (*BerryGettersCallerSession) GetRequestVars ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestId uint256) constant returns(string, string, bytes32, uint256, uint256, uint256)
func (*BerryGettersCallerSession) GetStakerInfo ¶
func (_BerryGetters *BerryGettersCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(_staker address) constant returns(uint256, uint256)
func (*BerryGettersCallerSession) GetSubmissionsByTimestamp ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256[5])
func (*BerryGettersCallerSession) GetSymbol ¶
func (_BerryGetters *BerryGettersCallerSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() constant returns(string)
func (*BerryGettersCallerSession) GetTimestampbyRequestIDandIndex ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestID uint256, _index uint256) constant returns(uint256)
func (*BerryGettersCallerSession) GetUintVar ¶
func (_BerryGetters *BerryGettersCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(_data bytes32) constant returns(uint256)
func (*BerryGettersCallerSession) GetVariablesOnDeck ¶
func (_BerryGetters *BerryGettersCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() constant returns(uint256, uint256, string)
func (*BerryGettersCallerSession) IsInDispute ¶
func (_BerryGetters *BerryGettersCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(_requestId uint256, _timestamp uint256) constant returns(bool)
func (*BerryGettersCallerSession) RetrieveData ¶
func (_BerryGetters *BerryGettersCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryGettersCallerSession) TotalSupply ¶
func (_BerryGetters *BerryGettersCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BerryGettersFilterer ¶
type BerryGettersFilterer struct {
// contains filtered or unexported fields
}
BerryGettersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryGettersFilterer ¶
func NewBerryGettersFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryGettersFilterer, error)
NewBerryGettersFilterer creates a new log filterer instance of BerryGetters, bound to a specific deployed contract.
type BerryGettersLibrary ¶
type BerryGettersLibrary struct { BerryGettersLibraryCaller // Read-only binding to the contract BerryGettersLibraryTransactor // Write-only binding to the contract BerryGettersLibraryFilterer // Log filterer for contract events }
BerryGettersLibrary is an auto generated Go binding around an Ethereum contract.
func DeployBerryGettersLibrary ¶
func DeployBerryGettersLibrary(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryGettersLibrary, error)
DeployBerryGettersLibrary deploys a new Ethereum contract, binding an instance of BerryGettersLibrary to it.
func NewBerryGettersLibrary ¶
func NewBerryGettersLibrary(address common.Address, backend bind.ContractBackend) (*BerryGettersLibrary, error)
NewBerryGettersLibrary creates a new instance of BerryGettersLibrary, bound to a specific deployed contract.
type BerryGettersLibraryCaller ¶
type BerryGettersLibraryCaller struct {
// contains filtered or unexported fields
}
BerryGettersLibraryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryGettersLibraryCaller ¶
func NewBerryGettersLibraryCaller(address common.Address, caller bind.ContractCaller) (*BerryGettersLibraryCaller, error)
NewBerryGettersLibraryCaller creates a new read-only instance of BerryGettersLibrary, bound to a specific deployed contract.
type BerryGettersLibraryCallerRaw ¶
type BerryGettersLibraryCallerRaw struct {
Contract *BerryGettersLibraryCaller // Generic read-only contract binding to access the raw methods on
}
BerryGettersLibraryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryGettersLibraryCallerRaw) Call ¶
func (_BerryGettersLibrary *BerryGettersLibraryCallerRaw) 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 BerryGettersLibraryCallerSession ¶
type BerryGettersLibraryCallerSession struct { Contract *BerryGettersLibraryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryGettersLibraryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryGettersLibraryFilterer ¶
type BerryGettersLibraryFilterer struct {
// contains filtered or unexported fields
}
BerryGettersLibraryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryGettersLibraryFilterer ¶
func NewBerryGettersLibraryFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryGettersLibraryFilterer, error)
NewBerryGettersLibraryFilterer creates a new log filterer instance of BerryGettersLibrary, bound to a specific deployed contract.
func (*BerryGettersLibraryFilterer) FilterNewBerryAddress ¶
func (_BerryGettersLibrary *BerryGettersLibraryFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryGettersLibraryNewBerryAddressIterator, error)
FilterNewBerryAddress is a free log retrieval operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryGettersLibraryFilterer) WatchNewBerryAddress ¶
func (_BerryGettersLibrary *BerryGettersLibraryFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryGettersLibraryNewBerryAddress) (event.Subscription, error)
WatchNewBerryAddress is a free log subscription operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
type BerryGettersLibraryNewBerryAddress ¶
type BerryGettersLibraryNewBerryAddress struct { NewBerry common.Address Raw types.Log // Blockchain specific contextual infos }
BerryGettersLibraryNewBerryAddress represents a NewBerryAddress event raised by the BerryGettersLibrary contract.
type BerryGettersLibraryNewBerryAddressIterator ¶
type BerryGettersLibraryNewBerryAddressIterator struct { Event *BerryGettersLibraryNewBerryAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryGettersLibraryNewBerryAddressIterator is returned from FilterNewBerryAddress and is used to iterate over the raw logs and unpacked data for NewBerryAddress events raised by the BerryGettersLibrary contract.
func (*BerryGettersLibraryNewBerryAddressIterator) Close ¶
func (it *BerryGettersLibraryNewBerryAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryGettersLibraryNewBerryAddressIterator) Error ¶
func (it *BerryGettersLibraryNewBerryAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryGettersLibraryNewBerryAddressIterator) Next ¶
func (it *BerryGettersLibraryNewBerryAddressIterator) 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 BerryGettersLibraryRaw ¶
type BerryGettersLibraryRaw struct {
Contract *BerryGettersLibrary // Generic contract binding to access the raw methods on
}
BerryGettersLibraryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryGettersLibraryRaw) Call ¶
func (_BerryGettersLibrary *BerryGettersLibraryRaw) 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 (*BerryGettersLibraryRaw) Transact ¶
func (_BerryGettersLibrary *BerryGettersLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryGettersLibraryRaw) Transfer ¶
func (_BerryGettersLibrary *BerryGettersLibraryRaw) 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 BerryGettersLibrarySession ¶
type BerryGettersLibrarySession struct { Contract *BerryGettersLibrary // 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 }
BerryGettersLibrarySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryGettersLibraryTransactor ¶
type BerryGettersLibraryTransactor struct {
// contains filtered or unexported fields
}
BerryGettersLibraryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryGettersLibraryTransactor ¶
func NewBerryGettersLibraryTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryGettersLibraryTransactor, error)
NewBerryGettersLibraryTransactor creates a new write-only instance of BerryGettersLibrary, bound to a specific deployed contract.
type BerryGettersLibraryTransactorRaw ¶
type BerryGettersLibraryTransactorRaw struct {
Contract *BerryGettersLibraryTransactor // Generic write-only contract binding to access the raw methods on
}
BerryGettersLibraryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryGettersLibraryTransactorRaw) Transact ¶
func (_BerryGettersLibrary *BerryGettersLibraryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryGettersLibraryTransactorRaw) Transfer ¶
func (_BerryGettersLibrary *BerryGettersLibraryTransactorRaw) 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 BerryGettersLibraryTransactorSession ¶
type BerryGettersLibraryTransactorSession struct { Contract *BerryGettersLibraryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryGettersLibraryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryGettersRaw ¶
type BerryGettersRaw struct {
Contract *BerryGetters // Generic contract binding to access the raw methods on
}
BerryGettersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryGettersRaw) Call ¶
func (_BerryGetters *BerryGettersRaw) 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 (*BerryGettersRaw) Transact ¶
func (_BerryGetters *BerryGettersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryGettersRaw) Transfer ¶
func (_BerryGetters *BerryGettersRaw) 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 BerryGettersSession ¶
type BerryGettersSession struct { Contract *BerryGetters // 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 }
BerryGettersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BerryGettersSession) Allowance ¶
func (_BerryGetters *BerryGettersSession) 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(_user address, _spender address) constant returns(uint256)
func (*BerryGettersSession) AllowedToTrade ¶
func (_BerryGetters *BerryGettersSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(_user address, _amount uint256) constant returns(bool)
func (*BerryGettersSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_user address) constant returns(uint256)
func (*BerryGettersSession) BalanceOfAt ¶
func (_BerryGetters *BerryGettersSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(_user address, _blockNumber uint256) constant returns(uint256)
func (*BerryGettersSession) DidMine ¶
func (_BerryGetters *BerryGettersSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(_challenge bytes32, _miner address) constant returns(bool)
func (*BerryGettersSession) DidVote ¶
func (_BerryGetters *BerryGettersSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(_disputeId uint256, _address address) constant returns(bool)
func (*BerryGettersSession) GetAddressVars ¶
func (_BerryGetters *BerryGettersSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(_data bytes32) constant returns(address)
func (*BerryGettersSession) GetAllDisputeVars ¶
func (_BerryGetters *BerryGettersSession) 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(_disputeId uint256) constant returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*BerryGettersSession) GetCurrentVariables ¶
func (_BerryGetters *BerryGettersSession) 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() constant returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*BerryGettersSession) GetDisputeIdByDisputeHash ¶
func (_BerryGetters *BerryGettersSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(_hash bytes32) constant returns(uint256)
func (*BerryGettersSession) GetDisputeUintVars ¶
func (_BerryGetters *BerryGettersSession) 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(_disputeId uint256, _data bytes32) constant returns(uint256)
func (*BerryGettersSession) GetLastNewValue ¶
func (_BerryGetters *BerryGettersSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() constant returns(uint256, bool)
func (*BerryGettersSession) GetLastNewValueById ¶
func (_BerryGetters *BerryGettersSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(_requestId uint256) constant returns(uint256, bool)
func (*BerryGettersSession) GetMinedBlockNum ¶
func (_BerryGetters *BerryGettersSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryGettersSession) GetMinersByRequestIdAndTimestamp ¶
func (_BerryGetters *BerryGettersSession) 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(_requestId uint256, _timestamp uint256) constant returns(address[5])
func (*BerryGettersSession) GetName ¶
func (_BerryGetters *BerryGettersSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() constant returns(string)
func (*BerryGettersSession) GetNewValueCountbyRequestId ¶
func (_BerryGetters *BerryGettersSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(_requestId uint256) constant returns(uint256)
func (*BerryGettersSession) GetRequestIdByQueryHash ¶
func (_BerryGetters *BerryGettersSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(_request bytes32) constant returns(uint256)
func (*BerryGettersSession) GetRequestIdByRequestQIndex ¶
func (_BerryGetters *BerryGettersSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(_index uint256) constant returns(uint256)
func (*BerryGettersSession) GetRequestIdByTimestamp ¶
func (_BerryGetters *BerryGettersSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(_timestamp uint256) constant returns(uint256)
func (*BerryGettersSession) GetRequestQ ¶
func (_BerryGetters *BerryGettersSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() constant returns(uint256[51])
func (*BerryGettersSession) GetRequestUintVars ¶
func (_BerryGetters *BerryGettersSession) 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(_requestId uint256, _data bytes32) constant returns(uint256)
func (*BerryGettersSession) GetRequestVars ¶
func (_BerryGetters *BerryGettersSession) 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(_requestId uint256) constant returns(string, string, bytes32, uint256, uint256, uint256)
func (*BerryGettersSession) GetStakerInfo ¶
func (_BerryGetters *BerryGettersSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(_staker address) constant returns(uint256, uint256)
func (*BerryGettersSession) GetSubmissionsByTimestamp ¶
func (_BerryGetters *BerryGettersSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256[5])
func (*BerryGettersSession) GetSymbol ¶
func (_BerryGetters *BerryGettersSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() constant returns(string)
func (*BerryGettersSession) GetTimestampbyRequestIDandIndex ¶
func (_BerryGetters *BerryGettersSession) 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(_requestID uint256, _index uint256) constant returns(uint256)
func (*BerryGettersSession) GetUintVar ¶
func (_BerryGetters *BerryGettersSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(_data bytes32) constant returns(uint256)
func (*BerryGettersSession) GetVariablesOnDeck ¶
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() constant returns(uint256, uint256, string)
func (*BerryGettersSession) IsInDispute ¶
func (_BerryGetters *BerryGettersSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(_requestId uint256, _timestamp uint256) constant returns(bool)
func (*BerryGettersSession) RetrieveData ¶
func (_BerryGetters *BerryGettersSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryGettersSession) TotalSupply ¶
func (_BerryGetters *BerryGettersSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BerryGettersTransactor ¶
type BerryGettersTransactor struct {
// contains filtered or unexported fields
}
BerryGettersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryGettersTransactor ¶
func NewBerryGettersTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryGettersTransactor, error)
NewBerryGettersTransactor creates a new write-only instance of BerryGetters, bound to a specific deployed contract.
type BerryGettersTransactorRaw ¶
type BerryGettersTransactorRaw struct {
Contract *BerryGettersTransactor // Generic write-only contract binding to access the raw methods on
}
BerryGettersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryGettersTransactorRaw) Transact ¶
func (_BerryGetters *BerryGettersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryGettersTransactorRaw) Transfer ¶
func (_BerryGetters *BerryGettersTransactorRaw) 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 BerryGettersTransactorSession ¶
type BerryGettersTransactorSession struct { Contract *BerryGettersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryGettersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryMaster ¶
type BerryMaster struct { BerryMasterCaller // Read-only binding to the contract BerryMasterTransactor // Write-only binding to the contract BerryMasterFilterer // Log filterer for contract events }
BerryMaster is an auto generated Go binding around an Ethereum contract.
func DeployBerryMaster ¶
func DeployBerryMaster(auth *bind.TransactOpts, backend bind.ContractBackend, _berryContract common.Address) (common.Address, *types.Transaction, *BerryMaster, error)
DeployBerryMaster deploys a new Ethereum contract, binding an instance of BerryMaster to it.
func NewBerryMaster ¶
func NewBerryMaster(address common.Address, backend bind.ContractBackend) (*BerryMaster, error)
NewBerryMaster creates a new instance of BerryMaster, bound to a specific deployed contract.
type BerryMasterCaller ¶
type BerryMasterCaller struct {
// contains filtered or unexported fields
}
BerryMasterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryMasterCaller ¶
func NewBerryMasterCaller(address common.Address, caller bind.ContractCaller) (*BerryMasterCaller, error)
NewBerryMasterCaller creates a new read-only instance of BerryMaster, bound to a specific deployed contract.
func (*BerryMasterCaller) Allowance ¶
func (_BerryMaster *BerryMasterCaller) 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(_user address, _spender address) constant returns(uint256)
func (*BerryMasterCaller) AllowedToTrade ¶
func (_BerryMaster *BerryMasterCaller) AllowedToTrade(opts *bind.CallOpts, _user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(_user address, _amount uint256) constant returns(bool)
func (*BerryMasterCaller) BalanceOf ¶
func (_BerryMaster *BerryMasterCaller) 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(_user address) constant returns(uint256)
func (*BerryMasterCaller) BalanceOfAt ¶
func (_BerryMaster *BerryMasterCaller) BalanceOfAt(opts *bind.CallOpts, _user common.Address, _blockNumber *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(_user address, _blockNumber uint256) constant returns(uint256)
func (*BerryMasterCaller) DidMine ¶
func (_BerryMaster *BerryMasterCaller) 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(_challenge bytes32, _miner address) constant returns(bool)
func (*BerryMasterCaller) DidVote ¶
func (_BerryMaster *BerryMasterCaller) 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(_disputeId uint256, _address address) constant returns(bool)
func (*BerryMasterCaller) GetAddressVars ¶
func (_BerryMaster *BerryMasterCaller) 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(_data bytes32) constant returns(address)
func (*BerryMasterCaller) GetAllDisputeVars ¶
func (_BerryMaster *BerryMasterCaller) 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(_disputeId uint256) constant returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*BerryMasterCaller) GetCurrentVariables ¶
func (_BerryMaster *BerryMasterCaller) 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() constant returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*BerryMasterCaller) GetDisputeIdByDisputeHash ¶
func (_BerryMaster *BerryMasterCaller) 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(_hash bytes32) constant returns(uint256)
func (*BerryMasterCaller) GetDisputeUintVars ¶
func (_BerryMaster *BerryMasterCaller) 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(_disputeId uint256, _data bytes32) constant returns(uint256)
func (*BerryMasterCaller) GetLastNewValue ¶
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() constant returns(uint256, bool)
func (*BerryMasterCaller) GetLastNewValueById ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256) constant returns(uint256, bool)
func (*BerryMasterCaller) GetMinedBlockNum ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryMasterCaller) GetMinersByRequestIdAndTimestamp ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256, _timestamp uint256) constant returns(address[5])
func (*BerryMasterCaller) GetName ¶
func (_BerryMaster *BerryMasterCaller) GetName(opts *bind.CallOpts) (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() constant returns(string)
func (*BerryMasterCaller) GetNewValueCountbyRequestId ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256) constant returns(uint256)
func (*BerryMasterCaller) GetRequestIdByQueryHash ¶
func (_BerryMaster *BerryMasterCaller) 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(_request bytes32) constant returns(uint256)
func (*BerryMasterCaller) GetRequestIdByRequestQIndex ¶
func (_BerryMaster *BerryMasterCaller) 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(_index uint256) constant returns(uint256)
func (*BerryMasterCaller) GetRequestIdByTimestamp ¶
func (_BerryMaster *BerryMasterCaller) 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(_timestamp uint256) constant returns(uint256)
func (*BerryMasterCaller) GetRequestQ ¶
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() constant returns(uint256[51])
func (*BerryMasterCaller) GetRequestUintVars ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256, _data bytes32) constant returns(uint256)
func (*BerryMasterCaller) GetRequestVars ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256) constant returns(string, string, bytes32, uint256, uint256, uint256)
func (*BerryMasterCaller) GetStakerInfo ¶
func (_BerryMaster *BerryMasterCaller) 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(_staker address) constant returns(uint256, uint256)
func (*BerryMasterCaller) GetSubmissionsByTimestamp ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256, _timestamp uint256) constant returns(uint256[5])
func (*BerryMasterCaller) GetSymbol ¶
func (_BerryMaster *BerryMasterCaller) GetSymbol(opts *bind.CallOpts) (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() constant returns(string)
func (*BerryMasterCaller) GetTimestampbyRequestIDandIndex ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestID uint256, _index uint256) constant returns(uint256)
func (*BerryMasterCaller) GetUintVar ¶
func (_BerryMaster *BerryMasterCaller) 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(_data bytes32) constant returns(uint256)
func (*BerryMasterCaller) GetVariablesOnDeck ¶
func (_BerryMaster *BerryMasterCaller) 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() constant returns(uint256, uint256, string)
func (*BerryMasterCaller) IsInDispute ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256, _timestamp uint256) constant returns(bool)
func (*BerryMasterCaller) RetrieveData ¶
func (_BerryMaster *BerryMasterCaller) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryMasterCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BerryMasterCallerRaw ¶
type BerryMasterCallerRaw struct {
Contract *BerryMasterCaller // Generic read-only contract binding to access the raw methods on
}
BerryMasterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryMasterCallerRaw) Call ¶
func (_BerryMaster *BerryMasterCallerRaw) 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 BerryMasterCallerSession ¶
type BerryMasterCallerSession struct { Contract *BerryMasterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryMasterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BerryMasterCallerSession) Allowance ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_user address, _spender address) constant returns(uint256)
func (*BerryMasterCallerSession) AllowedToTrade ¶
func (_BerryMaster *BerryMasterCallerSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(_user address, _amount uint256) constant returns(bool)
func (*BerryMasterCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_user address) constant returns(uint256)
func (*BerryMasterCallerSession) BalanceOfAt ¶
func (_BerryMaster *BerryMasterCallerSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(_user address, _blockNumber uint256) constant returns(uint256)
func (*BerryMasterCallerSession) DidMine ¶
func (_BerryMaster *BerryMasterCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(_challenge bytes32, _miner address) constant returns(bool)
func (*BerryMasterCallerSession) DidVote ¶
func (_BerryMaster *BerryMasterCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(_disputeId uint256, _address address) constant returns(bool)
func (*BerryMasterCallerSession) GetAddressVars ¶
func (_BerryMaster *BerryMasterCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(_data bytes32) constant returns(address)
func (*BerryMasterCallerSession) GetAllDisputeVars ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_disputeId uint256) constant returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*BerryMasterCallerSession) GetCurrentVariables ¶
func (_BerryMaster *BerryMasterCallerSession) 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() constant returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*BerryMasterCallerSession) GetDisputeIdByDisputeHash ¶
func (_BerryMaster *BerryMasterCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(_hash bytes32) constant returns(uint256)
func (*BerryMasterCallerSession) GetDisputeUintVars ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_disputeId uint256, _data bytes32) constant returns(uint256)
func (*BerryMasterCallerSession) GetLastNewValue ¶
func (_BerryMaster *BerryMasterCallerSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() constant returns(uint256, bool)
func (*BerryMasterCallerSession) GetLastNewValueById ¶
func (_BerryMaster *BerryMasterCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(_requestId uint256) constant returns(uint256, bool)
func (*BerryMasterCallerSession) GetMinedBlockNum ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryMasterCallerSession) GetMinersByRequestIdAndTimestamp ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(address[5])
func (*BerryMasterCallerSession) GetName ¶
func (_BerryMaster *BerryMasterCallerSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() constant returns(string)
func (*BerryMasterCallerSession) GetNewValueCountbyRequestId ¶
func (_BerryMaster *BerryMasterCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(_requestId uint256) constant returns(uint256)
func (*BerryMasterCallerSession) GetRequestIdByQueryHash ¶
func (_BerryMaster *BerryMasterCallerSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(_request bytes32) constant returns(uint256)
func (*BerryMasterCallerSession) GetRequestIdByRequestQIndex ¶
func (_BerryMaster *BerryMasterCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(_index uint256) constant returns(uint256)
func (*BerryMasterCallerSession) GetRequestIdByTimestamp ¶
func (_BerryMaster *BerryMasterCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(_timestamp uint256) constant returns(uint256)
func (*BerryMasterCallerSession) GetRequestQ ¶
func (_BerryMaster *BerryMasterCallerSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() constant returns(uint256[51])
func (*BerryMasterCallerSession) GetRequestUintVars ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestId uint256, _data bytes32) constant returns(uint256)
func (*BerryMasterCallerSession) GetRequestVars ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestId uint256) constant returns(string, string, bytes32, uint256, uint256, uint256)
func (*BerryMasterCallerSession) GetStakerInfo ¶
func (_BerryMaster *BerryMasterCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(_staker address) constant returns(uint256, uint256)
func (*BerryMasterCallerSession) GetSubmissionsByTimestamp ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256[5])
func (*BerryMasterCallerSession) GetSymbol ¶
func (_BerryMaster *BerryMasterCallerSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() constant returns(string)
func (*BerryMasterCallerSession) GetTimestampbyRequestIDandIndex ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestID uint256, _index uint256) constant returns(uint256)
func (*BerryMasterCallerSession) GetUintVar ¶
func (_BerryMaster *BerryMasterCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(_data bytes32) constant returns(uint256)
func (*BerryMasterCallerSession) GetVariablesOnDeck ¶
func (_BerryMaster *BerryMasterCallerSession) GetVariablesOnDeck() (*big.Int, *big.Int, string, error)
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() constant returns(uint256, uint256, string)
func (*BerryMasterCallerSession) IsInDispute ¶
func (_BerryMaster *BerryMasterCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(_requestId uint256, _timestamp uint256) constant returns(bool)
func (*BerryMasterCallerSession) RetrieveData ¶
func (_BerryMaster *BerryMasterCallerSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryMasterCallerSession) TotalSupply ¶
func (_BerryMaster *BerryMasterCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BerryMasterFilterer ¶
type BerryMasterFilterer struct {
// contains filtered or unexported fields
}
BerryMasterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryMasterFilterer ¶
func NewBerryMasterFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryMasterFilterer, error)
NewBerryMasterFilterer creates a new log filterer instance of BerryMaster, bound to a specific deployed contract.
func (*BerryMasterFilterer) FilterNewBerryAddress ¶
func (_BerryMaster *BerryMasterFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryMasterNewBerryAddressIterator, error)
FilterNewBerryAddress is a free log retrieval operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryMasterFilterer) WatchNewBerryAddress ¶
func (_BerryMaster *BerryMasterFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryMasterNewBerryAddress) (event.Subscription, error)
WatchNewBerryAddress is a free log subscription operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
type BerryMasterNewBerryAddress ¶
type BerryMasterNewBerryAddress struct { NewBerry common.Address Raw types.Log // Blockchain specific contextual infos }
BerryMasterNewBerryAddress represents a NewBerryAddress event raised by the BerryMaster contract.
type BerryMasterNewBerryAddressIterator ¶
type BerryMasterNewBerryAddressIterator struct { Event *BerryMasterNewBerryAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryMasterNewBerryAddressIterator is returned from FilterNewBerryAddress and is used to iterate over the raw logs and unpacked data for NewBerryAddress events raised by the BerryMaster contract.
func (*BerryMasterNewBerryAddressIterator) Close ¶
func (it *BerryMasterNewBerryAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryMasterNewBerryAddressIterator) Error ¶
func (it *BerryMasterNewBerryAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryMasterNewBerryAddressIterator) Next ¶
func (it *BerryMasterNewBerryAddressIterator) 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 BerryMasterRaw ¶
type BerryMasterRaw struct {
Contract *BerryMaster // Generic contract binding to access the raw methods on
}
BerryMasterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryMasterRaw) Call ¶
func (_BerryMaster *BerryMasterRaw) 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 (*BerryMasterRaw) Transact ¶
func (_BerryMaster *BerryMasterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryMasterRaw) Transfer ¶
func (_BerryMaster *BerryMasterRaw) 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 BerryMasterSession ¶
type BerryMasterSession struct { Contract *BerryMaster // 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 }
BerryMasterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BerryMasterSession) Allowance ¶
func (_BerryMaster *BerryMasterSession) 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(_user address, _spender address) constant returns(uint256)
func (*BerryMasterSession) AllowedToTrade ¶
func (_BerryMaster *BerryMasterSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(_user address, _amount uint256) constant returns(bool)
func (*BerryMasterSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_user address) constant returns(uint256)
func (*BerryMasterSession) BalanceOfAt ¶
func (_BerryMaster *BerryMasterSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.
Solidity: function balanceOfAt(_user address, _blockNumber uint256) constant returns(uint256)
func (*BerryMasterSession) ChangeBerryContract ¶
func (_BerryMaster *BerryMasterSession) ChangeBerryContract(_berryContract common.Address) (*types.Transaction, error)
ChangeBerryContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeBerryContract(_berryContract address) returns()
func (*BerryMasterSession) ChangeDeity ¶
func (_BerryMaster *BerryMasterSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(_newDeity address) returns()
func (*BerryMasterSession) DidMine ¶
func (_BerryMaster *BerryMasterSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(_challenge bytes32, _miner address) constant returns(bool)
func (*BerryMasterSession) DidVote ¶
func (_BerryMaster *BerryMasterSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(_disputeId uint256, _address address) constant returns(bool)
func (*BerryMasterSession) GetAddressVars ¶
func (_BerryMaster *BerryMasterSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(_data bytes32) constant returns(address)
func (*BerryMasterSession) GetAllDisputeVars ¶
func (_BerryMaster *BerryMasterSession) 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(_disputeId uint256) constant returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*BerryMasterSession) GetCurrentVariables ¶
func (_BerryMaster *BerryMasterSession) 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() constant returns(bytes32, uint256, uint256, string, uint256, uint256)
func (*BerryMasterSession) GetDisputeIdByDisputeHash ¶
func (_BerryMaster *BerryMasterSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(_hash bytes32) constant returns(uint256)
func (*BerryMasterSession) GetDisputeUintVars ¶
func (_BerryMaster *BerryMasterSession) 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(_disputeId uint256, _data bytes32) constant returns(uint256)
func (*BerryMasterSession) GetLastNewValue ¶
func (_BerryMaster *BerryMasterSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() constant returns(uint256, bool)
func (*BerryMasterSession) GetLastNewValueById ¶
func (_BerryMaster *BerryMasterSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(_requestId uint256) constant returns(uint256, bool)
func (*BerryMasterSession) GetMinedBlockNum ¶
func (_BerryMaster *BerryMasterSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryMasterSession) GetMinersByRequestIdAndTimestamp ¶
func (_BerryMaster *BerryMasterSession) 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(_requestId uint256, _timestamp uint256) constant returns(address[5])
func (*BerryMasterSession) GetName ¶
func (_BerryMaster *BerryMasterSession) GetName() (string, error)
GetName is a free data retrieval call binding the contract method 0x17d7de7c.
Solidity: function getName() constant returns(string)
func (*BerryMasterSession) GetNewValueCountbyRequestId ¶
func (_BerryMaster *BerryMasterSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(_requestId uint256) constant returns(uint256)
func (*BerryMasterSession) GetRequestIdByQueryHash ¶
func (_BerryMaster *BerryMasterSession) GetRequestIdByQueryHash(_request [32]byte) (*big.Int, error)
GetRequestIdByQueryHash is a free data retrieval call binding the contract method 0x1db842f0.
Solidity: function getRequestIdByQueryHash(_request bytes32) constant returns(uint256)
func (*BerryMasterSession) GetRequestIdByRequestQIndex ¶
func (_BerryMaster *BerryMasterSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(_index uint256) constant returns(uint256)
func (*BerryMasterSession) GetRequestIdByTimestamp ¶
func (_BerryMaster *BerryMasterSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(_timestamp uint256) constant returns(uint256)
func (*BerryMasterSession) GetRequestQ ¶
func (_BerryMaster *BerryMasterSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() constant returns(uint256[51])
func (*BerryMasterSession) GetRequestUintVars ¶
func (_BerryMaster *BerryMasterSession) 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(_requestId uint256, _data bytes32) constant returns(uint256)
func (*BerryMasterSession) GetRequestVars ¶
func (_BerryMaster *BerryMasterSession) 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(_requestId uint256) constant returns(string, string, bytes32, uint256, uint256, uint256)
func (*BerryMasterSession) GetStakerInfo ¶
func (_BerryMaster *BerryMasterSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(_staker address) constant returns(uint256, uint256)
func (*BerryMasterSession) GetSubmissionsByTimestamp ¶
func (_BerryMaster *BerryMasterSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256[5])
func (*BerryMasterSession) GetSymbol ¶
func (_BerryMaster *BerryMasterSession) GetSymbol() (string, error)
GetSymbol is a free data retrieval call binding the contract method 0x15070401.
Solidity: function getSymbol() constant returns(string)
func (*BerryMasterSession) GetTimestampbyRequestIDandIndex ¶
func (_BerryMaster *BerryMasterSession) 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(_requestID uint256, _index uint256) constant returns(uint256)
func (*BerryMasterSession) GetUintVar ¶
func (_BerryMaster *BerryMasterSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(_data bytes32) constant returns(uint256)
func (*BerryMasterSession) GetVariablesOnDeck ¶
GetVariablesOnDeck is a free data retrieval call binding the contract method 0x19e8e03b.
Solidity: function getVariablesOnDeck() constant returns(uint256, uint256, string)
func (*BerryMasterSession) IsInDispute ¶
func (_BerryMaster *BerryMasterSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(_requestId uint256, _timestamp uint256) constant returns(bool)
func (*BerryMasterSession) RetrieveData ¶
func (_BerryMaster *BerryMasterSession) 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(_requestId uint256, _timestamp uint256) constant returns(uint256)
func (*BerryMasterSession) TotalSupply ¶
func (_BerryMaster *BerryMasterSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BerryMasterTransactor ¶
type BerryMasterTransactor struct {
// contains filtered or unexported fields
}
BerryMasterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryMasterTransactor ¶
func NewBerryMasterTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryMasterTransactor, error)
NewBerryMasterTransactor creates a new write-only instance of BerryMaster, bound to a specific deployed contract.
func (*BerryMasterTransactor) ChangeBerryContract ¶
func (_BerryMaster *BerryMasterTransactor) ChangeBerryContract(opts *bind.TransactOpts, _berryContract common.Address) (*types.Transaction, error)
ChangeBerryContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeBerryContract(_berryContract address) returns()
func (*BerryMasterTransactor) ChangeDeity ¶
func (_BerryMaster *BerryMasterTransactor) ChangeDeity(opts *bind.TransactOpts, _newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(_newDeity address) returns()
type BerryMasterTransactorRaw ¶
type BerryMasterTransactorRaw struct {
Contract *BerryMasterTransactor // Generic write-only contract binding to access the raw methods on
}
BerryMasterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryMasterTransactorRaw) Transact ¶
func (_BerryMaster *BerryMasterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryMasterTransactorRaw) Transfer ¶
func (_BerryMaster *BerryMasterTransactorRaw) 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 BerryMasterTransactorSession ¶
type BerryMasterTransactorSession struct { Contract *BerryMasterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryMasterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BerryMasterTransactorSession) ChangeBerryContract ¶
func (_BerryMaster *BerryMasterTransactorSession) ChangeBerryContract(_berryContract common.Address) (*types.Transaction, error)
ChangeBerryContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeBerryContract(_berryContract address) returns()
func (*BerryMasterTransactorSession) ChangeDeity ¶
func (_BerryMaster *BerryMasterTransactorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(_newDeity address) returns()
type BerryStake ¶
type BerryStake struct { BerryStakeCaller // Read-only binding to the contract BerryStakeTransactor // Write-only binding to the contract BerryStakeFilterer // Log filterer for contract events }
BerryStake is an auto generated Go binding around an Ethereum contract.
func DeployBerryStake ¶
func DeployBerryStake(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryStake, error)
DeployBerryStake deploys a new Ethereum contract, binding an instance of BerryStake to it.
func NewBerryStake ¶
func NewBerryStake(address common.Address, backend bind.ContractBackend) (*BerryStake, error)
NewBerryStake creates a new instance of BerryStake, bound to a specific deployed contract.
type BerryStakeCaller ¶
type BerryStakeCaller struct {
// contains filtered or unexported fields
}
BerryStakeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryStakeCaller ¶
func NewBerryStakeCaller(address common.Address, caller bind.ContractCaller) (*BerryStakeCaller, error)
NewBerryStakeCaller creates a new read-only instance of BerryStake, bound to a specific deployed contract.
type BerryStakeCallerRaw ¶
type BerryStakeCallerRaw struct {
Contract *BerryStakeCaller // Generic read-only contract binding to access the raw methods on
}
BerryStakeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryStakeCallerRaw) Call ¶
func (_BerryStake *BerryStakeCallerRaw) 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 BerryStakeCallerSession ¶
type BerryStakeCallerSession struct { Contract *BerryStakeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryStakeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryStakeFilterer ¶
type BerryStakeFilterer struct {
// contains filtered or unexported fields
}
BerryStakeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryStakeFilterer ¶
func NewBerryStakeFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryStakeFilterer, error)
NewBerryStakeFilterer creates a new log filterer instance of BerryStake, bound to a specific deployed contract.
func (*BerryStakeFilterer) FilterNewStake ¶
func (_BerryStake *BerryStakeFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeNewStakeIterator, error)
FilterNewStake is a free log retrieval operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: e NewStake(_sender indexed address)
func (*BerryStakeFilterer) FilterStakeWithdrawRequested ¶
func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawRequestedIterator, error)
FilterStakeWithdrawRequested is a free log retrieval operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: e StakeWithdrawRequested(_sender indexed address)
func (*BerryStakeFilterer) FilterStakeWithdrawn ¶
func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawnIterator, error)
FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: e StakeWithdrawn(_sender indexed address)
func (*BerryStakeFilterer) WatchNewStake ¶
func (_BerryStake *BerryStakeFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *BerryStakeNewStake, _sender []common.Address) (event.Subscription, error)
WatchNewStake is a free log subscription operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: e NewStake(_sender indexed address)
func (*BerryStakeFilterer) WatchStakeWithdrawRequested ¶
func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawRequested, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawRequested is a free log subscription operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: e StakeWithdrawRequested(_sender indexed address)
func (*BerryStakeFilterer) WatchStakeWithdrawn ¶
func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawn, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawn is a free log subscription operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: e StakeWithdrawn(_sender indexed address)
type BerryStakeNewStake ¶
type BerryStakeNewStake struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BerryStakeNewStake represents a NewStake event raised by the BerryStake contract.
type BerryStakeNewStakeIterator ¶
type BerryStakeNewStakeIterator struct { Event *BerryStakeNewStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryStakeNewStakeIterator is returned from FilterNewStake and is used to iterate over the raw logs and unpacked data for NewStake events raised by the BerryStake contract.
func (*BerryStakeNewStakeIterator) Close ¶
func (it *BerryStakeNewStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryStakeNewStakeIterator) Error ¶
func (it *BerryStakeNewStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryStakeNewStakeIterator) Next ¶
func (it *BerryStakeNewStakeIterator) 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 BerryStakeRaw ¶
type BerryStakeRaw struct {
Contract *BerryStake // Generic contract binding to access the raw methods on
}
BerryStakeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryStakeRaw) Call ¶
func (_BerryStake *BerryStakeRaw) 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 (*BerryStakeRaw) Transact ¶
func (_BerryStake *BerryStakeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStakeRaw) Transfer ¶
func (_BerryStake *BerryStakeRaw) 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 BerryStakeSession ¶
type BerryStakeSession struct { Contract *BerryStake // 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 }
BerryStakeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryStakeStakeWithdrawRequested ¶
type BerryStakeStakeWithdrawRequested struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BerryStakeStakeWithdrawRequested represents a StakeWithdrawRequested event raised by the BerryStake contract.
type BerryStakeStakeWithdrawRequestedIterator ¶
type BerryStakeStakeWithdrawRequestedIterator struct { Event *BerryStakeStakeWithdrawRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryStakeStakeWithdrawRequestedIterator is returned from FilterStakeWithdrawRequested and is used to iterate over the raw logs and unpacked data for StakeWithdrawRequested events raised by the BerryStake contract.
func (*BerryStakeStakeWithdrawRequestedIterator) Close ¶
func (it *BerryStakeStakeWithdrawRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryStakeStakeWithdrawRequestedIterator) Error ¶
func (it *BerryStakeStakeWithdrawRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryStakeStakeWithdrawRequestedIterator) Next ¶
func (it *BerryStakeStakeWithdrawRequestedIterator) 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 BerryStakeStakeWithdrawn ¶
type BerryStakeStakeWithdrawn struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BerryStakeStakeWithdrawn represents a StakeWithdrawn event raised by the BerryStake contract.
type BerryStakeStakeWithdrawnIterator ¶
type BerryStakeStakeWithdrawnIterator struct { Event *BerryStakeStakeWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryStakeStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the BerryStake contract.
func (*BerryStakeStakeWithdrawnIterator) Close ¶
func (it *BerryStakeStakeWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryStakeStakeWithdrawnIterator) Error ¶
func (it *BerryStakeStakeWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryStakeStakeWithdrawnIterator) Next ¶
func (it *BerryStakeStakeWithdrawnIterator) 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 BerryStakeTransactor ¶
type BerryStakeTransactor struct {
// contains filtered or unexported fields
}
BerryStakeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryStakeTransactor ¶
func NewBerryStakeTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryStakeTransactor, error)
NewBerryStakeTransactor creates a new write-only instance of BerryStake, bound to a specific deployed contract.
type BerryStakeTransactorRaw ¶
type BerryStakeTransactorRaw struct {
Contract *BerryStakeTransactor // Generic write-only contract binding to access the raw methods on
}
BerryStakeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryStakeTransactorRaw) Transact ¶
func (_BerryStake *BerryStakeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStakeTransactorRaw) Transfer ¶
func (_BerryStake *BerryStakeTransactorRaw) 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 BerryStakeTransactorSession ¶
type BerryStakeTransactorSession struct { Contract *BerryStakeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryStakeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryStorage ¶
type BerryStorage struct { BerryStorageCaller // Read-only binding to the contract BerryStorageTransactor // Write-only binding to the contract BerryStorageFilterer // Log filterer for contract events }
BerryStorage is an auto generated Go binding around an Ethereum contract.
func DeployBerryStorage ¶
func DeployBerryStorage(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryStorage, error)
DeployBerryStorage deploys a new Ethereum contract, binding an instance of BerryStorage to it.
func NewBerryStorage ¶
func NewBerryStorage(address common.Address, backend bind.ContractBackend) (*BerryStorage, error)
NewBerryStorage creates a new instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageCaller ¶
type BerryStorageCaller struct {
// contains filtered or unexported fields
}
BerryStorageCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryStorageCaller ¶
func NewBerryStorageCaller(address common.Address, caller bind.ContractCaller) (*BerryStorageCaller, error)
NewBerryStorageCaller creates a new read-only instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageCallerRaw ¶
type BerryStorageCallerRaw struct {
Contract *BerryStorageCaller // Generic read-only contract binding to access the raw methods on
}
BerryStorageCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryStorageCallerRaw) Call ¶
func (_BerryStorage *BerryStorageCallerRaw) 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 BerryStorageCallerSession ¶
type BerryStorageCallerSession struct { Contract *BerryStorageCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryStorageCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryStorageFilterer ¶
type BerryStorageFilterer struct {
// contains filtered or unexported fields
}
BerryStorageFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryStorageFilterer ¶
func NewBerryStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryStorageFilterer, error)
NewBerryStorageFilterer creates a new log filterer instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageRaw ¶
type BerryStorageRaw struct {
Contract *BerryStorage // Generic contract binding to access the raw methods on
}
BerryStorageRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryStorageRaw) Call ¶
func (_BerryStorage *BerryStorageRaw) 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 (*BerryStorageRaw) Transact ¶
func (_BerryStorage *BerryStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStorageRaw) Transfer ¶
func (_BerryStorage *BerryStorageRaw) 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 BerryStorageSession ¶
type BerryStorageSession struct { Contract *BerryStorage // 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 }
BerryStorageSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryStorageTransactor ¶
type BerryStorageTransactor struct {
// contains filtered or unexported fields
}
BerryStorageTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryStorageTransactor ¶
func NewBerryStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryStorageTransactor, error)
NewBerryStorageTransactor creates a new write-only instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageTransactorRaw ¶
type BerryStorageTransactorRaw struct {
Contract *BerryStorageTransactor // Generic write-only contract binding to access the raw methods on
}
BerryStorageTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryStorageTransactorRaw) Transact ¶
func (_BerryStorage *BerryStorageTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStorageTransactorRaw) Transfer ¶
func (_BerryStorage *BerryStorageTransactorRaw) 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 BerryStorageTransactorSession ¶
type BerryStorageTransactorSession struct { Contract *BerryStorageTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryStorageTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryTransfer ¶
type BerryTransfer struct { BerryTransferCaller // Read-only binding to the contract BerryTransferTransactor // Write-only binding to the contract BerryTransferFilterer // Log filterer for contract events }
BerryTransfer is an auto generated Go binding around an Ethereum contract.
func DeployBerryTransfer ¶
func DeployBerryTransfer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryTransfer, error)
DeployBerryTransfer deploys a new Ethereum contract, binding an instance of BerryTransfer to it.
func NewBerryTransfer ¶
func NewBerryTransfer(address common.Address, backend bind.ContractBackend) (*BerryTransfer, error)
NewBerryTransfer creates a new instance of BerryTransfer, bound to a specific deployed contract.
type BerryTransferApproval ¶
type BerryTransferApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryTransferApproval represents a Approval event raised by the BerryTransfer contract.
type BerryTransferApprovalIterator ¶
type BerryTransferApprovalIterator struct { Event *BerryTransferApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryTransferApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BerryTransfer contract.
func (*BerryTransferApprovalIterator) Close ¶
func (it *BerryTransferApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryTransferApprovalIterator) Error ¶
func (it *BerryTransferApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryTransferApprovalIterator) Next ¶
func (it *BerryTransferApprovalIterator) 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 BerryTransferCaller ¶
type BerryTransferCaller struct {
// contains filtered or unexported fields
}
BerryTransferCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryTransferCaller ¶
func NewBerryTransferCaller(address common.Address, caller bind.ContractCaller) (*BerryTransferCaller, error)
NewBerryTransferCaller creates a new read-only instance of BerryTransfer, bound to a specific deployed contract.
type BerryTransferCallerRaw ¶
type BerryTransferCallerRaw struct {
Contract *BerryTransferCaller // Generic read-only contract binding to access the raw methods on
}
BerryTransferCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryTransferCallerRaw) Call ¶
func (_BerryTransfer *BerryTransferCallerRaw) 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 BerryTransferCallerSession ¶
type BerryTransferCallerSession struct { Contract *BerryTransferCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryTransferCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryTransferFilterer ¶
type BerryTransferFilterer struct {
// contains filtered or unexported fields
}
BerryTransferFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryTransferFilterer ¶
func NewBerryTransferFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryTransferFilterer, error)
NewBerryTransferFilterer creates a new log filterer instance of BerryTransfer, bound to a specific deployed contract.
func (*BerryTransferFilterer) FilterApproval ¶
func (_BerryTransfer *BerryTransferFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*BerryTransferApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: e Approval(_owner indexed address, _spender indexed address, _value uint256)
func (*BerryTransferFilterer) FilterTransfer ¶
func (_BerryTransfer *BerryTransferFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*BerryTransferTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: e Transfer(_from indexed address, _to indexed address, _value uint256)
func (*BerryTransferFilterer) WatchApproval ¶
func (_BerryTransfer *BerryTransferFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BerryTransferApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: e Approval(_owner indexed address, _spender indexed address, _value uint256)
func (*BerryTransferFilterer) WatchTransfer ¶
func (_BerryTransfer *BerryTransferFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BerryTransferTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: e Transfer(_from indexed address, _to indexed address, _value uint256)
type BerryTransferRaw ¶
type BerryTransferRaw struct {
Contract *BerryTransfer // Generic contract binding to access the raw methods on
}
BerryTransferRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryTransferRaw) Call ¶
func (_BerryTransfer *BerryTransferRaw) 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 (*BerryTransferRaw) Transact ¶
func (_BerryTransfer *BerryTransferRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryTransferRaw) Transfer ¶
func (_BerryTransfer *BerryTransferRaw) 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 BerryTransferSession ¶
type BerryTransferSession struct { Contract *BerryTransfer // 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 }
BerryTransferSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryTransferTransactor ¶
type BerryTransferTransactor struct {
// contains filtered or unexported fields
}
BerryTransferTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryTransferTransactor ¶
func NewBerryTransferTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryTransferTransactor, error)
NewBerryTransferTransactor creates a new write-only instance of BerryTransfer, bound to a specific deployed contract.
type BerryTransferTransactorRaw ¶
type BerryTransferTransactorRaw struct {
Contract *BerryTransferTransactor // Generic write-only contract binding to access the raw methods on
}
BerryTransferTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryTransferTransactorRaw) Transact ¶
func (_BerryTransfer *BerryTransferTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryTransferTransactorRaw) Transfer ¶
func (_BerryTransfer *BerryTransferTransactorRaw) 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 BerryTransferTransactorSession ¶
type BerryTransferTransactorSession struct { Contract *BerryTransferTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryTransferTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryTransferTransfer ¶
type BerryTransferTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryTransferTransfer represents a Transfer event raised by the BerryTransfer contract.
type BerryTransferTransferIterator ¶
type BerryTransferTransferIterator struct { Event *BerryTransferTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryTransferTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BerryTransfer contract.
func (*BerryTransferTransferIterator) Close ¶
func (it *BerryTransferTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryTransferTransferIterator) Error ¶
func (it *BerryTransferTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryTransferTransferIterator) Next ¶
func (it *BerryTransferTransferIterator) 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 SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type 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.