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 21278814
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 groupIndex, bool valid)
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 timestamp)
getChannelStartedBlock(bytes32 schainHash) view returns (uint256 blockNumber)
getChannelStartedTime(bytes32 schainHash) view returns (uint256 timestamp)
getComplaintData(bytes32 schainHash) view returns (uint256 sourceNode, uint256 targetNode)
getComplaintStartedTime(bytes32 schainHash) view returns (uint256 timestamp)
getNumberOfBroadcasted(bytes32 schainHash) view returns (uint256 amount)
getNumberOfCompleted(bytes32 schainHash) view returns (uint256 amount)
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 timestamp)
hasRole(bytes32 role, address account) view returns (bool)
hashData(struct ISkaleDKGKeyShare[] secretKeyContribution, struct ISkaleDKGG2Point[] verificationVector) pure returns (bytes32 hash)
hashedData(bytes32, uint256) view returns (bytes32)
isAllDataReceived(bytes32 schainHash, uint256 nodeIndex) view returns (bool received)
isAlrightPossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool possible)
isBroadcastPossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool possible)
isChannelOpened(bytes32 schainHash) view returns (bool opened)
isComplaintPossible(bytes32 schainHash, uint256 fromNodeIndex, uint256 toNodeIndex) view returns (bool possible)
isEveryoneBroadcasted(bytes32 schainHash) view returns (bool broadcasted)
isLastDKGSuccessful(bytes32 schainHash) view returns (bool successful)
isNodeBroadcasted(bytes32 schainHash, uint256 nodeIndex) view returns (bool broadcasted)
isPreResponsePossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool possible)
isResponsePossible(bytes32 schainHash, uint256 nodeIndex) view returns (bool possible)
lastSuccessfulDKG(bytes32) view returns (uint256)
pendingToBeReplaced(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, uint256 rotationCounter)
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 schainHash, uint256 fromNodeIndex, struct ISkaleDKGG2Point[] verificationVector, struct ISkaleDKGG2Point[] verificationVectorMultiplication, struct ISkaleDKGKeyShare[] secretKeyContribution)
renounceRole(bytes32 role, address account)
resetPendingToBeReplaced(bytes32 schainHash)
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)
Initialized(uint8 version)
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.