-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathABIEvents.js
18 lines (18 loc) · 1.33 KB
/
ABIEvents.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = [
//erc20
{ "text_signature": "event Transfer(address indexed from, address indexed to, uint256 value)", },
{ "text_signature": "event Approval(address indexed owner, address indexed spender, uint256 value)", },
//WETH
{ "text_signature": "event Deposit(address indexed dst, uint wad)", },
{ "text_signature": "event Withdrawal(address indexed src, uint wad)", },
//IUniswapExchange
{ "text_signature": "event TokenPurchase(address indexed buyer, uint256 indexed eth_sold, uint256 indexed tokens_bought)" },
{ "text_signature": "event EthPurchase(address indexed buyer, uint256 indexed tokens_sold, uint256 indexed eth_bought)" },
{ "text_signature": "event AddLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)" },
{ "text_signature": "event RemoveLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)" },
//IUniswapV2Pair
{ "text_signature": "event Mint(address indexed sender, uint amount0, uint amount1)" },
{ "text_signature": "event Burn(address indexed sender, uint amount0, uint amount1, address indexed to)" },
{ "text_signature": "event Swap(address indexed sender, uint amount0, uint amount1, uint amount0Out, uint amount1Out, address indexed to)" },
{ "text_signature": "event Sync(uint112 reserve0, uint112 reserve1)" }
]