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

uint256 newGovernanceDelay

governanceDelayChangeInitiated

uint256 governanceDelayChangeInitiated

newRandomBeaconGovernance

address newRandomBeaconGovernance

randomBeaconGovernanceTransferInitiated

uint256 randomBeaconGovernanceTransferInitiated

newRelayEntrySoftTimeout

uint256 newRelayEntrySoftTimeout

relayEntrySoftTimeoutChangeInitiated

uint256 relayEntrySoftTimeoutChangeInitiated

newRelayEntryHardTimeout

uint256 newRelayEntryHardTimeout

relayEntryHardTimeoutChangeInitiated

uint256 relayEntryHardTimeoutChangeInitiated

newCallbackGasLimit

uint256 newCallbackGasLimit

callbackGasLimitChangeInitiated

uint256 callbackGasLimitChangeInitiated

newGroupCreationFrequency

uint256 newGroupCreationFrequency

groupCreationFrequencyChangeInitiated

uint256 groupCreationFrequencyChangeInitiated

newGroupLifetime

uint256 newGroupLifetime

groupLifetimeChangeInitiated

uint256 groupLifetimeChangeInitiated

newDkgResultChallengePeriodLength

uint256 newDkgResultChallengePeriodLength

dkgResultChallengePeriodLengthChangeInitiated

uint256 dkgResultChallengePeriodLengthChangeInitiated

newDkgResultChallengeExtraGas

uint256 newDkgResultChallengeExtraGas

dkgResultChallengeExtraGasChangeInitiated

uint256 dkgResultChallengeExtraGasChangeInitiated

newDkgResultSubmissionTimeout

uint256 newDkgResultSubmissionTimeout

dkgResultSubmissionTimeoutChangeInitiated

uint256 dkgResultSubmissionTimeoutChangeInitiated

newDkgSubmitterPrecedencePeriodLength

uint256 newDkgSubmitterPrecedencePeriodLength

dkgSubmitterPrecedencePeriodLengthChangeInitiated

uint256 dkgSubmitterPrecedencePeriodLengthChangeInitiated

newRelayEntrySubmissionFailureSlashingAmount

uint96 newRelayEntrySubmissionFailureSlashingAmount

relayEntrySubmissionFailureSlashingAmountChangeInitiated

uint256 relayEntrySubmissionFailureSlashingAmountChangeInitiated

newMaliciousDkgResultSlashingAmount

uint96 newMaliciousDkgResultSlashingAmount

maliciousDkgResultSlashingAmountChangeInitiated

uint256 maliciousDkgResultSlashingAmountChangeInitiated

newUnauthorizedSigningSlashingAmount

uint96 newUnauthorizedSigningSlashingAmount

unauthorizedSigningSlashingAmountChangeInitiated

uint256 unauthorizedSigningSlashingAmountChangeInitiated

newSortitionPoolRewardsBanDuration

uint256 newSortitionPoolRewardsBanDuration

sortitionPoolRewardsBanDurationChangeInitiated

uint256 sortitionPoolRewardsBanDurationChangeInitiated

newRelayEntryTimeoutNotificationRewardMultiplier

uint256 newRelayEntryTimeoutNotificationRewardMultiplier

relayEntryTimeoutNotificationRewardMultiplierChangeInitiated

uint256 relayEntryTimeoutNotificationRewardMultiplierChangeInitiated

newUnauthorizedSigningNotificationRewardMultiplier

uint256 newUnauthorizedSigningNotificationRewardMultiplier

unauthorizedSigningNotificationRewardMultiplierChangeInitiated

uint256 unauthorizedSigningNotificationRewardMultiplierChangeInitiated

newMinimumAuthorization

uint96 newMinimumAuthorization

minimumAuthorizationChangeInitiated

uint256 minimumAuthorizationChangeInitiated

newAuthorizationDecreaseDelay

uint64 newAuthorizationDecreaseDelay

authorizationDecreaseDelayChangeInitiated

uint256 authorizationDecreaseDelayChangeInitiated

newAuthorizationDecreaseChangePeriod

