tokenclaim增加取出token的方法

This commit is contained in:
CounterFire2023 2024-08-30 16:22:15 +08:00
parent 3a1ff31b93
commit 4a1ce5e30b

View File

@ -55,6 +55,10 @@ contract TokenClaim is HasSignature, ReentrancyGuard, Pausable, TimeChecker {
_unpause();
}
function withdrawToken(address erc20, address to, uint256 amount) external onlyOwner {
IERC20(erc20).safeTransfer(to, amount);
}
/**
* @dev update ERC20 wallet
*/