vdodo add event

This commit is contained in:
owen05
2021-02-13 21:13:06 +08:00
parent 7df484fccc
commit 37c6de78ce
2 changed files with 6 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ contract DODORecharge is InitializableOwnable {
address immutable _DODO_TOKEN_;
address immutable _DODO_APPROVE_PROXY_;
event DeductionDODO(address user,uint256 _amount);
event DeductDODO(address user,uint256 _amount);
constructor(address dodoAddress, address dodoApproveProxy) public {
_DODO_TOKEN_ = dodoAddress;
@@ -28,7 +28,7 @@ contract DODORecharge is InitializableOwnable {
function deductionDODO(uint256 amount) external {
IDODOApproveProxy(_DODO_APPROVE_PROXY_).claimTokens(_DODO_TOKEN_, msg.sender, address(this), amount);
emit DeductionDODO(msg.sender, amount);
emit DeductDODO(msg.sender, amount);
}
// ============ Owner Functions ============