Skip to content

Commit d75e65e

Browse files
authored
chore: Generate ABIs (#272)
1 parent 529ab75 commit d75e65e

File tree

284 files changed

+35281
-621142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+35281
-621142
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ typechain-types
1414
cache
1515
artifacts
1616

17-
# Deployed addresses saved with deploy/ scripts
18-
build/*.json
19-
2017
contracts/hardhat-dependency-compiler/
2118
deployments/*hardhat*
2219
deployments/dev-*

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
artifacts/
33
audit/
4-
build/
54
cache/
65
coverage/
76
coverage.json

abis/contracts/Diamond.json

Lines changed: 285 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"components": [
6+
{
7+
"internalType": "address",
8+
"name": "facetAddress",
9+
"type": "address"
10+
},
11+
{
12+
"internalType": "enum IDiamond.FacetCutAction",
13+
"name": "action",
14+
"type": "uint8"
15+
},
16+
{
17+
"internalType": "bytes4[]",
18+
"name": "functionSelectors",
19+
"type": "bytes4[]"
20+
}
21+
],
22+
"internalType": "struct IDiamond.FacetCut[]",
23+
"name": "_diamondCut",
24+
"type": "tuple[]"
25+
},
26+
{
27+
"components": [
28+
{
29+
"internalType": "address",
30+
"name": "owner",
31+
"type": "address"
32+
},
33+
{
34+
"internalType": "address",
35+
"name": "init",
36+
"type": "address"
37+
},
38+
{
39+
"internalType": "bytes",
40+
"name": "initCalldata",
41+
"type": "bytes"
42+
}
43+
],
44+
"internalType": "struct DiamondArgs",
45+
"name": "_args",
46+
"type": "tuple"
47+
}
48+
],
49+
"stateMutability": "payable",
50+
"type": "constructor"
51+
},
52+
{
53+
"inputs": [
54+
{
55+
"internalType": "bytes4",
56+
"name": "_selector",
57+
"type": "bytes4"
58+
}
59+
],
60+
"name": "CannotAddFunctionToDiamondThatAlreadyExists",
61+
"type": "error"
62+
},
63+
{
64+
"inputs": [
65+
{
66+
"internalType": "bytes4[]",
67+
"name": "_selectors",
68+
"type": "bytes4[]"
69+
}
70+
],
71+
"name": "CannotAddSelectorsToZeroAddress",
72+
"type": "error"
73+
},
74+
{
75+
"inputs": [
76+
{
77+
"internalType": "bytes4",
78+
"name": "_selector",
79+
"type": "bytes4"
80+
}
81+
],
82+
"name": "CannotRemoveFunctionThatDoesNotExist",
83+
"type": "error"
84+
},
85+
{
86+
"inputs": [
87+
{
88+
"internalType": "bytes4",
89+
"name": "_selector",
90+
"type": "bytes4"
91+
}
92+
],
93+
"name": "CannotRemoveImmutableFunction",
94+
"type": "error"
95+
},
96+
{
97+
"inputs": [
98+
{
99+
"internalType": "bytes4",
100+
"name": "_selector",
101+
"type": "bytes4"
102+
}
103+
],
104+
"name": "CannotReplaceFunctionThatDoesNotExists",
105+
"type": "error"
106+
},
107+
{
108+
"inputs": [
109+
{
110+
"internalType": "bytes4",
111+
"name": "_selector",
112+
"type": "bytes4"
113+
}
114+
],
115+
"name": "CannotReplaceFunctionWithTheSameFunctionFromTheSameFacet",
116+
"type": "error"
117+
},
118+
{
119+
"inputs": [
120+
{
121+
"internalType": "bytes4[]",
122+
"name": "_selectors",
123+
"type": "bytes4[]"
124+
}
125+
],
126+
"name": "CannotReplaceFunctionsFromFacetWithZeroAddress",
127+
"type": "error"
128+
},
129+
{
130+
"inputs": [
131+
{
132+
"internalType": "bytes4",
133+
"name": "_selector",
134+
"type": "bytes4"
135+
}
136+
],
137+
"name": "CannotReplaceImmutableFunction",
138+
"type": "error"
139+
},
140+
{
141+
"inputs": [
142+
{
143+
"internalType": "bytes4",
144+
"name": "_functionSelector",
145+
"type": "bytes4"
146+
}
147+
],
148+
"name": "FunctionNotFound",
149+
"type": "error"
150+
},
151+
{
152+
"inputs": [
153+
{
154+
"internalType": "uint8",
155+
"name": "_action",
156+
"type": "uint8"
157+
}
158+
],
159+
"name": "IncorrectFacetCutAction",
160+
"type": "error"
161+
},
162+
{
163+
"inputs": [
164+
{
165+
"internalType": "address",
166+
"name": "_initializationContractAddress",
167+
"type": "address"
168+
},
169+
{
170+
"internalType": "bytes",
171+
"name": "_calldata",
172+
"type": "bytes"
173+
}
174+
],
175+
"name": "InitializationFunctionReverted",
176+
"type": "error"
177+
},
178+
{
179+
"inputs": [
180+
{
181+
"internalType": "address",
182+
"name": "_contractAddress",
183+
"type": "address"
184+
},
185+
{
186+
"internalType": "string",
187+
"name": "_message",
188+
"type": "string"
189+
}
190+
],
191+
"name": "NoBytecodeAtAddress",
192+
"type": "error"
193+
},
194+
{
195+
"inputs": [
196+
{
197+
"internalType": "address",
198+
"name": "_facetAddress",
199+
"type": "address"
200+
}
201+
],
202+
"name": "NoSelectorsProvidedForFacetForCut",
203+
"type": "error"
204+
},
205+
{
206+
"inputs": [
207+
{
208+
"internalType": "address",
209+
"name": "_facetAddress",
210+
"type": "address"
211+
}
212+
],
213+
"name": "RemoveFacetAddressMustBeZeroAddress",
214+
"type": "error"
215+
},
216+
{
217+
"anonymous": false,
218+
"inputs": [
219+
{
220+
"components": [
221+
{
222+
"internalType": "address",
223+
"name": "facetAddress",
224+
"type": "address"
225+
},
226+
{
227+
"internalType": "enum IDiamond.FacetCutAction",
228+
"name": "action",
229+
"type": "uint8"
230+
},
231+
{
232+
"internalType": "bytes4[]",
233+
"name": "functionSelectors",
234+
"type": "bytes4[]"
235+
}
236+
],
237+
"indexed": false,
238+
"internalType": "struct IDiamond.FacetCut[]",
239+
"name": "_diamondCut",
240+
"type": "tuple[]"
241+
},
242+
{
243+
"indexed": false,
244+
"internalType": "address",
245+
"name": "_init",
246+
"type": "address"
247+
},
248+
{
249+
"indexed": false,
250+
"internalType": "bytes",
251+
"name": "_calldata",
252+
"type": "bytes"
253+
}
254+
],
255+
"name": "DiamondCut",
256+
"type": "event"
257+
},
258+
{
259+
"anonymous": false,
260+
"inputs": [
261+
{
262+
"indexed": true,
263+
"internalType": "address",
264+
"name": "previousOwner",
265+
"type": "address"
266+
},
267+
{
268+
"indexed": true,
269+
"internalType": "address",
270+
"name": "newOwner",
271+
"type": "address"
272+
}
273+
],
274+
"name": "OwnershipTransferred",
275+
"type": "event"
276+
},
277+
{
278+
"stateMutability": "payable",
279+
"type": "fallback"
280+
},
281+
{
282+
"stateMutability": "payable",
283+
"type": "receive"
284+
}
285+
]

0 commit comments

Comments
 (0)