hashConsensus

package
v0.1.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HashConsensusABI = HashConsensusMetaData.ABI

HashConsensusABI is the input ABI used to generate the binding from. Deprecated: Use HashConsensusMetaData.ABI instead.

View Source
var HashConsensusMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AddressCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConsensusReportAlreadyProcessing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DaoCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DuplicateMember\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DuplicateReport\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DuplicateReportProcessor\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyReport\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EpochsPerFrameCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FastLanePeriodCannotBeLongerThanFrame\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FrameMultipleCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitialEpochAlreadyArrived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitialEpochIsYetToArrive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitialEpochRefSlotCannotBeEarlierThanProcessingSlot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddr\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSlot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonFastLaneMemberCannotReportWithinFastLaneInterval\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonMember\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NumericOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"refSlot\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"report\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"moduleId\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"frameMultiple\",\"type\":\"uint64\"}],\"name\":\"OracleIndexReportShouldZeroHash\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minQuorum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedQuorum\",\"type\":\"uint256\"}],\"name\":\"QuorumTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReportLenNotEqualReportProcessorsLen\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReportProcessorCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reportProcessor\",\"type\":\"address\"}],\"name\":\"ReportProcessorExist\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reportProcessor\",\"type\":\"address\"}],\"name\":\"ReportProcessorNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StaleReport\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"UnexpectedConsensusVersion\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"refSlot\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"report\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"support\",\"type\":\"uint256\"}],\"name\":\"ConsensusReached\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_oldDao\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_dao\",\"type\":\"address\"}],\"name\":\"DaoAddressChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fastLaneLengthSlots\",\"type\":\"uint256\"}],\"name\":\"FastLaneConfigSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newInitialEpoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newEpochsPerFrame\",\"type\":\"uint256\"}],\"name\":\"FrameConfigSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTotalMembers\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newQuorum\",\"type\":\"uint256\"}],\"name\":\"MemberAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTotalMembers\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newQuorum\",\"type\":\"uint256\"}],\"name\":\"MemberRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newQuorum\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalMembers\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"prevQuorum\",\"type\":\"uint256\"}],\"name\":\"QuorumSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"processor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"moduleId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"frameMultiple\",\"type\":\"uint64\"}],\"name\":\"ReportProcessorAdd\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldProcessor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newProcessor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"moduleId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"frameMultiple\",\"type\":\"uint64\"}],\"name\":\"ReportProcessorUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"refSlot\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"member\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"report\",\"type\":\"bytes32[]\"}],\"name\":\"ReportReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"quorum\",\"type\":\"uint256\"}],\"name\":\"addMember\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newProcessor\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"frameMultiple\",\"type\":\"uint64\"}],\"name\":\"addReportProcessor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dao\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableConsensus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainConfig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"slotsPerEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secondsPerSlot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"genesisTime\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConsensusState\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"refSlot\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"consensusReport\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getConsensusStateForMember\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"currentFrameRefSlot\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"currentFrameConsensusReport\",\"type\":\"bytes32[]\"},{\"internalType\":\"bool\",\"name\":\"isMember\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isFastLane\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"canReport\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"lastMemberReportRefSlot\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"currentFrameMemberReport\",\"type\":\"bytes32[]\"}],\"internalType\":\"structMultiHashConsensus.MemberConsensusState\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentFrame\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"refSlot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reportProcessingDeadlineSlot\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFastLaneMembers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"addresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"lastReportedRefSlots\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFrameConfig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"initialEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPerFrame\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fastLaneLengthSlots\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInitialRefSlot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getIsFastLaneMember\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getIsMember\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reportProcessor\",\"type\":\"address\"}],\"name\":\"getIsReportProcessing\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getIsReportProcessor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMembers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"addresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"lastReportedRefSlots\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getQuorum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reportProcessor\",\"type\":\"address\"}],\"name\":\"getReportModuleId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReportProcessors\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"processor\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"frameMultiple\",\"type\":\"uint64\"}],\"internalType\":\"structMultiHashConsensus.ReportProcessor[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReportVariants\",\"outputs\":[{\"internalType\":\"bytes32[][]\",\"name\":\"variants\",\"type\":\"bytes32[][]\"},{\"internalType\":\"uint256[]\",\"name\":\"support\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slotsPerEpoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secondsPerSlot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"genesisTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochsPerFrame\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fastLaneLengthSlots\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_dao\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"moduleId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"isModuleReport\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"quorum\",\"type\":\"uint256\"}],\"name\":\"removeMember\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dao\",\"type\":\"address\"}],\"name\":\"setDaoAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"fastLaneLengthSlots\",\"type\":\"uint256\"}],\"name\":\"setFastLaneLengthSlots\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochsPerFrame\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fastLaneLengthSlots\",\"type\":\"uint256\"}],\"name\":\"setFrameConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"quorum\",\"type\":\"uint256\"}],\"name\":\"setQuorum\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"report\",\"type\":\"bytes32[]\"}],\"name\":\"submitReport\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"initialEpoch\",\"type\":\"uint256\"}],\"name\":\"updateInitialEpoch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oldProcessor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newProcessor\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"frameMultiple\",\"type\":\"uint64\"}],\"name\":\"updateReportProcessor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

HashConsensusMetaData contains all meta data concerning the HashConsensus contract.

Functions

This section is empty.

Types

type HashConsensus

type HashConsensus struct {
	HashConsensusCaller     // Read-only binding to the contract
	HashConsensusTransactor // Write-only binding to the contract
	HashConsensusFilterer   // Log filterer for contract events
}

HashConsensus is an auto generated Go binding around an Ethereum contract.

func NewHashConsensus

func NewHashConsensus(address common.Address, backend bind.ContractBackend) (*HashConsensus, error)

NewHashConsensus creates a new instance of HashConsensus, bound to a specific deployed contract.

type HashConsensusAdminChanged

type HashConsensusAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

HashConsensusAdminChanged represents a AdminChanged event raised by the HashConsensus contract.

type HashConsensusAdminChangedIterator

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

HashConsensusAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the HashConsensus contract.

func (*HashConsensusAdminChangedIterator) Close

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

func (*HashConsensusAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusAdminChangedIterator) 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 HashConsensusBeaconUpgraded

type HashConsensusBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

HashConsensusBeaconUpgraded represents a BeaconUpgraded event raised by the HashConsensus contract.

type HashConsensusBeaconUpgradedIterator

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

HashConsensusBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the HashConsensus contract.

func (*HashConsensusBeaconUpgradedIterator) Close

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

func (*HashConsensusBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusBeaconUpgradedIterator) 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 HashConsensusCaller

type HashConsensusCaller struct {
	// contains filtered or unexported fields
}

HashConsensusCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHashConsensusCaller

func NewHashConsensusCaller(address common.Address, caller bind.ContractCaller) (*HashConsensusCaller, error)

NewHashConsensusCaller creates a new read-only instance of HashConsensus, bound to a specific deployed contract.

func (*HashConsensusCaller) Dao

func (_HashConsensus *HashConsensusCaller) Dao(opts *bind.CallOpts) (common.Address, error)

Dao is a free data retrieval call binding the contract method 0x4162169f.

Solidity: function dao() view returns(address)

func (*HashConsensusCaller) GetChainConfig

func (_HashConsensus *HashConsensusCaller) GetChainConfig(opts *bind.CallOpts) (struct {
	SlotsPerEpoch  *big.Int
	SecondsPerSlot *big.Int
	GenesisTime    *big.Int
}, error)

GetChainConfig is a free data retrieval call binding the contract method 0x606c0c94.

Solidity: function getChainConfig() view returns(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime)

func (*HashConsensusCaller) GetConsensusState

func (_HashConsensus *HashConsensusCaller) GetConsensusState(opts *bind.CallOpts) (struct {
	RefSlot         *big.Int
	ConsensusReport [][32]byte
}, error)

GetConsensusState is a free data retrieval call binding the contract method 0xea87627d.

Solidity: function getConsensusState() view returns(uint256 refSlot, bytes32[] consensusReport)

func (*HashConsensusCaller) GetConsensusStateForMember

func (_HashConsensus *HashConsensusCaller) GetConsensusStateForMember(opts *bind.CallOpts, addr common.Address) (MultiHashConsensusMemberConsensusState, error)

GetConsensusStateForMember is a free data retrieval call binding the contract method 0x60e61801.

Solidity: function getConsensusStateForMember(address addr) view returns((uint256,bytes32[],bool,bool,bool,uint256,bytes32[]) result)

func (*HashConsensusCaller) GetCurrentFrame

func (_HashConsensus *HashConsensusCaller) GetCurrentFrame(opts *bind.CallOpts) (struct {
	RefSlot                      *big.Int
	ReportProcessingDeadlineSlot *big.Int
}, error)