uint64 newAuthorizationDecreaseChangePeriod

authorizationDecreaseChangePeriodChangeInitiated

uint256 authorizationDecreaseChangePeriodChangeInitiated

newDkgMaliciousResultNotificationRewardMultiplier

uint256 newDkgMaliciousResultNotificationRewardMultiplier

dkgMaliciousResultNotificationRewardMultiplierChangeInitiated

uint256 dkgMaliciousResultNotificationRewardMultiplierChangeInitiated

newDkgResultSubmissionGas

uint256 newDkgResultSubmissionGas

dkgResultSubmissionGasChangeInitiated

uint256 dkgResultSubmissionGasChangeInitiated

newDkgResultApprovalGasOffset

uint256 newDkgResultApprovalGasOffset

dkgResultApprovalGasOffsetChangeInitiated

uint256 dkgResultApprovalGasOffsetChangeInitiated

newNotifyOperatorInactivityGasOffset

uint256 newNotifyOperatorInactivityGasOffset

notifyOperatorInactivityGasOffsetChangeInitiated

uint256 notifyOperatorInactivityGasOffsetChangeInitiated

newRelayEntrySubmissionGasOffset

uint256 newRelayEntrySubmissionGasOffset

relayEntrySubmissionGasOffsetChangeInitiated

uint256 relayEntrySubmissionGasOffsetChangeInitiated

randomBeacon

contract RandomBeacon randomBeacon

governanceDelay

uint256 governanceDelay

GovernanceDelayUpdateStarted

event GovernanceDelayUpdateStarted(uint256 governanceDelay, uint256 timestamp)

GovernanceDelayUpdated

event GovernanceDelayUpdated(uint256 governanceDelay)

RandomBeaconGovernanceTransferStarted

event RandomBeaconGovernanceTransferStarted(address newRandomBeaconGovernance, uint256 timestamp)

RandomBeaconGovernanceTransferred

event RandomBeaconGovernanceTransferred(address newRandomBeaconGovernance)

RelayEntrySoftTimeoutUpdateStarted

event RelayEntrySoftTimeoutUpdateStarted(uint256 relayEntrySoftTimeout, uint256 timestamp)

RelayEntrySoftTimeoutUpdated

event RelayEntrySoftTimeoutUpdated(uint256 relayEntrySoftTimeout)

RelayEntryHardTimeoutUpdateStarted

event RelayEntryHardTimeoutUpdateStarted(uint256 relayEntryHardTimeout, uint256 timestamp)

RelayEntryHardTimeoutUpdated

event RelayEntryHardTimeoutUpdated(uint256 relayEntryHardTimeout)

CallbackGasLimitUpdateStarted

event CallbackGasLimitUpdateStarted(uint256 callbackGasLimit, uint256 timestamp)

CallbackGasLimitUpdated

event CallbackGasLimitUpdated(uint256 callbackGasLimit)

GroupCreationFrequencyUpdateStarted

event GroupCreationFrequencyUpdateStarted(uint256 groupCreationFrequency, uint256 timestamp)

GroupCreationFrequencyUpdated

event GroupCreationFrequencyUpdated(uint256 groupCreationFrequency)

GroupLifetimeUpdateStarted

event GroupLifetimeUpdateStarted(uint256 groupLifetime, uint256 timestamp)

GroupLifetimeUpdated

event GroupLifetimeUpdated(uint256 groupLifetime)

DkgResultChallengePeriodLengthUpdateStarted

event DkgResultChallengePeriodLengthUpdateStarted(uint256 dkgResultChallengePeriodLength, uint256 timestamp)

DkgResultChallengePeriodLengthUpdated

event DkgResultChallengePeriodLengthUpdated(uint256 dkgResultChallengePeriodLength)

DkgResultChallengeExtraGasUpdateStarted

event DkgResultChallengeExtraGasUpdateStarted(uint256 dkgResultChallengeExtraGas, uint256 timestamp)

DkgResultChallengeExtraGasUpdated

