proof

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package proof contains all functions to make a proof-chain tx for an encoded block-replica object

Index

Constants

This section is empty.

Variables

View Source
var ProofChainABI = ProofChainMetaData.ABI

ProofChainABI is the input ABI used to generate the binding from. Deprecated: Use ProofChainMetaData.ABI instead.

View Source
var ProofChainMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"newMaxNumberOfHashesPer24H\",\"type\":\"uint64\"}],\"name\":\"BlockSpecimenMaxNumberOfHashesPer24HChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"newBlockSpecimenMinSubmissionsRequired\",\"type\":\"uint128\"}],\"name\":\"BlockSpecimenMinSubmissionRequiredChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"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\":\"uint128\",\"name\":\"blockHeight\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proofHash\",\"type\":\"bytes32\"}],\"name\":\"BlockSpecimenSessionFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"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\":\"uint64\",\"name\":\"numberOfBlocks\",\"type\":\"uint64\"}],\"name\":\"NumberOfBlocksPer24HChanged\",\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"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\":\"uint64\",\"name\":\"newQuorumThreshold\",\"type\":\"uint64\"}],\"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\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"addOperator\",\"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\":[],\"name\":\"blockSpecimenQuorum\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blockSpecimenRewardAllocation\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blockSpecimenSessionDuration\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"disableOperator\",\"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\":\"enableOperator\",\"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\":[{\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"}],\"name\":\"getOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRoleTypes\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"roleTypes\",\"type\":\"bytes32[]\"}],\"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\":\"bytes32\",\"name\":\"roleName\",\"type\":\"bytes32\"},{\"internalType\":\"uint128\",\"name\":\"validatorId\",\"type\":\"uint128\"}],\"name\":\"isSufficientlyStakedForRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"maxNumberOfHashesPer24H\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minSubmissionsRequired\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"nthBlock\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"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\":\"operator\",\"type\":\"address\"}],\"name\":\"removeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"minSubmissions\",\"type\":\"uint64\"}],\"name\":\"setBlockSpecimenMinSubmissionRequired\",\"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\":\"uint64\",\"name\":\"maxSubmissions\",\"type\":\"uint64\"}],\"name\":\"setMaxNumberOfHashesPer24H\",\"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\":\"uint64\",\"name\":\"numberOfBlocks\",\"type\":\"uint64\"}],\"name\":\"setNumberOfBlocksPer24H\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"quorum\",\"type\":\"uint64\"}],\"name\":\"setQuorumThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"roleName\",\"type\":\"bytes32\"},{\"internalType\":\"uint128\",\"name\":\"newStakeAmount\",\"type\":\"uint128\"}],\"name\":\"setRequiredStakeForRole\",\"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 ProofChainBlockSpecimenMaxNumberOfHashesPer24HChanged

type ProofChainBlockSpecimenMaxNumberOfHashesPer24HChanged struct {
	ChainId                    uint64
	NewMaxNumberOfHashesPer24H uint64
	Raw                        types.Log // Blockchain specific contextual infos
}

ProofChainBlockSpecimenMaxNumberOfHashesPer24HChanged represents a BlockSpecimenMaxNumberOfHashesPer24HChanged event raised by the ProofChain contract.

type ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator

type ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator struct {
	Event *ProofChainBlockSpecimenMaxNumberOfHashesPer24HChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator is returned from FilterBlockSpecimenMaxNumberOfHashesPer24HChanged and is used to iterate over the raw logs and unpacked data for BlockSpecimenMaxNumberOfHashesPer24HChanged events raised by the ProofChain contract.

func (*ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator) Next

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 ProofChainBlockSpecimenMinSubmissionRequiredChanged

type ProofChainBlockSpecimenMinSubmissionRequiredChanged struct {
	NewBlockSpecimenMinSubmissionsRequired *big.Int
	Raw                                    types.Log // Blockchain specific contextual infos
}

ProofChainBlockSpecimenMinSubmissionRequiredChanged represents a BlockSpecimenMinSubmissionRequiredChanged event raised by the ProofChain contract.

type ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator

type ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator struct {
	Event *ProofChainBlockSpecimenMinSubmissionRequiredChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator is returned from FilterBlockSpecimenMinSubmissionRequiredChanged and is used to iterate over the raw logs and unpacked data for BlockSpecimenMinSubmissionRequiredChanged events raised by the ProofChain contract.

func (*ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainBlockSpecimenProductionProofSubmittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainBlockSpecimenProductionProofSubmittedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainBlockSpecimenRewardAwardedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainBlockSpecimenRewardAwardedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainBlockSpecimenRewardChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainBlockSpecimenRewardChangedIterator) Next

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 ProofChainBlockSpecimenSessionFinalized

type ProofChainBlockSpecimenSessionFinalized struct {
	BlockHeight *big.Int
	ProofHash   [32]byte
	Raw         types.Log // Blockchain specific contextual infos
}

ProofChainBlockSpecimenSessionFinalized represents a BlockSpecimenSessionFinalized event raised by the ProofChain contract.

type ProofChainBlockSpecimenSessionFinalizedIterator

type ProofChainBlockSpecimenSessionFinalizedIterator struct {
	Event *ProofChainBlockSpecimenSessionFinalized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ProofChainBlockSpecimenSessionFinalizedIterator is returned from FilterBlockSpecimenSessionFinalized and is used to iterate over the raw logs and unpacked data for BlockSpecimenSessionFinalized events raised by the ProofChain contract.

func (*ProofChainBlockSpecimenSessionFinalizedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainBlockSpecimenSessionFinalizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainBlockSpecimenSessionFinalizedIterator) Next

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) BlockSpecimenQuorum

func (_ProofChain *ProofChainCaller) BlockSpecimenQuorum(opts *bind.CallOpts) (uint64, error)

BlockSpecimenQuorum is a free data retrieval call binding the contract method 0x96df32b5.

Solidity: function blockSpecimenQuorum() view returns(uint64)

func (*ProofChainCaller) BlockSpecimenRewardAllocation

func (_ProofChain *ProofChainCaller) BlockSpecimenRewardAllocation(opts *bind.CallOpts) (*big.Int, error)

BlockSpecimenRewardAllocation is a free data retrieval call binding the contract method 0xb143d7db.

Solidity: function blockSpecimenRewardAllocation() view returns(uint128)

func (*ProofChainCaller) BlockSpecimenSessionDuration

func (_ProofChain *ProofChainCaller) BlockSpecimenSessionDuration(opts *bind.CallOpts) (uint64, error)

BlockSpecimenSessionDuration is a free data retrieval call binding the contract method 0x24dc223d.

Solidity: function blockSpecimenSessionDuration() view returns(uint64)

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) 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) GetRoleTypes

func (_ProofChain *ProofChainCaller) GetRoleTypes(opts *bind.CallOpts) ([][32]byte, error)

GetRoleTypes is a free data retrieval call binding the contract method 0x96c61cb2.

Solidity: function getRoleTypes() view returns(bytes32[] roleTypes)

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) IsSufficientlyStakedForRole

func (_ProofChain *ProofChainCaller) IsSufficientlyStakedForRole(opts *bind.CallOpts, roleName [32]byte, validatorId *big.Int) (bool, error)

IsSufficientlyStakedForRole is a free data retrieval call binding the contract method 0x74c595ed.

Solidity: function isSufficientlyStakedForRole(bytes32 roleName, uint128 validatorId) view returns(bool)

func (*ProofChainCaller) MaxNumberOfHashesPer24H

func (_ProofChain *ProofChainCaller) MaxNumberOfHashesPer24H(opts *bind.CallOpts, arg0 uint64) (uint64, error)

MaxNumberOfHashesPer24H is a free data retrieval call binding the contract method 0xf271f4dd.

Solidity: function maxNumberOfHashesPer24H(uint64 ) view returns(uint64)

func (*ProofChainCaller) MinSubmissionsRequired

func (_ProofChain *ProofChainCaller) MinSubmissionsRequired(opts *bind.CallOpts) (uint64, error)

MinSubmissionsRequired is a free data retrieval call binding the contract method 0x6d261e00.

Solidity: function minSubmissionsRequired() view returns(uint64)

func (*ProofChainCaller) NthBlock

func (_ProofChain *ProofChainCaller) NthBlock(opts *bind.CallOpts, arg0 uint64) (uint64, error)

NthBlock is a free data retrieval call binding the contract method 0xc7f99302.

Solidity: function nthBlock(uint64 ) view returns(uint64)

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

func (_ProofChain *ProofChainCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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) BlockSpecimenQuorum

func (_ProofChain *ProofChainCallerSession) BlockSpecimenQuorum() (uint64, error)

BlockSpecimenQuorum is a free data retrieval call binding the contract method 0x96df32b5.

Solidity: function blockSpecimenQuorum() view returns(uint64)

func (*ProofChainCallerSession) BlockSpecimenRewardAllocation

func (_ProofChain *ProofChainCallerSession) BlockSpecimenRewardAllocation() (*big.Int, error)