GetCurrentFrame is a free data retrieval call binding the contract method 0x72f79b13.

Solidity: function getCurrentFrame() view returns(uint256 refSlot, uint256 reportProcessingDeadlineSlot)

func (*HashConsensusCaller) GetFastLaneMembers

func (_HashConsensus *HashConsensusCaller) GetFastLaneMembers(opts *bind.CallOpts) (struct {
	Addresses            []common.Address
	LastReportedRefSlots []*big.Int
}, error)

GetFastLaneMembers is a free data retrieval call binding the contract method 0x433ab1f3.

Solidity: function getFastLaneMembers() view returns(address[] addresses, uint256[] lastReportedRefSlots)

func (*HashConsensusCaller) GetFrameConfig

func (_HashConsensus *HashConsensusCaller) GetFrameConfig(opts *bind.CallOpts) (struct {
	InitialEpoch        *big.Int
	EpochsPerFrame      *big.Int
	FastLaneLengthSlots *big.Int
}, error)

GetFrameConfig is a free data retrieval call binding the contract method 0x6fb1bf66.

Solidity: function getFrameConfig() view returns(uint256 initialEpoch, uint256 epochsPerFrame, uint256 fastLaneLengthSlots)

func (*HashConsensusCaller) GetInitialRefSlot

func (_HashConsensus *HashConsensusCaller) GetInitialRefSlot(opts *bind.CallOpts) (*big.Int, error)

GetInitialRefSlot is a free data retrieval call binding the contract method 0x6095012f.

Solidity: function getInitialRefSlot() view returns(uint256)

func (*HashConsensusCaller) GetIsFastLaneMember

func (_HashConsensus *HashConsensusCaller) GetIsFastLaneMember(opts *bind.CallOpts, addr common.Address) (bool, error)

GetIsFastLaneMember is a free data retrieval call binding the contract method 0x20b4d751.

Solidity: function getIsFastLaneMember(address addr) view returns(bool)

func (*HashConsensusCaller) GetIsMember

func (_HashConsensus *HashConsensusCaller) GetIsMember(opts *bind.CallOpts, addr common.Address) (bool, error)

GetIsMember is a free data retrieval call binding the contract method 0x1951c037.

Solidity: function getIsMember(address addr) view returns(bool)

func (*HashConsensusCaller) GetIsReportProcessing added in v0.1.0

func (_HashConsensus *HashConsensusCaller) GetIsReportProcessing(opts *bind.CallOpts, _reportProcessor common.Address) (bool, error)

GetIsReportProcessing is a free data retrieval call binding the contract method 0x948073c6.

Solidity: function getIsReportProcessing(address _reportProcessor) view returns(bool)

func (*HashConsensusCaller) GetIsReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusCaller) GetIsReportProcessor(opts *bind.CallOpts, addr common.Address) (bool, error)

GetIsReportProcessor is a free data retrieval call binding the contract method 0x2117f9a9.

Solidity: function getIsReportProcessor(address addr) view returns(bool)

func (*HashConsensusCaller) GetMembers

func (_HashConsensus *HashConsensusCaller) GetMembers(opts *bind.CallOpts) (struct {
	Addresses            []common.Address
	LastReportedRefSlots []*big.Int
}, error)

GetMembers is a free data retrieval call binding the contract method 0x9eab5253.

Solidity: function getMembers() view returns(address[] addresses, uint256[] lastReportedRefSlots)

func (*HashConsensusCaller) GetQuorum

func (_HashConsensus *HashConsensusCaller) GetQuorum(opts *bind.CallOpts) (*big.Int, error)

GetQuorum is a free data retrieval call binding the contract method 0xc26c12eb.

Solidity: function getQuorum() view returns(uint256)

func (*HashConsensusCaller) GetReportModuleId added in v0.1.0

func (_HashConsensus *HashConsensusCaller) GetReportModuleId(opts *bind.CallOpts, reportProcessor common.Address) (*big.Int, error)

GetReportModuleId is a free data retrieval call binding the contract method 0x1300f68d.

Solidity: function getReportModuleId(address reportProcessor) view returns(uint256)

func (*HashConsensusCaller) GetReportProcessors added in v0.1.0

func (_HashConsensus *HashConsensusCaller) GetReportProcessors(opts *bind.CallOpts) ([]MultiHashConsensusReportProcessor, error)

GetReportProcessors is a free data retrieval call binding the contract method 0xb6ac0119.

Solidity: function getReportProcessors() view returns((address,uint64)[])

func (*HashConsensusCaller) GetReportVariants

func (_HashConsensus *HashConsensusCaller) GetReportVariants(opts *bind.CallOpts) (struct {
	Variants [][][32]byte
	Support  []*big.Int
}, error)

GetReportVariants is a free data retrieval call binding the contract method 0x2fd2d750.

Solidity: function getReportVariants() view returns(bytes32[][] variants, uint256[] support)

func (*HashConsensusCaller) IsModuleReport added in v0.1.0

func (_HashConsensus *HashConsensusCaller) IsModuleReport(opts *bind.CallOpts, moduleId *big.Int, slot *big.Int) (bool, error)

IsModuleReport is a free data retrieval call binding the contract method 0x314abbed.

Solidity: function isModuleReport(uint256 moduleId, uint256 slot) view returns(bool)

func (*HashConsensusCaller) Owner

func (_HashConsensus *HashConsensusCaller) 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 (*HashConsensusCaller) ProxiableUUID

func (_HashConsensus *HashConsensusCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

type HashConsensusCallerRaw

type HashConsensusCallerRaw struct {
	Contract *HashConsensusCaller // Generic read-only contract binding to access the raw methods on
}

HashConsensusCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HashConsensusCallerRaw) Call

func (_HashConsensus *HashConsensusCallerRaw) 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 HashConsensusCallerSession

type HashConsensusCallerSession struct {
	Contract *HashConsensusCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

HashConsensusCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*HashConsensusCallerSession) Dao

func (_HashConsensus *HashConsensusCallerSession) Dao() (common.Address, error)

Dao is a free data retrieval call binding the contract method 0x4162169f.

Solidity: function dao() view returns(address)

func (*HashConsensusCallerSession) GetChainConfig

func (_HashConsensus *HashConsensusCallerSession) GetChainConfig() (struct {
	SlotsPerEpoch  *big.Int
	SecondsPerSlot *big.Int
	GenesisTime    *big.Int
}, error)

GetChainConfig is a free data retrieval call binding the contract method 0x606c0c94.

Solidity: function getChainConfig() view returns(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime)

func (*HashConsensusCallerSession) GetConsensusState

func (_HashConsensus *HashConsensusCallerSession) GetConsensusState() (struct {
	RefSlot         *big.Int
	ConsensusReport [][32]byte
}, error)

GetConsensusState is a free data retrieval call binding the contract method 0xea87627d.

Solidity: function getConsensusState() view returns(uint256 refSlot, bytes32[] consensusReport)

func (*HashConsensusCallerSession) GetConsensusStateForMember

func (_HashConsensus *HashConsensusCallerSession) GetConsensusStateForMember(addr common.Address) (MultiHashConsensusMemberConsensusState, error)

GetConsensusStateForMember is a free data retrieval call binding the contract method 0x60e61801.

Solidity: function getConsensusStateForMember(address addr) view returns((uint256,bytes32[],bool,bool,bool,uint256,bytes32[]) result)

func (*HashConsensusCallerSession) GetCurrentFrame

func (_HashConsensus *HashConsensusCallerSession) GetCurrentFrame() (struct {
	RefSlot                      *big.Int
	ReportProcessingDeadlineSlot *big.Int
}, error)

GetCurrentFrame is a free data retrieval call binding the contract method 0x72f79b13.

Solidity: function getCurrentFrame() view returns(uint256 refSlot, uint256 reportProcessingDeadlineSlot)

func (*HashConsensusCallerSession) GetFastLaneMembers

func (_HashConsensus *HashConsensusCallerSession) GetFastLaneMembers() (struct {
	Addresses            []common.Address
	LastReportedRefSlots []*big.Int
}, error)

GetFastLaneMembers is a free data retrieval call binding the contract method 0x433ab1f3.

Solidity: function getFastLaneMembers() view returns(address[] addresses, uint256[] lastReportedRefSlots)

func (*HashConsensusCallerSession) GetFrameConfig

func (_HashConsensus *HashConsensusCallerSession) GetFrameConfig() (struct {
	InitialEpoch        *big.Int
	EpochsPerFrame      *big.Int
	FastLaneLengthSlots *big.Int
}, error)

GetFrameConfig is a free data retrieval call binding the contract method 0x6fb1bf66.

Solidity: function getFrameConfig() view returns(uint256 initialEpoch, uint256 epochsPerFrame, uint256 fastLaneLengthSlots)

