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 newGovernanceDelaygovernanceDelayChangeInitiated
uint256 governanceDelayChangeInitiatednewRandomBeaconGovernance
address newRandomBeaconGovernancerandomBeaconGovernanceTransferInitiated
uint256 randomBeaconGovernanceTransferInitiatednewRelayEntrySoftTimeout
uint256 newRelayEntrySoftTimeoutrelayEntrySoftTimeoutChangeInitiated
uint256 relayEntrySoftTimeoutChangeInitiatednewRelayEntryHardTimeout
uint256 newRelayEntryHardTimeoutrelayEntryHardTimeoutChangeInitiated
uint256 relayEntryHardTimeoutChangeInitiatednewCallbackGasLimit
uint256 newCallbackGasLimitcallbackGasLimitChangeInitiated
uint256 callbackGasLimitChangeInitiatednewGroupCreationFrequency
uint256 newGroupCreationFrequencygroupCreationFrequencyChangeInitiated
uint256 groupCreationFrequencyChangeInitiatednewGroupLifetime
uint256 newGroupLifetimegroupLifetimeChangeInitiated
uint256 groupLifetimeChangeInitiatednewDkgResultChallengePeriodLength
uint256 newDkgResultChallengePeriodLengthdkgResultChallengePeriodLengthChangeInitiated
uint256 dkgResultChallengePeriodLengthChangeInitiatednewDkgResultChallengeExtraGas
uint256 newDkgResultChallengeExtraGasdkgResultChallengeExtraGasChangeInitiated
uint256 dkgResultChallengeExtraGasChangeInitiatednewDkgResultSubmissionTimeout
uint256 newDkgResultSubmissionTimeoutdkgResultSubmissionTimeoutChangeInitiated
uint256 dkgResultSubmissionTimeoutChangeInitiatednewDkgSubmitterPrecedencePeriodLength
uint256 newDkgSubmitterPrecedencePeriodLengthdkgSubmitterPrecedencePeriodLengthChangeInitiated
uint256 dkgSubmitterPrecedencePeriodLengthChangeInitiatednewRelayEntrySubmissionFailureSlashingAmount
uint96 newRelayEntrySubmissionFailureSlashingAmountrelayEntrySubmissionFailureSlashingAmountChangeInitiated
uint256 relayEntrySubmissionFailureSlashingAmountChangeInitiatednewMaliciousDkgResultSlashingAmount
uint96 newMaliciousDkgResultSlashingAmountmaliciousDkgResultSlashingAmountChangeInitiated
uint256 maliciousDkgResultSlashingAmountChangeInitiatednewUnauthorizedSigningSlashingAmount
uint96 newUnauthorizedSigningSlashingAmountunauthorizedSigningSlashingAmountChangeInitiated
uint256 unauthorizedSigningSlashingAmountChangeInitiatednewSortitionPoolRewardsBanDuration
uint256 newSortitionPoolRewardsBanDurationsortitionPoolRewardsBanDurationChangeInitiated
uint256 sortitionPoolRewardsBanDurationChangeInitiatednewRelayEntryTimeoutNotificationRewardMultiplier
uint256 newRelayEntryTimeoutNotificationRewardMultiplierrelayEntryTimeoutNotificationRewardMultiplierChangeInitiated
uint256 relayEntryTimeoutNotificationRewardMultiplierChangeInitiatednewUnauthorizedSigningNotificationRewardMultiplier
uint256 newUnauthorizedSigningNotificationRewardMultiplierunauthorizedSigningNotificationRewardMultiplierChangeInitiated
uint256 unauthorizedSigningNotificationRewardMultiplierChangeInitiatednewMinimumAuthorization
uint96 newMinimumAuthorizationminimumAuthorizationChangeInitiated
uint256 minimumAuthorizationChangeInitiatednewAuthorizationDecreaseDelay
uint64 newAuthorizationDecreaseDelayauthorizationDecreaseDelayChangeInitiated
uint256 authorizationDecreaseDelayChangeInitiatednewAuthorizationDecreaseChangePeriod
uint64 newAuthorizationDecreaseChangePeriodauthorizationDecreaseChangePeriodChangeInitiated
uint256 authorizationDecreaseChangePeriodChangeInitiatednewDkgMaliciousResultNotificationRewardMultiplier
uint256 newDkgMaliciousResultNotificationRewardMultiplierdkgMaliciousResultNotificationRewardMultiplierChangeInitiated
uint256 dkgMaliciousResultNotificationRewardMultiplierChangeInitiatednewDkgResultSubmissionGas
uint256 newDkgResultSubmissionGasdkgResultSubmissionGasChangeInitiated
uint256 dkgResultSubmissionGasChangeInitiatednewDkgResultApprovalGasOffset
uint256 newDkgResultApprovalGasOffsetdkgResultApprovalGasOffsetChangeInitiated
uint256 dkgResultApprovalGasOffsetChangeInitiatednewNotifyOperatorInactivityGasOffset
uint256 newNotifyOperatorInactivityGasOffsetnotifyOperatorInactivityGasOffsetChangeInitiated
uint256 notifyOperatorInactivityGasOffsetChangeInitiatednewRelayEntrySubmissionGasOffset
uint256 newRelayEntrySubmissionGasOffsetrelayEntrySubmissionGasOffsetChangeInitiated
uint256 relayEntrySubmissionGasOffsetChangeInitiatedrandomBeacon
contract RandomBeacon randomBeacongovernanceDelay
uint256 governanceDelayGovernanceDelayUpdateStarted
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
changeInitiatedTimestamp
uint256
Timestamp indicating the beginning of the change.
constructor
constructor(contract RandomBeacon _randomBeacon, uint256 _governanceDelay) publicbeginGovernanceDelayUpdate
function beginGovernanceDelayUpdate(uint256 _newGovernanceDelay) externalBegins the governance delay update process.
Can be called only by the contract owner.
Parameters
_newGovernanceDelay
uint256
New governance delay
finalizeGovernanceDelayUpdate
function finalizeGovernanceDelayUpdate() externalFinalizes the governance delay update process.
Can be called only by the contract owner, after the governance delay elapses.
beginRandomBeaconGovernanceTransfer
function beginRandomBeaconGovernanceTransfer(address _newRandomBeaconGovernance) externalBegins the random beacon governance transfer process.
Can be called only by the current contract governance.
finalizeRandomBeaconGovernanceTransfer
function finalizeRandomBeaconGovernanceTransfer() externalFinalizes 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) externalBegins the relay entry soft timeout update process.
Can be called only by the contract owner.
Parameters
_newRelayEntrySoftTimeout
uint256
New relay entry submission timeout in blocks
finalizeRelayEntrySoftTimeoutUpdate
function finalizeRelayEntrySoftTimeoutUpdate() externalFinalizes 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) externalBegins the relay entry hard timeout update process.
Can be called only by the contract owner.
Parameters
_newRelayEntryHardTimeout
uint256
New relay entry hard timeout in blocks
finalizeRelayEntryHardTimeoutUpdate
function finalizeRelayEntryHardTimeoutUpdate() externalFinalizes 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) externalBegins the callback gas limit update process.
Can be called only by the contract owner.
Parameters
_newCallbackGasLimit
uint256
New callback gas limit
finalizeCallbackGasLimitUpdate
function finalizeCallbackGasLimitUpdate() externalFinalizes the callback gas limit update process.
Can be called only by the contract owner, after the governance delay elapses.
beginGroupCreationFrequencyUpdate
function beginGroupCreationFrequencyUpdate(uint256 _newGroupCreationFrequency) externalBegins the group creation frequency update process.
Can be called only by the contract owner.
Parameters
_newGroupCreationFrequency
uint256
New group creation frequency
finalizeGroupCreationFrequencyUpdate
function finalizeGroupCreationFrequencyUpdate() externalFinalizes the group creation frequency update process.
Can be called only by the contract owner, after the governance delay elapses.
beginGroupLifetimeUpdate
function beginGroupLifetimeUpdate(uint256 _newGroupLifetime) externalBegins 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
_newGroupLifetime
uint256
New group lifetime in blocks
finalizeGroupLifetimeUpdate
function finalizeGroupLifetimeUpdate() externalFinalizes the group creation frequency update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultChallengePeriodLengthUpdate
function beginDkgResultChallengePeriodLengthUpdate(uint256 _newDkgResultChallengePeriodLength) externalBegins the DKG result challenge period length update process.
Can be called only by the contract owner.
Parameters
_newDkgResultChallengePeriodLength
uint256
New DKG result challenge period length in blocks
finalizeDkgResultChallengePeriodLengthUpdate
function finalizeDkgResultChallengePeriodLengthUpdate() externalFinalizes 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) externalBegins the DKG result challenge extra gas update process.
Can be called only by the contract owner.
Parameters
_newDkgResultChallengeExtraGas
uint256
New DKG result challenge extra gas
finalizeDkgResultChallengeExtraGasUpdate
function finalizeDkgResultChallengeExtraGasUpdate() externalFinalizes 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) externalBegins the DKG result submission timeout update process.
Can be called only by the contract owner.
Parameters
_newDkgResultSubmissionTimeout
uint256
New DKG result submission timeout in blocks
finalizeDkgResultSubmissionTimeoutUpdate
function finalizeDkgResultSubmissionTimeoutUpdate() externalFinalizes 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) externalBegins the DKG submitter precedence period length.
Can be called only by the contract owner.
Parameters
_newDkgSubmitterPrecedencePeriodLength
uint256
New DKG submitter precedence period length in blocks
finalizeDkgSubmitterPrecedencePeriodLengthUpdate
function finalizeDkgSubmitterPrecedencePeriodLengthUpdate() externalFinalizes the DKG submitter precedence period length.
Can be called only by the contract owner, after the governance delay elapses.
beginSortitionPoolRewardsBanDurationUpdate
function beginSortitionPoolRewardsBanDurationUpdate(uint256 _newSortitionPoolRewardsBanDuration) externalBegins the sortition pool rewards ban duration update process.
Can be called only by the contract owner.
Parameters
_newSortitionPoolRewardsBanDuration
uint256
New sortition pool rewards ban duration.
finalizeSortitionPoolRewardsBanDurationUpdate
function finalizeSortitionPoolRewardsBanDurationUpdate() externalFinalizes 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) externalBegins the relay entry timeout notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
_newRelayEntryTimeoutNotificationRewardMultiplier
uint256
New relay entry timeout notification reward multiplier.
beginUnauthorizedSigningNotificationRewardMultiplierUpdate
function beginUnauthorizedSigningNotificationRewardMultiplierUpdate(uint256 _newUnauthorizedSigningNotificationRewardMultiplier) externalBegins the unauthorized signing notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
_newUnauthorizedSigningNotificationRewardMultiplier
uint256
New unauthorized signing notification reward multiplier.
finalizeUnauthorizedSigningNotificationRewardMultiplierUpdate
function finalizeUnauthorizedSigningNotificationRewardMultiplierUpdate() externalFinalizes the unauthorized signing notification reward multiplier update process.
Can be called only by the contract owner, after the governance delay elapses.
finalizeRelayEntryTimeoutNotificationRewardMultiplierUpdate
function finalizeRelayEntryTimeoutNotificationRewardMultiplierUpdate() externalFinalizes 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) externalBegins the DKG malicious result notification reward multiplier update process.
Can be called only by the contract owner.
Parameters
_newDkgMaliciousResultNotificationRewardMultiplier
uint256
New DKG malicious result notification reward multiplier.
finalizeDkgMaliciousResultNotificationRewardMultiplierUpdate
function finalizeDkgMaliciousResultNotificationRewardMultiplierUpdate() externalFinalizes 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) externalBegins the relay entry submission failure slashing amount update process.
Can be called only by the contract owner.
Parameters
_newRelayEntrySubmissionFailureSlashingAmount
uint96
New relay entry submission failure slashing amount
finalizeRelayEntrySubmissionFailureSlashingAmountUpdate
function finalizeRelayEntrySubmissionFailureSlashingAmountUpdate() externalFinalizes 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) externalBegins the DKG result submission gas update process.
Can be called only by the contract owner.
Parameters
_newDkgResultSubmissionGas
uint256
New relay entry submission gas offset
finalizeDkgResultSubmissionGasUpdate
function finalizeDkgResultSubmissionGasUpdate() externalFinalizes DKG result submission gas update process.
Can be called only by the contract owner, after the governance delay elapses.
beginDkgResultApprovalGasOffsetUpdate
function beginDkgResultApprovalGasOffsetUpdate(uint256 _newDkgResultApprovalGasOffset) externalBegins the DKG result approval gas offset update process.
Can be called only by the contract owner.
Parameters
_newDkgResultApprovalGasOffset
uint256
New DKG approval gas offset
finalizeDkgResultApprovalGasOffsetUpdate
function finalizeDkgResultApprovalGasOffsetUpdate() externalFinalizes 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) externalBegins the notify operator inactivity gas offset update process.
Can be called only by the contract owner.
Parameters
_newNotifyOperatorInactivityGasOffset
uint256
New operator inactivity notification gas offset
finalizeNotifyOperatorInactivityGasOffsetUpdate
function finalizeNotifyOperatorInactivityGasOffsetUpdate() externalFinalizes 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) externalBegins the relay entry submission gas offset update process.
Can be called only by the contract owner.
Parameters
_newRelayEntrySubmissionGasOffset
uint256
New relay entry submission gas offset
finalizeRelayEntrySubmissionGasOffsetUpdate
function finalizeRelayEntrySubmissionGasOffsetUpdate() externalFinalizes 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) externalBegins the malicious DKG result slashing amount update process.
Can be called only by the contract owner.
Parameters
_newMaliciousDkgResultSlashingAmount
uint96
New malicious DKG result slashing amount
finalizeMaliciousDkgResultSlashingAmountUpdate
function finalizeMaliciousDkgResultSlashingAmountUpdate() externalFinalizes 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) externalBegins the unauthorized signing slashing amount update process.
Can be called only by the contract owner.
Parameters
_newUnauthorizedSigningSlashingAmount
uint96
New unauthorized signing slashing amount
finalizeUnauthorizedSigningSlashingAmountUpdate
function finalizeUnauthorizedSigningSlashingAmountUpdate() externalFinalizes 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) externalBegins the minimum authorization amount update process.
Can be called only by the contract owner.
Parameters
_newMinimumAuthorization
uint96
New minimum authorization amount.
finalizeMinimumAuthorizationUpdate
function finalizeMinimumAuthorizationUpdate() externalFinalizes the minimum authorization amount update process.
Can be called only by the contract owner, after the governance delay elapses.
beginAuthorizationDecreaseDelayUpdate
function beginAuthorizationDecreaseDelayUpdate(uint64 _newAuthorizationDecreaseDelay) externalBegins the authorization decrease delay update process.
Can be called only by the contract owner.
Parameters
_newAuthorizationDecreaseDelay
uint64
New authorization decrease delay
finalizeAuthorizationDecreaseDelayUpdate
function finalizeAuthorizationDecreaseDelayUpdate() externalFinalizes the authorization decrease delay update process.
Can be called only by the contract owner, after the governance delay elapses.
beginAuthorizationDecreaseChangePeriodUpdate
function beginAuthorizationDecreaseChangePeriodUpdate(uint64 _newAuthorizationDecreaseChangePeriod) externalBegins the authorization decrease change period update process.
Can be called only by the contract owner.
Parameters
_newAuthorizationDecreaseChangePeriod
uint64
New authorization decrease change period
finalizeAuthorizationDecreaseChangePeriodUpdate
function finalizeAuthorizationDecreaseChangePeriodUpdate() externalFinalizes 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) externalSet authorization for requesters that can request a relay entry. It can be done by the governance only.
Parameters
requester
address
Requester, can be a contract or EOA
isAuthorized
bool
True or false
withdrawIneligibleRewards
function withdrawIneligibleRewards(address recipient) externalWithdraws rewards belonging to operators marked as ineligible for sortition pool rewards.
Can be called only by the contract owner.
Parameters
recipient
address
Recipient of withdrawn rewards.
getRemainingGovernanceDelayUpdateTime
function getRemainingGovernanceDelayUpdateTime() external view returns (uint256)Get the time remaining until the governance delay can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingRandomBeaconGovernanceTransferDelayTime
function getRemainingRandomBeaconGovernanceTransferDelayTime() external view returns (uint256)Get the time remaining until the random beacon governance can be transferred.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingRelayEntrySoftTimeoutUpdateTime
function getRemainingRelayEntrySoftTimeoutUpdateTime() external view returns (uint256)Get the time remaining until the relay entry submission soft timeout can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingRelayEntryHardTimeoutUpdateTime
function getRemainingRelayEntryHardTimeoutUpdateTime() external view returns (uint256)Get the time remaining until the relay entry hard timeout can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingCallbackGasLimitUpdateTime
function getRemainingCallbackGasLimitUpdateTime() external view returns (uint256)Get the time remaining until the callback gas limit can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingGroupCreationFrequencyUpdateTime
function getRemainingGroupCreationFrequencyUpdateTime() external view returns (uint256)Get the time remaining until the group creation frequency can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingGroupLifetimeUpdateTime
function getRemainingGroupLifetimeUpdateTime() external view returns (uint256)Get the time remaining until the group lifetime can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingDkgResultChallengePeriodLengthUpdateTime
function getRemainingDkgResultChallengePeriodLengthUpdateTime() external view returns (uint256)Get the time remaining until the DKG result challenge period length can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingDkgResultChallengeExtraGasUpdateTime
function getRemainingDkgResultChallengeExtraGasUpdateTime() external view returns (uint256)Get the time remaining until the DKG result challenge extra gas can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingDkgResultSubmissionTimeoutUpdateTime
function getRemainingDkgResultSubmissionTimeoutUpdateTime() external view returns (uint256)Get the time remaining until the DKG result submission timeout can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingDkgSubmitterPrecedencePeriodLengthUpdateTime
function getRemainingDkgSubmitterPrecedencePeriodLengthUpdateTime() external view returns (uint256)Get the time remaining until the wallet owner can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingRelayEntrySubmissionFailureSlashingAmountUpdateTime
function getRemainingRelayEntrySubmissionFailureSlashingAmountUpdateTime() external view returns (uint256)Get the time remaining until the relay entry submission failure slashing amount can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingMaliciousDkgResultSlashingAmountUpdateTime
function getRemainingMaliciousDkgResultSlashingAmountUpdateTime() external view returns (uint256)Get the time remaining until the malicious DKG result slashing amount can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingUnauthorizedSigningSlashingAmountUpdateTime
function getRemainingUnauthorizedSigningSlashingAmountUpdateTime() external view returns (uint256)Get the time remaining until the unauthorized signing slashing amount can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingMimimumAuthorizationUpdateTime
function getRemainingMimimumAuthorizationUpdateTime() external view returns (uint256)Get the time remaining until the minimum authorization amount can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingAuthorizationDecreaseDelayUpdateTime
function getRemainingAuthorizationDecreaseDelayUpdateTime() external view returns (uint256)Get the time remaining until the authorization decrease delay can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingAuthorizationDecreaseChangePeriodUpdateTime
function getRemainingAuthorizationDecreaseChangePeriodUpdateTime() external view returns (uint256)Get the time remaining until the authorization decrease change period can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingSortitionPoolRewardsBanDurationUpdateTime
function getRemainingSortitionPoolRewardsBanDurationUpdateTime() external view returns (uint256)Get the time remaining until the sortition pool rewards ban duration can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
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
[0]
uint256
Remaining time in seconds.
getRemainingUnauthorizedSigningNotificationRewardMultiplierUpdateTime
function getRemainingUnauthorizedSigningNotificationRewardMultiplierUpdateTime() external view returns (uint256)Get the time remaining until the unauthorized signing notification reward multiplier duration can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
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
[0]
uint256
Remaining time in seconds.
getRemainingDkgResultSubmissionGasUpdateTime
function getRemainingDkgResultSubmissionGasUpdateTime() external view returns (uint256)Get the time remaining until the DKG result submission gas duration can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingDkgResultApprovalGasOffsetUpdateTime
function getRemainingDkgResultApprovalGasOffsetUpdateTime() external view returns (uint256)Get the time remaining until the DKG approval gas offset duration can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingNotifyOperatorInactivityGasOffsetUpdateTime
function getRemainingNotifyOperatorInactivityGasOffsetUpdateTime() external view returns (uint256)Get the time remaining until the operator inactivity notification gas offset duration can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingRelayEntrySubmissionGasOffsetUpdateTime
function getRemainingRelayEntrySubmissionGasOffsetUpdateTime() external view returns (uint256)Get the time remaining until the relay entry submission gas offset duration can be updated.
Return Values
[0]
uint256
Remaining time in seconds.
getRemainingChangeTime
function getRemainingChangeTime(uint256 changeTimestamp) internal view returns (uint256)Gets the time remaining until the governable parameter update can be committed.
Parameters
changeTimestamp
uint256
Timestamp indicating the beginning of the change.
Return Values
[0]
uint256
Remaining time in seconds.
Last updated
Was this helpful?