@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
@@ -0,0 +1,444 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ERC721_ITEMS_ABI = void 0;
4
+ //An ERC 721 token contract with batchMint support, to make it compatible with Sequence Sales contracts (../sale/erc721Sale.ts)
5
+ exports.ERC721_ITEMS_ABI = [
6
+ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
7
+ {
8
+ type: 'function',
9
+ name: 'DEFAULT_ADMIN_ROLE',
10
+ inputs: [],
11
+ outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
12
+ stateMutability: 'view',
13
+ },
14
+ {
15
+ type: 'function',
16
+ name: 'approve',
17
+ inputs: [
18
+ { name: 'to', type: 'address', internalType: 'address' },
19
+ { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
20
+ ],
21
+ outputs: [],
22
+ stateMutability: 'payable',
23
+ },
24
+ {
25
+ type: 'function',
26
+ name: 'balanceOf',
27
+ inputs: [{ name: 'owner', type: 'address', internalType: 'address' }],
28
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
29
+ stateMutability: 'view',
30
+ },
31
+ {
32
+ type: 'function',
33
+ name: 'batchBurn',
34
+ inputs: [{ name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' }],
35
+ outputs: [],
36
+ stateMutability: 'nonpayable',
37
+ },
38
+ {
39
+ type: 'function',
40
+ name: 'burn',
41
+ inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
42
+ outputs: [],
43
+ stateMutability: 'nonpayable',
44
+ },
45
+ {
46
+ type: 'function',
47
+ name: 'contractURI',
48
+ inputs: [],
49
+ outputs: [{ name: '', type: 'string', internalType: 'string' }],
50
+ stateMutability: 'view',
51
+ },
52
+ {
53
+ type: 'function',
54
+ name: 'explicitOwnershipOf',
55
+ inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
56
+ outputs: [
57
+ {
58
+ name: '',
59
+ type: 'tuple',
60
+ internalType: 'struct IERC721A.TokenOwnership',
61
+ components: [
62
+ { name: 'addr', type: 'address', internalType: 'address' },
63
+ { name: 'startTimestamp', type: 'uint64', internalType: 'uint64' },
64
+ { name: 'burned', type: 'bool', internalType: 'bool' },
65
+ { name: 'extraData', type: 'uint24', internalType: 'uint24' },
66
+ ],
67
+ },
68
+ ],
69
+ stateMutability: 'view',
70
+ },
71
+ {
72
+ type: 'function',
73
+ name: 'explicitOwnershipsOf',
74
+ inputs: [{ name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' }],
75
+ outputs: [
76
+ {
77
+ name: '',
78
+ type: 'tuple[]',
79
+ internalType: 'struct IERC721A.TokenOwnership[]',
80
+ components: [
81
+ { name: 'addr', type: 'address', internalType: 'address' },
82
+ { name: 'startTimestamp', type: 'uint64', internalType: 'uint64' },
83
+ { name: 'burned', type: 'bool', internalType: 'bool' },
84
+ { name: 'extraData', type: 'uint24', internalType: 'uint24' },
85
+ ],
86
+ },
87
+ ],
88
+ stateMutability: 'view',
89
+ },
90
+ {
91
+ type: 'function',
92
+ name: 'getApproved',
93
+ inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
94
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
95
+ stateMutability: 'view',
96
+ },
97
+ {
98
+ type: 'function',
99
+ name: 'getRoleAdmin',
100
+ inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
101
+ outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
102
+ stateMutability: 'view',
103
+ },
104
+ {
105
+ type: 'function',
106
+ name: 'getRoleMember',
107
+ inputs: [
108
+ { name: 'role', type: 'bytes32', internalType: 'bytes32' },
109
+ { name: 'index', type: 'uint256', internalType: 'uint256' },
110
+ ],
111
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
112
+ stateMutability: 'view',
113
+ },
114
+ {
115
+ type: 'function',
116
+ name: 'getRoleMemberCount',
117
+ inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
118
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
119
+ stateMutability: 'view',
120
+ },
121
+ {
122
+ type: 'function',
123
+ name: 'grantRole',
124
+ inputs: [
125
+ { name: 'role', type: 'bytes32', internalType: 'bytes32' },
126
+ { name: 'account', type: 'address', internalType: 'address' },
127
+ ],
128
+ outputs: [],
129
+ stateMutability: 'nonpayable',
130
+ },
131
+ {
132
+ type: 'function',
133
+ name: 'hasRole',
134
+ inputs: [
135
+ { name: 'role', type: 'bytes32', internalType: 'bytes32' },
136
+ { name: 'account', type: 'address', internalType: 'address' },
137
+ ],
138
+ outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
139
+ stateMutability: 'view',
140
+ },
141
+ {
142
+ type: 'function',
143
+ name: 'initialize',
144
+ inputs: [
145
+ { name: 'owner', type: 'address', internalType: 'address' },
146
+ { name: 'tokenName', type: 'string', internalType: 'string' },
147
+ { name: 'tokenSymbol', type: 'string', internalType: 'string' },
148
+ { name: 'tokenBaseURI', type: 'string', internalType: 'string' },
149
+ { name: 'tokenContractURI', type: 'string', internalType: 'string' },
150
+ { name: 'royaltyReceiver', type: 'address', internalType: 'address' },
151
+ { name: 'royaltyFeeNumerator', type: 'uint96', internalType: 'uint96' },
152
+ ],
153
+ outputs: [],
154
+ stateMutability: 'nonpayable',
155
+ },
156
+ {
157
+ type: 'function',
158
+ name: 'isApprovedForAll',
159
+ inputs: [
160
+ { name: 'owner', type: 'address', internalType: 'address' },
161
+ { name: 'operator', type: 'address', internalType: 'address' },
162
+ ],
163
+ outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
164
+ stateMutability: 'view',
165
+ },
166
+ {
167
+ type: 'function',
168
+ name: 'mint',
169
+ inputs: [
170
+ { name: 'to', type: 'address', internalType: 'address' },
171
+ { name: 'amount', type: 'uint256', internalType: 'uint256' },
172
+ ],
173
+ outputs: [],
174
+ stateMutability: 'nonpayable',
175
+ },
176
+ {
177
+ type: 'function',
178
+ name: 'name',
179
+ inputs: [],
180
+ outputs: [{ name: '', type: 'string', internalType: 'string' }],
181
+ stateMutability: 'view',
182
+ },
183
+ {
184
+ type: 'function',
185
+ name: 'ownerOf',
186
+ inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
187
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
188
+ stateMutability: 'view',
189
+ },
190
+ {
191
+ type: 'function',
192
+ name: 'renounceRole',
193
+ inputs: [
194
+ { name: 'role', type: 'bytes32', internalType: 'bytes32' },
195
+ { name: 'account', type: 'address', internalType: 'address' },
196
+ ],
197
+ outputs: [],
198
+ stateMutability: 'nonpayable',
199
+ },
200
+ {
201
+ type: 'function',
202
+ name: 'revokeRole',
203
+ inputs: [
204
+ { name: 'role', type: 'bytes32', internalType: 'bytes32' },
205
+ { name: 'account', type: 'address', internalType: 'address' },
206
+ ],
207
+ outputs: [],
208
+ stateMutability: 'nonpayable',
209
+ },
210
+ {
211
+ type: 'function',
212
+ name: 'royaltyInfo',
213
+ inputs: [
214
+ { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
215
+ { name: 'salePrice', type: 'uint256', internalType: 'uint256' },
216
+ ],
217
+ outputs: [
218
+ { name: '', type: 'address', internalType: 'address' },
219
+ { name: '', type: 'uint256', internalType: 'uint256' },
220
+ ],
221
+ stateMutability: 'view',
222
+ },
223
+ {
224
+ type: 'function',
225
+ name: 'safeTransferFrom',
226
+ inputs: [
227
+ { name: 'from', type: 'address', internalType: 'address' },
228
+ { name: 'to', type: 'address', internalType: 'address' },
229
+ { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
230
+ ],
231
+ outputs: [],
232
+ stateMutability: 'payable',
233
+ },
234
+ {
235
+ type: 'function',
236
+ name: 'safeTransferFrom',
237
+ inputs: [
238
+ { name: 'from', type: 'address', internalType: 'address' },
239
+ { name: 'to', type: 'address', internalType: 'address' },
240
+ { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
241
+ { name: '_data', type: 'bytes', internalType: 'bytes' },
242
+ ],
243
+ outputs: [],
244
+ stateMutability: 'payable',
245
+ },
246
+ {
247
+ type: 'function',
248
+ name: 'setApprovalForAll',
249
+ inputs: [
250
+ { name: 'operator', type: 'address', internalType: 'address' },
251
+ { name: 'approved', type: 'bool', internalType: 'bool' },
252
+ ],
253
+ outputs: [],
254
+ stateMutability: 'nonpayable',
255
+ },
256
+ {
257
+ type: 'function',
258
+ name: 'setBaseMetadataURI',
259
+ inputs: [{ name: 'tokenBaseURI', type: 'string', internalType: 'string' }],
260
+ outputs: [],
261
+ stateMutability: 'nonpayable',
262
+ },
263
+ {
264
+ type: 'function',
265
+ name: 'setContractURI',
266
+ inputs: [{ name: 'tokenContractURI', type: 'string', internalType: 'string' }],
267
+ outputs: [],
268
+ stateMutability: 'nonpayable',
269
+ },
270
+ {
271
+ type: 'function',
272
+ name: 'setDefaultRoyalty',
273
+ inputs: [
274
+ { name: 'receiver', type: 'address', internalType: 'address' },
275
+ { name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
276
+ ],
277
+ outputs: [],
278
+ stateMutability: 'nonpayable',
279
+ },
280
+ {
281
+ type: 'function',
282
+ name: 'setNameAndSymbol',
283
+ inputs: [
284
+ { name: 'tokenName', type: 'string', internalType: 'string' },
285
+ { name: 'tokenSymbol', type: 'string', internalType: 'string' },
286
+ ],
287
+ outputs: [],
288
+ stateMutability: 'nonpayable',
289
+ },
290
+ {
291
+ type: 'function',
292
+ name: 'setTokenRoyalty',
293
+ inputs: [
294
+ { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
295
+ { name: 'receiver', type: 'address', internalType: 'address' },
296
+ { name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
297
+ ],
298
+ outputs: [],
299
+ stateMutability: 'nonpayable',
300
+ },
301
+ {
302
+ type: 'function',
303
+ name: 'supportsInterface',
304
+ inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
305
+ outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
306
+ stateMutability: 'view',
307
+ },
308
+ {
309
+ type: 'function',
310
+ name: 'symbol',
311
+ inputs: [],
312
+ outputs: [{ name: '', type: 'string', internalType: 'string' }],
313
+ stateMutability: 'view',
314
+ },
315
+ {
316
+ type: 'function',
317
+ name: 'tokenURI',
318
+ inputs: [{ name: 'tokenId', type: 'uint256', internalType: 'uint256' }],
319
+ outputs: [{ name: '', type: 'string', internalType: 'string' }],
320
+ stateMutability: 'view',
321
+ },
322
+ {
323
+ type: 'function',
324
+ name: 'tokensOfOwner',
325
+ inputs: [{ name: 'owner', type: 'address', internalType: 'address' }],
326
+ outputs: [{ name: '', type: 'uint256[]', internalType: 'uint256[]' }],
327
+ stateMutability: 'view',
328
+ },
329
+ {
330
+ type: 'function',
331
+ name: 'tokensOfOwnerIn',
332
+ inputs: [
333
+ { name: 'owner', type: 'address', internalType: 'address' },
334
+ { name: 'start', type: 'uint256', internalType: 'uint256' },
335
+ { name: 'stop', type: 'uint256', internalType: 'uint256' },
336
+ ],
337
+ outputs: [{ name: '', type: 'uint256[]', internalType: 'uint256[]' }],
338
+ stateMutability: 'view',
339
+ },
340
+ {
341
+ type: 'function',
342
+ name: 'totalSupply',
343
+ inputs: [],
344
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
345
+ stateMutability: 'view',
346
+ },
347
+ {
348
+ type: 'function',
349
+ name: 'transferFrom',
350
+ inputs: [
351
+ { name: 'from', type: 'address', internalType: 'address' },
352
+ { name: 'to', type: 'address', internalType: 'address' },
353
+ { name: 'tokenId', type: 'uint256', internalType: 'uint256' },
354
+ ],
355
+ outputs: [],
356
+ stateMutability: 'payable',
357
+ },
358
+ {
359
+ type: 'event',
360
+ name: 'Approval',
361
+ inputs: [
362
+ { name: 'owner', type: 'address', indexed: true, internalType: 'address' },
363
+ { name: 'approved', type: 'address', indexed: true, internalType: 'address' },
364
+ { name: 'tokenId', type: 'uint256', indexed: true, internalType: 'uint256' },
365
+ ],
366
+ anonymous: false,
367
+ },
368
+ {
369
+ type: 'event',
370
+ name: 'ApprovalForAll',
371
+ inputs: [
372
+ { name: 'owner', type: 'address', indexed: true, internalType: 'address' },
373
+ { name: 'operator', type: 'address', indexed: true, internalType: 'address' },
374
+ { name: 'approved', type: 'bool', indexed: false, internalType: 'bool' },
375
+ ],
376
+ anonymous: false,
377
+ },
378
+ {
379
+ type: 'event',
380
+ name: 'ConsecutiveTransfer',
381
+ inputs: [
382
+ { name: 'fromTokenId', type: 'uint256', indexed: true, internalType: 'uint256' },
383
+ { name: 'toTokenId', type: 'uint256', indexed: false, internalType: 'uint256' },
384
+ { name: 'from', type: 'address', indexed: true, internalType: 'address' },
385
+ { name: 'to', type: 'address', indexed: true, internalType: 'address' },
386
+ ],
387
+ anonymous: false,
388
+ },
389
+ {
390
+ type: 'event',
391
+ name: 'RoleAdminChanged',
392
+ inputs: [
393
+ { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
394
+ { name: 'previousAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32' },
395
+ { name: 'newAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32' },
396
+ ],
397
+ anonymous: false,
398
+ },
399
+ {
400
+ type: 'event',
401
+ name: 'RoleGranted',
402
+ inputs: [
403
+ { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
404
+ { name: 'account', type: 'address', indexed: true, internalType: 'address' },
405
+ { name: 'sender', type: 'address', indexed: true, internalType: 'address' },
406
+ ],
407
+ anonymous: false,
408
+ },
409
+ {
410
+ type: 'event',
411
+ name: 'RoleRevoked',
412
+ inputs: [
413
+ { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
414
+ { name: 'account', type: 'address', indexed: true, internalType: 'address' },
415
+ { name: 'sender', type: 'address', indexed: true, internalType: 'address' },
416
+ ],
417
+ anonymous: false,
418
+ },
419
+ {
420
+ type: 'event',
421
+ name: 'Transfer',
422
+ inputs: [
423
+ { name: 'from', type: 'address', indexed: true, internalType: 'address' },
424
+ { name: 'to', type: 'address', indexed: true, internalType: 'address' },
425
+ { name: 'tokenId', type: 'uint256', indexed: true, internalType: 'uint256' },
426
+ ],
427
+ anonymous: false,
428
+ },
429
+ { type: 'error', name: 'ApprovalCallerNotOwnerNorApproved', inputs: [] },
430
+ { type: 'error', name: 'ApprovalQueryForNonexistentToken', inputs: [] },
431
+ { type: 'error', name: 'BalanceQueryForZeroAddress', inputs: [] },
432
+ { type: 'error', name: 'InvalidInitialization', inputs: [] },
433
+ { type: 'error', name: 'InvalidQueryRange', inputs: [] },
434
+ { type: 'error', name: 'MintERC2309QuantityExceedsLimit', inputs: [] },
435
+ { type: 'error', name: 'MintToZeroAddress', inputs: [] },
436
+ { type: 'error', name: 'MintZeroQuantity', inputs: [] },
437
+ { type: 'error', name: 'OwnerQueryForNonexistentToken', inputs: [] },
438
+ { type: 'error', name: 'OwnershipNotInitializedForExtraData', inputs: [] },
439
+ { type: 'error', name: 'TransferCallerNotOwnerNorApproved', inputs: [] },
440
+ { type: 'error', name: 'TransferFromIncorrectOwner', inputs: [] },
441
+ { type: 'error', name: 'TransferToNonERC721ReceiverImplementer', inputs: [] },
442
+ { type: 'error', name: 'TransferToZeroAddress', inputs: [] },
443
+ { type: 'error', name: 'URIQueryForNonexistentToken', inputs: [] },
444
+ ];
@@ -16,3 +16,4 @@ export declare const abi: readonly [{
16
16
  export declare const returns: {
17
17
  isValidSignatureBytes32: string;
18
18
  };
19
+ //# sourceMappingURL=erc1271.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"erc1271.d.ts","sourceRoot":"","sources":["../../src/wallet/erc1271.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;EAqBN,CAAA;AAEV,eAAO,MAAM,OAAO;;CAEnB,CAAA"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.returns = exports.abi = void 0;
4
+ exports.abi = [
5
+ {
6
+ type: 'function',
7
+ name: 'isValidSignature',
8
+ constant: true,
9
+ inputs: [
10
+ {
11
+ type: 'bytes32',
12
+ },
13
+ {
14
+ type: 'bytes',
15
+ },
16
+ ],
17
+ outputs: [
18
+ {
19
+ type: 'bytes4',
20
+ },
21
+ ],
22
+ payable: false,
23
+ stateMutability: 'view',
24
+ },
25
+ ];
26
+ exports.returns = {
27
+ isValidSignatureBytes32: '0x1626ba7e',
28
+ };
@@ -11,3 +11,4 @@ export declare const abi: readonly [{
11
11
  readonly stateMutability: "view";
12
12
  readonly type: "function";
13
13
  }];
14
+ //# sourceMappingURL=erc5719.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"erc5719.d.ts","sourceRoot":"","sources":["../../src/wallet/erc5719.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;EAkBN,CAAA"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.abi = void 0;
4
+ exports.abi = [
5
+ {
6
+ inputs: [
7
+ {
8
+ internalType: 'bytes32',
9
+ type: 'bytes32',
10
+ },
11
+ ],
12
+ name: 'getAlternativeSignature',
13
+ outputs: [
14
+ {
15
+ internalType: 'string',
16
+ type: 'string',
17
+ },
18
+ ],
19
+ stateMutability: 'view',
20
+ type: 'function',
21
+ },
22
+ ];
@@ -133,3 +133,4 @@ export declare const abi: readonly [{
133
133
  readonly stateMutability: "nonpayable";
134
134
  readonly type: "function";
135
135
  }];
136
+ //# sourceMappingURL=erc6492.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"erc6492.d.ts","sourceRoot":"","sources":["../../src/wallet/erc6492.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DN,CAAA"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.abi = void 0;
4
+ exports.abi = [
5
+ { inputs: [{ internalType: 'bytes', name: 'error', type: 'bytes' }], name: 'ERC1271Revert', type: 'error' },
6
+ { inputs: [{ internalType: 'bytes', name: 'error', type: 'bytes' }], name: 'ERC6492DeployFailed', type: 'error' },
7
+ {
8
+ inputs: [
9
+ { internalType: 'address', name: '_signer', type: 'address' },
10
+ { internalType: 'bytes32', name: '_hash', type: 'bytes32' },
11
+ { internalType: 'bytes', name: '_signature', type: 'bytes' },
12
+ ],
13
+ name: 'isValidSig',
14
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
15
+ stateMutability: 'nonpayable',
16
+ type: 'function',
17
+ },
18
+ {
19
+ inputs: [
20
+ { internalType: 'address', name: '_signer', type: 'address' },
21
+ { internalType: 'bytes32', name: '_hash', type: 'bytes32' },
22
+ { internalType: 'bytes', name: '_signature', type: 'bytes' },
23
+ { internalType: 'bool', name: 'allowSideEffects', type: 'bool' },
24
+ { internalType: 'bool', name: 'deployAlreadyDeployed', type: 'bool' },
25
+ ],
26
+ name: 'isValidSigImpl',
27
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
28
+ stateMutability: 'nonpayable',
29
+ type: 'function',
30
+ },
31
+ {
32
+ inputs: [
33
+ { internalType: 'address', name: '_signer', type: 'address' },
34
+ { internalType: 'bytes32', name: '_hash', type: 'bytes32' },
35
+ { internalType: 'bytes', name: '_signature', type: 'bytes' },
36
+ ],
37
+ name: 'isValidSigNoThrow',
38
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
39
+ stateMutability: 'nonpayable',
40
+ type: 'function',
41
+ },
42
+ {
43
+ inputs: [
44
+ { internalType: 'address', name: '_signer', type: 'address' },
45
+ { internalType: 'bytes32', name: '_hash', type: 'bytes32' },
46
+ { internalType: 'bytes', name: '_signature', type: 'bytes' },
47
+ ],
48
+ name: 'isValidSigWithSideEffects',
49
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
50
+ stateMutability: 'nonpayable',
51
+ type: 'function',
52
+ },
53
+ {
54
+ inputs: [
55
+ { internalType: 'address', name: '_signer', type: 'address' },
56
+ { internalType: 'bytes32', name: '_hash', type: 'bytes32' },
57
+ { internalType: 'bytes', name: '_signature', type: 'bytes' },
58
+ ],
59
+ name: 'isValidSigWithSideEffectsNoThrow',
60
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
61
+ stateMutability: 'nonpayable',
62
+ type: 'function',
63
+ },
64
+ ];
@@ -11,3 +11,4 @@ export declare const abi: readonly [{
11
11
  readonly payable: true;
12
12
  readonly stateMutability: "payable";
13
13
  }];
14
+ //# sourceMappingURL=factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/wallet/factory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;EAiBN,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.abi = void 0;
4
+ exports.abi = [
5
+ {
6
+ type: 'function',
7
+ name: 'deploy',
8
+ constant: false,
9
+ inputs: [
10
+ {
11
+ type: 'address',
12
+ },
13
+ {
14
+ type: 'bytes32',
15
+ },
16
+ ],
17
+ outputs: [],
18
+ payable: true,
19
+ stateMutability: 'payable',
20
+ },
21
+ ];
@@ -1,13 +1,13 @@
1
- import * as erc5719 from "./erc5719.js";
2
- import * as erc1271 from "./erc1271.js";
3
- import * as erc6492 from "./erc6492.js";
4
- import * as factory from "./factory.js";
5
- import * as mainModule from "./mainModule.js";
6
- import * as mainModuleUpgradable from "./mainModuleUpgradable.js";
7
- import * as moduleHooks from "./moduleHooks.js";
8
- import * as sequenceUtils from "./sequenceUtils.js";
9
- import * as requireFreshSigner from "./libs/requireFreshSigners.js";
10
- import * as walletProxyHook from "./walletProxyHook.js";
1
+ import * as erc5719 from './erc5719';
2
+ import * as erc1271 from './erc1271';
3
+ import * as erc6492 from './erc6492';
4
+ import * as factory from './factory';
5
+ import * as mainModule from './mainModule';
6
+ import * as mainModuleUpgradable from './mainModuleUpgradable';
7
+ import * as moduleHooks from './moduleHooks';
8
+ import * as sequenceUtils from './sequenceUtils';
9
+ import * as requireFreshSigner from './libs/requireFreshSigners';
10
+ import * as walletProxyHook from './walletProxyHook';
11
11
  /**
12
12
  * @deprecated import directly from @0xsequence/abi/* instead, omitting "walletContracts"
13
13
  */
@@ -23,3 +23,4 @@ export declare const walletContracts: {
23
23
  requireFreshSigner: typeof requireFreshSigner;
24
24
  walletProxyHook: typeof walletProxyHook;
25
25
  };
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/wallet/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAA;AAChD,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAA;AAChE,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAA;AAEpD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;CAW3B,CAAA"}