GovernanceUtils

GovernanceUtils

onlyAfterGovernanceDelay

function onlyAfterGovernanceDelay(uint256 changeInitiatedTimestamp, uint256 delay) internal view

Reverts if the governance delay has not passed since the change initiated time or if the change has not been initiated.

Parameters

getRemainingGovernanceDelay

function getRemainingGovernanceDelay(uint256 changeInitiatedTimestamp, uint256 delay) internal view returns (uint256)

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

Parameters

Return Values

Last updated