Documentation ¶
Index ¶
- type DelegationInfo
- type Grant
- type GrantStakeDetails
- type GrantUnlockingSchedule
- type KeepRandomBeaconOperator
- func (krbo *KeepRandomBeaconOperator) AddServiceContract(serviceContract common.Address, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) AddServiceContractGasEstimate(serviceContract common.Address) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) CallAddServiceContract(serviceContract common.Address, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallCreateGroup(_newEntry *big.Int, submitter common.Address, value *big.Int, ...) error
- func (krbo *KeepRandomBeaconOperator) CallGenesis(value *big.Int, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallRelayEntry(_groupSignature []uint8, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallRemoveServiceContract(serviceContract common.Address, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallReportRelayEntryTimeout(blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallReportUnauthorizedSigning(groupIndex *big.Int, signedMsgSender []uint8, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallSign(requestId *big.Int, previousEntry []uint8, value *big.Int, ...) error
- func (krbo *KeepRandomBeaconOperator) CallSubmitDkgResult(submitterMemberIndex *big.Int, groupPubKey []uint8, misbehaved []uint8, ...) error
- func (krbo *KeepRandomBeaconOperator) CallSubmitTicket(ticket [32]uint8, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CallWithdrawGroupMemberRewards(operator common.Address, groupIndex *big.Int, blockNumber *big.Int) error
- func (krbo *KeepRandomBeaconOperator) CreateGroup(_newEntry *big.Int, submitter common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) CreateGroupGasEstimate(_newEntry *big.Int, submitter common.Address) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) CurrentRequestGroupIndex() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) CurrentRequestGroupIndexAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) CurrentRequestPreviousEntry() ([]uint8, error)
- func (krbo *KeepRandomBeaconOperator) CurrentRequestPreviousEntryAtBlock(blockNumber *big.Int) ([]uint8, error)
- func (krbo *KeepRandomBeaconOperator) CurrentRequestStartBlock() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) CurrentRequestStartBlockAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) DkgGasEstimate() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) DkgGasEstimateAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) DkgSubmitterReimbursementFee() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) DkgSubmitterReimbursementFeeAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) EntryVerificationFee() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) EntryVerificationFeeAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) EntryVerificationGasEstimate() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) EntryVerificationGasEstimateAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GasPriceCeiling() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GasPriceCeilingAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) Genesis(value *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) GenesisGasEstimate() (uint64, error)
- func (krbo *KeepRandomBeaconOperator) GetFirstActiveGroupIndex() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GetFirstActiveGroupIndexAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GetGroupMemberRewards(groupPubKey []uint8) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GetGroupMemberRewardsAtBlock(groupPubKey []uint8, blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GetGroupMembers(groupPubKey []uint8) ([]common.Address, error)
- func (krbo *KeepRandomBeaconOperator) GetGroupMembersAtBlock(groupPubKey []uint8, blockNumber *big.Int) ([]common.Address, error)
- func (krbo *KeepRandomBeaconOperator) GetGroupPublicKey(groupIndex *big.Int) ([]uint8, error)
- func (krbo *KeepRandomBeaconOperator) GetGroupPublicKeyAtBlock(groupIndex *big.Int, blockNumber *big.Int) ([]uint8, error)
- func (krbo *KeepRandomBeaconOperator) GroupCreationFee() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupCreationFeeAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupMemberBaseReward() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupMemberBaseRewardAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupProfitFee() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupProfitFeeAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupSelectionGasEstimate() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupSelectionGasEstimateAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupSize() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupSizeAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupThreshold() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) GroupThresholdAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) HasMinimumStake(staker common.Address) (bool, error)
- func (krbo *KeepRandomBeaconOperator) HasMinimumStakeAtBlock(staker common.Address, blockNumber *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) HasWithdrawnRewards(operator common.Address, groupIndex *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) HasWithdrawnRewardsAtBlock(operator common.Address, groupIndex *big.Int, blockNumber *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsEntryInProgress() (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsEntryInProgressAtBlock(blockNumber *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsGroupRegistered(groupPubKey []uint8) (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsGroupRegisteredAtBlock(groupPubKey []uint8, blockNumber *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsGroupSelectionPossible() (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsGroupSelectionPossibleAtBlock(blockNumber *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsStaleGroup(groupPubKey []uint8) (bool, error)
- func (krbo *KeepRandomBeaconOperator) IsStaleGroupAtBlock(groupPubKey []uint8, blockNumber *big.Int) (bool, error)
- func (krbo *KeepRandomBeaconOperator) NumberOfGroups() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) NumberOfGroupsAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) RelayEntry(_groupSignature []uint8, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) RelayEntryGasEstimate(_groupSignature []uint8) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) RelayEntryTimeout() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) RelayEntryTimeoutAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) RemoveServiceContract(serviceContract common.Address, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) RemoveServiceContractGasEstimate(serviceContract common.Address) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) ReportRelayEntryTimeout(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) ReportRelayEntryTimeoutGasEstimate() (uint64, error)
- func (krbo *KeepRandomBeaconOperator) ReportUnauthorizedSigning(groupIndex *big.Int, signedMsgSender []uint8, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) ReportUnauthorizedSigningGasEstimate(groupIndex *big.Int, signedMsgSender []uint8) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) ResultPublicationBlockStep() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) ResultPublicationBlockStepAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) SelectedParticipants() ([]common.Address, error)
- func (krbo *KeepRandomBeaconOperator) SelectedParticipantsAtBlock(blockNumber *big.Int) ([]common.Address, error)
- func (krbo *KeepRandomBeaconOperator) Sign(requestId *big.Int, previousEntry []uint8, value *big.Int, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) SignGasEstimate(requestId *big.Int, previousEntry []uint8) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) SubmitDkgResult(submitterMemberIndex *big.Int, groupPubKey []uint8, misbehaved []uint8, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) SubmitDkgResultGasEstimate(submitterMemberIndex *big.Int, groupPubKey []uint8, misbehaved []uint8, ...) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) SubmitTicket(ticket [32]uint8, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) SubmitTicketGasEstimate(ticket [32]uint8) (uint64, error)
- func (krbo *KeepRandomBeaconOperator) SubmittedTickets() ([]uint64, error)
- func (krbo *KeepRandomBeaconOperator) SubmittedTicketsAtBlock(blockNumber *big.Int) ([]uint64, error)
- func (krbo *KeepRandomBeaconOperator) TicketSubmissionTimeout() (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) TicketSubmissionTimeoutAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbo *KeepRandomBeaconOperator) WatchDkgResultSubmittedEvent(success keepRandomBeaconOperatorDkgResultSubmittedEventFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchGroupMemberRewardsWithdrawn(success keepRandomBeaconOperatorGroupMemberRewardsWithdrawnFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchGroupSelectionStarted(success keepRandomBeaconOperatorGroupSelectionStartedFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchOnGroupRegistered(success keepRandomBeaconOperatorOnGroupRegisteredFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchRelayEntryRequested(success keepRandomBeaconOperatorRelayEntryRequestedFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchRelayEntrySubmitted(success keepRandomBeaconOperatorRelayEntrySubmittedFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchRelayEntryTimeoutReported(success keepRandomBeaconOperatorRelayEntryTimeoutReportedFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WatchUnauthorizedSigningReported(success keepRandomBeaconOperatorUnauthorizedSigningReportedFunc, ...) (subscription.EventSubscription, error)
- func (krbo *KeepRandomBeaconOperator) WithdrawGroupMemberRewards(operator common.Address, groupIndex *big.Int, ...) (*types.Transaction, error)
- func (krbo *KeepRandomBeaconOperator) WithdrawGroupMemberRewardsGasEstimate(operator common.Address, groupIndex *big.Int) (uint64, error)
- type KeepRandomBeaconService
- func (krbs *KeepRandomBeaconService) AddOperatorContract(operatorContract common.Address, ...) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) AddOperatorContractGasEstimate(operatorContract common.Address) (uint64, error)
- func (krbs *KeepRandomBeaconService) BaseCallbackGas() (*big.Int, error)
- func (krbs *KeepRandomBeaconService) BaseCallbackGasAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) CallAddOperatorContract(operatorContract common.Address, blockNumber *big.Int) error
- func (krbs *KeepRandomBeaconService) CallEntryCreated(requestId *big.Int, entry []uint8, submitter common.Address, ...) error
- func (krbs *KeepRandomBeaconService) CallExecuteCallback(requestId *big.Int, entry *big.Int, blockNumber *big.Int) error
- func (krbs *KeepRandomBeaconService) CallFundDkgFeePool(value *big.Int, blockNumber *big.Int) error
- func (krbs *KeepRandomBeaconService) CallFundRequestSubsidyFeePool(value *big.Int, blockNumber *big.Int) error
- func (krbs *KeepRandomBeaconService) CallInitialize(dkgContributionMargin *big.Int, registry common.Address, blockNumber *big.Int) error
- func (krbs *KeepRandomBeaconService) CallRemoveOperatorContract(operatorContract common.Address, blockNumber *big.Int) error
- func (krbs *KeepRandomBeaconService) CallRequestRelayEntry(value *big.Int, blockNumber *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) CallRequestRelayEntry0(callbackContract common.Address, callbackGas *big.Int, value *big.Int, ...) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) CallbackSurplusRecipient(requestId *big.Int) (common.Address, error)
- func (krbs *KeepRandomBeaconService) CallbackSurplusRecipientAtBlock(requestId *big.Int, blockNumber *big.Int) (common.Address, error)
- func (krbs *KeepRandomBeaconService) DkgContributionMargin() (*big.Int, error)
- func (krbs *KeepRandomBeaconService) DkgContributionMarginAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) DkgFeePool() (*big.Int, error)
- func (krbs *KeepRandomBeaconService) DkgFeePoolAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) EntryCreated(requestId *big.Int, entry []uint8, submitter common.Address, ...) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) EntryCreatedGasEstimate(requestId *big.Int, entry []uint8, submitter common.Address) (uint64, error)
- func (krbs *KeepRandomBeaconService) EntryFeeBreakdown() (entryFeeBreakdown, error)
- func (krbs *KeepRandomBeaconService) EntryFeeBreakdownAtBlock(blockNumber *big.Int) (entryFeeBreakdown, error)
- func (krbs *KeepRandomBeaconService) EntryFeeEstimate(callbackGas *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) EntryFeeEstimateAtBlock(callbackGas *big.Int, blockNumber *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) ExecuteCallback(requestId *big.Int, entry *big.Int, ...) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) ExecuteCallbackGasEstimate(requestId *big.Int, entry *big.Int) (uint64, error)
- func (krbs *KeepRandomBeaconService) FundDkgFeePool(value *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) FundDkgFeePoolGasEstimate() (uint64, error)
- func (krbs *KeepRandomBeaconService) FundRequestSubsidyFeePool(value *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) FundRequestSubsidyFeePoolGasEstimate() (uint64, error)
- func (krbs *KeepRandomBeaconService) Initialize(dkgContributionMargin *big.Int, registry common.Address, ...) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) InitializeGasEstimate(dkgContributionMargin *big.Int, registry common.Address) (uint64, error)
- func (krbs *KeepRandomBeaconService) Initialized() (bool, error)
- func (krbs *KeepRandomBeaconService) InitializedAtBlock(blockNumber *big.Int) (bool, error)
- func (krbs *KeepRandomBeaconService) RemoveOperatorContract(operatorContract common.Address, ...) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) RemoveOperatorContractGasEstimate(operatorContract common.Address) (uint64, error)
- func (krbs *KeepRandomBeaconService) RequestRelayEntry(value *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) RequestRelayEntry0(callbackContract common.Address, callbackGas *big.Int, value *big.Int, ...) (*types.Transaction, error)
- func (krbs *KeepRandomBeaconService) RequestRelayEntry0GasEstimate(callbackContract common.Address, callbackGas *big.Int) (uint64, error)
- func (krbs *KeepRandomBeaconService) RequestRelayEntryGasEstimate() (uint64, error)
- func (krbs *KeepRandomBeaconService) RequestSubsidyFeePool() (*big.Int, error)
- func (krbs *KeepRandomBeaconService) RequestSubsidyFeePoolAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (krbs *KeepRandomBeaconService) SelectOperatorContract(seed *big.Int) (common.Address, error)
- func (krbs *KeepRandomBeaconService) SelectOperatorContractAtBlock(seed *big.Int, blockNumber *big.Int) (common.Address, error)
- func (krbs *KeepRandomBeaconService) Version() (string, error)
- func (krbs *KeepRandomBeaconService) VersionAtBlock(blockNumber *big.Int) (string, error)
- func (krbs *KeepRandomBeaconService) WatchRelayEntryGenerated(success keepRandomBeaconServiceRelayEntryGeneratedFunc, ...) (subscription.EventSubscription, error)
- func (krbs *KeepRandomBeaconService) WatchRelayEntryRequested(success keepRandomBeaconServiceRelayEntryRequestedFunc, ...) (subscription.EventSubscription, error)
- type Locks
- type TokenGrant
- func (tg *TokenGrant) AuthorizeStakingContract(_stakingContract common.Address, ...) (*types.Transaction, error)
- func (tg *TokenGrant) AuthorizeStakingContractGasEstimate(_stakingContract common.Address) (uint64, error)
- func (tg *TokenGrant) AvailableToStake(_grantId *big.Int) (*big.Int, error)
- func (tg *TokenGrant) AvailableToStakeAtBlock(_grantId *big.Int, blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) BalanceOf(_owner common.Address) (*big.Int, error)
- func (tg *TokenGrant) BalanceOfAtBlock(_owner common.Address, blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) Balances(arg0 common.Address) (*big.Int, error)
- func (tg *TokenGrant) BalancesAtBlock(arg0 common.Address, blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) CallAuthorizeStakingContract(_stakingContract common.Address, blockNumber *big.Int) error
- func (tg *TokenGrant) CallCancelRevokedStake(_operator common.Address, blockNumber *big.Int) error
- func (tg *TokenGrant) CallCancelStake(_operator common.Address, blockNumber *big.Int) error
- func (tg *TokenGrant) CallReceiveApproval(_from common.Address, _amount *big.Int, _token common.Address, ...) error
- func (tg *TokenGrant) CallRecoverStake(_operator common.Address, blockNumber *big.Int) error
- func (tg *TokenGrant) CallRevoke(_id *big.Int, blockNumber *big.Int) error
- func (tg *TokenGrant) CallStake(_id *big.Int, _stakingContract common.Address, _amount *big.Int, ...) error
- func (tg *TokenGrant) CallUndelegate(_operator common.Address, blockNumber *big.Int) error
- func (tg *TokenGrant) CallUndelegateRevoked(_operator common.Address, blockNumber *big.Int) error
- func (tg *TokenGrant) CallWithdraw(_id *big.Int, blockNumber *big.Int) error
- func (tg *TokenGrant) CallWithdrawRevoked(_id *big.Int, blockNumber *big.Int) error
- func (tg *TokenGrant) CancelRevokedStake(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) CancelRevokedStakeGasEstimate(_operator common.Address) (uint64, error)
- func (tg *TokenGrant) CancelStake(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) CancelStakeGasEstimate(_operator common.Address) (uint64, error)
- func (tg *TokenGrant) GetGrant(_id *big.Int) (Grant, error)
- func (tg *TokenGrant) GetGrantAtBlock(_id *big.Int, blockNumber *big.Int) (Grant, error)
- func (tg *TokenGrant) GetGrantStakeDetails(operator common.Address) (GrantStakeDetails, error)
- func (tg *TokenGrant) GetGrantStakeDetailsAtBlock(operator common.Address, blockNumber *big.Int) (GrantStakeDetails, error)
- func (tg *TokenGrant) GetGrantUnlockingSchedule(_id *big.Int) (GrantUnlockingSchedule, error)
- func (tg *TokenGrant) GetGrantUnlockingScheduleAtBlock(_id *big.Int, blockNumber *big.Int) (GrantUnlockingSchedule, error)
- func (tg *TokenGrant) GetGranteeOperators(grantee common.Address) ([]common.Address, error)
- func (tg *TokenGrant) GetGranteeOperatorsAtBlock(grantee common.Address, blockNumber *big.Int) ([]common.Address, error)
- func (tg *TokenGrant) GetGrants(_granteeOrGrantManager common.Address) ([]*big.Int, error)
- func (tg *TokenGrant) GetGrantsAtBlock(_granteeOrGrantManager common.Address, blockNumber *big.Int) ([]*big.Int, error)
- func (tg *TokenGrant) GrantIndices(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (tg *TokenGrant) GrantIndicesAtBlock(arg0 common.Address, arg1 *big.Int, blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) GrantStakes(arg0 common.Address) (common.Address, error)
- func (tg *TokenGrant) GrantStakesAtBlock(arg0 common.Address, blockNumber *big.Int) (common.Address, error)
- func (tg *TokenGrant) GranteesToOperators(arg0 common.Address, arg1 *big.Int) (common.Address, error)
- func (tg *TokenGrant) GranteesToOperatorsAtBlock(arg0 common.Address, arg1 *big.Int, blockNumber *big.Int) (common.Address, error)
- func (tg *TokenGrant) Grants(arg0 *big.Int) (grants, error)
- func (tg *TokenGrant) GrantsAtBlock(arg0 *big.Int, blockNumber *big.Int) (grants, error)
- func (tg *TokenGrant) NumGrants() (*big.Int, error)
- func (tg *TokenGrant) NumGrantsAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) ReceiveApproval(_from common.Address, _amount *big.Int, _token common.Address, ...) (*types.Transaction, error)
- func (tg *TokenGrant) ReceiveApprovalGasEstimate(_from common.Address, _amount *big.Int, _token common.Address, ...) (uint64, error)
- func (tg *TokenGrant) RecoverStake(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) RecoverStakeGasEstimate(_operator common.Address) (uint64, error)
- func (tg *TokenGrant) Revoke(_id *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) RevokeGasEstimate(_id *big.Int) (uint64, error)
- func (tg *TokenGrant) Stake(_id *big.Int, _stakingContract common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (tg *TokenGrant) StakeBalanceOf(_address common.Address) (*big.Int, error)
- func (tg *TokenGrant) StakeBalanceOfAtBlock(_address common.Address, blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) StakeGasEstimate(_id *big.Int, _stakingContract common.Address, _amount *big.Int, ...) (uint64, error)
- func (tg *TokenGrant) Token() (common.Address, error)
- func (tg *TokenGrant) TokenAtBlock(blockNumber *big.Int) (common.Address, error)
- func (tg *TokenGrant) Undelegate(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) UndelegateGasEstimate(_operator common.Address) (uint64, error)
- func (tg *TokenGrant) UndelegateRevoked(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) UndelegateRevokedGasEstimate(_operator common.Address) (uint64, error)
- func (tg *TokenGrant) UnlockedAmount(_id *big.Int) (*big.Int, error)
- func (tg *TokenGrant) UnlockedAmountAtBlock(_id *big.Int, blockNumber *big.Int) (*big.Int, error)
- func (tg *TokenGrant) WatchStakingContractAuthorized(success tokenGrantStakingContractAuthorizedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (tg *TokenGrant) WatchTokenGrantCreated(success tokenGrantTokenGrantCreatedFunc, fail func(err error) error) (subscription.EventSubscription, error)
- func (tg *TokenGrant) WatchTokenGrantRevoked(success tokenGrantTokenGrantRevokedFunc, fail func(err error) error) (subscription.EventSubscription, error)
- func (tg *TokenGrant) WatchTokenGrantStaked(success tokenGrantTokenGrantStakedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (tg *TokenGrant) WatchTokenGrantWithdrawn(success tokenGrantTokenGrantWithdrawnFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (tg *TokenGrant) Withdraw(_id *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) WithdrawGasEstimate(_id *big.Int) (uint64, error)
- func (tg *TokenGrant) WithdrawRevoked(_id *big.Int, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (tg *TokenGrant) WithdrawRevokedGasEstimate(_id *big.Int) (uint64, error)
- func (tg *TokenGrant) Withdrawable(_id *big.Int) (*big.Int, error)
- func (tg *TokenGrant) WithdrawableAtBlock(_id *big.Int, blockNumber *big.Int) (*big.Int, error)
- type TokenStaking
- func (ts *TokenStaking) ActiveStake(_operator common.Address, _operatorContract common.Address) (*big.Int, error)
- func (ts *TokenStaking) ActiveStakeAtBlock(_operator common.Address, _operatorContract common.Address, ...) (*big.Int, error)
- func (ts *TokenStaking) AuthorizeOperatorContract(_operator common.Address, _operatorContract common.Address, ...) (*types.Transaction, error)
- func (ts *TokenStaking) AuthorizeOperatorContractGasEstimate(_operator common.Address, _operatorContract common.Address) (uint64, error)
- func (ts *TokenStaking) AuthorizerOf(_operator common.Address) (common.Address, error)
- func (ts *TokenStaking) AuthorizerOfAtBlock(_operator common.Address, blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) BalanceOf(_address common.Address) (*big.Int, error)
- func (ts *TokenStaking) BalanceOfAtBlock(_address common.Address, blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) BeneficiaryOf(_operator common.Address) (common.Address, error)
- func (ts *TokenStaking) BeneficiaryOfAtBlock(_operator common.Address, blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) CallAuthorizeOperatorContract(_operator common.Address, _operatorContract common.Address, ...) error
- func (ts *TokenStaking) CallCancelStake(_operator common.Address, blockNumber *big.Int) error
- func (ts *TokenStaking) CallClaimDelegatedAuthority(delegatedAuthoritySource common.Address, blockNumber *big.Int) error
- func (ts *TokenStaking) CallLockStake(operator common.Address, duration *big.Int, blockNumber *big.Int) error
- func (ts *TokenStaking) CallReceiveApproval(_from common.Address, _value *big.Int, _token common.Address, ...) error
- func (ts *TokenStaking) CallRecoverStake(_operator common.Address, blockNumber *big.Int) error
- func (ts *TokenStaking) CallReleaseExpiredLock(operator common.Address, operatorContract common.Address, blockNumber *big.Int) error
- func (ts *TokenStaking) CallSeize(amountToSeize *big.Int, rewardMultiplier *big.Int, tattletale common.Address, ...) error
- func (ts *TokenStaking) CallSlash(amountToSlash *big.Int, misbehavedOperators []common.Address, ...) error
- func (ts *TokenStaking) CallUndelegate(_operator common.Address, blockNumber *big.Int) error
- func (ts *TokenStaking) CallUndelegateAt(_operator common.Address, _undelegationTimestamp *big.Int, ...) error
- func (ts *TokenStaking) CallUnlockStake(operator common.Address, blockNumber *big.Int) error
- func (ts *TokenStaking) CancelStake(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (ts *TokenStaking) CancelStakeGasEstimate(_operator common.Address) (uint64, error)
- func (ts *TokenStaking) ClaimDelegatedAuthority(delegatedAuthoritySource common.Address, ...) (*types.Transaction, error)
- func (ts *TokenStaking) ClaimDelegatedAuthorityGasEstimate(delegatedAuthoritySource common.Address) (uint64, error)
- func (ts *TokenStaking) EligibleStake(_operator common.Address, _operatorContract common.Address) (*big.Int, error)
- func (ts *TokenStaking) EligibleStakeAtBlock(_operator common.Address, _operatorContract common.Address, ...) (*big.Int, error)
- func (ts *TokenStaking) GetAuthoritySource(operatorContract common.Address) (common.Address, error)
- func (ts *TokenStaking) GetAuthoritySourceAtBlock(operatorContract common.Address, blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) GetDelegationInfo(_operator common.Address) (DelegationInfo, error)
- func (ts *TokenStaking) GetDelegationInfoAtBlock(_operator common.Address, blockNumber *big.Int) (DelegationInfo, error)
- func (ts *TokenStaking) GetLocks(operator common.Address) (Locks, error)
- func (ts *TokenStaking) GetLocksAtBlock(operator common.Address, blockNumber *big.Int) (Locks, error)
- func (ts *TokenStaking) HasMinimumStake(staker common.Address, operatorContract common.Address) (bool, error)
- func (ts *TokenStaking) HasMinimumStakeAtBlock(staker common.Address, operatorContract common.Address, blockNumber *big.Int) (bool, error)
- func (ts *TokenStaking) InitializationPeriod() (*big.Int, error)
- func (ts *TokenStaking) InitializationPeriodAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) IsAuthorizedForOperator(_operator common.Address, _operatorContract common.Address) (bool, error)
- func (ts *TokenStaking) IsAuthorizedForOperatorAtBlock(_operator common.Address, _operatorContract common.Address, ...) (bool, error)
- func (ts *TokenStaking) IsStakeLocked(operator common.Address) (bool, error)
- func (ts *TokenStaking) IsStakeLockedAtBlock(operator common.Address, blockNumber *big.Int) (bool, error)
- func (ts *TokenStaking) LockStake(operator common.Address, duration *big.Int, ...) (*types.Transaction, error)
- func (ts *TokenStaking) LockStakeGasEstimate(operator common.Address, duration *big.Int) (uint64, error)
- func (ts *TokenStaking) MaximumLockDuration() (*big.Int, error)
- func (ts *TokenStaking) MaximumLockDurationAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) MinimumStake() (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeBase() (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeBaseAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeSchedule() (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeScheduleAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeScheduleStart() (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeScheduleStartAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeSteps() (*big.Int, error)
- func (ts *TokenStaking) MinimumStakeStepsAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) Operators(arg0 common.Address) (operators, error)
- func (ts *TokenStaking) OperatorsAtBlock(arg0 common.Address, blockNumber *big.Int) (operators, error)
- func (ts *TokenStaking) OperatorsOf(_address common.Address) ([]common.Address, error)
- func (ts *TokenStaking) OperatorsOfAtBlock(_address common.Address, blockNumber *big.Int) ([]common.Address, error)
- func (ts *TokenStaking) OwnerOf(_operator common.Address) (common.Address, error)
- func (ts *TokenStaking) OwnerOfAtBlock(_operator common.Address, blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) OwnerOperators(arg0 common.Address, arg1 *big.Int) (common.Address, error)
- func (ts *TokenStaking) OwnerOperatorsAtBlock(arg0 common.Address, arg1 *big.Int, blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) ReceiveApproval(_from common.Address, _value *big.Int, _token common.Address, ...) (*types.Transaction, error)
- func (ts *TokenStaking) ReceiveApprovalGasEstimate(_from common.Address, _value *big.Int, _token common.Address, ...) (uint64, error)
- func (ts *TokenStaking) RecoverStake(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (ts *TokenStaking) RecoverStakeGasEstimate(_operator common.Address) (uint64, error)
- func (ts *TokenStaking) Registry() (common.Address, error)
- func (ts *TokenStaking) RegistryAtBlock(blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) ReleaseExpiredLock(operator common.Address, operatorContract common.Address, ...) (*types.Transaction, error)
- func (ts *TokenStaking) ReleaseExpiredLockGasEstimate(operator common.Address, operatorContract common.Address) (uint64, error)
- func (ts *TokenStaking) Seize(amountToSeize *big.Int, rewardMultiplier *big.Int, tattletale common.Address, ...) (*types.Transaction, error)
- func (ts *TokenStaking) SeizeGasEstimate(amountToSeize *big.Int, rewardMultiplier *big.Int, tattletale common.Address, ...) (uint64, error)
- func (ts *TokenStaking) Slash(amountToSlash *big.Int, misbehavedOperators []common.Address, ...) (*types.Transaction, error)
- func (ts *TokenStaking) SlashGasEstimate(amountToSlash *big.Int, misbehavedOperators []common.Address) (uint64, error)
- func (ts *TokenStaking) Token() (common.Address, error)
- func (ts *TokenStaking) TokenAtBlock(blockNumber *big.Int) (common.Address, error)
- func (ts *TokenStaking) Undelegate(_operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (ts *TokenStaking) UndelegateAt(_operator common.Address, _undelegationTimestamp *big.Int, ...) (*types.Transaction, error)
- func (ts *TokenStaking) UndelegateAtGasEstimate(_operator common.Address, _undelegationTimestamp *big.Int) (uint64, error)
- func (ts *TokenStaking) UndelegateGasEstimate(_operator common.Address) (uint64, error)
- func (ts *TokenStaking) UndelegationPeriod() (*big.Int, error)
- func (ts *TokenStaking) UndelegationPeriodAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (ts *TokenStaking) UnlockStake(operator common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (ts *TokenStaking) UnlockStakeGasEstimate(operator common.Address) (uint64, error)
- func (ts *TokenStaking) WatchExpiredLockReleased(success tokenStakingExpiredLockReleasedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchLockReleased(success tokenStakingLockReleasedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchRecoveredStake(success tokenStakingRecoveredStakeFunc, fail func(err error) error) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchStakeLocked(success tokenStakingStakeLockedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchStaked(success tokenStakingStakedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchTokensSeized(success tokenStakingTokensSeizedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchTokensSlashed(success tokenStakingTokensSlashedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (ts *TokenStaking) WatchUndelegated(success tokenStakingUndelegatedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelegationInfo ¶
type GrantStakeDetails ¶
type GrantUnlockingSchedule ¶
type KeepRandomBeaconOperator ¶
type KeepRandomBeaconOperator struct {
// contains filtered or unexported fields
}
func NewKeepRandomBeaconOperator ¶
func NewKeepRandomBeaconOperator( contractAddress common.Address, accountKey *keystore.Key, backend bind.ContractBackend, nonceManager *ethutil.NonceManager, miningWaiter *ethutil.MiningWaiter, transactionMutex *sync.Mutex, ) (*KeepRandomBeaconOperator, error)
func (*KeepRandomBeaconOperator) AddServiceContract ¶
func (krbo *KeepRandomBeaconOperator) AddServiceContract( serviceContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) AddServiceContractGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) AddServiceContractGasEstimate( serviceContract common.Address, ) (uint64, error)
func (*KeepRandomBeaconOperator) CallAddServiceContract ¶
func (krbo *KeepRandomBeaconOperator) CallAddServiceContract( serviceContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallCreateGroup ¶
func (krbo *KeepRandomBeaconOperator) CallCreateGroup( _newEntry *big.Int, submitter common.Address, value *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallGenesis ¶
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallRelayEntry ¶
func (krbo *KeepRandomBeaconOperator) CallRelayEntry( _groupSignature []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallRemoveServiceContract ¶
func (krbo *KeepRandomBeaconOperator) CallRemoveServiceContract( serviceContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallReportRelayEntryTimeout ¶
func (krbo *KeepRandomBeaconOperator) CallReportRelayEntryTimeout( blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallReportUnauthorizedSigning ¶
func (krbo *KeepRandomBeaconOperator) CallReportUnauthorizedSigning( groupIndex *big.Int, signedMsgSender []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallSign ¶
func (krbo *KeepRandomBeaconOperator) CallSign( requestId *big.Int, previousEntry []uint8, value *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallSubmitDkgResult ¶
func (krbo *KeepRandomBeaconOperator) CallSubmitDkgResult( submitterMemberIndex *big.Int, groupPubKey []uint8, misbehaved []uint8, signatures []uint8, signingMembersIndexes []*big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallSubmitTicket ¶
func (krbo *KeepRandomBeaconOperator) CallSubmitTicket( ticket [32]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CallWithdrawGroupMemberRewards ¶
func (krbo *KeepRandomBeaconOperator) CallWithdrawGroupMemberRewards( operator common.Address, groupIndex *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconOperator) CreateGroup ¶
func (krbo *KeepRandomBeaconOperator) CreateGroup( _newEntry *big.Int, submitter common.Address, value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) CreateGroupGasEstimate ¶
func (*KeepRandomBeaconOperator) CurrentRequestGroupIndex ¶ added in v1.1.2
func (krbo *KeepRandomBeaconOperator) CurrentRequestGroupIndex() (*big.Int, error)
func (*KeepRandomBeaconOperator) CurrentRequestGroupIndexAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconOperator) CurrentRequestPreviousEntry ¶ added in v1.1.2
func (krbo *KeepRandomBeaconOperator) CurrentRequestPreviousEntry() ([]uint8, error)
func (*KeepRandomBeaconOperator) CurrentRequestPreviousEntryAtBlock ¶ added in v1.1.2
func (krbo *KeepRandomBeaconOperator) CurrentRequestPreviousEntryAtBlock( blockNumber *big.Int, ) ([]uint8, error)
func (*KeepRandomBeaconOperator) CurrentRequestStartBlock ¶ added in v1.1.2
func (krbo *KeepRandomBeaconOperator) CurrentRequestStartBlock() (*big.Int, error)
func (*KeepRandomBeaconOperator) CurrentRequestStartBlockAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconOperator) DkgGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) DkgGasEstimate() (*big.Int, error)
func (*KeepRandomBeaconOperator) DkgGasEstimateAtBlock ¶
func (*KeepRandomBeaconOperator) DkgSubmitterReimbursementFee ¶
func (krbo *KeepRandomBeaconOperator) DkgSubmitterReimbursementFee() (*big.Int, error)
func (*KeepRandomBeaconOperator) DkgSubmitterReimbursementFeeAtBlock ¶
func (*KeepRandomBeaconOperator) EntryVerificationFee ¶
func (krbo *KeepRandomBeaconOperator) EntryVerificationFee() (*big.Int, error)
func (*KeepRandomBeaconOperator) EntryVerificationFeeAtBlock ¶
func (*KeepRandomBeaconOperator) EntryVerificationGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) EntryVerificationGasEstimate() (*big.Int, error)
func (*KeepRandomBeaconOperator) EntryVerificationGasEstimateAtBlock ¶
func (*KeepRandomBeaconOperator) GasPriceCeiling ¶
func (krbo *KeepRandomBeaconOperator) GasPriceCeiling() (*big.Int, error)
func (*KeepRandomBeaconOperator) GasPriceCeilingAtBlock ¶
func (*KeepRandomBeaconOperator) Genesis ¶
func (krbo *KeepRandomBeaconOperator) Genesis( value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) GenesisGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) GenesisGasEstimate() (uint64, error)
func (*KeepRandomBeaconOperator) GetFirstActiveGroupIndex ¶
func (krbo *KeepRandomBeaconOperator) GetFirstActiveGroupIndex() (*big.Int, error)
func (*KeepRandomBeaconOperator) GetFirstActiveGroupIndexAtBlock ¶
func (*KeepRandomBeaconOperator) GetGroupMemberRewards ¶
func (krbo *KeepRandomBeaconOperator) GetGroupMemberRewards( groupPubKey []uint8, ) (*big.Int, error)
func (*KeepRandomBeaconOperator) GetGroupMemberRewardsAtBlock ¶
func (*KeepRandomBeaconOperator) GetGroupMembers ¶
func (krbo *KeepRandomBeaconOperator) GetGroupMembers( groupPubKey []uint8, ) ([]common.Address, error)
func (*KeepRandomBeaconOperator) GetGroupMembersAtBlock ¶
func (*KeepRandomBeaconOperator) GetGroupPublicKey ¶
func (krbo *KeepRandomBeaconOperator) GetGroupPublicKey( groupIndex *big.Int, ) ([]uint8, error)
func (*KeepRandomBeaconOperator) GetGroupPublicKeyAtBlock ¶
func (*KeepRandomBeaconOperator) GroupCreationFee ¶
func (krbo *KeepRandomBeaconOperator) GroupCreationFee() (*big.Int, error)
func (*KeepRandomBeaconOperator) GroupCreationFeeAtBlock ¶
func (*KeepRandomBeaconOperator) GroupMemberBaseReward ¶
func (krbo *KeepRandomBeaconOperator) GroupMemberBaseReward() (*big.Int, error)
func (*KeepRandomBeaconOperator) GroupMemberBaseRewardAtBlock ¶
func (*KeepRandomBeaconOperator) GroupProfitFee ¶
func (krbo *KeepRandomBeaconOperator) GroupProfitFee() (*big.Int, error)
func (*KeepRandomBeaconOperator) GroupProfitFeeAtBlock ¶
func (*KeepRandomBeaconOperator) GroupSelectionGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) GroupSelectionGasEstimate() (*big.Int, error)
func (*KeepRandomBeaconOperator) GroupSelectionGasEstimateAtBlock ¶
func (*KeepRandomBeaconOperator) GroupSize ¶
func (krbo *KeepRandomBeaconOperator) GroupSize() (*big.Int, error)
func (*KeepRandomBeaconOperator) GroupSizeAtBlock ¶
func (*KeepRandomBeaconOperator) GroupThreshold ¶
func (krbo *KeepRandomBeaconOperator) GroupThreshold() (*big.Int, error)
func (*KeepRandomBeaconOperator) GroupThresholdAtBlock ¶
func (*KeepRandomBeaconOperator) HasMinimumStake ¶
func (krbo *KeepRandomBeaconOperator) HasMinimumStake( staker common.Address, ) (bool, error)
func (*KeepRandomBeaconOperator) HasMinimumStakeAtBlock ¶
func (*KeepRandomBeaconOperator) HasWithdrawnRewards ¶ added in v1.1.2
func (*KeepRandomBeaconOperator) HasWithdrawnRewardsAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconOperator) IsEntryInProgress ¶ added in v1.1.2
func (krbo *KeepRandomBeaconOperator) IsEntryInProgress() (bool, error)
func (*KeepRandomBeaconOperator) IsEntryInProgressAtBlock ¶ added in v1.1.2
func (krbo *KeepRandomBeaconOperator) IsEntryInProgressAtBlock( blockNumber *big.Int, ) (bool, error)
func (*KeepRandomBeaconOperator) IsGroupRegistered ¶
func (krbo *KeepRandomBeaconOperator) IsGroupRegistered( groupPubKey []uint8, ) (bool, error)
func (*KeepRandomBeaconOperator) IsGroupRegisteredAtBlock ¶
func (*KeepRandomBeaconOperator) IsGroupSelectionPossible ¶
func (krbo *KeepRandomBeaconOperator) IsGroupSelectionPossible() (bool, error)
func (*KeepRandomBeaconOperator) IsGroupSelectionPossibleAtBlock ¶
func (krbo *KeepRandomBeaconOperator) IsGroupSelectionPossibleAtBlock( blockNumber *big.Int, ) (bool, error)
func (*KeepRandomBeaconOperator) IsStaleGroup ¶
func (krbo *KeepRandomBeaconOperator) IsStaleGroup( groupPubKey []uint8, ) (bool, error)
func (*KeepRandomBeaconOperator) IsStaleGroupAtBlock ¶
func (*KeepRandomBeaconOperator) NumberOfGroups ¶
func (krbo *KeepRandomBeaconOperator) NumberOfGroups() (*big.Int, error)
func (*KeepRandomBeaconOperator) NumberOfGroupsAtBlock ¶
func (*KeepRandomBeaconOperator) RelayEntry ¶
func (krbo *KeepRandomBeaconOperator) RelayEntry( _groupSignature []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) RelayEntryGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) RelayEntryGasEstimate( _groupSignature []uint8, ) (uint64, error)
func (*KeepRandomBeaconOperator) RelayEntryTimeout ¶
func (krbo *KeepRandomBeaconOperator) RelayEntryTimeout() (*big.Int, error)
func (*KeepRandomBeaconOperator) RelayEntryTimeoutAtBlock ¶
func (*KeepRandomBeaconOperator) RemoveServiceContract ¶
func (krbo *KeepRandomBeaconOperator) RemoveServiceContract( serviceContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) RemoveServiceContractGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) RemoveServiceContractGasEstimate( serviceContract common.Address, ) (uint64, error)
func (*KeepRandomBeaconOperator) ReportRelayEntryTimeout ¶
func (krbo *KeepRandomBeaconOperator) ReportRelayEntryTimeout( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) ReportRelayEntryTimeoutGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) ReportRelayEntryTimeoutGasEstimate() (uint64, error)
func (*KeepRandomBeaconOperator) ReportUnauthorizedSigning ¶
func (krbo *KeepRandomBeaconOperator) ReportUnauthorizedSigning( groupIndex *big.Int, signedMsgSender []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) ReportUnauthorizedSigningGasEstimate ¶
func (*KeepRandomBeaconOperator) ResultPublicationBlockStep ¶
func (krbo *KeepRandomBeaconOperator) ResultPublicationBlockStep() (*big.Int, error)
func (*KeepRandomBeaconOperator) ResultPublicationBlockStepAtBlock ¶
func (*KeepRandomBeaconOperator) SelectedParticipants ¶
func (krbo *KeepRandomBeaconOperator) SelectedParticipants() ([]common.Address, error)
func (*KeepRandomBeaconOperator) SelectedParticipantsAtBlock ¶
func (*KeepRandomBeaconOperator) Sign ¶
func (krbo *KeepRandomBeaconOperator) Sign( requestId *big.Int, previousEntry []uint8, value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) SignGasEstimate ¶
func (*KeepRandomBeaconOperator) SubmitDkgResult ¶
func (krbo *KeepRandomBeaconOperator) SubmitDkgResult( submitterMemberIndex *big.Int, groupPubKey []uint8, misbehaved []uint8, signatures []uint8, signingMembersIndexes []*big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) SubmitDkgResultGasEstimate ¶
func (*KeepRandomBeaconOperator) SubmitTicket ¶
func (krbo *KeepRandomBeaconOperator) SubmitTicket( ticket [32]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) SubmitTicketGasEstimate ¶
func (krbo *KeepRandomBeaconOperator) SubmitTicketGasEstimate( ticket [32]uint8, ) (uint64, error)
func (*KeepRandomBeaconOperator) SubmittedTickets ¶
func (krbo *KeepRandomBeaconOperator) SubmittedTickets() ([]uint64, error)
func (*KeepRandomBeaconOperator) SubmittedTicketsAtBlock ¶
func (krbo *KeepRandomBeaconOperator) SubmittedTicketsAtBlock( blockNumber *big.Int, ) ([]uint64, error)
func (*KeepRandomBeaconOperator) TicketSubmissionTimeout ¶
func (krbo *KeepRandomBeaconOperator) TicketSubmissionTimeout() (*big.Int, error)
func (*KeepRandomBeaconOperator) TicketSubmissionTimeoutAtBlock ¶
func (*KeepRandomBeaconOperator) WatchDkgResultSubmittedEvent ¶
func (krbo *KeepRandomBeaconOperator) WatchDkgResultSubmittedEvent( success keepRandomBeaconOperatorDkgResultSubmittedEventFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchGroupMemberRewardsWithdrawn ¶
func (krbo *KeepRandomBeaconOperator) WatchGroupMemberRewardsWithdrawn( success keepRandomBeaconOperatorGroupMemberRewardsWithdrawnFunc, fail func(err error) error, beneficiaryFilter []common.Address, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchGroupSelectionStarted ¶
func (krbo *KeepRandomBeaconOperator) WatchGroupSelectionStarted( success keepRandomBeaconOperatorGroupSelectionStartedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchOnGroupRegistered ¶
func (krbo *KeepRandomBeaconOperator) WatchOnGroupRegistered( success keepRandomBeaconOperatorOnGroupRegisteredFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchRelayEntryRequested ¶
func (krbo *KeepRandomBeaconOperator) WatchRelayEntryRequested( success keepRandomBeaconOperatorRelayEntryRequestedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchRelayEntrySubmitted ¶
func (krbo *KeepRandomBeaconOperator) WatchRelayEntrySubmitted( success keepRandomBeaconOperatorRelayEntrySubmittedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchRelayEntryTimeoutReported ¶
func (krbo *KeepRandomBeaconOperator) WatchRelayEntryTimeoutReported( success keepRandomBeaconOperatorRelayEntryTimeoutReportedFunc, fail func(err error) error, groupIndexFilter []*big.Int, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WatchUnauthorizedSigningReported ¶
func (krbo *KeepRandomBeaconOperator) WatchUnauthorizedSigningReported( success keepRandomBeaconOperatorUnauthorizedSigningReportedFunc, fail func(err error) error, groupIndexFilter []*big.Int, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconOperator) WithdrawGroupMemberRewards ¶
func (krbo *KeepRandomBeaconOperator) WithdrawGroupMemberRewards( operator common.Address, groupIndex *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconOperator) WithdrawGroupMemberRewardsGasEstimate ¶
type KeepRandomBeaconService ¶
type KeepRandomBeaconService struct {
// contains filtered or unexported fields
}
func NewKeepRandomBeaconService ¶
func NewKeepRandomBeaconService( contractAddress common.Address, accountKey *keystore.Key, backend bind.ContractBackend, nonceManager *ethutil.NonceManager, miningWaiter *ethutil.MiningWaiter, transactionMutex *sync.Mutex, ) (*KeepRandomBeaconService, error)
func (*KeepRandomBeaconService) AddOperatorContract ¶
func (krbs *KeepRandomBeaconService) AddOperatorContract( operatorContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) AddOperatorContractGasEstimate ¶
func (krbs *KeepRandomBeaconService) AddOperatorContractGasEstimate( operatorContract common.Address, ) (uint64, error)
func (*KeepRandomBeaconService) BaseCallbackGas ¶
func (krbs *KeepRandomBeaconService) BaseCallbackGas() (*big.Int, error)
func (*KeepRandomBeaconService) BaseCallbackGasAtBlock ¶
func (*KeepRandomBeaconService) CallAddOperatorContract ¶
func (krbs *KeepRandomBeaconService) CallAddOperatorContract( operatorContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallEntryCreated ¶
func (krbs *KeepRandomBeaconService) CallEntryCreated( requestId *big.Int, entry []uint8, submitter common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallExecuteCallback ¶
func (krbs *KeepRandomBeaconService) CallExecuteCallback( requestId *big.Int, entry *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallFundDkgFeePool ¶
func (krbs *KeepRandomBeaconService) CallFundDkgFeePool( value *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallFundRequestSubsidyFeePool ¶
func (krbs *KeepRandomBeaconService) CallFundRequestSubsidyFeePool( value *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallInitialize ¶
func (krbs *KeepRandomBeaconService) CallInitialize( dkgContributionMargin *big.Int, registry common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallRemoveOperatorContract ¶
func (krbs *KeepRandomBeaconService) CallRemoveOperatorContract( operatorContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallRequestRelayEntry ¶
func (krbs *KeepRandomBeaconService) CallRequestRelayEntry( value *big.Int, blockNumber *big.Int, ) (*big.Int, error)
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallRequestRelayEntry0 ¶
func (krbs *KeepRandomBeaconService) CallRequestRelayEntry0( callbackContract common.Address, callbackGas *big.Int, value *big.Int, blockNumber *big.Int, ) (*big.Int, error)
Non-mutating call, not a transaction submission.
func (*KeepRandomBeaconService) CallbackSurplusRecipient ¶ added in v1.1.2
func (*KeepRandomBeaconService) CallbackSurplusRecipientAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconService) DkgContributionMargin ¶ added in v1.1.2
func (krbs *KeepRandomBeaconService) DkgContributionMargin() (*big.Int, error)
func (*KeepRandomBeaconService) DkgContributionMarginAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconService) DkgFeePool ¶ added in v1.1.2
func (krbs *KeepRandomBeaconService) DkgFeePool() (*big.Int, error)
func (*KeepRandomBeaconService) DkgFeePoolAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconService) EntryCreated ¶
func (krbs *KeepRandomBeaconService) EntryCreated( requestId *big.Int, entry []uint8, submitter common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) EntryCreatedGasEstimate ¶
func (*KeepRandomBeaconService) EntryFeeBreakdown ¶
func (krbs *KeepRandomBeaconService) EntryFeeBreakdown() (entryFeeBreakdown, error)
func (*KeepRandomBeaconService) EntryFeeBreakdownAtBlock ¶
func (krbs *KeepRandomBeaconService) EntryFeeBreakdownAtBlock( blockNumber *big.Int, ) (entryFeeBreakdown, error)
func (*KeepRandomBeaconService) EntryFeeEstimate ¶
func (*KeepRandomBeaconService) EntryFeeEstimateAtBlock ¶
func (*KeepRandomBeaconService) ExecuteCallback ¶
func (krbs *KeepRandomBeaconService) ExecuteCallback( requestId *big.Int, entry *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) ExecuteCallbackGasEstimate ¶
func (*KeepRandomBeaconService) FundDkgFeePool ¶
func (krbs *KeepRandomBeaconService) FundDkgFeePool( value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) FundDkgFeePoolGasEstimate ¶
func (krbs *KeepRandomBeaconService) FundDkgFeePoolGasEstimate() (uint64, error)
func (*KeepRandomBeaconService) FundRequestSubsidyFeePool ¶
func (krbs *KeepRandomBeaconService) FundRequestSubsidyFeePool( value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) FundRequestSubsidyFeePoolGasEstimate ¶
func (krbs *KeepRandomBeaconService) FundRequestSubsidyFeePoolGasEstimate() (uint64, error)
func (*KeepRandomBeaconService) Initialize ¶
func (krbs *KeepRandomBeaconService) Initialize( dkgContributionMargin *big.Int, registry common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) InitializeGasEstimate ¶
func (*KeepRandomBeaconService) Initialized ¶
func (krbs *KeepRandomBeaconService) Initialized() (bool, error)
func (*KeepRandomBeaconService) InitializedAtBlock ¶
func (krbs *KeepRandomBeaconService) InitializedAtBlock( blockNumber *big.Int, ) (bool, error)
func (*KeepRandomBeaconService) RemoveOperatorContract ¶
func (krbs *KeepRandomBeaconService) RemoveOperatorContract( operatorContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) RemoveOperatorContractGasEstimate ¶
func (krbs *KeepRandomBeaconService) RemoveOperatorContractGasEstimate( operatorContract common.Address, ) (uint64, error)
func (*KeepRandomBeaconService) RequestRelayEntry ¶
func (krbs *KeepRandomBeaconService) RequestRelayEntry( value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) RequestRelayEntry0 ¶
func (krbs *KeepRandomBeaconService) RequestRelayEntry0( callbackContract common.Address, callbackGas *big.Int, value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*KeepRandomBeaconService) RequestRelayEntry0GasEstimate ¶
func (*KeepRandomBeaconService) RequestRelayEntryGasEstimate ¶
func (krbs *KeepRandomBeaconService) RequestRelayEntryGasEstimate() (uint64, error)
func (*KeepRandomBeaconService) RequestSubsidyFeePool ¶ added in v1.1.2
func (krbs *KeepRandomBeaconService) RequestSubsidyFeePool() (*big.Int, error)
func (*KeepRandomBeaconService) RequestSubsidyFeePoolAtBlock ¶ added in v1.1.2
func (*KeepRandomBeaconService) SelectOperatorContract ¶
func (*KeepRandomBeaconService) SelectOperatorContractAtBlock ¶
func (*KeepRandomBeaconService) Version ¶
func (krbs *KeepRandomBeaconService) Version() (string, error)
func (*KeepRandomBeaconService) VersionAtBlock ¶
func (krbs *KeepRandomBeaconService) VersionAtBlock( blockNumber *big.Int, ) (string, error)
func (*KeepRandomBeaconService) WatchRelayEntryGenerated ¶
func (krbs *KeepRandomBeaconService) WatchRelayEntryGenerated( success keepRandomBeaconServiceRelayEntryGeneratedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*KeepRandomBeaconService) WatchRelayEntryRequested ¶
func (krbs *KeepRandomBeaconService) WatchRelayEntryRequested( success keepRandomBeaconServiceRelayEntryRequestedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
type TokenGrant ¶
type TokenGrant struct {
// contains filtered or unexported fields
}
func NewTokenGrant ¶
func NewTokenGrant( contractAddress common.Address, accountKey *keystore.Key, backend bind.ContractBackend, nonceManager *ethutil.NonceManager, miningWaiter *ethutil.MiningWaiter, transactionMutex *sync.Mutex, ) (*TokenGrant, error)
func (*TokenGrant) AuthorizeStakingContract ¶
func (tg *TokenGrant) AuthorizeStakingContract( _stakingContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) AuthorizeStakingContractGasEstimate ¶
func (tg *TokenGrant) AuthorizeStakingContractGasEstimate( _stakingContract common.Address, ) (uint64, error)
func (*TokenGrant) AvailableToStake ¶
func (*TokenGrant) AvailableToStakeAtBlock ¶
func (*TokenGrant) BalanceOfAtBlock ¶
func (*TokenGrant) BalancesAtBlock ¶
func (*TokenGrant) CallAuthorizeStakingContract ¶
func (tg *TokenGrant) CallAuthorizeStakingContract( _stakingContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallCancelRevokedStake ¶
func (tg *TokenGrant) CallCancelRevokedStake( _operator common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallCancelStake ¶
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallReceiveApproval ¶
func (tg *TokenGrant) CallReceiveApproval( _from common.Address, _amount *big.Int, _token common.Address, _extraData []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallRecoverStake ¶
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallRevoke ¶
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallStake ¶
func (tg *TokenGrant) CallStake( _id *big.Int, _stakingContract common.Address, _amount *big.Int, _extraData []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallUndelegate ¶
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallUndelegateRevoked ¶
func (tg *TokenGrant) CallUndelegateRevoked( _operator common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallWithdraw ¶
Non-mutating call, not a transaction submission.
func (*TokenGrant) CallWithdrawRevoked ¶
Non-mutating call, not a transaction submission.
func (*TokenGrant) CancelRevokedStake ¶
func (tg *TokenGrant) CancelRevokedStake( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) CancelRevokedStakeGasEstimate ¶
func (tg *TokenGrant) CancelRevokedStakeGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenGrant) CancelStake ¶
func (tg *TokenGrant) CancelStake( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) CancelStakeGasEstimate ¶
func (tg *TokenGrant) CancelStakeGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenGrant) GetGrantAtBlock ¶
func (*TokenGrant) GetGrantStakeDetails ¶
func (tg *TokenGrant) GetGrantStakeDetails( operator common.Address, ) (GrantStakeDetails, error)
func (*TokenGrant) GetGrantStakeDetailsAtBlock ¶
func (tg *TokenGrant) GetGrantStakeDetailsAtBlock( operator common.Address, blockNumber *big.Int, ) (GrantStakeDetails, error)
func (*TokenGrant) GetGrantUnlockingSchedule ¶
func (tg *TokenGrant) GetGrantUnlockingSchedule( _id *big.Int, ) (GrantUnlockingSchedule, error)
func (*TokenGrant) GetGrantUnlockingScheduleAtBlock ¶
func (tg *TokenGrant) GetGrantUnlockingScheduleAtBlock( _id *big.Int, blockNumber *big.Int, ) (GrantUnlockingSchedule, error)
func (*TokenGrant) GetGranteeOperators ¶
func (*TokenGrant) GetGranteeOperatorsAtBlock ¶
func (*TokenGrant) GetGrantsAtBlock ¶
func (*TokenGrant) GrantIndices ¶
func (*TokenGrant) GrantIndicesAtBlock ¶
func (*TokenGrant) GrantStakes ¶
func (*TokenGrant) GrantStakesAtBlock ¶
func (*TokenGrant) GranteesToOperators ¶
func (*TokenGrant) GranteesToOperatorsAtBlock ¶
func (*TokenGrant) GrantsAtBlock ¶
func (*TokenGrant) NumGrantsAtBlock ¶
func (*TokenGrant) ReceiveApproval ¶
func (tg *TokenGrant) ReceiveApproval( _from common.Address, _amount *big.Int, _token common.Address, _extraData []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) ReceiveApprovalGasEstimate ¶
func (*TokenGrant) RecoverStake ¶
func (tg *TokenGrant) RecoverStake( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) RecoverStakeGasEstimate ¶
func (tg *TokenGrant) RecoverStakeGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenGrant) Revoke ¶
func (tg *TokenGrant) Revoke( _id *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) RevokeGasEstimate ¶
func (tg *TokenGrant) RevokeGasEstimate( _id *big.Int, ) (uint64, error)
func (*TokenGrant) Stake ¶
func (tg *TokenGrant) Stake( _id *big.Int, _stakingContract common.Address, _amount *big.Int, _extraData []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) StakeBalanceOf ¶
func (*TokenGrant) StakeBalanceOfAtBlock ¶
func (*TokenGrant) StakeGasEstimate ¶
func (*TokenGrant) TokenAtBlock ¶
func (*TokenGrant) Undelegate ¶
func (tg *TokenGrant) Undelegate( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) UndelegateGasEstimate ¶
func (tg *TokenGrant) UndelegateGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenGrant) UndelegateRevoked ¶
func (tg *TokenGrant) UndelegateRevoked( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) UndelegateRevokedGasEstimate ¶
func (tg *TokenGrant) UndelegateRevokedGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenGrant) UnlockedAmount ¶
func (*TokenGrant) UnlockedAmountAtBlock ¶
func (*TokenGrant) WatchStakingContractAuthorized ¶ added in v1.1.2
func (tg *TokenGrant) WatchStakingContractAuthorized( success tokenGrantStakingContractAuthorizedFunc, fail func(err error) error, grantManagerFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenGrant) WatchTokenGrantCreated ¶
func (tg *TokenGrant) WatchTokenGrantCreated( success tokenGrantTokenGrantCreatedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*TokenGrant) WatchTokenGrantRevoked ¶
func (tg *TokenGrant) WatchTokenGrantRevoked( success tokenGrantTokenGrantRevokedFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*TokenGrant) WatchTokenGrantStaked ¶
func (tg *TokenGrant) WatchTokenGrantStaked( success tokenGrantTokenGrantStakedFunc, fail func(err error) error, grantIdFilter []*big.Int, ) (subscription.EventSubscription, error)
func (*TokenGrant) WatchTokenGrantWithdrawn ¶
func (tg *TokenGrant) WatchTokenGrantWithdrawn( success tokenGrantTokenGrantWithdrawnFunc, fail func(err error) error, grantIdFilter []*big.Int, ) (subscription.EventSubscription, error)
func (*TokenGrant) Withdraw ¶
func (tg *TokenGrant) Withdraw( _id *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) WithdrawGasEstimate ¶
func (tg *TokenGrant) WithdrawGasEstimate( _id *big.Int, ) (uint64, error)
func (*TokenGrant) WithdrawRevoked ¶
func (tg *TokenGrant) WithdrawRevoked( _id *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenGrant) WithdrawRevokedGasEstimate ¶
func (tg *TokenGrant) WithdrawRevokedGasEstimate( _id *big.Int, ) (uint64, error)
func (*TokenGrant) Withdrawable ¶
func (*TokenGrant) WithdrawableAtBlock ¶
type TokenStaking ¶
type TokenStaking struct {
// contains filtered or unexported fields
}
func NewTokenStaking ¶
func NewTokenStaking( contractAddress common.Address, accountKey *keystore.Key, backend bind.ContractBackend, nonceManager *ethutil.NonceManager, miningWaiter *ethutil.MiningWaiter, transactionMutex *sync.Mutex, ) (*TokenStaking, error)
func (*TokenStaking) ActiveStake ¶
func (*TokenStaking) ActiveStakeAtBlock ¶
func (*TokenStaking) AuthorizeOperatorContract ¶
func (ts *TokenStaking) AuthorizeOperatorContract( _operator common.Address, _operatorContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) AuthorizeOperatorContractGasEstimate ¶
func (*TokenStaking) AuthorizerOf ¶
func (*TokenStaking) AuthorizerOfAtBlock ¶
func (*TokenStaking) BalanceOfAtBlock ¶
func (*TokenStaking) BeneficiaryOf ¶
func (*TokenStaking) BeneficiaryOfAtBlock ¶
func (*TokenStaking) CallAuthorizeOperatorContract ¶
func (ts *TokenStaking) CallAuthorizeOperatorContract( _operator common.Address, _operatorContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallCancelStake ¶
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallClaimDelegatedAuthority ¶
func (ts *TokenStaking) CallClaimDelegatedAuthority( delegatedAuthoritySource common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallLockStake ¶
func (ts *TokenStaking) CallLockStake( operator common.Address, duration *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallReceiveApproval ¶
func (ts *TokenStaking) CallReceiveApproval( _from common.Address, _value *big.Int, _token common.Address, _extraData []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallRecoverStake ¶
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallReleaseExpiredLock ¶
func (ts *TokenStaking) CallReleaseExpiredLock( operator common.Address, operatorContract common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallSeize ¶
func (ts *TokenStaking) CallSeize( amountToSeize *big.Int, rewardMultiplier *big.Int, tattletale common.Address, misbehavedOperators []common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallSlash ¶
func (ts *TokenStaking) CallSlash( amountToSlash *big.Int, misbehavedOperators []common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallUndelegate ¶
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallUndelegateAt ¶
func (ts *TokenStaking) CallUndelegateAt( _operator common.Address, _undelegationTimestamp *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*TokenStaking) CallUnlockStake ¶
Non-mutating call, not a transaction submission.
func (*TokenStaking) CancelStake ¶
func (ts *TokenStaking) CancelStake( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) CancelStakeGasEstimate ¶
func (ts *TokenStaking) CancelStakeGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenStaking) ClaimDelegatedAuthority ¶
func (ts *TokenStaking) ClaimDelegatedAuthority( delegatedAuthoritySource common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) ClaimDelegatedAuthorityGasEstimate ¶
func (ts *TokenStaking) ClaimDelegatedAuthorityGasEstimate( delegatedAuthoritySource common.Address, ) (uint64, error)
func (*TokenStaking) EligibleStake ¶
func (*TokenStaking) EligibleStakeAtBlock ¶
func (*TokenStaking) GetAuthoritySource ¶
func (*TokenStaking) GetAuthoritySourceAtBlock ¶
func (*TokenStaking) GetDelegationInfo ¶
func (ts *TokenStaking) GetDelegationInfo( _operator common.Address, ) (DelegationInfo, error)
func (*TokenStaking) GetDelegationInfoAtBlock ¶
func (ts *TokenStaking) GetDelegationInfoAtBlock( _operator common.Address, blockNumber *big.Int, ) (DelegationInfo, error)
func (*TokenStaking) GetLocks ¶
func (ts *TokenStaking) GetLocks( operator common.Address, ) (Locks, error)
func (*TokenStaking) GetLocksAtBlock ¶
func (*TokenStaking) HasMinimumStake ¶
func (*TokenStaking) HasMinimumStakeAtBlock ¶
func (*TokenStaking) InitializationPeriod ¶
func (ts *TokenStaking) InitializationPeriod() (*big.Int, error)
func (*TokenStaking) InitializationPeriodAtBlock ¶
func (*TokenStaking) IsAuthorizedForOperator ¶
func (*TokenStaking) IsAuthorizedForOperatorAtBlock ¶
func (*TokenStaking) IsStakeLocked ¶
func (ts *TokenStaking) IsStakeLocked( operator common.Address, ) (bool, error)
func (*TokenStaking) IsStakeLockedAtBlock ¶
func (*TokenStaking) LockStake ¶
func (ts *TokenStaking) LockStake( operator common.Address, duration *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) LockStakeGasEstimate ¶
func (*TokenStaking) MaximumLockDuration ¶
func (ts *TokenStaking) MaximumLockDuration() (*big.Int, error)
func (*TokenStaking) MaximumLockDurationAtBlock ¶
func (*TokenStaking) MinimumStake ¶
func (ts *TokenStaking) MinimumStake() (*big.Int, error)
func (*TokenStaking) MinimumStakeAtBlock ¶
func (*TokenStaking) MinimumStakeBase ¶
func (ts *TokenStaking) MinimumStakeBase() (*big.Int, error)
func (*TokenStaking) MinimumStakeBaseAtBlock ¶
func (*TokenStaking) MinimumStakeSchedule ¶
func (ts *TokenStaking) MinimumStakeSchedule() (*big.Int, error)
func (*TokenStaking) MinimumStakeScheduleAtBlock ¶
func (*TokenStaking) MinimumStakeScheduleStart ¶
func (ts *TokenStaking) MinimumStakeScheduleStart() (*big.Int, error)
func (*TokenStaking) MinimumStakeScheduleStartAtBlock ¶
func (*TokenStaking) MinimumStakeSteps ¶
func (ts *TokenStaking) MinimumStakeSteps() (*big.Int, error)
func (*TokenStaking) MinimumStakeStepsAtBlock ¶
func (*TokenStaking) Operators ¶
func (ts *TokenStaking) Operators( arg0 common.Address, ) (operators, error)
func (*TokenStaking) OperatorsAtBlock ¶
func (*TokenStaking) OperatorsOf ¶
func (*TokenStaking) OperatorsOfAtBlock ¶
func (*TokenStaking) OwnerOfAtBlock ¶
func (*TokenStaking) OwnerOperators ¶
func (*TokenStaking) OwnerOperatorsAtBlock ¶
func (*TokenStaking) ReceiveApproval ¶
func (ts *TokenStaking) ReceiveApproval( _from common.Address, _value *big.Int, _token common.Address, _extraData []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) ReceiveApprovalGasEstimate ¶
func (*TokenStaking) RecoverStake ¶
func (ts *TokenStaking) RecoverStake( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) RecoverStakeGasEstimate ¶
func (ts *TokenStaking) RecoverStakeGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenStaking) RegistryAtBlock ¶
func (*TokenStaking) ReleaseExpiredLock ¶
func (ts *TokenStaking) ReleaseExpiredLock( operator common.Address, operatorContract common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) ReleaseExpiredLockGasEstimate ¶
func (*TokenStaking) Seize ¶
func (ts *TokenStaking) Seize( amountToSeize *big.Int, rewardMultiplier *big.Int, tattletale common.Address, misbehavedOperators []common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) SeizeGasEstimate ¶
func (*TokenStaking) Slash ¶
func (ts *TokenStaking) Slash( amountToSlash *big.Int, misbehavedOperators []common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) SlashGasEstimate ¶
func (*TokenStaking) TokenAtBlock ¶
func (*TokenStaking) Undelegate ¶
func (ts *TokenStaking) Undelegate( _operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) UndelegateAt ¶
func (ts *TokenStaking) UndelegateAt( _operator common.Address, _undelegationTimestamp *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) UndelegateAtGasEstimate ¶
func (*TokenStaking) UndelegateGasEstimate ¶
func (ts *TokenStaking) UndelegateGasEstimate( _operator common.Address, ) (uint64, error)
func (*TokenStaking) UndelegationPeriod ¶
func (ts *TokenStaking) UndelegationPeriod() (*big.Int, error)
func (*TokenStaking) UndelegationPeriodAtBlock ¶
func (*TokenStaking) UnlockStake ¶
func (ts *TokenStaking) UnlockStake( operator common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*TokenStaking) UnlockStakeGasEstimate ¶
func (ts *TokenStaking) UnlockStakeGasEstimate( operator common.Address, ) (uint64, error)
func (*TokenStaking) WatchExpiredLockReleased ¶
func (ts *TokenStaking) WatchExpiredLockReleased( success tokenStakingExpiredLockReleasedFunc, fail func(err error) error, operatorFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchLockReleased ¶
func (ts *TokenStaking) WatchLockReleased( success tokenStakingLockReleasedFunc, fail func(err error) error, operatorFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchRecoveredStake ¶
func (ts *TokenStaking) WatchRecoveredStake( success tokenStakingRecoveredStakeFunc, fail func(err error) error, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchStakeLocked ¶
func (ts *TokenStaking) WatchStakeLocked( success tokenStakingStakeLockedFunc, fail func(err error) error, operatorFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchStaked ¶
func (ts *TokenStaking) WatchStaked( success tokenStakingStakedFunc, fail func(err error) error, fromFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchTokensSeized ¶
func (ts *TokenStaking) WatchTokensSeized( success tokenStakingTokensSeizedFunc, fail func(err error) error, operatorFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchTokensSlashed ¶
func (ts *TokenStaking) WatchTokensSlashed( success tokenStakingTokensSlashedFunc, fail func(err error) error, operatorFilter []common.Address, ) (subscription.EventSubscription, error)
func (*TokenStaking) WatchUndelegated ¶
func (ts *TokenStaking) WatchUndelegated( success tokenStakingUndelegatedFunc, fail func(err error) error, operatorFilter []common.Address, ) (subscription.EventSubscription, error)