func (*HashConsensusCallerSession) GetInitialRefSlot

func (_HashConsensus *HashConsensusCallerSession) GetInitialRefSlot() (*big.Int, error)

GetInitialRefSlot is a free data retrieval call binding the contract method 0x6095012f.

Solidity: function getInitialRefSlot() view returns(uint256)

func (*HashConsensusCallerSession) GetIsFastLaneMember

func (_HashConsensus *HashConsensusCallerSession) GetIsFastLaneMember(addr common.Address) (bool, error)

GetIsFastLaneMember is a free data retrieval call binding the contract method 0x20b4d751.

Solidity: function getIsFastLaneMember(address addr) view returns(bool)

func (*HashConsensusCallerSession) GetIsMember

func (_HashConsensus *HashConsensusCallerSession) GetIsMember(addr common.Address) (bool, error)

GetIsMember is a free data retrieval call binding the contract method 0x1951c037.

Solidity: function getIsMember(address addr) view returns(bool)

func (*HashConsensusCallerSession) GetIsReportProcessing added in v0.1.0

func (_HashConsensus *HashConsensusCallerSession) GetIsReportProcessing(_reportProcessor common.Address) (bool, error)

GetIsReportProcessing is a free data retrieval call binding the contract method 0x948073c6.

Solidity: function getIsReportProcessing(address _reportProcessor) view returns(bool)

func (*HashConsensusCallerSession) GetIsReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusCallerSession) GetIsReportProcessor(addr common.Address) (bool, error)

GetIsReportProcessor is a free data retrieval call binding the contract method 0x2117f9a9.

Solidity: function getIsReportProcessor(address addr) view returns(bool)

func (*HashConsensusCallerSession) GetMembers

func (_HashConsensus *HashConsensusCallerSession) GetMembers() (struct {
	Addresses            []common.Address
	LastReportedRefSlots []*big.Int
}, error)

GetMembers is a free data retrieval call binding the contract method 0x9eab5253.

Solidity: function getMembers() view returns(address[] addresses, uint256[] lastReportedRefSlots)

func (*HashConsensusCallerSession) GetQuorum

func (_HashConsensus *HashConsensusCallerSession) GetQuorum() (*big.Int, error)

GetQuorum is a free data retrieval call binding the contract method 0xc26c12eb.

Solidity: function getQuorum() view returns(uint256)

func (*HashConsensusCallerSession) GetReportModuleId added in v0.1.0

func (_HashConsensus *HashConsensusCallerSession) GetReportModuleId(reportProcessor common.Address) (*big.Int, error)

GetReportModuleId is a free data retrieval call binding the contract method 0x1300f68d.

Solidity: function getReportModuleId(address reportProcessor) view returns(uint256)

func (*HashConsensusCallerSession) GetReportProcessors added in v0.1.0

func (_HashConsensus *HashConsensusCallerSession) GetReportProcessors() ([]MultiHashConsensusReportProcessor, error)

GetReportProcessors is a free data retrieval call binding the contract method 0xb6ac0119.

Solidity: function getReportProcessors() view returns((address,uint64)[])

func (*HashConsensusCallerSession) GetReportVariants

func (_HashConsensus *HashConsensusCallerSession) GetReportVariants() (struct {
	Variants [][][32]byte
	Support  []*big.Int
}, error)

GetReportVariants is a free data retrieval call binding the contract method 0x2fd2d750.

Solidity: function getReportVariants() view returns(bytes32[][] variants, uint256[] support)

func (*HashConsensusCallerSession) IsModuleReport added in v0.1.0

func (_HashConsensus *HashConsensusCallerSession) IsModuleReport(moduleId *big.Int, slot *big.Int) (bool, error)

IsModuleReport is a free data retrieval call binding the contract method 0x314abbed.

Solidity: function isModuleReport(uint256 moduleId, uint256 slot) view returns(bool)

func (*HashConsensusCallerSession) Owner

func (_HashConsensus *HashConsensusCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*HashConsensusCallerSession) ProxiableUUID

