Skip to content

Commit 6e9b5c8

Browse files
committed
Add USDC/Name&Symbol,UniswapV3 & V4
1 parent 18b01ff commit 6e9b5c8

File tree

18 files changed

+15846
-8
lines changed

18 files changed

+15846
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "substreams-abis"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Substreams ABIs"
55
license = "MIT"
66
edition = "2021"

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This directory contains standard ABIs for the various blockchains that Substream
77
> Ethereum, Base, BSC, ArbOne, Polygon,...
88
99
- [x] `erc-20`
10+
- [x] `Names` & `Symbols`
11+
- [x] `USDC`
1012
- [x] `erc-721`
1113
- [x] `erc-1155`
1214
- [x] `erc-2981`
@@ -19,9 +21,11 @@ This directory contains standard ABIs for the various blockchains that Substream
1921
- [x] `Uniswap V2`
2022
- [x] `Pair`
2123
- [x] `Factory`
22-
- [ ] `Uniswap V3`
23-
- [ ] `Pool`
24-
- [ ] `Factory`
24+
- [x] `Uniswap V3`
25+
- [x] `Pool`
26+
- [x] `Factory`
27+
- [x] `Uniswap V4`
28+
- [x] `PoolManager`
2529

2630
## Solana
2731

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"internalType": "string",
6+
"name": "name",
7+
"type": "string"
8+
},
9+
{
10+
"internalType": "string",
11+
"name": "symbol",
12+
"type": "string"
13+
}
14+
],
15+
"name": "setNameAndSymbol",
16+
"outputs": [],
17+
"stateMutability": "nonpayable",
18+
"type": "function"
19+
},
20+
{
21+
"inputs": [
22+
{
23+
"internalType": "string",
24+
"name": "name",
25+
"type": "string"
26+
},
27+
{
28+
"internalType": "string",
29+
"name": "symbol",
30+
"type": "string"
31+
}
32+
],
33+
"name": "_setNameAndSymbol",
34+
"outputs": [],
35+
"stateMutability": "nonpayable",
36+
"type": "function"
37+
},
38+
{
39+
"inputs": [
40+
{
41+
"internalType": "string",
42+
"name": "name",
43+
"type": "string"
44+
},
45+
{
46+
"internalType": "string",
47+
"name": "symbol",
48+
"type": "string"
49+
}
50+
],
51+
"name": "setMetadata",
52+
"outputs": [],
53+
"stateMutability": "nonpayable",
54+
"type": "function"
55+
},
56+
{
57+
"inputs": [
58+
{
59+
"internalType": "string",
60+
"name": "name",
61+
"type": "string"
62+
},
63+
{
64+
"internalType": "string",
65+
"name": "symbol",
66+
"type": "string"
67+
}
68+
],
69+
"name": "setNameAndTicker",
70+
"outputs": [],
71+
"stateMutability": "nonpayable",
72+
"type": "function"
73+
},
74+
{
75+
"inputs": [
76+
{
77+
"internalType": "string",
78+
"name": "symbol",
79+
"type": "string"
80+
}
81+
],
82+
"name": "setSymbol",
83+
"outputs": [],
84+
"stateMutability": "nonpayable",
85+
"type": "function"
86+
},
87+
{
88+
"inputs": [
89+
{
90+
"internalType": "string",
91+
"name": "symbol",
92+
"type": "string"
93+
}
94+
],
95+
"name": "updateSymbol",
96+
"outputs": [],
97+
"stateMutability": "nonpayable",
98+
"type": "function"
99+
},
100+
{
101+
"inputs": [
102+
{
103+
"internalType": "string",
104+
"name": "symbol",
105+
"type": "string"
106+
}
107+
],
108+
"name": "changeSymbol",
109+
"outputs": [],
110+
"stateMutability": "nonpayable",
111+
"type": "function"
112+
},
113+
{
114+
"inputs": [
115+
{
116+
"internalType": "string",
117+
"name": "symbol",
118+
"type": "string"
119+
}
120+
],
121+
"name": "setTokenSymbol",
122+
"outputs": [],
123+
"stateMutability": "nonpayable",
124+
"type": "function"
125+
},
126+
{
127+
"inputs": [
128+
{
129+
"internalType": "string",
130+
"name": "name",
131+
"type": "string"
132+
}
133+
],
134+
"name": "setName",
135+
"outputs": [],
136+
"stateMutability": "nonpayable",
137+
"type": "function"
138+
},
139+
{
140+
"inputs": [
141+
{
142+
"internalType": "string",
143+
"name": "name",
144+
"type": "string"
145+
}
146+
],
147+
"name": "updateName",
148+
"outputs": [],
149+
"stateMutability": "nonpayable",
150+
"type": "function"
151+
},
152+
{
153+
"inputs": [
154+
{
155+
"internalType": "string",
156+
"name": "name",
157+
"type": "string"
158+
}
159+
],
160+
"name": "changeName",
161+
"outputs": [],
162+
"stateMutability": "nonpayable",
163+
"type": "function"
164+
}
165+
]

