Skip to content

Commit 09c025f

Browse files
Adding Unichain support for Uniswap V3 and Uniswap V4 contracts (#359)
* adding unichain support for uniswapv4 contracts * updating dataset name * adding uniswap v3 contracts on unichain --------- Co-authored-by: ian-mellen <[email protected]>
1 parent 2b0dfbf commit 09c025f

13 files changed

+845
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "uint24",
9+
"name": "fee",
10+
"type": "uint24"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "int24",
15+
"name": "tickSpacing",
16+
"type": "int24"
17+
}
18+
],
19+
"name": "FeeAmountEnabled",
20+
"type": "event"
21+
},
22+
"contract_address": "0x1f98400000000000000000000000000000000003",
23+
"field_mapping": {},
24+
"type": "log"
25+
},
26+
"table": {
27+
"dataset_name": "uniswap",
28+
"schema": [
29+
{
30+
"description": "",
31+
"name": "fee",
32+
"type": "STRING"
33+
},
34+
{
35+
"description": "",
36+
"name": "tickSpacing",
37+
"type": "STRING"
38+
}
39+
],
40+
"table_description": "",
41+
"table_name": "UniswapV3Factory_event_FeeAmountEnabled"
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "oldOwner",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "newOwner",
16+
"type": "address"
17+
}
18+
],
19+
"name": "OwnerChanged",
20+
"type": "event"
21+
},
22+
"contract_address": "0x1f98400000000000000000000000000000000003",
23+
"field_mapping": {},
24+
"type": "log"
25+
},
26+
"table": {
27+
"dataset_name": "uniswap",
28+
"schema": [
29+
{
30+
"description": "",
31+
"name": "oldOwner",
32+
"type": "STRING"
33+
},
34+
{
35+
"description": "",
36+
"name": "newOwner",
37+
"type": "STRING"
38+
}
39+
],
40+
"table_description": "",
41+
"table_name": "UniswapV3Factory_event_OwnerChanged"
42+
}
43+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "token0",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "token1",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": true,
20+
"internalType": "uint24",
21+
"name": "fee",
22+
"type": "uint24"
23+
},
24+
{
25+
"indexed": false,
26+
"internalType": "int24",
27+
"name": "tickSpacing",
28+
"type": "int24"
29+
},
30+
{
31+
"indexed": false,
32+
"internalType": "address",
33+
"name": "pool",
34+
"type": "address"
35+
}
36+
],
37+
"name": "PoolCreated",
38+
"type": "event"
39+
},
40+
"contract_address": "0x1f98400000000000000000000000000000000003",
41+
"field_mapping": {},
42+
"type": "log"
43+
},
44+
"table": {
45+
"dataset_name": "uniswap",
46+
"schema": [
47+
{
48+
"description": "",
49+
"name": "token0",
50+
"type": "STRING"
51+
},
52+
{
53+
"description": "",
54+
"name": "token1",
55+
"type": "STRING"
56+
},
57+
{
58+
"description": "",
59+
"name": "fee",
60+
"type": "STRING"
61+
},
62+
{
63+
"description": "",
64+
"name": "tickSpacing",
65+
"type": "STRING"
66+
},
67+
{
68+
"description": "",
69+
"name": "pool",
70+
"type": "STRING"
71+
}
72+
],
73+
"table_description": "",
74+
"table_name": "UniswapV3Factory_event_PoolCreated"
75+
}
76+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "address",
9+
"name": "owner",
10+
"type": "address"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "spender",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": true,
20+
"internalType": "uint256",
21+
"name": "id",
22+
"type": "uint256"
23+
},
24+
{
25+
"indexed": false,
26+
"internalType": "uint256",
27+
"name": "amount",
28+
"type": "uint256"
29+
}
30+
],
31+
"name": "Approval",
32+
"type": "event"
33+
},
34+
"contract_address": "0x1f98400000000000000000000000000000000004",
35+
"field_mapping": {},
36+
"type": "log"
37+
},
38+
"table": {
39+
"dataset_name": "uniswap",
40+
"schema": [
41+
{
42+
"description": "",
43+
"name": "owner",
44+
"type": "STRING"
45+
},
46+
{
47+
"description": "",
48+
"name": "spender",
49+
"type": "STRING"
50+
},
51+
{
52+
"description": "",
53+
"name": "id",
54+
"type": "STRING"
55+
},
56+
{
57+
"description": "",
58+
"name": "amount",
59+
"type": "STRING"
60+
}
61+
],
62+
"table_description": "",
63+
"table_name": "UniswapV4PoolManager_event_Approval"
64+
}
65+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parser": {
3+
"abi": {
4+
"anonymous": false,
5+
"inputs": [
6+
{
7+
"indexed": true,
8+
"internalType": "PoolId",
9+
"name": "id",
10+
"type": "bytes32"
11+
},
12+
{
13+
"indexed": true,
14+
"internalType": "address",
15+
"name": "sender",
16+
"type": "address"
17+
},
18+
{
19+
"indexed": false,
20+
"internalType": "uint256",
21+
"name": "amount0",
22+
"type": "uint256"
23+
},
24+
{
25+
"indexed": false,
26+
"internalType": "uint256",
27+
"name": "amount1",
28+
"type": "uint256"
29+
}
30+
],
31+
"name": "Donate",
32+
"type": "event"
33+
},
34+
"contract_address": "0x1f98400000000000000000000000000000000004",
35+
"field_mapping": {},
36+
"type": "log"
37+
},
38+
"table": {
39+
"dataset_name": "uniswap",
40+
"schema": [
41+
{
42+
"description": "",
43+
"name": "id",
44+
"type": "STRING"
45+
},
46+
{
47+
"description": "",
48+
"name": "sender",
49+
"type": "STRING"
50+
},
51+
{
52+
"description": "",
53+
"name": "amount0",
54+
"type": "STRING"
55+
},
56+
{
57+
"description": "",
58+
"name": "amount1",
59+
"type": "STRING"
60+
}
61+
],
62+
"table_description": "",
63+
"table_name": "UniswapV4PoolManager_event_Donate"
64+
}
65+
}

0 commit comments

Comments
 (0)