@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.
- package/.turbo/turbo-build.log +5 -0
- package/CHANGELOG.md +2097 -0
- package/LICENSE +0 -17
- package/README.md +1 -2
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +41 -0
- package/dist/{declarations/src/sale → sale}/erc1155Sale.d.ts +1 -0
- package/dist/sale/erc1155Sale.d.ts.map +1 -0
- package/dist/sale/erc1155Sale.js +355 -0
- package/dist/{declarations/src/sale → sale}/erc721Sale.d.ts +1 -0
- package/dist/sale/erc721Sale.d.ts.map +1 -0
- package/dist/sale/erc721Sale.js +355 -0
- package/dist/{declarations/src/tokens → tokens}/erc1155.d.ts +1 -0
- package/dist/tokens/erc1155.d.ts.map +1 -0
- package/dist/tokens/erc1155.js +425 -0
- package/dist/{declarations/src/saleItems/erc1155SaleItems.d.ts → tokens/erc1155Items.d.ts} +2 -1
- package/dist/tokens/erc1155Items.d.ts.map +1 -0
- package/dist/tokens/erc1155Items.js +381 -0
- package/dist/{declarations/src/tokens → tokens}/erc20.d.ts +1 -0
- package/dist/tokens/erc20.d.ts.map +1 -0
- package/dist/tokens/erc20.js +319 -0
- package/dist/{declarations/src/tokens → tokens}/erc6909.d.ts +1 -0
- package/dist/tokens/erc6909.d.ts.map +1 -0
- package/dist/tokens/erc6909.js +407 -0
- package/dist/{declarations/src/tokens → tokens}/erc721.d.ts +1 -0
- package/dist/tokens/erc721.d.ts.map +1 -0
- package/dist/tokens/erc721.js +444 -0
- package/dist/{declarations/src/saleItems/erc721SaleItems.d.ts → tokens/erc721Items.d.ts} +2 -1
- package/dist/tokens/erc721Items.d.ts.map +1 -0
- package/dist/tokens/erc721Items.js +444 -0
- package/dist/{declarations/src/wallet → wallet}/erc1271.d.ts +1 -0
- package/dist/wallet/erc1271.d.ts.map +1 -0
- package/dist/wallet/erc1271.js +28 -0
- package/dist/{declarations/src/wallet → wallet}/erc5719.d.ts +1 -0
- package/dist/wallet/erc5719.d.ts.map +1 -0
- package/dist/wallet/erc5719.js +22 -0
- package/dist/{declarations/src/wallet → wallet}/erc6492.d.ts +1 -0
- package/dist/wallet/erc6492.d.ts.map +1 -0
- package/dist/wallet/erc6492.js +64 -0
- package/dist/{declarations/src/wallet → wallet}/factory.d.ts +1 -0
- package/dist/wallet/factory.d.ts.map +1 -0
- package/dist/wallet/factory.js +21 -0
- package/dist/{declarations/src/wallet → wallet}/index.d.ts +11 -10
- package/dist/wallet/index.d.ts.map +1 -0
- package/dist/wallet/index.js +61 -0
- package/dist/{declarations/src/wallet → wallet}/libs/requireFreshSigners.d.ts +1 -0
- package/dist/wallet/libs/requireFreshSigners.d.ts.map +1 -0
- package/dist/wallet/libs/requireFreshSigners.js +18 -0
- package/dist/{declarations/src/wallet → wallet}/mainModule.d.ts +1 -0
- package/dist/wallet/mainModule.d.ts.map +1 -0
- package/dist/wallet/mainModule.js +161 -0
- package/dist/{declarations/src/wallet → wallet}/mainModuleUpgradable.d.ts +1 -0
- package/dist/wallet/mainModuleUpgradable.d.ts.map +1 -0
- package/dist/wallet/mainModuleUpgradable.js +31 -0
- package/dist/{declarations/src/wallet → wallet}/moduleHooks.d.ts +1 -0
- package/dist/wallet/moduleHooks.d.ts.map +1 -0
- package/dist/wallet/moduleHooks.js +251 -0
- package/dist/{declarations/src/wallet → wallet}/sequenceUtils.d.ts +1 -0
- package/dist/wallet/sequenceUtils.d.ts.map +1 -0
- package/dist/wallet/sequenceUtils.js +519 -0
- package/dist/{declarations/src/wallet → wallet}/walletProxyHook.d.ts +1 -0
- package/dist/wallet/walletProxyHook.d.ts.map +1 -0
- package/dist/wallet/walletProxyHook.js +12 -0
- package/package.json +19 -13
- package/src/index.ts +2 -3
- package/src/sale/erc1155Sale.ts +67 -67
- package/src/sale/erc721Sale.ts +67 -67
- package/src/tokens/erc1155.ts +97 -97
- package/src/{saleItems/erc1155SaleItems.ts → tokens/erc1155Items.ts} +69 -68
- package/src/tokens/erc20.ts +76 -76
- package/src/tokens/erc6909.ts +95 -95
- package/src/tokens/erc721.ts +105 -105
- package/src/{saleItems/erc721SaleItems.ts → tokens/erc721Items.ts} +79 -78
- package/src/wallet/erc1271.ts +8 -8
- package/src/wallet/erc5719.ts +6 -6
- package/src/wallet/erc6492.ts +11 -11
- package/src/wallet/factory.ts +5 -5
- package/src/wallet/index.ts +1 -1
- package/src/wallet/libs/requireFreshSigners.ts +4 -4
- package/src/wallet/mainModule.ts +41 -41
- package/src/wallet/mainModuleUpgradable.ts +7 -7
- package/src/wallet/moduleHooks.ts +60 -60
- package/src/wallet/sequenceUtils.ts +123 -123
- package/src/wallet/walletProxyHook.ts +2 -2
- package/tsconfig.json +10 -0
- package/dist/0xsequence-abi.cjs.d.ts +0 -2
- package/dist/0xsequence-abi.cjs.dev.js +0 -4638
- package/dist/0xsequence-abi.cjs.js +0 -7
- package/dist/0xsequence-abi.cjs.prod.js +0 -4638
- package/dist/0xsequence-abi.esm.js +0 -4616
- package/dist/declarations/src/index.d.ts +0 -19
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.abi = void 0;
|
|
4
|
+
exports.abi = [
|
|
5
|
+
{
|
|
6
|
+
inputs: [
|
|
7
|
+
{
|
|
8
|
+
internalType: 'address',
|
|
9
|
+
name: '_factory',
|
|
10
|
+
type: 'address',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
internalType: 'address',
|
|
14
|
+
name: '_mainModule',
|
|
15
|
+
type: 'address',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
stateMutability: 'nonpayable',
|
|
19
|
+
type: 'constructor',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
anonymous: false,
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
indexed: true,
|
|
26
|
+
internalType: 'address',
|
|
27
|
+
name: '_wallet',
|
|
28
|
+
type: 'address',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
indexed: true,
|
|
32
|
+
internalType: 'bytes32',
|
|
33
|
+
name: '_imageHash',
|
|
34
|
+
type: 'bytes32',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
indexed: false,
|
|
38
|
+
internalType: 'uint256',
|
|
39
|
+
name: '_threshold',
|
|
40
|
+
type: 'uint256',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
indexed: false,
|
|
44
|
+
internalType: 'bytes',
|
|
45
|
+
name: '_signers',
|
|
46
|
+
type: 'bytes',
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: 'RequiredConfig',
|
|
50
|
+
type: 'event',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
anonymous: false,
|
|
54
|
+
inputs: [
|
|
55
|
+
{
|
|
56
|
+
indexed: true,
|
|
57
|
+
internalType: 'address',
|
|
58
|
+
name: '_wallet',
|
|
59
|
+
type: 'address',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
indexed: true,
|
|
63
|
+
internalType: 'address',
|
|
64
|
+
name: '_signer',
|
|
65
|
+
type: 'address',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: 'RequiredSigner',
|
|
69
|
+
type: 'event',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: 'address',
|
|
75
|
+
name: '_addr',
|
|
76
|
+
type: 'address',
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
name: 'callBalanceOf',
|
|
80
|
+
outputs: [
|
|
81
|
+
{
|
|
82
|
+
internalType: 'uint256',
|
|
83
|
+
name: '',
|
|
84
|
+
type: 'uint256',
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
stateMutability: 'view',
|
|
88
|
+
type: 'function',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
inputs: [],
|
|
92
|
+
name: 'callBlockNumber',
|
|
93
|
+
outputs: [
|
|
94
|
+
{
|
|
95
|
+
internalType: 'uint256',
|
|
96
|
+
name: '',
|
|
97
|
+
type: 'uint256',
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
stateMutability: 'view',
|
|
101
|
+
type: 'function',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
inputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: 'uint256',
|
|
107
|
+
name: '_i',
|
|
108
|
+
type: 'uint256',
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
name: 'callBlockhash',
|
|
112
|
+
outputs: [
|
|
113
|
+
{
|
|
114
|
+
internalType: 'bytes32',
|
|
115
|
+
name: '',
|
|
116
|
+
type: 'bytes32',
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
stateMutability: 'view',
|
|
120
|
+
type: 'function',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
inputs: [],
|
|
124
|
+
name: 'callChainId',
|
|
125
|
+
outputs: [
|
|
126
|
+
{
|
|
127
|
+
internalType: 'uint256',
|
|
128
|
+
name: 'id',
|
|
129
|
+
type: 'uint256',
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
stateMutability: 'pure',
|
|
133
|
+
type: 'function',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
inputs: [
|
|
137
|
+
{
|
|
138
|
+
internalType: 'address',
|
|
139
|
+
name: '_addr',
|
|
140
|
+
type: 'address',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
name: 'callCode',
|
|
144
|
+
outputs: [
|
|
145
|
+
{
|
|
146
|
+
internalType: 'bytes',
|
|
147
|
+
name: 'code',
|
|
148
|
+
type: 'bytes',
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
stateMutability: 'view',
|
|
152
|
+
type: 'function',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: 'address',
|
|
158
|
+
name: '_addr',
|
|
159
|
+
type: 'address',
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: 'callCodeHash',
|
|
163
|
+
outputs: [
|
|
164
|
+
{
|
|
165
|
+
internalType: 'bytes32',
|
|
166
|
+
name: 'codeHash',
|
|
167
|
+
type: 'bytes32',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
stateMutability: 'view',
|
|
171
|
+
type: 'function',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
inputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: 'address',
|
|
177
|
+
name: '_addr',
|
|
178
|
+
type: 'address',
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: 'callCodeSize',
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: 'uint256',
|
|
185
|
+
name: 'size',
|
|
186
|
+
type: 'uint256',
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: 'view',
|
|
190
|
+
type: 'function',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: 'callCoinbase',
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: 'address',
|
|
198
|
+
name: '',
|
|
199
|
+
type: 'address',
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: 'view',
|
|
203
|
+
type: 'function',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
inputs: [],
|
|
207
|
+
name: 'callDifficulty',
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: 'uint256',
|
|
211
|
+
name: '',
|
|
212
|
+
type: 'uint256',
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: 'view',
|
|
216
|
+
type: 'function',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [],
|
|
220
|
+
name: 'callGasLeft',
|
|
221
|
+
outputs: [
|
|
222
|
+
{
|
|
223
|
+
internalType: 'uint256',
|
|
224
|
+
name: '',
|
|
225
|
+
type: 'uint256',
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
stateMutability: 'view',
|
|
229
|
+
type: 'function',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
inputs: [],
|
|
233
|
+
name: 'callGasLimit',
|
|
234
|
+
outputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: 'uint256',
|
|
237
|
+
name: '',
|
|
238
|
+
type: 'uint256',
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
stateMutability: 'view',
|
|
242
|
+
type: 'function',
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
inputs: [],
|
|
246
|
+
name: 'callGasPrice',
|
|
247
|
+
outputs: [
|
|
248
|
+
{
|
|
249
|
+
internalType: 'uint256',
|
|
250
|
+
name: '',
|
|
251
|
+
type: 'uint256',
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
stateMutability: 'view',
|
|
255
|
+
type: 'function',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [],
|
|
259
|
+
name: 'callOrigin',
|
|
260
|
+
outputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: 'address',
|
|
263
|
+
name: '',
|
|
264
|
+
type: 'address',
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
stateMutability: 'view',
|
|
268
|
+
type: 'function',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
inputs: [],
|
|
272
|
+
name: 'callTimestamp',
|
|
273
|
+
outputs: [
|
|
274
|
+
{
|
|
275
|
+
internalType: 'uint256',
|
|
276
|
+
name: '',
|
|
277
|
+
type: 'uint256',
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
stateMutability: 'view',
|
|
281
|
+
type: 'function',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: 'address',
|
|
287
|
+
name: '',
|
|
288
|
+
type: 'address',
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
name: 'knownImageHashes',
|
|
292
|
+
outputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: 'bytes32',
|
|
295
|
+
name: '',
|
|
296
|
+
type: 'bytes32',
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
stateMutability: 'view',
|
|
300
|
+
type: 'function',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [
|
|
304
|
+
{
|
|
305
|
+
internalType: 'bytes32',
|
|
306
|
+
name: '',
|
|
307
|
+
type: 'bytes32',
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
name: 'lastImageHashUpdate',
|
|
311
|
+
outputs: [
|
|
312
|
+
{
|
|
313
|
+
internalType: 'uint256',
|
|
314
|
+
name: '',
|
|
315
|
+
type: 'uint256',
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
stateMutability: 'view',
|
|
319
|
+
type: 'function',
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
inputs: [
|
|
323
|
+
{
|
|
324
|
+
internalType: 'address',
|
|
325
|
+
name: '',
|
|
326
|
+
type: 'address',
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
name: 'lastSignerUpdate',
|
|
330
|
+
outputs: [
|
|
331
|
+
{
|
|
332
|
+
internalType: 'uint256',
|
|
333
|
+
name: '',
|
|
334
|
+
type: 'uint256',
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
stateMutability: 'view',
|
|
338
|
+
type: 'function',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [
|
|
342
|
+
{
|
|
343
|
+
internalType: 'address',
|
|
344
|
+
name: '',
|
|
345
|
+
type: 'address',
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
name: 'lastWalletUpdate',
|
|
349
|
+
outputs: [
|
|
350
|
+
{
|
|
351
|
+
internalType: 'uint256',
|
|
352
|
+
name: '',
|
|
353
|
+
type: 'uint256',
|
|
354
|
+
},
|
|
355
|
+
],
|
|
356
|
+
stateMutability: 'view',
|
|
357
|
+
type: 'function',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
inputs: [
|
|
361
|
+
{
|
|
362
|
+
components: [
|
|
363
|
+
{
|
|
364
|
+
internalType: 'bool',
|
|
365
|
+
name: 'delegateCall',
|
|
366
|
+
type: 'bool',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
internalType: 'bool',
|
|
370
|
+
name: 'revertOnError',
|
|
371
|
+
type: 'bool',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
internalType: 'uint256',
|
|
375
|
+
name: 'gasLimit',
|
|
376
|
+
type: 'uint256',
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
internalType: 'address',
|
|
380
|
+
name: 'target',
|
|
381
|
+
type: 'address',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
internalType: 'uint256',
|
|
385
|
+
name: 'value',
|
|
386
|
+
type: 'uint256',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
internalType: 'bytes',
|
|
390
|
+
name: 'data',
|
|
391
|
+
type: 'bytes',
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
internalType: 'struct IModuleCalls.Transaction[]',
|
|
395
|
+
name: '_txs',
|
|
396
|
+
type: 'tuple[]',
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
name: 'multiCall',
|
|
400
|
+
outputs: [
|
|
401
|
+
{
|
|
402
|
+
internalType: 'bool[]',
|
|
403
|
+
name: '_successes',
|
|
404
|
+
type: 'bool[]',
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
internalType: 'bytes[]',
|
|
408
|
+
name: '_results',
|
|
409
|
+
type: 'bytes[]',
|
|
410
|
+
},
|
|
411
|
+
],
|
|
412
|
+
stateMutability: 'payable',
|
|
413
|
+
type: 'function',
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
inputs: [
|
|
417
|
+
{
|
|
418
|
+
internalType: 'address',
|
|
419
|
+
name: '_wallet',
|
|
420
|
+
type: 'address',
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
internalType: 'uint256',
|
|
424
|
+
name: '_threshold',
|
|
425
|
+
type: 'uint256',
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
components: [
|
|
429
|
+
{
|
|
430
|
+
internalType: 'uint256',
|
|
431
|
+
name: 'weight',
|
|
432
|
+
type: 'uint256',
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
internalType: 'address',
|
|
436
|
+
name: 'signer',
|
|
437
|
+
type: 'address',
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
internalType: 'struct RequireUtils.Member[]',
|
|
441
|
+
name: '_members',
|
|
442
|
+
type: 'tuple[]',
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
internalType: 'bool',
|
|
446
|
+
name: '_index',
|
|
447
|
+
type: 'bool',
|
|
448
|
+
},
|
|
449
|
+
],
|
|
450
|
+
name: 'publishConfig',
|
|
451
|
+
outputs: [],
|
|
452
|
+
stateMutability: 'nonpayable',
|
|
453
|
+
type: 'function',
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
inputs: [
|
|
457
|
+
{
|
|
458
|
+
internalType: 'address',
|
|
459
|
+
name: '_wallet',
|
|
460
|
+
type: 'address',
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
internalType: 'bytes32',
|
|
464
|
+
name: '_hash',
|
|
465
|
+
type: 'bytes32',
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
internalType: 'uint256',
|
|
469
|
+
name: '_sizeMembers',
|
|
470
|
+
type: 'uint256',
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
internalType: 'bytes',
|
|
474
|
+
name: '_signature',
|
|
475
|
+
type: 'bytes',
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
internalType: 'bool',
|
|
479
|
+
name: '_index',
|
|
480
|
+
type: 'bool',
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
name: 'publishInitialSigners',
|
|
484
|
+
outputs: [],
|
|
485
|
+
stateMutability: 'nonpayable',
|
|
486
|
+
type: 'function',
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
inputs: [
|
|
490
|
+
{
|
|
491
|
+
internalType: 'address',
|
|
492
|
+
name: '_wallet',
|
|
493
|
+
type: 'address',
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
internalType: 'uint256',
|
|
497
|
+
name: '_nonce',
|
|
498
|
+
type: 'uint256',
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
name: 'requireMinNonce',
|
|
502
|
+
outputs: [],
|
|
503
|
+
stateMutability: 'view',
|
|
504
|
+
type: 'function',
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
inputs: [
|
|
508
|
+
{
|
|
509
|
+
internalType: 'uint256',
|
|
510
|
+
name: '_expiration',
|
|
511
|
+
type: 'uint256',
|
|
512
|
+
},
|
|
513
|
+
],
|
|
514
|
+
name: 'requireNonExpired',
|
|
515
|
+
outputs: [],
|
|
516
|
+
stateMutability: 'view',
|
|
517
|
+
type: 'function',
|
|
518
|
+
},
|
|
519
|
+
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"walletProxyHook.d.ts","sourceRoot":"","sources":["../../src/wallet/walletProxyHook.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;EAQN,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.abi = void 0;
|
|
4
|
+
exports.abi = [
|
|
5
|
+
{
|
|
6
|
+
type: 'function',
|
|
7
|
+
name: 'PROXY_getImplementation',
|
|
8
|
+
inputs: [],
|
|
9
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
10
|
+
stateMutability: 'view',
|
|
11
|
+
},
|
|
12
|
+
];
|
package/package.json
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/abi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.2",
|
|
4
4
|
"description": "abi sub-package for Sequence",
|
|
5
|
-
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/abi",
|
|
6
|
-
"
|
|
7
|
-
"main": "dist/0xsequence-abi.cjs.js",
|
|
8
|
-
"module": "dist/0xsequence-abi.esm.js",
|
|
9
|
-
"author": "Horizon Blockchain Games",
|
|
5
|
+
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/utils/abi",
|
|
6
|
+
"author": "Sequence Platforms Inc.",
|
|
10
7
|
"license": "Apache-2.0",
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/node": "^22.15.29",
|
|
19
|
+
"typescript": "^5.8.3",
|
|
20
|
+
"@repo/typescript-config": "^0.0.0"
|
|
21
|
+
},
|
|
18
22
|
"scripts": {
|
|
23
|
+
"build": "tsc",
|
|
24
|
+
"dev": "tsc --watch",
|
|
19
25
|
"test": "echo",
|
|
20
26
|
"typecheck": "tsc --noEmit"
|
|
21
27
|
}
|
package/src/index.ts
CHANGED
|
@@ -12,12 +12,11 @@ export { abi as walletProxyHookAbi } from './wallet/walletProxyHook'
|
|
|
12
12
|
export { walletContracts } from './wallet'
|
|
13
13
|
|
|
14
14
|
export { ERC1155_ABI } from './tokens/erc1155'
|
|
15
|
+
export { ERC1155_ITEMS_ABI } from './tokens/erc1155Items'
|
|
15
16
|
export { ERC20_ABI } from './tokens/erc20'
|
|
16
17
|
export { ERC6909_ABI } from './tokens/erc6909'
|
|
17
18
|
export { ERC721_ABI } from './tokens/erc721'
|
|
19
|
+
export { ERC721_ITEMS_ABI } from './tokens/erc721Items'
|
|
18
20
|
|
|
19
21
|
export { ERC1155_SALE_ABI } from './sale/erc1155Sale'
|
|
20
22
|
export { ERC721_SALE_ABI } from './sale/erc721Sale'
|
|
21
|
-
|
|
22
|
-
export { ERC1155_SALE_ITEMS_ABI } from './saleItems/erc1155SaleItems'
|
|
23
|
-
export { ERC721_SALE_ITEMS_ABI } from './saleItems/erc721SaleItems'
|