@0xsequence/abi 2.3.35 → 3.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/.turbo/turbo-build.log +5 -0
  2. package/CHANGELOG.md +2097 -0
  3. package/LICENSE +0 -17
  4. package/README.md +1 -2
  5. package/dist/index.d.ts +20 -0
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.js +41 -0
  8. package/dist/{declarations/src/sale → sale}/erc1155Sale.d.ts +1 -0
  9. package/dist/sale/erc1155Sale.d.ts.map +1 -0
  10. package/dist/sale/erc1155Sale.js +355 -0
  11. package/dist/{declarations/src/sale → sale}/erc721Sale.d.ts +1 -0
  12. package/dist/sale/erc721Sale.d.ts.map +1 -0
  13. package/dist/sale/erc721Sale.js +355 -0
  14. package/dist/{declarations/src/tokens → tokens}/erc1155.d.ts +1 -0
  15. package/dist/tokens/erc1155.d.ts.map +1 -0
  16. package/dist/tokens/erc1155.js +425 -0
  17. package/dist/{declarations/src/saleItems/erc1155SaleItems.d.ts → tokens/erc1155Items.d.ts} +2 -1
  18. package/dist/tokens/erc1155Items.d.ts.map +1 -0
  19. package/dist/tokens/erc1155Items.js +381 -0
  20. package/dist/{declarations/src/tokens → tokens}/erc20.d.ts +1 -0
  21. package/dist/tokens/erc20.d.ts.map +1 -0
  22. package/dist/tokens/erc20.js +319 -0
  23. package/dist/{declarations/src/tokens → tokens}/erc6909.d.ts +1 -0
  24. package/dist/tokens/erc6909.d.ts.map +1 -0
  25. package/dist/tokens/erc6909.js +407 -0
  26. package/dist/{declarations/src/tokens → tokens}/erc721.d.ts +1 -0
  27. package/dist/tokens/erc721.d.ts.map +1 -0
  28. package/dist/tokens/erc721.js +444 -0
  29. package/dist/{declarations/src/saleItems/erc721SaleItems.d.ts → tokens/erc721Items.d.ts} +2 -1
  30. package/dist/tokens/erc721Items.d.ts.map +1 -0
  31. package/dist/tokens/erc721Items.js +444 -0
  32. package/dist/{declarations/src/wallet → wallet}/erc1271.d.ts +1 -0
  33. package/dist/wallet/erc1271.d.ts.map +1 -0
  34. package/dist/wallet/erc1271.js +28 -0
  35. package/dist/{declarations/src/wallet → wallet}/erc5719.d.ts +1 -0
  36. package/dist/wallet/erc5719.d.ts.map +1 -0
  37. package/dist/wallet/erc5719.js +22 -0
  38. package/dist/{declarations/src/wallet → wallet}/erc6492.d.ts +1 -0
  39. package/dist/wallet/erc6492.d.ts.map +1 -0
  40. package/dist/wallet/erc6492.js +64 -0
  41. package/dist/{declarations/src/wallet → wallet}/factory.d.ts +1 -0
  42. package/dist/wallet/factory.d.ts.map +1 -0
  43. package/dist/wallet/factory.js +21 -0
  44. package/dist/{declarations/src/wallet → wallet}/index.d.ts +11 -10
  45. package/dist/wallet/index.d.ts.map +1 -0
  46. package/dist/wallet/index.js +61 -0
  47. package/dist/{declarations/src/wallet → wallet}/libs/requireFreshSigners.d.ts +1 -0
  48. package/dist/wallet/libs/requireFreshSigners.d.ts.map +1 -0
  49. package/dist/wallet/libs/requireFreshSigners.js +18 -0
  50. package/dist/{declarations/src/wallet → wallet}/mainModule.d.ts +1 -0
  51. package/dist/wallet/mainModule.d.ts.map +1 -0
  52. package/dist/wallet/mainModule.js +161 -0
  53. package/dist/{declarations/src/wallet → wallet}/mainModuleUpgradable.d.ts +1 -0
  54. package/dist/wallet/mainModuleUpgradable.d.ts.map +1 -0
  55. package/dist/wallet/mainModuleUpgradable.js +31 -0
  56. package/dist/{declarations/src/wallet → wallet}/moduleHooks.d.ts +1 -0
  57. package/dist/wallet/moduleHooks.d.ts.map +1 -0
  58. package/dist/wallet/moduleHooks.js +251 -0
  59. package/dist/{declarations/src/wallet → wallet}/sequenceUtils.d.ts +1 -0
  60. package/dist/wallet/sequenceUtils.d.ts.map +1 -0
  61. package/dist/wallet/sequenceUtils.js +519 -0
  62. package/dist/{declarations/src/wallet → wallet}/walletProxyHook.d.ts +1 -0
  63. package/dist/wallet/walletProxyHook.d.ts.map +1 -0
  64. package/dist/wallet/walletProxyHook.js +12 -0
  65. package/package.json +19 -13
  66. package/src/index.ts +2 -3
  67. package/src/sale/erc1155Sale.ts +67 -67
  68. package/src/sale/erc721Sale.ts +67 -67
  69. package/src/tokens/erc1155.ts +97 -97
  70. package/src/{saleItems/erc1155SaleItems.ts → tokens/erc1155Items.ts} +69 -68
  71. package/src/tokens/erc20.ts +76 -76
  72. package/src/tokens/erc6909.ts +95 -95
  73. package/src/tokens/erc721.ts +105 -105
  74. package/src/{saleItems/erc721SaleItems.ts → tokens/erc721Items.ts} +79 -78
  75. package/src/wallet/erc1271.ts +8 -8
  76. package/src/wallet/erc5719.ts +6 -6
  77. package/src/wallet/erc6492.ts +11 -11
  78. package/src/wallet/factory.ts +5 -5
  79. package/src/wallet/index.ts +1 -1
  80. package/src/wallet/libs/requireFreshSigners.ts +4 -4
  81. package/src/wallet/mainModule.ts +41 -41
  82. package/src/wallet/mainModuleUpgradable.ts +7 -7
  83. package/src/wallet/moduleHooks.ts +60 -60
  84. package/src/wallet/sequenceUtils.ts +123 -123
  85. package/src/wallet/walletProxyHook.ts +2 -2
  86. package/tsconfig.json +10 -0
  87. package/dist/0xsequence-abi.cjs.d.ts +0 -2
  88. package/dist/0xsequence-abi.cjs.dev.js +0 -4638
  89. package/dist/0xsequence-abi.cjs.js +0 -7
  90. package/dist/0xsequence-abi.cjs.prod.js +0 -4638
  91. package/dist/0xsequence-abi.esm.js +0 -4616
  92. package/dist/declarations/src/index.d.ts +0 -19
