@qntx/wallet-chains 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +13 -10
  2. package/dist/{account-ref-D2rW_qlI.mjs → account-ref-BFTeEyHt.mjs} +2 -2
  3. package/dist/{account-ref-D2rW_qlI.mjs.map → account-ref-BFTeEyHt.mjs.map} +1 -1
  4. package/dist/assemble-8GvNDony.mjs +405 -0
  5. package/dist/assemble-8GvNDony.mjs.map +1 -0
  6. package/dist/assemble-B3sO9Fvc.mjs +629 -0
  7. package/dist/assemble-B3sO9Fvc.mjs.map +1 -0
  8. package/dist/assemble-BdiPo0ZX.mjs +32 -0
  9. package/dist/assemble-BdiPo0ZX.mjs.map +1 -0
  10. package/dist/assets-sg2_Z3nZ.mjs +200 -0
  11. package/dist/assets-sg2_Z3nZ.mjs.map +1 -0
  12. package/dist/bitcoin-sign.d.mts +3 -0
  13. package/dist/bitcoin-sign.mjs +52 -18
  14. package/dist/bitcoin-sign.mjs.map +1 -1
  15. package/dist/bitcoin.d.mts +123 -7
  16. package/dist/bitcoin.mjs +162 -69
  17. package/dist/bitcoin.mjs.map +1 -1
  18. package/dist/evm-sign.d.mts +3 -1
  19. package/dist/evm-sign.mjs +25 -82
  20. package/dist/evm-sign.mjs.map +1 -1
  21. package/dist/evm.d.mts +252 -22
  22. package/dist/evm.mjs +2460 -448
  23. package/dist/evm.mjs.map +1 -1
  24. package/dist/families-BlgplKAJ.mjs +412 -0
  25. package/dist/families-BlgplKAJ.mjs.map +1 -0
  26. package/dist/index-CIRaHKpx.d.mts +941 -0
  27. package/dist/index.d.mts +2 -2
  28. package/dist/index.mjs +1 -1
  29. package/dist/networks.d.mts +29 -0
  30. package/dist/networks.mjs +245 -0
  31. package/dist/networks.mjs.map +1 -0
  32. package/dist/plan-wCnxHqRu.mjs +1311 -0
  33. package/dist/plan-wCnxHqRu.mjs.map +1 -0
  34. package/dist/solana-sign.d.mts +3 -0
  35. package/dist/solana-sign.mjs +23 -10
  36. package/dist/solana-sign.mjs.map +1 -1
  37. package/dist/solana.d.mts +136 -24
  38. package/dist/solana.mjs +1244 -63
  39. package/dist/solana.mjs.map +1 -1
  40. package/dist/src-CHB_z45M.mjs +387 -0
  41. package/dist/src-CHB_z45M.mjs.map +1 -0
  42. package/dist/tasks-7AFv3PQn.mjs +86 -0
  43. package/dist/tasks-7AFv3PQn.mjs.map +1 -0
  44. package/dist/token-call-DH22g8BL.mjs +914 -0
  45. package/dist/token-call-DH22g8BL.mjs.map +1 -0
  46. package/dist/tron-sign.d.mts +10 -0
  47. package/dist/tron-sign.mjs +36 -0
  48. package/dist/tron-sign.mjs.map +1 -0
  49. package/dist/tron.d.mts +328 -0
  50. package/dist/tron.mjs +1484 -0
  51. package/dist/tron.mjs.map +1 -0
  52. package/dist/typed-data-CE9h4U0F.d.mts +51 -0
  53. package/dist/typed-data-DRtKULsH.mjs +466 -0
  54. package/dist/typed-data-DRtKULsH.mjs.map +1 -0
  55. package/package.json +17 -10
  56. package/dist/index-DYwm4-Ec.d.mts +0 -256
  57. package/dist/message-ChhEZ0lx.mjs +0 -188
  58. package/dist/message-ChhEZ0lx.mjs.map +0 -1
  59. package/dist/src-8NZeEnrW.mjs +0 -67
  60. package/dist/src-8NZeEnrW.mjs.map +0 -1
  61. package/dist/typed-data-J5g2WemC.mjs +0 -227
  62. package/dist/typed-data-J5g2WemC.mjs.map +0 -1