BlockSpecimenRewardAllocation is a free data retrieval call binding the contract method 0xb143d7db.

Solidity: function blockSpecimenRewardAllocation() view returns(uint128)

func (*ProofChainCallerSession) BlockSpecimenSessionDuration

func (_ProofChain *ProofChainCallerSession) BlockSpecimenSessionDuration() (uint64, error)

BlockSpecimenSessionDuration is a free data retrieval call binding the contract method 0x24dc223d.

Solidity: function blockSpecimenSessionDuration() view returns(uint64)

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) 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) GetRoleTypes

func (_ProofChain *ProofChainCallerSession) GetRoleTypes() ([][32]byte, error)

GetRoleTypes is a free data retrieval call binding the contract method 0x96c61cb2.

Solidity: function getRoleTypes() view returns(bytes32[] roleTypes)

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) IsSufficientlyStakedForRole

func (_ProofChain *ProofChainCallerSession) IsSufficientlyStakedForRole(roleName [32]byte, validatorId *big.Int) (bool, error)

IsSufficientlyStakedForRole is a free data retrieval call binding the contract method 0x74c595ed.

Solidity: function isSufficientlyStakedForRole(bytes32 roleName, uint128 validatorId) view returns(bool)

func (*ProofChainCallerSession) MaxNumberOfHashesPer24H

func (_ProofChain *ProofChainCallerSession) MaxNumberOfHashesPer24H(arg0 uint64) (uint64, error)

MaxNumberOfHashesPer24H is a free data retrieval call binding the contract method 0xf271f4dd.

Solidity: function maxNumberOfHashesPer24H(uint64 ) view returns(uint64)

func (*ProofChainCallerSession) MinSubmissionsRequired

func (_ProofChain *ProofChainCallerSession) MinSubmissionsRequired() (uint64, error)

MinSubmissionsRequired is a free data retrieval call binding the contract method 0x6d261e00.

Solidity: function minSubmissionsRequired() view returns(uint64)

func (*ProofChainCallerSession) NthBlock

func (_ProofChain *ProofChainCallerSession) NthBlock(arg0 uint64) (uint64, error)

NthBlock is a free data retrieval call binding the contract method 0xc7f99302.

Solidity: function nthBlock(uint64 ) view returns(uint64)

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

func (_ProofChain *ProofChainCallerSession) ValidatorIDs(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 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) FilterBlockSpecimenMaxNumberOfHashesPer24HChanged

func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenMaxNumberOfHashesPer24HChanged(opts *bind.FilterOpts, chainId []uint64) (*ProofChainBlockSpecimenMaxNumberOfHashesPer24HChangedIterator, error)

FilterBlockSpecimenMaxNumberOfHashesPer24HChanged is a free log retrieval operation binding the contract event 0xcd51a09527f1fdcb091e787cf5c06a462c010eaef61de7b7c3904916d95a4abd.

Solidity: event BlockSpecimenMaxNumberOfHashesPer24HChanged(uint64 indexed chainId, uint64 newMaxNumberOfHashesPer24H)

func (*ProofChainFilterer) FilterBlockSpecimenMinSubmissionRequiredChanged

func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenMinSubmissionRequiredChanged(opts *bind.FilterOpts) (*ProofChainBlockSpecimenMinSubmissionRequiredChangedIterator, error)

FilterBlockSpecimenMinSubmissionRequiredChanged is a free log retrieval operation binding the contract event 0xe2c2e6446883e57e5ecbdcf7b0a4e67007bcdb9191111ae6589d05a053ad8617.

Solidity: event BlockSpecimenMinSubmissionRequiredChanged(uint128 newBlockSpecimenMinSubmissionsRequired)

func (*ProofChainFilterer) FilterBlockSpecimenProductionProofSubmitted

func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenProductionProofSubmitted(opts *bind.FilterOpts, blockHeight []uint64, blockHash [][32]byte, specimenHash [][32]byte) (*ProofChainBlockSpecimenProductionProofSubmittedIterator, error)

FilterBlockSpecimenProductionProofSubmitted is a free log retrieval operation binding the contract event 0x57b0cb34d2ff9ed661f8b3c684aaee6cbf0bda5da02f4044205556817fa8e76c.

Solidity: event BlockSpecimenProductionProofSubmitted(uint64 chainId, uint64 indexed blockHeight, bytes32 indexed blockHash, bytes32 indexed 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) FilterBlockSpecimenSessionFinalized

