Blocker
View Source: moc-governance/contracts/ChangersTemplates/Blocker.sol
↗ Extends: ChangeContract ↘ Derived Contracts: MockBlocker
Blocker - version: 0.1.10
This contract is a ChangeContract intended to be used when you want to block a Blockable (example: BlockableGovernor )
Contract Members
Constants & Variables
contract Blockable public blockable;
uint256 public unblockDate;
Functions
Constructor
function (Blockable _blockable, uint256 _unblockDate) public nonpayable
Arguments
Name
Type
Description
_blockable
Blockable
Address of the contract to be blocked
_unblockDate
uint256
Date that marks when the blockable will be unblocked
execute
⤾ overrides ChangeContract.execute
Execute the changes.Should be called by the governor, but this contract does not check that explicitly because it is not its responsability in the current architecture
function execute() external nonpayable
Arguments
Last updated