第二遍走查 snapshot4

This commit is contained in:
mingda
2020-11-30 16:08:11 +08:00
parent 4550a872f4
commit e5c24453bb
7 changed files with 146 additions and 148 deletions

View File

@@ -15,7 +15,12 @@ contract DODOApprove is Ownable {
using SafeERC20 for IERC20;
address public dodoProxy;
// ============ Events ============
event SetDODOProxy(address indexed oldProxy, address indexed newProxy);
function setDODOProxy(address _dodoProxy) external onlyOwner {
emit SetDODOProxy(dodoProxy, _dodoProxy);
dodoProxy = _dodoProxy;
}