Documentation ¶
Overview ¶
Package proof contains all functions to make a proof-chain tx for an encoded block-replica object
Index ¶
- Variables
- type ProofChain
- type ProofChainBlockHeightSubmissionThresholdChanged
- type ProofChainBlockHeightSubmissionThresholdChangedIterator
- type ProofChainBlockSpecimenProductionProofSubmitted
- type ProofChainBlockSpecimenProductionProofSubmittedIterator
- type ProofChainBlockSpecimenRewardAwarded
- type ProofChainBlockSpecimenRewardAwardedIterator
- type ProofChainBlockSpecimenRewardChanged
- type ProofChainBlockSpecimenRewardChangedIterator
- type ProofChainCaller
- func (_ProofChain *ProofChainCaller) AUDITORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ProofChain *ProofChainCaller) BLOCKSPECIMENPRODUCERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ProofChain *ProofChainCaller) GOVERNANCEROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ProofChain *ProofChainCaller) GetAllOperators(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ProofChain *ProofChainCaller) GetBSPRoleData(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ProofChain *ProofChainCaller) GetChainData(opts *bind.CallOpts, chainId uint64) (struct{ ... }, error)
- func (_ProofChain *ProofChainCaller) GetMetadata(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ProofChain *ProofChainCaller) GetOperators(opts *bind.CallOpts, validatorId *big.Int) ([]common.Address, error)
- func (_ProofChain *ProofChainCaller) IsEnabled(opts *bind.CallOpts, operator common.Address) (bool, error)
- func (_ProofChain *ProofChainCaller) OperatorRoles(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)
- func (_ProofChain *ProofChainCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ProofChain *ProofChainCaller) ValidatorIDs(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type ProofChainCallerRaw
- type ProofChainCallerSession
- func (_ProofChain *ProofChainCallerSession) AUDITORROLE() ([32]byte, error)
- func (_ProofChain *ProofChainCallerSession) BLOCKSPECIMENPRODUCERROLE() ([32]byte, error)
- func (_ProofChain *ProofChainCallerSession) GOVERNANCEROLE() ([32]byte, error)
- func (_ProofChain *ProofChainCallerSession) GetAllOperators() (struct{ ... }, error)
- func (_ProofChain *ProofChainCallerSession) GetBSPRoleData() (struct{ ... }, error)
- func (_ProofChain *ProofChainCallerSession) GetChainData(chainId uint64) (struct{ ... }, error)
- func (_ProofChain *ProofChainCallerSession) GetMetadata() (struct{ ... }, error)
- func (_ProofChain *ProofChainCallerSession) GetOperators(validatorId *big.Int) ([]common.Address, error)
- func (_ProofChain *ProofChainCallerSession) IsEnabled(operator common.Address) (bool, error)
- func (_ProofChain *ProofChainCallerSession) OperatorRoles(arg0 common.Address) ([32]byte, error)
- func (_ProofChain *ProofChainCallerSession) Owner() (common.Address, error)
- func (_ProofChain *ProofChainCallerSession) ValidatorIDs(arg0 common.Address) (*big.Int, error)
- type ProofChainChainSyncDataChanged
- type ProofChainChainSyncDataChangedIterator
- type ProofChainFilterer
- func (_ProofChain *ProofChainFilterer) FilterBlockHeightSubmissionThresholdChanged(opts *bind.FilterOpts, chainId []uint64) (*ProofChainBlockHeightSubmissionThresholdChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenProductionProofSubmitted(opts *bind.FilterOpts) (*ProofChainBlockSpecimenProductionProofSubmittedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenRewardAwarded(opts *bind.FilterOpts, chainId []uint64, blockHeight []uint64, ...) (*ProofChainBlockSpecimenRewardAwardedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenRewardChanged(opts *bind.FilterOpts) (*ProofChainBlockSpecimenRewardChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterChainSyncDataChanged(opts *bind.FilterOpts, chainId []uint64) (*ProofChainChainSyncDataChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProofChainInitializedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterMaxSubmissionsPerBlockHeightChanged(opts *bind.FilterOpts) (*ProofChainMaxSubmissionsPerBlockHeightChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterMinimumRequiredStakeChanged(opts *bind.FilterOpts) (*ProofChainMinimumRequiredStakeChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterNthBlockChanged(opts *bind.FilterOpts, chainId []uint64, nthBlock []uint64) (*ProofChainNthBlockChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*ProofChainOperatorAddedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterOperatorDisabled(opts *bind.FilterOpts) (*ProofChainOperatorDisabledIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterOperatorEnabled(opts *bind.FilterOpts) (*ProofChainOperatorEnabledIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterOperatorRemoved(opts *bind.FilterOpts) (*ProofChainOperatorRemovedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ProofChainOwnershipTransferredIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterQuorumNotReached(opts *bind.FilterOpts, chainId []uint64) (*ProofChainQuorumNotReachedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterSecondsPerBlockChanged(opts *bind.FilterOpts, secondsPerBlock []uint64) (*ProofChainSecondsPerBlockChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterSessionStarted(opts *bind.FilterOpts, chainId []uint64, blockHeight []uint64) (*ProofChainSessionStartedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterSpecimenSessionDurationChanged(opts *bind.FilterOpts) (*ProofChainSpecimenSessionDurationChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterSpecimenSessionMinSubmissionChanged(opts *bind.FilterOpts) (*ProofChainSpecimenSessionMinSubmissionChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterSpecimenSessionQuorumChanged(opts *bind.FilterOpts) (*ProofChainSpecimenSessionQuorumChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) FilterStakingInterfaceChanged(opts *bind.FilterOpts) (*ProofChainStakingInterfaceChangedIterator, error)
- func (_ProofChain *ProofChainFilterer) ParseBlockHeightSubmissionThresholdChanged(log types.Log) (*ProofChainBlockHeightSubmissionThresholdChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenProductionProofSubmitted(log types.Log) (*ProofChainBlockSpecimenProductionProofSubmitted, error)
- func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenRewardAwarded(log types.Log) (*ProofChainBlockSpecimenRewardAwarded, error)
- func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenRewardChanged(log types.Log) (*ProofChainBlockSpecimenRewardChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseChainSyncDataChanged(log types.Log) (*ProofChainChainSyncDataChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseInitialized(log types.Log) (*ProofChainInitialized, error)
- func (_ProofChain *ProofChainFilterer) ParseMaxSubmissionsPerBlockHeightChanged(log types.Log) (*ProofChainMaxSubmissionsPerBlockHeightChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseMinimumRequiredStakeChanged(log types.Log) (*ProofChainMinimumRequiredStakeChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseNthBlockChanged(log types.Log) (*ProofChainNthBlockChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseOperatorAdded(log types.Log) (*ProofChainOperatorAdded, error)
- func (_ProofChain *ProofChainFilterer) ParseOperatorDisabled(log types.Log) (*ProofChainOperatorDisabled, error)
- func (_ProofChain *ProofChainFilterer) ParseOperatorEnabled(log types.Log) (*ProofChainOperatorEnabled, error)
- func (_ProofChain *ProofChainFilterer) ParseOperatorRemoved(log types.Log) (*ProofChainOperatorRemoved, error)
- func (_ProofChain *ProofChainFilterer) ParseOwnershipTransferred(log types.Log) (*ProofChainOwnershipTransferred, error)
- func (_ProofChain *ProofChainFilterer) ParseQuorumNotReached(log types.Log) (*ProofChainQuorumNotReached, error)
- func (_ProofChain *ProofChainFilterer) ParseSecondsPerBlockChanged(log types.Log) (*ProofChainSecondsPerBlockChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseSessionStarted(log types.Log) (*ProofChainSessionStarted, error)
- func (_ProofChain *ProofChainFilterer) ParseSpecimenSessionDurationChanged(log types.Log) (*ProofChainSpecimenSessionDurationChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseSpecimenSessionMinSubmissionChanged(log types.Log) (*ProofChainSpecimenSessionMinSubmissionChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseSpecimenSessionQuorumChanged(log types.Log) (*ProofChainSpecimenSessionQuorumChanged, error)
- func (_ProofChain *ProofChainFilterer) ParseStakingInterfaceChanged(log types.Log) (*ProofChainStakingInterfaceChanged, error)
- func (_ProofChain *ProofChainFilterer) WatchBlockHeightSubmissionThresholdChanged(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenProductionProofSubmitted(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenRewardAwarded(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenRewardAwarded, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenRewardChanged(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenRewardChanged) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchChainSyncDataChanged(opts *bind.WatchOpts, sink chan<- *ProofChainChainSyncDataChanged, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProofChainInitialized) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchMaxSubmissionsPerBlockHeightChanged(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchMinimumRequiredStakeChanged(opts *bind.WatchOpts, sink chan<- *ProofChainMinimumRequiredStakeChanged) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchNthBlockChanged(opts *bind.WatchOpts, sink chan<- *ProofChainNthBlockChanged, chainId []uint64, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorAdded) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchOperatorDisabled(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorDisabled) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchOperatorEnabled(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorEnabled) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchOperatorRemoved(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorRemoved) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProofChainOwnershipTransferred, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchQuorumNotReached(opts *bind.WatchOpts, sink chan<- *ProofChainQuorumNotReached, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchSecondsPerBlockChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSecondsPerBlockChanged, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchSessionStarted(opts *bind.WatchOpts, sink chan<- *ProofChainSessionStarted, chainId []uint64, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchSpecimenSessionDurationChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSpecimenSessionDurationChanged) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchSpecimenSessionMinSubmissionChanged(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchSpecimenSessionQuorumChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSpecimenSessionQuorumChanged) (event.Subscription, error)
- func (_ProofChain *ProofChainFilterer) WatchStakingInterfaceChanged(opts *bind.WatchOpts, sink chan<- *ProofChainStakingInterfaceChanged) (event.Subscription, error)
- type ProofChainInitialized
- type ProofChainInitializedIterator
- type ProofChainMaxSubmissionsPerBlockHeightChanged
- type ProofChainMaxSubmissionsPerBlockHeightChangedIterator
- type ProofChainMinimumRequiredStakeChanged
- type ProofChainMinimumRequiredStakeChangedIterator
- type ProofChainNthBlockChanged
- type ProofChainNthBlockChangedIterator
- type ProofChainOperatorAdded
- type ProofChainOperatorAddedIterator
- type ProofChainOperatorDisabled
- type ProofChainOperatorDisabledIterator
- type ProofChainOperatorEnabled
- type ProofChainOperatorEnabledIterator
- type ProofChainOperatorRemoved
- type ProofChainOperatorRemovedIterator
- type ProofChainOwnershipTransferred
- type ProofChainOwnershipTransferredIterator
- type ProofChainQuorumNotReached
- type ProofChainQuorumNotReachedIterator
- type ProofChainRaw
- func (_ProofChain *ProofChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ProofChain *ProofChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ProofChain *ProofChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProofChainSecondsPerBlockChanged
- type ProofChainSecondsPerBlockChangedIterator
- type ProofChainSession
- func (_ProofChain *ProofChainSession) AUDITORROLE() ([32]byte, error)
- func (_ProofChain *ProofChainSession) AddAuditor(auditor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) AddBSPOperator(operator common.Address, validatorId *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) AddGovernor(governor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) AddValidator(validator common.Address, commissionRate *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) ArbitrateBlockSpecimenSession(chainId uint64, blockHeight uint64, blockHash [32]byte, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) BLOCKSPECIMENPRODUCERROLE() ([32]byte, error)
- func (_ProofChain *ProofChainSession) DisableBSPOperator(operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) DisableValidator(validatorId *big.Int, blockNumber *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) EnableBSPOperator(operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) FinalizeAndRewardSpecimenSession(chainId uint64, blockHeight uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) GOVERNANCEROLE() ([32]byte, error)
- func (_ProofChain *ProofChainSession) GetAllOperators() (struct{ ... }, error)
- func (_ProofChain *ProofChainSession) GetBSPRoleData() (struct{ ... }, error)
- func (_ProofChain *ProofChainSession) GetChainData(chainId uint64) (struct{ ... }, error)
- func (_ProofChain *ProofChainSession) GetMetadata() (struct{ ... }, error)
- func (_ProofChain *ProofChainSession) GetOperators(validatorId *big.Int) ([]common.Address, error)
- func (_ProofChain *ProofChainSession) Initialize(initialOwner common.Address, stakingContract common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) IsEnabled(operator common.Address) (bool, error)
- func (_ProofChain *ProofChainSession) OperatorRoles(arg0 common.Address) ([32]byte, error)
- func (_ProofChain *ProofChainSession) Owner() (common.Address, error)
- func (_ProofChain *ProofChainSession) RemoveAuditor(auditor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) RemoveBSPOperator(operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) RemoveGovernor(governor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) RenounceOwnership() (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetBSPRequiredStake(newStakeAmount *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetBlockHeightSubmissionsThreshold(chainId uint64, threshold uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetBlockSpecimenReward(newBlockSpecimenReward *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetBlockSpecimenSessionDuration(newSessionDuration uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetChainSyncData(chainId uint64, blockOnTargetChain *big.Int, blockOnCurrentChain *big.Int, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetMaxSubmissionsPerBlockHeight(chainId uint64, maxSubmissions uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetMinSubmissionsRequired(minSubmissions uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetNthBlock(chainId uint64, n uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetQuorumThreshold(quorum *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetSecondsPerBlock(secondsPerBlock uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SetStakingInterface(stakingContractAddress common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) SubmitBlockSpecimenProof(chainId uint64, blockHeight uint64, blockHash [32]byte, specimenHash [32]byte, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainSession) ValidatorIDs(arg0 common.Address) (*big.Int, error)
- type ProofChainSessionStarted
- type ProofChainSessionStartedIterator
- type ProofChainSpecimenSessionDurationChanged
- type ProofChainSpecimenSessionDurationChangedIterator
- type ProofChainSpecimenSessionMinSubmissionChanged
- type ProofChainSpecimenSessionMinSubmissionChangedIterator
- type ProofChainSpecimenSessionQuorumChanged
- type ProofChainSpecimenSessionQuorumChangedIterator
- type ProofChainStakingInterfaceChanged
- type ProofChainStakingInterfaceChangedIterator
- type ProofChainTransactor
- func (_ProofChain *ProofChainTransactor) AddAuditor(opts *bind.TransactOpts, auditor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) AddBSPOperator(opts *bind.TransactOpts, operator common.Address, validatorId *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) AddGovernor(opts *bind.TransactOpts, governor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) AddValidator(opts *bind.TransactOpts, validator common.Address, commissionRate *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) ArbitrateBlockSpecimenSession(opts *bind.TransactOpts, chainId uint64, blockHeight uint64, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) DisableBSPOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) DisableValidator(opts *bind.TransactOpts, validatorId *big.Int, blockNumber *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) EnableBSPOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) FinalizeAndRewardSpecimenSession(opts *bind.TransactOpts, chainId uint64, blockHeight uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) Initialize(opts *bind.TransactOpts, initialOwner common.Address, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) RemoveAuditor(opts *bind.TransactOpts, auditor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) RemoveBSPOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) RemoveGovernor(opts *bind.TransactOpts, governor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetBSPRequiredStake(opts *bind.TransactOpts, newStakeAmount *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetBlockHeightSubmissionsThreshold(opts *bind.TransactOpts, chainId uint64, threshold uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetBlockSpecimenReward(opts *bind.TransactOpts, newBlockSpecimenReward *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetBlockSpecimenSessionDuration(opts *bind.TransactOpts, newSessionDuration uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetChainSyncData(opts *bind.TransactOpts, chainId uint64, blockOnTargetChain *big.Int, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetMaxSubmissionsPerBlockHeight(opts *bind.TransactOpts, chainId uint64, maxSubmissions uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetMinSubmissionsRequired(opts *bind.TransactOpts, minSubmissions uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetNthBlock(opts *bind.TransactOpts, chainId uint64, n uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetQuorumThreshold(opts *bind.TransactOpts, quorum *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetSecondsPerBlock(opts *bind.TransactOpts, secondsPerBlock uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SetStakingInterface(opts *bind.TransactOpts, stakingContractAddress common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) SubmitBlockSpecimenProof(opts *bind.TransactOpts, chainId uint64, blockHeight uint64, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ProofChainTransactorRaw
- type ProofChainTransactorSession
- func (_ProofChain *ProofChainTransactorSession) AddAuditor(auditor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) AddBSPOperator(operator common.Address, validatorId *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) AddGovernor(governor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) AddValidator(validator common.Address, commissionRate *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) ArbitrateBlockSpecimenSession(chainId uint64, blockHeight uint64, blockHash [32]byte, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) DisableBSPOperator(operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) DisableValidator(validatorId *big.Int, blockNumber *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) EnableBSPOperator(operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) FinalizeAndRewardSpecimenSession(chainId uint64, blockHeight uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) Initialize(initialOwner common.Address, stakingContract common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) RemoveAuditor(auditor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) RemoveBSPOperator(operator common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) RemoveGovernor(governor common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetBSPRequiredStake(newStakeAmount *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetBlockHeightSubmissionsThreshold(chainId uint64, threshold uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetBlockSpecimenReward(newBlockSpecimenReward *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetBlockSpecimenSessionDuration(newSessionDuration uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetChainSyncData(chainId uint64, blockOnTargetChain *big.Int, blockOnCurrentChain *big.Int, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetMaxSubmissionsPerBlockHeight(chainId uint64, maxSubmissions uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetMinSubmissionsRequired(minSubmissions uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetNthBlock(chainId uint64, n uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetQuorumThreshold(quorum *big.Int) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetSecondsPerBlock(secondsPerBlock uint64) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SetStakingInterface(stakingContractAddress common.Address) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) SubmitBlockSpecimenProof(chainId uint64, blockHeight uint64, blockHash [32]byte, specimenHash [32]byte, ...) (*types.Transaction, error)
- func (_ProofChain *ProofChainTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ProofchainInteractor
Constants ¶
This section is empty.
Variables ¶
var ProofChainABI = ProofChainMetaData.ABI
ProofChainABI is the input ABI used to generate the binding from. Deprecated: Use ProofChainMetaData.ABI instead.
var ProofChainMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"threshold\",\"type\":\"uint64\"}],\"name\":\"BlockHeightSubmissionThresholdChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"specimenHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"storageURL\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"submittedStake\",\"type\":\"uint128\"}],\"name\":\"BlockSpecimenProductionProofSubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"blockhash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"specimenhash\",\"type\":\"bytes32\"}],\"name\":\"BlockSpecimenRewardAwarded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"newBlockSpecimenRewardAllocation\",\"type\":\"uint128\"}],\"name\":\"BlockSpecimenRewardChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockOnTargetChain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockOnCurrentChain\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"secondsPerBlock\",\"type\":\"uint256\"}],\"name\":\"ChainSyncDataChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxSubmissions\",\"type\":\"uint256\"}],\"name\":\"MaxSubmissionsPerBlockHeightChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"newStakeRequirement\",\"type\":\"uint128\"}],\"name\":\"MinimumRequiredStakeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nthBlock\",\"type\":\"uint64\"}],\"name\":\"NthBlockChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"OperatorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"OperatorDisabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"OperatorEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"OperatorRemoved\",\"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\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"QuorumNotReached\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"secondsPerBlock\",\"type\":\"uint64\"}],\"name\":\"SecondsPerBlockChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"name\":\"SessionStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"newSessionDuration\",\"type\":\"uint64\"}],\"name\":\"SpecimenSessionDurationChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"minSubmissions\",\"type\":\"uint64\"}],\"name\":\"SpecimenSessionMinSubmissionChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newQuorumThreshold\",\"type\":\"uint256\"}],\"name\":\"SpecimenSessionQuorumChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newInterfaceAddress\",\"type\":\"address\"}],\"name\":\"StakingInterfaceChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"AUDITOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BLOCK_SPECIMEN_PRODUCER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOVERNANCE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"auditor\",\"type\":\"address\"}],\"name\":\"addAuditor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"}],\"name\":\"addBSPOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"commissionRate\",\"type\":\"uint128\"}],\"name\":\"addValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"definitiveSpecimenHash\",\"type\":\"bytes32\"}],\"name\":\"arbitrateBlockSpecimenSession\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"disableBSPOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"disableValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"enableBSPOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"finalizeAndRewardSpecimenSession\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"_bsps\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"__governors\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"__auditors\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBSPRoleData\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"requiredStake\",\"type\":\"uint128\"},{\"internalType\":\"address[]\",\"name\":\"activeMembers\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"}],\"name\":\"getChainData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"blockOnTargetChain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockOnCurrentChain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secondsPerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"allowedThreshold\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"maxSubmissionsPerBlockHeight\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"nthBlock\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMetadata\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"stakingInterface\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"blockSpecimenRewardAllocation\",\"type\":\"uint128\"},{\"internalType\":\"uint64\",\"name\":\"blockSpecimenSessionDuration\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"minSubmissionsRequired\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"blockSpecimenQuorum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secondsPerBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"}],\"name\":\"getOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stakingContract\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"operatorRoles\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"auditor\",\"type\":\"address\"}],\"name\":\"removeAuditor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"removeBSPOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"newStakeAmount\",\"type\":\"uint128\"}],\"name\":\"setBSPRequiredStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"threshold\",\"type\":\"uint64\"}],\"name\":\"setBlockHeightSubmissionsThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"newBlockSpecimenReward\",\"type\":\"uint128\"}],\"name\":\"setBlockSpecimenReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newSessionDuration\",\"type\":\"uint64\"}],\"name\":\"setBlockSpecimenSessionDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"blockOnTargetChain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockOnCurrentChain\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secondsPerBlock\",\"type\":\"uint256\"}],\"name\":\"setChainSyncData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"maxSubmissions\",\"type\":\"uint64\"}],\"name\":\"setMaxSubmissionsPerBlockHeight\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"minSubmissions\",\"type\":\"uint64\"}],\"name\":\"setMinSubmissionsRequired\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"n\",\"type\":\"uint64\"}],\"name\":\"setNthBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"quorum\",\"type\":\"uint256\"}],\"name\":\"setQuorumThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"secondsPerBlock\",\"type\":\"uint64\"}],\"name\":\"setSecondsPerBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingContractAddress\",\"type\":\"address\"}],\"name\":\"setStakingInterface\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"specimenHash\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"storageURL\",\"type\":\"string\"}],\"name\":\"submitBlockSpecimenProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"validatorIDs\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ProofChainMetaData contains all meta data concerning the ProofChain contract.
Functions ¶
This section is empty.
Types ¶
type ProofChain ¶
type ProofChain struct { ProofChainCaller // Read-only binding to the contract ProofChainTransactor // Write-only binding to the contract ProofChainFilterer // Log filterer for contract events }
ProofChain is an auto generated Go binding around an Ethereum contract.
func NewProofChain ¶
func NewProofChain(address common.Address, backend bind.ContractBackend) (*ProofChain, error)
NewProofChain creates a new instance of ProofChain, bound to a specific deployed contract.
type ProofChainBlockHeightSubmissionThresholdChanged ¶ added in v1.4.7
type ProofChainBlockHeightSubmissionThresholdChanged struct { ChainId uint64 Threshold uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainBlockHeightSubmissionThresholdChanged represents a BlockHeightSubmissionThresholdChanged event raised by the ProofChain contract.
type ProofChainBlockHeightSubmissionThresholdChangedIterator ¶ added in v1.4.7
type ProofChainBlockHeightSubmissionThresholdChangedIterator struct { Event *ProofChainBlockHeightSubmissionThresholdChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainBlockHeightSubmissionThresholdChangedIterator is returned from FilterBlockHeightSubmissionThresholdChanged and is used to iterate over the raw logs and unpacked data for BlockHeightSubmissionThresholdChanged events raised by the ProofChain contract.
func (*ProofChainBlockHeightSubmissionThresholdChangedIterator) Close ¶ added in v1.4.7
func (it *ProofChainBlockHeightSubmissionThresholdChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainBlockHeightSubmissionThresholdChangedIterator) Error ¶ added in v1.4.7
func (it *ProofChainBlockHeightSubmissionThresholdChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainBlockHeightSubmissionThresholdChangedIterator) Next ¶ added in v1.4.7
func (it *ProofChainBlockHeightSubmissionThresholdChangedIterator) 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 ProofChainBlockSpecimenProductionProofSubmitted ¶
type ProofChainBlockSpecimenProductionProofSubmitted struct { ChainId uint64 BlockHeight uint64 BlockHash [32]byte SpecimenHash [32]byte StorageURL string SubmittedStake *big.Int Raw types.Log // Blockchain specific contextual infos }
ProofChainBlockSpecimenProductionProofSubmitted represents a BlockSpecimenProductionProofSubmitted event raised by the ProofChain contract.
type ProofChainBlockSpecimenProductionProofSubmittedIterator ¶
type ProofChainBlockSpecimenProductionProofSubmittedIterator struct { Event *ProofChainBlockSpecimenProductionProofSubmitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainBlockSpecimenProductionProofSubmittedIterator is returned from FilterBlockSpecimenProductionProofSubmitted and is used to iterate over the raw logs and unpacked data for BlockSpecimenProductionProofSubmitted events raised by the ProofChain contract.
func (*ProofChainBlockSpecimenProductionProofSubmittedIterator) Close ¶
func (it *ProofChainBlockSpecimenProductionProofSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainBlockSpecimenProductionProofSubmittedIterator) Error ¶
func (it *ProofChainBlockSpecimenProductionProofSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainBlockSpecimenProductionProofSubmittedIterator) Next ¶
func (it *ProofChainBlockSpecimenProductionProofSubmittedIterator) 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 ProofChainBlockSpecimenRewardAwarded ¶
type ProofChainBlockSpecimenRewardAwarded struct { ChainId uint64 BlockHeight uint64 Blockhash [32]byte Specimenhash [32]byte Raw types.Log // Blockchain specific contextual infos }
ProofChainBlockSpecimenRewardAwarded represents a BlockSpecimenRewardAwarded event raised by the ProofChain contract.
type ProofChainBlockSpecimenRewardAwardedIterator ¶
type ProofChainBlockSpecimenRewardAwardedIterator struct { Event *ProofChainBlockSpecimenRewardAwarded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainBlockSpecimenRewardAwardedIterator is returned from FilterBlockSpecimenRewardAwarded and is used to iterate over the raw logs and unpacked data for BlockSpecimenRewardAwarded events raised by the ProofChain contract.
func (*ProofChainBlockSpecimenRewardAwardedIterator) Close ¶
func (it *ProofChainBlockSpecimenRewardAwardedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainBlockSpecimenRewardAwardedIterator) Error ¶
func (it *ProofChainBlockSpecimenRewardAwardedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainBlockSpecimenRewardAwardedIterator) Next ¶
func (it *ProofChainBlockSpecimenRewardAwardedIterator) 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 ProofChainBlockSpecimenRewardChanged ¶
type ProofChainBlockSpecimenRewardChanged struct { NewBlockSpecimenRewardAllocation *big.Int Raw types.Log // Blockchain specific contextual infos }
ProofChainBlockSpecimenRewardChanged represents a BlockSpecimenRewardChanged event raised by the ProofChain contract.
type ProofChainBlockSpecimenRewardChangedIterator ¶
type ProofChainBlockSpecimenRewardChangedIterator struct { Event *ProofChainBlockSpecimenRewardChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainBlockSpecimenRewardChangedIterator is returned from FilterBlockSpecimenRewardChanged and is used to iterate over the raw logs and unpacked data for BlockSpecimenRewardChanged events raised by the ProofChain contract.
func (*ProofChainBlockSpecimenRewardChangedIterator) Close ¶
func (it *ProofChainBlockSpecimenRewardChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainBlockSpecimenRewardChangedIterator) Error ¶
func (it *ProofChainBlockSpecimenRewardChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainBlockSpecimenRewardChangedIterator) Next ¶
func (it *ProofChainBlockSpecimenRewardChangedIterator) 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 ProofChainCaller ¶
type ProofChainCaller struct {
// contains filtered or unexported fields
}
ProofChainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProofChainCaller ¶
func NewProofChainCaller(address common.Address, caller bind.ContractCaller) (*ProofChainCaller, error)
NewProofChainCaller creates a new read-only instance of ProofChain, bound to a specific deployed contract.
func (*ProofChainCaller) AUDITORROLE ¶
func (_ProofChain *ProofChainCaller) AUDITORROLE(opts *bind.CallOpts) ([32]byte, error)
AUDITORROLE is a free data retrieval call binding the contract method 0x6e1d616e.
Solidity: function AUDITOR_ROLE() view returns(bytes32)
func (*ProofChainCaller) BLOCKSPECIMENPRODUCERROLE ¶
func (_ProofChain *ProofChainCaller) BLOCKSPECIMENPRODUCERROLE(opts *bind.CallOpts) ([32]byte, error)
BLOCKSPECIMENPRODUCERROLE is a free data retrieval call binding the contract method 0x9c49d8ee.
Solidity: function BLOCK_SPECIMEN_PRODUCER_ROLE() view returns(bytes32)
func (*ProofChainCaller) GOVERNANCEROLE ¶
func (_ProofChain *ProofChainCaller) GOVERNANCEROLE(opts *bind.CallOpts) ([32]byte, error)
GOVERNANCEROLE is a free data retrieval call binding the contract method 0xf36c8f5c.
Solidity: function GOVERNANCE_ROLE() view returns(bytes32)
func (*ProofChainCaller) GetAllOperators ¶ added in v1.4.7
func (_ProofChain *ProofChainCaller) GetAllOperators(opts *bind.CallOpts) (struct { Bsps []common.Address Governors []common.Address Auditors []common.Address }, error)
GetAllOperators is a free data retrieval call binding the contract method 0xd911c632.
Solidity: function getAllOperators() view returns(address[] _bsps, address[] __governors, address[] __auditors)
func (*ProofChainCaller) GetBSPRoleData ¶ added in v1.4.7
func (_ProofChain *ProofChainCaller) GetBSPRoleData(opts *bind.CallOpts) (struct { RequiredStake *big.Int ActiveMembers []common.Address }, error)
GetBSPRoleData is a free data retrieval call binding the contract method 0x1fd55ae9.
Solidity: function getBSPRoleData() view returns(uint128 requiredStake, address[] activeMembers)
func (*ProofChainCaller) GetChainData ¶ added in v1.4.7
func (_ProofChain *ProofChainCaller) GetChainData(opts *bind.CallOpts, chainId uint64) (struct { BlockOnTargetChain *big.Int BlockOnCurrentChain *big.Int SecondsPerBlock *big.Int AllowedThreshold *big.Int MaxSubmissionsPerBlockHeight *big.Int NthBlock uint64 }, error)
GetChainData is a free data retrieval call binding the contract method 0x54cfa69f.
Solidity: function getChainData(uint64 chainId) view returns(uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock, uint128 allowedThreshold, uint128 maxSubmissionsPerBlockHeight, uint64 nthBlock)
func (*ProofChainCaller) GetMetadata ¶ added in v1.4.7
func (_ProofChain *ProofChainCaller) GetMetadata(opts *bind.CallOpts) (struct { StakingInterface common.Address BlockSpecimenRewardAllocation *big.Int BlockSpecimenSessionDuration uint64 MinSubmissionsRequired uint64 BlockSpecimenQuorum *big.Int SecondsPerBlock *big.Int }, error)
GetMetadata is a free data retrieval call binding the contract method 0x7a5b4f59.
Solidity: function getMetadata() view returns(address stakingInterface, uint128 blockSpecimenRewardAllocation, uint64 blockSpecimenSessionDuration, uint64 minSubmissionsRequired, uint256 blockSpecimenQuorum, uint256 secondsPerBlock)
func (*ProofChainCaller) GetOperators ¶
func (_ProofChain *ProofChainCaller) GetOperators(opts *bind.CallOpts, validatorId *big.Int) ([]common.Address, error)
GetOperators is a free data retrieval call binding the contract method 0xd3a8b2a8.
Solidity: function getOperators(uint128 validatorId) view returns(address[])
func (*ProofChainCaller) IsEnabled ¶
func (_ProofChain *ProofChainCaller) IsEnabled(opts *bind.CallOpts, operator common.Address) (bool, error)
IsEnabled is a free data retrieval call binding the contract method 0x9015d371.
Solidity: function isEnabled(address operator) view returns(bool)
func (*ProofChainCaller) OperatorRoles ¶
func (_ProofChain *ProofChainCaller) OperatorRoles(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)
OperatorRoles is a free data retrieval call binding the contract method 0x6ab9d8e8.
Solidity: function operatorRoles(address ) view returns(bytes32)
func (*ProofChainCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProofChainCaller) ValidatorIDs ¶
func (_ProofChain *ProofChainCaller) ValidatorIDs(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ValidatorIDs is a free data retrieval call binding the contract method 0x0d92f4ed.
Solidity: function validatorIDs(address ) view returns(uint128)
type ProofChainCallerRaw ¶
type ProofChainCallerRaw struct {
Contract *ProofChainCaller // Generic read-only contract binding to access the raw methods on
}
ProofChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProofChainCallerRaw) Call ¶
func (_ProofChain *ProofChainCallerRaw) 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 ProofChainCallerSession ¶
type ProofChainCallerSession struct { Contract *ProofChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ProofChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProofChainCallerSession) AUDITORROLE ¶
func (_ProofChain *ProofChainCallerSession) AUDITORROLE() ([32]byte, error)
AUDITORROLE is a free data retrieval call binding the contract method 0x6e1d616e.
Solidity: function AUDITOR_ROLE() view returns(bytes32)
func (*ProofChainCallerSession) BLOCKSPECIMENPRODUCERROLE ¶
func (_ProofChain *ProofChainCallerSession) BLOCKSPECIMENPRODUCERROLE() ([32]byte, error)
BLOCKSPECIMENPRODUCERROLE is a free data retrieval call binding the contract method 0x9c49d8ee.
Solidity: function BLOCK_SPECIMEN_PRODUCER_ROLE() view returns(bytes32)
func (*ProofChainCallerSession) GOVERNANCEROLE ¶
func (_ProofChain *ProofChainCallerSession) GOVERNANCEROLE() ([32]byte, error)
GOVERNANCEROLE is a free data retrieval call binding the contract method 0xf36c8f5c.
Solidity: function GOVERNANCE_ROLE() view returns(bytes32)
func (*ProofChainCallerSession) GetAllOperators ¶ added in v1.4.7
func (_ProofChain *ProofChainCallerSession) GetAllOperators() (struct { Bsps []common.Address Governors []common.Address Auditors []common.Address }, error)
GetAllOperators is a free data retrieval call binding the contract method 0xd911c632.
Solidity: function getAllOperators() view returns(address[] _bsps, address[] __governors, address[] __auditors)
func (*ProofChainCallerSession) GetBSPRoleData ¶ added in v1.4.7
func (_ProofChain *ProofChainCallerSession) GetBSPRoleData() (struct { RequiredStake *big.Int ActiveMembers []common.Address }, error)
GetBSPRoleData is a free data retrieval call binding the contract method 0x1fd55ae9.
Solidity: function getBSPRoleData() view returns(uint128 requiredStake, address[] activeMembers)
func (*ProofChainCallerSession) GetChainData ¶ added in v1.4.7
func (_ProofChain *ProofChainCallerSession) GetChainData(chainId uint64) (struct { BlockOnTargetChain *big.Int BlockOnCurrentChain *big.Int SecondsPerBlock *big.Int AllowedThreshold *big.Int MaxSubmissionsPerBlockHeight *big.Int NthBlock uint64 }, error)
GetChainData is a free data retrieval call binding the contract method 0x54cfa69f.
Solidity: function getChainData(uint64 chainId) view returns(uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock, uint128 allowedThreshold, uint128 maxSubmissionsPerBlockHeight, uint64 nthBlock)
func (*ProofChainCallerSession) GetMetadata ¶ added in v1.4.7
func (_ProofChain *ProofChainCallerSession) GetMetadata() (struct { StakingInterface common.Address BlockSpecimenRewardAllocation *big.Int BlockSpecimenSessionDuration uint64 MinSubmissionsRequired uint64 BlockSpecimenQuorum *big.Int SecondsPerBlock *big.Int }, error)
GetMetadata is a free data retrieval call binding the contract method 0x7a5b4f59.
Solidity: function getMetadata() view returns(address stakingInterface, uint128 blockSpecimenRewardAllocation, uint64 blockSpecimenSessionDuration, uint64 minSubmissionsRequired, uint256 blockSpecimenQuorum, uint256 secondsPerBlock)
func (*ProofChainCallerSession) GetOperators ¶
func (_ProofChain *ProofChainCallerSession) GetOperators(validatorId *big.Int) ([]common.Address, error)
GetOperators is a free data retrieval call binding the contract method 0xd3a8b2a8.
Solidity: function getOperators(uint128 validatorId) view returns(address[])
func (*ProofChainCallerSession) IsEnabled ¶
func (_ProofChain *ProofChainCallerSession) IsEnabled(operator common.Address) (bool, error)
IsEnabled is a free data retrieval call binding the contract method 0x9015d371.
Solidity: function isEnabled(address operator) view returns(bool)
func (*ProofChainCallerSession) OperatorRoles ¶
func (_ProofChain *ProofChainCallerSession) OperatorRoles(arg0 common.Address) ([32]byte, error)
OperatorRoles is a free data retrieval call binding the contract method 0x6ab9d8e8.
Solidity: function operatorRoles(address ) view returns(bytes32)
func (*ProofChainCallerSession) Owner ¶
func (_ProofChain *ProofChainCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProofChainCallerSession) ValidatorIDs ¶
ValidatorIDs is a free data retrieval call binding the contract method 0x0d92f4ed.
Solidity: function validatorIDs(address ) view returns(uint128)
type ProofChainChainSyncDataChanged ¶ added in v1.4.7
type ProofChainChainSyncDataChanged struct { ChainId uint64 BlockOnTargetChain *big.Int BlockOnCurrentChain *big.Int SecondsPerBlock *big.Int Raw types.Log // Blockchain specific contextual infos }
ProofChainChainSyncDataChanged represents a ChainSyncDataChanged event raised by the ProofChain contract.
type ProofChainChainSyncDataChangedIterator ¶ added in v1.4.7
type ProofChainChainSyncDataChangedIterator struct { Event *ProofChainChainSyncDataChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainChainSyncDataChangedIterator is returned from FilterChainSyncDataChanged and is used to iterate over the raw logs and unpacked data for ChainSyncDataChanged events raised by the ProofChain contract.
func (*ProofChainChainSyncDataChangedIterator) Close ¶ added in v1.4.7
func (it *ProofChainChainSyncDataChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainChainSyncDataChangedIterator) Error ¶ added in v1.4.7
func (it *ProofChainChainSyncDataChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainChainSyncDataChangedIterator) Next ¶ added in v1.4.7
func (it *ProofChainChainSyncDataChangedIterator) 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 ProofChainFilterer ¶
type ProofChainFilterer struct {
// contains filtered or unexported fields
}
ProofChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProofChainFilterer ¶
func NewProofChainFilterer(address common.Address, filterer bind.ContractFilterer) (*ProofChainFilterer, error)
NewProofChainFilterer creates a new log filterer instance of ProofChain, bound to a specific deployed contract.
func (*ProofChainFilterer) FilterBlockHeightSubmissionThresholdChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) FilterBlockHeightSubmissionThresholdChanged(opts *bind.FilterOpts, chainId []uint64) (*ProofChainBlockHeightSubmissionThresholdChangedIterator, error)
FilterBlockHeightSubmissionThresholdChanged is a free log retrieval operation binding the contract event 0x4e4c0afc3a2b327c2f061f8ff5190a491f1042ba8f292a887bab97840947b7a9.
Solidity: event BlockHeightSubmissionThresholdChanged(uint64 indexed chainId, uint64 threshold)
func (*ProofChainFilterer) FilterBlockSpecimenProductionProofSubmitted ¶
func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenProductionProofSubmitted(opts *bind.FilterOpts) (*ProofChainBlockSpecimenProductionProofSubmittedIterator, error)
FilterBlockSpecimenProductionProofSubmitted is a free log retrieval operation binding the contract event 0x57b0cb34d2ff9ed661f8b3c684aaee6cbf0bda5da02f4044205556817fa8e76c.
Solidity: event BlockSpecimenProductionProofSubmitted(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 specimenHash, string storageURL, uint128 submittedStake)
func (*ProofChainFilterer) FilterBlockSpecimenRewardAwarded ¶
func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenRewardAwarded(opts *bind.FilterOpts, chainId []uint64, blockHeight []uint64, blockhash [][32]byte) (*ProofChainBlockSpecimenRewardAwardedIterator, error)
FilterBlockSpecimenRewardAwarded is a free log retrieval operation binding the contract event 0xf05ac779af1ec75a7b2fbe9415b33a67c00294a121786f7ce2eb3f92e4a6424a.
Solidity: event BlockSpecimenRewardAwarded(uint64 indexed chainId, uint64 indexed blockHeight, bytes32 indexed blockhash, bytes32 specimenhash)
func (*ProofChainFilterer) FilterBlockSpecimenRewardChanged ¶
func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenRewardChanged(opts *bind.FilterOpts) (*ProofChainBlockSpecimenRewardChangedIterator, error)
FilterBlockSpecimenRewardChanged is a free log retrieval operation binding the contract event 0x01eb821dd596243f2f8c5f6c7478e281b855ac12a9f4be2c486cb2778a0bb81e.
Solidity: event BlockSpecimenRewardChanged(uint128 newBlockSpecimenRewardAllocation)
func (*ProofChainFilterer) FilterChainSyncDataChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) FilterChainSyncDataChanged(opts *bind.FilterOpts, chainId []uint64) (*ProofChainChainSyncDataChangedIterator, error)
FilterChainSyncDataChanged is a free log retrieval operation binding the contract event 0xfd97af399d19e6be9256c99c8e52b1809cdbc4dc96816739612b6fd4e6d940b0.
Solidity: event ChainSyncDataChanged(uint64 indexed chainId, uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock)
func (*ProofChainFilterer) FilterInitialized ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProofChainInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProofChainFilterer) FilterMaxSubmissionsPerBlockHeightChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) FilterMaxSubmissionsPerBlockHeightChanged(opts *bind.FilterOpts) (*ProofChainMaxSubmissionsPerBlockHeightChangedIterator, error)
FilterMaxSubmissionsPerBlockHeightChanged is a free log retrieval operation binding the contract event 0x1bca1fb481202bb14258ce1030d54e9e7bafc8b696d96b9eb733826e58a3a030.
Solidity: event MaxSubmissionsPerBlockHeightChanged(uint256 maxSubmissions)
func (*ProofChainFilterer) FilterMinimumRequiredStakeChanged ¶
func (_ProofChain *ProofChainFilterer) FilterMinimumRequiredStakeChanged(opts *bind.FilterOpts) (*ProofChainMinimumRequiredStakeChangedIterator, error)
FilterMinimumRequiredStakeChanged is a free log retrieval operation binding the contract event 0xb6c040bb0324b47cbf9a620cce03b311e24597626a57322173d5d5465f739d27.
Solidity: event MinimumRequiredStakeChanged(uint128 newStakeRequirement)
func (*ProofChainFilterer) FilterNthBlockChanged ¶
func (_ProofChain *ProofChainFilterer) FilterNthBlockChanged(opts *bind.FilterOpts, chainId []uint64, nthBlock []uint64) (*ProofChainNthBlockChangedIterator, error)
FilterNthBlockChanged is a free log retrieval operation binding the contract event 0xbbfa9310306e8a8485d109f8be6b0a808473ce55d2e94b8ca3447c9ddb2854b4.
Solidity: event NthBlockChanged(uint64 indexed chainId, uint64 indexed nthBlock)
func (*ProofChainFilterer) FilterOperatorAdded ¶
func (_ProofChain *ProofChainFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*ProofChainOperatorAddedIterator, error)
FilterOperatorAdded is a free log retrieval operation binding the contract event 0x797ca55fc7be0f65c71f10996f7a16f801094f8ae3811874afc5a39730772a42.
Solidity: event OperatorAdded(address operator, uint128 validatorId, bytes32 role)
func (*ProofChainFilterer) FilterOperatorDisabled ¶
func (_ProofChain *ProofChainFilterer) FilterOperatorDisabled(opts *bind.FilterOpts) (*ProofChainOperatorDisabledIterator, error)
FilterOperatorDisabled is a free log retrieval operation binding the contract event 0x23cd406c7cafe6d88c3f1c1cc16e438745a4236aec25906be2046ca16c36bd1e.
Solidity: event OperatorDisabled(address operator)
func (*ProofChainFilterer) FilterOperatorEnabled ¶
func (_ProofChain *ProofChainFilterer) FilterOperatorEnabled(opts *bind.FilterOpts) (*ProofChainOperatorEnabledIterator, error)
FilterOperatorEnabled is a free log retrieval operation binding the contract event 0x9e532d260bd7dde07708a6b1f7c64042546243d79bac23514cd74fcfc1a01fe4.
Solidity: event OperatorEnabled(address operator)
func (*ProofChainFilterer) FilterOperatorRemoved ¶
func (_ProofChain *ProofChainFilterer) FilterOperatorRemoved(opts *bind.FilterOpts) (*ProofChainOperatorRemovedIterator, error)
FilterOperatorRemoved is a free log retrieval operation binding the contract event 0x80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d.
Solidity: event OperatorRemoved(address operator)
func (*ProofChainFilterer) FilterOwnershipTransferred ¶
func (_ProofChain *ProofChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProofChainOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProofChainFilterer) FilterQuorumNotReached ¶
func (_ProofChain *ProofChainFilterer) FilterQuorumNotReached(opts *bind.FilterOpts, chainId []uint64) (*ProofChainQuorumNotReachedIterator, error)
FilterQuorumNotReached is a free log retrieval operation binding the contract event 0x398fd8f638a7242217f011fd0720a06747f7a85b7d28d7276684b841baea4021.
Solidity: event QuorumNotReached(uint64 indexed chainId, uint64 blockHeight)
func (*ProofChainFilterer) FilterSecondsPerBlockChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) FilterSecondsPerBlockChanged(opts *bind.FilterOpts, secondsPerBlock []uint64) (*ProofChainSecondsPerBlockChangedIterator, error)
FilterSecondsPerBlockChanged is a free log retrieval operation binding the contract event 0xcaf46ba335d93b98398af7142ea3e362a6b8e91c57da6bf1e8a704f86374dde0.
Solidity: event SecondsPerBlockChanged(uint64 indexed secondsPerBlock)
func (*ProofChainFilterer) FilterSessionStarted ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) FilterSessionStarted(opts *bind.FilterOpts, chainId []uint64, blockHeight []uint64) (*ProofChainSessionStartedIterator, error)
FilterSessionStarted is a free log retrieval operation binding the contract event 0x8b1f889addbfa41db5227bae3b091bd5c8b9a9122f874dfe54ba2f75aabe1f4c.
Solidity: event SessionStarted(uint64 indexed chainId, uint64 indexed blockHeight, uint64 deadline)
func (*ProofChainFilterer) FilterSpecimenSessionDurationChanged ¶
func (_ProofChain *ProofChainFilterer) FilterSpecimenSessionDurationChanged(opts *bind.FilterOpts) (*ProofChainSpecimenSessionDurationChangedIterator, error)
FilterSpecimenSessionDurationChanged is a free log retrieval operation binding the contract event 0x94bc488f4d9a985dd5f9d11e8f0a614a62828888eb65b704a90fa852be937549.
Solidity: event SpecimenSessionDurationChanged(uint64 newSessionDuration)
func (*ProofChainFilterer) FilterSpecimenSessionMinSubmissionChanged ¶
func (_ProofChain *ProofChainFilterer) FilterSpecimenSessionMinSubmissionChanged(opts *bind.FilterOpts) (*ProofChainSpecimenSessionMinSubmissionChangedIterator, error)
FilterSpecimenSessionMinSubmissionChanged is a free log retrieval operation binding the contract event 0x28312bbddd51eea4439db773218c441a4057f6ed285c642a569f1dcdba1cc047.
Solidity: event SpecimenSessionMinSubmissionChanged(uint64 minSubmissions)
func (*ProofChainFilterer) FilterSpecimenSessionQuorumChanged ¶
func (_ProofChain *ProofChainFilterer) FilterSpecimenSessionQuorumChanged(opts *bind.FilterOpts) (*ProofChainSpecimenSessionQuorumChangedIterator, error)
FilterSpecimenSessionQuorumChanged is a free log retrieval operation binding the contract event 0x00ec8eefea39d742ff523b872c1931ff4d509ab873041c5d6e237d5f0fc053f8.
Solidity: event SpecimenSessionQuorumChanged(uint256 newQuorumThreshold)
func (*ProofChainFilterer) FilterStakingInterfaceChanged ¶
func (_ProofChain *ProofChainFilterer) FilterStakingInterfaceChanged(opts *bind.FilterOpts) (*ProofChainStakingInterfaceChangedIterator, error)
FilterStakingInterfaceChanged is a free log retrieval operation binding the contract event 0x70016f37fc9a299f674d1e3083a27743406649810887ed947a79884b064d2de9.
Solidity: event StakingInterfaceChanged(address newInterfaceAddress)
func (*ProofChainFilterer) ParseBlockHeightSubmissionThresholdChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) ParseBlockHeightSubmissionThresholdChanged(log types.Log) (*ProofChainBlockHeightSubmissionThresholdChanged, error)
ParseBlockHeightSubmissionThresholdChanged is a log parse operation binding the contract event 0x4e4c0afc3a2b327c2f061f8ff5190a491f1042ba8f292a887bab97840947b7a9.
Solidity: event BlockHeightSubmissionThresholdChanged(uint64 indexed chainId, uint64 threshold)
func (*ProofChainFilterer) ParseBlockSpecimenProductionProofSubmitted ¶
func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenProductionProofSubmitted(log types.Log) (*ProofChainBlockSpecimenProductionProofSubmitted, error)
ParseBlockSpecimenProductionProofSubmitted is a log parse operation binding the contract event 0x57b0cb34d2ff9ed661f8b3c684aaee6cbf0bda5da02f4044205556817fa8e76c.
Solidity: event BlockSpecimenProductionProofSubmitted(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 specimenHash, string storageURL, uint128 submittedStake)
func (*ProofChainFilterer) ParseBlockSpecimenRewardAwarded ¶
func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenRewardAwarded(log types.Log) (*ProofChainBlockSpecimenRewardAwarded, error)
ParseBlockSpecimenRewardAwarded is a log parse operation binding the contract event 0xf05ac779af1ec75a7b2fbe9415b33a67c00294a121786f7ce2eb3f92e4a6424a.
Solidity: event BlockSpecimenRewardAwarded(uint64 indexed chainId, uint64 indexed blockHeight, bytes32 indexed blockhash, bytes32 specimenhash)
func (*ProofChainFilterer) ParseBlockSpecimenRewardChanged ¶
func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenRewardChanged(log types.Log) (*ProofChainBlockSpecimenRewardChanged, error)
ParseBlockSpecimenRewardChanged is a log parse operation binding the contract event 0x01eb821dd596243f2f8c5f6c7478e281b855ac12a9f4be2c486cb2778a0bb81e.
Solidity: event BlockSpecimenRewardChanged(uint128 newBlockSpecimenRewardAllocation)
func (*ProofChainFilterer) ParseChainSyncDataChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) ParseChainSyncDataChanged(log types.Log) (*ProofChainChainSyncDataChanged, error)
ParseChainSyncDataChanged is a log parse operation binding the contract event 0xfd97af399d19e6be9256c99c8e52b1809cdbc4dc96816739612b6fd4e6d940b0.
Solidity: event ChainSyncDataChanged(uint64 indexed chainId, uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock)
func (*ProofChainFilterer) ParseInitialized ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) ParseInitialized(log types.Log) (*ProofChainInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProofChainFilterer) ParseMaxSubmissionsPerBlockHeightChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) ParseMaxSubmissionsPerBlockHeightChanged(log types.Log) (*ProofChainMaxSubmissionsPerBlockHeightChanged, error)
ParseMaxSubmissionsPerBlockHeightChanged is a log parse operation binding the contract event 0x1bca1fb481202bb14258ce1030d54e9e7bafc8b696d96b9eb733826e58a3a030.
Solidity: event MaxSubmissionsPerBlockHeightChanged(uint256 maxSubmissions)
func (*ProofChainFilterer) ParseMinimumRequiredStakeChanged ¶
func (_ProofChain *ProofChainFilterer) ParseMinimumRequiredStakeChanged(log types.Log) (*ProofChainMinimumRequiredStakeChanged, error)
ParseMinimumRequiredStakeChanged is a log parse operation binding the contract event 0xb6c040bb0324b47cbf9a620cce03b311e24597626a57322173d5d5465f739d27.
Solidity: event MinimumRequiredStakeChanged(uint128 newStakeRequirement)
func (*ProofChainFilterer) ParseNthBlockChanged ¶
func (_ProofChain *ProofChainFilterer) ParseNthBlockChanged(log types.Log) (*ProofChainNthBlockChanged, error)
ParseNthBlockChanged is a log parse operation binding the contract event 0xbbfa9310306e8a8485d109f8be6b0a808473ce55d2e94b8ca3447c9ddb2854b4.
Solidity: event NthBlockChanged(uint64 indexed chainId, uint64 indexed nthBlock)
func (*ProofChainFilterer) ParseOperatorAdded ¶
func (_ProofChain *ProofChainFilterer) ParseOperatorAdded(log types.Log) (*ProofChainOperatorAdded, error)
ParseOperatorAdded is a log parse operation binding the contract event 0x797ca55fc7be0f65c71f10996f7a16f801094f8ae3811874afc5a39730772a42.
Solidity: event OperatorAdded(address operator, uint128 validatorId, bytes32 role)
func (*ProofChainFilterer) ParseOperatorDisabled ¶
func (_ProofChain *ProofChainFilterer) ParseOperatorDisabled(log types.Log) (*ProofChainOperatorDisabled, error)
ParseOperatorDisabled is a log parse operation binding the contract event 0x23cd406c7cafe6d88c3f1c1cc16e438745a4236aec25906be2046ca16c36bd1e.
Solidity: event OperatorDisabled(address operator)
func (*ProofChainFilterer) ParseOperatorEnabled ¶
func (_ProofChain *ProofChainFilterer) ParseOperatorEnabled(log types.Log) (*ProofChainOperatorEnabled, error)
ParseOperatorEnabled is a log parse operation binding the contract event 0x9e532d260bd7dde07708a6b1f7c64042546243d79bac23514cd74fcfc1a01fe4.
Solidity: event OperatorEnabled(address operator)
func (*ProofChainFilterer) ParseOperatorRemoved ¶
func (_ProofChain *ProofChainFilterer) ParseOperatorRemoved(log types.Log) (*ProofChainOperatorRemoved, error)
ParseOperatorRemoved is a log parse operation binding the contract event 0x80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d.
Solidity: event OperatorRemoved(address operator)
func (*ProofChainFilterer) ParseOwnershipTransferred ¶
func (_ProofChain *ProofChainFilterer) ParseOwnershipTransferred(log types.Log) (*ProofChainOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProofChainFilterer) ParseQuorumNotReached ¶
func (_ProofChain *ProofChainFilterer) ParseQuorumNotReached(log types.Log) (*ProofChainQuorumNotReached, error)
ParseQuorumNotReached is a log parse operation binding the contract event 0x398fd8f638a7242217f011fd0720a06747f7a85b7d28d7276684b841baea4021.
Solidity: event QuorumNotReached(uint64 indexed chainId, uint64 blockHeight)
func (*ProofChainFilterer) ParseSecondsPerBlockChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) ParseSecondsPerBlockChanged(log types.Log) (*ProofChainSecondsPerBlockChanged, error)
ParseSecondsPerBlockChanged is a log parse operation binding the contract event 0xcaf46ba335d93b98398af7142ea3e362a6b8e91c57da6bf1e8a704f86374dde0.
Solidity: event SecondsPerBlockChanged(uint64 indexed secondsPerBlock)
func (*ProofChainFilterer) ParseSessionStarted ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) ParseSessionStarted(log types.Log) (*ProofChainSessionStarted, error)
ParseSessionStarted is a log parse operation binding the contract event 0x8b1f889addbfa41db5227bae3b091bd5c8b9a9122f874dfe54ba2f75aabe1f4c.
Solidity: event SessionStarted(uint64 indexed chainId, uint64 indexed blockHeight, uint64 deadline)
func (*ProofChainFilterer) ParseSpecimenSessionDurationChanged ¶
func (_ProofChain *ProofChainFilterer) ParseSpecimenSessionDurationChanged(log types.Log) (*ProofChainSpecimenSessionDurationChanged, error)
ParseSpecimenSessionDurationChanged is a log parse operation binding the contract event 0x94bc488f4d9a985dd5f9d11e8f0a614a62828888eb65b704a90fa852be937549.
Solidity: event SpecimenSessionDurationChanged(uint64 newSessionDuration)
func (*ProofChainFilterer) ParseSpecimenSessionMinSubmissionChanged ¶
func (_ProofChain *ProofChainFilterer) ParseSpecimenSessionMinSubmissionChanged(log types.Log) (*ProofChainSpecimenSessionMinSubmissionChanged, error)
ParseSpecimenSessionMinSubmissionChanged is a log parse operation binding the contract event 0x28312bbddd51eea4439db773218c441a4057f6ed285c642a569f1dcdba1cc047.
Solidity: event SpecimenSessionMinSubmissionChanged(uint64 minSubmissions)
func (*ProofChainFilterer) ParseSpecimenSessionQuorumChanged ¶
func (_ProofChain *ProofChainFilterer) ParseSpecimenSessionQuorumChanged(log types.Log) (*ProofChainSpecimenSessionQuorumChanged, error)
ParseSpecimenSessionQuorumChanged is a log parse operation binding the contract event 0x00ec8eefea39d742ff523b872c1931ff4d509ab873041c5d6e237d5f0fc053f8.
Solidity: event SpecimenSessionQuorumChanged(uint256 newQuorumThreshold)
func (*ProofChainFilterer) ParseStakingInterfaceChanged ¶
func (_ProofChain *ProofChainFilterer) ParseStakingInterfaceChanged(log types.Log) (*ProofChainStakingInterfaceChanged, error)
ParseStakingInterfaceChanged is a log parse operation binding the contract event 0x70016f37fc9a299f674d1e3083a27743406649810887ed947a79884b064d2de9.
Solidity: event StakingInterfaceChanged(address newInterfaceAddress)
func (*ProofChainFilterer) WatchBlockHeightSubmissionThresholdChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) WatchBlockHeightSubmissionThresholdChanged(opts *bind.WatchOpts, sink chan<- *ProofChainBlockHeightSubmissionThresholdChanged, chainId []uint64) (event.Subscription, error)
WatchBlockHeightSubmissionThresholdChanged is a free log subscription operation binding the contract event 0x4e4c0afc3a2b327c2f061f8ff5190a491f1042ba8f292a887bab97840947b7a9.
Solidity: event BlockHeightSubmissionThresholdChanged(uint64 indexed chainId, uint64 threshold)
func (*ProofChainFilterer) WatchBlockSpecimenProductionProofSubmitted ¶
func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenProductionProofSubmitted(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenProductionProofSubmitted) (event.Subscription, error)
WatchBlockSpecimenProductionProofSubmitted is a free log subscription operation binding the contract event 0x57b0cb34d2ff9ed661f8b3c684aaee6cbf0bda5da02f4044205556817fa8e76c.
Solidity: event BlockSpecimenProductionProofSubmitted(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 specimenHash, string storageURL, uint128 submittedStake)
func (*ProofChainFilterer) WatchBlockSpecimenRewardAwarded ¶
func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenRewardAwarded(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenRewardAwarded, chainId []uint64, blockHeight []uint64, blockhash [][32]byte) (event.Subscription, error)
WatchBlockSpecimenRewardAwarded is a free log subscription operation binding the contract event 0xf05ac779af1ec75a7b2fbe9415b33a67c00294a121786f7ce2eb3f92e4a6424a.
Solidity: event BlockSpecimenRewardAwarded(uint64 indexed chainId, uint64 indexed blockHeight, bytes32 indexed blockhash, bytes32 specimenhash)
func (*ProofChainFilterer) WatchBlockSpecimenRewardChanged ¶
func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenRewardChanged(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenRewardChanged) (event.Subscription, error)
WatchBlockSpecimenRewardChanged is a free log subscription operation binding the contract event 0x01eb821dd596243f2f8c5f6c7478e281b855ac12a9f4be2c486cb2778a0bb81e.
Solidity: event BlockSpecimenRewardChanged(uint128 newBlockSpecimenRewardAllocation)
func (*ProofChainFilterer) WatchChainSyncDataChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) WatchChainSyncDataChanged(opts *bind.WatchOpts, sink chan<- *ProofChainChainSyncDataChanged, chainId []uint64) (event.Subscription, error)
WatchChainSyncDataChanged is a free log subscription operation binding the contract event 0xfd97af399d19e6be9256c99c8e52b1809cdbc4dc96816739612b6fd4e6d940b0.
Solidity: event ChainSyncDataChanged(uint64 indexed chainId, uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock)
func (*ProofChainFilterer) WatchInitialized ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProofChainInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ProofChainFilterer) WatchMaxSubmissionsPerBlockHeightChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) WatchMaxSubmissionsPerBlockHeightChanged(opts *bind.WatchOpts, sink chan<- *ProofChainMaxSubmissionsPerBlockHeightChanged) (event.Subscription, error)
WatchMaxSubmissionsPerBlockHeightChanged is a free log subscription operation binding the contract event 0x1bca1fb481202bb14258ce1030d54e9e7bafc8b696d96b9eb733826e58a3a030.
Solidity: event MaxSubmissionsPerBlockHeightChanged(uint256 maxSubmissions)
func (*ProofChainFilterer) WatchMinimumRequiredStakeChanged ¶
func (_ProofChain *ProofChainFilterer) WatchMinimumRequiredStakeChanged(opts *bind.WatchOpts, sink chan<- *ProofChainMinimumRequiredStakeChanged) (event.Subscription, error)
WatchMinimumRequiredStakeChanged is a free log subscription operation binding the contract event 0xb6c040bb0324b47cbf9a620cce03b311e24597626a57322173d5d5465f739d27.
Solidity: event MinimumRequiredStakeChanged(uint128 newStakeRequirement)
func (*ProofChainFilterer) WatchNthBlockChanged ¶
func (_ProofChain *ProofChainFilterer) WatchNthBlockChanged(opts *bind.WatchOpts, sink chan<- *ProofChainNthBlockChanged, chainId []uint64, nthBlock []uint64) (event.Subscription, error)
WatchNthBlockChanged is a free log subscription operation binding the contract event 0xbbfa9310306e8a8485d109f8be6b0a808473ce55d2e94b8ca3447c9ddb2854b4.
Solidity: event NthBlockChanged(uint64 indexed chainId, uint64 indexed nthBlock)
func (*ProofChainFilterer) WatchOperatorAdded ¶
func (_ProofChain *ProofChainFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorAdded) (event.Subscription, error)
WatchOperatorAdded is a free log subscription operation binding the contract event 0x797ca55fc7be0f65c71f10996f7a16f801094f8ae3811874afc5a39730772a42.
Solidity: event OperatorAdded(address operator, uint128 validatorId, bytes32 role)
func (*ProofChainFilterer) WatchOperatorDisabled ¶
func (_ProofChain *ProofChainFilterer) WatchOperatorDisabled(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorDisabled) (event.Subscription, error)
WatchOperatorDisabled is a free log subscription operation binding the contract event 0x23cd406c7cafe6d88c3f1c1cc16e438745a4236aec25906be2046ca16c36bd1e.
Solidity: event OperatorDisabled(address operator)
func (*ProofChainFilterer) WatchOperatorEnabled ¶
func (_ProofChain *ProofChainFilterer) WatchOperatorEnabled(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorEnabled) (event.Subscription, error)
WatchOperatorEnabled is a free log subscription operation binding the contract event 0x9e532d260bd7dde07708a6b1f7c64042546243d79bac23514cd74fcfc1a01fe4.
Solidity: event OperatorEnabled(address operator)
func (*ProofChainFilterer) WatchOperatorRemoved ¶
func (_ProofChain *ProofChainFilterer) WatchOperatorRemoved(opts *bind.WatchOpts, sink chan<- *ProofChainOperatorRemoved) (event.Subscription, error)
WatchOperatorRemoved is a free log subscription operation binding the contract event 0x80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d.
Solidity: event OperatorRemoved(address operator)
func (*ProofChainFilterer) WatchOwnershipTransferred ¶
func (_ProofChain *ProofChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProofChainOwnershipTransferred, 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 (*ProofChainFilterer) WatchQuorumNotReached ¶
func (_ProofChain *ProofChainFilterer) WatchQuorumNotReached(opts *bind.WatchOpts, sink chan<- *ProofChainQuorumNotReached, chainId []uint64) (event.Subscription, error)
WatchQuorumNotReached is a free log subscription operation binding the contract event 0x398fd8f638a7242217f011fd0720a06747f7a85b7d28d7276684b841baea4021.
Solidity: event QuorumNotReached(uint64 indexed chainId, uint64 blockHeight)
func (*ProofChainFilterer) WatchSecondsPerBlockChanged ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) WatchSecondsPerBlockChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSecondsPerBlockChanged, secondsPerBlock []uint64) (event.Subscription, error)
WatchSecondsPerBlockChanged is a free log subscription operation binding the contract event 0xcaf46ba335d93b98398af7142ea3e362a6b8e91c57da6bf1e8a704f86374dde0.
Solidity: event SecondsPerBlockChanged(uint64 indexed secondsPerBlock)
func (*ProofChainFilterer) WatchSessionStarted ¶ added in v1.4.7
func (_ProofChain *ProofChainFilterer) WatchSessionStarted(opts *bind.WatchOpts, sink chan<- *ProofChainSessionStarted, chainId []uint64, blockHeight []uint64) (event.Subscription, error)
WatchSessionStarted is a free log subscription operation binding the contract event 0x8b1f889addbfa41db5227bae3b091bd5c8b9a9122f874dfe54ba2f75aabe1f4c.
Solidity: event SessionStarted(uint64 indexed chainId, uint64 indexed blockHeight, uint64 deadline)
func (*ProofChainFilterer) WatchSpecimenSessionDurationChanged ¶
func (_ProofChain *ProofChainFilterer) WatchSpecimenSessionDurationChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSpecimenSessionDurationChanged) (event.Subscription, error)
WatchSpecimenSessionDurationChanged is a free log subscription operation binding the contract event 0x94bc488f4d9a985dd5f9d11e8f0a614a62828888eb65b704a90fa852be937549.
Solidity: event SpecimenSessionDurationChanged(uint64 newSessionDuration)
func (*ProofChainFilterer) WatchSpecimenSessionMinSubmissionChanged ¶
func (_ProofChain *ProofChainFilterer) WatchSpecimenSessionMinSubmissionChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSpecimenSessionMinSubmissionChanged) (event.Subscription, error)
WatchSpecimenSessionMinSubmissionChanged is a free log subscription operation binding the contract event 0x28312bbddd51eea4439db773218c441a4057f6ed285c642a569f1dcdba1cc047.
Solidity: event SpecimenSessionMinSubmissionChanged(uint64 minSubmissions)
func (*ProofChainFilterer) WatchSpecimenSessionQuorumChanged ¶
func (_ProofChain *ProofChainFilterer) WatchSpecimenSessionQuorumChanged(opts *bind.WatchOpts, sink chan<- *ProofChainSpecimenSessionQuorumChanged) (event.Subscription, error)
WatchSpecimenSessionQuorumChanged is a free log subscription operation binding the contract event 0x00ec8eefea39d742ff523b872c1931ff4d509ab873041c5d6e237d5f0fc053f8.
Solidity: event SpecimenSessionQuorumChanged(uint256 newQuorumThreshold)
func (*ProofChainFilterer) WatchStakingInterfaceChanged ¶
func (_ProofChain *ProofChainFilterer) WatchStakingInterfaceChanged(opts *bind.WatchOpts, sink chan<- *ProofChainStakingInterfaceChanged) (event.Subscription, error)
WatchStakingInterfaceChanged is a free log subscription operation binding the contract event 0x70016f37fc9a299f674d1e3083a27743406649810887ed947a79884b064d2de9.
Solidity: event StakingInterfaceChanged(address newInterfaceAddress)
type ProofChainInitialized ¶ added in v1.4.7
type ProofChainInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ProofChainInitialized represents a Initialized event raised by the ProofChain contract.
type ProofChainInitializedIterator ¶ added in v1.4.7
type ProofChainInitializedIterator struct { Event *ProofChainInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ProofChain contract.
func (*ProofChainInitializedIterator) Close ¶ added in v1.4.7
func (it *ProofChainInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainInitializedIterator) Error ¶ added in v1.4.7
func (it *ProofChainInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainInitializedIterator) Next ¶ added in v1.4.7
func (it *ProofChainInitializedIterator) 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 ProofChainMaxSubmissionsPerBlockHeightChanged ¶ added in v1.4.7
type ProofChainMaxSubmissionsPerBlockHeightChanged struct { MaxSubmissions *big.Int Raw types.Log // Blockchain specific contextual infos }
ProofChainMaxSubmissionsPerBlockHeightChanged represents a MaxSubmissionsPerBlockHeightChanged event raised by the ProofChain contract.
type ProofChainMaxSubmissionsPerBlockHeightChangedIterator ¶ added in v1.4.7
type ProofChainMaxSubmissionsPerBlockHeightChangedIterator struct { Event *ProofChainMaxSubmissionsPerBlockHeightChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainMaxSubmissionsPerBlockHeightChangedIterator is returned from FilterMaxSubmissionsPerBlockHeightChanged and is used to iterate over the raw logs and unpacked data for MaxSubmissionsPerBlockHeightChanged events raised by the ProofChain contract.
func (*ProofChainMaxSubmissionsPerBlockHeightChangedIterator) Close ¶ added in v1.4.7
func (it *ProofChainMaxSubmissionsPerBlockHeightChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainMaxSubmissionsPerBlockHeightChangedIterator) Error ¶ added in v1.4.7
func (it *ProofChainMaxSubmissionsPerBlockHeightChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainMaxSubmissionsPerBlockHeightChangedIterator) Next ¶ added in v1.4.7
func (it *ProofChainMaxSubmissionsPerBlockHeightChangedIterator) 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 ProofChainMinimumRequiredStakeChanged ¶
type ProofChainMinimumRequiredStakeChanged struct { NewStakeRequirement *big.Int Raw types.Log // Blockchain specific contextual infos }
ProofChainMinimumRequiredStakeChanged represents a MinimumRequiredStakeChanged event raised by the ProofChain contract.
type ProofChainMinimumRequiredStakeChangedIterator ¶
type ProofChainMinimumRequiredStakeChangedIterator struct { Event *ProofChainMinimumRequiredStakeChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainMinimumRequiredStakeChangedIterator is returned from FilterMinimumRequiredStakeChanged and is used to iterate over the raw logs and unpacked data for MinimumRequiredStakeChanged events raised by the ProofChain contract.
func (*ProofChainMinimumRequiredStakeChangedIterator) Close ¶
func (it *ProofChainMinimumRequiredStakeChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainMinimumRequiredStakeChangedIterator) Error ¶
func (it *ProofChainMinimumRequiredStakeChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainMinimumRequiredStakeChangedIterator) Next ¶
func (it *ProofChainMinimumRequiredStakeChangedIterator) 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 ProofChainNthBlockChanged ¶
type ProofChainNthBlockChanged struct { ChainId uint64 NthBlock uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainNthBlockChanged represents a NthBlockChanged event raised by the ProofChain contract.
type ProofChainNthBlockChangedIterator ¶
type ProofChainNthBlockChangedIterator struct { Event *ProofChainNthBlockChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainNthBlockChangedIterator is returned from FilterNthBlockChanged and is used to iterate over the raw logs and unpacked data for NthBlockChanged events raised by the ProofChain contract.
func (*ProofChainNthBlockChangedIterator) Close ¶
func (it *ProofChainNthBlockChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainNthBlockChangedIterator) Error ¶
func (it *ProofChainNthBlockChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainNthBlockChangedIterator) Next ¶
func (it *ProofChainNthBlockChangedIterator) 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 ProofChainOperatorAdded ¶
type ProofChainOperatorAdded struct { Operator common.Address ValidatorId *big.Int Role [32]byte Raw types.Log // Blockchain specific contextual infos }
ProofChainOperatorAdded represents a OperatorAdded event raised by the ProofChain contract.
type ProofChainOperatorAddedIterator ¶
type ProofChainOperatorAddedIterator struct { Event *ProofChainOperatorAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainOperatorAddedIterator is returned from FilterOperatorAdded and is used to iterate over the raw logs and unpacked data for OperatorAdded events raised by the ProofChain contract.
func (*ProofChainOperatorAddedIterator) Close ¶
func (it *ProofChainOperatorAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainOperatorAddedIterator) Error ¶
func (it *ProofChainOperatorAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainOperatorAddedIterator) Next ¶
func (it *ProofChainOperatorAddedIterator) 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 ProofChainOperatorDisabled ¶
type ProofChainOperatorDisabled struct { Operator common.Address Raw types.Log // Blockchain specific contextual infos }
ProofChainOperatorDisabled represents a OperatorDisabled event raised by the ProofChain contract.
type ProofChainOperatorDisabledIterator ¶
type ProofChainOperatorDisabledIterator struct { Event *ProofChainOperatorDisabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainOperatorDisabledIterator is returned from FilterOperatorDisabled and is used to iterate over the raw logs and unpacked data for OperatorDisabled events raised by the ProofChain contract.
func (*ProofChainOperatorDisabledIterator) Close ¶
func (it *ProofChainOperatorDisabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainOperatorDisabledIterator) Error ¶
func (it *ProofChainOperatorDisabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainOperatorDisabledIterator) Next ¶
func (it *ProofChainOperatorDisabledIterator) 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 ProofChainOperatorEnabled ¶
type ProofChainOperatorEnabled struct { Operator common.Address Raw types.Log // Blockchain specific contextual infos }
ProofChainOperatorEnabled represents a OperatorEnabled event raised by the ProofChain contract.
type ProofChainOperatorEnabledIterator ¶
type ProofChainOperatorEnabledIterator struct { Event *ProofChainOperatorEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainOperatorEnabledIterator is returned from FilterOperatorEnabled and is used to iterate over the raw logs and unpacked data for OperatorEnabled events raised by the ProofChain contract.
func (*ProofChainOperatorEnabledIterator) Close ¶
func (it *ProofChainOperatorEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainOperatorEnabledIterator) Error ¶
func (it *ProofChainOperatorEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainOperatorEnabledIterator) Next ¶
func (it *ProofChainOperatorEnabledIterator) 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 ProofChainOperatorRemoved ¶
type ProofChainOperatorRemoved struct { Operator common.Address Raw types.Log // Blockchain specific contextual infos }
ProofChainOperatorRemoved represents a OperatorRemoved event raised by the ProofChain contract.
type ProofChainOperatorRemovedIterator ¶
type ProofChainOperatorRemovedIterator struct { Event *ProofChainOperatorRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainOperatorRemovedIterator is returned from FilterOperatorRemoved and is used to iterate over the raw logs and unpacked data for OperatorRemoved events raised by the ProofChain contract.
func (*ProofChainOperatorRemovedIterator) Close ¶
func (it *ProofChainOperatorRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainOperatorRemovedIterator) Error ¶
func (it *ProofChainOperatorRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainOperatorRemovedIterator) Next ¶
func (it *ProofChainOperatorRemovedIterator) 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 ProofChainOwnershipTransferred ¶
type ProofChainOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ProofChainOwnershipTransferred represents a OwnershipTransferred event raised by the ProofChain contract.
type ProofChainOwnershipTransferredIterator ¶
type ProofChainOwnershipTransferredIterator struct { Event *ProofChainOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ProofChain contract.
func (*ProofChainOwnershipTransferredIterator) Close ¶
func (it *ProofChainOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainOwnershipTransferredIterator) Error ¶
func (it *ProofChainOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainOwnershipTransferredIterator) Next ¶
func (it *ProofChainOwnershipTransferredIterator) 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 ProofChainQuorumNotReached ¶
type ProofChainQuorumNotReached struct { ChainId uint64 BlockHeight uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainQuorumNotReached represents a QuorumNotReached event raised by the ProofChain contract.
type ProofChainQuorumNotReachedIterator ¶
type ProofChainQuorumNotReachedIterator struct { Event *ProofChainQuorumNotReached // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainQuorumNotReachedIterator is returned from FilterQuorumNotReached and is used to iterate over the raw logs and unpacked data for QuorumNotReached events raised by the ProofChain contract.
func (*ProofChainQuorumNotReachedIterator) Close ¶
func (it *ProofChainQuorumNotReachedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainQuorumNotReachedIterator) Error ¶
func (it *ProofChainQuorumNotReachedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainQuorumNotReachedIterator) Next ¶
func (it *ProofChainQuorumNotReachedIterator) 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 ProofChainRaw ¶
type ProofChainRaw struct {
Contract *ProofChain // Generic contract binding to access the raw methods on
}
ProofChainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProofChainRaw) Call ¶
func (_ProofChain *ProofChainRaw) 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 (*ProofChainRaw) Transact ¶
func (_ProofChain *ProofChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProofChainRaw) Transfer ¶
func (_ProofChain *ProofChainRaw) 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 ProofChainSecondsPerBlockChanged ¶ added in v1.4.7
type ProofChainSecondsPerBlockChanged struct { SecondsPerBlock uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainSecondsPerBlockChanged represents a SecondsPerBlockChanged event raised by the ProofChain contract.
type ProofChainSecondsPerBlockChangedIterator ¶ added in v1.4.7
type ProofChainSecondsPerBlockChangedIterator struct { Event *ProofChainSecondsPerBlockChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainSecondsPerBlockChangedIterator is returned from FilterSecondsPerBlockChanged and is used to iterate over the raw logs and unpacked data for SecondsPerBlockChanged events raised by the ProofChain contract.
func (*ProofChainSecondsPerBlockChangedIterator) Close ¶ added in v1.4.7
func (it *ProofChainSecondsPerBlockChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainSecondsPerBlockChangedIterator) Error ¶ added in v1.4.7
func (it *ProofChainSecondsPerBlockChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainSecondsPerBlockChangedIterator) Next ¶ added in v1.4.7
func (it *ProofChainSecondsPerBlockChangedIterator) 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 ProofChainSession ¶
type ProofChainSession struct { Contract *ProofChain // 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 }
ProofChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProofChainSession) AUDITORROLE ¶
func (_ProofChain *ProofChainSession) AUDITORROLE() ([32]byte, error)
AUDITORROLE is a free data retrieval call binding the contract method 0x6e1d616e.
Solidity: function AUDITOR_ROLE() view returns(bytes32)
func (*ProofChainSession) AddAuditor ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) AddAuditor(auditor common.Address) (*types.Transaction, error)
AddAuditor is a paid mutator transaction binding the contract method 0xe429cef1.
Solidity: function addAuditor(address auditor) returns()
func (*ProofChainSession) AddBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) AddBSPOperator(operator common.Address, validatorId *big.Int) (*types.Transaction, error)
AddBSPOperator is a paid mutator transaction binding the contract method 0xcc96e413.
Solidity: function addBSPOperator(address operator, uint128 validatorId) returns()
func (*ProofChainSession) AddGovernor ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) AddGovernor(governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address governor) returns()
func (*ProofChainSession) AddValidator ¶
func (_ProofChain *ProofChainSession) AddValidator(validator common.Address, commissionRate *big.Int) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xa2e7e441.
Solidity: function addValidator(address validator, uint128 commissionRate) returns()
func (*ProofChainSession) ArbitrateBlockSpecimenSession ¶
func (_ProofChain *ProofChainSession) ArbitrateBlockSpecimenSession(chainId uint64, blockHeight uint64, blockHash [32]byte, definitiveSpecimenHash [32]byte) (*types.Transaction, error)
ArbitrateBlockSpecimenSession is a paid mutator transaction binding the contract method 0x4414beeb.
Solidity: function arbitrateBlockSpecimenSession(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 definitiveSpecimenHash) returns()
func (*ProofChainSession) BLOCKSPECIMENPRODUCERROLE ¶
func (_ProofChain *ProofChainSession) BLOCKSPECIMENPRODUCERROLE() ([32]byte, error)
BLOCKSPECIMENPRODUCERROLE is a free data retrieval call binding the contract method 0x9c49d8ee.
Solidity: function BLOCK_SPECIMEN_PRODUCER_ROLE() view returns(bytes32)
func (*ProofChainSession) DisableBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) DisableBSPOperator(operator common.Address) (*types.Transaction, error)
DisableBSPOperator is a paid mutator transaction binding the contract method 0x13e3f452.
Solidity: function disableBSPOperator(address operator) returns()
func (*ProofChainSession) DisableValidator ¶
func (_ProofChain *ProofChainSession) DisableValidator(validatorId *big.Int, blockNumber *big.Int) (*types.Transaction, error)
DisableValidator is a paid mutator transaction binding the contract method 0xad9e91ee.
Solidity: function disableValidator(uint128 validatorId, uint256 blockNumber) returns()
func (*ProofChainSession) EnableBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) EnableBSPOperator(operator common.Address) (*types.Transaction, error)
EnableBSPOperator is a paid mutator transaction binding the contract method 0xdf4112c2.
Solidity: function enableBSPOperator(address operator) returns()
func (*ProofChainSession) FinalizeAndRewardSpecimenSession ¶
func (_ProofChain *ProofChainSession) FinalizeAndRewardSpecimenSession(chainId uint64, blockHeight uint64) (*types.Transaction, error)
FinalizeAndRewardSpecimenSession is a paid mutator transaction binding the contract method 0x8ecd30bc.
Solidity: function finalizeAndRewardSpecimenSession(uint64 chainId, uint64 blockHeight) returns()
func (*ProofChainSession) GOVERNANCEROLE ¶
func (_ProofChain *ProofChainSession) GOVERNANCEROLE() ([32]byte, error)
GOVERNANCEROLE is a free data retrieval call binding the contract method 0xf36c8f5c.
Solidity: function GOVERNANCE_ROLE() view returns(bytes32)
func (*ProofChainSession) GetAllOperators ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) GetAllOperators() (struct { Bsps []common.Address Governors []common.Address Auditors []common.Address }, error)
GetAllOperators is a free data retrieval call binding the contract method 0xd911c632.
Solidity: function getAllOperators() view returns(address[] _bsps, address[] __governors, address[] __auditors)
func (*ProofChainSession) GetBSPRoleData ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) GetBSPRoleData() (struct { RequiredStake *big.Int ActiveMembers []common.Address }, error)
GetBSPRoleData is a free data retrieval call binding the contract method 0x1fd55ae9.
Solidity: function getBSPRoleData() view returns(uint128 requiredStake, address[] activeMembers)
func (*ProofChainSession) GetChainData ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) GetChainData(chainId uint64) (struct { BlockOnTargetChain *big.Int BlockOnCurrentChain *big.Int SecondsPerBlock *big.Int AllowedThreshold *big.Int MaxSubmissionsPerBlockHeight *big.Int NthBlock uint64 }, error)
GetChainData is a free data retrieval call binding the contract method 0x54cfa69f.
Solidity: function getChainData(uint64 chainId) view returns(uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock, uint128 allowedThreshold, uint128 maxSubmissionsPerBlockHeight, uint64 nthBlock)
func (*ProofChainSession) GetMetadata ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) GetMetadata() (struct { StakingInterface common.Address BlockSpecimenRewardAllocation *big.Int BlockSpecimenSessionDuration uint64 MinSubmissionsRequired uint64 BlockSpecimenQuorum *big.Int SecondsPerBlock *big.Int }, error)
GetMetadata is a free data retrieval call binding the contract method 0x7a5b4f59.
Solidity: function getMetadata() view returns(address stakingInterface, uint128 blockSpecimenRewardAllocation, uint64 blockSpecimenSessionDuration, uint64 minSubmissionsRequired, uint256 blockSpecimenQuorum, uint256 secondsPerBlock)
func (*ProofChainSession) GetOperators ¶
GetOperators is a free data retrieval call binding the contract method 0xd3a8b2a8.
Solidity: function getOperators(uint128 validatorId) view returns(address[])
func (*ProofChainSession) Initialize ¶
func (_ProofChain *ProofChainSession) Initialize(initialOwner common.Address, stakingContract common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address initialOwner, address stakingContract) returns()
func (*ProofChainSession) IsEnabled ¶
func (_ProofChain *ProofChainSession) IsEnabled(operator common.Address) (bool, error)
IsEnabled is a free data retrieval call binding the contract method 0x9015d371.
Solidity: function isEnabled(address operator) view returns(bool)
func (*ProofChainSession) OperatorRoles ¶
func (_ProofChain *ProofChainSession) OperatorRoles(arg0 common.Address) ([32]byte, error)
OperatorRoles is a free data retrieval call binding the contract method 0x6ab9d8e8.
Solidity: function operatorRoles(address ) view returns(bytes32)
func (*ProofChainSession) Owner ¶
func (_ProofChain *ProofChainSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProofChainSession) RemoveAuditor ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) RemoveAuditor(auditor common.Address) (*types.Transaction, error)
RemoveAuditor is a paid mutator transaction binding the contract method 0xe6116cfd.
Solidity: function removeAuditor(address auditor) returns()
func (*ProofChainSession) RemoveBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) RemoveBSPOperator(operator common.Address) (*types.Transaction, error)
RemoveBSPOperator is a paid mutator transaction binding the contract method 0xcf64a01d.
Solidity: function removeBSPOperator(address operator) returns()
func (*ProofChainSession) RemoveGovernor ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) RemoveGovernor(governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address governor) returns()
func (*ProofChainSession) RenounceOwnership ¶
func (_ProofChain *ProofChainSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProofChainSession) SetBSPRequiredStake ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) SetBSPRequiredStake(newStakeAmount *big.Int) (*types.Transaction, error)
SetBSPRequiredStake is a paid mutator transaction binding the contract method 0x5137b8b9.
Solidity: function setBSPRequiredStake(uint128 newStakeAmount) returns()
func (*ProofChainSession) SetBlockHeightSubmissionsThreshold ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) SetBlockHeightSubmissionsThreshold(chainId uint64, threshold uint64) (*types.Transaction, error)
SetBlockHeightSubmissionsThreshold is a paid mutator transaction binding the contract method 0x2c58ed42.
Solidity: function setBlockHeightSubmissionsThreshold(uint64 chainId, uint64 threshold) returns()
func (*ProofChainSession) SetBlockSpecimenReward ¶
func (_ProofChain *ProofChainSession) SetBlockSpecimenReward(newBlockSpecimenReward *big.Int) (*types.Transaction, error)
SetBlockSpecimenReward is a paid mutator transaction binding the contract method 0x89587f05.
Solidity: function setBlockSpecimenReward(uint128 newBlockSpecimenReward) returns()
func (*ProofChainSession) SetBlockSpecimenSessionDuration ¶
func (_ProofChain *ProofChainSession) SetBlockSpecimenSessionDuration(newSessionDuration uint64) (*types.Transaction, error)
SetBlockSpecimenSessionDuration is a paid mutator transaction binding the contract method 0x67d07ad7.
Solidity: function setBlockSpecimenSessionDuration(uint64 newSessionDuration) returns()
func (*ProofChainSession) SetChainSyncData ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) SetChainSyncData(chainId uint64, blockOnTargetChain *big.Int, blockOnCurrentChain *big.Int, secondsPerBlock *big.Int) (*types.Transaction, error)
SetChainSyncData is a paid mutator transaction binding the contract method 0x99146284.
Solidity: function setChainSyncData(uint64 chainId, uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock) returns()
func (*ProofChainSession) SetMaxSubmissionsPerBlockHeight ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) SetMaxSubmissionsPerBlockHeight(chainId uint64, maxSubmissions uint64) (*types.Transaction, error)
SetMaxSubmissionsPerBlockHeight is a paid mutator transaction binding the contract method 0x67585e44.
Solidity: function setMaxSubmissionsPerBlockHeight(uint64 chainId, uint64 maxSubmissions) returns()
func (*ProofChainSession) SetMinSubmissionsRequired ¶
func (_ProofChain *ProofChainSession) SetMinSubmissionsRequired(minSubmissions uint64) (*types.Transaction, error)
SetMinSubmissionsRequired is a paid mutator transaction binding the contract method 0x93742b56.
Solidity: function setMinSubmissionsRequired(uint64 minSubmissions) returns()
func (*ProofChainSession) SetNthBlock ¶
func (_ProofChain *ProofChainSession) SetNthBlock(chainId uint64, n uint64) (*types.Transaction, error)
SetNthBlock is a paid mutator transaction binding the contract method 0xe3201409.
Solidity: function setNthBlock(uint64 chainId, uint64 n) returns()
func (*ProofChainSession) SetQuorumThreshold ¶
func (_ProofChain *ProofChainSession) SetQuorumThreshold(quorum *big.Int) (*types.Transaction, error)
SetQuorumThreshold is a paid mutator transaction binding the contract method 0x4524c7e1.
Solidity: function setQuorumThreshold(uint256 quorum) returns()
func (*ProofChainSession) SetSecondsPerBlock ¶ added in v1.4.7
func (_ProofChain *ProofChainSession) SetSecondsPerBlock(secondsPerBlock uint64) (*types.Transaction, error)
SetSecondsPerBlock is a paid mutator transaction binding the contract method 0xdd36a8d5.
Solidity: function setSecondsPerBlock(uint64 secondsPerBlock) returns()
func (*ProofChainSession) SetStakingInterface ¶
func (_ProofChain *ProofChainSession) SetStakingInterface(stakingContractAddress common.Address) (*types.Transaction, error)
SetStakingInterface is a paid mutator transaction binding the contract method 0x3646aded.
Solidity: function setStakingInterface(address stakingContractAddress) returns()
func (*ProofChainSession) SubmitBlockSpecimenProof ¶
func (_ProofChain *ProofChainSession) SubmitBlockSpecimenProof(chainId uint64, blockHeight uint64, blockHash [32]byte, specimenHash [32]byte, storageURL string) (*types.Transaction, error)
SubmitBlockSpecimenProof is a paid mutator transaction binding the contract method 0x151fd8f3.
Solidity: function submitBlockSpecimenProof(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 specimenHash, string storageURL) returns()
func (*ProofChainSession) TransferOwnership ¶
func (_ProofChain *ProofChainSession) 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 (*ProofChainSession) ValidatorIDs ¶
ValidatorIDs is a free data retrieval call binding the contract method 0x0d92f4ed.
Solidity: function validatorIDs(address ) view returns(uint128)
type ProofChainSessionStarted ¶ added in v1.4.7
type ProofChainSessionStarted struct { ChainId uint64 BlockHeight uint64 Deadline uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainSessionStarted represents a SessionStarted event raised by the ProofChain contract.
type ProofChainSessionStartedIterator ¶ added in v1.4.7
type ProofChainSessionStartedIterator struct { Event *ProofChainSessionStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainSessionStartedIterator is returned from FilterSessionStarted and is used to iterate over the raw logs and unpacked data for SessionStarted events raised by the ProofChain contract.
func (*ProofChainSessionStartedIterator) Close ¶ added in v1.4.7
func (it *ProofChainSessionStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainSessionStartedIterator) Error ¶ added in v1.4.7
func (it *ProofChainSessionStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainSessionStartedIterator) Next ¶ added in v1.4.7
func (it *ProofChainSessionStartedIterator) 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 ProofChainSpecimenSessionDurationChanged ¶
type ProofChainSpecimenSessionDurationChanged struct { NewSessionDuration uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainSpecimenSessionDurationChanged represents a SpecimenSessionDurationChanged event raised by the ProofChain contract.
type ProofChainSpecimenSessionDurationChangedIterator ¶
type ProofChainSpecimenSessionDurationChangedIterator struct { Event *ProofChainSpecimenSessionDurationChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainSpecimenSessionDurationChangedIterator is returned from FilterSpecimenSessionDurationChanged and is used to iterate over the raw logs and unpacked data for SpecimenSessionDurationChanged events raised by the ProofChain contract.
func (*ProofChainSpecimenSessionDurationChangedIterator) Close ¶
func (it *ProofChainSpecimenSessionDurationChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainSpecimenSessionDurationChangedIterator) Error ¶
func (it *ProofChainSpecimenSessionDurationChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainSpecimenSessionDurationChangedIterator) Next ¶
func (it *ProofChainSpecimenSessionDurationChangedIterator) 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 ProofChainSpecimenSessionMinSubmissionChanged ¶
type ProofChainSpecimenSessionMinSubmissionChanged struct { MinSubmissions uint64 Raw types.Log // Blockchain specific contextual infos }
ProofChainSpecimenSessionMinSubmissionChanged represents a SpecimenSessionMinSubmissionChanged event raised by the ProofChain contract.
type ProofChainSpecimenSessionMinSubmissionChangedIterator ¶
type ProofChainSpecimenSessionMinSubmissionChangedIterator struct { Event *ProofChainSpecimenSessionMinSubmissionChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainSpecimenSessionMinSubmissionChangedIterator is returned from FilterSpecimenSessionMinSubmissionChanged and is used to iterate over the raw logs and unpacked data for SpecimenSessionMinSubmissionChanged events raised by the ProofChain contract.
func (*ProofChainSpecimenSessionMinSubmissionChangedIterator) Close ¶
func (it *ProofChainSpecimenSessionMinSubmissionChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainSpecimenSessionMinSubmissionChangedIterator) Error ¶
func (it *ProofChainSpecimenSessionMinSubmissionChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainSpecimenSessionMinSubmissionChangedIterator) Next ¶
func (it *ProofChainSpecimenSessionMinSubmissionChangedIterator) 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 ProofChainSpecimenSessionQuorumChanged ¶
type ProofChainSpecimenSessionQuorumChanged struct { NewQuorumThreshold *big.Int Raw types.Log // Blockchain specific contextual infos }
ProofChainSpecimenSessionQuorumChanged represents a SpecimenSessionQuorumChanged event raised by the ProofChain contract.
type ProofChainSpecimenSessionQuorumChangedIterator ¶
type ProofChainSpecimenSessionQuorumChangedIterator struct { Event *ProofChainSpecimenSessionQuorumChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainSpecimenSessionQuorumChangedIterator is returned from FilterSpecimenSessionQuorumChanged and is used to iterate over the raw logs and unpacked data for SpecimenSessionQuorumChanged events raised by the ProofChain contract.
func (*ProofChainSpecimenSessionQuorumChangedIterator) Close ¶
func (it *ProofChainSpecimenSessionQuorumChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainSpecimenSessionQuorumChangedIterator) Error ¶
func (it *ProofChainSpecimenSessionQuorumChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainSpecimenSessionQuorumChangedIterator) Next ¶
func (it *ProofChainSpecimenSessionQuorumChangedIterator) 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 ProofChainStakingInterfaceChanged ¶
type ProofChainStakingInterfaceChanged struct { NewInterfaceAddress common.Address Raw types.Log // Blockchain specific contextual infos }
ProofChainStakingInterfaceChanged represents a StakingInterfaceChanged event raised by the ProofChain contract.
type ProofChainStakingInterfaceChangedIterator ¶
type ProofChainStakingInterfaceChangedIterator struct { Event *ProofChainStakingInterfaceChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProofChainStakingInterfaceChangedIterator is returned from FilterStakingInterfaceChanged and is used to iterate over the raw logs and unpacked data for StakingInterfaceChanged events raised by the ProofChain contract.
func (*ProofChainStakingInterfaceChangedIterator) Close ¶
func (it *ProofChainStakingInterfaceChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProofChainStakingInterfaceChangedIterator) Error ¶
func (it *ProofChainStakingInterfaceChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProofChainStakingInterfaceChangedIterator) Next ¶
func (it *ProofChainStakingInterfaceChangedIterator) 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 ProofChainTransactor ¶
type ProofChainTransactor struct {
// contains filtered or unexported fields
}
ProofChainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProofChainTransactor ¶
func NewProofChainTransactor(address common.Address, transactor bind.ContractTransactor) (*ProofChainTransactor, error)
NewProofChainTransactor creates a new write-only instance of ProofChain, bound to a specific deployed contract.
func (*ProofChainTransactor) AddAuditor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) AddAuditor(opts *bind.TransactOpts, auditor common.Address) (*types.Transaction, error)
AddAuditor is a paid mutator transaction binding the contract method 0xe429cef1.
Solidity: function addAuditor(address auditor) returns()
func (*ProofChainTransactor) AddBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) AddBSPOperator(opts *bind.TransactOpts, operator common.Address, validatorId *big.Int) (*types.Transaction, error)
AddBSPOperator is a paid mutator transaction binding the contract method 0xcc96e413.
Solidity: function addBSPOperator(address operator, uint128 validatorId) returns()
func (*ProofChainTransactor) AddGovernor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) AddGovernor(opts *bind.TransactOpts, governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address governor) returns()
func (*ProofChainTransactor) AddValidator ¶
func (_ProofChain *ProofChainTransactor) AddValidator(opts *bind.TransactOpts, validator common.Address, commissionRate *big.Int) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xa2e7e441.
Solidity: function addValidator(address validator, uint128 commissionRate) returns()
func (*ProofChainTransactor) ArbitrateBlockSpecimenSession ¶
func (_ProofChain *ProofChainTransactor) ArbitrateBlockSpecimenSession(opts *bind.TransactOpts, chainId uint64, blockHeight uint64, blockHash [32]byte, definitiveSpecimenHash [32]byte) (*types.Transaction, error)
ArbitrateBlockSpecimenSession is a paid mutator transaction binding the contract method 0x4414beeb.
Solidity: function arbitrateBlockSpecimenSession(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 definitiveSpecimenHash) returns()
func (*ProofChainTransactor) DisableBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) DisableBSPOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
DisableBSPOperator is a paid mutator transaction binding the contract method 0x13e3f452.
Solidity: function disableBSPOperator(address operator) returns()
func (*ProofChainTransactor) DisableValidator ¶
func (_ProofChain *ProofChainTransactor) DisableValidator(opts *bind.TransactOpts, validatorId *big.Int, blockNumber *big.Int) (*types.Transaction, error)
DisableValidator is a paid mutator transaction binding the contract method 0xad9e91ee.
Solidity: function disableValidator(uint128 validatorId, uint256 blockNumber) returns()
func (*ProofChainTransactor) EnableBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) EnableBSPOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
EnableBSPOperator is a paid mutator transaction binding the contract method 0xdf4112c2.
Solidity: function enableBSPOperator(address operator) returns()
func (*ProofChainTransactor) FinalizeAndRewardSpecimenSession ¶
func (_ProofChain *ProofChainTransactor) FinalizeAndRewardSpecimenSession(opts *bind.TransactOpts, chainId uint64, blockHeight uint64) (*types.Transaction, error)
FinalizeAndRewardSpecimenSession is a paid mutator transaction binding the contract method 0x8ecd30bc.
Solidity: function finalizeAndRewardSpecimenSession(uint64 chainId, uint64 blockHeight) returns()
func (*ProofChainTransactor) Initialize ¶
func (_ProofChain *ProofChainTransactor) Initialize(opts *bind.TransactOpts, initialOwner common.Address, stakingContract common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address initialOwner, address stakingContract) returns()
func (*ProofChainTransactor) RemoveAuditor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) RemoveAuditor(opts *bind.TransactOpts, auditor common.Address) (*types.Transaction, error)
RemoveAuditor is a paid mutator transaction binding the contract method 0xe6116cfd.
Solidity: function removeAuditor(address auditor) returns()
func (*ProofChainTransactor) RemoveBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) RemoveBSPOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)
RemoveBSPOperator is a paid mutator transaction binding the contract method 0xcf64a01d.
Solidity: function removeBSPOperator(address operator) returns()
func (*ProofChainTransactor) RemoveGovernor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) RemoveGovernor(opts *bind.TransactOpts, governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address governor) returns()
func (*ProofChainTransactor) RenounceOwnership ¶
func (_ProofChain *ProofChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProofChainTransactor) SetBSPRequiredStake ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) SetBSPRequiredStake(opts *bind.TransactOpts, newStakeAmount *big.Int) (*types.Transaction, error)
SetBSPRequiredStake is a paid mutator transaction binding the contract method 0x5137b8b9.
Solidity: function setBSPRequiredStake(uint128 newStakeAmount) returns()
func (*ProofChainTransactor) SetBlockHeightSubmissionsThreshold ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) SetBlockHeightSubmissionsThreshold(opts *bind.TransactOpts, chainId uint64, threshold uint64) (*types.Transaction, error)
SetBlockHeightSubmissionsThreshold is a paid mutator transaction binding the contract method 0x2c58ed42.
Solidity: function setBlockHeightSubmissionsThreshold(uint64 chainId, uint64 threshold) returns()
func (*ProofChainTransactor) SetBlockSpecimenReward ¶
func (_ProofChain *ProofChainTransactor) SetBlockSpecimenReward(opts *bind.TransactOpts, newBlockSpecimenReward *big.Int) (*types.Transaction, error)
SetBlockSpecimenReward is a paid mutator transaction binding the contract method 0x89587f05.
Solidity: function setBlockSpecimenReward(uint128 newBlockSpecimenReward) returns()
func (*ProofChainTransactor) SetBlockSpecimenSessionDuration ¶
func (_ProofChain *ProofChainTransactor) SetBlockSpecimenSessionDuration(opts *bind.TransactOpts, newSessionDuration uint64) (*types.Transaction, error)
SetBlockSpecimenSessionDuration is a paid mutator transaction binding the contract method 0x67d07ad7.
Solidity: function setBlockSpecimenSessionDuration(uint64 newSessionDuration) returns()
func (*ProofChainTransactor) SetChainSyncData ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) SetChainSyncData(opts *bind.TransactOpts, chainId uint64, blockOnTargetChain *big.Int, blockOnCurrentChain *big.Int, secondsPerBlock *big.Int) (*types.Transaction, error)
SetChainSyncData is a paid mutator transaction binding the contract method 0x99146284.
Solidity: function setChainSyncData(uint64 chainId, uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock) returns()
func (*ProofChainTransactor) SetMaxSubmissionsPerBlockHeight ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) SetMaxSubmissionsPerBlockHeight(opts *bind.TransactOpts, chainId uint64, maxSubmissions uint64) (*types.Transaction, error)
SetMaxSubmissionsPerBlockHeight is a paid mutator transaction binding the contract method 0x67585e44.
Solidity: function setMaxSubmissionsPerBlockHeight(uint64 chainId, uint64 maxSubmissions) returns()
func (*ProofChainTransactor) SetMinSubmissionsRequired ¶
func (_ProofChain *ProofChainTransactor) SetMinSubmissionsRequired(opts *bind.TransactOpts, minSubmissions uint64) (*types.Transaction, error)
SetMinSubmissionsRequired is a paid mutator transaction binding the contract method 0x93742b56.
Solidity: function setMinSubmissionsRequired(uint64 minSubmissions) returns()
func (*ProofChainTransactor) SetNthBlock ¶
func (_ProofChain *ProofChainTransactor) SetNthBlock(opts *bind.TransactOpts, chainId uint64, n uint64) (*types.Transaction, error)
SetNthBlock is a paid mutator transaction binding the contract method 0xe3201409.
Solidity: function setNthBlock(uint64 chainId, uint64 n) returns()
func (*ProofChainTransactor) SetQuorumThreshold ¶
func (_ProofChain *ProofChainTransactor) SetQuorumThreshold(opts *bind.TransactOpts, quorum *big.Int) (*types.Transaction, error)
SetQuorumThreshold is a paid mutator transaction binding the contract method 0x4524c7e1.
Solidity: function setQuorumThreshold(uint256 quorum) returns()
func (*ProofChainTransactor) SetSecondsPerBlock ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactor) SetSecondsPerBlock(opts *bind.TransactOpts, secondsPerBlock uint64) (*types.Transaction, error)
SetSecondsPerBlock is a paid mutator transaction binding the contract method 0xdd36a8d5.
Solidity: function setSecondsPerBlock(uint64 secondsPerBlock) returns()
func (*ProofChainTransactor) SetStakingInterface ¶
func (_ProofChain *ProofChainTransactor) SetStakingInterface(opts *bind.TransactOpts, stakingContractAddress common.Address) (*types.Transaction, error)
SetStakingInterface is a paid mutator transaction binding the contract method 0x3646aded.
Solidity: function setStakingInterface(address stakingContractAddress) returns()
func (*ProofChainTransactor) SubmitBlockSpecimenProof ¶
func (_ProofChain *ProofChainTransactor) SubmitBlockSpecimenProof(opts *bind.TransactOpts, chainId uint64, blockHeight uint64, blockHash [32]byte, specimenHash [32]byte, storageURL string) (*types.Transaction, error)
SubmitBlockSpecimenProof is a paid mutator transaction binding the contract method 0x151fd8f3.
Solidity: function submitBlockSpecimenProof(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 specimenHash, string storageURL) returns()
func (*ProofChainTransactor) TransferOwnership ¶
func (_ProofChain *ProofChainTransactor) 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()
type ProofChainTransactorRaw ¶
type ProofChainTransactorRaw struct {
Contract *ProofChainTransactor // Generic write-only contract binding to access the raw methods on
}
ProofChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProofChainTransactorRaw) Transact ¶
func (_ProofChain *ProofChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProofChainTransactorRaw) Transfer ¶
func (_ProofChain *ProofChainTransactorRaw) 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 ProofChainTransactorSession ¶
type ProofChainTransactorSession struct { Contract *ProofChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ProofChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProofChainTransactorSession) AddAuditor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) AddAuditor(auditor common.Address) (*types.Transaction, error)
AddAuditor is a paid mutator transaction binding the contract method 0xe429cef1.
Solidity: function addAuditor(address auditor) returns()
func (*ProofChainTransactorSession) AddBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) AddBSPOperator(operator common.Address, validatorId *big.Int) (*types.Transaction, error)
AddBSPOperator is a paid mutator transaction binding the contract method 0xcc96e413.
Solidity: function addBSPOperator(address operator, uint128 validatorId) returns()
func (*ProofChainTransactorSession) AddGovernor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) AddGovernor(governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address governor) returns()
func (*ProofChainTransactorSession) AddValidator ¶
func (_ProofChain *ProofChainTransactorSession) AddValidator(validator common.Address, commissionRate *big.Int) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xa2e7e441.
Solidity: function addValidator(address validator, uint128 commissionRate) returns()
func (*ProofChainTransactorSession) ArbitrateBlockSpecimenSession ¶
func (_ProofChain *ProofChainTransactorSession) ArbitrateBlockSpecimenSession(chainId uint64, blockHeight uint64, blockHash [32]byte, definitiveSpecimenHash [32]byte) (*types.Transaction, error)
ArbitrateBlockSpecimenSession is a paid mutator transaction binding the contract method 0x4414beeb.
Solidity: function arbitrateBlockSpecimenSession(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 definitiveSpecimenHash) returns()
func (*ProofChainTransactorSession) DisableBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) DisableBSPOperator(operator common.Address) (*types.Transaction, error)
DisableBSPOperator is a paid mutator transaction binding the contract method 0x13e3f452.
Solidity: function disableBSPOperator(address operator) returns()
func (*ProofChainTransactorSession) DisableValidator ¶
func (_ProofChain *ProofChainTransactorSession) DisableValidator(validatorId *big.Int, blockNumber *big.Int) (*types.Transaction, error)
DisableValidator is a paid mutator transaction binding the contract method 0xad9e91ee.
Solidity: function disableValidator(uint128 validatorId, uint256 blockNumber) returns()
func (*ProofChainTransactorSession) EnableBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) EnableBSPOperator(operator common.Address) (*types.Transaction, error)
EnableBSPOperator is a paid mutator transaction binding the contract method 0xdf4112c2.
Solidity: function enableBSPOperator(address operator) returns()
func (*ProofChainTransactorSession) FinalizeAndRewardSpecimenSession ¶
func (_ProofChain *ProofChainTransactorSession) FinalizeAndRewardSpecimenSession(chainId uint64, blockHeight uint64) (*types.Transaction, error)
FinalizeAndRewardSpecimenSession is a paid mutator transaction binding the contract method 0x8ecd30bc.
Solidity: function finalizeAndRewardSpecimenSession(uint64 chainId, uint64 blockHeight) returns()
func (*ProofChainTransactorSession) Initialize ¶
func (_ProofChain *ProofChainTransactorSession) Initialize(initialOwner common.Address, stakingContract common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address initialOwner, address stakingContract) returns()
func (*ProofChainTransactorSession) RemoveAuditor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) RemoveAuditor(auditor common.Address) (*types.Transaction, error)
RemoveAuditor is a paid mutator transaction binding the contract method 0xe6116cfd.
Solidity: function removeAuditor(address auditor) returns()
func (*ProofChainTransactorSession) RemoveBSPOperator ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) RemoveBSPOperator(operator common.Address) (*types.Transaction, error)
RemoveBSPOperator is a paid mutator transaction binding the contract method 0xcf64a01d.
Solidity: function removeBSPOperator(address operator) returns()
func (*ProofChainTransactorSession) RemoveGovernor ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) RemoveGovernor(governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address governor) returns()
func (*ProofChainTransactorSession) RenounceOwnership ¶
func (_ProofChain *ProofChainTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProofChainTransactorSession) SetBSPRequiredStake ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) SetBSPRequiredStake(newStakeAmount *big.Int) (*types.Transaction, error)
SetBSPRequiredStake is a paid mutator transaction binding the contract method 0x5137b8b9.
Solidity: function setBSPRequiredStake(uint128 newStakeAmount) returns()
func (*ProofChainTransactorSession) SetBlockHeightSubmissionsThreshold ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) SetBlockHeightSubmissionsThreshold(chainId uint64, threshold uint64) (*types.Transaction, error)
SetBlockHeightSubmissionsThreshold is a paid mutator transaction binding the contract method 0x2c58ed42.
Solidity: function setBlockHeightSubmissionsThreshold(uint64 chainId, uint64 threshold) returns()
func (*ProofChainTransactorSession) SetBlockSpecimenReward ¶
func (_ProofChain *ProofChainTransactorSession) SetBlockSpecimenReward(newBlockSpecimenReward *big.Int) (*types.Transaction, error)
SetBlockSpecimenReward is a paid mutator transaction binding the contract method 0x89587f05.
Solidity: function setBlockSpecimenReward(uint128 newBlockSpecimenReward) returns()
func (*ProofChainTransactorSession) SetBlockSpecimenSessionDuration ¶
func (_ProofChain *ProofChainTransactorSession) SetBlockSpecimenSessionDuration(newSessionDuration uint64) (*types.Transaction, error)
SetBlockSpecimenSessionDuration is a paid mutator transaction binding the contract method 0x67d07ad7.
Solidity: function setBlockSpecimenSessionDuration(uint64 newSessionDuration) returns()
func (*ProofChainTransactorSession) SetChainSyncData ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) SetChainSyncData(chainId uint64, blockOnTargetChain *big.Int, blockOnCurrentChain *big.Int, secondsPerBlock *big.Int) (*types.Transaction, error)
SetChainSyncData is a paid mutator transaction binding the contract method 0x99146284.
Solidity: function setChainSyncData(uint64 chainId, uint256 blockOnTargetChain, uint256 blockOnCurrentChain, uint256 secondsPerBlock) returns()
func (*ProofChainTransactorSession) SetMaxSubmissionsPerBlockHeight ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) SetMaxSubmissionsPerBlockHeight(chainId uint64, maxSubmissions uint64) (*types.Transaction, error)
SetMaxSubmissionsPerBlockHeight is a paid mutator transaction binding the contract method 0x67585e44.
Solidity: function setMaxSubmissionsPerBlockHeight(uint64 chainId, uint64 maxSubmissions) returns()
func (*ProofChainTransactorSession) SetMinSubmissionsRequired ¶
func (_ProofChain *ProofChainTransactorSession) SetMinSubmissionsRequired(minSubmissions uint64) (*types.Transaction, error)
SetMinSubmissionsRequired is a paid mutator transaction binding the contract method 0x93742b56.
Solidity: function setMinSubmissionsRequired(uint64 minSubmissions) returns()
func (*ProofChainTransactorSession) SetNthBlock ¶
func (_ProofChain *ProofChainTransactorSession) SetNthBlock(chainId uint64, n uint64) (*types.Transaction, error)
SetNthBlock is a paid mutator transaction binding the contract method 0xe3201409.
Solidity: function setNthBlock(uint64 chainId, uint64 n) returns()
func (*ProofChainTransactorSession) SetQuorumThreshold ¶
func (_ProofChain *ProofChainTransactorSession) SetQuorumThreshold(quorum *big.Int) (*types.Transaction, error)
SetQuorumThreshold is a paid mutator transaction binding the contract method 0x4524c7e1.
Solidity: function setQuorumThreshold(uint256 quorum) returns()
func (*ProofChainTransactorSession) SetSecondsPerBlock ¶ added in v1.4.7
func (_ProofChain *ProofChainTransactorSession) SetSecondsPerBlock(secondsPerBlock uint64) (*types.Transaction, error)
SetSecondsPerBlock is a paid mutator transaction binding the contract method 0xdd36a8d5.
Solidity: function setSecondsPerBlock(uint64 secondsPerBlock) returns()
func (*ProofChainTransactorSession) SetStakingInterface ¶
func (_ProofChain *ProofChainTransactorSession) SetStakingInterface(stakingContractAddress common.Address) (*types.Transaction, error)
SetStakingInterface is a paid mutator transaction binding the contract method 0x3646aded.
Solidity: function setStakingInterface(address stakingContractAddress) returns()
func (*ProofChainTransactorSession) SubmitBlockSpecimenProof ¶
func (_ProofChain *ProofChainTransactorSession) SubmitBlockSpecimenProof(chainId uint64, blockHeight uint64, blockHash [32]byte, specimenHash [32]byte, storageURL string) (*types.Transaction, error)
SubmitBlockSpecimenProof is a paid mutator transaction binding the contract method 0x151fd8f3.
Solidity: function submitBlockSpecimenProof(uint64 chainId, uint64 blockHeight, bytes32 blockHash, bytes32 specimenHash, string storageURL) returns()
func (*ProofChainTransactorSession) TransferOwnership ¶
func (_ProofChain *ProofChainTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ProofchainInteractor ¶ added in v1.1.6
type ProofchainInteractor struct {
// contains filtered or unexported fields
}
ProofchainInteractor a wrapper over proofchain contract to help clients interact with it
func NewProofchainInteractor ¶ added in v1.1.6
func NewProofchainInteractor(config *config.AgentConfig, ethClient *ethclient.Client) *ProofchainInteractor
NewProofchainInteractor sets up a new interactor for proof-chain
func (*ProofchainInteractor) SendBlockReplicaProofTx ¶ added in v1.1.6
func (interactor *ProofchainInteractor) SendBlockReplicaProofTx(ctx context.Context, chainHeight uint64, blockReplica *ty.BlockReplica, resultSegment []byte, replicaURL string, txHash chan string)
SendBlockReplicaProofTx makes a proof-chain tx for the block-replica that has been processed