From 2c6aaead0160eee36b421bfe36a84827ff288383 Mon Sep 17 00:00:00 2001 From: mingda Date: Thu, 6 Aug 2020 17:33:31 +0800 Subject: [PATCH] update mint event --- contracts/impl/DODOLpToken.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/impl/DODOLpToken.sol b/contracts/impl/DODOLpToken.sol index ece9f6d..33e47b7 100644 --- a/contracts/impl/DODOLpToken.sol +++ b/contracts/impl/DODOLpToken.sol @@ -121,7 +121,7 @@ contract DODOLpToken is Ownable { function mint(address user, uint256 value) external onlyOwner { balances[user] = balances[user].add(value); totalSupply = totalSupply.add(value); - emit Mint(address(0), value); + emit Mint(user, value); emit Transfer(address(0), user, value); }