fix owner

This commit is contained in:
owen05
2020-11-27 00:00:36 +08:00
parent d4569fe099
commit 5154c86e24
5 changed files with 5 additions and 15 deletions

View File

@@ -241,7 +241,7 @@ contract DODOV2Proxy01 is IDODOV2Proxy01 {
IDODOV2(smartApprove).claimTokens(IDODOV2(DPPAddress)._BASE_TOKEN_(), msg.sender, DPPAddress, baseInAmount);
if(quoteInAmount > 0)
IDODOV2(smartApprove).claimTokens(IDODOV2(DPPAddress)._QUOTE_TOKEN_(), msg.sender, DPPAddress, quoteInAmount);
IDODOV2(IDODOV2(DPPAddress).getOwner()).reset(
IDODOV2(IDODOV2(DPPAddress)._OWNER_()).reset(
msg.sender,
newLpFeeRate,
newMtFeeRate,
@@ -284,7 +284,7 @@ contract DODOV2Proxy01 is IDODOV2Proxy01 {
}
}
if( (flag == 3 && baseOutAmount > 0) || (flag == 4 && quoteOutAmount > 0) ) {
IDODOV2(IDODOV2(DPPAddress).getOwner()).resetETH(
IDODOV2(IDODOV2(DPPAddress)._OWNER_()).resetETH(
msg.sender,
newLpFeeRate,
newMtFeeRate,
@@ -315,7 +315,7 @@ contract DODOV2Proxy01 is IDODOV2Proxy01 {
}
}
}else {
IDODOV2(IDODOV2(DPPAddress).getOwner()).reset(
IDODOV2(IDODOV2(DPPAddress)._OWNER_()).reset(
msg.sender,
newLpFeeRate,
newMtFeeRate,