ox 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/core/AbiEvent.d.ts.map +1 -1
- package/dist/core/AbiEvent.js +10 -9
- package/dist/core/AbiEvent.js.map +1 -1
- package/dist/core/Blobs.d.ts.map +1 -1
- package/dist/core/Blobs.js +6 -2
- package/dist/core/Blobs.js.map +1 -1
- package/dist/core/Signature.d.ts +6 -5
- package/dist/core/Signature.d.ts.map +1 -1
- package/dist/core/Signature.js +17 -7
- package/dist/core/Signature.js.map +1 -1
- package/dist/core/Siwe.d.ts.map +1 -1
- package/dist/core/Siwe.js +21 -1
- package/dist/core/Siwe.js.map +1 -1
- package/dist/tempo/KeyAuthorization.d.ts +42 -38
- package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/tempo/KeyAuthorization.js +24 -4
- package/dist/tempo/KeyAuthorization.js.map +1 -1
- package/dist/tempo/MultisigConfig.d.ts +18 -15
- package/dist/tempo/MultisigConfig.d.ts.map +1 -1
- package/dist/tempo/MultisigConfig.js +49 -20
- package/dist/tempo/MultisigConfig.js.map +1 -1
- package/dist/tempo/MultisigOperation.d.ts +3 -2
- package/dist/tempo/MultisigOperation.d.ts.map +1 -1
- package/dist/tempo/MultisigOperation.js +20 -100
- package/dist/tempo/MultisigOperation.js.map +1 -1
- package/dist/tempo/MultisigSimulation.d.ts +2 -49
- package/dist/tempo/MultisigSimulation.d.ts.map +1 -1
- package/dist/tempo/MultisigSimulation.js +18 -46
- package/dist/tempo/MultisigSimulation.js.map +1 -1
- package/dist/tempo/SignatureEnvelope.d.ts +72 -140
- package/dist/tempo/SignatureEnvelope.d.ts.map +1 -1
- package/dist/tempo/SignatureEnvelope.js +130 -181
- package/dist/tempo/SignatureEnvelope.js.map +1 -1
- package/dist/tempo/TransactionRequest.d.ts +4 -2
- package/dist/tempo/TransactionRequest.d.ts.map +1 -1
- package/dist/tempo/TransactionRequest.js +6 -1
- package/dist/tempo/TransactionRequest.js.map +1 -1
- package/dist/tempo/index.d.ts +3 -1
- package/dist/tempo/index.d.ts.map +1 -1
- package/dist/tempo/index.js +3 -1
- package/dist/tempo/index.js.map +1 -1
- package/dist/zod/tempo/AuthorizationTempo.d.ts +350 -10
- package/dist/zod/tempo/AuthorizationTempo.d.ts.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.d.ts +242 -422
- package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.js +29 -31
- package/dist/zod/tempo/KeyAuthorization.js.map +1 -1
- package/dist/zod/tempo/MultisigSimulation.d.ts +8 -76
- package/dist/zod/tempo/MultisigSimulation.d.ts.map +1 -1
- package/dist/zod/tempo/MultisigSimulation.js +3 -37
- package/dist/zod/tempo/MultisigSimulation.js.map +1 -1
- package/dist/zod/tempo/RpcSchemaTempo.d.ts +284 -228
- package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
- package/dist/zod/tempo/SignatureEnvelope.d.ts +105 -3
- package/dist/zod/tempo/SignatureEnvelope.d.ts.map +1 -1
- package/dist/zod/tempo/SignatureEnvelope.js +21 -9
- package/dist/zod/tempo/SignatureEnvelope.js.map +1 -1
- package/dist/zod/tempo/Transaction.d.ts +676 -448
- package/dist/zod/tempo/Transaction.d.ts.map +1 -1
- package/dist/zod/tempo/TransactionRequest.d.ts +590 -473
- package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
- package/dist/zod/tempo/TransactionRequest.js +8 -0
- package/dist/zod/tempo/TransactionRequest.js.map +1 -1
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts +327 -213
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
- package/dist/zod/tempo/ZoneRpcAuthentication.d.ts +105 -3
- package/dist/zod/tempo/ZoneRpcAuthentication.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/AbiEvent.ts +11 -9
- package/src/core/Blobs.ts +6 -2
- package/src/core/Signature.ts +41 -11
- package/src/core/Siwe.ts +20 -1
- package/src/core/_test/AbiEvent.test.ts +45 -0
- package/src/core/_test/Blobs.test.ts +22 -0
- package/src/core/_test/Signature.test.ts +166 -0
- package/src/core/_test/Siwe.test.ts +100 -1
- package/src/tempo/AuthorizationTempo.test.ts +8 -4
- package/src/tempo/KeyAuthorization.test-d.ts +16 -63
- package/src/tempo/KeyAuthorization.test.ts +69 -11
- package/src/tempo/KeyAuthorization.ts +107 -63
- package/src/tempo/MultisigConfig.test.ts +44 -20
- package/src/tempo/MultisigConfig.ts +65 -23
- package/src/tempo/MultisigOperation.test.ts +79 -550
- package/src/tempo/MultisigOperation.ts +31 -146
- package/src/tempo/MultisigSimulation.test-d.ts +2 -2
- package/src/tempo/MultisigSimulation.test.ts +21 -110
- package/src/tempo/MultisigSimulation.ts +25 -99
- package/src/tempo/SignatureEnvelope.test-d.ts +29 -47
- package/src/tempo/SignatureEnvelope.test.ts +328 -541
- package/src/tempo/SignatureEnvelope.ts +196 -291
- package/src/tempo/Transaction.test.ts +4 -4
- package/src/tempo/TransactionRequest.test.ts +17 -80
- package/src/tempo/TransactionRequest.ts +19 -2
- package/src/tempo/index.ts +3 -1
- package/src/tempo/multisig.e2e.test.ts +321 -860
- package/src/version.ts +1 -1
- package/src/zod/tempo/KeyAuthorization.ts +50 -39
- package/src/zod/tempo/MultisigSimulation.ts +3 -48
- package/src/zod/tempo/SignatureEnvelope.ts +46 -35
- package/src/zod/tempo/TransactionRequest.ts +14 -0
- package/src/zod/tempo/_test/KeyAuthorization.test.ts +69 -20
- package/src/zod/tempo/_test/MultisigSimulation.test.ts +6 -31
- package/src/zod/tempo/_test/SignatureEnvelope.test.ts +118 -85
- package/src/zod/tempo/_test/TransactionRequest.test.ts +9 -19
|
@@ -32,7 +32,7 @@ export declare const Rpc: z.ZodMiniObject<{
|
|
|
32
32
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
33
33
|
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
34
34
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
35
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
35
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
36
36
|
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
37
37
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
38
38
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -79,10 +79,10 @@ export declare const Scope: z.ZodMiniObject<{
|
|
|
79
79
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
80
80
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
81
81
|
}, z.core.$strip>;
|
|
82
|
-
/** Decoded key authorization schema
|
|
83
|
-
export declare const Domain: z.
|
|
84
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}
|
|
85
|
-
isAdmin: z.ZodMiniBoolean<boolean
|
|
82
|
+
/** Decoded key authorization schema. */
|
|
83
|
+
export declare const Domain: z.ZodMiniObject<{
|
|
84
|
+
account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
85
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
86
86
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
87
87
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
88
88
|
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
@@ -141,80 +141,50 @@ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
141
141
|
threshold: z.ZodMiniNumber<number>;
|
|
142
142
|
version: z.ZodMiniBigInt<bigint>;
|
|
143
143
|
}, z.core.$strip>;
|
|
144
|
-
signatures: z.
|
|
144
|
+
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
145
|
+
signature: z.ZodMiniObject<{
|
|
146
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
147
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
148
|
+
yParity: z.ZodMiniNumber<number>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
151
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
152
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
153
|
+
publicKey: z.ZodMiniObject<{
|
|
154
|
+
prefix: z.ZodMiniNumber<number>;
|
|
155
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
156
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
signature: z.ZodMiniObject<{
|
|
159
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
160
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
163
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
164
|
+
metadata: z.ZodMiniObject<{
|
|
165
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
166
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
publicKey: z.ZodMiniObject<{
|
|
169
|
+
prefix: z.ZodMiniNumber<number>;
|
|
170
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
171
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
signature: z.ZodMiniObject<{
|
|
174
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
175
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
178
|
+
}, z.core.$strip>]>>>;
|
|
145
179
|
type: z.ZodMiniLiteral<"multisig">;
|
|
146
180
|
}, z.core.$strip>]>;
|
|
147
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
181
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
148
182
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
149
|
-
}, z.core.$strip
|
|
150
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
151
|
-
chainId: z.ZodMiniBigInt<bigint>;
|
|
152
|
-
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
153
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
154
|
-
limit: z.ZodMiniBigInt<bigint>;
|
|
155
|
-
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
156
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
157
|
-
}, z.core.$strip>>>>;
|
|
158
|
-
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
159
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
160
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
161
|
-
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
162
|
-
}, z.core.$strip>>>>;
|
|
163
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
164
|
-
signature: z.ZodMiniObject<{
|
|
165
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
166
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
167
|
-
yParity: z.ZodMiniNumber<number>;
|
|
168
|
-
}, z.core.$strip>;
|
|
169
|
-
type: z.ZodMiniLiteral<"secp256k1">;
|
|
170
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
171
|
-
prehash: z.ZodMiniBoolean<boolean>;
|
|
172
|
-
publicKey: z.ZodMiniObject<{
|
|
173
|
-
prefix: z.ZodMiniNumber<number>;
|
|
174
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
175
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
176
|
-
}, z.core.$strip>;
|
|
177
|
-
signature: z.ZodMiniObject<{
|
|
178
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
179
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
180
|
-
}, z.core.$strip>;
|
|
181
|
-
type: z.ZodMiniLiteral<"p256">;
|
|
182
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
183
|
-
metadata: z.ZodMiniObject<{
|
|
184
|
-
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
185
|
-
clientDataJSON: z.ZodMiniString<string>;
|
|
186
|
-
}, z.core.$strip>;
|
|
187
|
-
publicKey: z.ZodMiniObject<{
|
|
188
|
-
prefix: z.ZodMiniNumber<number>;
|
|
189
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
190
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
191
|
-
}, z.core.$strip>;
|
|
192
|
-
signature: z.ZodMiniObject<{
|
|
193
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
194
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
195
|
-
}, z.core.$strip>;
|
|
196
|
-
type: z.ZodMiniLiteral<"webAuthn">;
|
|
197
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
198
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
199
|
-
config: z.ZodMiniObject<{
|
|
200
|
-
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
201
|
-
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
202
|
-
weight: z.ZodMiniNumber<number>;
|
|
203
|
-
}, z.core.$strip>>>;
|
|
204
|
-
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
205
|
-
threshold: z.ZodMiniNumber<number>;
|
|
206
|
-
version: z.ZodMiniBigInt<bigint>;
|
|
207
|
-
}, z.core.$strip>;
|
|
208
|
-
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
209
|
-
type: z.ZodMiniLiteral<"multisig">;
|
|
210
|
-
}, z.core.$strip>]>;
|
|
211
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
212
|
-
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
213
|
-
}, z.core.$strip>]>;
|
|
183
|
+
}, z.core.$strip>;
|
|
214
184
|
/** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */
|
|
215
|
-
export declare const DomainToRpc: z.
|
|
216
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}
|
|
217
|
-
isAdmin: z.ZodMiniBoolean<boolean
|
|
185
|
+
export declare const DomainToRpc: z.ZodMiniObject<{
|
|
186
|
+
account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
187
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
218
188
|
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
219
189
|
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
220
190
|
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -273,76 +243,46 @@ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
273
243
|
threshold: z.ZodMiniNumber<number>;
|
|
274
244
|
version: z.ZodMiniBigInt<bigint>;
|
|
275
245
|
}, z.core.$strip>;
|
|
276
|
-
signatures: z.
|
|
246
|
+
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
247
|
+
signature: z.ZodMiniObject<{
|
|
248
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
249
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
250
|
+
yParity: z.ZodMiniNumber<number>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
253
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
254
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
255
|
+
publicKey: z.ZodMiniObject<{
|
|
256
|
+
prefix: z.ZodMiniNumber<number>;
|
|
257
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
258
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
signature: z.ZodMiniObject<{
|
|
261
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
262
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
265
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
266
|
+
metadata: z.ZodMiniObject<{
|
|
267
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
268
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
publicKey: z.ZodMiniObject<{
|
|
271
|
+
prefix: z.ZodMiniNumber<number>;
|
|
272
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
273
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
signature: z.ZodMiniObject<{
|
|
276
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
277
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
280
|
+
}, z.core.$strip>]>>>;
|
|
277
281
|
type: z.ZodMiniLiteral<"multisig">;
|
|
278
282
|
}, z.core.$strip>]>;
|
|
279
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
283
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
280
284
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
281
|
-
}, z.core.$strip
|
|
282
|
-
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
283
|
-
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
284
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
285
|
-
limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
286
|
-
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
287
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
288
|
-
}, z.core.$strip>>>>;
|
|
289
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
290
|
-
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
291
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
292
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
293
|
-
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
294
|
-
}, z.core.$strip>>>>;
|
|
295
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
296
|
-
signature: z.ZodMiniObject<{
|
|
297
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
298
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
299
|
-
yParity: z.ZodMiniNumber<number>;
|
|
300
|
-
}, z.core.$strip>;
|
|
301
|
-
type: z.ZodMiniLiteral<"secp256k1">;
|
|
302
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
303
|
-
prehash: z.ZodMiniBoolean<boolean>;
|
|
304
|
-
publicKey: z.ZodMiniObject<{
|
|
305
|
-
prefix: z.ZodMiniNumber<number>;
|
|
306
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
307
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
308
|
-
}, z.core.$strip>;
|
|
309
|
-
signature: z.ZodMiniObject<{
|
|
310
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
311
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
312
|
-
}, z.core.$strip>;
|
|
313
|
-
type: z.ZodMiniLiteral<"p256">;
|
|
314
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
315
|
-
metadata: z.ZodMiniObject<{
|
|
316
|
-
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
317
|
-
clientDataJSON: z.ZodMiniString<string>;
|
|
318
|
-
}, z.core.$strip>;
|
|
319
|
-
publicKey: z.ZodMiniObject<{
|
|
320
|
-
prefix: z.ZodMiniNumber<number>;
|
|
321
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
322
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
323
|
-
}, z.core.$strip>;
|
|
324
|
-
signature: z.ZodMiniObject<{
|
|
325
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
326
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
327
|
-
}, z.core.$strip>;
|
|
328
|
-
type: z.ZodMiniLiteral<"webAuthn">;
|
|
329
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
330
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
331
|
-
config: z.ZodMiniObject<{
|
|
332
|
-
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
333
|
-
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
334
|
-
weight: z.ZodMiniNumber<number>;
|
|
335
|
-
}, z.core.$strip>>>;
|
|
336
|
-
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
337
|
-
threshold: z.ZodMiniNumber<number>;
|
|
338
|
-
version: z.ZodMiniBigInt<bigint>;
|
|
339
|
-
}, z.core.$strip>;
|
|
340
|
-
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
341
|
-
type: z.ZodMiniLiteral<"multisig">;
|
|
342
|
-
}, z.core.$strip>]>;
|
|
343
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
344
|
-
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
345
|
-
}, z.core.$strip>]>;
|
|
285
|
+
}, z.core.$strip>;
|
|
346
286
|
/** Codec decoding an RPC key authorization into a signed key authorization. */
|
|
347
287
|
export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
348
288
|
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -357,7 +297,7 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
357
297
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
358
298
|
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
359
299
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
360
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
300
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
361
301
|
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
362
302
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
363
303
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -385,73 +325,9 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
385
325
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
386
326
|
}, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
|
|
387
327
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
388
|
-
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
389
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
390
|
-
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
391
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
392
|
-
chainId: z.ZodMiniBigInt<bigint>;
|
|
393
|
-
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
394
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
395
|
-
limit: z.ZodMiniBigInt<bigint>;
|
|
396
|
-
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
397
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
398
|
-
}, z.core.$strip>>>>;
|
|
399
|
-
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
400
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
401
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
402
|
-
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
403
|
-
}, z.core.$strip>>>>;
|
|
404
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
405
|
-
signature: z.ZodMiniObject<{
|
|
406
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
407
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
408
|
-
yParity: z.ZodMiniNumber<number>;
|
|
409
|
-
}, z.core.$strip>;
|
|
410
|
-
type: z.ZodMiniLiteral<"secp256k1">;
|
|
411
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
412
|
-
prehash: z.ZodMiniBoolean<boolean>;
|
|
413
|
-
publicKey: z.ZodMiniObject<{
|
|
414
|
-
prefix: z.ZodMiniNumber<number>;
|
|
415
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
416
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
417
|
-
}, z.core.$strip>;
|
|
418
|
-
signature: z.ZodMiniObject<{
|
|
419
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
420
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
421
|
-
}, z.core.$strip>;
|
|
422
|
-
type: z.ZodMiniLiteral<"p256">;
|
|
423
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
424
|
-
metadata: z.ZodMiniObject<{
|
|
425
|
-
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
426
|
-
clientDataJSON: z.ZodMiniString<string>;
|
|
427
|
-
}, z.core.$strip>;
|
|
428
|
-
publicKey: z.ZodMiniObject<{
|
|
429
|
-
prefix: z.ZodMiniNumber<number>;
|
|
430
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
431
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
432
|
-
}, z.core.$strip>;
|
|
433
|
-
signature: z.ZodMiniObject<{
|
|
434
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
435
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
436
|
-
}, z.core.$strip>;
|
|
437
|
-
type: z.ZodMiniLiteral<"webAuthn">;
|
|
438
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
439
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
440
|
-
config: z.ZodMiniObject<{
|
|
441
|
-
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
442
|
-
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
443
|
-
weight: z.ZodMiniNumber<number>;
|
|
444
|
-
}, z.core.$strip>>>;
|
|
445
|
-
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
446
|
-
threshold: z.ZodMiniNumber<number>;
|
|
447
|
-
version: z.ZodMiniBigInt<bigint>;
|
|
448
|
-
}, z.core.$strip>;
|
|
449
|
-
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
450
|
-
type: z.ZodMiniLiteral<"multisig">;
|
|
451
|
-
}, z.core.$strip>]>;
|
|
452
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
453
|
-
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
454
328
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
329
|
+
account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
330
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
455
331
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
456
332
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
457
333
|
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
@@ -510,12 +386,46 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
510
386
|
threshold: z.ZodMiniNumber<number>;
|
|
511
387
|
version: z.ZodMiniBigInt<bigint>;
|
|
512
388
|
}, z.core.$strip>;
|
|
513
|
-
signatures: z.
|
|
389
|
+
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
390
|
+
signature: z.ZodMiniObject<{
|
|
391
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
392
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
393
|
+
yParity: z.ZodMiniNumber<number>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
396
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
397
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
398
|
+
publicKey: z.ZodMiniObject<{
|
|
399
|
+
prefix: z.ZodMiniNumber<number>;
|
|
400
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
401
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
signature: z.ZodMiniObject<{
|
|
404
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
405
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
408
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
409
|
+
metadata: z.ZodMiniObject<{
|
|
410
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
411
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
publicKey: z.ZodMiniObject<{
|
|
414
|
+
prefix: z.ZodMiniNumber<number>;
|
|
415
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
416
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
417
|
+
}, z.core.$strip>;
|
|
418
|
+
signature: z.ZodMiniObject<{
|
|
419
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
420
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
423
|
+
}, z.core.$strip>]>>>;
|
|
514
424
|
type: z.ZodMiniLiteral<"multisig">;
|
|
515
425
|
}, z.core.$strip>]>;
|
|
516
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
426
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
517
427
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
518
|
-
}, z.core.$strip
|
|
428
|
+
}, z.core.$strip>>;
|
|
519
429
|
/** Encode-only key authorization codec accepting numberish `toRpc` inputs. */
|
|
520
430
|
export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
521
431
|
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -530,7 +440,7 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
530
440
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
531
441
|
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
532
442
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
533
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
443
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
534
444
|
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
535
445
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
536
446
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -558,73 +468,9 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
558
468
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
559
469
|
}, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
|
|
560
470
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
561
|
-
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
562
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
563
|
-
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
564
|
-
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
565
|
-
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
566
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
567
|
-
limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
568
|
-
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
569
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
570
|
-
}, z.core.$strip>>>>;
|
|
571
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
572
|
-
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
573
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
574
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
575
|
-
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
576
|
-
}, z.core.$strip>>>>;
|
|
577
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
578
|
-
signature: z.ZodMiniObject<{
|
|
579
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
580
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
581
|
-
yParity: z.ZodMiniNumber<number>;
|
|
582
|
-
}, z.core.$strip>;
|
|
583
|
-
type: z.ZodMiniLiteral<"secp256k1">;
|
|
584
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
585
|
-
prehash: z.ZodMiniBoolean<boolean>;
|
|
586
|
-
publicKey: z.ZodMiniObject<{
|
|
587
|
-
prefix: z.ZodMiniNumber<number>;
|
|
588
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
589
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
590
|
-
}, z.core.$strip>;
|
|
591
|
-
signature: z.ZodMiniObject<{
|
|
592
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
593
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
594
|
-
}, z.core.$strip>;
|
|
595
|
-
type: z.ZodMiniLiteral<"p256">;
|
|
596
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
597
|
-
metadata: z.ZodMiniObject<{
|
|
598
|
-
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
599
|
-
clientDataJSON: z.ZodMiniString<string>;
|
|
600
|
-
}, z.core.$strip>;
|
|
601
|
-
publicKey: z.ZodMiniObject<{
|
|
602
|
-
prefix: z.ZodMiniNumber<number>;
|
|
603
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
604
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
605
|
-
}, z.core.$strip>;
|
|
606
|
-
signature: z.ZodMiniObject<{
|
|
607
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
608
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
609
|
-
}, z.core.$strip>;
|
|
610
|
-
type: z.ZodMiniLiteral<"webAuthn">;
|
|
611
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
612
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
613
|
-
config: z.ZodMiniObject<{
|
|
614
|
-
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
615
|
-
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
616
|
-
weight: z.ZodMiniNumber<number>;
|
|
617
|
-
}, z.core.$strip>>>;
|
|
618
|
-
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
619
|
-
threshold: z.ZodMiniNumber<number>;
|
|
620
|
-
version: z.ZodMiniBigInt<bigint>;
|
|
621
|
-
}, z.core.$strip>;
|
|
622
|
-
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
623
|
-
type: z.ZodMiniLiteral<"multisig">;
|
|
624
|
-
}, z.core.$strip>]>;
|
|
625
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
626
|
-
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
627
471
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
472
|
+
account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
473
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
628
474
|
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
629
475
|
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
630
476
|
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -683,12 +529,46 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
683
529
|
threshold: z.ZodMiniNumber<number>;
|
|
684
530
|
version: z.ZodMiniBigInt<bigint>;
|
|
685
531
|
}, z.core.$strip>;
|
|
686
|
-
signatures: z.
|
|
532
|
+
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
533
|
+
signature: z.ZodMiniObject<{
|
|
534
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
535
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
536
|
+
yParity: z.ZodMiniNumber<number>;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
539
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
540
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
541
|
+
publicKey: z.ZodMiniObject<{
|
|
542
|
+
prefix: z.ZodMiniNumber<number>;
|
|
543
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
544
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
545
|
+
}, z.core.$strip>;
|
|
546
|
+
signature: z.ZodMiniObject<{
|
|
547
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
548
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
551
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
552
|
+
metadata: z.ZodMiniObject<{
|
|
553
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
554
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
publicKey: z.ZodMiniObject<{
|
|
557
|
+
prefix: z.ZodMiniNumber<number>;
|
|
558
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
559
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
560
|
+
}, z.core.$strip>;
|
|
561
|
+
signature: z.ZodMiniObject<{
|
|
562
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
563
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
566
|
+
}, z.core.$strip>]>>>;
|
|
687
567
|
type: z.ZodMiniLiteral<"multisig">;
|
|
688
568
|
}, z.core.$strip>]>;
|
|
689
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
569
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
690
570
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
691
|
-
}, z.core.$strip
|
|
571
|
+
}, z.core.$strip>>;
|
|
692
572
|
/** Signed key authorization schema. */
|
|
693
573
|
export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
694
574
|
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -703,7 +583,7 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
703
583
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
704
584
|
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
705
585
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
706
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
586
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
707
587
|
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
708
588
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
709
589
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -731,73 +611,9 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
731
611
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
732
612
|
}, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
|
|
733
613
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
734
|
-
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
735
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
736
|
-
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
737
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
738
|
-
chainId: z.ZodMiniBigInt<bigint>;
|
|
739
|
-
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
740
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
741
|
-
limit: z.ZodMiniBigInt<bigint>;
|
|
742
|
-
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
743
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
744
|
-
}, z.core.$strip>>>>;
|
|
745
|
-
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
746
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
747
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
748
|
-
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
749
|
-
}, z.core.$strip>>>>;
|
|
750
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
751
|
-
signature: z.ZodMiniObject<{
|
|
752
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
753
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
754
|
-
yParity: z.ZodMiniNumber<number>;
|
|
755
|
-
}, z.core.$strip>;
|
|
756
|
-
type: z.ZodMiniLiteral<"secp256k1">;
|
|
757
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
758
|
-
prehash: z.ZodMiniBoolean<boolean>;
|
|
759
|
-
publicKey: z.ZodMiniObject<{
|
|
760
|
-
prefix: z.ZodMiniNumber<number>;
|
|
761
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
762
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
763
|
-
}, z.core.$strip>;
|
|
764
|
-
signature: z.ZodMiniObject<{
|
|
765
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
766
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
767
|
-
}, z.core.$strip>;
|
|
768
|
-
type: z.ZodMiniLiteral<"p256">;
|
|
769
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
770
|
-
metadata: z.ZodMiniObject<{
|
|
771
|
-
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
772
|
-
clientDataJSON: z.ZodMiniString<string>;
|
|
773
|
-
}, z.core.$strip>;
|
|
774
|
-
publicKey: z.ZodMiniObject<{
|
|
775
|
-
prefix: z.ZodMiniNumber<number>;
|
|
776
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
777
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
778
|
-
}, z.core.$strip>;
|
|
779
|
-
signature: z.ZodMiniObject<{
|
|
780
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
781
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
782
|
-
}, z.core.$strip>;
|
|
783
|
-
type: z.ZodMiniLiteral<"webAuthn">;
|
|
784
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
785
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
786
|
-
config: z.ZodMiniObject<{
|
|
787
|
-
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
788
|
-
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
789
|
-
weight: z.ZodMiniNumber<number>;
|
|
790
|
-
}, z.core.$strip>>>;
|
|
791
|
-
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
792
|
-
threshold: z.ZodMiniNumber<number>;
|
|
793
|
-
version: z.ZodMiniBigInt<bigint>;
|
|
794
|
-
}, z.core.$strip>;
|
|
795
|
-
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
796
|
-
type: z.ZodMiniLiteral<"multisig">;
|
|
797
|
-
}, z.core.$strip>]>;
|
|
798
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
799
|
-
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
800
614
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
615
|
+
account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
616
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
801
617
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
802
618
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
803
619
|
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
@@ -856,12 +672,46 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
856
672
|
threshold: z.ZodMiniNumber<number>;
|
|
857
673
|
version: z.ZodMiniBigInt<bigint>;
|
|
858
674
|
}, z.core.$strip>;
|
|
859
|
-
signatures: z.
|
|
675
|
+
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
676
|
+
signature: z.ZodMiniObject<{
|
|
677
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
678
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
679
|
+
yParity: z.ZodMiniNumber<number>;
|
|
680
|
+
}, z.core.$strip>;
|
|
681
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
682
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
683
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
684
|
+
publicKey: z.ZodMiniObject<{
|
|
685
|
+
prefix: z.ZodMiniNumber<number>;
|
|
686
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
687
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
688
|
+
}, z.core.$strip>;
|
|
689
|
+
signature: z.ZodMiniObject<{
|
|
690
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
691
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
692
|
+
}, z.core.$strip>;
|
|
693
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
694
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
695
|
+
metadata: z.ZodMiniObject<{
|
|
696
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
697
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
698
|
+
}, z.core.$strip>;
|
|
699
|
+
publicKey: z.ZodMiniObject<{
|
|
700
|
+
prefix: z.ZodMiniNumber<number>;
|
|
701
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
702
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
703
|
+
}, z.core.$strip>;
|
|
704
|
+
signature: z.ZodMiniObject<{
|
|
705
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
706
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
707
|
+
}, z.core.$strip>;
|
|
708
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
709
|
+
}, z.core.$strip>]>>>;
|
|
860
710
|
type: z.ZodMiniLiteral<"multisig">;
|
|
861
711
|
}, z.core.$strip>]>;
|
|
862
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
712
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
863
713
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
864
|
-
}, z.core.$strip
|
|
714
|
+
}, z.core.$strip>>;
|
|
865
715
|
/** Encode-only signed key authorization schema accepting numberish `toRpc` inputs. */
|
|
866
716
|
export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
867
717
|
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -876,7 +726,7 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
876
726
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
877
727
|
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
878
728
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
879
|
-
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
729
|
+
keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
880
730
|
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
881
731
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
882
732
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
@@ -904,73 +754,9 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
904
754
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
905
755
|
}, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
|
|
906
756
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
907
|
-
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
908
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
909
|
-
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
910
|
-
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
911
|
-
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
912
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
913
|
-
limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
914
|
-
period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
915
|
-
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
916
|
-
}, z.core.$strip>>>>;
|
|
917
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
918
|
-
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
919
|
-
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
920
|
-
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
921
|
-
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
922
|
-
}, z.core.$strip>>>>;
|
|
923
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
924
|
-
signature: z.ZodMiniObject<{
|
|
925
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
926
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
927
|
-
yParity: z.ZodMiniNumber<number>;
|
|
928
|
-
}, z.core.$strip>;
|
|
929
|
-
type: z.ZodMiniLiteral<"secp256k1">;
|
|
930
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
931
|
-
prehash: z.ZodMiniBoolean<boolean>;
|
|
932
|
-
publicKey: z.ZodMiniObject<{
|
|
933
|
-
prefix: z.ZodMiniNumber<number>;
|
|
934
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
935
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
936
|
-
}, z.core.$strip>;
|
|
937
|
-
signature: z.ZodMiniObject<{
|
|
938
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
939
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
940
|
-
}, z.core.$strip>;
|
|
941
|
-
type: z.ZodMiniLiteral<"p256">;
|
|
942
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
943
|
-
metadata: z.ZodMiniObject<{
|
|
944
|
-
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
945
|
-
clientDataJSON: z.ZodMiniString<string>;
|
|
946
|
-
}, z.core.$strip>;
|
|
947
|
-
publicKey: z.ZodMiniObject<{
|
|
948
|
-
prefix: z.ZodMiniNumber<number>;
|
|
949
|
-
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
950
|
-
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
951
|
-
}, z.core.$strip>;
|
|
952
|
-
signature: z.ZodMiniObject<{
|
|
953
|
-
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
954
|
-
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
955
|
-
}, z.core.$strip>;
|
|
956
|
-
type: z.ZodMiniLiteral<"webAuthn">;
|
|
957
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
958
|
-
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
959
|
-
config: z.ZodMiniObject<{
|
|
960
|
-
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
961
|
-
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
962
|
-
weight: z.ZodMiniNumber<number>;
|
|
963
|
-
}, z.core.$strip>>>;
|
|
964
|
-
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
965
|
-
threshold: z.ZodMiniNumber<number>;
|
|
966
|
-
version: z.ZodMiniBigInt<bigint>;
|
|
967
|
-
}, z.core.$strip>;
|
|
968
|
-
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
969
|
-
type: z.ZodMiniLiteral<"multisig">;
|
|
970
|
-
}, z.core.$strip>]>;
|
|
971
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
972
|
-
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
973
757
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
758
|
+
account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
759
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
974
760
|
chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
|
|
975
761
|
expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
|
|
976
762
|
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -1029,10 +815,44 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1029
815
|
threshold: z.ZodMiniNumber<number>;
|
|
1030
816
|
version: z.ZodMiniBigInt<bigint>;
|
|
1031
817
|
}, z.core.$strip>;
|
|
1032
|
-
signatures: z.
|
|
818
|
+
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
819
|
+
signature: z.ZodMiniObject<{
|
|
820
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
821
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
822
|
+
yParity: z.ZodMiniNumber<number>;
|
|
823
|
+
}, z.core.$strip>;
|
|
824
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
825
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
826
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
827
|
+
publicKey: z.ZodMiniObject<{
|
|
828
|
+
prefix: z.ZodMiniNumber<number>;
|
|
829
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
830
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
831
|
+
}, z.core.$strip>;
|
|
832
|
+
signature: z.ZodMiniObject<{
|
|
833
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
834
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
835
|
+
}, z.core.$strip>;
|
|
836
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
837
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
838
|
+
metadata: z.ZodMiniObject<{
|
|
839
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
840
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
841
|
+
}, z.core.$strip>;
|
|
842
|
+
publicKey: z.ZodMiniObject<{
|
|
843
|
+
prefix: z.ZodMiniNumber<number>;
|
|
844
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
845
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
846
|
+
}, z.core.$strip>;
|
|
847
|
+
signature: z.ZodMiniObject<{
|
|
848
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
849
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
850
|
+
}, z.core.$strip>;
|
|
851
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
852
|
+
}, z.core.$strip>]>>>;
|
|
1033
853
|
type: z.ZodMiniLiteral<"multisig">;
|
|
1034
854
|
}, z.core.$strip>]>;
|
|
1035
|
-
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
855
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
|
|
1036
856
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1037
|
-
}, z.core.$strip
|
|
857
|
+
}, z.core.$strip>>;
|
|
1038
858
|
//# sourceMappingURL=KeyAuthorization.d.ts.map
|