add crowdpooling pmmstate

This commit is contained in:
owen05
2021-01-15 13:24:48 +08:00
parent 450069ec1b
commit 3f707f5604
10 changed files with 206 additions and 156 deletions

View File

@@ -24,7 +24,8 @@ contract DPPTrader is DPPVault {
address toToken,
uint256 fromAmount,
uint256 toAmount,
address trader
address trader,
address receiver
);
event DODOFlashLoan(
@@ -67,7 +68,8 @@ contract DPPTrader is DPPVault {
address(_QUOTE_TOKEN_),
baseInput,
receiveQuoteAmount,
msg.sender
msg.sender,
to
);
}
@@ -103,7 +105,8 @@ contract DPPTrader is DPPVault {
address(_BASE_TOKEN_),
quoteInput,
receiveBaseAmount,
msg.sender
msg.sender,
to
);
}
@@ -152,7 +155,8 @@ contract DPPTrader is DPPVault {
address(_BASE_TOKEN_),
quoteInput,
receiveBaseAmount,
msg.sender
msg.sender,
assetTo
);
}
@@ -180,7 +184,8 @@ contract DPPTrader is DPPVault {
address(_QUOTE_TOKEN_),
baseInput,
receiveQuoteAmount,
msg.sender
msg.sender,
assetTo
);
}