func (_ProofChain *ProofChainFilterer) FilterBlockSpecimenSessionFinalized(opts *bind.FilterOpts, blockHeight []*big.Int, proofHash [][32]byte) (*ProofChainBlockSpecimenSessionFinalizedIterator, error)

FilterBlockSpecimenSessionFinalized is a free log retrieval operation binding the contract event 0xcbbbca2698029deaaa991c42053b23dd488b5caf488e5223da54a08a48d7c31e.

Solidity: event BlockSpecimenSessionFinalized(uint128 indexed blockHeight, bytes32 indexed proofHash)

func (*ProofChainFilterer) FilterMinimumRequiredStakeChanged

func (_ProofChain *ProofChainFilterer) FilterMinimumRequiredStakeChanged(opts *bind.FilterOpts, role [][32]byte) (*ProofChainMinimumRequiredStakeChangedIterator, error)

FilterMinimumRequiredStakeChanged is a free log retrieval operation binding the contract event 0xcc5adc82271e3da3beed19bdd358519f24712369aa0cd14ec87e36a0eaa8efaa.

Solidity: event MinimumRequiredStakeChanged(bytes32 indexed role, 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) FilterNumberOfBlocksPer24HChanged

func (_ProofChain *ProofChainFilterer) FilterNumberOfBlocksPer24HChanged(opts *bind.FilterOpts) (*ProofChainNumberOfBlocksPer24HChangedIterator, error)

FilterNumberOfBlocksPer24HChanged is a free log retrieval operation binding the contract event 0xd110b97bc9e6210ae4a53402f5a2835c92dbe790fc6b679468af199a13756d98.

Solidity: event NumberOfBlocksPer24HChanged(uint64 numberOfBlocks)

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) FilterRoleAdminChanged

func (_ProofChain *ProofChainFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ProofChainRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

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 0x7ab8150f5b613293e16e3a99396812661a51bad017fbe4204fb8faef1c315cb0.

Solidity: event SpecimenSessionQuorumChanged(uint64 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) ParseBlockSpecimenMaxNumberOfHashesPer24HChanged

func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenMaxNumberOfHashesPer24HChanged(log types.Log) (*ProofChainBlockSpecimenMaxNumberOfHashesPer24HChanged, error)

ParseBlockSpecimenMaxNumberOfHashesPer24HChanged is a log parse operation binding the contract event 0xcd51a09527f1fdcb091e787cf5c06a462c010eaef61de7b7c3904916d95a4abd.

Solidity: event BlockSpecimenMaxNumberOfHashesPer24HChanged(uint64 indexed chainId, uint64 newMaxNumberOfHashesPer24H)

func (*ProofChainFilterer) ParseBlockSpecimenMinSubmissionRequiredChanged

func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenMinSubmissionRequiredChanged(log types.Log) (*ProofChainBlockSpecimenMinSubmissionRequiredChanged, error)

ParseBlockSpecimenMinSubmissionRequiredChanged is a log parse operation binding the contract event 0xe2c2e6446883e57e5ecbdcf7b0a4e67007bcdb9191111ae6589d05a053ad8617.

Solidity: event BlockSpecimenMinSubmissionRequiredChanged(uint128 newBlockSpecimenMinSubmissionsRequired)

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 indexed blockHeight, bytes32 indexed blockHash, bytes32 indexed 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) ParseBlockSpecimenSessionFinalized

func (_ProofChain *ProofChainFilterer) ParseBlockSpecimenSessionFinalized(log types.Log) (*ProofChainBlockSpecimenSessionFinalized, error)

ParseBlockSpecimenSessionFinalized is a log parse operation binding the contract event 0xcbbbca2698029deaaa991c42053b23dd488b5caf488e5223da54a08a48d7c31e.

Solidity: event BlockSpecimenSessionFinalized(uint128 indexed blockHeight, bytes32 indexed proofHash)

func (*ProofChainFilterer) ParseMinimumRequiredStakeChanged

func (_ProofChain *ProofChainFilterer) ParseMinimumRequiredStakeChanged(log types.Log) (*ProofChainMinimumRequiredStakeChanged, error)

ParseMinimumRequiredStakeChanged is a log parse operation binding the contract event 0xcc5adc82271e3da3beed19bdd358519f24712369aa0cd14ec87e36a0eaa8efaa.

Solidity: event MinimumRequiredStakeChanged(bytes32 indexed role, 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) ParseNumberOfBlocksPer24HChanged

func (_ProofChain *ProofChainFilterer) ParseNumberOfBlocksPer24HChanged(log types.Log) (*ProofChainNumberOfBlocksPer24HChanged, error)

