RandomBeaconGovernance
RandomBeaconGovernance
This file documents a contract which is not yet deployed to Mainnet.
Owns the RandomBeacon
contract and is responsible for updating its governable parameters in respect to governance delay individual for each parameter.
newGovernanceDelay
governanceDelayChangeInitiated
newRandomBeaconGovernance
randomBeaconGovernanceTransferInitiated
newRelayEntrySoftTimeout
relayEntrySoftTimeoutChangeInitiated
newRelayEntryHardTimeout
relayEntryHardTimeoutChangeInitiated
newCallbackGasLimit
callbackGasLimitChangeInitiated
newGroupCreationFrequency
groupCreationFrequencyChangeInitiated
newGroupLifetime
groupLifetimeChangeInitiated
newDkgResultChallengePeriodLength
dkgResultChallengePeriodLengthChangeInitiated
newDkgResultChallengeExtraGas
dkgResultChallengeExtraGasChangeInitiated
newDkgResultSubmissionTimeout
dkgResultSubmissionTimeoutChangeInitiated
newDkgSubmitterPrecedencePeriodLength
dkgSubmitterPrecedencePeriodLengthChangeInitiated
newRelayEntrySubmissionFailureSlashingAmount
relayEntrySubmissionFailureSlashingAmountChangeInitiated
newMaliciousDkgResultSlashingAmount
maliciousDkgResultSlashingAmountChangeInitiated
newUnauthorizedSigningSlashingAmount
unauthorizedSigningSlashingAmountChangeInitiated
newSortitionPoolRewardsBanDuration
sortitionPoolRewardsBanDurationChangeInitiated
newRelayEntryTimeoutNotificationRewardMultiplier
relayEntryTimeoutNotificationRewardMultiplierChangeInitiated
newUnauthorizedSigningNotificationRewardMultiplier
unauthorizedSigningNotificationRewardMultiplierChangeInitiated
newMinimumAuthorization
minimumAuthorizationChangeInitiated
newAuthorizationDecreaseDelay
authorizationDecreaseDelayChangeInitiated
newAuthorizationDecreaseChangePeriod
authorizationDecreaseChangePeriodChangeInitiated
newDkgMaliciousResultNotificationRewardMultiplier
dkgMaliciousResultNotificationRewardMultiplierChangeInitiated
newDkgResultSubmissionGas
dkgResultSubmissionGasChangeInitiated
newDkgResultApprovalGasOffset
dkgResultApprovalGasOffsetChangeInitiated
newNotifyOperatorInactivityGasOffset
notifyOperatorInactivityGasOffsetChangeInitiated
newRelayEntrySubmissionGasOffset
relayEntrySubmissionGasOffsetChangeInitiated
randomBeacon
governanceDelay
GovernanceDelayUpdateStarted
GovernanceDelayUpdated
RandomBeaconGovernanceTransferStarted
RandomBeaconGovernanceTransferred
RelayEntrySoftTimeoutUpdateStarted
RelayEntrySoftTimeoutUpdated
RelayEntryHardTimeoutUpdateStarted
RelayEntryHardTimeoutUpdated
CallbackGasLimitUpdateStarted
CallbackGasLimitUpdated
GroupCreationFrequencyUpdateStarted
GroupCreationFrequencyUpdated
GroupLifetimeUpdateStarted
GroupLifetimeUpdated
DkgResultChallengePeriodLengthUpdateStarted
DkgResultChallengePeriodLengthUpdated
DkgResultChallengeExtraGasUpdateStarted
DkgResultChallengeExtraGasUpdated
DkgResultSubmissionTimeoutUpdateStarted
DkgResultSubmissionTimeoutUpdated
DkgSubmitterPrecedencePeriodLengthUpdateStarted
DkgSubmitterPrecedencePeriodLengthUpdated
RelayEntrySubmissionFailureSlashingAmountUpdateStarted
RelayEntrySubmissionFailureSlashingAmountUpdated
MaliciousDkgResultSlashingAmountUpdateStarted
MaliciousDkgResultSlashingAmountUpdated
UnauthorizedSigningSlashingAmountUpdateStarted
UnauthorizedSigningSlashingAmountUpdated
SortitionPoolRewardsBanDurationUpdateStarted
SortitionPoolRewardsBanDurationUpdated
RelayEntryTimeoutNotificationRewardMultiplierUpdateStarted
RelayEntryTimeoutNotificationRewardMultiplierUpdated
UnauthorizedSigningNotificationRewardMultiplierUpdateStarted
UnauthorizedSigningNotificationRewardMultiplierUpdated
MinimumAuthorizationUpdateStarted
MinimumAuthorizationUpdated
AuthorizationDecreaseDelayUpdateStarted
AuthorizationDecreaseDelayUpdated
AuthorizationDecreaseChangePeriodUpdateStarted
AuthorizationDecreaseChangePeriodUpdated
DkgMaliciousResultNotificationRewardMultiplierUpdateStarted
DkgMaliciousResultNotificationRewardMultiplierUpdated
DkgResultSubmissionGasUpdateStarted
DkgResultSubmissionGasUpdated
DkgResultApprovalGasOffsetUpdateStarted
DkgResultApprovalGasOffsetUpdated
NotifyOperatorInactivityGasOffsetUpdateStarted
NotifyOperatorInactivityGasOffsetUpdated
RelayEntrySubmissionGasOffsetUpdateStarted
RelayEntrySubmissionGasOffsetUpdated
onlyAfterGovernanceDelay
Reverts if called before the governance delay elapses.
Parameters
constructor
beginGovernanceDelayUpdate
Begins the governance delay update process.
Can be called only by the contract owner.
Parameters
finalizeGovernanceDelayUpdate
Finalizes the governance delay update process.
Can be called only by the contract owner, after the governance delay elapses.
beginRandomBeaconGovernanceTransfer
Begins the random beacon governance transfer process.
Can be called only by the current contract governance.
finalizeRandomBeaconGovernanceTransfer
Finalizes the random beacon governance transfer process.
Can be called only by the current contract governance, after the governance delay elapses.
beginRelayEntrySoftTimeoutUpdate
Begins the relay entry soft timeout update process.
Can be called only by the contract owner.
Parameters
finalizeRelayEntrySoftTimeoutUpdate
Finalizes the relay entry soft timeout update process.
Can be called only by the contract owner, after the governance delay elapses.
beginRelayEntryHardTimeoutUpdate
Begins the relay entry hard timeout update process.
Can be called only by the contract owner.
Parameters
finalizeRelayEntryHardTimeoutUpdate
Finalizes the relay entry hard timeout update process.
Can be called only by the contract owner, after the governance delay elapses.
beginCallbackGasLimitUpdate
Begins the callback gas limit update process.
Can be called only by the contract owner.
Parameters
finalizeCallbackGasLimitUpdate
Finalizes the callback gas limit update process.
Can be called only by the contract owner, after the governance delay elapses.
beginGroupCreationFrequencyUpdate
Begins the group creation frequency update process.
Can be called only by the contract owner.
Parameters
finalizeGroupCreationFrequencyUpdate
Finalizes the group creation frequency update process.
Can be called only by the contract owner, after the governance delay elapses.
beginGroupLifetimeUpdate
Begins the group lifetime update process. Group lifetime needs to be shorter than the authorization decrease delay to ensure every active group is backed by enough stake. A new group lifetime value is in blocks and has to be calculated based on the average block time and authorization decrease delay which value is in seconds.
Can be called only by the contract owner.
Parameters
finalizeGroupLifetimeUpdate
Finalizes the group creation frequency 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
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
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
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.
Can be called only by the contract owner.
Parameters
finalizeDkgSubmitterPrecedencePeriodLengthUpdate
Finalizes the DKG submitter precedence period length.
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
finalizeSortitionPoolRewardsBanDurationUpdate
Finalizes the sortition pool rewards ban duration update process.
Can be called only by the contract owner, after the governance delay elapses.
beginRelayEntryTimeoutNotificationRewardMultiplierUpdate
Begins the relay entry timeout notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
beginUnauthorizedSigningNotificationRewardMultiplierUpdate
Begins the unauthorized signing notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
finalizeUnauthorizedSigningNotificationRewardMultiplierUpdate
Finalizes the unauthorized signing notification reward multiplier update process.
Can be called only by the contract owner, after the governance delay elapses.
finalizeRelayEntryTimeoutNotificationRewardMultiplierUpdate
Finalizes the relay entry timeout notification reward multiplier update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgMaliciousResultNotificationRewardMultiplierUpdate
Begins the DKG malicious result notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
finalizeDkgMaliciousResultNotificationRewardMultiplierUpdate
Finalizes the DKG malicious result notification reward multiplier update process.
Can be called only by the contract owner, after the governance delay elapses.
beginRelayEntrySubmissionFailureSlashingAmountUpdate
Begins the relay entry submission failure slashing amount update process.
Can be called only by the contract owner.
Parameters
finalizeRelayEntrySubmissionFailureSlashingAmountUpdate
Finalizes the relay entry submission failure slashing amount 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
finalizeDkgResultSubmissionGasUpdate
Finalizes DKG result submission gas update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultApprovalGasOffsetUpdate
Begins the DKG result approval gas offset update process.
Can be called only by the contract owner.
Parameters
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
finalizeNotifyOperatorInactivityGasOffsetUpdate
Finalizes the notify operator inactivity gas offset update process.
Can be called only by the contract owner, after the governance delay elapses.
beginRelayEntrySubmissionGasOffsetUpdate
Begins the relay entry submission gas offset update process.
Can be called only by the contract owner.
Parameters
finalizeRelayEntrySubmissionGasOffsetUpdate
Finalizes relay entry submission gas offset 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
finalizeMaliciousDkgResultSlashingAmountUpdate
Finalizes the malicious DKG result slashing amount update process.
Can be called only by the contract owner, after the governance delay elapses.
beginUnauthorizedSigningSlashingAmountUpdate
Begins the unauthorized signing slashing amount update process.
Can be called only by the contract owner.
Parameters
finalizeUnauthorizedSigningSlashingAmountUpdate
Finalizes the unauthorized signing slashing amount 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
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
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
finalizeAuthorizationDecreaseChangePeriodUpdate
Finalizes the authorization decrease change period update process.
Can be called only by the contract owner, after the governance delay elapses.
setRequesterAuthorization
Set authorization for requesters that can request a relay entry. It can be done by the governance only.
Parameters
withdrawIneligibleRewards
Withdraws rewards belonging to operators marked as ineligible for sortition pool rewards.
Can be called only by the contract owner.
Parameters
getRemainingGovernanceDelayUpdateTime
Get the time remaining until the governance delay can be updated.
Return Values
getRemainingRandomBeaconGovernanceTransferDelayTime
Get the time remaining until the random beacon governance can be transferred.
Return Values
getRemainingRelayEntrySoftTimeoutUpdateTime
Get the time remaining until the relay entry submission soft timeout can be updated.
Return Values
getRemainingRelayEntryHardTimeoutUpdateTime
Get the time remaining until the relay entry hard timeout can be updated.
Return Values
getRemainingCallbackGasLimitUpdateTime
Get the time remaining until the callback gas limit can be updated.
Return Values
getRemainingGroupCreationFrequencyUpdateTime
Get the time remaining until the group creation frequency can be updated.
Return Values
getRemainingGroupLifetimeUpdateTime
Get the time remaining until the group lifetime can be updated.
Return Values
getRemainingDkgResultChallengePeriodLengthUpdateTime
Get the time remaining until the DKG result challenge period length can be updated.
Return Values
getRemainingDkgResultChallengeExtraGasUpdateTime
Get the time remaining until the DKG result challenge extra gas can be updated.
Return Values
getRemainingDkgResultSubmissionTimeoutUpdateTime
Get the time remaining until the DKG result submission timeout can be updated.
Return Values
getRemainingDkgSubmitterPrecedencePeriodLengthUpdateTime
Get the time remaining until the wallet owner can be updated.
Return Values
getRemainingRelayEntrySubmissionFailureSlashingAmountUpdateTime
Get the time remaining until the relay entry submission failure slashing amount can be updated.
Return Values
getRemainingMaliciousDkgResultSlashingAmountUpdateTime
Get the time remaining until the malicious DKG result slashing amount can be updated.
Return Values
getRemainingUnauthorizedSigningSlashingAmountUpdateTime
Get the time remaining until the unauthorized signing slashing amount can be updated.
Return Values
getRemainingMimimumAuthorizationUpdateTime
Get the time remaining until the minimum authorization amount can be updated.
Return Values
getRemainingAuthorizationDecreaseDelayUpdateTime
Get the time remaining until the authorization decrease delay can be updated.
Return Values
getRemainingAuthorizationDecreaseChangePeriodUpdateTime
Get the time remaining until the authorization decrease change period can be updated.
Return Values
getRemainingSortitionPoolRewardsBanDurationUpdateTime
Get the time remaining until the sortition pool rewards ban duration can be updated.
Return Values
getRemainingRelayEntryTimeoutNotificationRewardMultiplierUpdateTime
Get the time remaining until the relay entry timeout notification reward multiplier duration can be updated.
Return Values
getRemainingUnauthorizedSigningNotificationRewardMultiplierUpdateTime
Get the time remaining until the unauthorized signing notification reward multiplier duration can be updated.
Return Values
getRemainingDkgMaliciousResultNotificationRewardMultiplierUpdateTime
Get the time remaining until the DKG malicious result notification reward multiplier duration can be updated.
Return Values
getRemainingDkgResultSubmissionGasUpdateTime
Get the time remaining until the DKG result submission gas duration can be updated.
Return Values
getRemainingDkgResultApprovalGasOffsetUpdateTime
Get the time remaining until the DKG approval gas offset duration can be updated.
Return Values
getRemainingNotifyOperatorInactivityGasOffsetUpdateTime
Get the time remaining until the operator inactivity notification gas offset duration can be updated.
Return Values
getRemainingRelayEntrySubmissionGasOffsetUpdateTime
Get the time remaining until the relay entry submission gas offset duration can be updated.
Return Values
getRemainingChangeTime
Gets the time remaining until the governable parameter update can be committed.
Parameters
Return Values
Last updated