all files / contracts/ DAOV1Interfaces.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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57                                                                                                                 
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
 
interface IDAO {
    function initialize(
        string memory _name,
        address _treasury,
        address _stakingContract,
        address _token,
        address _factory
    ) external;
}
 
interface IDAOToken {
    function initialize(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        address initialHolder,
        address treasury,
        address owner
    ) external;
 
    function setStakingContract(address _stakingContract) external;
}
 
interface IDAOTreasury {
    function initialize(address _dao) external;
}
 
interface IDAOStaking {
    function initialize(address _token) external;
}
 
interface IDAOPresale {
    function initialize(
        address token,
        address treasury,
        uint256 totalTokens,
        uint256 initialPrice
    ) external;
}
 
interface IDAOFactory {
    function getImplementation(string calldata version) external view returns (
        address daoImpl,
        address tokenImpl,
        address treasuryImpl,
        address stakingImpl,
        address presaleImpl
    );
}
 
interface IUpgradeable {
    function upgradeToAndCall(address newImplementation, bytes memory data) external;
}