ParseNumberOfBlocksPer24HChanged is a log parse operation binding the contract event 0xd110b97bc9e6210ae4a53402f5a2835c92dbe790fc6b679468af199a13756d98.

Solidity: event NumberOfBlocksPer24HChanged(uint64 numberOfBlocks)

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) ParseRoleAdminChanged

func (_ProofChain *ProofChainFilterer) ParseRoleAdminChanged(log types.Log) (*ProofChainRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

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 0x7ab8150f5b613293e16e3a99396812661a51bad017fbe4204fb8faef1c315cb0.

Solidity: event SpecimenSessionQuorumChanged(uint64 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) WatchBlockSpecimenMaxNumberOfHashesPer24HChanged

func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenMaxNumberOfHashesPer24HChanged(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenMaxNumberOfHashesPer24HChanged, chainId []uint64) (event.Subscription, error)

WatchBlockSpecimenMaxNumberOfHashesPer24HChanged is a free log subscription operation binding the contract event 0xcd51a09527f1fdcb091e787cf5c06a462c010eaef61de7b7c3904916d95a4abd.

Solidity: event BlockSpecimenMaxNumberOfHashesPer24HChanged(uint64 indexed chainId, uint64 newMaxNumberOfHashesPer24H)

func (*ProofChainFilterer) WatchBlockSpecimenMinSubmissionRequiredChanged

func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenMinSubmissionRequiredChanged(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenMinSubmissionRequiredChanged) (event.Subscription, error)

WatchBlockSpecimenMinSubmissionRequiredChanged is a free log subscription operation binding the contract event 0xe2c2e6446883e57e5ecbdcf7b0a4e67007bcdb9191111ae6589d05a053ad8617.

Solidity: event BlockSpecimenMinSubmissionRequiredChanged(uint128 newBlockSpecimenMinSubmissionsRequired)

func (*ProofChainFilterer) WatchBlockSpecimenProductionProofSubmitted

func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenProductionProofSubmitted(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenProductionProofSubmitted, blockHeight []uint64, blockHash [][32]byte, specimenHash [][32]byte) (event.Subscription, error)

WatchBlockSpecimenProductionProofSubmitted is a free log subscription operation binding the contract event 0x57b0cb34d2ff9ed661f8b3c684aaee6cbf0bda5da02f4044205556817fa8e76c.

Solidity: event BlockSpecimenProductionProofSubmitted(uint64 chainId, uint64 indexed blockHeight, bytes32 indexed blockHash, bytes32 indexed 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) WatchBlockSpecimenSessionFinalized

func (_ProofChain *ProofChainFilterer) WatchBlockSpecimenSessionFinalized(opts *bind.WatchOpts, sink chan<- *ProofChainBlockSpecimenSessionFinalized, blockHeight []*big.Int, proofHash [][32]byte) (event.Subscription, error)

WatchBlockSpecimenSessionFinalized is a free log subscription operation binding the contract event 0xcbbbca2698029deaaa991c42053b23dd488b5caf488e5223da54a08a48d7c31e.

Solidity: event BlockSpecimenSessionFinalized(uint128 indexed blockHeight, bytes32 indexed proofHash)

func (*ProofChainFilterer) WatchMinimumRequiredStakeChanged

func (_ProofChain *ProofChainFilterer) WatchMinimumRequiredStakeChanged(opts *bind.WatchOpts, sink chan<- *ProofChainMinimumRequiredStakeChanged, role [][32]byte) (event.Subscription, error)

WatchMinimumRequiredStakeChanged is a free log subscription operation binding the contract event 0xcc5adc82271e3da3beed19bdd358519f24712369aa0cd14ec87e36a0eaa8efaa.

Solidity: event MinimumRequiredStakeChanged(bytes32 indexed role, 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) WatchNumberOfBlocksPer24HChanged

func (_ProofChain *ProofChainFilterer) WatchNumberOfBlocksPer24HChanged(opts *bind.WatchOpts, sink chan<- *ProofChainNumberOfBlocksPer24HChanged) (event.Subscription, error)

WatchNumberOfBlocksPer24HChanged is a free log subscription operation binding the contract event 0xd110b97bc9e6210ae4a53402f5a2835c92dbe790fc6b679468af199a13756d98.

Solidity: event NumberOfBlocksPer24HChanged(uint64 numberOfBlocks)

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) WatchRoleAdminChanged

