cp add settle fund
This commit is contained in:
@@ -606,7 +606,7 @@ contract DODOV2Proxy01 is IDODOV2Proxy01, ReentrancyGuard, InitializableOwnable
|
||||
uint256[] memory timeLine,
|
||||
uint256[] memory valueList,
|
||||
uint256 deadLine
|
||||
) external override judgeExpired(deadLine) returns (address newCrowdPooling) {
|
||||
) external override payable judgeExpired(deadLine) returns (address payable newCrowdPooling) {
|
||||
address _baseToken = baseToken;
|
||||
address _quoteToken = quoteToken == _ETH_ADDRESS_ ? _WETH_ : quoteToken;
|
||||
|
||||
@@ -620,6 +620,7 @@ contract DODOV2Proxy01 is IDODOV2Proxy01, ReentrancyGuard, InitializableOwnable
|
||||
false
|
||||
);
|
||||
|
||||
newCrowdPooling.transfer(msg.value);
|
||||
|
||||
IDODOV2(_CP_FACTORY_).initCrowdPooling(
|
||||
newCrowdPooling,
|
||||
|
||||
@@ -85,7 +85,7 @@ interface IDODOV2 {
|
||||
|
||||
//========== CrowdPooling ===========
|
||||
|
||||
function createCrowdPooling() external returns (address newCrowdPooling);
|
||||
function createCrowdPooling() external returns (address payable newCrowdPooling);
|
||||
|
||||
function initCrowdPooling(
|
||||
address cpAddress,
|
||||
|
||||
@@ -100,7 +100,7 @@ interface IDODOV2Proxy01 is IDODOV1Proxy01 {
|
||||
uint256[] memory timeLine,
|
||||
uint256[] memory valueList,
|
||||
uint256 deadLine
|
||||
) external returns (address newCrowdPooling);
|
||||
) external payable returns (address payable newCrowdPooling);
|
||||
|
||||
function bid(
|
||||
address assetTo,
|
||||
|
||||
Reference in New Issue
Block a user