@@ -0,0 +1,941 @@
1
+ import { MessageFields } from "@qntx/siwx";
2
+ /**
3
+ * A domain a sign-in line claims: `[scheme://]domain wants you to sign in with your Ethereum|Solana
4
+ * account:` at the start of a line.
5
+ */
6
+ type SignInClaim = {
7
+ readonly scheme?: string;
8
+ readonly domain: string;
9
+ };
10
+ /** A Sign-In with X message found in signed text (ERC-4361 / SIWS). */
11
+ type SignInParse = {
12
+ readonly status: "valid";
13
+ readonly fields: MessageFields;
14
+ } |
15
+ /**
16
+ * Not a conforming message for the family; `claims` are the domains its preamble lines claim —
17
+ * lenient verifiers (viem `parseSiweMessage`, `@solana/wallet-standard-util`
18
+ * `parseSignInMessageText`) accept such text, so the wallet binds it to the page like a
19
+ * conforming one.
20
+ */
21
+ {
22
+ readonly status: "malformed";
23
+ readonly claims: ReadonlyArray<SignInClaim>;
24
+ };
25
+ /**
26
+ * Finds a Sign-In with X message in `text` for the chain `family`. `undefined` when the text has no
27
+ * sign-in preamble; `malformed` when it has one but is not a conforming message for the family
28
+ * (ERC-4361: wallets should warn about that shape).
29
+ */
30
+ declare function parseSignIn(text: string, family: "evm" | "solana" | "tron"): SignInParse | undefined;
31
+ /**
32
+ * Untrusted text (a signed message, an EIP-712 domain name, a token symbol) made safe to show, and
33
+ * the checks behind the message-text rules. Code points come in three classes, taken from the
34
+ * generated Unicode 18.0.0 tables in unicode-tables.ts so the kernel and the host classify every
35
+ * code point identically regardless of the engine's ICU version. Deceptive ones — controls other
36
+ * than TAB/LF/CR, the line and paragraph separators, the bidi embedding/override marks U+202A–202E,
37
+ * interlinear annotation anchors U+FFF9–FFFB, default-ignorable code points outside the format set,
38
+ * tag characters outside an exact RGI emoji tag sequence (U+1F3F4, the tag-encoded body, U+E007F)
39
+ * and variation selectors not immediately after a base the selector is defined for — mean what the
40
+ * owner reads is not what was signed (`hasHiddenCharacters`); they render as U+FFFD. Format
41
+ * characters — joiners, direction marks, the soft hyphen, the combining grapheme joiner, variation
42
+ * selectors in a valid position and RGI tag sequences — are ordinary text; direction marks, the
43
+ * soft hyphen, CGJ and joiners outside a joining context display as U+FFFD so they stay visible,
44
+ * the rest pass through. Everything else is text.
45
+ *
46
+ * Joining context: a ZWJ is kept after a virama (ccc=9, RFC 5892 appendix A.2) or inside an emoji
47
+ * ZWJ sequence (UTS #51 ED-16: the preceding code point is Extended_Pictographic or an emoji
48
+ * modifier — an emoji-variation FE0F after a pictographic base counts as its base — and the next is
49
+ * Extended_Pictographic). A ZWNJ is kept after a virama or between left- and right-joining
50
+ * characters, skipping transparent ones (RFC 5892 appendix A.1).
51
+ */
52
+ /**
53
+ * Whether `text` holds a deceptive code point — one that hides, reorders or fakes content. TAB, LF
54
+ * and CR are the only control characters ordinary text may carry.
55
+ */
56
+ declare const hasHiddenCharacters: (text: string) => boolean;
57
+ /**
58
+ * Whether `text` is the rendering of raw bytes, not a description of what the signature authorises:
59
+ * hex with or without a `0x` prefix of either case, optionally separated by whitespace, colons,
60
+ * dashes or commas, past 40 digits — 40 digits is an address written as text, which stays readable
61
+ * — or a single base64/base64url/base58 token of 43 or more characters (≥ 32 bytes) mixing at least
62
+ * two of its character classes.
63
+ */
64
+ declare const isEncodedBytes: (text: string) => boolean;
65
+ type DisplayExcerpt = {
66
+ readonly lines: ReadonlyArray<string>;
67
+ /** Code points of non-empty lines that did not fit. */
68
+ readonly omitted: number;
69
+ };
70
+ /**
71
+ * The leading part of `raw` that fits `maxLines` lines and `maxCodePoints` code points. Empty lines
72
+ * are dropped, so padding cannot push content out of view; the last line may be cut.
73
+ */
74
+ declare function displayExcerpt(raw: string, maxLines: number, maxCodePoints: number): DisplayExcerpt;
75
+ type ChainFamily = "evm" | "solana" | "bitcoin" | "tron";
76
+ /** BIP-32/SLIP-10 indices, >= 2^31 hardened; `[]` = the key itself. */
77
+ type KeyPath = ReadonlyArray<number>;
78
+ type TaskKey = {
79
+ readonly path: KeyPath;
80
+ readonly publicKey: Uint8Array;
81
+ };
82
+ type EcdsaTask = {
83
+ readonly scheme: "ecdsa-secp256k1";
84
+ readonly path: KeyPath;
85
+ /** 33-byte compressed public key the signature must verify under. */
86
+ readonly publicKey: Uint8Array;
87
+ /** 32-byte digest. */
88
+ readonly digest: Uint8Array;
89
+ };
90
+ type Bip340Task = {
91
+ readonly scheme: "bip340";
92
+ readonly path: KeyPath;
93
+ /** 32-byte x-only output key Q the signature verifies under. */
94
+ readonly publicKey: Uint8Array;
95
+ /** 32-byte message. */
96
+ readonly message: Uint8Array;
97
+ /** 32-byte scalar tweak the signer adds to its key: Q = P + t·G. */
98
+ readonly tweak: Uint8Array;
99
+ };
100
+ type Ed25519Task = {
101
+ readonly scheme: "ed25519";
102
+ readonly path: KeyPath;
103
+ /** 32-byte public key. */
104
+ readonly publicKey: Uint8Array;
105
+ readonly message: Uint8Array;
106
+ };
107
+ type SignTask = EcdsaTask | Bip340Task | Ed25519Task;
108
+ type SignScheme = SignTask["scheme"];
109
+ /** An assemble result: the final artefact, or the next plan a dependent signature requires. */
110
+ type Assembled<A, P> = {
111
+ readonly kind: "signed";
112
+ readonly artefact: A;
113
+ } | {
114
+ readonly kind: "next";
115
+ readonly plan: P;
116
+ };
117
+ type AccountRef = {
118
+ readonly kind: "hd";
119
+ readonly walletId: string;
120
+ readonly groupIndex: number;
121
+ readonly template: string;
122
+ } | {
123
+ readonly kind: "imported";
124
+ readonly keyId: string;
125
+ readonly family: ChainFamily;
126
+ };
127
+ /** The BIP-44/49/84/86 account-level templates a bitcoin.psbt input may sign under. */
128
+ type BitcoinTemplate = "btc.bip44" | "btc.bip49" | "btc.bip84" | "btc.bip86";
129
+ type SignRequest = {
130
+ readonly kind: "bitcoin.psbt";
131
+ readonly network: string;
132
+ /** The wallet group whose keys sign; each signed input names its template. */
133
+ readonly account: {
134
+ readonly kind: "hd";
135
+ readonly walletId: string;
136
+ readonly groupIndex: number;
137
+ };
138
+ /** Who built this request — only "internal" requests may raise the change mark. */
139
+ readonly origin: "internal" | "external";
140
+ readonly psbt: Uint8Array;
141
+ /** Inputs to sign — non-empty, unique, ascending by index, in range; each with its template. */
142
+ readonly sign: ReadonlyArray<{
143
+ readonly index: number;
144
+ readonly template: BitcoinTemplate;
145
+ }>;
146
+ } | {
147
+ readonly kind: "bitcoin.message";
148
+ readonly network: string;
149
+ readonly account: AccountRef;
150
+ readonly address: string;
151
+ readonly message: string;
152
+ readonly format: "bip322-simple" | "legacy";
153
+ /** Account change chain and index the address is derived at (0 = receive, 1 = change). */
154
+ readonly change: 0 | 1;
155
+ readonly index: number;
156
+ } | {
157
+ readonly kind: "solana.transaction";
158
+ readonly network: string;
159
+ readonly account: AccountRef;
160
+ /** Compiled wire message (legacy or v0). */
161
+ readonly message: Uint8Array;
162
+ readonly lookupTables?: ReadonlyArray<{
163
+ readonly address: string;
164
+ readonly addresses: ReadonlyArray<string>;
165
+ }>;
166
+ } | {
167
+ readonly kind: "solana.message";
168
+ readonly network: string;
169
+ readonly account: AccountRef;
170
+ readonly message: Uint8Array;
171
+ /** Only "raw" exists in this layer; offchain formats land with C7. */
172
+ readonly format: "raw";
173
+ } | {
174
+ readonly kind: "evm.transaction";
175
+ readonly network: string;
176
+ readonly account: AccountRef;
177
+ readonly tx: EvmTransaction;
178
+ } | {
179
+ readonly kind: "evm.personal-message";
180
+ readonly network: string;
181
+ readonly account: AccountRef;
182
+ readonly message: Uint8Array;
183
+ } | {
184
+ readonly kind: "evm.fiat24-session";
185
+ readonly network: string;
186
+ readonly account: AccountRef;
187
+ readonly tokenId: string;
188
+ readonly deadline: number;
189
+ } | {
190
+ readonly kind: "evm.typed-data";
191
+ readonly network: string;
192
+ readonly account: AccountRef;
193
+ readonly typedData: string;
194
+ } | {
195
+ readonly kind: "tron.transaction";
196
+ readonly network: string;
197
+ readonly account: AccountRef;
198
+ /** `Transaction.raw` wire bytes — the only thing a TRON signature authorises. */
199
+ readonly rawData: Uint8Array;
200
+ } | {
201
+ readonly kind: "tron.message";
202
+ readonly network: string;
203
+ readonly account: AccountRef;
204
+ readonly message: Uint8Array;
205
+ } | {
206
+ readonly kind: "tron.typed-data";
207
+ readonly network: string;
208
+ readonly account: AccountRef;
209
+ /** Canonical TIP-712 JSON (types incl. EIP712Domain, primaryType, domain, message). */
210
+ readonly typedData: string;
211
+ };
212
+ type EvmAccessListEntry = {
213
+ readonly address: string;
214
+ readonly storageKeys: ReadonlyArray<string>;
215
+ };
216
+ type EvmTransactionBase = {
217
+ readonly chainId: number;
218
+ readonly nonce: number;
219
+ readonly gas: string;
220
+ readonly value: string;
221
+ readonly data: string;
222
+ readonly to?: string;
223
+ };
224
+ /**
225
+ * A complete transaction — every field the signer needs is present; `to` absent means contract
226
+ * creation.
227
+ */
228
+ type EvmTransaction = (EvmTransactionBase & {
229
+ readonly type: "legacy";
230
+ readonly gasPrice: string;
231
+ }) | (EvmTransactionBase & {
232
+ readonly type: "eip2930";
233
+ readonly gasPrice: string;
234
+ readonly accessList: ReadonlyArray<EvmAccessListEntry>;
235
+ }) | (EvmTransactionBase & {
236
+ readonly type: "eip1559";
237
+ readonly accessList: ReadonlyArray<EvmAccessListEntry>;
238
+ readonly maxFeePerGas: string;
239
+ readonly maxPriorityFeePerGas: string;
240
+ }) | (Omit<EvmTransactionBase, "to"> & {
241
+ readonly type: "eip7702";
242
+ readonly to: string;
243
+ readonly accessList: ReadonlyArray<EvmAccessListEntry>;
244
+ readonly maxFeePerGas: string;
245
+ readonly maxPriorityFeePerGas: string;
246
+ /**
247
+ * One self-sponsored authorization: its chain id is the transaction's chain id and its nonce
248
+ * is `tx.nonce + 1`, so multi-tuple or nonce-mismatched authorizations are unrepresentable.
249
+ * The zero address revokes an existing delegation.
250
+ */
251
+ readonly authorization: {
252
+ readonly address: string;
253
+ };
254
+ });
255
+ type Verifiability = "full" | "partial" | "opaque";
256
+ /** Why a request is blind: the signer can neither show it nor bound what it authorises. */
257
+ type BlindReason = "message-bytes" | "typed-data-commitment" | "typed-data-variant" | "typed-data-oversize" | "token-function" | "account-code" | "safe-delegatecall" | "safe-refund-unbounded" | "core-instruction" | "program-authority" | "lookup-table-account" | "tron-contract" | "tron-field" | "tron-permission-update" | "cctp-destination" | "fiat24-function" | "fiat24-session-grant";
258
+ /** One leaf of an unrecognised typed-data document, as a display line. */
259
+ type TypedDataLeaf = {
260
+ readonly path: string;
261
+ readonly value: string;
262
+ };
263
+ type IntentSummary = "transfer" | "approve" | "contract-call" | "swap" | "message" | "authorization" | "batch" | "stake" | "bridge" | "payout";
264
+ type AssetAmount = {
265
+ readonly asset: string;
266
+ readonly amount: string;
267
+ readonly decimals?: number;
268
+ readonly symbol?: string;
269
+ /** NFT flows only: the decimal token id; `amount` is then the unit count. */
270
+ readonly tokenId?: string;
271
+ };
272
+ type AssetFlow = {
273
+ readonly to: string;
274
+ readonly amount: AssetAmount;
275
+ readonly verified: boolean;
276
+ /**
277
+ * The output is provably unspendable (a Bitcoin script that starts with OP_RETURN or exceeds the
278
+ * 10,000-byte script limit): `amount` is destroyed and `to` is the script hex.
279
+ */
280
+ readonly burn?: true;
281
+ /**
282
+ * A Solana unchecked `Transfer` — the instruction names no mint: the asset is whatever token the
283
+ * SPL account holds, `amount.asset` is that account and the amount is in its base units.
284
+ */
285
+ readonly tokenAccount?: string;
286
+ /**
287
+ * The Fiat24 ledger destination the call names when `to` is a cash-token contract: `account` —
288
+ * the ERC-721 id whose holder when the transaction runs receives the funds; `payee` — the payee
289
+ * id whose bank account Fiat24 picks off-chain.
290
+ */
291
+ readonly fiat24?: {
292
+ readonly account: string;
293
+ } | {
294
+ readonly payee: string;
295
+ };
296
+ /**
297
+ * The output is provably on one of the account's own keys but at a path the wallet does not
298
+ * discover (e.g. `m/84'/0'/0'/1/2147483646`): the funds are the user's, yet this wallet may never
299
+ * display them — `to` is the decoded address and `ownPath` the derivation path text.
300
+ */
301
+ readonly ownPath?: string;
302
+ /** The ENS name the recipient was resolved from; attached by the engine, never decoded. */
303
+ readonly name?: string;
304
+ };
305
+ type ApprovalChange = {
306
+ /** A fungible-token allowance: on the token itself, or on Permit2 when `via` is "permit2". */
307
+ readonly kind: "allowance";
308
+ readonly spender: string;
309
+ /** The token and amount (base units); symbol/decimals when the token is in the built-in table. */
310
+ readonly amount: AssetAmount;
311
+ /**
312
+ * `set`: the allowance becomes `amount`; `increase`/`decrease`: it changes by `amount`;
313
+ * `transfer`: a one-time right to take up to `amount` before `expiration` (Permit2
314
+ * SignatureTransfer).
315
+ */
316
+ readonly change: "set" | "increase" | "decrease" | "transfer";
317
+ /** `amount` is the type's maximum (uint256; uint160 for Permit2). */
318
+ readonly unlimited: boolean;
319
+ /** Unix seconds after which the allowance lapses (Permit2), when it has one. */
320
+ readonly expiration?: number;
321
+ readonly via?: "permit2" | "allowance-holder";
322
+ /** The spender is a Fiat24 contract: its card authorisation or top-up/exchange deposit. */
323
+ readonly fiat24Spender?: "card" | "deposit";
324
+ /** The token is in the built-in table. */
325
+ readonly verified: boolean;
326
+ } | {
327
+ /** ERC-721/1155 `setApprovalForAll`: `spender` may move every token of `asset`. */
328
+ readonly kind: "operator";
329
+ readonly asset: string;
330
+ readonly spender: string;
331
+ /** `false` revokes. */
332
+ readonly approved: boolean;
333
+ readonly verified: false;
334
+ } | {
335
+ /**
336
+ * A Solana stake account's staker or withdrawer role handed to a key other than the signer —
337
+ * by an `Authorize`/`AuthorizeChecked` instruction, or by `Initialize` naming a non-signer.
338
+ */
339
+ readonly kind: "stake-authority";
340
+ /** The stake account the role applies to. */
341
+ readonly account: string;
342
+ readonly role: "staker" | "withdrawer";
343
+ /** The key receiving the role. */
344
+ readonly authority: string;
345
+ readonly verified: false;
346
+ } | {
347
+ /**
348
+ * `approve(address(0), value)`: names no spender — clears ERC-721 token `value`'s approval;
349
+ * on an ERC-20 it only touches the zero address's allowance, which no key can spend. Grants
350
+ * nothing.
351
+ */
352
+ readonly kind: "approval-cleared";
353
+ readonly asset: string;
354
+ readonly value: string;
355
+ readonly verified: false;
356
+ } | {
357
+ /** SPL `Revoke`: the token account's delegate loses its allowance. Grants nothing. */
358
+ readonly kind: "delegate-revoked";
359
+ /** The token account whose delegate is removed. */
360
+ readonly account: string;
361
+ readonly verified: false;
362
+ };
363
+ /** The TRON resource a freeze/delegate acts on (ResourceCode 0/1/2). */
364
+ type TronResource = "bandwidth" | "energy" | "tron-power";
365
+ /** A decoded TRON account permission; `operations` is the 32-byte bitmap hex, actives only. */
366
+ type TronPermission = {
367
+ readonly type: "owner" | "witness" | "active";
368
+ readonly id: number;
369
+ readonly name: string;
370
+ /** Decimal string. */
371
+ readonly threshold: string;
372
+ readonly parentId: number;
373
+ readonly operations?: string;
374
+ readonly keys: ReadonlyArray<{
375
+ readonly address: string;
376
+ readonly weight: string;
377
+ }>;
378
+ };
379
+ /** One staking operation shown on the signing surface. */
380
+ type StakeAction = {
381
+ readonly kind: "create";
382
+ readonly account: string;
383
+ readonly lamports: string;
384
+ } | {
385
+ readonly kind: "delegate";
386
+ readonly account: string;
387
+ readonly validator: string;
388
+ } | {
389
+ readonly kind: "deactivate";
390
+ readonly account: string;
391
+ } | {
392
+ readonly kind: "withdraw";
393
+ readonly account: string;
394
+ readonly to: string;
395
+ readonly lamports: string;
396
+ } |
397
+ /** Stake `Split`: `lamports` of `account` move to the new stake account `to`. */
398
+ {
399
+ readonly kind: "split";
400
+ readonly account: string;
401
+ readonly to: string;
402
+ readonly lamports: string;
403
+ } |
404
+ /** Lido `submit` on Ethereum mainnet: ETH in, approximately `receive` stETH back. */
405
+ {
406
+ readonly kind: "lido-submit";
407
+ readonly amount: AssetAmount;
408
+ readonly receive: AssetAmount;
409
+ } |
410
+ /** Lido withdrawal request on Ethereum mainnet; `owner` gets the claim NFT. */
411
+ {
412
+ readonly kind: "lido-request";
413
+ readonly token: string;
414
+ readonly amount: AssetAmount;
415
+ readonly owner: string;
416
+ } |
417
+ /** Lido claim of finalised withdrawal requests on Ethereum mainnet (ETH to the caller). */
418
+ {
419
+ readonly kind: "lido-claim";
420
+ readonly requestIds: ReadonlyArray<string>;
421
+ } |
422
+ /** FreezeBalanceV2 / UnfreezeBalanceV2. */
423
+ {
424
+ readonly kind: "tron-freeze" | "tron-unfreeze";
425
+ readonly amount: AssetAmount;
426
+ readonly resource: TronResource;
427
+ } |
428
+ /** DelegateResourceContract; `lock` present only when the lock flag is set. */
429
+ {
430
+ readonly kind: "tron-delegate";
431
+ readonly receiver: string;
432
+ readonly amount: AssetAmount;
433
+ readonly resource: TronResource;
434
+ readonly lock?: {
435
+ readonly blocks: string;
436
+ };
437
+ } |
438
+ /** UnDelegateResourceContract. */
439
+ {
440
+ readonly kind: "tron-undelegate";
441
+ readonly receiver: string;
442
+ readonly amount: AssetAmount;
443
+ readonly resource: TronResource;
444
+ } | {
445
+ readonly kind: "tron-withdraw-unfrozen";
446
+ } | {
447
+ readonly kind: "tron-cancel-unfreeze";
448
+ } |
449
+ /** WithdrawBalanceContract — claims the SR-voting reward balance. */
450
+ {
451
+ readonly kind: "tron-claim-rewards";
452
+ } | {
453
+ readonly kind: "tron-vote";
454
+ readonly votes: ReadonlyArray<{
455
+ readonly witness: string;
456
+ readonly count: string;
457
+ }>;
458
+ };
459
+ /** The closed set of warnings the prompt knows how to render. */
460
+ type IntentWarningKind = "platform-fee" | "stake-lockup" | "sighash-single-anyonecanpay" | "permit2-witness" | "delegation-replaced" | "token-2022-transfer-fee" | "token-2022-extension" | "fiat24-internal-account" | "fiat24-card-pull" | "fiat24-unlimited-approval" | "fiat24-issuer-rate" | "fiat24-exact-out-unbounded" | "fiat24-payee-offchain" | "fiat24-swap-quote" | "fiat24-account-link" | "fiat24-account-move" | "fiat24-account-burn" | "unusual-own-output" | "unconfirmed-signer-output";
461
+ type IntentWarning = {
462
+ readonly kind: IntentWarningKind;
463
+ readonly message: string;
464
+ /** "danger" marks a warning for a risk the prompt words itself must carry (callers may escalate). */
465
+ readonly level?: "danger";
466
+ };
467
+ /** A Fiat24 cash token — the four issuers' ERC-20s all carry two decimals. */
468
+ type Fiat24Token = {
469
+ readonly asset: string;
470
+ readonly symbol: string;
471
+ readonly decimals: 2;
472
+ };
473
+ /** What a recognized call into a Fiat24 contract does, beyond its flows. */
474
+ type Fiat24Action = {
475
+ readonly kind: "exchange";
476
+ readonly side: "exact-in";
477
+ readonly receive: Fiat24Token;
478
+ } | {
479
+ readonly kind: "exchange";
480
+ readonly side: "exact-out";
481
+ readonly pay: Fiat24Token;
482
+ readonly receive: AssetAmount;
483
+ } | {
484
+ readonly kind: "payout";
485
+ readonly contactId: string;
486
+ readonly purposeId?: string;
487
+ readonly ref?: string;
488
+ } | {
489
+ readonly kind: "top-up";
490
+ readonly receive: Fiat24Token;
491
+ } | {
492
+ readonly kind: "open-account";
493
+ readonly account: string;
494
+ /** `mintByClient` only: the token burned at the issuer-set price, bounded by allowance. */
495
+ readonly burn?: Fiat24Token;
496
+ } | {
497
+ readonly kind: "session-grant";
498
+ readonly account: string;
499
+ readonly deadline: number;
500
+ };
501
+ /** One item a Seaport order offers or requests; recognized from EIP-712 `itemType` 0–5. */
502
+ type SeaportItem = {
503
+ readonly kind: "native" | "erc20" | "erc721" | "erc1155" | "erc721-criteria" | "erc1155-criteria";
504
+ /** The item's contract (EIP-55 checksummed; the zero address for `native`). */
505
+ readonly token: string;
506
+ /** `identifierOrCriteria` as a decimal string; a criteria root for the criteria kinds. */
507
+ readonly identifier: string;
508
+ readonly startAmount: AssetAmount;
509
+ readonly endAmount: AssetAmount;
510
+ };
511
+ /** A recognized Seaport `OrderComponents` message. */
512
+ type SeaportOrder = {
513
+ readonly offerer: string;
514
+ readonly zone: string;
515
+ readonly startTime: number | undefined;
516
+ readonly endTime: number | undefined;
517
+ readonly offer: ReadonlyArray<SeaportItem>;
518
+ readonly consideration: ReadonlyArray<SeaportItem & {
519
+ readonly recipient: string;
520
+ }>;
521
+ };
522
+ /** A recognised off-chain order: what it can take from the maker and the least each recipient gets. */
523
+ type OffchainOrder = {
524
+ readonly protocol: "1inch" | "uniswapx" | "cow" | "0x";
525
+ /** Whose funds the order spends (EIP-55). */
526
+ readonly maker: string;
527
+ /** The most the order can take from the maker. */
528
+ readonly give: AssetAmount;
529
+ /** The least each recipient receives when the order fills in full. */
530
+ readonly receive: ReadonlyArray<{
531
+ readonly recipient: string;
532
+ readonly amount: AssetAmount;
533
+ }>;
534
+ /** Unix seconds after which it cannot fill; absent when it never expires. */
535
+ readonly expiry?: number;
536
+ /** It may fill in parts at the same rate. */
537
+ readonly partialFill: boolean;
538
+ /** 1inch: only a taker whose address ends with these 10 bytes (`0x` + 20 hex) may fill. */
539
+ readonly allowedSender?: string;
540
+ /** UniswapX: the filler with exclusive rights before decay starts. */
541
+ readonly exclusiveFiller?: string;
542
+ };
543
+ /** A recognized Safe `SafeTx` message. */
544
+ type SafeTransaction = {
545
+ readonly safe: string;
546
+ /** The Safe nonce as a decimal string. */
547
+ readonly nonce: string;
548
+ readonly operation: "call" | "delegatecall";
549
+ readonly to: string;
550
+ /** Wei, decimal. */
551
+ readonly value: string;
552
+ readonly data: string;
553
+ /** The inner call(s) decoded with the transaction rules (no fee); one per MultiSend entry. */
554
+ readonly calls: ReadonlyArray<DisplayIntent>;
555
+ /**
556
+ * The gas refund the Safe pays when `gasPrice` is not zero: `(gasUsed + baseGas) × gasPrice` of
557
+ * the gas token, where `gasUsed` is at most `safeTxGas` for the call plus the call's own
558
+ * overhead, which the executor can raise — so the total is not bounded by the signed fields.
559
+ */
560
+ readonly refund?: {
561
+ /** `refundReceiver`; absent when it is the zero address, which pays whoever executes. */
562
+ readonly receiver?: string;
563
+ /** The price per gas unit, in the gas token (the native asset for the zero address). */
564
+ readonly gasPrice: AssetAmount;
565
+ /** `(baseGas + safeTxGas) × gasPrice`: the refund before the call's overhead gas. */
566
+ readonly amount: AssetAmount;
567
+ };
568
+ };
569
+ /** The Hyperliquid environment a user-signed action targets (`hyperliquidChain`). */
570
+ type HyperliquidChain = "Mainnet" | "Testnet";
571
+ /**
572
+ * A recognized Hyperliquid user-signed action (EIP-712 `HyperliquidSignTransaction` domain). The
573
+ * signable shapes and field lists are nktkas's `…Types` constants (`src/api/exchange/_methods/*.ts`
574
+ * in @nktkas/hyperliquid); amounts are the exact decimal strings signed, addresses EIP-55
575
+ * checksummed.
576
+ */
577
+ type HyperliquidAction = {
578
+ readonly kind: "usd-send" | "withdraw";
579
+ readonly chain: HyperliquidChain;
580
+ readonly destination: string;
581
+ readonly amount: string;
582
+ } | {
583
+ readonly kind: "spot-send";
584
+ readonly chain: HyperliquidChain;
585
+ readonly destination: string;
586
+ /** `NAME:0x<tokenId>` — the name is requester text the signature does not verify on-chain. */
587
+ readonly token: string;
588
+ readonly amount: string;
589
+ } | {
590
+ readonly kind: "usd-class-transfer";
591
+ readonly chain: HyperliquidChain;
592
+ readonly amount: string;
593
+ /** `true` moves spot → perps, `false` perps → spot. */
594
+ readonly toPerp: boolean;
595
+ } | {
596
+ readonly kind: "send-asset";
597
+ readonly chain: HyperliquidChain;
598
+ readonly destination: string;
599
+ /** `""` is perps, `"spot"` spot, otherwise a builder DEX name. */
600
+ readonly sourceDex: string;
601
+ readonly destinationDex: string;
602
+ readonly token: string;
603
+ readonly amount: string;
604
+ /** Absent when the signed `fromSubAccount` is the empty string. */
605
+ readonly fromSubAccount?: string;
606
+ } | {
607
+ readonly kind: "staking-deposit" | "staking-withdraw";
608
+ readonly chain: HyperliquidChain;
609
+ /** HYPE amount in wei (8 decimals), decimal string. */
610
+ readonly wei: string;
611
+ } | {
612
+ readonly kind: "token-delegate";
613
+ readonly chain: HyperliquidChain;
614
+ readonly validator: string;
615
+ readonly wei: string;
616
+ readonly undelegate: boolean;
617
+ } | {
618
+ readonly kind: "approve-agent";
619
+ readonly chain: HyperliquidChain;
620
+ readonly agent: string;
621
+ /** The agent name with any ` valid_until <ms>` suffix stripped; `""` is an unnamed agent. */
622
+ readonly name: string;
623
+ /** Milliseconds since epoch the agent's authority ends, when the name carries one. */
624
+ readonly validUntil?: number;
625
+ } | {
626
+ readonly kind: "approve-builder-fee";
627
+ readonly chain: HyperliquidChain;
628
+ readonly builder: string;
629
+ /** The signed percent string, e.g. `"0.1%"`. */
630
+ readonly maxFeeRate: string;
631
+ };
632
+ /**
633
+ * A recognized Polymarket typed-data request: a CLOB order (EOA, proxy, Safe or the ERC-7739
634
+ * deposit-wallet envelope), the CLOB L1 auth signature, or a deposit-wallet call batch. Every
635
+ * alternative is produced only by the exact document shapes in `evm/polymarket.ts`.
636
+ */
637
+ type PolymarketContent = {
638
+ readonly kind: "order";
639
+ /** The allow-listed exchange the order verifies against. */
640
+ readonly exchange: {
641
+ readonly address: string;
642
+ readonly name: string;
643
+ readonly version: "2" | "3";
644
+ };
645
+ readonly side: "buy" | "sell";
646
+ /** The outcome token id, decimal string. */
647
+ readonly tokenId: string;
648
+ /** The order's funding address and signer, EIP-55. */
649
+ readonly maker: string;
650
+ readonly signer: string;
651
+ /** Whose funds the order commits: the account, its CREATE2 proxy/Safe, or a deposit wallet. */
652
+ readonly wallet: "account" | "proxy" | "safe" | "deposit-wallet";
653
+ /**
654
+ * What the order gives up: BUY pays pUSD `makerAmount`, SELL pays `makerAmount` outcome
655
+ * shares (asset = the market's outcome-token contract, `tokenId` set).
656
+ */
657
+ readonly give: AssetAmount;
658
+ /** What the order receives at minimum: BUY shares `takerAmount`, SELL pUSD `takerAmount`. */
659
+ readonly receive: AssetAmount;
660
+ /** PUSD base units per whole share, rounded down; `exact` false when it does not divide. */
661
+ readonly price: {
662
+ readonly amount: string;
663
+ readonly exact: boolean;
664
+ };
665
+ /** Signed bytes32 values shown verbatim, only when not zero; lowercase hex. */
666
+ readonly builder?: string;
667
+ readonly metadata?: string;
668
+ } | {
669
+ readonly kind: "auth";
670
+ /** The account the credentials are derived for, EIP-55. */
671
+ readonly address: string;
672
+ /** Unix seconds. */
673
+ readonly timestamp: number;
674
+ readonly nonce: string;
675
+ } | {
676
+ readonly kind: "batch";
677
+ /** The deposit wallet the batch executes on, EIP-55. */
678
+ readonly wallet: string;
679
+ readonly nonce: string;
680
+ /** Unix seconds after which the batch lapses (uint48). */
681
+ readonly deadline: number;
682
+ /** The decoded call intents; empty when the batch is blind (oversize). */
683
+ readonly calls: ReadonlyArray<DisplayIntent>;
684
+ };
685
+ /**
686
+ * A recognised EIP-3009 authorization signed to the token contract itself by its
687
+ * `from`/`authorizer`.
688
+ */
689
+ type TokenAuthorization = {
690
+ readonly kind: "transfer" | "receive";
691
+ readonly to: string;
692
+ /** Asset = the token contract (domain.verifyingContract); symbol/decimals when listed. */
693
+ readonly amount: AssetAmount;
694
+ /** Unix seconds; valid only strictly after it (0 = at once). */
695
+ readonly validAfter: number;
696
+ /** Unix seconds; valid only strictly before it; absent when ≥ 2^48. */
697
+ readonly validBefore?: number;
698
+ } | {
699
+ readonly kind: "cancel";
700
+ readonly token: string;
701
+ /** Bytes32, lowercase hex */ readonly nonce: string;
702
+ };
703
+ /** Typed data that hands the signer's account authority to someone else. */
704
+ type AccountAuthority = {
705
+ readonly kind: "morpho";
706
+ readonly contract: string;
707
+ readonly verified: boolean;
708
+ readonly authorized: string;
709
+ readonly grant: boolean;
710
+ readonly deadline?: number;
711
+ } | {
712
+ readonly kind: "aave-credit";
713
+ readonly contract: string;
714
+ readonly verified: boolean;
715
+ readonly delegatee: string;
716
+ readonly amount: AssetAmount;
717
+ readonly unlimited: boolean;
718
+ readonly deadline?: number;
719
+ } | {
720
+ readonly kind: "snapshot-alias";
721
+ readonly alias: string;
722
+ };
723
+ /** A Farcaster signer-key document: adding a key to the signer's account, or an app's key request. */
724
+ type FarcasterKey = {
725
+ readonly kind: "add" | "request";
726
+ readonly key: string;
727
+ readonly requestFid: string;
728
+ readonly deadline?: number;
729
+ };
730
+ /** The EIP-712 domain fields a wallet shows. */
731
+ type TypedDataDomain = {
732
+ readonly name?: string;
733
+ readonly version?: string;
734
+ readonly chainId?: number;
735
+ /** EIP-55 checksummed. */
736
+ readonly verifyingContract?: string;
737
+ readonly salt?: string;
738
+ };
739
+ /** What a message request signs. */
740
+ type MessageContent = {
741
+ readonly kind: "text";
742
+ readonly text: string;
743
+ readonly signIn?: SignInParse;
744
+ } | {
745
+ readonly kind: "bytes";
746
+ readonly hex: string;
747
+ } | {
748
+ readonly kind: "typed-data";
749
+ readonly primaryType: string;
750
+ readonly domain: TypedDataDomain;
751
+ readonly data: Readonly<Record<string, unknown>>;
752
+ /** A recognized Seaport order; only the exact `OrderComponents` shape populates it. */
753
+ readonly seaport?: SeaportOrder;
754
+ /** A recognised off-chain order (1inch LOP, UniswapX permit-witness, CoW GPv2). */
755
+ readonly order?: OffchainOrder;
756
+ /** A recognized Safe transaction; only the exact `SafeTx` shape populates it. */
757
+ readonly safe?: SafeTransaction;
758
+ /** A recognized Hyperliquid user-signed action under the `HyperliquidSignTransaction` domain. */
759
+ readonly hyperliquid?: HyperliquidAction;
760
+ /** A recognized Polymarket order, CLOB auth signature or deposit-wallet batch. */
761
+ readonly polymarket?: PolymarketContent;
762
+ /** A recognized EIP-3009 authorization signed to the token contract itself. */
763
+ readonly authorization?: TokenAuthorization;
764
+ /** A recognized document handing the signer's account authority to someone else. */
765
+ readonly authority?: AccountAuthority;
766
+ /** A recognized Farcaster signer-key document. */
767
+ readonly farcaster?: FarcasterKey;
768
+ /**
769
+ * Every leaf of an unrecognised document that fits the display budget; absent for a
770
+ * recognized shape and for one too large to show in full. Present even when the document is
771
+ * blind (`typed-data-commitment`), so the prompt can still show the leaves it signs.
772
+ */
773
+ readonly fields?: ReadonlyArray<TypedDataLeaf>;
774
+ };
775
+ /**
776
+ * Strict UTF-8 text with any sign-in recognition for `family`, else the raw bytes as hex — every
777
+ * valid UTF-8 input is text, including 32-byte and hidden-character texts (`messageTextHazard` says
778
+ * which of those is blind); only a message that fails UTF-8 decoding is bytes.
779
+ */
780
+ declare const messageContent: (bytes: Uint8Array, family: "evm" | "solana" | "tron") => MessageContent;
781
+ type DisplayIntent = {
782
+ readonly family: ChainFamily;
783
+ readonly network: string;
784
+ readonly summary: IntentSummary;
785
+ readonly outflows: ReadonlyArray<AssetFlow>;
786
+ readonly approvals: ReadonlyArray<ApprovalChange>;
787
+ /**
788
+ * The minimums the settlement contracts enforce on-chain for recognised swaps — each
789
+ * `minAmountOut` a Settler requires its own balance to reach before paying the recipient, not an
790
+ * estimate. Present only when non-empty; a batch concatenates its calls' lists like the others.
791
+ */
792
+ readonly minimumReceived?: ReadonlyArray<{
793
+ readonly to: string;
794
+ readonly amount: AssetAmount;
795
+ /**
796
+ * The instruction names no mint for what the destination account receives — the amount is in
797
+ * that SPL account's base units, like `AssetFlow.tokenAccount`.
798
+ */
799
+ readonly tokenAccount?: string;
800
+ }>;
801
+ /**
802
+ * `l1Data`: an upper bound the engine computes — the L1 data fee estimate times the fee model's
803
+ * safety margin, in the gas token, plus the operator fee at the full gas limit — charged on top
804
+ * of `max`; not decodable from the transaction, so the kernel's own decode never sets it.
805
+ */
806
+ readonly fee: {
807
+ readonly max: AssetAmount;
808
+ readonly l1Data?: AssetAmount;
809
+ } | undefined;
810
+ /**
811
+ * Recognized Solana stake operations — create, delegate, deactivate, withdraw — one per
812
+ * instruction, in order. Present only when non-empty.
813
+ */
814
+ readonly staking?: ReadonlyArray<StakeAction>;
815
+ /**
816
+ * A recognized Across SpokePool deposit: the calldata-stated destination chain, the fill deadline
817
+ * after which an unfilled deposit refunds `refundTo` on this chain.
818
+ */
819
+ readonly bridge?: {
820
+ readonly destinationNetwork: string;
821
+ readonly fillDeadline: number;
822
+ readonly refundTo: string;
823
+ };
824
+ /**
825
+ * A fully described CCTP Hyperliquid deposit: the forward-hook recipient (always the signer), the
826
+ * perps or spot account it funds, and the largest Circle fee the call permits.
827
+ */
828
+ readonly hyperliquidDeposit?: {
829
+ readonly recipient: string;
830
+ readonly dex: "perps" | "spot";
831
+ readonly maxFee: AssetAmount;
832
+ };
833
+ /** A recognized Fiat24 action the generic lines cannot describe (exchange, payout, …). */
834
+ readonly fiat24?: Fiat24Action;
835
+ readonly warnings: ReadonlyArray<IntentWarning>;
836
+ /** What a message request signs; absent for transactions. */
837
+ readonly message?: MessageContent;
838
+ readonly verifiability: Verifiability;
839
+ /** Present iff the transaction carries an EIP-7702 authorization. */
840
+ readonly delegation?: {
841
+ readonly kind: "set";
842
+ readonly delegator: string;
843
+ readonly name: string;
844
+ readonly version: string;
845
+ } | {
846
+ readonly kind: "revoke";
847
+ };
848
+ /** The decoded inner calls of a recognized ERC-7821 batch execute. */
849
+ readonly calls?: ReadonlyArray<DisplayIntent>;
850
+ /** The contract an EVM call with calldata runs: the callee, or the address a creation deploys. */
851
+ readonly contract?: {
852
+ readonly address: string;
853
+ readonly created: boolean;
854
+ /** `data`'s first four bytes (all of it when shorter); absent on a creation. */
855
+ readonly selector?: string;
856
+ /** The built-in token table's symbol, when the callee is a listed token. */
857
+ readonly symbol?: string;
858
+ };
859
+ /**
860
+ * Solana only: the program ids of instructions the decoder does not recognise, de-duplicated in
861
+ * first-appearance order; present iff non-empty (so iff a Solana transaction is `opaque`).
862
+ */
863
+ readonly programs?: ReadonlyArray<string>;
864
+ /**
865
+ * Solana only: the undecoded programs outside the family table that receive the signer — what
866
+ * each can move with its authority; present iff non-empty.
867
+ */
868
+ readonly programAuthority?: ReadonlyArray<ProgramAuthority>;
869
+ /** TRON transaction fields the prompt shows on every request. */
870
+ readonly tron?: {
871
+ readonly contractType: string;
872
+ /** Unix ms. */
873
+ readonly expiration: number;
874
+ /** Present only when the contract's Permission_id is non-zero. */
875
+ readonly permissionId?: number;
876
+ readonly memo?: {
877
+ readonly kind: "text";
878
+ readonly text: string;
879
+ } | {
880
+ readonly kind: "bytes";
881
+ readonly hex: string;
882
+ };
883
+ /** Full permission content of an AccountPermissionUpdateContract. */
884
+ readonly permissionUpdate?: {
885
+ readonly owner: TronPermission;
886
+ readonly witness?: TronPermission;
887
+ readonly actives: ReadonlyArray<TronPermission>;
888
+ };
889
+ };
890
+ /** Why the request is blind — the signer can neither show it nor bound what it authorises. */
891
+ readonly blind?: BlindReason;
892
+ };
893
+ /**
894
+ * A request is blind exactly when the decoder set `blind` — what the prompt prints does not bound
895
+ * what the signature authorises. A request the decoder can describe in full but not verify (an
896
+ * `opaque` call, an unrecognised but fully listed typed-data document whose leaves are readable
897
+ * values) is not blind; one whose every leaf is a commitment, or which a decoded family claims in
898
+ * an unrecognised shape, is.
899
+ */
900
+ declare const isBlindIntent: (intent: Pick<DisplayIntent, "blind">) => boolean;
901
+ type MessageTextHazard = "digest-length" | "hidden-characters" | "encoded-bytes";
902
+ /**
903
+ * Why text `text` cannot be read as what the signature authorises, in precedence order: a UTF-8
904
+ * length of exactly 32 bytes is a digest — Safe's eth_sign path (`v > 30`) and EIP-191 digest
905
+ * verifiers sign `"\x19Ethereum Signed Message:\n32" ‖ digest`, and only a 32-byte message has that
906
+ * preimage, so no display can tell a 32-byte text from a digest that happens to be UTF-8; a
907
+ * deceptive code point means what the owner reads is not what was signed; and an encoded-bytes
908
+ * rendering shows the encoding, not the bytes it encodes.
909
+ */
910
+ declare const messageTextHazard: (text: string) => MessageTextHazard | undefined;
911
+ /**
912
+ * Why a message is blind. `bytes` always is — no prompt can show it. `text` is blind when it
913
+ * carries a `messageTextHazard`. Checking the content again here gives callers that build `{ kind:
914
+ * "text" }` themselves the same verdict.
915
+ */
916
+ declare const messageBlindReason: (message: MessageContent) => BlindReason | undefined;
917
+ /**
918
+ * An undecoded Solana program outside the family table that receives the signer, and the writable
919
+ * accounts it can reach with that signature.
920
+ */
921
+ type ProgramAuthority = {
922
+ readonly program: string;
923
+ /** The signer is writable in the message: the program can move all of its SOL. */
924
+ readonly sol: boolean;
925
+ /** The instruction's writable accounts other than the signer, first-appearance order. */
926
+ readonly accounts: ReadonlyArray<{
927
+ readonly address: string;
928
+ /** Set when the account is provably the signer's ATA (Token or Token-2022) for a listed mint. */
929
+ readonly token?: {
930
+ readonly mint: string;
931
+ readonly symbol: string;
932
+ };
933
+ }>;
934
+ };
935
+ type ChainErrorCode = "unknown-field" | "chain-id-mismatch" | "invalid-quantity" | "invalid-address" | "invalid-typed-data" | "invalid-request" | "invalid-signature" | "unsupported";
936
+ declare class ChainError extends Error {
937
+ readonly code: ChainErrorCode;
938
+ constructor(code: ChainErrorCode, message: string);
939
+ }
940
+ export { isEncodedBytes as $, PolymarketContent as A, TokenAuthorization as B, IntentSummary as C, MessageContent as D, KeyPath as E, SignRequest as F, Verifiability as G, TronResource as H, SignScheme as I, messageContent as J, isBlindIntent as K, SignTask as L, SafeTransaction as M, SeaportItem as N, MessageTextHazard as O, SeaportOrder as P, hasHiddenCharacters as Q, StakeAction as R, HyperliquidChain as S, IntentWarningKind as T, TypedDataDomain as U, TronPermission as V, TypedDataLeaf as W, DisplayExcerpt as X, messageTextHazard as Y, displayExcerpt as Z, EvmTransaction as _, AssetAmount as a, Fiat24Token as b, BitcoinTemplate as c, ChainErrorCode as d, SignInClaim as et, ChainFamily as f, EvmAccessListEntry as g, Ed25519Task as h, Assembled as i, ProgramAuthority as j, OffchainOrder as k, BlindReason as l, EcdsaTask as m, AccountRef as n, parseSignIn as nt, AssetFlow as o, DisplayIntent as p, messageBlindReason as q, ApprovalChange as r, Bip340Task as s, AccountAuthority as t, SignInParse as tt, ChainError as u, FarcasterKey as v, IntentWarning as w, HyperliquidAction as x, Fiat24Action as y, TaskKey as z };
941
+ //# sourceMappingURL=index-CIRaHKpx.d.mts.map