diff --git a/contracts/SmartRoute/DODOIncentive.sol b/contracts/SmartRoute/DODOIncentive.sol index 8ffd4e5..6320141 100644 --- a/contracts/SmartRoute/DODOIncentive.sol +++ b/contracts/SmartRoute/DODOIncentive.sol @@ -38,6 +38,7 @@ contract DODOIncentive is InitializableOwnable { event SetBoost(address token, uint256 boostRate); event SetSwitch(bool isOpen); + event SetNewProxy(address dodoProxy); event SetPerReward(uint256 dodoPerBlock); event SetDefaultRate(uint256 defaultRate); event Incentive(address user,uint256 reward, address fromToken, address toToken); @@ -74,6 +75,11 @@ contract DODOIncentive is InitializableOwnable { emit SetDefaultRate(defaultRate); } + function changeDODOProxy(address _dodoProxy) public onlyOwner { + _DODO_PROXY_ = _dodoProxy; + emit SetNewProxy(_DODO_PROXY_); + } + function emptyReward(address assetTo) public onlyOwner { uint256 balance = IERC20(_DODO_TOKEN_).balanceOf(address(this)); IERC20(_DODO_TOKEN_).transfer(assetTo, balance);