func (_HashConsensus *HashConsensusCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

type HashConsensusConsensusReached

type HashConsensusConsensusReached struct {
	RefSlot *big.Int
	Report  [][32]byte
	Support *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

HashConsensusConsensusReached represents a ConsensusReached event raised by the HashConsensus contract.

type HashConsensusConsensusReachedIterator

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

HashConsensusConsensusReachedIterator is returned from FilterConsensusReached and is used to iterate over the raw logs and unpacked data for ConsensusReached events raised by the HashConsensus contract.

func (*HashConsensusConsensusReachedIterator) Close

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

func (*HashConsensusConsensusReachedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusConsensusReachedIterator) 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 HashConsensusDaoAddressChanged

type HashConsensusDaoAddressChanged struct {
	OldDao common.Address
	Dao    common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

HashConsensusDaoAddressChanged represents a DaoAddressChanged event raised by the HashConsensus contract.

type HashConsensusDaoAddressChangedIterator

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

HashConsensusDaoAddressChangedIterator is returned from FilterDaoAddressChanged and is used to iterate over the raw logs and unpacked data for DaoAddressChanged events raised by the HashConsensus contract.

func (*HashConsensusDaoAddressChangedIterator) Close

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

func (*HashConsensusDaoAddressChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusDaoAddressChangedIterator) 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 HashConsensusFastLaneConfigSet

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

HashConsensusFastLaneConfigSet represents a FastLaneConfigSet event raised by the HashConsensus contract.

type HashConsensusFastLaneConfigSetIterator

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

HashConsensusFastLaneConfigSetIterator is returned from FilterFastLaneConfigSet and is used to iterate over the raw logs and unpacked data for FastLaneConfigSet events raised by the HashConsensus contract.

func (*HashConsensusFastLaneConfigSetIterator) Close

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

func (*HashConsensusFastLaneConfigSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusFastLaneConfigSetIterator) 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 HashConsensusFilterer

type HashConsensusFilterer struct {
	// contains filtered or unexported fields
}

HashConsensusFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHashConsensusFilterer

func NewHashConsensusFilterer(address common.Address, filterer bind.ContractFilterer) (*HashConsensusFilterer, error)

NewHashConsensusFilterer creates a new log filterer instance of HashConsensus, bound to a specific deployed contract.

func (*HashConsensusFilterer) FilterAdminChanged

func (_HashConsensus *HashConsensusFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*HashConsensusAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*HashConsensusFilterer) FilterBeaconUpgraded

func (_HashConsensus *HashConsensusFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*HashConsensusBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*HashConsensusFilterer) FilterConsensusReached

func (_HashConsensus *HashConsensusFilterer) FilterConsensusReached(opts *bind.FilterOpts, refSlot []*big.Int) (*HashConsensusConsensusReachedIterator, error)

FilterConsensusReached is a free log retrieval operation binding the contract event 0xbc6c822d332d57d2feaf07942537eceae55d981169f087793da8adae1e38466b.

Solidity: event ConsensusReached(uint256 indexed refSlot, bytes32[] report, uint256 support)

func (*HashConsensusFilterer) FilterDaoAddressChanged

func (_HashConsensus *HashConsensusFilterer) FilterDaoAddressChanged(opts *bind.FilterOpts) (*HashConsensusDaoAddressChangedIterator, error)

FilterDaoAddressChanged is a free log retrieval operation binding the contract event 0xd5b3b0e6e0098a82fa04cf04faff9109f98389a10c80f20eb7186b9274168946.

Solidity: event DaoAddressChanged(address _oldDao, address _dao)

func (*HashConsensusFilterer) FilterFastLaneConfigSet

func (_HashConsensus *HashConsensusFilterer) FilterFastLaneConfigSet(opts *bind.FilterOpts) (*HashConsensusFastLaneConfigSetIterator, error)

FilterFastLaneConfigSet is a free log retrieval operation binding the contract event 0xab8b22776606cc75c47792d32af7e63ed9ca74e85c9780a7fc7994fdbd6fde2b.

Solidity: event FastLaneConfigSet(uint256 fastLaneLengthSlots)

func (*HashConsensusFilterer) FilterFrameConfigSet

func (_HashConsensus *HashConsensusFilterer) FilterFrameConfigSet(opts *bind.FilterOpts) (*HashConsensusFrameConfigSetIterator, error)

FilterFrameConfigSet is a free log retrieval operation binding the contract event 0xe343afa5219eaf28c50ce9cd658acd69cbe28b34fa773eb3a523e28007f64afc.

Solidity: event FrameConfigSet(uint256 newInitialEpoch, uint256 newEpochsPerFrame)

func (*HashConsensusFilterer) FilterInitialized

func (_HashConsensus *HashConsensusFilterer) FilterInitialized(opts *bind.FilterOpts) (*HashConsensusInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*HashConsensusFilterer) FilterMemberAdded

func (_HashConsensus *HashConsensusFilterer) FilterMemberAdded(opts *bind.FilterOpts, addr []common.Address) (*HashConsensusMemberAddedIterator, error)

FilterMemberAdded is a free log retrieval operation binding the contract event 0xe17e0e2cd88e2144dd54f3d823c30d4569092bcac1aabaec1129883e9cc12d2e.

Solidity: event MemberAdded(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)

func (*HashConsensusFilterer) FilterMemberRemoved

func (_HashConsensus *HashConsensusFilterer) FilterMemberRemoved(opts *bind.FilterOpts, addr []common.Address) (*HashConsensusMemberRemovedIterator, error)

FilterMemberRemoved is a free log retrieval operation binding the contract event 0xa182730913550d27dc6c5813fad297cb0785871bec3d0152c5650e59c5d39d60.

Solidity: event MemberRemoved(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)

func (*HashConsensusFilterer) FilterOwnershipTransferred

func (_HashConsensus *HashConsensusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HashConsensusOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HashConsensusFilterer) FilterQuorumSet

func (_HashConsensus *HashConsensusFilterer) FilterQuorumSet(opts *bind.FilterOpts) (*HashConsensusQuorumSetIterator, error)

FilterQuorumSet is a free log retrieval operation binding the contract event 0x9f40cfd22fe91777c78f252bd21a710f3fb007dc2f321876891e7644ba0ae175.

Solidity: event QuorumSet(uint256 newQuorum, uint256 totalMembers, uint256 prevQuorum)

func (*HashConsensusFilterer) FilterReportProcessorAdd added in v0.1.0

func (_HashConsensus *HashConsensusFilterer) FilterReportProcessorAdd(opts *bind.FilterOpts, processor []common.Address, moduleId []*big.Int) (*HashConsensusReportProcessorAddIterator, error)

FilterReportProcessorAdd is a free log retrieval operation binding the contract event 0x1d16c9cc876bd665652757423fbbd76c5cbf2eb88fe07207794b52f14e2a54a9.

Solidity: event ReportProcessorAdd(address indexed processor, uint256 indexed moduleId, uint64 frameMultiple)

func (*HashConsensusFilterer) FilterReportProcessorUpdate added in v0.1.0

func (_HashConsensus *HashConsensusFilterer) FilterReportProcessorUpdate(opts *bind.FilterOpts, oldProcessor []common.Address, newProcessor []common.Address, moduleId []*big.Int) (*HashConsensusReportProcessorUpdateIterator, error)

FilterReportProcessorUpdate is a free log retrieval operation binding the contract event 0x3694893f40a88007c11b4f279b54afbb1b9f8c70d8552aafc76a4ec2c1ef7d70.

Solidity: event ReportProcessorUpdate(address indexed oldProcessor, address indexed newProcessor, uint256 indexed moduleId, uint64 frameMultiple)

func (*HashConsensusFilterer) FilterReportReceived

func (_HashConsensus *HashConsensusFilterer) FilterReportReceived(opts *bind.FilterOpts, refSlot []*big.Int, member []common.Address) (*HashConsensusReportReceivedIterator, error)

FilterReportReceived is a free log retrieval operation binding the contract event 0xd6f9dc41f1a10bb63a22fd32e563b3c0b1b6c79d95c41a404a86f6fc16939a34.

Solidity: event ReportReceived(uint256 indexed refSlot, address indexed member, bytes32[] report)

func (*HashConsensusFilterer) FilterUpgraded

func (_HashConsensus *HashConsensusFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*HashConsensusUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*HashConsensusFilterer) ParseAdminChanged

func (_HashConsensus *HashConsensusFilterer) ParseAdminChanged(log types.Log) (*HashConsensusAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*HashConsensusFilterer) ParseBeaconUpgraded

func (_HashConsensus *HashConsensusFilterer) ParseBeaconUpgraded(log types.Log) (*HashConsensusBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*HashConsensusFilterer) ParseConsensusReached

func (_HashConsensus *HashConsensusFilterer) ParseConsensusReached(log types.Log) (*HashConsensusConsensusReached, error)

ParseConsensusReached is a log parse operation binding the contract event 0xbc6c822d332d57d2feaf07942537eceae55d981169f087793da8adae1e38466b.

Solidity: event ConsensusReached(uint256 indexed refSlot, bytes32[] report, uint256 support)

func (*HashConsensusFilterer) ParseDaoAddressChanged

func (_HashConsensus *HashConsensusFilterer) ParseDaoAddressChanged(log types.Log) (*HashConsensusDaoAddressChanged, error)

ParseDaoAddressChanged is a log parse operation binding the contract event 0xd5b3b0e6e0098a82fa04cf04faff9109f98389a10c80f20eb7186b9274168946.

Solidity: event DaoAddressChanged(address _oldDao, address _dao)

func (*HashConsensusFilterer) ParseFastLaneConfigSet

func (_HashConsensus *HashConsensusFilterer) ParseFastLaneConfigSet(log types.Log) (*HashConsensusFastLaneConfigSet, error)

ParseFastLaneConfigSet is a log parse operation binding the contract event 0xab8b22776606cc75c47792d32af7e63ed9ca74e85c9780a7fc7994fdbd6fde2b.

Solidity: event FastLaneConfigSet(uint256 fastLaneLengthSlots)

func (*HashConsensusFilterer) ParseFrameConfigSet

func (_HashConsensus *HashConsensusFilterer) ParseFrameConfigSet(log types.Log) (*HashConsensusFrameConfigSet, error)

ParseFrameConfigSet is a log parse operation binding the contract event 0xe343afa5219eaf28c50ce9cd658acd69cbe28b34fa773eb3a523e28007f64afc.

Solidity: event FrameConfigSet(uint256 newInitialEpoch, uint256 newEpochsPerFrame)

func (*HashConsensusFilterer) ParseInitialized

func (_HashConsensus *HashConsensusFilterer) ParseInitialized(log types.Log) (*HashConsensusInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*HashConsensusFilterer) ParseMemberAdded

func (_HashConsensus *HashConsensusFilterer) ParseMemberAdded(log types.Log) (*HashConsensusMemberAdded, error)

ParseMemberAdded is a log parse operation binding the contract event 0xe17e0e2cd88e2144dd54f3d823c30d4569092bcac1aabaec1129883e9cc12d2e.

Solidity: event MemberAdded(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)

func (*HashConsensusFilterer) ParseMemberRemoved

func (_HashConsensus *HashConsensusFilterer) ParseMemberRemoved(log types.Log) (*HashConsensusMemberRemoved, error)

ParseMemberRemoved is a log parse operation binding the contract event 0xa182730913550d27dc6c5813fad297cb0785871bec3d0152c5650e59c5d39d60.

Solidity: event MemberRemoved(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)

func (*HashConsensusFilterer) ParseOwnershipTransferred

func (_HashConsensus *HashConsensusFilterer) ParseOwnershipTransferred(log types.Log) (*HashConsensusOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*HashConsensusFilterer) ParseQuorumSet

func (_HashConsensus *HashConsensusFilterer) ParseQuorumSet(log types.Log) (*HashConsensusQuorumSet, error)

ParseQuorumSet is a log parse operation binding the contract event 0x9f40cfd22fe91777c78f252bd21a710f3fb007dc2f321876891e7644ba0ae175.

Solidity: event QuorumSet(uint256 newQuorum, uint256 totalMembers, uint256 prevQuorum)

func (*HashConsensusFilterer) ParseReportProcessorAdd added in v0.1.0

func (_HashConsensus *HashConsensusFilterer) ParseReportProcessorAdd(log types.Log) (*HashConsensusReportProcessorAdd, error)

ParseReportProcessorAdd is a log parse operation binding the contract event 0x1d16c9cc876bd665652757423fbbd76c5cbf2eb88fe07207794b52f14e2a54a9.

Solidity: event ReportProcessorAdd(address indexed processor, uint256 indexed moduleId, uint64 frameMultiple)

func (*HashConsensusFilterer) ParseReportProcessorUpdate added in v0.1.0

func (_HashConsensus *HashConsensusFilterer) ParseReportProcessorUpdate(log types.Log) (*HashConsensusReportProcessorUpdate, error)

ParseReportProcessorUpdate is a log parse operation binding the contract event 0x3694893f40a88007c11b4f279b54afbb1b9f8c70d8552aafc76a4ec2c1ef7d70.

Solidity: event ReportProcessorUpdate(address indexed oldProcessor, address indexed newProcessor, uint256 indexed moduleId, uint64 frameMultiple)

func (*HashConsensusFilterer) ParseReportReceived

func (_HashConsensus *HashConsensusFilterer) ParseReportReceived(log types.Log) (*HashConsensusReportReceived, error)

ParseReportReceived is a log parse operation binding the contract event 0xd6f9dc41f1a10bb63a22fd32e563b3c0b1b6c79d95c41a404a86f6fc16939a34.

Solidity: event ReportReceived(uint256 indexed refSlot, address indexed member, bytes32[] report)

func (*HashConsensusFilterer) ParseUpgraded

func (_HashConsensus *HashConsensusFilterer) ParseUpgraded(log types.Log) (*HashConsensusUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*HashConsensusFilterer) WatchAdminChanged

func (_HashConsensus *HashConsensusFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *HashConsensusAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*HashConsensusFilterer) WatchBeaconUpgraded

func (_HashConsensus *HashConsensusFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *HashConsensusBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*HashConsensusFilterer) WatchConsensusReached

func (_HashConsensus *HashConsensusFilterer) WatchConsensusReached(opts *bind.WatchOpts, sink chan<- *HashConsensusConsensusReached, refSlot []*big.Int) (event.Subscription, error)

WatchConsensusReached is a free log subscription operation binding the contract event 0xbc6c822d332d57d2feaf07942537eceae55d981169f087793da8adae1e38466b.

Solidity: event ConsensusReached(uint256 indexed refSlot, bytes32[] report, uint256 support)

func (*HashConsensusFilterer) WatchDaoAddressChanged

func (_HashConsensus *HashConsensusFilterer) WatchDaoAddressChanged(opts *bind.WatchOpts, sink chan<- *HashConsensusDaoAddressChanged) (event.Subscription, error)

WatchDaoAddressChanged is a free log subscription operation binding the contract event 0xd5b3b0e6e0098a82fa04cf04faff9109f98389a10c80f20eb7186b9274168946.

Solidity: event DaoAddressChanged(address _oldDao, address _dao)

func (*HashConsensusFilterer) WatchFastLaneConfigSet

func (_HashConsensus *HashConsensusFilterer) WatchFastLaneConfigSet(opts *bind.WatchOpts, sink chan<- *HashConsensusFastLaneConfigSet) (event.Subscription, error)

WatchFastLaneConfigSet is a free log subscription operation binding the contract event 0xab8b22776606cc75c47792d32af7e63ed9ca74e85c9780a7fc7994fdbd6fde2b.

Solidity: event FastLaneConfigSet(uint256 fastLaneLengthSlots)

func (*HashConsensusFilterer) WatchFrameConfigSet

func (_HashConsensus *HashConsensusFilterer) WatchFrameConfigSet(opts *bind.WatchOpts, sink chan<- *HashConsensusFrameConfigSet) (event.Subscription, error)

WatchFrameConfigSet is a free log subscription operation binding the contract event 0xe343afa5219eaf28c50ce9cd658acd69cbe28b34fa773eb3a523e28007f64afc.

Solidity: event FrameConfigSet(uint256 newInitialEpoch, uint256 newEpochsPerFrame)

func (*HashConsensusFilterer) WatchInitialized

func (_HashConsensus *HashConsensusFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *HashConsensusInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*HashConsensusFilterer) WatchMemberAdded

func (_HashConsensus *HashConsensusFilterer) WatchMemberAdded(opts *bind.WatchOpts, sink chan<- *HashConsensusMemberAdded, addr []common.Address) (event.Subscription, error)

WatchMemberAdded is a free log subscription operation binding the contract event 0xe17e0e2cd88e2144dd54f3d823c30d4569092bcac1aabaec1129883e9cc12d2e.

Solidity: event MemberAdded(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)

func (*HashConsensusFilterer) WatchMemberRemoved

func (_HashConsensus *HashConsensusFilterer) WatchMemberRemoved(opts *bind.WatchOpts, sink chan<- *HashConsensusMemberRemoved, addr []common.Address) (event.Subscription, error)

WatchMemberRemoved is a free log subscription operation binding the contract event 0xa182730913550d27dc6c5813fad297cb0785871bec3d0152c5650e59c5d39d60.

Solidity: event MemberRemoved(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)

func (*HashConsensusFilterer) WatchOwnershipTransferred

func (_HashConsensus *HashConsensusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HashConsensusOwnershipTransferred, 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 (*HashConsensusFilterer) WatchQuorumSet

func (_HashConsensus *HashConsensusFilterer) WatchQuorumSet(opts *bind.WatchOpts, sink chan<- *HashConsensusQuorumSet) (event.Subscription, error)

WatchQuorumSet is a free log subscription operation binding the contract event 0x9f40cfd22fe91777c78f252bd21a710f3fb007dc2f321876891e7644ba0ae175.

Solidity: event QuorumSet(uint256 newQuorum, uint256 totalMembers, uint256 prevQuorum)

func (*HashConsensusFilterer) WatchReportProcessorAdd added in v0.1.0

func (_HashConsensus *HashConsensusFilterer) WatchReportProcessorAdd(opts *bind.WatchOpts, sink chan<- *HashConsensusReportProcessorAdd, processor []common.Address, moduleId []*big.Int) (event.Subscription, error)

WatchReportProcessorAdd is a free log subscription operation binding the contract event 0x1d16c9cc876bd665652757423fbbd76c5cbf2eb88fe07207794b52f14e2a54a9.

Solidity: event ReportProcessorAdd(address indexed processor, uint256 indexed moduleId, uint64 frameMultiple)

func (*HashConsensusFilterer) WatchReportProcessorUpdate added in v0.1.0

func (_HashConsensus *HashConsensusFilterer) WatchReportProcessorUpdate(opts *bind.WatchOpts, sink chan<- *HashConsensusReportProcessorUpdate, oldProcessor []common.Address, newProcessor []common.Address, moduleId []*big.Int) (event.Subscription, error)

WatchReportProcessorUpdate is a free log subscription operation binding the contract event 0x3694893f40a88007c11b4f279b54afbb1b9f8c70d8552aafc76a4ec2c1ef7d70.

Solidity: event ReportProcessorUpdate(address indexed oldProcessor, address indexed newProcessor, uint256 indexed moduleId, uint64 frameMultiple)

func (*HashConsensusFilterer) WatchReportReceived

func (_HashConsensus *HashConsensusFilterer) WatchReportReceived(opts *bind.WatchOpts, sink chan<- *HashConsensusReportReceived, refSlot []*big.Int, member []common.Address) (event.Subscription, error)

WatchReportReceived is a free log subscription operation binding the contract event 0xd6f9dc41f1a10bb63a22fd32e563b3c0b1b6c79d95c41a404a86f6fc16939a34.

Solidity: event ReportReceived(uint256 indexed refSlot, address indexed member, bytes32[] report)

func (*HashConsensusFilterer) WatchUpgraded

func (_HashConsensus *HashConsensusFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *HashConsensusUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type HashConsensusFrameConfigSet

type HashConsensusFrameConfigSet struct {
	NewInitialEpoch   *big.Int
	NewEpochsPerFrame *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

HashConsensusFrameConfigSet represents a FrameConfigSet event raised by the HashConsensus contract.

type HashConsensusFrameConfigSetIterator

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

HashConsensusFrameConfigSetIterator is returned from FilterFrameConfigSet and is used to iterate over the raw logs and unpacked data for FrameConfigSet events raised by the HashConsensus contract.

func (*HashConsensusFrameConfigSetIterator) Close

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

func (*HashConsensusFrameConfigSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusFrameConfigSetIterator) 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 HashConsensusInitialized

type HashConsensusInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

HashConsensusInitialized represents a Initialized event raised by the HashConsensus contract.

type HashConsensusInitializedIterator

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

HashConsensusInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the HashConsensus contract.

func (*HashConsensusInitializedIterator) Close

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

func (*HashConsensusInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusInitializedIterator) 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 HashConsensusMemberAdded

type HashConsensusMemberAdded struct {
	Addr            common.Address
	NewTotalMembers *big.Int
	NewQuorum       *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

HashConsensusMemberAdded represents a MemberAdded event raised by the HashConsensus contract.

type HashConsensusMemberAddedIterator

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

HashConsensusMemberAddedIterator is returned from FilterMemberAdded and is used to iterate over the raw logs and unpacked data for MemberAdded events raised by the HashConsensus contract.

func (*HashConsensusMemberAddedIterator) Close

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

func (*HashConsensusMemberAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusMemberAddedIterator) 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 HashConsensusMemberRemoved

type HashConsensusMemberRemoved struct {
	Addr            common.Address
	NewTotalMembers *big.Int
	NewQuorum       *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

HashConsensusMemberRemoved represents a MemberRemoved event raised by the HashConsensus contract.

type HashConsensusMemberRemovedIterator

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

HashConsensusMemberRemovedIterator is returned from FilterMemberRemoved and is used to iterate over the raw logs and unpacked data for MemberRemoved events raised by the HashConsensus contract.

func (*HashConsensusMemberRemovedIterator) Close

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

func (*HashConsensusMemberRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusMemberRemovedIterator) 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 HashConsensusOwnershipTransferred

type HashConsensusOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

HashConsensusOwnershipTransferred represents a OwnershipTransferred event raised by the HashConsensus contract.

type HashConsensusOwnershipTransferredIterator

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

HashConsensusOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the HashConsensus contract.

func (*HashConsensusOwnershipTransferredIterator) Close

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

func (*HashConsensusOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusOwnershipTransferredIterator) 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 HashConsensusQuorumSet

type HashConsensusQuorumSet struct {
	NewQuorum    *big.Int
	TotalMembers *big.Int
	PrevQuorum   *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

HashConsensusQuorumSet represents a QuorumSet event raised by the HashConsensus contract.

type HashConsensusQuorumSetIterator

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

HashConsensusQuorumSetIterator is returned from FilterQuorumSet and is used to iterate over the raw logs and unpacked data for QuorumSet events raised by the HashConsensus contract.

func (*HashConsensusQuorumSetIterator) Close

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

func (*HashConsensusQuorumSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusQuorumSetIterator) 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 HashConsensusRaw

type HashConsensusRaw struct {
	Contract *HashConsensus // Generic contract binding to access the raw methods on
}

HashConsensusRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HashConsensusRaw) Call

func (_HashConsensus *HashConsensusRaw) 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 (*HashConsensusRaw) Transact

func (_HashConsensus *HashConsensusRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HashConsensusRaw) Transfer

func (_HashConsensus *HashConsensusRaw) 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 HashConsensusReportProcessorAdd added in v0.1.0

type HashConsensusReportProcessorAdd struct {
	Processor     common.Address
	ModuleId      *big.Int
	FrameMultiple uint64
	Raw           types.Log // Blockchain specific contextual infos
}

HashConsensusReportProcessorAdd represents a ReportProcessorAdd event raised by the HashConsensus contract.

type HashConsensusReportProcessorAddIterator added in v0.1.0

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

HashConsensusReportProcessorAddIterator is returned from FilterReportProcessorAdd and is used to iterate over the raw logs and unpacked data for ReportProcessorAdd events raised by the HashConsensus contract.

func (*HashConsensusReportProcessorAddIterator) Close added in v0.1.0

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

func (*HashConsensusReportProcessorAddIterator) Error added in v0.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusReportProcessorAddIterator) Next added in v0.1.0

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 HashConsensusReportProcessorUpdate added in v0.1.0

type HashConsensusReportProcessorUpdate struct {
	OldProcessor  common.Address
	NewProcessor  common.Address
	ModuleId      *big.Int
	FrameMultiple uint64
	Raw           types.Log // Blockchain specific contextual infos
}

HashConsensusReportProcessorUpdate represents a ReportProcessorUpdate event raised by the HashConsensus contract.

type HashConsensusReportProcessorUpdateIterator added in v0.1.0

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

HashConsensusReportProcessorUpdateIterator is returned from FilterReportProcessorUpdate and is used to iterate over the raw logs and unpacked data for ReportProcessorUpdate events raised by the HashConsensus contract.

func (*HashConsensusReportProcessorUpdateIterator) Close added in v0.1.0

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

func (*HashConsensusReportProcessorUpdateIterator) Error added in v0.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusReportProcessorUpdateIterator) Next added in v0.1.0

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 HashConsensusReportReceived

type HashConsensusReportReceived struct {
	RefSlot *big.Int
	Member  common.Address
	Report  [][32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

HashConsensusReportReceived represents a ReportReceived event raised by the HashConsensus contract.

type HashConsensusReportReceivedIterator

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

HashConsensusReportReceivedIterator is returned from FilterReportReceived and is used to iterate over the raw logs and unpacked data for ReportReceived events raised by the HashConsensus contract.

func (*HashConsensusReportReceivedIterator) Close

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

func (*HashConsensusReportReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusReportReceivedIterator) 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 HashConsensusSession

type HashConsensusSession struct {
	Contract     *HashConsensus    // 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
}

HashConsensusSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*HashConsensusSession) AddMember

func (_HashConsensus *HashConsensusSession) AddMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)

AddMember is a paid mutator transaction binding the contract method 0x98041ea3.

Solidity: function addMember(address addr, uint256 quorum) returns()

func (*HashConsensusSession) AddReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusSession) AddReportProcessor(newProcessor common.Address, frameMultiple uint64) (*types.Transaction, error)

AddReportProcessor is a paid mutator transaction binding the contract method 0xf292a786.

Solidity: function addReportProcessor(address newProcessor, uint64 frameMultiple) returns()

func (*HashConsensusSession) Dao

func (_HashConsensus *HashConsensusSession) Dao() (common.Address, error)

Dao is a free data retrieval call binding the contract method 0x4162169f.

Solidity: function dao() view returns(address)

func (*HashConsensusSession) DisableConsensus

func (_HashConsensus *HashConsensusSession) DisableConsensus() (*types.Transaction, error)

DisableConsensus is a paid mutator transaction binding the contract method 0xad231cb2.

Solidity: function disableConsensus() returns()

func (*HashConsensusSession) GetChainConfig

func (_HashConsensus *HashConsensusSession) GetChainConfig() (struct {
	SlotsPerEpoch  *big.Int
	SecondsPerSlot *big.Int
	GenesisTime    *big.Int
}, error)

GetChainConfig is a free data retrieval call binding the contract method 0x606c0c94.

Solidity: function getChainConfig() view returns(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime)

func (*HashConsensusSession) GetConsensusState

func (_HashConsensus *HashConsensusSession) GetConsensusState() (struct {
	RefSlot         *big.Int
	ConsensusReport [][32]byte
}, error)

GetConsensusState is a free data retrieval call binding the contract method 0xea87627d.

Solidity: function getConsensusState() view returns(uint256 refSlot, bytes32[] consensusReport)

func (*HashConsensusSession) GetConsensusStateForMember

func (_HashConsensus *HashConsensusSession) GetConsensusStateForMember(addr common.Address) (MultiHashConsensusMemberConsensusState, error)

GetConsensusStateForMember is a free data retrieval call binding the contract method 0x60e61801.

Solidity: function getConsensusStateForMember(address addr) view returns((uint256,bytes32[],bool,bool,bool,uint256,bytes32[]) result)

func (*HashConsensusSession) GetCurrentFrame

func (_HashConsensus *HashConsensusSession) GetCurrentFrame() (struct {
	RefSlot                      *big.Int
	ReportProcessingDeadlineSlot *big.Int
}, error)

GetCurrentFrame is a free data retrieval call binding the contract method 0x72f79b13.

Solidity: function getCurrentFrame() view returns(uint256 refSlot, uint256 reportProcessingDeadlineSlot)

func (*HashConsensusSession) GetFastLaneMembers

func (_HashConsensus *HashConsensusSession) GetFastLaneMembers() (struct {
	Addresses            []common.Address
	LastReportedRefSlots []*big.Int
}, error)

GetFastLaneMembers is a free data retrieval call binding the contract method 0x433ab1f3.

Solidity: function getFastLaneMembers() view returns(address[] addresses, uint256[] lastReportedRefSlots)

func (*HashConsensusSession) GetFrameConfig

func (_HashConsensus *HashConsensusSession) GetFrameConfig() (struct {
	InitialEpoch        *big.Int
	EpochsPerFrame      *big.Int
	FastLaneLengthSlots *big.Int
}, error)

GetFrameConfig is a free data retrieval call binding the contract method 0x6fb1bf66.

Solidity: function getFrameConfig() view returns(uint256 initialEpoch, uint256 epochsPerFrame, uint256 fastLaneLengthSlots)

func (*HashConsensusSession) GetInitialRefSlot

func (_HashConsensus *HashConsensusSession) GetInitialRefSlot() (*big.Int, error)

GetInitialRefSlot is a free data retrieval call binding the contract method 0x6095012f.

Solidity: function getInitialRefSlot() view returns(uint256)

func (*HashConsensusSession) GetIsFastLaneMember

func (_HashConsensus *HashConsensusSession) GetIsFastLaneMember(addr common.Address) (bool, error)

GetIsFastLaneMember is a free data retrieval call binding the contract method 0x20b4d751.

Solidity: function getIsFastLaneMember(address addr) view returns(bool)

func (*HashConsensusSession) GetIsMember

func (_HashConsensus *HashConsensusSession) GetIsMember(addr common.Address) (bool, error)

GetIsMember is a free data retrieval call binding the contract method 0x1951c037.

Solidity: function getIsMember(address addr) view returns(bool)

func (*HashConsensusSession) GetIsReportProcessing added in v0.1.0

func (_HashConsensus *HashConsensusSession) GetIsReportProcessing(_reportProcessor common.Address) (bool, error)

GetIsReportProcessing is a free data retrieval call binding the contract method 0x948073c6.

Solidity: function getIsReportProcessing(address _reportProcessor) view returns(bool)

func (*HashConsensusSession) GetIsReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusSession) GetIsReportProcessor(addr common.Address) (bool, error)

GetIsReportProcessor is a free data retrieval call binding the contract method 0x2117f9a9.

Solidity: function getIsReportProcessor(address addr) view returns(bool)

func (*HashConsensusSession) GetMembers

func (_HashConsensus *HashConsensusSession) GetMembers() (struct {
	Addresses            []common.Address
	LastReportedRefSlots []*big.Int
}, error)

GetMembers is a free data retrieval call binding the contract method 0x9eab5253.

Solidity: function getMembers() view returns(address[] addresses, uint256[] lastReportedRefSlots)

func (*HashConsensusSession) GetQuorum

func (_HashConsensus *HashConsensusSession) GetQuorum() (*big.Int, error)

GetQuorum is a free data retrieval call binding the contract method 0xc26c12eb.

Solidity: function getQuorum() view returns(uint256)

func (*HashConsensusSession) GetReportModuleId added in v0.1.0

func (_HashConsensus *HashConsensusSession) GetReportModuleId(reportProcessor common.Address) (*big.Int, error)

GetReportModuleId is a free data retrieval call binding the contract method 0x1300f68d.

Solidity: function getReportModuleId(address reportProcessor) view returns(uint256)

func (*HashConsensusSession) GetReportProcessors added in v0.1.0

func (_HashConsensus *HashConsensusSession) GetReportProcessors() ([]MultiHashConsensusReportProcessor, error)

GetReportProcessors is a free data retrieval call binding the contract method 0xb6ac0119.

Solidity: function getReportProcessors() view returns((address,uint64)[])

func (*HashConsensusSession) GetReportVariants

func (_HashConsensus *HashConsensusSession) GetReportVariants() (struct {
	Variants [][][32]byte
	Support  []*big.Int
}, error)

GetReportVariants is a free data retrieval call binding the contract method 0x2fd2d750.

Solidity: function getReportVariants() view returns(bytes32[][] variants, uint256[] support)

func (*HashConsensusSession) Initialize

func (_HashConsensus *HashConsensusSession) Initialize(slotsPerEpoch *big.Int, secondsPerSlot *big.Int, genesisTime *big.Int, epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int, _dao common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x427a61ba.

Solidity: function initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao) returns()

func (*HashConsensusSession) IsModuleReport added in v0.1.0

func (_HashConsensus *HashConsensusSession) IsModuleReport(moduleId *big.Int, slot *big.Int) (bool, error)

IsModuleReport is a free data retrieval call binding the contract method 0x314abbed.

Solidity: function isModuleReport(uint256 moduleId, uint256 slot) view returns(bool)

func (*HashConsensusSession) Owner

func (_HashConsensus *HashConsensusSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*HashConsensusSession) ProxiableUUID

func (_HashConsensus *HashConsensusSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*HashConsensusSession) RemoveMember

func (_HashConsensus *HashConsensusSession) RemoveMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)

RemoveMember is a paid mutator transaction binding the contract method 0x16f6f03e.

Solidity: function removeMember(address addr, uint256 quorum) returns()

func (*HashConsensusSession) RenounceOwnership

func (_HashConsensus *HashConsensusSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*HashConsensusSession) SetDaoAddress

func (_HashConsensus *HashConsensusSession) SetDaoAddress(_dao common.Address) (*types.Transaction, error)

SetDaoAddress is a paid mutator transaction binding the contract method 0x9a3cac6a.

Solidity: function setDaoAddress(address _dao) returns()

func (*HashConsensusSession) SetFastLaneLengthSlots

func (_HashConsensus *HashConsensusSession) SetFastLaneLengthSlots(fastLaneLengthSlots *big.Int) (*types.Transaction, error)

SetFastLaneLengthSlots is a paid mutator transaction binding the contract method 0x99229f58.

Solidity: function setFastLaneLengthSlots(uint256 fastLaneLengthSlots) returns()

func (*HashConsensusSession) SetFrameConfig

func (_HashConsensus *HashConsensusSession) SetFrameConfig(epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int) (*types.Transaction, error)

SetFrameConfig is a paid mutator transaction binding the contract method 0x34aa6753.

Solidity: function setFrameConfig(uint256 epochsPerFrame, uint256 fastLaneLengthSlots) returns()

func (*HashConsensusSession) SetQuorum

func (_HashConsensus *HashConsensusSession) SetQuorum(quorum *big.Int) (*types.Transaction, error)

SetQuorum is a paid mutator transaction binding the contract method 0xc1ba4e59.

Solidity: function setQuorum(uint256 quorum) returns()

func (*HashConsensusSession) SubmitReport

func (_HashConsensus *HashConsensusSession) SubmitReport(slot *big.Int, report [][32]byte) (*types.Transaction, error)

SubmitReport is a paid mutator transaction binding the contract method 0x56e2ca0a.

Solidity: function submitReport(uint256 slot, bytes32[] report) returns()

func (*HashConsensusSession) TransferOwnership

func (_HashConsensus *HashConsensusSession) 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 (*HashConsensusSession) UpdateInitialEpoch

func (_HashConsensus *HashConsensusSession) UpdateInitialEpoch(initialEpoch *big.Int) (*types.Transaction, error)

UpdateInitialEpoch is a paid mutator transaction binding the contract method 0x323a41f6.

Solidity: function updateInitialEpoch(uint256 initialEpoch) returns()

func (*HashConsensusSession) UpdateReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusSession) UpdateReportProcessor(oldProcessor common.Address, newProcessor common.Address, frameMultiple uint64) (*types.Transaction, error)

UpdateReportProcessor is a paid mutator transaction binding the contract method 0x486e7b9e.

Solidity: function updateReportProcessor(address oldProcessor, address newProcessor, uint64 frameMultiple) returns()

func (*HashConsensusSession) UpgradeTo

func (_HashConsensus *HashConsensusSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*HashConsensusSession) UpgradeToAndCall

func (_HashConsensus *HashConsensusSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type HashConsensusTransactor

type HashConsensusTransactor struct {
	// contains filtered or unexported fields
}

HashConsensusTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHashConsensusTransactor

func NewHashConsensusTransactor(address common.Address, transactor bind.ContractTransactor) (*HashConsensusTransactor, error)

NewHashConsensusTransactor creates a new write-only instance of HashConsensus, bound to a specific deployed contract.

func (*HashConsensusTransactor) AddMember

func (_HashConsensus *HashConsensusTransactor) AddMember(opts *bind.TransactOpts, addr common.Address, quorum *big.Int) (*types.Transaction, error)

AddMember is a paid mutator transaction binding the contract method 0x98041ea3.

Solidity: function addMember(address addr, uint256 quorum) returns()

func (*HashConsensusTransactor) AddReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusTransactor) AddReportProcessor(opts *bind.TransactOpts, newProcessor common.Address, frameMultiple uint64) (*types.Transaction, error)

AddReportProcessor is a paid mutator transaction binding the contract method 0xf292a786.

Solidity: function addReportProcessor(address newProcessor, uint64 frameMultiple) returns()

func (*HashConsensusTransactor) DisableConsensus

func (_HashConsensus *HashConsensusTransactor) DisableConsensus(opts *bind.TransactOpts) (*types.Transaction, error)

DisableConsensus is a paid mutator transaction binding the contract method 0xad231cb2.

Solidity: function disableConsensus() returns()

func (*HashConsensusTransactor) Initialize

func (_HashConsensus *HashConsensusTransactor) Initialize(opts *bind.TransactOpts, slotsPerEpoch *big.Int, secondsPerSlot *big.Int, genesisTime *big.Int, epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int, _dao common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x427a61ba.

Solidity: function initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao) returns()

func (*HashConsensusTransactor) RemoveMember

func (_HashConsensus *HashConsensusTransactor) RemoveMember(opts *bind.TransactOpts, addr common.Address, quorum *big.Int) (*types.Transaction, error)

RemoveMember is a paid mutator transaction binding the contract method 0x16f6f03e.

Solidity: function removeMember(address addr, uint256 quorum) returns()

func (*HashConsensusTransactor) RenounceOwnership

func (_HashConsensus *HashConsensusTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*HashConsensusTransactor) SetDaoAddress

func (_HashConsensus *HashConsensusTransactor) SetDaoAddress(opts *bind.TransactOpts, _dao common.Address) (*types.Transaction, error)

SetDaoAddress is a paid mutator transaction binding the contract method 0x9a3cac6a.

Solidity: function setDaoAddress(address _dao) returns()

func (*HashConsensusTransactor) SetFastLaneLengthSlots

func (_HashConsensus *HashConsensusTransactor) SetFastLaneLengthSlots(opts *bind.TransactOpts, fastLaneLengthSlots *big.Int) (*types.Transaction, error)

SetFastLaneLengthSlots is a paid mutator transaction binding the contract method 0x99229f58.

Solidity: function setFastLaneLengthSlots(uint256 fastLaneLengthSlots) returns()

func (*HashConsensusTransactor) SetFrameConfig

func (_HashConsensus *HashConsensusTransactor) SetFrameConfig(opts *bind.TransactOpts, epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int) (*types.Transaction, error)

SetFrameConfig is a paid mutator transaction binding the contract method 0x34aa6753.

Solidity: function setFrameConfig(uint256 epochsPerFrame, uint256 fastLaneLengthSlots) returns()

func (*HashConsensusTransactor) SetQuorum

func (_HashConsensus *HashConsensusTransactor) SetQuorum(opts *bind.TransactOpts, quorum *big.Int) (*types.Transaction, error)

SetQuorum is a paid mutator transaction binding the contract method 0xc1ba4e59.

Solidity: function setQuorum(uint256 quorum) returns()

func (*HashConsensusTransactor) SubmitReport

func (_HashConsensus *HashConsensusTransactor) SubmitReport(opts *bind.TransactOpts, slot *big.Int, report [][32]byte) (*types.Transaction, error)

SubmitReport is a paid mutator transaction binding the contract method 0x56e2ca0a.

Solidity: function submitReport(uint256 slot, bytes32[] report) returns()

func (*HashConsensusTransactor) TransferOwnership

func (_HashConsensus *HashConsensusTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*HashConsensusTransactor) UpdateInitialEpoch

func (_HashConsensus *HashConsensusTransactor) UpdateInitialEpoch(opts *bind.TransactOpts, initialEpoch *big.Int) (*types.Transaction, error)

UpdateInitialEpoch is a paid mutator transaction binding the contract method 0x323a41f6.

Solidity: function updateInitialEpoch(uint256 initialEpoch) returns()

func (*HashConsensusTransactor) UpdateReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusTransactor) UpdateReportProcessor(opts *bind.TransactOpts, oldProcessor common.Address, newProcessor common.Address, frameMultiple uint64) (*types.Transaction, error)

UpdateReportProcessor is a paid mutator transaction binding the contract method 0x486e7b9e.

Solidity: function updateReportProcessor(address oldProcessor, address newProcessor, uint64 frameMultiple) returns()

func (*HashConsensusTransactor) UpgradeTo

func (_HashConsensus *HashConsensusTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*HashConsensusTransactor) UpgradeToAndCall

func (_HashConsensus *HashConsensusTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type HashConsensusTransactorRaw

type HashConsensusTransactorRaw struct {
	Contract *HashConsensusTransactor // Generic write-only contract binding to access the raw methods on
}

HashConsensusTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HashConsensusTransactorRaw) Transact

func (_HashConsensus *HashConsensusTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HashConsensusTransactorRaw) Transfer

func (_HashConsensus *HashConsensusTransactorRaw) 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 HashConsensusTransactorSession

type HashConsensusTransactorSession struct {
	Contract     *HashConsensusTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

HashConsensusTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*HashConsensusTransactorSession) AddMember

func (_HashConsensus *HashConsensusTransactorSession) AddMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)