event DkgResultChallengeExtraGasUpdated(uint256 dkgResultChallengeExtraGas)

DkgResultSubmissionTimeoutUpdateStarted

event DkgResultSubmissionTimeoutUpdateStarted(uint256 dkgResultSubmissionTimeout, uint256 timestamp)

DkgResultSubmissionTimeoutUpdated

event DkgResultSubmissionTimeoutUpdated(uint256 dkgResultSubmissionTimeout)

DkgSubmitterPrecedencePeriodLengthUpdateStarted

event DkgSubmitterPrecedencePeriodLengthUpdateStarted(uint256 submitterPrecedencePeriodLength, uint256 timestamp)

DkgSubmitterPrecedencePeriodLengthUpdated

event DkgSubmitterPrecedencePeriodLengthUpdated(uint256 submitterPrecedencePeriodLength)

RelayEntrySubmissionFailureSlashingAmountUpdateStarted

event RelayEntrySubmissionFailureSlashingAmountUpdateStarted(uint96 relayEntrySubmissionFailureSlashingAmount, uint256 timestamp)

RelayEntrySubmissionFailureSlashingAmountUpdated

event RelayEntrySubmissionFailureSlashingAmountUpdated(uint96 relayEntrySubmissionFailureSlashingAmount)

MaliciousDkgResultSlashingAmountUpdateStarted

event MaliciousDkgResultSlashingAmountUpdateStarted(uint96 maliciousDkgResultSlashingAmount, uint256 timestamp)

MaliciousDkgResultSlashingAmountUpdated

event MaliciousDkgResultSlashingAmountUpdated(uint96 maliciousDkgResultSlashingAmount)

UnauthorizedSigningSlashingAmountUpdateStarted

event UnauthorizedSigningSlashingAmountUpdateStarted(uint96 unauthorizedSigningSlashingAmount, uint256 timestamp)

UnauthorizedSigningSlashingAmountUpdated

event UnauthorizedSigningSlashingAmountUpdated(uint96 unauthorizedSigningSlashingAmount)

SortitionPoolRewardsBanDurationUpdateStarted

event SortitionPoolRewardsBanDurationUpdateStarted(uint256 sortitionPoolRewardsBanDuration, uint256 timestamp)

SortitionPoolRewardsBanDurationUpdated

event SortitionPoolRewardsBanDurationUpdated(uint256 sortitionPoolRewardsBanDuration)

RelayEntryTimeoutNotificationRewardMultiplierUpdateStarted

event RelayEntryTimeoutNotificationRewardMultiplierUpdateStarted(uint256 relayEntryTimeoutNotificationRewardMultiplier, uint256 timestamp)

RelayEntryTimeoutNotificationRewardMultiplierUpdated

event RelayEntryTimeoutNotificationRewardMultiplierUpdated(uint256 relayEntryTimeoutNotificationRewardMultiplier)

UnauthorizedSigningNotificationRewardMultiplierUpdateStarted

event UnauthorizedSigningNotificationRewardMultiplierUpdateStarted(uint256 unauthorizedSigningTimeoutNotificationRewardMultiplier, uint256 timestamp)

UnauthorizedSigningNotificationRewardMultiplierUpdated

event UnauthorizedSigningNotificationRewardMultiplierUpdated(uint256 unauthorizedSigningTimeoutNotificationRewardMultiplier)

MinimumAuthorizationUpdateStarted

event MinimumAuthorizationUpdateStarted(uint96 minimumAuthorization, uint256 timestamp)

MinimumAuthorizationUpdated

event MinimumAuthorizationUpdated(uint96 minimumAuthorization)

AuthorizationDecreaseDelayUpdateStarted

event AuthorizationDecreaseDelayUpdateStarted(uint64 authorizationDecreaseDelay, uint256 timestamp)

AuthorizationDecreaseDelayUpdated

event AuthorizationDecreaseDelayUpdated(uint64 authorizationDecreaseDelay)

AuthorizationDecreaseChangePeriodUpdateStarted

event AuthorizationDecreaseChangePeriodUpdateStarted(uint64 authorizationDecreaseChangePeriod, uint256 timestamp)

