Skip to content

Commit e34400d

Browse files
authored
Merge pull request #139 from solidstate-network/error-types
Error types
2 parents 9a99628 + 357bf6f commit e34400d

File tree

199 files changed

+5929
-6099
lines changed

Some content is hidden

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

199 files changed

+5929
-6099
lines changed

abi/AccessControl.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
[
2+
{
3+
"inputs": [],
4+
"name": "UintUtils__InsufficientHexLength",
5+
"type": "error"
6+
},
27
{
38
"anonymous": false,
49
"inputs": [

abi/AddressUtils.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"inputs": [],
4+
"name": "AddressUtils__InsufficientBalance",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "AddressUtils__NotContract",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "AddressUtils__SendValueFailed",
15+
"type": "error"
16+
}
17+
]

abi/CloneFactory.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"inputs": [],
4+
"name": "Factory__FailedDeployment",
5+
"type": "error"
6+
}
7+
]

abi/DiamondBase.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
[
2+
{
3+
"inputs": [],
4+
"name": "DiamondBase__NoFacetForSignature",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "Proxy__ImplementationIsNotContract",
10+
"type": "error"
11+
},
212
{
313
"stateMutability": "payable",
414
"type": "fallback"

abi/DiamondBaseStorage.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

abi/DiamondWritable.json

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,54 @@
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+
},
42+
{
43+
"inputs": [],
44+
"name": "Ownable__NotOwner",
45+
"type": "error"
46+
},
47+
{
48+
"inputs": [],
49+
"name": "Ownable__NotTransitiveOwner",
50+
"type": "error"
51+
},
252
{
353
"anonymous": false,
454
"inputs": [
@@ -10,7 +60,7 @@
1060
"type": "address"
1161
},
1262
{
13-
"internalType": "enum IDiamondWritable.FacetCutAction",
63+
"internalType": "enum IDiamondWritableInternal.FacetCutAction",
1464
"name": "action",
1565
"type": "uint8"
1666
},
@@ -21,7 +71,7 @@
2171
}
2272
],
2373
"indexed": false,
24-
"internalType": "struct IDiamondWritable.FacetCut[]",
74+
"internalType": "struct IDiamondWritableInternal.FacetCut[]",
2575
"name": "facetCuts",
2676
"type": "tuple[]"
2777
},
@@ -70,7 +120,7 @@
70120
"type": "address"
71121
},
72122
{
73-
"internalType": "enum IDiamondWritable.FacetCutAction",
123+
"internalType": "enum IDiamondWritableInternal.FacetCutAction",
74124
"name": "action",
75125
"type": "uint8"
76126
},
@@ -80,7 +130,7 @@
80130
"type": "bytes4[]"
81131
}
82132
],
83-
"internalType": "struct IDiamondWritable.FacetCut[]",
133+
"internalType": "struct IDiamondWritableInternal.FacetCut[]",
84134
"name": "facetCuts",
85135
"type": "tuple[]"
86136
},

abi/DiamondWritableInternal.json

Lines changed: 84 additions & 0 deletions
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 IDiamondWritableInternal.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 IDiamondWritableInternal.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/ECDSA.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"inputs": [],
4+
"name": "ECDSA__InvalidS",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "ECDSA__InvalidSignature",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "ECDSA__InvalidSignatureLength",
15+
"type": "error"
16+
},
17+
{
18+
"inputs": [],
19+
"name": "ECDSA__InvalidV",
20+
"type": "error"
21+
}
22+
]

abi/ECDSAMultisigWallet.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,69 @@
11
[
2+
{
3+
"inputs": [],
4+
"name": "ECDSAMultisigWallet__AddSignerFailed",
5+
"type": "error"
6+
},
7+
{
8+
"inputs": [],
9+
"name": "ECDSAMultisigWallet__InsufficientSigners",
10+
"type": "error"
11+
},
12+
{
13+
"inputs": [],
14+
"name": "ECDSAMultisigWallet__InvalidNonce",
15+
"type": "error"
16+
},
17+
{
18+
"inputs": [],
19+
"name": "ECDSAMultisigWallet__MessageValueMismatch",
20+
"type": "error"
21+
},
22+
{
23+
"inputs": [],
24+
"name": "ECDSAMultisigWallet__QuorumNotReached",
25+
"type": "error"
26+
},
27+
{
28+
"inputs": [],
29+
"name": "ECDSAMultisigWallet__RecoveredSignerNotAuthorized",
30+
"type": "error"
31+
},
32+
{
33+
"inputs": [],
34+
"name": "ECDSAMultisigWallet__RemoveSignerFailed",
35+
"type": "error"
36+
},
37+
{
38+
"inputs": [],
39+
"name": "ECDSAMultisigWallet__SignerAlreadySigned",
40+
"type": "error"
41+
},
42+
{
43+
"inputs": [],
44+
"name": "ECDSAMultisigWallet__SignerLimitReached",
45+
"type": "error"
46+
},
47+
{
48+
"inputs": [],
49+
"name": "ECDSA__InvalidS",
50+
"type": "error"
51+
},
52+
{
53+
"inputs": [],
54+
"name": "ECDSA__InvalidSignature",
55+
"type": "error"
56+
},
57+
{
58+
"inputs": [],
59+
"name": "ECDSA__InvalidSignatureLength",
60+
"type": "error"
61+
},
62+
{
63+
"inputs": [],
64+
"name": "ECDSA__InvalidV",
65+
"type": "error"
66+
},
267
{
368
"inputs": [
469
{

0 commit comments

Comments
 (0)