HashConsensus
Verified contract
Active on
Ethereum with 10,616 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "HashConsensus"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21395929 | 3 hours ago | | | 0 | 0.0012973063 | |
| 21395922 | 3 hours ago | | | 0 | 0.00098912333 | |
| 21395915 | 3 hours ago | | | 0 | 0.0010308787 | |
| 21395913 | 3 hours ago | | | 0 | 0.0010473782 | |
| 21395909 | 3 hours ago | | | 0 | 0.0011225583 | |
| 21393549 | 11 hours ago | | | 0 | 0.0012385736 | |
| 21393542 | 11 hours ago | | | 0 | 0.00082842399 | |
| 21393532 | 11 hours ago | | | 0 | 0.00088129720 | |
| 21393526 | 11 hours ago | | | 0 | 0.00082928207 | |
| 21393523 | 11 hours ago | | | 0 | 0.00082900251 |
ABI
ABI objects
Getter at block 21396756 getFastLaneMembers() view returns (address[] addresses, uint256[] lastReportedRefSlots) getMembers() view returns (address[] addresses, uint256[] lastReportedRefSlots)
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 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime)
(slotsPerEpoch=32, secondsPerSlot=12, genesisTime=1606824023)
getConsensusState() view returns (uint256 refSlot, bytes32 consensusReport, bool isReportProcessing)
(refSlot=10607999, consensusReport=0x9de4c3e0c07acfa3d3b6b4d8be758045887cb342560a3ad5a2d30389a58d7b97, isReportProcessing=true)
getCurrentFrame() view returns (uint256 refSlot, uint256 reportProcessingDeadlineSlot)
(refSlot=10607999, reportProcessingDeadlineSlot=10610399)
getFrameConfig() view returns (uint256 initialEpoch, uint256 epochsPerFrame, uint256 fastLaneLengthSlots)
(initialEpoch=201600, epochsPerFrame=75, fastLaneLengthSlots=100)
getInitialRefSlot() view returns (uint256)
6451199
getQuorum() view returns (uint256)
5
getReportProcessor() view returns (address)
0x0de4ea0184c2ad0baca7183356aea5b8d5bf5c6e
getReportVariants() view returns (bytes32[] variants, uint256[] support)
(variants=[0x9de4c3e0c07acfa3d3b6b4d8be758045887cb342560a3ad5a2d30389a58d7b97], support=[5])
Read-only
getConsensusStateForMember(address addr) view returns (struct HashConsensusMemberConsensusState result)
getIsFastLaneMember(address addr) view returns (bool)
getIsMember(address addr) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addMember(address addr, uint256 quorum)
disableConsensus()
grantRole(bytes32 role, address account)
removeMember(address addr, uint256 quorum)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setFastLaneLengthSlots(uint256 fastLaneLengthSlots)
setFrameConfig(uint256 epochsPerFrame, uint256 fastLaneLengthSlots)
setQuorum(uint256 quorum)
setReportProcessor(address newProcessor)
submitReport(uint256 slot, bytes32 report, uint256 consensusVersion)
updateInitialEpoch(uint256 initialEpoch)
ConsensusLost(uint256 indexed refSlot)
ConsensusReached(uint256 indexed refSlot, bytes32 report, uint256 support)
FastLaneConfigSet(uint256 fastLaneLengthSlots)
FrameConfigSet(uint256 newInitialEpoch, uint256 newEpochsPerFrame)
MemberAdded(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)
MemberRemoved(address indexed addr, uint256 newTotalMembers, uint256 newQuorum)
QuorumSet(uint256 newQuorum, uint256 totalMembers, uint256 prevQuorum)
ReportProcessorSet(address indexed processor, address indexed prevProcessor)
ReportReceived(uint256 indexed refSlot, address indexed member, bytes32 report)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
constructor(uint256 slotsPerEpoch, uint256 secondsPerSlot, uint256 genesisTime, uint256 epochsPerFrame, uint256 fastLaneLengthSlots, address admin, address reportProcessor)
This contract contains no fallback and receive objects.
AddressCannotBeZero()
AdminCannotBeZero()
ConsensusReportAlreadyProcessing()
DuplicateMember()
DuplicateReport()
EmptyReport()
EpochsPerFrameCannotBeZero()
FastLanePeriodCannotBeLongerThanFrame()
InitialEpochAlreadyArrived()
InitialEpochIsYetToArrive()
InitialEpochRefSlotCannotBeEarlierThanProcessingSlot()
InvalidChainConfig()
InvalidSlot()
NewProcessorCannotBeTheSame()
NonFastLaneMemberCannotReportWithinFastLaneInterval()
NonMember()
NumericOverflow()
QuorumTooSmall(uint256 minQuorum, uint256 receivedQuorum)
ReportProcessorCannotBeZero()
StaleReport()
UnexpectedConsensusVersion(uint256 expected, uint256 received)