governance-patch/contracts/v1/Mocks/ProposalStateChangeGovernance.sol
2023-05-22 18:17:04 +03:00

14 lines
282 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
interface IGovernance {
function setExecutionDelay(uint256 delay) external;
}
contract ProposalStateChangeGovernance {
function executeProposal() public {
IGovernance(address(this)).setExecutionDelay(3 days);
}
}