AuthorizationDecreaseChangePeriodUpdated

event AuthorizationDecreaseChangePeriodUpdated(uint64 authorizationDecreaseChangePeriod)

DkgMaliciousResultNotificationRewardMultiplierUpdateStarted

event DkgMaliciousResultNotificationRewardMultiplierUpdateStarted(uint256 dkgMaliciousResultNotificationRewardMultiplier, uint256 timestamp)

DkgMaliciousResultNotificationRewardMultiplierUpdated

event DkgMaliciousResultNotificationRewardMultiplierUpdated(uint256 dkgMaliciousResultNotificationRewardMultiplier)

DkgResultSubmissionGasUpdateStarted

event DkgResultSubmissionGasUpdateStarted(uint256 dkgResultSubmissionGas, uint256 timestamp)

DkgResultSubmissionGasUpdated

event DkgResultSubmissionGasUpdated(uint256 dkgResultSubmissionGas)

DkgResultApprovalGasOffsetUpdateStarted

event DkgResultApprovalGasOffsetUpdateStarted(uint256 dkgResultApprovalGasOffset, uint256 timestamp)

DkgResultApprovalGasOffsetUpdated

event DkgResultApprovalGasOffsetUpdated(uint256 dkgResultApprovalGasOffset)

NotifyOperatorInactivityGasOffsetUpdateStarted

event NotifyOperatorInactivityGasOffsetUpdateStarted(uint256 notifyOperatorInactivityGasOffset, uint256 timestamp)

NotifyOperatorInactivityGasOffsetUpdated

event NotifyOperatorInactivityGasOffsetUpdated(uint256 notifyOperatorInactivityGasOffset)

RelayEntrySubmissionGasOffsetUpdateStarted

event RelayEntrySubmissionGasOffsetUpdateStarted(uint256 relayEntrySubmissionGasOffset, uint256 timestamp)

RelayEntrySubmissionGasOffsetUpdated

event RelayEntrySubmissionGasOffsetUpdated(uint256 relayEntrySubmissionGasOffset)

onlyAfterGovernanceDelay

modifier onlyAfterGovernanceDelay(uint256 changeInitiatedTimestamp)

Reverts if called before the governance delay elapses.

Parameters

constructor

constructor(contract RandomBeacon _randomBeacon, uint256 _governanceDelay) public

beginGovernanceDelayUpdate

function beginGovernanceDelayUpdate(uint256 _newGovernanceDelay) external

Begins the governance delay update process.

Can be called only by the contract owner.

Parameters

finalizeGovernanceDelayUpdate

function finalizeGovernanceDelayUpdate() external

Finalizes the governance delay update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRandomBeaconGovernanceTransfer

function beginRandomBeaconGovernanceTransfer(address _newRandomBeaconGovernance) external

Begins the random beacon governance transfer process.

Can be called only by the current contract governance.

finalizeRandomBeaconGovernanceTransfer

function finalizeRandomBeaconGovernanceTransfer() external

Finalizes the random beacon governance transfer process.

Can be called only by the current contract governance, after the governance delay elapses.

beginRelayEntrySoftTimeoutUpdate

function beginRelayEntrySoftTimeoutUpdate(uint256 _newRelayEntrySoftTimeout) external

Begins the relay entry soft timeout update process.

Can be called only by the contract owner.

Parameters

finalizeRelayEntrySoftTimeoutUpdate

function finalizeRelayEntrySoftTimeoutUpdate() external

Finalizes the relay entry soft timeout update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRelayEntryHardTimeoutUpdate

function beginRelayEntryHardTimeoutUpdate(uint256 _newRelayEntryHardTimeout) external

Begins the relay entry hard timeout update process.

Can be called only by the contract owner.

Parameters

finalizeRelayEntryHardTimeoutUpdate

function finalizeRelayEntryHardTimeoutUpdate() external

Finalizes the relay entry hard timeout update process.

Can be called only by the contract owner, after the governance delay elapses.

beginCallbackGasLimitUpdate