@@ -1,48 +1,49 @@
1
- export const ERC1155_SALE_ITEMS_ABI = [
1
+ //An ERC 1155 token contract with batchMint support, to make it compatible with Sequence Sales contracts (../sale/erc1155Sale.ts)
2
+ export const ERC1155_ITEMS_ABI = [
2
3
  { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
3
4
  {
4
5
  type: 'function',
5
6
  name: 'DEFAULT_ADMIN_ROLE',
6
7
  inputs: [],
7
8
  outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
8
- stateMutability: 'view'
9
+ stateMutability: 'view',
9
10
  },
10
11
  {
11
12
  type: 'function',
12
13
  name: 'balanceOf',
13
14
  inputs: [
14
15
  { name: '_owner', type: 'address', internalType: 'address' },
15
- { name: '_id', type: 'uint256', internalType: 'uint256' }
16
+ { name: '_id', type: 'uint256', internalType: 'uint256' },
16
17
  ],
17
18
  outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
18
- stateMutability: 'view'
19
+ stateMutability: 'view',
19
20
  },
20
21
  {
21
22
  type: 'function',
22
23
  name: 'balanceOfBatch',
23
24
  inputs: [
24
25
  { name: '_owners', type: 'address[]', internalType: 'address[]' },
25
- { name: '_ids', type: 'uint256[]', internalType: 'uint256[]' }
26
+ { name: '_ids', type: 'uint256[]', internalType: 'uint256[]' },
26
27
  ],
27
28
  outputs: [{ name: '', type: 'uint256[]', internalType: 'uint256[]' }],
28
- stateMutability: 'view'
29
+ stateMutability: 'view',
29
30
  },
30
31
  {
31
32
  type: 'function',
32
33
  name: 'baseURI',
33
34
  inputs: [],
34
35
  outputs: [{ name: '', type: 'string', internalType: 'string' }],
35
- stateMutability: 'view'
36
+ stateMutability: 'view',
36
37
  },
37
38
  {
38
39
  type: 'function',
39
40
  name: 'batchBurn',
40
41
  inputs: [
41
42
  { name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' },
42
- { name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' }
43
+ { name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' },
43
44
  ],
44
45
  outputs: [],
45
- stateMutability: 'nonpayable'
46
+ stateMutability: 'nonpayable',
46
47
  },
47
48
  {
48
49
  type: 'function',
@@ -51,71 +52,71 @@ export const ERC1155_SALE_ITEMS_ABI = [
51
52
  { name: 'to', type: 'address', internalType: 'address' },
52
53
  { name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' },
53
54
  { name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' },
54
- { name: 'data', type: 'bytes', internalType: 'bytes' }
55
+ { name: 'data', type: 'bytes', internalType: 'bytes' },
55
56
  ],
56
57
  outputs: [],
57
- stateMutability: 'nonpayable'
58
+ stateMutability: 'nonpayable',
58
59
  },
59
60
  {
60
61
  type: 'function',
61
62
  name: 'burn',
62
63
  inputs: [
63
64
  { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
64
- { name: 'amount', type: 'uint256', internalType: 'uint256' }
65
+ { name: 'amount', type: 'uint256', internalType: 'uint256' },
65
66
  ],
66
67
  outputs: [],
67
- stateMutability: 'nonpayable'
68
+ stateMutability: 'nonpayable',
68
69
  },
69
70
  {
70
71
  type: 'function',
71
72
  name: 'contractURI',
72
73
  inputs: [],
73
74
  outputs: [{ name: '', type: 'string', internalType: 'string' }],
74
- stateMutability: 'view'
75
+ stateMutability: 'view',
75
76
  },
76
77
  {
77
78
  type: 'function',
78
79
  name: 'getRoleAdmin',
79
80
  inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
80
81
  outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
81
- stateMutability: 'view'
82
+ stateMutability: 'view',
82
83
  },
83
84
  {
84
85
  type: 'function',
85
86
  name: 'getRoleMember',
86
87
  inputs: [
87
88
  { name: 'role', type: 'bytes32', internalType: 'bytes32' },
88
- { name: 'index', type: 'uint256', internalType: 'uint256' }
89
+ { name: 'index', type: 'uint256', internalType: 'uint256' },
89
90
  ],
90
91
  outputs: [{ name: '', type: 'address', internalType: 'address' }],
91
- stateMutability: 'view'
92
+ stateMutability: 'view',
92
93
  },
93
94
  {
94
95
  type: 'function',
95
96
  name: 'getRoleMemberCount',
96
97
  inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
97
98
  outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
98
- stateMutability: 'view'
99
+ stateMutability: 'view',
99
100
  },
100
101
  {
101
102
  type: 'function',
102
103
  name: 'grantRole',
103
104
  inputs: [
104
105
  { name: 'role', type: 'bytes32', internalType: 'bytes32' },
105
- { name: 'account', type: 'address', internalType: 'address' }
106
+ { name: 'account', type: 'address', internalType: 'address' },
106
107
  ],
107
108
  outputs: [],
108
- stateMutability: 'nonpayable'
109
+ stateMutability: 'nonpayable',
109
110
  },
110
111
  {
111
112
  type: 'function',
112
113
  name: 'hasRole',
113
114
  inputs: [
114
115
  { name: 'role', type: 'bytes32', internalType: 'bytes32' },
115
- { name: 'account', type: 'address', internalType: 'address' }
116
+ { name: 'account', type: 'address', internalType: 'address' },
116
117
  ],
117
118
  outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
118
- stateMutability: 'view'
119
+ stateMutability: 'view',
119
120
  },
120
121
  {
121
122
  type: 'function',
@@ -126,20 +127,20 @@ export const ERC1155_SALE_ITEMS_ABI = [
126
127
  { name: 'tokenBaseURI', type: 'string', internalType: 'string' },
127
128
  { name: 'tokenContractURI', type: 'string', internalType: 'string' },
128
129
  { name: 'royaltyReceiver', type: 'address', internalType: 'address' },
129
- { name: 'royaltyFeeNumerator', type: 'uint96', internalType: 'uint96' }
130
+ { name: 'royaltyFeeNumerator', type: 'uint96', internalType: 'uint96' },
130
131
  ],
131
132
  outputs: [],
132
- stateMutability: 'nonpayable'
133
+ stateMutability: 'nonpayable',
133
134
  },
134
135
  {
135
136
  type: 'function',
136
137
  name: 'isApprovedForAll',
137
138
  inputs: [
138
139
  { name: '_owner', type: 'address', internalType: 'address' },
139
- { name: '_operator', type: 'address', internalType: 'address' }
140
+ { name: '_operator', type: 'address', internalType: 'address' },
140
141
  ],
141
142
  outputs: [{ name: 'isOperator', type: 'bool', internalType: 'bool' }],
142
- stateMutability: 'view'
143
+ stateMutability: 'view',
143
144
  },
144
145
  {
145
146
  type: 'function',
@@ -148,50 +149,50 @@ export const ERC1155_SALE_ITEMS_ABI = [
148
149
  { name: 'to', type: 'address', internalType: 'address' },
149
150
  { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
150
151
  { name: 'amount', type: 'uint256', internalType: 'uint256' },
151
- { name: 'data', type: 'bytes', internalType: 'bytes' }
152
+ { name: 'data', type: 'bytes', internalType: 'bytes' },
152
153
  ],
153
154
  outputs: [],
154
- stateMutability: 'nonpayable'
155
+ stateMutability: 'nonpayable',
155
156
  },
156
157
  {
157
158
  type: 'function',
158
159
  name: 'name',
159
160
  inputs: [],
160
161
  outputs: [{ name: '', type: 'string', internalType: 'string' }],
161
- stateMutability: 'view'
162
+ stateMutability: 'view',
162
163
  },
163
164
  {
164
165
  type: 'function',
165
166
  name: 'renounceRole',
166
167
  inputs: [
167
168
  { name: 'role', type: 'bytes32', internalType: 'bytes32' },
168
- { name: 'account', type: 'address', internalType: 'address' }
169
+ { name: 'account', type: 'address', internalType: 'address' },
169
170
  ],
170
171
  outputs: [],
171
- stateMutability: 'nonpayable'
172
+ stateMutability: 'nonpayable',
172
173
  },
173
174
  {
174
175
  type: 'function',
175
176
  name: 'revokeRole',
176
177
  inputs: [
177
178
  { name: 'role', type: 'bytes32', internalType: 'bytes32' },
178
- { name: 'account', type: 'address', internalType: 'address' }
179
+ { name: 'account', type: 'address', internalType: 'address' },
179
180
  ],
180
181
  outputs: [],
181
- stateMutability: 'nonpayable'
182
+ stateMutability: 'nonpayable',
182
183
  },
183
184
  {
184
185
  type: 'function',
185
186
  name: 'royaltyInfo',
186
187
  inputs: [
187
188
  { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
188
- { name: 'salePrice', type: 'uint256', internalType: 'uint256' }
189
+ { name: 'salePrice', type: 'uint256', internalType: 'uint256' },
189
190
  ],
190
191
  outputs: [
191
192
  { name: '', type: 'address', internalType: 'address' },
192
- { name: '', type: 'uint256', internalType: 'uint256' }
193
+ { name: '', type: 'uint256', internalType: 'uint256' },
193
194
  ],
194
- stateMutability: 'view'
195
+ stateMutability: 'view',
195
196
  },
196
197
  {
197
198
  type: 'function',
@@ -201,10 +202,10 @@ export const ERC1155_SALE_ITEMS_ABI = [
201
202
  { name: '_to', type: 'address', internalType: 'address' },
202
203
  { name: '_ids', type: 'uint256[]', internalType: 'uint256[]' },
203
204
  { name: '_amounts', type: 'uint256[]', internalType: 'uint256[]' },
204
- { name: '_data', type: 'bytes', internalType: 'bytes' }
205
+ { name: '_data', type: 'bytes', internalType: 'bytes' },
205
206
  ],
206
207
  outputs: [],
207
- stateMutability: 'nonpayable'
208
+ stateMutability: 'nonpayable',
208
209
  },
209
210
  {
210
211
  type: 'function',
@@ -214,51 +215,51 @@ export const ERC1155_SALE_ITEMS_ABI = [
214
215
  { name: '_to', type: 'address', internalType: 'address' },
215
216
  { name: '_id', type: 'uint256', internalType: 'uint256' },
216
217
  { name: '_amount', type: 'uint256', internalType: 'uint256' },
217
- { name: '_data', type: 'bytes', internalType: 'bytes' }
218
+ { name: '_data', type: 'bytes', internalType: 'bytes' },
218
219
  ],
219
220
  outputs: [],
220
- stateMutability: 'nonpayable'
221
+ stateMutability: 'nonpayable',
221
222
  },
222
223
  {
223
224
  type: 'function',
224
225
  name: 'setApprovalForAll',
225
226
  inputs: [
226
227
  { name: '_operator', type: 'address', internalType: 'address' },
227
- { name: '_approved', type: 'bool', internalType: 'bool' }
228
+ { name: '_approved', type: 'bool', internalType: 'bool' },
228
229
  ],
229
230
  outputs: [],
230
- stateMutability: 'nonpayable'
231
+ stateMutability: 'nonpayable',
231
232
  },
232
233
  {
233
234
  type: 'function',
234
235
  name: 'setBaseMetadataURI',
235
236
  inputs: [{ name: 'tokenBaseURI', type: 'string', internalType: 'string' }],
236
237
  outputs: [],
237
- stateMutability: 'nonpayable'
238
+ stateMutability: 'nonpayable',
238
239
  },
239
240
  {
240
241
  type: 'function',
241
242
  name: 'setContractName',
242
243
  inputs: [{ name: 'tokenName', type: 'string', internalType: 'string' }],
243
244
  outputs: [],
244
- stateMutability: 'nonpayable'
245
+ stateMutability: 'nonpayable',
245
246
  },
246
247
  {
247
248
  type: 'function',
248
249
  name: 'setContractURI',
249
250
  inputs: [{ name: 'tokenContractURI', type: 'string', internalType: 'string' }],
250
251
  outputs: [],
251
- stateMutability: 'nonpayable'
252
+ stateMutability: 'nonpayable',
252
253
  },
253
254
  {
254
255
  type: 'function',
255
256
  name: 'setDefaultRoyalty',
256
257
  inputs: [
257
258
  { name: 'receiver', type: 'address', internalType: 'address' },
258
- { name: 'feeNumerator', type: 'uint96', internalType: 'uint96' }
259
+ { name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
259
260
  ],
260
261
  outputs: [],
261
- stateMutability: 'nonpayable'
262
+ stateMutability: 'nonpayable',
262
263
  },
263
264
  {
264
265
  type: 'function',
@@ -266,38 +267,38 @@ export const ERC1155_SALE_ITEMS_ABI = [
266
267
  inputs: [
267
268
  { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
268
269
  { name: 'receiver', type: 'address', internalType: 'address' },
269
- { name: 'feeNumerator', type: 'uint96', internalType: 'uint96' }
270
+ { name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
270
271
  ],
271
272
  outputs: [],
272
- stateMutability: 'nonpayable'
273
+ stateMutability: 'nonpayable',
273
274
  },
274
275
  {
275
276
  type: 'function',
276
277
  name: 'supportsInterface',
277
278
  inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
278
279
  outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
279
- stateMutability: 'view'
280
+ stateMutability: 'view',
280
281
  },
281
282
  {
282
283
  type: 'function',
283
284
  name: 'tokenSupply',
284
285
  inputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
285
286
  outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
286
- stateMutability: 'view'
287
+ stateMutability: 'view',
287
288
  },
288
289
  {
289
290
  type: 'function',
290
291
  name: 'totalSupply',
291
292
  inputs: [],
292
293
  outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
293
- stateMutability: 'view'
294
+ stateMutability: 'view',
294
295
  },
295
296
  {
296
297
  type: 'function',
297
298
  name: 'uri',
298
299
  inputs: [{ name: '_id', type: 'uint256', internalType: 'uint256' }],
299
300
  outputs: [{ name: '', type: 'string', internalType: 'string' }],
300
- stateMutability: 'view'
301
+ stateMutability: 'view',
301
302
  },
302
303
  {
303
304
  type: 'event',
@@ -305,9 +306,9 @@ export const ERC1155_SALE_ITEMS_ABI = [
305
306
  inputs: [
306
307
  { name: '_owner', type: 'address', indexed: true, internalType: 'address' },
307
308
  { name: '_operator', type: 'address', indexed: true, internalType: 'address' },
308
- { name: '_approved', type: 'bool', indexed: false, internalType: 'bool' }
309
+ { name: '_approved', type: 'bool', indexed: false, internalType: 'bool' },
309
310
  ],
310
- anonymous: false
311
+ anonymous: false,
311
312
  },
312
313
  {
313
314
  type: 'event',
@@ -315,9 +316,9 @@ export const ERC1155_SALE_ITEMS_ABI = [
315
316
  inputs: [
316
317
  { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
317
318
  { name: 'previousAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32' },
318
- { name: 'newAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32' }
319
+ { name: 'newAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32' },
319
320
  ],
320
- anonymous: false
321
+ anonymous: false,
321
322
  },
322
323
  {
323
324
  type: 'event',
@@ -325,9 +326,9 @@ export const ERC1155_SALE_ITEMS_ABI = [
325
326
  inputs: [
326
327
  { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
327
328
  { name: 'account', type: 'address', indexed: true, internalType: 'address' },
328
- { name: 'sender', type: 'address', indexed: true, internalType: 'address' }
329
+ { name: 'sender', type: 'address', indexed: true, internalType: 'address' },
329
330
  ],
330
- anonymous: false
331
+ anonymous: false,
331
332
  },
332
333
  {
333
334
  type: 'event',
@@ -335,9 +336,9 @@ export const ERC1155_SALE_ITEMS_ABI = [
335
336
  inputs: [
336
337
  { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
337
338
  { name: 'account', type: 'address', indexed: true, internalType: 'address' },
338
- { name: 'sender', type: 'address', indexed: true, internalType: 'address' }
339
+ { name: 'sender', type: 'address', indexed: true, internalType: 'address' },
339
340
  ],
340
- anonymous: false
341
+ anonymous: false,
341
342
  },
342
343
  {
343
344
  type: 'event',
@@ -347,9 +348,9 @@ export const ERC1155_SALE_ITEMS_ABI = [
347
348
  { name: '_from', type: 'address', indexed: true, internalType: 'address' },
348
349
  { name: '_to', type: 'address', indexed: true, internalType: 'address' },
349
350
  { name: '_ids', type: 'uint256[]', indexed: false, internalType: 'uint256[]' },
350
- { name: '_amounts', type: 'uint256[]', indexed: false, internalType: 'uint256[]' }
351
+ { name: '_amounts', type: 'uint256[]', indexed: false, internalType: 'uint256[]' },
351
352
  ],
352
- anonymous: false
353
+ anonymous: false,
353
354
  },
354
355
  {
355
356
  type: 'event',
@@ -359,19 +360,19 @@ export const ERC1155_SALE_ITEMS_ABI = [
359
360
  { name: '_from', type: 'address', indexed: true, internalType: 'address' },
360
361
  { name: '_to', type: 'address', indexed: true, internalType: 'address' },
361
362
  { name: '_id', type: 'uint256', indexed: false, internalType: 'uint256' },
362
- { name: '_amount', type: 'uint256', indexed: false, internalType: 'uint256' }
363
+ { name: '_amount', type: 'uint256', indexed: false, internalType: 'uint256' },
363
364
  ],
364
- anonymous: false
365
+ anonymous: false,
365
366
  },
366
367
  {
367
368
  type: 'event',
368
369
  name: 'URI',
369
370
  inputs: [
370
371
  { name: '_uri', type: 'string', indexed: false, internalType: 'string' },
371
- { name: '_id', type: 'uint256', indexed: true, internalType: 'uint256' }
372
+ { name: '_id', type: 'uint256', indexed: true, internalType: 'uint256' },
372
373
  ],
373
- anonymous: false
374
+ anonymous: false,
374
375
  },
375
376
  { type: 'error', name: 'InvalidArrayLength', inputs: [] },
376
- { type: 'error', name: 'InvalidInitialization', inputs: [] }
377
+ { type: 'error', name: 'InvalidInitialization', inputs: [] },
377
378
  ] as const