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

@@ -25,7 +25,8 @@ contract DVMTrader is DVMVault {
address toToken,
uint256 fromAmount,
uint256 toAmount,
address trader
address trader,
address receiver
);
event DODOFlashLoan(
@@ -56,7 +57,8 @@ contract DVMTrader is DVMVault {
address(_QUOTE_TOKEN_),
baseInput,
receiveQuoteAmount,
msg.sender
msg.sender,
to
);
}
@@ -79,7 +81,8 @@ contract DVMTrader is DVMVault {
address(_BASE_TOKEN_),
quoteInput,
receiveBaseAmount,
msg.sender
msg.sender,
to
);
}
@@ -116,7 +119,8 @@ contract DVMTrader is DVMVault {
address(_BASE_TOKEN_),
quoteInput,
receiveBaseAmount,
msg.sender
msg.sender,
assetTo
);
}
@@ -132,7 +136,8 @@ contract DVMTrader is DVMVault {
address(_QUOTE_TOKEN_),
baseInput,
receiveQuoteAmount,
msg.sender
msg.sender,
assetTo
);
}