function beginCallbackGasLimitUpdate(uint256 _newCallbackGasLimit) external

Begins the callback gas limit update process.

Can be called only by the contract owner.

Parameters

finalizeCallbackGasLimitUpdate

function finalizeCallbackGasLimitUpdate() external

Finalizes the callback gas limit update process.

Can be called only by the contract owner, after the governance delay elapses.

beginGroupCreationFrequencyUpdate

function beginGroupCreationFrequencyUpdate(uint256 _newGroupCreationFrequency) external

Begins the group creation frequency update process.

Can be called only by the contract owner.

Parameters

finalizeGroupCreationFrequencyUpdate

function finalizeGroupCreationFrequencyUpdate() external

Finalizes the group creation frequency update process.

Can be called only by the contract owner, after the governance delay elapses.

beginGroupLifetimeUpdate

function beginGroupLifetimeUpdate(uint256 _newGroupLifetime) external

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

function finalizeGroupLifetimeUpdate() external

Finalizes the group creation frequency update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgResultChallengePeriodLengthUpdate

function beginDkgResultChallengePeriodLengthUpdate(uint256 _newDkgResultChallengePeriodLength) external

Begins the DKG result challenge period length update process.

Can be called only by the contract owner.

Parameters

finalizeDkgResultChallengePeriodLengthUpdate

function finalizeDkgResultChallengePeriodLengthUpdate() external

Finalizes the DKG result challenge period length update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgResultChallengeExtraGasUpdate

function beginDkgResultChallengeExtraGasUpdate(uint256 _newDkgResultChallengeExtraGas) external

Begins the DKG result challenge extra gas update process.

Can be called only by the contract owner.

Parameters

finalizeDkgResultChallengeExtraGasUpdate

function finalizeDkgResultChallengeExtraGasUpdate() external

Finalizes the DKG result challenge extra gas update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgResultSubmissionTimeoutUpdate

function beginDkgResultSubmissionTimeoutUpdate(uint256 _newDkgResultSubmissionTimeout) external

Begins the DKG result submission timeout update process.

Can be called only by the contract owner.

Parameters

finalizeDkgResultSubmissionTimeoutUpdate

function finalizeDkgResultSubmissionTimeoutUpdate() external

Finalizes the DKG result submission timeout update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgSubmitterPrecedencePeriodLengthUpdate

function beginDkgSubmitterPrecedencePeriodLengthUpdate(uint256 _newDkgSubmitterPrecedencePeriodLength) external

Begins the DKG submitter precedence period length.

Can be called only by the contract owner.

Parameters

finalizeDkgSubmitterPrecedencePeriodLengthUpdate

function finalizeDkgSubmitterPrecedencePeriodLengthUpdate() external

Finalizes the DKG submitter precedence period length.

Can be called only by the contract owner, after the governance delay elapses.

beginSortitionPoolRewardsBanDurationUpdate

function beginSortitionPoolRewardsBanDurationUpdate(uint256 _newSortitionPoolRewardsBanDuration) external

Begins the sortition pool rewards ban duration update process.

Can be called only by the contract owner.

Parameters

finalizeSortitionPoolRewardsBanDurationUpdate

function finalizeSortitionPoolRewardsBanDurationUpdate() external

Finalizes the sortition pool rewards ban duration update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRelayEntryTimeoutNotificationRewardMultiplierUpdate

function beginRelayEntryTimeoutNotificationRewardMultiplierUpdate(uint256 _newRelayEntryTimeoutNotificationRewardMultiplier) external

Begins the relay entry timeout notification reward multiplier update process.

Can be called only by the contract owner.

Parameters

beginUnauthorizedSigningNotificationRewardMultiplierUpdate

function beginUnauthorizedSigningNotificationRewardMultiplierUpdate(uint256 _newUnauthorizedSigningNotificationRewardMultiplier) external

Begins the unauthorized signing notification reward multiplier update process.

Can be called only by the contract owner.

Parameters

finalizeUnauthorizedSigningNotificationRewardMultiplierUpdate