func (_ProofChain *ProofChainFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ProofChainRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

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 0x7ab8150f5b613293e16e3a99396812661a51bad017fbe4204fb8faef1c315cb0.

Solidity: event SpecimenSessionQuorumChanged(uint64 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 ProofChainMinimumRequiredStakeChanged

type ProofChainMinimumRequiredStakeChanged struct {
	Role                [32]byte
	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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainMinimumRequiredStakeChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainMinimumRequiredStakeChangedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainNthBlockChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainNthBlockChangedIterator) Next

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 ProofChainNumberOfBlocksPer24HChanged

type ProofChainNumberOfBlocksPer24HChanged struct {
	NumberOfBlocks uint64
	Raw            types.Log // Blockchain specific contextual infos
}

ProofChainNumberOfBlocksPer24HChanged represents a NumberOfBlocksPer24HChanged event raised by the ProofChain contract.

type ProofChainNumberOfBlocksPer24HChangedIterator

type ProofChainNumberOfBlocksPer24HChangedIterator struct {
	Event *ProofChainNumberOfBlocksPer24HChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ProofChainNumberOfBlocksPer24HChangedIterator is returned from FilterNumberOfBlocksPer24HChanged and is used to iterate over the raw logs and unpacked data for NumberOfBlocksPer24HChanged events raised by the ProofChain contract.

func (*ProofChainNumberOfBlocksPer24HChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainNumberOfBlocksPer24HChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainNumberOfBlocksPer24HChangedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainOperatorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainOperatorAddedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainOperatorDisabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainOperatorDisabledIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainOperatorEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainOperatorEnabledIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainOperatorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainOperatorRemovedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainOwnershipTransferredIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainQuorumNotReachedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainQuorumNotReachedIterator) Next

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 ProofChainRoleAdminChanged

type ProofChainRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

ProofChainRoleAdminChanged represents a RoleAdminChanged event raised by the ProofChain contract.

type ProofChainRoleAdminChangedIterator

type ProofChainRoleAdminChangedIterator struct {
	Event *ProofChainRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ProofChainRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the ProofChain contract.

func (*ProofChainRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainRoleAdminChangedIterator) Next

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) AddOperator

func (_ProofChain *ProofChainSession) AddOperator(operator common.Address, validatorId *big.Int, role [32]byte) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0xd43e451d.

Solidity: function addOperator(address operator, uint128 validatorId, bytes32 role) 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) BlockSpecimenQuorum

func (_ProofChain *ProofChainSession) BlockSpecimenQuorum() (uint64, error)

BlockSpecimenQuorum is a free data retrieval call binding the contract method 0x96df32b5.

Solidity: function blockSpecimenQuorum() view returns(uint64)

func (*ProofChainSession) BlockSpecimenRewardAllocation

func (_ProofChain *ProofChainSession) BlockSpecimenRewardAllocation() (*big.Int, error)

BlockSpecimenRewardAllocation is a free data retrieval call binding the contract method 0xb143d7db.

Solidity: function blockSpecimenRewardAllocation() view returns(uint128)

func (*ProofChainSession) BlockSpecimenSessionDuration

func (_ProofChain *ProofChainSession) BlockSpecimenSessionDuration() (uint64, error)

BlockSpecimenSessionDuration is a free data retrieval call binding the contract method 0x24dc223d.

Solidity: function blockSpecimenSessionDuration() view returns(uint64)

func (*ProofChainSession) DisableOperator

func (_ProofChain *ProofChainSession) DisableOperator(operator common.Address) (*types.Transaction, error)

DisableOperator is a paid mutator transaction binding the contract method 0xf56408ed.

Solidity: function disableOperator(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) EnableOperator

func (_ProofChain *ProofChainSession) EnableOperator(operator common.Address) (*types.Transaction, error)

EnableOperator is a paid mutator transaction binding the contract method 0xdd307b99.

Solidity: function enableOperator(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) GetOperators

func (_ProofChain *ProofChainSession) 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 (*ProofChainSession) GetRoleTypes

func (_ProofChain *ProofChainSession) GetRoleTypes() ([][32]byte, error)

GetRoleTypes is a free data retrieval call binding the contract method 0x96c61cb2.

Solidity: function getRoleTypes() view returns(bytes32[] roleTypes)

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) IsSufficientlyStakedForRole

func (_ProofChain *ProofChainSession) IsSufficientlyStakedForRole(roleName [32]byte, validatorId *big.Int) (bool, error)

IsSufficientlyStakedForRole is a free data retrieval call binding the contract method 0x74c595ed.

Solidity: function isSufficientlyStakedForRole(bytes32 roleName, uint128 validatorId) view returns(bool)

func (*ProofChainSession) MaxNumberOfHashesPer24H

func (_ProofChain *ProofChainSession) MaxNumberOfHashesPer24H(arg0 uint64) (uint64, error)

MaxNumberOfHashesPer24H is a free data retrieval call binding the contract method 0xf271f4dd.

Solidity: function maxNumberOfHashesPer24H(uint64 ) view returns(uint64)

func (*ProofChainSession) MinSubmissionsRequired

func (_ProofChain *ProofChainSession) MinSubmissionsRequired() (uint64, error)

MinSubmissionsRequired is a free data retrieval call binding the contract method 0x6d261e00.

Solidity: function minSubmissionsRequired() view returns(uint64)

func (*ProofChainSession) NthBlock

func (_ProofChain *ProofChainSession) NthBlock(arg0 uint64) (uint64, error)

NthBlock is a free data retrieval call binding the contract method 0xc7f99302.

Solidity: function nthBlock(uint64 ) view returns(uint64)

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) RemoveOperator

