@0xsequence/abi 2.2.4 → 2.2.5
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/dist/0xsequence-abi.cjs.dev.js +229 -16
- package/dist/0xsequence-abi.cjs.prod.js +229 -16
- package/dist/0xsequence-abi.esm.js +229 -16
- package/dist/declarations/src/wallet/index.d.ts +4 -0
- package/dist/declarations/src/wallet/moduleHooks.d.ts +188 -0
- package/dist/declarations/src/wallet/walletProxyHook.d.ts +11 -0
- package/package.json +1 -1
- package/src/wallet/index.ts +5 -1
- package/src/wallet/moduleHooks.ts +248 -0
- package/src/wallet/walletProxyHook.ts +9 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const abi$
|
|
1
|
+
const abi$9 = [{
|
|
2
2
|
inputs: [{
|
|
3
3
|
internalType: 'bytes32',
|
|
4
4
|
type: 'bytes32'
|
|
@@ -14,10 +14,10 @@ const abi$7 = [{
|
|
|
14
14
|
|
|
15
15
|
var erc5719 = /*#__PURE__*/Object.freeze({
|
|
16
16
|
__proto__: null,
|
|
17
|
-
abi: abi$
|
|
17
|
+
abi: abi$9
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
const abi$
|
|
20
|
+
const abi$8 = [{
|
|
21
21
|
type: 'function',
|
|
22
22
|
name: 'isValidSignature',
|
|
23
23
|
constant: true,
|
|
@@ -38,11 +38,11 @@ const returns = {
|
|
|
38
38
|
|
|
39
39
|
var erc1271 = /*#__PURE__*/Object.freeze({
|
|
40
40
|
__proto__: null,
|
|
41
|
-
abi: abi$
|
|
41
|
+
abi: abi$8,
|
|
42
42
|
returns: returns
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
const abi$
|
|
45
|
+
const abi$7 = [{
|
|
46
46
|
inputs: [{
|
|
47
47
|
internalType: 'bytes',
|
|
48
48
|
name: 'error',
|
|
@@ -180,10 +180,10 @@ const abi$5 = [{
|
|
|
180
180
|
|
|
181
181
|
var erc6492 = /*#__PURE__*/Object.freeze({
|
|
182
182
|
__proto__: null,
|
|
183
|
-
abi: abi$
|
|
183
|
+
abi: abi$7
|
|
184
184
|
});
|
|
185
185
|
|
|
186
|
-
const abi$
|
|
186
|
+
const abi$6 = [{
|
|
187
187
|
type: 'function',
|
|
188
188
|
name: 'deploy',
|
|
189
189
|
constant: false,
|
|
@@ -199,10 +199,10 @@ const abi$4 = [{
|
|
|
199
199
|
|
|
200
200
|
var factory = /*#__PURE__*/Object.freeze({
|
|
201
201
|
__proto__: null,
|
|
202
|
-
abi: abi$
|
|
202
|
+
abi: abi$6
|
|
203
203
|
});
|
|
204
204
|
|
|
205
|
-
const abi$
|
|
205
|
+
const abi$5 = [{
|
|
206
206
|
type: 'function',
|
|
207
207
|
name: 'nonce',
|
|
208
208
|
constant: true,
|
|
@@ -322,10 +322,10 @@ const abi$3 = [{
|
|
|
322
322
|
|
|
323
323
|
var mainModule = /*#__PURE__*/Object.freeze({
|
|
324
324
|
__proto__: null,
|
|
325
|
-
abi: abi$
|
|
325
|
+
abi: abi$5
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
const abi$
|
|
328
|
+
const abi$4 = [{
|
|
329
329
|
type: 'function',
|
|
330
330
|
name: 'updateImageHash',
|
|
331
331
|
constant: true,
|
|
@@ -349,10 +349,204 @@ const abi$2 = [{
|
|
|
349
349
|
|
|
350
350
|
var mainModuleUpgradable = /*#__PURE__*/Object.freeze({
|
|
351
351
|
__proto__: null,
|
|
352
|
-
abi: abi$
|
|
352
|
+
abi: abi$4
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
const abi$
|
|
355
|
+
const abi$3 = [{
|
|
356
|
+
inputs: [{
|
|
357
|
+
internalType: 'bytes4',
|
|
358
|
+
name: '_signature',
|
|
359
|
+
type: 'bytes4'
|
|
360
|
+
}],
|
|
361
|
+
name: 'HookAlreadyExists',
|
|
362
|
+
type: 'error'
|
|
363
|
+
}, {
|
|
364
|
+
inputs: [{
|
|
365
|
+
internalType: 'bytes4',
|
|
366
|
+
name: '_signature',
|
|
367
|
+
type: 'bytes4'
|
|
368
|
+
}],
|
|
369
|
+
name: 'HookDoesNotExist',
|
|
370
|
+
type: 'error'
|
|
371
|
+
}, {
|
|
372
|
+
inputs: [{
|
|
373
|
+
internalType: 'address',
|
|
374
|
+
name: '_sender',
|
|
375
|
+
type: 'address'
|
|
376
|
+
}, {
|
|
377
|
+
internalType: 'address',
|
|
378
|
+
name: '_self',
|
|
379
|
+
type: 'address'
|
|
380
|
+
}],
|
|
381
|
+
name: 'OnlySelfAuth',
|
|
382
|
+
type: 'error'
|
|
383
|
+
}, {
|
|
384
|
+
anonymous: false,
|
|
385
|
+
inputs: [{
|
|
386
|
+
indexed: false,
|
|
387
|
+
internalType: 'bytes4',
|
|
388
|
+
name: '_signature',
|
|
389
|
+
type: 'bytes4'
|
|
390
|
+
}, {
|
|
391
|
+
indexed: false,
|
|
392
|
+
internalType: 'address',
|
|
393
|
+
name: '_implementation',
|
|
394
|
+
type: 'address'
|
|
395
|
+
}],
|
|
396
|
+
name: 'DefinedHook',
|
|
397
|
+
type: 'event'
|
|
398
|
+
}, {
|
|
399
|
+
stateMutability: 'payable',
|
|
400
|
+
type: 'fallback'
|
|
401
|
+
}, {
|
|
402
|
+
inputs: [{
|
|
403
|
+
internalType: 'bytes4',
|
|
404
|
+
name: '_signature',
|
|
405
|
+
type: 'bytes4'
|
|
406
|
+
}, {
|
|
407
|
+
internalType: 'address',
|
|
408
|
+
name: '_implementation',
|
|
409
|
+
type: 'address'
|
|
410
|
+
}],
|
|
411
|
+
name: 'addHook',
|
|
412
|
+
outputs: [],
|
|
413
|
+
stateMutability: 'nonpayable',
|
|
414
|
+
type: 'function'
|
|
415
|
+
}, {
|
|
416
|
+
inputs: [{
|
|
417
|
+
internalType: 'address',
|
|
418
|
+
name: '',
|
|
419
|
+
type: 'address'
|
|
420
|
+
}, {
|
|
421
|
+
internalType: 'address',
|
|
422
|
+
name: '',
|
|
423
|
+
type: 'address'
|
|
424
|
+
}, {
|
|
425
|
+
internalType: 'uint256[]',
|
|
426
|
+
name: '',
|
|
427
|
+
type: 'uint256[]'
|
|
428
|
+
}, {
|
|
429
|
+
internalType: 'uint256[]',
|
|
430
|
+
name: '',
|
|
431
|
+
type: 'uint256[]'
|
|
432
|
+
}, {
|
|
433
|
+
internalType: 'bytes',
|
|
434
|
+
name: '',
|
|
435
|
+
type: 'bytes'
|
|
436
|
+
}],
|
|
437
|
+
name: 'onERC1155BatchReceived',
|
|
438
|
+
outputs: [{
|
|
439
|
+
internalType: 'bytes4',
|
|
440
|
+
name: '',
|
|
441
|
+
type: 'bytes4'
|
|
442
|
+
}],
|
|
443
|
+
stateMutability: 'nonpayable',
|
|
444
|
+
type: 'function'
|
|
445
|
+
}, {
|
|
446
|
+
inputs: [{
|
|
447
|
+
internalType: 'address',
|
|
448
|
+
name: '',
|
|
449
|
+
type: 'address'
|
|
450
|
+
}, {
|
|
451
|
+
internalType: 'address',
|
|
452
|
+
name: '',
|
|
453
|
+
type: 'address'
|
|
454
|
+
}, {
|
|
455
|
+
internalType: 'uint256',
|
|
456
|
+
name: '',
|
|
457
|
+
type: 'uint256'
|
|
458
|
+
}, {
|
|
459
|
+
internalType: 'uint256',
|
|
460
|
+
name: '',
|
|
461
|
+
type: 'uint256'
|
|
462
|
+
}, {
|
|
463
|
+
internalType: 'bytes',
|
|
464
|
+
name: '',
|
|
465
|
+
type: 'bytes'
|
|
466
|
+
}],
|
|
467
|
+
name: 'onERC1155Received',
|
|
468
|
+
outputs: [{
|
|
469
|
+
internalType: 'bytes4',
|
|
470
|
+
name: '',
|
|
471
|
+
type: 'bytes4'
|
|
472
|
+
}],
|
|
473
|
+
stateMutability: 'nonpayable',
|
|
474
|
+
type: 'function'
|
|
475
|
+
}, {
|
|
476
|
+
inputs: [{
|
|
477
|
+
internalType: 'address',
|
|
478
|
+
name: '',
|
|
479
|
+
type: 'address'
|
|
480
|
+
}, {
|
|
481
|
+
internalType: 'address',
|
|
482
|
+
name: '',
|
|
483
|
+
type: 'address'
|
|
484
|
+
}, {
|
|
485
|
+
internalType: 'uint256',
|
|
486
|
+
name: '',
|
|
487
|
+
type: 'uint256'
|
|
488
|
+
}, {
|
|
489
|
+
internalType: 'bytes',
|
|
490
|
+
name: '',
|
|
491
|
+
type: 'bytes'
|
|
492
|
+
}],
|
|
493
|
+
name: 'onERC721Received',
|
|
494
|
+
outputs: [{
|
|
495
|
+
internalType: 'bytes4',
|
|
496
|
+
name: '',
|
|
497
|
+
type: 'bytes4'
|
|
498
|
+
}],
|
|
499
|
+
stateMutability: 'nonpayable',
|
|
500
|
+
type: 'function'
|
|
501
|
+
}, {
|
|
502
|
+
inputs: [{
|
|
503
|
+
internalType: 'bytes4',
|
|
504
|
+
name: '_signature',
|
|
505
|
+
type: 'bytes4'
|
|
506
|
+
}],
|
|
507
|
+
name: 'readHook',
|
|
508
|
+
outputs: [{
|
|
509
|
+
internalType: 'address',
|
|
510
|
+
name: '',
|
|
511
|
+
type: 'address'
|
|
512
|
+
}],
|
|
513
|
+
stateMutability: 'view',
|
|
514
|
+
type: 'function'
|
|
515
|
+
}, {
|
|
516
|
+
inputs: [{
|
|
517
|
+
internalType: 'bytes4',
|
|
518
|
+
name: '_signature',
|
|
519
|
+
type: 'bytes4'
|
|
520
|
+
}],
|
|
521
|
+
name: 'removeHook',
|
|
522
|
+
outputs: [],
|
|
523
|
+
stateMutability: 'nonpayable',
|
|
524
|
+
type: 'function'
|
|
525
|
+
}, {
|
|
526
|
+
inputs: [{
|
|
527
|
+
internalType: 'bytes4',
|
|
528
|
+
name: '_interfaceID',
|
|
529
|
+
type: 'bytes4'
|
|
530
|
+
}],
|
|
531
|
+
name: 'supportsInterface',
|
|
532
|
+
outputs: [{
|
|
533
|
+
internalType: 'bool',
|
|
534
|
+
name: '',
|
|
535
|
+
type: 'bool'
|
|
536
|
+
}],
|
|
537
|
+
stateMutability: 'pure',
|
|
538
|
+
type: 'function'
|
|
539
|
+
}, {
|
|
540
|
+
stateMutability: 'payable',
|
|
541
|
+
type: 'receive'
|
|
542
|
+
}];
|
|
543
|
+
|
|
544
|
+
var moduleHooks = /*#__PURE__*/Object.freeze({
|
|
545
|
+
__proto__: null,
|
|
546
|
+
abi: abi$3
|
|
547
|
+
});
|
|
548
|
+
|
|
549
|
+
const abi$2 = [{
|
|
356
550
|
inputs: [{
|
|
357
551
|
internalType: 'address',
|
|
358
552
|
name: '_factory',
|
|
@@ -748,10 +942,10 @@ const abi$1 = [{
|
|
|
748
942
|
|
|
749
943
|
var sequenceUtils = /*#__PURE__*/Object.freeze({
|
|
750
944
|
__proto__: null,
|
|
751
|
-
abi: abi$
|
|
945
|
+
abi: abi$2
|
|
752
946
|
});
|
|
753
947
|
|
|
754
|
-
const abi = [{
|
|
948
|
+
const abi$1 = [{
|
|
755
949
|
inputs: [{
|
|
756
950
|
internalType: 'address',
|
|
757
951
|
name: '',
|
|
@@ -764,6 +958,23 @@ const abi = [{
|
|
|
764
958
|
}];
|
|
765
959
|
|
|
766
960
|
var requireFreshSigner = /*#__PURE__*/Object.freeze({
|
|
961
|
+
__proto__: null,
|
|
962
|
+
abi: abi$1
|
|
963
|
+
});
|
|
964
|
+
|
|
965
|
+
const abi = [{
|
|
966
|
+
type: 'function',
|
|
967
|
+
name: 'PROXY_getImplementation',
|
|
968
|
+
inputs: [],
|
|
969
|
+
outputs: [{
|
|
970
|
+
name: '',
|
|
971
|
+
type: 'address',
|
|
972
|
+
internalType: 'address'
|
|
973
|
+
}],
|
|
974
|
+
stateMutability: 'view'
|
|
975
|
+
}];
|
|
976
|
+
|
|
977
|
+
var walletProxyHook = /*#__PURE__*/Object.freeze({
|
|
767
978
|
__proto__: null,
|
|
768
979
|
abi: abi
|
|
769
980
|
});
|
|
@@ -775,8 +986,10 @@ const walletContracts = {
|
|
|
775
986
|
factory,
|
|
776
987
|
mainModule,
|
|
777
988
|
mainModuleUpgradable,
|
|
989
|
+
moduleHooks,
|
|
778
990
|
sequenceUtils,
|
|
779
|
-
requireFreshSigner
|
|
991
|
+
requireFreshSigner,
|
|
992
|
+
walletProxyHook
|
|
780
993
|
};
|
|
781
994
|
|
|
782
995
|
export { walletContracts };
|
|
@@ -4,8 +4,10 @@ import * as erc6492 from "./erc6492.js";
|
|
|
4
4
|
import * as factory from "./factory.js";
|
|
5
5
|
import * as mainModule from "./mainModule.js";
|
|
6
6
|
import * as mainModuleUpgradable from "./mainModuleUpgradable.js";
|
|
7
|
+
import * as moduleHooks from "./moduleHooks.js";
|
|
7
8
|
import * as sequenceUtils from "./sequenceUtils.js";
|
|
8
9
|
import * as requireFreshSigner from "./libs/requireFreshSigners.js";
|
|
10
|
+
import * as walletProxyHook from "./walletProxyHook.js";
|
|
9
11
|
export declare const walletContracts: {
|
|
10
12
|
erc6492: typeof erc6492;
|
|
11
13
|
erc5719: typeof erc5719;
|
|
@@ -13,6 +15,8 @@ export declare const walletContracts: {
|
|
|
13
15
|
factory: typeof factory;
|
|
14
16
|
mainModule: typeof mainModule;
|
|
15
17
|
mainModuleUpgradable: typeof mainModuleUpgradable;
|
|
18
|
+
moduleHooks: typeof moduleHooks;
|
|
16
19
|
sequenceUtils: typeof sequenceUtils;
|
|
17
20
|
requireFreshSigner: typeof requireFreshSigner;
|
|
21
|
+
walletProxyHook: typeof walletProxyHook;
|
|
18
22
|
};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
export declare const abi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "bytes4";
|
|
4
|
+
readonly name: "_signature";
|
|
5
|
+
readonly type: "bytes4";
|
|
6
|
+
}];
|
|
7
|
+
readonly name: "HookAlreadyExists";
|
|
8
|
+
readonly type: "error";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [{
|
|
11
|
+
readonly internalType: "bytes4";
|
|
12
|
+
readonly name: "_signature";
|
|
13
|
+
readonly type: "bytes4";
|
|
14
|
+
}];
|
|
15
|
+
readonly name: "HookDoesNotExist";
|
|
16
|
+
readonly type: "error";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly name: "_sender";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}, {
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "_self";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}];
|
|
27
|
+
readonly name: "OnlySelfAuth";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly anonymous: false;
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly indexed: false;
|
|
33
|
+
readonly internalType: "bytes4";
|
|
34
|
+
readonly name: "_signature";
|
|
35
|
+
readonly type: "bytes4";
|
|
36
|
+
}, {
|
|
37
|
+
readonly indexed: false;
|
|
38
|
+
readonly internalType: "address";
|
|
39
|
+
readonly name: "_implementation";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}];
|
|
42
|
+
readonly name: "DefinedHook";
|
|
43
|
+
readonly type: "event";
|
|
44
|
+
}, {
|
|
45
|
+
readonly stateMutability: "payable";
|
|
46
|
+
readonly type: "fallback";
|
|
47
|
+
}, {
|
|
48
|
+
readonly inputs: readonly [{
|
|
49
|
+
readonly internalType: "bytes4";
|
|
50
|
+
readonly name: "_signature";
|
|
51
|
+
readonly type: "bytes4";
|
|
52
|
+
}, {
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "_implementation";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "addHook";
|
|
58
|
+
readonly outputs: readonly [];
|
|
59
|
+
readonly stateMutability: "nonpayable";
|
|
60
|
+
readonly type: "function";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}, {
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
readonly name: "";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}, {
|
|
71
|
+
readonly internalType: "uint256[]";
|
|
72
|
+
readonly name: "";
|
|
73
|
+
readonly type: "uint256[]";
|
|
74
|
+
}, {
|
|
75
|
+
readonly internalType: "uint256[]";
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "uint256[]";
|
|
78
|
+
}, {
|
|
79
|
+
readonly internalType: "bytes";
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "bytes";
|
|
82
|
+
}];
|
|
83
|
+
readonly name: "onERC1155BatchReceived";
|
|
84
|
+
readonly outputs: readonly [{
|
|
85
|
+
readonly internalType: "bytes4";
|
|
86
|
+
readonly name: "";
|
|
87
|
+
readonly type: "bytes4";
|
|
88
|
+
}];
|
|
89
|
+
readonly stateMutability: "nonpayable";
|
|
90
|
+
readonly type: "function";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [{
|
|
93
|
+
readonly internalType: "address";
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "address";
|
|
96
|
+
}, {
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
readonly name: "";
|
|
99
|
+
readonly type: "address";
|
|
100
|
+
}, {
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
readonly name: "";
|
|
103
|
+
readonly type: "uint256";
|
|
104
|
+
}, {
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}, {
|
|
109
|
+
readonly internalType: "bytes";
|
|
110
|
+
readonly name: "";
|
|
111
|
+
readonly type: "bytes";
|
|
112
|
+
}];
|
|
113
|
+
readonly name: "onERC1155Received";
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly internalType: "bytes4";
|
|
116
|
+
readonly name: "";
|
|
117
|
+
readonly type: "bytes4";
|
|
118
|
+
}];
|
|
119
|
+
readonly stateMutability: "nonpayable";
|
|
120
|
+
readonly type: "function";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [{
|
|
123
|
+
readonly internalType: "address";
|
|
124
|
+
readonly name: "";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly internalType: "address";
|
|
128
|
+
readonly name: "";
|
|
129
|
+
readonly type: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly internalType: "uint256";
|
|
132
|
+
readonly name: "";
|
|
133
|
+
readonly type: "uint256";
|
|
134
|
+
}, {
|
|
135
|
+
readonly internalType: "bytes";
|
|
136
|
+
readonly name: "";
|
|
137
|
+
readonly type: "bytes";
|
|
138
|
+
}];
|
|
139
|
+
readonly name: "onERC721Received";
|
|
140
|
+
readonly outputs: readonly [{
|
|
141
|
+
readonly internalType: "bytes4";
|
|
142
|
+
readonly name: "";
|
|
143
|
+
readonly type: "bytes4";
|
|
144
|
+
}];
|
|
145
|
+
readonly stateMutability: "nonpayable";
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
}, {
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly internalType: "bytes4";
|
|
150
|
+
readonly name: "_signature";
|
|
151
|
+
readonly type: "bytes4";
|
|
152
|
+
}];
|
|
153
|
+
readonly name: "readHook";
|
|
154
|
+
readonly outputs: readonly [{
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}];
|
|
159
|
+
readonly stateMutability: "view";
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly internalType: "bytes4";
|
|
164
|
+
readonly name: "_signature";
|
|
165
|
+
readonly type: "bytes4";
|
|
166
|
+
}];
|
|
167
|
+
readonly name: "removeHook";
|
|
168
|
+
readonly outputs: readonly [];
|
|
169
|
+
readonly stateMutability: "nonpayable";
|
|
170
|
+
readonly type: "function";
|
|
171
|
+
}, {
|
|
172
|
+
readonly inputs: readonly [{
|
|
173
|
+
readonly internalType: "bytes4";
|
|
174
|
+
readonly name: "_interfaceID";
|
|
175
|
+
readonly type: "bytes4";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "supportsInterface";
|
|
178
|
+
readonly outputs: readonly [{
|
|
179
|
+
readonly internalType: "bool";
|
|
180
|
+
readonly name: "";
|
|
181
|
+
readonly type: "bool";
|
|
182
|
+
}];
|
|
183
|
+
readonly stateMutability: "pure";
|
|
184
|
+
readonly type: "function";
|
|
185
|
+
}, {
|
|
186
|
+
readonly stateMutability: "payable";
|
|
187
|
+
readonly type: "receive";
|
|
188
|
+
}];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const abi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "PROXY_getImplementation";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "address";
|
|
8
|
+
readonly internalType: "address";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}];
|
package/package.json
CHANGED
package/src/wallet/index.ts
CHANGED
|
@@ -4,8 +4,10 @@ import * as erc6492 from './erc6492'
|
|
|
4
4
|
import * as factory from './factory'
|
|
5
5
|
import * as mainModule from './mainModule'
|
|
6
6
|
import * as mainModuleUpgradable from './mainModuleUpgradable'
|
|
7
|
+
import * as moduleHooks from './moduleHooks'
|
|
7
8
|
import * as sequenceUtils from './sequenceUtils'
|
|
8
9
|
import * as requireFreshSigner from './libs/requireFreshSigners'
|
|
10
|
+
import * as walletProxyHook from './walletProxyHook'
|
|
9
11
|
|
|
10
12
|
export const walletContracts = {
|
|
11
13
|
erc6492,
|
|
@@ -14,6 +16,8 @@ export const walletContracts = {
|
|
|
14
16
|
factory,
|
|
15
17
|
mainModule,
|
|
16
18
|
mainModuleUpgradable,
|
|
19
|
+
moduleHooks,
|
|
17
20
|
sequenceUtils,
|
|
18
|
-
requireFreshSigner
|
|
21
|
+
requireFreshSigner,
|
|
22
|
+
walletProxyHook
|
|
19
23
|
}
|