WalletRegistryGovernance
WalletRegistryGovernance
Owns the WalletRegistry
contract and is responsible for updating its governable parameters in respect to the governance delay.
newGovernanceDelay
governanceDelayChangeInitiated
newWalletRegistryGovernance
walletRegistryGovernanceTransferInitiated
newWalletOwner
walletOwnerChangeInitiated
newMinimumAuthorization
minimumAuthorizationChangeInitiated
newAuthorizationDecreaseDelay
authorizationDecreaseDelayChangeInitiated
newAuthorizationDecreaseChangePeriod
authorizationDecreaseChangePeriodChangeInitiated
newMaliciousDkgResultSlashingAmount
maliciousDkgResultSlashingAmountChangeInitiated
newMaliciousDkgResultNotificationRewardMultiplier
maliciousDkgResultNotificationRewardMultiplierChangeInitiated
newSortitionPoolRewardsBanDuration
sortitionPoolRewardsBanDurationChangeInitiated
newDkgSeedTimeout
dkgSeedTimeoutChangeInitiated
newDkgResultChallengePeriodLength
dkgResultChallengePeriodLengthChangeInitiated
newDkgResultChallengeExtraGas
dkgResultChallengeExtraGasChangeInitiated
newDkgResultSubmissionTimeout
dkgResultSubmissionTimeoutChangeInitiated
newSubmitterPrecedencePeriodLength
dkgSubmitterPrecedencePeriodLengthChangeInitiated
newDkgResultSubmissionGas
dkgResultSubmissionGasChangeInitiated
newDkgResultApprovalGasOffset
dkgResultApprovalGasOffsetChangeInitiated
newNotifyOperatorInactivityGasOffset
notifyOperatorInactivityGasOffsetChangeInitiated
newNotifySeedTimeoutGasOffset
notifySeedTimeoutGasOffsetChangeInitiated
newNotifyDkgTimeoutNegativeGasOffset
notifyDkgTimeoutNegativeGasOffsetChangeInitiated
newReimbursementPool
reimbursementPoolChangeInitiated
walletRegistry
governanceDelay
GovernanceDelayUpdateStarted
GovernanceDelayUpdated
WalletRegistryGovernanceTransferStarted
WalletRegistryGovernanceTransferred
WalletOwnerUpdateStarted
WalletOwnerUpdated
MinimumAuthorizationUpdateStarted
MinimumAuthorizationUpdated
AuthorizationDecreaseDelayUpdateStarted
AuthorizationDecreaseDelayUpdated
AuthorizationDecreaseChangePeriodUpdateStarted
AuthorizationDecreaseChangePeriodUpdated
MaliciousDkgResultSlashingAmountUpdateStarted
MaliciousDkgResultSlashingAmountUpdated
MaliciousDkgResultNotificationRewardMultiplierUpdateStarted
MaliciousDkgResultNotificationRewardMultiplierUpdated
SortitionPoolRewardsBanDurationUpdateStarted
SortitionPoolRewardsBanDurationUpdated
DkgSeedTimeoutUpdateStarted
DkgSeedTimeoutUpdated
DkgResultChallengePeriodLengthUpdateStarted
DkgResultChallengePeriodLengthUpdated
DkgResultChallengeExtraGasUpdateStarted
DkgResultChallengeExtraGasUpdated
DkgResultSubmissionTimeoutUpdateStarted
DkgResultSubmissionTimeoutUpdated
DkgSubmitterPrecedencePeriodLengthUpdateStarted
DkgSubmitterPrecedencePeriodLengthUpdated
DkgResultSubmissionGasUpdateStarted
DkgResultSubmissionGasUpdated
DkgResultApprovalGasOffsetUpdateStarted
DkgResultApprovalGasOffsetUpdated
NotifyOperatorInactivityGasOffsetUpdateStarted
NotifyOperatorInactivityGasOffsetUpdated
NotifySeedTimeoutGasOffsetUpdateStarted
NotifySeedTimeoutGasOffsetUpdated
NotifyDkgTimeoutNegativeGasOffsetUpdateStarted
NotifyDkgTimeoutNegativeGasOffsetUpdated
ReimbursementPoolUpdateStarted
ReimbursementPoolUpdated
onlyAfterGovernanceDelay
Reverts if called before the governance delay elapses.
Parameters
Name | Type | Description |
---|---|---|
changeInitiatedTimestamp | uint256 | Timestamp indicating the beginning of the change. |
constructor
upgradeRandomBeacon
Upgrades the random beacon.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newRandomBeacon | address | New random beacon address |
initializeWalletOwner
Initializes the Wallet Owner's address.
Can be called only by the contract owner. It can be called only if walletOwner has not been set before. It doesn't enforce a governance delay for the initial update. Any subsequent updates should be performed with beginWalletOwnerUpdate/finalizeWalletOwnerUpdate with respect of a governance delay.
Parameters
Name | Type | Description |
---|---|---|
_walletOwner | address | The Wallet Owner's address |
beginGovernanceDelayUpdate
Begins the governance delay update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newGovernanceDelay | uint256 | New governance delay |
finalizeGovernanceDelayUpdate
Finalizes the governance delay update process.
Can be called only by the contract owner, after the governance delay elapses.
beginWalletRegistryGovernanceTransfer
Begins the wallet registry governance transfer process.
Can be called only by the contract owner.
finalizeWalletRegistryGovernanceTransfer
Finalizes the wallet registry governance transfer process.
Can be called only by the contract owner, after the governance delay elapses.
beginWalletOwnerUpdate
Begins the wallet owner update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newWalletOwner | address | New wallet owner address |
finalizeWalletOwnerUpdate
Finalizes the wallet owner update process.
Can be called only by the contract owner, after the governance delay elapses.
beginMinimumAuthorizationUpdate
Begins the minimum authorization amount update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newMinimumAuthorization | uint96 | New minimum authorization amount. |
finalizeMinimumAuthorizationUpdate
Finalizes the minimum authorization amount update process.
Can be called only by the contract owner, after the governance delay elapses.
beginAuthorizationDecreaseDelayUpdate
Begins the authorization decrease delay update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newAuthorizationDecreaseDelay | uint64 | New authorization decrease delay |
finalizeAuthorizationDecreaseDelayUpdate
Finalizes the authorization decrease delay update process.
Can be called only by the contract owner, after the governance delay elapses.
beginAuthorizationDecreaseChangePeriodUpdate
Begins the authorization decrease change period update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newAuthorizationDecreaseChangePeriod | uint64 | New authorization decrease change period |
finalizeAuthorizationDecreaseChangePeriodUpdate
Finalizes the authorization decrease change period update process.
Can be called only by the contract owner, after the governance delay elapses.
beginMaliciousDkgResultSlashingAmountUpdate
Begins the malicious DKG result slashing amount update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newMaliciousDkgResultSlashingAmount | uint96 | New malicious DKG result slashing amount |
finalizeMaliciousDkgResultSlashingAmountUpdate
Finalizes the malicious DKG result slashing amount update process.
Can be called only by the contract owner, after the governance delay elapses.
beginMaliciousDkgResultNotificationRewardMultiplierUpdate
Begins the DKG malicious result notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newMaliciousDkgResultNotificationRewardMultiplier | uint256 | New DKG malicious result notification reward multiplier. |
finalizeMaliciousDkgResultNotificationRewardMultiplierUpdate
Finalizes the DKG malicious result notification reward multiplier update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultSubmissionGasUpdate
Begins the dkg result submission gas update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newDkgResultSubmissionGas | uint256 | New DKG result submission gas. |
finalizeDkgResultSubmissionGasUpdate
Finalizes the dkg result submission gas update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultApprovalGasOffsetUpdate
Begins the dkg approval gas offset update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newDkgResultApprovalGasOffset | uint256 | New DKG result approval gas. |
finalizeDkgResultApprovalGasOffsetUpdate
Finalizes the dkg result approval gas offset update process.
Can be called only by the contract owner, after the governance delay elapses.
beginNotifyOperatorInactivityGasOffsetUpdate
Begins the notify operator inactivity gas offset update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newNotifyOperatorInactivityGasOffset | uint256 | New operator inactivity notification gas offset |
finalizeNotifyOperatorInactivityGasOffsetUpdate
Finalizes the notify operator inactivity gas offset update process.
Can be called only by the contract owner, after the governance delay elapses.
beginNotifySeedTimeoutGasOffsetUpdate
Begins the notify seed for DKG delivery timeout gas offset update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newNotifySeedTimeoutGasOffset | uint256 | New seed for DKG delivery timeout notification gas offset |
finalizeNotifySeedTimeoutGasOffsetUpdate
Finalizes the notify seed for DKG delivery timeout gas offset update process.
Can be called only by the contract owner, after the governance delay elapses.
beginNotifyDkgTimeoutNegativeGasOffsetUpdate
Begins the notify DKG timeout negative gas offset update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newNotifyDkgTimeoutNegativeGasOffset | uint256 | New DKG timeout negative gas notification gas offset |
finalizeNotifyDkgTimeoutNegativeGasOffsetUpdate
Finalizes the notify DKG timeout negative gas offset update process.
Can be called only by the contract owner, after the governance delay elapses.
beginReimbursementPoolUpdate
Begins the reimbursement pool update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newReimbursementPool | address payable | New reimbursement pool. |
finalizeReimbursementPoolUpdate
Finalizes the reimbursement pool update process.
Can be called only by the contract owner, after the governance delay elapses.
beginSortitionPoolRewardsBanDurationUpdate
Begins the sortition pool rewards ban duration update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newSortitionPoolRewardsBanDuration | uint256 | New sortition pool rewards ban duration. |
finalizeSortitionPoolRewardsBanDurationUpdate
Finalizes the sortition pool rewards ban duration update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgSeedTimeoutUpdate
Begins the DKG seed timeout update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newDkgSeedTimeout | uint256 | New DKG seed timeout in blocks |
finalizeDkgSeedTimeoutUpdate
Finalizes the DKG seed timeout update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultChallengePeriodLengthUpdate
Begins the DKG result challenge period length update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newDkgResultChallengePeriodLength | uint256 | New DKG result challenge period length in blocks |
finalizeDkgResultChallengePeriodLengthUpdate
Finalizes the DKG result challenge period length update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultChallengeExtraGasUpdate
Begins the DKG result challenge extra gas update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newDkgResultChallengeExtraGas | uint256 | New DKG result challenge extra gas |
finalizeDkgResultChallengeExtraGasUpdate
Finalizes the DKG result challenge extra gas update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultSubmissionTimeoutUpdate
Begins the DKG result submission timeout update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newDkgResultSubmissionTimeout | uint256 | New DKG result submission timeout in blocks |
finalizeDkgResultSubmissionTimeoutUpdate
Finalizes the DKG result submission timeout update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgSubmitterPrecedencePeriodLengthUpdate
Begins the DKG submitter precedence period length update process.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
_newSubmitterPrecedencePeriodLength | uint256 | New DKG submitter precedence period length in blocks |
finalizeDkgSubmitterPrecedencePeriodLengthUpdate
Finalizes the DKG submitter precedence period length update process.
Can be called only by the contract owner, after the governance delay elapses.
withdrawIneligibleRewards
Withdraws rewards belonging to operators marked as ineligible for sortition pool rewards.
Can be called only by the contract owner.
Parameters
Name | Type | Description |
---|---|---|
recipient | address | Recipient of withdrawn rewards. |
getRemainingGovernanceDelayUpdateTime
Get the time remaining until the governance delay can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingWalletRegistryGovernanceTransferDelayTime
Get the time remaining until the wallet registry governance can be transferred.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingMimimumAuthorizationUpdateTime
Get the time remaining until the minimum authorization amount can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingAuthorizationDecreaseDelayUpdateTime
Get the time remaining until the authorization decrease delay can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingAuthorizationDecreaseChangePeriodUpdateTime
Get the time remaining until the authorization decrease change period can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingMaliciousDkgResultSlashingAmountUpdateTime
Get the time remaining until the malicious DKG result slashing amount can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingMaliciousDkgResultNotificationRewardMultiplierUpdateTime
Get the time remaining until the DKG malicious result notification reward multiplier duration can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingSortitionPoolRewardsBanDurationUpdateTime
Get the time remaining until the sortition pool rewards ban duration can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingDkgSeedTimeoutUpdateTime
Get the time remaining until the DKG seed timeout can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingDkgResultChallengePeriodLengthUpdateTime
Get the time remaining until the DKG result challenge period length can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingDkgResultChallengeExtraGasUpdateTime
getRemainingDkgResultSubmissionTimeoutUpdateTime
Get the time remaining until the DKG result submission timeout can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingWalletOwnerUpdateTime
Get the time remaining until the wallet owner can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingDkgSubmitterPrecedencePeriodLengthUpdateTime
Get the time remaining until the wallet owner can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingDkgResultSubmissionGasUpdateTime
Get the time remaining until the dkg result submission gas can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingDkgResultApprovalGasOffsetUpdateTime
Get the time remaining until the dkg result approval gas offset can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingNotifyOperatorInactivityGasOffsetUpdateTime
Get the time remaining until the operator inactivity gas offset can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingNotifySeedTimeoutGasOffsetUpdateTime
Get the time remaining until the seed for DKG delivery timeout gas offset can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingNotifyDkgTimeoutNegativeGasOffsetUpdateTime
Get the time remaining until the DKG timeout negative gas offset can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingReimbursementPoolUpdateTime
Get the time remaining until reimbursement pool can be updated.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
getRemainingChangeTime
Gets the time remaining until the governable parameter update can be committed.
Parameters
Name | Type | Description |
---|---|---|
changeTimestamp | uint256 | Timestamp indicating the beginning of the change. |
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Remaining time in seconds. |
Last updated