Skip to content

Commit 06a8783

Browse files
committed
Merge branch 'master' into logo
2 parents fef1f7b + 2ca9411 commit 06a8783

File tree

609 files changed

+14310
-8212
lines changed

Some content is hidden

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

609 files changed

+14310
-8212
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ cache/
1212
coverage/
1313
coverage.json
1414

15+
contracts-exposed/
16+
1517
.env

abi/AccessControl.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
[
22
{
3-
"inputs": [],
4-
"name": "EnumerableSet__IndexOutOfBounds",
3+
"inputs": [
4+
{
5+
"internalType": "bytes32",
6+
"name": "role",
7+
"type": "bytes32"
8+
},
9+
{
10+
"internalType": "address",
11+
"name": "account",
12+
"type": "address"
13+
}
14+
],
15+
"name": "AccessControl__Unauthorized",
516
"type": "error"
617
},
718
{
819
"inputs": [],
9-
"name": "UintUtils__InsufficientPadding",
20+
"name": "EnumerableSet__IndexOutOfBounds",
1021
"type": "error"
1122
},
1223
{

abi/DiamondBase.json

+82
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,91 @@
11
[
2+
{
3+
"inputs": [],
4+
"name": "DiamondWritable__InvalidInitializationParameters",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "DiamondWritable__RemoveTargetNotZeroAddress",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "DiamondWritable__ReplaceTargetIsIdentical",
15+
"type": "error"
16+
},
17+
{
18+
"inputs": [],
19+
"name": "DiamondWritable__SelectorAlreadyAdded",
20+
"type": "error"
21+
},
22+
{
23+
"inputs": [],
24+
"name": "DiamondWritable__SelectorIsImmutable",
25+
"type": "error"
26+
},
27+
{
28+
"inputs": [],
29+
"name": "DiamondWritable__SelectorNotFound",
30+
"type": "error"
31+
},
32+
{
33+
"inputs": [],
34+
"name": "DiamondWritable__SelectorNotSpecified",
35+
"type": "error"
36+
},
37+
{
38+
"inputs": [],
39+
"name": "DiamondWritable__TargetHasNoCode",
40+
"type": "error"
41+
},
242
{
343
"inputs": [],
444
"name": "Proxy__ImplementationIsNotContract",
545
"type": "error"
646
},
47+
{
48+
"anonymous": false,
49+
"inputs": [
50+
{
51+
"components": [
52+
{
53+
"internalType": "address",
54+
"name": "target",
55+
"type": "address"
56+
},
57+
{
58+
"internalType": "enum _IERC2535DiamondCut.FacetCutAction",
59+
"name": "action",
60+
"type": "uint8"
61+
},
62+
{
63+
"internalType": "bytes4[]",
64+
"name": "selectors",
65+
"type": "bytes4[]"
66+
}
67+
],
68+
"indexed": false,
69+
"internalType": "struct _IERC2535DiamondCut.FacetCut[]",
70+
"name": "facetCuts",
71+
"type": "tuple[]"
72+
},
73+
{
74+
"indexed": false,
75+
"internalType": "address",
76+
"name": "target",
77+
"type": "address"
78+
},
79+
{
80+
"indexed": false,
81+
"internalType": "bytes",
82+
"name": "data",
83+
"type": "bytes"
84+
}
85+
],
86+
"name": "DiamondCut",
87+
"type": "event"
88+
},
789
{
890
"stateMutability": "payable",
991
"type": "fallback"

abi/DiamondBeacon.json

+29-5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
"name": "DiamondWritable__TargetHasNoCode",
4545
"type": "error"
4646
},
47+
{
48+
"inputs": [],
49+
"name": "ERC165Base__InvalidInterfaceId",
50+
"type": "error"
51+
},
4752
{
4853
"inputs": [],
4954
"name": "Ownable__NotOwner",
@@ -65,7 +70,7 @@
6570
"type": "address"
6671
},
6772
{
68-
"internalType": "enum IERC2535DiamondCutInternal.FacetCutAction",
73+
"internalType": "enum _IERC2535DiamondCut.FacetCutAction",
6974
"name": "action",
7075
"type": "uint8"
7176
},
@@ -76,7 +81,7 @@
7681
}
7782
],
7883
"indexed": false,
79-
"internalType": "struct IERC2535DiamondCutInternal.FacetCut[]",
84+
"internalType": "struct _IERC2535DiamondCut.FacetCut[]",
8085
"name": "facetCuts",
8186
"type": "tuple[]"
8287
},
@@ -125,7 +130,7 @@
125130
"type": "address"
126131
},
127132
{
128-
"internalType": "enum IERC2535DiamondCutInternal.FacetCutAction",
133+
"internalType": "enum _IERC2535DiamondCut.FacetCutAction",
129134
"name": "action",
130135
"type": "uint8"
131136
},
@@ -135,7 +140,7 @@
135140
"type": "bytes4[]"
136141
}
137142
],
138-
"internalType": "struct IERC2535DiamondCutInternal.FacetCut[]",
143+
"internalType": "struct _IERC2535DiamondCut.FacetCut[]",
139144
"name": "facetCuts",
140145
"type": "tuple[]"
141146
},
@@ -223,7 +228,7 @@
223228
"type": "bytes4[]"
224229
}
225230
],
226-
"internalType": "struct IERC2535DiamondLoupeInternal.Facet[]",
231+
"internalType": "struct _IERC2535DiamondLoupe.Facet[]",
227232
"name": "diamondFacets",
228233
"type": "tuple[]"
229234
}
@@ -244,6 +249,25 @@
244249
"stateMutability": "view",
245250
"type": "function"
246251
},
252+
{
253+
"inputs": [
254+
{
255+
"internalType": "bytes4",
256+
"name": "interfaceId",
257+
"type": "bytes4"
258+
}
259+
],
260+
"name": "supportsInterface",
261+
"outputs": [
262+
{
263+
"internalType": "bool",
264+
"name": "",
265+
"type": "bool"
266+
}
267+
],
268+
"stateMutability": "view",
269+
"type": "function"
270+
},
247271
{
248272
"inputs": [
249273
{

abi/DiamondCommon.json

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
[
2+
{
3+
"inputs": [],
4+
"name": "DiamondWritable__InvalidInitializationParameters",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "DiamondWritable__RemoveTargetNotZeroAddress",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "DiamondWritable__ReplaceTargetIsIdentical",
15+
"type": "error"
16+
},
17+
{
18+
"inputs": [],
19+
"name": "DiamondWritable__SelectorAlreadyAdded",
20+
"type": "error"
21+
},
22+
{
23+
"inputs": [],
24+
"name": "DiamondWritable__SelectorIsImmutable",
25+
"type": "error"
26+
},
27+
{
28+
"inputs": [],
29+
"name": "DiamondWritable__SelectorNotFound",
30+
"type": "error"
31+
},
32+
{
33+
"inputs": [],
34+
"name": "DiamondWritable__SelectorNotSpecified",
35+
"type": "error"
36+
},
37+
{
38+
"inputs": [],
39+
"name": "DiamondWritable__TargetHasNoCode",
40+
"type": "error"
41+
},
42+
{
43+
"anonymous": false,
44+
"inputs": [
45+
{
46+
"components": [
47+
{
48+
"internalType": "address",
49+
"name": "target",
50+
"type": "address"
51+
},
52+
{
53+
"internalType": "enum _IERC2535DiamondCut.FacetCutAction",
54+
"name": "action",
55+
"type": "uint8"
56+
},
57+
{
58+
"internalType": "bytes4[]",
59+
"name": "selectors",
60+
"type": "bytes4[]"
61+
}
62+
],
63+
"indexed": false,
64+
"internalType": "struct _IERC2535DiamondCut.FacetCut[]",
65+
"name": "facetCuts",
66+
"type": "tuple[]"
67+
},
68+
{
69+
"indexed": false,
70+
"internalType": "address",
71+
"name": "target",
72+
"type": "address"
73+
},
74+
{
75+
"indexed": false,
76+
"internalType": "bytes",
77+
"name": "data",
78+
"type": "bytes"
79+
}
80+
],
81+
"name": "DiamondCut",
82+
"type": "event"
83+
}
84+
]

abi/DiamondFallback.json

+82
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,44 @@
11
[
2+
{
3+
"inputs": [],
4+
"name": "DiamondWritable__InvalidInitializationParameters",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "DiamondWritable__RemoveTargetNotZeroAddress",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "DiamondWritable__ReplaceTargetIsIdentical",
15+
"type": "error"
16+
},
17+
{
18+
"inputs": [],
19+
"name": "DiamondWritable__SelectorAlreadyAdded",
20+
"type": "error"
21+
},
22+
{
23+
"inputs": [],
24+
"name": "DiamondWritable__SelectorIsImmutable",
25+
"type": "error"
26+
},
27+
{
28+
"inputs": [],
29+
"name": "DiamondWritable__SelectorNotFound",
30+
"type": "error"
31+
},
32+
{
33+
"inputs": [],
34+
"name": "DiamondWritable__SelectorNotSpecified",
35+
"type": "error"
36+
},
37+
{
38+
"inputs": [],
39+
"name": "DiamondWritable__TargetHasNoCode",
40+
"type": "error"
41+
},
242
{
343
"inputs": [],
444
"name": "Ownable__NotOwner",
@@ -14,6 +54,48 @@
1454
"name": "Proxy__ImplementationIsNotContract",
1555
"type": "error"
1656
},
57+
{
58+
"anonymous": false,
59+
"inputs": [
60+
{
61+
"components": [
62+
{
63+
"internalType": "address",
64+
"name": "target",
65+
"type": "address"
66+
},
67+
{
68+
"internalType": "enum _IERC2535DiamondCut.FacetCutAction",
69+
"name": "action",
70+
"type": "uint8"
71+
},
72+
{
73+
"internalType": "bytes4[]",
74+
"name": "selectors",
75+
"type": "bytes4[]"
76+
}
77+
],
78+
"indexed": false,
79+
"internalType": "struct _IERC2535DiamondCut.FacetCut[]",
80+
"name": "facetCuts",
81+
"type": "tuple[]"
82+
},
83+
{
84+
"indexed": false,
85+
"internalType": "address",
86+
"name": "target",
87+
"type": "address"
88+
},
89+
{
90+
"indexed": false,
91+
"internalType": "bytes",
92+
"name": "data",
93+
"type": "bytes"
94+
}
95+
],
96+
"name": "DiamondCut",
97+
"type": "event"
98+
},
1799
{
18100
"anonymous": false,
19101
"inputs": [

0 commit comments

Comments
 (0)