Documentation ¶
Index ¶
- Variables
- type ITellor
- type ITellorApproval
- type ITellorApprovalIterator
- type ITellorCaller
- func (_ITellor *ITellorCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
- func (_ITellor *ITellorCaller) AllowedToTrade(opts *bind.CallOpts, _user common.Address, _amount *big.Int) (bool, error)
- func (_ITellor *ITellorCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_ITellor *ITellorCaller) BalanceOfAt(opts *bind.CallOpts, _user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ITellor *ITellorCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
- func (_ITellor *ITellorCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
- func (_ITellor *ITellorCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
- func (_ITellor *ITellorCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ITellor *ITellorCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
- func (_ITellor *ITellorCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
- func (_ITellor *ITellorCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ITellor *ITellorCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ITellor *ITellorCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetNewVariablesOnDeck(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ITellor *ITellorCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetRequestQ(opts *bind.CallOpts) ([51]*big.Int, error)
- func (_ITellor *ITellorCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, *big.Int, error)
- func (_ITellor *ITellorCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
- func (_ITellor *ITellorCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ITellor *ITellorCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) GetTopRequestIDs(opts *bind.CallOpts) ([5]*big.Int, error)
- func (_ITellor *ITellorCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ITellor *ITellorCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ITellor *ITellorCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ITellor *ITellorCaller) TestgetMax5(opts *bind.CallOpts, requests [51]*big.Int) (struct{ ... }, error)
- func (_ITellor *ITellorCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ITellorCallerRaw
- type ITellorCallerSession
- func (_ITellor *ITellorCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
- func (_ITellor *ITellorCallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) Decimals() (uint8, error)
- func (_ITellor *ITellorCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_ITellor *ITellorCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_ITellor *ITellorCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_ITellor *ITellorCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ITellor *ITellorCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetLastNewValue() (*big.Int, bool, error)
- func (_ITellor *ITellorCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_ITellor *ITellorCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ITellor *ITellorCallerSession) GetNewCurrentVariables() (struct{ ... }, error)
- func (_ITellor *ITellorCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetNewVariablesOnDeck() (struct{ ... }, error)
- func (_ITellor *ITellorCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetRequestQ() ([51]*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetRequestVars(_requestId *big.Int) (*big.Int, *big.Int, error)
- func (_ITellor *ITellorCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_ITellor *ITellorCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetTopRequestIDs() ([5]*big.Int, error)
- func (_ITellor *ITellorCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ITellor *ITellorCallerSession) Name() (string, error)
- func (_ITellor *ITellorCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorCallerSession) Symbol() (string, error)
- func (_ITellor *ITellorCallerSession) TestgetMax5(requests [51]*big.Int) (struct{ ... }, error)
- func (_ITellor *ITellorCallerSession) TotalSupply() (*big.Int, error)
- type ITellorDisputeVoteTallied
- type ITellorDisputeVoteTalliedIterator
- type ITellorFilterer
- func (_ITellor *ITellorFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ITellorApprovalIterator, error)
- func (_ITellor *ITellorFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*ITellorDisputeVoteTalliedIterator, error)
- func (_ITellor *ITellorFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentChallenge [][32]byte) (*ITellorNewChallengeIterator, error)
- func (_ITellor *ITellorFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*ITellorNewDisputeIterator, error)
- func (_ITellor *ITellorFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*ITellorNewStakeIterator, error)
- func (_ITellor *ITellorFilterer) FilterNewTellorAddress(opts *bind.FilterOpts) (*ITellorNewTellorAddressIterator, error)
- func (_ITellor *ITellorFilterer) FilterNewValue(opts *bind.FilterOpts, _currentChallenge [][32]byte) (*ITellorNewValueIterator, error)
- func (_ITellor *ITellorFilterer) FilterNonceSubmitted(opts *bind.FilterOpts, _miner []common.Address, _currentChallenge [][32]byte) (*ITellorNonceSubmittedIterator, error)
- func (_ITellor *ITellorFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*ITellorStakeWithdrawRequestedIterator, error)
- func (_ITellor *ITellorFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*ITellorStakeWithdrawnIterator, error)
- func (_ITellor *ITellorFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ITellorTipAddedIterator, error)
- func (_ITellor *ITellorFilterer) FilterTransferred(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ITellorTransferredIterator, error)
- func (_ITellor *ITellorFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address, ...) (*ITellorVotedIterator, error)
- func (_ITellor *ITellorFilterer) ParseApproval(log types.Log) (*ITellorApproval, error)
- func (_ITellor *ITellorFilterer) ParseDisputeVoteTallied(log types.Log) (*ITellorDisputeVoteTallied, error)
- func (_ITellor *ITellorFilterer) ParseNewChallenge(log types.Log) (*ITellorNewChallenge, error)
- func (_ITellor *ITellorFilterer) ParseNewDispute(log types.Log) (*ITellorNewDispute, error)
- func (_ITellor *ITellorFilterer) ParseNewStake(log types.Log) (*ITellorNewStake, error)
- func (_ITellor *ITellorFilterer) ParseNewTellorAddress(log types.Log) (*ITellorNewTellorAddress, error)
- func (_ITellor *ITellorFilterer) ParseNewValue(log types.Log) (*ITellorNewValue, error)
- func (_ITellor *ITellorFilterer) ParseNonceSubmitted(log types.Log) (*ITellorNonceSubmitted, error)
- func (_ITellor *ITellorFilterer) ParseStakeWithdrawRequested(log types.Log) (*ITellorStakeWithdrawRequested, error)
- func (_ITellor *ITellorFilterer) ParseStakeWithdrawn(log types.Log) (*ITellorStakeWithdrawn, error)
- func (_ITellor *ITellorFilterer) ParseTipAdded(log types.Log) (*ITellorTipAdded, error)
- func (_ITellor *ITellorFilterer) ParseTransferred(log types.Log) (*ITellorTransferred, error)
- func (_ITellor *ITellorFilterer) ParseVoted(log types.Log) (*ITellorVoted, error)
- func (_ITellor *ITellorFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ITellorApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *ITellorDisputeVoteTallied, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *ITellorNewChallenge, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *ITellorNewDispute, _disputeId []*big.Int, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *ITellorNewStake, _sender []common.Address) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchNewTellorAddress(opts *bind.WatchOpts, sink chan<- *ITellorNewTellorAddress) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchNewValue(opts *bind.WatchOpts, sink chan<- *ITellorNewValue, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchNonceSubmitted(opts *bind.WatchOpts, sink chan<- *ITellorNonceSubmitted, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *ITellorStakeWithdrawRequested, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *ITellorStakeWithdrawn, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *ITellorTipAdded, _sender []common.Address, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchTransferred(opts *bind.WatchOpts, sink chan<- *ITellorTransferred, _from []common.Address, ...) (event.Subscription, error)
- func (_ITellor *ITellorFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *ITellorVoted, _disputeID []*big.Int, ...) (event.Subscription, error)
- type ITellorNewChallenge
- type ITellorNewChallengeIterator
- type ITellorNewDispute
- type ITellorNewDisputeIterator
- type ITellorNewStake
- type ITellorNewStakeIterator
- type ITellorNewTellorAddress
- type ITellorNewTellorAddressIterator
- type ITellorNewValue
- type ITellorNewValueIterator
- type ITellorNonceSubmitted
- type ITellorNonceSubmittedIterator
- type ITellorRaw
- func (_ITellor *ITellorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ITellor *ITellorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ITellor *ITellorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITellorSession
- func (_ITellor *ITellorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
- func (_ITellor *ITellorSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
- func (_ITellor *ITellorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_ITellor *ITellorSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorSession) ChangeMigrator(_migrator common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorSession) ChangeOwner(_newOwner common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorSession) ChangeTellorContract(_tellorContract common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorSession) Decimals() (uint8, error)
- func (_ITellor *ITellorSession) DepositStake() (*types.Transaction, error)
- func (_ITellor *ITellorSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_ITellor *ITellorSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
- func (_ITellor *ITellorSession) GetAddressVars(_data [32]byte) (common.Address, error)
- func (_ITellor *ITellorSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, ...)
- func (_ITellor *ITellorSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
- func (_ITellor *ITellorSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorSession) GetLastNewValue() (*big.Int, bool, error)
- func (_ITellor *ITellorSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
- func (_ITellor *ITellorSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
- func (_ITellor *ITellorSession) GetNewCurrentVariables() (struct{ ... }, error)
- func (_ITellor *ITellorSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) GetNewVariablesOnDeck() (struct{ ... }, error)
- func (_ITellor *ITellorSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) GetRequestQ() ([51]*big.Int, error)
- func (_ITellor *ITellorSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorSession) GetRequestVars(_requestId *big.Int) (*big.Int, *big.Int, error)
- func (_ITellor *ITellorSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_ITellor *ITellorSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
- func (_ITellor *ITellorSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) GetTopRequestIDs() ([5]*big.Int, error)
- func (_ITellor *ITellorSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_ITellor *ITellorSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
- func (_ITellor *ITellorSession) ManuallySetDifficulty(_diff *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) Migrate() (*types.Transaction, error)
- func (_ITellor *ITellorSession) MigrateFor(_destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
- func (_ITellor *ITellorSession) MigrateForBatch(_destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) MigrateFrom(_origin common.Address, _destination common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ITellor *ITellorSession) MigrateFromBatch(_origin []common.Address, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) Name() (string, error)
- func (_ITellor *ITellorSession) ProposeFork(_propNewTellorAddress common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_ITellor *ITellorSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
- func (_ITellor *ITellorSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) Symbol() (string, error)
- func (_ITellor *ITellorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) TestSubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) TestgetMax5(requests [51]*big.Int) (struct{ ... }, error)
- func (_ITellor *ITellorSession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) TotalSupply() (*big.Int, error)
- func (_ITellor *ITellorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) UpdateMinDisputeFee() (*types.Transaction, error)
- func (_ITellor *ITellorSession) UpdateTellor(_disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorSession) Verify() (*types.Transaction, error)
- func (_ITellor *ITellorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_ITellor *ITellorSession) WithdrawStake() (*types.Transaction, error)
- type ITellorStakeWithdrawRequested
- type ITellorStakeWithdrawRequestedIterator
- type ITellorStakeWithdrawn
- type ITellorStakeWithdrawnIterator
- type ITellorTipAdded
- type ITellorTipAddedIterator
- type ITellorTransactor
- func (_ITellor *ITellorTransactor) AddTip(opts *bind.TransactOpts, _requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) BeginDispute(opts *bind.TransactOpts, _requestId *big.Int, _timestamp *big.Int, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) ChangeDeity(opts *bind.TransactOpts, _newDeity common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) ChangeMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) ChangeOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) ChangeTellorContract(opts *bind.TransactOpts, _tellorContract common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) ManuallySetDifficulty(opts *bind.TransactOpts, _diff *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) MigrateFor(opts *bind.TransactOpts, _destination common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) MigrateForBatch(opts *bind.TransactOpts, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) MigrateFrom(opts *bind.TransactOpts, _origin common.Address, _destination common.Address, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) MigrateFromBatch(opts *bind.TransactOpts, _origin []common.Address, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) ProposeFork(opts *bind.TransactOpts, _propNewTellorAddress common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestIds [5]*big.Int, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) TallyVotes(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) TestSubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) TheLazyCoon(opts *bind.TransactOpts, _address common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) UnlockDisputeFee(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) UpdateMinDisputeFee(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) UpdateTellor(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) Verify(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) Vote(opts *bind.TransactOpts, _disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_ITellor *ITellorTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITellorTransactorRaw
- type ITellorTransactorSession
- func (_ITellor *ITellorTransactorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) ChangeMigrator(_migrator common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) ChangeOwner(_newOwner common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) ChangeTellorContract(_tellorContract common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) DepositStake() (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) ManuallySetDifficulty(_diff *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) Migrate() (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) MigrateFor(_destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) MigrateForBatch(_destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) MigrateFrom(_origin common.Address, _destination common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) MigrateFromBatch(_origin []common.Address, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) ProposeFork(_propNewTellorAddress common.Address) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) TestSubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) UpdateMinDisputeFee() (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) UpdateTellor(_disputeId *big.Int) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) Verify() (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_ITellor *ITellorTransactorSession) WithdrawStake() (*types.Transaction, error)
- type ITellorTransferred
- type ITellorTransferredIterator
- type ITellorVoted
- type ITellorVotedIterator
- type Reporter
- type ReporterCaller
- func (_Reporter *ReporterCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_Reporter *ReporterCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
- func (_Reporter *ReporterCaller) GetLastNewValue(opts *bind.CallOpts) (*big.Int, bool, error)
- func (_Reporter *ReporterCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Reporter *ReporterCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
- func (_Reporter *ReporterCaller) GetUintVar(opts *bind.CallOpts, _data [32]byte) (*big.Int, error)
- type ReporterCallerRaw
- type ReporterCallerSession
- func (_Reporter *ReporterCallerSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_Reporter *ReporterCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_Reporter *ReporterCallerSession) GetLastNewValue() (*big.Int, bool, error)
- func (_Reporter *ReporterCallerSession) GetNewCurrentVariables() (struct{ ... }, error)
- func (_Reporter *ReporterCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_Reporter *ReporterCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
- type ReporterFilterer
- type ReporterRaw
- func (_Reporter *ReporterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Reporter *ReporterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Reporter *ReporterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReporterSession
- func (_Reporter *ReporterSession) BalanceOf(_user common.Address) (*big.Int, error)
- func (_Reporter *ReporterSession) ChangeTellorContract(_tContract common.Address) (*types.Transaction, error)
- func (_Reporter *ReporterSession) DepositStake() (*types.Transaction, error)
- func (_Reporter *ReporterSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
- func (_Reporter *ReporterSession) GetLastNewValue() (*big.Int, bool, error)
- func (_Reporter *ReporterSession) GetNewCurrentVariables() (struct{ ... }, error)
- func (_Reporter *ReporterSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
- func (_Reporter *ReporterSession) GetUintVar(_data [32]byte) (*big.Int, error)
- func (_Reporter *ReporterSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_Reporter *ReporterSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
- func (_Reporter *ReporterSession) SubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int, _pass *big.Int) (*types.Transaction, error)
- func (_Reporter *ReporterSession) WithdrawStake() (*types.Transaction, error)
- type ReporterTransactor
- func (_Reporter *ReporterTransactor) ChangeTellorContract(opts *bind.TransactOpts, _tContract common.Address) (*types.Transaction, error)
- func (_Reporter *ReporterTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Reporter *ReporterTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Reporter *ReporterTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestIds [5]*big.Int, ...) (*types.Transaction, error)
- func (_Reporter *ReporterTransactor) SubmitMiningSolution0(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, ...) (*types.Transaction, error)
- func (_Reporter *ReporterTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReporterTransactorRaw
- type ReporterTransactorSession
- func (_Reporter *ReporterTransactorSession) ChangeTellorContract(_tContract common.Address) (*types.Transaction, error)
- func (_Reporter *ReporterTransactorSession) DepositStake() (*types.Transaction, error)
- func (_Reporter *ReporterTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_Reporter *ReporterTransactorSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
- func (_Reporter *ReporterTransactorSession) SubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int, _pass *big.Int) (*types.Transaction, error)
- func (_Reporter *ReporterTransactorSession) WithdrawStake() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ITellorABI = ITellorMetaData.ABI
ITellorABI is the input ABI used to generate the binding from. Deprecated: Use ITellorMetaData.ABI instead.
var ITellorFuncSigs = ITellorMetaData.Sigs
Deprecated: Use ITellorMetaData.Sigs instead. ITellorFuncSigs maps the 4-byte function signature to its string representation.
var ITellorMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_disputeID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"_result\",\"type\":\"int256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_reportedMiner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_reportingParty\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_passed\",\"type\":\"bool\"}],\"name\":\"DisputeVoteTallied\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_currentChallenge\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256[5]\",\"name\":\"_currentRequestId\",\"type\":\"uint256[5]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_difficulty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalTips\",\"type\":\"uint256\"}],\"name\":\"NewChallenge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"}],\"name\":\"NewDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"NewStake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newTellor\",\"type\":\"address\"}],\"name\":\"NewTellorAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[5]\",\"name\":\"_requestId\",\"type\":\"uint256[5]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_time\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[5]\",\"name\":\"_value\",\"type\":\"uint256[5]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalTips\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_currentChallenge\",\"type\":\"bytes32\"}],\"name\":\"NewValue\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_nonce\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256[5]\",\"name\":\"_requestId\",\"type\":\"uint256[5]\"},{\"indexed\":false,\"internalType\":\"uint256[5]\",\"name\":\"_value\",\"type\":\"uint256[5]\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_currentChallenge\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_slot\",\"type\":\"uint256\"}],\"name\":\"NonceSubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"StakeWithdrawRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"StakeWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tip\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalTips\",\"type\":\"uint256\"}],\"name\":\"TipAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_disputeID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_position\",\"type\":\"bool\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_voteWeight\",\"type\":\"uint256\"}],\"name\":\"Voted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tip\",\"type\":\"uint256\"}],\"name\":\"addTip\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"allowedToTrade\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minerIndex\",\"type\":\"uint256\"}],\"name\":\"beginDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newDeity\",\"type\":\"address\"}],\"name\":\"changeDeity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"changeMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tellorContract\",\"type\":\"address\"}],\"name\":\"changeTellorContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_challenge\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"}],\"name\":\"didMine\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"didVote\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"}],\"name\":\"getAddressVars\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"}],\"name\":\"getAllDisputeVars\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[9]\",\"name\":\"\",\"type\":\"uint256[9]\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"}],\"name\":\"getDisputeIdByDisputeHash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"}],\"name\":\"getDisputeUintVars\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastNewValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"}],\"name\":\"getLastNewValueById\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"getMinedBlockNum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"getMinersByRequestIdAndTimestamp\",\"outputs\":[{\"internalType\":\"address[5]\",\"name\":\"\",\"type\":\"address[5]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNewCurrentVariables\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"_challenge\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[5]\",\"name\":\"_requestIds\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256\",\"name\":\"_difficulty\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tip\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"}],\"name\":\"getNewValueCountbyRequestId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNewVariablesOnDeck\",\"outputs\":[{\"internalType\":\"uint256[5]\",\"name\":\"idsOnDeck\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256[5]\",\"name\":\"tipsOnDeck\",\"type\":\"uint256[5]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getRequestIdByRequestQIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"getRequestIdByTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRequestQ\",\"outputs\":[{\"internalType\":\"uint256[51]\",\"name\":\"\",\"type\":\"uint256[51]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"}],\"name\":\"getRequestUintVars\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"}],\"name\":\"getRequestVars\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_staker\",\"type\":\"address\"}],\"name\":\"getStakerInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"getSubmissionsByTimestamp\",\"outputs\":[{\"internalType\":\"uint256[5]\",\"name\":\"\",\"type\":\"uint256[5]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getTimestampbyRequestIDandIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTopRequestIDs\",\"outputs\":[{\"internalType\":\"uint256[5]\",\"name\":\"_requestIds\",\"type\":\"uint256[5]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"}],\"name\":\"getUintVar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"isInDispute\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_diff\",\"type\":\"uint256\"}],\"name\":\"manuallySetDifficulty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_bypass\",\"type\":\"bool\"}],\"name\":\"migrateFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_destination\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amount\",\"type\":\"uint256[]\"}],\"name\":\"migrateForBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_origin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_bypass\",\"type\":\"bool\"}],\"name\":\"migrateFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_origin\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_destination\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amount\",\"type\":\"uint256[]\"}],\"name\":\"migrateFromBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_propNewTellorAddress\",\"type\":\"address\"}],\"name\":\"proposeFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestStakingWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"retrieveData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_nonce\",\"type\":\"string\"},{\"internalType\":\"uint256[5]\",\"name\":\"_requestIds\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256[5]\",\"name\":\"_values\",\"type\":\"uint256[5]\"}],\"name\":\"submitMiningSolution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"}],\"name\":\"tallyVotes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_nonce\",\"type\":\"string\"},{\"internalType\":\"uint256[5]\",\"name\":\"_requestId\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256[5]\",\"name\":\"_value\",\"type\":\"uint256[5]\"}],\"name\":\"testSubmitMiningSolution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[51]\",\"name\":\"requests\",\"type\":\"uint256[51]\"}],\"name\":\"testgetMax5\",\"outputs\":[{\"internalType\":\"uint256[5]\",\"name\":\"_max\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256[5]\",\"name\":\"_index\",\"type\":\"uint256[5]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"theLazyCoon\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"}],\"name\":\"unlockDisputeFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateMinDisputeFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"}],\"name\":\"updateTellor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_supportsDispute\",\"type\":\"bool\"}],\"name\":\"vote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "752d49a1": "addTip(uint256,uint256)", "dd62ed3e": "allowance(address,address)", "999cf26c": "allowedToTrade(address,uint256)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "4ee2cd7e": "balanceOfAt(address,uint256)", "8581af19": "beginDispute(uint256,uint256,uint256)", "47abd7f1": "changeDeity(address)", "141e13fa": "changeMigrator(address)", "a6f9dae1": "changeOwner(address)", "ae0a8279": "changeTellorContract(address)", "313ce567": "decimals()", "0d2d76a2": "depositStake()", "63bb82ad": "didMine(bytes32,address)", "a7c438bc": "didVote(uint256,address)", "133bee5e": "getAddressVars(bytes32)", "af0b1327": "getAllDisputeVars(uint256)", "da379941": "getDisputeIdByDisputeHash(bytes32)", "7f6fd5d9": "getDisputeUintVars(uint256,bytes32)", "fc7cf0a0": "getLastNewValue()", "3180f8df": "getLastNewValueById(uint256)", "c775b542": "getMinedBlockNum(uint256,uint256)", "69026d63": "getMinersByRequestIdAndTimestamp(uint256,uint256)", "4049f198": "getNewCurrentVariables()", "46eee1c4": "getNewValueCountbyRequestId(uint256)", "9a7077ab": "getNewVariablesOnDeck()", "6173c0b8": "getRequestIdByRequestQIndex(uint256)", "0f0b424d": "getRequestIdByTimestamp(uint256)", "b5413029": "getRequestQ()", "e0ae93c1": "getRequestUintVars(uint256,bytes32)", "e1eee6d6": "getRequestVars(uint256)", "733bdef0": "getStakerInfo(address)", "11c98512": "getSubmissionsByTimestamp(uint256,uint256)", "77fbb663": "getTimestampbyRequestIDandIndex(uint256,uint256)", "fe1cd15d": "getTopRequestIDs()", "612c8f7f": "getUintVar(bytes32)", "3df0777b": "isInDispute(uint256,uint256)", "c52e9539": "manuallySetDifficulty(uint256)", "8fd3ab80": "migrate()", "a9fa7d34": "migrateFor(address,uint256,bool)", "42a89bd6": "migrateForBatch(address[],uint256[])", "121dd372": "migrateFrom(address,address,uint256,bool)", "8c0f4076": "migrateFromBatch(address[],address[],uint256[])", "06fdde03": "name()", "26b7d9f6": "proposeFork(address)", "28449c3a": "requestStakingWithdraw()", "93fa4915": "retrieveData(uint256,uint256)", "4350283e": "submitMiningSolution(string,uint256[5],uint256[5])", "95d89b41": "symbol()", "4d318b0e": "tallyVotes(uint256)", "d47f0dd4": "testSubmitMiningSolution(string,uint256[5],uint256[5])", "5e93d863": "testgetMax5(uint256[51])", "b079f64a": "theLazyCoon(address,uint256)", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", "9a01ca13": "unlockDisputeFee(uint256)", "90e5b235": "updateMinDisputeFee()", "f458ab98": "updateTellor(uint256)", "fc735e99": "verify()", "c9d27afe": "vote(uint256,bool)", "bed9d861": "withdrawStake()", }, }
ITellorMetaData contains all meta data concerning the ITellor contract.
var ReporterABI = ReporterMetaData.ABI
ReporterABI is the input ABI used to generate the binding from. Deprecated: Use ReporterMetaData.ABI instead.
var ReporterBin = ReporterMetaData.Bin
ReporterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ReporterMetaData.Bin instead.
var ReporterFuncSigs = ReporterMetaData.Sigs
Deprecated: Use ReporterMetaData.Sigs instead. ReporterFuncSigs maps the 4-byte function signature to its string representation.
var ReporterMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tContract\",\"type\":\"address\"}],\"name\":\"changeTellorContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_challenge\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"}],\"name\":\"didMine\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastNewValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNewCurrentVariables\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"_challenge\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[5]\",\"name\":\"_requestIds\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256\",\"name\":\"_diff\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tip\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_staker\",\"type\":\"address\"}],\"name\":\"getStakerInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_data\",\"type\":\"bytes32\"}],\"name\":\"getUintVar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestStakingWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_nonce\",\"type\":\"string\"},{\"internalType\":\"uint256[5]\",\"name\":\"_requestIds\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256[5]\",\"name\":\"_values\",\"type\":\"uint256[5]\"}],\"name\":\"submitMiningSolution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_nonce\",\"type\":\"string\"},{\"internalType\":\"uint256[5]\",\"name\":\"_requestId\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256[5]\",\"name\":\"_value\",\"type\":\"uint256[5]\"},{\"internalType\":\"uint256\",\"name\":\"_pass\",\"type\":\"uint256\"}],\"name\":\"submitMiningSolution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "70a08231": "balanceOf(address)", "ae0a8279": "changeTellorContract(address)", "0d2d76a2": "depositStake()", "63bb82ad": "didMine(bytes32,address)", "fc7cf0a0": "getLastNewValue()", "4049f198": "getNewCurrentVariables()", "733bdef0": "getStakerInfo(address)", "612c8f7f": "getUintVar(bytes32)", "28449c3a": "requestStakingWithdraw()", "4350283e": "submitMiningSolution(string,uint256[5],uint256[5])", "4cdae843": "submitMiningSolution(string,uint256[5],uint256[5],uint256)", "bed9d861": "withdrawStake()", }, Bin: "0x608060405234801561001057600080fd5b50610a47806100206000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806363bb82ad1161007157806363bb82ad1461013357806370a0823114610156578063733bdef014610169578063ae0a827914610191578063bed9d861146101c1578063fc7cf0a0146101c9576100b4565b80630d2d76a2146100b957806328449c3a146100c35780634049f198146100cb5780634350283e146100ec5780634cdae843146100ff578063612c8f7f14610112575b600080fd5b6100c16101e6565b005b6100c1610241565b6100d3610282565b6040516100e39493929190610965565b60405180910390f35b6100c16100fa366004610833565b610318565b6100c161010d366004610899565b610386565b610125610120366004610755565b6103f5565b6040519081526020016100e3565b61014661014136600461076d565b61047b565b60405190151581526020016100e3565b610125610164366004610721565b610509565b61017c610177366004610721565b61053c565b604080519283526020830191909152016100e3565b6100c161019f366004610721565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6100c16105c2565b6101d1610603565b604080519283529015156020830152016100e3565b6000805460408051630696bb5160e11b815290516001600160a01b0390921692630d2d76a29260048084019382900301818387803b15801561022757600080fd5b505af115801561023b573d6000803e3d6000fd5b50505050565b60008054604080516314224e1d60e11b815290516001600160a01b03909216926328449c3a9260048084019382900301818387803b15801561022757600080fd5b600061028c610684565b60008054604080516308093e3360e31b8152905183926001600160a01b031691634049f19891600480830192610100929190829003018186803b1580156102d257600080fd5b505afa1580156102e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030a9190610798565b935093509350935090919293565b6000546040516321a8141f60e11b81526001600160a01b0390911690634350283e9061034e9087908790879087906004016109a9565b600060405180830381600087803b15801561036857600080fd5b505af115801561037c573d6000803e3d6000fd5b5050505050505050565b6000546040516321a8141f60e11b81526001600160a01b0390911690634350283e906103bc9088908890889088906004016109a9565b600060405180830381600087803b1580156103d657600080fd5b505af11580156103ea573d6000803e3d6000fd5b505050505050505050565b6000805460405163612c8f7f60e01b8152600481018490526001600160a01b039091169063612c8f7f906024015b60206040518083038186803b15801561043b57600080fd5b505afa15801561044f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104739190610908565b90505b919050565b600080546040516363bb82ad60e01b8152600481018590526001600160a01b038481166024830152909116906363bb82ad9060440160206040518083038186803b1580156104c857600080fd5b505afa1580156104dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610500919061073b565b90505b92915050565b600080546040516370a0823160e01b81526001600160a01b038481166004830152909116906370a0823190602401610423565b60008054604051630733bdef60e41b81526001600160a01b0384811660048301528392169063733bdef090602401604080518083038186803b15801561058157600080fd5b505afa158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b99190610942565b91509150915091565b600080546040805163bed9d86160e01b815290516001600160a01b039092169263bed9d8619260048084019382900301818387803b15801561022757600080fd5b60008054604080516307e3e78560e51b8152815184936001600160a01b03169263fc7cf0a09260048082019391829003018186803b15801561064457600080fd5b505afa158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190610920565b915091509091565b6040518060a001604052806005906020820280368337509192915050565b80356001600160a01b038116811461047657600080fd5b8060a0810183101561050357600080fd5b8051801515811461047657600080fd5b60008083601f8401126106eb578182fd5b50813567ffffffffffffffff811115610702578182fd5b60208301915083602082850101111561071a57600080fd5b9250929050565b600060208284031215610732578081fd5b610500826106a2565b60006020828403121561074c578081fd5b610500826106ca565b600060208284031215610766578081fd5b5035919050565b6000806040838503121561077f578081fd5b8235915061078f602084016106a2565b90509250929050565b60008060008061010085870312156107ae578182fd5b84519350602086603f8701126107c2578283fd5b60405160a0810181811067ffffffffffffffff821117156107e5576107e56109fb565b6040528087830160c089018a8111156107fc578687fd5b865b600581101561081b578251845292850192918501916001016107fe565b505160e09990990151979a9299509195505050505050565b6000806000806101608587031215610849578384fd5b843567ffffffffffffffff81111561085f578485fd5b61086b878288016106da565b909550935061087f905086602087016106b9565b915061088e8660c087016106b9565b905092959194509250565b600080600080600061018086880312156108b1578081fd5b853567ffffffffffffffff8111156108c7578182fd5b6108d3888289016106da565b90965094506108e7905087602088016106b9565b92506108f68760c088016106b9565b94979396509194610160013592915050565b600060208284031215610919578081fd5b5051919050565b60008060408385031215610932578182fd5b8251915061078f602084016106ca565b60008060408385031215610954578182fd5b505080516020909101519092909150565b848152610100810160208083018660005b600581101561099357815183529183019190830190600101610976565b5050505060c082019390935260e0015292915050565b6101608082528101848152600090610180908688838601378282888601015281601f19601f890116850101925060a086602086013760c0840191506000825260a0858337600090525095945050505050565b634e487b7160e01b600052604160045260246000fdfea26469706673582212203b430b8ad59d6b2351e3f912023a50bb9669794ac470c76444d3aa6a1daab32864736f6c63430008030033", }
ReporterMetaData contains all meta data concerning the Reporter contract.
Functions ¶
This section is empty.
Types ¶
type ITellor ¶
type ITellor struct { ITellorCaller // Read-only binding to the contract ITellorTransactor // Write-only binding to the contract ITellorFilterer // Log filterer for contract events }
ITellor is an auto generated Go binding around an Ethereum contract.
func NewITellor ¶
NewITellor creates a new instance of ITellor, bound to a specific deployed contract.
type ITellorApproval ¶
type ITellorApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ITellorApproval represents a Approval event raised by the ITellor contract.
type ITellorApprovalIterator ¶
type ITellorApprovalIterator struct { Event *ITellorApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ITellor contract.
func (*ITellorApprovalIterator) Close ¶
func (it *ITellorApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorApprovalIterator) Error ¶
func (it *ITellorApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorApprovalIterator) Next ¶
func (it *ITellorApprovalIterator) 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 ITellorCaller ¶
type ITellorCaller struct {
// contains filtered or unexported fields
}
ITellorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewITellorCaller ¶
func NewITellorCaller(address common.Address, caller bind.ContractCaller) (*ITellorCaller, error)
NewITellorCaller creates a new read-only instance of ITellor, bound to a specific deployed contract.
func (*ITellorCaller) Allowance ¶
func (_ITellor *ITellorCaller) Allowance(opts *bind.CallOpts, _user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ITellorCaller) AllowedToTrade ¶
func (_ITellor *ITellorCaller) 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(address _user, uint256 _amount) view returns(bool)
func (*ITellorCaller) BalanceOf ¶
func (_ITellor *ITellorCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ITellorCaller) BalanceOfAt ¶
func (_ITellor *ITellorCaller) 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(address _user, uint256 _blockNumber) view returns(uint256)
func (*ITellorCaller) Decimals ¶
func (_ITellor *ITellorCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*ITellorCaller) DidMine ¶
func (_ITellor *ITellorCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ITellorCaller) DidVote ¶
func (_ITellor *ITellorCaller) DidVote(opts *bind.CallOpts, _disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ITellorCaller) GetAddressVars ¶
func (_ITellor *ITellorCaller) GetAddressVars(opts *bind.CallOpts, _data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ITellorCaller) GetAllDisputeVars ¶
func (_ITellor *ITellorCaller) GetAllDisputeVars(opts *bind.CallOpts, _disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ITellorCaller) GetDisputeIdByDisputeHash ¶
func (_ITellor *ITellorCaller) GetDisputeIdByDisputeHash(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ITellorCaller) GetDisputeUintVars ¶
func (_ITellor *ITellorCaller) GetDisputeUintVars(opts *bind.CallOpts, _disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ITellorCaller) GetLastNewValue ¶
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ITellorCaller) GetLastNewValueById ¶
func (_ITellor *ITellorCaller) GetLastNewValueById(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ITellorCaller) GetMinedBlockNum ¶
func (_ITellor *ITellorCaller) GetMinedBlockNum(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ITellorCaller) GetMinersByRequestIdAndTimestamp ¶
func (_ITellor *ITellorCaller) GetMinersByRequestIdAndTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ITellorCaller) GetNewCurrentVariables ¶
func (_ITellor *ITellorCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct { Challenge [32]byte RequestIds [5]*big.Int Difficulty *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficulty, uint256 _tip)
func (*ITellorCaller) GetNewValueCountbyRequestId ¶
func (_ITellor *ITellorCaller) GetNewValueCountbyRequestId(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ITellorCaller) GetNewVariablesOnDeck ¶
func (_ITellor *ITellorCaller) GetNewVariablesOnDeck(opts *bind.CallOpts) (struct { IdsOnDeck [5]*big.Int TipsOnDeck [5]*big.Int }, error)
GetNewVariablesOnDeck is a free data retrieval call binding the contract method 0x9a7077ab.
Solidity: function getNewVariablesOnDeck() view returns(uint256[5] idsOnDeck, uint256[5] tipsOnDeck)
func (*ITellorCaller) GetRequestIdByRequestQIndex ¶
func (_ITellor *ITellorCaller) GetRequestIdByRequestQIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ITellorCaller) GetRequestIdByTimestamp ¶
func (_ITellor *ITellorCaller) GetRequestIdByTimestamp(opts *bind.CallOpts, _timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ITellorCaller) GetRequestQ ¶
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ITellorCaller) GetRequestUintVars ¶
func (_ITellor *ITellorCaller) GetRequestUintVars(opts *bind.CallOpts, _requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ITellorCaller) GetRequestVars ¶
func (_ITellor *ITellorCaller) GetRequestVars(opts *bind.CallOpts, _requestId *big.Int) (*big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(uint256, uint256)
func (*ITellorCaller) GetStakerInfo ¶
func (_ITellor *ITellorCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ITellorCaller) GetSubmissionsByTimestamp ¶
func (_ITellor *ITellorCaller) GetSubmissionsByTimestamp(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ITellorCaller) GetTimestampbyRequestIDandIndex ¶
func (_ITellor *ITellorCaller) GetTimestampbyRequestIDandIndex(opts *bind.CallOpts, _requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ITellorCaller) GetTopRequestIDs ¶
GetTopRequestIDs is a free data retrieval call binding the contract method 0xfe1cd15d.
Solidity: function getTopRequestIDs() view returns(uint256[5] _requestIds)
func (*ITellorCaller) GetUintVar ¶
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ITellorCaller) IsInDispute ¶
func (_ITellor *ITellorCaller) IsInDispute(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ITellorCaller) Name ¶
func (_ITellor *ITellorCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*ITellorCaller) RetrieveData ¶
func (_ITellor *ITellorCaller) RetrieveData(opts *bind.CallOpts, _requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ITellorCaller) Symbol ¶
func (_ITellor *ITellorCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*ITellorCaller) TestgetMax5 ¶
func (_ITellor *ITellorCaller) TestgetMax5(opts *bind.CallOpts, requests [51]*big.Int) (struct { Max [5]*big.Int Index [5]*big.Int }, error)
TestgetMax5 is a free data retrieval call binding the contract method 0x5e93d863.
Solidity: function testgetMax5(uint256[51] requests) view returns(uint256[5] _max, uint256[5] _index)
func (*ITellorCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ITellorCallerRaw ¶
type ITellorCallerRaw struct {
Contract *ITellorCaller // Generic read-only contract binding to access the raw methods on
}
ITellorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ITellorCallerRaw) Call ¶
func (_ITellor *ITellorCallerRaw) 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 ITellorCallerSession ¶
type ITellorCallerSession struct { Contract *ITellorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ITellorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ITellorCallerSession) Allowance ¶
func (_ITellor *ITellorCallerSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ITellorCallerSession) AllowedToTrade ¶
func (_ITellor *ITellorCallerSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(address _user, uint256 _amount) view returns(bool)
func (*ITellorCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ITellorCallerSession) BalanceOfAt ¶
func (_ITellor *ITellorCallerSession) 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(address _user, uint256 _blockNumber) view returns(uint256)
func (*ITellorCallerSession) Decimals ¶
func (_ITellor *ITellorCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*ITellorCallerSession) DidMine ¶
func (_ITellor *ITellorCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ITellorCallerSession) DidVote ¶
func (_ITellor *ITellorCallerSession) DidVote(_disputeId *big.Int, _address common.Address) (bool, error)
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ITellorCallerSession) GetAddressVars ¶
func (_ITellor *ITellorCallerSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ITellorCallerSession) GetAllDisputeVars ¶
func (_ITellor *ITellorCallerSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ITellorCallerSession) GetDisputeIdByDisputeHash ¶
func (_ITellor *ITellorCallerSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ITellorCallerSession) GetDisputeUintVars ¶
func (_ITellor *ITellorCallerSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ITellorCallerSession) GetLastNewValue ¶
func (_ITellor *ITellorCallerSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ITellorCallerSession) GetLastNewValueById ¶
func (_ITellor *ITellorCallerSession) GetLastNewValueById(_requestId *big.Int) (*big.Int, bool, error)
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ITellorCallerSession) GetMinedBlockNum ¶
func (_ITellor *ITellorCallerSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ITellorCallerSession) GetMinersByRequestIdAndTimestamp ¶
func (_ITellor *ITellorCallerSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ITellorCallerSession) GetNewCurrentVariables ¶
func (_ITellor *ITellorCallerSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Difficulty *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficulty, uint256 _tip)
func (*ITellorCallerSession) GetNewValueCountbyRequestId ¶
func (_ITellor *ITellorCallerSession) GetNewValueCountbyRequestId(_requestId *big.Int) (*big.Int, error)
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ITellorCallerSession) GetNewVariablesOnDeck ¶
func (_ITellor *ITellorCallerSession) GetNewVariablesOnDeck() (struct { IdsOnDeck [5]*big.Int TipsOnDeck [5]*big.Int }, error)
GetNewVariablesOnDeck is a free data retrieval call binding the contract method 0x9a7077ab.
Solidity: function getNewVariablesOnDeck() view returns(uint256[5] idsOnDeck, uint256[5] tipsOnDeck)
func (*ITellorCallerSession) GetRequestIdByRequestQIndex ¶
func (_ITellor *ITellorCallerSession) GetRequestIdByRequestQIndex(_index *big.Int) (*big.Int, error)
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ITellorCallerSession) GetRequestIdByTimestamp ¶
func (_ITellor *ITellorCallerSession) GetRequestIdByTimestamp(_timestamp *big.Int) (*big.Int, error)
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ITellorCallerSession) GetRequestQ ¶
func (_ITellor *ITellorCallerSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ITellorCallerSession) GetRequestUintVars ¶
func (_ITellor *ITellorCallerSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ITellorCallerSession) GetRequestVars ¶
func (_ITellor *ITellorCallerSession) GetRequestVars(_requestId *big.Int) (*big.Int, *big.Int, error)
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(uint256, uint256)
func (*ITellorCallerSession) GetStakerInfo ¶
func (_ITellor *ITellorCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ITellorCallerSession) GetSubmissionsByTimestamp ¶
func (_ITellor *ITellorCallerSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ITellorCallerSession) GetTimestampbyRequestIDandIndex ¶
func (_ITellor *ITellorCallerSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ITellorCallerSession) GetTopRequestIDs ¶
func (_ITellor *ITellorCallerSession) GetTopRequestIDs() ([5]*big.Int, error)
GetTopRequestIDs is a free data retrieval call binding the contract method 0xfe1cd15d.
Solidity: function getTopRequestIDs() view returns(uint256[5] _requestIds)
func (*ITellorCallerSession) GetUintVar ¶
func (_ITellor *ITellorCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ITellorCallerSession) IsInDispute ¶
func (_ITellor *ITellorCallerSession) IsInDispute(_requestId *big.Int, _timestamp *big.Int) (bool, error)
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ITellorCallerSession) Name ¶
func (_ITellor *ITellorCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*ITellorCallerSession) RetrieveData ¶
func (_ITellor *ITellorCallerSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ITellorCallerSession) Symbol ¶
func (_ITellor *ITellorCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*ITellorCallerSession) TestgetMax5 ¶
func (_ITellor *ITellorCallerSession) TestgetMax5(requests [51]*big.Int) (struct { Max [5]*big.Int Index [5]*big.Int }, error)
TestgetMax5 is a free data retrieval call binding the contract method 0x5e93d863.
Solidity: function testgetMax5(uint256[51] requests) view returns(uint256[5] _max, uint256[5] _index)
func (*ITellorCallerSession) TotalSupply ¶
func (_ITellor *ITellorCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ITellorDisputeVoteTallied ¶
type ITellorDisputeVoteTallied struct { DisputeID *big.Int Result *big.Int ReportedMiner common.Address ReportingParty common.Address Passed bool Raw types.Log // Blockchain specific contextual infos }
ITellorDisputeVoteTallied represents a DisputeVoteTallied event raised by the ITellor contract.
type ITellorDisputeVoteTalliedIterator ¶
type ITellorDisputeVoteTalliedIterator struct { Event *ITellorDisputeVoteTallied // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorDisputeVoteTalliedIterator is returned from FilterDisputeVoteTallied and is used to iterate over the raw logs and unpacked data for DisputeVoteTallied events raised by the ITellor contract.
func (*ITellorDisputeVoteTalliedIterator) Close ¶
func (it *ITellorDisputeVoteTalliedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorDisputeVoteTalliedIterator) Error ¶
func (it *ITellorDisputeVoteTalliedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorDisputeVoteTalliedIterator) Next ¶
func (it *ITellorDisputeVoteTalliedIterator) 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 ITellorFilterer ¶
type ITellorFilterer struct {
// contains filtered or unexported fields
}
ITellorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewITellorFilterer ¶
func NewITellorFilterer(address common.Address, filterer bind.ContractFilterer) (*ITellorFilterer, error)
NewITellorFilterer creates a new log filterer instance of ITellor, bound to a specific deployed contract.
func (*ITellorFilterer) FilterApproval ¶
func (_ITellor *ITellorFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ITellorApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*ITellorFilterer) FilterDisputeVoteTallied ¶
func (_ITellor *ITellorFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*ITellorDisputeVoteTalliedIterator, error)
FilterDisputeVoteTallied is a free log retrieval operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: event DisputeVoteTallied(uint256 indexed _disputeID, int256 _result, address indexed _reportedMiner, address _reportingParty, bool _passed)
func (*ITellorFilterer) FilterNewChallenge ¶
func (_ITellor *ITellorFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentChallenge [][32]byte) (*ITellorNewChallengeIterator, error)
FilterNewChallenge is a free log retrieval operation binding the contract event 0x1d85ce10456e29b67de37887496d3f1fcf1b64c79c4d07484038703a9f5c1408.
Solidity: event NewChallenge(bytes32 indexed _currentChallenge, uint256[5] _currentRequestId, uint256 _difficulty, uint256 _totalTips)
func (*ITellorFilterer) FilterNewDispute ¶
func (_ITellor *ITellorFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*ITellorNewDisputeIterator, error)
FilterNewDispute is a free log retrieval operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ITellorFilterer) FilterNewStake ¶
func (_ITellor *ITellorFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*ITellorNewStakeIterator, error)
FilterNewStake is a free log retrieval operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: event NewStake(address indexed _sender)
func (*ITellorFilterer) FilterNewTellorAddress ¶
func (_ITellor *ITellorFilterer) FilterNewTellorAddress(opts *bind.FilterOpts) (*ITellorNewTellorAddressIterator, error)
FilterNewTellorAddress is a free log retrieval operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: event NewTellorAddress(address _newTellor)
func (*ITellorFilterer) FilterNewValue ¶
func (_ITellor *ITellorFilterer) FilterNewValue(opts *bind.FilterOpts, _currentChallenge [][32]byte) (*ITellorNewValueIterator, error)
FilterNewValue is a free log retrieval operation binding the contract event 0xbeb3b9f46c8d7bb00c873fca10d307538df350866d25f891ffb395147ddbdc45.
Solidity: event NewValue(uint256[5] _requestId, uint256 _time, uint256[5] _value, uint256 _totalTips, bytes32 indexed _currentChallenge)
func (*ITellorFilterer) FilterNonceSubmitted ¶
func (_ITellor *ITellorFilterer) FilterNonceSubmitted(opts *bind.FilterOpts, _miner []common.Address, _currentChallenge [][32]byte) (*ITellorNonceSubmittedIterator, error)
FilterNonceSubmitted is a free log retrieval operation binding the contract event 0x9d2e5f03fc65aff196e0f3a8dd924b24099de487e8cffc888921d420ab196e39.
Solidity: event NonceSubmitted(address indexed _miner, string _nonce, uint256[5] _requestId, uint256[5] _value, bytes32 indexed _currentChallenge, uint256 _slot)
func (*ITellorFilterer) FilterStakeWithdrawRequested ¶
func (_ITellor *ITellorFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*ITellorStakeWithdrawRequestedIterator, error)
FilterStakeWithdrawRequested is a free log retrieval operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: event StakeWithdrawRequested(address indexed _sender)
func (*ITellorFilterer) FilterStakeWithdrawn ¶
func (_ITellor *ITellorFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*ITellorStakeWithdrawnIterator, error)
FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: event StakeWithdrawn(address indexed _sender)
func (*ITellorFilterer) FilterTipAdded ¶
func (_ITellor *ITellorFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*ITellorTipAddedIterator, error)
FilterTipAdded is a free log retrieval operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ITellorFilterer) FilterTransferred ¶
func (_ITellor *ITellorFilterer) FilterTransferred(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ITellorTransferredIterator, error)
FilterTransferred is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*ITellorFilterer) FilterVoted ¶
func (_ITellor *ITellorFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address, _voteWeight []*big.Int) (*ITellorVotedIterator, error)
FilterVoted is a free log retrieval operation binding the contract event 0x911ef2e98570b1d96c0e8ef81107a33d5b8e844aeb8f9710f9bc76c3b3fef40e.
Solidity: event Voted(uint256 indexed _disputeID, bool _position, address indexed _voter, uint256 indexed _voteWeight)
func (*ITellorFilterer) ParseApproval ¶
func (_ITellor *ITellorFilterer) ParseApproval(log types.Log) (*ITellorApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*ITellorFilterer) ParseDisputeVoteTallied ¶
func (_ITellor *ITellorFilterer) ParseDisputeVoteTallied(log types.Log) (*ITellorDisputeVoteTallied, error)
ParseDisputeVoteTallied is a log parse operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: event DisputeVoteTallied(uint256 indexed _disputeID, int256 _result, address indexed _reportedMiner, address _reportingParty, bool _passed)
func (*ITellorFilterer) ParseNewChallenge ¶
func (_ITellor *ITellorFilterer) ParseNewChallenge(log types.Log) (*ITellorNewChallenge, error)
ParseNewChallenge is a log parse operation binding the contract event 0x1d85ce10456e29b67de37887496d3f1fcf1b64c79c4d07484038703a9f5c1408.
Solidity: event NewChallenge(bytes32 indexed _currentChallenge, uint256[5] _currentRequestId, uint256 _difficulty, uint256 _totalTips)
func (*ITellorFilterer) ParseNewDispute ¶
func (_ITellor *ITellorFilterer) ParseNewDispute(log types.Log) (*ITellorNewDispute, error)
ParseNewDispute is a log parse operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ITellorFilterer) ParseNewStake ¶
func (_ITellor *ITellorFilterer) ParseNewStake(log types.Log) (*ITellorNewStake, error)
ParseNewStake is a log parse operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: event NewStake(address indexed _sender)
func (*ITellorFilterer) ParseNewTellorAddress ¶
func (_ITellor *ITellorFilterer) ParseNewTellorAddress(log types.Log) (*ITellorNewTellorAddress, error)
ParseNewTellorAddress is a log parse operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: event NewTellorAddress(address _newTellor)
func (*ITellorFilterer) ParseNewValue ¶
func (_ITellor *ITellorFilterer) ParseNewValue(log types.Log) (*ITellorNewValue, error)
ParseNewValue is a log parse operation binding the contract event 0xbeb3b9f46c8d7bb00c873fca10d307538df350866d25f891ffb395147ddbdc45.
Solidity: event NewValue(uint256[5] _requestId, uint256 _time, uint256[5] _value, uint256 _totalTips, bytes32 indexed _currentChallenge)
func (*ITellorFilterer) ParseNonceSubmitted ¶
func (_ITellor *ITellorFilterer) ParseNonceSubmitted(log types.Log) (*ITellorNonceSubmitted, error)
ParseNonceSubmitted is a log parse operation binding the contract event 0x9d2e5f03fc65aff196e0f3a8dd924b24099de487e8cffc888921d420ab196e39.
Solidity: event NonceSubmitted(address indexed _miner, string _nonce, uint256[5] _requestId, uint256[5] _value, bytes32 indexed _currentChallenge, uint256 _slot)
func (*ITellorFilterer) ParseStakeWithdrawRequested ¶
func (_ITellor *ITellorFilterer) ParseStakeWithdrawRequested(log types.Log) (*ITellorStakeWithdrawRequested, error)
ParseStakeWithdrawRequested is a log parse operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: event StakeWithdrawRequested(address indexed _sender)
func (*ITellorFilterer) ParseStakeWithdrawn ¶
func (_ITellor *ITellorFilterer) ParseStakeWithdrawn(log types.Log) (*ITellorStakeWithdrawn, error)
ParseStakeWithdrawn is a log parse operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: event StakeWithdrawn(address indexed _sender)
func (*ITellorFilterer) ParseTipAdded ¶
func (_ITellor *ITellorFilterer) ParseTipAdded(log types.Log) (*ITellorTipAdded, error)
ParseTipAdded is a log parse operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ITellorFilterer) ParseTransferred ¶
func (_ITellor *ITellorFilterer) ParseTransferred(log types.Log) (*ITellorTransferred, error)
ParseTransferred is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*ITellorFilterer) ParseVoted ¶
func (_ITellor *ITellorFilterer) ParseVoted(log types.Log) (*ITellorVoted, error)
ParseVoted is a log parse operation binding the contract event 0x911ef2e98570b1d96c0e8ef81107a33d5b8e844aeb8f9710f9bc76c3b3fef40e.
Solidity: event Voted(uint256 indexed _disputeID, bool _position, address indexed _voter, uint256 indexed _voteWeight)
func (*ITellorFilterer) WatchApproval ¶
func (_ITellor *ITellorFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ITellorApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*ITellorFilterer) WatchDisputeVoteTallied ¶
func (_ITellor *ITellorFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *ITellorDisputeVoteTallied, _disputeID []*big.Int, _reportedMiner []common.Address) (event.Subscription, error)
WatchDisputeVoteTallied is a free log subscription operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: event DisputeVoteTallied(uint256 indexed _disputeID, int256 _result, address indexed _reportedMiner, address _reportingParty, bool _passed)
func (*ITellorFilterer) WatchNewChallenge ¶
func (_ITellor *ITellorFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *ITellorNewChallenge, _currentChallenge [][32]byte) (event.Subscription, error)
WatchNewChallenge is a free log subscription operation binding the contract event 0x1d85ce10456e29b67de37887496d3f1fcf1b64c79c4d07484038703a9f5c1408.
Solidity: event NewChallenge(bytes32 indexed _currentChallenge, uint256[5] _currentRequestId, uint256 _difficulty, uint256 _totalTips)
func (*ITellorFilterer) WatchNewDispute ¶
func (_ITellor *ITellorFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *ITellorNewDispute, _disputeId []*big.Int, _requestId []*big.Int) (event.Subscription, error)
WatchNewDispute is a free log subscription operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: event NewDispute(uint256 indexed _disputeId, uint256 indexed _requestId, uint256 _timestamp, address _miner)
func (*ITellorFilterer) WatchNewStake ¶
func (_ITellor *ITellorFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *ITellorNewStake, _sender []common.Address) (event.Subscription, error)
WatchNewStake is a free log subscription operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: event NewStake(address indexed _sender)
func (*ITellorFilterer) WatchNewTellorAddress ¶
func (_ITellor *ITellorFilterer) WatchNewTellorAddress(opts *bind.WatchOpts, sink chan<- *ITellorNewTellorAddress) (event.Subscription, error)
WatchNewTellorAddress is a free log subscription operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: event NewTellorAddress(address _newTellor)
func (*ITellorFilterer) WatchNewValue ¶
func (_ITellor *ITellorFilterer) WatchNewValue(opts *bind.WatchOpts, sink chan<- *ITellorNewValue, _currentChallenge [][32]byte) (event.Subscription, error)
WatchNewValue is a free log subscription operation binding the contract event 0xbeb3b9f46c8d7bb00c873fca10d307538df350866d25f891ffb395147ddbdc45.
Solidity: event NewValue(uint256[5] _requestId, uint256 _time, uint256[5] _value, uint256 _totalTips, bytes32 indexed _currentChallenge)
func (*ITellorFilterer) WatchNonceSubmitted ¶
func (_ITellor *ITellorFilterer) WatchNonceSubmitted(opts *bind.WatchOpts, sink chan<- *ITellorNonceSubmitted, _miner []common.Address, _currentChallenge [][32]byte) (event.Subscription, error)
WatchNonceSubmitted is a free log subscription operation binding the contract event 0x9d2e5f03fc65aff196e0f3a8dd924b24099de487e8cffc888921d420ab196e39.
Solidity: event NonceSubmitted(address indexed _miner, string _nonce, uint256[5] _requestId, uint256[5] _value, bytes32 indexed _currentChallenge, uint256 _slot)
func (*ITellorFilterer) WatchStakeWithdrawRequested ¶
func (_ITellor *ITellorFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *ITellorStakeWithdrawRequested, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawRequested is a free log subscription operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: event StakeWithdrawRequested(address indexed _sender)
func (*ITellorFilterer) WatchStakeWithdrawn ¶
func (_ITellor *ITellorFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *ITellorStakeWithdrawn, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawn is a free log subscription operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: event StakeWithdrawn(address indexed _sender)
func (*ITellorFilterer) WatchTipAdded ¶
func (_ITellor *ITellorFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *ITellorTipAdded, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchTipAdded is a free log subscription operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: event TipAdded(address indexed _sender, uint256 indexed _requestId, uint256 _tip, uint256 _totalTips)
func (*ITellorFilterer) WatchTransferred ¶
func (_ITellor *ITellorFilterer) WatchTransferred(opts *bind.WatchOpts, sink chan<- *ITellorTransferred, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransferred is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*ITellorFilterer) WatchVoted ¶
func (_ITellor *ITellorFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *ITellorVoted, _disputeID []*big.Int, _voter []common.Address, _voteWeight []*big.Int) (event.Subscription, error)
WatchVoted is a free log subscription operation binding the contract event 0x911ef2e98570b1d96c0e8ef81107a33d5b8e844aeb8f9710f9bc76c3b3fef40e.
Solidity: event Voted(uint256 indexed _disputeID, bool _position, address indexed _voter, uint256 indexed _voteWeight)
type ITellorNewChallenge ¶
type ITellorNewChallenge struct { CurrentChallenge [32]byte CurrentRequestId [5]*big.Int Difficulty *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ITellorNewChallenge represents a NewChallenge event raised by the ITellor contract.
type ITellorNewChallengeIterator ¶
type ITellorNewChallengeIterator struct { Event *ITellorNewChallenge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorNewChallengeIterator is returned from FilterNewChallenge and is used to iterate over the raw logs and unpacked data for NewChallenge events raised by the ITellor contract.
func (*ITellorNewChallengeIterator) Close ¶
func (it *ITellorNewChallengeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorNewChallengeIterator) Error ¶
func (it *ITellorNewChallengeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorNewChallengeIterator) Next ¶
func (it *ITellorNewChallengeIterator) 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 ITellorNewDispute ¶
type ITellorNewDispute struct { DisputeId *big.Int RequestId *big.Int Timestamp *big.Int Miner common.Address Raw types.Log // Blockchain specific contextual infos }
ITellorNewDispute represents a NewDispute event raised by the ITellor contract.
type ITellorNewDisputeIterator ¶
type ITellorNewDisputeIterator struct { Event *ITellorNewDispute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorNewDisputeIterator is returned from FilterNewDispute and is used to iterate over the raw logs and unpacked data for NewDispute events raised by the ITellor contract.
func (*ITellorNewDisputeIterator) Close ¶
func (it *ITellorNewDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorNewDisputeIterator) Error ¶
func (it *ITellorNewDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorNewDisputeIterator) Next ¶
func (it *ITellorNewDisputeIterator) 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 ITellorNewStake ¶
type ITellorNewStake struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ITellorNewStake represents a NewStake event raised by the ITellor contract.
type ITellorNewStakeIterator ¶
type ITellorNewStakeIterator struct { Event *ITellorNewStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorNewStakeIterator is returned from FilterNewStake and is used to iterate over the raw logs and unpacked data for NewStake events raised by the ITellor contract.
func (*ITellorNewStakeIterator) Close ¶
func (it *ITellorNewStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorNewStakeIterator) Error ¶
func (it *ITellorNewStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorNewStakeIterator) Next ¶
func (it *ITellorNewStakeIterator) 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 ITellorNewTellorAddress ¶
type ITellorNewTellorAddress struct { NewTellor common.Address Raw types.Log // Blockchain specific contextual infos }
ITellorNewTellorAddress represents a NewTellorAddress event raised by the ITellor contract.
type ITellorNewTellorAddressIterator ¶
type ITellorNewTellorAddressIterator struct { Event *ITellorNewTellorAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorNewTellorAddressIterator is returned from FilterNewTellorAddress and is used to iterate over the raw logs and unpacked data for NewTellorAddress events raised by the ITellor contract.
func (*ITellorNewTellorAddressIterator) Close ¶
func (it *ITellorNewTellorAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorNewTellorAddressIterator) Error ¶
func (it *ITellorNewTellorAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorNewTellorAddressIterator) Next ¶
func (it *ITellorNewTellorAddressIterator) 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 ITellorNewValue ¶
type ITellorNewValue struct { RequestId [5]*big.Int Time *big.Int Value [5]*big.Int TotalTips *big.Int CurrentChallenge [32]byte Raw types.Log // Blockchain specific contextual infos }
ITellorNewValue represents a NewValue event raised by the ITellor contract.
type ITellorNewValueIterator ¶
type ITellorNewValueIterator struct { Event *ITellorNewValue // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorNewValueIterator is returned from FilterNewValue and is used to iterate over the raw logs and unpacked data for NewValue events raised by the ITellor contract.
func (*ITellorNewValueIterator) Close ¶
func (it *ITellorNewValueIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorNewValueIterator) Error ¶
func (it *ITellorNewValueIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorNewValueIterator) Next ¶
func (it *ITellorNewValueIterator) 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 ITellorNonceSubmitted ¶
type ITellorNonceSubmitted struct { Miner common.Address Nonce string RequestId [5]*big.Int Value [5]*big.Int CurrentChallenge [32]byte Slot *big.Int Raw types.Log // Blockchain specific contextual infos }
ITellorNonceSubmitted represents a NonceSubmitted event raised by the ITellor contract.
type ITellorNonceSubmittedIterator ¶
type ITellorNonceSubmittedIterator struct { Event *ITellorNonceSubmitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorNonceSubmittedIterator is returned from FilterNonceSubmitted and is used to iterate over the raw logs and unpacked data for NonceSubmitted events raised by the ITellor contract.
func (*ITellorNonceSubmittedIterator) Close ¶
func (it *ITellorNonceSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorNonceSubmittedIterator) Error ¶
func (it *ITellorNonceSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorNonceSubmittedIterator) Next ¶
func (it *ITellorNonceSubmittedIterator) 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 ITellorRaw ¶
type ITellorRaw struct {
Contract *ITellor // Generic contract binding to access the raw methods on
}
ITellorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ITellorRaw) Call ¶
func (_ITellor *ITellorRaw) 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 (*ITellorRaw) Transact ¶
func (_ITellor *ITellorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITellorRaw) Transfer ¶
func (_ITellor *ITellorRaw) 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 ITellorSession ¶
type ITellorSession struct { Contract *ITellor // 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 }
ITellorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ITellorSession) AddTip ¶
func (_ITellor *ITellorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*ITellorSession) Allowance ¶
func (_ITellor *ITellorSession) Allowance(_user common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _user, address _spender) view returns(uint256)
func (*ITellorSession) AllowedToTrade ¶
func (_ITellor *ITellorSession) AllowedToTrade(_user common.Address, _amount *big.Int) (bool, error)
AllowedToTrade is a free data retrieval call binding the contract method 0x999cf26c.
Solidity: function allowedToTrade(address _user, uint256 _amount) view returns(bool)
func (*ITellorSession) Approve ¶
func (_ITellor *ITellorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*ITellorSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ITellorSession) BalanceOfAt ¶
func (_ITellor *ITellorSession) 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(address _user, uint256 _blockNumber) view returns(uint256)
func (*ITellorSession) BeginDispute ¶
func (_ITellor *ITellorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*ITellorSession) ChangeDeity ¶
func (_ITellor *ITellorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(address _newDeity) returns()
func (*ITellorSession) ChangeMigrator ¶
func (_ITellor *ITellorSession) ChangeMigrator(_migrator common.Address) (*types.Transaction, error)
ChangeMigrator is a paid mutator transaction binding the contract method 0x141e13fa.
Solidity: function changeMigrator(address _migrator) returns()
func (*ITellorSession) ChangeOwner ¶
func (_ITellor *ITellorSession) ChangeOwner(_newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address _newOwner) returns()
func (*ITellorSession) ChangeTellorContract ¶
func (_ITellor *ITellorSession) ChangeTellorContract(_tellorContract common.Address) (*types.Transaction, error)
ChangeTellorContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeTellorContract(address _tellorContract) returns()
func (*ITellorSession) Decimals ¶
func (_ITellor *ITellorSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*ITellorSession) DepositStake ¶
func (_ITellor *ITellorSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ITellorSession) DidMine ¶
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ITellorSession) DidVote ¶
DidVote is a free data retrieval call binding the contract method 0xa7c438bc.
Solidity: function didVote(uint256 _disputeId, address _address) view returns(bool)
func (*ITellorSession) GetAddressVars ¶
func (_ITellor *ITellorSession) GetAddressVars(_data [32]byte) (common.Address, error)
GetAddressVars is a free data retrieval call binding the contract method 0x133bee5e.
Solidity: function getAddressVars(bytes32 _data) view returns(address)
func (*ITellorSession) GetAllDisputeVars ¶
func (_ITellor *ITellorSession) GetAllDisputeVars(_disputeId *big.Int) ([32]byte, bool, bool, bool, common.Address, common.Address, common.Address, [9]*big.Int, *big.Int, error)
GetAllDisputeVars is a free data retrieval call binding the contract method 0xaf0b1327.
Solidity: function getAllDisputeVars(uint256 _disputeId) view returns(bytes32, bool, bool, bool, address, address, address, uint256[9], int256)
func (*ITellorSession) GetDisputeIdByDisputeHash ¶
func (_ITellor *ITellorSession) GetDisputeIdByDisputeHash(_hash [32]byte) (*big.Int, error)
GetDisputeIdByDisputeHash is a free data retrieval call binding the contract method 0xda379941.
Solidity: function getDisputeIdByDisputeHash(bytes32 _hash) view returns(uint256)
func (*ITellorSession) GetDisputeUintVars ¶
func (_ITellor *ITellorSession) GetDisputeUintVars(_disputeId *big.Int, _data [32]byte) (*big.Int, error)
GetDisputeUintVars is a free data retrieval call binding the contract method 0x7f6fd5d9.
Solidity: function getDisputeUintVars(uint256 _disputeId, bytes32 _data) view returns(uint256)
func (*ITellorSession) GetLastNewValue ¶
func (_ITellor *ITellorSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ITellorSession) GetLastNewValueById ¶
GetLastNewValueById is a free data retrieval call binding the contract method 0x3180f8df.
Solidity: function getLastNewValueById(uint256 _requestId) view returns(uint256, bool)
func (*ITellorSession) GetMinedBlockNum ¶
func (_ITellor *ITellorSession) GetMinedBlockNum(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
GetMinedBlockNum is a free data retrieval call binding the contract method 0xc775b542.
Solidity: function getMinedBlockNum(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ITellorSession) GetMinersByRequestIdAndTimestamp ¶
func (_ITellor *ITellorSession) GetMinersByRequestIdAndTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]common.Address, error)
GetMinersByRequestIdAndTimestamp is a free data retrieval call binding the contract method 0x69026d63.
Solidity: function getMinersByRequestIdAndTimestamp(uint256 _requestId, uint256 _timestamp) view returns(address[5])
func (*ITellorSession) GetNewCurrentVariables ¶
func (_ITellor *ITellorSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Difficulty *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficulty, uint256 _tip)
func (*ITellorSession) GetNewValueCountbyRequestId ¶
GetNewValueCountbyRequestId is a free data retrieval call binding the contract method 0x46eee1c4.
Solidity: function getNewValueCountbyRequestId(uint256 _requestId) view returns(uint256)
func (*ITellorSession) GetNewVariablesOnDeck ¶
func (_ITellor *ITellorSession) GetNewVariablesOnDeck() (struct { IdsOnDeck [5]*big.Int TipsOnDeck [5]*big.Int }, error)
GetNewVariablesOnDeck is a free data retrieval call binding the contract method 0x9a7077ab.
Solidity: function getNewVariablesOnDeck() view returns(uint256[5] idsOnDeck, uint256[5] tipsOnDeck)
func (*ITellorSession) GetRequestIdByRequestQIndex ¶
GetRequestIdByRequestQIndex is a free data retrieval call binding the contract method 0x6173c0b8.
Solidity: function getRequestIdByRequestQIndex(uint256 _index) view returns(uint256)
func (*ITellorSession) GetRequestIdByTimestamp ¶
GetRequestIdByTimestamp is a free data retrieval call binding the contract method 0x0f0b424d.
Solidity: function getRequestIdByTimestamp(uint256 _timestamp) view returns(uint256)
func (*ITellorSession) GetRequestQ ¶
func (_ITellor *ITellorSession) GetRequestQ() ([51]*big.Int, error)
GetRequestQ is a free data retrieval call binding the contract method 0xb5413029.
Solidity: function getRequestQ() view returns(uint256[51])
func (*ITellorSession) GetRequestUintVars ¶
func (_ITellor *ITellorSession) GetRequestUintVars(_requestId *big.Int, _data [32]byte) (*big.Int, error)
GetRequestUintVars is a free data retrieval call binding the contract method 0xe0ae93c1.
Solidity: function getRequestUintVars(uint256 _requestId, bytes32 _data) view returns(uint256)
func (*ITellorSession) GetRequestVars ¶
GetRequestVars is a free data retrieval call binding the contract method 0xe1eee6d6.
Solidity: function getRequestVars(uint256 _requestId) view returns(uint256, uint256)
func (*ITellorSession) GetStakerInfo ¶
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ITellorSession) GetSubmissionsByTimestamp ¶
func (_ITellor *ITellorSession) GetSubmissionsByTimestamp(_requestId *big.Int, _timestamp *big.Int) ([5]*big.Int, error)
GetSubmissionsByTimestamp is a free data retrieval call binding the contract method 0x11c98512.
Solidity: function getSubmissionsByTimestamp(uint256 _requestId, uint256 _timestamp) view returns(uint256[5])
func (*ITellorSession) GetTimestampbyRequestIDandIndex ¶
func (_ITellor *ITellorSession) GetTimestampbyRequestIDandIndex(_requestID *big.Int, _index *big.Int) (*big.Int, error)
GetTimestampbyRequestIDandIndex is a free data retrieval call binding the contract method 0x77fbb663.
Solidity: function getTimestampbyRequestIDandIndex(uint256 _requestID, uint256 _index) view returns(uint256)
func (*ITellorSession) GetTopRequestIDs ¶
func (_ITellor *ITellorSession) GetTopRequestIDs() ([5]*big.Int, error)
GetTopRequestIDs is a free data retrieval call binding the contract method 0xfe1cd15d.
Solidity: function getTopRequestIDs() view returns(uint256[5] _requestIds)
func (*ITellorSession) GetUintVar ¶
func (_ITellor *ITellorSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ITellorSession) IsInDispute ¶
IsInDispute is a free data retrieval call binding the contract method 0x3df0777b.
Solidity: function isInDispute(uint256 _requestId, uint256 _timestamp) view returns(bool)
func (*ITellorSession) ManuallySetDifficulty ¶
func (_ITellor *ITellorSession) ManuallySetDifficulty(_diff *big.Int) (*types.Transaction, error)
ManuallySetDifficulty is a paid mutator transaction binding the contract method 0xc52e9539.
Solidity: function manuallySetDifficulty(uint256 _diff) returns()
func (*ITellorSession) Migrate ¶
func (_ITellor *ITellorSession) Migrate() (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.
Solidity: function migrate() returns()
func (*ITellorSession) MigrateFor ¶
func (_ITellor *ITellorSession) MigrateFor(_destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
MigrateFor is a paid mutator transaction binding the contract method 0xa9fa7d34.
Solidity: function migrateFor(address _destination, uint256 _amount, bool _bypass) returns()
func (*ITellorSession) MigrateForBatch ¶
func (_ITellor *ITellorSession) MigrateForBatch(_destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
MigrateForBatch is a paid mutator transaction binding the contract method 0x42a89bd6.
Solidity: function migrateForBatch(address[] _destination, uint256[] _amount) returns()
func (*ITellorSession) MigrateFrom ¶
func (_ITellor *ITellorSession) MigrateFrom(_origin common.Address, _destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
MigrateFrom is a paid mutator transaction binding the contract method 0x121dd372.
Solidity: function migrateFrom(address _origin, address _destination, uint256 _amount, bool _bypass) returns()
func (*ITellorSession) MigrateFromBatch ¶
func (_ITellor *ITellorSession) MigrateFromBatch(_origin []common.Address, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
MigrateFromBatch is a paid mutator transaction binding the contract method 0x8c0f4076.
Solidity: function migrateFromBatch(address[] _origin, address[] _destination, uint256[] _amount) returns()
func (*ITellorSession) Name ¶
func (_ITellor *ITellorSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*ITellorSession) ProposeFork ¶
func (_ITellor *ITellorSession) ProposeFork(_propNewTellorAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewTellorAddress) returns()
func (*ITellorSession) RequestStakingWithdraw ¶
func (_ITellor *ITellorSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ITellorSession) RetrieveData ¶
func (_ITellor *ITellorSession) RetrieveData(_requestId *big.Int, _timestamp *big.Int) (*big.Int, error)
RetrieveData is a free data retrieval call binding the contract method 0x93fa4915.
Solidity: function retrieveData(uint256 _requestId, uint256 _timestamp) view returns(uint256)
func (*ITellorSession) SubmitMiningSolution ¶
func (_ITellor *ITellorSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestIds, uint256[5] _values) returns()
func (*ITellorSession) Symbol ¶
func (_ITellor *ITellorSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*ITellorSession) TallyVotes ¶
func (_ITellor *ITellorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*ITellorSession) TestSubmitMiningSolution ¶
func (_ITellor *ITellorSession) TestSubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
TestSubmitMiningSolution is a paid mutator transaction binding the contract method 0xd47f0dd4.
Solidity: function testSubmitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*ITellorSession) TestgetMax5 ¶
func (_ITellor *ITellorSession) TestgetMax5(requests [51]*big.Int) (struct { Max [5]*big.Int Index [5]*big.Int }, error)
TestgetMax5 is a free data retrieval call binding the contract method 0x5e93d863.
Solidity: function testgetMax5(uint256[51] requests) view returns(uint256[5] _max, uint256[5] _index)
func (*ITellorSession) TheLazyCoon ¶
func (_ITellor *ITellorSession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error)
TheLazyCoon is a paid mutator transaction binding the contract method 0xb079f64a.
Solidity: function theLazyCoon(address _address, uint256 _amount) returns()
func (*ITellorSession) TotalSupply ¶
func (_ITellor *ITellorSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ITellorSession) Transfer ¶
func (_ITellor *ITellorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*ITellorSession) TransferFrom ¶
func (_ITellor *ITellorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*ITellorSession) UnlockDisputeFee ¶
func (_ITellor *ITellorSession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error)
UnlockDisputeFee is a paid mutator transaction binding the contract method 0x9a01ca13.
Solidity: function unlockDisputeFee(uint256 _disputeId) returns()
func (*ITellorSession) UpdateMinDisputeFee ¶
func (_ITellor *ITellorSession) UpdateMinDisputeFee() (*types.Transaction, error)
UpdateMinDisputeFee is a paid mutator transaction binding the contract method 0x90e5b235.
Solidity: function updateMinDisputeFee() returns()
func (*ITellorSession) UpdateTellor ¶
func (_ITellor *ITellorSession) UpdateTellor(_disputeId *big.Int) (*types.Transaction, error)
UpdateTellor is a paid mutator transaction binding the contract method 0xf458ab98.
Solidity: function updateTellor(uint256 _disputeId) returns()
func (*ITellorSession) Verify ¶
func (_ITellor *ITellorSession) Verify() (*types.Transaction, error)
Verify is a paid mutator transaction binding the contract method 0xfc735e99.
Solidity: function verify() returns(uint256)
func (*ITellorSession) Vote ¶
func (_ITellor *ITellorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*ITellorSession) WithdrawStake ¶
func (_ITellor *ITellorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ITellorStakeWithdrawRequested ¶
type ITellorStakeWithdrawRequested struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ITellorStakeWithdrawRequested represents a StakeWithdrawRequested event raised by the ITellor contract.
type ITellorStakeWithdrawRequestedIterator ¶
type ITellorStakeWithdrawRequestedIterator struct { Event *ITellorStakeWithdrawRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorStakeWithdrawRequestedIterator is returned from FilterStakeWithdrawRequested and is used to iterate over the raw logs and unpacked data for StakeWithdrawRequested events raised by the ITellor contract.
func (*ITellorStakeWithdrawRequestedIterator) Close ¶
func (it *ITellorStakeWithdrawRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorStakeWithdrawRequestedIterator) Error ¶
func (it *ITellorStakeWithdrawRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorStakeWithdrawRequestedIterator) Next ¶
func (it *ITellorStakeWithdrawRequestedIterator) 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 ITellorStakeWithdrawn ¶
type ITellorStakeWithdrawn struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ITellorStakeWithdrawn represents a StakeWithdrawn event raised by the ITellor contract.
type ITellorStakeWithdrawnIterator ¶
type ITellorStakeWithdrawnIterator struct { Event *ITellorStakeWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the ITellor contract.
func (*ITellorStakeWithdrawnIterator) Close ¶
func (it *ITellorStakeWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorStakeWithdrawnIterator) Error ¶
func (it *ITellorStakeWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorStakeWithdrawnIterator) Next ¶
func (it *ITellorStakeWithdrawnIterator) 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 ITellorTipAdded ¶
type ITellorTipAdded struct { Sender common.Address RequestId *big.Int Tip *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
ITellorTipAdded represents a TipAdded event raised by the ITellor contract.
type ITellorTipAddedIterator ¶
type ITellorTipAddedIterator struct { Event *ITellorTipAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorTipAddedIterator is returned from FilterTipAdded and is used to iterate over the raw logs and unpacked data for TipAdded events raised by the ITellor contract.
func (*ITellorTipAddedIterator) Close ¶
func (it *ITellorTipAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorTipAddedIterator) Error ¶
func (it *ITellorTipAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorTipAddedIterator) Next ¶
func (it *ITellorTipAddedIterator) 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 ITellorTransactor ¶
type ITellorTransactor struct {
// contains filtered or unexported fields
}
ITellorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewITellorTransactor ¶
func NewITellorTransactor(address common.Address, transactor bind.ContractTransactor) (*ITellorTransactor, error)
NewITellorTransactor creates a new write-only instance of ITellor, bound to a specific deployed contract.
func (*ITellorTransactor) AddTip ¶
func (_ITellor *ITellorTransactor) AddTip(opts *bind.TransactOpts, _requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*ITellorTransactor) Approve ¶
func (_ITellor *ITellorTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*ITellorTransactor) BeginDispute ¶
func (_ITellor *ITellorTransactor) BeginDispute(opts *bind.TransactOpts, _requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*ITellorTransactor) ChangeDeity ¶
func (_ITellor *ITellorTransactor) ChangeDeity(opts *bind.TransactOpts, _newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(address _newDeity) returns()
func (*ITellorTransactor) ChangeMigrator ¶
func (_ITellor *ITellorTransactor) ChangeMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)
ChangeMigrator is a paid mutator transaction binding the contract method 0x141e13fa.
Solidity: function changeMigrator(address _migrator) returns()
func (*ITellorTransactor) ChangeOwner ¶
func (_ITellor *ITellorTransactor) ChangeOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address _newOwner) returns()
func (*ITellorTransactor) ChangeTellorContract ¶
func (_ITellor *ITellorTransactor) ChangeTellorContract(opts *bind.TransactOpts, _tellorContract common.Address) (*types.Transaction, error)
ChangeTellorContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeTellorContract(address _tellorContract) returns()
func (*ITellorTransactor) DepositStake ¶
func (_ITellor *ITellorTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ITellorTransactor) ManuallySetDifficulty ¶
func (_ITellor *ITellorTransactor) ManuallySetDifficulty(opts *bind.TransactOpts, _diff *big.Int) (*types.Transaction, error)
ManuallySetDifficulty is a paid mutator transaction binding the contract method 0xc52e9539.
Solidity: function manuallySetDifficulty(uint256 _diff) returns()
func (*ITellorTransactor) Migrate ¶
func (_ITellor *ITellorTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.
Solidity: function migrate() returns()
func (*ITellorTransactor) MigrateFor ¶
func (_ITellor *ITellorTransactor) MigrateFor(opts *bind.TransactOpts, _destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
MigrateFor is a paid mutator transaction binding the contract method 0xa9fa7d34.
Solidity: function migrateFor(address _destination, uint256 _amount, bool _bypass) returns()
func (*ITellorTransactor) MigrateForBatch ¶
func (_ITellor *ITellorTransactor) MigrateForBatch(opts *bind.TransactOpts, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
MigrateForBatch is a paid mutator transaction binding the contract method 0x42a89bd6.
Solidity: function migrateForBatch(address[] _destination, uint256[] _amount) returns()
func (*ITellorTransactor) MigrateFrom ¶
func (_ITellor *ITellorTransactor) MigrateFrom(opts *bind.TransactOpts, _origin common.Address, _destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
MigrateFrom is a paid mutator transaction binding the contract method 0x121dd372.
Solidity: function migrateFrom(address _origin, address _destination, uint256 _amount, bool _bypass) returns()
func (*ITellorTransactor) MigrateFromBatch ¶
func (_ITellor *ITellorTransactor) MigrateFromBatch(opts *bind.TransactOpts, _origin []common.Address, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
MigrateFromBatch is a paid mutator transaction binding the contract method 0x8c0f4076.
Solidity: function migrateFromBatch(address[] _origin, address[] _destination, uint256[] _amount) returns()
func (*ITellorTransactor) ProposeFork ¶
func (_ITellor *ITellorTransactor) ProposeFork(opts *bind.TransactOpts, _propNewTellorAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewTellorAddress) returns()
func (*ITellorTransactor) RequestStakingWithdraw ¶
func (_ITellor *ITellorTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ITellorTransactor) SubmitMiningSolution ¶
func (_ITellor *ITellorTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestIds, uint256[5] _values) returns()
func (*ITellorTransactor) TallyVotes ¶
func (_ITellor *ITellorTransactor) TallyVotes(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*ITellorTransactor) TestSubmitMiningSolution ¶
func (_ITellor *ITellorTransactor) TestSubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
TestSubmitMiningSolution is a paid mutator transaction binding the contract method 0xd47f0dd4.
Solidity: function testSubmitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*ITellorTransactor) TheLazyCoon ¶
func (_ITellor *ITellorTransactor) TheLazyCoon(opts *bind.TransactOpts, _address common.Address, _amount *big.Int) (*types.Transaction, error)
TheLazyCoon is a paid mutator transaction binding the contract method 0xb079f64a.
Solidity: function theLazyCoon(address _address, uint256 _amount) returns()
func (*ITellorTransactor) Transfer ¶
func (_ITellor *ITellorTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*ITellorTransactor) TransferFrom ¶
func (_ITellor *ITellorTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*ITellorTransactor) UnlockDisputeFee ¶
func (_ITellor *ITellorTransactor) UnlockDisputeFee(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
UnlockDisputeFee is a paid mutator transaction binding the contract method 0x9a01ca13.
Solidity: function unlockDisputeFee(uint256 _disputeId) returns()
func (*ITellorTransactor) UpdateMinDisputeFee ¶
func (_ITellor *ITellorTransactor) UpdateMinDisputeFee(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateMinDisputeFee is a paid mutator transaction binding the contract method 0x90e5b235.
Solidity: function updateMinDisputeFee() returns()
func (*ITellorTransactor) UpdateTellor ¶
func (_ITellor *ITellorTransactor) UpdateTellor(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
UpdateTellor is a paid mutator transaction binding the contract method 0xf458ab98.
Solidity: function updateTellor(uint256 _disputeId) returns()
func (*ITellorTransactor) Verify ¶
func (_ITellor *ITellorTransactor) Verify(opts *bind.TransactOpts) (*types.Transaction, error)
Verify is a paid mutator transaction binding the contract method 0xfc735e99.
Solidity: function verify() returns(uint256)
func (*ITellorTransactor) Vote ¶
func (_ITellor *ITellorTransactor) Vote(opts *bind.TransactOpts, _disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*ITellorTransactor) WithdrawStake ¶
func (_ITellor *ITellorTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ITellorTransactorRaw ¶
type ITellorTransactorRaw struct {
Contract *ITellorTransactor // Generic write-only contract binding to access the raw methods on
}
ITellorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ITellorTransactorRaw) Transact ¶
func (_ITellor *ITellorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITellorTransactorRaw) Transfer ¶
func (_ITellor *ITellorTransactorRaw) 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 ITellorTransactorSession ¶
type ITellorTransactorSession struct { Contract *ITellorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ITellorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ITellorTransactorSession) AddTip ¶
func (_ITellor *ITellorTransactorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*ITellorTransactorSession) Approve ¶
func (_ITellor *ITellorTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*ITellorTransactorSession) BeginDispute ¶
func (_ITellor *ITellorTransactorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*ITellorTransactorSession) ChangeDeity ¶
func (_ITellor *ITellorTransactorSession) ChangeDeity(_newDeity common.Address) (*types.Transaction, error)
ChangeDeity is a paid mutator transaction binding the contract method 0x47abd7f1.
Solidity: function changeDeity(address _newDeity) returns()
func (*ITellorTransactorSession) ChangeMigrator ¶
func (_ITellor *ITellorTransactorSession) ChangeMigrator(_migrator common.Address) (*types.Transaction, error)
ChangeMigrator is a paid mutator transaction binding the contract method 0x141e13fa.
Solidity: function changeMigrator(address _migrator) returns()
func (*ITellorTransactorSession) ChangeOwner ¶
func (_ITellor *ITellorTransactorSession) ChangeOwner(_newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address _newOwner) returns()
func (*ITellorTransactorSession) ChangeTellorContract ¶
func (_ITellor *ITellorTransactorSession) ChangeTellorContract(_tellorContract common.Address) (*types.Transaction, error)
ChangeTellorContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeTellorContract(address _tellorContract) returns()
func (*ITellorTransactorSession) DepositStake ¶
func (_ITellor *ITellorTransactorSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ITellorTransactorSession) ManuallySetDifficulty ¶
func (_ITellor *ITellorTransactorSession) ManuallySetDifficulty(_diff *big.Int) (*types.Transaction, error)
ManuallySetDifficulty is a paid mutator transaction binding the contract method 0xc52e9539.
Solidity: function manuallySetDifficulty(uint256 _diff) returns()
func (*ITellorTransactorSession) Migrate ¶
func (_ITellor *ITellorTransactorSession) Migrate() (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.
Solidity: function migrate() returns()
func (*ITellorTransactorSession) MigrateFor ¶
func (_ITellor *ITellorTransactorSession) MigrateFor(_destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
MigrateFor is a paid mutator transaction binding the contract method 0xa9fa7d34.
Solidity: function migrateFor(address _destination, uint256 _amount, bool _bypass) returns()
func (*ITellorTransactorSession) MigrateForBatch ¶
func (_ITellor *ITellorTransactorSession) MigrateForBatch(_destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
MigrateForBatch is a paid mutator transaction binding the contract method 0x42a89bd6.
Solidity: function migrateForBatch(address[] _destination, uint256[] _amount) returns()
func (*ITellorTransactorSession) MigrateFrom ¶
func (_ITellor *ITellorTransactorSession) MigrateFrom(_origin common.Address, _destination common.Address, _amount *big.Int, _bypass bool) (*types.Transaction, error)
MigrateFrom is a paid mutator transaction binding the contract method 0x121dd372.
Solidity: function migrateFrom(address _origin, address _destination, uint256 _amount, bool _bypass) returns()
func (*ITellorTransactorSession) MigrateFromBatch ¶
func (_ITellor *ITellorTransactorSession) MigrateFromBatch(_origin []common.Address, _destination []common.Address, _amount []*big.Int) (*types.Transaction, error)
MigrateFromBatch is a paid mutator transaction binding the contract method 0x8c0f4076.
Solidity: function migrateFromBatch(address[] _origin, address[] _destination, uint256[] _amount) returns()
func (*ITellorTransactorSession) ProposeFork ¶
func (_ITellor *ITellorTransactorSession) ProposeFork(_propNewTellorAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewTellorAddress) returns()
func (*ITellorTransactorSession) RequestStakingWithdraw ¶
func (_ITellor *ITellorTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ITellorTransactorSession) SubmitMiningSolution ¶
func (_ITellor *ITellorTransactorSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestIds, uint256[5] _values) returns()
func (*ITellorTransactorSession) TallyVotes ¶
func (_ITellor *ITellorTransactorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*ITellorTransactorSession) TestSubmitMiningSolution ¶
func (_ITellor *ITellorTransactorSession) TestSubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
TestSubmitMiningSolution is a paid mutator transaction binding the contract method 0xd47f0dd4.
Solidity: function testSubmitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*ITellorTransactorSession) TheLazyCoon ¶
func (_ITellor *ITellorTransactorSession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error)
TheLazyCoon is a paid mutator transaction binding the contract method 0xb079f64a.
Solidity: function theLazyCoon(address _address, uint256 _amount) returns()
func (*ITellorTransactorSession) Transfer ¶
func (_ITellor *ITellorTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*ITellorTransactorSession) TransferFrom ¶
func (_ITellor *ITellorTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*ITellorTransactorSession) UnlockDisputeFee ¶
func (_ITellor *ITellorTransactorSession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error)
UnlockDisputeFee is a paid mutator transaction binding the contract method 0x9a01ca13.
Solidity: function unlockDisputeFee(uint256 _disputeId) returns()
func (*ITellorTransactorSession) UpdateMinDisputeFee ¶
func (_ITellor *ITellorTransactorSession) UpdateMinDisputeFee() (*types.Transaction, error)
UpdateMinDisputeFee is a paid mutator transaction binding the contract method 0x90e5b235.
Solidity: function updateMinDisputeFee() returns()
func (*ITellorTransactorSession) UpdateTellor ¶
func (_ITellor *ITellorTransactorSession) UpdateTellor(_disputeId *big.Int) (*types.Transaction, error)
UpdateTellor is a paid mutator transaction binding the contract method 0xf458ab98.
Solidity: function updateTellor(uint256 _disputeId) returns()
func (*ITellorTransactorSession) Verify ¶
func (_ITellor *ITellorTransactorSession) Verify() (*types.Transaction, error)
Verify is a paid mutator transaction binding the contract method 0xfc735e99.
Solidity: function verify() returns(uint256)
func (*ITellorTransactorSession) Vote ¶
func (_ITellor *ITellorTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*ITellorTransactorSession) WithdrawStake ¶
func (_ITellor *ITellorTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ITellorTransferred ¶
type ITellorTransferred struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ITellorTransferred represents a Transferred event raised by the ITellor contract.
type ITellorTransferredIterator ¶
type ITellorTransferredIterator struct { Event *ITellorTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorTransferredIterator is returned from FilterTransferred and is used to iterate over the raw logs and unpacked data for Transferred events raised by the ITellor contract.
func (*ITellorTransferredIterator) Close ¶
func (it *ITellorTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorTransferredIterator) Error ¶
func (it *ITellorTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorTransferredIterator) Next ¶
func (it *ITellorTransferredIterator) 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 ITellorVoted ¶
type ITellorVoted struct { DisputeID *big.Int Position bool Voter common.Address VoteWeight *big.Int Raw types.Log // Blockchain specific contextual infos }
ITellorVoted represents a Voted event raised by the ITellor contract.
type ITellorVotedIterator ¶
type ITellorVotedIterator struct { Event *ITellorVoted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITellorVotedIterator is returned from FilterVoted and is used to iterate over the raw logs and unpacked data for Voted events raised by the ITellor contract.
func (*ITellorVotedIterator) Close ¶
func (it *ITellorVotedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITellorVotedIterator) Error ¶
func (it *ITellorVotedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITellorVotedIterator) Next ¶
func (it *ITellorVotedIterator) 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 Reporter ¶
type Reporter struct { ReporterCaller // Read-only binding to the contract ReporterTransactor // Write-only binding to the contract ReporterFilterer // Log filterer for contract events }
Reporter is an auto generated Go binding around an Ethereum contract.
func DeployReporter ¶
func DeployReporter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Reporter, error)
DeployReporter deploys a new Ethereum contract, binding an instance of Reporter to it.
func NewReporter ¶
NewReporter creates a new instance of Reporter, bound to a specific deployed contract.
type ReporterCaller ¶
type ReporterCaller struct {
// contains filtered or unexported fields
}
ReporterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewReporterCaller ¶
func NewReporterCaller(address common.Address, caller bind.ContractCaller) (*ReporterCaller, error)
NewReporterCaller creates a new read-only instance of Reporter, bound to a specific deployed contract.
func (*ReporterCaller) BalanceOf ¶
func (_Reporter *ReporterCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ReporterCaller) DidMine ¶
func (_Reporter *ReporterCaller) DidMine(opts *bind.CallOpts, _challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ReporterCaller) GetLastNewValue ¶
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ReporterCaller) GetNewCurrentVariables ¶
func (_Reporter *ReporterCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct { Challenge [32]byte RequestIds [5]*big.Int Diff *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _diff, uint256 _tip)
func (*ReporterCaller) GetStakerInfo ¶
func (_Reporter *ReporterCaller) GetStakerInfo(opts *bind.CallOpts, _staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ReporterCaller) GetUintVar ¶
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
type ReporterCallerRaw ¶
type ReporterCallerRaw struct {
Contract *ReporterCaller // Generic read-only contract binding to access the raw methods on
}
ReporterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ReporterCallerRaw) Call ¶
func (_Reporter *ReporterCallerRaw) 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 ReporterCallerSession ¶
type ReporterCallerSession struct { Contract *ReporterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ReporterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ReporterCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ReporterCallerSession) DidMine ¶
func (_Reporter *ReporterCallerSession) DidMine(_challenge [32]byte, _miner common.Address) (bool, error)
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ReporterCallerSession) GetLastNewValue ¶
func (_Reporter *ReporterCallerSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ReporterCallerSession) GetNewCurrentVariables ¶
func (_Reporter *ReporterCallerSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Diff *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _diff, uint256 _tip)
func (*ReporterCallerSession) GetStakerInfo ¶
func (_Reporter *ReporterCallerSession) GetStakerInfo(_staker common.Address) (*big.Int, *big.Int, error)
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ReporterCallerSession) GetUintVar ¶
func (_Reporter *ReporterCallerSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
type ReporterFilterer ¶
type ReporterFilterer struct {
// contains filtered or unexported fields
}
ReporterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewReporterFilterer ¶
func NewReporterFilterer(address common.Address, filterer bind.ContractFilterer) (*ReporterFilterer, error)
NewReporterFilterer creates a new log filterer instance of Reporter, bound to a specific deployed contract.
type ReporterRaw ¶
type ReporterRaw struct {
Contract *Reporter // Generic contract binding to access the raw methods on
}
ReporterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ReporterRaw) Call ¶
func (_Reporter *ReporterRaw) 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 (*ReporterRaw) Transact ¶
func (_Reporter *ReporterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReporterRaw) Transfer ¶
func (_Reporter *ReporterRaw) 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 ReporterSession ¶
type ReporterSession struct { Contract *Reporter // 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 }
ReporterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ReporterSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _user) view returns(uint256)
func (*ReporterSession) ChangeTellorContract ¶
func (_Reporter *ReporterSession) ChangeTellorContract(_tContract common.Address) (*types.Transaction, error)
ChangeTellorContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeTellorContract(address _tContract) returns()
func (*ReporterSession) DepositStake ¶
func (_Reporter *ReporterSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ReporterSession) DidMine ¶
DidMine is a free data retrieval call binding the contract method 0x63bb82ad.
Solidity: function didMine(bytes32 _challenge, address _miner) view returns(bool)
func (*ReporterSession) GetLastNewValue ¶
func (_Reporter *ReporterSession) GetLastNewValue() (*big.Int, bool, error)
GetLastNewValue is a free data retrieval call binding the contract method 0xfc7cf0a0.
Solidity: function getLastNewValue() view returns(uint256, bool)
func (*ReporterSession) GetNewCurrentVariables ¶
func (_Reporter *ReporterSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Diff *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _diff, uint256 _tip)
func (*ReporterSession) GetStakerInfo ¶
GetStakerInfo is a free data retrieval call binding the contract method 0x733bdef0.
Solidity: function getStakerInfo(address _staker) view returns(uint256, uint256)
func (*ReporterSession) GetUintVar ¶
func (_Reporter *ReporterSession) GetUintVar(_data [32]byte) (*big.Int, error)
GetUintVar is a free data retrieval call binding the contract method 0x612c8f7f.
Solidity: function getUintVar(bytes32 _data) view returns(uint256)
func (*ReporterSession) RequestStakingWithdraw ¶
func (_Reporter *ReporterSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ReporterSession) SubmitMiningSolution ¶
func (_Reporter *ReporterSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestIds, uint256[5] _values) returns()
func (*ReporterSession) SubmitMiningSolution0 ¶
func (_Reporter *ReporterSession) SubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int, _pass *big.Int) (*types.Transaction, error)
SubmitMiningSolution0 is a paid mutator transaction binding the contract method 0x4cdae843.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value, uint256 _pass) returns()
func (*ReporterSession) WithdrawStake ¶
func (_Reporter *ReporterSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ReporterTransactor ¶
type ReporterTransactor struct {
// contains filtered or unexported fields
}
ReporterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewReporterTransactor ¶
func NewReporterTransactor(address common.Address, transactor bind.ContractTransactor) (*ReporterTransactor, error)
NewReporterTransactor creates a new write-only instance of Reporter, bound to a specific deployed contract.
func (*ReporterTransactor) ChangeTellorContract ¶
func (_Reporter *ReporterTransactor) ChangeTellorContract(opts *bind.TransactOpts, _tContract common.Address) (*types.Transaction, error)
ChangeTellorContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeTellorContract(address _tContract) returns()
func (*ReporterTransactor) DepositStake ¶
func (_Reporter *ReporterTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ReporterTransactor) RequestStakingWithdraw ¶
func (_Reporter *ReporterTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ReporterTransactor) SubmitMiningSolution ¶
func (_Reporter *ReporterTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestIds, uint256[5] _values) returns()
func (*ReporterTransactor) SubmitMiningSolution0 ¶
func (_Reporter *ReporterTransactor) SubmitMiningSolution0(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, _value [5]*big.Int, _pass *big.Int) (*types.Transaction, error)
SubmitMiningSolution0 is a paid mutator transaction binding the contract method 0x4cdae843.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value, uint256 _pass) returns()
func (*ReporterTransactor) WithdrawStake ¶
func (_Reporter *ReporterTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ReporterTransactorRaw ¶
type ReporterTransactorRaw struct {
Contract *ReporterTransactor // Generic write-only contract binding to access the raw methods on
}
ReporterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ReporterTransactorRaw) Transact ¶
func (_Reporter *ReporterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReporterTransactorRaw) Transfer ¶
func (_Reporter *ReporterTransactorRaw) 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 ReporterTransactorSession ¶
type ReporterTransactorSession struct { Contract *ReporterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ReporterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ReporterTransactorSession) ChangeTellorContract ¶
func (_Reporter *ReporterTransactorSession) ChangeTellorContract(_tContract common.Address) (*types.Transaction, error)
ChangeTellorContract is a paid mutator transaction binding the contract method 0xae0a8279.
Solidity: function changeTellorContract(address _tContract) returns()
func (*ReporterTransactorSession) DepositStake ¶
func (_Reporter *ReporterTransactorSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*ReporterTransactorSession) RequestStakingWithdraw ¶
func (_Reporter *ReporterTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*ReporterTransactorSession) SubmitMiningSolution ¶
func (_Reporter *ReporterTransactorSession) SubmitMiningSolution(_nonce string, _requestIds [5]*big.Int, _values [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestIds, uint256[5] _values) returns()
func (*ReporterTransactorSession) SubmitMiningSolution0 ¶
func (_Reporter *ReporterTransactorSession) SubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int, _pass *big.Int) (*types.Transaction, error)
SubmitMiningSolution0 is a paid mutator transaction binding the contract method 0x4cdae843.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value, uint256 _pass) returns()
func (*ReporterTransactorSession) WithdrawStake ¶
func (_Reporter *ReporterTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()