Documentation ¶
Index ¶
- Variables
- type HashConsensus
- type HashConsensusAdminChanged
- type HashConsensusAdminChangedIterator
- type HashConsensusBeaconUpgraded
- type HashConsensusBeaconUpgradedIterator
- type HashConsensusCaller
- func (_HashConsensus *HashConsensusCaller) Dao(opts *bind.CallOpts) (common.Address, error)
- func (_HashConsensus *HashConsensusCaller) GetChainConfig(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetConsensusState(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetConsensusStateForMember(opts *bind.CallOpts, addr common.Address) (HashConsensusMemberConsensusState, error)
- func (_HashConsensus *HashConsensusCaller) GetCurrentFrame(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetFastLaneMembers(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetFrameConfig(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetInitialRefSlot(opts *bind.CallOpts) (*big.Int, error)
- func (_HashConsensus *HashConsensusCaller) GetIsFastLaneMember(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_HashConsensus *HashConsensusCaller) GetIsMember(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_HashConsensus *HashConsensusCaller) GetLastReportingRefSlotState(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetMembers(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) GetQuorum(opts *bind.CallOpts) (*big.Int, error)
- func (_HashConsensus *HashConsensusCaller) GetReportProcessor(opts *bind.CallOpts) (common.Address, error)
- func (_HashConsensus *HashConsensusCaller) GetReportVariants(opts *bind.CallOpts) (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_HashConsensus *HashConsensusCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- type HashConsensusCallerRaw
- type HashConsensusCallerSession
- func (_HashConsensus *HashConsensusCallerSession) Dao() (common.Address, error)
- func (_HashConsensus *HashConsensusCallerSession) GetChainConfig() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetConsensusState() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetConsensusStateForMember(addr common.Address) (HashConsensusMemberConsensusState, error)
- func (_HashConsensus *HashConsensusCallerSession) GetCurrentFrame() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetFastLaneMembers() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetFrameConfig() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetInitialRefSlot() (*big.Int, error)
- func (_HashConsensus *HashConsensusCallerSession) GetIsFastLaneMember(addr common.Address) (bool, error)
- func (_HashConsensus *HashConsensusCallerSession) GetIsMember(addr common.Address) (bool, error)
- func (_HashConsensus *HashConsensusCallerSession) GetLastReportingRefSlotState() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetMembers() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) GetQuorum() (*big.Int, error)
- func (_HashConsensus *HashConsensusCallerSession) GetReportProcessor() (common.Address, error)
- func (_HashConsensus *HashConsensusCallerSession) GetReportVariants() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusCallerSession) Owner() (common.Address, error)
- func (_HashConsensus *HashConsensusCallerSession) ProxiableUUID() ([32]byte, error)
- type HashConsensusConsensusReached
- type HashConsensusConsensusReachedIterator
- type HashConsensusDaoAddressChanged
- type HashConsensusDaoAddressChangedIterator
- type HashConsensusFastLaneConfigSet
- type HashConsensusFastLaneConfigSetIterator
- type HashConsensusFilterer
- func (_HashConsensus *HashConsensusFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*HashConsensusAdminChangedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*HashConsensusBeaconUpgradedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterConsensusReached(opts *bind.FilterOpts, refSlot []*big.Int) (*HashConsensusConsensusReachedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterDaoAddressChanged(opts *bind.FilterOpts) (*HashConsensusDaoAddressChangedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterFastLaneConfigSet(opts *bind.FilterOpts) (*HashConsensusFastLaneConfigSetIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterFrameConfigSet(opts *bind.FilterOpts) (*HashConsensusFrameConfigSetIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterInitialized(opts *bind.FilterOpts) (*HashConsensusInitializedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterMemberAdded(opts *bind.FilterOpts, addr []common.Address) (*HashConsensusMemberAddedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterMemberRemoved(opts *bind.FilterOpts, addr []common.Address) (*HashConsensusMemberRemovedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*HashConsensusOwnershipTransferredIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterQuorumSet(opts *bind.FilterOpts) (*HashConsensusQuorumSetIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterReportProcessorSet(opts *bind.FilterOpts, processor []common.Address, ...) (*HashConsensusReportProcessorSetIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterReportReceived(opts *bind.FilterOpts, refSlot []*big.Int, member []common.Address) (*HashConsensusReportReceivedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*HashConsensusUpgradedIterator, error)
- func (_HashConsensus *HashConsensusFilterer) ParseAdminChanged(log types.Log) (*HashConsensusAdminChanged, error)
- func (_HashConsensus *HashConsensusFilterer) ParseBeaconUpgraded(log types.Log) (*HashConsensusBeaconUpgraded, error)
- func (_HashConsensus *HashConsensusFilterer) ParseConsensusReached(log types.Log) (*HashConsensusConsensusReached, error)
- func (_HashConsensus *HashConsensusFilterer) ParseDaoAddressChanged(log types.Log) (*HashConsensusDaoAddressChanged, error)
- func (_HashConsensus *HashConsensusFilterer) ParseFastLaneConfigSet(log types.Log) (*HashConsensusFastLaneConfigSet, error)
- func (_HashConsensus *HashConsensusFilterer) ParseFrameConfigSet(log types.Log) (*HashConsensusFrameConfigSet, error)
- func (_HashConsensus *HashConsensusFilterer) ParseInitialized(log types.Log) (*HashConsensusInitialized, error)
- func (_HashConsensus *HashConsensusFilterer) ParseMemberAdded(log types.Log) (*HashConsensusMemberAdded, error)
- func (_HashConsensus *HashConsensusFilterer) ParseMemberRemoved(log types.Log) (*HashConsensusMemberRemoved, error)
- func (_HashConsensus *HashConsensusFilterer) ParseOwnershipTransferred(log types.Log) (*HashConsensusOwnershipTransferred, error)
- func (_HashConsensus *HashConsensusFilterer) ParseQuorumSet(log types.Log) (*HashConsensusQuorumSet, error)
- func (_HashConsensus *HashConsensusFilterer) ParseReportProcessorSet(log types.Log) (*HashConsensusReportProcessorSet, error)
- func (_HashConsensus *HashConsensusFilterer) ParseReportReceived(log types.Log) (*HashConsensusReportReceived, error)
- func (_HashConsensus *HashConsensusFilterer) ParseUpgraded(log types.Log) (*HashConsensusUpgraded, error)
- func (_HashConsensus *HashConsensusFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *HashConsensusAdminChanged) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *HashConsensusBeaconUpgraded, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchConsensusReached(opts *bind.WatchOpts, sink chan<- *HashConsensusConsensusReached, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchDaoAddressChanged(opts *bind.WatchOpts, sink chan<- *HashConsensusDaoAddressChanged) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchFastLaneConfigSet(opts *bind.WatchOpts, sink chan<- *HashConsensusFastLaneConfigSet) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchFrameConfigSet(opts *bind.WatchOpts, sink chan<- *HashConsensusFrameConfigSet) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *HashConsensusInitialized) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchMemberAdded(opts *bind.WatchOpts, sink chan<- *HashConsensusMemberAdded, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchMemberRemoved(opts *bind.WatchOpts, sink chan<- *HashConsensusMemberRemoved, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HashConsensusOwnershipTransferred, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchQuorumSet(opts *bind.WatchOpts, sink chan<- *HashConsensusQuorumSet) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchReportProcessorSet(opts *bind.WatchOpts, sink chan<- *HashConsensusReportProcessorSet, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchReportReceived(opts *bind.WatchOpts, sink chan<- *HashConsensusReportReceived, ...) (event.Subscription, error)
- func (_HashConsensus *HashConsensusFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *HashConsensusUpgraded, ...) (event.Subscription, error)
- type HashConsensusFrameConfigSet
- type HashConsensusFrameConfigSetIterator
- type HashConsensusInitialized
- type HashConsensusInitializedIterator
- type HashConsensusMemberAdded
- type HashConsensusMemberAddedIterator
- type HashConsensusMemberConsensusState
- type HashConsensusMemberRemoved
- type HashConsensusMemberRemovedIterator
- type HashConsensusOwnershipTransferred
- type HashConsensusOwnershipTransferredIterator
- type HashConsensusQuorumSet
- type HashConsensusQuorumSetIterator
- type HashConsensusRaw
- func (_HashConsensus *HashConsensusRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HashConsensus *HashConsensusRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HashConsensusReportProcessorSet
- type HashConsensusReportProcessorSetIterator
- type HashConsensusReportReceived
- type HashConsensusReportReceivedIterator
- type HashConsensusSession
- func (_HashConsensus *HashConsensusSession) AddMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) Dao() (common.Address, error)
- func (_HashConsensus *HashConsensusSession) DisableConsensus() (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) GetChainConfig() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetConsensusState() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetConsensusStateForMember(addr common.Address) (HashConsensusMemberConsensusState, error)
- func (_HashConsensus *HashConsensusSession) GetCurrentFrame() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetFastLaneMembers() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetFrameConfig() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetInitialRefSlot() (*big.Int, error)
- func (_HashConsensus *HashConsensusSession) GetIsFastLaneMember(addr common.Address) (bool, error)
- func (_HashConsensus *HashConsensusSession) GetIsMember(addr common.Address) (bool, error)
- func (_HashConsensus *HashConsensusSession) GetLastReportingRefSlotState() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetMembers() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) GetQuorum() (*big.Int, error)
- func (_HashConsensus *HashConsensusSession) GetReportProcessor() (common.Address, error)
- func (_HashConsensus *HashConsensusSession) GetReportVariants() (struct{ ... }, error)
- func (_HashConsensus *HashConsensusSession) Initialize(slotsPerEpoch *big.Int, secondsPerSlot *big.Int, genesisTime *big.Int, ...) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) Owner() (common.Address, error)
- func (_HashConsensus *HashConsensusSession) ProxiableUUID() ([32]byte, error)
- func (_HashConsensus *HashConsensusSession) RemoveMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) RenounceOwnership() (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) SetDaoAddress(_dao common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) SetFastLaneLengthSlots(fastLaneLengthSlots *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) SetFrameConfig(epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) SetQuorum(quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) SetReportProcessor(newProcessor common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) SubmitReport(slot *big.Int, report [32]byte, consensusVersion *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) UpdateInitialEpoch(initialEpoch *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type HashConsensusTransactor
- func (_HashConsensus *HashConsensusTransactor) AddMember(opts *bind.TransactOpts, addr common.Address, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) DisableConsensus(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) Initialize(opts *bind.TransactOpts, slotsPerEpoch *big.Int, secondsPerSlot *big.Int, ...) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) RemoveMember(opts *bind.TransactOpts, addr common.Address, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) SetDaoAddress(opts *bind.TransactOpts, _dao common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) SetFastLaneLengthSlots(opts *bind.TransactOpts, fastLaneLengthSlots *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) SetFrameConfig(opts *bind.TransactOpts, epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) SetQuorum(opts *bind.TransactOpts, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) SetReportProcessor(opts *bind.TransactOpts, newProcessor common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) SubmitReport(opts *bind.TransactOpts, slot *big.Int, report [32]byte, ...) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) UpdateInitialEpoch(opts *bind.TransactOpts, initialEpoch *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type HashConsensusTransactorRaw
- type HashConsensusTransactorSession
- func (_HashConsensus *HashConsensusTransactorSession) AddMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) DisableConsensus() (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) Initialize(slotsPerEpoch *big.Int, secondsPerSlot *big.Int, genesisTime *big.Int, ...) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) RemoveMember(addr common.Address, quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) SetDaoAddress(_dao common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) SetFastLaneLengthSlots(fastLaneLengthSlots *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) SetFrameConfig(epochsPerFrame *big.Int, fastLaneLengthSlots *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) SetQuorum(quorum *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) SetReportProcessor(newProcessor common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) SubmitReport(slot *big.Int, report [32]byte, consensusVersion *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) UpdateInitialEpoch(initialEpoch *big.Int) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_HashConsensus *HashConsensusTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type HashConsensusUpgraded
- type HashConsensusUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var HashConsensusABI = HashConsensusMetaData.ABI
HashConsensusABI is the input ABI used to generate the binding from. Deprecated: Use HashConsensusMetaData.ABI instead.
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\":\"EmptyReport\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EpochsPerFrameCannotBeZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FastLanePeriodCannotBeLongerThanFrame\",\"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\":\"NewProcessorCannotBeTheSame\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonFastLaneMemberCannotReportWithinFastLaneInterval\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonMember\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NumericOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minQuorum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"receivedQuorum\",\"type\":\"uint256\"}],\"name\":\"QuorumTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReportProcessorCannotBeZero\",\"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\":\"address\",\"name\":\"prevProcessor\",\"type\":\"address\"}],\"name\":\"ReportProcessorSet\",\"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\":[],\"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\"},{\"internalType\":\"bool\",\"name\":\"isReportProcessing\",\"type\":\"bool\"}],\"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\":\"structHashConsensus.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\":[],\"name\":\"getLastReportingRefSlotState\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"lastReportRefSlot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastConsensusRefSlot\",\"type\":\"uint256\"}],\"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\":[],\"name\":\"getReportProcessor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\"},{\"internalType\":\"address\",\"name\":\"reportProcessor\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"address\",\"name\":\"newProcessor\",\"type\":\"address\"}],\"name\":\"setReportProcessor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"report\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"consensusVersion\",\"type\":\"uint256\"}],\"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\":\"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 ¶
func (it *HashConsensusAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusAdminChangedIterator) Error ¶
func (it *HashConsensusAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusAdminChangedIterator) Next ¶
func (it *HashConsensusAdminChangedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusBeaconUpgradedIterator) Error ¶
func (it *HashConsensusBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusBeaconUpgradedIterator) Next ¶
func (it *HashConsensusBeaconUpgradedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
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 IsReportProcessing bool }, error)
GetConsensusState is a free data retrieval call binding the contract method 0xea87627d.
Solidity: function getConsensusState() view returns(uint256 refSlot, bytes32 consensusReport, bool isReportProcessing)
func (*HashConsensusCaller) GetConsensusStateForMember ¶
func (_HashConsensus *HashConsensusCaller) GetConsensusStateForMember(opts *bind.CallOpts, addr common.Address) (HashConsensusMemberConsensusState, 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 ¶
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) GetLastReportingRefSlotState ¶
func (_HashConsensus *HashConsensusCaller) GetLastReportingRefSlotState(opts *bind.CallOpts) (struct { LastReportRefSlot *big.Int LastConsensusRefSlot *big.Int }, error)
GetLastReportingRefSlotState is a free data retrieval call binding the contract method 0x2e3be210.
Solidity: function getLastReportingRefSlotState() view returns(uint256 lastReportRefSlot, uint256 lastConsensusRefSlot)
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 ¶
GetQuorum is a free data retrieval call binding the contract method 0xc26c12eb.
Solidity: function getQuorum() view returns(uint256)
func (*HashConsensusCaller) GetReportProcessor ¶
func (_HashConsensus *HashConsensusCaller) GetReportProcessor(opts *bind.CallOpts) (common.Address, error)
GetReportProcessor is a free data retrieval call binding the contract method 0x6d058268.
Solidity: function getReportProcessor() view returns(address)
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) Owner ¶
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 IsReportProcessing bool }, error)
GetConsensusState is a free data retrieval call binding the contract method 0xea87627d.
Solidity: function getConsensusState() view returns(uint256 refSlot, bytes32 consensusReport, bool isReportProcessing)
func (*HashConsensusCallerSession) GetConsensusStateForMember ¶
func (_HashConsensus *HashConsensusCallerSession) GetConsensusStateForMember(addr common.Address) (HashConsensusMemberConsensusState, 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) GetLastReportingRefSlotState ¶
func (_HashConsensus *HashConsensusCallerSession) GetLastReportingRefSlotState() (struct { LastReportRefSlot *big.Int LastConsensusRefSlot *big.Int }, error)
GetLastReportingRefSlotState is a free data retrieval call binding the contract method 0x2e3be210.
Solidity: function getLastReportingRefSlotState() view returns(uint256 lastReportRefSlot, uint256 lastConsensusRefSlot)
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) GetReportProcessor ¶
func (_HashConsensus *HashConsensusCallerSession) GetReportProcessor() (common.Address, error)
GetReportProcessor is a free data retrieval call binding the contract method 0x6d058268.
Solidity: function getReportProcessor() view returns(address)
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) 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 ¶
func (it *HashConsensusConsensusReachedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusConsensusReachedIterator) Error ¶
func (it *HashConsensusConsensusReachedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusConsensusReachedIterator) Next ¶
func (it *HashConsensusConsensusReachedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusDaoAddressChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusDaoAddressChangedIterator) Error ¶
func (it *HashConsensusDaoAddressChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusDaoAddressChangedIterator) Next ¶
func (it *HashConsensusDaoAddressChangedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusFastLaneConfigSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusFastLaneConfigSetIterator) Error ¶
func (it *HashConsensusFastLaneConfigSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusFastLaneConfigSetIterator) Next ¶
func (it *HashConsensusFastLaneConfigSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 0x2b6bc782c916fa763822f1e50c6db0f95dade36d6541a8a4cbe070735b8b226d.
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) FilterReportProcessorSet ¶
func (_HashConsensus *HashConsensusFilterer) FilterReportProcessorSet(opts *bind.FilterOpts, processor []common.Address, prevProcessor []common.Address) (*HashConsensusReportProcessorSetIterator, error)
FilterReportProcessorSet is a free log retrieval operation binding the contract event 0x3b59429457a41af89ea682ac9ed8abb8e99eb5c7d3363d5eedfc6bff6271a81e.
Solidity: event ReportProcessorSet(address indexed processor, address indexed prevProcessor)
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 0x92f77576dabd7bad26f75c36abb3021b5bbb66a3e5688570a0355daddd417488.
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 0x2b6bc782c916fa763822f1e50c6db0f95dade36d6541a8a4cbe070735b8b226d.
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) ParseReportProcessorSet ¶
func (_HashConsensus *HashConsensusFilterer) ParseReportProcessorSet(log types.Log) (*HashConsensusReportProcessorSet, error)
ParseReportProcessorSet is a log parse operation binding the contract event 0x3b59429457a41af89ea682ac9ed8abb8e99eb5c7d3363d5eedfc6bff6271a81e.
Solidity: event ReportProcessorSet(address indexed processor, address indexed prevProcessor)
func (*HashConsensusFilterer) ParseReportReceived ¶
func (_HashConsensus *HashConsensusFilterer) ParseReportReceived(log types.Log) (*HashConsensusReportReceived, error)
ParseReportReceived is a log parse operation binding the contract event 0x92f77576dabd7bad26f75c36abb3021b5bbb66a3e5688570a0355daddd417488.
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 0x2b6bc782c916fa763822f1e50c6db0f95dade36d6541a8a4cbe070735b8b226d.
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) WatchReportProcessorSet ¶
func (_HashConsensus *HashConsensusFilterer) WatchReportProcessorSet(opts *bind.WatchOpts, sink chan<- *HashConsensusReportProcessorSet, processor []common.Address, prevProcessor []common.Address) (event.Subscription, error)
WatchReportProcessorSet is a free log subscription operation binding the contract event 0x3b59429457a41af89ea682ac9ed8abb8e99eb5c7d3363d5eedfc6bff6271a81e.
Solidity: event ReportProcessorSet(address indexed processor, address indexed prevProcessor)
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 0x92f77576dabd7bad26f75c36abb3021b5bbb66a3e5688570a0355daddd417488.
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 ¶
func (it *HashConsensusFrameConfigSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusFrameConfigSetIterator) Error ¶
func (it *HashConsensusFrameConfigSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusFrameConfigSetIterator) Next ¶
func (it *HashConsensusFrameConfigSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusInitializedIterator) Error ¶
func (it *HashConsensusInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusInitializedIterator) Next ¶
func (it *HashConsensusInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusMemberAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusMemberAddedIterator) Error ¶
func (it *HashConsensusMemberAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusMemberAddedIterator) Next ¶
func (it *HashConsensusMemberAddedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type HashConsensusMemberConsensusState ¶
type HashConsensusMemberConsensusState struct { CurrentFrameRefSlot *big.Int CurrentFrameConsensusReport [32]byte IsMember bool IsFastLane bool CanReport bool LastMemberReportRefSlot *big.Int CurrentFrameMemberReport [32]byte }
HashConsensusMemberConsensusState is an auto generated low-level Go binding around an user-defined struct.
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 ¶
func (it *HashConsensusMemberRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusMemberRemovedIterator) Error ¶
func (it *HashConsensusMemberRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusMemberRemovedIterator) Next ¶
func (it *HashConsensusMemberRemovedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusOwnershipTransferredIterator) Error ¶
func (it *HashConsensusOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusOwnershipTransferredIterator) Next ¶
func (it *HashConsensusOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusQuorumSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusQuorumSetIterator) Error ¶
func (it *HashConsensusQuorumSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusQuorumSetIterator) Next ¶
func (it *HashConsensusQuorumSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 HashConsensusReportProcessorSet ¶
type HashConsensusReportProcessorSet struct { Processor common.Address PrevProcessor common.Address Raw types.Log // Blockchain specific contextual infos }
HashConsensusReportProcessorSet represents a ReportProcessorSet event raised by the HashConsensus contract.
type HashConsensusReportProcessorSetIterator ¶
type HashConsensusReportProcessorSetIterator struct { Event *HashConsensusReportProcessorSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HashConsensusReportProcessorSetIterator is returned from FilterReportProcessorSet and is used to iterate over the raw logs and unpacked data for ReportProcessorSet events raised by the HashConsensus contract.
func (*HashConsensusReportProcessorSetIterator) Close ¶
func (it *HashConsensusReportProcessorSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusReportProcessorSetIterator) Error ¶
func (it *HashConsensusReportProcessorSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusReportProcessorSetIterator) Next ¶
func (it *HashConsensusReportProcessorSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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 ¶
func (it *HashConsensusReportReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusReportReceivedIterator) Error ¶
func (it *HashConsensusReportReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusReportReceivedIterator) Next ¶
func (it *HashConsensusReportReceivedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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) 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 IsReportProcessing bool }, error)
GetConsensusState is a free data retrieval call binding the contract method 0xea87627d.
Solidity: function getConsensusState() view returns(uint256 refSlot, bytes32 consensusReport, bool isReportProcessing)
func (*HashConsensusSession) GetConsensusStateForMember ¶
func (_HashConsensus *HashConsensusSession) GetConsensusStateForMember(addr common.Address) (HashConsensusMemberConsensusState, 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) GetLastReportingRefSlotState ¶
func (_HashConsensus *HashConsensusSession) GetLastReportingRefSlotState() (struct { LastReportRefSlot *big.Int LastConsensusRefSlot *big.Int }, error)
GetLastReportingRefSlotState is a free data retrieval call binding the contract method 0x2e3be210.
Solidity: function getLastReportingRefSlotState() view returns(uint256 lastReportRefSlot, uint256 lastConsensusRefSlot)
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) GetReportProcessor ¶
func (_HashConsensus *HashConsensusSession) GetReportProcessor() (common.Address, error)
GetReportProcessor is a free data retrieval call binding the contract method 0x6d058268.
Solidity: function getReportProcessor() view returns(address)
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, reportProcessor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x1f85d8bc.
Solidity: function initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao, address reportProcessor) returns()
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) SetReportProcessor ¶
func (_HashConsensus *HashConsensusSession) SetReportProcessor(newProcessor common.Address) (*types.Transaction, error)
SetReportProcessor is a paid mutator transaction binding the contract method 0xe76cd4e0.
Solidity: function setReportProcessor(address newProcessor) returns()
func (*HashConsensusSession) SubmitReport ¶
func (_HashConsensus *HashConsensusSession) SubmitReport(slot *big.Int, report [32]byte, consensusVersion *big.Int) (*types.Transaction, error)
SubmitReport is a paid mutator transaction binding the contract method 0xe33a8d39.
Solidity: function submitReport(uint256 slot, bytes32 report, uint256 consensusVersion) 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) 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) 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, reportProcessor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x1f85d8bc.
Solidity: function initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao, address reportProcessor) 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) SetReportProcessor ¶
func (_HashConsensus *HashConsensusTransactor) SetReportProcessor(opts *bind.TransactOpts, newProcessor common.Address) (*types.Transaction, error)
SetReportProcessor is a paid mutator transaction binding the contract method 0xe76cd4e0.
Solidity: function setReportProcessor(address newProcessor) returns()
func (*HashConsensusTransactor) SubmitReport ¶
func (_HashConsensus *HashConsensusTransactor) SubmitReport(opts *bind.TransactOpts, slot *big.Int, report [32]byte, consensusVersion *big.Int) (*types.Transaction, error)
SubmitReport is a paid mutator transaction binding the contract method 0xe33a8d39.
Solidity: function submitReport(uint256 slot, bytes32 report, uint256 consensusVersion) 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) 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) 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, reportProcessor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x1f85d8bc.
Solidity: function initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao, address reportProcessor) 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) SetReportProcessor ¶
func (_HashConsensus *HashConsensusTransactorSession) SetReportProcessor(newProcessor common.Address) (*types.Transaction, error)
SetReportProcessor is a paid mutator transaction binding the contract method 0xe76cd4e0.
Solidity: function setReportProcessor(address newProcessor) returns()
func (*HashConsensusTransactorSession) SubmitReport ¶
func (_HashConsensus *HashConsensusTransactorSession) SubmitReport(slot *big.Int, report [32]byte, consensusVersion *big.Int) (*types.Transaction, error)
SubmitReport is a paid mutator transaction binding the contract method 0xe33a8d39.
Solidity: function submitReport(uint256 slot, bytes32 report, uint256 consensusVersion) 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) 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 ¶
func (it *HashConsensusUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HashConsensusUpgradedIterator) Error ¶
func (it *HashConsensusUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HashConsensusUpgradedIterator) Next ¶
func (it *HashConsensusUpgradedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.