tornado-contracts/contracts/Governance/v1/Mocks/ProposalStateChangeGovernance.sol

14 lines
294 B
Solidity
Raw Permalink Normal View History

2024-03-29 21:52:45 +00:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
2025-01-04 18:39:49 +00:00
interface IGovernance2 {
2024-03-29 21:52:45 +00:00
function setExecutionDelay(uint256 delay) external;
}
contract ProposalStateChangeGovernance {
function executeProposal() public {
2025-01-04 18:39:49 +00:00
IGovernance2(address(this)).setExecutionDelay(3 days);
2024-03-29 21:52:45 +00:00
}
}