func (_ProofChain *ProofChainSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) 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) SetBlockSpecimenMinSubmissionRequired

func (_ProofChain *ProofChainSession) SetBlockSpecimenMinSubmissionRequired(minSubmissions uint64) (*types.Transaction, error)

SetBlockSpecimenMinSubmissionRequired is a paid mutator transaction binding the contract method 0x7432d8dd.

Solidity: function setBlockSpecimenMinSubmissionRequired(uint64 minSubmissions) 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) SetMaxNumberOfHashesPer24H

func (_ProofChain *ProofChainSession) SetMaxNumberOfHashesPer24H(chainId uint64, maxSubmissions uint64) (*types.Transaction, error)

SetMaxNumberOfHashesPer24H is a paid mutator transaction binding the contract method 0xc700c43b.

Solidity: function setMaxNumberOfHashesPer24H(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) SetNumberOfBlocksPer24H

func (_ProofChain *ProofChainSession) SetNumberOfBlocksPer24H(numberOfBlocks uint64) (*types.Transaction, error)

SetNumberOfBlocksPer24H is a paid mutator transaction binding the contract method 0xf883465a.

Solidity: function setNumberOfBlocksPer24H(uint64 numberOfBlocks) returns()

func (*ProofChainSession) SetQuorumThreshold

func (_ProofChain *ProofChainSession) SetQuorumThreshold(quorum uint64) (*types.Transaction, error)

SetQuorumThreshold is a paid mutator transaction binding the contract method 0x7442f33a.

Solidity: function setQuorumThreshold(uint64 quorum) returns()

func (*ProofChainSession) SetRequiredStakeForRole

func (_ProofChain *ProofChainSession) SetRequiredStakeForRole(roleName [32]byte, newStakeAmount *big.Int) (*types.Transaction, error)

SetRequiredStakeForRole is a paid mutator transaction binding the contract method 0x4a40372a.

Solidity: function setRequiredStakeForRole(bytes32 roleName, uint128 newStakeAmount) 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

func (_ProofChain *ProofChainSession) ValidatorIDs(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 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainSpecimenSessionDurationChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainSpecimenSessionDurationChangedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainSpecimenSessionMinSubmissionChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainSpecimenSessionMinSubmissionChangedIterator) Next

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 uint64
	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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainSpecimenSessionQuorumChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainSpecimenSessionQuorumChangedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ProofChainStakingInterfaceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProofChainStakingInterfaceChangedIterator) Next

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) AddOperator

func (_ProofChain *ProofChainTransactor) AddOperator(opts *bind.TransactOpts, operator common.Address, validatorId *big.Int, role [32]byte) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0xd43e451d.

Solidity: function addOperator(address operator, uint128 validatorId, bytes32 role) 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) DisableOperator

func (_ProofChain *ProofChainTransactor) DisableOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

DisableOperator is a paid mutator transaction binding the contract method 0xf56408ed.

Solidity: function disableOperator(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) EnableOperator

func (_ProofChain *ProofChainTransactor) EnableOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

EnableOperator is a paid mutator transaction binding the contract method 0xdd307b99.

Solidity: function enableOperator(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) RemoveOperator

func (_ProofChain *ProofChainTransactor) RemoveOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) 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) SetBlockSpecimenMinSubmissionRequired

func (_ProofChain *ProofChainTransactor) SetBlockSpecimenMinSubmissionRequired(opts *bind.TransactOpts, minSubmissions uint64) (*types.Transaction, error)

SetBlockSpecimenMinSubmissionRequired is a paid mutator transaction binding the contract method 0x7432d8dd.