function finalizeUnauthorizedSigningNotificationRewardMultiplierUpdate() external

Finalizes the unauthorized signing notification reward multiplier update process.

Can be called only by the contract owner, after the governance delay elapses.

finalizeRelayEntryTimeoutNotificationRewardMultiplierUpdate

function finalizeRelayEntryTimeoutNotificationRewardMultiplierUpdate() external

Finalizes the relay entry timeout notification reward multiplier update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgMaliciousResultNotificationRewardMultiplierUpdate

function beginDkgMaliciousResultNotificationRewardMultiplierUpdate(uint256 _newDkgMaliciousResultNotificationRewardMultiplier) external

Begins the DKG malicious result notification reward multiplier update process.

Can be called only by the contract owner.

Parameters

finalizeDkgMaliciousResultNotificationRewardMultiplierUpdate

function finalizeDkgMaliciousResultNotificationRewardMultiplierUpdate() external

Finalizes the DKG malicious result notification reward multiplier update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRelayEntrySubmissionFailureSlashingAmountUpdate

function beginRelayEntrySubmissionFailureSlashingAmountUpdate(uint96 _newRelayEntrySubmissionFailureSlashingAmount) external

Begins the relay entry submission failure slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeRelayEntrySubmissionFailureSlashingAmountUpdate

function finalizeRelayEntrySubmissionFailureSlashingAmountUpdate() external

Finalizes the relay entry submission failure slashing amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgResultSubmissionGasUpdate

function beginDkgResultSubmissionGasUpdate(uint256 _newDkgResultSubmissionGas) external

Begins the DKG result submission gas update process.

Can be called only by the contract owner.

Parameters

finalizeDkgResultSubmissionGasUpdate

function finalizeDkgResultSubmissionGasUpdate() external

Finalizes DKG result submission gas update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDkgResultApprovalGasOffsetUpdate

function beginDkgResultApprovalGasOffsetUpdate(uint256 _newDkgResultApprovalGasOffset) external

Begins the DKG result approval gas offset update process.

Can be called only by the contract owner.

Parameters

finalizeDkgResultApprovalGasOffsetUpdate

function finalizeDkgResultApprovalGasOffsetUpdate() external

Finalizes the DKG result approval gas offset update process.

Can be called only by the contract owner, after the governance delay elapses.

beginNotifyOperatorInactivityGasOffsetUpdate

function beginNotifyOperatorInactivityGasOffsetUpdate(uint256 _newNotifyOperatorInactivityGasOffset) external

Begins the notify operator inactivity gas offset update process.

Can be called only by the contract owner.

Parameters

finalizeNotifyOperatorInactivityGasOffsetUpdate

function finalizeNotifyOperatorInactivityGasOffsetUpdate() external

Finalizes the notify operator inactivity gas offset update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRelayEntrySubmissionGasOffsetUpdate

function beginRelayEntrySubmissionGasOffsetUpdate(uint256 _newRelayEntrySubmissionGasOffset) external

Begins the relay entry submission gas offset update process.

Can be called only by the contract owner.

Parameters

finalizeRelayEntrySubmissionGasOffsetUpdate

function finalizeRelayEntrySubmissionGasOffsetUpdate() external

Finalizes relay entry submission gas offset update process.

Can be called only by the contract owner, after the governance delay elapses.

beginMaliciousDkgResultSlashingAmountUpdate

function beginMaliciousDkgResultSlashingAmountUpdate(uint96 _newMaliciousDkgResultSlashingAmount) external

Begins the malicious DKG result slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeMaliciousDkgResultSlashingAmountUpdate

function finalizeMaliciousDkgResultSlashingAmountUpdate() external

Finalizes the malicious DKG result slashing amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginUnauthorizedSigningSlashingAmountUpdate

function beginUnauthorizedSigningSlashingAmountUpdate(uint96 _newUnauthorizedSigningSlashingAmount) external

Begins the unauthorized signing slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeUnauthorizedSigningSlashingAmountUpdate

function finalizeUnauthorizedSigningSlashingAmountUpdate() external

