SkaleDKG
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 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "SkaleDKG"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SkaleDKG"
ABI
ABI objects
Getter at block 21159821
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
contractManager() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
channels(bytes32) view returns (bool active, uint256 n, uint256 startedBlockTimestamp, uint256 startedBlock)
checkAndReturnIndexInGroup(bytes32 schainHash, uint256 nodeIndex, bool revertCheck) view returns (uint256, bool)
complaints(bytes32) view returns (uint256 nodeToComplaint, uint256 fromNodeToComplaint, uint256 startComplaintBlockTimestamp, bool isResponse, bytes32 keyShare, struct ISkaleDKGG2Point sumOfVerVec)
dkgProcess(bytes32) view returns (uint256 numberOfBroadcasted, uint256 numberOfCompleted)
getAlrightStartedTime(bytes32 schainHash) view returns (uint256)
getChannelStartedBlock(bytes32 schainHash) view returns (uint256)
getChannelStartedTime(bytes32 schainHash) view returns (uint256)
getComplaintData(bytes32 schainHash) view returns (uint256, uint256)
getComplaintStartedTime(bytes32 schainHash) view returns (uint256)
getNumberOfBroadcasted(bytes32 schainHash) view returns (uint256)
getNumberOfCompleted(bytes32 schainHash) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getTimeOfLastSuccessfulDKG(bytes32 schainHash) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
hashData(struct ISkaleDKGKeyShare[] secretKeyContribution, struct ISkaleDKGG2Point[] verificationVector) pure returns (bytes32)
hashedData(bytes32, uint256) view returns (bytes32)
isAllDataReceived(bytes32 schainHash, uint256 nodeIndex) view returns (bool)
isAlrightPossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool)
isBroadcastPossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool)
isChannelOpened(bytes32 schainHash) view returns (bool)
isComplaintPossible(bytes32 schainHash, uint256 fromNodeIndex, uint256 toNodeIndex) view returns (bool)
isEveryoneBroadcasted(bytes32 schainHash) view returns (bool)
isLastDKGSuccessful(bytes32 schainHash) view returns (bool)
isNodeBroadcasted(bytes32 schainHash, uint256 nodeIndex) view returns (bool)
isPreResponsePossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool)
isResponsePossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool)
lastSuccessfulDKG(bytes32) view returns (uint256)
startAlrightTimestamp(bytes32) view returns (uint256)
State-modifying
Events alright(bytes32 schainHash, uint256 fromNodeIndex)
broadcast(bytes32 schainHash, uint256 nodeIndex, struct ISkaleDKGG2Point[] verificationVector, struct ISkaleDKGKeyShare[] secretKeyContribution)
complaint(bytes32 schainHash, uint256 fromNodeIndex, uint256 toNodeIndex)
complaintBadData(bytes32 schainHash, uint256 fromNodeIndex, uint256 toNodeIndex)
deleteChannel(bytes32 schainHash)
finalizeSlashing(bytes32 schainHash, uint256 badNode)
grantRole(bytes32 role, address account)
initialize(address contractsAddress)
openChannel(bytes32 schainHash)
preResponse(bytes32 schainId, uint256 fromNodeIndex, struct ISkaleDKGG2Point[] verificationVector, struct ISkaleDKGG2Point[] verificationVectorMultiplication, struct ISkaleDKGKeyShare[] secretKeyContribution)
renounceRole(bytes32 role, address account)
response(bytes32 schainHash, uint256 fromNodeIndex, uint256 secretNumber, struct ISkaleDKGG2Point multipliedShare)
revokeRole(bytes32 role, address account)
setBadNode(bytes32 schainHash, uint256 nodeIndex)
setStartAlrightTimestamp(bytes32 schainHash)
AllDataReceived(bytes32 indexed schainHash, uint256 nodeIndex)
BadGuy(uint256 nodeIndex)
BroadcastAndKeyShare(bytes32 indexed schainHash, uint256 indexed fromNode, struct ISkaleDKGG2Point[] verificationVector, struct ISkaleDKGKeyShare[] secretKeyContribution)
ChannelClosed(bytes32 schainHash)
ChannelOpened(bytes32 schainHash)
ComplaintError(string error)
ComplaintSent(bytes32 indexed schainHash, uint256 indexed fromNodeIndex, uint256 indexed toNodeIndex)
FailedDKG(bytes32 indexed schainHash)
NewGuy(uint256 nodeIndex)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SuccessfulDKG(bytes32 indexed schainHash)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.