Solidity: function setBlockSpecimenMinSubmissionRequired(uint64 minSubmissions) 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) SetMaxNumberOfHashesPer24H

func (_ProofChain *ProofChainTransactor) SetMaxNumberOfHashesPer24H(opts *bind.TransactOpts, chainId uint64, maxSubmissions uint64) (*types.Transaction, error)

SetMaxNumberOfHashesPer24H is a paid mutator transaction binding the contract method 0xc700c43b.

Solidity: function setMaxNumberOfHashesPer24H(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) SetNumberOfBlocksPer24H

func (_ProofChain *ProofChainTransactor) SetNumberOfBlocksPer24H(opts *bind.TransactOpts, numberOfBlocks uint64) (*types.Transaction, error)

SetNumberOfBlocksPer24H is a paid mutator transaction binding the contract method 0xf883465a.

Solidity: function setNumberOfBlocksPer24H(uint64 numberOfBlocks) returns()

func (*ProofChainTransactor) SetQuorumThreshold

func (_ProofChain *ProofChainTransactor) SetQuorumThreshold(opts *bind.TransactOpts, quorum uint64) (*types.Transaction, error)

SetQuorumThreshold is a paid mutator transaction binding the contract method 0x7442f33a.

Solidity: function setQuorumThreshold(uint64 quorum) returns()

func (*ProofChainTransactor) SetRequiredStakeForRole

func (_ProofChain *ProofChainTransactor) SetRequiredStakeForRole(opts *bind.TransactOpts, roleName [32]byte, newStakeAmount *big.Int) (*types.Transaction, error)

SetRequiredStakeForRole is a paid mutator transaction binding the contract method 0x4a40372a.

Solidity: function setRequiredStakeForRole(bytes32 roleName, uint128 newStakeAmount) 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) AddOperator

func (_ProofChain *ProofChainTransactorSession) AddOperator(operator common.Address, validatorId *big.Int, role [32]byte) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0xd43e451d.

Solidity: function addOperator(address operator, uint128 validatorId, bytes32 role) 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) DisableOperator

func (_ProofChain *ProofChainTransactorSession) DisableOperator(operator common.Address) (*types.Transaction, error)

DisableOperator is a paid mutator transaction binding the contract method 0xf56408ed.

Solidity: function disableOperator(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) EnableOperator

func (_ProofChain *ProofChainTransactorSession) EnableOperator(operator common.Address) (*types.Transaction, error)

EnableOperator is a paid mutator transaction binding the contract method 0xdd307b99.

Solidity: function enableOperator(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) RemoveOperator

func (_ProofChain *ProofChainTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) 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) SetBlockSpecimenMinSubmissionRequired

func (_ProofChain *ProofChainTransactorSession) SetBlockSpecimenMinSubmissionRequired(minSubmissions uint64) (*types.Transaction, error)

SetBlockSpecimenMinSubmissionRequired is a paid mutator transaction binding the contract method 0x7432d8dd.

Solidity: function setBlockSpecimenMinSubmissionRequired(uint64 minSubmissions) 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) SetMaxNumberOfHashesPer24H

func (_ProofChain *ProofChainTransactorSession) SetMaxNumberOfHashesPer24H(chainId uint64, maxSubmissions uint64) (*types.Transaction, error)

SetMaxNumberOfHashesPer24H is a paid mutator transaction binding the contract method 0xc700c43b.

Solidity: function setMaxNumberOfHashesPer24H(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) SetNumberOfBlocksPer24H

func (_ProofChain *ProofChainTransactorSession) SetNumberOfBlocksPer24H(numberOfBlocks uint64) (*types.Transaction, error)

SetNumberOfBlocksPer24H is a paid mutator transaction binding the contract method 0xf883465a.

Solidity: function setNumberOfBlocksPer24H(uint64 numberOfBlocks) returns()

func (*ProofChainTransactorSession) SetQuorumThreshold

func (_ProofChain *ProofChainTransactorSession) SetQuorumThreshold(quorum uint64) (*types.Transaction, error)

SetQuorumThreshold is a paid mutator transaction binding the contract method 0x7442f33a.

Solidity: function setQuorumThreshold(uint64 quorum) returns()

func (*ProofChainTransactorSession) SetRequiredStakeForRole

func (_ProofChain *ProofChainTransactorSession) SetRequiredStakeForRole(roleName [32]byte, newStakeAmount *big.Int) (*types.Transaction, error)

SetRequiredStakeForRole is a paid mutator transaction binding the contract method 0x4a40372a.

Solidity: function setRequiredStakeForRole(bytes32 roleName, uint128 newStakeAmount) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL