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
|
@@ -2,14 +2,6 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
2
2
|
readonly inputs: readonly [];
|
|
3
3
|
readonly stateMutability: "nonpayable";
|
|
4
4
|
readonly type: "constructor";
|
|
5
|
-
}, {
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "uint256";
|
|
8
|
-
readonly name: "value";
|
|
9
|
-
readonly type: "uint256";
|
|
10
|
-
}];
|
|
11
|
-
readonly name: "ADDRESS_CAST_OVERFLOW";
|
|
12
|
-
readonly type: "error";
|
|
13
5
|
}, {
|
|
14
6
|
readonly inputs: readonly [{
|
|
15
7
|
readonly internalType: "address";
|
|
@@ -20,7 +12,7 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
20
12
|
readonly name: "guardian";
|
|
21
13
|
readonly type: "address";
|
|
22
14
|
}];
|
|
23
|
-
readonly name: "
|
|
15
|
+
readonly name: "ACCOUNT_ALREADY_GUARDED";
|
|
24
16
|
readonly type: "error";
|
|
25
17
|
}, {
|
|
26
18
|
readonly inputs: readonly [{
|
|
@@ -32,15 +24,35 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
32
24
|
readonly name: "guardian";
|
|
33
25
|
readonly type: "address";
|
|
34
26
|
}];
|
|
35
|
-
readonly name: "
|
|
27
|
+
readonly name: "ACCOUNT_NOT_GUARDED_BY_ADDRESS";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly internalType: "uint256";
|
|
32
|
+
readonly name: "value";
|
|
33
|
+
readonly type: "uint256";
|
|
34
|
+
}];
|
|
35
|
+
readonly name: "ADDRESS_CAST_OVERFLOW";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "GUARDIAN_CANNOT_BE_SELF";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "GUARDIAN_INVALID_ACCOUNT";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "GUARDIAN_INVALID_ADDRESS";
|
|
36
48
|
readonly type: "error";
|
|
37
49
|
}, {
|
|
38
50
|
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "
|
|
51
|
+
readonly name: "GUARDIAN_INVALID_RECOVERY_CALL";
|
|
40
52
|
readonly type: "error";
|
|
41
53
|
}, {
|
|
42
54
|
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "
|
|
55
|
+
readonly name: "GUARDIAN_INVALID_WEBAUTH_VALIDATOR";
|
|
44
56
|
readonly type: "error";
|
|
45
57
|
}, {
|
|
46
58
|
readonly inputs: readonly [{
|
|
@@ -48,7 +60,7 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
48
60
|
readonly name: "guardian";
|
|
49
61
|
readonly type: "address";
|
|
50
62
|
}];
|
|
51
|
-
readonly name: "
|
|
63
|
+
readonly name: "GUARDIAN_NOT_FOUND";
|
|
52
64
|
readonly type: "error";
|
|
53
65
|
}, {
|
|
54
66
|
readonly inputs: readonly [{
|
|
@@ -56,23 +68,19 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
56
68
|
readonly name: "guardian";
|
|
57
69
|
readonly type: "address";
|
|
58
70
|
}];
|
|
59
|
-
readonly name: "
|
|
71
|
+
readonly name: "GUARDIAN_NOT_PROPOSED";
|
|
60
72
|
readonly type: "error";
|
|
61
73
|
}, {
|
|
62
74
|
readonly inputs: readonly [];
|
|
63
|
-
readonly name: "
|
|
75
|
+
readonly name: "GUARDIAN_RECOVERY_IN_PROGRESS";
|
|
64
76
|
readonly type: "error";
|
|
65
77
|
}, {
|
|
66
|
-
readonly inputs: readonly [
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly name: "
|
|
72
|
-
readonly type: "error";
|
|
73
|
-
}, {
|
|
74
|
-
readonly inputs: readonly [];
|
|
75
|
-
readonly name: "InvalidWebAuthValidatorAddress";
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly internalType: "bytes32";
|
|
80
|
+
readonly name: "hashedOriginDomain";
|
|
81
|
+
readonly type: "bytes32";
|
|
82
|
+
}];
|
|
83
|
+
readonly name: "GUARDIAN_UNKNOWN_DOMAIN";
|
|
76
84
|
readonly type: "error";
|
|
77
85
|
}, {
|
|
78
86
|
readonly inputs: readonly [{
|
|
@@ -84,19 +92,7 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
84
92
|
readonly type: "error";
|
|
85
93
|
}, {
|
|
86
94
|
readonly inputs: readonly [];
|
|
87
|
-
readonly name: "
|
|
88
|
-
readonly type: "error";
|
|
89
|
-
}, {
|
|
90
|
-
readonly inputs: readonly [{
|
|
91
|
-
readonly internalType: "bytes32";
|
|
92
|
-
readonly name: "hashedOriginDomain";
|
|
93
|
-
readonly type: "bytes32";
|
|
94
|
-
}];
|
|
95
|
-
readonly name: "UnknownHashedOriginDomain";
|
|
96
|
-
readonly type: "error";
|
|
97
|
-
}, {
|
|
98
|
-
readonly inputs: readonly [];
|
|
99
|
-
readonly name: "WebAuthValidatorNotEnabled";
|
|
95
|
+
readonly name: "WEBAUTH_VALIDATOR_NOT_INSTALLED";
|
|
100
96
|
readonly type: "error";
|
|
101
97
|
}, {
|
|
102
98
|
readonly anonymous: false;
|
|
@@ -461,7 +457,7 @@ export declare const GuardianRecoveryValidatorAbi: readonly [{
|
|
|
461
457
|
}];
|
|
462
458
|
readonly name: "onInstall";
|
|
463
459
|
readonly outputs: readonly [];
|
|
464
|
-
readonly stateMutability: "
|
|
460
|
+
readonly stateMutability: "view";
|
|
465
461
|
readonly type: "function";
|
|
466
462
|
}, {
|
|
467
463
|
readonly inputs: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuardianRecoveryValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/GuardianRecoveryValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"GuardianRecoveryValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/GuardianRecoveryValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwyB/B,CAAC"}
|
|
@@ -8,19 +8,19 @@ export declare const OidcKeyRegistryAbi: readonly [{
|
|
|
8
8
|
readonly name: "kid";
|
|
9
9
|
readonly type: "bytes32";
|
|
10
10
|
}];
|
|
11
|
-
readonly name: "
|
|
11
|
+
readonly name: "OIDC_EVEN_RSA_MODULUS";
|
|
12
12
|
readonly type: "error";
|
|
13
13
|
}, {
|
|
14
14
|
readonly inputs: readonly [{
|
|
15
15
|
readonly internalType: "bytes32";
|
|
16
|
-
readonly name: "
|
|
16
|
+
readonly name: "expectedIssuerHash";
|
|
17
17
|
readonly type: "bytes32";
|
|
18
18
|
}, {
|
|
19
19
|
readonly internalType: "bytes32";
|
|
20
|
-
readonly name: "
|
|
20
|
+
readonly name: "actualIssuerHash";
|
|
21
21
|
readonly type: "bytes32";
|
|
22
22
|
}];
|
|
23
|
-
readonly name: "
|
|
23
|
+
readonly name: "OIDC_ISSUER_HASH_MISMATCH";
|
|
24
24
|
readonly type: "error";
|
|
25
25
|
}, {
|
|
26
26
|
readonly inputs: readonly [{
|
|
@@ -28,47 +28,31 @@ export declare const OidcKeyRegistryAbi: readonly [{
|
|
|
28
28
|
readonly name: "count";
|
|
29
29
|
readonly type: "uint256";
|
|
30
30
|
}];
|
|
31
|
-
readonly name: "
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [{
|
|
35
|
-
readonly internalType: "uint256";
|
|
36
|
-
readonly name: "index";
|
|
37
|
-
readonly type: "uint256";
|
|
38
|
-
}];
|
|
39
|
-
readonly name: "KeyIdCannotBeZero";
|
|
31
|
+
readonly name: "OIDC_KEY_COUNT_LIMIT_EXCEEDED";
|
|
40
32
|
readonly type: "error";
|
|
41
33
|
}, {
|
|
42
34
|
readonly inputs: readonly [{
|
|
43
35
|
readonly internalType: "bytes32";
|
|
44
|
-
readonly name: "
|
|
36
|
+
readonly name: "kid";
|
|
45
37
|
readonly type: "bytes32";
|
|
46
38
|
}, {
|
|
47
39
|
readonly internalType: "bytes32";
|
|
48
|
-
readonly name: "
|
|
40
|
+
readonly name: "issuerHash";
|
|
49
41
|
readonly type: "bytes32";
|
|
50
42
|
}];
|
|
51
|
-
readonly name: "
|
|
43
|
+
readonly name: "OIDC_KEY_ID_ALREADY_EXISTS";
|
|
52
44
|
readonly type: "error";
|
|
53
45
|
}, {
|
|
54
46
|
readonly inputs: readonly [{
|
|
55
47
|
readonly internalType: "bytes32";
|
|
56
|
-
readonly name: "
|
|
48
|
+
readonly name: "issuerHash";
|
|
57
49
|
readonly type: "bytes32";
|
|
58
50
|
}, {
|
|
59
|
-
readonly internalType: "bytes32";
|
|
60
|
-
readonly name: "issHash";
|
|
61
|
-
readonly type: "bytes32";
|
|
62
|
-
}];
|
|
63
|
-
readonly name: "KidAlreadyRegistered";
|
|
64
|
-
readonly type: "error";
|
|
65
|
-
}, {
|
|
66
|
-
readonly inputs: readonly [{
|
|
67
51
|
readonly internalType: "bytes32";
|
|
68
52
|
readonly name: "kid";
|
|
69
53
|
readonly type: "bytes32";
|
|
70
54
|
}];
|
|
71
|
-
readonly name: "
|
|
55
|
+
readonly name: "OIDC_KEY_NOT_FOUND";
|
|
72
56
|
readonly type: "error";
|
|
73
57
|
}, {
|
|
74
58
|
readonly inputs: readonly [{
|
|
@@ -84,7 +68,23 @@ export declare const OidcKeyRegistryAbi: readonly [{
|
|
|
84
68
|
readonly name: "chunkValue";
|
|
85
69
|
readonly type: "uint256";
|
|
86
70
|
}];
|
|
87
|
-
readonly name: "
|
|
71
|
+
readonly name: "OIDC_MODULUS_CHUNK_TOO_LARGE";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [{
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
readonly name: "index";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
}];
|
|
79
|
+
readonly name: "OIDC_ZERO_KEY_ID";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly internalType: "bytes32";
|
|
84
|
+
readonly name: "kid";
|
|
85
|
+
readonly type: "bytes32";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "OIDC_ZERO_MODULUS";
|
|
88
88
|
readonly type: "error";
|
|
89
89
|
}, {
|
|
90
90
|
readonly anonymous: false;
|
|
@@ -10,41 +10,77 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
10
10
|
}];
|
|
11
11
|
readonly name: "ADDRESS_CAST_OVERFLOW";
|
|
12
12
|
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "uint256";
|
|
16
|
+
readonly name: "chainId";
|
|
17
|
+
readonly type: "uint256";
|
|
18
|
+
}];
|
|
19
|
+
readonly name: "NO_TIMESTAMP_ASSERTER";
|
|
20
|
+
readonly type: "error";
|
|
13
21
|
}, {
|
|
14
22
|
readonly inputs: readonly [{
|
|
15
23
|
readonly internalType: "bytes32";
|
|
16
24
|
readonly name: "digest";
|
|
17
25
|
readonly type: "bytes32";
|
|
18
26
|
}];
|
|
19
|
-
readonly name: "
|
|
27
|
+
readonly name: "OIDC_ADDRESS_NOT_FOUND";
|
|
20
28
|
readonly type: "error";
|
|
21
29
|
}, {
|
|
22
30
|
readonly inputs: readonly [{
|
|
23
31
|
readonly internalType: "address";
|
|
24
|
-
readonly name: "
|
|
32
|
+
readonly name: "currentAccount";
|
|
25
33
|
readonly type: "address";
|
|
26
34
|
}];
|
|
27
|
-
readonly name: "
|
|
35
|
+
readonly name: "OIDC_DIGEST_TAKEN";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "OIDC_EMPTY_DIGEST";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "OIDC_EMPTY_ISSUER";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "OIDC_ISSUER_TOO_LONG";
|
|
28
48
|
readonly type: "error";
|
|
29
49
|
}, {
|
|
30
50
|
readonly inputs: readonly [{
|
|
31
|
-
readonly internalType: "
|
|
32
|
-
readonly name: "
|
|
33
|
-
readonly type: "
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
readonly name: "account";
|
|
53
|
+
readonly type: "address";
|
|
34
54
|
}];
|
|
35
|
-
readonly name: "
|
|
55
|
+
readonly name: "OIDC_NO_DATA_FOR_ACCOUNT";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "OIDC_NO_RECOVERY_STARTED";
|
|
36
60
|
readonly type: "error";
|
|
37
61
|
}, {
|
|
38
62
|
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "
|
|
63
|
+
readonly name: "OIDC_TIME_LIMIT_EXPIRED";
|
|
40
64
|
readonly type: "error";
|
|
41
65
|
}, {
|
|
42
66
|
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "
|
|
67
|
+
readonly name: "OIDC_ZERO_KEY_REGISTRY";
|
|
44
68
|
readonly type: "error";
|
|
45
69
|
}, {
|
|
46
70
|
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "
|
|
71
|
+
readonly name: "OIDC_ZERO_VERIFIER";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly name: "OIDC_ZERO_WEBAUTH_VALIDATOR";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "OIDC_ZKP_VERIFICATION_FAILED";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "WEBAUTH_VALIDATOR_NOT_INSTALLED";
|
|
48
84
|
readonly type: "error";
|
|
49
85
|
}, {
|
|
50
86
|
readonly anonymous: false;
|
|
@@ -96,6 +132,61 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
96
132
|
}];
|
|
97
133
|
readonly name: "OidcAccountUpdated";
|
|
98
134
|
readonly type: "event";
|
|
135
|
+
}, {
|
|
136
|
+
readonly anonymous: false;
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly indexed: true;
|
|
139
|
+
readonly internalType: "address";
|
|
140
|
+
readonly name: "targetAccount";
|
|
141
|
+
readonly type: "address";
|
|
142
|
+
}, {
|
|
143
|
+
readonly indexed: false;
|
|
144
|
+
readonly internalType: "bytes32";
|
|
145
|
+
readonly name: "pendingPasskeyHash";
|
|
146
|
+
readonly type: "bytes32";
|
|
147
|
+
}];
|
|
148
|
+
readonly name: "RecoveryCancelled";
|
|
149
|
+
readonly type: "event";
|
|
150
|
+
}, {
|
|
151
|
+
readonly anonymous: false;
|
|
152
|
+
readonly inputs: readonly [{
|
|
153
|
+
readonly indexed: true;
|
|
154
|
+
readonly internalType: "address";
|
|
155
|
+
readonly name: "initiator";
|
|
156
|
+
readonly type: "address";
|
|
157
|
+
}, {
|
|
158
|
+
readonly indexed: true;
|
|
159
|
+
readonly internalType: "address";
|
|
160
|
+
readonly name: "targetAccount";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly indexed: false;
|
|
164
|
+
readonly internalType: "bytes32";
|
|
165
|
+
readonly name: "pendingPasskeyHash";
|
|
166
|
+
readonly type: "bytes32";
|
|
167
|
+
}];
|
|
168
|
+
readonly name: "RecoveryStarted";
|
|
169
|
+
readonly type: "event";
|
|
170
|
+
}, {
|
|
171
|
+
readonly inputs: readonly [];
|
|
172
|
+
readonly name: "MAX_ISS_LENGTH";
|
|
173
|
+
readonly outputs: readonly [{
|
|
174
|
+
readonly internalType: "uint256";
|
|
175
|
+
readonly name: "";
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
}];
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
}, {
|
|
181
|
+
readonly inputs: readonly [];
|
|
182
|
+
readonly name: "PUB_SIGNALS_LENGTH";
|
|
183
|
+
readonly outputs: readonly [{
|
|
184
|
+
readonly internalType: "uint256";
|
|
185
|
+
readonly name: "";
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
}];
|
|
188
|
+
readonly stateMutability: "view";
|
|
189
|
+
readonly type: "function";
|
|
99
190
|
}, {
|
|
100
191
|
readonly inputs: readonly [{
|
|
101
192
|
readonly internalType: "bytes32";
|
|
@@ -107,11 +198,7 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
107
198
|
readonly type: "string";
|
|
108
199
|
}];
|
|
109
200
|
readonly name: "addOidcAccount";
|
|
110
|
-
readonly outputs: readonly [
|
|
111
|
-
readonly internalType: "bool";
|
|
112
|
-
readonly name: "";
|
|
113
|
-
readonly type: "bool";
|
|
114
|
-
}];
|
|
201
|
+
readonly outputs: readonly [];
|
|
115
202
|
readonly stateMutability: "nonpayable";
|
|
116
203
|
readonly type: "function";
|
|
117
204
|
}, {
|
|
@@ -128,6 +215,12 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
128
215
|
}];
|
|
129
216
|
readonly stateMutability: "view";
|
|
130
217
|
readonly type: "function";
|
|
218
|
+
}, {
|
|
219
|
+
readonly inputs: readonly [];
|
|
220
|
+
readonly name: "cancelRecovery";
|
|
221
|
+
readonly outputs: readonly [];
|
|
222
|
+
readonly stateMutability: "nonpayable";
|
|
223
|
+
readonly type: "function";
|
|
131
224
|
}, {
|
|
132
225
|
readonly inputs: readonly [];
|
|
133
226
|
readonly name: "deleteOidcAccount";
|
|
@@ -156,7 +249,7 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
156
249
|
readonly inputs: readonly [];
|
|
157
250
|
readonly name: "keyRegistry";
|
|
158
251
|
readonly outputs: readonly [{
|
|
159
|
-
readonly internalType: "
|
|
252
|
+
readonly internalType: "contract IOidcKeyRegistry";
|
|
160
253
|
readonly name: "";
|
|
161
254
|
readonly type: "address";
|
|
162
255
|
}];
|
|
@@ -186,6 +279,10 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
186
279
|
readonly internalType: "bytes32";
|
|
187
280
|
readonly name: "pendingPasskeyHash";
|
|
188
281
|
readonly type: "bytes32";
|
|
282
|
+
}, {
|
|
283
|
+
readonly internalType: "uint256";
|
|
284
|
+
readonly name: "recoveryStartedAt";
|
|
285
|
+
readonly type: "uint256";
|
|
189
286
|
}, {
|
|
190
287
|
readonly internalType: "uint256";
|
|
191
288
|
readonly name: "recoverNonce";
|
|
@@ -195,7 +292,7 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
195
292
|
readonly name: "addedOn";
|
|
196
293
|
readonly type: "uint256";
|
|
197
294
|
}];
|
|
198
|
-
readonly internalType: "struct
|
|
295
|
+
readonly internalType: "struct IOidcRecoveryValidator.OidcData";
|
|
199
296
|
readonly name: "";
|
|
200
297
|
readonly type: "tuple";
|
|
201
298
|
}];
|
|
@@ -237,7 +334,7 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
237
334
|
readonly name: "pC";
|
|
238
335
|
readonly type: "uint256[2]";
|
|
239
336
|
}];
|
|
240
|
-
readonly internalType: "struct
|
|
337
|
+
readonly internalType: "struct IOidcRecoveryValidator.ZkProof";
|
|
241
338
|
readonly name: "zkProof";
|
|
242
339
|
readonly type: "tuple";
|
|
243
340
|
}, {
|
|
@@ -253,7 +350,7 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
253
350
|
readonly name: "timeLimit";
|
|
254
351
|
readonly type: "uint256";
|
|
255
352
|
}];
|
|
256
|
-
readonly internalType: "struct
|
|
353
|
+
readonly internalType: "struct IOidcRecoveryValidator.StartRecoveryData";
|
|
257
354
|
readonly name: "data";
|
|
258
355
|
readonly type: "tuple";
|
|
259
356
|
}, {
|
|
@@ -384,7 +481,7 @@ export declare const OidcRecoveryValidatorAbi: readonly [{
|
|
|
384
481
|
readonly inputs: readonly [];
|
|
385
482
|
readonly name: "verifier";
|
|
386
483
|
readonly outputs: readonly [{
|
|
387
|
-
readonly internalType: "
|
|
484
|
+
readonly internalType: "contract IZkVerifier";
|
|
388
485
|
readonly name: "";
|
|
389
486
|
readonly type: "address";
|
|
390
487
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OidcRecoveryValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/OidcRecoveryValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"OidcRecoveryValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/OidcRecoveryValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqoB3B,CAAC"}
|
|
@@ -54,6 +54,18 @@ export declare const SessionKeyValidatorAbi: readonly [{
|
|
|
54
54
|
}];
|
|
55
55
|
readonly name: "SESSION_ALREADY_EXISTS";
|
|
56
56
|
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [{
|
|
59
|
+
readonly internalType: "address";
|
|
60
|
+
readonly name: "target";
|
|
61
|
+
readonly type: "address";
|
|
62
|
+
}, {
|
|
63
|
+
readonly internalType: "bytes4";
|
|
64
|
+
readonly name: "selector";
|
|
65
|
+
readonly type: "bytes4";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "SESSION_CALL_POLICY_BANNED";
|
|
68
|
+
readonly type: "error";
|
|
57
69
|
}, {
|
|
58
70
|
readonly inputs: readonly [{
|
|
59
71
|
readonly internalType: "address";
|
|
@@ -142,6 +154,14 @@ export declare const SessionKeyValidatorAbi: readonly [{
|
|
|
142
154
|
readonly inputs: readonly [];
|
|
143
155
|
readonly name: "SESSION_NOT_ACTIVE";
|
|
144
156
|
readonly type: "error";
|
|
157
|
+
}, {
|
|
158
|
+
readonly inputs: readonly [{
|
|
159
|
+
readonly internalType: "address";
|
|
160
|
+
readonly name: "signer";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
}];
|
|
163
|
+
readonly name: "SESSION_SIGNER_USED";
|
|
164
|
+
readonly type: "error";
|
|
145
165
|
}, {
|
|
146
166
|
readonly inputs: readonly [{
|
|
147
167
|
readonly internalType: "address";
|
|
@@ -158,14 +178,6 @@ export declare const SessionKeyValidatorAbi: readonly [{
|
|
|
158
178
|
readonly inputs: readonly [];
|
|
159
179
|
readonly name: "SESSION_ZERO_SIGNER";
|
|
160
180
|
readonly type: "error";
|
|
161
|
-
}, {
|
|
162
|
-
readonly inputs: readonly [{
|
|
163
|
-
readonly internalType: "uint256";
|
|
164
|
-
readonly name: "openSessions";
|
|
165
|
-
readonly type: "uint256";
|
|
166
|
-
}];
|
|
167
|
-
readonly name: "UNINSTALL_WITH_OPEN_SESSIONS";
|
|
168
|
-
readonly type: "error";
|
|
169
181
|
}, {
|
|
170
182
|
readonly anonymous: false;
|
|
171
183
|
readonly inputs: readonly [{
|
|
@@ -513,6 +525,20 @@ export declare const SessionKeyValidatorAbi: readonly [{
|
|
|
513
525
|
readonly outputs: readonly [];
|
|
514
526
|
readonly stateMutability: "nonpayable";
|
|
515
527
|
readonly type: "function";
|
|
528
|
+
}, {
|
|
529
|
+
readonly inputs: readonly [{
|
|
530
|
+
readonly internalType: "address";
|
|
531
|
+
readonly name: "signer";
|
|
532
|
+
readonly type: "address";
|
|
533
|
+
}];
|
|
534
|
+
readonly name: "sessionSigner";
|
|
535
|
+
readonly outputs: readonly [{
|
|
536
|
+
readonly internalType: "bytes32";
|
|
537
|
+
readonly name: "sessionHash";
|
|
538
|
+
readonly type: "bytes32";
|
|
539
|
+
}];
|
|
540
|
+
readonly stateMutability: "view";
|
|
541
|
+
readonly type: "function";
|
|
516
542
|
}, {
|
|
517
543
|
readonly inputs: readonly [{
|
|
518
544
|
readonly internalType: "address";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionKeyValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/SessionKeyValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"SessionKeyValidator.d.ts","sourceRoot":"","sources":["../../../src/abi/SessionKeyValidator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0oCzB,CAAC"}
|
|
@@ -10,18 +10,6 @@ export declare const SsoAccountAbi: readonly [{
|
|
|
10
10
|
}];
|
|
11
11
|
readonly name: "ADDRESS_CAST_OVERFLOW";
|
|
12
12
|
readonly type: "error";
|
|
13
|
-
}, {
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly internalType: "uint256";
|
|
16
|
-
readonly name: "actualValue";
|
|
17
|
-
readonly type: "uint256";
|
|
18
|
-
}, {
|
|
19
|
-
readonly internalType: "uint256";
|
|
20
|
-
readonly name: "expectedValue";
|
|
21
|
-
readonly type: "uint256";
|
|
22
|
-
}];
|
|
23
|
-
readonly name: "BATCH_MSG_VALUE_MISMATCH";
|
|
24
|
-
readonly type: "error";
|
|
25
13
|
}, {
|
|
26
14
|
readonly inputs: readonly [];
|
|
27
15
|
readonly name: "FEE_PAYMENT_FAILED";
|
|
@@ -82,6 +70,18 @@ export declare const SsoAccountAbi: readonly [{
|
|
|
82
70
|
readonly inputs: readonly [];
|
|
83
71
|
readonly name: "METHOD_NOT_IMPLEMENTED";
|
|
84
72
|
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [{
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
readonly name: "actualValue";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
}, {
|
|
79
|
+
readonly internalType: "uint256";
|
|
80
|
+
readonly name: "expectedValue";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
}];
|
|
83
|
+
readonly name: "MSG_VALUE_MISMATCH";
|
|
84
|
+
readonly type: "error";
|
|
85
85
|
}, {
|
|
86
86
|
readonly inputs: readonly [{
|
|
87
87
|
readonly internalType: "address";
|
|
@@ -284,7 +284,7 @@ export declare const SsoAccountAbi: readonly [{
|
|
|
284
284
|
readonly name: "callData";
|
|
285
285
|
readonly type: "bytes";
|
|
286
286
|
}];
|
|
287
|
-
readonly internalType: "struct Call[]";
|
|
287
|
+
readonly internalType: "struct IBatchCaller.Call[]";
|
|
288
288
|
readonly name: "_calls";
|
|
289
289
|
readonly type: "tuple[]";
|
|
290
290
|
}];
|
|
@@ -292,6 +292,40 @@ export declare const SsoAccountAbi: readonly [{
|
|
|
292
292
|
readonly outputs: readonly [];
|
|
293
293
|
readonly stateMutability: "payable";
|
|
294
294
|
readonly type: "function";
|
|
295
|
+
}, {
|
|
296
|
+
readonly inputs: readonly [];
|
|
297
|
+
readonly name: "eip712Domain";
|
|
298
|
+
readonly outputs: readonly [{
|
|
299
|
+
readonly internalType: "bytes1";
|
|
300
|
+
readonly name: "fields";
|
|
301
|
+
readonly type: "bytes1";
|
|
302
|
+
}, {
|
|
303
|
+
readonly internalType: "string";
|
|
304
|
+
readonly name: "name";
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
}, {
|
|
307
|
+
readonly internalType: "string";
|
|
308
|
+
readonly name: "version";
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
}, {
|
|
311
|
+
readonly internalType: "uint256";
|
|
312
|
+
readonly name: "chainId";
|
|
313
|
+
readonly type: "uint256";
|
|
314
|
+
}, {
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
readonly name: "verifyingContract";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}, {
|
|
319
|
+
readonly internalType: "bytes32";
|
|
320
|
+
readonly name: "salt";
|
|
321
|
+
readonly type: "bytes32";
|
|
322
|
+
}, {
|
|
323
|
+
readonly internalType: "uint256[]";
|
|
324
|
+
readonly name: "extensions";
|
|
325
|
+
readonly type: "uint256[]";
|
|
326
|
+
}];
|
|
327
|
+
readonly stateMutability: "view";
|
|
328
|
+
readonly type: "function";
|
|
295
329
|
}, {
|
|
296
330
|
readonly inputs: readonly [{
|
|
297
331
|
readonly internalType: "bytes32";
|
|
@@ -519,7 +553,7 @@ export declare const SsoAccountAbi: readonly [{
|
|
|
519
553
|
readonly name: "isValidSignature";
|
|
520
554
|
readonly outputs: readonly [{
|
|
521
555
|
readonly internalType: "bytes4";
|
|
522
|
-
readonly name: "
|
|
556
|
+
readonly name: "result";
|
|
523
557
|
readonly type: "bytes4";
|
|
524
558
|
}];
|
|
525
559
|
readonly stateMutability: "view";
|
|
@@ -558,6 +592,24 @@ export declare const SsoAccountAbi: readonly [{
|
|
|
558
592
|
}];
|
|
559
593
|
readonly stateMutability: "view";
|
|
560
594
|
readonly type: "function";
|
|
595
|
+
}, {
|
|
596
|
+
readonly inputs: readonly [{
|
|
597
|
+
readonly internalType: "address";
|
|
598
|
+
readonly name: "target";
|
|
599
|
+
readonly type: "address";
|
|
600
|
+
}, {
|
|
601
|
+
readonly internalType: "uint256";
|
|
602
|
+
readonly name: "value";
|
|
603
|
+
readonly type: "uint256";
|
|
604
|
+
}, {
|
|
605
|
+
readonly internalType: "bytes";
|
|
606
|
+
readonly name: "callData";
|
|
607
|
+
readonly type: "bytes";
|
|
608
|
+
}];
|
|
609
|
+
readonly name: "noHooksCall";
|
|
610
|
+
readonly outputs: readonly [];
|
|
611
|
+
readonly stateMutability: "payable";
|
|
612
|
+
readonly type: "function";
|
|
561
613
|
}, {
|
|
562
614
|
readonly inputs: readonly [{
|
|
563
615
|
readonly internalType: "address";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SsoAccount.d.ts","sourceRoot":"","sources":["../../../src/abi/SsoAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"SsoAccount.d.ts","sourceRoot":"","sources":["../../../src/abi/SsoAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAq0ChB,CAAC"}
|