diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-26 00:10:10 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-26 00:10:10 +0800 |
commit | 24ab24879c067707adf23defe4ea5a96c3a85c2a (patch) | |
tree | 2709dfaebb90099ffb9c3382883c15283fc2be07 /packages/contracts | |
parent | dc51741b8376b5a0eaf010772f7a282dbb370205 (diff) | |
download | dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.tar dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.tar.gz dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.tar.bz2 dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.tar.lz dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.tar.xz dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.tar.zst dexon-sol-tools-24ab24879c067707adf23defe4ea5a96c3a85c2a.zip |
Modify WETH9 event arg names to be identical to ERC20 standard suggested names
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/src/2.0.0/tokens/EtherToken/WETH9.sol | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/contracts/src/2.0.0/tokens/EtherToken/WETH9.sol b/packages/contracts/src/2.0.0/tokens/EtherToken/WETH9.sol index 1fdb04de5..17876b86d 100644 --- a/packages/contracts/src/2.0.0/tokens/EtherToken/WETH9.sol +++ b/packages/contracts/src/2.0.0/tokens/EtherToken/WETH9.sol @@ -22,10 +22,10 @@ contract WETH9 { string public symbol = "WETH"; uint8 public decimals = 18; - event Approval(address indexed src, address indexed guy, uint wad); - event Transfer(address indexed src, address indexed dst, uint wad); - event Deposit(address indexed dst, uint wad); - event Withdrawal(address indexed src, uint wad); + event Approval(address indexed _owner, address indexed _spender, uint _value); + event Transfer(address indexed _from, address indexed _to, uint _value); + event Deposit(address indexed _owner, uint _value); + event Withdrawal(address indexed _owner, uint _value); mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; |