HashConsensus

Verified contract

Active on Ethereum with 9,235 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"

0x56230c59d8d18ddc9d17cf0cafb849b62ffe52d4828057777df88fcda932b654
0xedb2d957af63ff847afd07ac65682dfbd3c311cff631c25ca0eff39af26cd3dc
0xa5ff6ff12f7b5268bf42c7cc59d47dcf49584dac8a97e79a5d605bb3ede9070a
0x99d98dad49f0915594f7d1d03c5e9944d8539738e5787831c1e3c4ee21fff7c5
0xee5e1a67c8e156c6f2d740aee848fad5b4c438d3aba600484ebdc777f054b93b
0xac5ab6d5161eaf0b69d76734e0887504442b3db4b24c58efc6adca8fc57bf0ad
0x58cded32dfb933eeb33743f4aa3712087df6e13decac309e29648765f59441d6
0x95797fb5d814077b06b6bd5ea3de153045ab71a58b5a7f5997ca5d879206e39f
0xd29f1b489d11ed2bf4fc21f2d3ab0f3309ad958fc6afe368d8d546aedc7e7c01
0x789158783da1083b646162386514a9e669e7eff10a5d928545e24b5489642645

Functions
Getter at block 20865574
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=10072799, consensusReport=0x0d40754a21459733e1c1236d2dd546acb30acac6a1a92ac94caae56e5aad3557, isReportProcessing=true)
getCurrentFrame(view returns (uint256 refSlotuint256 reportProcessingDeadlineSlot)
(refSlot=10072799, reportProcessingDeadlineSlot=10075199)
 
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=[0x0d40754a21459733e1c1236d2dd546acb30acac6a1a92ac94caae56e5aad3557], support=[7])
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