Documentation
¶
Index ¶
- Variables
- type IWorkerHub
- type IWorkerHubAssignment
- type IWorkerHubAssignmentInfo
- type IWorkerHubBlocksPerEpoch
- type IWorkerHubBlocksPerEpochIterator
- type IWorkerHubCaller
- func (_IWorkerHub *IWorkerHubCaller) AssignmentNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) Assignments(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) BlocksPerEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) CommitDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) DaoReceiversInfo(opts *bind.CallOpts, inferId *big.Int, arg1 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) DaoToken(opts *bind.CallOpts) (common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) DaoTokenPercentage(opts *bind.CallOpts) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) DaoTokenReward(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) FeeL2Percentage(opts *bind.CallOpts) (uint16, error)
- func (_IWorkerHub *IWorkerHubCaller) FeeRatioMinerValidator(opts *bind.CallOpts) (uint16, error)
- func (_IWorkerHub *IWorkerHubCaller) FeeTreasuryPercentage(opts *bind.CallOpts) (uint16, error)
- func (_IWorkerHub *IWorkerHubCaller) FinePercentage(opts *bind.CallOpts) (uint16, error)
- func (_IWorkerHub *IWorkerHubCaller) GetAllAssignments(opts *bind.CallOpts, startId *big.Int, count *big.Int) ([]IWorkerHubAssignment, error)
- func (_IWorkerHub *IWorkerHubCaller) GetAllInferences(opts *bind.CallOpts, startId *big.Int, count *big.Int) ([]IWorkerHubInference, error)
- func (_IWorkerHub *IWorkerHubCaller) GetAllMinerUnstakeRequests(opts *bind.CallOpts) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) GetAllMiners(opts *bind.CallOpts) ([]IWorkerHubWorker, error)
- func (_IWorkerHub *IWorkerHubCaller) GetAssignmentByInferenceId(opts *bind.CallOpts, _inferId *big.Int) ([]IWorkerHubAssignment, error)
- func (_IWorkerHub *IWorkerHubCaller) GetAssignmentByMiner(opts *bind.CallOpts, _minerAddr common.Address) ([]IWorkerHubAssignmentInfo, error)
- func (_IWorkerHub *IWorkerHubCaller) GetInferenceInfo(opts *bind.CallOpts, _inferenceId *big.Int) (IWorkerHubInference, error)
- func (_IWorkerHub *IWorkerHubCaller) GetMinFeeToUse(opts *bind.CallOpts, _modelAddress common.Address) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) GetMinerAddresses(opts *bind.CallOpts) ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) GetMinerAddressesOfModel(opts *bind.CallOpts, _model common.Address) ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) GetMiners(opts *bind.CallOpts) ([]IWorkerHubWorkerInfo, error)
- func (_IWorkerHub *IWorkerHubCaller) GetMintingAssignmentsOfInference(opts *bind.CallOpts, _inferenceId *big.Int) ([]IWorkerHubAssignmentInfo, error)
- func (_IWorkerHub *IWorkerHubCaller) GetModelAddresses(opts *bind.CallOpts) ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) GetNOMiner(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) GetRoleByAssigmentId(opts *bind.CallOpts, _assignmentId *big.Int) (uint8, error)
- func (_IWorkerHub *IWorkerHubCaller) InferenceNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) IsAssignmentPending(opts *bind.CallOpts, _assignmentId *big.Int) (bool, error)
- func (_IWorkerHub *IWorkerHubCaller) IsReferrer(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_IWorkerHub *IWorkerHubCaller) L2Owner(opts *bind.CallOpts) (common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) LastBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) MaximumTier(opts *bind.CallOpts) (uint16, error)
- func (_IWorkerHub *IWorkerHubCaller) MinFeeToUse(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) MinerMinimumStake(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) MinerRequirement(opts *bind.CallOpts) (uint8, error)
- func (_IWorkerHub *IWorkerHubCaller) MinerUnstakeRequests(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) Miners(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) ModelScoring(opts *bind.CallOpts) (common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) Models(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) Multiplier(opts *bind.CallOpts, _miner common.Address) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_IWorkerHub *IWorkerHubCaller) PenaltyDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) RevealDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) RewardInEpoch(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) RewardPerEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) SubmitDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) Treasury(opts *bind.CallOpts) (common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) UnstakeDelayTime(opts *bind.CallOpts) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCaller) ValidateDAOSupplyIncrease(opts *bind.CallOpts, _isReferred bool) (bool, error)
- func (_IWorkerHub *IWorkerHubCaller) Version(opts *bind.CallOpts) (string, error)
- func (_IWorkerHub *IWorkerHubCaller) VotingInfo(opts *bind.CallOpts, inferId *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCaller) WEAI(opts *bind.CallOpts) (common.Address, error)
- func (_IWorkerHub *IWorkerHubCaller) WorkerHubScoring(opts *bind.CallOpts) (common.Address, error)
- type IWorkerHubCallerRaw
- type IWorkerHubCallerSession
- func (_IWorkerHub *IWorkerHubCallerSession) AssignmentNumber() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Assignments(arg0 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) BlocksPerEpoch() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) CommitDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) CurrentEpoch() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) DaoReceiversInfo(inferId *big.Int, arg1 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) DaoToken() (common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) DaoTokenPercentage() (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) DaoTokenReward() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) FeeL2Percentage() (uint16, error)
- func (_IWorkerHub *IWorkerHubCallerSession) FeeRatioMinerValidator() (uint16, error)
- func (_IWorkerHub *IWorkerHubCallerSession) FeeTreasuryPercentage() (uint16, error)
- func (_IWorkerHub *IWorkerHubCallerSession) FinePercentage() (uint16, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetAllAssignments(startId *big.Int, count *big.Int) ([]IWorkerHubAssignment, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetAllInferences(startId *big.Int, count *big.Int) ([]IWorkerHubInference, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetAllMinerUnstakeRequests() (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetAllMiners() ([]IWorkerHubWorker, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetAssignmentByInferenceId(_inferId *big.Int) ([]IWorkerHubAssignment, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetAssignmentByMiner(_minerAddr common.Address) ([]IWorkerHubAssignmentInfo, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetInferenceInfo(_inferenceId *big.Int) (IWorkerHubInference, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetMinFeeToUse(_modelAddress common.Address) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetMinerAddresses() ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetMinerAddressesOfModel(_model common.Address) ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetMiners() ([]IWorkerHubWorkerInfo, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetMintingAssignmentsOfInference(_inferenceId *big.Int) ([]IWorkerHubAssignmentInfo, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetModelAddresses() ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetNOMiner() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) GetRoleByAssigmentId(_assignmentId *big.Int) (uint8, error)
- func (_IWorkerHub *IWorkerHubCallerSession) InferenceNumber() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) IsAssignmentPending(_assignmentId *big.Int) (bool, error)
- func (_IWorkerHub *IWorkerHubCallerSession) IsReferrer(arg0 common.Address) (bool, error)
- func (_IWorkerHub *IWorkerHubCallerSession) L2Owner() (common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) LastBlock() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) MaximumTier() (uint16, error)
- func (_IWorkerHub *IWorkerHubCallerSession) MinFeeToUse() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) MinerMinimumStake() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) MinerRequirement() (uint8, error)
- func (_IWorkerHub *IWorkerHubCallerSession) MinerUnstakeRequests(arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Miners(arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) ModelScoring() (common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Models(arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Multiplier(_miner common.Address) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Owner() (common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Paused() (bool, error)
- func (_IWorkerHub *IWorkerHubCallerSession) PenaltyDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) RevealDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) RewardInEpoch(arg0 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) RewardPerEpoch() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) SubmitDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Treasury() (common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) UnstakeDelayTime() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubCallerSession) ValidateDAOSupplyIncrease(_isReferred bool) (bool, error)
- func (_IWorkerHub *IWorkerHubCallerSession) Version() (string, error)
- func (_IWorkerHub *IWorkerHubCallerSession) VotingInfo(inferId *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubCallerSession) WEAI() (common.Address, error)
- func (_IWorkerHub *IWorkerHubCallerSession) WorkerHubScoring() (common.Address, error)
- type IWorkerHubCommitDuration
- type IWorkerHubCommitDurationIterator
- type IWorkerHubCommitmentSubmission
- type IWorkerHubCommitmentSubmissionIterator
- type IWorkerHubDAOTokenMintedV2
- type IWorkerHubDAOTokenMintedV2Iterator
- type IWorkerHubDAOTokenPercentage
- type IWorkerHubDAOTokenPercentageUpdated
- type IWorkerHubDAOTokenPercentageUpdatedIterator
- type IWorkerHubDAOTokenReceiverInfor
- type IWorkerHubDAOTokenRewardUpdated
- type IWorkerHubDAOTokenRewardUpdatedIterator
- type IWorkerHubDAOTokenUpdated
- type IWorkerHubDAOTokenUpdatedIterator
- type IWorkerHubFilterer
- func (_IWorkerHub *IWorkerHubFilterer) FilterBlocksPerEpoch(opts *bind.FilterOpts) (*IWorkerHubBlocksPerEpochIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterCommitDuration(opts *bind.FilterOpts) (*IWorkerHubCommitDurationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterCommitmentSubmission(opts *bind.FilterOpts, miner []common.Address, assigmentId []*big.Int) (*IWorkerHubCommitmentSubmissionIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenMintedV2(opts *bind.FilterOpts) (*IWorkerHubDAOTokenMintedV2Iterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenPercentageUpdated(opts *bind.FilterOpts) (*IWorkerHubDAOTokenPercentageUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenRewardUpdated(opts *bind.FilterOpts) (*IWorkerHubDAOTokenRewardUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenUpdated(opts *bind.FilterOpts) (*IWorkerHubDAOTokenUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterFinePercentageUpdated(opts *bind.FilterOpts) (*IWorkerHubFinePercentageUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterFraudulentMinerPenalized(opts *bind.FilterOpts, miner []common.Address, modelAddress []common.Address, ...) (*IWorkerHubFraudulentMinerPenalizedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterInferenceStatusUpdate(opts *bind.FilterOpts, inferenceId []*big.Int) (*IWorkerHubInferenceStatusUpdateIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterInitialized(opts *bind.FilterOpts) (*IWorkerHubInitializedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterL2OwnerUpdated(opts *bind.FilterOpts) (*IWorkerHubL2OwnerUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinFeeToUseUpdated(opts *bind.FilterOpts) (*IWorkerHubMinFeeToUseUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerDeactivated(opts *bind.FilterOpts, miner []common.Address, modelAddress []common.Address) (*IWorkerHubMinerDeactivatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerExtraStake(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerExtraStakeIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerJoin(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerJoinIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerRegistration(opts *bind.FilterOpts, miner []common.Address, tier []uint16) (*IWorkerHubMinerRegistrationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerRoleSeized(opts *bind.FilterOpts, assignmentId []*big.Int, inferenceId []*big.Int, ...) (*IWorkerHubMinerRoleSeizedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerUnregistration(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerUnregistrationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMinerUnstake(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerUnstakeIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterMiningTimeLimitUpdate(opts *bind.FilterOpts) (*IWorkerHubMiningTimeLimitUpdateIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterModelMinimumFeeUpdate(opts *bind.FilterOpts, model []common.Address) (*IWorkerHubModelMinimumFeeUpdateIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterModelRegistration(opts *bind.FilterOpts, model []common.Address, tier []uint16) (*IWorkerHubModelRegistrationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterModelTierUpdate(opts *bind.FilterOpts, model []common.Address) (*IWorkerHubModelTierUpdateIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterModelUnregistration(opts *bind.FilterOpts, model []common.Address) (*IWorkerHubModelUnregistrationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterNewAssignment(opts *bind.FilterOpts, assignmentId []*big.Int, inferenceId []*big.Int, ...) (*IWorkerHubNewAssignmentIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterNewInference(opts *bind.FilterOpts, inferenceId []*big.Int, model []common.Address, ...) (*IWorkerHubNewInferenceIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterNewScoringInference(opts *bind.FilterOpts, inferenceId []*big.Int, model []common.Address, ...) (*IWorkerHubNewScoringInferenceIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*IWorkerHubOwnershipTransferredIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterPaused(opts *bind.FilterOpts) (*IWorkerHubPausedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterPenaltyDurationUpdated(opts *bind.FilterOpts) (*IWorkerHubPenaltyDurationUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterRestake(opts *bind.FilterOpts, miner []common.Address, model []common.Address) (*IWorkerHubRestakeIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterRevealDuration(opts *bind.FilterOpts) (*IWorkerHubRevealDurationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterRevealSubmission(opts *bind.FilterOpts, miner []common.Address, assigmentId []*big.Int) (*IWorkerHubRevealSubmissionIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterRewardClaim(opts *bind.FilterOpts, worker []common.Address) (*IWorkerHubRewardClaimIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterRewardPerEpoch(opts *bind.FilterOpts) (*IWorkerHubRewardPerEpochIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterSolutionSubmission(opts *bind.FilterOpts, miner []common.Address, assigmentId []*big.Int) (*IWorkerHubSolutionSubmissionIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterStreamedData(opts *bind.FilterOpts, assignmentId []*big.Int) (*IWorkerHubStreamedDataIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterSubmitDuration(opts *bind.FilterOpts) (*IWorkerHubSubmitDurationIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterTopUpInfer(opts *bind.FilterOpts, inferenceId []*big.Int, creator []common.Address) (*IWorkerHubTopUpInferIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterTransferFee(opts *bind.FilterOpts, treasury []common.Address) (*IWorkerHubTransferFeeIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterTreasuryAddressUpdated(opts *bind.FilterOpts) (*IWorkerHubTreasuryAddressUpdatedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterUnpaused(opts *bind.FilterOpts) (*IWorkerHubUnpausedIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) FilterUnstakeDelayTime(opts *bind.FilterOpts) (*IWorkerHubUnstakeDelayTimeIterator, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseBlocksPerEpoch(log types.Log) (*IWorkerHubBlocksPerEpoch, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseCommitDuration(log types.Log) (*IWorkerHubCommitDuration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseCommitmentSubmission(log types.Log) (*IWorkerHubCommitmentSubmission, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenMintedV2(log types.Log) (*IWorkerHubDAOTokenMintedV2, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenPercentageUpdated(log types.Log) (*IWorkerHubDAOTokenPercentageUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenRewardUpdated(log types.Log) (*IWorkerHubDAOTokenRewardUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenUpdated(log types.Log) (*IWorkerHubDAOTokenUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseFinePercentageUpdated(log types.Log) (*IWorkerHubFinePercentageUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseFraudulentMinerPenalized(log types.Log) (*IWorkerHubFraudulentMinerPenalized, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseInferenceStatusUpdate(log types.Log) (*IWorkerHubInferenceStatusUpdate, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseInitialized(log types.Log) (*IWorkerHubInitialized, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseL2OwnerUpdated(log types.Log) (*IWorkerHubL2OwnerUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinFeeToUseUpdated(log types.Log) (*IWorkerHubMinFeeToUseUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerDeactivated(log types.Log) (*IWorkerHubMinerDeactivated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerExtraStake(log types.Log) (*IWorkerHubMinerExtraStake, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerJoin(log types.Log) (*IWorkerHubMinerJoin, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerRegistration(log types.Log) (*IWorkerHubMinerRegistration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerRoleSeized(log types.Log) (*IWorkerHubMinerRoleSeized, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerUnregistration(log types.Log) (*IWorkerHubMinerUnregistration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMinerUnstake(log types.Log) (*IWorkerHubMinerUnstake, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseMiningTimeLimitUpdate(log types.Log) (*IWorkerHubMiningTimeLimitUpdate, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseModelMinimumFeeUpdate(log types.Log) (*IWorkerHubModelMinimumFeeUpdate, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseModelRegistration(log types.Log) (*IWorkerHubModelRegistration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseModelTierUpdate(log types.Log) (*IWorkerHubModelTierUpdate, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseModelUnregistration(log types.Log) (*IWorkerHubModelUnregistration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseNewAssignment(log types.Log) (*IWorkerHubNewAssignment, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseNewInference(log types.Log) (*IWorkerHubNewInference, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseNewScoringInference(log types.Log) (*IWorkerHubNewScoringInference, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseOwnershipTransferred(log types.Log) (*IWorkerHubOwnershipTransferred, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParsePaused(log types.Log) (*IWorkerHubPaused, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParsePenaltyDurationUpdated(log types.Log) (*IWorkerHubPenaltyDurationUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseRestake(log types.Log) (*IWorkerHubRestake, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseRevealDuration(log types.Log) (*IWorkerHubRevealDuration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseRevealSubmission(log types.Log) (*IWorkerHubRevealSubmission, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseRewardClaim(log types.Log) (*IWorkerHubRewardClaim, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseRewardPerEpoch(log types.Log) (*IWorkerHubRewardPerEpoch, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseSolutionSubmission(log types.Log) (*IWorkerHubSolutionSubmission, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseStreamedData(log types.Log) (*IWorkerHubStreamedData, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseSubmitDuration(log types.Log) (*IWorkerHubSubmitDuration, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseTopUpInfer(log types.Log) (*IWorkerHubTopUpInfer, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseTransferFee(log types.Log) (*IWorkerHubTransferFee, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseTreasuryAddressUpdated(log types.Log) (*IWorkerHubTreasuryAddressUpdated, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseUnpaused(log types.Log) (*IWorkerHubUnpaused, error)
- func (_IWorkerHub *IWorkerHubFilterer) ParseUnstakeDelayTime(log types.Log) (*IWorkerHubUnstakeDelayTime, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchBlocksPerEpoch(opts *bind.WatchOpts, sink chan<- *IWorkerHubBlocksPerEpoch) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchCommitDuration(opts *bind.WatchOpts, sink chan<- *IWorkerHubCommitDuration) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchCommitmentSubmission(opts *bind.WatchOpts, sink chan<- *IWorkerHubCommitmentSubmission, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenMintedV2(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenMintedV2) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenPercentageUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenPercentageUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenRewardUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenRewardUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchFinePercentageUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubFinePercentageUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchFraudulentMinerPenalized(opts *bind.WatchOpts, sink chan<- *IWorkerHubFraudulentMinerPenalized, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchInferenceStatusUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubInferenceStatusUpdate, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IWorkerHubInitialized) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchL2OwnerUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubL2OwnerUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinFeeToUseUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinFeeToUseUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerDeactivated(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerDeactivated, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerExtraStake(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerExtraStake, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerJoin(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerJoin, miner []common.Address) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerRegistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerRegistration, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerRoleSeized(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerRoleSeized, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerUnregistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerUnregistration, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMinerUnstake(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerUnstake, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchMiningTimeLimitUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubMiningTimeLimitUpdate) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchModelMinimumFeeUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelMinimumFeeUpdate, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchModelRegistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelRegistration, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchModelTierUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelTierUpdate, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchModelUnregistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelUnregistration, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchNewAssignment(opts *bind.WatchOpts, sink chan<- *IWorkerHubNewAssignment, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchNewInference(opts *bind.WatchOpts, sink chan<- *IWorkerHubNewInference, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchNewScoringInference(opts *bind.WatchOpts, sink chan<- *IWorkerHubNewScoringInference, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IWorkerHubOwnershipTransferred, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *IWorkerHubPaused) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchPenaltyDurationUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubPenaltyDurationUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchRestake(opts *bind.WatchOpts, sink chan<- *IWorkerHubRestake, miner []common.Address, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchRevealDuration(opts *bind.WatchOpts, sink chan<- *IWorkerHubRevealDuration) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchRevealSubmission(opts *bind.WatchOpts, sink chan<- *IWorkerHubRevealSubmission, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchRewardClaim(opts *bind.WatchOpts, sink chan<- *IWorkerHubRewardClaim, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchRewardPerEpoch(opts *bind.WatchOpts, sink chan<- *IWorkerHubRewardPerEpoch) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchSolutionSubmission(opts *bind.WatchOpts, sink chan<- *IWorkerHubSolutionSubmission, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchStreamedData(opts *bind.WatchOpts, sink chan<- *IWorkerHubStreamedData, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchSubmitDuration(opts *bind.WatchOpts, sink chan<- *IWorkerHubSubmitDuration) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchTopUpInfer(opts *bind.WatchOpts, sink chan<- *IWorkerHubTopUpInfer, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchTransferFee(opts *bind.WatchOpts, sink chan<- *IWorkerHubTransferFee, ...) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchTreasuryAddressUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubTreasuryAddressUpdated) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *IWorkerHubUnpaused) (event.Subscription, error)
- func (_IWorkerHub *IWorkerHubFilterer) WatchUnstakeDelayTime(opts *bind.WatchOpts, sink chan<- *IWorkerHubUnstakeDelayTime) (event.Subscription, error)
- type IWorkerHubFinePercentageUpdated
- type IWorkerHubFinePercentageUpdatedIterator
- type IWorkerHubFraudulentMinerPenalized
- type IWorkerHubFraudulentMinerPenalizedIterator
- type IWorkerHubInference
- type IWorkerHubInferenceStatusUpdate
- type IWorkerHubInferenceStatusUpdateIterator
- type IWorkerHubInitialized
- type IWorkerHubInitializedIterator
- type IWorkerHubL2OwnerUpdated
- type IWorkerHubL2OwnerUpdatedIterator
- type IWorkerHubMinFeeToUseUpdated
- type IWorkerHubMinFeeToUseUpdatedIterator
- type IWorkerHubMinerDeactivated
- type IWorkerHubMinerDeactivatedIterator
- type IWorkerHubMinerExtraStake
- type IWorkerHubMinerExtraStakeIterator
- type IWorkerHubMinerJoin
- type IWorkerHubMinerJoinIterator
- type IWorkerHubMinerRegistration
- type IWorkerHubMinerRegistrationIterator
- type IWorkerHubMinerRoleSeized
- type IWorkerHubMinerRoleSeizedIterator
- type IWorkerHubMinerUnregistration
- type IWorkerHubMinerUnregistrationIterator
- type IWorkerHubMinerUnstake
- type IWorkerHubMinerUnstakeIterator
- type IWorkerHubMiningTimeLimitUpdate
- type IWorkerHubMiningTimeLimitUpdateIterator
- type IWorkerHubModelMinimumFeeUpdate
- type IWorkerHubModelMinimumFeeUpdateIterator
- type IWorkerHubModelRegistration
- type IWorkerHubModelRegistrationIterator
- type IWorkerHubModelTierUpdate
- type IWorkerHubModelTierUpdateIterator
- type IWorkerHubModelUnregistration
- type IWorkerHubModelUnregistrationIterator
- type IWorkerHubNewAssignment
- type IWorkerHubNewAssignmentIterator
- type IWorkerHubNewInference
- type IWorkerHubNewInferenceIterator
- type IWorkerHubNewScoringInference
- type IWorkerHubNewScoringInferenceIterator
- type IWorkerHubOwnershipTransferred
- type IWorkerHubOwnershipTransferredIterator
- type IWorkerHubPaused
- type IWorkerHubPausedIterator
- type IWorkerHubPenaltyDurationUpdated
- type IWorkerHubPenaltyDurationUpdatedIterator
- type IWorkerHubRaw
- func (_IWorkerHub *IWorkerHubRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IWorkerHub *IWorkerHubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IWorkerHubRestake
- type IWorkerHubRestakeIterator
- type IWorkerHubRevealDuration
- type IWorkerHubRevealDurationIterator
- type IWorkerHubRevealSubmission
- type IWorkerHubRevealSubmissionIterator
- type IWorkerHubRewardClaim
- type IWorkerHubRewardClaimIterator
- type IWorkerHubRewardPerEpoch
- type IWorkerHubRewardPerEpochIterator
- type IWorkerHubSession
- func (_IWorkerHub *IWorkerHubSession) AssignmentNumber() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) Assignments(arg0 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) BlocksPerEpoch() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) ClaimReward(_miner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) Commit(_assignId *big.Int, _commitment [32]byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) CommitDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) CurrentEpoch() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) DaoReceiversInfo(inferId *big.Int, arg1 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) DaoToken() (common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) DaoTokenPercentage() (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) DaoTokenReward() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) FeeL2Percentage() (uint16, error)
- func (_IWorkerHub *IWorkerHubSession) FeeRatioMinerValidator() (uint16, error)
- func (_IWorkerHub *IWorkerHubSession) FeeTreasuryPercentage() (uint16, error)
- func (_IWorkerHub *IWorkerHubSession) FinePercentage() (uint16, error)
- func (_IWorkerHub *IWorkerHubSession) ForceChangeModelForMiner(_miner common.Address, _modelAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) GetAllAssignments(startId *big.Int, count *big.Int) ([]IWorkerHubAssignment, error)
- func (_IWorkerHub *IWorkerHubSession) GetAllInferences(startId *big.Int, count *big.Int) ([]IWorkerHubInference, error)
- func (_IWorkerHub *IWorkerHubSession) GetAllMinerUnstakeRequests() (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) GetAllMiners() ([]IWorkerHubWorker, error)
- func (_IWorkerHub *IWorkerHubSession) GetAssignmentByInferenceId(_inferId *big.Int) ([]IWorkerHubAssignment, error)
- func (_IWorkerHub *IWorkerHubSession) GetAssignmentByMiner(_minerAddr common.Address) ([]IWorkerHubAssignmentInfo, error)
- func (_IWorkerHub *IWorkerHubSession) GetInferenceInfo(_inferenceId *big.Int) (IWorkerHubInference, error)
- func (_IWorkerHub *IWorkerHubSession) GetMinFeeToUse(_modelAddress common.Address) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) GetMinerAddresses() ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) GetMinerAddressesOfModel(_model common.Address) ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) GetMiners() ([]IWorkerHubWorkerInfo, error)
- func (_IWorkerHub *IWorkerHubSession) GetMintingAssignmentsOfInference(_inferenceId *big.Int) ([]IWorkerHubAssignmentInfo, error)
- func (_IWorkerHub *IWorkerHubSession) GetModelAddresses() ([]common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) GetNOMiner() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) GetRoleByAssigmentId(_assignmentId *big.Int) (uint8, error)
- func (_IWorkerHub *IWorkerHubSession) IncreaseMinerStake(wEAIAmt *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) Infer(_input []byte, _creator common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) InferWithCallback(originInferId *big.Int, _input []byte, _creator common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) InferenceNumber() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) Initialize(_l2Owner common.Address, _treasury common.Address, _daoToken common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) IsAssignmentPending(_assignmentId *big.Int) (bool, error)
- func (_IWorkerHub *IWorkerHubSession) IsReferrer(arg0 common.Address) (bool, error)
- func (_IWorkerHub *IWorkerHubSession) JoinForMinting() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) L2Owner() (common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) LastBlock() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) MaximumTier() (uint16, error)
- func (_IWorkerHub *IWorkerHubSession) MinFeeToUse() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) MinerMinimumStake() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) MinerRequirement() (uint8, error)
- func (_IWorkerHub *IWorkerHubSession) MinerUnstakeRequests(arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) Miners(arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) ModelScoring() (common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) Models(arg0 common.Address) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) Multiplier(_miner common.Address) (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) Owner() (common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) Pause() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) Paused() (bool, error)
- func (_IWorkerHub *IWorkerHubSession) PenaltyDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) Receive() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RegisterMiner(tier uint16, wEAIAmt *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RegisterModel(_model common.Address, _tier uint16, _minimumFee *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RegisterReferrer(_referrer common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RegisterReferrer0(_referrers []common.Address, _referees []common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RenounceOwnership() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) ResolveInference(_inferenceId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RestakeForMiner(tier uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) ResultReceived(result []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) ResultReceived0(_originInferId *big.Int, _result []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) Reveal(_assignId *big.Int, _nonce *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) RevealDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) RewardInEpoch(arg0 *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) RewardPerEpoch() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) RewardToClaim(_miner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SeizeMinerRole(_assignmentId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetBlocksPerEpoch(_blocks *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetCommitDuration(_newCommitDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetDAOToken(_daoTokenAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetDAOTokenPercentage(_daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetDAOTokenReward(_newDAOTokenReward *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetFeeRatioMinerValidator(_newRatio uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetFinePercentage(_finePercentage uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetL2Owner(_l2OwnerAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetMinFeeToUse(_minFeeToUse *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetMinerMinimumStake(_minerMinimumStake *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetNewRewardInEpoch(_newRewardAmount *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetPenaltyDuration(_penaltyDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetRevealDuration(_newRevealDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetScoringInfo(_workerHubScoring common.Address, _modelScoring common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetSubmitDuration(_newSubmitDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetTreasuryAddress(_treasuryAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SetUnstakDelayTime(_newUnstakeDelayTime *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SlashMiner(_miner common.Address, _isFined bool) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) StreamData(_assignmentId *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) SubmitDuration() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) SubmitSolution(_assigmentId *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) TopUpInfer(_inferenceId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) Treasury() (common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) Unpause() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) UnregisterMiner() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) UnregisterModel(_model common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) UnstakeDelayTime() (*big.Int, error)
- func (_IWorkerHub *IWorkerHubSession) UnstakeForMiner() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) UpdateModelMinimumFee(_model common.Address, _minimumFee *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) UpdateModelTier(_model common.Address, _tier uint32) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubSession) ValidateDAOSupplyIncrease(_isReferred bool) (bool, error)
- func (_IWorkerHub *IWorkerHubSession) Version() (string, error)
- func (_IWorkerHub *IWorkerHubSession) VotingInfo(inferId *big.Int) (struct{ ... }, error)
- func (_IWorkerHub *IWorkerHubSession) WEAI() (common.Address, error)
- func (_IWorkerHub *IWorkerHubSession) WorkerHubScoring() (common.Address, error)
- type IWorkerHubSolutionSubmission
- type IWorkerHubSolutionSubmissionIterator
- type IWorkerHubStreamedData
- type IWorkerHubStreamedDataIterator
- type IWorkerHubSubmitDuration
- type IWorkerHubSubmitDurationIterator
- type IWorkerHubTopUpInfer
- type IWorkerHubTopUpInferIterator
- type IWorkerHubTransactor
- func (_IWorkerHub *IWorkerHubTransactor) ClaimReward(opts *bind.TransactOpts, _miner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Commit(opts *bind.TransactOpts, _assignId *big.Int, _commitment [32]byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) ForceChangeModelForMiner(opts *bind.TransactOpts, _miner common.Address, _modelAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) IncreaseMinerStake(opts *bind.TransactOpts, wEAIAmt *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Infer(opts *bind.TransactOpts, _input []byte, _creator common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) InferWithCallback(opts *bind.TransactOpts, originInferId *big.Int, _input []byte, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Initialize(opts *bind.TransactOpts, _l2Owner common.Address, _treasury common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) JoinForMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RegisterMiner(opts *bind.TransactOpts, tier uint16, wEAIAmt *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RegisterModel(opts *bind.TransactOpts, _model common.Address, _tier uint16, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RegisterReferrer(opts *bind.TransactOpts, _referrer common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RegisterReferrer0(opts *bind.TransactOpts, _referrers []common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) ResolveInference(opts *bind.TransactOpts, _inferenceId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RestakeForMiner(opts *bind.TransactOpts, tier uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) ResultReceived(opts *bind.TransactOpts, result []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) ResultReceived0(opts *bind.TransactOpts, _originInferId *big.Int, _result []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Reveal(opts *bind.TransactOpts, _assignId *big.Int, _nonce *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) RewardToClaim(opts *bind.TransactOpts, _miner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SeizeMinerRole(opts *bind.TransactOpts, _assignmentId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetBlocksPerEpoch(opts *bind.TransactOpts, _blocks *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetCommitDuration(opts *bind.TransactOpts, _newCommitDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetDAOToken(opts *bind.TransactOpts, _daoTokenAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetDAOTokenPercentage(opts *bind.TransactOpts, _daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetDAOTokenReward(opts *bind.TransactOpts, _newDAOTokenReward *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetFeeRatioMinerValidator(opts *bind.TransactOpts, _newRatio uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetFinePercentage(opts *bind.TransactOpts, _finePercentage uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetL2Owner(opts *bind.TransactOpts, _l2OwnerAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetMinFeeToUse(opts *bind.TransactOpts, _minFeeToUse *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetMinerMinimumStake(opts *bind.TransactOpts, _minerMinimumStake *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetNewRewardInEpoch(opts *bind.TransactOpts, _newRewardAmount *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetPenaltyDuration(opts *bind.TransactOpts, _penaltyDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetRevealDuration(opts *bind.TransactOpts, _newRevealDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetScoringInfo(opts *bind.TransactOpts, _workerHubScoring common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetSubmitDuration(opts *bind.TransactOpts, _newSubmitDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetTreasuryAddress(opts *bind.TransactOpts, _treasuryAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SetUnstakDelayTime(opts *bind.TransactOpts, _newUnstakeDelayTime *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SlashMiner(opts *bind.TransactOpts, _miner common.Address, _isFined bool) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) StreamData(opts *bind.TransactOpts, _assignmentId *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) SubmitSolution(opts *bind.TransactOpts, _assigmentId *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) TopUpInfer(opts *bind.TransactOpts, _inferenceId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) UnregisterMiner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) UnregisterModel(opts *bind.TransactOpts, _model common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) UnstakeForMiner(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) UpdateModelMinimumFee(opts *bind.TransactOpts, _model common.Address, _minimumFee *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactor) UpdateModelTier(opts *bind.TransactOpts, _model common.Address, _tier uint32) (*types.Transaction, error)
- type IWorkerHubTransactorRaw
- type IWorkerHubTransactorSession
- func (_IWorkerHub *IWorkerHubTransactorSession) ClaimReward(_miner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Commit(_assignId *big.Int, _commitment [32]byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) ForceChangeModelForMiner(_miner common.Address, _modelAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) IncreaseMinerStake(wEAIAmt *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Infer(_input []byte, _creator common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) InferWithCallback(originInferId *big.Int, _input []byte, _creator common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Initialize(_l2Owner common.Address, _treasury common.Address, _daoToken common.Address, ...) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) JoinForMinting() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Pause() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Receive() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RegisterMiner(tier uint16, wEAIAmt *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RegisterModel(_model common.Address, _tier uint16, _minimumFee *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RegisterReferrer(_referrer common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RegisterReferrer0(_referrers []common.Address, _referees []common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) ResolveInference(_inferenceId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RestakeForMiner(tier uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) ResultReceived(result []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) ResultReceived0(_originInferId *big.Int, _result []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Reveal(_assignId *big.Int, _nonce *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) RewardToClaim(_miner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SeizeMinerRole(_assignmentId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetBlocksPerEpoch(_blocks *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetCommitDuration(_newCommitDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetDAOToken(_daoTokenAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetDAOTokenPercentage(_daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetDAOTokenReward(_newDAOTokenReward *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetFeeRatioMinerValidator(_newRatio uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetFinePercentage(_finePercentage uint16) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetL2Owner(_l2OwnerAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetMinFeeToUse(_minFeeToUse *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetMinerMinimumStake(_minerMinimumStake *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetNewRewardInEpoch(_newRewardAmount *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetPenaltyDuration(_penaltyDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetRevealDuration(_newRevealDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetScoringInfo(_workerHubScoring common.Address, _modelScoring common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetSubmitDuration(_newSubmitDuration *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetTreasuryAddress(_treasuryAddress common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SetUnstakDelayTime(_newUnstakeDelayTime *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SlashMiner(_miner common.Address, _isFined bool) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) StreamData(_assignmentId *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) SubmitSolution(_assigmentId *big.Int, _data []byte) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) TopUpInfer(_inferenceId *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) Unpause() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) UnregisterMiner() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) UnregisterModel(_model common.Address) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) UnstakeForMiner() (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) UpdateModelMinimumFee(_model common.Address, _minimumFee *big.Int) (*types.Transaction, error)
- func (_IWorkerHub *IWorkerHubTransactorSession) UpdateModelTier(_model common.Address, _tier uint32) (*types.Transaction, error)
- type IWorkerHubTransferFee
- type IWorkerHubTransferFeeIterator
- type IWorkerHubTreasuryAddressUpdated
- type IWorkerHubTreasuryAddressUpdatedIterator
- type IWorkerHubUnpaused
- type IWorkerHubUnpausedIterator
- type IWorkerHubUnstakeDelayTime
- type IWorkerHubUnstakeDelayTimeIterator
- type IWorkerHubUnstakeRequest
- type IWorkerHubWorker
- type IWorkerHubWorkerInfo
Constants ¶
This section is empty.
Variables ¶
var IWorkerHubABI = IWorkerHubMetaData.ABI
IWorkerHubABI is the input ABI used to generate the binding from. Deprecated: Use IWorkerHubMetaData.ABI instead.
var IWorkerHubMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"name\":\"AddressSet_DuplicatedValue\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"name\":\"AddressSet_ValueNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyCommitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyRevealed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadySubmitted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"name\":\"Bytes32Set_DuplicatedValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommitTimeout\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedTransfer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InferMustBeSolvingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBlockValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCommitment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidData\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInferenceStatus\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMiner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidModel\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReveal\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRole\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTier\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinerInDeactivationTime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MiningSessionEnded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MiningSessionNotEnded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotCommitted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughMiners\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NullStake\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RevealTimeout\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StakeTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StillBeingLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Uint256Set_DuplicatedValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ValidatingSessionNotEnded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroValue\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldBlocks\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBlocks\",\"type\":\"uint256\"}],\"name\":\"BlocksPerEpoch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTime\",\"type\":\"uint256\"}],\"name\":\"CommitDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"assigmentId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"}],\"name\":\"CommitmentSubmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"enumIWorkerHub.DAOTokenReceiverRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"indexed\":false,\"internalType\":\"structIWorkerHub.DAOTokenReceiverInfor[]\",\"name\":\"receivers\",\"type\":\"tuple[]\"}],\"name\":\"DAOTokenMintedV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"minerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"userPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"referrerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"refereePercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"l2OwnerPercentage\",\"type\":\"uint16\"}],\"indexed\":false,\"internalType\":\"structIWorkerHub.DAOTokenPercentage\",\"name\":\"oldValue\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"minerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"userPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"referrerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"refereePercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"l2OwnerPercentage\",\"type\":\"uint16\"}],\"indexed\":false,\"internalType\":\"structIWorkerHub.DAOTokenPercentage\",\"name\":\"newValue\",\"type\":\"tuple\"}],\"name\":\"DAOTokenPercentageUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"DAOTokenRewardUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"DAOTokenUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"oldPercent\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"newPercent\",\"type\":\"uint16\"}],\"name\":\"FinePercentageUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fine\",\"type\":\"uint256\"}],\"name\":\"FraudulentMinerPenalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumIWorkerHub.InferenceStatus\",\"name\":\"newStatus\",\"type\":\"uint8\"}],\"name\":\"InferenceStatusUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"L2OwnerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"MinFeeToUseUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"activeTime\",\"type\":\"uint40\"}],\"name\":\"MinerDeactivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"MinerExtraStake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"}],\"name\":\"MinerJoin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"MinerRegistration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"assignmentId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"}],\"name\":\"MinerRoleSeized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"}],\"name\":\"MinerUnregistration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"}],\"name\":\"MinerUnstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"newValue\",\"type\":\"uint40\"}],\"name\":\"MiningTimeLimitUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumFee\",\"type\":\"uint256\"}],\"name\":\"ModelMinimumFeeUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumFee\",\"type\":\"uint256\"}],\"name\":\"ModelRegistration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"tier\",\"type\":\"uint32\"}],\"name\":\"ModelTierUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"}],\"name\":\"ModelUnregistration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"assignmentId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"expiredAt\",\"type\":\"uint40\"}],\"name\":\"NewAssignment\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originInferenceId\",\"type\":\"uint256\"}],\"name\":\"NewInference\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originInferenceId\",\"type\":\"uint256\"}],\"name\":\"NewScoringInference\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"oldDuration\",\"type\":\"uint40\"},{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"newDuration\",\"type\":\"uint40\"}],\"name\":\"PenaltyDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"restake\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"model\",\"type\":\"address\"}],\"name\":\"Restake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTime\",\"type\":\"uint256\"}],\"name\":\"RevealDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"assigmentId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"nonce\",\"type\":\"uint40\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"RevealSubmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"RewardClaim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldReward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newReward\",\"type\":\"uint256\"}],\"name\":\"RewardPerEpoch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"miner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"assigmentId\",\"type\":\"uint256\"}],\"name\":\"SolutionSubmission\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"assignmentId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StreamedData\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTime\",\"type\":\"uint256\"}],\"name\":\"SubmitDuration\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TopUpInfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"treasuryFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"L2OwnerAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"L2OwnerFee\",\"type\":\"uint256\"}],\"name\":\"TransferFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"TreasuryAddressUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldDelayTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDelayTime\",\"type\":\"uint256\"}],\"name\":\"UnstakeDelayTime\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"assignmentNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"assignments\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"revealNonce\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"internalType\":\"enumIWorkerHub.AssignmentRole\",\"name\":\"role\",\"type\":\"uint8\"},{\"internalType\":\"enumIWorkerHub.Vote\",\"name\":\"vote\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blocksPerEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assignId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_commitment\",\"type\":\"bytes32\"}],\"name\":\"commit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"commitDuration\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentEpoch\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"inferId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"daoReceiversInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"enumIWorkerHub.DAOTokenReceiverRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"daoToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"daoTokenPercentage\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"minerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"userPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"referrerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"refereePercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"l2OwnerPercentage\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"daoTokenReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeL2Percentage\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeRatioMinerValidator\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeTreasuryPercentage\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finePercentage\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_modelAddress\",\"type\":\"address\"}],\"name\":\"forceChangeModelForMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"getAllAssignments\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"revealNonce\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"internalType\":\"enumIWorkerHub.AssignmentRole\",\"name\":\"role\",\"type\":\"uint8\"},{\"internalType\":\"enumIWorkerHub.Vote\",\"name\":\"vote\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"internalType\":\"structIWorkerHub.Assignment[]\",\"name\":\"assignmentData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"getAllInferences\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"assignments\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeL2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeTreasury\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"submitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"commitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"revealTimeout\",\"type\":\"uint40\"},{\"internalType\":\"enumIWorkerHub.InferenceStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"processedMiner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structIWorkerHub.Inference[]\",\"name\":\"inferenceData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllMinerUnstakeRequests\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"unstakeAddresses\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"unlockAt\",\"type\":\"uint40\"}],\"internalType\":\"structIWorkerHub.UnstakeRequest[]\",\"name\":\"unstakeRequests\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllMiners\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitment\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"lastClaimedEpoch\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"activeTime\",\"type\":\"uint40\"},{\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"}],\"internalType\":\"structIWorkerHub.Worker[]\",\"name\":\"minerData\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inferId\",\"type\":\"uint256\"}],\"name\":\"getAssignmentByInferenceId\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitment\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint40\",\"name\":\"revealNonce\",\"type\":\"uint40\"},{\"internalType\":\"address\",\"name\":\"worker\",\"type\":\"address\"},{\"internalType\":\"enumIWorkerHub.AssignmentRole\",\"name\":\"role\",\"type\":\"uint8\"},{\"internalType\":\"enumIWorkerHub.Vote\",\"name\":\"vote\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"internalType\":\"structIWorkerHub.Assignment[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_minerAddr\",\"type\":\"address\"}],\"name\":\"getAssignmentByMiner\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"assignmentId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"submitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"commitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"revealTimeout\",\"type\":\"uint40\"}],\"internalType\":\"structIWorkerHub.AssignmentInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inferenceId\",\"type\":\"uint256\"}],\"name\":\"getInferenceInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"assignments\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeL2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeTreasury\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"submitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"commitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"revealTimeout\",\"type\":\"uint40\"},{\"internalType\":\"enumIWorkerHub.InferenceStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"processedMiner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structIWorkerHub.Inference\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_modelAddress\",\"type\":\"address\"}],\"name\":\"getMinFeeToUse\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinerAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_model\",\"type\":\"address\"}],\"name\":\"getMinerAddressesOfModel\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMiners\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"workerAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitment\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"lastClaimedEpoch\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"activeTime\",\"type\":\"uint40\"},{\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"}],\"internalType\":\"structIWorkerHub.WorkerInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inferenceId\",\"type\":\"uint256\"}],\"name\":\"getMintingAssignmentsOfInference\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"assignmentId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"submitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"commitTimeout\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"revealTimeout\",\"type\":\"uint40\"}],\"internalType\":\"structIWorkerHub.AssignmentInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getModelAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNOMiner\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assignmentId\",\"type\":\"uint256\"}],\"name\":\"getRoleByAssigmentId\",\"outputs\":[{\"internalType\":\"enumIWorkerHub.AssignmentRole\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wEAIAmt\",\"type\":\"uint256\"}],\"name\":\"increaseMinerStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"}],\"name\":\"infer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"originInferId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"callback\",\"type\":\"address\"}],\"name\":\"inferWithCallback\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"inferenceId\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inferenceNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2Owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_daoToken\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_feeL2Percentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_feeTreasuryPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_minerMinimumStake\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"_minerRequirement\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_blocksPerEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardPerEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_duration\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_finePercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_feeRatioMinerValidor\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_minFeeToUse\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_daoTokenReward\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"minerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"userPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"referrerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"refereePercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"l2OwnerPercentage\",\"type\":\"uint16\"}],\"internalType\":\"structIWorkerHub.DAOTokenPercentage\",\"name\":\"_daoTokenPercentage\",\"type\":\"tuple\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assignmentId\",\"type\":\"uint256\"}],\"name\":\"isAssignmentPending\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isReferrer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"joinForMinting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2Owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maximumTier\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minFeeToUse\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minerMinimumStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minerRequirement\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minerUnstakeRequests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"unlockAt\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"miners\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitment\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"modelAddress\",\"type\":\"address\"},{\"internalType\":\"uint40\",\"name\":\"lastClaimedEpoch\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"activeTime\",\"type\":\"uint40\"},{\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"modelScoring\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"models\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"minimumFee\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"tier\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"}],\"name\":\"multiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"penaltyDuration\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"wEAIAmt\",\"type\":\"uint256\"}],\"name\":\"registerMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_model\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_tier\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_minimumFee\",\"type\":\"uint256\"}],\"name\":\"registerModel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_referrer\",\"type\":\"address\"}],\"name\":\"registerReferrer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_referrers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_referees\",\"type\":\"address[]\"}],\"name\":\"registerReferrer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inferenceId\",\"type\":\"uint256\"}],\"name\":\"resolveInference\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"tier\",\"type\":\"uint16\"}],\"name\":\"restakeForMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"name\":\"resultReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_originInferId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_result\",\"type\":\"bytes\"}],\"name\":\"resultReceived\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assignId\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"_nonce\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"reveal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revealDuration\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rewardInEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"perfReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalTaskCompleted\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalMiner\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardPerEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"}],\"name\":\"rewardToClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assignmentId\",\"type\":\"uint256\"}],\"name\":\"seizeMinerRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blocks\",\"type\":\"uint256\"}],\"name\":\"setBlocksPerEpoch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_newCommitDuration\",\"type\":\"uint40\"}],\"name\":\"setCommitDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_daoTokenAddress\",\"type\":\"address\"}],\"name\":\"setDAOToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"minerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"userPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"referrerPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"refereePercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"l2OwnerPercentage\",\"type\":\"uint16\"}],\"internalType\":\"structIWorkerHub.DAOTokenPercentage\",\"name\":\"_daoTokenPercentage\",\"type\":\"tuple\"}],\"name\":\"setDAOTokenPercentage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newDAOTokenReward\",\"type\":\"uint256\"}],\"name\":\"setDAOTokenReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_newRatio\",\"type\":\"uint16\"}],\"name\":\"setFeeRatioMinerValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_finePercentage\",\"type\":\"uint16\"}],\"name\":\"setFinePercentage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2OwnerAddress\",\"type\":\"address\"}],\"name\":\"setL2Owner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minFeeToUse\",\"type\":\"uint256\"}],\"name\":\"setMinFeeToUse\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minerMinimumStake\",\"type\":\"uint256\"}],\"name\":\"setMinerMinimumStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newRewardAmount\",\"type\":\"uint256\"}],\"name\":\"setNewRewardInEpoch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_penaltyDuration\",\"type\":\"uint40\"}],\"name\":\"setPenaltyDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_newRevealDuration\",\"type\":\"uint40\"}],\"name\":\"setRevealDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_workerHubScoring\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_modelScoring\",\"type\":\"address\"}],\"name\":\"setScoringInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_newSubmitDuration\",\"type\":\"uint40\"}],\"name\":\"setSubmitDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_treasuryAddress\",\"type\":\"address\"}],\"name\":\"setTreasuryAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_newUnstakeDelayTime\",\"type\":\"uint40\"}],\"name\":\"setUnstakDelayTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_miner\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isFined\",\"type\":\"bool\"}],\"name\":\"slashMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assignmentId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"streamData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitDuration\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_assigmentId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"submitSolution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inferenceId\",\"type\":\"uint256\"}],\"name\":\"topUpInfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unregisterMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_model\",\"type\":\"address\"}],\"name\":\"unregisterModel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unstakeDelayTime\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unstakeForMiner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_model\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minimumFee\",\"type\":\"uint256\"}],\"name\":\"updateModelMinimumFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_model\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_tier\",\"type\":\"uint32\"}],\"name\":\"updateModelTier\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_isReferred\",\"type\":\"bool\"}],\"name\":\"validateDAOSupplyIncrease\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"notReachedLimit\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"inferId\",\"type\":\"uint256\"}],\"name\":\"votingInfo\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"totalCommit\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"totalReveal\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wEAI\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"workerHubScoring\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
IWorkerHubMetaData contains all meta data concerning the IWorkerHub contract.
Functions ¶
This section is empty.
Types ¶
type IWorkerHub ¶
type IWorkerHub struct { IWorkerHubCaller // Read-only binding to the contract IWorkerHubTransactor // Write-only binding to the contract IWorkerHubFilterer // Log filterer for contract events }
IWorkerHub is an auto generated Go binding around an Ethereum contract.
func NewIWorkerHub ¶
func NewIWorkerHub(address common.Address, backend bind.ContractBackend) (*IWorkerHub, error)
NewIWorkerHub creates a new instance of IWorkerHub, bound to a specific deployed contract.
type IWorkerHubAssignment ¶
type IWorkerHubAssignment struct { InferenceId *big.Int Commitment [32]byte Digest [32]byte RevealNonce *big.Int Worker common.Address Role uint8 Vote uint8 Output []byte }
IWorkerHubAssignment is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubAssignmentInfo ¶
type IWorkerHubAssignmentInfo struct { AssignmentId *big.Int InferenceId *big.Int Value *big.Int Input []byte ModelAddress common.Address Creator common.Address SubmitTimeout *big.Int CommitTimeout *big.Int RevealTimeout *big.Int }
IWorkerHubAssignmentInfo is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubBlocksPerEpoch ¶
type IWorkerHubBlocksPerEpoch struct { OldBlocks *big.Int NewBlocks *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubBlocksPerEpoch represents a BlocksPerEpoch event raised by the IWorkerHub contract.
type IWorkerHubBlocksPerEpochIterator ¶
type IWorkerHubBlocksPerEpochIterator struct { Event *IWorkerHubBlocksPerEpoch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubBlocksPerEpochIterator is returned from FilterBlocksPerEpoch and is used to iterate over the raw logs and unpacked data for BlocksPerEpoch events raised by the IWorkerHub contract.
func (*IWorkerHubBlocksPerEpochIterator) Close ¶
func (it *IWorkerHubBlocksPerEpochIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubBlocksPerEpochIterator) Error ¶
func (it *IWorkerHubBlocksPerEpochIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubBlocksPerEpochIterator) Next ¶
func (it *IWorkerHubBlocksPerEpochIterator) 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 IWorkerHubCaller ¶
type IWorkerHubCaller struct {
// contains filtered or unexported fields
}
IWorkerHubCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIWorkerHubCaller ¶
func NewIWorkerHubCaller(address common.Address, caller bind.ContractCaller) (*IWorkerHubCaller, error)
NewIWorkerHubCaller creates a new read-only instance of IWorkerHub, bound to a specific deployed contract.
func (*IWorkerHubCaller) AssignmentNumber ¶
AssignmentNumber is a free data retrieval call binding the contract method 0x6973d3f2.
Solidity: function assignmentNumber() view returns(uint256)
func (*IWorkerHubCaller) Assignments ¶
func (_IWorkerHub *IWorkerHubCaller) Assignments(opts *bind.CallOpts, arg0 *big.Int) (struct { InferenceId *big.Int Commitment [32]byte Digest [32]byte RevealNonce *big.Int Worker common.Address Role uint8 Vote uint8 Output []byte }, error)
Assignments is a free data retrieval call binding the contract method 0x4e50c75c.
Solidity: function assignments(uint256 ) view returns(uint256 inferenceId, bytes32 commitment, bytes32 digest, uint40 revealNonce, address worker, uint8 role, uint8 vote, bytes output)
func (*IWorkerHubCaller) BlocksPerEpoch ¶
BlocksPerEpoch is a free data retrieval call binding the contract method 0xf0682054.
Solidity: function blocksPerEpoch() view returns(uint256)
func (*IWorkerHubCaller) CommitDuration ¶
CommitDuration is a free data retrieval call binding the contract method 0x6f833811.
Solidity: function commitDuration() view returns(uint40)
func (*IWorkerHubCaller) CurrentEpoch ¶
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint40)
func (*IWorkerHubCaller) DaoReceiversInfo ¶
func (_IWorkerHub *IWorkerHubCaller) DaoReceiversInfo(opts *bind.CallOpts, inferId *big.Int, arg1 *big.Int) (struct { Receiver common.Address Amount *big.Int Role uint8 }, error)
DaoReceiversInfo is a free data retrieval call binding the contract method 0x61d52cf7.
Solidity: function daoReceiversInfo(uint256 inferId, uint256 ) view returns(address receiver, uint256 amount, uint8 role)
func (*IWorkerHubCaller) DaoToken ¶
DaoToken is a free data retrieval call binding the contract method 0x4914b030.
Solidity: function daoToken() view returns(address)
func (*IWorkerHubCaller) DaoTokenPercentage ¶
func (_IWorkerHub *IWorkerHubCaller) DaoTokenPercentage(opts *bind.CallOpts) (struct { MinerPercentage uint16 UserPercentage uint16 ReferrerPercentage uint16 RefereePercentage uint16 L2OwnerPercentage uint16 }, error)
DaoTokenPercentage is a free data retrieval call binding the contract method 0xff5db406.
Solidity: function daoTokenPercentage() view returns(uint16 minerPercentage, uint16 userPercentage, uint16 referrerPercentage, uint16 refereePercentage, uint16 l2OwnerPercentage)
func (*IWorkerHubCaller) DaoTokenReward ¶
DaoTokenReward is a free data retrieval call binding the contract method 0x0940c392.
Solidity: function daoTokenReward() view returns(uint256)
func (*IWorkerHubCaller) FeeL2Percentage ¶
func (_IWorkerHub *IWorkerHubCaller) FeeL2Percentage(opts *bind.CallOpts) (uint16, error)
FeeL2Percentage is a free data retrieval call binding the contract method 0x39d2e296.
Solidity: function feeL2Percentage() view returns(uint16)
func (*IWorkerHubCaller) FeeRatioMinerValidator ¶
func (_IWorkerHub *IWorkerHubCaller) FeeRatioMinerValidator(opts *bind.CallOpts) (uint16, error)
FeeRatioMinerValidator is a free data retrieval call binding the contract method 0x50eac7c8.
Solidity: function feeRatioMinerValidator() view returns(uint16)
func (*IWorkerHubCaller) FeeTreasuryPercentage ¶
func (_IWorkerHub *IWorkerHubCaller) FeeTreasuryPercentage(opts *bind.CallOpts) (uint16, error)
FeeTreasuryPercentage is a free data retrieval call binding the contract method 0x09c83b4f.
Solidity: function feeTreasuryPercentage() view returns(uint16)
func (*IWorkerHubCaller) FinePercentage ¶
func (_IWorkerHub *IWorkerHubCaller) FinePercentage(opts *bind.CallOpts) (uint16, error)
FinePercentage is a free data retrieval call binding the contract method 0x74172795.
Solidity: function finePercentage() view returns(uint16)
func (*IWorkerHubCaller) GetAllAssignments ¶
func (_IWorkerHub *IWorkerHubCaller) GetAllAssignments(opts *bind.CallOpts, startId *big.Int, count *big.Int) ([]IWorkerHubAssignment, error)
GetAllAssignments is a free data retrieval call binding the contract method 0x16d0a88f.
Solidity: function getAllAssignments(uint256 startId, uint256 count) view returns((uint256,bytes32,bytes32,uint40,address,uint8,uint8,bytes)[] assignmentData)
func (*IWorkerHubCaller) GetAllInferences ¶
func (_IWorkerHub *IWorkerHubCaller) GetAllInferences(opts *bind.CallOpts, startId *big.Int, count *big.Int) ([]IWorkerHubInference, error)
GetAllInferences is a free data retrieval call binding the contract method 0xf1ea45e3.
Solidity: function getAllInferences(uint256 startId, uint256 count) view returns((uint256[],bytes,uint256,uint256,uint256,address,uint40,uint40,uint40,uint8,address,address,address)[] inferenceData)
func (*IWorkerHubCaller) GetAllMinerUnstakeRequests ¶
func (_IWorkerHub *IWorkerHubCaller) GetAllMinerUnstakeRequests(opts *bind.CallOpts) (struct { UnstakeAddresses []common.Address UnstakeRequests []IWorkerHubUnstakeRequest }, error)
GetAllMinerUnstakeRequests is a free data retrieval call binding the contract method 0x9280f078.
Solidity: function getAllMinerUnstakeRequests() view returns(address[] unstakeAddresses, (uint256,uint40)[] unstakeRequests)
func (*IWorkerHubCaller) GetAllMiners ¶
func (_IWorkerHub *IWorkerHubCaller) GetAllMiners(opts *bind.CallOpts) ([]IWorkerHubWorker, error)
GetAllMiners is a free data retrieval call binding the contract method 0x4b17bf30.
Solidity: function getAllMiners() view returns((uint256,uint256,address,uint40,uint40,uint16)[] minerData)
func (*IWorkerHubCaller) GetAssignmentByInferenceId ¶
func (_IWorkerHub *IWorkerHubCaller) GetAssignmentByInferenceId(opts *bind.CallOpts, _inferId *big.Int) ([]IWorkerHubAssignment, error)
GetAssignmentByInferenceId is a free data retrieval call binding the contract method 0x19a9dc71.
Solidity: function getAssignmentByInferenceId(uint256 _inferId) view returns((uint256,bytes32,bytes32,uint40,address,uint8,uint8,bytes)[])
func (*IWorkerHubCaller) GetAssignmentByMiner ¶
func (_IWorkerHub *IWorkerHubCaller) GetAssignmentByMiner(opts *bind.CallOpts, _minerAddr common.Address) ([]IWorkerHubAssignmentInfo, error)
GetAssignmentByMiner is a free data retrieval call binding the contract method 0x5937e5ed.
Solidity: function getAssignmentByMiner(address _minerAddr) view returns((uint256,uint256,uint256,bytes,address,address,uint40,uint40,uint40)[])
func (*IWorkerHubCaller) GetInferenceInfo ¶
func (_IWorkerHub *IWorkerHubCaller) GetInferenceInfo(opts *bind.CallOpts, _inferenceId *big.Int) (IWorkerHubInference, error)
GetInferenceInfo is a free data retrieval call binding the contract method 0x08c05903.
Solidity: function getInferenceInfo(uint256 _inferenceId) view returns((uint256[],bytes,uint256,uint256,uint256,address,uint40,uint40,uint40,uint8,address,address,address))
func (*IWorkerHubCaller) GetMinFeeToUse ¶
func (_IWorkerHub *IWorkerHubCaller) GetMinFeeToUse(opts *bind.CallOpts, _modelAddress common.Address) (*big.Int, error)
GetMinFeeToUse is a free data retrieval call binding the contract method 0xafc1fce7.
Solidity: function getMinFeeToUse(address _modelAddress) view returns(uint256)
func (*IWorkerHubCaller) GetMinerAddresses ¶
func (_IWorkerHub *IWorkerHubCaller) GetMinerAddresses(opts *bind.CallOpts) ([]common.Address, error)
GetMinerAddresses is a free data retrieval call binding the contract method 0xe8d6f2f1.
Solidity: function getMinerAddresses() view returns(address[])
func (*IWorkerHubCaller) GetMinerAddressesOfModel ¶
func (_IWorkerHub *IWorkerHubCaller) GetMinerAddressesOfModel(opts *bind.CallOpts, _model common.Address) ([]common.Address, error)
GetMinerAddressesOfModel is a free data retrieval call binding the contract method 0x47253baa.
Solidity: function getMinerAddressesOfModel(address _model) view returns(address[])
func (*IWorkerHubCaller) GetMiners ¶
func (_IWorkerHub *IWorkerHubCaller) GetMiners(opts *bind.CallOpts) ([]IWorkerHubWorkerInfo, error)
GetMiners is a free data retrieval call binding the contract method 0x1633da6e.
Solidity: function getMiners() view returns((address,uint256,uint256,address,uint40,uint40,uint16)[])
func (*IWorkerHubCaller) GetMintingAssignmentsOfInference ¶
func (_IWorkerHub *IWorkerHubCaller) GetMintingAssignmentsOfInference(opts *bind.CallOpts, _inferenceId *big.Int) ([]IWorkerHubAssignmentInfo, error)
GetMintingAssignmentsOfInference is a free data retrieval call binding the contract method 0x5eec7b20.
Solidity: function getMintingAssignmentsOfInference(uint256 _inferenceId) view returns((uint256,uint256,uint256,bytes,address,address,uint40,uint40,uint40)[])
func (*IWorkerHubCaller) GetModelAddresses ¶
func (_IWorkerHub *IWorkerHubCaller) GetModelAddresses(opts *bind.CallOpts) ([]common.Address, error)
GetModelAddresses is a free data retrieval call binding the contract method 0x9ae49cd3.
Solidity: function getModelAddresses() view returns(address[])
func (*IWorkerHubCaller) GetNOMiner ¶
GetNOMiner is a free data retrieval call binding the contract method 0xd2d89be8.
Solidity: function getNOMiner() view returns(uint256)
func (*IWorkerHubCaller) GetRoleByAssigmentId ¶
func (_IWorkerHub *IWorkerHubCaller) GetRoleByAssigmentId(opts *bind.CallOpts, _assignmentId *big.Int) (uint8, error)
GetRoleByAssigmentId is a free data retrieval call binding the contract method 0xca0c80fc.
Solidity: function getRoleByAssigmentId(uint256 _assignmentId) view returns(uint8)
func (*IWorkerHubCaller) InferenceNumber ¶
InferenceNumber is a free data retrieval call binding the contract method 0xf80dca98.
Solidity: function inferenceNumber() view returns(uint256)
func (*IWorkerHubCaller) IsAssignmentPending ¶
func (_IWorkerHub *IWorkerHubCaller) IsAssignmentPending(opts *bind.CallOpts, _assignmentId *big.Int) (bool, error)
IsAssignmentPending is a free data retrieval call binding the contract method 0x57a38def.
Solidity: function isAssignmentPending(uint256 _assignmentId) view returns(bool)
func (*IWorkerHubCaller) IsReferrer ¶
func (_IWorkerHub *IWorkerHubCaller) IsReferrer(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsReferrer is a free data retrieval call binding the contract method 0xd64d6968.
Solidity: function isReferrer(address ) view returns(bool)
func (*IWorkerHubCaller) L2Owner ¶
L2Owner is a free data retrieval call binding the contract method 0xf003a0c5.
Solidity: function l2Owner() view returns(address)
func (*IWorkerHubCaller) LastBlock ¶
LastBlock is a free data retrieval call binding the contract method 0x806b984f.
Solidity: function lastBlock() view returns(uint256)
func (*IWorkerHubCaller) MaximumTier ¶
func (_IWorkerHub *IWorkerHubCaller) MaximumTier(opts *bind.CallOpts) (uint16, error)
MaximumTier is a free data retrieval call binding the contract method 0x0716187f.
Solidity: function maximumTier() view returns(uint16)
func (*IWorkerHubCaller) MinFeeToUse ¶
MinFeeToUse is a free data retrieval call binding the contract method 0x2a1a8ca8.
Solidity: function minFeeToUse() view returns(uint256)
func (*IWorkerHubCaller) MinerMinimumStake ¶
MinerMinimumStake is a free data retrieval call binding the contract method 0x3304f456.
Solidity: function minerMinimumStake() view returns(uint256)
func (*IWorkerHubCaller) MinerRequirement ¶
func (_IWorkerHub *IWorkerHubCaller) MinerRequirement(opts *bind.CallOpts) (uint8, error)
MinerRequirement is a free data retrieval call binding the contract method 0xdd9b9766.
Solidity: function minerRequirement() view returns(uint8)
func (*IWorkerHubCaller) MinerUnstakeRequests ¶
func (_IWorkerHub *IWorkerHubCaller) MinerUnstakeRequests(opts *bind.CallOpts, arg0 common.Address) (struct { Stake *big.Int UnlockAt *big.Int }, error)
MinerUnstakeRequests is a free data retrieval call binding the contract method 0x191a54d8.
Solidity: function minerUnstakeRequests(address ) view returns(uint256 stake, uint40 unlockAt)
func (*IWorkerHubCaller) Miners ¶
func (_IWorkerHub *IWorkerHubCaller) Miners(opts *bind.CallOpts, arg0 common.Address) (struct { Stake *big.Int Commitment *big.Int ModelAddress common.Address LastClaimedEpoch *big.Int ActiveTime *big.Int Tier uint16 }, error)
Miners is a free data retrieval call binding the contract method 0x648ec7b9.
Solidity: function miners(address ) view returns(uint256 stake, uint256 commitment, address modelAddress, uint40 lastClaimedEpoch, uint40 activeTime, uint16 tier)
func (*IWorkerHubCaller) ModelScoring ¶
ModelScoring is a free data retrieval call binding the contract method 0xfe0503c0.
Solidity: function modelScoring() view returns(address)
func (*IWorkerHubCaller) Models ¶
func (_IWorkerHub *IWorkerHubCaller) Models(opts *bind.CallOpts, arg0 common.Address) (struct { MinimumFee *big.Int Tier uint32 }, error)
Models is a free data retrieval call binding the contract method 0x54917f83.
Solidity: function models(address ) view returns(uint256 minimumFee, uint32 tier)
func (*IWorkerHubCaller) Multiplier ¶
func (_IWorkerHub *IWorkerHubCaller) Multiplier(opts *bind.CallOpts, _miner common.Address) (*big.Int, error)
Multiplier is a free data retrieval call binding the contract method 0xa9b3f8b7.
Solidity: function multiplier(address _miner) view returns(uint256)
func (*IWorkerHubCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IWorkerHubCaller) Paused ¶
func (_IWorkerHub *IWorkerHubCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*IWorkerHubCaller) PenaltyDuration ¶
PenaltyDuration is a free data retrieval call binding the contract method 0x5aa1326c.
Solidity: function penaltyDuration() view returns(uint40)
func (*IWorkerHubCaller) RevealDuration ¶
RevealDuration is a free data retrieval call binding the contract method 0x886a6de1.
Solidity: function revealDuration() view returns(uint40)
func (*IWorkerHubCaller) RewardInEpoch ¶
func (_IWorkerHub *IWorkerHubCaller) RewardInEpoch(opts *bind.CallOpts, arg0 *big.Int) (struct { PerfReward *big.Int EpochReward *big.Int TotalTaskCompleted *big.Int TotalMiner *big.Int }, error)
RewardInEpoch is a free data retrieval call binding the contract method 0x652ff159.
Solidity: function rewardInEpoch(uint256 ) view returns(uint256 perfReward, uint256 epochReward, uint256 totalTaskCompleted, uint256 totalMiner)
func (*IWorkerHubCaller) RewardPerEpoch ¶
RewardPerEpoch is a free data retrieval call binding the contract method 0x84449a9d.
Solidity: function rewardPerEpoch() view returns(uint256)
func (*IWorkerHubCaller) SubmitDuration ¶
SubmitDuration is a free data retrieval call binding the contract method 0xcc56b6f8.
Solidity: function submitDuration() view returns(uint40)
func (*IWorkerHubCaller) Treasury ¶
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*IWorkerHubCaller) UnstakeDelayTime ¶
UnstakeDelayTime is a free data retrieval call binding the contract method 0xe4fefd65.
Solidity: function unstakeDelayTime() view returns(uint40)
func (*IWorkerHubCaller) ValidateDAOSupplyIncrease ¶
func (_IWorkerHub *IWorkerHubCaller) ValidateDAOSupplyIncrease(opts *bind.CallOpts, _isReferred bool) (bool, error)
ValidateDAOSupplyIncrease is a free data retrieval call binding the contract method 0xd7acb1ea.
Solidity: function validateDAOSupplyIncrease(bool _isReferred) view returns(bool notReachedLimit)
func (*IWorkerHubCaller) Version ¶
func (_IWorkerHub *IWorkerHubCaller) Version(opts *bind.CallOpts) (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
func (*IWorkerHubCaller) VotingInfo ¶
func (_IWorkerHub *IWorkerHubCaller) VotingInfo(opts *bind.CallOpts, inferId *big.Int) (struct { TotalCommit uint8 TotalReveal uint8 }, error)
VotingInfo is a free data retrieval call binding the contract method 0xe5309a66.
Solidity: function votingInfo(uint256 inferId) view returns(uint8 totalCommit, uint8 totalReveal)
func (*IWorkerHubCaller) WEAI ¶
WEAI is a free data retrieval call binding the contract method 0x0dc7df53.
Solidity: function wEAI() view returns(address)
func (*IWorkerHubCaller) WorkerHubScoring ¶
WorkerHubScoring is a free data retrieval call binding the contract method 0x2b426301.
Solidity: function workerHubScoring() view returns(address)
type IWorkerHubCallerRaw ¶
type IWorkerHubCallerRaw struct {
Contract *IWorkerHubCaller // Generic read-only contract binding to access the raw methods on
}
IWorkerHubCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IWorkerHubCallerRaw) Call ¶
func (_IWorkerHub *IWorkerHubCallerRaw) 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 IWorkerHubCallerSession ¶
type IWorkerHubCallerSession struct { Contract *IWorkerHubCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IWorkerHubCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IWorkerHubCallerSession) AssignmentNumber ¶
func (_IWorkerHub *IWorkerHubCallerSession) AssignmentNumber() (*big.Int, error)
AssignmentNumber is a free data retrieval call binding the contract method 0x6973d3f2.
Solidity: function assignmentNumber() view returns(uint256)
func (*IWorkerHubCallerSession) Assignments ¶
func (_IWorkerHub *IWorkerHubCallerSession) Assignments(arg0 *big.Int) (struct { InferenceId *big.Int Commitment [32]byte Digest [32]byte RevealNonce *big.Int Worker common.Address Role uint8 Vote uint8 Output []byte }, error)
Assignments is a free data retrieval call binding the contract method 0x4e50c75c.
Solidity: function assignments(uint256 ) view returns(uint256 inferenceId, bytes32 commitment, bytes32 digest, uint40 revealNonce, address worker, uint8 role, uint8 vote, bytes output)
func (*IWorkerHubCallerSession) BlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubCallerSession) BlocksPerEpoch() (*big.Int, error)
BlocksPerEpoch is a free data retrieval call binding the contract method 0xf0682054.
Solidity: function blocksPerEpoch() view returns(uint256)
func (*IWorkerHubCallerSession) CommitDuration ¶
func (_IWorkerHub *IWorkerHubCallerSession) CommitDuration() (*big.Int, error)
CommitDuration is a free data retrieval call binding the contract method 0x6f833811.
Solidity: function commitDuration() view returns(uint40)
func (*IWorkerHubCallerSession) CurrentEpoch ¶
func (_IWorkerHub *IWorkerHubCallerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint40)
func (*IWorkerHubCallerSession) DaoReceiversInfo ¶
func (_IWorkerHub *IWorkerHubCallerSession) DaoReceiversInfo(inferId *big.Int, arg1 *big.Int) (struct { Receiver common.Address Amount *big.Int Role uint8 }, error)
DaoReceiversInfo is a free data retrieval call binding the contract method 0x61d52cf7.
Solidity: function daoReceiversInfo(uint256 inferId, uint256 ) view returns(address receiver, uint256 amount, uint8 role)
func (*IWorkerHubCallerSession) DaoToken ¶
func (_IWorkerHub *IWorkerHubCallerSession) DaoToken() (common.Address, error)
DaoToken is a free data retrieval call binding the contract method 0x4914b030.
Solidity: function daoToken() view returns(address)
func (*IWorkerHubCallerSession) DaoTokenPercentage ¶
func (_IWorkerHub *IWorkerHubCallerSession) DaoTokenPercentage() (struct { MinerPercentage uint16 UserPercentage uint16 ReferrerPercentage uint16 RefereePercentage uint16 L2OwnerPercentage uint16 }, error)
DaoTokenPercentage is a free data retrieval call binding the contract method 0xff5db406.
Solidity: function daoTokenPercentage() view returns(uint16 minerPercentage, uint16 userPercentage, uint16 referrerPercentage, uint16 refereePercentage, uint16 l2OwnerPercentage)
func (*IWorkerHubCallerSession) DaoTokenReward ¶
func (_IWorkerHub *IWorkerHubCallerSession) DaoTokenReward() (*big.Int, error)
DaoTokenReward is a free data retrieval call binding the contract method 0x0940c392.
Solidity: function daoTokenReward() view returns(uint256)
func (*IWorkerHubCallerSession) FeeL2Percentage ¶
func (_IWorkerHub *IWorkerHubCallerSession) FeeL2Percentage() (uint16, error)
FeeL2Percentage is a free data retrieval call binding the contract method 0x39d2e296.
Solidity: function feeL2Percentage() view returns(uint16)
func (*IWorkerHubCallerSession) FeeRatioMinerValidator ¶
func (_IWorkerHub *IWorkerHubCallerSession) FeeRatioMinerValidator() (uint16, error)
FeeRatioMinerValidator is a free data retrieval call binding the contract method 0x50eac7c8.
Solidity: function feeRatioMinerValidator() view returns(uint16)
func (*IWorkerHubCallerSession) FeeTreasuryPercentage ¶
func (_IWorkerHub *IWorkerHubCallerSession) FeeTreasuryPercentage() (uint16, error)
FeeTreasuryPercentage is a free data retrieval call binding the contract method 0x09c83b4f.
Solidity: function feeTreasuryPercentage() view returns(uint16)
func (*IWorkerHubCallerSession) FinePercentage ¶
func (_IWorkerHub *IWorkerHubCallerSession) FinePercentage() (uint16, error)
FinePercentage is a free data retrieval call binding the contract method 0x74172795.
Solidity: function finePercentage() view returns(uint16)
func (*IWorkerHubCallerSession) GetAllAssignments ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetAllAssignments(startId *big.Int, count *big.Int) ([]IWorkerHubAssignment, error)
GetAllAssignments is a free data retrieval call binding the contract method 0x16d0a88f.
Solidity: function getAllAssignments(uint256 startId, uint256 count) view returns((uint256,bytes32,bytes32,uint40,address,uint8,uint8,bytes)[] assignmentData)
func (*IWorkerHubCallerSession) GetAllInferences ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetAllInferences(startId *big.Int, count *big.Int) ([]IWorkerHubInference, error)
GetAllInferences is a free data retrieval call binding the contract method 0xf1ea45e3.
Solidity: function getAllInferences(uint256 startId, uint256 count) view returns((uint256[],bytes,uint256,uint256,uint256,address,uint40,uint40,uint40,uint8,address,address,address)[] inferenceData)
func (*IWorkerHubCallerSession) GetAllMinerUnstakeRequests ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetAllMinerUnstakeRequests() (struct { UnstakeAddresses []common.Address UnstakeRequests []IWorkerHubUnstakeRequest }, error)
GetAllMinerUnstakeRequests is a free data retrieval call binding the contract method 0x9280f078.
Solidity: function getAllMinerUnstakeRequests() view returns(address[] unstakeAddresses, (uint256,uint40)[] unstakeRequests)
func (*IWorkerHubCallerSession) GetAllMiners ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetAllMiners() ([]IWorkerHubWorker, error)
GetAllMiners is a free data retrieval call binding the contract method 0x4b17bf30.
Solidity: function getAllMiners() view returns((uint256,uint256,address,uint40,uint40,uint16)[] minerData)
func (*IWorkerHubCallerSession) GetAssignmentByInferenceId ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetAssignmentByInferenceId(_inferId *big.Int) ([]IWorkerHubAssignment, error)
GetAssignmentByInferenceId is a free data retrieval call binding the contract method 0x19a9dc71.
Solidity: function getAssignmentByInferenceId(uint256 _inferId) view returns((uint256,bytes32,bytes32,uint40,address,uint8,uint8,bytes)[])
func (*IWorkerHubCallerSession) GetAssignmentByMiner ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetAssignmentByMiner(_minerAddr common.Address) ([]IWorkerHubAssignmentInfo, error)
GetAssignmentByMiner is a free data retrieval call binding the contract method 0x5937e5ed.
Solidity: function getAssignmentByMiner(address _minerAddr) view returns((uint256,uint256,uint256,bytes,address,address,uint40,uint40,uint40)[])
func (*IWorkerHubCallerSession) GetInferenceInfo ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetInferenceInfo(_inferenceId *big.Int) (IWorkerHubInference, error)
GetInferenceInfo is a free data retrieval call binding the contract method 0x08c05903.
Solidity: function getInferenceInfo(uint256 _inferenceId) view returns((uint256[],bytes,uint256,uint256,uint256,address,uint40,uint40,uint40,uint8,address,address,address))
func (*IWorkerHubCallerSession) GetMinFeeToUse ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetMinFeeToUse(_modelAddress common.Address) (*big.Int, error)
GetMinFeeToUse is a free data retrieval call binding the contract method 0xafc1fce7.
Solidity: function getMinFeeToUse(address _modelAddress) view returns(uint256)
func (*IWorkerHubCallerSession) GetMinerAddresses ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetMinerAddresses() ([]common.Address, error)
GetMinerAddresses is a free data retrieval call binding the contract method 0xe8d6f2f1.
Solidity: function getMinerAddresses() view returns(address[])
func (*IWorkerHubCallerSession) GetMinerAddressesOfModel ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetMinerAddressesOfModel(_model common.Address) ([]common.Address, error)
GetMinerAddressesOfModel is a free data retrieval call binding the contract method 0x47253baa.
Solidity: function getMinerAddressesOfModel(address _model) view returns(address[])
func (*IWorkerHubCallerSession) GetMiners ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetMiners() ([]IWorkerHubWorkerInfo, error)
GetMiners is a free data retrieval call binding the contract method 0x1633da6e.
Solidity: function getMiners() view returns((address,uint256,uint256,address,uint40,uint40,uint16)[])
func (*IWorkerHubCallerSession) GetMintingAssignmentsOfInference ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetMintingAssignmentsOfInference(_inferenceId *big.Int) ([]IWorkerHubAssignmentInfo, error)
GetMintingAssignmentsOfInference is a free data retrieval call binding the contract method 0x5eec7b20.
Solidity: function getMintingAssignmentsOfInference(uint256 _inferenceId) view returns((uint256,uint256,uint256,bytes,address,address,uint40,uint40,uint40)[])
func (*IWorkerHubCallerSession) GetModelAddresses ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetModelAddresses() ([]common.Address, error)
GetModelAddresses is a free data retrieval call binding the contract method 0x9ae49cd3.
Solidity: function getModelAddresses() view returns(address[])
func (*IWorkerHubCallerSession) GetNOMiner ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetNOMiner() (*big.Int, error)
GetNOMiner is a free data retrieval call binding the contract method 0xd2d89be8.
Solidity: function getNOMiner() view returns(uint256)
func (*IWorkerHubCallerSession) GetRoleByAssigmentId ¶
func (_IWorkerHub *IWorkerHubCallerSession) GetRoleByAssigmentId(_assignmentId *big.Int) (uint8, error)
GetRoleByAssigmentId is a free data retrieval call binding the contract method 0xca0c80fc.
Solidity: function getRoleByAssigmentId(uint256 _assignmentId) view returns(uint8)
func (*IWorkerHubCallerSession) InferenceNumber ¶
func (_IWorkerHub *IWorkerHubCallerSession) InferenceNumber() (*big.Int, error)
InferenceNumber is a free data retrieval call binding the contract method 0xf80dca98.
Solidity: function inferenceNumber() view returns(uint256)
func (*IWorkerHubCallerSession) IsAssignmentPending ¶
func (_IWorkerHub *IWorkerHubCallerSession) IsAssignmentPending(_assignmentId *big.Int) (bool, error)
IsAssignmentPending is a free data retrieval call binding the contract method 0x57a38def.
Solidity: function isAssignmentPending(uint256 _assignmentId) view returns(bool)
func (*IWorkerHubCallerSession) IsReferrer ¶
func (_IWorkerHub *IWorkerHubCallerSession) IsReferrer(arg0 common.Address) (bool, error)
IsReferrer is a free data retrieval call binding the contract method 0xd64d6968.
Solidity: function isReferrer(address ) view returns(bool)
func (*IWorkerHubCallerSession) L2Owner ¶
func (_IWorkerHub *IWorkerHubCallerSession) L2Owner() (common.Address, error)
L2Owner is a free data retrieval call binding the contract method 0xf003a0c5.
Solidity: function l2Owner() view returns(address)
func (*IWorkerHubCallerSession) LastBlock ¶
func (_IWorkerHub *IWorkerHubCallerSession) LastBlock() (*big.Int, error)
LastBlock is a free data retrieval call binding the contract method 0x806b984f.
Solidity: function lastBlock() view returns(uint256)
func (*IWorkerHubCallerSession) MaximumTier ¶
func (_IWorkerHub *IWorkerHubCallerSession) MaximumTier() (uint16, error)
MaximumTier is a free data retrieval call binding the contract method 0x0716187f.
Solidity: function maximumTier() view returns(uint16)
func (*IWorkerHubCallerSession) MinFeeToUse ¶
func (_IWorkerHub *IWorkerHubCallerSession) MinFeeToUse() (*big.Int, error)
MinFeeToUse is a free data retrieval call binding the contract method 0x2a1a8ca8.
Solidity: function minFeeToUse() view returns(uint256)
func (*IWorkerHubCallerSession) MinerMinimumStake ¶
func (_IWorkerHub *IWorkerHubCallerSession) MinerMinimumStake() (*big.Int, error)
MinerMinimumStake is a free data retrieval call binding the contract method 0x3304f456.
Solidity: function minerMinimumStake() view returns(uint256)
func (*IWorkerHubCallerSession) MinerRequirement ¶
func (_IWorkerHub *IWorkerHubCallerSession) MinerRequirement() (uint8, error)
MinerRequirement is a free data retrieval call binding the contract method 0xdd9b9766.
Solidity: function minerRequirement() view returns(uint8)
func (*IWorkerHubCallerSession) MinerUnstakeRequests ¶
func (_IWorkerHub *IWorkerHubCallerSession) MinerUnstakeRequests(arg0 common.Address) (struct { Stake *big.Int UnlockAt *big.Int }, error)
MinerUnstakeRequests is a free data retrieval call binding the contract method 0x191a54d8.
Solidity: function minerUnstakeRequests(address ) view returns(uint256 stake, uint40 unlockAt)
func (*IWorkerHubCallerSession) Miners ¶
func (_IWorkerHub *IWorkerHubCallerSession) Miners(arg0 common.Address) (struct { Stake *big.Int Commitment *big.Int ModelAddress common.Address LastClaimedEpoch *big.Int ActiveTime *big.Int Tier uint16 }, error)
Miners is a free data retrieval call binding the contract method 0x648ec7b9.
Solidity: function miners(address ) view returns(uint256 stake, uint256 commitment, address modelAddress, uint40 lastClaimedEpoch, uint40 activeTime, uint16 tier)
func (*IWorkerHubCallerSession) ModelScoring ¶
func (_IWorkerHub *IWorkerHubCallerSession) ModelScoring() (common.Address, error)
ModelScoring is a free data retrieval call binding the contract method 0xfe0503c0.
Solidity: function modelScoring() view returns(address)
func (*IWorkerHubCallerSession) Models ¶
func (_IWorkerHub *IWorkerHubCallerSession) Models(arg0 common.Address) (struct { MinimumFee *big.Int Tier uint32 }, error)
Models is a free data retrieval call binding the contract method 0x54917f83.
Solidity: function models(address ) view returns(uint256 minimumFee, uint32 tier)
func (*IWorkerHubCallerSession) Multiplier ¶
Multiplier is a free data retrieval call binding the contract method 0xa9b3f8b7.
Solidity: function multiplier(address _miner) view returns(uint256)
func (*IWorkerHubCallerSession) Owner ¶
func (_IWorkerHub *IWorkerHubCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IWorkerHubCallerSession) Paused ¶
func (_IWorkerHub *IWorkerHubCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*IWorkerHubCallerSession) PenaltyDuration ¶
func (_IWorkerHub *IWorkerHubCallerSession) PenaltyDuration() (*big.Int, error)
PenaltyDuration is a free data retrieval call binding the contract method 0x5aa1326c.
Solidity: function penaltyDuration() view returns(uint40)
func (*IWorkerHubCallerSession) RevealDuration ¶
func (_IWorkerHub *IWorkerHubCallerSession) RevealDuration() (*big.Int, error)
RevealDuration is a free data retrieval call binding the contract method 0x886a6de1.
Solidity: function revealDuration() view returns(uint40)
func (*IWorkerHubCallerSession) RewardInEpoch ¶
func (_IWorkerHub *IWorkerHubCallerSession) RewardInEpoch(arg0 *big.Int) (struct { PerfReward *big.Int EpochReward *big.Int TotalTaskCompleted *big.Int TotalMiner *big.Int }, error)
RewardInEpoch is a free data retrieval call binding the contract method 0x652ff159.
Solidity: function rewardInEpoch(uint256 ) view returns(uint256 perfReward, uint256 epochReward, uint256 totalTaskCompleted, uint256 totalMiner)
func (*IWorkerHubCallerSession) RewardPerEpoch ¶
func (_IWorkerHub *IWorkerHubCallerSession) RewardPerEpoch() (*big.Int, error)
RewardPerEpoch is a free data retrieval call binding the contract method 0x84449a9d.
Solidity: function rewardPerEpoch() view returns(uint256)
func (*IWorkerHubCallerSession) SubmitDuration ¶
func (_IWorkerHub *IWorkerHubCallerSession) SubmitDuration() (*big.Int, error)
SubmitDuration is a free data retrieval call binding the contract method 0xcc56b6f8.
Solidity: function submitDuration() view returns(uint40)
func (*IWorkerHubCallerSession) Treasury ¶
func (_IWorkerHub *IWorkerHubCallerSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*IWorkerHubCallerSession) UnstakeDelayTime ¶
func (_IWorkerHub *IWorkerHubCallerSession) UnstakeDelayTime() (*big.Int, error)
UnstakeDelayTime is a free data retrieval call binding the contract method 0xe4fefd65.
Solidity: function unstakeDelayTime() view returns(uint40)
func (*IWorkerHubCallerSession) ValidateDAOSupplyIncrease ¶
func (_IWorkerHub *IWorkerHubCallerSession) ValidateDAOSupplyIncrease(_isReferred bool) (bool, error)
ValidateDAOSupplyIncrease is a free data retrieval call binding the contract method 0xd7acb1ea.
Solidity: function validateDAOSupplyIncrease(bool _isReferred) view returns(bool notReachedLimit)
func (*IWorkerHubCallerSession) Version ¶
func (_IWorkerHub *IWorkerHubCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
func (*IWorkerHubCallerSession) VotingInfo ¶
func (_IWorkerHub *IWorkerHubCallerSession) VotingInfo(inferId *big.Int) (struct { TotalCommit uint8 TotalReveal uint8 }, error)
VotingInfo is a free data retrieval call binding the contract method 0xe5309a66.
Solidity: function votingInfo(uint256 inferId) view returns(uint8 totalCommit, uint8 totalReveal)
func (*IWorkerHubCallerSession) WEAI ¶
func (_IWorkerHub *IWorkerHubCallerSession) WEAI() (common.Address, error)
WEAI is a free data retrieval call binding the contract method 0x0dc7df53.
Solidity: function wEAI() view returns(address)
func (*IWorkerHubCallerSession) WorkerHubScoring ¶
func (_IWorkerHub *IWorkerHubCallerSession) WorkerHubScoring() (common.Address, error)
WorkerHubScoring is a free data retrieval call binding the contract method 0x2b426301.
Solidity: function workerHubScoring() view returns(address)
type IWorkerHubCommitDuration ¶
type IWorkerHubCommitDuration struct { OldTime *big.Int NewTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubCommitDuration represents a CommitDuration event raised by the IWorkerHub contract.
type IWorkerHubCommitDurationIterator ¶
type IWorkerHubCommitDurationIterator struct { Event *IWorkerHubCommitDuration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubCommitDurationIterator is returned from FilterCommitDuration and is used to iterate over the raw logs and unpacked data for CommitDuration events raised by the IWorkerHub contract.
func (*IWorkerHubCommitDurationIterator) Close ¶
func (it *IWorkerHubCommitDurationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubCommitDurationIterator) Error ¶
func (it *IWorkerHubCommitDurationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubCommitDurationIterator) Next ¶
func (it *IWorkerHubCommitDurationIterator) 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 IWorkerHubCommitmentSubmission ¶
type IWorkerHubCommitmentSubmission struct { Miner common.Address AssigmentId *big.Int Commitment [32]byte Raw types.Log // Blockchain specific contextual infos }
IWorkerHubCommitmentSubmission represents a CommitmentSubmission event raised by the IWorkerHub contract.
type IWorkerHubCommitmentSubmissionIterator ¶
type IWorkerHubCommitmentSubmissionIterator struct { Event *IWorkerHubCommitmentSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubCommitmentSubmissionIterator is returned from FilterCommitmentSubmission and is used to iterate over the raw logs and unpacked data for CommitmentSubmission events raised by the IWorkerHub contract.
func (*IWorkerHubCommitmentSubmissionIterator) Close ¶
func (it *IWorkerHubCommitmentSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubCommitmentSubmissionIterator) Error ¶
func (it *IWorkerHubCommitmentSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubCommitmentSubmissionIterator) Next ¶
func (it *IWorkerHubCommitmentSubmissionIterator) 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 IWorkerHubDAOTokenMintedV2 ¶
type IWorkerHubDAOTokenMintedV2 struct { ChainId *big.Int InferenceId *big.Int ModelAddress common.Address Receivers []IWorkerHubDAOTokenReceiverInfor Raw types.Log // Blockchain specific contextual infos }
IWorkerHubDAOTokenMintedV2 represents a DAOTokenMintedV2 event raised by the IWorkerHub contract.
type IWorkerHubDAOTokenMintedV2Iterator ¶
type IWorkerHubDAOTokenMintedV2Iterator struct { Event *IWorkerHubDAOTokenMintedV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubDAOTokenMintedV2Iterator is returned from FilterDAOTokenMintedV2 and is used to iterate over the raw logs and unpacked data for DAOTokenMintedV2 events raised by the IWorkerHub contract.
func (*IWorkerHubDAOTokenMintedV2Iterator) Close ¶
func (it *IWorkerHubDAOTokenMintedV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubDAOTokenMintedV2Iterator) Error ¶
func (it *IWorkerHubDAOTokenMintedV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubDAOTokenMintedV2Iterator) Next ¶
func (it *IWorkerHubDAOTokenMintedV2Iterator) 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 IWorkerHubDAOTokenPercentage ¶
type IWorkerHubDAOTokenPercentage struct { MinerPercentage uint16 UserPercentage uint16 ReferrerPercentage uint16 RefereePercentage uint16 L2OwnerPercentage uint16 }
IWorkerHubDAOTokenPercentage is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubDAOTokenPercentageUpdated ¶
type IWorkerHubDAOTokenPercentageUpdated struct { OldValue IWorkerHubDAOTokenPercentage NewValue IWorkerHubDAOTokenPercentage Raw types.Log // Blockchain specific contextual infos }
IWorkerHubDAOTokenPercentageUpdated represents a DAOTokenPercentageUpdated event raised by the IWorkerHub contract.
type IWorkerHubDAOTokenPercentageUpdatedIterator ¶
type IWorkerHubDAOTokenPercentageUpdatedIterator struct { Event *IWorkerHubDAOTokenPercentageUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubDAOTokenPercentageUpdatedIterator is returned from FilterDAOTokenPercentageUpdated and is used to iterate over the raw logs and unpacked data for DAOTokenPercentageUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubDAOTokenPercentageUpdatedIterator) Close ¶
func (it *IWorkerHubDAOTokenPercentageUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubDAOTokenPercentageUpdatedIterator) Error ¶
func (it *IWorkerHubDAOTokenPercentageUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubDAOTokenPercentageUpdatedIterator) Next ¶
func (it *IWorkerHubDAOTokenPercentageUpdatedIterator) 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 IWorkerHubDAOTokenReceiverInfor ¶
IWorkerHubDAOTokenReceiverInfor is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubDAOTokenRewardUpdated ¶
type IWorkerHubDAOTokenRewardUpdated struct { OldValue *big.Int NewValue *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubDAOTokenRewardUpdated represents a DAOTokenRewardUpdated event raised by the IWorkerHub contract.
type IWorkerHubDAOTokenRewardUpdatedIterator ¶
type IWorkerHubDAOTokenRewardUpdatedIterator struct { Event *IWorkerHubDAOTokenRewardUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubDAOTokenRewardUpdatedIterator is returned from FilterDAOTokenRewardUpdated and is used to iterate over the raw logs and unpacked data for DAOTokenRewardUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubDAOTokenRewardUpdatedIterator) Close ¶
func (it *IWorkerHubDAOTokenRewardUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubDAOTokenRewardUpdatedIterator) Error ¶
func (it *IWorkerHubDAOTokenRewardUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubDAOTokenRewardUpdatedIterator) Next ¶
func (it *IWorkerHubDAOTokenRewardUpdatedIterator) 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 IWorkerHubDAOTokenUpdated ¶
type IWorkerHubDAOTokenUpdated struct { OldAddress common.Address NewAddress common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubDAOTokenUpdated represents a DAOTokenUpdated event raised by the IWorkerHub contract.
type IWorkerHubDAOTokenUpdatedIterator ¶
type IWorkerHubDAOTokenUpdatedIterator struct { Event *IWorkerHubDAOTokenUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubDAOTokenUpdatedIterator is returned from FilterDAOTokenUpdated and is used to iterate over the raw logs and unpacked data for DAOTokenUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubDAOTokenUpdatedIterator) Close ¶
func (it *IWorkerHubDAOTokenUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubDAOTokenUpdatedIterator) Error ¶
func (it *IWorkerHubDAOTokenUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubDAOTokenUpdatedIterator) Next ¶
func (it *IWorkerHubDAOTokenUpdatedIterator) 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 IWorkerHubFilterer ¶
type IWorkerHubFilterer struct {
// contains filtered or unexported fields
}
IWorkerHubFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIWorkerHubFilterer ¶
func NewIWorkerHubFilterer(address common.Address, filterer bind.ContractFilterer) (*IWorkerHubFilterer, error)
NewIWorkerHubFilterer creates a new log filterer instance of IWorkerHub, bound to a specific deployed contract.
func (*IWorkerHubFilterer) FilterBlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterBlocksPerEpoch(opts *bind.FilterOpts) (*IWorkerHubBlocksPerEpochIterator, error)
FilterBlocksPerEpoch is a free log retrieval operation binding the contract event 0x3179ee2c3011a36d6d80a4b422f208df28ef9493d1d9ce1555b3116bd26ddb3d.
Solidity: event BlocksPerEpoch(uint256 oldBlocks, uint256 newBlocks)
func (*IWorkerHubFilterer) FilterCommitDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterCommitDuration(opts *bind.FilterOpts) (*IWorkerHubCommitDurationIterator, error)
FilterCommitDuration is a free log retrieval operation binding the contract event 0xc9bc20c9ff07142c58c480090e116ebe561a42316260069d619782bb38faf619.
Solidity: event CommitDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) FilterCommitmentSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterCommitmentSubmission(opts *bind.FilterOpts, miner []common.Address, assigmentId []*big.Int) (*IWorkerHubCommitmentSubmissionIterator, error)
FilterCommitmentSubmission is a free log retrieval operation binding the contract event 0x47a3511bbb68bfcf0b476106b3a5a5d5b8d7eb4205a28d6424a40fb19d9afa5b.
Solidity: event CommitmentSubmission(address indexed miner, uint256 indexed assigmentId, bytes32 commitment)
func (*IWorkerHubFilterer) FilterDAOTokenMintedV2 ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenMintedV2(opts *bind.FilterOpts) (*IWorkerHubDAOTokenMintedV2Iterator, error)
FilterDAOTokenMintedV2 is a free log retrieval operation binding the contract event 0x2faa16bd9d858bdbd007d15bb6ae06ff3f238c90433800dafb4c0f7e3f07a241.
Solidity: event DAOTokenMintedV2(uint256 chainId, uint256 inferenceId, address modelAddress, (address,uint256,uint8)[] receivers)
func (*IWorkerHubFilterer) FilterDAOTokenPercentageUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenPercentageUpdated(opts *bind.FilterOpts) (*IWorkerHubDAOTokenPercentageUpdatedIterator, error)
FilterDAOTokenPercentageUpdated is a free log retrieval operation binding the contract event 0xe217c132ca1c9e392a91d1b2eaeb42b77b8ff74a61c75974d05ffbbe6e00a16a.
Solidity: event DAOTokenPercentageUpdated((uint16,uint16,uint16,uint16,uint16) oldValue, (uint16,uint16,uint16,uint16,uint16) newValue)
func (*IWorkerHubFilterer) FilterDAOTokenRewardUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenRewardUpdated(opts *bind.FilterOpts) (*IWorkerHubDAOTokenRewardUpdatedIterator, error)
FilterDAOTokenRewardUpdated is a free log retrieval operation binding the contract event 0x454d79b61f30800ce19615c79c4f9a1eb892ed9372cf95ba71cbd2345f8fa9aa.
Solidity: event DAOTokenRewardUpdated(uint256 oldValue, uint256 newValue)
func (*IWorkerHubFilterer) FilterDAOTokenUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterDAOTokenUpdated(opts *bind.FilterOpts) (*IWorkerHubDAOTokenUpdatedIterator, error)
FilterDAOTokenUpdated is a free log retrieval operation binding the contract event 0x518cc1a1508767ac2e92e88727dbf2ace68f44768b3684e0ad2305f6db0cd8da.
Solidity: event DAOTokenUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) FilterFinePercentageUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterFinePercentageUpdated(opts *bind.FilterOpts) (*IWorkerHubFinePercentageUpdatedIterator, error)
FilterFinePercentageUpdated is a free log retrieval operation binding the contract event 0xcf2ba21ec685fb1baf4b5e5df96fd2da47ab299e7d95e586c7898f114b6c1269.
Solidity: event FinePercentageUpdated(uint16 oldPercent, uint16 newPercent)
func (*IWorkerHubFilterer) FilterFraudulentMinerPenalized ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterFraudulentMinerPenalized(opts *bind.FilterOpts, miner []common.Address, modelAddress []common.Address, treasury []common.Address) (*IWorkerHubFraudulentMinerPenalizedIterator, error)
FilterFraudulentMinerPenalized is a free log retrieval operation binding the contract event 0x63a49f9cdfcfe1fddc8bd7a881449dc97b664e888be5c2fdee7ca4a70b447e43.
Solidity: event FraudulentMinerPenalized(address indexed miner, address indexed modelAddress, address indexed treasury, uint256 fine)
func (*IWorkerHubFilterer) FilterInferenceStatusUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterInferenceStatusUpdate(opts *bind.FilterOpts, inferenceId []*big.Int) (*IWorkerHubInferenceStatusUpdateIterator, error)
FilterInferenceStatusUpdate is a free log retrieval operation binding the contract event 0xbc645ece538d7606c8ac26de30aef5fbd0ed2ee0c945f4e5d860da3e62781d50.
Solidity: event InferenceStatusUpdate(uint256 indexed inferenceId, uint8 newStatus)
func (*IWorkerHubFilterer) FilterInitialized ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterInitialized(opts *bind.FilterOpts) (*IWorkerHubInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IWorkerHubFilterer) FilterL2OwnerUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterL2OwnerUpdated(opts *bind.FilterOpts) (*IWorkerHubL2OwnerUpdatedIterator, error)
FilterL2OwnerUpdated is a free log retrieval operation binding the contract event 0x3cfa9fea14972d7cbbd0fddda517d4467bd2863f1d28e76fa4e0fe230a7bf274.
Solidity: event L2OwnerUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) FilterMinFeeToUseUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinFeeToUseUpdated(opts *bind.FilterOpts) (*IWorkerHubMinFeeToUseUpdatedIterator, error)
FilterMinFeeToUseUpdated is a free log retrieval operation binding the contract event 0x37bba2c63397e7d89baa40e3d0c29e309913eb87b9691bacb16dba509fad523c.
Solidity: event MinFeeToUseUpdated(uint256 oldValue, uint256 newValue)
func (*IWorkerHubFilterer) FilterMinerDeactivated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerDeactivated(opts *bind.FilterOpts, miner []common.Address, modelAddress []common.Address) (*IWorkerHubMinerDeactivatedIterator, error)
FilterMinerDeactivated is a free log retrieval operation binding the contract event 0x9335a7723b09748526d22902742e96812ad183ab52d86c2030fe407ff626e50d.
Solidity: event MinerDeactivated(address indexed miner, address indexed modelAddress, uint40 activeTime)
func (*IWorkerHubFilterer) FilterMinerExtraStake ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerExtraStake(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerExtraStakeIterator, error)
FilterMinerExtraStake is a free log retrieval operation binding the contract event 0x3d236e8f743e932a32c84d3114ce3e7ee0b75225cb3b39f72faac62495fd21c1.
Solidity: event MinerExtraStake(address indexed miner, uint256 value)
func (*IWorkerHubFilterer) FilterMinerJoin ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerJoin(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerJoinIterator, error)
FilterMinerJoin is a free log retrieval operation binding the contract event 0xb7041987154996ed34981c2bc6fbafd4b1fcab9964486d7cc386f0d8abcc5446.
Solidity: event MinerJoin(address indexed miner)
func (*IWorkerHubFilterer) FilterMinerRegistration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerRegistration(opts *bind.FilterOpts, miner []common.Address, tier []uint16) (*IWorkerHubMinerRegistrationIterator, error)
FilterMinerRegistration is a free log retrieval operation binding the contract event 0x55e488821080f3f5cdf6088b02793df0d26f40053a70b6154347d2ac313015a1.
Solidity: event MinerRegistration(address indexed miner, uint16 indexed tier, uint256 value)
func (*IWorkerHubFilterer) FilterMinerRoleSeized ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerRoleSeized(opts *bind.FilterOpts, assignmentId []*big.Int, inferenceId []*big.Int, miner []common.Address) (*IWorkerHubMinerRoleSeizedIterator, error)
FilterMinerRoleSeized is a free log retrieval operation binding the contract event 0x3d4f35957f03b76084f29d7c66d573fcec3d2e4bbc2844549e44bc1aed4c6c24.
Solidity: event MinerRoleSeized(uint256 indexed assignmentId, uint256 indexed inferenceId, address indexed miner)
func (*IWorkerHubFilterer) FilterMinerUnregistration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerUnregistration(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerUnregistrationIterator, error)
FilterMinerUnregistration is a free log retrieval operation binding the contract event 0x8f54596d72781f60dbf7dad7e576f06ce17bbda0bdf384463f7734f85f51498e.
Solidity: event MinerUnregistration(address indexed miner)
func (*IWorkerHubFilterer) FilterMinerUnstake ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMinerUnstake(opts *bind.FilterOpts, miner []common.Address) (*IWorkerHubMinerUnstakeIterator, error)
FilterMinerUnstake is a free log retrieval operation binding the contract event 0x1051154647682075e7cc0645853209e75208cb5acd862fc83f7fd0fcaa9624b4.
Solidity: event MinerUnstake(address indexed miner, uint256 stake)
func (*IWorkerHubFilterer) FilterMiningTimeLimitUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterMiningTimeLimitUpdate(opts *bind.FilterOpts) (*IWorkerHubMiningTimeLimitUpdateIterator, error)
FilterMiningTimeLimitUpdate is a free log retrieval operation binding the contract event 0xd223a90576ecd9f418b264c3465ab13fad46f62b72bf17dca91af5dc8b7e55a8.
Solidity: event MiningTimeLimitUpdate(uint40 newValue)
func (*IWorkerHubFilterer) FilterModelMinimumFeeUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterModelMinimumFeeUpdate(opts *bind.FilterOpts, model []common.Address) (*IWorkerHubModelMinimumFeeUpdateIterator, error)
FilterModelMinimumFeeUpdate is a free log retrieval operation binding the contract event 0x923b5fe9c9974b3c93e434ae744faaa60ec86513c02614da5c8d9c51eda2bdd7.
Solidity: event ModelMinimumFeeUpdate(address indexed model, uint256 minimumFee)
func (*IWorkerHubFilterer) FilterModelRegistration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterModelRegistration(opts *bind.FilterOpts, model []common.Address, tier []uint16) (*IWorkerHubModelRegistrationIterator, error)
FilterModelRegistration is a free log retrieval operation binding the contract event 0x7041913a4cb21c28c931da9d9e4b5ed0ad84e47fcf2a65527f03c438d534ed5c.
Solidity: event ModelRegistration(address indexed model, uint16 indexed tier, uint256 minimumFee)
func (*IWorkerHubFilterer) FilterModelTierUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterModelTierUpdate(opts *bind.FilterOpts, model []common.Address) (*IWorkerHubModelTierUpdateIterator, error)
FilterModelTierUpdate is a free log retrieval operation binding the contract event 0x64905396482bb1067a551077143915c77b512b1cfea5db34c903943c1c2a5a15.
Solidity: event ModelTierUpdate(address indexed model, uint32 tier)
func (*IWorkerHubFilterer) FilterModelUnregistration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterModelUnregistration(opts *bind.FilterOpts, model []common.Address) (*IWorkerHubModelUnregistrationIterator, error)
FilterModelUnregistration is a free log retrieval operation binding the contract event 0x68180f49300b9177ab3b88d3f909a002abeb9c2f769543a93234ca68333582d7.
Solidity: event ModelUnregistration(address indexed model)
func (*IWorkerHubFilterer) FilterNewAssignment ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterNewAssignment(opts *bind.FilterOpts, assignmentId []*big.Int, inferenceId []*big.Int, miner []common.Address) (*IWorkerHubNewAssignmentIterator, error)
FilterNewAssignment is a free log retrieval operation binding the contract event 0x53cc8b652f33c56dac5f1c97a284cc971e7adcb8abe9454b0853f076c6deb7d5.
Solidity: event NewAssignment(uint256 indexed assignmentId, uint256 indexed inferenceId, address indexed miner, uint40 expiredAt)
func (*IWorkerHubFilterer) FilterNewInference ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterNewInference(opts *bind.FilterOpts, inferenceId []*big.Int, model []common.Address, creator []common.Address) (*IWorkerHubNewInferenceIterator, error)
FilterNewInference is a free log retrieval operation binding the contract event 0x08a84d7fb7cd1557f228c827b9280f44d1a157c3256fe453b687a7b9d51c6a5b.
Solidity: event NewInference(uint256 indexed inferenceId, address indexed model, address indexed creator, uint256 value, uint256 originInferenceId)
func (*IWorkerHubFilterer) FilterNewScoringInference ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterNewScoringInference(opts *bind.FilterOpts, inferenceId []*big.Int, model []common.Address, creator []common.Address) (*IWorkerHubNewScoringInferenceIterator, error)
FilterNewScoringInference is a free log retrieval operation binding the contract event 0x3ec54c04f8c304e8caa7314d1ac4d34bff1c57151f207745b19e6d8f0a579ea9.
Solidity: event NewScoringInference(uint256 indexed inferenceId, address indexed model, address indexed creator, uint256 value, uint256 originInferenceId)
func (*IWorkerHubFilterer) FilterOwnershipTransferred ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IWorkerHubOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IWorkerHubFilterer) FilterPaused ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterPaused(opts *bind.FilterOpts) (*IWorkerHubPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*IWorkerHubFilterer) FilterPenaltyDurationUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterPenaltyDurationUpdated(opts *bind.FilterOpts) (*IWorkerHubPenaltyDurationUpdatedIterator, error)
FilterPenaltyDurationUpdated is a free log retrieval operation binding the contract event 0xf7a437a25c636d2b29d0ba34f0f6870af14f44478eff2ac852f36030f2e2924e.
Solidity: event PenaltyDurationUpdated(uint40 oldDuration, uint40 newDuration)
func (*IWorkerHubFilterer) FilterRestake ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterRestake(opts *bind.FilterOpts, miner []common.Address, model []common.Address) (*IWorkerHubRestakeIterator, error)
FilterRestake is a free log retrieval operation binding the contract event 0x5f8a19f664e489b0ebcc62ec24b1bde029195fbb4af60118cecf0e16d6d95b2d.
Solidity: event Restake(address indexed miner, uint256 restake, address indexed model)
func (*IWorkerHubFilterer) FilterRevealDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterRevealDuration(opts *bind.FilterOpts) (*IWorkerHubRevealDurationIterator, error)
FilterRevealDuration is a free log retrieval operation binding the contract event 0xacb24019039b4d00193b2be5c85ea8ed6bd6747ed79f7d1e5a6d9384282b4a9d.
Solidity: event RevealDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) FilterRevealSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterRevealSubmission(opts *bind.FilterOpts, miner []common.Address, assigmentId []*big.Int) (*IWorkerHubRevealSubmissionIterator, error)
FilterRevealSubmission is a free log retrieval operation binding the contract event 0xf7e30468a493d9e17158c0dbe51bcfa190627e3fdede3c9284827c22dfc41700.
Solidity: event RevealSubmission(address indexed miner, uint256 indexed assigmentId, uint40 nonce, bytes output)
func (*IWorkerHubFilterer) FilterRewardClaim ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterRewardClaim(opts *bind.FilterOpts, worker []common.Address) (*IWorkerHubRewardClaimIterator, error)
FilterRewardClaim is a free log retrieval operation binding the contract event 0x75690555e75b04e280e646889defdcbefd8401507e5394d1173fd84290944c29.
Solidity: event RewardClaim(address indexed worker, uint256 value)
func (*IWorkerHubFilterer) FilterRewardPerEpoch ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterRewardPerEpoch(opts *bind.FilterOpts) (*IWorkerHubRewardPerEpochIterator, error)
FilterRewardPerEpoch is a free log retrieval operation binding the contract event 0x3d731857045dfa7982ed8ff308eeda54c7e156ba99609db02c50b4485f64c463.
Solidity: event RewardPerEpoch(uint256 oldReward, uint256 newReward)
func (*IWorkerHubFilterer) FilterSolutionSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterSolutionSubmission(opts *bind.FilterOpts, miner []common.Address, assigmentId []*big.Int) (*IWorkerHubSolutionSubmissionIterator, error)
FilterSolutionSubmission is a free log retrieval operation binding the contract event 0x9f669b92b9cbc7611f7ab6c77db07a424051c777433e21bd90f1bdf940096dd9.
Solidity: event SolutionSubmission(address indexed miner, uint256 indexed assigmentId)
func (*IWorkerHubFilterer) FilterStreamedData ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterStreamedData(opts *bind.FilterOpts, assignmentId []*big.Int) (*IWorkerHubStreamedDataIterator, error)
FilterStreamedData is a free log retrieval operation binding the contract event 0x23cfaa418b5f569ff36b152a9fd02ee3ccddaa5f7eed570e777a30353b68dc38.
Solidity: event StreamedData(uint256 indexed assignmentId, bytes data)
func (*IWorkerHubFilterer) FilterSubmitDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterSubmitDuration(opts *bind.FilterOpts) (*IWorkerHubSubmitDurationIterator, error)
FilterSubmitDuration is a free log retrieval operation binding the contract event 0x8c0ac957fb32132ec541e9495c4fe8f1d9fdb4dd19a02e7144659d4b382064f3.
Solidity: event SubmitDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) FilterTopUpInfer ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterTopUpInfer(opts *bind.FilterOpts, inferenceId []*big.Int, creator []common.Address) (*IWorkerHubTopUpInferIterator, error)
FilterTopUpInfer is a free log retrieval operation binding the contract event 0xe3154336ce264fe53bcfaedafded1428a28ae47b19b3d7a82e5d5ecde0960a57.
Solidity: event TopUpInfer(uint256 indexed inferenceId, address indexed creator, uint256 value)
func (*IWorkerHubFilterer) FilterTransferFee ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterTransferFee(opts *bind.FilterOpts, treasury []common.Address) (*IWorkerHubTransferFeeIterator, error)
FilterTransferFee is a free log retrieval operation binding the contract event 0x782aada659bac972b342fea00dfc27389e876bece89a9eb635bd5a2c544e8a6b.
Solidity: event TransferFee(address indexed treasury, uint256 treasuryFee, address L2OwnerAddress, uint256 L2OwnerFee)
func (*IWorkerHubFilterer) FilterTreasuryAddressUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterTreasuryAddressUpdated(opts *bind.FilterOpts) (*IWorkerHubTreasuryAddressUpdatedIterator, error)
FilterTreasuryAddressUpdated is a free log retrieval operation binding the contract event 0x430359a6d97ced2b6f93c77a91e7ce9dfd43252eb91e916adba170485cd8a6a4.
Solidity: event TreasuryAddressUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) FilterUnpaused ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterUnpaused(opts *bind.FilterOpts) (*IWorkerHubUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*IWorkerHubFilterer) FilterUnstakeDelayTime ¶
func (_IWorkerHub *IWorkerHubFilterer) FilterUnstakeDelayTime(opts *bind.FilterOpts) (*IWorkerHubUnstakeDelayTimeIterator, error)
FilterUnstakeDelayTime is a free log retrieval operation binding the contract event 0xdf63c46e5024e57c66aafc6698e317c78589c870dca694678c89dd379c5fd490.
Solidity: event UnstakeDelayTime(uint256 oldDelayTime, uint256 newDelayTime)
func (*IWorkerHubFilterer) ParseBlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseBlocksPerEpoch(log types.Log) (*IWorkerHubBlocksPerEpoch, error)
ParseBlocksPerEpoch is a log parse operation binding the contract event 0x3179ee2c3011a36d6d80a4b422f208df28ef9493d1d9ce1555b3116bd26ddb3d.
Solidity: event BlocksPerEpoch(uint256 oldBlocks, uint256 newBlocks)
func (*IWorkerHubFilterer) ParseCommitDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseCommitDuration(log types.Log) (*IWorkerHubCommitDuration, error)
ParseCommitDuration is a log parse operation binding the contract event 0xc9bc20c9ff07142c58c480090e116ebe561a42316260069d619782bb38faf619.
Solidity: event CommitDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) ParseCommitmentSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseCommitmentSubmission(log types.Log) (*IWorkerHubCommitmentSubmission, error)
ParseCommitmentSubmission is a log parse operation binding the contract event 0x47a3511bbb68bfcf0b476106b3a5a5d5b8d7eb4205a28d6424a40fb19d9afa5b.
Solidity: event CommitmentSubmission(address indexed miner, uint256 indexed assigmentId, bytes32 commitment)
func (*IWorkerHubFilterer) ParseDAOTokenMintedV2 ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenMintedV2(log types.Log) (*IWorkerHubDAOTokenMintedV2, error)
ParseDAOTokenMintedV2 is a log parse operation binding the contract event 0x2faa16bd9d858bdbd007d15bb6ae06ff3f238c90433800dafb4c0f7e3f07a241.
Solidity: event DAOTokenMintedV2(uint256 chainId, uint256 inferenceId, address modelAddress, (address,uint256,uint8)[] receivers)
func (*IWorkerHubFilterer) ParseDAOTokenPercentageUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenPercentageUpdated(log types.Log) (*IWorkerHubDAOTokenPercentageUpdated, error)
ParseDAOTokenPercentageUpdated is a log parse operation binding the contract event 0xe217c132ca1c9e392a91d1b2eaeb42b77b8ff74a61c75974d05ffbbe6e00a16a.
Solidity: event DAOTokenPercentageUpdated((uint16,uint16,uint16,uint16,uint16) oldValue, (uint16,uint16,uint16,uint16,uint16) newValue)
func (*IWorkerHubFilterer) ParseDAOTokenRewardUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenRewardUpdated(log types.Log) (*IWorkerHubDAOTokenRewardUpdated, error)
ParseDAOTokenRewardUpdated is a log parse operation binding the contract event 0x454d79b61f30800ce19615c79c4f9a1eb892ed9372cf95ba71cbd2345f8fa9aa.
Solidity: event DAOTokenRewardUpdated(uint256 oldValue, uint256 newValue)
func (*IWorkerHubFilterer) ParseDAOTokenUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseDAOTokenUpdated(log types.Log) (*IWorkerHubDAOTokenUpdated, error)
ParseDAOTokenUpdated is a log parse operation binding the contract event 0x518cc1a1508767ac2e92e88727dbf2ace68f44768b3684e0ad2305f6db0cd8da.
Solidity: event DAOTokenUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) ParseFinePercentageUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseFinePercentageUpdated(log types.Log) (*IWorkerHubFinePercentageUpdated, error)
ParseFinePercentageUpdated is a log parse operation binding the contract event 0xcf2ba21ec685fb1baf4b5e5df96fd2da47ab299e7d95e586c7898f114b6c1269.
Solidity: event FinePercentageUpdated(uint16 oldPercent, uint16 newPercent)
func (*IWorkerHubFilterer) ParseFraudulentMinerPenalized ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseFraudulentMinerPenalized(log types.Log) (*IWorkerHubFraudulentMinerPenalized, error)
ParseFraudulentMinerPenalized is a log parse operation binding the contract event 0x63a49f9cdfcfe1fddc8bd7a881449dc97b664e888be5c2fdee7ca4a70b447e43.
Solidity: event FraudulentMinerPenalized(address indexed miner, address indexed modelAddress, address indexed treasury, uint256 fine)
func (*IWorkerHubFilterer) ParseInferenceStatusUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseInferenceStatusUpdate(log types.Log) (*IWorkerHubInferenceStatusUpdate, error)
ParseInferenceStatusUpdate is a log parse operation binding the contract event 0xbc645ece538d7606c8ac26de30aef5fbd0ed2ee0c945f4e5d860da3e62781d50.
Solidity: event InferenceStatusUpdate(uint256 indexed inferenceId, uint8 newStatus)
func (*IWorkerHubFilterer) ParseInitialized ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseInitialized(log types.Log) (*IWorkerHubInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IWorkerHubFilterer) ParseL2OwnerUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseL2OwnerUpdated(log types.Log) (*IWorkerHubL2OwnerUpdated, error)
ParseL2OwnerUpdated is a log parse operation binding the contract event 0x3cfa9fea14972d7cbbd0fddda517d4467bd2863f1d28e76fa4e0fe230a7bf274.
Solidity: event L2OwnerUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) ParseMinFeeToUseUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinFeeToUseUpdated(log types.Log) (*IWorkerHubMinFeeToUseUpdated, error)
ParseMinFeeToUseUpdated is a log parse operation binding the contract event 0x37bba2c63397e7d89baa40e3d0c29e309913eb87b9691bacb16dba509fad523c.
Solidity: event MinFeeToUseUpdated(uint256 oldValue, uint256 newValue)
func (*IWorkerHubFilterer) ParseMinerDeactivated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerDeactivated(log types.Log) (*IWorkerHubMinerDeactivated, error)
ParseMinerDeactivated is a log parse operation binding the contract event 0x9335a7723b09748526d22902742e96812ad183ab52d86c2030fe407ff626e50d.
Solidity: event MinerDeactivated(address indexed miner, address indexed modelAddress, uint40 activeTime)
func (*IWorkerHubFilterer) ParseMinerExtraStake ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerExtraStake(log types.Log) (*IWorkerHubMinerExtraStake, error)
ParseMinerExtraStake is a log parse operation binding the contract event 0x3d236e8f743e932a32c84d3114ce3e7ee0b75225cb3b39f72faac62495fd21c1.
Solidity: event MinerExtraStake(address indexed miner, uint256 value)
func (*IWorkerHubFilterer) ParseMinerJoin ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerJoin(log types.Log) (*IWorkerHubMinerJoin, error)
ParseMinerJoin is a log parse operation binding the contract event 0xb7041987154996ed34981c2bc6fbafd4b1fcab9964486d7cc386f0d8abcc5446.
Solidity: event MinerJoin(address indexed miner)
func (*IWorkerHubFilterer) ParseMinerRegistration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerRegistration(log types.Log) (*IWorkerHubMinerRegistration, error)
ParseMinerRegistration is a log parse operation binding the contract event 0x55e488821080f3f5cdf6088b02793df0d26f40053a70b6154347d2ac313015a1.
Solidity: event MinerRegistration(address indexed miner, uint16 indexed tier, uint256 value)
func (*IWorkerHubFilterer) ParseMinerRoleSeized ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerRoleSeized(log types.Log) (*IWorkerHubMinerRoleSeized, error)
ParseMinerRoleSeized is a log parse operation binding the contract event 0x3d4f35957f03b76084f29d7c66d573fcec3d2e4bbc2844549e44bc1aed4c6c24.
Solidity: event MinerRoleSeized(uint256 indexed assignmentId, uint256 indexed inferenceId, address indexed miner)
func (*IWorkerHubFilterer) ParseMinerUnregistration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerUnregistration(log types.Log) (*IWorkerHubMinerUnregistration, error)
ParseMinerUnregistration is a log parse operation binding the contract event 0x8f54596d72781f60dbf7dad7e576f06ce17bbda0bdf384463f7734f85f51498e.
Solidity: event MinerUnregistration(address indexed miner)
func (*IWorkerHubFilterer) ParseMinerUnstake ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMinerUnstake(log types.Log) (*IWorkerHubMinerUnstake, error)
ParseMinerUnstake is a log parse operation binding the contract event 0x1051154647682075e7cc0645853209e75208cb5acd862fc83f7fd0fcaa9624b4.
Solidity: event MinerUnstake(address indexed miner, uint256 stake)
func (*IWorkerHubFilterer) ParseMiningTimeLimitUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseMiningTimeLimitUpdate(log types.Log) (*IWorkerHubMiningTimeLimitUpdate, error)
ParseMiningTimeLimitUpdate is a log parse operation binding the contract event 0xd223a90576ecd9f418b264c3465ab13fad46f62b72bf17dca91af5dc8b7e55a8.
Solidity: event MiningTimeLimitUpdate(uint40 newValue)
func (*IWorkerHubFilterer) ParseModelMinimumFeeUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseModelMinimumFeeUpdate(log types.Log) (*IWorkerHubModelMinimumFeeUpdate, error)
ParseModelMinimumFeeUpdate is a log parse operation binding the contract event 0x923b5fe9c9974b3c93e434ae744faaa60ec86513c02614da5c8d9c51eda2bdd7.
Solidity: event ModelMinimumFeeUpdate(address indexed model, uint256 minimumFee)
func (*IWorkerHubFilterer) ParseModelRegistration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseModelRegistration(log types.Log) (*IWorkerHubModelRegistration, error)
ParseModelRegistration is a log parse operation binding the contract event 0x7041913a4cb21c28c931da9d9e4b5ed0ad84e47fcf2a65527f03c438d534ed5c.
Solidity: event ModelRegistration(address indexed model, uint16 indexed tier, uint256 minimumFee)
func (*IWorkerHubFilterer) ParseModelTierUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseModelTierUpdate(log types.Log) (*IWorkerHubModelTierUpdate, error)
ParseModelTierUpdate is a log parse operation binding the contract event 0x64905396482bb1067a551077143915c77b512b1cfea5db34c903943c1c2a5a15.
Solidity: event ModelTierUpdate(address indexed model, uint32 tier)
func (*IWorkerHubFilterer) ParseModelUnregistration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseModelUnregistration(log types.Log) (*IWorkerHubModelUnregistration, error)
ParseModelUnregistration is a log parse operation binding the contract event 0x68180f49300b9177ab3b88d3f909a002abeb9c2f769543a93234ca68333582d7.
Solidity: event ModelUnregistration(address indexed model)
func (*IWorkerHubFilterer) ParseNewAssignment ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseNewAssignment(log types.Log) (*IWorkerHubNewAssignment, error)
ParseNewAssignment is a log parse operation binding the contract event 0x53cc8b652f33c56dac5f1c97a284cc971e7adcb8abe9454b0853f076c6deb7d5.
Solidity: event NewAssignment(uint256 indexed assignmentId, uint256 indexed inferenceId, address indexed miner, uint40 expiredAt)
func (*IWorkerHubFilterer) ParseNewInference ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseNewInference(log types.Log) (*IWorkerHubNewInference, error)
ParseNewInference is a log parse operation binding the contract event 0x08a84d7fb7cd1557f228c827b9280f44d1a157c3256fe453b687a7b9d51c6a5b.
Solidity: event NewInference(uint256 indexed inferenceId, address indexed model, address indexed creator, uint256 value, uint256 originInferenceId)
func (*IWorkerHubFilterer) ParseNewScoringInference ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseNewScoringInference(log types.Log) (*IWorkerHubNewScoringInference, error)
ParseNewScoringInference is a log parse operation binding the contract event 0x3ec54c04f8c304e8caa7314d1ac4d34bff1c57151f207745b19e6d8f0a579ea9.
Solidity: event NewScoringInference(uint256 indexed inferenceId, address indexed model, address indexed creator, uint256 value, uint256 originInferenceId)
func (*IWorkerHubFilterer) ParseOwnershipTransferred ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseOwnershipTransferred(log types.Log) (*IWorkerHubOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IWorkerHubFilterer) ParsePaused ¶
func (_IWorkerHub *IWorkerHubFilterer) ParsePaused(log types.Log) (*IWorkerHubPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*IWorkerHubFilterer) ParsePenaltyDurationUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParsePenaltyDurationUpdated(log types.Log) (*IWorkerHubPenaltyDurationUpdated, error)
ParsePenaltyDurationUpdated is a log parse operation binding the contract event 0xf7a437a25c636d2b29d0ba34f0f6870af14f44478eff2ac852f36030f2e2924e.
Solidity: event PenaltyDurationUpdated(uint40 oldDuration, uint40 newDuration)
func (*IWorkerHubFilterer) ParseRestake ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseRestake(log types.Log) (*IWorkerHubRestake, error)
ParseRestake is a log parse operation binding the contract event 0x5f8a19f664e489b0ebcc62ec24b1bde029195fbb4af60118cecf0e16d6d95b2d.
Solidity: event Restake(address indexed miner, uint256 restake, address indexed model)
func (*IWorkerHubFilterer) ParseRevealDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseRevealDuration(log types.Log) (*IWorkerHubRevealDuration, error)
ParseRevealDuration is a log parse operation binding the contract event 0xacb24019039b4d00193b2be5c85ea8ed6bd6747ed79f7d1e5a6d9384282b4a9d.
Solidity: event RevealDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) ParseRevealSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseRevealSubmission(log types.Log) (*IWorkerHubRevealSubmission, error)
ParseRevealSubmission is a log parse operation binding the contract event 0xf7e30468a493d9e17158c0dbe51bcfa190627e3fdede3c9284827c22dfc41700.
Solidity: event RevealSubmission(address indexed miner, uint256 indexed assigmentId, uint40 nonce, bytes output)
func (*IWorkerHubFilterer) ParseRewardClaim ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseRewardClaim(log types.Log) (*IWorkerHubRewardClaim, error)
ParseRewardClaim is a log parse operation binding the contract event 0x75690555e75b04e280e646889defdcbefd8401507e5394d1173fd84290944c29.
Solidity: event RewardClaim(address indexed worker, uint256 value)
func (*IWorkerHubFilterer) ParseRewardPerEpoch ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseRewardPerEpoch(log types.Log) (*IWorkerHubRewardPerEpoch, error)
ParseRewardPerEpoch is a log parse operation binding the contract event 0x3d731857045dfa7982ed8ff308eeda54c7e156ba99609db02c50b4485f64c463.
Solidity: event RewardPerEpoch(uint256 oldReward, uint256 newReward)
func (*IWorkerHubFilterer) ParseSolutionSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseSolutionSubmission(log types.Log) (*IWorkerHubSolutionSubmission, error)
ParseSolutionSubmission is a log parse operation binding the contract event 0x9f669b92b9cbc7611f7ab6c77db07a424051c777433e21bd90f1bdf940096dd9.
Solidity: event SolutionSubmission(address indexed miner, uint256 indexed assigmentId)
func (*IWorkerHubFilterer) ParseStreamedData ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseStreamedData(log types.Log) (*IWorkerHubStreamedData, error)
ParseStreamedData is a log parse operation binding the contract event 0x23cfaa418b5f569ff36b152a9fd02ee3ccddaa5f7eed570e777a30353b68dc38.
Solidity: event StreamedData(uint256 indexed assignmentId, bytes data)
func (*IWorkerHubFilterer) ParseSubmitDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseSubmitDuration(log types.Log) (*IWorkerHubSubmitDuration, error)
ParseSubmitDuration is a log parse operation binding the contract event 0x8c0ac957fb32132ec541e9495c4fe8f1d9fdb4dd19a02e7144659d4b382064f3.
Solidity: event SubmitDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) ParseTopUpInfer ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseTopUpInfer(log types.Log) (*IWorkerHubTopUpInfer, error)
ParseTopUpInfer is a log parse operation binding the contract event 0xe3154336ce264fe53bcfaedafded1428a28ae47b19b3d7a82e5d5ecde0960a57.
Solidity: event TopUpInfer(uint256 indexed inferenceId, address indexed creator, uint256 value)
func (*IWorkerHubFilterer) ParseTransferFee ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseTransferFee(log types.Log) (*IWorkerHubTransferFee, error)
ParseTransferFee is a log parse operation binding the contract event 0x782aada659bac972b342fea00dfc27389e876bece89a9eb635bd5a2c544e8a6b.
Solidity: event TransferFee(address indexed treasury, uint256 treasuryFee, address L2OwnerAddress, uint256 L2OwnerFee)
func (*IWorkerHubFilterer) ParseTreasuryAddressUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseTreasuryAddressUpdated(log types.Log) (*IWorkerHubTreasuryAddressUpdated, error)
ParseTreasuryAddressUpdated is a log parse operation binding the contract event 0x430359a6d97ced2b6f93c77a91e7ce9dfd43252eb91e916adba170485cd8a6a4.
Solidity: event TreasuryAddressUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) ParseUnpaused ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseUnpaused(log types.Log) (*IWorkerHubUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*IWorkerHubFilterer) ParseUnstakeDelayTime ¶
func (_IWorkerHub *IWorkerHubFilterer) ParseUnstakeDelayTime(log types.Log) (*IWorkerHubUnstakeDelayTime, error)
ParseUnstakeDelayTime is a log parse operation binding the contract event 0xdf63c46e5024e57c66aafc6698e317c78589c870dca694678c89dd379c5fd490.
Solidity: event UnstakeDelayTime(uint256 oldDelayTime, uint256 newDelayTime)
func (*IWorkerHubFilterer) WatchBlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchBlocksPerEpoch(opts *bind.WatchOpts, sink chan<- *IWorkerHubBlocksPerEpoch) (event.Subscription, error)
WatchBlocksPerEpoch is a free log subscription operation binding the contract event 0x3179ee2c3011a36d6d80a4b422f208df28ef9493d1d9ce1555b3116bd26ddb3d.
Solidity: event BlocksPerEpoch(uint256 oldBlocks, uint256 newBlocks)
func (*IWorkerHubFilterer) WatchCommitDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchCommitDuration(opts *bind.WatchOpts, sink chan<- *IWorkerHubCommitDuration) (event.Subscription, error)
WatchCommitDuration is a free log subscription operation binding the contract event 0xc9bc20c9ff07142c58c480090e116ebe561a42316260069d619782bb38faf619.
Solidity: event CommitDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) WatchCommitmentSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchCommitmentSubmission(opts *bind.WatchOpts, sink chan<- *IWorkerHubCommitmentSubmission, miner []common.Address, assigmentId []*big.Int) (event.Subscription, error)
WatchCommitmentSubmission is a free log subscription operation binding the contract event 0x47a3511bbb68bfcf0b476106b3a5a5d5b8d7eb4205a28d6424a40fb19d9afa5b.
Solidity: event CommitmentSubmission(address indexed miner, uint256 indexed assigmentId, bytes32 commitment)
func (*IWorkerHubFilterer) WatchDAOTokenMintedV2 ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenMintedV2(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenMintedV2) (event.Subscription, error)
WatchDAOTokenMintedV2 is a free log subscription operation binding the contract event 0x2faa16bd9d858bdbd007d15bb6ae06ff3f238c90433800dafb4c0f7e3f07a241.
Solidity: event DAOTokenMintedV2(uint256 chainId, uint256 inferenceId, address modelAddress, (address,uint256,uint8)[] receivers)
func (*IWorkerHubFilterer) WatchDAOTokenPercentageUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenPercentageUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenPercentageUpdated) (event.Subscription, error)
WatchDAOTokenPercentageUpdated is a free log subscription operation binding the contract event 0xe217c132ca1c9e392a91d1b2eaeb42b77b8ff74a61c75974d05ffbbe6e00a16a.
Solidity: event DAOTokenPercentageUpdated((uint16,uint16,uint16,uint16,uint16) oldValue, (uint16,uint16,uint16,uint16,uint16) newValue)
func (*IWorkerHubFilterer) WatchDAOTokenRewardUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenRewardUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenRewardUpdated) (event.Subscription, error)
WatchDAOTokenRewardUpdated is a free log subscription operation binding the contract event 0x454d79b61f30800ce19615c79c4f9a1eb892ed9372cf95ba71cbd2345f8fa9aa.
Solidity: event DAOTokenRewardUpdated(uint256 oldValue, uint256 newValue)
func (*IWorkerHubFilterer) WatchDAOTokenUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchDAOTokenUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubDAOTokenUpdated) (event.Subscription, error)
WatchDAOTokenUpdated is a free log subscription operation binding the contract event 0x518cc1a1508767ac2e92e88727dbf2ace68f44768b3684e0ad2305f6db0cd8da.
Solidity: event DAOTokenUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) WatchFinePercentageUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchFinePercentageUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubFinePercentageUpdated) (event.Subscription, error)
WatchFinePercentageUpdated is a free log subscription operation binding the contract event 0xcf2ba21ec685fb1baf4b5e5df96fd2da47ab299e7d95e586c7898f114b6c1269.
Solidity: event FinePercentageUpdated(uint16 oldPercent, uint16 newPercent)
func (*IWorkerHubFilterer) WatchFraudulentMinerPenalized ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchFraudulentMinerPenalized(opts *bind.WatchOpts, sink chan<- *IWorkerHubFraudulentMinerPenalized, miner []common.Address, modelAddress []common.Address, treasury []common.Address) (event.Subscription, error)
WatchFraudulentMinerPenalized is a free log subscription operation binding the contract event 0x63a49f9cdfcfe1fddc8bd7a881449dc97b664e888be5c2fdee7ca4a70b447e43.
Solidity: event FraudulentMinerPenalized(address indexed miner, address indexed modelAddress, address indexed treasury, uint256 fine)
func (*IWorkerHubFilterer) WatchInferenceStatusUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchInferenceStatusUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubInferenceStatusUpdate, inferenceId []*big.Int) (event.Subscription, error)
WatchInferenceStatusUpdate is a free log subscription operation binding the contract event 0xbc645ece538d7606c8ac26de30aef5fbd0ed2ee0c945f4e5d860da3e62781d50.
Solidity: event InferenceStatusUpdate(uint256 indexed inferenceId, uint8 newStatus)
func (*IWorkerHubFilterer) WatchInitialized ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *IWorkerHubInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*IWorkerHubFilterer) WatchL2OwnerUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchL2OwnerUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubL2OwnerUpdated) (event.Subscription, error)
WatchL2OwnerUpdated is a free log subscription operation binding the contract event 0x3cfa9fea14972d7cbbd0fddda517d4467bd2863f1d28e76fa4e0fe230a7bf274.
Solidity: event L2OwnerUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) WatchMinFeeToUseUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinFeeToUseUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinFeeToUseUpdated) (event.Subscription, error)
WatchMinFeeToUseUpdated is a free log subscription operation binding the contract event 0x37bba2c63397e7d89baa40e3d0c29e309913eb87b9691bacb16dba509fad523c.
Solidity: event MinFeeToUseUpdated(uint256 oldValue, uint256 newValue)
func (*IWorkerHubFilterer) WatchMinerDeactivated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerDeactivated(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerDeactivated, miner []common.Address, modelAddress []common.Address) (event.Subscription, error)
WatchMinerDeactivated is a free log subscription operation binding the contract event 0x9335a7723b09748526d22902742e96812ad183ab52d86c2030fe407ff626e50d.
Solidity: event MinerDeactivated(address indexed miner, address indexed modelAddress, uint40 activeTime)
func (*IWorkerHubFilterer) WatchMinerExtraStake ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerExtraStake(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerExtraStake, miner []common.Address) (event.Subscription, error)
WatchMinerExtraStake is a free log subscription operation binding the contract event 0x3d236e8f743e932a32c84d3114ce3e7ee0b75225cb3b39f72faac62495fd21c1.
Solidity: event MinerExtraStake(address indexed miner, uint256 value)
func (*IWorkerHubFilterer) WatchMinerJoin ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerJoin(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerJoin, miner []common.Address) (event.Subscription, error)
WatchMinerJoin is a free log subscription operation binding the contract event 0xb7041987154996ed34981c2bc6fbafd4b1fcab9964486d7cc386f0d8abcc5446.
Solidity: event MinerJoin(address indexed miner)
func (*IWorkerHubFilterer) WatchMinerRegistration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerRegistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerRegistration, miner []common.Address, tier []uint16) (event.Subscription, error)
WatchMinerRegistration is a free log subscription operation binding the contract event 0x55e488821080f3f5cdf6088b02793df0d26f40053a70b6154347d2ac313015a1.
Solidity: event MinerRegistration(address indexed miner, uint16 indexed tier, uint256 value)
func (*IWorkerHubFilterer) WatchMinerRoleSeized ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerRoleSeized(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerRoleSeized, assignmentId []*big.Int, inferenceId []*big.Int, miner []common.Address) (event.Subscription, error)
WatchMinerRoleSeized is a free log subscription operation binding the contract event 0x3d4f35957f03b76084f29d7c66d573fcec3d2e4bbc2844549e44bc1aed4c6c24.
Solidity: event MinerRoleSeized(uint256 indexed assignmentId, uint256 indexed inferenceId, address indexed miner)
func (*IWorkerHubFilterer) WatchMinerUnregistration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerUnregistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerUnregistration, miner []common.Address) (event.Subscription, error)
WatchMinerUnregistration is a free log subscription operation binding the contract event 0x8f54596d72781f60dbf7dad7e576f06ce17bbda0bdf384463f7734f85f51498e.
Solidity: event MinerUnregistration(address indexed miner)
func (*IWorkerHubFilterer) WatchMinerUnstake ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMinerUnstake(opts *bind.WatchOpts, sink chan<- *IWorkerHubMinerUnstake, miner []common.Address) (event.Subscription, error)
WatchMinerUnstake is a free log subscription operation binding the contract event 0x1051154647682075e7cc0645853209e75208cb5acd862fc83f7fd0fcaa9624b4.
Solidity: event MinerUnstake(address indexed miner, uint256 stake)
func (*IWorkerHubFilterer) WatchMiningTimeLimitUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchMiningTimeLimitUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubMiningTimeLimitUpdate) (event.Subscription, error)
WatchMiningTimeLimitUpdate is a free log subscription operation binding the contract event 0xd223a90576ecd9f418b264c3465ab13fad46f62b72bf17dca91af5dc8b7e55a8.
Solidity: event MiningTimeLimitUpdate(uint40 newValue)
func (*IWorkerHubFilterer) WatchModelMinimumFeeUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchModelMinimumFeeUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelMinimumFeeUpdate, model []common.Address) (event.Subscription, error)
WatchModelMinimumFeeUpdate is a free log subscription operation binding the contract event 0x923b5fe9c9974b3c93e434ae744faaa60ec86513c02614da5c8d9c51eda2bdd7.
Solidity: event ModelMinimumFeeUpdate(address indexed model, uint256 minimumFee)
func (*IWorkerHubFilterer) WatchModelRegistration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchModelRegistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelRegistration, model []common.Address, tier []uint16) (event.Subscription, error)
WatchModelRegistration is a free log subscription operation binding the contract event 0x7041913a4cb21c28c931da9d9e4b5ed0ad84e47fcf2a65527f03c438d534ed5c.
Solidity: event ModelRegistration(address indexed model, uint16 indexed tier, uint256 minimumFee)
func (*IWorkerHubFilterer) WatchModelTierUpdate ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchModelTierUpdate(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelTierUpdate, model []common.Address) (event.Subscription, error)
WatchModelTierUpdate is a free log subscription operation binding the contract event 0x64905396482bb1067a551077143915c77b512b1cfea5db34c903943c1c2a5a15.
Solidity: event ModelTierUpdate(address indexed model, uint32 tier)
func (*IWorkerHubFilterer) WatchModelUnregistration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchModelUnregistration(opts *bind.WatchOpts, sink chan<- *IWorkerHubModelUnregistration, model []common.Address) (event.Subscription, error)
WatchModelUnregistration is a free log subscription operation binding the contract event 0x68180f49300b9177ab3b88d3f909a002abeb9c2f769543a93234ca68333582d7.
Solidity: event ModelUnregistration(address indexed model)
func (*IWorkerHubFilterer) WatchNewAssignment ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchNewAssignment(opts *bind.WatchOpts, sink chan<- *IWorkerHubNewAssignment, assignmentId []*big.Int, inferenceId []*big.Int, miner []common.Address) (event.Subscription, error)
WatchNewAssignment is a free log subscription operation binding the contract event 0x53cc8b652f33c56dac5f1c97a284cc971e7adcb8abe9454b0853f076c6deb7d5.
Solidity: event NewAssignment(uint256 indexed assignmentId, uint256 indexed inferenceId, address indexed miner, uint40 expiredAt)
func (*IWorkerHubFilterer) WatchNewInference ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchNewInference(opts *bind.WatchOpts, sink chan<- *IWorkerHubNewInference, inferenceId []*big.Int, model []common.Address, creator []common.Address) (event.Subscription, error)
WatchNewInference is a free log subscription operation binding the contract event 0x08a84d7fb7cd1557f228c827b9280f44d1a157c3256fe453b687a7b9d51c6a5b.
Solidity: event NewInference(uint256 indexed inferenceId, address indexed model, address indexed creator, uint256 value, uint256 originInferenceId)
func (*IWorkerHubFilterer) WatchNewScoringInference ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchNewScoringInference(opts *bind.WatchOpts, sink chan<- *IWorkerHubNewScoringInference, inferenceId []*big.Int, model []common.Address, creator []common.Address) (event.Subscription, error)
WatchNewScoringInference is a free log subscription operation binding the contract event 0x3ec54c04f8c304e8caa7314d1ac4d34bff1c57151f207745b19e6d8f0a579ea9.
Solidity: event NewScoringInference(uint256 indexed inferenceId, address indexed model, address indexed creator, uint256 value, uint256 originInferenceId)
func (*IWorkerHubFilterer) WatchOwnershipTransferred ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IWorkerHubOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IWorkerHubFilterer) WatchPaused ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *IWorkerHubPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*IWorkerHubFilterer) WatchPenaltyDurationUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchPenaltyDurationUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubPenaltyDurationUpdated) (event.Subscription, error)
WatchPenaltyDurationUpdated is a free log subscription operation binding the contract event 0xf7a437a25c636d2b29d0ba34f0f6870af14f44478eff2ac852f36030f2e2924e.
Solidity: event PenaltyDurationUpdated(uint40 oldDuration, uint40 newDuration)
func (*IWorkerHubFilterer) WatchRestake ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchRestake(opts *bind.WatchOpts, sink chan<- *IWorkerHubRestake, miner []common.Address, model []common.Address) (event.Subscription, error)
WatchRestake is a free log subscription operation binding the contract event 0x5f8a19f664e489b0ebcc62ec24b1bde029195fbb4af60118cecf0e16d6d95b2d.
Solidity: event Restake(address indexed miner, uint256 restake, address indexed model)
func (*IWorkerHubFilterer) WatchRevealDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchRevealDuration(opts *bind.WatchOpts, sink chan<- *IWorkerHubRevealDuration) (event.Subscription, error)
WatchRevealDuration is a free log subscription operation binding the contract event 0xacb24019039b4d00193b2be5c85ea8ed6bd6747ed79f7d1e5a6d9384282b4a9d.
Solidity: event RevealDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) WatchRevealSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchRevealSubmission(opts *bind.WatchOpts, sink chan<- *IWorkerHubRevealSubmission, miner []common.Address, assigmentId []*big.Int) (event.Subscription, error)
WatchRevealSubmission is a free log subscription operation binding the contract event 0xf7e30468a493d9e17158c0dbe51bcfa190627e3fdede3c9284827c22dfc41700.
Solidity: event RevealSubmission(address indexed miner, uint256 indexed assigmentId, uint40 nonce, bytes output)
func (*IWorkerHubFilterer) WatchRewardClaim ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchRewardClaim(opts *bind.WatchOpts, sink chan<- *IWorkerHubRewardClaim, worker []common.Address) (event.Subscription, error)
WatchRewardClaim is a free log subscription operation binding the contract event 0x75690555e75b04e280e646889defdcbefd8401507e5394d1173fd84290944c29.
Solidity: event RewardClaim(address indexed worker, uint256 value)
func (*IWorkerHubFilterer) WatchRewardPerEpoch ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchRewardPerEpoch(opts *bind.WatchOpts, sink chan<- *IWorkerHubRewardPerEpoch) (event.Subscription, error)
WatchRewardPerEpoch is a free log subscription operation binding the contract event 0x3d731857045dfa7982ed8ff308eeda54c7e156ba99609db02c50b4485f64c463.
Solidity: event RewardPerEpoch(uint256 oldReward, uint256 newReward)
func (*IWorkerHubFilterer) WatchSolutionSubmission ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchSolutionSubmission(opts *bind.WatchOpts, sink chan<- *IWorkerHubSolutionSubmission, miner []common.Address, assigmentId []*big.Int) (event.Subscription, error)
WatchSolutionSubmission is a free log subscription operation binding the contract event 0x9f669b92b9cbc7611f7ab6c77db07a424051c777433e21bd90f1bdf940096dd9.
Solidity: event SolutionSubmission(address indexed miner, uint256 indexed assigmentId)
func (*IWorkerHubFilterer) WatchStreamedData ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchStreamedData(opts *bind.WatchOpts, sink chan<- *IWorkerHubStreamedData, assignmentId []*big.Int) (event.Subscription, error)
WatchStreamedData is a free log subscription operation binding the contract event 0x23cfaa418b5f569ff36b152a9fd02ee3ccddaa5f7eed570e777a30353b68dc38.
Solidity: event StreamedData(uint256 indexed assignmentId, bytes data)
func (*IWorkerHubFilterer) WatchSubmitDuration ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchSubmitDuration(opts *bind.WatchOpts, sink chan<- *IWorkerHubSubmitDuration) (event.Subscription, error)
WatchSubmitDuration is a free log subscription operation binding the contract event 0x8c0ac957fb32132ec541e9495c4fe8f1d9fdb4dd19a02e7144659d4b382064f3.
Solidity: event SubmitDuration(uint256 oldTime, uint256 newTime)
func (*IWorkerHubFilterer) WatchTopUpInfer ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchTopUpInfer(opts *bind.WatchOpts, sink chan<- *IWorkerHubTopUpInfer, inferenceId []*big.Int, creator []common.Address) (event.Subscription, error)
WatchTopUpInfer is a free log subscription operation binding the contract event 0xe3154336ce264fe53bcfaedafded1428a28ae47b19b3d7a82e5d5ecde0960a57.
Solidity: event TopUpInfer(uint256 indexed inferenceId, address indexed creator, uint256 value)
func (*IWorkerHubFilterer) WatchTransferFee ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchTransferFee(opts *bind.WatchOpts, sink chan<- *IWorkerHubTransferFee, treasury []common.Address) (event.Subscription, error)
WatchTransferFee is a free log subscription operation binding the contract event 0x782aada659bac972b342fea00dfc27389e876bece89a9eb635bd5a2c544e8a6b.
Solidity: event TransferFee(address indexed treasury, uint256 treasuryFee, address L2OwnerAddress, uint256 L2OwnerFee)
func (*IWorkerHubFilterer) WatchTreasuryAddressUpdated ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchTreasuryAddressUpdated(opts *bind.WatchOpts, sink chan<- *IWorkerHubTreasuryAddressUpdated) (event.Subscription, error)
WatchTreasuryAddressUpdated is a free log subscription operation binding the contract event 0x430359a6d97ced2b6f93c77a91e7ce9dfd43252eb91e916adba170485cd8a6a4.
Solidity: event TreasuryAddressUpdated(address oldAddress, address newAddress)
func (*IWorkerHubFilterer) WatchUnpaused ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *IWorkerHubUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*IWorkerHubFilterer) WatchUnstakeDelayTime ¶
func (_IWorkerHub *IWorkerHubFilterer) WatchUnstakeDelayTime(opts *bind.WatchOpts, sink chan<- *IWorkerHubUnstakeDelayTime) (event.Subscription, error)
WatchUnstakeDelayTime is a free log subscription operation binding the contract event 0xdf63c46e5024e57c66aafc6698e317c78589c870dca694678c89dd379c5fd490.
Solidity: event UnstakeDelayTime(uint256 oldDelayTime, uint256 newDelayTime)
type IWorkerHubFinePercentageUpdated ¶
type IWorkerHubFinePercentageUpdated struct { OldPercent uint16 NewPercent uint16 Raw types.Log // Blockchain specific contextual infos }
IWorkerHubFinePercentageUpdated represents a FinePercentageUpdated event raised by the IWorkerHub contract.
type IWorkerHubFinePercentageUpdatedIterator ¶
type IWorkerHubFinePercentageUpdatedIterator struct { Event *IWorkerHubFinePercentageUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubFinePercentageUpdatedIterator is returned from FilterFinePercentageUpdated and is used to iterate over the raw logs and unpacked data for FinePercentageUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubFinePercentageUpdatedIterator) Close ¶
func (it *IWorkerHubFinePercentageUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubFinePercentageUpdatedIterator) Error ¶
func (it *IWorkerHubFinePercentageUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubFinePercentageUpdatedIterator) Next ¶
func (it *IWorkerHubFinePercentageUpdatedIterator) 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 IWorkerHubFraudulentMinerPenalized ¶
type IWorkerHubFraudulentMinerPenalized struct { Miner common.Address ModelAddress common.Address Treasury common.Address Fine *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubFraudulentMinerPenalized represents a FraudulentMinerPenalized event raised by the IWorkerHub contract.
type IWorkerHubFraudulentMinerPenalizedIterator ¶
type IWorkerHubFraudulentMinerPenalizedIterator struct { Event *IWorkerHubFraudulentMinerPenalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubFraudulentMinerPenalizedIterator is returned from FilterFraudulentMinerPenalized and is used to iterate over the raw logs and unpacked data for FraudulentMinerPenalized events raised by the IWorkerHub contract.
func (*IWorkerHubFraudulentMinerPenalizedIterator) Close ¶
func (it *IWorkerHubFraudulentMinerPenalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubFraudulentMinerPenalizedIterator) Error ¶
func (it *IWorkerHubFraudulentMinerPenalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubFraudulentMinerPenalizedIterator) Next ¶
func (it *IWorkerHubFraudulentMinerPenalizedIterator) 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 IWorkerHubInference ¶
type IWorkerHubInference struct { Assignments []*big.Int Input []byte Value *big.Int FeeL2 *big.Int FeeTreasury *big.Int ModelAddress common.Address SubmitTimeout *big.Int CommitTimeout *big.Int RevealTimeout *big.Int Status uint8 Creator common.Address ProcessedMiner common.Address Referrer common.Address }
IWorkerHubInference is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubInferenceStatusUpdate ¶
type IWorkerHubInferenceStatusUpdate struct { InferenceId *big.Int NewStatus uint8 Raw types.Log // Blockchain specific contextual infos }
IWorkerHubInferenceStatusUpdate represents a InferenceStatusUpdate event raised by the IWorkerHub contract.
type IWorkerHubInferenceStatusUpdateIterator ¶
type IWorkerHubInferenceStatusUpdateIterator struct { Event *IWorkerHubInferenceStatusUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubInferenceStatusUpdateIterator is returned from FilterInferenceStatusUpdate and is used to iterate over the raw logs and unpacked data for InferenceStatusUpdate events raised by the IWorkerHub contract.
func (*IWorkerHubInferenceStatusUpdateIterator) Close ¶
func (it *IWorkerHubInferenceStatusUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubInferenceStatusUpdateIterator) Error ¶
func (it *IWorkerHubInferenceStatusUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubInferenceStatusUpdateIterator) Next ¶
func (it *IWorkerHubInferenceStatusUpdateIterator) 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 IWorkerHubInitialized ¶
type IWorkerHubInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
IWorkerHubInitialized represents a Initialized event raised by the IWorkerHub contract.
type IWorkerHubInitializedIterator ¶
type IWorkerHubInitializedIterator struct { Event *IWorkerHubInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the IWorkerHub contract.
func (*IWorkerHubInitializedIterator) Close ¶
func (it *IWorkerHubInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubInitializedIterator) Error ¶
func (it *IWorkerHubInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubInitializedIterator) Next ¶
func (it *IWorkerHubInitializedIterator) 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 IWorkerHubL2OwnerUpdated ¶
type IWorkerHubL2OwnerUpdated struct { OldAddress common.Address NewAddress common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubL2OwnerUpdated represents a L2OwnerUpdated event raised by the IWorkerHub contract.
type IWorkerHubL2OwnerUpdatedIterator ¶
type IWorkerHubL2OwnerUpdatedIterator struct { Event *IWorkerHubL2OwnerUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubL2OwnerUpdatedIterator is returned from FilterL2OwnerUpdated and is used to iterate over the raw logs and unpacked data for L2OwnerUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubL2OwnerUpdatedIterator) Close ¶
func (it *IWorkerHubL2OwnerUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubL2OwnerUpdatedIterator) Error ¶
func (it *IWorkerHubL2OwnerUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubL2OwnerUpdatedIterator) Next ¶
func (it *IWorkerHubL2OwnerUpdatedIterator) 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 IWorkerHubMinFeeToUseUpdated ¶
type IWorkerHubMinFeeToUseUpdated struct { OldValue *big.Int NewValue *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinFeeToUseUpdated represents a MinFeeToUseUpdated event raised by the IWorkerHub contract.
type IWorkerHubMinFeeToUseUpdatedIterator ¶
type IWorkerHubMinFeeToUseUpdatedIterator struct { Event *IWorkerHubMinFeeToUseUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinFeeToUseUpdatedIterator is returned from FilterMinFeeToUseUpdated and is used to iterate over the raw logs and unpacked data for MinFeeToUseUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubMinFeeToUseUpdatedIterator) Close ¶
func (it *IWorkerHubMinFeeToUseUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinFeeToUseUpdatedIterator) Error ¶
func (it *IWorkerHubMinFeeToUseUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinFeeToUseUpdatedIterator) Next ¶
func (it *IWorkerHubMinFeeToUseUpdatedIterator) 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 IWorkerHubMinerDeactivated ¶
type IWorkerHubMinerDeactivated struct { Miner common.Address ModelAddress common.Address ActiveTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerDeactivated represents a MinerDeactivated event raised by the IWorkerHub contract.
type IWorkerHubMinerDeactivatedIterator ¶
type IWorkerHubMinerDeactivatedIterator struct { Event *IWorkerHubMinerDeactivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerDeactivatedIterator is returned from FilterMinerDeactivated and is used to iterate over the raw logs and unpacked data for MinerDeactivated events raised by the IWorkerHub contract.
func (*IWorkerHubMinerDeactivatedIterator) Close ¶
func (it *IWorkerHubMinerDeactivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerDeactivatedIterator) Error ¶
func (it *IWorkerHubMinerDeactivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerDeactivatedIterator) Next ¶
func (it *IWorkerHubMinerDeactivatedIterator) 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 IWorkerHubMinerExtraStake ¶
type IWorkerHubMinerExtraStake struct { Miner common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerExtraStake represents a MinerExtraStake event raised by the IWorkerHub contract.
type IWorkerHubMinerExtraStakeIterator ¶
type IWorkerHubMinerExtraStakeIterator struct { Event *IWorkerHubMinerExtraStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerExtraStakeIterator is returned from FilterMinerExtraStake and is used to iterate over the raw logs and unpacked data for MinerExtraStake events raised by the IWorkerHub contract.
func (*IWorkerHubMinerExtraStakeIterator) Close ¶
func (it *IWorkerHubMinerExtraStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerExtraStakeIterator) Error ¶
func (it *IWorkerHubMinerExtraStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerExtraStakeIterator) Next ¶
func (it *IWorkerHubMinerExtraStakeIterator) 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 IWorkerHubMinerJoin ¶
type IWorkerHubMinerJoin struct { Miner common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerJoin represents a MinerJoin event raised by the IWorkerHub contract.
type IWorkerHubMinerJoinIterator ¶
type IWorkerHubMinerJoinIterator struct { Event *IWorkerHubMinerJoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerJoinIterator is returned from FilterMinerJoin and is used to iterate over the raw logs and unpacked data for MinerJoin events raised by the IWorkerHub contract.
func (*IWorkerHubMinerJoinIterator) Close ¶
func (it *IWorkerHubMinerJoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerJoinIterator) Error ¶
func (it *IWorkerHubMinerJoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerJoinIterator) Next ¶
func (it *IWorkerHubMinerJoinIterator) 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 IWorkerHubMinerRegistration ¶
type IWorkerHubMinerRegistration struct { Miner common.Address Tier uint16 Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerRegistration represents a MinerRegistration event raised by the IWorkerHub contract.
type IWorkerHubMinerRegistrationIterator ¶
type IWorkerHubMinerRegistrationIterator struct { Event *IWorkerHubMinerRegistration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerRegistrationIterator is returned from FilterMinerRegistration and is used to iterate over the raw logs and unpacked data for MinerRegistration events raised by the IWorkerHub contract.
func (*IWorkerHubMinerRegistrationIterator) Close ¶
func (it *IWorkerHubMinerRegistrationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerRegistrationIterator) Error ¶
func (it *IWorkerHubMinerRegistrationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerRegistrationIterator) Next ¶
func (it *IWorkerHubMinerRegistrationIterator) 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 IWorkerHubMinerRoleSeized ¶
type IWorkerHubMinerRoleSeized struct { AssignmentId *big.Int InferenceId *big.Int Miner common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerRoleSeized represents a MinerRoleSeized event raised by the IWorkerHub contract.
type IWorkerHubMinerRoleSeizedIterator ¶
type IWorkerHubMinerRoleSeizedIterator struct { Event *IWorkerHubMinerRoleSeized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerRoleSeizedIterator is returned from FilterMinerRoleSeized and is used to iterate over the raw logs and unpacked data for MinerRoleSeized events raised by the IWorkerHub contract.
func (*IWorkerHubMinerRoleSeizedIterator) Close ¶
func (it *IWorkerHubMinerRoleSeizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerRoleSeizedIterator) Error ¶
func (it *IWorkerHubMinerRoleSeizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerRoleSeizedIterator) Next ¶
func (it *IWorkerHubMinerRoleSeizedIterator) 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 IWorkerHubMinerUnregistration ¶
type IWorkerHubMinerUnregistration struct { Miner common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerUnregistration represents a MinerUnregistration event raised by the IWorkerHub contract.
type IWorkerHubMinerUnregistrationIterator ¶
type IWorkerHubMinerUnregistrationIterator struct { Event *IWorkerHubMinerUnregistration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerUnregistrationIterator is returned from FilterMinerUnregistration and is used to iterate over the raw logs and unpacked data for MinerUnregistration events raised by the IWorkerHub contract.
func (*IWorkerHubMinerUnregistrationIterator) Close ¶
func (it *IWorkerHubMinerUnregistrationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerUnregistrationIterator) Error ¶
func (it *IWorkerHubMinerUnregistrationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerUnregistrationIterator) Next ¶
func (it *IWorkerHubMinerUnregistrationIterator) 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 IWorkerHubMinerUnstake ¶
type IWorkerHubMinerUnstake struct { Miner common.Address Stake *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMinerUnstake represents a MinerUnstake event raised by the IWorkerHub contract.
type IWorkerHubMinerUnstakeIterator ¶
type IWorkerHubMinerUnstakeIterator struct { Event *IWorkerHubMinerUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMinerUnstakeIterator is returned from FilterMinerUnstake and is used to iterate over the raw logs and unpacked data for MinerUnstake events raised by the IWorkerHub contract.
func (*IWorkerHubMinerUnstakeIterator) Close ¶
func (it *IWorkerHubMinerUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMinerUnstakeIterator) Error ¶
func (it *IWorkerHubMinerUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMinerUnstakeIterator) Next ¶
func (it *IWorkerHubMinerUnstakeIterator) 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 IWorkerHubMiningTimeLimitUpdate ¶
type IWorkerHubMiningTimeLimitUpdate struct { NewValue *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubMiningTimeLimitUpdate represents a MiningTimeLimitUpdate event raised by the IWorkerHub contract.
type IWorkerHubMiningTimeLimitUpdateIterator ¶
type IWorkerHubMiningTimeLimitUpdateIterator struct { Event *IWorkerHubMiningTimeLimitUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubMiningTimeLimitUpdateIterator is returned from FilterMiningTimeLimitUpdate and is used to iterate over the raw logs and unpacked data for MiningTimeLimitUpdate events raised by the IWorkerHub contract.
func (*IWorkerHubMiningTimeLimitUpdateIterator) Close ¶
func (it *IWorkerHubMiningTimeLimitUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubMiningTimeLimitUpdateIterator) Error ¶
func (it *IWorkerHubMiningTimeLimitUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubMiningTimeLimitUpdateIterator) Next ¶
func (it *IWorkerHubMiningTimeLimitUpdateIterator) 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 IWorkerHubModelMinimumFeeUpdate ¶
type IWorkerHubModelMinimumFeeUpdate struct { Model common.Address MinimumFee *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubModelMinimumFeeUpdate represents a ModelMinimumFeeUpdate event raised by the IWorkerHub contract.
type IWorkerHubModelMinimumFeeUpdateIterator ¶
type IWorkerHubModelMinimumFeeUpdateIterator struct { Event *IWorkerHubModelMinimumFeeUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubModelMinimumFeeUpdateIterator is returned from FilterModelMinimumFeeUpdate and is used to iterate over the raw logs and unpacked data for ModelMinimumFeeUpdate events raised by the IWorkerHub contract.
func (*IWorkerHubModelMinimumFeeUpdateIterator) Close ¶
func (it *IWorkerHubModelMinimumFeeUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubModelMinimumFeeUpdateIterator) Error ¶
func (it *IWorkerHubModelMinimumFeeUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubModelMinimumFeeUpdateIterator) Next ¶
func (it *IWorkerHubModelMinimumFeeUpdateIterator) 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 IWorkerHubModelRegistration ¶
type IWorkerHubModelRegistration struct { Model common.Address Tier uint16 MinimumFee *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubModelRegistration represents a ModelRegistration event raised by the IWorkerHub contract.
type IWorkerHubModelRegistrationIterator ¶
type IWorkerHubModelRegistrationIterator struct { Event *IWorkerHubModelRegistration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubModelRegistrationIterator is returned from FilterModelRegistration and is used to iterate over the raw logs and unpacked data for ModelRegistration events raised by the IWorkerHub contract.
func (*IWorkerHubModelRegistrationIterator) Close ¶
func (it *IWorkerHubModelRegistrationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubModelRegistrationIterator) Error ¶
func (it *IWorkerHubModelRegistrationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubModelRegistrationIterator) Next ¶
func (it *IWorkerHubModelRegistrationIterator) 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 IWorkerHubModelTierUpdate ¶
type IWorkerHubModelTierUpdate struct { Model common.Address Tier uint32 Raw types.Log // Blockchain specific contextual infos }
IWorkerHubModelTierUpdate represents a ModelTierUpdate event raised by the IWorkerHub contract.
type IWorkerHubModelTierUpdateIterator ¶
type IWorkerHubModelTierUpdateIterator struct { Event *IWorkerHubModelTierUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubModelTierUpdateIterator is returned from FilterModelTierUpdate and is used to iterate over the raw logs and unpacked data for ModelTierUpdate events raised by the IWorkerHub contract.
func (*IWorkerHubModelTierUpdateIterator) Close ¶
func (it *IWorkerHubModelTierUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubModelTierUpdateIterator) Error ¶
func (it *IWorkerHubModelTierUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubModelTierUpdateIterator) Next ¶
func (it *IWorkerHubModelTierUpdateIterator) 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 IWorkerHubModelUnregistration ¶
type IWorkerHubModelUnregistration struct { Model common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubModelUnregistration represents a ModelUnregistration event raised by the IWorkerHub contract.
type IWorkerHubModelUnregistrationIterator ¶
type IWorkerHubModelUnregistrationIterator struct { Event *IWorkerHubModelUnregistration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubModelUnregistrationIterator is returned from FilterModelUnregistration and is used to iterate over the raw logs and unpacked data for ModelUnregistration events raised by the IWorkerHub contract.
func (*IWorkerHubModelUnregistrationIterator) Close ¶
func (it *IWorkerHubModelUnregistrationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubModelUnregistrationIterator) Error ¶
func (it *IWorkerHubModelUnregistrationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubModelUnregistrationIterator) Next ¶
func (it *IWorkerHubModelUnregistrationIterator) 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 IWorkerHubNewAssignment ¶
type IWorkerHubNewAssignment struct { AssignmentId *big.Int InferenceId *big.Int Miner common.Address ExpiredAt *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubNewAssignment represents a NewAssignment event raised by the IWorkerHub contract.
type IWorkerHubNewAssignmentIterator ¶
type IWorkerHubNewAssignmentIterator struct { Event *IWorkerHubNewAssignment // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubNewAssignmentIterator is returned from FilterNewAssignment and is used to iterate over the raw logs and unpacked data for NewAssignment events raised by the IWorkerHub contract.
func (*IWorkerHubNewAssignmentIterator) Close ¶
func (it *IWorkerHubNewAssignmentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubNewAssignmentIterator) Error ¶
func (it *IWorkerHubNewAssignmentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubNewAssignmentIterator) Next ¶
func (it *IWorkerHubNewAssignmentIterator) 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 IWorkerHubNewInference ¶
type IWorkerHubNewInference struct { InferenceId *big.Int Model common.Address Creator common.Address Value *big.Int OriginInferenceId *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubNewInference represents a NewInference event raised by the IWorkerHub contract.
type IWorkerHubNewInferenceIterator ¶
type IWorkerHubNewInferenceIterator struct { Event *IWorkerHubNewInference // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubNewInferenceIterator is returned from FilterNewInference and is used to iterate over the raw logs and unpacked data for NewInference events raised by the IWorkerHub contract.
func (*IWorkerHubNewInferenceIterator) Close ¶
func (it *IWorkerHubNewInferenceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubNewInferenceIterator) Error ¶
func (it *IWorkerHubNewInferenceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubNewInferenceIterator) Next ¶
func (it *IWorkerHubNewInferenceIterator) 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 IWorkerHubNewScoringInference ¶
type IWorkerHubNewScoringInference struct { InferenceId *big.Int Model common.Address Creator common.Address Value *big.Int OriginInferenceId *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubNewScoringInference represents a NewScoringInference event raised by the IWorkerHub contract.
type IWorkerHubNewScoringInferenceIterator ¶
type IWorkerHubNewScoringInferenceIterator struct { Event *IWorkerHubNewScoringInference // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubNewScoringInferenceIterator is returned from FilterNewScoringInference and is used to iterate over the raw logs and unpacked data for NewScoringInference events raised by the IWorkerHub contract.
func (*IWorkerHubNewScoringInferenceIterator) Close ¶
func (it *IWorkerHubNewScoringInferenceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubNewScoringInferenceIterator) Error ¶
func (it *IWorkerHubNewScoringInferenceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubNewScoringInferenceIterator) Next ¶
func (it *IWorkerHubNewScoringInferenceIterator) 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 IWorkerHubOwnershipTransferred ¶
type IWorkerHubOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubOwnershipTransferred represents a OwnershipTransferred event raised by the IWorkerHub contract.
type IWorkerHubOwnershipTransferredIterator ¶
type IWorkerHubOwnershipTransferredIterator struct { Event *IWorkerHubOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the IWorkerHub contract.
func (*IWorkerHubOwnershipTransferredIterator) Close ¶
func (it *IWorkerHubOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubOwnershipTransferredIterator) Error ¶
func (it *IWorkerHubOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubOwnershipTransferredIterator) Next ¶
func (it *IWorkerHubOwnershipTransferredIterator) 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 IWorkerHubPaused ¶
type IWorkerHubPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubPaused represents a Paused event raised by the IWorkerHub contract.
type IWorkerHubPausedIterator ¶
type IWorkerHubPausedIterator struct { Event *IWorkerHubPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the IWorkerHub contract.
func (*IWorkerHubPausedIterator) Close ¶
func (it *IWorkerHubPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubPausedIterator) Error ¶
func (it *IWorkerHubPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubPausedIterator) Next ¶
func (it *IWorkerHubPausedIterator) 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 IWorkerHubPenaltyDurationUpdated ¶
type IWorkerHubPenaltyDurationUpdated struct { OldDuration *big.Int NewDuration *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubPenaltyDurationUpdated represents a PenaltyDurationUpdated event raised by the IWorkerHub contract.
type IWorkerHubPenaltyDurationUpdatedIterator ¶
type IWorkerHubPenaltyDurationUpdatedIterator struct { Event *IWorkerHubPenaltyDurationUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubPenaltyDurationUpdatedIterator is returned from FilterPenaltyDurationUpdated and is used to iterate over the raw logs and unpacked data for PenaltyDurationUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubPenaltyDurationUpdatedIterator) Close ¶
func (it *IWorkerHubPenaltyDurationUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubPenaltyDurationUpdatedIterator) Error ¶
func (it *IWorkerHubPenaltyDurationUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubPenaltyDurationUpdatedIterator) Next ¶
func (it *IWorkerHubPenaltyDurationUpdatedIterator) 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 IWorkerHubRaw ¶
type IWorkerHubRaw struct {
Contract *IWorkerHub // Generic contract binding to access the raw methods on
}
IWorkerHubRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IWorkerHubRaw) Call ¶
func (_IWorkerHub *IWorkerHubRaw) 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 (*IWorkerHubRaw) Transact ¶
func (_IWorkerHub *IWorkerHubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IWorkerHubRaw) Transfer ¶
func (_IWorkerHub *IWorkerHubRaw) 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 IWorkerHubRestake ¶
type IWorkerHubRestake struct { Miner common.Address Restake *big.Int Model common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubRestake represents a Restake event raised by the IWorkerHub contract.
type IWorkerHubRestakeIterator ¶
type IWorkerHubRestakeIterator struct { Event *IWorkerHubRestake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubRestakeIterator is returned from FilterRestake and is used to iterate over the raw logs and unpacked data for Restake events raised by the IWorkerHub contract.
func (*IWorkerHubRestakeIterator) Close ¶
func (it *IWorkerHubRestakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubRestakeIterator) Error ¶
func (it *IWorkerHubRestakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubRestakeIterator) Next ¶
func (it *IWorkerHubRestakeIterator) 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 IWorkerHubRevealDuration ¶
type IWorkerHubRevealDuration struct { OldTime *big.Int NewTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubRevealDuration represents a RevealDuration event raised by the IWorkerHub contract.
type IWorkerHubRevealDurationIterator ¶
type IWorkerHubRevealDurationIterator struct { Event *IWorkerHubRevealDuration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubRevealDurationIterator is returned from FilterRevealDuration and is used to iterate over the raw logs and unpacked data for RevealDuration events raised by the IWorkerHub contract.
func (*IWorkerHubRevealDurationIterator) Close ¶
func (it *IWorkerHubRevealDurationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubRevealDurationIterator) Error ¶
func (it *IWorkerHubRevealDurationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubRevealDurationIterator) Next ¶
func (it *IWorkerHubRevealDurationIterator) 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 IWorkerHubRevealSubmission ¶
type IWorkerHubRevealSubmission struct { Miner common.Address AssigmentId *big.Int Nonce *big.Int Output []byte Raw types.Log // Blockchain specific contextual infos }
IWorkerHubRevealSubmission represents a RevealSubmission event raised by the IWorkerHub contract.
type IWorkerHubRevealSubmissionIterator ¶
type IWorkerHubRevealSubmissionIterator struct { Event *IWorkerHubRevealSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubRevealSubmissionIterator is returned from FilterRevealSubmission and is used to iterate over the raw logs and unpacked data for RevealSubmission events raised by the IWorkerHub contract.
func (*IWorkerHubRevealSubmissionIterator) Close ¶
func (it *IWorkerHubRevealSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubRevealSubmissionIterator) Error ¶
func (it *IWorkerHubRevealSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubRevealSubmissionIterator) Next ¶
func (it *IWorkerHubRevealSubmissionIterator) 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 IWorkerHubRewardClaim ¶
type IWorkerHubRewardClaim struct { Worker common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubRewardClaim represents a RewardClaim event raised by the IWorkerHub contract.
type IWorkerHubRewardClaimIterator ¶
type IWorkerHubRewardClaimIterator struct { Event *IWorkerHubRewardClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubRewardClaimIterator is returned from FilterRewardClaim and is used to iterate over the raw logs and unpacked data for RewardClaim events raised by the IWorkerHub contract.
func (*IWorkerHubRewardClaimIterator) Close ¶
func (it *IWorkerHubRewardClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubRewardClaimIterator) Error ¶
func (it *IWorkerHubRewardClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubRewardClaimIterator) Next ¶
func (it *IWorkerHubRewardClaimIterator) 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 IWorkerHubRewardPerEpoch ¶
type IWorkerHubRewardPerEpoch struct { OldReward *big.Int NewReward *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubRewardPerEpoch represents a RewardPerEpoch event raised by the IWorkerHub contract.
type IWorkerHubRewardPerEpochIterator ¶
type IWorkerHubRewardPerEpochIterator struct { Event *IWorkerHubRewardPerEpoch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubRewardPerEpochIterator is returned from FilterRewardPerEpoch and is used to iterate over the raw logs and unpacked data for RewardPerEpoch events raised by the IWorkerHub contract.
func (*IWorkerHubRewardPerEpochIterator) Close ¶
func (it *IWorkerHubRewardPerEpochIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubRewardPerEpochIterator) Error ¶
func (it *IWorkerHubRewardPerEpochIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubRewardPerEpochIterator) Next ¶
func (it *IWorkerHubRewardPerEpochIterator) 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 IWorkerHubSession ¶
type IWorkerHubSession struct { Contract *IWorkerHub // 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 }
IWorkerHubSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IWorkerHubSession) AssignmentNumber ¶
func (_IWorkerHub *IWorkerHubSession) AssignmentNumber() (*big.Int, error)
AssignmentNumber is a free data retrieval call binding the contract method 0x6973d3f2.
Solidity: function assignmentNumber() view returns(uint256)
func (*IWorkerHubSession) Assignments ¶
func (_IWorkerHub *IWorkerHubSession) Assignments(arg0 *big.Int) (struct { InferenceId *big.Int Commitment [32]byte Digest [32]byte RevealNonce *big.Int Worker common.Address Role uint8 Vote uint8 Output []byte }, error)
Assignments is a free data retrieval call binding the contract method 0x4e50c75c.
Solidity: function assignments(uint256 ) view returns(uint256 inferenceId, bytes32 commitment, bytes32 digest, uint40 revealNonce, address worker, uint8 role, uint8 vote, bytes output)
func (*IWorkerHubSession) BlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubSession) BlocksPerEpoch() (*big.Int, error)
BlocksPerEpoch is a free data retrieval call binding the contract method 0xf0682054.
Solidity: function blocksPerEpoch() view returns(uint256)
func (*IWorkerHubSession) ClaimReward ¶
func (_IWorkerHub *IWorkerHubSession) ClaimReward(_miner common.Address) (*types.Transaction, error)
ClaimReward is a paid mutator transaction binding the contract method 0xd279c191.
Solidity: function claimReward(address _miner) returns()
func (*IWorkerHubSession) Commit ¶
func (_IWorkerHub *IWorkerHubSession) Commit(_assignId *big.Int, _commitment [32]byte) (*types.Transaction, error)
Commit is a paid mutator transaction binding the contract method 0xf2f03877.
Solidity: function commit(uint256 _assignId, bytes32 _commitment) returns()
func (*IWorkerHubSession) CommitDuration ¶
func (_IWorkerHub *IWorkerHubSession) CommitDuration() (*big.Int, error)
CommitDuration is a free data retrieval call binding the contract method 0x6f833811.
Solidity: function commitDuration() view returns(uint40)
func (*IWorkerHubSession) CurrentEpoch ¶
func (_IWorkerHub *IWorkerHubSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint40)
func (*IWorkerHubSession) DaoReceiversInfo ¶
func (_IWorkerHub *IWorkerHubSession) DaoReceiversInfo(inferId *big.Int, arg1 *big.Int) (struct { Receiver common.Address Amount *big.Int Role uint8 }, error)
DaoReceiversInfo is a free data retrieval call binding the contract method 0x61d52cf7.
Solidity: function daoReceiversInfo(uint256 inferId, uint256 ) view returns(address receiver, uint256 amount, uint8 role)
func (*IWorkerHubSession) DaoToken ¶
func (_IWorkerHub *IWorkerHubSession) DaoToken() (common.Address, error)
DaoToken is a free data retrieval call binding the contract method 0x4914b030.
Solidity: function daoToken() view returns(address)
func (*IWorkerHubSession) DaoTokenPercentage ¶
func (_IWorkerHub *IWorkerHubSession) DaoTokenPercentage() (struct { MinerPercentage uint16 UserPercentage uint16 ReferrerPercentage uint16 RefereePercentage uint16 L2OwnerPercentage uint16 }, error)
DaoTokenPercentage is a free data retrieval call binding the contract method 0xff5db406.
Solidity: function daoTokenPercentage() view returns(uint16 minerPercentage, uint16 userPercentage, uint16 referrerPercentage, uint16 refereePercentage, uint16 l2OwnerPercentage)
func (*IWorkerHubSession) DaoTokenReward ¶
func (_IWorkerHub *IWorkerHubSession) DaoTokenReward() (*big.Int, error)
DaoTokenReward is a free data retrieval call binding the contract method 0x0940c392.
Solidity: function daoTokenReward() view returns(uint256)
func (*IWorkerHubSession) FeeL2Percentage ¶
func (_IWorkerHub *IWorkerHubSession) FeeL2Percentage() (uint16, error)
FeeL2Percentage is a free data retrieval call binding the contract method 0x39d2e296.
Solidity: function feeL2Percentage() view returns(uint16)
func (*IWorkerHubSession) FeeRatioMinerValidator ¶
func (_IWorkerHub *IWorkerHubSession) FeeRatioMinerValidator() (uint16, error)
FeeRatioMinerValidator is a free data retrieval call binding the contract method 0x50eac7c8.
Solidity: function feeRatioMinerValidator() view returns(uint16)
func (*IWorkerHubSession) FeeTreasuryPercentage ¶
func (_IWorkerHub *IWorkerHubSession) FeeTreasuryPercentage() (uint16, error)
FeeTreasuryPercentage is a free data retrieval call binding the contract method 0x09c83b4f.
Solidity: function feeTreasuryPercentage() view returns(uint16)
func (*IWorkerHubSession) FinePercentage ¶
func (_IWorkerHub *IWorkerHubSession) FinePercentage() (uint16, error)
FinePercentage is a free data retrieval call binding the contract method 0x74172795.
Solidity: function finePercentage() view returns(uint16)
func (*IWorkerHubSession) ForceChangeModelForMiner ¶
func (_IWorkerHub *IWorkerHubSession) ForceChangeModelForMiner(_miner common.Address, _modelAddress common.Address) (*types.Transaction, error)
ForceChangeModelForMiner is a paid mutator transaction binding the contract method 0x339d0f78.
Solidity: function forceChangeModelForMiner(address _miner, address _modelAddress) returns()
func (*IWorkerHubSession) GetAllAssignments ¶
func (_IWorkerHub *IWorkerHubSession) GetAllAssignments(startId *big.Int, count *big.Int) ([]IWorkerHubAssignment, error)
GetAllAssignments is a free data retrieval call binding the contract method 0x16d0a88f.
Solidity: function getAllAssignments(uint256 startId, uint256 count) view returns((uint256,bytes32,bytes32,uint40,address,uint8,uint8,bytes)[] assignmentData)
func (*IWorkerHubSession) GetAllInferences ¶
func (_IWorkerHub *IWorkerHubSession) GetAllInferences(startId *big.Int, count *big.Int) ([]IWorkerHubInference, error)
GetAllInferences is a free data retrieval call binding the contract method 0xf1ea45e3.
Solidity: function getAllInferences(uint256 startId, uint256 count) view returns((uint256[],bytes,uint256,uint256,uint256,address,uint40,uint40,uint40,uint8,address,address,address)[] inferenceData)
func (*IWorkerHubSession) GetAllMinerUnstakeRequests ¶
func (_IWorkerHub *IWorkerHubSession) GetAllMinerUnstakeRequests() (struct { UnstakeAddresses []common.Address UnstakeRequests []IWorkerHubUnstakeRequest }, error)
GetAllMinerUnstakeRequests is a free data retrieval call binding the contract method 0x9280f078.
Solidity: function getAllMinerUnstakeRequests() view returns(address[] unstakeAddresses, (uint256,uint40)[] unstakeRequests)
func (*IWorkerHubSession) GetAllMiners ¶
func (_IWorkerHub *IWorkerHubSession) GetAllMiners() ([]IWorkerHubWorker, error)
GetAllMiners is a free data retrieval call binding the contract method 0x4b17bf30.
Solidity: function getAllMiners() view returns((uint256,uint256,address,uint40,uint40,uint16)[] minerData)
func (*IWorkerHubSession) GetAssignmentByInferenceId ¶
func (_IWorkerHub *IWorkerHubSession) GetAssignmentByInferenceId(_inferId *big.Int) ([]IWorkerHubAssignment, error)
GetAssignmentByInferenceId is a free data retrieval call binding the contract method 0x19a9dc71.
Solidity: function getAssignmentByInferenceId(uint256 _inferId) view returns((uint256,bytes32,bytes32,uint40,address,uint8,uint8,bytes)[])
func (*IWorkerHubSession) GetAssignmentByMiner ¶
func (_IWorkerHub *IWorkerHubSession) GetAssignmentByMiner(_minerAddr common.Address) ([]IWorkerHubAssignmentInfo, error)
GetAssignmentByMiner is a free data retrieval call binding the contract method 0x5937e5ed.
Solidity: function getAssignmentByMiner(address _minerAddr) view returns((uint256,uint256,uint256,bytes,address,address,uint40,uint40,uint40)[])
func (*IWorkerHubSession) GetInferenceInfo ¶
func (_IWorkerHub *IWorkerHubSession) GetInferenceInfo(_inferenceId *big.Int) (IWorkerHubInference, error)
GetInferenceInfo is a free data retrieval call binding the contract method 0x08c05903.
Solidity: function getInferenceInfo(uint256 _inferenceId) view returns((uint256[],bytes,uint256,uint256,uint256,address,uint40,uint40,uint40,uint8,address,address,address))
func (*IWorkerHubSession) GetMinFeeToUse ¶
func (_IWorkerHub *IWorkerHubSession) GetMinFeeToUse(_modelAddress common.Address) (*big.Int, error)
GetMinFeeToUse is a free data retrieval call binding the contract method 0xafc1fce7.
Solidity: function getMinFeeToUse(address _modelAddress) view returns(uint256)
func (*IWorkerHubSession) GetMinerAddresses ¶
func (_IWorkerHub *IWorkerHubSession) GetMinerAddresses() ([]common.Address, error)
GetMinerAddresses is a free data retrieval call binding the contract method 0xe8d6f2f1.
Solidity: function getMinerAddresses() view returns(address[])
func (*IWorkerHubSession) GetMinerAddressesOfModel ¶
func (_IWorkerHub *IWorkerHubSession) GetMinerAddressesOfModel(_model common.Address) ([]common.Address, error)
GetMinerAddressesOfModel is a free data retrieval call binding the contract method 0x47253baa.
Solidity: function getMinerAddressesOfModel(address _model) view returns(address[])
func (*IWorkerHubSession) GetMiners ¶
func (_IWorkerHub *IWorkerHubSession) GetMiners() ([]IWorkerHubWorkerInfo, error)
GetMiners is a free data retrieval call binding the contract method 0x1633da6e.
Solidity: function getMiners() view returns((address,uint256,uint256,address,uint40,uint40,uint16)[])
func (*IWorkerHubSession) GetMintingAssignmentsOfInference ¶
func (_IWorkerHub *IWorkerHubSession) GetMintingAssignmentsOfInference(_inferenceId *big.Int) ([]IWorkerHubAssignmentInfo, error)
GetMintingAssignmentsOfInference is a free data retrieval call binding the contract method 0x5eec7b20.
Solidity: function getMintingAssignmentsOfInference(uint256 _inferenceId) view returns((uint256,uint256,uint256,bytes,address,address,uint40,uint40,uint40)[])
func (*IWorkerHubSession) GetModelAddresses ¶
func (_IWorkerHub *IWorkerHubSession) GetModelAddresses() ([]common.Address, error)
GetModelAddresses is a free data retrieval call binding the contract method 0x9ae49cd3.
Solidity: function getModelAddresses() view returns(address[])
func (*IWorkerHubSession) GetNOMiner ¶
func (_IWorkerHub *IWorkerHubSession) GetNOMiner() (*big.Int, error)
GetNOMiner is a free data retrieval call binding the contract method 0xd2d89be8.
Solidity: function getNOMiner() view returns(uint256)
func (*IWorkerHubSession) GetRoleByAssigmentId ¶
func (_IWorkerHub *IWorkerHubSession) GetRoleByAssigmentId(_assignmentId *big.Int) (uint8, error)
GetRoleByAssigmentId is a free data retrieval call binding the contract method 0xca0c80fc.
Solidity: function getRoleByAssigmentId(uint256 _assignmentId) view returns(uint8)
func (*IWorkerHubSession) IncreaseMinerStake ¶
func (_IWorkerHub *IWorkerHubSession) IncreaseMinerStake(wEAIAmt *big.Int) (*types.Transaction, error)
IncreaseMinerStake is a paid mutator transaction binding the contract method 0xb1d1a56b.
Solidity: function increaseMinerStake(uint256 wEAIAmt) returns()
func (*IWorkerHubSession) Infer ¶
func (_IWorkerHub *IWorkerHubSession) Infer(_input []byte, _creator common.Address) (*types.Transaction, error)
Infer is a paid mutator transaction binding the contract method 0xd9844458.
Solidity: function infer(bytes _input, address _creator) payable returns(uint256)
func (*IWorkerHubSession) InferWithCallback ¶
func (_IWorkerHub *IWorkerHubSession) InferWithCallback(originInferId *big.Int, _input []byte, _creator common.Address, callback common.Address) (*types.Transaction, error)
InferWithCallback is a paid mutator transaction binding the contract method 0xb8cfec3d.
Solidity: function inferWithCallback(uint256 originInferId, bytes _input, address _creator, address callback) payable returns(uint256 inferenceId)
func (*IWorkerHubSession) InferenceNumber ¶
func (_IWorkerHub *IWorkerHubSession) InferenceNumber() (*big.Int, error)
InferenceNumber is a free data retrieval call binding the contract method 0xf80dca98.
Solidity: function inferenceNumber() view returns(uint256)
func (*IWorkerHubSession) Initialize ¶
func (_IWorkerHub *IWorkerHubSession) Initialize(_l2Owner common.Address, _treasury common.Address, _daoToken common.Address, _feeL2Percentage uint16, _feeTreasuryPercentage uint16, _minerMinimumStake *big.Int, _minerRequirement uint8, _blocksPerEpoch *big.Int, _rewardPerEpoch *big.Int, _duration *big.Int, _finePercentage uint16, _feeRatioMinerValidor uint16, _minFeeToUse *big.Int, _daoTokenReward *big.Int, _daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe2f32c82.
Solidity: function initialize(address _l2Owner, address _treasury, address _daoToken, uint16 _feeL2Percentage, uint16 _feeTreasuryPercentage, uint256 _minerMinimumStake, uint8 _minerRequirement, uint256 _blocksPerEpoch, uint256 _rewardPerEpoch, uint256 _duration, uint16 _finePercentage, uint16 _feeRatioMinerValidor, uint256 _minFeeToUse, uint256 _daoTokenReward, (uint16,uint16,uint16,uint16,uint16) _daoTokenPercentage) returns()
func (*IWorkerHubSession) IsAssignmentPending ¶
func (_IWorkerHub *IWorkerHubSession) IsAssignmentPending(_assignmentId *big.Int) (bool, error)
IsAssignmentPending is a free data retrieval call binding the contract method 0x57a38def.
Solidity: function isAssignmentPending(uint256 _assignmentId) view returns(bool)
func (*IWorkerHubSession) IsReferrer ¶
func (_IWorkerHub *IWorkerHubSession) IsReferrer(arg0 common.Address) (bool, error)
IsReferrer is a free data retrieval call binding the contract method 0xd64d6968.
Solidity: function isReferrer(address ) view returns(bool)
func (*IWorkerHubSession) JoinForMinting ¶
func (_IWorkerHub *IWorkerHubSession) JoinForMinting() (*types.Transaction, error)
JoinForMinting is a paid mutator transaction binding the contract method 0x1a8ef584.
Solidity: function joinForMinting() returns()
func (*IWorkerHubSession) L2Owner ¶
func (_IWorkerHub *IWorkerHubSession) L2Owner() (common.Address, error)
L2Owner is a free data retrieval call binding the contract method 0xf003a0c5.
Solidity: function l2Owner() view returns(address)
func (*IWorkerHubSession) LastBlock ¶
func (_IWorkerHub *IWorkerHubSession) LastBlock() (*big.Int, error)
LastBlock is a free data retrieval call binding the contract method 0x806b984f.
Solidity: function lastBlock() view returns(uint256)
func (*IWorkerHubSession) MaximumTier ¶
func (_IWorkerHub *IWorkerHubSession) MaximumTier() (uint16, error)
MaximumTier is a free data retrieval call binding the contract method 0x0716187f.
Solidity: function maximumTier() view returns(uint16)
func (*IWorkerHubSession) MinFeeToUse ¶
func (_IWorkerHub *IWorkerHubSession) MinFeeToUse() (*big.Int, error)
MinFeeToUse is a free data retrieval call binding the contract method 0x2a1a8ca8.
Solidity: function minFeeToUse() view returns(uint256)
func (*IWorkerHubSession) MinerMinimumStake ¶
func (_IWorkerHub *IWorkerHubSession) MinerMinimumStake() (*big.Int, error)
MinerMinimumStake is a free data retrieval call binding the contract method 0x3304f456.
Solidity: function minerMinimumStake() view returns(uint256)
func (*IWorkerHubSession) MinerRequirement ¶
func (_IWorkerHub *IWorkerHubSession) MinerRequirement() (uint8, error)
MinerRequirement is a free data retrieval call binding the contract method 0xdd9b9766.
Solidity: function minerRequirement() view returns(uint8)
func (*IWorkerHubSession) MinerUnstakeRequests ¶
func (_IWorkerHub *IWorkerHubSession) MinerUnstakeRequests(arg0 common.Address) (struct { Stake *big.Int UnlockAt *big.Int }, error)
MinerUnstakeRequests is a free data retrieval call binding the contract method 0x191a54d8.
Solidity: function minerUnstakeRequests(address ) view returns(uint256 stake, uint40 unlockAt)
func (*IWorkerHubSession) Miners ¶
func (_IWorkerHub *IWorkerHubSession) Miners(arg0 common.Address) (struct { Stake *big.Int Commitment *big.Int ModelAddress common.Address LastClaimedEpoch *big.Int ActiveTime *big.Int Tier uint16 }, error)
Miners is a free data retrieval call binding the contract method 0x648ec7b9.
Solidity: function miners(address ) view returns(uint256 stake, uint256 commitment, address modelAddress, uint40 lastClaimedEpoch, uint40 activeTime, uint16 tier)
func (*IWorkerHubSession) ModelScoring ¶
func (_IWorkerHub *IWorkerHubSession) ModelScoring() (common.Address, error)
ModelScoring is a free data retrieval call binding the contract method 0xfe0503c0.
Solidity: function modelScoring() view returns(address)
func (*IWorkerHubSession) Models ¶
func (_IWorkerHub *IWorkerHubSession) Models(arg0 common.Address) (struct { MinimumFee *big.Int Tier uint32 }, error)
Models is a free data retrieval call binding the contract method 0x54917f83.
Solidity: function models(address ) view returns(uint256 minimumFee, uint32 tier)
func (*IWorkerHubSession) Multiplier ¶
Multiplier is a free data retrieval call binding the contract method 0xa9b3f8b7.
Solidity: function multiplier(address _miner) view returns(uint256)
func (*IWorkerHubSession) Owner ¶
func (_IWorkerHub *IWorkerHubSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IWorkerHubSession) Pause ¶
func (_IWorkerHub *IWorkerHubSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*IWorkerHubSession) Paused ¶
func (_IWorkerHub *IWorkerHubSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*IWorkerHubSession) PenaltyDuration ¶
func (_IWorkerHub *IWorkerHubSession) PenaltyDuration() (*big.Int, error)
PenaltyDuration is a free data retrieval call binding the contract method 0x5aa1326c.
Solidity: function penaltyDuration() view returns(uint40)
func (*IWorkerHubSession) Receive ¶
func (_IWorkerHub *IWorkerHubSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*IWorkerHubSession) RegisterMiner ¶
func (_IWorkerHub *IWorkerHubSession) RegisterMiner(tier uint16, wEAIAmt *big.Int) (*types.Transaction, error)
RegisterMiner is a paid mutator transaction binding the contract method 0x668133e3.
Solidity: function registerMiner(uint16 tier, uint256 wEAIAmt) returns()
func (*IWorkerHubSession) RegisterModel ¶
func (_IWorkerHub *IWorkerHubSession) RegisterModel(_model common.Address, _tier uint16, _minimumFee *big.Int) (*types.Transaction, error)
RegisterModel is a paid mutator transaction binding the contract method 0xa8d6d3d1.
Solidity: function registerModel(address _model, uint16 _tier, uint256 _minimumFee) returns()
func (*IWorkerHubSession) RegisterReferrer ¶
func (_IWorkerHub *IWorkerHubSession) RegisterReferrer(_referrer common.Address) (*types.Transaction, error)
RegisterReferrer is a paid mutator transaction binding the contract method 0x9ea7685a.
Solidity: function registerReferrer(address _referrer) returns()
func (*IWorkerHubSession) RegisterReferrer0 ¶
func (_IWorkerHub *IWorkerHubSession) RegisterReferrer0(_referrers []common.Address, _referees []common.Address) (*types.Transaction, error)
RegisterReferrer0 is a paid mutator transaction binding the contract method 0xc41bf665.
Solidity: function registerReferrer(address[] _referrers, address[] _referees) returns()
func (*IWorkerHubSession) RenounceOwnership ¶
func (_IWorkerHub *IWorkerHubSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IWorkerHubSession) ResolveInference ¶
func (_IWorkerHub *IWorkerHubSession) ResolveInference(_inferenceId *big.Int) (*types.Transaction, error)
ResolveInference is a paid mutator transaction binding the contract method 0x6029e786.
Solidity: function resolveInference(uint256 _inferenceId) returns()
func (*IWorkerHubSession) RestakeForMiner ¶
func (_IWorkerHub *IWorkerHubSession) RestakeForMiner(tier uint16) (*types.Transaction, error)
RestakeForMiner is a paid mutator transaction binding the contract method 0x4fb9bc1e.
Solidity: function restakeForMiner(uint16 tier) returns()
func (*IWorkerHubSession) ResultReceived ¶
func (_IWorkerHub *IWorkerHubSession) ResultReceived(result []byte) (*types.Transaction, error)
ResultReceived is a paid mutator transaction binding the contract method 0xc3477018.
Solidity: function resultReceived(bytes result) returns()
func (*IWorkerHubSession) ResultReceived0 ¶
func (_IWorkerHub *IWorkerHubSession) ResultReceived0(_originInferId *big.Int, _result []byte) (*types.Transaction, error)
ResultReceived0 is a paid mutator transaction binding the contract method 0xd2a554e7.
Solidity: function resultReceived(uint256 _originInferId, bytes _result) returns()
func (*IWorkerHubSession) Reveal ¶
func (_IWorkerHub *IWorkerHubSession) Reveal(_assignId *big.Int, _nonce *big.Int, _data []byte) (*types.Transaction, error)
Reveal is a paid mutator transaction binding the contract method 0x121a301d.
Solidity: function reveal(uint256 _assignId, uint40 _nonce, bytes _data) returns()
func (*IWorkerHubSession) RevealDuration ¶
func (_IWorkerHub *IWorkerHubSession) RevealDuration() (*big.Int, error)
RevealDuration is a free data retrieval call binding the contract method 0x886a6de1.
Solidity: function revealDuration() view returns(uint40)
func (*IWorkerHubSession) RewardInEpoch ¶
func (_IWorkerHub *IWorkerHubSession) RewardInEpoch(arg0 *big.Int) (struct { PerfReward *big.Int EpochReward *big.Int TotalTaskCompleted *big.Int TotalMiner *big.Int }, error)
RewardInEpoch is a free data retrieval call binding the contract method 0x652ff159.
Solidity: function rewardInEpoch(uint256 ) view returns(uint256 perfReward, uint256 epochReward, uint256 totalTaskCompleted, uint256 totalMiner)
func (*IWorkerHubSession) RewardPerEpoch ¶
func (_IWorkerHub *IWorkerHubSession) RewardPerEpoch() (*big.Int, error)
RewardPerEpoch is a free data retrieval call binding the contract method 0x84449a9d.
Solidity: function rewardPerEpoch() view returns(uint256)
func (*IWorkerHubSession) RewardToClaim ¶
func (_IWorkerHub *IWorkerHubSession) RewardToClaim(_miner common.Address) (*types.Transaction, error)
RewardToClaim is a paid mutator transaction binding the contract method 0x674a63b9.
Solidity: function rewardToClaim(address _miner) returns(uint256)
func (*IWorkerHubSession) SeizeMinerRole ¶
func (_IWorkerHub *IWorkerHubSession) SeizeMinerRole(_assignmentId *big.Int) (*types.Transaction, error)
SeizeMinerRole is a paid mutator transaction binding the contract method 0xffbc6661.
Solidity: function seizeMinerRole(uint256 _assignmentId) returns()
func (*IWorkerHubSession) SetBlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubSession) SetBlocksPerEpoch(_blocks *big.Int) (*types.Transaction, error)
SetBlocksPerEpoch is a paid mutator transaction binding the contract method 0x034438b0.
Solidity: function setBlocksPerEpoch(uint256 _blocks) returns()
func (*IWorkerHubSession) SetCommitDuration ¶
func (_IWorkerHub *IWorkerHubSession) SetCommitDuration(_newCommitDuration *big.Int) (*types.Transaction, error)
SetCommitDuration is a paid mutator transaction binding the contract method 0x54b18651.
Solidity: function setCommitDuration(uint40 _newCommitDuration) returns()
func (*IWorkerHubSession) SetDAOToken ¶
func (_IWorkerHub *IWorkerHubSession) SetDAOToken(_daoTokenAddress common.Address) (*types.Transaction, error)
SetDAOToken is a paid mutator transaction binding the contract method 0x70a52354.
Solidity: function setDAOToken(address _daoTokenAddress) returns()
func (*IWorkerHubSession) SetDAOTokenPercentage ¶
func (_IWorkerHub *IWorkerHubSession) SetDAOTokenPercentage(_daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
SetDAOTokenPercentage is a paid mutator transaction binding the contract method 0x3860ce68.
Solidity: function setDAOTokenPercentage((uint16,uint16,uint16,uint16,uint16) _daoTokenPercentage) returns()
func (*IWorkerHubSession) SetDAOTokenReward ¶
func (_IWorkerHub *IWorkerHubSession) SetDAOTokenReward(_newDAOTokenReward *big.Int) (*types.Transaction, error)
SetDAOTokenReward is a paid mutator transaction binding the contract method 0x76e7ffae.
Solidity: function setDAOTokenReward(uint256 _newDAOTokenReward) returns()
func (*IWorkerHubSession) SetFeeRatioMinerValidator ¶
func (_IWorkerHub *IWorkerHubSession) SetFeeRatioMinerValidator(_newRatio uint16) (*types.Transaction, error)
SetFeeRatioMinerValidator is a paid mutator transaction binding the contract method 0xafa82609.
Solidity: function setFeeRatioMinerValidator(uint16 _newRatio) returns()
func (*IWorkerHubSession) SetFinePercentage ¶
func (_IWorkerHub *IWorkerHubSession) SetFinePercentage(_finePercentage uint16) (*types.Transaction, error)
SetFinePercentage is a paid mutator transaction binding the contract method 0x431a4457.
Solidity: function setFinePercentage(uint16 _finePercentage) returns()
func (*IWorkerHubSession) SetL2Owner ¶
func (_IWorkerHub *IWorkerHubSession) SetL2Owner(_l2OwnerAddress common.Address) (*types.Transaction, error)
SetL2Owner is a paid mutator transaction binding the contract method 0xb530c110.
Solidity: function setL2Owner(address _l2OwnerAddress) returns()
func (*IWorkerHubSession) SetMinFeeToUse ¶
func (_IWorkerHub *IWorkerHubSession) SetMinFeeToUse(_minFeeToUse *big.Int) (*types.Transaction, error)
SetMinFeeToUse is a paid mutator transaction binding the contract method 0xaf5e3be0.
Solidity: function setMinFeeToUse(uint256 _minFeeToUse) returns()
func (*IWorkerHubSession) SetMinerMinimumStake ¶
func (_IWorkerHub *IWorkerHubSession) SetMinerMinimumStake(_minerMinimumStake *big.Int) (*types.Transaction, error)
SetMinerMinimumStake is a paid mutator transaction binding the contract method 0xe69d5b98.
Solidity: function setMinerMinimumStake(uint256 _minerMinimumStake) returns()
func (*IWorkerHubSession) SetNewRewardInEpoch ¶
func (_IWorkerHub *IWorkerHubSession) SetNewRewardInEpoch(_newRewardAmount *big.Int) (*types.Transaction, error)
SetNewRewardInEpoch is a paid mutator transaction binding the contract method 0xe32bd90c.
Solidity: function setNewRewardInEpoch(uint256 _newRewardAmount) returns()
func (*IWorkerHubSession) SetPenaltyDuration ¶
func (_IWorkerHub *IWorkerHubSession) SetPenaltyDuration(_penaltyDuration *big.Int) (*types.Transaction, error)
SetPenaltyDuration is a paid mutator transaction binding the contract method 0x885b050f.
Solidity: function setPenaltyDuration(uint40 _penaltyDuration) returns()
func (*IWorkerHubSession) SetRevealDuration ¶
func (_IWorkerHub *IWorkerHubSession) SetRevealDuration(_newRevealDuration *big.Int) (*types.Transaction, error)
SetRevealDuration is a paid mutator transaction binding the contract method 0x1eb9a99a.
Solidity: function setRevealDuration(uint40 _newRevealDuration) returns()
func (*IWorkerHubSession) SetScoringInfo ¶
func (_IWorkerHub *IWorkerHubSession) SetScoringInfo(_workerHubScoring common.Address, _modelScoring common.Address) (*types.Transaction, error)
SetScoringInfo is a paid mutator transaction binding the contract method 0x0d425ea5.
Solidity: function setScoringInfo(address _workerHubScoring, address _modelScoring) returns()
func (*IWorkerHubSession) SetSubmitDuration ¶
func (_IWorkerHub *IWorkerHubSession) SetSubmitDuration(_newSubmitDuration *big.Int) (*types.Transaction, error)
SetSubmitDuration is a paid mutator transaction binding the contract method 0x6f643736.
Solidity: function setSubmitDuration(uint40 _newSubmitDuration) returns()
func (*IWorkerHubSession) SetTreasuryAddress ¶
func (_IWorkerHub *IWorkerHubSession) SetTreasuryAddress(_treasuryAddress common.Address) (*types.Transaction, error)
SetTreasuryAddress is a paid mutator transaction binding the contract method 0x6605bfda.
Solidity: function setTreasuryAddress(address _treasuryAddress) returns()
func (*IWorkerHubSession) SetUnstakDelayTime ¶
func (_IWorkerHub *IWorkerHubSession) SetUnstakDelayTime(_newUnstakeDelayTime *big.Int) (*types.Transaction, error)
SetUnstakDelayTime is a paid mutator transaction binding the contract method 0x351b2b33.
Solidity: function setUnstakDelayTime(uint40 _newUnstakeDelayTime) returns()
func (*IWorkerHubSession) SlashMiner ¶
func (_IWorkerHub *IWorkerHubSession) SlashMiner(_miner common.Address, _isFined bool) (*types.Transaction, error)
SlashMiner is a paid mutator transaction binding the contract method 0x969ceab4.
Solidity: function slashMiner(address _miner, bool _isFined) returns()
func (*IWorkerHubSession) StreamData ¶
func (_IWorkerHub *IWorkerHubSession) StreamData(_assignmentId *big.Int, _data []byte) (*types.Transaction, error)
StreamData is a paid mutator transaction binding the contract method 0x020e3011.
Solidity: function streamData(uint256 _assignmentId, bytes _data) returns()
func (*IWorkerHubSession) SubmitDuration ¶
func (_IWorkerHub *IWorkerHubSession) SubmitDuration() (*big.Int, error)
SubmitDuration is a free data retrieval call binding the contract method 0xcc56b6f8.
Solidity: function submitDuration() view returns(uint40)
func (*IWorkerHubSession) SubmitSolution ¶
func (_IWorkerHub *IWorkerHubSession) SubmitSolution(_assigmentId *big.Int, _data []byte) (*types.Transaction, error)
SubmitSolution is a paid mutator transaction binding the contract method 0xe84dee6b.
Solidity: function submitSolution(uint256 _assigmentId, bytes _data) returns()
func (*IWorkerHubSession) TopUpInfer ¶
func (_IWorkerHub *IWorkerHubSession) TopUpInfer(_inferenceId *big.Int) (*types.Transaction, error)
TopUpInfer is a paid mutator transaction binding the contract method 0xe9bd0e26.
Solidity: function topUpInfer(uint256 _inferenceId) payable returns()
func (*IWorkerHubSession) TransferOwnership ¶
func (_IWorkerHub *IWorkerHubSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*IWorkerHubSession) Treasury ¶
func (_IWorkerHub *IWorkerHubSession) Treasury() (common.Address, error)
Treasury is a free data retrieval call binding the contract method 0x61d027b3.
Solidity: function treasury() view returns(address)
func (*IWorkerHubSession) Unpause ¶
func (_IWorkerHub *IWorkerHubSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*IWorkerHubSession) UnregisterMiner ¶
func (_IWorkerHub *IWorkerHubSession) UnregisterMiner() (*types.Transaction, error)
UnregisterMiner is a paid mutator transaction binding the contract method 0x656a1b20.
Solidity: function unregisterMiner() returns()
func (*IWorkerHubSession) UnregisterModel ¶
func (_IWorkerHub *IWorkerHubSession) UnregisterModel(_model common.Address) (*types.Transaction, error)
UnregisterModel is a paid mutator transaction binding the contract method 0xdb2dab1d.
Solidity: function unregisterModel(address _model) returns()
func (*IWorkerHubSession) UnstakeDelayTime ¶
func (_IWorkerHub *IWorkerHubSession) UnstakeDelayTime() (*big.Int, error)
UnstakeDelayTime is a free data retrieval call binding the contract method 0xe4fefd65.
Solidity: function unstakeDelayTime() view returns(uint40)
func (*IWorkerHubSession) UnstakeForMiner ¶
func (_IWorkerHub *IWorkerHubSession) UnstakeForMiner() (*types.Transaction, error)
UnstakeForMiner is a paid mutator transaction binding the contract method 0x73df250d.
Solidity: function unstakeForMiner() returns()
func (*IWorkerHubSession) UpdateModelMinimumFee ¶
func (_IWorkerHub *IWorkerHubSession) UpdateModelMinimumFee(_model common.Address, _minimumFee *big.Int) (*types.Transaction, error)
UpdateModelMinimumFee is a paid mutator transaction binding the contract method 0xb74cd194.
Solidity: function updateModelMinimumFee(address _model, uint256 _minimumFee) returns()
func (*IWorkerHubSession) UpdateModelTier ¶
func (_IWorkerHub *IWorkerHubSession) UpdateModelTier(_model common.Address, _tier uint32) (*types.Transaction, error)
UpdateModelTier is a paid mutator transaction binding the contract method 0x0738a9bb.
Solidity: function updateModelTier(address _model, uint32 _tier) returns()
func (*IWorkerHubSession) ValidateDAOSupplyIncrease ¶
func (_IWorkerHub *IWorkerHubSession) ValidateDAOSupplyIncrease(_isReferred bool) (bool, error)
ValidateDAOSupplyIncrease is a free data retrieval call binding the contract method 0xd7acb1ea.
Solidity: function validateDAOSupplyIncrease(bool _isReferred) view returns(bool notReachedLimit)
func (*IWorkerHubSession) Version ¶
func (_IWorkerHub *IWorkerHubSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() pure returns(string)
func (*IWorkerHubSession) VotingInfo ¶
func (_IWorkerHub *IWorkerHubSession) VotingInfo(inferId *big.Int) (struct { TotalCommit uint8 TotalReveal uint8 }, error)
VotingInfo is a free data retrieval call binding the contract method 0xe5309a66.
Solidity: function votingInfo(uint256 inferId) view returns(uint8 totalCommit, uint8 totalReveal)
func (*IWorkerHubSession) WEAI ¶
func (_IWorkerHub *IWorkerHubSession) WEAI() (common.Address, error)
WEAI is a free data retrieval call binding the contract method 0x0dc7df53.
Solidity: function wEAI() view returns(address)
func (*IWorkerHubSession) WorkerHubScoring ¶
func (_IWorkerHub *IWorkerHubSession) WorkerHubScoring() (common.Address, error)
WorkerHubScoring is a free data retrieval call binding the contract method 0x2b426301.
Solidity: function workerHubScoring() view returns(address)
type IWorkerHubSolutionSubmission ¶
type IWorkerHubSolutionSubmission struct { Miner common.Address AssigmentId *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubSolutionSubmission represents a SolutionSubmission event raised by the IWorkerHub contract.
type IWorkerHubSolutionSubmissionIterator ¶
type IWorkerHubSolutionSubmissionIterator struct { Event *IWorkerHubSolutionSubmission // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubSolutionSubmissionIterator is returned from FilterSolutionSubmission and is used to iterate over the raw logs and unpacked data for SolutionSubmission events raised by the IWorkerHub contract.
func (*IWorkerHubSolutionSubmissionIterator) Close ¶
func (it *IWorkerHubSolutionSubmissionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubSolutionSubmissionIterator) Error ¶
func (it *IWorkerHubSolutionSubmissionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubSolutionSubmissionIterator) Next ¶
func (it *IWorkerHubSolutionSubmissionIterator) 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 IWorkerHubStreamedData ¶
type IWorkerHubStreamedData struct { AssignmentId *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
IWorkerHubStreamedData represents a StreamedData event raised by the IWorkerHub contract.
type IWorkerHubStreamedDataIterator ¶
type IWorkerHubStreamedDataIterator struct { Event *IWorkerHubStreamedData // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubStreamedDataIterator is returned from FilterStreamedData and is used to iterate over the raw logs and unpacked data for StreamedData events raised by the IWorkerHub contract.
func (*IWorkerHubStreamedDataIterator) Close ¶
func (it *IWorkerHubStreamedDataIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubStreamedDataIterator) Error ¶
func (it *IWorkerHubStreamedDataIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubStreamedDataIterator) Next ¶
func (it *IWorkerHubStreamedDataIterator) 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 IWorkerHubSubmitDuration ¶
type IWorkerHubSubmitDuration struct { OldTime *big.Int NewTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubSubmitDuration represents a SubmitDuration event raised by the IWorkerHub contract.
type IWorkerHubSubmitDurationIterator ¶
type IWorkerHubSubmitDurationIterator struct { Event *IWorkerHubSubmitDuration // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubSubmitDurationIterator is returned from FilterSubmitDuration and is used to iterate over the raw logs and unpacked data for SubmitDuration events raised by the IWorkerHub contract.
func (*IWorkerHubSubmitDurationIterator) Close ¶
func (it *IWorkerHubSubmitDurationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubSubmitDurationIterator) Error ¶
func (it *IWorkerHubSubmitDurationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubSubmitDurationIterator) Next ¶
func (it *IWorkerHubSubmitDurationIterator) 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 IWorkerHubTopUpInfer ¶
type IWorkerHubTopUpInfer struct { InferenceId *big.Int Creator common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubTopUpInfer represents a TopUpInfer event raised by the IWorkerHub contract.
type IWorkerHubTopUpInferIterator ¶
type IWorkerHubTopUpInferIterator struct { Event *IWorkerHubTopUpInfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubTopUpInferIterator is returned from FilterTopUpInfer and is used to iterate over the raw logs and unpacked data for TopUpInfer events raised by the IWorkerHub contract.
func (*IWorkerHubTopUpInferIterator) Close ¶
func (it *IWorkerHubTopUpInferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubTopUpInferIterator) Error ¶
func (it *IWorkerHubTopUpInferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubTopUpInferIterator) Next ¶
func (it *IWorkerHubTopUpInferIterator) 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 IWorkerHubTransactor ¶
type IWorkerHubTransactor struct {
// contains filtered or unexported fields
}
IWorkerHubTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIWorkerHubTransactor ¶
func NewIWorkerHubTransactor(address common.Address, transactor bind.ContractTransactor) (*IWorkerHubTransactor, error)
NewIWorkerHubTransactor creates a new write-only instance of IWorkerHub, bound to a specific deployed contract.
func (*IWorkerHubTransactor) ClaimReward ¶
func (_IWorkerHub *IWorkerHubTransactor) ClaimReward(opts *bind.TransactOpts, _miner common.Address) (*types.Transaction, error)
ClaimReward is a paid mutator transaction binding the contract method 0xd279c191.
Solidity: function claimReward(address _miner) returns()
func (*IWorkerHubTransactor) Commit ¶
func (_IWorkerHub *IWorkerHubTransactor) Commit(opts *bind.TransactOpts, _assignId *big.Int, _commitment [32]byte) (*types.Transaction, error)
Commit is a paid mutator transaction binding the contract method 0xf2f03877.
Solidity: function commit(uint256 _assignId, bytes32 _commitment) returns()
func (*IWorkerHubTransactor) ForceChangeModelForMiner ¶
func (_IWorkerHub *IWorkerHubTransactor) ForceChangeModelForMiner(opts *bind.TransactOpts, _miner common.Address, _modelAddress common.Address) (*types.Transaction, error)
ForceChangeModelForMiner is a paid mutator transaction binding the contract method 0x339d0f78.
Solidity: function forceChangeModelForMiner(address _miner, address _modelAddress) returns()
func (*IWorkerHubTransactor) IncreaseMinerStake ¶
func (_IWorkerHub *IWorkerHubTransactor) IncreaseMinerStake(opts *bind.TransactOpts, wEAIAmt *big.Int) (*types.Transaction, error)
IncreaseMinerStake is a paid mutator transaction binding the contract method 0xb1d1a56b.
Solidity: function increaseMinerStake(uint256 wEAIAmt) returns()
func (*IWorkerHubTransactor) Infer ¶
func (_IWorkerHub *IWorkerHubTransactor) Infer(opts *bind.TransactOpts, _input []byte, _creator common.Address) (*types.Transaction, error)
Infer is a paid mutator transaction binding the contract method 0xd9844458.
Solidity: function infer(bytes _input, address _creator) payable returns(uint256)
func (*IWorkerHubTransactor) InferWithCallback ¶
func (_IWorkerHub *IWorkerHubTransactor) InferWithCallback(opts *bind.TransactOpts, originInferId *big.Int, _input []byte, _creator common.Address, callback common.Address) (*types.Transaction, error)
InferWithCallback is a paid mutator transaction binding the contract method 0xb8cfec3d.
Solidity: function inferWithCallback(uint256 originInferId, bytes _input, address _creator, address callback) payable returns(uint256 inferenceId)
func (*IWorkerHubTransactor) Initialize ¶
func (_IWorkerHub *IWorkerHubTransactor) Initialize(opts *bind.TransactOpts, _l2Owner common.Address, _treasury common.Address, _daoToken common.Address, _feeL2Percentage uint16, _feeTreasuryPercentage uint16, _minerMinimumStake *big.Int, _minerRequirement uint8, _blocksPerEpoch *big.Int, _rewardPerEpoch *big.Int, _duration *big.Int, _finePercentage uint16, _feeRatioMinerValidor uint16, _minFeeToUse *big.Int, _daoTokenReward *big.Int, _daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe2f32c82.
Solidity: function initialize(address _l2Owner, address _treasury, address _daoToken, uint16 _feeL2Percentage, uint16 _feeTreasuryPercentage, uint256 _minerMinimumStake, uint8 _minerRequirement, uint256 _blocksPerEpoch, uint256 _rewardPerEpoch, uint256 _duration, uint16 _finePercentage, uint16 _feeRatioMinerValidor, uint256 _minFeeToUse, uint256 _daoTokenReward, (uint16,uint16,uint16,uint16,uint16) _daoTokenPercentage) returns()
func (*IWorkerHubTransactor) JoinForMinting ¶
func (_IWorkerHub *IWorkerHubTransactor) JoinForMinting(opts *bind.TransactOpts) (*types.Transaction, error)
JoinForMinting is a paid mutator transaction binding the contract method 0x1a8ef584.
Solidity: function joinForMinting() returns()
func (*IWorkerHubTransactor) Pause ¶
func (_IWorkerHub *IWorkerHubTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*IWorkerHubTransactor) Receive ¶
func (_IWorkerHub *IWorkerHubTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*IWorkerHubTransactor) RegisterMiner ¶
func (_IWorkerHub *IWorkerHubTransactor) RegisterMiner(opts *bind.TransactOpts, tier uint16, wEAIAmt *big.Int) (*types.Transaction, error)
RegisterMiner is a paid mutator transaction binding the contract method 0x668133e3.
Solidity: function registerMiner(uint16 tier, uint256 wEAIAmt) returns()
func (*IWorkerHubTransactor) RegisterModel ¶
func (_IWorkerHub *IWorkerHubTransactor) RegisterModel(opts *bind.TransactOpts, _model common.Address, _tier uint16, _minimumFee *big.Int) (*types.Transaction, error)
RegisterModel is a paid mutator transaction binding the contract method 0xa8d6d3d1.
Solidity: function registerModel(address _model, uint16 _tier, uint256 _minimumFee) returns()
func (*IWorkerHubTransactor) RegisterReferrer ¶
func (_IWorkerHub *IWorkerHubTransactor) RegisterReferrer(opts *bind.TransactOpts, _referrer common.Address) (*types.Transaction, error)
RegisterReferrer is a paid mutator transaction binding the contract method 0x9ea7685a.
Solidity: function registerReferrer(address _referrer) returns()
func (*IWorkerHubTransactor) RegisterReferrer0 ¶
func (_IWorkerHub *IWorkerHubTransactor) RegisterReferrer0(opts *bind.TransactOpts, _referrers []common.Address, _referees []common.Address) (*types.Transaction, error)
RegisterReferrer0 is a paid mutator transaction binding the contract method 0xc41bf665.
Solidity: function registerReferrer(address[] _referrers, address[] _referees) returns()
func (*IWorkerHubTransactor) RenounceOwnership ¶
func (_IWorkerHub *IWorkerHubTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IWorkerHubTransactor) ResolveInference ¶
func (_IWorkerHub *IWorkerHubTransactor) ResolveInference(opts *bind.TransactOpts, _inferenceId *big.Int) (*types.Transaction, error)
ResolveInference is a paid mutator transaction binding the contract method 0x6029e786.
Solidity: function resolveInference(uint256 _inferenceId) returns()
func (*IWorkerHubTransactor) RestakeForMiner ¶
func (_IWorkerHub *IWorkerHubTransactor) RestakeForMiner(opts *bind.TransactOpts, tier uint16) (*types.Transaction, error)
RestakeForMiner is a paid mutator transaction binding the contract method 0x4fb9bc1e.
Solidity: function restakeForMiner(uint16 tier) returns()
func (*IWorkerHubTransactor) ResultReceived ¶
func (_IWorkerHub *IWorkerHubTransactor) ResultReceived(opts *bind.TransactOpts, result []byte) (*types.Transaction, error)
ResultReceived is a paid mutator transaction binding the contract method 0xc3477018.
Solidity: function resultReceived(bytes result) returns()
func (*IWorkerHubTransactor) ResultReceived0 ¶
func (_IWorkerHub *IWorkerHubTransactor) ResultReceived0(opts *bind.TransactOpts, _originInferId *big.Int, _result []byte) (*types.Transaction, error)
ResultReceived0 is a paid mutator transaction binding the contract method 0xd2a554e7.
Solidity: function resultReceived(uint256 _originInferId, bytes _result) returns()
func (*IWorkerHubTransactor) Reveal ¶
func (_IWorkerHub *IWorkerHubTransactor) Reveal(opts *bind.TransactOpts, _assignId *big.Int, _nonce *big.Int, _data []byte) (*types.Transaction, error)
Reveal is a paid mutator transaction binding the contract method 0x121a301d.
Solidity: function reveal(uint256 _assignId, uint40 _nonce, bytes _data) returns()
func (*IWorkerHubTransactor) RewardToClaim ¶
func (_IWorkerHub *IWorkerHubTransactor) RewardToClaim(opts *bind.TransactOpts, _miner common.Address) (*types.Transaction, error)
RewardToClaim is a paid mutator transaction binding the contract method 0x674a63b9.
Solidity: function rewardToClaim(address _miner) returns(uint256)
func (*IWorkerHubTransactor) SeizeMinerRole ¶
func (_IWorkerHub *IWorkerHubTransactor) SeizeMinerRole(opts *bind.TransactOpts, _assignmentId *big.Int) (*types.Transaction, error)
SeizeMinerRole is a paid mutator transaction binding the contract method 0xffbc6661.
Solidity: function seizeMinerRole(uint256 _assignmentId) returns()
func (*IWorkerHubTransactor) SetBlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubTransactor) SetBlocksPerEpoch(opts *bind.TransactOpts, _blocks *big.Int) (*types.Transaction, error)
SetBlocksPerEpoch is a paid mutator transaction binding the contract method 0x034438b0.
Solidity: function setBlocksPerEpoch(uint256 _blocks) returns()
func (*IWorkerHubTransactor) SetCommitDuration ¶
func (_IWorkerHub *IWorkerHubTransactor) SetCommitDuration(opts *bind.TransactOpts, _newCommitDuration *big.Int) (*types.Transaction, error)
SetCommitDuration is a paid mutator transaction binding the contract method 0x54b18651.
Solidity: function setCommitDuration(uint40 _newCommitDuration) returns()
func (*IWorkerHubTransactor) SetDAOToken ¶
func (_IWorkerHub *IWorkerHubTransactor) SetDAOToken(opts *bind.TransactOpts, _daoTokenAddress common.Address) (*types.Transaction, error)
SetDAOToken is a paid mutator transaction binding the contract method 0x70a52354.
Solidity: function setDAOToken(address _daoTokenAddress) returns()
func (*IWorkerHubTransactor) SetDAOTokenPercentage ¶
func (_IWorkerHub *IWorkerHubTransactor) SetDAOTokenPercentage(opts *bind.TransactOpts, _daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
SetDAOTokenPercentage is a paid mutator transaction binding the contract method 0x3860ce68.
Solidity: function setDAOTokenPercentage((uint16,uint16,uint16,uint16,uint16) _daoTokenPercentage) returns()
func (*IWorkerHubTransactor) SetDAOTokenReward ¶
func (_IWorkerHub *IWorkerHubTransactor) SetDAOTokenReward(opts *bind.TransactOpts, _newDAOTokenReward *big.Int) (*types.Transaction, error)
SetDAOTokenReward is a paid mutator transaction binding the contract method 0x76e7ffae.
Solidity: function setDAOTokenReward(uint256 _newDAOTokenReward) returns()
func (*IWorkerHubTransactor) SetFeeRatioMinerValidator ¶
func (_IWorkerHub *IWorkerHubTransactor) SetFeeRatioMinerValidator(opts *bind.TransactOpts, _newRatio uint16) (*types.Transaction, error)
SetFeeRatioMinerValidator is a paid mutator transaction binding the contract method 0xafa82609.
Solidity: function setFeeRatioMinerValidator(uint16 _newRatio) returns()
func (*IWorkerHubTransactor) SetFinePercentage ¶
func (_IWorkerHub *IWorkerHubTransactor) SetFinePercentage(opts *bind.TransactOpts, _finePercentage uint16) (*types.Transaction, error)
SetFinePercentage is a paid mutator transaction binding the contract method 0x431a4457.
Solidity: function setFinePercentage(uint16 _finePercentage) returns()
func (*IWorkerHubTransactor) SetL2Owner ¶
func (_IWorkerHub *IWorkerHubTransactor) SetL2Owner(opts *bind.TransactOpts, _l2OwnerAddress common.Address) (*types.Transaction, error)
SetL2Owner is a paid mutator transaction binding the contract method 0xb530c110.
Solidity: function setL2Owner(address _l2OwnerAddress) returns()
func (*IWorkerHubTransactor) SetMinFeeToUse ¶
func (_IWorkerHub *IWorkerHubTransactor) SetMinFeeToUse(opts *bind.TransactOpts, _minFeeToUse *big.Int) (*types.Transaction, error)
SetMinFeeToUse is a paid mutator transaction binding the contract method 0xaf5e3be0.
Solidity: function setMinFeeToUse(uint256 _minFeeToUse) returns()
func (*IWorkerHubTransactor) SetMinerMinimumStake ¶
func (_IWorkerHub *IWorkerHubTransactor) SetMinerMinimumStake(opts *bind.TransactOpts, _minerMinimumStake *big.Int) (*types.Transaction, error)
SetMinerMinimumStake is a paid mutator transaction binding the contract method 0xe69d5b98.
Solidity: function setMinerMinimumStake(uint256 _minerMinimumStake) returns()
func (*IWorkerHubTransactor) SetNewRewardInEpoch ¶
func (_IWorkerHub *IWorkerHubTransactor) SetNewRewardInEpoch(opts *bind.TransactOpts, _newRewardAmount *big.Int) (*types.Transaction, error)
SetNewRewardInEpoch is a paid mutator transaction binding the contract method 0xe32bd90c.
Solidity: function setNewRewardInEpoch(uint256 _newRewardAmount) returns()
func (*IWorkerHubTransactor) SetPenaltyDuration ¶
func (_IWorkerHub *IWorkerHubTransactor) SetPenaltyDuration(opts *bind.TransactOpts, _penaltyDuration *big.Int) (*types.Transaction, error)
SetPenaltyDuration is a paid mutator transaction binding the contract method 0x885b050f.
Solidity: function setPenaltyDuration(uint40 _penaltyDuration) returns()
func (*IWorkerHubTransactor) SetRevealDuration ¶
func (_IWorkerHub *IWorkerHubTransactor) SetRevealDuration(opts *bind.TransactOpts, _newRevealDuration *big.Int) (*types.Transaction, error)
SetRevealDuration is a paid mutator transaction binding the contract method 0x1eb9a99a.
Solidity: function setRevealDuration(uint40 _newRevealDuration) returns()
func (*IWorkerHubTransactor) SetScoringInfo ¶
func (_IWorkerHub *IWorkerHubTransactor) SetScoringInfo(opts *bind.TransactOpts, _workerHubScoring common.Address, _modelScoring common.Address) (*types.Transaction, error)
SetScoringInfo is a paid mutator transaction binding the contract method 0x0d425ea5.
Solidity: function setScoringInfo(address _workerHubScoring, address _modelScoring) returns()
func (*IWorkerHubTransactor) SetSubmitDuration ¶
func (_IWorkerHub *IWorkerHubTransactor) SetSubmitDuration(opts *bind.TransactOpts, _newSubmitDuration *big.Int) (*types.Transaction, error)
SetSubmitDuration is a paid mutator transaction binding the contract method 0x6f643736.
Solidity: function setSubmitDuration(uint40 _newSubmitDuration) returns()
func (*IWorkerHubTransactor) SetTreasuryAddress ¶
func (_IWorkerHub *IWorkerHubTransactor) SetTreasuryAddress(opts *bind.TransactOpts, _treasuryAddress common.Address) (*types.Transaction, error)
SetTreasuryAddress is a paid mutator transaction binding the contract method 0x6605bfda.
Solidity: function setTreasuryAddress(address _treasuryAddress) returns()
func (*IWorkerHubTransactor) SetUnstakDelayTime ¶
func (_IWorkerHub *IWorkerHubTransactor) SetUnstakDelayTime(opts *bind.TransactOpts, _newUnstakeDelayTime *big.Int) (*types.Transaction, error)
SetUnstakDelayTime is a paid mutator transaction binding the contract method 0x351b2b33.
Solidity: function setUnstakDelayTime(uint40 _newUnstakeDelayTime) returns()
func (*IWorkerHubTransactor) SlashMiner ¶
func (_IWorkerHub *IWorkerHubTransactor) SlashMiner(opts *bind.TransactOpts, _miner common.Address, _isFined bool) (*types.Transaction, error)
SlashMiner is a paid mutator transaction binding the contract method 0x969ceab4.
Solidity: function slashMiner(address _miner, bool _isFined) returns()
func (*IWorkerHubTransactor) StreamData ¶
func (_IWorkerHub *IWorkerHubTransactor) StreamData(opts *bind.TransactOpts, _assignmentId *big.Int, _data []byte) (*types.Transaction, error)
StreamData is a paid mutator transaction binding the contract method 0x020e3011.
Solidity: function streamData(uint256 _assignmentId, bytes _data) returns()
func (*IWorkerHubTransactor) SubmitSolution ¶
func (_IWorkerHub *IWorkerHubTransactor) SubmitSolution(opts *bind.TransactOpts, _assigmentId *big.Int, _data []byte) (*types.Transaction, error)
SubmitSolution is a paid mutator transaction binding the contract method 0xe84dee6b.
Solidity: function submitSolution(uint256 _assigmentId, bytes _data) returns()
func (*IWorkerHubTransactor) TopUpInfer ¶
func (_IWorkerHub *IWorkerHubTransactor) TopUpInfer(opts *bind.TransactOpts, _inferenceId *big.Int) (*types.Transaction, error)
TopUpInfer is a paid mutator transaction binding the contract method 0xe9bd0e26.
Solidity: function topUpInfer(uint256 _inferenceId) payable returns()
func (*IWorkerHubTransactor) TransferOwnership ¶
func (_IWorkerHub *IWorkerHubTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*IWorkerHubTransactor) Unpause ¶
func (_IWorkerHub *IWorkerHubTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*IWorkerHubTransactor) UnregisterMiner ¶
func (_IWorkerHub *IWorkerHubTransactor) UnregisterMiner(opts *bind.TransactOpts) (*types.Transaction, error)
UnregisterMiner is a paid mutator transaction binding the contract method 0x656a1b20.
Solidity: function unregisterMiner() returns()
func (*IWorkerHubTransactor) UnregisterModel ¶
func (_IWorkerHub *IWorkerHubTransactor) UnregisterModel(opts *bind.TransactOpts, _model common.Address) (*types.Transaction, error)
UnregisterModel is a paid mutator transaction binding the contract method 0xdb2dab1d.
Solidity: function unregisterModel(address _model) returns()
func (*IWorkerHubTransactor) UnstakeForMiner ¶
func (_IWorkerHub *IWorkerHubTransactor) UnstakeForMiner(opts *bind.TransactOpts) (*types.Transaction, error)
UnstakeForMiner is a paid mutator transaction binding the contract method 0x73df250d.
Solidity: function unstakeForMiner() returns()
func (*IWorkerHubTransactor) UpdateModelMinimumFee ¶
func (_IWorkerHub *IWorkerHubTransactor) UpdateModelMinimumFee(opts *bind.TransactOpts, _model common.Address, _minimumFee *big.Int) (*types.Transaction, error)
UpdateModelMinimumFee is a paid mutator transaction binding the contract method 0xb74cd194.
Solidity: function updateModelMinimumFee(address _model, uint256 _minimumFee) returns()
func (*IWorkerHubTransactor) UpdateModelTier ¶
func (_IWorkerHub *IWorkerHubTransactor) UpdateModelTier(opts *bind.TransactOpts, _model common.Address, _tier uint32) (*types.Transaction, error)
UpdateModelTier is a paid mutator transaction binding the contract method 0x0738a9bb.
Solidity: function updateModelTier(address _model, uint32 _tier) returns()
type IWorkerHubTransactorRaw ¶
type IWorkerHubTransactorRaw struct {
Contract *IWorkerHubTransactor // Generic write-only contract binding to access the raw methods on
}
IWorkerHubTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IWorkerHubTransactorRaw) Transact ¶
func (_IWorkerHub *IWorkerHubTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IWorkerHubTransactorRaw) Transfer ¶
func (_IWorkerHub *IWorkerHubTransactorRaw) 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 IWorkerHubTransactorSession ¶
type IWorkerHubTransactorSession struct { Contract *IWorkerHubTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IWorkerHubTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IWorkerHubTransactorSession) ClaimReward ¶
func (_IWorkerHub *IWorkerHubTransactorSession) ClaimReward(_miner common.Address) (*types.Transaction, error)
ClaimReward is a paid mutator transaction binding the contract method 0xd279c191.
Solidity: function claimReward(address _miner) returns()
func (*IWorkerHubTransactorSession) Commit ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Commit(_assignId *big.Int, _commitment [32]byte) (*types.Transaction, error)
Commit is a paid mutator transaction binding the contract method 0xf2f03877.
Solidity: function commit(uint256 _assignId, bytes32 _commitment) returns()
func (*IWorkerHubTransactorSession) ForceChangeModelForMiner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) ForceChangeModelForMiner(_miner common.Address, _modelAddress common.Address) (*types.Transaction, error)
ForceChangeModelForMiner is a paid mutator transaction binding the contract method 0x339d0f78.
Solidity: function forceChangeModelForMiner(address _miner, address _modelAddress) returns()
func (*IWorkerHubTransactorSession) IncreaseMinerStake ¶
func (_IWorkerHub *IWorkerHubTransactorSession) IncreaseMinerStake(wEAIAmt *big.Int) (*types.Transaction, error)
IncreaseMinerStake is a paid mutator transaction binding the contract method 0xb1d1a56b.
Solidity: function increaseMinerStake(uint256 wEAIAmt) returns()
func (*IWorkerHubTransactorSession) Infer ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Infer(_input []byte, _creator common.Address) (*types.Transaction, error)
Infer is a paid mutator transaction binding the contract method 0xd9844458.
Solidity: function infer(bytes _input, address _creator) payable returns(uint256)
func (*IWorkerHubTransactorSession) InferWithCallback ¶
func (_IWorkerHub *IWorkerHubTransactorSession) InferWithCallback(originInferId *big.Int, _input []byte, _creator common.Address, callback common.Address) (*types.Transaction, error)
InferWithCallback is a paid mutator transaction binding the contract method 0xb8cfec3d.
Solidity: function inferWithCallback(uint256 originInferId, bytes _input, address _creator, address callback) payable returns(uint256 inferenceId)
func (*IWorkerHubTransactorSession) Initialize ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Initialize(_l2Owner common.Address, _treasury common.Address, _daoToken common.Address, _feeL2Percentage uint16, _feeTreasuryPercentage uint16, _minerMinimumStake *big.Int, _minerRequirement uint8, _blocksPerEpoch *big.Int, _rewardPerEpoch *big.Int, _duration *big.Int, _finePercentage uint16, _feeRatioMinerValidor uint16, _minFeeToUse *big.Int, _daoTokenReward *big.Int, _daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe2f32c82.
Solidity: function initialize(address _l2Owner, address _treasury, address _daoToken, uint16 _feeL2Percentage, uint16 _feeTreasuryPercentage, uint256 _minerMinimumStake, uint8 _minerRequirement, uint256 _blocksPerEpoch, uint256 _rewardPerEpoch, uint256 _duration, uint16 _finePercentage, uint16 _feeRatioMinerValidor, uint256 _minFeeToUse, uint256 _daoTokenReward, (uint16,uint16,uint16,uint16,uint16) _daoTokenPercentage) returns()
func (*IWorkerHubTransactorSession) JoinForMinting ¶
func (_IWorkerHub *IWorkerHubTransactorSession) JoinForMinting() (*types.Transaction, error)
JoinForMinting is a paid mutator transaction binding the contract method 0x1a8ef584.
Solidity: function joinForMinting() returns()
func (*IWorkerHubTransactorSession) Pause ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*IWorkerHubTransactorSession) Receive ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*IWorkerHubTransactorSession) RegisterMiner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RegisterMiner(tier uint16, wEAIAmt *big.Int) (*types.Transaction, error)
RegisterMiner is a paid mutator transaction binding the contract method 0x668133e3.
Solidity: function registerMiner(uint16 tier, uint256 wEAIAmt) returns()
func (*IWorkerHubTransactorSession) RegisterModel ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RegisterModel(_model common.Address, _tier uint16, _minimumFee *big.Int) (*types.Transaction, error)
RegisterModel is a paid mutator transaction binding the contract method 0xa8d6d3d1.
Solidity: function registerModel(address _model, uint16 _tier, uint256 _minimumFee) returns()
func (*IWorkerHubTransactorSession) RegisterReferrer ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RegisterReferrer(_referrer common.Address) (*types.Transaction, error)
RegisterReferrer is a paid mutator transaction binding the contract method 0x9ea7685a.
Solidity: function registerReferrer(address _referrer) returns()
func (*IWorkerHubTransactorSession) RegisterReferrer0 ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RegisterReferrer0(_referrers []common.Address, _referees []common.Address) (*types.Transaction, error)
RegisterReferrer0 is a paid mutator transaction binding the contract method 0xc41bf665.
Solidity: function registerReferrer(address[] _referrers, address[] _referees) returns()
func (*IWorkerHubTransactorSession) RenounceOwnership ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IWorkerHubTransactorSession) ResolveInference ¶
func (_IWorkerHub *IWorkerHubTransactorSession) ResolveInference(_inferenceId *big.Int) (*types.Transaction, error)
ResolveInference is a paid mutator transaction binding the contract method 0x6029e786.
Solidity: function resolveInference(uint256 _inferenceId) returns()
func (*IWorkerHubTransactorSession) RestakeForMiner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RestakeForMiner(tier uint16) (*types.Transaction, error)
RestakeForMiner is a paid mutator transaction binding the contract method 0x4fb9bc1e.
Solidity: function restakeForMiner(uint16 tier) returns()
func (*IWorkerHubTransactorSession) ResultReceived ¶
func (_IWorkerHub *IWorkerHubTransactorSession) ResultReceived(result []byte) (*types.Transaction, error)
ResultReceived is a paid mutator transaction binding the contract method 0xc3477018.
Solidity: function resultReceived(bytes result) returns()
func (*IWorkerHubTransactorSession) ResultReceived0 ¶
func (_IWorkerHub *IWorkerHubTransactorSession) ResultReceived0(_originInferId *big.Int, _result []byte) (*types.Transaction, error)
ResultReceived0 is a paid mutator transaction binding the contract method 0xd2a554e7.
Solidity: function resultReceived(uint256 _originInferId, bytes _result) returns()
func (*IWorkerHubTransactorSession) Reveal ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Reveal(_assignId *big.Int, _nonce *big.Int, _data []byte) (*types.Transaction, error)
Reveal is a paid mutator transaction binding the contract method 0x121a301d.
Solidity: function reveal(uint256 _assignId, uint40 _nonce, bytes _data) returns()
func (*IWorkerHubTransactorSession) RewardToClaim ¶
func (_IWorkerHub *IWorkerHubTransactorSession) RewardToClaim(_miner common.Address) (*types.Transaction, error)
RewardToClaim is a paid mutator transaction binding the contract method 0x674a63b9.
Solidity: function rewardToClaim(address _miner) returns(uint256)
func (*IWorkerHubTransactorSession) SeizeMinerRole ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SeizeMinerRole(_assignmentId *big.Int) (*types.Transaction, error)
SeizeMinerRole is a paid mutator transaction binding the contract method 0xffbc6661.
Solidity: function seizeMinerRole(uint256 _assignmentId) returns()
func (*IWorkerHubTransactorSession) SetBlocksPerEpoch ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetBlocksPerEpoch(_blocks *big.Int) (*types.Transaction, error)
SetBlocksPerEpoch is a paid mutator transaction binding the contract method 0x034438b0.
Solidity: function setBlocksPerEpoch(uint256 _blocks) returns()
func (*IWorkerHubTransactorSession) SetCommitDuration ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetCommitDuration(_newCommitDuration *big.Int) (*types.Transaction, error)
SetCommitDuration is a paid mutator transaction binding the contract method 0x54b18651.
Solidity: function setCommitDuration(uint40 _newCommitDuration) returns()
func (*IWorkerHubTransactorSession) SetDAOToken ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetDAOToken(_daoTokenAddress common.Address) (*types.Transaction, error)
SetDAOToken is a paid mutator transaction binding the contract method 0x70a52354.
Solidity: function setDAOToken(address _daoTokenAddress) returns()
func (*IWorkerHubTransactorSession) SetDAOTokenPercentage ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetDAOTokenPercentage(_daoTokenPercentage IWorkerHubDAOTokenPercentage) (*types.Transaction, error)
SetDAOTokenPercentage is a paid mutator transaction binding the contract method 0x3860ce68.
Solidity: function setDAOTokenPercentage((uint16,uint16,uint16,uint16,uint16) _daoTokenPercentage) returns()
func (*IWorkerHubTransactorSession) SetDAOTokenReward ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetDAOTokenReward(_newDAOTokenReward *big.Int) (*types.Transaction, error)
SetDAOTokenReward is a paid mutator transaction binding the contract method 0x76e7ffae.
Solidity: function setDAOTokenReward(uint256 _newDAOTokenReward) returns()
func (*IWorkerHubTransactorSession) SetFeeRatioMinerValidator ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetFeeRatioMinerValidator(_newRatio uint16) (*types.Transaction, error)
SetFeeRatioMinerValidator is a paid mutator transaction binding the contract method 0xafa82609.
Solidity: function setFeeRatioMinerValidator(uint16 _newRatio) returns()
func (*IWorkerHubTransactorSession) SetFinePercentage ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetFinePercentage(_finePercentage uint16) (*types.Transaction, error)
SetFinePercentage is a paid mutator transaction binding the contract method 0x431a4457.
Solidity: function setFinePercentage(uint16 _finePercentage) returns()
func (*IWorkerHubTransactorSession) SetL2Owner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetL2Owner(_l2OwnerAddress common.Address) (*types.Transaction, error)
SetL2Owner is a paid mutator transaction binding the contract method 0xb530c110.
Solidity: function setL2Owner(address _l2OwnerAddress) returns()
func (*IWorkerHubTransactorSession) SetMinFeeToUse ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetMinFeeToUse(_minFeeToUse *big.Int) (*types.Transaction, error)
SetMinFeeToUse is a paid mutator transaction binding the contract method 0xaf5e3be0.
Solidity: function setMinFeeToUse(uint256 _minFeeToUse) returns()
func (*IWorkerHubTransactorSession) SetMinerMinimumStake ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetMinerMinimumStake(_minerMinimumStake *big.Int) (*types.Transaction, error)
SetMinerMinimumStake is a paid mutator transaction binding the contract method 0xe69d5b98.
Solidity: function setMinerMinimumStake(uint256 _minerMinimumStake) returns()
func (*IWorkerHubTransactorSession) SetNewRewardInEpoch ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetNewRewardInEpoch(_newRewardAmount *big.Int) (*types.Transaction, error)
SetNewRewardInEpoch is a paid mutator transaction binding the contract method 0xe32bd90c.
Solidity: function setNewRewardInEpoch(uint256 _newRewardAmount) returns()
func (*IWorkerHubTransactorSession) SetPenaltyDuration ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetPenaltyDuration(_penaltyDuration *big.Int) (*types.Transaction, error)
SetPenaltyDuration is a paid mutator transaction binding the contract method 0x885b050f.
Solidity: function setPenaltyDuration(uint40 _penaltyDuration) returns()
func (*IWorkerHubTransactorSession) SetRevealDuration ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetRevealDuration(_newRevealDuration *big.Int) (*types.Transaction, error)
SetRevealDuration is a paid mutator transaction binding the contract method 0x1eb9a99a.
Solidity: function setRevealDuration(uint40 _newRevealDuration) returns()
func (*IWorkerHubTransactorSession) SetScoringInfo ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetScoringInfo(_workerHubScoring common.Address, _modelScoring common.Address) (*types.Transaction, error)
SetScoringInfo is a paid mutator transaction binding the contract method 0x0d425ea5.
Solidity: function setScoringInfo(address _workerHubScoring, address _modelScoring) returns()
func (*IWorkerHubTransactorSession) SetSubmitDuration ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetSubmitDuration(_newSubmitDuration *big.Int) (*types.Transaction, error)
SetSubmitDuration is a paid mutator transaction binding the contract method 0x6f643736.
Solidity: function setSubmitDuration(uint40 _newSubmitDuration) returns()
func (*IWorkerHubTransactorSession) SetTreasuryAddress ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetTreasuryAddress(_treasuryAddress common.Address) (*types.Transaction, error)
SetTreasuryAddress is a paid mutator transaction binding the contract method 0x6605bfda.
Solidity: function setTreasuryAddress(address _treasuryAddress) returns()
func (*IWorkerHubTransactorSession) SetUnstakDelayTime ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SetUnstakDelayTime(_newUnstakeDelayTime *big.Int) (*types.Transaction, error)
SetUnstakDelayTime is a paid mutator transaction binding the contract method 0x351b2b33.
Solidity: function setUnstakDelayTime(uint40 _newUnstakeDelayTime) returns()
func (*IWorkerHubTransactorSession) SlashMiner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SlashMiner(_miner common.Address, _isFined bool) (*types.Transaction, error)
SlashMiner is a paid mutator transaction binding the contract method 0x969ceab4.
Solidity: function slashMiner(address _miner, bool _isFined) returns()
func (*IWorkerHubTransactorSession) StreamData ¶
func (_IWorkerHub *IWorkerHubTransactorSession) StreamData(_assignmentId *big.Int, _data []byte) (*types.Transaction, error)
StreamData is a paid mutator transaction binding the contract method 0x020e3011.
Solidity: function streamData(uint256 _assignmentId, bytes _data) returns()
func (*IWorkerHubTransactorSession) SubmitSolution ¶
func (_IWorkerHub *IWorkerHubTransactorSession) SubmitSolution(_assigmentId *big.Int, _data []byte) (*types.Transaction, error)
SubmitSolution is a paid mutator transaction binding the contract method 0xe84dee6b.
Solidity: function submitSolution(uint256 _assigmentId, bytes _data) returns()
func (*IWorkerHubTransactorSession) TopUpInfer ¶
func (_IWorkerHub *IWorkerHubTransactorSession) TopUpInfer(_inferenceId *big.Int) (*types.Transaction, error)
TopUpInfer is a paid mutator transaction binding the contract method 0xe9bd0e26.
Solidity: function topUpInfer(uint256 _inferenceId) payable returns()
func (*IWorkerHubTransactorSession) TransferOwnership ¶
func (_IWorkerHub *IWorkerHubTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*IWorkerHubTransactorSession) Unpause ¶
func (_IWorkerHub *IWorkerHubTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*IWorkerHubTransactorSession) UnregisterMiner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) UnregisterMiner() (*types.Transaction, error)
UnregisterMiner is a paid mutator transaction binding the contract method 0x656a1b20.
Solidity: function unregisterMiner() returns()
func (*IWorkerHubTransactorSession) UnregisterModel ¶
func (_IWorkerHub *IWorkerHubTransactorSession) UnregisterModel(_model common.Address) (*types.Transaction, error)
UnregisterModel is a paid mutator transaction binding the contract method 0xdb2dab1d.
Solidity: function unregisterModel(address _model) returns()
func (*IWorkerHubTransactorSession) UnstakeForMiner ¶
func (_IWorkerHub *IWorkerHubTransactorSession) UnstakeForMiner() (*types.Transaction, error)
UnstakeForMiner is a paid mutator transaction binding the contract method 0x73df250d.
Solidity: function unstakeForMiner() returns()
func (*IWorkerHubTransactorSession) UpdateModelMinimumFee ¶
func (_IWorkerHub *IWorkerHubTransactorSession) UpdateModelMinimumFee(_model common.Address, _minimumFee *big.Int) (*types.Transaction, error)
UpdateModelMinimumFee is a paid mutator transaction binding the contract method 0xb74cd194.
Solidity: function updateModelMinimumFee(address _model, uint256 _minimumFee) returns()
func (*IWorkerHubTransactorSession) UpdateModelTier ¶
func (_IWorkerHub *IWorkerHubTransactorSession) UpdateModelTier(_model common.Address, _tier uint32) (*types.Transaction, error)
UpdateModelTier is a paid mutator transaction binding the contract method 0x0738a9bb.
Solidity: function updateModelTier(address _model, uint32 _tier) returns()
type IWorkerHubTransferFee ¶
type IWorkerHubTransferFee struct { Treasury common.Address TreasuryFee *big.Int L2OwnerAddress common.Address L2OwnerFee *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubTransferFee represents a TransferFee event raised by the IWorkerHub contract.
type IWorkerHubTransferFeeIterator ¶
type IWorkerHubTransferFeeIterator struct { Event *IWorkerHubTransferFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubTransferFeeIterator is returned from FilterTransferFee and is used to iterate over the raw logs and unpacked data for TransferFee events raised by the IWorkerHub contract.
func (*IWorkerHubTransferFeeIterator) Close ¶
func (it *IWorkerHubTransferFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubTransferFeeIterator) Error ¶
func (it *IWorkerHubTransferFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubTransferFeeIterator) Next ¶
func (it *IWorkerHubTransferFeeIterator) 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 IWorkerHubTreasuryAddressUpdated ¶
type IWorkerHubTreasuryAddressUpdated struct { OldAddress common.Address NewAddress common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubTreasuryAddressUpdated represents a TreasuryAddressUpdated event raised by the IWorkerHub contract.
type IWorkerHubTreasuryAddressUpdatedIterator ¶
type IWorkerHubTreasuryAddressUpdatedIterator struct { Event *IWorkerHubTreasuryAddressUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubTreasuryAddressUpdatedIterator is returned from FilterTreasuryAddressUpdated and is used to iterate over the raw logs and unpacked data for TreasuryAddressUpdated events raised by the IWorkerHub contract.
func (*IWorkerHubTreasuryAddressUpdatedIterator) Close ¶
func (it *IWorkerHubTreasuryAddressUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubTreasuryAddressUpdatedIterator) Error ¶
func (it *IWorkerHubTreasuryAddressUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubTreasuryAddressUpdatedIterator) Next ¶
func (it *IWorkerHubTreasuryAddressUpdatedIterator) 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 IWorkerHubUnpaused ¶
type IWorkerHubUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
IWorkerHubUnpaused represents a Unpaused event raised by the IWorkerHub contract.
type IWorkerHubUnpausedIterator ¶
type IWorkerHubUnpausedIterator struct { Event *IWorkerHubUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the IWorkerHub contract.
func (*IWorkerHubUnpausedIterator) Close ¶
func (it *IWorkerHubUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubUnpausedIterator) Error ¶
func (it *IWorkerHubUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubUnpausedIterator) Next ¶
func (it *IWorkerHubUnpausedIterator) 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 IWorkerHubUnstakeDelayTime ¶
type IWorkerHubUnstakeDelayTime struct { OldDelayTime *big.Int NewDelayTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IWorkerHubUnstakeDelayTime represents a UnstakeDelayTime event raised by the IWorkerHub contract.
type IWorkerHubUnstakeDelayTimeIterator ¶
type IWorkerHubUnstakeDelayTimeIterator struct { Event *IWorkerHubUnstakeDelayTime // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWorkerHubUnstakeDelayTimeIterator is returned from FilterUnstakeDelayTime and is used to iterate over the raw logs and unpacked data for UnstakeDelayTime events raised by the IWorkerHub contract.
func (*IWorkerHubUnstakeDelayTimeIterator) Close ¶
func (it *IWorkerHubUnstakeDelayTimeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWorkerHubUnstakeDelayTimeIterator) Error ¶
func (it *IWorkerHubUnstakeDelayTimeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWorkerHubUnstakeDelayTimeIterator) Next ¶
func (it *IWorkerHubUnstakeDelayTimeIterator) 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 IWorkerHubUnstakeRequest ¶
IWorkerHubUnstakeRequest is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubWorker ¶
type IWorkerHubWorker struct { Stake *big.Int Commitment *big.Int ModelAddress common.Address LastClaimedEpoch *big.Int ActiveTime *big.Int Tier uint16 }
IWorkerHubWorker is an auto generated low-level Go binding around an user-defined struct.
type IWorkerHubWorkerInfo ¶
type IWorkerHubWorkerInfo struct { WorkerAddress common.Address Stake *big.Int Commitment *big.Int ModelAddress common.Address LastClaimedEpoch *big.Int ActiveTime *big.Int Tier uint16 }
IWorkerHubWorkerInfo is an auto generated low-level Go binding around an user-defined struct.