audit fix02
This commit is contained in:
@@ -103,7 +103,12 @@ contract DVMTrader is DVMVault {
|
||||
uint256 quoteAmount,
|
||||
address assetTo,
|
||||
bytes calldata data
|
||||
) external preventReentrant {
|
||||
)
|
||||
external
|
||||
preventReentrant
|
||||
isSellAllow(assetTo)
|
||||
isBuyAllow(assetTo)
|
||||
{
|
||||
_transferBaseOut(assetTo, baseAmount);
|
||||
_transferQuoteOut(assetTo, quoteAmount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user