AddMember is a paid mutator transaction binding the contract method 0x98041ea3.

Solidity: function addMember(address addr, uint256 quorum) returns()

func (*HashConsensusTransactorSession) AddReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusTransactorSession) AddReportProcessor(newProcessor common.Address, frameMultiple uint64) (*types.Transaction, error)

AddReportProcessor is a paid mutator transaction binding the contract method 0xf292a786.

Solidity: function addReportProcessor(address newProcessor, uint64 frameMultiple) returns()

func (*HashConsensusTransactorSession) DisableConsensus

func (_HashConsensus *HashConsensusTransactorSession) DisableConsensus() (*types.Transaction, error)

DisableConsensus is a paid mutator transaction binding the contract method 0xad231cb2.

Solidity: function disableConsensus() returns()

func (*HashConsensusTransactorSession) Initialize

func (_HashConsensus *HashConsensusTransactorSession) Initialize(slotsPerEpoch *big.Int, secondsPerSlot *big.Int, genesisTime *big.Int, epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int, _dao common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x427a61ba.

Solidity: function initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao) returns()

func (*HashConsensusTransactorSession) RemoveMember

func (_HashConsensus *HashConsensusTransactorSession) RemoveMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)

RemoveMember is a paid mutator transaction binding the contract method 0x16f6f03e.

