MultiHashConsensus
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
1 additional
variable
Balances ($0.00)
No balances found for "MultiHashConsensus"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MultiHashConsensus"
ABI
ABI objects
Getter at block 20985823 getConsensusState() view returns (uint256 refSlot, bytes32[] consensusReport) getCurrentFrame() view returns (uint256 refSlot, uint256 reportProcessingDeadlineSlot) getFastLaneMembers() view returns (address[] addresses, uint256[] lastReportedRefSlots) getInitialRefSlot() view returns (uint256) getReportVariants() view returns (bytes32[][] variants, uint256[] support)
dao() view returns (address)
0x0000000000000000000000000000000000000000
getChainConfig() view returns (uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime)
(slotsPerEpoch=0, secondsPerSlot=0, genesisTime=0)
getFrameConfig() view returns (uint256 initialEpoch, uint256 epochsPerFrame, uint256 fastLaneLengthSlots)
(initialEpoch=0, epochsPerFrame=0, fastLaneLengthSlots=0)
getMembers() view returns (address[] addresses, uint256[] lastReportedRefSlots)
(addresses=[], lastReportedRefSlots=[])
getQuorum() view returns (uint256)
0
getReportProcessors() view returns (struct MultiHashConsensusReportProcessor[])
[]
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
getConsensusStateForMember(address addr) view returns (struct MultiHashConsensusMemberConsensusState result)
getIsFastLaneMember(address addr) view returns (bool)
getIsMember(address addr) view returns (bool)
getIsReportProcessing(address _reportProcessor) view returns (bool)
getIsReportProcessor(address addr) view returns (bool)
getReportModuleId(address reportProcessor) view returns (uint256)
isModuleReport(uint256 moduleId, uint256 slot) view returns (bool)
moduleReportFrameMultiple(uint256 moduleId) view returns (bool isCurrentFrameReport, uint64 frameMultiple, uint256 nextCanReportSlot)
State-modifying
Events addMember(address addr, uint256 quorum)
addReportProcessor(address newProcessor, uint64 frameMultiple)
disableConsensus()
initialize(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address _dao)
removeMember(address addr, uint256 quorum)
renounceOwnership()
setDaoAddress(address _dao)
setFastLaneLengthSlots(uint256 fastLaneLengthSlots)
setFrameConfig(uint256 epochsPerFrame, uint256 fastLaneLengthSlots)
setQuorum(uint256 quorum)
submitReport(uint256 slot, bytes32[] report)
transferOwnership(address newOwner)
updateInitialEpoch(uint256 initialEpoch)
updateReportProcessor(address oldProcessor, address newProcessor, uint64 frameMultiple)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
ConsensusReached(uint256 indexed refSlot, bytes32[] report, uint256 support)
ConsensusReportReceived(uint256 indexed refSlot, address indexed member, bytes32[] report, bool isReached, uint256 support)
DaoAddressChanged(address _oldDao, address _dao)
FastLaneConfigSet(uint256 fastLaneLengthSlots)
FrameConfigSet(uint256 newInitialEpoch, uint256 newEpochsPerFrame)
Initialized(uint8 version)
MemberAdded(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)
MemberRemoved(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
QuorumSet(uint256 newQuorum, uint256 totalMembers, uint256 prevQuorum)
ReportProcessorAdd(address indexed processor, uint256 indexed moduleId, uint64 frameMultiple)
ReportProcessorUpdate(address indexed oldProcessor, address indexed newProcessor, uint256 indexed moduleId, uint64 frameMultiple)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AddressCannotBeZero()
ConsensusReportAlreadyProcessing()
DaoCannotBeZero()
DuplicateMember()
DuplicateReport()
DuplicateReportProcessor()
EmptyReport()
EpochsPerFrameCannotBeZero()
FastLanePeriodCannotBeLongerThanFrame()
FrameMultipleCannotBeZero()
InitialEpochAlreadyArrived()
InitialEpochIsYetToArrive()
InitialEpochRefSlotCannotBeEarlierThanProcessingSlot()
InvalidAddr()
InvalidModuleId()
InvalidSlot()
NonFastLaneMemberCannotReportWithinFastLaneInterval()
NonMember()
NumericOverflow()
OracleIndexReportShouldZeroHash(uint256 refSlot, bytes32[] report, uint256 moduleId, uint64 frameMultiple)
QuorumTooSmall(uint256 minQuorum, uint256 receivedQuorum)
ReportLenNotEqualReportProcessorsLen()
ReportProcessorCannotBeZero()
ReportProcessorNotFound(address reportProcessor)
StaleReport()
UnexpectedConsensusVersion(uint256 expected, uint256 received)