HashConsensus

Verified contract

Active on Ethereum with 10,616 txns
Deployed by via 0xed1a3a9e at 17172558
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "HashConsensus"

0xfb96b4e9c6dca9e92e32d13fb8a23def8b66ac75d3d301605a30863899918295
0xdcf2a9fc215295113301579229c755c312ffcba8614f32ebd7786c8872934ea2
0xb1d770921abaa93b4feeb85d7b571a790a7f9afaa680b531d56dfd7746ebcf3f
0x472e10f050593df0db8d9d5c565a5982c00293ca97f42eb77cf09f795b8a74aa
0xe6895b9831ace76177cc36d0ee43219194973dcb8c555ea63cad5472fbc9f557
0x977d035d23d43417e1546fb038e565f92a75b11232a7cfe9209a8e660816920e
0x446705bb6d3c2abd7a78d7cd41a333a4fa0f98daf30c662a961920101ff41960
0x3ca04bfb202a955cfa2e68d0be25654dcb8315f13fb441a758cfee440be5ccb5
0x926dc76263be9e99c5d6103715396a618a8ec071e302c4a27cd6c287f8e85c2a
0xb347149c35b4a2c7eed86b264ddf4508ba346d9dd39471ae2453feefa56d3c6a

Functions
Getter at block 21396756
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DISABLE_CONSENSUS_ROLE(view returns (bytes32)
0x10b016346186602d93fc7a27ace09ba944baf9453611b186d36acd3d3d667dc0
MANAGE_FAST_LANE_CONFIG_ROLE(view returns (bytes32)
0x4af6faa30fabb2c4d8d567d06168f9be8adb583156c1ecb424b4832a7e4d6717
MANAGE_FRAME_CONFIG_ROLE(view returns (bytes32)
0x921f40f434e049d23969cbe68d9cf3ac1013fbe8945da07963af6f3142de6afe
MANAGE_MEMBERS_AND_QUORUM_ROLE(view returns (bytes32)
0x66a484cf1a3c6ef8dfd59d24824943d2853a29d96f34a01271efc55774452a51
MANAGE_REPORT_PROCESSOR_ROLE(view returns (bytes32)
0xc5219a8d2d0107a57aad00b22081326d173df87bad251126f070df2659770c3e
getChainConfig(view returns (uint256 slotsPerEpochuint256 secondsPerSlotuint256 genesisTime)
(slotsPerEpoch=32, secondsPerSlot=12, genesisTime=1606824023)
getConsensusState(view returns (uint256 refSlotbytes32 consensusReportbool isReportProcessing)
(refSlot=10607999, consensusReport=0x9de4c3e0c07acfa3d3b6b4d8be758045887cb342560a3ad5a2d30389a58d7b97, isReportProcessing=true)
getCurrentFrame(view returns (uint256 refSlotuint256 reportProcessingDeadlineSlot)
(refSlot=10607999, reportProcessingDeadlineSlot=10610399)
 
getFastLaneMembers(view returns (address[] addressesuint256[] lastReportedRefSlots)
getFrameConfig(view returns (uint256 initialEpochuint256 epochsPerFrameuint256 fastLaneLengthSlots)
(initialEpoch=201600, epochsPerFrame=75, fastLaneLengthSlots=100)
getInitialRefSlot(view returns (uint256)
6451199
 
getMembers(view returns (address[] addressesuint256[] lastReportedRefSlots)
getQuorum(view returns (uint256)
5
getReportProcessor(view returns (address)
0x0de4ea0184c2ad0baca7183356aea5b8d5bf5c6e
getReportVariants(view returns (bytes32[] variantsuint256[] support)
(variants=[0x9de4c3e0c07acfa3d3b6b4d8be758045887cb342560a3ad5a2d30389a58d7b97], support=[5])
Read-only
getConsensusStateForMember(address addrview returns (struct HashConsensusMemberConsensusState result)
getIsFastLaneMember(address addrview returns (bool)
getIsMember(address addrview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addMember(address addruint256 quorum
disableConsensus(
grantRole(bytes32 roleaddress account
removeMember(address addruint256 quorum
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFastLaneLengthSlots(uint256 fastLaneLengthSlots
setFrameConfig(uint256 epochsPerFrameuint256 fastLaneLengthSlots
setQuorum(uint256 quorum
setReportProcessor(address newProcessor
submitReport(uint256 slotbytes32 reportuint256 consensusVersion
updateInitialEpoch(uint256 initialEpoch
Events
ConsensusLost(uint256 indexed refSlot
ConsensusReached(uint256 indexed refSlotbytes32 reportuint256 support
FastLaneConfigSet(uint256 fastLaneLengthSlots
FrameConfigSet(uint256 newInitialEpochuint256 newEpochsPerFrame
MemberAdded(address indexed addruint256 newTotalMembersuint256 newQuorum
MemberRemoved(address indexed addruint256 newTotalMembersuint256 newQuorum
QuorumSet(uint256 newQuorumuint256 totalMembersuint256 prevQuorum
ReportProcessorSet(address indexed processoraddress indexed prevProcessor
ReportReceived(uint256 indexed refSlotaddress indexed memberbytes32 report
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(uint256 slotsPerEpochuint256 secondsPerSlotuint256 genesisTimeuint256 epochsPerFrameuint256 fastLaneLengthSlotsaddress adminaddress reportProcessor
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressCannotBeZero(
AdminCannotBeZero(
ConsensusReportAlreadyProcessing(
DuplicateMember(
DuplicateReport(
EmptyReport(
EpochsPerFrameCannotBeZero(
FastLanePeriodCannotBeLongerThanFrame(
InitialEpochAlreadyArrived(
InitialEpochIsYetToArrive(
InitialEpochRefSlotCannotBeEarlierThanProcessingSlot(
InvalidChainConfig(
InvalidSlot(
NewProcessorCannotBeTheSame(
NonFastLaneMemberCannotReportWithinFastLaneInterval(
NonMember(
NumericOverflow(
QuorumTooSmall(uint256 minQuorumuint256 receivedQuorum
ReportProcessorCannotBeZero(
StaleReport(
UnexpectedConsensusVersion(uint256 expecteduint256 received