EcdsaInactivity
EcdsaInactivity
Claim
groupThreshold
The minimum number of wallet signing group members needed to interact according to the protocol to produce a valid inactivity claim.
signatureByteSize
Size in bytes of a single signature produced by member supporting the inactivity claim.
verifyClaim
Verifies the inactivity claim according to the rules defined in Claim
struct documentation. Reverts if verification fails.
Wallet signing group members hash is validated upstream in WalletRegistry.notifyOperatorInactivity()
Parameters
sortitionPool
contract SortitionPool
Sortition pool reference
claim
struct EcdsaInactivity.Claim
Inactivity claim
walletPubKey
bytes
Public key of the wallet
nonce
uint256
Current inactivity nonce for wallet used in the claim
groupMembers
uint32[]
Identifiers of group members
Return Values
inactiveMembers
uint32[]
Identifiers of members who are inactive
validateMembersIndices
Validates members indices array. Array is considered valid if its size and each single index are in [1, groupSize] range, indexes are unique, and sorted in an ascending order. Reverts if validation fails.
Parameters
indices
uint256[]
Array to validate.
groupSize
uint256
Group size used as reference.
Last updated