Finalizes the unauthorized signing slashing amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginMinimumAuthorizationUpdate

function beginMinimumAuthorizationUpdate(uint96 _newMinimumAuthorization) external

Begins the minimum authorization amount update process.

Can be called only by the contract owner.

Parameters

finalizeMinimumAuthorizationUpdate

function finalizeMinimumAuthorizationUpdate() external

Finalizes the minimum authorization amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginAuthorizationDecreaseDelayUpdate

function beginAuthorizationDecreaseDelayUpdate(uint64 _newAuthorizationDecreaseDelay) external

Begins the authorization decrease delay update process.

Can be called only by the contract owner.

Parameters

finalizeAuthorizationDecreaseDelayUpdate

function finalizeAuthorizationDecreaseDelayUpdate() external

Finalizes the authorization decrease delay update process.

Can be called only by the contract owner, after the governance delay elapses.

beginAuthorizationDecreaseChangePeriodUpdate

function beginAuthorizationDecreaseChangePeriodUpdate(uint64 _newAuthorizationDecreaseChangePeriod) external

Begins the authorization decrease change period update process.

Can be called only by the contract owner.

Parameters

finalizeAuthorizationDecreaseChangePeriodUpdate

function finalizeAuthorizationDecreaseChangePeriodUpdate() external

Finalizes the authorization decrease change period update process.

Can be called only by the contract owner, after the governance delay elapses.

setRequesterAuthorization

function setRequesterAuthorization(address requester, bool isAuthorized) external

Set authorization for requesters that can request a relay entry. It can be done by the governance only.

Parameters

withdrawIneligibleRewards

function withdrawIneligibleRewards(address recipient) external

Withdraws rewards belonging to operators marked as ineligible for sortition pool rewards.

Can be called only by the contract owner.

Parameters

getRemainingGovernanceDelayUpdateTime

function getRemainingGovernanceDelayUpdateTime() external view returns (uint256)

Get the time remaining until the governance delay can be updated.

Return Values

getRemainingRandomBeaconGovernanceTransferDelayTime

function getRemainingRandomBeaconGovernanceTransferDelayTime() external view returns (uint256)

Get the time remaining until the random beacon governance can be transferred.

Return Values

getRemainingRelayEntrySoftTimeoutUpdateTime

function getRemainingRelayEntrySoftTimeoutUpdateTime() external view returns (uint256)

Get the time remaining until the relay entry submission soft timeout can be updated.

Return Values

getRemainingRelayEntryHardTimeoutUpdateTime

function getRemainingRelayEntryHardTimeoutUpdateTime() external view returns (uint256)

Get the time remaining until the relay entry hard timeout can be updated.

Return Values

getRemainingCallbackGasLimitUpdateTime

function getRemainingCallbackGasLimitUpdateTime() external view returns (uint256)

Get the time remaining until the callback gas limit can be updated.

Return Values

getRemainingGroupCreationFrequencyUpdateTime

function getRemainingGroupCreationFrequencyUpdateTime() external view returns (uint256)

Get the time remaining until the group creation frequency can be updated.

Return Values

getRemainingGroupLifetimeUpdateTime

function getRemainingGroupLifetimeUpdateTime() external view returns (uint256)

Get the time remaining until the group lifetime can be updated.

Return Values

getRemainingDkgResultChallengePeriodLengthUpdateTime

function getRemainingDkgResultChallengePeriodLengthUpdateTime() external view returns (uint256)

Get the time remaining until the DKG result challenge period length can be updated.

Return Values

getRemainingDkgResultChallengeExtraGasUpdateTime

function getRemainingDkgResultChallengeExtraGasUpdateTime() external view returns (uint256)

Get the time remaining until the DKG result challenge extra gas can be updated.

Return Values

getRemainingDkgResultSubmissionTimeoutUpdateTime

function getRemainingDkgResultSubmissionTimeoutUpdateTime() external view returns (uint256)

Get the time remaining until the DKG result submission timeout can be updated.

Return Values

