Documentation ¶
Index ¶
- Variables
- type Poh
- type PohAddSubmission
- type PohAddSubmissionIterator
- type PohAppealContribution
- type PohAppealContributionIterator
- type PohArbitratorComplete
- type PohArbitratorCompleteIterator
- type PohCaller
- func (_Poh *PohCaller) ArbitratorDataList(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Poh *PohCaller) ArbitratorDisputeIDToDisputeData(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Poh *PohCaller) ChallengePeriodDuration(opts *bind.CallOpts) (uint64, error)
- func (_Poh *PohCaller) CheckRequestDuplicates(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, ...) (bool, error)
- func (_Poh *PohCaller) GetArbitratorDataListCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Poh *PohCaller) GetChallengeInfo(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, ...) (struct{ ... }, error)
- func (_Poh *PohCaller) GetContributions(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, ...) ([3]*big.Int, error)
- func (_Poh *PohCaller) GetNumberOfVouches(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int) (*big.Int, error)
- func (_Poh *PohCaller) GetRequestInfo(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int) (struct{ ... }, error)
- func (_Poh *PohCaller) GetRoundInfo(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, ...) (struct{ ... }, error)
- func (_Poh *PohCaller) GetSubmissionInfo(opts *bind.CallOpts, _submissionID common.Address) (struct{ ... }, error)
- func (_Poh *PohCaller) Governor(opts *bind.CallOpts) (common.Address, error)
- func (_Poh *PohCaller) IsRegistered(opts *bind.CallOpts, _submissionID common.Address) (bool, error)
- func (_Poh *PohCaller) LoserStakeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_Poh *PohCaller) RenewalPeriodDuration(opts *bind.CallOpts) (uint64, error)
- func (_Poh *PohCaller) RequiredNumberOfVouches(opts *bind.CallOpts) (uint64, error)
- func (_Poh *PohCaller) SharedStakeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_Poh *PohCaller) SubmissionBaseDeposit(opts *bind.CallOpts) (*big.Int, error)
- func (_Poh *PohCaller) SubmissionCounter(opts *bind.CallOpts) (*big.Int, error)
- func (_Poh *PohCaller) SubmissionDuration(opts *bind.CallOpts) (uint64, error)
- func (_Poh *PohCaller) Vouches(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Poh *PohCaller) WinnerStakeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- type PohCallerRaw
- type PohCallerSession
- func (_Poh *PohCallerSession) ArbitratorDataList(arg0 *big.Int) (struct{ ... }, error)
- func (_Poh *PohCallerSession) ArbitratorDisputeIDToDisputeData(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Poh *PohCallerSession) ChallengePeriodDuration() (uint64, error)
- func (_Poh *PohCallerSession) CheckRequestDuplicates(_submissionID common.Address, _requestID *big.Int, _duplicateID common.Address) (bool, error)
- func (_Poh *PohCallerSession) GetArbitratorDataListCount() (*big.Int, error)
- func (_Poh *PohCallerSession) GetChallengeInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int) (struct{ ... }, error)
- func (_Poh *PohCallerSession) GetContributions(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, ...) ([3]*big.Int, error)
- func (_Poh *PohCallerSession) GetNumberOfVouches(_submissionID common.Address, _requestID *big.Int) (*big.Int, error)
- func (_Poh *PohCallerSession) GetRequestInfo(_submissionID common.Address, _requestID *big.Int) (struct{ ... }, error)
- func (_Poh *PohCallerSession) GetRoundInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, ...) (struct{ ... }, error)
- func (_Poh *PohCallerSession) GetSubmissionInfo(_submissionID common.Address) (struct{ ... }, error)
- func (_Poh *PohCallerSession) Governor() (common.Address, error)
- func (_Poh *PohCallerSession) IsRegistered(_submissionID common.Address) (bool, error)
- func (_Poh *PohCallerSession) LoserStakeMultiplier() (*big.Int, error)
- func (_Poh *PohCallerSession) RenewalPeriodDuration() (uint64, error)
- func (_Poh *PohCallerSession) RequiredNumberOfVouches() (uint64, error)
- func (_Poh *PohCallerSession) SharedStakeMultiplier() (*big.Int, error)
- func (_Poh *PohCallerSession) SubmissionBaseDeposit() (*big.Int, error)
- func (_Poh *PohCallerSession) SubmissionCounter() (*big.Int, error)
- func (_Poh *PohCallerSession) SubmissionDuration() (uint64, error)
- func (_Poh *PohCallerSession) Vouches(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Poh *PohCallerSession) WinnerStakeMultiplier() (*big.Int, error)
- type PohChallengeResolved
- type PohChallengeResolvedIterator
- type PohDispute
- type PohDisputeIterator
- type PohEvidence
- type PohEvidenceIterator
- type PohFilterer
- func (_Poh *PohFilterer) FilterAddSubmission(opts *bind.FilterOpts, _submissionID []common.Address) (*PohAddSubmissionIterator, error)
- func (_Poh *PohFilterer) FilterAppealContribution(opts *bind.FilterOpts, _submissionID []common.Address, _challengeID []*big.Int, ...) (*PohAppealContributionIterator, error)
- func (_Poh *PohFilterer) FilterArbitratorComplete(opts *bind.FilterOpts, _governor []common.Address) (*PohArbitratorCompleteIterator, error)
- func (_Poh *PohFilterer) FilterChallengeResolved(opts *bind.FilterOpts, _submissionID []common.Address, _requestID []*big.Int) (*PohChallengeResolvedIterator, error)
- func (_Poh *PohFilterer) FilterDispute(opts *bind.FilterOpts, _arbitrator []common.Address, _disputeID []*big.Int) (*PohDisputeIterator, error)
- func (_Poh *PohFilterer) FilterEvidence(opts *bind.FilterOpts, _arbitrator []common.Address, ...) (*PohEvidenceIterator, error)
- func (_Poh *PohFilterer) FilterHasPaidAppealFee(opts *bind.FilterOpts, _submissionID []common.Address, _challengeID []*big.Int) (*PohHasPaidAppealFeeIterator, error)
- func (_Poh *PohFilterer) FilterMetaEvidence(opts *bind.FilterOpts, _metaEvidenceID []*big.Int) (*PohMetaEvidenceIterator, error)
- func (_Poh *PohFilterer) FilterReapplySubmission(opts *bind.FilterOpts, _submissionID []common.Address) (*PohReapplySubmissionIterator, error)
- func (_Poh *PohFilterer) FilterRemoveSubmission(opts *bind.FilterOpts, _requester []common.Address, ...) (*PohRemoveSubmissionIterator, error)
- func (_Poh *PohFilterer) FilterRuling(opts *bind.FilterOpts, _arbitrator []common.Address, _disputeID []*big.Int) (*PohRulingIterator, error)
- func (_Poh *PohFilterer) FilterSubmissionChallenged(opts *bind.FilterOpts, _submissionID []common.Address, _requestID []*big.Int) (*PohSubmissionChallengedIterator, error)
- func (_Poh *PohFilterer) FilterVouchAdded(opts *bind.FilterOpts, _submissionID []common.Address, ...) (*PohVouchAddedIterator, error)
- func (_Poh *PohFilterer) FilterVouchRemoved(opts *bind.FilterOpts, _submissionID []common.Address, ...) (*PohVouchRemovedIterator, error)
- func (_Poh *PohFilterer) ParseAddSubmission(log types.Log) (*PohAddSubmission, error)
- func (_Poh *PohFilterer) ParseAppealContribution(log types.Log) (*PohAppealContribution, error)
- func (_Poh *PohFilterer) ParseArbitratorComplete(log types.Log) (*PohArbitratorComplete, error)
- func (_Poh *PohFilterer) ParseChallengeResolved(log types.Log) (*PohChallengeResolved, error)
- func (_Poh *PohFilterer) ParseDispute(log types.Log) (*PohDispute, error)
- func (_Poh *PohFilterer) ParseEvidence(log types.Log) (*PohEvidence, error)
- func (_Poh *PohFilterer) ParseHasPaidAppealFee(log types.Log) (*PohHasPaidAppealFee, error)
- func (_Poh *PohFilterer) ParseMetaEvidence(log types.Log) (*PohMetaEvidence, error)
- func (_Poh *PohFilterer) ParseReapplySubmission(log types.Log) (*PohReapplySubmission, error)
- func (_Poh *PohFilterer) ParseRemoveSubmission(log types.Log) (*PohRemoveSubmission, error)
- func (_Poh *PohFilterer) ParseRuling(log types.Log) (*PohRuling, error)
- func (_Poh *PohFilterer) ParseSubmissionChallenged(log types.Log) (*PohSubmissionChallenged, error)
- func (_Poh *PohFilterer) ParseVouchAdded(log types.Log) (*PohVouchAdded, error)
- func (_Poh *PohFilterer) ParseVouchRemoved(log types.Log) (*PohVouchRemoved, error)
- func (_Poh *PohFilterer) WatchAddSubmission(opts *bind.WatchOpts, sink chan<- *PohAddSubmission, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchAppealContribution(opts *bind.WatchOpts, sink chan<- *PohAppealContribution, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchArbitratorComplete(opts *bind.WatchOpts, sink chan<- *PohArbitratorComplete, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *PohChallengeResolved, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchDispute(opts *bind.WatchOpts, sink chan<- *PohDispute, _arbitrator []common.Address, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchEvidence(opts *bind.WatchOpts, sink chan<- *PohEvidence, _arbitrator []common.Address, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchHasPaidAppealFee(opts *bind.WatchOpts, sink chan<- *PohHasPaidAppealFee, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchMetaEvidence(opts *bind.WatchOpts, sink chan<- *PohMetaEvidence, _metaEvidenceID []*big.Int) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchReapplySubmission(opts *bind.WatchOpts, sink chan<- *PohReapplySubmission, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchRemoveSubmission(opts *bind.WatchOpts, sink chan<- *PohRemoveSubmission, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchRuling(opts *bind.WatchOpts, sink chan<- *PohRuling, _arbitrator []common.Address, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchSubmissionChallenged(opts *bind.WatchOpts, sink chan<- *PohSubmissionChallenged, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchVouchAdded(opts *bind.WatchOpts, sink chan<- *PohVouchAdded, ...) (event.Subscription, error)
- func (_Poh *PohFilterer) WatchVouchRemoved(opts *bind.WatchOpts, sink chan<- *PohVouchRemoved, ...) (event.Subscription, error)
- type PohHasPaidAppealFee
- type PohHasPaidAppealFeeIterator
- type PohMetaEvidence
- type PohMetaEvidenceIterator
- type PohRaw
- type PohReapplySubmission
- type PohReapplySubmissionIterator
- type PohRemoveSubmission
- type PohRemoveSubmissionIterator
- type PohRuling
- type PohRulingIterator
- type PohSession
- func (_Poh *PohSession) AddSubmission(_evidence string, _name string) (*types.Transaction, error)
- func (_Poh *PohSession) AddSubmissionManually(_submissionIDs []common.Address, _evidence []string, _names []string) (*types.Transaction, error)
- func (_Poh *PohSession) AddVouch(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohSession) ArbitratorDataList(arg0 *big.Int) (struct{ ... }, error)
- func (_Poh *PohSession) ArbitratorDisputeIDToDisputeData(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_Poh *PohSession) ChallengePeriodDuration() (uint64, error)
- func (_Poh *PohSession) ChallengeRequest(_submissionID common.Address, _reason uint8, _duplicateID common.Address, ...) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeArbitrator(_arbitrator common.Address, _arbitratorExtraData []byte) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeDurations(_submissionDuration uint64, _renewalPeriodDuration uint64, ...) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeGovernor(_governor common.Address) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeLoserStakeMultiplier(_loserStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeMetaEvidence(_registrationMetaEvidence string, _clearingMetaEvidence string) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeRequiredNumberOfVouches(_requiredNumberOfVouches uint64) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeSharedStakeMultiplier(_sharedStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeStateToPending(_submissionID common.Address, _vouches []common.Address, _signatures [][]byte, ...) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeSubmissionBaseDeposit(_submissionBaseDeposit *big.Int) (*types.Transaction, error)
- func (_Poh *PohSession) ChangeWinnerStakeMultiplier(_winnerStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohSession) CheckRequestDuplicates(_submissionID common.Address, _requestID *big.Int, _duplicateID common.Address) (bool, error)
- func (_Poh *PohSession) ExecuteRequest(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohSession) FundAppeal(_submissionID common.Address, _challengeID *big.Int, _side uint8) (*types.Transaction, error)
- func (_Poh *PohSession) FundSubmission(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohSession) GetArbitratorDataListCount() (*big.Int, error)
- func (_Poh *PohSession) GetChallengeInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int) (struct{ ... }, error)
- func (_Poh *PohSession) GetContributions(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, ...) ([3]*big.Int, error)
- func (_Poh *PohSession) GetNumberOfVouches(_submissionID common.Address, _requestID *big.Int) (*big.Int, error)
- func (_Poh *PohSession) GetRequestInfo(_submissionID common.Address, _requestID *big.Int) (struct{ ... }, error)
- func (_Poh *PohSession) GetRoundInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, ...) (struct{ ... }, error)
- func (_Poh *PohSession) GetSubmissionInfo(_submissionID common.Address) (struct{ ... }, error)
- func (_Poh *PohSession) Governor() (common.Address, error)
- func (_Poh *PohSession) IsRegistered(_submissionID common.Address) (bool, error)
- func (_Poh *PohSession) LoserStakeMultiplier() (*big.Int, error)
- func (_Poh *PohSession) ProcessVouches(_submissionID common.Address, _requestID *big.Int, _iterations *big.Int) (*types.Transaction, error)
- func (_Poh *PohSession) ReapplySubmission(_evidence string, _name string) (*types.Transaction, error)
- func (_Poh *PohSession) RemoveSubmission(_submissionID common.Address, _evidence string) (*types.Transaction, error)
- func (_Poh *PohSession) RemoveSubmissionManually(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohSession) RemoveVouch(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohSession) RenewalPeriodDuration() (uint64, error)
- func (_Poh *PohSession) RequiredNumberOfVouches() (uint64, error)
- func (_Poh *PohSession) Rule(_disputeID *big.Int, _ruling *big.Int) (*types.Transaction, error)
- func (_Poh *PohSession) SharedStakeMultiplier() (*big.Int, error)
- func (_Poh *PohSession) SubmissionBaseDeposit() (*big.Int, error)
- func (_Poh *PohSession) SubmissionCounter() (*big.Int, error)
- func (_Poh *PohSession) SubmissionDuration() (uint64, error)
- func (_Poh *PohSession) SubmitEvidence(_submissionID common.Address, _evidence string) (*types.Transaction, error)
- func (_Poh *PohSession) Vouches(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Poh *PohSession) WinnerStakeMultiplier() (*big.Int, error)
- func (_Poh *PohSession) WithdrawFeesAndRewards(_beneficiary common.Address, _submissionID common.Address, _requestID *big.Int, ...) (*types.Transaction, error)
- func (_Poh *PohSession) WithdrawSubmission() (*types.Transaction, error)
- type PohSubmissionChallenged
- type PohSubmissionChallengedIterator
- type PohTransactor
- func (_Poh *PohTransactor) AddSubmission(opts *bind.TransactOpts, _evidence string, _name string) (*types.Transaction, error)
- func (_Poh *PohTransactor) AddSubmissionManually(opts *bind.TransactOpts, _submissionIDs []common.Address, _evidence []string, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) AddVouch(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChallengeRequest(opts *bind.TransactOpts, _submissionID common.Address, _reason uint8, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeArbitrator(opts *bind.TransactOpts, _arbitrator common.Address, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeDurations(opts *bind.TransactOpts, _submissionDuration uint64, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeLoserStakeMultiplier(opts *bind.TransactOpts, _loserStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeMetaEvidence(opts *bind.TransactOpts, _registrationMetaEvidence string, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeRequiredNumberOfVouches(opts *bind.TransactOpts, _requiredNumberOfVouches uint64) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeSharedStakeMultiplier(opts *bind.TransactOpts, _sharedStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeStateToPending(opts *bind.TransactOpts, _submissionID common.Address, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeSubmissionBaseDeposit(opts *bind.TransactOpts, _submissionBaseDeposit *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactor) ChangeWinnerStakeMultiplier(opts *bind.TransactOpts, _winnerStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactor) ExecuteRequest(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactor) FundAppeal(opts *bind.TransactOpts, _submissionID common.Address, _challengeID *big.Int, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) FundSubmission(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactor) ProcessVouches(opts *bind.TransactOpts, _submissionID common.Address, _requestID *big.Int, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) ReapplySubmission(opts *bind.TransactOpts, _evidence string, _name string) (*types.Transaction, error)
- func (_Poh *PohTransactor) RemoveSubmission(opts *bind.TransactOpts, _submissionID common.Address, _evidence string) (*types.Transaction, error)
- func (_Poh *PohTransactor) RemoveSubmissionManually(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactor) RemoveVouch(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactor) Rule(opts *bind.TransactOpts, _disputeID *big.Int, _ruling *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactor) SubmitEvidence(opts *bind.TransactOpts, _submissionID common.Address, _evidence string) (*types.Transaction, error)
- func (_Poh *PohTransactor) WithdrawFeesAndRewards(opts *bind.TransactOpts, _beneficiary common.Address, ...) (*types.Transaction, error)
- func (_Poh *PohTransactor) WithdrawSubmission(opts *bind.TransactOpts) (*types.Transaction, error)
- type PohTransactorRaw
- type PohTransactorSession
- func (_Poh *PohTransactorSession) AddSubmission(_evidence string, _name string) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) AddSubmissionManually(_submissionIDs []common.Address, _evidence []string, _names []string) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) AddVouch(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChallengeRequest(_submissionID common.Address, _reason uint8, _duplicateID common.Address, ...) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeArbitrator(_arbitrator common.Address, _arbitratorExtraData []byte) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeDurations(_submissionDuration uint64, _renewalPeriodDuration uint64, ...) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeGovernor(_governor common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeLoserStakeMultiplier(_loserStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeMetaEvidence(_registrationMetaEvidence string, _clearingMetaEvidence string) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeRequiredNumberOfVouches(_requiredNumberOfVouches uint64) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeSharedStakeMultiplier(_sharedStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeStateToPending(_submissionID common.Address, _vouches []common.Address, _signatures [][]byte, ...) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeSubmissionBaseDeposit(_submissionBaseDeposit *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ChangeWinnerStakeMultiplier(_winnerStakeMultiplier *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ExecuteRequest(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) FundAppeal(_submissionID common.Address, _challengeID *big.Int, _side uint8) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) FundSubmission(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ProcessVouches(_submissionID common.Address, _requestID *big.Int, _iterations *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) ReapplySubmission(_evidence string, _name string) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) RemoveSubmission(_submissionID common.Address, _evidence string) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) RemoveSubmissionManually(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) RemoveVouch(_submissionID common.Address) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) Rule(_disputeID *big.Int, _ruling *big.Int) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) SubmitEvidence(_submissionID common.Address, _evidence string) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) WithdrawFeesAndRewards(_beneficiary common.Address, _submissionID common.Address, _requestID *big.Int, ...) (*types.Transaction, error)
- func (_Poh *PohTransactorSession) WithdrawSubmission() (*types.Transaction, error)
- type PohVouchAdded
- type PohVouchAddedIterator
- type PohVouchRemoved
- type PohVouchRemovedIterator
- type Registry
Constants ¶
This section is empty.
Variables ¶
var PohABI = PohMetaData.ABI
PohABI is the input ABI used to generate the binding from. Deprecated: Use PohMetaData.ABI instead.
var PohMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIArbitrator\",\"name\":\"_arbitrator\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_arbitratorExtraData\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"_registrationMetaEvidence\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_clearingMetaEvidence\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_submissionBaseDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_submissionDuration\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_renewalPeriodDuration\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_challengePeriodDuration\",\"type\":\"uint64\"},{\"internalType\":\"uint256[3]\",\"name\":\"_multipliers\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint64\",\"name\":\"_requiredNumberOfVouches\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"}],\"name\":\"AddSubmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumProofOfHumanity.Party\",\"name\":\"_party\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_contributor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"AppealContribution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIArbitrator\",\"name\":\"_arbitrator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_submissionBaseDeposit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_submissionDuration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_challengePeriodDuration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_requiredNumberOfVouches\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_sharedStakeMultiplier\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_winnerStakeMultiplier\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_loserStakeMultiplier\",\"type\":\"uint256\"}],\"name\":\"ArbitratorComplete\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"}],\"name\":\"ChallengeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIArbitrator\",\"name\":\"_arbitrator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_disputeID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_metaEvidenceID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_evidenceGroupID\",\"type\":\"uint256\"}],\"name\":\"Dispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIArbitrator\",\"name\":\"_arbitrator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_evidenceGroupID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_party\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"}],\"name\":\"Evidence\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumProofOfHumanity.Party\",\"name\":\"_side\",\"type\":\"uint8\"}],\"name\":\"HasPaidAppealFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_metaEvidenceID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"}],\"name\":\"MetaEvidence\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"}],\"name\":\"ReapplySubmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_requester\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"}],\"name\":\"RemoveSubmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIArbitrator\",\"name\":\"_arbitrator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_disputeID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ruling\",\"type\":\"uint256\"}],\"name\":\"Ruling\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"}],\"name\":\"SubmissionChallenged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_voucher\",\"type\":\"address\"}],\"name\":\"VouchAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_voucher\",\"type\":\"address\"}],\"name\":\"VouchRemoved\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"addSubmission\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_submissionIDs\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"_evidence\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"_names\",\"type\":\"string[]\"}],\"name\":\"addSubmissionManually\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"addVouch\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"arbitratorDataList\",\"outputs\":[{\"internalType\":\"contractIArbitrator\",\"name\":\"arbitrator\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"metaEvidenceUpdates\",\"type\":\"uint96\"},{\"internalType\":\"bytes\",\"name\":\"arbitratorExtraData\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"arbitratorDisputeIDToDisputeData\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"challengeID\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"submissionID\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"challengePeriodDuration\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"enumProofOfHumanity.Reason\",\"name\":\"_reason\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"_duplicateID\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"}],\"name\":\"challengeRequest\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIArbitrator\",\"name\":\"_arbitrator\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_arbitratorExtraData\",\"type\":\"bytes\"}],\"name\":\"changeArbitrator\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_submissionDuration\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_renewalPeriodDuration\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_challengePeriodDuration\",\"type\":\"uint64\"}],\"name\":\"changeDurations\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"changeGovernor\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_loserStakeMultiplier\",\"type\":\"uint256\"}],\"name\":\"changeLoserStakeMultiplier\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"_registrationMetaEvidence\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_clearingMetaEvidence\",\"type\":\"string\"}],\"name\":\"changeMetaEvidence\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_requiredNumberOfVouches\",\"type\":\"uint64\"}],\"name\":\"changeRequiredNumberOfVouches\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_sharedStakeMultiplier\",\"type\":\"uint256\"}],\"name\":\"changeSharedStakeMultiplier\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_vouches\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_signatures\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_expirationTimestamps\",\"type\":\"uint256[]\"}],\"name\":\"changeStateToPending\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_submissionBaseDeposit\",\"type\":\"uint256\"}],\"name\":\"changeSubmissionBaseDeposit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_winnerStakeMultiplier\",\"type\":\"uint256\"}],\"name\":\"changeWinnerStakeMultiplier\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_duplicateID\",\"type\":\"address\"}],\"name\":\"checkRequestDuplicates\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"executeRequest\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"},{\"internalType\":\"enumProofOfHumanity.Party\",\"name\":\"_side\",\"type\":\"uint8\"}],\"name\":\"fundAppeal\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"fundSubmission\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getArbitratorDataListCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"}],\"name\":\"getChallengeInfo\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"lastRoundID\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputeID\",\"type\":\"uint256\"},{\"internalType\":\"enumProofOfHumanity.Party\",\"name\":\"ruling\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"duplicateSubmissionIndex\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_contributor\",\"type\":\"address\"}],\"name\":\"getContributions\",\"outputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"contributions\",\"type\":\"uint256[3]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"}],\"name\":\"getNumberOfVouches\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"}],\"name\":\"getRequestInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"disputed\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"resolved\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"requesterLost\",\"type\":\"bool\"},{\"internalType\":\"enumProofOfHumanity.Reason\",\"name\":\"currentReason\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"nbParallelDisputes\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"lastChallengeID\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"arbitratorDataID\",\"type\":\"uint16\"},{\"internalType\":\"addresspayable\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"ultimateChallenger\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"usedReasons\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"getRoundInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"appealed\",\"type\":\"bool\"},{\"internalType\":\"uint256[3]\",\"name\":\"paidFees\",\"type\":\"uint256[3]\"},{\"internalType\":\"enumProofOfHumanity.Party\",\"name\":\"sideFunded\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"feeRewards\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"getSubmissionInfo\",\"outputs\":[{\"internalType\":\"enumProofOfHumanity.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"submissionTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"registered\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"hasVouched\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"numberOfRequests\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"governor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"loserStakeMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_iterations\",\"type\":\"uint256\"}],\"name\":\"processVouches\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"reapplySubmission\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"}],\"name\":\"removeSubmission\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"removeSubmissionManually\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"}],\"name\":\"removeVouch\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"renewalPeriodDuration\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"requiredNumberOfVouches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_disputeID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_ruling\",\"type\":\"uint256\"}],\"name\":\"rule\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"sharedStakeMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"submissionBaseDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"submissionCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"submissionDuration\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_evidence\",\"type\":\"string\"}],\"name\":\"submitEvidence\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"vouches\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"winnerStakeMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_submissionID\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_challengeID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"withdrawFeesAndRewards\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"withdrawSubmission\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
PohMetaData contains all meta data concerning the Poh contract.
Functions ¶
This section is empty.
Types ¶
type Poh ¶
type Poh struct { PohCaller // Read-only binding to the contract PohTransactor // Write-only binding to the contract PohFilterer // Log filterer for contract events }
Poh is an auto generated Go binding around an Ethereum contract.
type PohAddSubmission ¶
type PohAddSubmission struct { SubmissionID common.Address RequestID *big.Int Raw types.Log // Blockchain specific contextual infos }
PohAddSubmission represents a AddSubmission event raised by the Poh contract.
type PohAddSubmissionIterator ¶
type PohAddSubmissionIterator struct { Event *PohAddSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohAddSubmissionIterator is returned from FilterAddSubmission and is used to iterate over the raw logs and unpacked data for AddSubmission events raised by the Poh contract.
func (*PohAddSubmissionIterator) Close ¶
func (it *PohAddSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohAddSubmissionIterator) Error ¶
func (it *PohAddSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohAddSubmissionIterator) Next ¶
func (it *PohAddSubmissionIterator) 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 PohAppealContribution ¶
type PohAppealContribution struct { SubmissionID common.Address ChallengeID *big.Int Party uint8 Contributor common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
PohAppealContribution represents a AppealContribution event raised by the Poh contract.
type PohAppealContributionIterator ¶
type PohAppealContributionIterator struct { Event *PohAppealContribution // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohAppealContributionIterator is returned from FilterAppealContribution and is used to iterate over the raw logs and unpacked data for AppealContribution events raised by the Poh contract.
func (*PohAppealContributionIterator) Close ¶
func (it *PohAppealContributionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohAppealContributionIterator) Error ¶
func (it *PohAppealContributionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohAppealContributionIterator) Next ¶
func (it *PohAppealContributionIterator) 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 PohArbitratorComplete ¶
type PohArbitratorComplete struct { Arbitrator common.Address Governor common.Address SubmissionBaseDeposit *big.Int SubmissionDuration *big.Int ChallengePeriodDuration *big.Int RequiredNumberOfVouches *big.Int WinnerStakeMultiplier *big.Int LoserStakeMultiplier *big.Int Raw types.Log // Blockchain specific contextual infos }
PohArbitratorComplete represents a ArbitratorComplete event raised by the Poh contract.
type PohArbitratorCompleteIterator ¶
type PohArbitratorCompleteIterator struct { Event *PohArbitratorComplete // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohArbitratorCompleteIterator is returned from FilterArbitratorComplete and is used to iterate over the raw logs and unpacked data for ArbitratorComplete events raised by the Poh contract.
func (*PohArbitratorCompleteIterator) Close ¶
func (it *PohArbitratorCompleteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohArbitratorCompleteIterator) Error ¶
func (it *PohArbitratorCompleteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohArbitratorCompleteIterator) Next ¶
func (it *PohArbitratorCompleteIterator) 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 PohCaller ¶
type PohCaller struct {
// contains filtered or unexported fields
}
PohCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPohCaller ¶
NewPohCaller creates a new read-only instance of Poh, bound to a specific deployed contract.
func (*PohCaller) ArbitratorDataList ¶
func (_Poh *PohCaller) ArbitratorDataList(opts *bind.CallOpts, arg0 *big.Int) (struct { Arbitrator common.Address MetaEvidenceUpdates *big.Int ArbitratorExtraData []byte }, error)
ArbitratorDataList is a free data retrieval call binding the contract method 0xec0e71ba.
Solidity: function arbitratorDataList(uint256 ) view returns(address arbitrator, uint96 metaEvidenceUpdates, bytes arbitratorExtraData)
func (*PohCaller) ArbitratorDisputeIDToDisputeData ¶
func (_Poh *PohCaller) ArbitratorDisputeIDToDisputeData(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { ChallengeID *big.Int SubmissionID common.Address }, error)
ArbitratorDisputeIDToDisputeData is a free data retrieval call binding the contract method 0xdd254cd3.
Solidity: function arbitratorDisputeIDToDisputeData(address , uint256 ) view returns(uint96 challengeID, address submissionID)
func (*PohCaller) ChallengePeriodDuration ¶
ChallengePeriodDuration is a free data retrieval call binding the contract method 0x0082a36d.
Solidity: function challengePeriodDuration() view returns(uint64)
func (*PohCaller) CheckRequestDuplicates ¶
func (_Poh *PohCaller) CheckRequestDuplicates(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, _duplicateID common.Address) (bool, error)
CheckRequestDuplicates is a free data retrieval call binding the contract method 0x2e848506.
Solidity: function checkRequestDuplicates(address _submissionID, uint256 _requestID, address _duplicateID) view returns(bool)
func (*PohCaller) GetArbitratorDataListCount ¶
GetArbitratorDataListCount is a free data retrieval call binding the contract method 0x90d7c13c.
Solidity: function getArbitratorDataListCount() view returns(uint256)
func (*PohCaller) GetChallengeInfo ¶
func (_Poh *PohCaller) GetChallengeInfo(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, _challengeID *big.Int) (struct { LastRoundID uint16 Challenger common.Address DisputeID *big.Int Ruling uint8 DuplicateSubmissionIndex uint64 }, error)
GetChallengeInfo is a free data retrieval call binding the contract method 0xd64240de.
Solidity: function getChallengeInfo(address _submissionID, uint256 _requestID, uint256 _challengeID) view returns(uint16 lastRoundID, address challenger, uint256 disputeID, uint8 ruling, uint64 duplicateSubmissionIndex)
func (*PohCaller) GetContributions ¶
func (_Poh *PohCaller) GetContributions(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int, _contributor common.Address) ([3]*big.Int, error)
GetContributions is a free data retrieval call binding the contract method 0x3a8363c2.
Solidity: function getContributions(address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round, address _contributor) view returns(uint256[3] contributions)
func (*PohCaller) GetNumberOfVouches ¶
func (_Poh *PohCaller) GetNumberOfVouches(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int) (*big.Int, error)
GetNumberOfVouches is a free data retrieval call binding the contract method 0xdeb8f707.
Solidity: function getNumberOfVouches(address _submissionID, uint256 _requestID) view returns(uint256)
func (*PohCaller) GetRequestInfo ¶
func (_Poh *PohCaller) GetRequestInfo(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int) (struct { Disputed bool Resolved bool RequesterLost bool CurrentReason uint8 NbParallelDisputes uint16 LastChallengeID uint16 ArbitratorDataID uint16 Requester common.Address UltimateChallenger common.Address UsedReasons uint8 }, error)
GetRequestInfo is a free data retrieval call binding the contract method 0x6e112409.
Solidity: function getRequestInfo(address _submissionID, uint256 _requestID) view returns(bool disputed, bool resolved, bool requesterLost, uint8 currentReason, uint16 nbParallelDisputes, uint16 lastChallengeID, uint16 arbitratorDataID, address requester, address ultimateChallenger, uint8 usedReasons)
func (*PohCaller) GetRoundInfo ¶
func (_Poh *PohCaller) GetRoundInfo(opts *bind.CallOpts, _submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int) (struct { Appealed bool PaidFees [3]*big.Int SideFunded uint8 FeeRewards *big.Int }, error)
GetRoundInfo is a free data retrieval call binding the contract method 0xa84dc70e.
Solidity: function getRoundInfo(address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round) view returns(bool appealed, uint256[3] paidFees, uint8 sideFunded, uint256 feeRewards)
func (*PohCaller) GetSubmissionInfo ¶
func (_Poh *PohCaller) GetSubmissionInfo(opts *bind.CallOpts, _submissionID common.Address) (struct { Status uint8 SubmissionTime uint64 Index uint64 Registered bool HasVouched bool NumberOfRequests *big.Int }, error)
GetSubmissionInfo is a free data retrieval call binding the contract method 0x97973043.
Solidity: function getSubmissionInfo(address _submissionID) view returns(uint8 status, uint64 submissionTime, uint64 index, bool registered, bool hasVouched, uint256 numberOfRequests)
func (*PohCaller) Governor ¶
Governor is a free data retrieval call binding the contract method 0x0c340a24.
Solidity: function governor() view returns(address)
func (*PohCaller) IsRegistered ¶
func (_Poh *PohCaller) IsRegistered(opts *bind.CallOpts, _submissionID common.Address) (bool, error)
IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.
Solidity: function isRegistered(address _submissionID) view returns(bool)
func (*PohCaller) LoserStakeMultiplier ¶
LoserStakeMultiplier is a free data retrieval call binding the contract method 0x1d512085.
Solidity: function loserStakeMultiplier() view returns(uint256)
func (*PohCaller) RenewalPeriodDuration ¶
RenewalPeriodDuration is a free data retrieval call binding the contract method 0x876c63d4.
Solidity: function renewalPeriodDuration() view returns(uint64)
func (*PohCaller) RequiredNumberOfVouches ¶
RequiredNumberOfVouches is a free data retrieval call binding the contract method 0x2d9489c6.
Solidity: function requiredNumberOfVouches() view returns(uint64)
func (*PohCaller) SharedStakeMultiplier ¶
SharedStakeMultiplier is a free data retrieval call binding the contract method 0x41658341.
Solidity: function sharedStakeMultiplier() view returns(uint256)
func (*PohCaller) SubmissionBaseDeposit ¶
SubmissionBaseDeposit is a free data retrieval call binding the contract method 0xbb0b86ff.
Solidity: function submissionBaseDeposit() view returns(uint256)
func (*PohCaller) SubmissionCounter ¶
SubmissionCounter is a free data retrieval call binding the contract method 0x76c23ff1.
Solidity: function submissionCounter() view returns(uint256)
func (*PohCaller) SubmissionDuration ¶
SubmissionDuration is a free data retrieval call binding the contract method 0xf633c293.
Solidity: function submissionDuration() view returns(uint64)
type PohCallerRaw ¶
type PohCallerRaw struct {
Contract *PohCaller // Generic read-only contract binding to access the raw methods on
}
PohCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PohCallerRaw) Call ¶
func (_Poh *PohCallerRaw) 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 PohCallerSession ¶
type PohCallerSession struct { Contract *PohCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PohCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PohCallerSession) ArbitratorDataList ¶
func (_Poh *PohCallerSession) ArbitratorDataList(arg0 *big.Int) (struct { Arbitrator common.Address MetaEvidenceUpdates *big.Int ArbitratorExtraData []byte }, error)
ArbitratorDataList is a free data retrieval call binding the contract method 0xec0e71ba.
Solidity: function arbitratorDataList(uint256 ) view returns(address arbitrator, uint96 metaEvidenceUpdates, bytes arbitratorExtraData)
func (*PohCallerSession) ArbitratorDisputeIDToDisputeData ¶
func (_Poh *PohCallerSession) ArbitratorDisputeIDToDisputeData(arg0 common.Address, arg1 *big.Int) (struct { ChallengeID *big.Int SubmissionID common.Address }, error)
ArbitratorDisputeIDToDisputeData is a free data retrieval call binding the contract method 0xdd254cd3.
Solidity: function arbitratorDisputeIDToDisputeData(address , uint256 ) view returns(uint96 challengeID, address submissionID)
func (*PohCallerSession) ChallengePeriodDuration ¶
func (_Poh *PohCallerSession) ChallengePeriodDuration() (uint64, error)
ChallengePeriodDuration is a free data retrieval call binding the contract method 0x0082a36d.
Solidity: function challengePeriodDuration() view returns(uint64)
func (*PohCallerSession) CheckRequestDuplicates ¶
func (_Poh *PohCallerSession) CheckRequestDuplicates(_submissionID common.Address, _requestID *big.Int, _duplicateID common.Address) (bool, error)
CheckRequestDuplicates is a free data retrieval call binding the contract method 0x2e848506.
Solidity: function checkRequestDuplicates(address _submissionID, uint256 _requestID, address _duplicateID) view returns(bool)
func (*PohCallerSession) GetArbitratorDataListCount ¶
func (_Poh *PohCallerSession) GetArbitratorDataListCount() (*big.Int, error)
GetArbitratorDataListCount is a free data retrieval call binding the contract method 0x90d7c13c.
Solidity: function getArbitratorDataListCount() view returns(uint256)
func (*PohCallerSession) GetChallengeInfo ¶
func (_Poh *PohCallerSession) GetChallengeInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int) (struct { LastRoundID uint16 Challenger common.Address DisputeID *big.Int Ruling uint8 DuplicateSubmissionIndex uint64 }, error)
GetChallengeInfo is a free data retrieval call binding the contract method 0xd64240de.
Solidity: function getChallengeInfo(address _submissionID, uint256 _requestID, uint256 _challengeID) view returns(uint16 lastRoundID, address challenger, uint256 disputeID, uint8 ruling, uint64 duplicateSubmissionIndex)
func (*PohCallerSession) GetContributions ¶
func (_Poh *PohCallerSession) GetContributions(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int, _contributor common.Address) ([3]*big.Int, error)
GetContributions is a free data retrieval call binding the contract method 0x3a8363c2.
Solidity: function getContributions(address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round, address _contributor) view returns(uint256[3] contributions)
func (*PohCallerSession) GetNumberOfVouches ¶
func (_Poh *PohCallerSession) GetNumberOfVouches(_submissionID common.Address, _requestID *big.Int) (*big.Int, error)
GetNumberOfVouches is a free data retrieval call binding the contract method 0xdeb8f707.
Solidity: function getNumberOfVouches(address _submissionID, uint256 _requestID) view returns(uint256)
func (*PohCallerSession) GetRequestInfo ¶
func (_Poh *PohCallerSession) GetRequestInfo(_submissionID common.Address, _requestID *big.Int) (struct { Disputed bool Resolved bool RequesterLost bool CurrentReason uint8 NbParallelDisputes uint16 LastChallengeID uint16 ArbitratorDataID uint16 Requester common.Address UltimateChallenger common.Address UsedReasons uint8 }, error)
GetRequestInfo is a free data retrieval call binding the contract method 0x6e112409.
Solidity: function getRequestInfo(address _submissionID, uint256 _requestID) view returns(bool disputed, bool resolved, bool requesterLost, uint8 currentReason, uint16 nbParallelDisputes, uint16 lastChallengeID, uint16 arbitratorDataID, address requester, address ultimateChallenger, uint8 usedReasons)
func (*PohCallerSession) GetRoundInfo ¶
func (_Poh *PohCallerSession) GetRoundInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int) (struct { Appealed bool PaidFees [3]*big.Int SideFunded uint8 FeeRewards *big.Int }, error)
GetRoundInfo is a free data retrieval call binding the contract method 0xa84dc70e.
Solidity: function getRoundInfo(address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round) view returns(bool appealed, uint256[3] paidFees, uint8 sideFunded, uint256 feeRewards)
func (*PohCallerSession) GetSubmissionInfo ¶
func (_Poh *PohCallerSession) GetSubmissionInfo(_submissionID common.Address) (struct { Status uint8 SubmissionTime uint64 Index uint64 Registered bool HasVouched bool NumberOfRequests *big.Int }, error)
GetSubmissionInfo is a free data retrieval call binding the contract method 0x97973043.
Solidity: function getSubmissionInfo(address _submissionID) view returns(uint8 status, uint64 submissionTime, uint64 index, bool registered, bool hasVouched, uint256 numberOfRequests)
func (*PohCallerSession) Governor ¶
func (_Poh *PohCallerSession) Governor() (common.Address, error)
Governor is a free data retrieval call binding the contract method 0x0c340a24.
Solidity: function governor() view returns(address)
func (*PohCallerSession) IsRegistered ¶
func (_Poh *PohCallerSession) IsRegistered(_submissionID common.Address) (bool, error)
IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.
Solidity: function isRegistered(address _submissionID) view returns(bool)
func (*PohCallerSession) LoserStakeMultiplier ¶
func (_Poh *PohCallerSession) LoserStakeMultiplier() (*big.Int, error)
LoserStakeMultiplier is a free data retrieval call binding the contract method 0x1d512085.
Solidity: function loserStakeMultiplier() view returns(uint256)
func (*PohCallerSession) RenewalPeriodDuration ¶
func (_Poh *PohCallerSession) RenewalPeriodDuration() (uint64, error)
RenewalPeriodDuration is a free data retrieval call binding the contract method 0x876c63d4.
Solidity: function renewalPeriodDuration() view returns(uint64)
func (*PohCallerSession) RequiredNumberOfVouches ¶
func (_Poh *PohCallerSession) RequiredNumberOfVouches() (uint64, error)
RequiredNumberOfVouches is a free data retrieval call binding the contract method 0x2d9489c6.
Solidity: function requiredNumberOfVouches() view returns(uint64)
func (*PohCallerSession) SharedStakeMultiplier ¶
func (_Poh *PohCallerSession) SharedStakeMultiplier() (*big.Int, error)
SharedStakeMultiplier is a free data retrieval call binding the contract method 0x41658341.
Solidity: function sharedStakeMultiplier() view returns(uint256)
func (*PohCallerSession) SubmissionBaseDeposit ¶
func (_Poh *PohCallerSession) SubmissionBaseDeposit() (*big.Int, error)
SubmissionBaseDeposit is a free data retrieval call binding the contract method 0xbb0b86ff.
Solidity: function submissionBaseDeposit() view returns(uint256)
func (*PohCallerSession) SubmissionCounter ¶
func (_Poh *PohCallerSession) SubmissionCounter() (*big.Int, error)
SubmissionCounter is a free data retrieval call binding the contract method 0x76c23ff1.
Solidity: function submissionCounter() view returns(uint256)
func (*PohCallerSession) SubmissionDuration ¶
func (_Poh *PohCallerSession) SubmissionDuration() (uint64, error)
SubmissionDuration is a free data retrieval call binding the contract method 0xf633c293.
Solidity: function submissionDuration() view returns(uint64)
func (*PohCallerSession) Vouches ¶
Vouches is a free data retrieval call binding the contract method 0x0b337be6.
Solidity: function vouches(address , address ) view returns(bool)
func (*PohCallerSession) WinnerStakeMultiplier ¶
func (_Poh *PohCallerSession) WinnerStakeMultiplier() (*big.Int, error)
WinnerStakeMultiplier is a free data retrieval call binding the contract method 0x7b943383.
Solidity: function winnerStakeMultiplier() view returns(uint256)
type PohChallengeResolved ¶
type PohChallengeResolved struct { SubmissionID common.Address RequestID *big.Int ChallengeID *big.Int Raw types.Log // Blockchain specific contextual infos }
PohChallengeResolved represents a ChallengeResolved event raised by the Poh contract.
type PohChallengeResolvedIterator ¶
type PohChallengeResolvedIterator struct { Event *PohChallengeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohChallengeResolvedIterator is returned from FilterChallengeResolved and is used to iterate over the raw logs and unpacked data for ChallengeResolved events raised by the Poh contract.
func (*PohChallengeResolvedIterator) Close ¶
func (it *PohChallengeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohChallengeResolvedIterator) Error ¶
func (it *PohChallengeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohChallengeResolvedIterator) Next ¶
func (it *PohChallengeResolvedIterator) 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 PohDispute ¶
type PohDispute struct { Arbitrator common.Address DisputeID *big.Int MetaEvidenceID *big.Int EvidenceGroupID *big.Int Raw types.Log // Blockchain specific contextual infos }
PohDispute represents a Dispute event raised by the Poh contract.
type PohDisputeIterator ¶
type PohDisputeIterator struct { Event *PohDispute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohDisputeIterator is returned from FilterDispute and is used to iterate over the raw logs and unpacked data for Dispute events raised by the Poh contract.
func (*PohDisputeIterator) Close ¶
func (it *PohDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohDisputeIterator) Error ¶
func (it *PohDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohDisputeIterator) Next ¶
func (it *PohDisputeIterator) 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 PohEvidence ¶
type PohEvidence struct { Arbitrator common.Address EvidenceGroupID *big.Int Party common.Address Evidence string Raw types.Log // Blockchain specific contextual infos }
PohEvidence represents a Evidence event raised by the Poh contract.
type PohEvidenceIterator ¶
type PohEvidenceIterator struct { Event *PohEvidence // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohEvidenceIterator is returned from FilterEvidence and is used to iterate over the raw logs and unpacked data for Evidence events raised by the Poh contract.
func (*PohEvidenceIterator) Close ¶
func (it *PohEvidenceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohEvidenceIterator) Error ¶
func (it *PohEvidenceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohEvidenceIterator) Next ¶
func (it *PohEvidenceIterator) 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 PohFilterer ¶
type PohFilterer struct {
// contains filtered or unexported fields
}
PohFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPohFilterer ¶
func NewPohFilterer(address common.Address, filterer bind.ContractFilterer) (*PohFilterer, error)
NewPohFilterer creates a new log filterer instance of Poh, bound to a specific deployed contract.
func (*PohFilterer) FilterAddSubmission ¶
func (_Poh *PohFilterer) FilterAddSubmission(opts *bind.FilterOpts, _submissionID []common.Address) (*PohAddSubmissionIterator, error)
FilterAddSubmission is a free log retrieval operation binding the contract event 0x803727a67d35270dc2c090dc4f9cba1f9818a7200e65c2087eca187851fd6b19.
Solidity: event AddSubmission(address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) FilterAppealContribution ¶
func (_Poh *PohFilterer) FilterAppealContribution(opts *bind.FilterOpts, _submissionID []common.Address, _challengeID []*big.Int, _contributor []common.Address) (*PohAppealContributionIterator, error)
FilterAppealContribution is a free log retrieval operation binding the contract event 0x9294febeba62e3f0e89187b59ba1235acc7fdbdebf15d6ede13c7b43adfa66dc.
Solidity: event AppealContribution(address indexed _submissionID, uint256 indexed _challengeID, uint8 _party, address indexed _contributor, uint256 _amount)
func (*PohFilterer) FilterArbitratorComplete ¶
func (_Poh *PohFilterer) FilterArbitratorComplete(opts *bind.FilterOpts, _governor []common.Address) (*PohArbitratorCompleteIterator, error)
FilterArbitratorComplete is a free log retrieval operation binding the contract event 0xe313403816674ac13a5fd6524fafc793584c317c3c947825b71a753b0c155b20.
Solidity: event ArbitratorComplete(address _arbitrator, address indexed _governor, uint256 _submissionBaseDeposit, uint256 _submissionDuration, uint256 _challengePeriodDuration, uint256 _requiredNumberOfVouches, uint256 _sharedStakeMultiplier, uint256 _winnerStakeMultiplier, uint256 _loserStakeMultiplier)
func (*PohFilterer) FilterChallengeResolved ¶
func (_Poh *PohFilterer) FilterChallengeResolved(opts *bind.FilterOpts, _submissionID []common.Address, _requestID []*big.Int) (*PohChallengeResolvedIterator, error)
FilterChallengeResolved is a free log retrieval operation binding the contract event 0xb6759576305cce1591ca803d5fbf22b83b8a7465c093df7b013cb829e98718e1.
Solidity: event ChallengeResolved(address indexed _submissionID, uint256 indexed _requestID, uint256 _challengeID)
func (*PohFilterer) FilterDispute ¶
func (_Poh *PohFilterer) FilterDispute(opts *bind.FilterOpts, _arbitrator []common.Address, _disputeID []*big.Int) (*PohDisputeIterator, error)
FilterDispute is a free log retrieval operation binding the contract event 0x74baab670a4015ab2f1b467c5252a96141a2573f2908e58a92081e80d3cfde3d.
Solidity: event Dispute(address indexed _arbitrator, uint256 indexed _disputeID, uint256 _metaEvidenceID, uint256 _evidenceGroupID)
func (*PohFilterer) FilterEvidence ¶
func (_Poh *PohFilterer) FilterEvidence(opts *bind.FilterOpts, _arbitrator []common.Address, _evidenceGroupID []*big.Int, _party []common.Address) (*PohEvidenceIterator, error)
FilterEvidence is a free log retrieval operation binding the contract event 0xdccf2f8b2cc26eafcd61905cba744cff4b81d14740725f6376390dc6298a6a3c.
Solidity: event Evidence(address indexed _arbitrator, uint256 indexed _evidenceGroupID, address indexed _party, string _evidence)
func (*PohFilterer) FilterHasPaidAppealFee ¶
func (_Poh *PohFilterer) FilterHasPaidAppealFee(opts *bind.FilterOpts, _submissionID []common.Address, _challengeID []*big.Int) (*PohHasPaidAppealFeeIterator, error)
FilterHasPaidAppealFee is a free log retrieval operation binding the contract event 0x642c5385391e218917cf658cc1365fdffc24183646b08706ed51281972d1dc80.
Solidity: event HasPaidAppealFee(address indexed _submissionID, uint256 indexed _challengeID, uint8 _side)
func (*PohFilterer) FilterMetaEvidence ¶
func (_Poh *PohFilterer) FilterMetaEvidence(opts *bind.FilterOpts, _metaEvidenceID []*big.Int) (*PohMetaEvidenceIterator, error)
FilterMetaEvidence is a free log retrieval operation binding the contract event 0x61606860eb6c87306811e2695215385101daab53bd6ab4e9f9049aead9363c7d.
Solidity: event MetaEvidence(uint256 indexed _metaEvidenceID, string _evidence)
func (*PohFilterer) FilterReapplySubmission ¶
func (_Poh *PohFilterer) FilterReapplySubmission(opts *bind.FilterOpts, _submissionID []common.Address) (*PohReapplySubmissionIterator, error)
FilterReapplySubmission is a free log retrieval operation binding the contract event 0xf6cfccc832db8edf362f395f01d696c7da2db840d97eb1ec1ac44c980143990e.
Solidity: event ReapplySubmission(address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) FilterRemoveSubmission ¶
func (_Poh *PohFilterer) FilterRemoveSubmission(opts *bind.FilterOpts, _requester []common.Address, _submissionID []common.Address) (*PohRemoveSubmissionIterator, error)
FilterRemoveSubmission is a free log retrieval operation binding the contract event 0xd63ca5272e9e07a30a33cc438f956428bf02359db9798ce3fe30140dadf8d741.
Solidity: event RemoveSubmission(address indexed _requester, address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) FilterRuling ¶
func (_Poh *PohFilterer) FilterRuling(opts *bind.FilterOpts, _arbitrator []common.Address, _disputeID []*big.Int) (*PohRulingIterator, error)
FilterRuling is a free log retrieval operation binding the contract event 0x394027a5fa6e098a1191094d1719d6929b9abc535fcc0c8f448d6a4e75622276.
Solidity: event Ruling(address indexed _arbitrator, uint256 indexed _disputeID, uint256 _ruling)
func (*PohFilterer) FilterSubmissionChallenged ¶
func (_Poh *PohFilterer) FilterSubmissionChallenged(opts *bind.FilterOpts, _submissionID []common.Address, _requestID []*big.Int) (*PohSubmissionChallengedIterator, error)
FilterSubmissionChallenged is a free log retrieval operation binding the contract event 0x28ec07f413c7805003c29837f7f1b3799f30f7f87a1e1b5b9aaee94f665218ac.
Solidity: event SubmissionChallenged(address indexed _submissionID, uint256 indexed _requestID, uint256 _challengeID)
func (*PohFilterer) FilterVouchAdded ¶
func (_Poh *PohFilterer) FilterVouchAdded(opts *bind.FilterOpts, _submissionID []common.Address, _voucher []common.Address) (*PohVouchAddedIterator, error)
FilterVouchAdded is a free log retrieval operation binding the contract event 0xc5482a4357210d662eeea6fa4589e76e47bdb84517a3b9da4f8b7576ae001701.
Solidity: event VouchAdded(address indexed _submissionID, address indexed _voucher)
func (*PohFilterer) FilterVouchRemoved ¶
func (_Poh *PohFilterer) FilterVouchRemoved(opts *bind.FilterOpts, _submissionID []common.Address, _voucher []common.Address) (*PohVouchRemovedIterator, error)
FilterVouchRemoved is a free log retrieval operation binding the contract event 0xd6f782ad61ba30c1b39b77f1bf37061e68733360288a441e70d08c0a91b0cbc5.
Solidity: event VouchRemoved(address indexed _submissionID, address indexed _voucher)
func (*PohFilterer) ParseAddSubmission ¶
func (_Poh *PohFilterer) ParseAddSubmission(log types.Log) (*PohAddSubmission, error)
ParseAddSubmission is a log parse operation binding the contract event 0x803727a67d35270dc2c090dc4f9cba1f9818a7200e65c2087eca187851fd6b19.
Solidity: event AddSubmission(address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) ParseAppealContribution ¶
func (_Poh *PohFilterer) ParseAppealContribution(log types.Log) (*PohAppealContribution, error)
ParseAppealContribution is a log parse operation binding the contract event 0x9294febeba62e3f0e89187b59ba1235acc7fdbdebf15d6ede13c7b43adfa66dc.
Solidity: event AppealContribution(address indexed _submissionID, uint256 indexed _challengeID, uint8 _party, address indexed _contributor, uint256 _amount)
func (*PohFilterer) ParseArbitratorComplete ¶
func (_Poh *PohFilterer) ParseArbitratorComplete(log types.Log) (*PohArbitratorComplete, error)
ParseArbitratorComplete is a log parse operation binding the contract event 0xe313403816674ac13a5fd6524fafc793584c317c3c947825b71a753b0c155b20.
Solidity: event ArbitratorComplete(address _arbitrator, address indexed _governor, uint256 _submissionBaseDeposit, uint256 _submissionDuration, uint256 _challengePeriodDuration, uint256 _requiredNumberOfVouches, uint256 _sharedStakeMultiplier, uint256 _winnerStakeMultiplier, uint256 _loserStakeMultiplier)
func (*PohFilterer) ParseChallengeResolved ¶
func (_Poh *PohFilterer) ParseChallengeResolved(log types.Log) (*PohChallengeResolved, error)
ParseChallengeResolved is a log parse operation binding the contract event 0xb6759576305cce1591ca803d5fbf22b83b8a7465c093df7b013cb829e98718e1.
Solidity: event ChallengeResolved(address indexed _submissionID, uint256 indexed _requestID, uint256 _challengeID)
func (*PohFilterer) ParseDispute ¶
func (_Poh *PohFilterer) ParseDispute(log types.Log) (*PohDispute, error)
ParseDispute is a log parse operation binding the contract event 0x74baab670a4015ab2f1b467c5252a96141a2573f2908e58a92081e80d3cfde3d.
Solidity: event Dispute(address indexed _arbitrator, uint256 indexed _disputeID, uint256 _metaEvidenceID, uint256 _evidenceGroupID)
func (*PohFilterer) ParseEvidence ¶
func (_Poh *PohFilterer) ParseEvidence(log types.Log) (*PohEvidence, error)
ParseEvidence is a log parse operation binding the contract event 0xdccf2f8b2cc26eafcd61905cba744cff4b81d14740725f6376390dc6298a6a3c.
Solidity: event Evidence(address indexed _arbitrator, uint256 indexed _evidenceGroupID, address indexed _party, string _evidence)
func (*PohFilterer) ParseHasPaidAppealFee ¶
func (_Poh *PohFilterer) ParseHasPaidAppealFee(log types.Log) (*PohHasPaidAppealFee, error)
ParseHasPaidAppealFee is a log parse operation binding the contract event 0x642c5385391e218917cf658cc1365fdffc24183646b08706ed51281972d1dc80.
Solidity: event HasPaidAppealFee(address indexed _submissionID, uint256 indexed _challengeID, uint8 _side)
func (*PohFilterer) ParseMetaEvidence ¶
func (_Poh *PohFilterer) ParseMetaEvidence(log types.Log) (*PohMetaEvidence, error)
ParseMetaEvidence is a log parse operation binding the contract event 0x61606860eb6c87306811e2695215385101daab53bd6ab4e9f9049aead9363c7d.
Solidity: event MetaEvidence(uint256 indexed _metaEvidenceID, string _evidence)
func (*PohFilterer) ParseReapplySubmission ¶
func (_Poh *PohFilterer) ParseReapplySubmission(log types.Log) (*PohReapplySubmission, error)
ParseReapplySubmission is a log parse operation binding the contract event 0xf6cfccc832db8edf362f395f01d696c7da2db840d97eb1ec1ac44c980143990e.
Solidity: event ReapplySubmission(address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) ParseRemoveSubmission ¶
func (_Poh *PohFilterer) ParseRemoveSubmission(log types.Log) (*PohRemoveSubmission, error)
ParseRemoveSubmission is a log parse operation binding the contract event 0xd63ca5272e9e07a30a33cc438f956428bf02359db9798ce3fe30140dadf8d741.
Solidity: event RemoveSubmission(address indexed _requester, address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) ParseRuling ¶
func (_Poh *PohFilterer) ParseRuling(log types.Log) (*PohRuling, error)
ParseRuling is a log parse operation binding the contract event 0x394027a5fa6e098a1191094d1719d6929b9abc535fcc0c8f448d6a4e75622276.
Solidity: event Ruling(address indexed _arbitrator, uint256 indexed _disputeID, uint256 _ruling)
func (*PohFilterer) ParseSubmissionChallenged ¶
func (_Poh *PohFilterer) ParseSubmissionChallenged(log types.Log) (*PohSubmissionChallenged, error)
ParseSubmissionChallenged is a log parse operation binding the contract event 0x28ec07f413c7805003c29837f7f1b3799f30f7f87a1e1b5b9aaee94f665218ac.
Solidity: event SubmissionChallenged(address indexed _submissionID, uint256 indexed _requestID, uint256 _challengeID)
func (*PohFilterer) ParseVouchAdded ¶
func (_Poh *PohFilterer) ParseVouchAdded(log types.Log) (*PohVouchAdded, error)
ParseVouchAdded is a log parse operation binding the contract event 0xc5482a4357210d662eeea6fa4589e76e47bdb84517a3b9da4f8b7576ae001701.
Solidity: event VouchAdded(address indexed _submissionID, address indexed _voucher)
func (*PohFilterer) ParseVouchRemoved ¶
func (_Poh *PohFilterer) ParseVouchRemoved(log types.Log) (*PohVouchRemoved, error)
ParseVouchRemoved is a log parse operation binding the contract event 0xd6f782ad61ba30c1b39b77f1bf37061e68733360288a441e70d08c0a91b0cbc5.
Solidity: event VouchRemoved(address indexed _submissionID, address indexed _voucher)
func (*PohFilterer) WatchAddSubmission ¶
func (_Poh *PohFilterer) WatchAddSubmission(opts *bind.WatchOpts, sink chan<- *PohAddSubmission, _submissionID []common.Address) (event.Subscription, error)
WatchAddSubmission is a free log subscription operation binding the contract event 0x803727a67d35270dc2c090dc4f9cba1f9818a7200e65c2087eca187851fd6b19.
Solidity: event AddSubmission(address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) WatchAppealContribution ¶
func (_Poh *PohFilterer) WatchAppealContribution(opts *bind.WatchOpts, sink chan<- *PohAppealContribution, _submissionID []common.Address, _challengeID []*big.Int, _contributor []common.Address) (event.Subscription, error)
WatchAppealContribution is a free log subscription operation binding the contract event 0x9294febeba62e3f0e89187b59ba1235acc7fdbdebf15d6ede13c7b43adfa66dc.
Solidity: event AppealContribution(address indexed _submissionID, uint256 indexed _challengeID, uint8 _party, address indexed _contributor, uint256 _amount)
func (*PohFilterer) WatchArbitratorComplete ¶
func (_Poh *PohFilterer) WatchArbitratorComplete(opts *bind.WatchOpts, sink chan<- *PohArbitratorComplete, _governor []common.Address) (event.Subscription, error)
WatchArbitratorComplete is a free log subscription operation binding the contract event 0xe313403816674ac13a5fd6524fafc793584c317c3c947825b71a753b0c155b20.
Solidity: event ArbitratorComplete(address _arbitrator, address indexed _governor, uint256 _submissionBaseDeposit, uint256 _submissionDuration, uint256 _challengePeriodDuration, uint256 _requiredNumberOfVouches, uint256 _sharedStakeMultiplier, uint256 _winnerStakeMultiplier, uint256 _loserStakeMultiplier)
func (*PohFilterer) WatchChallengeResolved ¶
func (_Poh *PohFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *PohChallengeResolved, _submissionID []common.Address, _requestID []*big.Int) (event.Subscription, error)
WatchChallengeResolved is a free log subscription operation binding the contract event 0xb6759576305cce1591ca803d5fbf22b83b8a7465c093df7b013cb829e98718e1.
Solidity: event ChallengeResolved(address indexed _submissionID, uint256 indexed _requestID, uint256 _challengeID)
func (*PohFilterer) WatchDispute ¶
func (_Poh *PohFilterer) WatchDispute(opts *bind.WatchOpts, sink chan<- *PohDispute, _arbitrator []common.Address, _disputeID []*big.Int) (event.Subscription, error)
WatchDispute is a free log subscription operation binding the contract event 0x74baab670a4015ab2f1b467c5252a96141a2573f2908e58a92081e80d3cfde3d.
Solidity: event Dispute(address indexed _arbitrator, uint256 indexed _disputeID, uint256 _metaEvidenceID, uint256 _evidenceGroupID)
func (*PohFilterer) WatchEvidence ¶
func (_Poh *PohFilterer) WatchEvidence(opts *bind.WatchOpts, sink chan<- *PohEvidence, _arbitrator []common.Address, _evidenceGroupID []*big.Int, _party []common.Address) (event.Subscription, error)
WatchEvidence is a free log subscription operation binding the contract event 0xdccf2f8b2cc26eafcd61905cba744cff4b81d14740725f6376390dc6298a6a3c.
Solidity: event Evidence(address indexed _arbitrator, uint256 indexed _evidenceGroupID, address indexed _party, string _evidence)
func (*PohFilterer) WatchHasPaidAppealFee ¶
func (_Poh *PohFilterer) WatchHasPaidAppealFee(opts *bind.WatchOpts, sink chan<- *PohHasPaidAppealFee, _submissionID []common.Address, _challengeID []*big.Int) (event.Subscription, error)
WatchHasPaidAppealFee is a free log subscription operation binding the contract event 0x642c5385391e218917cf658cc1365fdffc24183646b08706ed51281972d1dc80.
Solidity: event HasPaidAppealFee(address indexed _submissionID, uint256 indexed _challengeID, uint8 _side)
func (*PohFilterer) WatchMetaEvidence ¶
func (_Poh *PohFilterer) WatchMetaEvidence(opts *bind.WatchOpts, sink chan<- *PohMetaEvidence, _metaEvidenceID []*big.Int) (event.Subscription, error)
WatchMetaEvidence is a free log subscription operation binding the contract event 0x61606860eb6c87306811e2695215385101daab53bd6ab4e9f9049aead9363c7d.
Solidity: event MetaEvidence(uint256 indexed _metaEvidenceID, string _evidence)
func (*PohFilterer) WatchReapplySubmission ¶
func (_Poh *PohFilterer) WatchReapplySubmission(opts *bind.WatchOpts, sink chan<- *PohReapplySubmission, _submissionID []common.Address) (event.Subscription, error)
WatchReapplySubmission is a free log subscription operation binding the contract event 0xf6cfccc832db8edf362f395f01d696c7da2db840d97eb1ec1ac44c980143990e.
Solidity: event ReapplySubmission(address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) WatchRemoveSubmission ¶
func (_Poh *PohFilterer) WatchRemoveSubmission(opts *bind.WatchOpts, sink chan<- *PohRemoveSubmission, _requester []common.Address, _submissionID []common.Address) (event.Subscription, error)
WatchRemoveSubmission is a free log subscription operation binding the contract event 0xd63ca5272e9e07a30a33cc438f956428bf02359db9798ce3fe30140dadf8d741.
Solidity: event RemoveSubmission(address indexed _requester, address indexed _submissionID, uint256 _requestID)
func (*PohFilterer) WatchRuling ¶
func (_Poh *PohFilterer) WatchRuling(opts *bind.WatchOpts, sink chan<- *PohRuling, _arbitrator []common.Address, _disputeID []*big.Int) (event.Subscription, error)
WatchRuling is a free log subscription operation binding the contract event 0x394027a5fa6e098a1191094d1719d6929b9abc535fcc0c8f448d6a4e75622276.
Solidity: event Ruling(address indexed _arbitrator, uint256 indexed _disputeID, uint256 _ruling)
func (*PohFilterer) WatchSubmissionChallenged ¶
func (_Poh *PohFilterer) WatchSubmissionChallenged(opts *bind.WatchOpts, sink chan<- *PohSubmissionChallenged, _submissionID []common.Address, _requestID []*big.Int) (event.Subscription, error)
WatchSubmissionChallenged is a free log subscription operation binding the contract event 0x28ec07f413c7805003c29837f7f1b3799f30f7f87a1e1b5b9aaee94f665218ac.
Solidity: event SubmissionChallenged(address indexed _submissionID, uint256 indexed _requestID, uint256 _challengeID)
func (*PohFilterer) WatchVouchAdded ¶
func (_Poh *PohFilterer) WatchVouchAdded(opts *bind.WatchOpts, sink chan<- *PohVouchAdded, _submissionID []common.Address, _voucher []common.Address) (event.Subscription, error)
WatchVouchAdded is a free log subscription operation binding the contract event 0xc5482a4357210d662eeea6fa4589e76e47bdb84517a3b9da4f8b7576ae001701.
Solidity: event VouchAdded(address indexed _submissionID, address indexed _voucher)
func (*PohFilterer) WatchVouchRemoved ¶
func (_Poh *PohFilterer) WatchVouchRemoved(opts *bind.WatchOpts, sink chan<- *PohVouchRemoved, _submissionID []common.Address, _voucher []common.Address) (event.Subscription, error)
WatchVouchRemoved is a free log subscription operation binding the contract event 0xd6f782ad61ba30c1b39b77f1bf37061e68733360288a441e70d08c0a91b0cbc5.
Solidity: event VouchRemoved(address indexed _submissionID, address indexed _voucher)
type PohHasPaidAppealFee ¶
type PohHasPaidAppealFee struct { SubmissionID common.Address ChallengeID *big.Int Side uint8 Raw types.Log // Blockchain specific contextual infos }
PohHasPaidAppealFee represents a HasPaidAppealFee event raised by the Poh contract.
type PohHasPaidAppealFeeIterator ¶
type PohHasPaidAppealFeeIterator struct { Event *PohHasPaidAppealFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohHasPaidAppealFeeIterator is returned from FilterHasPaidAppealFee and is used to iterate over the raw logs and unpacked data for HasPaidAppealFee events raised by the Poh contract.
func (*PohHasPaidAppealFeeIterator) Close ¶
func (it *PohHasPaidAppealFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohHasPaidAppealFeeIterator) Error ¶
func (it *PohHasPaidAppealFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohHasPaidAppealFeeIterator) Next ¶
func (it *PohHasPaidAppealFeeIterator) 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 PohMetaEvidence ¶
type PohMetaEvidence struct { MetaEvidenceID *big.Int Evidence string Raw types.Log // Blockchain specific contextual infos }
PohMetaEvidence represents a MetaEvidence event raised by the Poh contract.
type PohMetaEvidenceIterator ¶
type PohMetaEvidenceIterator struct { Event *PohMetaEvidence // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohMetaEvidenceIterator is returned from FilterMetaEvidence and is used to iterate over the raw logs and unpacked data for MetaEvidence events raised by the Poh contract.
func (*PohMetaEvidenceIterator) Close ¶
func (it *PohMetaEvidenceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohMetaEvidenceIterator) Error ¶
func (it *PohMetaEvidenceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohMetaEvidenceIterator) Next ¶
func (it *PohMetaEvidenceIterator) 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 PohRaw ¶
type PohRaw struct {
Contract *Poh // Generic contract binding to access the raw methods on
}
PohRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PohRaw) Call ¶
func (_Poh *PohRaw) 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 (*PohRaw) Transact ¶
func (_Poh *PohRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PohRaw) Transfer ¶
func (_Poh *PohRaw) 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 PohReapplySubmission ¶
type PohReapplySubmission struct { SubmissionID common.Address RequestID *big.Int Raw types.Log // Blockchain specific contextual infos }
PohReapplySubmission represents a ReapplySubmission event raised by the Poh contract.
type PohReapplySubmissionIterator ¶
type PohReapplySubmissionIterator struct { Event *PohReapplySubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohReapplySubmissionIterator is returned from FilterReapplySubmission and is used to iterate over the raw logs and unpacked data for ReapplySubmission events raised by the Poh contract.
func (*PohReapplySubmissionIterator) Close ¶
func (it *PohReapplySubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohReapplySubmissionIterator) Error ¶
func (it *PohReapplySubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohReapplySubmissionIterator) Next ¶
func (it *PohReapplySubmissionIterator) 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 PohRemoveSubmission ¶
type PohRemoveSubmission struct { Requester common.Address SubmissionID common.Address RequestID *big.Int Raw types.Log // Blockchain specific contextual infos }
PohRemoveSubmission represents a RemoveSubmission event raised by the Poh contract.
type PohRemoveSubmissionIterator ¶
type PohRemoveSubmissionIterator struct { Event *PohRemoveSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohRemoveSubmissionIterator is returned from FilterRemoveSubmission and is used to iterate over the raw logs and unpacked data for RemoveSubmission events raised by the Poh contract.
func (*PohRemoveSubmissionIterator) Close ¶
func (it *PohRemoveSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohRemoveSubmissionIterator) Error ¶
func (it *PohRemoveSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohRemoveSubmissionIterator) Next ¶
func (it *PohRemoveSubmissionIterator) 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 PohRuling ¶
type PohRuling struct { Arbitrator common.Address DisputeID *big.Int Ruling *big.Int Raw types.Log // Blockchain specific contextual infos }
PohRuling represents a Ruling event raised by the Poh contract.
type PohRulingIterator ¶
type PohRulingIterator struct { Event *PohRuling // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohRulingIterator is returned from FilterRuling and is used to iterate over the raw logs and unpacked data for Ruling events raised by the Poh contract.
func (*PohRulingIterator) Close ¶
func (it *PohRulingIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohRulingIterator) Error ¶
func (it *PohRulingIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohRulingIterator) Next ¶
func (it *PohRulingIterator) 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 PohSession ¶
type PohSession struct { Contract *Poh // 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 }
PohSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PohSession) AddSubmission ¶
func (_Poh *PohSession) AddSubmission(_evidence string, _name string) (*types.Transaction, error)
AddSubmission is a paid mutator transaction binding the contract method 0x4690d55a.
Solidity: function addSubmission(string _evidence, string _name) payable returns()
func (*PohSession) AddSubmissionManually ¶
func (_Poh *PohSession) AddSubmissionManually(_submissionIDs []common.Address, _evidence []string, _names []string) (*types.Transaction, error)
AddSubmissionManually is a paid mutator transaction binding the contract method 0x61b90541.
Solidity: function addSubmissionManually(address[] _submissionIDs, string[] _evidence, string[] _names) returns()
func (*PohSession) AddVouch ¶
func (_Poh *PohSession) AddVouch(_submissionID common.Address) (*types.Transaction, error)
AddVouch is a paid mutator transaction binding the contract method 0x32fe596f.
Solidity: function addVouch(address _submissionID) returns()
func (*PohSession) ArbitratorDataList ¶
func (_Poh *PohSession) ArbitratorDataList(arg0 *big.Int) (struct { Arbitrator common.Address MetaEvidenceUpdates *big.Int ArbitratorExtraData []byte }, error)
ArbitratorDataList is a free data retrieval call binding the contract method 0xec0e71ba.
Solidity: function arbitratorDataList(uint256 ) view returns(address arbitrator, uint96 metaEvidenceUpdates, bytes arbitratorExtraData)
func (*PohSession) ArbitratorDisputeIDToDisputeData ¶
func (_Poh *PohSession) ArbitratorDisputeIDToDisputeData(arg0 common.Address, arg1 *big.Int) (struct { ChallengeID *big.Int SubmissionID common.Address }, error)
ArbitratorDisputeIDToDisputeData is a free data retrieval call binding the contract method 0xdd254cd3.
Solidity: function arbitratorDisputeIDToDisputeData(address , uint256 ) view returns(uint96 challengeID, address submissionID)
func (*PohSession) ChallengePeriodDuration ¶
func (_Poh *PohSession) ChallengePeriodDuration() (uint64, error)
ChallengePeriodDuration is a free data retrieval call binding the contract method 0x0082a36d.
Solidity: function challengePeriodDuration() view returns(uint64)
func (*PohSession) ChallengeRequest ¶
func (_Poh *PohSession) ChallengeRequest(_submissionID common.Address, _reason uint8, _duplicateID common.Address, _evidence string) (*types.Transaction, error)
ChallengeRequest is a paid mutator transaction binding the contract method 0xf40e0aed.
Solidity: function challengeRequest(address _submissionID, uint8 _reason, address _duplicateID, string _evidence) payable returns()
func (*PohSession) ChangeArbitrator ¶
func (_Poh *PohSession) ChangeArbitrator(_arbitrator common.Address, _arbitratorExtraData []byte) (*types.Transaction, error)
ChangeArbitrator is a paid mutator transaction binding the contract method 0xba7079ca.
Solidity: function changeArbitrator(address _arbitrator, bytes _arbitratorExtraData) returns()
func (*PohSession) ChangeDurations ¶
func (_Poh *PohSession) ChangeDurations(_submissionDuration uint64, _renewalPeriodDuration uint64, _challengePeriodDuration uint64) (*types.Transaction, error)
ChangeDurations is a paid mutator transaction binding the contract method 0x26bafe5f.
Solidity: function changeDurations(uint64 _submissionDuration, uint64 _renewalPeriodDuration, uint64 _challengePeriodDuration) returns()
func (*PohSession) ChangeGovernor ¶
func (_Poh *PohSession) ChangeGovernor(_governor common.Address) (*types.Transaction, error)
ChangeGovernor is a paid mutator transaction binding the contract method 0xe4c0aaf4.
Solidity: function changeGovernor(address _governor) returns()
func (*PohSession) ChangeLoserStakeMultiplier ¶
func (_Poh *PohSession) ChangeLoserStakeMultiplier(_loserStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeLoserStakeMultiplier is a paid mutator transaction binding the contract method 0x92239dff.
Solidity: function changeLoserStakeMultiplier(uint256 _loserStakeMultiplier) returns()
func (*PohSession) ChangeMetaEvidence ¶
func (_Poh *PohSession) ChangeMetaEvidence(_registrationMetaEvidence string, _clearingMetaEvidence string) (*types.Transaction, error)
ChangeMetaEvidence is a paid mutator transaction binding the contract method 0xd706be31.
Solidity: function changeMetaEvidence(string _registrationMetaEvidence, string _clearingMetaEvidence) returns()
func (*PohSession) ChangeRequiredNumberOfVouches ¶
func (_Poh *PohSession) ChangeRequiredNumberOfVouches(_requiredNumberOfVouches uint64) (*types.Transaction, error)
ChangeRequiredNumberOfVouches is a paid mutator transaction binding the contract method 0xf65ab1be.
Solidity: function changeRequiredNumberOfVouches(uint64 _requiredNumberOfVouches) returns()
func (*PohSession) ChangeSharedStakeMultiplier ¶
func (_Poh *PohSession) ChangeSharedStakeMultiplier(_sharedStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeSharedStakeMultiplier is a paid mutator transaction binding the contract method 0x12ce3525.
Solidity: function changeSharedStakeMultiplier(uint256 _sharedStakeMultiplier) returns()
func (*PohSession) ChangeStateToPending ¶
func (_Poh *PohSession) ChangeStateToPending(_submissionID common.Address, _vouches []common.Address, _signatures [][]byte, _expirationTimestamps []*big.Int) (*types.Transaction, error)
ChangeStateToPending is a paid mutator transaction binding the contract method 0xb4dfe93d.
Solidity: function changeStateToPending(address _submissionID, address[] _vouches, bytes[] _signatures, uint256[] _expirationTimestamps) returns()
func (*PohSession) ChangeSubmissionBaseDeposit ¶
func (_Poh *PohSession) ChangeSubmissionBaseDeposit(_submissionBaseDeposit *big.Int) (*types.Transaction, error)
ChangeSubmissionBaseDeposit is a paid mutator transaction binding the contract method 0x33e5d047.
Solidity: function changeSubmissionBaseDeposit(uint256 _submissionBaseDeposit) returns()
func (*PohSession) ChangeWinnerStakeMultiplier ¶
func (_Poh *PohSession) ChangeWinnerStakeMultiplier(_winnerStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeWinnerStakeMultiplier is a paid mutator transaction binding the contract method 0xadc7faba.
Solidity: function changeWinnerStakeMultiplier(uint256 _winnerStakeMultiplier) returns()
func (*PohSession) CheckRequestDuplicates ¶
func (_Poh *PohSession) CheckRequestDuplicates(_submissionID common.Address, _requestID *big.Int, _duplicateID common.Address) (bool, error)
CheckRequestDuplicates is a free data retrieval call binding the contract method 0x2e848506.
Solidity: function checkRequestDuplicates(address _submissionID, uint256 _requestID, address _duplicateID) view returns(bool)
func (*PohSession) ExecuteRequest ¶
func (_Poh *PohSession) ExecuteRequest(_submissionID common.Address) (*types.Transaction, error)
ExecuteRequest is a paid mutator transaction binding the contract method 0x6e98762d.
Solidity: function executeRequest(address _submissionID) returns()
func (*PohSession) FundAppeal ¶
func (_Poh *PohSession) FundAppeal(_submissionID common.Address, _challengeID *big.Int, _side uint8) (*types.Transaction, error)
FundAppeal is a paid mutator transaction binding the contract method 0xd7e9f178.
Solidity: function fundAppeal(address _submissionID, uint256 _challengeID, uint8 _side) payable returns()
func (*PohSession) FundSubmission ¶
func (_Poh *PohSession) FundSubmission(_submissionID common.Address) (*types.Transaction, error)
FundSubmission is a paid mutator transaction binding the contract method 0xa27456bb.
Solidity: function fundSubmission(address _submissionID) payable returns()
func (*PohSession) GetArbitratorDataListCount ¶
func (_Poh *PohSession) GetArbitratorDataListCount() (*big.Int, error)
GetArbitratorDataListCount is a free data retrieval call binding the contract method 0x90d7c13c.
Solidity: function getArbitratorDataListCount() view returns(uint256)
func (*PohSession) GetChallengeInfo ¶
func (_Poh *PohSession) GetChallengeInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int) (struct { LastRoundID uint16 Challenger common.Address DisputeID *big.Int Ruling uint8 DuplicateSubmissionIndex uint64 }, error)
GetChallengeInfo is a free data retrieval call binding the contract method 0xd64240de.
Solidity: function getChallengeInfo(address _submissionID, uint256 _requestID, uint256 _challengeID) view returns(uint16 lastRoundID, address challenger, uint256 disputeID, uint8 ruling, uint64 duplicateSubmissionIndex)
func (*PohSession) GetContributions ¶
func (_Poh *PohSession) GetContributions(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int, _contributor common.Address) ([3]*big.Int, error)
GetContributions is a free data retrieval call binding the contract method 0x3a8363c2.
Solidity: function getContributions(address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round, address _contributor) view returns(uint256[3] contributions)
func (*PohSession) GetNumberOfVouches ¶
func (_Poh *PohSession) GetNumberOfVouches(_submissionID common.Address, _requestID *big.Int) (*big.Int, error)
GetNumberOfVouches is a free data retrieval call binding the contract method 0xdeb8f707.
Solidity: function getNumberOfVouches(address _submissionID, uint256 _requestID) view returns(uint256)
func (*PohSession) GetRequestInfo ¶
func (_Poh *PohSession) GetRequestInfo(_submissionID common.Address, _requestID *big.Int) (struct { Disputed bool Resolved bool RequesterLost bool CurrentReason uint8 NbParallelDisputes uint16 LastChallengeID uint16 ArbitratorDataID uint16 Requester common.Address UltimateChallenger common.Address UsedReasons uint8 }, error)
GetRequestInfo is a free data retrieval call binding the contract method 0x6e112409.
Solidity: function getRequestInfo(address _submissionID, uint256 _requestID) view returns(bool disputed, bool resolved, bool requesterLost, uint8 currentReason, uint16 nbParallelDisputes, uint16 lastChallengeID, uint16 arbitratorDataID, address requester, address ultimateChallenger, uint8 usedReasons)
func (*PohSession) GetRoundInfo ¶
func (_Poh *PohSession) GetRoundInfo(_submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int) (struct { Appealed bool PaidFees [3]*big.Int SideFunded uint8 FeeRewards *big.Int }, error)
GetRoundInfo is a free data retrieval call binding the contract method 0xa84dc70e.
Solidity: function getRoundInfo(address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round) view returns(bool appealed, uint256[3] paidFees, uint8 sideFunded, uint256 feeRewards)
func (*PohSession) GetSubmissionInfo ¶
func (_Poh *PohSession) GetSubmissionInfo(_submissionID common.Address) (struct { Status uint8 SubmissionTime uint64 Index uint64 Registered bool HasVouched bool NumberOfRequests *big.Int }, error)
GetSubmissionInfo is a free data retrieval call binding the contract method 0x97973043.
Solidity: function getSubmissionInfo(address _submissionID) view returns(uint8 status, uint64 submissionTime, uint64 index, bool registered, bool hasVouched, uint256 numberOfRequests)
func (*PohSession) Governor ¶
func (_Poh *PohSession) Governor() (common.Address, error)
Governor is a free data retrieval call binding the contract method 0x0c340a24.
Solidity: function governor() view returns(address)
func (*PohSession) IsRegistered ¶
func (_Poh *PohSession) IsRegistered(_submissionID common.Address) (bool, error)
IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.
Solidity: function isRegistered(address _submissionID) view returns(bool)
func (*PohSession) LoserStakeMultiplier ¶
func (_Poh *PohSession) LoserStakeMultiplier() (*big.Int, error)
LoserStakeMultiplier is a free data retrieval call binding the contract method 0x1d512085.
Solidity: function loserStakeMultiplier() view returns(uint256)
func (*PohSession) ProcessVouches ¶
func (_Poh *PohSession) ProcessVouches(_submissionID common.Address, _requestID *big.Int, _iterations *big.Int) (*types.Transaction, error)
ProcessVouches is a paid mutator transaction binding the contract method 0x649a08bf.
Solidity: function processVouches(address _submissionID, uint256 _requestID, uint256 _iterations) returns()
func (*PohSession) ReapplySubmission ¶
func (_Poh *PohSession) ReapplySubmission(_evidence string, _name string) (*types.Transaction, error)
ReapplySubmission is a paid mutator transaction binding the contract method 0x5a9ef341.
Solidity: function reapplySubmission(string _evidence, string _name) payable returns()
func (*PohSession) RemoveSubmission ¶
func (_Poh *PohSession) RemoveSubmission(_submissionID common.Address, _evidence string) (*types.Transaction, error)
RemoveSubmission is a paid mutator transaction binding the contract method 0xf4934cdb.
Solidity: function removeSubmission(address _submissionID, string _evidence) payable returns()
func (*PohSession) RemoveSubmissionManually ¶
func (_Poh *PohSession) RemoveSubmissionManually(_submissionID common.Address) (*types.Transaction, error)
RemoveSubmissionManually is a paid mutator transaction binding the contract method 0xa6c6ecc9.
Solidity: function removeSubmissionManually(address _submissionID) returns()
func (*PohSession) RemoveVouch ¶
func (_Poh *PohSession) RemoveVouch(_submissionID common.Address) (*types.Transaction, error)
RemoveVouch is a paid mutator transaction binding the contract method 0x84d1c91a.
Solidity: function removeVouch(address _submissionID) returns()
func (*PohSession) RenewalPeriodDuration ¶
func (_Poh *PohSession) RenewalPeriodDuration() (uint64, error)
RenewalPeriodDuration is a free data retrieval call binding the contract method 0x876c63d4.
Solidity: function renewalPeriodDuration() view returns(uint64)
func (*PohSession) RequiredNumberOfVouches ¶
func (_Poh *PohSession) RequiredNumberOfVouches() (uint64, error)
RequiredNumberOfVouches is a free data retrieval call binding the contract method 0x2d9489c6.
Solidity: function requiredNumberOfVouches() view returns(uint64)
func (*PohSession) Rule ¶
func (_Poh *PohSession) Rule(_disputeID *big.Int, _ruling *big.Int) (*types.Transaction, error)
Rule is a paid mutator transaction binding the contract method 0x311a6c56.
Solidity: function rule(uint256 _disputeID, uint256 _ruling) returns()
func (*PohSession) SharedStakeMultiplier ¶
func (_Poh *PohSession) SharedStakeMultiplier() (*big.Int, error)
SharedStakeMultiplier is a free data retrieval call binding the contract method 0x41658341.
Solidity: function sharedStakeMultiplier() view returns(uint256)
func (*PohSession) SubmissionBaseDeposit ¶
func (_Poh *PohSession) SubmissionBaseDeposit() (*big.Int, error)
SubmissionBaseDeposit is a free data retrieval call binding the contract method 0xbb0b86ff.
Solidity: function submissionBaseDeposit() view returns(uint256)
func (*PohSession) SubmissionCounter ¶
func (_Poh *PohSession) SubmissionCounter() (*big.Int, error)
SubmissionCounter is a free data retrieval call binding the contract method 0x76c23ff1.
Solidity: function submissionCounter() view returns(uint256)
func (*PohSession) SubmissionDuration ¶
func (_Poh *PohSession) SubmissionDuration() (uint64, error)
SubmissionDuration is a free data retrieval call binding the contract method 0xf633c293.
Solidity: function submissionDuration() view returns(uint64)
func (*PohSession) SubmitEvidence ¶
func (_Poh *PohSession) SubmitEvidence(_submissionID common.Address, _evidence string) (*types.Transaction, error)
SubmitEvidence is a paid mutator transaction binding the contract method 0x5bb5e55b.
Solidity: function submitEvidence(address _submissionID, string _evidence) returns()
func (*PohSession) Vouches ¶
Vouches is a free data retrieval call binding the contract method 0x0b337be6.
Solidity: function vouches(address , address ) view returns(bool)
func (*PohSession) WinnerStakeMultiplier ¶
func (_Poh *PohSession) WinnerStakeMultiplier() (*big.Int, error)
WinnerStakeMultiplier is a free data retrieval call binding the contract method 0x7b943383.
Solidity: function winnerStakeMultiplier() view returns(uint256)
func (*PohSession) WithdrawFeesAndRewards ¶
func (_Poh *PohSession) WithdrawFeesAndRewards(_beneficiary common.Address, _submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int) (*types.Transaction, error)
WithdrawFeesAndRewards is a paid mutator transaction binding the contract method 0x9a72e0b3.
Solidity: function withdrawFeesAndRewards(address _beneficiary, address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round) returns()
func (*PohSession) WithdrawSubmission ¶
func (_Poh *PohSession) WithdrawSubmission() (*types.Transaction, error)
WithdrawSubmission is a paid mutator transaction binding the contract method 0xce52b9f4.
Solidity: function withdrawSubmission() returns()
type PohSubmissionChallenged ¶
type PohSubmissionChallenged struct { SubmissionID common.Address RequestID *big.Int ChallengeID *big.Int Raw types.Log // Blockchain specific contextual infos }
PohSubmissionChallenged represents a SubmissionChallenged event raised by the Poh contract.
type PohSubmissionChallengedIterator ¶
type PohSubmissionChallengedIterator struct { Event *PohSubmissionChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohSubmissionChallengedIterator is returned from FilterSubmissionChallenged and is used to iterate over the raw logs and unpacked data for SubmissionChallenged events raised by the Poh contract.
func (*PohSubmissionChallengedIterator) Close ¶
func (it *PohSubmissionChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohSubmissionChallengedIterator) Error ¶
func (it *PohSubmissionChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohSubmissionChallengedIterator) Next ¶
func (it *PohSubmissionChallengedIterator) 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 PohTransactor ¶
type PohTransactor struct {
// contains filtered or unexported fields
}
PohTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPohTransactor ¶
func NewPohTransactor(address common.Address, transactor bind.ContractTransactor) (*PohTransactor, error)
NewPohTransactor creates a new write-only instance of Poh, bound to a specific deployed contract.
func (*PohTransactor) AddSubmission ¶
func (_Poh *PohTransactor) AddSubmission(opts *bind.TransactOpts, _evidence string, _name string) (*types.Transaction, error)
AddSubmission is a paid mutator transaction binding the contract method 0x4690d55a.
Solidity: function addSubmission(string _evidence, string _name) payable returns()
func (*PohTransactor) AddSubmissionManually ¶
func (_Poh *PohTransactor) AddSubmissionManually(opts *bind.TransactOpts, _submissionIDs []common.Address, _evidence []string, _names []string) (*types.Transaction, error)
AddSubmissionManually is a paid mutator transaction binding the contract method 0x61b90541.
Solidity: function addSubmissionManually(address[] _submissionIDs, string[] _evidence, string[] _names) returns()
func (*PohTransactor) AddVouch ¶
func (_Poh *PohTransactor) AddVouch(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
AddVouch is a paid mutator transaction binding the contract method 0x32fe596f.
Solidity: function addVouch(address _submissionID) returns()
func (*PohTransactor) ChallengeRequest ¶
func (_Poh *PohTransactor) ChallengeRequest(opts *bind.TransactOpts, _submissionID common.Address, _reason uint8, _duplicateID common.Address, _evidence string) (*types.Transaction, error)
ChallengeRequest is a paid mutator transaction binding the contract method 0xf40e0aed.
Solidity: function challengeRequest(address _submissionID, uint8 _reason, address _duplicateID, string _evidence) payable returns()
func (*PohTransactor) ChangeArbitrator ¶
func (_Poh *PohTransactor) ChangeArbitrator(opts *bind.TransactOpts, _arbitrator common.Address, _arbitratorExtraData []byte) (*types.Transaction, error)
ChangeArbitrator is a paid mutator transaction binding the contract method 0xba7079ca.
Solidity: function changeArbitrator(address _arbitrator, bytes _arbitratorExtraData) returns()
func (*PohTransactor) ChangeDurations ¶
func (_Poh *PohTransactor) ChangeDurations(opts *bind.TransactOpts, _submissionDuration uint64, _renewalPeriodDuration uint64, _challengePeriodDuration uint64) (*types.Transaction, error)
ChangeDurations is a paid mutator transaction binding the contract method 0x26bafe5f.
Solidity: function changeDurations(uint64 _submissionDuration, uint64 _renewalPeriodDuration, uint64 _challengePeriodDuration) returns()
func (*PohTransactor) ChangeGovernor ¶
func (_Poh *PohTransactor) ChangeGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
ChangeGovernor is a paid mutator transaction binding the contract method 0xe4c0aaf4.
Solidity: function changeGovernor(address _governor) returns()
func (*PohTransactor) ChangeLoserStakeMultiplier ¶
func (_Poh *PohTransactor) ChangeLoserStakeMultiplier(opts *bind.TransactOpts, _loserStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeLoserStakeMultiplier is a paid mutator transaction binding the contract method 0x92239dff.
Solidity: function changeLoserStakeMultiplier(uint256 _loserStakeMultiplier) returns()
func (*PohTransactor) ChangeMetaEvidence ¶
func (_Poh *PohTransactor) ChangeMetaEvidence(opts *bind.TransactOpts, _registrationMetaEvidence string, _clearingMetaEvidence string) (*types.Transaction, error)
ChangeMetaEvidence is a paid mutator transaction binding the contract method 0xd706be31.
Solidity: function changeMetaEvidence(string _registrationMetaEvidence, string _clearingMetaEvidence) returns()
func (*PohTransactor) ChangeRequiredNumberOfVouches ¶
func (_Poh *PohTransactor) ChangeRequiredNumberOfVouches(opts *bind.TransactOpts, _requiredNumberOfVouches uint64) (*types.Transaction, error)
ChangeRequiredNumberOfVouches is a paid mutator transaction binding the contract method 0xf65ab1be.
Solidity: function changeRequiredNumberOfVouches(uint64 _requiredNumberOfVouches) returns()
func (*PohTransactor) ChangeSharedStakeMultiplier ¶
func (_Poh *PohTransactor) ChangeSharedStakeMultiplier(opts *bind.TransactOpts, _sharedStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeSharedStakeMultiplier is a paid mutator transaction binding the contract method 0x12ce3525.
Solidity: function changeSharedStakeMultiplier(uint256 _sharedStakeMultiplier) returns()
func (*PohTransactor) ChangeStateToPending ¶
func (_Poh *PohTransactor) ChangeStateToPending(opts *bind.TransactOpts, _submissionID common.Address, _vouches []common.Address, _signatures [][]byte, _expirationTimestamps []*big.Int) (*types.Transaction, error)
ChangeStateToPending is a paid mutator transaction binding the contract method 0xb4dfe93d.
Solidity: function changeStateToPending(address _submissionID, address[] _vouches, bytes[] _signatures, uint256[] _expirationTimestamps) returns()
func (*PohTransactor) ChangeSubmissionBaseDeposit ¶
func (_Poh *PohTransactor) ChangeSubmissionBaseDeposit(opts *bind.TransactOpts, _submissionBaseDeposit *big.Int) (*types.Transaction, error)
ChangeSubmissionBaseDeposit is a paid mutator transaction binding the contract method 0x33e5d047.
Solidity: function changeSubmissionBaseDeposit(uint256 _submissionBaseDeposit) returns()
func (*PohTransactor) ChangeWinnerStakeMultiplier ¶
func (_Poh *PohTransactor) ChangeWinnerStakeMultiplier(opts *bind.TransactOpts, _winnerStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeWinnerStakeMultiplier is a paid mutator transaction binding the contract method 0xadc7faba.
Solidity: function changeWinnerStakeMultiplier(uint256 _winnerStakeMultiplier) returns()
func (*PohTransactor) ExecuteRequest ¶
func (_Poh *PohTransactor) ExecuteRequest(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
ExecuteRequest is a paid mutator transaction binding the contract method 0x6e98762d.
Solidity: function executeRequest(address _submissionID) returns()
func (*PohTransactor) FundAppeal ¶
func (_Poh *PohTransactor) FundAppeal(opts *bind.TransactOpts, _submissionID common.Address, _challengeID *big.Int, _side uint8) (*types.Transaction, error)
FundAppeal is a paid mutator transaction binding the contract method 0xd7e9f178.
Solidity: function fundAppeal(address _submissionID, uint256 _challengeID, uint8 _side) payable returns()
func (*PohTransactor) FundSubmission ¶
func (_Poh *PohTransactor) FundSubmission(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
FundSubmission is a paid mutator transaction binding the contract method 0xa27456bb.
Solidity: function fundSubmission(address _submissionID) payable returns()
func (*PohTransactor) ProcessVouches ¶
func (_Poh *PohTransactor) ProcessVouches(opts *bind.TransactOpts, _submissionID common.Address, _requestID *big.Int, _iterations *big.Int) (*types.Transaction, error)
ProcessVouches is a paid mutator transaction binding the contract method 0x649a08bf.
Solidity: function processVouches(address _submissionID, uint256 _requestID, uint256 _iterations) returns()
func (*PohTransactor) ReapplySubmission ¶
func (_Poh *PohTransactor) ReapplySubmission(opts *bind.TransactOpts, _evidence string, _name string) (*types.Transaction, error)
ReapplySubmission is a paid mutator transaction binding the contract method 0x5a9ef341.
Solidity: function reapplySubmission(string _evidence, string _name) payable returns()
func (*PohTransactor) RemoveSubmission ¶
func (_Poh *PohTransactor) RemoveSubmission(opts *bind.TransactOpts, _submissionID common.Address, _evidence string) (*types.Transaction, error)
RemoveSubmission is a paid mutator transaction binding the contract method 0xf4934cdb.
Solidity: function removeSubmission(address _submissionID, string _evidence) payable returns()
func (*PohTransactor) RemoveSubmissionManually ¶
func (_Poh *PohTransactor) RemoveSubmissionManually(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
RemoveSubmissionManually is a paid mutator transaction binding the contract method 0xa6c6ecc9.
Solidity: function removeSubmissionManually(address _submissionID) returns()
func (*PohTransactor) RemoveVouch ¶
func (_Poh *PohTransactor) RemoveVouch(opts *bind.TransactOpts, _submissionID common.Address) (*types.Transaction, error)
RemoveVouch is a paid mutator transaction binding the contract method 0x84d1c91a.
Solidity: function removeVouch(address _submissionID) returns()
func (*PohTransactor) Rule ¶
func (_Poh *PohTransactor) Rule(opts *bind.TransactOpts, _disputeID *big.Int, _ruling *big.Int) (*types.Transaction, error)
Rule is a paid mutator transaction binding the contract method 0x311a6c56.
Solidity: function rule(uint256 _disputeID, uint256 _ruling) returns()
func (*PohTransactor) SubmitEvidence ¶
func (_Poh *PohTransactor) SubmitEvidence(opts *bind.TransactOpts, _submissionID common.Address, _evidence string) (*types.Transaction, error)
SubmitEvidence is a paid mutator transaction binding the contract method 0x5bb5e55b.
Solidity: function submitEvidence(address _submissionID, string _evidence) returns()
func (*PohTransactor) WithdrawFeesAndRewards ¶
func (_Poh *PohTransactor) WithdrawFeesAndRewards(opts *bind.TransactOpts, _beneficiary common.Address, _submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int) (*types.Transaction, error)
WithdrawFeesAndRewards is a paid mutator transaction binding the contract method 0x9a72e0b3.
Solidity: function withdrawFeesAndRewards(address _beneficiary, address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round) returns()
func (*PohTransactor) WithdrawSubmission ¶
func (_Poh *PohTransactor) WithdrawSubmission(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawSubmission is a paid mutator transaction binding the contract method 0xce52b9f4.
Solidity: function withdrawSubmission() returns()
type PohTransactorRaw ¶
type PohTransactorRaw struct {
Contract *PohTransactor // Generic write-only contract binding to access the raw methods on
}
PohTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PohTransactorRaw) Transact ¶
func (_Poh *PohTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PohTransactorRaw) Transfer ¶
func (_Poh *PohTransactorRaw) 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 PohTransactorSession ¶
type PohTransactorSession struct { Contract *PohTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PohTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PohTransactorSession) AddSubmission ¶
func (_Poh *PohTransactorSession) AddSubmission(_evidence string, _name string) (*types.Transaction, error)
AddSubmission is a paid mutator transaction binding the contract method 0x4690d55a.
Solidity: function addSubmission(string _evidence, string _name) payable returns()
func (*PohTransactorSession) AddSubmissionManually ¶
func (_Poh *PohTransactorSession) AddSubmissionManually(_submissionIDs []common.Address, _evidence []string, _names []string) (*types.Transaction, error)
AddSubmissionManually is a paid mutator transaction binding the contract method 0x61b90541.
Solidity: function addSubmissionManually(address[] _submissionIDs, string[] _evidence, string[] _names) returns()
func (*PohTransactorSession) AddVouch ¶
func (_Poh *PohTransactorSession) AddVouch(_submissionID common.Address) (*types.Transaction, error)
AddVouch is a paid mutator transaction binding the contract method 0x32fe596f.
Solidity: function addVouch(address _submissionID) returns()
func (*PohTransactorSession) ChallengeRequest ¶
func (_Poh *PohTransactorSession) ChallengeRequest(_submissionID common.Address, _reason uint8, _duplicateID common.Address, _evidence string) (*types.Transaction, error)
ChallengeRequest is a paid mutator transaction binding the contract method 0xf40e0aed.
Solidity: function challengeRequest(address _submissionID, uint8 _reason, address _duplicateID, string _evidence) payable returns()
func (*PohTransactorSession) ChangeArbitrator ¶
func (_Poh *PohTransactorSession) ChangeArbitrator(_arbitrator common.Address, _arbitratorExtraData []byte) (*types.Transaction, error)
ChangeArbitrator is a paid mutator transaction binding the contract method 0xba7079ca.
Solidity: function changeArbitrator(address _arbitrator, bytes _arbitratorExtraData) returns()
func (*PohTransactorSession) ChangeDurations ¶
func (_Poh *PohTransactorSession) ChangeDurations(_submissionDuration uint64, _renewalPeriodDuration uint64, _challengePeriodDuration uint64) (*types.Transaction, error)
ChangeDurations is a paid mutator transaction binding the contract method 0x26bafe5f.
Solidity: function changeDurations(uint64 _submissionDuration, uint64 _renewalPeriodDuration, uint64 _challengePeriodDuration) returns()
func (*PohTransactorSession) ChangeGovernor ¶
func (_Poh *PohTransactorSession) ChangeGovernor(_governor common.Address) (*types.Transaction, error)
ChangeGovernor is a paid mutator transaction binding the contract method 0xe4c0aaf4.
Solidity: function changeGovernor(address _governor) returns()
func (*PohTransactorSession) ChangeLoserStakeMultiplier ¶
func (_Poh *PohTransactorSession) ChangeLoserStakeMultiplier(_loserStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeLoserStakeMultiplier is a paid mutator transaction binding the contract method 0x92239dff.
Solidity: function changeLoserStakeMultiplier(uint256 _loserStakeMultiplier) returns()
func (*PohTransactorSession) ChangeMetaEvidence ¶
func (_Poh *PohTransactorSession) ChangeMetaEvidence(_registrationMetaEvidence string, _clearingMetaEvidence string) (*types.Transaction, error)
ChangeMetaEvidence is a paid mutator transaction binding the contract method 0xd706be31.
Solidity: function changeMetaEvidence(string _registrationMetaEvidence, string _clearingMetaEvidence) returns()
func (*PohTransactorSession) ChangeRequiredNumberOfVouches ¶
func (_Poh *PohTransactorSession) ChangeRequiredNumberOfVouches(_requiredNumberOfVouches uint64) (*types.Transaction, error)
ChangeRequiredNumberOfVouches is a paid mutator transaction binding the contract method 0xf65ab1be.
Solidity: function changeRequiredNumberOfVouches(uint64 _requiredNumberOfVouches) returns()
func (*PohTransactorSession) ChangeSharedStakeMultiplier ¶
func (_Poh *PohTransactorSession) ChangeSharedStakeMultiplier(_sharedStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeSharedStakeMultiplier is a paid mutator transaction binding the contract method 0x12ce3525.
Solidity: function changeSharedStakeMultiplier(uint256 _sharedStakeMultiplier) returns()
func (*PohTransactorSession) ChangeStateToPending ¶
func (_Poh *PohTransactorSession) ChangeStateToPending(_submissionID common.Address, _vouches []common.Address, _signatures [][]byte, _expirationTimestamps []*big.Int) (*types.Transaction, error)
ChangeStateToPending is a paid mutator transaction binding the contract method 0xb4dfe93d.
Solidity: function changeStateToPending(address _submissionID, address[] _vouches, bytes[] _signatures, uint256[] _expirationTimestamps) returns()
func (*PohTransactorSession) ChangeSubmissionBaseDeposit ¶
func (_Poh *PohTransactorSession) ChangeSubmissionBaseDeposit(_submissionBaseDeposit *big.Int) (*types.Transaction, error)
ChangeSubmissionBaseDeposit is a paid mutator transaction binding the contract method 0x33e5d047.
Solidity: function changeSubmissionBaseDeposit(uint256 _submissionBaseDeposit) returns()
func (*PohTransactorSession) ChangeWinnerStakeMultiplier ¶
func (_Poh *PohTransactorSession) ChangeWinnerStakeMultiplier(_winnerStakeMultiplier *big.Int) (*types.Transaction, error)
ChangeWinnerStakeMultiplier is a paid mutator transaction binding the contract method 0xadc7faba.
Solidity: function changeWinnerStakeMultiplier(uint256 _winnerStakeMultiplier) returns()
func (*PohTransactorSession) ExecuteRequest ¶
func (_Poh *PohTransactorSession) ExecuteRequest(_submissionID common.Address) (*types.Transaction, error)
ExecuteRequest is a paid mutator transaction binding the contract method 0x6e98762d.
Solidity: function executeRequest(address _submissionID) returns()
func (*PohTransactorSession) FundAppeal ¶
func (_Poh *PohTransactorSession) FundAppeal(_submissionID common.Address, _challengeID *big.Int, _side uint8) (*types.Transaction, error)
FundAppeal is a paid mutator transaction binding the contract method 0xd7e9f178.
Solidity: function fundAppeal(address _submissionID, uint256 _challengeID, uint8 _side) payable returns()
func (*PohTransactorSession) FundSubmission ¶
func (_Poh *PohTransactorSession) FundSubmission(_submissionID common.Address) (*types.Transaction, error)
FundSubmission is a paid mutator transaction binding the contract method 0xa27456bb.
Solidity: function fundSubmission(address _submissionID) payable returns()
func (*PohTransactorSession) ProcessVouches ¶
func (_Poh *PohTransactorSession) ProcessVouches(_submissionID common.Address, _requestID *big.Int, _iterations *big.Int) (*types.Transaction, error)
ProcessVouches is a paid mutator transaction binding the contract method 0x649a08bf.
Solidity: function processVouches(address _submissionID, uint256 _requestID, uint256 _iterations) returns()
func (*PohTransactorSession) ReapplySubmission ¶
func (_Poh *PohTransactorSession) ReapplySubmission(_evidence string, _name string) (*types.Transaction, error)
ReapplySubmission is a paid mutator transaction binding the contract method 0x5a9ef341.
Solidity: function reapplySubmission(string _evidence, string _name) payable returns()
func (*PohTransactorSession) RemoveSubmission ¶
func (_Poh *PohTransactorSession) RemoveSubmission(_submissionID common.Address, _evidence string) (*types.Transaction, error)
RemoveSubmission is a paid mutator transaction binding the contract method 0xf4934cdb.
Solidity: function removeSubmission(address _submissionID, string _evidence) payable returns()
func (*PohTransactorSession) RemoveSubmissionManually ¶
func (_Poh *PohTransactorSession) RemoveSubmissionManually(_submissionID common.Address) (*types.Transaction, error)
RemoveSubmissionManually is a paid mutator transaction binding the contract method 0xa6c6ecc9.
Solidity: function removeSubmissionManually(address _submissionID) returns()
func (*PohTransactorSession) RemoveVouch ¶
func (_Poh *PohTransactorSession) RemoveVouch(_submissionID common.Address) (*types.Transaction, error)
RemoveVouch is a paid mutator transaction binding the contract method 0x84d1c91a.
Solidity: function removeVouch(address _submissionID) returns()
func (*PohTransactorSession) Rule ¶
func (_Poh *PohTransactorSession) Rule(_disputeID *big.Int, _ruling *big.Int) (*types.Transaction, error)
Rule is a paid mutator transaction binding the contract method 0x311a6c56.
Solidity: function rule(uint256 _disputeID, uint256 _ruling) returns()
func (*PohTransactorSession) SubmitEvidence ¶
func (_Poh *PohTransactorSession) SubmitEvidence(_submissionID common.Address, _evidence string) (*types.Transaction, error)
SubmitEvidence is a paid mutator transaction binding the contract method 0x5bb5e55b.
Solidity: function submitEvidence(address _submissionID, string _evidence) returns()
func (*PohTransactorSession) WithdrawFeesAndRewards ¶
func (_Poh *PohTransactorSession) WithdrawFeesAndRewards(_beneficiary common.Address, _submissionID common.Address, _requestID *big.Int, _challengeID *big.Int, _round *big.Int) (*types.Transaction, error)
WithdrawFeesAndRewards is a paid mutator transaction binding the contract method 0x9a72e0b3.
Solidity: function withdrawFeesAndRewards(address _beneficiary, address _submissionID, uint256 _requestID, uint256 _challengeID, uint256 _round) returns()
func (*PohTransactorSession) WithdrawSubmission ¶
func (_Poh *PohTransactorSession) WithdrawSubmission() (*types.Transaction, error)
WithdrawSubmission is a paid mutator transaction binding the contract method 0xce52b9f4.
Solidity: function withdrawSubmission() returns()
type PohVouchAdded ¶
type PohVouchAdded struct { SubmissionID common.Address Voucher common.Address Raw types.Log // Blockchain specific contextual infos }
PohVouchAdded represents a VouchAdded event raised by the Poh contract.
type PohVouchAddedIterator ¶
type PohVouchAddedIterator struct { Event *PohVouchAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohVouchAddedIterator is returned from FilterVouchAdded and is used to iterate over the raw logs and unpacked data for VouchAdded events raised by the Poh contract.
func (*PohVouchAddedIterator) Close ¶
func (it *PohVouchAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohVouchAddedIterator) Error ¶
func (it *PohVouchAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohVouchAddedIterator) Next ¶
func (it *PohVouchAddedIterator) 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 PohVouchRemoved ¶
type PohVouchRemoved struct { SubmissionID common.Address Voucher common.Address Raw types.Log // Blockchain specific contextual infos }
PohVouchRemoved represents a VouchRemoved event raised by the Poh contract.
type PohVouchRemovedIterator ¶
type PohVouchRemovedIterator struct { Event *PohVouchRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PohVouchRemovedIterator is returned from FilterVouchRemoved and is used to iterate over the raw logs and unpacked data for VouchRemoved events raised by the Poh contract.
func (*PohVouchRemovedIterator) Close ¶
func (it *PohVouchRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PohVouchRemovedIterator) Error ¶
func (it *PohVouchRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PohVouchRemovedIterator) Next ¶
func (it *PohVouchRemovedIterator) 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.