add crowdpooling factory and proxy
This commit is contained in:
36
contracts/CrowdPooling/intf/ICP.sol
Normal file
36
contracts/CrowdPooling/intf/ICP.sol
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
|
||||
Copyright 2020 DODO ZOO.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
*/
|
||||
|
||||
pragma solidity 0.6.9;
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
interface ICP {
|
||||
function init(
|
||||
address[] calldata addressList,
|
||||
uint256[] calldata timeLine,
|
||||
uint256[] calldata valueList
|
||||
) external;
|
||||
|
||||
//==============================
|
||||
|
||||
|
||||
//==============================
|
||||
|
||||
function bid(address to) external;
|
||||
|
||||
function cancel(address assetTo, uint256 amount) external;
|
||||
|
||||
function settle() external;
|
||||
|
||||
function emergencySettle() external;
|
||||
|
||||
function claimBase() external;
|
||||
|
||||
function claimQuote() external;
|
||||
|
||||
function claimLPToken() external;
|
||||
}
|
||||
Reference in New Issue
Block a user