getRemainingDkgSubmitterPrecedencePeriodLengthUpdateTime

function getRemainingDkgSubmitterPrecedencePeriodLengthUpdateTime() external view returns (uint256)

Get the time remaining until the wallet owner can be updated.

Return Values

getRemainingRelayEntrySubmissionFailureSlashingAmountUpdateTime

function getRemainingRelayEntrySubmissionFailureSlashingAmountUpdateTime() external view returns (uint256)

Get the time remaining until the relay entry submission failure slashing amount can be updated.

Return Values

getRemainingMaliciousDkgResultSlashingAmountUpdateTime

function getRemainingMaliciousDkgResultSlashingAmountUpdateTime() external view returns (uint256)

Get the time remaining until the malicious DKG result slashing amount can be updated.

Return Values

getRemainingUnauthorizedSigningSlashingAmountUpdateTime

function getRemainingUnauthorizedSigningSlashingAmountUpdateTime() external view returns (uint256)

Get the time remaining until the unauthorized signing slashing amount can be updated.

Return Values

getRemainingMimimumAuthorizationUpdateTime

function getRemainingMimimumAuthorizationUpdateTime() external view returns (uint256)

Get the time remaining until the minimum authorization amount can be updated.

Return Values

getRemainingAuthorizationDecreaseDelayUpdateTime

function getRemainingAuthorizationDecreaseDelayUpdateTime() external view returns (uint256)

Get the time remaining until the authorization decrease delay can be updated.

Return Values

getRemainingAuthorizationDecreaseChangePeriodUpdateTime

function getRemainingAuthorizationDecreaseChangePeriodUpdateTime() external view returns (uint256)

Get the time remaining until the authorization decrease change period can be updated.

Return Values

getRemainingSortitionPoolRewardsBanDurationUpdateTime

function getRemainingSortitionPoolRewardsBanDurationUpdateTime() external view returns (uint256)

Get the time remaining until the sortition pool rewards ban duration can be updated.

Return Values

getRemainingRelayEntryTimeoutNotificationRewardMultiplierUpdateTime

function getRemainingRelayEntryTimeoutNotificationRewardMultiplierUpdateTime() external view returns (uint256)

Get the time remaining until the relay entry timeout notification reward multiplier duration can be updated.

Return Values

getRemainingUnauthorizedSigningNotificationRewardMultiplierUpdateTime

function getRemainingUnauthorizedSigningNotificationRewardMultiplierUpdateTime() external view returns (uint256)

Get the time remaining until the unauthorized signing notification reward multiplier duration can be updated.

Return Values

getRemainingDkgMaliciousResultNotificationRewardMultiplierUpdateTime

function getRemainingDkgMaliciousResultNotificationRewardMultiplierUpdateTime() external view returns (uint256)

Get the time remaining until the DKG malicious result notification reward multiplier duration can be updated.

Return Values

getRemainingDkgResultSubmissionGasUpdateTime

function getRemainingDkgResultSubmissionGasUpdateTime() external view returns (uint256)

Get the time remaining until the DKG result submission gas duration can be updated.

Return Values

getRemainingDkgResultApprovalGasOffsetUpdateTime

function getRemainingDkgResultApprovalGasOffsetUpdateTime() external view returns (uint256)

Get the time remaining until the DKG approval gas offset duration can be updated.

Return Values

getRemainingNotifyOperatorInactivityGasOffsetUpdateTime

function getRemainingNotifyOperatorInactivityGasOffsetUpdateTime() external view returns (uint256)

Get the time remaining until the operator inactivity notification gas offset duration can be updated.

Return Values

getRemainingRelayEntrySubmissionGasOffsetUpdateTime

function getRemainingRelayEntrySubmissionGasOffsetUpdateTime() external view returns (uint256)

Get the time remaining until the relay entry submission gas offset duration can be updated.

Return Values

getRemainingChangeTime

function getRemainingChangeTime(uint256 changeTimestamp) internal view returns (uint256)

Gets the time remaining until the governable parameter update can be committed.

Parameters

Return Values

Last updated