ECDSANodeManagement
Last updated
Last updated
Closes keep when owner decides that they no longer need it. Releases bonds to the keep members.
The function can be called only by the owner of the keep and only if the keep has not been already closed.
Returns members of the keep.
Name | Type | Description |
---|---|---|
Gets the timestamp the keep was opened at.
Gets the owner of the keep.
Returns keep's ECDSA public key.
Initialization function.
We use clone factory to create new keep. That is why this contract doesn't have a constructor. We provide keep parameters for each instance function after cloning instances from the master contract. Initialization must happen in the same transaction in which the clone is created.
Returns true if the keep is active.
Returns true if the keep is closed and members no longer support this keep.
Returns true if the keep has been terminated. Keep is terminated when bonds are seized and members no longer support this keep.
Submits a public key to the keep.
Public key is published successfully if all members submit the same value. In case of conflicts with others members submissions it will emit ConflictingPublicKeySubmitted
event. When all submitted keys match it will store the key as keep's public key and emit a PublicKeyPublished
event.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_0
address[]
List of the keep members' addresses.
_0
uint256
Timestamp the keep was opened at.
_0
address
Address of the keep owner.
_0
bytes
Keep's ECDSA public key.
_0
uint256
undefined
_owner
address
Address of the keep owner.
_members
address[]
Addresses of the keep members.
_honestThreshold
uint256
Minimum number of honest keep members.
_0
bool
true if the keep is active, false otherwise.
_0
bool
true if the keep is closed, false otherwise.
_0
bool
true if the keep has been terminated, false otherwise.
_0
uint256
undefined
_0
address
undefined
_0
address
undefined
_0
bytes
undefined
_publicKey
bytes
Signer's public key.
submittingMember indexed
address
undefined
conflictingPublicKey
bytes
undefined
publicKey
bytes
undefined