Skip to content

Commit 6a072df

Browse files
committed
remove Internal identifier from custom errors
1 parent 4c5d4be commit 6a072df

File tree

96 files changed

+672
-778
lines changed

Some content is hidden

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

96 files changed

+672
-778
lines changed

abi/DiamondWritable.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
},
4242
{
4343
"inputs": [],
44-
"name": "OwnableInternal_NotOwner",
44+
"name": "Ownable__NotOwner",
4545
"type": "error"
4646
},
4747
{
4848
"inputs": [],
49-
"name": "OwnableInternal_NotTransitiveOwner",
49+
"name": "Ownable__NotTransitiveOwner",
5050
"type": "error"
5151
},
5252
{

abi/ECDSAMultisigWallet.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
[
22
{
33
"inputs": [],
4-
"name": "ECDSAMultisigWalletInternal__AmountMismatch",
4+
"name": "ECDSAMultisigWallet__AmountMismatch",
55
"type": "error"
66
},
77
{
88
"inputs": [],
9-
"name": "ECDSAMultisigWalletInternal__InvalidNonce",
9+
"name": "ECDSAMultisigWallet__InvalidNonce",
1010
"type": "error"
1111
},
1212
{
1313
"inputs": [],
14-
"name": "ECDSAMultisigWalletInternal__QuorumNotReached",
14+
"name": "ECDSAMultisigWallet__QuorumNotReached",
1515
"type": "error"
1616
},
1717
{
1818
"inputs": [],
19-
"name": "ECDSAMultisigWalletInternal__RecoveredSignerNotAuthorized",
19+
"name": "ECDSAMultisigWallet__RecoveredSignerNotAuthorized",
2020
"type": "error"
2121
},
2222
{
2323
"inputs": [],
24-
"name": "ECDSAMultisigWalletInternal__SignerAlreadySigned",
24+
"name": "ECDSAMultisigWallet__SignerAlreadySigned",
2525
"type": "error"
2626
},
2727
{
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
[
22
{
33
"inputs": [],
4-
"name": "ECDSAMultisigWalletInternal__AmountMismatch",
4+
"name": "ECDSAMultisigWallet__AmountMismatch",
55
"type": "error"
66
},
77
{
88
"inputs": [],
9-
"name": "ECDSAMultisigWalletInternal__InvalidNonce",
9+
"name": "ECDSAMultisigWallet__InvalidNonce",
1010
"type": "error"
1111
},
1212
{
1313
"inputs": [],
14-
"name": "ECDSAMultisigWalletInternal__QuorumNotReached",
14+
"name": "ECDSAMultisigWallet__QuorumNotReached",
1515
"type": "error"
1616
},
1717
{
1818
"inputs": [],
19-
"name": "ECDSAMultisigWalletInternal__RecoveredSignerNotAuthorized",
19+
"name": "ECDSAMultisigWallet__RecoveredSignerNotAuthorized",
2020
"type": "error"
2121
},
2222
{
2323
"inputs": [],
24-
"name": "ECDSAMultisigWalletInternal__SignerAlreadySigned",
24+
"name": "ECDSAMultisigWallet__SignerAlreadySigned",
2525
"type": "error"
2626
}
2727
]

abi/ERC1155Base.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,47 @@
1111
},
1212
{
1313
"inputs": [],
14-
"name": "ERC1155Base__NotOwnerOrApproved",
15-
"type": "error"
16-
},
17-
{
18-
"inputs": [],
19-
"name": "ERC1155Base__SelfApproval",
14+
"name": "ERC1155Base__BurnExceedsBalance",
2015
"type": "error"
2116
},
2217
{
2318
"inputs": [],
24-
"name": "ERC1155Internal__ArrayLengthMismatch",
19+
"name": "ERC1155Base__BurnFromZeroAddress",
2520
"type": "error"
2621
},
2722
{
2823
"inputs": [],
29-
"name": "ERC1155Internal__BalanceQueryZeroAddress",
24+
"name": "ERC1155Base__ERC1155ReceiverNotImplemented",
3025
"type": "error"
3126
},
3227
{
3328
"inputs": [],
34-
"name": "ERC1155Internal__BurnExceedsBalance",
29+
"name": "ERC1155Base__ERC1155ReceiverRejected",
3530
"type": "error"
3631
},
3732
{
3833
"inputs": [],
39-
"name": "ERC1155Internal__BurnFromZeroAddress",
34+
"name": "ERC1155Base__MintToZeroAddress",
4035
"type": "error"
4136
},
4237
{
4338
"inputs": [],
44-
"name": "ERC1155Internal__ERC1155ReceiverNotImplemented",
45-
"type": "error"
46-
},
47-
{
48-
"inputs": [],
49-
"name": "ERC1155Internal__ERC1155ReceiverRejected",
39+
"name": "ERC1155Base__NotOwnerOrApproved",
5040
"type": "error"
5141
},
5242
{
5343
"inputs": [],
54-
"name": "ERC1155Internal__MintToZeroAddress",
44+
"name": "ERC1155Base__SelfApproval",
5545
"type": "error"
5646
},
5747
{
5848
"inputs": [],
59-
"name": "ERC1155Internal__TransferExceedsBalance",
49+
"name": "ERC1155Base__TransferExceedsBalance",
6050
"type": "error"
6151
},
6252
{
6353
"inputs": [],
64-
"name": "ERC1155Internal__TransferToZeroAddress",
54+
"name": "ERC1155Base__TransferToZeroAddress",
6555
"type": "error"
6656
},
6757
{

abi/ERC1155BaseInternal.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,47 @@
1111
},
1212
{
1313
"inputs": [],
14-
"name": "ERC1155Base__NotOwnerOrApproved",
15-
"type": "error"
16-
},
17-
{
18-
"inputs": [],
19-
"name": "ERC1155Base__SelfApproval",
14+
"name": "ERC1155Base__BurnExceedsBalance",
2015
"type": "error"
2116
},
2217
{
2318
"inputs": [],
24-
"name": "ERC1155Internal__ArrayLengthMismatch",
19+
"name": "ERC1155Base__BurnFromZeroAddress",
2520
"type": "error"
2621
},
2722
{
2823
"inputs": [],
29-
"name": "ERC1155Internal__BalanceQueryZeroAddress",
24+
"name": "ERC1155Base__ERC1155ReceiverNotImplemented",
3025
"type": "error"
3126
},
3227
{
3328
"inputs": [],
34-
"name": "ERC1155Internal__BurnExceedsBalance",
29+
"name": "ERC1155Base__ERC1155ReceiverRejected",
3530
"type": "error"
3631
},
3732
{
3833
"inputs": [],
39-
"name": "ERC1155Internal__BurnFromZeroAddress",
34+
"name": "ERC1155Base__MintToZeroAddress",
4035
"type": "error"
4136
},
4237
{
4338
"inputs": [],
44-
"name": "ERC1155Internal__ERC1155ReceiverNotImplemented",
45-
"type": "error"
46-
},
47-
{
48-
"inputs": [],
49-
"name": "ERC1155Internal__ERC1155ReceiverRejected",
39+
"name": "ERC1155Base__NotOwnerOrApproved",
5040
"type": "error"
5141
},
5242
{
5343
"inputs": [],
54-
"name": "ERC1155Internal__MintToZeroAddress",
44+
"name": "ERC1155Base__SelfApproval",
5545
"type": "error"
5646
},
5747
{
5848
"inputs": [],
59-
"name": "ERC1155Internal__TransferExceedsBalance",
49+
"name": "ERC1155Base__TransferExceedsBalance",
6050
"type": "error"
6151
},
6252
{
6353
"inputs": [],
64-
"name": "ERC1155Internal__TransferToZeroAddress",
54+
"name": "ERC1155Base__TransferToZeroAddress",
6555
"type": "error"
6656
},
6757
{

abi/ERC1155Enumerable.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,47 @@
1111
},
1212
{
1313
"inputs": [],
14-
"name": "ERC1155Base__NotOwnerOrApproved",
15-
"type": "error"
16-
},
17-
{
18-
"inputs": [],
19-
"name": "ERC1155Base__SelfApproval",
14+
"name": "ERC1155Base__BurnExceedsBalance",
2015
"type": "error"
2116
},
2217
{
2318
"inputs": [],
24-
"name": "ERC1155Internal__ArrayLengthMismatch",
19+
"name": "ERC1155Base__BurnFromZeroAddress",
2520
"type": "error"
2621
},
2722
{
2823
"inputs": [],
29-
"name": "ERC1155Internal__BalanceQueryZeroAddress",
24+
"name": "ERC1155Base__ERC1155ReceiverNotImplemented",
3025
"type": "error"
3126
},
3227
{
3328
"inputs": [],
34-
"name": "ERC1155Internal__BurnExceedsBalance",
29+
"name": "ERC1155Base__ERC1155ReceiverRejected",
3530
"type": "error"
3631
},
3732
{
3833
"inputs": [],
39-
"name": "ERC1155Internal__BurnFromZeroAddress",
34+
"name": "ERC1155Base__MintToZeroAddress",
4035
"type": "error"
4136
},
4237
{
4338
"inputs": [],
44-
"name": "ERC1155Internal__ERC1155ReceiverNotImplemented",
45-
"type": "error"
46-
},
47-
{
48-
"inputs": [],
49-
"name": "ERC1155Internal__ERC1155ReceiverRejected",
39+
"name": "ERC1155Base__NotOwnerOrApproved",
5040
"type": "error"
5141
},
5242
{
5343
"inputs": [],
54-
"name": "ERC1155Internal__MintToZeroAddress",
44+
"name": "ERC1155Base__SelfApproval",
5545
"type": "error"
5646
},
5747
{
5848
"inputs": [],
59-
"name": "ERC1155Internal__TransferExceedsBalance",
49+
"name": "ERC1155Base__TransferExceedsBalance",
6050
"type": "error"
6151
},
6252
{
6353
"inputs": [],
64-
"name": "ERC1155Internal__TransferToZeroAddress",
54+
"name": "ERC1155Base__TransferToZeroAddress",
6555
"type": "error"
6656
},
6757
{

abi/ERC1155EnumerableInternal.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,47 @@
1111
},
1212
{
1313
"inputs": [],
14-
"name": "ERC1155Base__NotOwnerOrApproved",
15-
"type": "error"
16-
},
17-
{
18-
"inputs": [],
19-
"name": "ERC1155Base__SelfApproval",
14+
"name": "ERC1155Base__BurnExceedsBalance",
2015
"type": "error"
2116
},
2217
{
2318
"inputs": [],
24-
"name": "ERC1155Internal__ArrayLengthMismatch",
19+
"name": "ERC1155Base__BurnFromZeroAddress",
2520
"type": "error"
2621
},
2722
{
2823
"inputs": [],
29-
"name": "ERC1155Internal__BalanceQueryZeroAddress",
24+
"name": "ERC1155Base__ERC1155ReceiverNotImplemented",
3025
"type": "error"
3126
},
3227
{
3328
"inputs": [],
34-
"name": "ERC1155Internal__BurnExceedsBalance",
29+
"name": "ERC1155Base__ERC1155ReceiverRejected",
3530
"type": "error"
3631
},
3732
{
3833
"inputs": [],
39-
"name": "ERC1155Internal__BurnFromZeroAddress",
34+
"name": "ERC1155Base__MintToZeroAddress",
4035
"type": "error"
4136
},
4237
{
4338
"inputs": [],
44-
"name": "ERC1155Internal__ERC1155ReceiverNotImplemented",
45-
"type": "error"
46-
},
47-
{
48-
"inputs": [],
49-
"name": "ERC1155Internal__ERC1155ReceiverRejected",
39+
"name": "ERC1155Base__NotOwnerOrApproved",
5040
"type": "error"
5141
},
5242
{
5343
"inputs": [],
54-
"name": "ERC1155Internal__MintToZeroAddress",
44+
"name": "ERC1155Base__SelfApproval",
5545
"type": "error"
5646
},
5747
{
5848
"inputs": [],
59-
"name": "ERC1155Internal__TransferExceedsBalance",
49+
"name": "ERC1155Base__TransferExceedsBalance",
6050
"type": "error"
6151
},
6252
{
6353
"inputs": [],
64-
"name": "ERC1155Internal__TransferToZeroAddress",
54+
"name": "ERC1155Base__TransferToZeroAddress",
6555
"type": "error"
6656
},
6757
{

0 commit comments

Comments
 (0)