Solidity: function removeMember(address addr, uint256 quorum) returns()

func (*HashConsensusTransactorSession) RenounceOwnership

func (_HashConsensus *HashConsensusTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*HashConsensusTransactorSession) SetDaoAddress

func (_HashConsensus *HashConsensusTransactorSession) SetDaoAddress(_dao common.Address) (*types.Transaction, error)

SetDaoAddress is a paid mutator transaction binding the contract method 0x9a3cac6a.

Solidity: function setDaoAddress(address _dao) returns()

func (*HashConsensusTransactorSession) SetFastLaneLengthSlots

func (_HashConsensus *HashConsensusTransactorSession) SetFastLaneLengthSlots(fastLaneLengthSlots *big.Int) (*types.Transaction, error)

SetFastLaneLengthSlots is a paid mutator transaction binding the contract method 0x99229f58.

Solidity: function setFastLaneLengthSlots(uint256 fastLaneLengthSlots) returns()

func (*HashConsensusTransactorSession) SetFrameConfig

func (_HashConsensus *HashConsensusTransactorSession) SetFrameConfig(epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int) (*types.Transaction, error)

SetFrameConfig is a paid mutator transaction binding the contract method 0x34aa6753.

Solidity: function setFrameConfig(uint256 epochsPerFrame, uint256 fastLaneLengthSlots) returns()