abi/evm/token/USDC.json

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"internalType": "address",
6+
"name": "implementationContract",
7+
"type": "address"
8+
}
9+
],
10+
"stateMutability": "nonpayable",
11+
"type": "constructor"
12+
},
13+
{
14+
"anonymous": false,
15+
"inputs": [
16+
{
17+
"indexed": false,
18+
"internalType": "address",
19+
"name": "previousAdmin",
20+
"type": "address"
21+
},
22+
{
23+
"indexed": false,
24+
"internalType": "address",
25+
"name": "newAdmin",
26+
"type": "address"
27+
}
28+
],
29+
"name": "AdminChanged",
30+
"type": "event"
31+
},
32+
{
33+
"anonymous": false,
34+
"inputs": [
35+
{
36+
"indexed": false,
37+
"internalType": "address",
38+
"name": "implementation",
39+
"type": "address"
40+
}
41+
],
42+
"name": "Upgraded",
43+
"type": "event"
44+
},
45+
{
46+
"stateMutability": "payable",
47+
"type": "fallback"
48+
},
49+
{
50+
"inputs": [],
51+
"name": "admin",
52+
"outputs": [
53+
{
54+
"internalType": "address",
55+
"name": "",
56+
"type": "address"
57+
}
58+
],
59+
"stateMutability": "view",
60+
"type": "function"
61+
},
62+
{
63+
"inputs": [
64+
{
65+
"internalType": "address",
66+
"name": "newAdmin",
67+
"type": "address"
68+
}
69+
],
70+
"name": "changeAdmin",
71+
"outputs": [],
72+
"stateMutability": "nonpayable",
73+
"type": "function"
74+
},
75+
{
76+
"inputs": [],
77+
"name": "implementation",
78+
"outputs": [
79+
{
80+
"internalType": "address",
81+
"name": "",
82+
"type": "address"
83+
}
84+
],
85+
"stateMutability": "view",
86+
"type": "function"
87+
},
88+
{
89+
"inputs": [
90+
{
91+
"internalType": "address",
92+
"name": "newImplementation",
93+
"type": "address"
94+
}
95+
],
96+
"name": "upgradeTo",
97+
"outputs": [],
98+
"stateMutability": "nonpayable",
99+
"type": "function"
100+
},
101+
{
102+
"inputs": [
103+
{
104+
"internalType": "address",
105+
"name": "newImplementation",
106+
"type": "address"
107+
},
108+
{
109+
"internalType": "bytes",
110+
"name": "data",
111+
"type": "bytes"
112+
}
113+
],
114+
"name": "upgradeToAndCall",
115+
"outputs": [],
116+
"stateMutability": "payable",
117+
"type": "function"
118+
}
119+
]

0 commit comments

Comments
 (0)