ox 1.0.0-beta.17 → 1.0.0-beta.19
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/core/Rlp.d.ts +17 -2
- package/dist/core/Rlp.d.ts.map +1 -1
- package/dist/core/Rlp.js +25 -0
- package/dist/core/Rlp.js.map +1 -1
- package/dist/core/internal/abiParameters.d.ts.map +1 -1
- package/dist/core/internal/abiParameters.js +4 -1
- package/dist/core/internal/abiParameters.js.map +1 -1
- package/dist/tempo/KeyAuthorization.d.ts +5 -5
- package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/tempo/PoolId.d.ts +2 -1
- package/dist/tempo/PoolId.d.ts.map +1 -1
- package/dist/tempo/PoolId.js +2 -1
- package/dist/tempo/PoolId.js.map +1 -1
- package/dist/tempo/index.d.ts +2 -1
- package/dist/tempo/index.d.ts.map +1 -1
- package/dist/tempo/index.js +2 -1
- package/dist/tempo/index.js.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.d.ts +503 -56
- package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.js +32 -15
- package/dist/zod/tempo/KeyAuthorization.js.map +1 -1
- package/dist/zod/tempo/RpcSchemaTempo.d.ts +170 -20
- package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
- package/dist/zod/tempo/Transaction.d.ts +504 -54
- package/dist/zod/tempo/Transaction.d.ts.map +1 -1
- package/dist/zod/tempo/TransactionRequest.d.ts +329 -32
- package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts +222 -6
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/Rlp.ts +41 -1
- package/src/core/_test/AbiParameters.decode.test.ts +24 -0
- package/src/core/_test/Rlp.test.ts +60 -0
- package/src/core/internal/abiParameters.ts +4 -1
- package/src/tempo/KeyAuthorization.ts +5 -5
- package/src/tempo/PoolId.ts +2 -1
- package/src/tempo/e2e.test.ts +0 -42
- package/src/tempo/index.ts +2 -1
- package/src/version.ts +1 -1
- package/src/zod/tempo/KeyAuthorization.ts +34 -15
- package/src/zod/tempo/_test/KeyAuthorization.test.ts +53 -0
|
@@ -2,40 +2,42 @@ import * as z from 'zod/mini';
|
|
|
2
2
|
/** RPC token spending limit schema. */
|
|
3
3
|
export declare const RpcTokenLimit: z.ZodMiniObject<{
|
|
4
4
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
5
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
5
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
6
6
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
/** RPC selector rule schema. */
|
|
9
9
|
export declare const RpcSelectorRule: z.ZodMiniObject<{
|
|
10
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}
|
|
10
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
11
11
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
/** RPC call scope schema. */
|
|
14
14
|
export declare const RpcCallScope: z.ZodMiniObject<{
|
|
15
|
-
selectorRules: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
16
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}
|
|
15
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
16
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
17
17
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
18
|
-
}, z.core.$strip
|
|
18
|
+
}, z.core.$strip>>>>>;
|
|
19
19
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
/** RPC key authorization schema. */
|
|
22
22
|
export declare const Rpc: z.ZodMiniObject<{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
24
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
25
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
26
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
26
27
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
27
|
-
}, z.core.$strip
|
|
28
|
+
}, z.core.$strip>>>>>;
|
|
28
29
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
29
|
-
}, z.core.$strip
|
|
30
|
+
}, z.core.$strip>>>>>;
|
|
30
31
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
31
32
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
33
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
32
34
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
33
35
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
34
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
36
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
35
37
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
36
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
38
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
37
39
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
38
|
-
}, z.core.$strip
|
|
40
|
+
}, z.core.$strip>>>>>;
|
|
39
41
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
40
42
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
41
43
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -75,6 +77,7 @@ export declare const Rpc: z.ZodMiniObject<{
|
|
|
75
77
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
76
78
|
type: z.ZodMiniLiteral<"multisig">;
|
|
77
79
|
}, z.core.$strip>]>;
|
|
80
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
78
81
|
}, z.core.$strip>;
|
|
79
82
|
/** Token spending limit schema. */
|
|
80
83
|
export declare const TokenLimit: z.ZodMiniObject<{
|
|
@@ -94,8 +97,10 @@ export declare const Scope: z.ZodMiniObject<{
|
|
|
94
97
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
95
98
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
96
99
|
}, z.core.$strip>;
|
|
97
|
-
/** Decoded key authorization schema. */
|
|
98
|
-
export declare const Domain: z.ZodMiniObject<{
|
|
100
|
+
/** Decoded key authorization schema (TIP-1049 admin fields are paired: both or neither). */
|
|
101
|
+
export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
102
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
103
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
99
104
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
100
105
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
101
106
|
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
@@ -163,10 +168,150 @@ export declare const Domain: z.ZodMiniObject<{
|
|
|
163
168
|
type: z.ZodMiniLiteral<"multisig">;
|
|
164
169
|
}, z.core.$strip>]>;
|
|
165
170
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
166
|
-
|
|
171
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
172
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
173
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
174
|
+
chainId: z.ZodMiniBigInt<bigint>;
|
|
175
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
176
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
177
|
+
limit: z.ZodMiniBigInt<bigint>;
|
|
178
|
+
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
179
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
180
|
+
}, z.core.$strip>>>>;
|
|
181
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
182
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
183
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
184
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
185
|
+
}, z.core.$strip>>>>;
|
|
186
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
187
|
+
signature: z.ZodMiniObject<{
|
|
188
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
189
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
190
|
+
yParity: z.ZodMiniNumber<number>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
193
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
194
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
195
|
+
publicKey: z.ZodMiniObject<{
|
|
196
|
+
prefix: z.ZodMiniNumber<number>;
|
|
197
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
198
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
199
|
+
}, z.core.$strip>;
|
|
200
|
+
signature: z.ZodMiniObject<{
|
|
201
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
202
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
205
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
206
|
+
metadata: z.ZodMiniObject<{
|
|
207
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
208
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
publicKey: z.ZodMiniObject<{
|
|
211
|
+
prefix: z.ZodMiniNumber<number>;
|
|
212
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
213
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
signature: z.ZodMiniObject<{
|
|
216
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
217
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
220
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
221
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
222
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
223
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
224
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
225
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
226
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
227
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
228
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
229
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
230
|
+
threshold: z.ZodMiniNumber<number>;
|
|
231
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
232
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
233
|
+
weight: z.ZodMiniNumber<number>;
|
|
234
|
+
}, z.core.$strip>>>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
237
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
238
|
+
}, z.core.$strip>]>;
|
|
239
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
240
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
241
|
+
}, z.core.$strip>]>;
|
|
167
242
|
/** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */
|
|
168
|
-
export declare const DomainToRpc: z.ZodMiniObject<{
|
|
243
|
+
export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
244
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
245
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
246
|
+
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
247
|
+
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
248
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
249
|
+
limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
250
|
+
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
251
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
252
|
+
}, z.core.$strip>>>>;
|
|
169
253
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
254
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
255
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
256
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
257
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
258
|
+
}, z.core.$strip>>>>;
|
|
259
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
260
|
+
signature: z.ZodMiniObject<{
|
|
261
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
262
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
263
|
+
yParity: z.ZodMiniNumber<number>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
266
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
267
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
268
|
+
publicKey: z.ZodMiniObject<{
|
|
269
|
+
prefix: z.ZodMiniNumber<number>;
|
|
270
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
271
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
signature: z.ZodMiniObject<{
|
|
274
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
275
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
278
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
279
|
+
metadata: z.ZodMiniObject<{
|
|
280
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
281
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
282
|
+
}, z.core.$strip>;
|
|
283
|
+
publicKey: z.ZodMiniObject<{
|
|
284
|
+
prefix: z.ZodMiniNumber<number>;
|
|
285
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
286
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
signature: z.ZodMiniObject<{
|
|
289
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
290
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
291
|
+
}, z.core.$strip>;
|
|
292
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
293
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
294
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
295
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
296
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
297
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
298
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
299
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
300
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
301
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
302
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
303
|
+
threshold: z.ZodMiniNumber<number>;
|
|
304
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
305
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
306
|
+
weight: z.ZodMiniNumber<number>;
|
|
307
|
+
}, z.core.$strip>>>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
310
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
311
|
+
}, z.core.$strip>]>;
|
|
312
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
313
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
314
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
170
315
|
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
171
316
|
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
172
317
|
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -174,6 +319,7 @@ export declare const DomainToRpc: z.ZodMiniObject<{
|
|
|
174
319
|
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
175
320
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
176
321
|
}, z.core.$strip>>>>;
|
|
322
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
177
323
|
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
178
324
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
179
325
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
@@ -233,25 +379,28 @@ export declare const DomainToRpc: z.ZodMiniObject<{
|
|
|
233
379
|
type: z.ZodMiniLiteral<"multisig">;
|
|
234
380
|
}, z.core.$strip>]>;
|
|
235
381
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
236
|
-
|
|
382
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
383
|
+
}, z.core.$strip>]>;
|
|
237
384
|
/** Codec decoding an RPC key authorization into a signed key authorization. */
|
|
238
385
|
export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
386
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
387
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
388
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
389
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
242
390
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
243
|
-
}, z.core.$strip
|
|
391
|
+
}, z.core.$strip>>>>>;
|
|
244
392
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
245
|
-
}, z.core.$strip
|
|
393
|
+
}, z.core.$strip>>>>>;
|
|
246
394
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
247
395
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
396
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
248
397
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
249
398
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
250
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
399
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
251
400
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
252
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
401
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
253
402
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
254
|
-
}, z.core.$strip
|
|
403
|
+
}, z.core.$strip>>>>>;
|
|
255
404
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
256
405
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
257
406
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -291,6 +440,78 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
291
440
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
292
441
|
type: z.ZodMiniLiteral<"multisig">;
|
|
293
442
|
}, z.core.$strip>]>;
|
|
443
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
444
|
+
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
445
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
446
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
447
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
448
|
+
chainId: z.ZodMiniBigInt<bigint>;
|
|
449
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
450
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
451
|
+
limit: z.ZodMiniBigInt<bigint>;
|
|
452
|
+
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
453
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
454
|
+
}, z.core.$strip>>>>;
|
|
455
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
456
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
457
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
458
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
459
|
+
}, z.core.$strip>>>>;
|
|
460
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
461
|
+
signature: z.ZodMiniObject<{
|
|
462
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
463
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
464
|
+
yParity: z.ZodMiniNumber<number>;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
467
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
468
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
469
|
+
publicKey: z.ZodMiniObject<{
|
|
470
|
+
prefix: z.ZodMiniNumber<number>;
|
|
471
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
472
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
signature: z.ZodMiniObject<{
|
|
475
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
476
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
479
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
480
|
+
metadata: z.ZodMiniObject<{
|
|
481
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
482
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
publicKey: z.ZodMiniObject<{
|
|
485
|
+
prefix: z.ZodMiniNumber<number>;
|
|
486
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
487
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
signature: z.ZodMiniObject<{
|
|
490
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
491
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
492
|
+
}, z.core.$strip>;
|
|
493
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
494
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
495
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
496
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
497
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
498
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
499
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
500
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
501
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
502
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
503
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
504
|
+
threshold: z.ZodMiniNumber<number>;
|
|
505
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
506
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
507
|
+
weight: z.ZodMiniNumber<number>;
|
|
508
|
+
}, z.core.$strip>>>;
|
|
509
|
+
}, z.core.$strip>>;
|
|
510
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
511
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
512
|
+
}, z.core.$strip>]>;
|
|
513
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
514
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
294
515
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
295
516
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
296
517
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
@@ -359,25 +580,28 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
359
580
|
type: z.ZodMiniLiteral<"multisig">;
|
|
360
581
|
}, z.core.$strip>]>;
|
|
361
582
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
362
|
-
|
|
583
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
584
|
+
}, z.core.$strip>]>>;
|
|
363
585
|
/** Encode-only key authorization codec accepting numberish `toRpc` inputs. */
|
|
364
586
|
export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
587
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
588
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
589
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
590
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
368
591
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
369
|
-
}, z.core.$strip
|
|
592
|
+
}, z.core.$strip>>>>>;
|
|
370
593
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
371
|
-
}, z.core.$strip
|
|
594
|
+
}, z.core.$strip>>>>>;
|
|
372
595
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
373
596
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
597
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
374
598
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
375
599
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
376
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
600
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
377
601
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
378
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
602
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
379
603
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
380
|
-
}, z.core.$strip
|
|
604
|
+
}, z.core.$strip>>>>>;
|
|
381
605
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
382
606
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
383
607
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -417,8 +641,79 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
417
641
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
418
642
|
type: z.ZodMiniLiteral<"multisig">;
|
|
419
643
|
}, z.core.$strip>]>;
|
|
420
|
-
|
|
644
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
645
|
+
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
646
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
647
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
648
|
+
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
649
|
+
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
650
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
651
|
+
limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
652
|
+
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
653
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
654
|
+
}, z.core.$strip>>>>;
|
|
421
655
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
656
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
657
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
658
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
659
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
660
|
+
}, z.core.$strip>>>>;
|
|
661
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
662
|
+
signature: z.ZodMiniObject<{
|
|
663
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
664
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
665
|
+
yParity: z.ZodMiniNumber<number>;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
668
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
669
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
670
|
+
publicKey: z.ZodMiniObject<{
|
|
671
|
+
prefix: z.ZodMiniNumber<number>;
|
|
672
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
673
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
674
|
+
}, z.core.$strip>;
|
|
675
|
+
signature: z.ZodMiniObject<{
|
|
676
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
677
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
678
|
+
}, z.core.$strip>;
|
|
679
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
680
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
681
|
+
metadata: z.ZodMiniObject<{
|
|
682
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
683
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
684
|
+
}, z.core.$strip>;
|
|
685
|
+
publicKey: z.ZodMiniObject<{
|
|
686
|
+
prefix: z.ZodMiniNumber<number>;
|
|
687
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
688
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
689
|
+
}, z.core.$strip>;
|
|
690
|
+
signature: z.ZodMiniObject<{
|
|
691
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
692
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
693
|
+
}, z.core.$strip>;
|
|
694
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
695
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
696
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
697
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
698
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
699
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
700
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
701
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
702
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
703
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
704
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
705
|
+
threshold: z.ZodMiniNumber<number>;
|
|
706
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
707
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
708
|
+
weight: z.ZodMiniNumber<number>;
|
|
709
|
+
}, z.core.$strip>>>;
|
|
710
|
+
}, z.core.$strip>>;
|
|
711
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
712
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
713
|
+
}, z.core.$strip>]>;
|
|
714
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
715
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
716
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
422
717
|
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
423
718
|
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
424
719
|
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -426,6 +721,7 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
426
721
|
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
427
722
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
428
723
|
}, z.core.$strip>>>>;
|
|
724
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
429
725
|
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
430
726
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
431
727
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
@@ -485,25 +781,28 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
485
781
|
type: z.ZodMiniLiteral<"multisig">;
|
|
486
782
|
}, z.core.$strip>]>;
|
|
487
783
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
488
|
-
|
|
784
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
785
|
+
}, z.core.$strip>]>>;
|
|
489
786
|
/** Signed key authorization schema. */
|
|
490
787
|
export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
788
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
789
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
790
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
791
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
494
792
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
495
|
-
}, z.core.$strip
|
|
793
|
+
}, z.core.$strip>>>>>;
|
|
496
794
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
497
|
-
}, z.core.$strip
|
|
795
|
+
}, z.core.$strip>>>>>;
|
|
498
796
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
499
797
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
798
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
500
799
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
501
800
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
502
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
801
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
503
802
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
504
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
803
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
505
804
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
506
|
-
}, z.core.$strip
|
|
805
|
+
}, z.core.$strip>>>>>;
|
|
507
806
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
508
807
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
509
808
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -543,6 +842,78 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
543
842
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
544
843
|
type: z.ZodMiniLiteral<"multisig">;
|
|
545
844
|
}, z.core.$strip>]>;
|
|
845
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
846
|
+
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
847
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
848
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
849
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
850
|
+
chainId: z.ZodMiniBigInt<bigint>;
|
|
851
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
852
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
853
|
+
limit: z.ZodMiniBigInt<bigint>;
|
|
854
|
+
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
855
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
856
|
+
}, z.core.$strip>>>>;
|
|
857
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
858
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
859
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
860
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
861
|
+
}, z.core.$strip>>>>;
|
|
862
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
863
|
+
signature: z.ZodMiniObject<{
|
|
864
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
865
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
866
|
+
yParity: z.ZodMiniNumber<number>;
|
|
867
|
+
}, z.core.$strip>;
|
|
868
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
869
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
870
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
871
|
+
publicKey: z.ZodMiniObject<{
|
|
872
|
+
prefix: z.ZodMiniNumber<number>;
|
|
873
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
874
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
875
|
+
}, z.core.$strip>;
|
|
876
|
+
signature: z.ZodMiniObject<{
|
|
877
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
878
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
879
|
+
}, z.core.$strip>;
|
|
880
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
881
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
882
|
+
metadata: z.ZodMiniObject<{
|
|
883
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
884
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
publicKey: z.ZodMiniObject<{
|
|
887
|
+
prefix: z.ZodMiniNumber<number>;
|
|
888
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
889
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
890
|
+
}, z.core.$strip>;
|
|
891
|
+
signature: z.ZodMiniObject<{
|
|
892
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
893
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
894
|
+
}, z.core.$strip>;
|
|
895
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
896
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
897
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
898
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
899
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
900
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
901
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
902
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
903
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
904
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
905
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
906
|
+
threshold: z.ZodMiniNumber<number>;
|
|
907
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
908
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
909
|
+
weight: z.ZodMiniNumber<number>;
|
|
910
|
+
}, z.core.$strip>>>;
|
|
911
|
+
}, z.core.$strip>>;
|
|
912
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
913
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
914
|
+
}, z.core.$strip>]>;
|
|
915
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
916
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
546
917
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
547
918
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
548
919
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
@@ -611,25 +982,28 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
611
982
|
type: z.ZodMiniLiteral<"multisig">;
|
|
612
983
|
}, z.core.$strip>]>;
|
|
613
984
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
614
|
-
|
|
985
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
986
|
+
}, z.core.$strip>]>>;
|
|
615
987
|
/** Encode-only signed key authorization schema accepting numberish `toRpc` inputs. */
|
|
616
988
|
export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
989
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
990
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
991
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
992
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
620
993
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
621
|
-
}, z.core.$strip
|
|
994
|
+
}, z.core.$strip>>>>>;
|
|
622
995
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
623
|
-
}, z.core.$strip
|
|
996
|
+
}, z.core.$strip>>>>>;
|
|
624
997
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
625
998
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
999
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
626
1000
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
627
1001
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
628
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1002
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
629
1003
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
630
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
1004
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
631
1005
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
632
|
-
}, z.core.$strip
|
|
1006
|
+
}, z.core.$strip>>>>>;
|
|
633
1007
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
634
1008
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
635
1009
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -669,8 +1043,79 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
669
1043
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
670
1044
|
type: z.ZodMiniLiteral<"multisig">;
|
|
671
1045
|
}, z.core.$strip>]>;
|
|
672
|
-
|
|
1046
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1047
|
+
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1048
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1049
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
1050
|
+
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
1051
|
+
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
1052
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1053
|
+
limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
1054
|
+
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
1055
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1056
|
+
}, z.core.$strip>>>>;
|
|
673
1057
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1058
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1059
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1060
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
1061
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
1062
|
+
}, z.core.$strip>>>>;
|
|
1063
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1064
|
+
signature: z.ZodMiniObject<{
|
|
1065
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1066
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1067
|
+
yParity: z.ZodMiniNumber<number>;
|
|
1068
|
+
}, z.core.$strip>;
|
|
1069
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
1070
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1071
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
1072
|
+
publicKey: z.ZodMiniObject<{
|
|
1073
|
+
prefix: z.ZodMiniNumber<number>;
|
|
1074
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1075
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1076
|
+
}, z.core.$strip>;
|
|
1077
|
+
signature: z.ZodMiniObject<{
|
|
1078
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1079
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1080
|
+
}, z.core.$strip>;
|
|
1081
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
1082
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1083
|
+
metadata: z.ZodMiniObject<{
|
|
1084
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1085
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
1086
|
+
}, z.core.$strip>;
|
|
1087
|
+
publicKey: z.ZodMiniObject<{
|
|
1088
|
+
prefix: z.ZodMiniNumber<number>;
|
|
1089
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1090
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1091
|
+
}, z.core.$strip>;
|
|
1092
|
+
signature: z.ZodMiniObject<{
|
|
1093
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1094
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1095
|
+
}, z.core.$strip>;
|
|
1096
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1097
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1098
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
1099
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1100
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
1101
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1102
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1103
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1104
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1105
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1106
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1107
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1108
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1109
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1110
|
+
weight: z.ZodMiniNumber<number>;
|
|
1111
|
+
}, z.core.$strip>>>;
|
|
1112
|
+
}, z.core.$strip>>;
|
|
1113
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1114
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
1115
|
+
}, z.core.$strip>]>;
|
|
1116
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1117
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1118
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
674
1119
|
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
675
1120
|
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
676
1121
|
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -678,6 +1123,7 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
678
1123
|
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
679
1124
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
680
1125
|
}, z.core.$strip>>>>;
|
|
1126
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
681
1127
|
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
682
1128
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
683
1129
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
@@ -737,5 +1183,6 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
737
1183
|
type: z.ZodMiniLiteral<"multisig">;
|
|
738
1184
|
}, z.core.$strip>]>;
|
|
739
1185
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
740
|
-
|
|
1186
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1187
|
+
}, z.core.$strip>]>>;
|
|
741
1188
|
//# sourceMappingURL=KeyAuthorization.d.ts.map
|