func (*HashConsensusTransactorSession) SetQuorum

func (_HashConsensus *HashConsensusTransactorSession) SetQuorum(quorum *big.Int) (*types.Transaction, error)

SetQuorum is a paid mutator transaction binding the contract method 0xc1ba4e59.

Solidity: function setQuorum(uint256 quorum) returns()

func (*HashConsensusTransactorSession) SubmitReport

func (_HashConsensus *HashConsensusTransactorSession) SubmitReport(slot *big.Int, report [][32]byte) (*types.Transaction, error)

SubmitReport is a paid mutator transaction binding the contract method 0x56e2ca0a.

Solidity: function submitReport(uint256 slot, bytes32[] report) returns()

func (*HashConsensusTransactorSession) TransferOwnership

func (_HashConsensus *HashConsensusTransactorSession) 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 (*HashConsensusTransactorSession) UpdateInitialEpoch

func (_HashConsensus *HashConsensusTransactorSession) UpdateInitialEpoch(initialEpoch *big.Int) (*types.Transaction, error)

UpdateInitialEpoch is a paid mutator transaction binding the contract method 0x323a41f6.

Solidity: function updateInitialEpoch(uint256 initialEpoch) returns()

func (*HashConsensusTransactorSession) UpdateReportProcessor added in v0.1.0

