dodov2proxy

This commit is contained in:
owen05
2020-11-23 22:33:23 +08:00
parent 8458022a3c
commit 71e1d8717c
15 changed files with 589 additions and 206 deletions

View File

@@ -24,12 +24,12 @@ contract SmartApprove is Ownable {
}
function claimTokens(
IERC20 token,
address token,
address who,
address dest,
uint256 amount
) external {
require(msg.sender == smartSwap, "Not SmartSwap Address, Access restricted");
token.safeTransferFrom(who, dest, amount);
IERC20(token).safeTransferFrom(who, dest, amount);
}
}