remove dpp & dvm events indexed

This commit is contained in:
mingda
2020-12-10 20:45:38 +08:00
parent 59a4314bbc
commit 14279a2073
5 changed files with 26 additions and 41 deletions

View File

@@ -21,8 +21,8 @@ contract DVMTrader is DVMVault {
// ============ Events ============
event DODOSwap(
address indexed fromToken,
address indexed toToken,
address fromToken,
address toToken,
uint256 fromAmount,
uint256 toAmount,
address trader
@@ -103,12 +103,7 @@ contract DVMTrader is DVMVault {
uint256 quoteAmount,
address assetTo,
bytes calldata data
)
external
preventReentrant
isSellAllow(assetTo)
isBuyAllow(assetTo)
{
) external preventReentrant isSellAllow(assetTo) isBuyAllow(assetTo) {
_transferBaseOut(assetTo, baseAmount);
_transferQuoteOut(assetTo, quoteAmount);