-
Notifications
You must be signed in to change notification settings - Fork 2
/
abi.py
49 lines (49 loc) · 1008 Bytes
/
abi.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
v2_pool_abi = [
{
"constant": True,
"inputs": [],
"name": "getReserves",
"outputs": [{
"internalType": "uint112",
"name": "_reserve0",
"type": "uint112"
}, {
"internalType": "uint112",
"name": "_reserve1",
"type": "uint112"
}, {
"internalType": "uint32",
"name": "_blockTimestampLast",
"type": "uint32"
}],
"payable": False,
"stateMutability": "view",
"type": "function"
}, {
"constant": True,
"inputs": [],
"name": "totalSupply",
"outputs": [{
"internalType": "uint256",
"name": "",
"type": "uint256"
}],
"payable": False,
"stateMutability": "view",
"type": "function"
},
{
"constant": True,
"inputs": [{
"name": "_owner",
"type": "address"
}],
"name": "balanceOf",
"outputs": [{
"name": "balance",
"type": "uint256"
}],
"payable": False,
"type": "function"
}
]