zksync-sso 0.4.0 → 0.4.2-beta.0
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/_cjs/abi/GuardianRecoveryValidator.js +42 -47
- package/dist/_cjs/abi/GuardianRecoveryValidator.js.map +1 -1
- package/dist/_cjs/abi/OidcKeyRegistry.js +30 -30
- package/dist/_cjs/abi/OidcKeyRegistry.js.map +1 -1
- package/dist/_cjs/abi/OidcRecoveryValidator.js +144 -22
- package/dist/_cjs/abi/OidcRecoveryValidator.js.map +1 -1
- package/dist/_cjs/abi/SessionKeyValidator.js +46 -11
- package/dist/_cjs/abi/SessionKeyValidator.js.map +1 -1
- package/dist/_cjs/abi/SsoAccount.js +84 -18
- package/dist/_cjs/abi/SsoAccount.js.map +1 -1
- package/dist/_cjs/abi/WebAuthValidator.js +6 -6
- package/dist/_cjs/abi/WebAuthValidator.js.map +1 -1
- package/dist/_cjs/abi/index.js +1 -5
- package/dist/_cjs/abi/index.js.map +1 -1
- package/dist/_esm/abi/GuardianRecoveryValidator.js +42 -47
- package/dist/_esm/abi/GuardianRecoveryValidator.js.map +1 -1
- package/dist/_esm/abi/OidcKeyRegistry.js +30 -30
- package/dist/_esm/abi/OidcKeyRegistry.js.map +1 -1
- package/dist/_esm/abi/OidcRecoveryValidator.js +144 -22
- package/dist/_esm/abi/OidcRecoveryValidator.js.map +1 -1
- package/dist/_esm/abi/SessionKeyValidator.js +46 -11
- package/dist/_esm/abi/SessionKeyValidator.js.map +1 -1
- package/dist/_esm/abi/SsoAccount.js +84 -18
- package/dist/_esm/abi/SsoAccount.js.map +1 -1
- package/dist/_esm/abi/WebAuthValidator.js +6 -6
- package/dist/_esm/abi/WebAuthValidator.js.map +1 -1
- package/dist/_esm/abi/index.js +0 -2
- package/dist/_esm/abi/index.js.map +1 -1
- package/dist/_types/abi/GuardianRecoveryValidator.d.ts +35 -39
- package/dist/_types/abi/GuardianRecoveryValidator.d.ts.map +1 -1
- package/dist/_types/abi/OidcKeyRegistry.d.ts +27 -27
- package/dist/_types/abi/OidcRecoveryValidator.d.ts +117 -20
- package/dist/_types/abi/OidcRecoveryValidator.d.ts.map +1 -1
- package/dist/_types/abi/SessionKeyValidator.d.ts +34 -8
- package/dist/_types/abi/SessionKeyValidator.d.ts.map +1 -1
- package/dist/_types/abi/SsoAccount.d.ts +66 -14
- package/dist/_types/abi/SsoAccount.d.ts.map +1 -1
- package/dist/_types/abi/WebAuthValidator.d.ts +6 -6
- package/dist/_types/abi/index.d.ts +0 -2
- package/dist/_types/abi/index.d.ts.map +1 -1
- package/dist/_types/client-auth-server/Signer.d.ts +2 -2
- package/dist/_types/client-auth-server/WalletProvider.d.ts +2 -2
- package/package.json +2 -3
- package/src/abi/GuardianRecoveryValidator.ts +42 -47
- package/src/abi/OidcKeyRegistry.ts +30 -30
- package/src/abi/OidcRecoveryValidator.ts +144 -22
- package/src/abi/SessionKeyValidator.ts +46 -11
- package/src/abi/SsoAccount.ts +84 -18
- package/src/abi/WebAuthValidator.ts +6 -6
- package/src/abi/index.ts +0 -2
- package/dist/_cjs/abi/WebAuthModule.js +0 -301
- package/dist/_cjs/abi/WebAuthModule.js.map +0 -1
- package/dist/_esm/abi/WebAuthModule.js +0 -298
- package/dist/_esm/abi/WebAuthModule.js.map +0 -1
- package/dist/_types/abi/WebAuthModule.d.ts +0 -228
- package/dist/_types/abi/WebAuthModule.d.ts.map +0 -1
- package/src/abi/WebAuthModule.ts +0 -297
|
@@ -75,6 +75,22 @@ export const SessionKeyValidatorAbi = [
|
|
|
75
75
|
name: "SESSION_ALREADY_EXISTS",
|
|
76
76
|
type: "error",
|
|
77
77
|
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "target",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
internalType: "bytes4",
|
|
87
|
+
name: "selector",
|
|
88
|
+
type: "bytes4",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "SESSION_CALL_POLICY_BANNED",
|
|
92
|
+
type: "error",
|
|
93
|
+
},
|
|
78
94
|
{
|
|
79
95
|
inputs: [
|
|
80
96
|
{
|
|
@@ -192,6 +208,17 @@ export const SessionKeyValidatorAbi = [
|
|
|
192
208
|
name: "SESSION_NOT_ACTIVE",
|
|
193
209
|
type: "error",
|
|
194
210
|
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "address",
|
|
215
|
+
name: "signer",
|
|
216
|
+
type: "address",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
name: "SESSION_SIGNER_USED",
|
|
220
|
+
type: "error",
|
|
221
|
+
},
|
|
195
222
|
{
|
|
196
223
|
inputs: [
|
|
197
224
|
{
|
|
@@ -213,17 +240,6 @@ export const SessionKeyValidatorAbi = [
|
|
|
213
240
|
name: "SESSION_ZERO_SIGNER",
|
|
214
241
|
type: "error",
|
|
215
242
|
},
|
|
216
|
-
{
|
|
217
|
-
inputs: [
|
|
218
|
-
{
|
|
219
|
-
internalType: "uint256",
|
|
220
|
-
name: "openSessions",
|
|
221
|
-
type: "uint256",
|
|
222
|
-
},
|
|
223
|
-
],
|
|
224
|
-
name: "UNINSTALL_WITH_OPEN_SESSIONS",
|
|
225
|
-
type: "error",
|
|
226
|
-
},
|
|
227
243
|
{
|
|
228
244
|
anonymous: false,
|
|
229
245
|
inputs: [
|
|
@@ -674,6 +690,25 @@ export const SessionKeyValidatorAbi = [
|
|
|
674
690
|
stateMutability: "nonpayable",
|
|
675
691
|
type: "function",
|
|
676
692
|
},
|
|
693
|
+
{
|
|
694
|
+
inputs: [
|
|
695
|
+
{
|
|
696
|
+
internalType: "address",
|
|
697
|
+
name: "signer",
|
|
698
|
+
type: "address",
|
|
699
|
+
},
|
|
700
|
+
],
|
|
701
|
+
name: "sessionSigner",
|
|
702
|
+
outputs: [
|
|
703
|
+
{
|
|
704
|
+
internalType: "bytes32",
|
|
705
|
+
name: "sessionHash",
|
|
706
|
+
type: "bytes32",
|
|
707
|
+
},
|
|
708
|
+
],
|
|
709
|
+
stateMutability: "view",
|
|
710
|
+
type: "function",
|
|
711
|
+
},
|
|
677
712
|
{
|
|
678
713
|
inputs: [
|
|
679
714
|
{
|
package/src/abi/SsoAccount.ts
CHANGED
|
@@ -15,22 +15,6 @@ export const SsoAccountAbi = [
|
|
|
15
15
|
name: "ADDRESS_CAST_OVERFLOW",
|
|
16
16
|
type: "error",
|
|
17
17
|
},
|
|
18
|
-
{
|
|
19
|
-
inputs: [
|
|
20
|
-
{
|
|
21
|
-
internalType: "uint256",
|
|
22
|
-
name: "actualValue",
|
|
23
|
-
type: "uint256",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
internalType: "uint256",
|
|
27
|
-
name: "expectedValue",
|
|
28
|
-
type: "uint256",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "BATCH_MSG_VALUE_MISMATCH",
|
|
32
|
-
type: "error",
|
|
33
|
-
},
|
|
34
18
|
{
|
|
35
19
|
inputs: [],
|
|
36
20
|
name: "FEE_PAYMENT_FAILED",
|
|
@@ -110,6 +94,22 @@ export const SsoAccountAbi = [
|
|
|
110
94
|
name: "METHOD_NOT_IMPLEMENTED",
|
|
111
95
|
type: "error",
|
|
112
96
|
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "uint256",
|
|
101
|
+
name: "actualValue",
|
|
102
|
+
type: "uint256",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
internalType: "uint256",
|
|
106
|
+
name: "expectedValue",
|
|
107
|
+
type: "uint256",
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
name: "MSG_VALUE_MISMATCH",
|
|
111
|
+
type: "error",
|
|
112
|
+
},
|
|
113
113
|
{
|
|
114
114
|
inputs: [
|
|
115
115
|
{
|
|
@@ -376,7 +376,7 @@ export const SsoAccountAbi = [
|
|
|
376
376
|
type: "bytes",
|
|
377
377
|
},
|
|
378
378
|
],
|
|
379
|
-
internalType: "struct Call[]",
|
|
379
|
+
internalType: "struct IBatchCaller.Call[]",
|
|
380
380
|
name: "_calls",
|
|
381
381
|
type: "tuple[]",
|
|
382
382
|
},
|
|
@@ -386,6 +386,49 @@ export const SsoAccountAbi = [
|
|
|
386
386
|
stateMutability: "payable",
|
|
387
387
|
type: "function",
|
|
388
388
|
},
|
|
389
|
+
{
|
|
390
|
+
inputs: [],
|
|
391
|
+
name: "eip712Domain",
|
|
392
|
+
outputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "bytes1",
|
|
395
|
+
name: "fields",
|
|
396
|
+
type: "bytes1",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
internalType: "string",
|
|
400
|
+
name: "name",
|
|
401
|
+
type: "string",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
internalType: "string",
|
|
405
|
+
name: "version",
|
|
406
|
+
type: "string",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
internalType: "uint256",
|
|
410
|
+
name: "chainId",
|
|
411
|
+
type: "uint256",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
internalType: "address",
|
|
415
|
+
name: "verifyingContract",
|
|
416
|
+
type: "address",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
internalType: "bytes32",
|
|
420
|
+
name: "salt",
|
|
421
|
+
type: "bytes32",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
internalType: "uint256[]",
|
|
425
|
+
name: "extensions",
|
|
426
|
+
type: "uint256[]",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
stateMutability: "view",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
389
432
|
{
|
|
390
433
|
inputs: [
|
|
391
434
|
{
|
|
@@ -678,7 +721,7 @@ export const SsoAccountAbi = [
|
|
|
678
721
|
outputs: [
|
|
679
722
|
{
|
|
680
723
|
internalType: "bytes4",
|
|
681
|
-
name: "
|
|
724
|
+
name: "result",
|
|
682
725
|
type: "bytes4",
|
|
683
726
|
},
|
|
684
727
|
],
|
|
@@ -730,6 +773,29 @@ export const SsoAccountAbi = [
|
|
|
730
773
|
stateMutability: "view",
|
|
731
774
|
type: "function",
|
|
732
775
|
},
|
|
776
|
+
{
|
|
777
|
+
inputs: [
|
|
778
|
+
{
|
|
779
|
+
internalType: "address",
|
|
780
|
+
name: "target",
|
|
781
|
+
type: "address",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
internalType: "uint256",
|
|
785
|
+
name: "value",
|
|
786
|
+
type: "uint256",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
internalType: "bytes",
|
|
790
|
+
name: "callData",
|
|
791
|
+
type: "bytes",
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
name: "noHooksCall",
|
|
795
|
+
outputs: [],
|
|
796
|
+
stateMutability: "payable",
|
|
797
|
+
type: "function",
|
|
798
|
+
},
|
|
733
799
|
{
|
|
734
800
|
inputs: [
|
|
735
801
|
{
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export const WebAuthValidatorAbi = [
|
|
2
2
|
{
|
|
3
3
|
inputs: [],
|
|
4
|
-
name: "
|
|
4
|
+
name: "WEBAUTHN_ACCOUNT_EXISTS",
|
|
5
5
|
type: "error",
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
inputs: [],
|
|
9
|
-
name: "
|
|
9
|
+
name: "WEBAUTHN_BAD_CREDENTIAL_ID_LENGTH",
|
|
10
10
|
type: "error",
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
inputs: [],
|
|
14
|
-
name: "
|
|
14
|
+
name: "WEBAUTHN_BAD_DOMAIN_LENGTH",
|
|
15
15
|
type: "error",
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
inputs: [],
|
|
19
|
-
name: "
|
|
19
|
+
name: "WEBAUTHN_EMPTY_KEY",
|
|
20
20
|
type: "error",
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
inputs: [],
|
|
24
|
-
name: "
|
|
24
|
+
name: "WEBAUTHN_KEY_EXISTS",
|
|
25
25
|
type: "error",
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -32,7 +32,7 @@ export const WebAuthValidatorAbi = [
|
|
|
32
32
|
type: "address",
|
|
33
33
|
},
|
|
34
34
|
],
|
|
35
|
-
name: "
|
|
35
|
+
name: "WEBAUTHN_NOT_KEY_OWNER",
|
|
36
36
|
type: "error",
|
|
37
37
|
},
|
|
38
38
|
{
|
package/src/abi/index.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export { AAFactoryAbi } from "./AAFactory.js";
|
|
2
|
-
export { GuardianRecoveryModuleAbi } from "./GuardianRecoveryModule.js";
|
|
3
2
|
export { GuardianRecoveryValidatorAbi } from "./GuardianRecoveryValidator.js";
|
|
4
3
|
export { OidcKeyRegistryAbi } from "./OidcKeyRegistry.js";
|
|
5
4
|
export { OidcRecoveryValidatorAbi } from "./OidcRecoveryValidator.js";
|
|
6
5
|
export { SessionKeyValidatorAbi } from "./SessionKeyValidator.js";
|
|
7
6
|
export { SsoAccountAbi } from "./SsoAccount.js";
|
|
8
|
-
export { WebAuthModuleAbi } from "./WebAuthModule.js";
|
|
9
7
|
export { WebAuthValidatorAbi } from "./WebAuthValidator.js";
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebAuthModuleAbi = void 0;
|
|
4
|
-
exports.WebAuthModuleAbi = [
|
|
5
|
-
{
|
|
6
|
-
anonymous: false,
|
|
7
|
-
inputs: [
|
|
8
|
-
{
|
|
9
|
-
indexed: true,
|
|
10
|
-
internalType: "address",
|
|
11
|
-
name: "keyOwner",
|
|
12
|
-
type: "address",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
indexed: false,
|
|
16
|
-
internalType: "string",
|
|
17
|
-
name: "originDomain",
|
|
18
|
-
type: "string",
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
name: "PasskeyCreated",
|
|
22
|
-
type: "event",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
internalType: "bytes",
|
|
28
|
-
name: "key",
|
|
29
|
-
type: "bytes",
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
name: "addValidationKey",
|
|
33
|
-
outputs: [
|
|
34
|
-
{
|
|
35
|
-
internalType: "bool",
|
|
36
|
-
name: "",
|
|
37
|
-
type: "bool",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
stateMutability: "nonpayable",
|
|
41
|
-
type: "function",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inputs: [
|
|
45
|
-
{
|
|
46
|
-
internalType: "string",
|
|
47
|
-
name: "originDomain",
|
|
48
|
-
type: "string",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "accountAddress",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "lowerKeyHalf",
|
|
57
|
-
outputs: [
|
|
58
|
-
{
|
|
59
|
-
internalType: "bytes32",
|
|
60
|
-
name: "",
|
|
61
|
-
type: "bytes32",
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
stateMutability: "view",
|
|
65
|
-
type: "function",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
inputs: [
|
|
69
|
-
{
|
|
70
|
-
internalType: "bytes",
|
|
71
|
-
name: "data",
|
|
72
|
-
type: "bytes",
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
name: "onInstall",
|
|
76
|
-
outputs: [],
|
|
77
|
-
stateMutability: "nonpayable",
|
|
78
|
-
type: "function",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
inputs: [
|
|
82
|
-
{
|
|
83
|
-
internalType: "bytes",
|
|
84
|
-
name: "data",
|
|
85
|
-
type: "bytes",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
name: "onUninstall",
|
|
89
|
-
outputs: [],
|
|
90
|
-
stateMutability: "nonpayable",
|
|
91
|
-
type: "function",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
inputs: [
|
|
95
|
-
{
|
|
96
|
-
internalType: "bytes32",
|
|
97
|
-
name: "message",
|
|
98
|
-
type: "bytes32",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
internalType: "bytes32[2]",
|
|
102
|
-
name: "rs",
|
|
103
|
-
type: "bytes32[2]",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
internalType: "bytes32[2]",
|
|
107
|
-
name: "pubKey",
|
|
108
|
-
type: "bytes32[2]",
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
name: "rawVerify",
|
|
112
|
-
outputs: [
|
|
113
|
-
{
|
|
114
|
-
internalType: "bool",
|
|
115
|
-
name: "valid",
|
|
116
|
-
type: "bool",
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
stateMutability: "view",
|
|
120
|
-
type: "function",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
inputs: [
|
|
124
|
-
{
|
|
125
|
-
internalType: "bytes4",
|
|
126
|
-
name: "interfaceId",
|
|
127
|
-
type: "bytes4",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
name: "supportsInterface",
|
|
131
|
-
outputs: [
|
|
132
|
-
{
|
|
133
|
-
internalType: "bool",
|
|
134
|
-
name: "",
|
|
135
|
-
type: "bool",
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
stateMutability: "pure",
|
|
139
|
-
type: "function",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
inputs: [
|
|
143
|
-
{
|
|
144
|
-
internalType: "string",
|
|
145
|
-
name: "originDomain",
|
|
146
|
-
type: "string",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
internalType: "address",
|
|
150
|
-
name: "accountAddress",
|
|
151
|
-
type: "address",
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
name: "upperKeyHalf",
|
|
155
|
-
outputs: [
|
|
156
|
-
{
|
|
157
|
-
internalType: "bytes32",
|
|
158
|
-
name: "",
|
|
159
|
-
type: "bytes32",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
stateMutability: "view",
|
|
163
|
-
type: "function",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
inputs: [
|
|
167
|
-
{
|
|
168
|
-
internalType: "bytes32",
|
|
169
|
-
name: "signedHash",
|
|
170
|
-
type: "bytes32",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
internalType: "bytes",
|
|
174
|
-
name: "signature",
|
|
175
|
-
type: "bytes",
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
name: "validateSignature",
|
|
179
|
-
outputs: [
|
|
180
|
-
{
|
|
181
|
-
internalType: "bool",
|
|
182
|
-
name: "",
|
|
183
|
-
type: "bool",
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
stateMutability: "view",
|
|
187
|
-
type: "function",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
inputs: [
|
|
191
|
-
{
|
|
192
|
-
internalType: "bytes32",
|
|
193
|
-
name: "signedHash",
|
|
194
|
-
type: "bytes32",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
internalType: "bytes",
|
|
198
|
-
name: "signature",
|
|
199
|
-
type: "bytes",
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
components: [
|
|
203
|
-
{
|
|
204
|
-
internalType: "uint256",
|
|
205
|
-
name: "txType",
|
|
206
|
-
type: "uint256",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
internalType: "uint256",
|
|
210
|
-
name: "from",
|
|
211
|
-
type: "uint256",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
internalType: "uint256",
|
|
215
|
-
name: "to",
|
|
216
|
-
type: "uint256",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
internalType: "uint256",
|
|
220
|
-
name: "gasLimit",
|
|
221
|
-
type: "uint256",
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
internalType: "uint256",
|
|
225
|
-
name: "gasPerPubdataByteLimit",
|
|
226
|
-
type: "uint256",
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
internalType: "uint256",
|
|
230
|
-
name: "maxFeePerGas",
|
|
231
|
-
type: "uint256",
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
internalType: "uint256",
|
|
235
|
-
name: "maxPriorityFeePerGas",
|
|
236
|
-
type: "uint256",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
internalType: "uint256",
|
|
240
|
-
name: "paymaster",
|
|
241
|
-
type: "uint256",
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
internalType: "uint256",
|
|
245
|
-
name: "nonce",
|
|
246
|
-
type: "uint256",
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
internalType: "uint256",
|
|
250
|
-
name: "value",
|
|
251
|
-
type: "uint256",
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
internalType: "uint256[4]",
|
|
255
|
-
name: "reserved",
|
|
256
|
-
type: "uint256[4]",
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
internalType: "bytes",
|
|
260
|
-
name: "data",
|
|
261
|
-
type: "bytes",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
internalType: "bytes",
|
|
265
|
-
name: "signature",
|
|
266
|
-
type: "bytes",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
internalType: "bytes32[]",
|
|
270
|
-
name: "factoryDeps",
|
|
271
|
-
type: "bytes32[]",
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
internalType: "bytes",
|
|
275
|
-
name: "paymasterInput",
|
|
276
|
-
type: "bytes",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
internalType: "bytes",
|
|
280
|
-
name: "reservedDynamic",
|
|
281
|
-
type: "bytes",
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
internalType: "struct Transaction",
|
|
285
|
-
name: "",
|
|
286
|
-
type: "tuple",
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
name: "validateTransaction",
|
|
290
|
-
outputs: [
|
|
291
|
-
{
|
|
292
|
-
internalType: "bool",
|
|
293
|
-
name: "",
|
|
294
|
-
type: "bool",
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
stateMutability: "view",
|
|
298
|
-
type: "function",
|
|
299
|
-
},
|
|
300
|
-
];
|
|
301
|
-
//# sourceMappingURL=WebAuthModule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WebAuthModule.js","sourceRoot":"","sources":["../../../src/abi/WebAuthModule.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE;YAC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