func (_HashConsensus *HashConsensusTransactorSession) UpdateReportProcessor(oldProcessor common.Address, newProcessor common.Address, frameMultiple uint64) (*types.Transaction, error)

UpdateReportProcessor is a paid mutator transaction binding the contract method 0x486e7b9e.

Solidity: function updateReportProcessor(address oldProcessor, address newProcessor, uint64 frameMultiple) returns()

func (*HashConsensusTransactorSession) UpgradeTo

func (_HashConsensus *HashConsensusTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*HashConsensusTransactorSession) UpgradeToAndCall

func (_HashConsensus *HashConsensusTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type HashConsensusUpgraded

type HashConsensusUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

HashConsensusUpgraded represents a Upgraded event raised by the HashConsensus contract.

type HashConsensusUpgradedIterator

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

HashConsensusUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the HashConsensus contract.

func (*HashConsensusUpgradedIterator) Close

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

func (*HashConsensusUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HashConsensusUpgradedIterator) 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 MultiHashConsensusMemberConsensusState added in v0.1.0

type MultiHashConsensusMemberConsensusState struct {
	CurrentFrameRefSlot         *big.Int
	CurrentFrameConsensusReport [][32]byte
	IsMember                    bool
	IsFastLane                  bool
	CanReport                   bool
	LastMemberReportRefSlot     *big.Int
	CurrentFrameMemberReport    [][32]byte
}

MultiHashConsensusMemberConsensusState is an auto generated low-level Go binding around an user-defined struct.

type MultiHashConsensusReportProcessor added in v0.1.0

type MultiHashConsensusReportProcessor struct {
	Processor     common.Address
	FrameMultiple uint64
}

MultiHashConsensusReportProcessor is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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