all files / contracts/v1.0.1/core/interfaces/ IDAOExecutor.sol

100% Statements 0/0
100% Branches 0/0
100% Functions 0/0
100% Lines 0/0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29                                                         
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
 
import "./IDAOEvents.sol";
 
/**
 * @title IDAOExecutor
 * @dev Interface for proposal execution functionality
 */
interface IDAOExecutor is IDAOEvents {
    /**
     * @dev Executes a proposal that has passed voting
     * @param proposalId The ID of the proposal to execute
     */
    function execute(uint256 proposalId) external;
 
    // /**
    //  * @dev Performs an emergency withdrawal when the DAO is paused
    //  * @param token The token to withdraw (address(0) for ETH)
    //  * @param recipient The recipient of the withdrawn funds
    //  * @param amount The amount to withdraw
    //  */
    // function emergencyWithdraw(
    //     address token,
    //     address recipient,
    //     uint256 amount
    // ) external;
}