@qorechain/sdk 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -8,6 +8,7 @@ import { CosmWasmClient, SigningCosmWasmClient } from '@cosmjs/cosmwasm-stargate
8
8
  export { AI_ANOMALY_CHECK_ADDRESS, AI_RISK_SCORE_ADDRESS, AiAnomalyCheck, AiRiskScore, PreflightResult, PreflightTx, RISK_LEVEL_UNSAFE_THRESHOLD, ai, aiAnomalyCheck, aiRiskScore, simulateWithRiskScore } from '@qorechain/evm';
9
9
  import { Any } from 'cosmjs-types/google/protobuf/any';
10
10
  import { TxBody, TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
11
+ import { BaseAccount } from 'cosmjs-types/cosmos/auth/v1beta1/auth';
11
12
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
12
13
  import * as cosmjs_types_ibc_applications_transfer_v1_tx from 'cosmjs-types/ibc/applications/transfer/v1/tx';
13
14
  import { MsgTransfer } from 'cosmjs-types/ibc/applications/transfer/v1/tx';
@@ -52,9 +53,9 @@ interface CoinInfo {
52
53
  }
53
54
  /** Service endpoints for talking to a network across its supported VMs. */
54
55
  interface NetworkEndpoints {
55
- /** Cosmos SDK REST (LCD) endpoint. */
56
+ /** Native REST (LCD) endpoint. */
56
57
  rest: string;
57
- /** Cosmos SDK gRPC endpoint. */
58
+ /** Native gRPC endpoint. */
58
59
  grpc: string;
59
60
  /** Consensus RPC endpoint. */
60
61
  rpc: string;
@@ -175,7 +176,7 @@ declare function postJsonRpc<T>(url: string, body: unknown, opts?: HttpOptions):
175
176
  /**
176
177
  * REST (LCD) read client for QoreChain.
177
178
  *
178
- * Wraps the standard Cosmos SDK bank endpoints plus QoreChain's custom module
179
+ * Wraps the standard Native bank endpoints plus QoreChain's custom module
179
180
  * read routes under `/qorechain/<module>/v1/...`. All requests go through the
180
181
  * shared {@link getJson} helper, so `fetch` is injectable and failures surface
181
182
  * as {@link QoreHttpError}.
@@ -185,7 +186,7 @@ declare function postJsonRpc<T>(url: string, body: unknown, opts?: HttpOptions):
185
186
  * defaulting to {@link Record}<string, unknown> rather than over-modeled here.
186
187
  */
187
188
 
188
- /** Cosmos pagination response metadata. */
189
+ /** Native pagination response metadata. */
189
190
  interface PageResponse {
190
191
  next_key: string | null;
191
192
  total?: string;
@@ -199,7 +200,7 @@ interface AllBalancesResponse {
199
200
  interface BalanceResponse {
200
201
  balance: Coin$1;
201
202
  }
202
- /** Cosmos-style key/limit pagination input. */
203
+ /** Native key/limit pagination input. */
203
204
  interface Pagination {
204
205
  key?: string;
205
206
  limit?: number;
@@ -212,7 +213,7 @@ interface PaginatedOptions {
212
213
  type RestClientOptions = HttpOptions;
213
214
  /** Relative urgency of a fee estimate. */
214
215
  type FeeUrgency = "fast" | "normal" | "slow";
215
- /** Cosmos + QoreChain REST read client. */
216
+ /** Native + QoreChain REST read client. */
216
217
  declare class RestClient {
217
218
  private readonly baseUrl;
218
219
  private readonly opts;
@@ -396,7 +397,7 @@ declare class QorClient extends JsonRpcClient {
396
397
  * QoreChain exposes an AI-assisted fee oracle at the REST route
397
398
  * `/qorechain/ai/v1/fee-estimate?urgency=fast|normal|slow` (see the core
398
399
  * `AI_ENGINE.md` / `API_REFERENCE.md`). {@link estimateFee} queries it via the
399
- * shared {@link RestClient} and shapes the answer as a Cosmos `StdFee`
400
+ * shared {@link RestClient} and shapes the answer as a Native `StdFee`
400
401
  * (`{ amount: Coin[]; gas: string }`).
401
402
  *
402
403
  * The oracle can be unavailable (node still syncing, sidecar down, custom RPC
@@ -442,7 +443,7 @@ interface EstimateFeeOptions {
442
443
  /**
443
444
  * Estimate a transaction fee for the given urgency.
444
445
  *
445
- * Queries the QoreChain AI fee oracle and returns a Cosmos `StdFee`. If the
446
+ * Queries the QoreChain AI fee oracle and returns a Native `StdFee`. If the
446
447
  * oracle is unavailable or returns no usable fee, falls back to a deterministic
447
448
  * static fee computed from {@link EstimateFeeOptions.fallbackGasPrice}.
448
449
  *
@@ -454,7 +455,7 @@ declare function estimateFee(rest: RestClient, opts?: EstimateFeeOptions): Promi
454
455
  /**
455
456
  * Broadcast-mode definitions and the broadcast result shape for native txs.
456
457
  *
457
- * Cosmos nodes accept transactions in three modes:
458
+ * QoreChain Native nodes accept transactions in three modes:
458
459
  * - `sync` — return after `CheckTx` (mempool admission); you get a tx hash but
459
460
  * not an on-chain result.
460
461
  * - `async` — return immediately after submission, without waiting for
@@ -502,7 +503,7 @@ interface BroadcastResult {
502
503
  * single token like `"0.025uqor"`. {@link GasPrice.fromString} parses that into
503
504
  * an exact fraction (numerator / denominator) so fee math stays integer-exact
504
505
  * with no floating-point drift, and {@link calculateFee} turns a gas limit plus
505
- * a gas price into a Cosmos {@link StdFee}.
506
+ * a gas price into a Native {@link StdFee}.
506
507
  *
507
508
  * This mirrors the cosmjs `GasPrice`/`calculateFee` concept but is reimplemented
508
509
  * here so the SDK does not depend on cosmjs's internal fee module and so the
@@ -553,7 +554,7 @@ declare function calculateFee(gas: number | string, gasPrice: GasPrice | string)
553
554
  * Native transaction builder and broadcaster for QoreChain.
554
555
  *
555
556
  * {@link TxClient} wraps cosmjs's `SigningStargateClient` to simulate, sign, and
556
- * broadcast native (Cosmos SDK) transactions, with a `bankSend` convenience for
557
+ * broadcast native (QoreChain Native) transactions, with a `bankSend` convenience for
557
558
  * the common transfer case. It is constructed in two ways:
558
559
  *
559
560
  * - {@link TxClient.connect} — the production path: connect to the network's
@@ -600,7 +601,7 @@ interface AutoFeeOptions {
600
601
  /**
601
602
  * Build the {@link AminoTypes} used for Amino-mode signing.
602
603
  *
603
- * Seeds cosmjs's `createDefaultAminoConverters()` (standard Cosmos modules:
604
+ * Seeds cosmjs's `createDefaultAminoConverters()` (standard Native modules:
604
605
  * bank, staking, gov, distribution, IBC, etc.) and merges any `extra`
605
606
  * converters on top — e.g. for QoreChain custom modules to support Ledger.
606
607
  *
@@ -635,14 +636,14 @@ interface TxConnectOptions {
635
636
  * {@link directSignerFromPrivateKey}) or an Amino signer — including the
636
637
  * `OfflineSigner` returned by a browser wallet's `getOfflineSignerAuto`
637
638
  * (Keplr/Leap), which picks DIRECT or Amino automatically. Custom QoreChain
638
- * messages sign via DIRECT mode; Amino mode covers standard Cosmos messages
639
+ * messages sign via DIRECT mode; Amino mode covers standard Native messages
639
640
  * (see `aminoTypes`).
640
641
  */
641
642
  signer: OfflineSigner;
642
643
  /**
643
644
  * Extra protobuf message types to register, as `[typeUrl, GeneratedType]`
644
645
  * pairs. Added on top of the default {@link qorechainRegistry} (standard
645
- * Cosmos types + all QoreChain custom-module messages). Use this for messages
646
+ * Native types + all QoreChain custom-module messages). Use this for messages
646
647
  * the SDK does not ship, e.g. from a private module. Ignored if `registry`
647
648
  * is supplied.
648
649
  */
@@ -655,7 +656,7 @@ interface TxConnectOptions {
655
656
  /**
656
657
  * Amino converters for Amino-mode signing (Ledger and some hardware/mobile
657
658
  * wallets sign Amino). Defaults to cosmjs's `createDefaultAminoConverters()`,
658
- * which covers the standard Cosmos modules (bank, staking, gov, distribution,
659
+ * which covers the standard Native modules (bank, staking, gov, distribution,
659
660
  * etc.). When set, this replaces the defaults entirely — to add converters on
660
661
  * top of the defaults use {@link extraAminoConverters} instead.
661
662
  *
@@ -666,7 +667,7 @@ interface TxConnectOptions {
666
667
  /**
667
668
  * Extra Amino converters merged on top of the default converters. Use this to
668
669
  * register converters for custom modules (e.g. for Ledger support) without
669
- * losing the standard Cosmos converters. Ignored if `aminoTypes` is supplied.
670
+ * losing the standard Native converters. Ignored if `aminoTypes` is supplied.
670
671
  */
671
672
  extraAminoConverters?: AminoConverters;
672
673
  /** Additional cosmjs `SigningStargateClientOptions` (gas price, etc.). */
@@ -893,7 +894,7 @@ interface ClientCrossVm {
893
894
  interface QoreChainClient {
894
895
  /** The resolved network config (with any endpoint/chain-id overrides applied). */
895
896
  readonly network: NetworkConfig;
896
- /** Cosmos + QoreChain REST read client (uses `endpoints.rest`). */
897
+ /** Native + QoreChain REST read client (uses `endpoints.rest`). */
897
898
  readonly rest: RestClient;
898
899
  /** EVM JSON-RPC client (uses `endpoints.evmRpc`). */
899
900
  readonly evm: JsonRpcClient;
@@ -1262,7 +1263,7 @@ interface Ed25519Account extends Account {
1262
1263
  * Mnemonic generation/validation and hierarchical-deterministic (HD) derivation
1263
1264
  * of QoreChain accounts in all three supported schemes:
1264
1265
  *
1265
- * 1. native — Cosmos-style secp256k1, BIP-44 path `m/44'/118'/0'/0/{index}`,
1266
+ * 1. native — Native secp256k1, BIP-44 path `m/44'/118'/0'/0/{index}`,
1266
1267
  * address = bech32(`qor`, ripemd160(sha256(compressedPubkey))).
1267
1268
  * 2. evm — secp256k1, BIP-44 path `m/44'/60'/0'/0/{index}`,
1268
1269
  * address = `0x` + last 20 bytes of keccak256(uncompressedPubkey[1:]),
@@ -1301,7 +1302,7 @@ declare function generateMnemonic(strength?: 128 | 256): string;
1301
1302
  */
1302
1303
  declare function validateMnemonic(mnemonic: string): boolean;
1303
1304
  /**
1304
- * Derive a native QoreChain account (Cosmos-style secp256k1) from a mnemonic.
1305
+ * Derive a native QoreChain account (Native secp256k1) from a mnemonic.
1305
1306
  *
1306
1307
  * Path: `m/44'/118'/0'/0/{accountIndex}`. The address is the bech32 (`qor`)
1307
1308
  * encoding of `ripemd160(sha256(compressedPublicKey))`.
@@ -1521,7 +1522,7 @@ declare function pqcVerify(publicKey: Uint8Array, message: Uint8Array, signature
1521
1522
  * The tx-builder is responsible for encoding this and attaching it under
1522
1523
  * {@link HYBRID_SIG_TYPE_URL}.
1523
1524
  */
1524
- interface PQCHybridSignature {
1525
+ interface PQCHybridSignature$1 {
1525
1526
  /** PQC algorithm ID (core `AlgorithmID`). */
1526
1527
  algorithm_id: AlgorithmID;
1527
1528
  /** Raw PQC signature bytes. */
@@ -1543,7 +1544,7 @@ declare function buildHybridSignatureExtension(args: {
1543
1544
  algorithmId: AlgorithmID;
1544
1545
  signature: Uint8Array;
1545
1546
  publicKey?: Uint8Array;
1546
- }): PQCHybridSignature;
1547
+ }): PQCHybridSignature$1;
1547
1548
  /**
1548
1549
  * A pqc-only {@link Signer}: produces an ML-DSA-87 (Dilithium-5) signature and
1549
1550
  * no classical signature. Corresponds to the chain's `pqc_only` key type.
@@ -1583,6 +1584,198 @@ declare class HybridSigner implements Signer {
1583
1584
  sign(message: Uint8Array): Promise<SignOutput>;
1584
1585
  }
1585
1586
 
1587
+ /**
1588
+ * Unified eth-native QoreChain accounts.
1589
+ *
1590
+ * ONE `eth_secp256k1` key = ONE 20-byte identity, rendered THREE ways so a wallet
1591
+ * never "has funds on one lane but not another". The 20 bytes are the Ethereum
1592
+ * derivation `keccak256(uncompressedPubkey[1:])[12:]`, so the key is natively
1593
+ * spendable on the EVM lane; the native (`qor1…`) and SVM (base58) forms are just
1594
+ * other encodings of the SAME 20 bytes — the chain reads one x/bank balance for
1595
+ * the account, visible under all three encodings.
1596
+ *
1597
+ * This is ADDITIVE. The legacy coin-118 native derivation
1598
+ * ({@link ../accounts/wallet.deriveNativeAccount}) is unchanged and still
1599
+ * supported; unified accounts are a distinct, opt-in identity model built on the
1600
+ * eth-native (coin-60) key.
1601
+ *
1602
+ * ```
1603
+ * {
1604
+ * mnemonic, privateKey (0x hex, 32B),
1605
+ * publicKey (33B compressed, 0x hex),
1606
+ * addressBytes (20B),
1607
+ * cosmos: "qor1…", // bech32
1608
+ * evm: "0x…" (EIP-55), // hex
1609
+ * svm: "<base58>", // base58(20B ‖ 12 zero bytes) = 32-byte addr
1610
+ * pqc: { publicKey, secretKey } // ML-DSA-87 (Dilithium-5), for the hybrid ante
1611
+ * }
1612
+ * ```
1613
+ *
1614
+ * Derivation uses audited primitives: @scure/bip39 (mnemonic + seed), @scure/bip32
1615
+ * (secp256k1 HD), @noble/curves (secp256k1), @noble/hashes (keccak256), @scure/base
1616
+ * (base58), and `@qorechain/pqc` (ML-DSA-87 + SHAKE-256). Secret material is
1617
+ * returned explicitly and never logged.
1618
+ */
1619
+
1620
+ /**
1621
+ * The three address encodings of a single 20-byte QoreChain account, plus the
1622
+ * raw address bytes.
1623
+ */
1624
+ interface UnifiedAddresses {
1625
+ /** The raw 20-byte account address. */
1626
+ addressBytes: Uint8Array;
1627
+ /** Bech32 (`qor1…`) native encoding. */
1628
+ cosmos: string;
1629
+ /** `0x`-prefixed, EIP-55 mixed-case checksummed hex encoding. */
1630
+ evm: string;
1631
+ /** base58 of the 32-byte SVM address (`addr20 ‖ 12 zero bytes`). */
1632
+ svm: string;
1633
+ }
1634
+ /**
1635
+ * A fully derived unified eth-native account: one secp256k1 key rendered as all
1636
+ * three QoreChain address encodings, plus its deterministic ML-DSA-87 PQC keypair
1637
+ * for the hybrid ante.
1638
+ *
1639
+ * Secret fields (`mnemonic`, `privateKey`, `pqc.secretKey`) are returned so the
1640
+ * caller can sign; they are never logged by the SDK.
1641
+ */
1642
+ interface UnifiedAccount extends UnifiedAddresses {
1643
+ /**
1644
+ * The BIP-39 mnemonic this account was derived from, when derived from a
1645
+ * mnemonic. `undefined` for seed-derived accounts
1646
+ * ({@link unifiedAccountFromSeed}).
1647
+ */
1648
+ mnemonic?: string;
1649
+ /** `0x`-prefixed 32-byte secp256k1 private key. Handle as a secret. */
1650
+ privateKey: string;
1651
+ /** `0x`-prefixed 33-byte compressed secp256k1 public key. */
1652
+ publicKey: string;
1653
+ /** The ML-DSA-87 (Dilithium-5) keypair for the hybrid signature extension. */
1654
+ pqc: PqcKeypair;
1655
+ }
1656
+ /**
1657
+ * Derive the three address encodings from a 20-byte account address.
1658
+ *
1659
+ * The SVM form is the base58 of the 32-byte address `addr20 ‖ 12 zero bytes`
1660
+ * (right-padded), matching the chain's unified 32-byte SVM address layout.
1661
+ *
1662
+ * @throws if `addr20` is not exactly 20 bytes.
1663
+ */
1664
+ declare function addressesFrom20(addr20: Uint8Array): UnifiedAddresses;
1665
+ /**
1666
+ * Decode any ONE of the three encodings of a unified account into all three.
1667
+ *
1668
+ * Provide exactly one of `cosmos` (`qor1…`), `evm` (`0x…`), or `hex` (20-byte
1669
+ * hex, with or without `0x`). The SVM base58 form is not accepted as input here
1670
+ * (it right-pads to 32 bytes; decode SVM externally to its 20-byte prefix if
1671
+ * needed).
1672
+ *
1673
+ * @throws if none of the inputs is provided, or the decoded payload is not 20 bytes.
1674
+ */
1675
+ declare function qoreAddresses(input: {
1676
+ cosmos?: string;
1677
+ evm?: string;
1678
+ hex?: string;
1679
+ }): UnifiedAddresses;
1680
+ /**
1681
+ * Derive a unified eth-native QoreChain account from a BIP-39 mnemonic.
1682
+ *
1683
+ * HD path: `m/44'/60'/0'/0/{index}` (SLIP-10 secp256k1). The 20-byte address is
1684
+ * `keccak256(uncompressedPubkey[1:])[12:]`; the PQC key is deterministically
1685
+ * derived from `shake256("qorechain:pqc:v1|" + cosmos + "|" + mnemonic, 32)`.
1686
+ *
1687
+ * @param mnemonic - A valid BIP-39 English mnemonic. Validated (checksum too).
1688
+ * @param index - Zero-based address index (last path segment). Defaults to `0`.
1689
+ * @throws if the mnemonic is invalid or `index` is not a non-negative integer.
1690
+ */
1691
+ declare function deriveUnifiedAccount(mnemonic: string, index?: number): Promise<UnifiedAccount>;
1692
+ /**
1693
+ * Build a unified eth-native account directly from a 32-byte seed used AS the
1694
+ * secp256k1 private key (no HD derivation).
1695
+ *
1696
+ * Same address derivation as {@link deriveUnifiedAccount}; the PQC key is derived
1697
+ * from `shake256("qorechain:pqc:v1|" + cosmos + "|seed:" + hex(seed32), 32)` (note
1698
+ * the literal `"seed:"` prefix, so a seed-derived PQC key never collides with a
1699
+ * mnemonic-derived one). Use this for accounts anchored to a signature or an
1700
+ * externally supplied secret (see the Phantom P1a helper).
1701
+ *
1702
+ * @param seed32 - Exactly 32 bytes, used directly as the secp256k1 private key.
1703
+ * @throws if `seed32` is not 32 bytes or is not a valid secp256k1 scalar.
1704
+ */
1705
+ declare function unifiedAccountFromSeed(seed32: Uint8Array): UnifiedAccount;
1706
+
1707
+ /**
1708
+ * Phantom P1a — derive a unified QoreChain account from a Phantom signature.
1709
+ *
1710
+ * A user can bootstrap ONE canonical QoreChain identity (native / EVM / SVM, one
1711
+ * balance) from their Phantom wallet WITHOUT exporting any key: they sign a fixed,
1712
+ * domain-separated message with Phantom's ed25519 key, and the 32-byte SHAKE-256
1713
+ * of that signature seeds a unified eth-native secp256k1 account
1714
+ * ({@link ../accounts/unified.unifiedAccountFromSeed}).
1715
+ *
1716
+ * This is NON-CUSTODIAL and produces a SEPARATE canonical key from the Phantom
1717
+ * ed25519 key — Phantom never sees the derived secp256k1/PQC secrets, and the
1718
+ * derived account is a distinct on-chain identity, not the Phantom address. As
1719
+ * long as the same Phantom key signs the same fixed message, the same QoreChain
1720
+ * account is reproduced deterministically.
1721
+ */
1722
+
1723
+ /**
1724
+ * The fixed domain-separation prefix signed by Phantom. The full signed message
1725
+ * is this line, a newline, and the signer's base58 public key — binding the
1726
+ * derivation to the specific Phantom key.
1727
+ */
1728
+ declare const PHANTOM_DERIVATION_DOMAIN = "QoreChain unified account derivation v1";
1729
+ /**
1730
+ * Derive a unified QoreChain account from a raw Phantom (ed25519) signature.
1731
+ *
1732
+ * The account seed is `shake256(signatureBytes, 32)`, used directly as the
1733
+ * eth-native secp256k1 private key. Deterministic: the same signature always
1734
+ * yields the same account.
1735
+ *
1736
+ * @param signatureBytes - The raw ed25519 signature bytes returned by the wallet.
1737
+ */
1738
+ declare function unifiedAccountFromPhantomSignature(signatureBytes: Uint8Array): UnifiedAccount;
1739
+ /**
1740
+ * The minimal shape of an injected Phantom-style provider used here: `connect`
1741
+ * to obtain the public key and `signMessage` to sign the derivation message.
1742
+ */
1743
+ interface PhantomProvider {
1744
+ connect(): Promise<{
1745
+ publicKey: {
1746
+ toBytes(): Uint8Array;
1747
+ } | Uint8Array;
1748
+ }>;
1749
+ publicKey?: {
1750
+ toBytes(): Uint8Array;
1751
+ } | Uint8Array | null;
1752
+ signMessage(message: Uint8Array, encoding?: string): Promise<{
1753
+ signature: Uint8Array;
1754
+ } | Uint8Array>;
1755
+ }
1756
+ /** Options for {@link connectPhantomUnified}. */
1757
+ interface ConnectPhantomUnifiedOptions {
1758
+ /**
1759
+ * The Phantom-style provider. Defaults to `window.solana` in a browser. Pass an
1760
+ * explicit provider in tests or non-`window.solana` environments.
1761
+ */
1762
+ provider?: PhantomProvider;
1763
+ }
1764
+ /**
1765
+ * Connect Phantom in the browser and derive the user's unified QoreChain account.
1766
+ *
1767
+ * Flow: `connect()` → sign the fixed domain-separated message
1768
+ * `"QoreChain unified account derivation v1\n<phantom-pubkey-base58>"` → derive the
1769
+ * unified account from the signature via
1770
+ * {@link unifiedAccountFromPhantomSignature}.
1771
+ *
1772
+ * NON-CUSTODIAL: the returned account is a separate canonical key from the Phantom
1773
+ * ed25519 key; Phantom never handles the derived secp256k1/PQC secrets.
1774
+ *
1775
+ * @throws if no provider is available or the wallet returns no public key.
1776
+ */
1777
+ declare function connectPhantomUnified(opts?: ConnectPhantomUnifiedOptions): Promise<UnifiedAccount>;
1778
+
1586
1779
  /**
1587
1780
  * CosmWasm contract interaction for QoreChain.
1588
1781
  *
@@ -1711,7 +1904,7 @@ declare function getCodeDetails<T = unknown>(client: CosmWasmReadClient, codeId:
1711
1904
  declare function directSignerFromPrivateKey(privateKey: Uint8Array, prefix: string): Promise<OfflineDirectSigner>;
1712
1905
 
1713
1906
  /**
1714
- * Structured decoding of failed Cosmos SDK transaction results.
1907
+ * Structured decoding of failed QoreChain Native transaction results.
1715
1908
  *
1716
1909
  * When a transaction fails, the node returns an ABCI result with a non-zero
1717
1910
  * `code`, a `codespace` naming the module that rejected it, and a `rawLog`
@@ -1887,7 +2080,7 @@ declare function buildTxQuery(filters?: TxQueryFilters): string;
1887
2080
  declare function subscribeTx(client: SubscriptionClient, query: string | TxQueryFilters, handler: Handler<TxEventLike>, onError?: Handler<unknown>): Unsubscribe;
1888
2081
 
1889
2082
  /**
1890
- * Block and transaction lookup/search over the Cosmos REST (LCD) endpoints.
2083
+ * Block and transaction lookup/search over the Native REST (LCD) endpoints.
1891
2084
  *
1892
2085
  * Wraps the standard `/cosmos/tx/v1beta1` and `/cosmos/base/tendermint/v1beta1`
1893
2086
  * routes: fetch a single transaction by hash, fetch a block by height (or the
@@ -2117,7 +2310,7 @@ interface AttachHybridOptions {
2117
2310
  * module header — the chain reads this extension by type URL + JSON decoding,
2118
2311
  * not protobuf).
2119
2312
  */
2120
- declare function encodeHybridExtension(ext: PQCHybridSignature): Any;
2313
+ declare function encodeHybridExtension(ext: PQCHybridSignature$1): Any;
2121
2314
  /**
2122
2315
  * Return a copy of `body` with the encoded hybrid-signature extension attached.
2123
2316
  *
@@ -2128,7 +2321,7 @@ declare function encodeHybridExtension(ext: PQCHybridSignature): Any;
2128
2321
  * @see The module header — both the placement and the bytes the PQC signature
2129
2322
  * must cover require live-testnet verification against the `full` build.
2130
2323
  */
2131
- declare function attachHybridExtension(body: TxBody, ext: PQCHybridSignature, opts?: AttachHybridOptions): TxBody;
2324
+ declare function attachHybridExtension(body: TxBody, ext: PQCHybridSignature$1, opts?: AttachHybridOptions): TxBody;
2132
2325
 
2133
2326
  /**
2134
2327
  * End-to-end hybrid (classical + post-quantum) transaction signing for
@@ -2280,7 +2473,358 @@ interface SignAndBroadcastHybridOptions extends BuildHybridTxOptions {
2280
2473
  */
2281
2474
  declare function signAndBroadcastHybrid(opts: SignAndBroadcastHybridOptions): Promise<BroadcastResult>;
2282
2475
 
2283
- declare const protobufPackage$k = "qorechain.bridge.v1";
2476
+ /**
2477
+ * eth_secp256k1 native-lane (QoreChain Native) transaction signing for QoreChain.
2478
+ *
2479
+ * A unified eth-native account (address = `keccak256(pubkey)[12:]`, see
2480
+ * {@link ../accounts/unified.deriveUnifiedAccount}) signs native transactions with
2481
+ * the `eth_secp256k1` scheme instead of the classic Native secp256k1 scheme. Two
2482
+ * things differ from the standard path:
2483
+ *
2484
+ * 1. The classical signature is secp256k1 over the **keccak256** of the SignDoc
2485
+ * bytes (NOT sha256), serialized as the 64-byte `r ‖ s` (low-s normalized).
2486
+ * 2. The `SignerInfo` public key `Any` uses the type URL
2487
+ * {@link ETHSECP256K1_PUBKEY_TYPE}; its `value` is the SAME wire shape as the
2488
+ * standard Native secp256k1 `PubKey` (`{ key: compressedPubkey }`), only the
2489
+ * type URL differs.
2490
+ *
2491
+ * This is the same account that spends on the EVM lane, so its `qor1…` / `0x…` /
2492
+ * base58 forms are one identity. Mainnet enforces the ML-DSA-87 hybrid extension;
2493
+ * {@link signHybridEth} attaches it, while {@link signClassicalEth} omits it (used
2494
+ * only for the one-time, bootstrap-exempt `MsgRegisterPQCKeyV2`).
2495
+ *
2496
+ * The hybrid PQC framing/extension reuse the SDK's existing, live-testnet-verified
2497
+ * helpers ({@link ../tx/hybrid.encodeHybridExtension}, the `BE32(len)`-prefixed
2498
+ * frame, and {@link ../accounts/pqc.buildHybridSignatureExtension}); only the
2499
+ * classical hash (keccak vs sha256) and the pubkey type URL change here.
2500
+ */
2501
+
2502
+ /**
2503
+ * The cosmos/evm `eth_secp256k1` public-key type URL. Its wire shape is identical
2504
+ * to the Native secp256k1 `PubKey` (`{ key: bytes }`); only the type URL differs.
2505
+ */
2506
+ declare const ETHSECP256K1_PUBKEY_TYPE = "/cosmos.evm.crypto.v1.ethsecp256k1.PubKey";
2507
+ /** The minimal account key material the eth signers need. */
2508
+ interface EthSigningKey {
2509
+ /** `0x`-prefixed 32-byte secp256k1 private key. */
2510
+ privateKey: string;
2511
+ /** `0x`-prefixed 33-byte compressed secp256k1 public key. */
2512
+ publicKey: string;
2513
+ /** The ML-DSA-87 keypair (required for {@link signHybridEth}). */
2514
+ pqc?: PqcKeypair;
2515
+ }
2516
+ /** Shared per-tx signing parameters. */
2517
+ interface EthSignParams {
2518
+ /** The signing account (`privateKey`, `publicKey`, and `pqc` for hybrid). */
2519
+ account: EthSigningKey;
2520
+ /** The chain id (e.g. `"qorechain-vladi"`). */
2521
+ chainId: string;
2522
+ /** The on-chain account number of the signer. */
2523
+ accountNumber: number | bigint;
2524
+ /** The transaction messages as `{ typeUrl, value }` encode objects. */
2525
+ messages: readonly EncodeObject[];
2526
+ /** The fee to pay. */
2527
+ fee: StdFee;
2528
+ /** The signer's current account sequence (nonce). */
2529
+ sequence: number | bigint;
2530
+ /** Optional memo. Defaults to `""`. */
2531
+ memo?: string;
2532
+ /** Optional `timeoutHeight` for the tx body. Defaults to `0n`. */
2533
+ timeoutHeight?: bigint;
2534
+ /**
2535
+ * A protobuf {@link EncodeObject}-to-`Any` encoder. Callers should pass a
2536
+ * registry-bound encoder (e.g. `(m) => registry.encodeAsAny(m)`) so custom
2537
+ * message types resolve. When omitted, only pre-encoded `Any` messages (whose
2538
+ * `value` is already a `Uint8Array`) are accepted.
2539
+ */
2540
+ encodeMessage?: (m: EncodeObject) => Any;
2541
+ }
2542
+ /** The result of an eth-native sign: the broadcastable `TxRaw` and artifacts. */
2543
+ interface SignedEthTx {
2544
+ /** Encoded `TxRaw` bytes, ready to broadcast. */
2545
+ txRawBytes: Uint8Array;
2546
+ /** The assembled `TxRaw`. */
2547
+ txRaw: TxRaw;
2548
+ /** The final `bodyBytes` (with the PQC extension for hybrid; B0 for classical). */
2549
+ bodyBytes: Uint8Array;
2550
+ /** The `authInfoBytes`. */
2551
+ authInfoBytes: Uint8Array;
2552
+ /** The 64-byte classical `r ‖ s` signature over `keccak256(signDoc)`. */
2553
+ classicalSignature: Uint8Array;
2554
+ }
2555
+ /**
2556
+ * Sign a native tx with the eth_secp256k1 CLASSICAL scheme only (no PQC extension).
2557
+ *
2558
+ * Use for the one-time `MsgRegisterPQCKeyV2`, which is bootstrap-exempt from the
2559
+ * hybrid requirement. All other txs from a unified account should use
2560
+ * {@link signHybridEth}.
2561
+ */
2562
+ declare function signClassicalEth(params: EthSignParams): SignedEthTx;
2563
+ /**
2564
+ * Sign a native tx with the eth_secp256k1 + ML-DSA-87 HYBRID scheme.
2565
+ *
2566
+ * The chain verifies the PQC signature over the tx body WITHOUT the PQC extension
2567
+ * (`B0`), framed with `authInfoBytes`: `BE32(len B0) || B0 || BE32(len A) || A`.
2568
+ * The classical signature then covers the FINAL body (with the extension) via
2569
+ * SIGN_MODE_DIRECT (keccak256 hash). This mirrors the SDK's existing hybrid path
2570
+ * ({@link ../tx/hybrid-tx.buildHybridTx}); only the classical hash and the pubkey
2571
+ * type URL are eth-native here.
2572
+ *
2573
+ * @throws if `account.pqc` is not provided.
2574
+ */
2575
+ declare function signHybridEth(params: EthSignParams): SignedEthTx;
2576
+
2577
+ /**
2578
+ * The eth-native tx lane: a signer that drives a unified eth-native account
2579
+ * through the QoreChain Native tx path (`bankSend` / generic sends), plus the account
2580
+ * parser the read side needs to accept an `eth_secp256k1` on-chain pubkey.
2581
+ *
2582
+ * A unified account ({@link ../accounts/unified.deriveUnifiedAccount}) signs with
2583
+ * the eth_secp256k1 scheme (keccak256 hash + {@link ETHSECP256K1_PUBKEY_TYPE}
2584
+ * pubkey), which cosmjs's standard `OfflineDirectSigner` does not produce. Rather
2585
+ * than force it into cosmjs, {@link EthNativeSigner} builds the `TxRaw` natively
2586
+ * via {@link signHybridEth} / {@link signClassicalEth} and hands the bytes to a
2587
+ * minimal broadcast transport (which a connected cosmjs `StargateClient`
2588
+ * satisfies).
2589
+ *
2590
+ * On the read side, an account whose `pub_key` is an `eth_secp256k1` `Any` must
2591
+ * still be decoded for its `account_number` / `sequence`; {@link parseEthPubkeyAny}
2592
+ * and {@link accountAuthInfo} handle that (the pubkey value is wire-identical to
2593
+ * the Native secp256k1 `PubKey`, only the type URL differs).
2594
+ */
2595
+
2596
+ /** A minimal transport for broadcasting raw tx bytes. A cosmjs `StargateClient`
2597
+ * (or `SigningStargateClient`) satisfies this via `broadcastTx`. */
2598
+ interface EthBroadcaster {
2599
+ broadcastTx(tx: Uint8Array, timeoutMs?: number, pollIntervalMs?: number): Promise<{
2600
+ code: number;
2601
+ transactionHash: string;
2602
+ height?: number;
2603
+ gasUsed?: bigint;
2604
+ gasWanted?: bigint;
2605
+ rawLog?: string;
2606
+ }>;
2607
+ }
2608
+ /** The `{ accountNumber, sequence }` pair a signer needs for a SignDoc. */
2609
+ interface AccountSequence {
2610
+ accountNumber: number | bigint;
2611
+ sequence: number | bigint;
2612
+ }
2613
+ /** Options for {@link EthNativeSigner}. */
2614
+ interface EthNativeSignerOptions {
2615
+ /**
2616
+ * The message registry used to encode messages into the tx body. Defaults to
2617
+ * {@link qorechainRegistry} (standard Native + all QoreChain custom messages).
2618
+ */
2619
+ registry?: Registry;
2620
+ /**
2621
+ * The signing posture: `"hybrid"` (default) attaches the ML-DSA-87 extension
2622
+ * required by mainnet; `"classical"` omits it (only for the bootstrap
2623
+ * `MsgRegisterPQCKeyV2`).
2624
+ */
2625
+ signMode?: "hybrid" | "classical";
2626
+ }
2627
+ /** Params for building/broadcasting a tx with {@link EthNativeSigner}. */
2628
+ interface EthTxParams extends AccountSequence {
2629
+ chainId: string;
2630
+ messages: readonly EncodeObject[];
2631
+ fee: StdFee;
2632
+ memo?: string;
2633
+ timeoutHeight?: bigint;
2634
+ }
2635
+ /**
2636
+ * Sign QoreChain native txs from a unified eth-native account.
2637
+ *
2638
+ * The account's `eth_secp256k1` key signs via keccak256 + the ethsecp256k1 pubkey
2639
+ * type URL. Use {@link sign} to produce a broadcastable `TxRaw`, or
2640
+ * {@link bankSend} / {@link signAndBroadcast} with a transport to submit it.
2641
+ */
2642
+ declare class EthNativeSigner {
2643
+ /** The signing account's `qor1…` (native) address. */
2644
+ readonly address: string;
2645
+ private readonly key;
2646
+ private readonly registry;
2647
+ private readonly signMode;
2648
+ constructor(account: UnifiedAccount, opts?: EthNativeSignerOptions);
2649
+ /** Encode a message to `Any` via the bound registry. */
2650
+ private encode;
2651
+ /** Build and sign a `TxRaw` for the given messages. Does not broadcast. */
2652
+ sign(params: EthTxParams): SignedEthTx;
2653
+ /** Sign and broadcast the given messages via `transport`. */
2654
+ signAndBroadcast(transport: EthBroadcaster, params: EthTxParams): Promise<{
2655
+ transactionHash: string;
2656
+ code: number;
2657
+ height?: number;
2658
+ gasUsed?: bigint;
2659
+ gasWanted?: bigint;
2660
+ rawLog?: string;
2661
+ }>;
2662
+ /** Send `amount` to `toAddress` via a bank `MsgSend`, signed eth-native. */
2663
+ bankSend(transport: EthBroadcaster, toAddress: string, amount: Coin$1[], params: Omit<EthTxParams, "messages">): Promise<{
2664
+ transactionHash: string;
2665
+ code: number;
2666
+ }>;
2667
+ }
2668
+ /**
2669
+ * Decode a signer's public key `Any`, accepting BOTH the Native secp256k1 pubkey
2670
+ * type and the `eth_secp256k1` type ({@link ETHSECP256K1_PUBKEY_TYPE}). The two
2671
+ * carry the same wire shape (`{ key: compressedPubkey }`); only the type URL
2672
+ * differs. Returns the 33-byte compressed public key.
2673
+ *
2674
+ * @throws if the `Any` is not one of the accepted secp256k1 pubkey types.
2675
+ */
2676
+ declare function parseEthPubkeyAny(pubkey: Any): Uint8Array;
2677
+ /** The auth info read off a `BaseAccount`, with the account's pubkey (if set). */
2678
+ interface ParsedAccountAuth {
2679
+ accountNumber: bigint;
2680
+ sequence: bigint;
2681
+ /** The 33-byte compressed pubkey, when the account has one on chain. */
2682
+ publicKey?: Uint8Array;
2683
+ /** The pubkey type URL as stored on chain, when present. */
2684
+ pubkeyType?: string;
2685
+ }
2686
+ /**
2687
+ * Parse a protobuf `BaseAccount`'s `account_number` / `sequence` (and pubkey when
2688
+ * present), accepting an `eth_secp256k1` pubkey `Any`.
2689
+ *
2690
+ * Use this to read the sequence for building a SignDoc when an account was
2691
+ * created eth-native (its on-chain pubkey uses {@link ETHSECP256K1_PUBKEY_TYPE},
2692
+ * which cosmjs's default account parser rejects).
2693
+ */
2694
+ declare function accountAuthInfo(account: BaseAccount): ParsedAccountAuth;
2695
+
2696
+ declare const protobufPackage$o = "qorechain.svm.v1";
2697
+ interface MsgDeployProgram {
2698
+ sender: string;
2699
+ bytecode: Uint8Array;
2700
+ }
2701
+ declare const MsgDeployProgram: MessageFns$p<MsgDeployProgram>;
2702
+ interface MsgDeployProgramResponse {
2703
+ programId: Uint8Array;
2704
+ }
2705
+ declare const MsgDeployProgramResponse: MessageFns$p<MsgDeployProgramResponse>;
2706
+ interface MsgCreateAccount {
2707
+ sender: string;
2708
+ owner: Uint8Array;
2709
+ space: string;
2710
+ lamports: string;
2711
+ salt: Uint8Array;
2712
+ }
2713
+ declare const MsgCreateAccount: MessageFns$p<MsgCreateAccount>;
2714
+ interface MsgCreateAccountResponse {
2715
+ }
2716
+ declare const MsgCreateAccountResponse: MessageFns$p<MsgCreateAccountResponse>;
2717
+ interface SvmAccountMeta {
2718
+ address: Uint8Array;
2719
+ isSigner: boolean;
2720
+ isWritable: boolean;
2721
+ }
2722
+ declare const SvmAccountMeta: MessageFns$p<SvmAccountMeta>;
2723
+ /**
2724
+ * SVMAuth carries a foreign-scheme (e.g. Phantom ed25519) authorization for an
2725
+ * SVM action. When present on MsgExecuteProgram, the EFFECTIVE SVM signer is the
2726
+ * canonical account this key authenticates (verified on-chain), NOT the Native
2727
+ * `sender` — so any funded account may relay a Phantom-authorized action through
2728
+ * consensus while the foreign key remains the authority.
2729
+ */
2730
+ interface SVMAuth {
2731
+ /** "ed25519" | "secp256k1" */
2732
+ scheme: string;
2733
+ pubkey: Uint8Array;
2734
+ signature: Uint8Array;
2735
+ /** raw 32-byte recent blockhash */
2736
+ recentBlockhash: Uint8Array;
2737
+ }
2738
+ declare const SVMAuth: MessageFns$p<SVMAuth>;
2739
+ interface MsgExecuteProgram {
2740
+ sender: string;
2741
+ programId: Uint8Array;
2742
+ accounts: SvmAccountMeta[];
2743
+ data: Uint8Array;
2744
+ /** optional foreign-scheme authorization (relayed) */
2745
+ auth?: SVMAuth | undefined;
2746
+ }
2747
+ declare const MsgExecuteProgram: MessageFns$p<MsgExecuteProgram>;
2748
+ interface MsgExecuteProgramResponse {
2749
+ result: Uint8Array;
2750
+ }
2751
+ declare const MsgExecuteProgramResponse: MessageFns$p<MsgExecuteProgramResponse>;
2752
+ interface MsgRegisterSVMPQCKey {
2753
+ sender: string;
2754
+ svmAddr: Uint8Array;
2755
+ pqcPubKey: Uint8Array;
2756
+ }
2757
+ declare const MsgRegisterSVMPQCKey: MessageFns$p<MsgRegisterSVMPQCKey>;
2758
+ interface MsgRegisterSVMPQCKeyResponse {
2759
+ }
2760
+ declare const MsgRegisterSVMPQCKeyResponse: MessageFns$p<MsgRegisterSVMPQCKeyResponse>;
2761
+ type MsgDefinition$a = typeof MsgDefinition$a;
2762
+ declare const MsgDefinition$a: {
2763
+ readonly name: "Msg";
2764
+ readonly fullName: "qorechain.svm.v1.Msg";
2765
+ readonly methods: {
2766
+ readonly deployProgram: {
2767
+ readonly name: "DeployProgram";
2768
+ readonly requestType: typeof MsgDeployProgram;
2769
+ readonly requestStream: false;
2770
+ readonly responseType: typeof MsgDeployProgramResponse;
2771
+ readonly responseStream: false;
2772
+ readonly options: {};
2773
+ };
2774
+ readonly createAccount: {
2775
+ readonly name: "CreateAccount";
2776
+ readonly requestType: typeof MsgCreateAccount;
2777
+ readonly requestStream: false;
2778
+ readonly responseType: typeof MsgCreateAccountResponse;
2779
+ readonly responseStream: false;
2780
+ readonly options: {};
2781
+ };
2782
+ readonly executeProgram: {
2783
+ readonly name: "ExecuteProgram";
2784
+ readonly requestType: typeof MsgExecuteProgram;
2785
+ readonly requestStream: false;
2786
+ readonly responseType: typeof MsgExecuteProgramResponse;
2787
+ readonly responseStream: false;
2788
+ readonly options: {};
2789
+ };
2790
+ readonly registerSVMPQCKey: {
2791
+ readonly name: "RegisterSVMPQCKey";
2792
+ readonly requestType: typeof MsgRegisterSVMPQCKey;
2793
+ readonly requestStream: false;
2794
+ readonly responseType: typeof MsgRegisterSVMPQCKeyResponse;
2795
+ readonly responseStream: false;
2796
+ readonly options: {};
2797
+ };
2798
+ };
2799
+ };
2800
+ type Builtin$p = Date | Function | Uint8Array | string | number | boolean | undefined;
2801
+ type DeepPartial$p<T> = T extends Builtin$p ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$p<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$p<U>> : T extends {} ? {
2802
+ [K in keyof T]?: DeepPartial$p<T[K]>;
2803
+ } : Partial<T>;
2804
+ interface MessageFns$p<T> {
2805
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
2806
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
2807
+ fromJSON(object: any): T;
2808
+ toJSON(message: T): unknown;
2809
+ create(base?: DeepPartial$p<T>): T;
2810
+ fromPartial(object: DeepPartial$p<T>): T;
2811
+ }
2812
+
2813
+ declare const tx$a_MsgCreateAccount: typeof MsgCreateAccount;
2814
+ declare const tx$a_MsgCreateAccountResponse: typeof MsgCreateAccountResponse;
2815
+ declare const tx$a_MsgDeployProgram: typeof MsgDeployProgram;
2816
+ declare const tx$a_MsgDeployProgramResponse: typeof MsgDeployProgramResponse;
2817
+ declare const tx$a_MsgExecuteProgram: typeof MsgExecuteProgram;
2818
+ declare const tx$a_MsgExecuteProgramResponse: typeof MsgExecuteProgramResponse;
2819
+ declare const tx$a_MsgRegisterSVMPQCKey: typeof MsgRegisterSVMPQCKey;
2820
+ declare const tx$a_MsgRegisterSVMPQCKeyResponse: typeof MsgRegisterSVMPQCKeyResponse;
2821
+ declare const tx$a_SVMAuth: typeof SVMAuth;
2822
+ declare const tx$a_SvmAccountMeta: typeof SvmAccountMeta;
2823
+ declare namespace tx$a {
2824
+ export { type DeepPartial$p as DeepPartial, type MessageFns$p as MessageFns, tx$a_MsgCreateAccount as MsgCreateAccount, tx$a_MsgCreateAccountResponse as MsgCreateAccountResponse, MsgDefinition$a as MsgDefinition, tx$a_MsgDeployProgram as MsgDeployProgram, tx$a_MsgDeployProgramResponse as MsgDeployProgramResponse, tx$a_MsgExecuteProgram as MsgExecuteProgram, tx$a_MsgExecuteProgramResponse as MsgExecuteProgramResponse, tx$a_MsgRegisterSVMPQCKey as MsgRegisterSVMPQCKey, tx$a_MsgRegisterSVMPQCKeyResponse as MsgRegisterSVMPQCKeyResponse, tx$a_SVMAuth as SVMAuth, tx$a_SvmAccountMeta as SvmAccountMeta, protobufPackage$o as protobufPackage };
2825
+ }
2826
+
2827
+ declare const protobufPackage$n = "qorechain.bridge.v1";
2284
2828
  /**
2285
2829
  * MsgUpdateChainConfig sets/replaces a chain's bridge configuration. Empty
2286
2830
  * string / zero fields fall back to the existing config (merge semantics in the
@@ -2301,10 +2845,10 @@ interface MsgUpdateChainConfig {
2301
2845
  /** hex topic0 of the lock event (EVM/light-client chains) */
2302
2846
  lockEventSig: string;
2303
2847
  }
2304
- declare const MsgUpdateChainConfig: MessageFns$l<MsgUpdateChainConfig>;
2848
+ declare const MsgUpdateChainConfig: MessageFns$o<MsgUpdateChainConfig>;
2305
2849
  interface MsgUpdateChainConfigResponse {
2306
2850
  }
2307
- declare const MsgUpdateChainConfigResponse: MessageFns$l<MsgUpdateChainConfigResponse>;
2851
+ declare const MsgUpdateChainConfigResponse: MessageFns$o<MsgUpdateChainConfigResponse>;
2308
2852
  /**
2309
2853
  * MsgSetVerifierBootstrap installs a verifier trust root. Exactly one of the
2310
2854
  * sub-messages must be populated; the handler routes by which is non-nil.
@@ -2318,27 +2862,27 @@ interface MsgSetVerifierBootstrap {
2318
2862
  bitcoin?: BitcoinCheckpoint | undefined;
2319
2863
  starknetStateRoot: Uint8Array;
2320
2864
  }
2321
- declare const MsgSetVerifierBootstrap: MessageFns$l<MsgSetVerifierBootstrap>;
2865
+ declare const MsgSetVerifierBootstrap: MessageFns$o<MsgSetVerifierBootstrap>;
2322
2866
  interface MsgSetVerifierBootstrapResponse {
2323
2867
  }
2324
- declare const MsgSetVerifierBootstrapResponse: MessageFns$l<MsgSetVerifierBootstrapResponse>;
2868
+ declare const MsgSetVerifierBootstrapResponse: MessageFns$o<MsgSetVerifierBootstrapResponse>;
2325
2869
  interface WormholeGuardianSet {
2326
2870
  /** 20-byte guardian eth addresses */
2327
2871
  addresses: Uint8Array[];
2328
2872
  quorum: number;
2329
2873
  }
2330
- declare const WormholeGuardianSet: MessageFns$l<WormholeGuardianSet>;
2874
+ declare const WormholeGuardianSet: MessageFns$o<WormholeGuardianSet>;
2331
2875
  interface ValidatorQuorum {
2332
2876
  /** ed25519 (32B) or BLS (48B) pubkeys */
2333
2877
  pubkeys: Uint8Array[];
2334
2878
  threshold: number;
2335
2879
  }
2336
- declare const ValidatorQuorum: MessageFns$l<ValidatorQuorum>;
2880
+ declare const ValidatorQuorum: MessageFns$o<ValidatorQuorum>;
2337
2881
  interface BitcoinCheckpoint {
2338
2882
  blockHash: Uint8Array;
2339
2883
  minConfs: number;
2340
2884
  }
2341
- declare const BitcoinCheckpoint: MessageFns$l<BitcoinCheckpoint>;
2885
+ declare const BitcoinCheckpoint: MessageFns$o<BitcoinCheckpoint>;
2342
2886
  interface MsgBridgeDeposit {
2343
2887
  sender: string;
2344
2888
  sourceChain: string;
@@ -2348,10 +2892,10 @@ interface MsgBridgeDeposit {
2348
2892
  bridgeValidatorSigs: Uint8Array;
2349
2893
  pqcCommitment: Uint8Array;
2350
2894
  }
2351
- declare const MsgBridgeDeposit: MessageFns$l<MsgBridgeDeposit>;
2895
+ declare const MsgBridgeDeposit: MessageFns$o<MsgBridgeDeposit>;
2352
2896
  interface MsgBridgeDepositResponse {
2353
2897
  }
2354
- declare const MsgBridgeDepositResponse: MessageFns$l<MsgBridgeDepositResponse>;
2898
+ declare const MsgBridgeDepositResponse: MessageFns$o<MsgBridgeDepositResponse>;
2355
2899
  interface MsgBridgeWithdraw {
2356
2900
  sender: string;
2357
2901
  destinationChain: string;
@@ -2359,19 +2903,19 @@ interface MsgBridgeWithdraw {
2359
2903
  asset: string;
2360
2904
  amount: string;
2361
2905
  }
2362
- declare const MsgBridgeWithdraw: MessageFns$l<MsgBridgeWithdraw>;
2906
+ declare const MsgBridgeWithdraw: MessageFns$o<MsgBridgeWithdraw>;
2363
2907
  interface MsgBridgeWithdrawResponse {
2364
2908
  }
2365
- declare const MsgBridgeWithdrawResponse: MessageFns$l<MsgBridgeWithdrawResponse>;
2909
+ declare const MsgBridgeWithdrawResponse: MessageFns$o<MsgBridgeWithdrawResponse>;
2366
2910
  interface MsgRegisterBridgeValidator {
2367
2911
  validatorAddress: string;
2368
2912
  pqcPubkey: Uint8Array;
2369
2913
  supportedChains: string[];
2370
2914
  }
2371
- declare const MsgRegisterBridgeValidator: MessageFns$l<MsgRegisterBridgeValidator>;
2915
+ declare const MsgRegisterBridgeValidator: MessageFns$o<MsgRegisterBridgeValidator>;
2372
2916
  interface MsgRegisterBridgeValidatorResponse {
2373
2917
  }
2374
- declare const MsgRegisterBridgeValidatorResponse: MessageFns$l<MsgRegisterBridgeValidatorResponse>;
2918
+ declare const MsgRegisterBridgeValidatorResponse: MessageFns$o<MsgRegisterBridgeValidatorResponse>;
2375
2919
  interface MsgBridgeAttestation {
2376
2920
  validator: string;
2377
2921
  chain: string;
@@ -2383,10 +2927,10 @@ interface MsgBridgeAttestation {
2383
2927
  proof: Uint8Array;
2384
2928
  pqcSignature: Uint8Array;
2385
2929
  }
2386
- declare const MsgBridgeAttestation: MessageFns$l<MsgBridgeAttestation>;
2930
+ declare const MsgBridgeAttestation: MessageFns$o<MsgBridgeAttestation>;
2387
2931
  interface MsgBridgeAttestationResponse {
2388
2932
  }
2389
- declare const MsgBridgeAttestationResponse: MessageFns$l<MsgBridgeAttestationResponse>;
2933
+ declare const MsgBridgeAttestationResponse: MessageFns$o<MsgBridgeAttestationResponse>;
2390
2934
  interface MsgUpdateEthLightClient {
2391
2935
  relayer: string;
2392
2936
  /**
@@ -2395,13 +2939,13 @@ interface MsgUpdateEthLightClient {
2395
2939
  */
2396
2940
  update: Uint8Array;
2397
2941
  }
2398
- declare const MsgUpdateEthLightClient: MessageFns$l<MsgUpdateEthLightClient>;
2942
+ declare const MsgUpdateEthLightClient: MessageFns$o<MsgUpdateEthLightClient>;
2399
2943
  interface MsgUpdateEthLightClientResponse {
2400
2944
  }
2401
- declare const MsgUpdateEthLightClientResponse: MessageFns$l<MsgUpdateEthLightClientResponse>;
2945
+ declare const MsgUpdateEthLightClientResponse: MessageFns$o<MsgUpdateEthLightClientResponse>;
2402
2946
  /** Msg defines the bridge module's transaction service. */
2403
- type MsgDefinition$a = typeof MsgDefinition$a;
2404
- declare const MsgDefinition$a: {
2947
+ type MsgDefinition$9 = typeof MsgDefinition$9;
2948
+ declare const MsgDefinition$9: {
2405
2949
  readonly name: "Msg";
2406
2950
  readonly fullName: "qorechain.bridge.v1.Msg";
2407
2951
  readonly methods: {
@@ -2484,38 +3028,38 @@ declare const MsgDefinition$a: {
2484
3028
  };
2485
3029
  };
2486
3030
  };
2487
- type Builtin$l = Date | Function | Uint8Array | string | number | boolean | undefined;
2488
- type DeepPartial$l<T> = T extends Builtin$l ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$l<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$l<U>> : T extends {} ? {
2489
- [K in keyof T]?: DeepPartial$l<T[K]>;
3031
+ type Builtin$o = Date | Function | Uint8Array | string | number | boolean | undefined;
3032
+ type DeepPartial$o<T> = T extends Builtin$o ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$o<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$o<U>> : T extends {} ? {
3033
+ [K in keyof T]?: DeepPartial$o<T[K]>;
2490
3034
  } : Partial<T>;
2491
- interface MessageFns$l<T> {
3035
+ interface MessageFns$o<T> {
2492
3036
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2493
3037
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2494
3038
  fromJSON(object: any): T;
2495
3039
  toJSON(message: T): unknown;
2496
- create(base?: DeepPartial$l<T>): T;
2497
- fromPartial(object: DeepPartial$l<T>): T;
3040
+ create(base?: DeepPartial$o<T>): T;
3041
+ fromPartial(object: DeepPartial$o<T>): T;
2498
3042
  }
2499
3043
 
2500
- declare const tx$a_BitcoinCheckpoint: typeof BitcoinCheckpoint;
2501
- declare const tx$a_MsgBridgeAttestation: typeof MsgBridgeAttestation;
2502
- declare const tx$a_MsgBridgeAttestationResponse: typeof MsgBridgeAttestationResponse;
2503
- declare const tx$a_MsgBridgeDeposit: typeof MsgBridgeDeposit;
2504
- declare const tx$a_MsgBridgeDepositResponse: typeof MsgBridgeDepositResponse;
2505
- declare const tx$a_MsgBridgeWithdraw: typeof MsgBridgeWithdraw;
2506
- declare const tx$a_MsgBridgeWithdrawResponse: typeof MsgBridgeWithdrawResponse;
2507
- declare const tx$a_MsgRegisterBridgeValidator: typeof MsgRegisterBridgeValidator;
2508
- declare const tx$a_MsgRegisterBridgeValidatorResponse: typeof MsgRegisterBridgeValidatorResponse;
2509
- declare const tx$a_MsgSetVerifierBootstrap: typeof MsgSetVerifierBootstrap;
2510
- declare const tx$a_MsgSetVerifierBootstrapResponse: typeof MsgSetVerifierBootstrapResponse;
2511
- declare const tx$a_MsgUpdateChainConfig: typeof MsgUpdateChainConfig;
2512
- declare const tx$a_MsgUpdateChainConfigResponse: typeof MsgUpdateChainConfigResponse;
2513
- declare const tx$a_MsgUpdateEthLightClient: typeof MsgUpdateEthLightClient;
2514
- declare const tx$a_MsgUpdateEthLightClientResponse: typeof MsgUpdateEthLightClientResponse;
2515
- declare const tx$a_ValidatorQuorum: typeof ValidatorQuorum;
2516
- declare const tx$a_WormholeGuardianSet: typeof WormholeGuardianSet;
2517
- declare namespace tx$a {
2518
- export { tx$a_BitcoinCheckpoint as BitcoinCheckpoint, type DeepPartial$l as DeepPartial, type MessageFns$l as MessageFns, tx$a_MsgBridgeAttestation as MsgBridgeAttestation, tx$a_MsgBridgeAttestationResponse as MsgBridgeAttestationResponse, tx$a_MsgBridgeDeposit as MsgBridgeDeposit, tx$a_MsgBridgeDepositResponse as MsgBridgeDepositResponse, tx$a_MsgBridgeWithdraw as MsgBridgeWithdraw, tx$a_MsgBridgeWithdrawResponse as MsgBridgeWithdrawResponse, MsgDefinition$a as MsgDefinition, tx$a_MsgRegisterBridgeValidator as MsgRegisterBridgeValidator, tx$a_MsgRegisterBridgeValidatorResponse as MsgRegisterBridgeValidatorResponse, tx$a_MsgSetVerifierBootstrap as MsgSetVerifierBootstrap, tx$a_MsgSetVerifierBootstrapResponse as MsgSetVerifierBootstrapResponse, tx$a_MsgUpdateChainConfig as MsgUpdateChainConfig, tx$a_MsgUpdateChainConfigResponse as MsgUpdateChainConfigResponse, tx$a_MsgUpdateEthLightClient as MsgUpdateEthLightClient, tx$a_MsgUpdateEthLightClientResponse as MsgUpdateEthLightClientResponse, tx$a_ValidatorQuorum as ValidatorQuorum, tx$a_WormholeGuardianSet as WormholeGuardianSet, protobufPackage$k as protobufPackage };
3044
+ declare const tx$9_BitcoinCheckpoint: typeof BitcoinCheckpoint;
3045
+ declare const tx$9_MsgBridgeAttestation: typeof MsgBridgeAttestation;
3046
+ declare const tx$9_MsgBridgeAttestationResponse: typeof MsgBridgeAttestationResponse;
3047
+ declare const tx$9_MsgBridgeDeposit: typeof MsgBridgeDeposit;
3048
+ declare const tx$9_MsgBridgeDepositResponse: typeof MsgBridgeDepositResponse;
3049
+ declare const tx$9_MsgBridgeWithdraw: typeof MsgBridgeWithdraw;
3050
+ declare const tx$9_MsgBridgeWithdrawResponse: typeof MsgBridgeWithdrawResponse;
3051
+ declare const tx$9_MsgRegisterBridgeValidator: typeof MsgRegisterBridgeValidator;
3052
+ declare const tx$9_MsgRegisterBridgeValidatorResponse: typeof MsgRegisterBridgeValidatorResponse;
3053
+ declare const tx$9_MsgSetVerifierBootstrap: typeof MsgSetVerifierBootstrap;
3054
+ declare const tx$9_MsgSetVerifierBootstrapResponse: typeof MsgSetVerifierBootstrapResponse;
3055
+ declare const tx$9_MsgUpdateChainConfig: typeof MsgUpdateChainConfig;
3056
+ declare const tx$9_MsgUpdateChainConfigResponse: typeof MsgUpdateChainConfigResponse;
3057
+ declare const tx$9_MsgUpdateEthLightClient: typeof MsgUpdateEthLightClient;
3058
+ declare const tx$9_MsgUpdateEthLightClientResponse: typeof MsgUpdateEthLightClientResponse;
3059
+ declare const tx$9_ValidatorQuorum: typeof ValidatorQuorum;
3060
+ declare const tx$9_WormholeGuardianSet: typeof WormholeGuardianSet;
3061
+ declare namespace tx$9 {
3062
+ export { tx$9_BitcoinCheckpoint as BitcoinCheckpoint, type DeepPartial$o as DeepPartial, type MessageFns$o as MessageFns, tx$9_MsgBridgeAttestation as MsgBridgeAttestation, tx$9_MsgBridgeAttestationResponse as MsgBridgeAttestationResponse, tx$9_MsgBridgeDeposit as MsgBridgeDeposit, tx$9_MsgBridgeDepositResponse as MsgBridgeDepositResponse, tx$9_MsgBridgeWithdraw as MsgBridgeWithdraw, tx$9_MsgBridgeWithdrawResponse as MsgBridgeWithdrawResponse, MsgDefinition$9 as MsgDefinition, tx$9_MsgRegisterBridgeValidator as MsgRegisterBridgeValidator, tx$9_MsgRegisterBridgeValidatorResponse as MsgRegisterBridgeValidatorResponse, tx$9_MsgSetVerifierBootstrap as MsgSetVerifierBootstrap, tx$9_MsgSetVerifierBootstrapResponse as MsgSetVerifierBootstrapResponse, tx$9_MsgUpdateChainConfig as MsgUpdateChainConfig, tx$9_MsgUpdateChainConfigResponse as MsgUpdateChainConfigResponse, tx$9_MsgUpdateEthLightClient as MsgUpdateEthLightClient, tx$9_MsgUpdateEthLightClientResponse as MsgUpdateEthLightClientResponse, tx$9_ValidatorQuorum as ValidatorQuorum, tx$9_WormholeGuardianSet as WormholeGuardianSet, protobufPackage$n as protobufPackage };
2519
3063
  }
2520
3064
 
2521
3065
  /**
@@ -2528,22 +3072,22 @@ interface Coin {
2528
3072
  denom: string;
2529
3073
  amount: string;
2530
3074
  }
2531
- declare const Coin: MessageFns$k<Coin>;
2532
- type Builtin$k = Date | Function | Uint8Array | string | number | boolean | undefined;
2533
- type DeepPartial$k<T> = T extends Builtin$k ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$k<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$k<U>> : T extends {} ? {
2534
- [K in keyof T]?: DeepPartial$k<T[K]>;
3075
+ declare const Coin: MessageFns$n<Coin>;
3076
+ type Builtin$n = Date | Function | Uint8Array | string | number | boolean | undefined;
3077
+ type DeepPartial$n<T> = T extends Builtin$n ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$n<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$n<U>> : T extends {} ? {
3078
+ [K in keyof T]?: DeepPartial$n<T[K]>;
2535
3079
  } : Partial<T>;
2536
- interface MessageFns$k<T> {
3080
+ interface MessageFns$n<T> {
2537
3081
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2538
3082
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2539
3083
  fromJSON(object: any): T;
2540
3084
  toJSON(message: T): unknown;
2541
- create(base?: DeepPartial$k<T>): T;
2542
- fromPartial(object: DeepPartial$k<T>): T;
3085
+ create(base?: DeepPartial$n<T>): T;
3086
+ fromPartial(object: DeepPartial$n<T>): T;
2543
3087
  }
2544
3088
 
2545
3089
  /**
2546
- * Convenience message builders for the standard Cosmos SDK modules.
3090
+ * Convenience message builders for the standard Native modules.
2547
3091
  *
2548
3092
  * These wrap `cosmjs-types` message types and return cosmjs
2549
3093
  * {@link EncodeObject}s with the correct on-chain `typeUrl`. The matching types
@@ -2595,7 +3139,7 @@ declare const ibc: {
2595
3139
  transfer: (value: Partial<MsgTransfer>) => EncodeObject;
2596
3140
  };
2597
3141
 
2598
- declare const protobufPackage$j = "qorechain.amm.v1";
3142
+ declare const protobufPackage$m = "qorechain.amm.v1";
2599
3143
  interface MsgCreatePool {
2600
3144
  creator: string;
2601
3145
  poolType: string;
@@ -2603,11 +3147,11 @@ interface MsgCreatePool {
2603
3147
  initialDepositB?: Coin | undefined;
2604
3148
  amplificationCoefficient: number;
2605
3149
  }
2606
- declare const MsgCreatePool: MessageFns$j<MsgCreatePool>;
3150
+ declare const MsgCreatePool: MessageFns$m<MsgCreatePool>;
2607
3151
  interface MsgCreatePoolResponse {
2608
3152
  poolId: string;
2609
3153
  }
2610
- declare const MsgCreatePoolResponse: MessageFns$j<MsgCreatePoolResponse>;
3154
+ declare const MsgCreatePoolResponse: MessageFns$m<MsgCreatePoolResponse>;
2611
3155
  interface MsgAddLiquidity {
2612
3156
  sender: string;
2613
3157
  poolId: string;
@@ -2615,10 +3159,10 @@ interface MsgAddLiquidity {
2615
3159
  amountB?: Coin | undefined;
2616
3160
  minLpOut: string;
2617
3161
  }
2618
- declare const MsgAddLiquidity: MessageFns$j<MsgAddLiquidity>;
3162
+ declare const MsgAddLiquidity: MessageFns$m<MsgAddLiquidity>;
2619
3163
  interface MsgAddLiquidityResponse {
2620
3164
  }
2621
- declare const MsgAddLiquidityResponse: MessageFns$j<MsgAddLiquidityResponse>;
3165
+ declare const MsgAddLiquidityResponse: MessageFns$m<MsgAddLiquidityResponse>;
2622
3166
  interface MsgRemoveLiquidity {
2623
3167
  sender: string;
2624
3168
  poolId: string;
@@ -2626,10 +3170,10 @@ interface MsgRemoveLiquidity {
2626
3170
  minAmountA: string;
2627
3171
  minAmountB: string;
2628
3172
  }
2629
- declare const MsgRemoveLiquidity: MessageFns$j<MsgRemoveLiquidity>;
3173
+ declare const MsgRemoveLiquidity: MessageFns$m<MsgRemoveLiquidity>;
2630
3174
  interface MsgRemoveLiquidityResponse {
2631
3175
  }
2632
- declare const MsgRemoveLiquidityResponse: MessageFns$j<MsgRemoveLiquidityResponse>;
3176
+ declare const MsgRemoveLiquidityResponse: MessageFns$m<MsgRemoveLiquidityResponse>;
2633
3177
  interface MsgSwapExactIn {
2634
3178
  sender: string;
2635
3179
  poolId: string;
@@ -2637,10 +3181,10 @@ interface MsgSwapExactIn {
2637
3181
  denomOut: string;
2638
3182
  minOut: string;
2639
3183
  }
2640
- declare const MsgSwapExactIn: MessageFns$j<MsgSwapExactIn>;
3184
+ declare const MsgSwapExactIn: MessageFns$m<MsgSwapExactIn>;
2641
3185
  interface MsgSwapExactInResponse {
2642
3186
  }
2643
- declare const MsgSwapExactInResponse: MessageFns$j<MsgSwapExactInResponse>;
3187
+ declare const MsgSwapExactInResponse: MessageFns$m<MsgSwapExactInResponse>;
2644
3188
  interface MsgSwapExactOut {
2645
3189
  sender: string;
2646
3190
  poolId: string;
@@ -2648,30 +3192,30 @@ interface MsgSwapExactOut {
2648
3192
  tokenOut?: Coin | undefined;
2649
3193
  maxIn: string;
2650
3194
  }
2651
- declare const MsgSwapExactOut: MessageFns$j<MsgSwapExactOut>;
3195
+ declare const MsgSwapExactOut: MessageFns$m<MsgSwapExactOut>;
2652
3196
  interface MsgSwapExactOutResponse {
2653
3197
  }
2654
- declare const MsgSwapExactOutResponse: MessageFns$j<MsgSwapExactOutResponse>;
3198
+ declare const MsgSwapExactOutResponse: MessageFns$m<MsgSwapExactOutResponse>;
2655
3199
  interface MsgPausePool {
2656
3200
  authority: string;
2657
3201
  poolId: string;
2658
3202
  reason: string;
2659
3203
  }
2660
- declare const MsgPausePool: MessageFns$j<MsgPausePool>;
3204
+ declare const MsgPausePool: MessageFns$m<MsgPausePool>;
2661
3205
  interface MsgPausePoolResponse {
2662
3206
  }
2663
- declare const MsgPausePoolResponse: MessageFns$j<MsgPausePoolResponse>;
3207
+ declare const MsgPausePoolResponse: MessageFns$m<MsgPausePoolResponse>;
2664
3208
  interface MsgResumePool {
2665
3209
  authority: string;
2666
3210
  poolId: string;
2667
3211
  }
2668
- declare const MsgResumePool: MessageFns$j<MsgResumePool>;
3212
+ declare const MsgResumePool: MessageFns$m<MsgResumePool>;
2669
3213
  interface MsgResumePoolResponse {
2670
3214
  }
2671
- declare const MsgResumePoolResponse: MessageFns$j<MsgResumePoolResponse>;
2672
- type MsgDefinition$9 = typeof MsgDefinition$9;
2673
- declare const MsgDefinition$9: {
2674
- readonly name: "Msg";
3215
+ declare const MsgResumePoolResponse: MessageFns$m<MsgResumePoolResponse>;
3216
+ type MsgDefinition$8 = typeof MsgDefinition$8;
3217
+ declare const MsgDefinition$8: {
3218
+ readonly name: "Msg";
2675
3219
  readonly fullName: "qorechain.amm.v1.Msg";
2676
3220
  readonly methods: {
2677
3221
  readonly createPool: {
@@ -2732,38 +3276,38 @@ declare const MsgDefinition$9: {
2732
3276
  };
2733
3277
  };
2734
3278
  };
2735
- type Builtin$j = Date | Function | Uint8Array | string | number | boolean | undefined;
2736
- type DeepPartial$j<T> = T extends Builtin$j ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$j<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$j<U>> : T extends {} ? {
2737
- [K in keyof T]?: DeepPartial$j<T[K]>;
3279
+ type Builtin$m = Date | Function | Uint8Array | string | number | boolean | undefined;
3280
+ type DeepPartial$m<T> = T extends Builtin$m ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$m<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$m<U>> : T extends {} ? {
3281
+ [K in keyof T]?: DeepPartial$m<T[K]>;
2738
3282
  } : Partial<T>;
2739
- interface MessageFns$j<T> {
3283
+ interface MessageFns$m<T> {
2740
3284
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2741
3285
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2742
3286
  fromJSON(object: any): T;
2743
3287
  toJSON(message: T): unknown;
2744
- create(base?: DeepPartial$j<T>): T;
2745
- fromPartial(object: DeepPartial$j<T>): T;
3288
+ create(base?: DeepPartial$m<T>): T;
3289
+ fromPartial(object: DeepPartial$m<T>): T;
2746
3290
  }
2747
3291
 
2748
- declare const tx$9_MsgAddLiquidity: typeof MsgAddLiquidity;
2749
- declare const tx$9_MsgAddLiquidityResponse: typeof MsgAddLiquidityResponse;
2750
- declare const tx$9_MsgCreatePool: typeof MsgCreatePool;
2751
- declare const tx$9_MsgCreatePoolResponse: typeof MsgCreatePoolResponse;
2752
- declare const tx$9_MsgPausePool: typeof MsgPausePool;
2753
- declare const tx$9_MsgPausePoolResponse: typeof MsgPausePoolResponse;
2754
- declare const tx$9_MsgRemoveLiquidity: typeof MsgRemoveLiquidity;
2755
- declare const tx$9_MsgRemoveLiquidityResponse: typeof MsgRemoveLiquidityResponse;
2756
- declare const tx$9_MsgResumePool: typeof MsgResumePool;
2757
- declare const tx$9_MsgResumePoolResponse: typeof MsgResumePoolResponse;
2758
- declare const tx$9_MsgSwapExactIn: typeof MsgSwapExactIn;
2759
- declare const tx$9_MsgSwapExactInResponse: typeof MsgSwapExactInResponse;
2760
- declare const tx$9_MsgSwapExactOut: typeof MsgSwapExactOut;
2761
- declare const tx$9_MsgSwapExactOutResponse: typeof MsgSwapExactOutResponse;
2762
- declare namespace tx$9 {
2763
- export { type DeepPartial$j as DeepPartial, type MessageFns$j as MessageFns, tx$9_MsgAddLiquidity as MsgAddLiquidity, tx$9_MsgAddLiquidityResponse as MsgAddLiquidityResponse, tx$9_MsgCreatePool as MsgCreatePool, tx$9_MsgCreatePoolResponse as MsgCreatePoolResponse, MsgDefinition$9 as MsgDefinition, tx$9_MsgPausePool as MsgPausePool, tx$9_MsgPausePoolResponse as MsgPausePoolResponse, tx$9_MsgRemoveLiquidity as MsgRemoveLiquidity, tx$9_MsgRemoveLiquidityResponse as MsgRemoveLiquidityResponse, tx$9_MsgResumePool as MsgResumePool, tx$9_MsgResumePoolResponse as MsgResumePoolResponse, tx$9_MsgSwapExactIn as MsgSwapExactIn, tx$9_MsgSwapExactInResponse as MsgSwapExactInResponse, tx$9_MsgSwapExactOut as MsgSwapExactOut, tx$9_MsgSwapExactOutResponse as MsgSwapExactOutResponse, protobufPackage$j as protobufPackage };
3292
+ declare const tx$8_MsgAddLiquidity: typeof MsgAddLiquidity;
3293
+ declare const tx$8_MsgAddLiquidityResponse: typeof MsgAddLiquidityResponse;
3294
+ declare const tx$8_MsgCreatePool: typeof MsgCreatePool;
3295
+ declare const tx$8_MsgCreatePoolResponse: typeof MsgCreatePoolResponse;
3296
+ declare const tx$8_MsgPausePool: typeof MsgPausePool;
3297
+ declare const tx$8_MsgPausePoolResponse: typeof MsgPausePoolResponse;
3298
+ declare const tx$8_MsgRemoveLiquidity: typeof MsgRemoveLiquidity;
3299
+ declare const tx$8_MsgRemoveLiquidityResponse: typeof MsgRemoveLiquidityResponse;
3300
+ declare const tx$8_MsgResumePool: typeof MsgResumePool;
3301
+ declare const tx$8_MsgResumePoolResponse: typeof MsgResumePoolResponse;
3302
+ declare const tx$8_MsgSwapExactIn: typeof MsgSwapExactIn;
3303
+ declare const tx$8_MsgSwapExactInResponse: typeof MsgSwapExactInResponse;
3304
+ declare const tx$8_MsgSwapExactOut: typeof MsgSwapExactOut;
3305
+ declare const tx$8_MsgSwapExactOutResponse: typeof MsgSwapExactOutResponse;
3306
+ declare namespace tx$8 {
3307
+ export { type DeepPartial$m as DeepPartial, type MessageFns$m as MessageFns, tx$8_MsgAddLiquidity as MsgAddLiquidity, tx$8_MsgAddLiquidityResponse as MsgAddLiquidityResponse, tx$8_MsgCreatePool as MsgCreatePool, tx$8_MsgCreatePoolResponse as MsgCreatePoolResponse, MsgDefinition$8 as MsgDefinition, tx$8_MsgPausePool as MsgPausePool, tx$8_MsgPausePoolResponse as MsgPausePoolResponse, tx$8_MsgRemoveLiquidity as MsgRemoveLiquidity, tx$8_MsgRemoveLiquidityResponse as MsgRemoveLiquidityResponse, tx$8_MsgResumePool as MsgResumePool, tx$8_MsgResumePoolResponse as MsgResumePoolResponse, tx$8_MsgSwapExactIn as MsgSwapExactIn, tx$8_MsgSwapExactInResponse as MsgSwapExactInResponse, tx$8_MsgSwapExactOut as MsgSwapExactOut, tx$8_MsgSwapExactOutResponse as MsgSwapExactOutResponse, protobufPackage$m as protobufPackage };
2764
3308
  }
2765
3309
 
2766
- declare const protobufPackage$i = "qorechain.rdk.v1";
3310
+ declare const protobufPackage$l = "qorechain.rdk.v1";
2767
3311
  interface MsgCreateRollup {
2768
3312
  creator: string;
2769
3313
  rollupId: string;
@@ -2771,11 +3315,11 @@ interface MsgCreateRollup {
2771
3315
  vmType: string;
2772
3316
  stakeAmount: string;
2773
3317
  }
2774
- declare const MsgCreateRollup: MessageFns$i<MsgCreateRollup>;
3318
+ declare const MsgCreateRollup: MessageFns$l<MsgCreateRollup>;
2775
3319
  interface MsgCreateRollupResponse {
2776
3320
  rollupId: string;
2777
3321
  }
2778
- declare const MsgCreateRollupResponse: MessageFns$i<MsgCreateRollupResponse>;
3322
+ declare const MsgCreateRollupResponse: MessageFns$l<MsgCreateRollupResponse>;
2779
3323
  interface MsgSubmitBatch {
2780
3324
  sequencer: string;
2781
3325
  rollupId: string;
@@ -2791,20 +3335,20 @@ interface MsgSubmitBatch {
2791
3335
  */
2792
3336
  withdrawalsRoot: Uint8Array;
2793
3337
  }
2794
- declare const MsgSubmitBatch: MessageFns$i<MsgSubmitBatch>;
3338
+ declare const MsgSubmitBatch: MessageFns$l<MsgSubmitBatch>;
2795
3339
  interface MsgSubmitBatchResponse {
2796
3340
  }
2797
- declare const MsgSubmitBatchResponse: MessageFns$i<MsgSubmitBatchResponse>;
3341
+ declare const MsgSubmitBatchResponse: MessageFns$l<MsgSubmitBatchResponse>;
2798
3342
  interface MsgChallengeBatch {
2799
3343
  challenger: string;
2800
3344
  rollupId: string;
2801
3345
  batchIndex: string;
2802
3346
  proof: Uint8Array;
2803
3347
  }
2804
- declare const MsgChallengeBatch: MessageFns$i<MsgChallengeBatch>;
3348
+ declare const MsgChallengeBatch: MessageFns$l<MsgChallengeBatch>;
2805
3349
  interface MsgChallengeBatchResponse {
2806
3350
  }
2807
- declare const MsgChallengeBatchResponse: MessageFns$i<MsgChallengeBatchResponse>;
3351
+ declare const MsgChallengeBatchResponse: MessageFns$l<MsgChallengeBatchResponse>;
2808
3352
  interface MsgResolveChallenge {
2809
3353
  resolver: string;
2810
3354
  rollupId: string;
@@ -2816,35 +3360,35 @@ interface MsgResolveChallenge {
2816
3360
  */
2817
3361
  fraudUpheld: boolean;
2818
3362
  }
2819
- declare const MsgResolveChallenge: MessageFns$i<MsgResolveChallenge>;
3363
+ declare const MsgResolveChallenge: MessageFns$l<MsgResolveChallenge>;
2820
3364
  interface MsgResolveChallengeResponse {
2821
3365
  }
2822
- declare const MsgResolveChallengeResponse: MessageFns$i<MsgResolveChallengeResponse>;
3366
+ declare const MsgResolveChallengeResponse: MessageFns$l<MsgResolveChallengeResponse>;
2823
3367
  interface MsgPauseRollup {
2824
3368
  creator: string;
2825
3369
  rollupId: string;
2826
3370
  reason: string;
2827
3371
  }
2828
- declare const MsgPauseRollup: MessageFns$i<MsgPauseRollup>;
3372
+ declare const MsgPauseRollup: MessageFns$l<MsgPauseRollup>;
2829
3373
  interface MsgPauseRollupResponse {
2830
3374
  }
2831
- declare const MsgPauseRollupResponse: MessageFns$i<MsgPauseRollupResponse>;
3375
+ declare const MsgPauseRollupResponse: MessageFns$l<MsgPauseRollupResponse>;
2832
3376
  interface MsgResumeRollup {
2833
3377
  creator: string;
2834
3378
  rollupId: string;
2835
3379
  }
2836
- declare const MsgResumeRollup: MessageFns$i<MsgResumeRollup>;
3380
+ declare const MsgResumeRollup: MessageFns$l<MsgResumeRollup>;
2837
3381
  interface MsgResumeRollupResponse {
2838
3382
  }
2839
- declare const MsgResumeRollupResponse: MessageFns$i<MsgResumeRollupResponse>;
3383
+ declare const MsgResumeRollupResponse: MessageFns$l<MsgResumeRollupResponse>;
2840
3384
  interface MsgStopRollup {
2841
3385
  creator: string;
2842
3386
  rollupId: string;
2843
3387
  }
2844
- declare const MsgStopRollup: MessageFns$i<MsgStopRollup>;
3388
+ declare const MsgStopRollup: MessageFns$l<MsgStopRollup>;
2845
3389
  interface MsgStopRollupResponse {
2846
3390
  }
2847
- declare const MsgStopRollupResponse: MessageFns$i<MsgStopRollupResponse>;
3391
+ declare const MsgStopRollupResponse: MessageFns$l<MsgStopRollupResponse>;
2848
3392
  /**
2849
3393
  * MsgExecuteWithdrawal finalizes an L2->L1 cross-layer message: it proves a
2850
3394
  * withdrawal leaf is committed in a finalized batch's withdrawals_root and pays
@@ -2863,13 +3407,13 @@ interface MsgExecuteWithdrawal {
2863
3407
  /** proof are the binary-Merkle sibling hashes from the leaf to withdrawals_root. */
2864
3408
  proof: Uint8Array[];
2865
3409
  }
2866
- declare const MsgExecuteWithdrawal: MessageFns$i<MsgExecuteWithdrawal>;
3410
+ declare const MsgExecuteWithdrawal: MessageFns$l<MsgExecuteWithdrawal>;
2867
3411
  interface MsgExecuteWithdrawalResponse {
2868
3412
  }
2869
- declare const MsgExecuteWithdrawalResponse: MessageFns$i<MsgExecuteWithdrawalResponse>;
3413
+ declare const MsgExecuteWithdrawalResponse: MessageFns$l<MsgExecuteWithdrawalResponse>;
2870
3414
  /** Msg defines the rdk module's transaction service. */
2871
- type MsgDefinition$8 = typeof MsgDefinition$8;
2872
- declare const MsgDefinition$8: {
3415
+ type MsgDefinition$7 = typeof MsgDefinition$7;
3416
+ declare const MsgDefinition$7: {
2873
3417
  readonly name: "Msg";
2874
3418
  readonly fullName: "qorechain.rdk.v1.Msg";
2875
3419
  readonly methods: {
@@ -2939,40 +3483,40 @@ declare const MsgDefinition$8: {
2939
3483
  };
2940
3484
  };
2941
3485
  };
2942
- type Builtin$i = Date | Function | Uint8Array | string | number | boolean | undefined;
2943
- type DeepPartial$i<T> = T extends Builtin$i ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$i<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$i<U>> : T extends {} ? {
2944
- [K in keyof T]?: DeepPartial$i<T[K]>;
3486
+ type Builtin$l = Date | Function | Uint8Array | string | number | boolean | undefined;
3487
+ type DeepPartial$l<T> = T extends Builtin$l ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$l<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$l<U>> : T extends {} ? {
3488
+ [K in keyof T]?: DeepPartial$l<T[K]>;
2945
3489
  } : Partial<T>;
2946
- interface MessageFns$i<T> {
3490
+ interface MessageFns$l<T> {
2947
3491
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2948
3492
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2949
3493
  fromJSON(object: any): T;
2950
3494
  toJSON(message: T): unknown;
2951
- create(base?: DeepPartial$i<T>): T;
2952
- fromPartial(object: DeepPartial$i<T>): T;
3495
+ create(base?: DeepPartial$l<T>): T;
3496
+ fromPartial(object: DeepPartial$l<T>): T;
2953
3497
  }
2954
3498
 
2955
- declare const tx$8_MsgChallengeBatch: typeof MsgChallengeBatch;
2956
- declare const tx$8_MsgChallengeBatchResponse: typeof MsgChallengeBatchResponse;
2957
- declare const tx$8_MsgCreateRollup: typeof MsgCreateRollup;
2958
- declare const tx$8_MsgCreateRollupResponse: typeof MsgCreateRollupResponse;
2959
- declare const tx$8_MsgExecuteWithdrawal: typeof MsgExecuteWithdrawal;
2960
- declare const tx$8_MsgExecuteWithdrawalResponse: typeof MsgExecuteWithdrawalResponse;
2961
- declare const tx$8_MsgPauseRollup: typeof MsgPauseRollup;
2962
- declare const tx$8_MsgPauseRollupResponse: typeof MsgPauseRollupResponse;
2963
- declare const tx$8_MsgResolveChallenge: typeof MsgResolveChallenge;
2964
- declare const tx$8_MsgResolveChallengeResponse: typeof MsgResolveChallengeResponse;
2965
- declare const tx$8_MsgResumeRollup: typeof MsgResumeRollup;
2966
- declare const tx$8_MsgResumeRollupResponse: typeof MsgResumeRollupResponse;
2967
- declare const tx$8_MsgStopRollup: typeof MsgStopRollup;
2968
- declare const tx$8_MsgStopRollupResponse: typeof MsgStopRollupResponse;
2969
- declare const tx$8_MsgSubmitBatch: typeof MsgSubmitBatch;
2970
- declare const tx$8_MsgSubmitBatchResponse: typeof MsgSubmitBatchResponse;
2971
- declare namespace tx$8 {
2972
- export { type DeepPartial$i as DeepPartial, type MessageFns$i as MessageFns, tx$8_MsgChallengeBatch as MsgChallengeBatch, tx$8_MsgChallengeBatchResponse as MsgChallengeBatchResponse, tx$8_MsgCreateRollup as MsgCreateRollup, tx$8_MsgCreateRollupResponse as MsgCreateRollupResponse, MsgDefinition$8 as MsgDefinition, tx$8_MsgExecuteWithdrawal as MsgExecuteWithdrawal, tx$8_MsgExecuteWithdrawalResponse as MsgExecuteWithdrawalResponse, tx$8_MsgPauseRollup as MsgPauseRollup, tx$8_MsgPauseRollupResponse as MsgPauseRollupResponse, tx$8_MsgResolveChallenge as MsgResolveChallenge, tx$8_MsgResolveChallengeResponse as MsgResolveChallengeResponse, tx$8_MsgResumeRollup as MsgResumeRollup, tx$8_MsgResumeRollupResponse as MsgResumeRollupResponse, tx$8_MsgStopRollup as MsgStopRollup, tx$8_MsgStopRollupResponse as MsgStopRollupResponse, tx$8_MsgSubmitBatch as MsgSubmitBatch, tx$8_MsgSubmitBatchResponse as MsgSubmitBatchResponse, protobufPackage$i as protobufPackage };
3499
+ declare const tx$7_MsgChallengeBatch: typeof MsgChallengeBatch;
3500
+ declare const tx$7_MsgChallengeBatchResponse: typeof MsgChallengeBatchResponse;
3501
+ declare const tx$7_MsgCreateRollup: typeof MsgCreateRollup;
3502
+ declare const tx$7_MsgCreateRollupResponse: typeof MsgCreateRollupResponse;
3503
+ declare const tx$7_MsgExecuteWithdrawal: typeof MsgExecuteWithdrawal;
3504
+ declare const tx$7_MsgExecuteWithdrawalResponse: typeof MsgExecuteWithdrawalResponse;
3505
+ declare const tx$7_MsgPauseRollup: typeof MsgPauseRollup;
3506
+ declare const tx$7_MsgPauseRollupResponse: typeof MsgPauseRollupResponse;
3507
+ declare const tx$7_MsgResolveChallenge: typeof MsgResolveChallenge;
3508
+ declare const tx$7_MsgResolveChallengeResponse: typeof MsgResolveChallengeResponse;
3509
+ declare const tx$7_MsgResumeRollup: typeof MsgResumeRollup;
3510
+ declare const tx$7_MsgResumeRollupResponse: typeof MsgResumeRollupResponse;
3511
+ declare const tx$7_MsgStopRollup: typeof MsgStopRollup;
3512
+ declare const tx$7_MsgStopRollupResponse: typeof MsgStopRollupResponse;
3513
+ declare const tx$7_MsgSubmitBatch: typeof MsgSubmitBatch;
3514
+ declare const tx$7_MsgSubmitBatchResponse: typeof MsgSubmitBatchResponse;
3515
+ declare namespace tx$7 {
3516
+ export { type DeepPartial$l as DeepPartial, type MessageFns$l as MessageFns, tx$7_MsgChallengeBatch as MsgChallengeBatch, tx$7_MsgChallengeBatchResponse as MsgChallengeBatchResponse, tx$7_MsgCreateRollup as MsgCreateRollup, tx$7_MsgCreateRollupResponse as MsgCreateRollupResponse, MsgDefinition$7 as MsgDefinition, tx$7_MsgExecuteWithdrawal as MsgExecuteWithdrawal, tx$7_MsgExecuteWithdrawalResponse as MsgExecuteWithdrawalResponse, tx$7_MsgPauseRollup as MsgPauseRollup, tx$7_MsgPauseRollupResponse as MsgPauseRollupResponse, tx$7_MsgResolveChallenge as MsgResolveChallenge, tx$7_MsgResolveChallengeResponse as MsgResolveChallengeResponse, tx$7_MsgResumeRollup as MsgResumeRollup, tx$7_MsgResumeRollupResponse as MsgResumeRollupResponse, tx$7_MsgStopRollup as MsgStopRollup, tx$7_MsgStopRollupResponse as MsgStopRollupResponse, tx$7_MsgSubmitBatch as MsgSubmitBatch, tx$7_MsgSubmitBatchResponse as MsgSubmitBatchResponse, protobufPackage$l as protobufPackage };
2973
3517
  }
2974
3518
 
2975
- declare const protobufPackage$h = "qorechain.multilayer.v1";
3519
+ declare const protobufPackage$k = "qorechain.multilayer.v1";
2976
3520
  interface MsgRegisterSidechain {
2977
3521
  creator: string;
2978
3522
  layerId: string;
@@ -2984,13 +3528,13 @@ interface MsgRegisterSidechain {
2984
3528
  supportedVmTypes: string[];
2985
3529
  supportedDomains: string[];
2986
3530
  }
2987
- declare const MsgRegisterSidechain: MessageFns$h<MsgRegisterSidechain>;
3531
+ declare const MsgRegisterSidechain: MessageFns$k<MsgRegisterSidechain>;
2988
3532
  interface MsgRegisterSidechainResponse {
2989
3533
  layerId: string;
2990
3534
  chainId: string;
2991
3535
  status: string;
2992
3536
  }
2993
- declare const MsgRegisterSidechainResponse: MessageFns$h<MsgRegisterSidechainResponse>;
3537
+ declare const MsgRegisterSidechainResponse: MessageFns$k<MsgRegisterSidechainResponse>;
2994
3538
  interface MsgRegisterPaychain {
2995
3539
  creator: string;
2996
3540
  layerId: string;
@@ -2999,12 +3543,12 @@ interface MsgRegisterPaychain {
2999
3543
  settlementIntervalBlocks: string;
3000
3544
  baseFeeMultiplier: string;
3001
3545
  }
3002
- declare const MsgRegisterPaychain: MessageFns$h<MsgRegisterPaychain>;
3546
+ declare const MsgRegisterPaychain: MessageFns$k<MsgRegisterPaychain>;
3003
3547
  interface MsgRegisterPaychainResponse {
3004
3548
  layerId: string;
3005
3549
  status: string;
3006
3550
  }
3007
- declare const MsgRegisterPaychainResponse: MessageFns$h<MsgRegisterPaychainResponse>;
3551
+ declare const MsgRegisterPaychainResponse: MessageFns$k<MsgRegisterPaychainResponse>;
3008
3552
  interface MsgAnchorState {
3009
3553
  relayer: string;
3010
3554
  layerId: string;
@@ -3015,12 +3559,12 @@ interface MsgAnchorState {
3015
3559
  transactionCount: string;
3016
3560
  compressedStateProof: Uint8Array;
3017
3561
  }
3018
- declare const MsgAnchorState: MessageFns$h<MsgAnchorState>;
3562
+ declare const MsgAnchorState: MessageFns$k<MsgAnchorState>;
3019
3563
  interface MsgAnchorStateResponse {
3020
3564
  mainChainHeight: string;
3021
3565
  accepted: boolean;
3022
3566
  }
3023
- declare const MsgAnchorStateResponse: MessageFns$h<MsgAnchorStateResponse>;
3567
+ declare const MsgAnchorStateResponse: MessageFns$k<MsgAnchorStateResponse>;
3024
3568
  interface MsgRouteTransaction {
3025
3569
  sender: string;
3026
3570
  transactionPayload: Uint8Array;
@@ -3028,23 +3572,23 @@ interface MsgRouteTransaction {
3028
3572
  maxLatencyMs: string;
3029
3573
  maxFee: string;
3030
3574
  }
3031
- declare const MsgRouteTransaction: MessageFns$h<MsgRouteTransaction>;
3575
+ declare const MsgRouteTransaction: MessageFns$k<MsgRouteTransaction>;
3032
3576
  interface MsgRouteTransactionResponse {
3033
3577
  selectedLayer: string;
3034
3578
  reason: string;
3035
3579
  crossLayerMessageId: string;
3036
3580
  }
3037
- declare const MsgRouteTransactionResponse: MessageFns$h<MsgRouteTransactionResponse>;
3581
+ declare const MsgRouteTransactionResponse: MessageFns$k<MsgRouteTransactionResponse>;
3038
3582
  interface MsgUpdateLayerStatus {
3039
3583
  authority: string;
3040
3584
  layerId: string;
3041
3585
  newStatus: string;
3042
3586
  reason: string;
3043
3587
  }
3044
- declare const MsgUpdateLayerStatus: MessageFns$h<MsgUpdateLayerStatus>;
3588
+ declare const MsgUpdateLayerStatus: MessageFns$k<MsgUpdateLayerStatus>;
3045
3589
  interface MsgUpdateLayerStatusResponse {
3046
3590
  }
3047
- declare const MsgUpdateLayerStatusResponse: MessageFns$h<MsgUpdateLayerStatusResponse>;
3591
+ declare const MsgUpdateLayerStatusResponse: MessageFns$k<MsgUpdateLayerStatusResponse>;
3048
3592
  interface MsgChallengeAnchor {
3049
3593
  challenger: string;
3050
3594
  layerId: string;
@@ -3052,14 +3596,14 @@ interface MsgChallengeAnchor {
3052
3596
  fraudProof: Uint8Array;
3053
3597
  challengeReason: string;
3054
3598
  }
3055
- declare const MsgChallengeAnchor: MessageFns$h<MsgChallengeAnchor>;
3599
+ declare const MsgChallengeAnchor: MessageFns$k<MsgChallengeAnchor>;
3056
3600
  interface MsgChallengeAnchorResponse {
3057
3601
  challengeAccepted: boolean;
3058
3602
  resolution: string;
3059
3603
  }
3060
- declare const MsgChallengeAnchorResponse: MessageFns$h<MsgChallengeAnchorResponse>;
3061
- type MsgDefinition$7 = typeof MsgDefinition$7;
3062
- declare const MsgDefinition$7: {
3604
+ declare const MsgChallengeAnchorResponse: MessageFns$k<MsgChallengeAnchorResponse>;
3605
+ type MsgDefinition$6 = typeof MsgDefinition$6;
3606
+ declare const MsgDefinition$6: {
3063
3607
  readonly name: "Msg";
3064
3608
  readonly fullName: "qorechain.multilayer.v1.Msg";
3065
3609
  readonly methods: {
@@ -3113,36 +3657,36 @@ declare const MsgDefinition$7: {
3113
3657
  };
3114
3658
  };
3115
3659
  };
3116
- type Builtin$h = Date | Function | Uint8Array | string | number | boolean | undefined;
3117
- type DeepPartial$h<T> = T extends Builtin$h ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$h<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$h<U>> : T extends {} ? {
3118
- [K in keyof T]?: DeepPartial$h<T[K]>;
3660
+ type Builtin$k = Date | Function | Uint8Array | string | number | boolean | undefined;
3661
+ type DeepPartial$k<T> = T extends Builtin$k ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$k<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$k<U>> : T extends {} ? {
3662
+ [K in keyof T]?: DeepPartial$k<T[K]>;
3119
3663
  } : Partial<T>;
3120
- interface MessageFns$h<T> {
3664
+ interface MessageFns$k<T> {
3121
3665
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3122
3666
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3123
3667
  fromJSON(object: any): T;
3124
3668
  toJSON(message: T): unknown;
3125
- create(base?: DeepPartial$h<T>): T;
3126
- fromPartial(object: DeepPartial$h<T>): T;
3669
+ create(base?: DeepPartial$k<T>): T;
3670
+ fromPartial(object: DeepPartial$k<T>): T;
3127
3671
  }
3128
3672
 
3129
- declare const tx$7_MsgAnchorState: typeof MsgAnchorState;
3130
- declare const tx$7_MsgAnchorStateResponse: typeof MsgAnchorStateResponse;
3131
- declare const tx$7_MsgChallengeAnchor: typeof MsgChallengeAnchor;
3132
- declare const tx$7_MsgChallengeAnchorResponse: typeof MsgChallengeAnchorResponse;
3133
- declare const tx$7_MsgRegisterPaychain: typeof MsgRegisterPaychain;
3134
- declare const tx$7_MsgRegisterPaychainResponse: typeof MsgRegisterPaychainResponse;
3135
- declare const tx$7_MsgRegisterSidechain: typeof MsgRegisterSidechain;
3136
- declare const tx$7_MsgRegisterSidechainResponse: typeof MsgRegisterSidechainResponse;
3137
- declare const tx$7_MsgRouteTransaction: typeof MsgRouteTransaction;
3138
- declare const tx$7_MsgRouteTransactionResponse: typeof MsgRouteTransactionResponse;
3139
- declare const tx$7_MsgUpdateLayerStatus: typeof MsgUpdateLayerStatus;
3140
- declare const tx$7_MsgUpdateLayerStatusResponse: typeof MsgUpdateLayerStatusResponse;
3141
- declare namespace tx$7 {
3142
- export { type DeepPartial$h as DeepPartial, type MessageFns$h as MessageFns, tx$7_MsgAnchorState as MsgAnchorState, tx$7_MsgAnchorStateResponse as MsgAnchorStateResponse, tx$7_MsgChallengeAnchor as MsgChallengeAnchor, tx$7_MsgChallengeAnchorResponse as MsgChallengeAnchorResponse, MsgDefinition$7 as MsgDefinition, tx$7_MsgRegisterPaychain as MsgRegisterPaychain, tx$7_MsgRegisterPaychainResponse as MsgRegisterPaychainResponse, tx$7_MsgRegisterSidechain as MsgRegisterSidechain, tx$7_MsgRegisterSidechainResponse as MsgRegisterSidechainResponse, tx$7_MsgRouteTransaction as MsgRouteTransaction, tx$7_MsgRouteTransactionResponse as MsgRouteTransactionResponse, tx$7_MsgUpdateLayerStatus as MsgUpdateLayerStatus, tx$7_MsgUpdateLayerStatusResponse as MsgUpdateLayerStatusResponse, protobufPackage$h as protobufPackage };
3673
+ declare const tx$6_MsgAnchorState: typeof MsgAnchorState;
3674
+ declare const tx$6_MsgAnchorStateResponse: typeof MsgAnchorStateResponse;
3675
+ declare const tx$6_MsgChallengeAnchor: typeof MsgChallengeAnchor;
3676
+ declare const tx$6_MsgChallengeAnchorResponse: typeof MsgChallengeAnchorResponse;
3677
+ declare const tx$6_MsgRegisterPaychain: typeof MsgRegisterPaychain;
3678
+ declare const tx$6_MsgRegisterPaychainResponse: typeof MsgRegisterPaychainResponse;
3679
+ declare const tx$6_MsgRegisterSidechain: typeof MsgRegisterSidechain;
3680
+ declare const tx$6_MsgRegisterSidechainResponse: typeof MsgRegisterSidechainResponse;
3681
+ declare const tx$6_MsgRouteTransaction: typeof MsgRouteTransaction;
3682
+ declare const tx$6_MsgRouteTransactionResponse: typeof MsgRouteTransactionResponse;
3683
+ declare const tx$6_MsgUpdateLayerStatus: typeof MsgUpdateLayerStatus;
3684
+ declare const tx$6_MsgUpdateLayerStatusResponse: typeof MsgUpdateLayerStatusResponse;
3685
+ declare namespace tx$6 {
3686
+ export { type DeepPartial$k as DeepPartial, type MessageFns$k as MessageFns, tx$6_MsgAnchorState as MsgAnchorState, tx$6_MsgAnchorStateResponse as MsgAnchorStateResponse, tx$6_MsgChallengeAnchor as MsgChallengeAnchor, tx$6_MsgChallengeAnchorResponse as MsgChallengeAnchorResponse, MsgDefinition$6 as MsgDefinition, tx$6_MsgRegisterPaychain as MsgRegisterPaychain, tx$6_MsgRegisterPaychainResponse as MsgRegisterPaychainResponse, tx$6_MsgRegisterSidechain as MsgRegisterSidechain, tx$6_MsgRegisterSidechainResponse as MsgRegisterSidechainResponse, tx$6_MsgRouteTransaction as MsgRouteTransaction, tx$6_MsgRouteTransactionResponse as MsgRouteTransactionResponse, tx$6_MsgUpdateLayerStatus as MsgUpdateLayerStatus, tx$6_MsgUpdateLayerStatusResponse as MsgUpdateLayerStatusResponse, protobufPackage$k as protobufPackage };
3143
3687
  }
3144
3688
 
3145
- declare const protobufPackage$g = "qorechain.pqc.v1";
3689
+ declare const protobufPackage$j = "qorechain.pqc.v1";
3146
3690
  /**
3147
3691
  * MsgRegisterPQCKey registers a PQC keypair for an account.
3148
3692
  * Deprecated: use MsgRegisterPQCKeyV2 which includes algorithm_id.
@@ -3153,10 +3697,10 @@ interface MsgRegisterPQCKey {
3153
3697
  ecdsaPubkey: Uint8Array;
3154
3698
  keyType: string;
3155
3699
  }
3156
- declare const MsgRegisterPQCKey: MessageFns$g<MsgRegisterPQCKey>;
3700
+ declare const MsgRegisterPQCKey: MessageFns$j<MsgRegisterPQCKey>;
3157
3701
  interface MsgRegisterPQCKeyResponse {
3158
3702
  }
3159
- declare const MsgRegisterPQCKeyResponse: MessageFns$g<MsgRegisterPQCKeyResponse>;
3703
+ declare const MsgRegisterPQCKeyResponse: MessageFns$j<MsgRegisterPQCKeyResponse>;
3160
3704
  /** MsgRegisterPQCKeyV2 registers a PQC key with explicit algorithm selection. */
3161
3705
  interface MsgRegisterPQCKeyV2 {
3162
3706
  sender: string;
@@ -3165,10 +3709,10 @@ interface MsgRegisterPQCKeyV2 {
3165
3709
  ecdsaPubkey: Uint8Array;
3166
3710
  keyType: string;
3167
3711
  }
3168
- declare const MsgRegisterPQCKeyV2: MessageFns$g<MsgRegisterPQCKeyV2>;
3712
+ declare const MsgRegisterPQCKeyV2: MessageFns$j<MsgRegisterPQCKeyV2>;
3169
3713
  interface MsgRegisterPQCKeyV2Response {
3170
3714
  }
3171
- declare const MsgRegisterPQCKeyV2Response: MessageFns$g<MsgRegisterPQCKeyV2Response>;
3715
+ declare const MsgRegisterPQCKeyV2Response: MessageFns$j<MsgRegisterPQCKeyV2Response>;
3172
3716
  /** MsgMigratePQCKey migrates an account's PQC key, proving ownership of both keys. */
3173
3717
  interface MsgMigratePQCKey {
3174
3718
  sender: string;
@@ -3178,10 +3722,10 @@ interface MsgMigratePQCKey {
3178
3722
  oldSignature: Uint8Array;
3179
3723
  newSignature: Uint8Array;
3180
3724
  }
3181
- declare const MsgMigratePQCKey: MessageFns$g<MsgMigratePQCKey>;
3725
+ declare const MsgMigratePQCKey: MessageFns$j<MsgMigratePQCKey>;
3182
3726
  interface MsgMigratePQCKeyResponse {
3183
3727
  }
3184
- declare const MsgMigratePQCKeyResponse: MessageFns$g<MsgMigratePQCKeyResponse>;
3728
+ declare const MsgMigratePQCKeyResponse: MessageFns$j<MsgMigratePQCKeyResponse>;
3185
3729
  /** MsgDeprecateAlgorithm proposes deprecating an algorithm (starts migration period). */
3186
3730
  interface MsgDeprecateAlgorithm {
3187
3731
  authority: string;
@@ -3189,23 +3733,23 @@ interface MsgDeprecateAlgorithm {
3189
3733
  migrationBlocks: string;
3190
3734
  replacementAlgorithmId: number;
3191
3735
  }
3192
- declare const MsgDeprecateAlgorithm: MessageFns$g<MsgDeprecateAlgorithm>;
3736
+ declare const MsgDeprecateAlgorithm: MessageFns$j<MsgDeprecateAlgorithm>;
3193
3737
  interface MsgDeprecateAlgorithmResponse {
3194
3738
  }
3195
- declare const MsgDeprecateAlgorithmResponse: MessageFns$g<MsgDeprecateAlgorithmResponse>;
3739
+ declare const MsgDeprecateAlgorithmResponse: MessageFns$j<MsgDeprecateAlgorithmResponse>;
3196
3740
  /** MsgDisableAlgorithm emergency-disables an algorithm (e.g., vulnerability discovered). */
3197
3741
  interface MsgDisableAlgorithm {
3198
3742
  authority: string;
3199
3743
  algorithmId: number;
3200
3744
  reason: string;
3201
3745
  }
3202
- declare const MsgDisableAlgorithm: MessageFns$g<MsgDisableAlgorithm>;
3746
+ declare const MsgDisableAlgorithm: MessageFns$j<MsgDisableAlgorithm>;
3203
3747
  interface MsgDisableAlgorithmResponse {
3204
3748
  }
3205
- declare const MsgDisableAlgorithmResponse: MessageFns$g<MsgDisableAlgorithmResponse>;
3749
+ declare const MsgDisableAlgorithmResponse: MessageFns$j<MsgDisableAlgorithmResponse>;
3206
3750
  /** Msg defines the PQC module's transaction service. */
3207
- type MsgDefinition$6 = typeof MsgDefinition$6;
3208
- declare const MsgDefinition$6: {
3751
+ type MsgDefinition$5 = typeof MsgDefinition$5;
3752
+ declare const MsgDefinition$5: {
3209
3753
  readonly name: "Msg";
3210
3754
  readonly fullName: "qorechain.pqc.v1.Msg";
3211
3755
  readonly methods: {
@@ -3256,177 +3800,65 @@ declare const MsgDefinition$6: {
3256
3800
  };
3257
3801
  };
3258
3802
  };
3259
- type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
3260
- type DeepPartial$g<T> = T extends Builtin$g ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$g<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$g<U>> : T extends {} ? {
3261
- [K in keyof T]?: DeepPartial$g<T[K]>;
3262
- } : Partial<T>;
3263
- interface MessageFns$g<T> {
3264
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
3265
- decode(input: BinaryReader | Uint8Array, length?: number): T;
3266
- fromJSON(object: any): T;
3267
- toJSON(message: T): unknown;
3268
- create(base?: DeepPartial$g<T>): T;
3269
- fromPartial(object: DeepPartial$g<T>): T;
3270
- }
3271
-
3272
- declare const tx$6_MsgDeprecateAlgorithm: typeof MsgDeprecateAlgorithm;
3273
- declare const tx$6_MsgDeprecateAlgorithmResponse: typeof MsgDeprecateAlgorithmResponse;
3274
- declare const tx$6_MsgDisableAlgorithm: typeof MsgDisableAlgorithm;
3275
- declare const tx$6_MsgDisableAlgorithmResponse: typeof MsgDisableAlgorithmResponse;
3276
- declare const tx$6_MsgMigratePQCKey: typeof MsgMigratePQCKey;
3277
- declare const tx$6_MsgMigratePQCKeyResponse: typeof MsgMigratePQCKeyResponse;
3278
- declare const tx$6_MsgRegisterPQCKey: typeof MsgRegisterPQCKey;
3279
- declare const tx$6_MsgRegisterPQCKeyResponse: typeof MsgRegisterPQCKeyResponse;
3280
- declare const tx$6_MsgRegisterPQCKeyV2: typeof MsgRegisterPQCKeyV2;
3281
- declare const tx$6_MsgRegisterPQCKeyV2Response: typeof MsgRegisterPQCKeyV2Response;
3282
- declare namespace tx$6 {
3283
- export { type DeepPartial$g as DeepPartial, type MessageFns$g as MessageFns, MsgDefinition$6 as MsgDefinition, tx$6_MsgDeprecateAlgorithm as MsgDeprecateAlgorithm, tx$6_MsgDeprecateAlgorithmResponse as MsgDeprecateAlgorithmResponse, tx$6_MsgDisableAlgorithm as MsgDisableAlgorithm, tx$6_MsgDisableAlgorithmResponse as MsgDisableAlgorithmResponse, tx$6_MsgMigratePQCKey as MsgMigratePQCKey, tx$6_MsgMigratePQCKeyResponse as MsgMigratePQCKeyResponse, tx$6_MsgRegisterPQCKey as MsgRegisterPQCKey, tx$6_MsgRegisterPQCKeyResponse as MsgRegisterPQCKeyResponse, tx$6_MsgRegisterPQCKeyV2 as MsgRegisterPQCKeyV2, tx$6_MsgRegisterPQCKeyV2Response as MsgRegisterPQCKeyV2Response, protobufPackage$g as protobufPackage };
3284
- }
3285
-
3286
- declare const protobufPackage$f = "qorechain.svm.v1";
3287
- interface MsgDeployProgram {
3288
- sender: string;
3289
- bytecode: Uint8Array;
3290
- }
3291
- declare const MsgDeployProgram: MessageFns$f<MsgDeployProgram>;
3292
- interface MsgDeployProgramResponse {
3293
- programId: Uint8Array;
3294
- }
3295
- declare const MsgDeployProgramResponse: MessageFns$f<MsgDeployProgramResponse>;
3296
- interface MsgCreateAccount {
3297
- sender: string;
3298
- owner: Uint8Array;
3299
- space: string;
3300
- lamports: string;
3301
- salt: Uint8Array;
3302
- }
3303
- declare const MsgCreateAccount: MessageFns$f<MsgCreateAccount>;
3304
- interface MsgCreateAccountResponse {
3305
- }
3306
- declare const MsgCreateAccountResponse: MessageFns$f<MsgCreateAccountResponse>;
3307
- interface SvmAccountMeta {
3308
- address: Uint8Array;
3309
- isSigner: boolean;
3310
- isWritable: boolean;
3311
- }
3312
- declare const SvmAccountMeta: MessageFns$f<SvmAccountMeta>;
3313
- interface MsgExecuteProgram {
3314
- sender: string;
3315
- programId: Uint8Array;
3316
- accounts: SvmAccountMeta[];
3317
- data: Uint8Array;
3318
- }
3319
- declare const MsgExecuteProgram: MessageFns$f<MsgExecuteProgram>;
3320
- interface MsgExecuteProgramResponse {
3321
- result: Uint8Array;
3322
- }
3323
- declare const MsgExecuteProgramResponse: MessageFns$f<MsgExecuteProgramResponse>;
3324
- interface MsgRegisterSVMPQCKey {
3325
- sender: string;
3326
- svmAddr: Uint8Array;
3327
- pqcPubKey: Uint8Array;
3328
- }
3329
- declare const MsgRegisterSVMPQCKey: MessageFns$f<MsgRegisterSVMPQCKey>;
3330
- interface MsgRegisterSVMPQCKeyResponse {
3331
- }
3332
- declare const MsgRegisterSVMPQCKeyResponse: MessageFns$f<MsgRegisterSVMPQCKeyResponse>;
3333
- type MsgDefinition$5 = typeof MsgDefinition$5;
3334
- declare const MsgDefinition$5: {
3335
- readonly name: "Msg";
3336
- readonly fullName: "qorechain.svm.v1.Msg";
3337
- readonly methods: {
3338
- readonly deployProgram: {
3339
- readonly name: "DeployProgram";
3340
- readonly requestType: typeof MsgDeployProgram;
3341
- readonly requestStream: false;
3342
- readonly responseType: typeof MsgDeployProgramResponse;
3343
- readonly responseStream: false;
3344
- readonly options: {};
3345
- };
3346
- readonly createAccount: {
3347
- readonly name: "CreateAccount";
3348
- readonly requestType: typeof MsgCreateAccount;
3349
- readonly requestStream: false;
3350
- readonly responseType: typeof MsgCreateAccountResponse;
3351
- readonly responseStream: false;
3352
- readonly options: {};
3353
- };
3354
- readonly executeProgram: {
3355
- readonly name: "ExecuteProgram";
3356
- readonly requestType: typeof MsgExecuteProgram;
3357
- readonly requestStream: false;
3358
- readonly responseType: typeof MsgExecuteProgramResponse;
3359
- readonly responseStream: false;
3360
- readonly options: {};
3361
- };
3362
- readonly registerSVMPQCKey: {
3363
- readonly name: "RegisterSVMPQCKey";
3364
- readonly requestType: typeof MsgRegisterSVMPQCKey;
3365
- readonly requestStream: false;
3366
- readonly responseType: typeof MsgRegisterSVMPQCKeyResponse;
3367
- readonly responseStream: false;
3368
- readonly options: {};
3369
- };
3370
- };
3371
- };
3372
- type Builtin$f = Date | Function | Uint8Array | string | number | boolean | undefined;
3373
- type DeepPartial$f<T> = T extends Builtin$f ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$f<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$f<U>> : T extends {} ? {
3374
- [K in keyof T]?: DeepPartial$f<T[K]>;
3803
+ type Builtin$j = Date | Function | Uint8Array | string | number | boolean | undefined;
3804
+ type DeepPartial$j<T> = T extends Builtin$j ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$j<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$j<U>> : T extends {} ? {
3805
+ [K in keyof T]?: DeepPartial$j<T[K]>;
3375
3806
  } : Partial<T>;
3376
- interface MessageFns$f<T> {
3807
+ interface MessageFns$j<T> {
3377
3808
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3378
3809
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3379
3810
  fromJSON(object: any): T;
3380
3811
  toJSON(message: T): unknown;
3381
- create(base?: DeepPartial$f<T>): T;
3382
- fromPartial(object: DeepPartial$f<T>): T;
3812
+ create(base?: DeepPartial$j<T>): T;
3813
+ fromPartial(object: DeepPartial$j<T>): T;
3383
3814
  }
3384
3815
 
3385
- declare const tx$5_MsgCreateAccount: typeof MsgCreateAccount;
3386
- declare const tx$5_MsgCreateAccountResponse: typeof MsgCreateAccountResponse;
3387
- declare const tx$5_MsgDeployProgram: typeof MsgDeployProgram;
3388
- declare const tx$5_MsgDeployProgramResponse: typeof MsgDeployProgramResponse;
3389
- declare const tx$5_MsgExecuteProgram: typeof MsgExecuteProgram;
3390
- declare const tx$5_MsgExecuteProgramResponse: typeof MsgExecuteProgramResponse;
3391
- declare const tx$5_MsgRegisterSVMPQCKey: typeof MsgRegisterSVMPQCKey;
3392
- declare const tx$5_MsgRegisterSVMPQCKeyResponse: typeof MsgRegisterSVMPQCKeyResponse;
3393
- declare const tx$5_SvmAccountMeta: typeof SvmAccountMeta;
3816
+ declare const tx$5_MsgDeprecateAlgorithm: typeof MsgDeprecateAlgorithm;
3817
+ declare const tx$5_MsgDeprecateAlgorithmResponse: typeof MsgDeprecateAlgorithmResponse;
3818
+ declare const tx$5_MsgDisableAlgorithm: typeof MsgDisableAlgorithm;
3819
+ declare const tx$5_MsgDisableAlgorithmResponse: typeof MsgDisableAlgorithmResponse;
3820
+ declare const tx$5_MsgMigratePQCKey: typeof MsgMigratePQCKey;
3821
+ declare const tx$5_MsgMigratePQCKeyResponse: typeof MsgMigratePQCKeyResponse;
3822
+ declare const tx$5_MsgRegisterPQCKey: typeof MsgRegisterPQCKey;
3823
+ declare const tx$5_MsgRegisterPQCKeyResponse: typeof MsgRegisterPQCKeyResponse;
3824
+ declare const tx$5_MsgRegisterPQCKeyV2: typeof MsgRegisterPQCKeyV2;
3825
+ declare const tx$5_MsgRegisterPQCKeyV2Response: typeof MsgRegisterPQCKeyV2Response;
3394
3826
  declare namespace tx$5 {
3395
- export { type DeepPartial$f as DeepPartial, type MessageFns$f as MessageFns, tx$5_MsgCreateAccount as MsgCreateAccount, tx$5_MsgCreateAccountResponse as MsgCreateAccountResponse, MsgDefinition$5 as MsgDefinition, tx$5_MsgDeployProgram as MsgDeployProgram, tx$5_MsgDeployProgramResponse as MsgDeployProgramResponse, tx$5_MsgExecuteProgram as MsgExecuteProgram, tx$5_MsgExecuteProgramResponse as MsgExecuteProgramResponse, tx$5_MsgRegisterSVMPQCKey as MsgRegisterSVMPQCKey, tx$5_MsgRegisterSVMPQCKeyResponse as MsgRegisterSVMPQCKeyResponse, tx$5_SvmAccountMeta as SvmAccountMeta, protobufPackage$f as protobufPackage };
3827
+ export { type DeepPartial$j as DeepPartial, type MessageFns$j as MessageFns, MsgDefinition$5 as MsgDefinition, tx$5_MsgDeprecateAlgorithm as MsgDeprecateAlgorithm, tx$5_MsgDeprecateAlgorithmResponse as MsgDeprecateAlgorithmResponse, tx$5_MsgDisableAlgorithm as MsgDisableAlgorithm, tx$5_MsgDisableAlgorithmResponse as MsgDisableAlgorithmResponse, tx$5_MsgMigratePQCKey as MsgMigratePQCKey, tx$5_MsgMigratePQCKeyResponse as MsgMigratePQCKeyResponse, tx$5_MsgRegisterPQCKey as MsgRegisterPQCKey, tx$5_MsgRegisterPQCKeyResponse as MsgRegisterPQCKeyResponse, tx$5_MsgRegisterPQCKeyV2 as MsgRegisterPQCKeyV2, tx$5_MsgRegisterPQCKeyV2Response as MsgRegisterPQCKeyV2Response, protobufPackage$j as protobufPackage };
3396
3828
  }
3397
3829
 
3398
- declare const protobufPackage$e = "qorechain.lightnode.v1";
3830
+ declare const protobufPackage$i = "qorechain.lightnode.v1";
3399
3831
  interface MsgRegisterLightNode {
3400
3832
  operator: string;
3401
3833
  nodeType: string;
3402
3834
  version: string;
3403
3835
  capabilities: string[];
3404
3836
  }
3405
- declare const MsgRegisterLightNode: MessageFns$e<MsgRegisterLightNode>;
3837
+ declare const MsgRegisterLightNode: MessageFns$i<MsgRegisterLightNode>;
3406
3838
  interface MsgRegisterLightNodeResponse {
3407
3839
  }
3408
- declare const MsgRegisterLightNodeResponse: MessageFns$e<MsgRegisterLightNodeResponse>;
3840
+ declare const MsgRegisterLightNodeResponse: MessageFns$i<MsgRegisterLightNodeResponse>;
3409
3841
  interface MsgHeartbeat {
3410
3842
  operator: string;
3411
3843
  }
3412
- declare const MsgHeartbeat: MessageFns$e<MsgHeartbeat>;
3844
+ declare const MsgHeartbeat: MessageFns$i<MsgHeartbeat>;
3413
3845
  interface MsgHeartbeatResponse {
3414
3846
  }
3415
- declare const MsgHeartbeatResponse: MessageFns$e<MsgHeartbeatResponse>;
3847
+ declare const MsgHeartbeatResponse: MessageFns$i<MsgHeartbeatResponse>;
3416
3848
  interface MsgDeregisterLightNode {
3417
3849
  operator: string;
3418
3850
  }
3419
- declare const MsgDeregisterLightNode: MessageFns$e<MsgDeregisterLightNode>;
3851
+ declare const MsgDeregisterLightNode: MessageFns$i<MsgDeregisterLightNode>;
3420
3852
  interface MsgDeregisterLightNodeResponse {
3421
3853
  }
3422
- declare const MsgDeregisterLightNodeResponse: MessageFns$e<MsgDeregisterLightNodeResponse>;
3854
+ declare const MsgDeregisterLightNodeResponse: MessageFns$i<MsgDeregisterLightNodeResponse>;
3423
3855
  interface MsgClaimLightNodeRewards {
3424
3856
  operator: string;
3425
3857
  }
3426
- declare const MsgClaimLightNodeRewards: MessageFns$e<MsgClaimLightNodeRewards>;
3858
+ declare const MsgClaimLightNodeRewards: MessageFns$i<MsgClaimLightNodeRewards>;
3427
3859
  interface MsgClaimLightNodeRewardsResponse {
3428
3860
  }
3429
- declare const MsgClaimLightNodeRewardsResponse: MessageFns$e<MsgClaimLightNodeRewardsResponse>;
3861
+ declare const MsgClaimLightNodeRewardsResponse: MessageFns$i<MsgClaimLightNodeRewardsResponse>;
3430
3862
  /** Msg defines the lightnode module's transaction service. */
3431
3863
  type MsgDefinition$4 = typeof MsgDefinition$4;
3432
3864
  declare const MsgDefinition$4: {
@@ -3467,17 +3899,17 @@ declare const MsgDefinition$4: {
3467
3899
  };
3468
3900
  };
3469
3901
  };
3470
- type Builtin$e = Date | Function | Uint8Array | string | number | boolean | undefined;
3471
- type DeepPartial$e<T> = T extends Builtin$e ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$e<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$e<U>> : T extends {} ? {
3472
- [K in keyof T]?: DeepPartial$e<T[K]>;
3902
+ type Builtin$i = Date | Function | Uint8Array | string | number | boolean | undefined;
3903
+ type DeepPartial$i<T> = T extends Builtin$i ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$i<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$i<U>> : T extends {} ? {
3904
+ [K in keyof T]?: DeepPartial$i<T[K]>;
3473
3905
  } : Partial<T>;
3474
- interface MessageFns$e<T> {
3906
+ interface MessageFns$i<T> {
3475
3907
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3476
3908
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3477
3909
  fromJSON(object: any): T;
3478
3910
  toJSON(message: T): unknown;
3479
- create(base?: DeepPartial$e<T>): T;
3480
- fromPartial(object: DeepPartial$e<T>): T;
3911
+ create(base?: DeepPartial$i<T>): T;
3912
+ fromPartial(object: DeepPartial$i<T>): T;
3481
3913
  }
3482
3914
 
3483
3915
  declare const tx$4_MsgClaimLightNodeRewards: typeof MsgClaimLightNodeRewards;
@@ -3489,10 +3921,10 @@ declare const tx$4_MsgHeartbeatResponse: typeof MsgHeartbeatResponse;
3489
3921
  declare const tx$4_MsgRegisterLightNode: typeof MsgRegisterLightNode;
3490
3922
  declare const tx$4_MsgRegisterLightNodeResponse: typeof MsgRegisterLightNodeResponse;
3491
3923
  declare namespace tx$4 {
3492
- export { type DeepPartial$e as DeepPartial, type MessageFns$e as MessageFns, tx$4_MsgClaimLightNodeRewards as MsgClaimLightNodeRewards, tx$4_MsgClaimLightNodeRewardsResponse as MsgClaimLightNodeRewardsResponse, MsgDefinition$4 as MsgDefinition, tx$4_MsgDeregisterLightNode as MsgDeregisterLightNode, tx$4_MsgDeregisterLightNodeResponse as MsgDeregisterLightNodeResponse, tx$4_MsgHeartbeat as MsgHeartbeat, tx$4_MsgHeartbeatResponse as MsgHeartbeatResponse, tx$4_MsgRegisterLightNode as MsgRegisterLightNode, tx$4_MsgRegisterLightNodeResponse as MsgRegisterLightNodeResponse, protobufPackage$e as protobufPackage };
3924
+ export { type DeepPartial$i as DeepPartial, type MessageFns$i as MessageFns, tx$4_MsgClaimLightNodeRewards as MsgClaimLightNodeRewards, tx$4_MsgClaimLightNodeRewardsResponse as MsgClaimLightNodeRewardsResponse, MsgDefinition$4 as MsgDefinition, tx$4_MsgDeregisterLightNode as MsgDeregisterLightNode, tx$4_MsgDeregisterLightNodeResponse as MsgDeregisterLightNodeResponse, tx$4_MsgHeartbeat as MsgHeartbeat, tx$4_MsgHeartbeatResponse as MsgHeartbeatResponse, tx$4_MsgRegisterLightNode as MsgRegisterLightNode, tx$4_MsgRegisterLightNodeResponse as MsgRegisterLightNodeResponse, protobufPackage$i as protobufPackage };
3493
3925
  }
3494
3926
 
3495
- declare const protobufPackage$d = "qorechain.license.v1";
3927
+ declare const protobufPackage$h = "qorechain.license.v1";
3496
3928
  interface MsgGrantLicense {
3497
3929
  authority: string;
3498
3930
  grantee: string;
@@ -3500,37 +3932,37 @@ interface MsgGrantLicense {
3500
3932
  expiresAt: string;
3501
3933
  metadata: string;
3502
3934
  }
3503
- declare const MsgGrantLicense: MessageFns$d<MsgGrantLicense>;
3935
+ declare const MsgGrantLicense: MessageFns$h<MsgGrantLicense>;
3504
3936
  interface MsgGrantLicenseResponse {
3505
3937
  }
3506
- declare const MsgGrantLicenseResponse: MessageFns$d<MsgGrantLicenseResponse>;
3938
+ declare const MsgGrantLicenseResponse: MessageFns$h<MsgGrantLicenseResponse>;
3507
3939
  interface MsgRevokeLicense {
3508
3940
  authority: string;
3509
3941
  grantee: string;
3510
3942
  featureId: string;
3511
3943
  }
3512
- declare const MsgRevokeLicense: MessageFns$d<MsgRevokeLicense>;
3944
+ declare const MsgRevokeLicense: MessageFns$h<MsgRevokeLicense>;
3513
3945
  interface MsgRevokeLicenseResponse {
3514
3946
  }
3515
- declare const MsgRevokeLicenseResponse: MessageFns$d<MsgRevokeLicenseResponse>;
3947
+ declare const MsgRevokeLicenseResponse: MessageFns$h<MsgRevokeLicenseResponse>;
3516
3948
  interface MsgSuspendLicense {
3517
3949
  authority: string;
3518
3950
  grantee: string;
3519
3951
  featureId: string;
3520
3952
  }
3521
- declare const MsgSuspendLicense: MessageFns$d<MsgSuspendLicense>;
3953
+ declare const MsgSuspendLicense: MessageFns$h<MsgSuspendLicense>;
3522
3954
  interface MsgSuspendLicenseResponse {
3523
3955
  }
3524
- declare const MsgSuspendLicenseResponse: MessageFns$d<MsgSuspendLicenseResponse>;
3956
+ declare const MsgSuspendLicenseResponse: MessageFns$h<MsgSuspendLicenseResponse>;
3525
3957
  interface MsgResumeLicense {
3526
3958
  authority: string;
3527
3959
  grantee: string;
3528
3960
  featureId: string;
3529
3961
  }
3530
- declare const MsgResumeLicense: MessageFns$d<MsgResumeLicense>;
3962
+ declare const MsgResumeLicense: MessageFns$h<MsgResumeLicense>;
3531
3963
  interface MsgResumeLicenseResponse {
3532
3964
  }
3533
- declare const MsgResumeLicenseResponse: MessageFns$d<MsgResumeLicenseResponse>;
3965
+ declare const MsgResumeLicenseResponse: MessageFns$h<MsgResumeLicenseResponse>;
3534
3966
  /** Msg defines the license module's transaction service. */
3535
3967
  type MsgDefinition$3 = typeof MsgDefinition$3;
3536
3968
  declare const MsgDefinition$3: {
@@ -3571,17 +4003,17 @@ declare const MsgDefinition$3: {
3571
4003
  };
3572
4004
  };
3573
4005
  };
3574
- type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
3575
- type DeepPartial$d<T> = T extends Builtin$d ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$d<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$d<U>> : T extends {} ? {
3576
- [K in keyof T]?: DeepPartial$d<T[K]>;
4006
+ type Builtin$h = Date | Function | Uint8Array | string | number | boolean | undefined;
4007
+ type DeepPartial$h<T> = T extends Builtin$h ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$h<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$h<U>> : T extends {} ? {
4008
+ [K in keyof T]?: DeepPartial$h<T[K]>;
3577
4009
  } : Partial<T>;
3578
- interface MessageFns$d<T> {
4010
+ interface MessageFns$h<T> {
3579
4011
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3580
4012
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3581
4013
  fromJSON(object: any): T;
3582
4014
  toJSON(message: T): unknown;
3583
- create(base?: DeepPartial$d<T>): T;
3584
- fromPartial(object: DeepPartial$d<T>): T;
4015
+ create(base?: DeepPartial$h<T>): T;
4016
+ fromPartial(object: DeepPartial$h<T>): T;
3585
4017
  }
3586
4018
 
3587
4019
  declare const tx$3_MsgGrantLicense: typeof MsgGrantLicense;
@@ -3593,10 +4025,10 @@ declare const tx$3_MsgRevokeLicenseResponse: typeof MsgRevokeLicenseResponse;
3593
4025
  declare const tx$3_MsgSuspendLicense: typeof MsgSuspendLicense;
3594
4026
  declare const tx$3_MsgSuspendLicenseResponse: typeof MsgSuspendLicenseResponse;
3595
4027
  declare namespace tx$3 {
3596
- export { type DeepPartial$d as DeepPartial, type MessageFns$d as MessageFns, MsgDefinition$3 as MsgDefinition, tx$3_MsgGrantLicense as MsgGrantLicense, tx$3_MsgGrantLicenseResponse as MsgGrantLicenseResponse, tx$3_MsgResumeLicense as MsgResumeLicense, tx$3_MsgResumeLicenseResponse as MsgResumeLicenseResponse, tx$3_MsgRevokeLicense as MsgRevokeLicense, tx$3_MsgRevokeLicenseResponse as MsgRevokeLicenseResponse, tx$3_MsgSuspendLicense as MsgSuspendLicense, tx$3_MsgSuspendLicenseResponse as MsgSuspendLicenseResponse, protobufPackage$d as protobufPackage };
4028
+ export { type DeepPartial$h as DeepPartial, type MessageFns$h as MessageFns, MsgDefinition$3 as MsgDefinition, tx$3_MsgGrantLicense as MsgGrantLicense, tx$3_MsgGrantLicenseResponse as MsgGrantLicenseResponse, tx$3_MsgResumeLicense as MsgResumeLicense, tx$3_MsgResumeLicenseResponse as MsgResumeLicenseResponse, tx$3_MsgRevokeLicense as MsgRevokeLicense, tx$3_MsgRevokeLicenseResponse as MsgRevokeLicenseResponse, tx$3_MsgSuspendLicense as MsgSuspendLicense, tx$3_MsgSuspendLicenseResponse as MsgSuspendLicenseResponse, protobufPackage$h as protobufPackage };
3597
4029
  }
3598
4030
 
3599
- declare const protobufPackage$c = "qorechain.abstractaccount.v1";
4031
+ declare const protobufPackage$g = "qorechain.abstractaccount.v1";
3600
4032
  /** SpendingRule defines spending limits for an abstract account. */
3601
4033
  interface SpendingRule {
3602
4034
  id: string;
@@ -3605,25 +4037,61 @@ interface SpendingRule {
3605
4037
  allowedDenoms: string[];
3606
4038
  enabled: boolean;
3607
4039
  }
3608
- declare const SpendingRule: MessageFns$c<SpendingRule>;
4040
+ declare const SpendingRule: MessageFns$g<SpendingRule>;
3609
4041
  interface MsgCreateAbstractAccount {
3610
4042
  owner: string;
3611
4043
  accountType: string;
3612
4044
  }
3613
- declare const MsgCreateAbstractAccount: MessageFns$c<MsgCreateAbstractAccount>;
4045
+ declare const MsgCreateAbstractAccount: MessageFns$g<MsgCreateAbstractAccount>;
3614
4046
  interface MsgCreateAbstractAccountResponse {
3615
4047
  address: string;
3616
4048
  }
3617
- declare const MsgCreateAbstractAccountResponse: MessageFns$c<MsgCreateAbstractAccountResponse>;
4049
+ declare const MsgCreateAbstractAccountResponse: MessageFns$g<MsgCreateAbstractAccountResponse>;
3618
4050
  interface MsgUpdateSpendingRules {
3619
4051
  owner: string;
3620
4052
  accountAddress: string;
3621
4053
  rules: SpendingRule[];
3622
4054
  }
3623
- declare const MsgUpdateSpendingRules: MessageFns$c<MsgUpdateSpendingRules>;
4055
+ declare const MsgUpdateSpendingRules: MessageFns$g<MsgUpdateSpendingRules>;
3624
4056
  interface MsgUpdateSpendingRulesResponse {
3625
4057
  }
3626
- declare const MsgUpdateSpendingRulesResponse: MessageFns$c<MsgUpdateSpendingRulesResponse>;
4058
+ declare const MsgUpdateSpendingRulesResponse: MessageFns$g<MsgUpdateSpendingRulesResponse>;
4059
+ /**
4060
+ * MsgRegisterAuthenticator links a foreign-scheme wallet key (e.g. a Phantom
4061
+ * ed25519 key) to an account so it may act for that account under least-privilege,
4062
+ * time-bounded, revocable terms. Only the account owner (root key) may call it.
4063
+ */
4064
+ interface MsgRegisterAuthenticator {
4065
+ owner: string;
4066
+ accountAddress: string;
4067
+ /** "ed25519" | "secp256k1" */
4068
+ scheme: string;
4069
+ /** raw public key bytes */
4070
+ pubkey: Uint8Array;
4071
+ /** e.g. "svm", "send" */
4072
+ permissions: string[];
4073
+ /** unix seconds; must be within MaxSessionTTL */
4074
+ expiryUnix: string;
4075
+ label: string;
4076
+ }
4077
+ declare const MsgRegisterAuthenticator: MessageFns$g<MsgRegisterAuthenticator>;
4078
+ interface MsgRegisterAuthenticatorResponse {
4079
+ }
4080
+ declare const MsgRegisterAuthenticatorResponse: MessageFns$g<MsgRegisterAuthenticatorResponse>;
4081
+ /**
4082
+ * MsgRevokeAuthenticator instantly disables a previously linked wallet key.
4083
+ * Only the account owner (root key) may call it.
4084
+ */
4085
+ interface MsgRevokeAuthenticator {
4086
+ owner: string;
4087
+ accountAddress: string;
4088
+ scheme: string;
4089
+ pubkey: Uint8Array;
4090
+ }
4091
+ declare const MsgRevokeAuthenticator: MessageFns$g<MsgRevokeAuthenticator>;
4092
+ interface MsgRevokeAuthenticatorResponse {
4093
+ }
4094
+ declare const MsgRevokeAuthenticatorResponse: MessageFns$g<MsgRevokeAuthenticatorResponse>;
3627
4095
  /** Msg defines the abstractaccount module's transaction service. */
3628
4096
  type MsgDefinition$2 = typeof MsgDefinition$2;
3629
4097
  declare const MsgDefinition$2: {
@@ -3646,31 +4114,51 @@ declare const MsgDefinition$2: {
3646
4114
  readonly responseStream: false;
3647
4115
  readonly options: {};
3648
4116
  };
4117
+ readonly registerAuthenticator: {
4118
+ readonly name: "RegisterAuthenticator";
4119
+ readonly requestType: typeof MsgRegisterAuthenticator;
4120
+ readonly requestStream: false;
4121
+ readonly responseType: typeof MsgRegisterAuthenticatorResponse;
4122
+ readonly responseStream: false;
4123
+ readonly options: {};
4124
+ };
4125
+ readonly revokeAuthenticator: {
4126
+ readonly name: "RevokeAuthenticator";
4127
+ readonly requestType: typeof MsgRevokeAuthenticator;
4128
+ readonly requestStream: false;
4129
+ readonly responseType: typeof MsgRevokeAuthenticatorResponse;
4130
+ readonly responseStream: false;
4131
+ readonly options: {};
4132
+ };
3649
4133
  };
3650
4134
  };
3651
- type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
3652
- type DeepPartial$c<T> = T extends Builtin$c ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$c<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$c<U>> : T extends {} ? {
3653
- [K in keyof T]?: DeepPartial$c<T[K]>;
4135
+ type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
4136
+ type DeepPartial$g<T> = T extends Builtin$g ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$g<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$g<U>> : T extends {} ? {
4137
+ [K in keyof T]?: DeepPartial$g<T[K]>;
3654
4138
  } : Partial<T>;
3655
- interface MessageFns$c<T> {
4139
+ interface MessageFns$g<T> {
3656
4140
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3657
4141
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3658
4142
  fromJSON(object: any): T;
3659
4143
  toJSON(message: T): unknown;
3660
- create(base?: DeepPartial$c<T>): T;
3661
- fromPartial(object: DeepPartial$c<T>): T;
4144
+ create(base?: DeepPartial$g<T>): T;
4145
+ fromPartial(object: DeepPartial$g<T>): T;
3662
4146
  }
3663
4147
 
3664
4148
  declare const tx$2_MsgCreateAbstractAccount: typeof MsgCreateAbstractAccount;
3665
4149
  declare const tx$2_MsgCreateAbstractAccountResponse: typeof MsgCreateAbstractAccountResponse;
4150
+ declare const tx$2_MsgRegisterAuthenticator: typeof MsgRegisterAuthenticator;
4151
+ declare const tx$2_MsgRegisterAuthenticatorResponse: typeof MsgRegisterAuthenticatorResponse;
4152
+ declare const tx$2_MsgRevokeAuthenticator: typeof MsgRevokeAuthenticator;
4153
+ declare const tx$2_MsgRevokeAuthenticatorResponse: typeof MsgRevokeAuthenticatorResponse;
3666
4154
  declare const tx$2_MsgUpdateSpendingRules: typeof MsgUpdateSpendingRules;
3667
4155
  declare const tx$2_MsgUpdateSpendingRulesResponse: typeof MsgUpdateSpendingRulesResponse;
3668
4156
  declare const tx$2_SpendingRule: typeof SpendingRule;
3669
4157
  declare namespace tx$2 {
3670
- export { type DeepPartial$c as DeepPartial, type MessageFns$c as MessageFns, tx$2_MsgCreateAbstractAccount as MsgCreateAbstractAccount, tx$2_MsgCreateAbstractAccountResponse as MsgCreateAbstractAccountResponse, MsgDefinition$2 as MsgDefinition, tx$2_MsgUpdateSpendingRules as MsgUpdateSpendingRules, tx$2_MsgUpdateSpendingRulesResponse as MsgUpdateSpendingRulesResponse, tx$2_SpendingRule as SpendingRule, protobufPackage$c as protobufPackage };
4158
+ export { type DeepPartial$g as DeepPartial, type MessageFns$g as MessageFns, tx$2_MsgCreateAbstractAccount as MsgCreateAbstractAccount, tx$2_MsgCreateAbstractAccountResponse as MsgCreateAbstractAccountResponse, MsgDefinition$2 as MsgDefinition, tx$2_MsgRegisterAuthenticator as MsgRegisterAuthenticator, tx$2_MsgRegisterAuthenticatorResponse as MsgRegisterAuthenticatorResponse, tx$2_MsgRevokeAuthenticator as MsgRevokeAuthenticator, tx$2_MsgRevokeAuthenticatorResponse as MsgRevokeAuthenticatorResponse, tx$2_MsgUpdateSpendingRules as MsgUpdateSpendingRules, tx$2_MsgUpdateSpendingRulesResponse as MsgUpdateSpendingRulesResponse, tx$2_SpendingRule as SpendingRule, protobufPackage$g as protobufPackage };
3671
4159
  }
3672
4160
 
3673
- declare const protobufPackage$b = "qorechain.crossvm.v1";
4161
+ declare const protobufPackage$f = "qorechain.crossvm.v1";
3674
4162
  interface MsgCrossVMCall {
3675
4163
  sender: string;
3676
4164
  sourceVm: string;
@@ -3679,18 +4167,18 @@ interface MsgCrossVMCall {
3679
4167
  payload: Uint8Array;
3680
4168
  funds: Coin[];
3681
4169
  }
3682
- declare const MsgCrossVMCall: MessageFns$b<MsgCrossVMCall>;
4170
+ declare const MsgCrossVMCall: MessageFns$f<MsgCrossVMCall>;
3683
4171
  interface MsgCrossVMCallResponse {
3684
4172
  messageId: string;
3685
4173
  }
3686
- declare const MsgCrossVMCallResponse: MessageFns$b<MsgCrossVMCallResponse>;
4174
+ declare const MsgCrossVMCallResponse: MessageFns$f<MsgCrossVMCallResponse>;
3687
4175
  interface MsgProcessQueue {
3688
4176
  authority: string;
3689
4177
  }
3690
- declare const MsgProcessQueue: MessageFns$b<MsgProcessQueue>;
4178
+ declare const MsgProcessQueue: MessageFns$f<MsgProcessQueue>;
3691
4179
  interface MsgProcessQueueResponse {
3692
4180
  }
3693
- declare const MsgProcessQueueResponse: MessageFns$b<MsgProcessQueueResponse>;
4181
+ declare const MsgProcessQueueResponse: MessageFns$f<MsgProcessQueueResponse>;
3694
4182
  /** Msg defines the crossvm module's transaction service. */
3695
4183
  type MsgDefinition$1 = typeof MsgDefinition$1;
3696
4184
  declare const MsgDefinition$1: {
@@ -3717,17 +4205,17 @@ declare const MsgDefinition$1: {
3717
4205
  };
3718
4206
  };
3719
4207
  };
3720
- type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
3721
- type DeepPartial$b<T> = T extends Builtin$b ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$b<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$b<U>> : T extends {} ? {
3722
- [K in keyof T]?: DeepPartial$b<T[K]>;
4208
+ type Builtin$f = Date | Function | Uint8Array | string | number | boolean | undefined;
4209
+ type DeepPartial$f<T> = T extends Builtin$f ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$f<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$f<U>> : T extends {} ? {
4210
+ [K in keyof T]?: DeepPartial$f<T[K]>;
3723
4211
  } : Partial<T>;
3724
- interface MessageFns$b<T> {
4212
+ interface MessageFns$f<T> {
3725
4213
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3726
4214
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3727
4215
  fromJSON(object: any): T;
3728
4216
  toJSON(message: T): unknown;
3729
- create(base?: DeepPartial$b<T>): T;
3730
- fromPartial(object: DeepPartial$b<T>): T;
4217
+ create(base?: DeepPartial$f<T>): T;
4218
+ fromPartial(object: DeepPartial$f<T>): T;
3731
4219
  }
3732
4220
 
3733
4221
  declare const tx$1_MsgCrossVMCall: typeof MsgCrossVMCall;
@@ -3735,35 +4223,35 @@ declare const tx$1_MsgCrossVMCallResponse: typeof MsgCrossVMCallResponse;
3735
4223
  declare const tx$1_MsgProcessQueue: typeof MsgProcessQueue;
3736
4224
  declare const tx$1_MsgProcessQueueResponse: typeof MsgProcessQueueResponse;
3737
4225
  declare namespace tx$1 {
3738
- export { type DeepPartial$b as DeepPartial, type MessageFns$b as MessageFns, tx$1_MsgCrossVMCall as MsgCrossVMCall, tx$1_MsgCrossVMCallResponse as MsgCrossVMCallResponse, MsgDefinition$1 as MsgDefinition, tx$1_MsgProcessQueue as MsgProcessQueue, tx$1_MsgProcessQueueResponse as MsgProcessQueueResponse, protobufPackage$b as protobufPackage };
4226
+ export { type DeepPartial$f as DeepPartial, type MessageFns$f as MessageFns, tx$1_MsgCrossVMCall as MsgCrossVMCall, tx$1_MsgCrossVMCallResponse as MsgCrossVMCallResponse, MsgDefinition$1 as MsgDefinition, tx$1_MsgProcessQueue as MsgProcessQueue, tx$1_MsgProcessQueueResponse as MsgProcessQueueResponse, protobufPackage$f as protobufPackage };
3739
4227
  }
3740
4228
 
3741
- declare const protobufPackage$a = "qorechain.rlconsensus.v1";
4229
+ declare const protobufPackage$e = "qorechain.rlconsensus.v1";
3742
4230
  interface MsgSetAgentMode {
3743
4231
  authority: string;
3744
4232
  /** mode cast to the named AgentMode (uint8) Go type. */
3745
4233
  mode: number;
3746
4234
  }
3747
- declare const MsgSetAgentMode: MessageFns$a<MsgSetAgentMode>;
4235
+ declare const MsgSetAgentMode: MessageFns$e<MsgSetAgentMode>;
3748
4236
  interface MsgSetAgentModeResponse {
3749
4237
  }
3750
- declare const MsgSetAgentModeResponse: MessageFns$a<MsgSetAgentModeResponse>;
4238
+ declare const MsgSetAgentModeResponse: MessageFns$e<MsgSetAgentModeResponse>;
3751
4239
  interface MsgResumeAgent {
3752
4240
  authority: string;
3753
4241
  }
3754
- declare const MsgResumeAgent: MessageFns$a<MsgResumeAgent>;
4242
+ declare const MsgResumeAgent: MessageFns$e<MsgResumeAgent>;
3755
4243
  interface MsgResumeAgentResponse {
3756
4244
  }
3757
- declare const MsgResumeAgentResponse: MessageFns$a<MsgResumeAgentResponse>;
4245
+ declare const MsgResumeAgentResponse: MessageFns$e<MsgResumeAgentResponse>;
3758
4246
  interface MsgUpdatePolicy {
3759
4247
  authority: string;
3760
4248
  /** JSON-encoded types.PolicyWeights (epoch + MLP config + weight vector). */
3761
4249
  weightsJson: string;
3762
4250
  }
3763
- declare const MsgUpdatePolicy: MessageFns$a<MsgUpdatePolicy>;
4251
+ declare const MsgUpdatePolicy: MessageFns$e<MsgUpdatePolicy>;
3764
4252
  interface MsgUpdatePolicyResponse {
3765
4253
  }
3766
- declare const MsgUpdatePolicyResponse: MessageFns$a<MsgUpdatePolicyResponse>;
4254
+ declare const MsgUpdatePolicyResponse: MessageFns$e<MsgUpdatePolicyResponse>;
3767
4255
  interface MsgUpdateRewardWeights {
3768
4256
  authority: string;
3769
4257
  throughput: string;
@@ -3772,10 +4260,10 @@ interface MsgUpdateRewardWeights {
3772
4260
  mev: string;
3773
4261
  failedTxs: string;
3774
4262
  }
3775
- declare const MsgUpdateRewardWeights: MessageFns$a<MsgUpdateRewardWeights>;
4263
+ declare const MsgUpdateRewardWeights: MessageFns$e<MsgUpdateRewardWeights>;
3776
4264
  interface MsgUpdateRewardWeightsResponse {
3777
4265
  }
3778
- declare const MsgUpdateRewardWeightsResponse: MessageFns$a<MsgUpdateRewardWeightsResponse>;
4266
+ declare const MsgUpdateRewardWeightsResponse: MessageFns$e<MsgUpdateRewardWeightsResponse>;
3779
4267
  /** Msg defines the rlconsensus module's governance-authority transactions. */
3780
4268
  type MsgDefinition = typeof MsgDefinition;
3781
4269
  declare const MsgDefinition: {
@@ -3820,17 +4308,17 @@ declare const MsgDefinition: {
3820
4308
  };
3821
4309
  };
3822
4310
  };
3823
- type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
3824
- type DeepPartial$a<T> = T extends Builtin$a ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$a<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$a<U>> : T extends {} ? {
3825
- [K in keyof T]?: DeepPartial$a<T[K]>;
4311
+ type Builtin$e = Date | Function | Uint8Array | string | number | boolean | undefined;
4312
+ type DeepPartial$e<T> = T extends Builtin$e ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$e<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$e<U>> : T extends {} ? {
4313
+ [K in keyof T]?: DeepPartial$e<T[K]>;
3826
4314
  } : Partial<T>;
3827
- interface MessageFns$a<T> {
4315
+ interface MessageFns$e<T> {
3828
4316
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3829
4317
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3830
4318
  fromJSON(object: any): T;
3831
4319
  toJSON(message: T): unknown;
3832
- create(base?: DeepPartial$a<T>): T;
3833
- fromPartial(object: DeepPartial$a<T>): T;
4320
+ create(base?: DeepPartial$e<T>): T;
4321
+ fromPartial(object: DeepPartial$e<T>): T;
3834
4322
  }
3835
4323
 
3836
4324
  declare const tx_MsgDefinition: typeof MsgDefinition;
@@ -3843,7 +4331,7 @@ declare const tx_MsgUpdatePolicyResponse: typeof MsgUpdatePolicyResponse;
3843
4331
  declare const tx_MsgUpdateRewardWeights: typeof MsgUpdateRewardWeights;
3844
4332
  declare const tx_MsgUpdateRewardWeightsResponse: typeof MsgUpdateRewardWeightsResponse;
3845
4333
  declare namespace tx {
3846
- export { type DeepPartial$a as DeepPartial, type MessageFns$a as MessageFns, tx_MsgDefinition as MsgDefinition, tx_MsgResumeAgent as MsgResumeAgent, tx_MsgResumeAgentResponse as MsgResumeAgentResponse, tx_MsgSetAgentMode as MsgSetAgentMode, tx_MsgSetAgentModeResponse as MsgSetAgentModeResponse, tx_MsgUpdatePolicy as MsgUpdatePolicy, tx_MsgUpdatePolicyResponse as MsgUpdatePolicyResponse, tx_MsgUpdateRewardWeights as MsgUpdateRewardWeights, tx_MsgUpdateRewardWeightsResponse as MsgUpdateRewardWeightsResponse, protobufPackage$a as protobufPackage };
4334
+ export { type DeepPartial$e as DeepPartial, type MessageFns$e as MessageFns, tx_MsgDefinition as MsgDefinition, tx_MsgResumeAgent as MsgResumeAgent, tx_MsgResumeAgentResponse as MsgResumeAgentResponse, tx_MsgSetAgentMode as MsgSetAgentMode, tx_MsgSetAgentModeResponse as MsgSetAgentModeResponse, tx_MsgUpdatePolicy as MsgUpdatePolicy, tx_MsgUpdatePolicyResponse as MsgUpdatePolicyResponse, tx_MsgUpdateRewardWeights as MsgUpdateRewardWeights, tx_MsgUpdateRewardWeightsResponse as MsgUpdateRewardWeightsResponse, protobufPackage$e as protobufPackage };
3847
4335
  }
3848
4336
 
3849
4337
  /**
@@ -3962,6 +4450,14 @@ declare const license: {
3962
4450
  declare const abstractaccount: {
3963
4451
  createAbstractAccount: (value: PartialMsg<MsgCreateAbstractAccount>) => EncodeObject;
3964
4452
  updateSpendingRules: (value: PartialMsg<MsgUpdateSpendingRules>) => EncodeObject;
4453
+ /**
4454
+ * Link a foreign-scheme wallet key (e.g. a Phantom ed25519 key) to an account
4455
+ * so it may act for that account under least-privilege, time-bounded, revocable
4456
+ * terms. Owner-signed.
4457
+ */
4458
+ registerAuthenticator: (value: PartialMsg<MsgRegisterAuthenticator>) => EncodeObject;
4459
+ /** Instantly disable a previously linked wallet key. Owner-signed. */
4460
+ revokeAuthenticator: (value: PartialMsg<MsgRevokeAuthenticator>) => EncodeObject;
3965
4461
  };
3966
4462
  /** Cross-VM message composers. */
3967
4463
  declare const crossvm: {
@@ -3980,7 +4476,7 @@ declare const rlconsensus: {
3980
4476
  * Message registry for QoreChain transactions.
3981
4477
  *
3982
4478
  * {@link qorechainRegistry} returns a cosmjs {@link Registry} seeded with the
3983
- * standard Cosmos SDK message types ({@link defaultRegistryTypes}: bank,
4479
+ * standard Native message types ({@link defaultRegistryTypes}: bank,
3984
4480
  * staking, distribution, gov, authz, feegrant, IBC transfer, …) plus every
3985
4481
  * QoreChain custom module message, keyed by its on-chain `typeUrl`. This is the
3986
4482
  * registry {@link TxClient} uses by default, so `signAndBroadcast` — and the
@@ -4001,7 +4497,7 @@ declare const rlconsensus: {
4001
4497
  */
4002
4498
  declare const qorechainRegistryTypes: ReadonlyArray<[string, GeneratedType]>;
4003
4499
  /**
4004
- * Build a cosmjs {@link Registry} covering the standard Cosmos SDK messages plus
4500
+ * Build a cosmjs {@link Registry} covering the standard Native messages plus
4005
4501
  * every QoreChain custom-module message.
4006
4502
  *
4007
4503
  * @param extraTypes - Optional additional `[typeUrl, GeneratedType]` pairs to
@@ -4015,7 +4511,7 @@ declare function qorechainRegistry(extraTypes?: ReadonlyArray<[string, Generated
4015
4511
  *
4016
4512
  * The default export shape is a single grouped object so callers can write
4017
4513
  * `msg.amm.swapExactIn({ ... })`, `msg.staking.delegate({ ... })`,
4018
- * `msg.pqc.registerPqcKey({ ... })`, etc. Standard Cosmos SDK modules
4514
+ * `msg.pqc.registerPqcKey({ ... })`, etc. Standard Native modules
4019
4515
  * (bank/staking/distribution/gov/authz/feegrant/ibc) sit alongside the
4020
4516
  * QoreChain custom modules (amm/bridge/rdk/multilayer/pqc/svm/lightnode/
4021
4517
  * license/abstractaccount/crossvm/rlconsensus).
@@ -5825,6 +6321,7 @@ declare const msg: {
5825
6321
  [Symbol.iterator]?: {} | undefined;
5826
6322
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
5827
6323
  } | undefined;
6324
+ auth?: SVMAuth | undefined;
5828
6325
  }) => _cosmjs_proto_signing.EncodeObject;
5829
6326
  registerSvmPqcKey: (value: {
5830
6327
  sender?: string | undefined;
@@ -5977,14 +6474,11 @@ declare const msg: {
5977
6474
  enabled?: boolean | undefined;
5978
6475
  } | undefined)[] | undefined;
5979
6476
  }) => _cosmjs_proto_signing.EncodeObject;
5980
- };
5981
- readonly crossvm: {
5982
- crossVmCall: (value: {
5983
- sender?: string | undefined;
5984
- sourceVm?: string | undefined;
5985
- targetVm?: string | undefined;
5986
- targetContract?: string | undefined;
5987
- payload?: {
6477
+ registerAuthenticator: (value: {
6478
+ owner?: string | undefined;
6479
+ accountAddress?: string | undefined;
6480
+ scheme?: string | undefined;
6481
+ pubkey?: {
5988
6482
  [x: number]: number | undefined;
5989
6483
  readonly BYTES_PER_ELEMENT?: number | undefined;
5990
6484
  readonly buffer?: ({
@@ -6029,15 +6523,121 @@ declare const msg: {
6029
6523
  [Symbol.iterator]?: {} | undefined;
6030
6524
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6031
6525
  } | undefined;
6032
- funds?: ({
6033
- denom?: string | undefined;
6034
- amount?: string | undefined;
6035
- } | undefined)[] | undefined;
6526
+ permissions?: (string | undefined)[] | undefined;
6527
+ expiryUnix?: string | undefined;
6528
+ label?: string | undefined;
6036
6529
  }) => _cosmjs_proto_signing.EncodeObject;
6037
- processQueue: (value: {
6038
- authority?: string | undefined;
6039
- }) => _cosmjs_proto_signing.EncodeObject;
6040
- };
6530
+ revokeAuthenticator: (value: {
6531
+ owner?: string | undefined;
6532
+ accountAddress?: string | undefined;
6533
+ scheme?: string | undefined;
6534
+ pubkey?: {
6535
+ [x: number]: number | undefined;
6536
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6537
+ readonly buffer?: ({
6538
+ readonly byteLength?: number | undefined;
6539
+ slice?: {} | undefined;
6540
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6541
+ } | {
6542
+ readonly byteLength?: number | undefined;
6543
+ slice?: {} | undefined;
6544
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6545
+ }) | undefined;
6546
+ readonly byteLength?: number | undefined;
6547
+ readonly byteOffset?: number | undefined;
6548
+ copyWithin?: {} | undefined;
6549
+ every?: {} | undefined;
6550
+ fill?: {} | undefined;
6551
+ filter?: {} | undefined;
6552
+ find?: {} | undefined;
6553
+ findIndex?: {} | undefined;
6554
+ forEach?: {} | undefined;
6555
+ indexOf?: {} | undefined;
6556
+ join?: {} | undefined;
6557
+ lastIndexOf?: {} | undefined;
6558
+ readonly length?: number | undefined;
6559
+ map?: {} | undefined;
6560
+ reduce?: {} | undefined;
6561
+ reduceRight?: {} | undefined;
6562
+ reverse?: {} | undefined;
6563
+ set?: {} | undefined;
6564
+ slice?: {} | undefined;
6565
+ some?: {} | undefined;
6566
+ sort?: {} | undefined;
6567
+ subarray?: {} | undefined;
6568
+ toLocaleString?: {} | undefined;
6569
+ toString?: {} | undefined;
6570
+ valueOf?: {} | undefined;
6571
+ entries?: {} | undefined;
6572
+ keys?: {} | undefined;
6573
+ values?: {} | undefined;
6574
+ includes?: {} | undefined;
6575
+ at?: {} | undefined;
6576
+ [Symbol.iterator]?: {} | undefined;
6577
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6578
+ } | undefined;
6579
+ }) => _cosmjs_proto_signing.EncodeObject;
6580
+ };
6581
+ readonly crossvm: {
6582
+ crossVmCall: (value: {
6583
+ sender?: string | undefined;
6584
+ sourceVm?: string | undefined;
6585
+ targetVm?: string | undefined;
6586
+ targetContract?: string | undefined;
6587
+ payload?: {
6588
+ [x: number]: number | undefined;
6589
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6590
+ readonly buffer?: ({
6591
+ readonly byteLength?: number | undefined;
6592
+ slice?: {} | undefined;
6593
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6594
+ } | {
6595
+ readonly byteLength?: number | undefined;
6596
+ slice?: {} | undefined;
6597
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6598
+ }) | undefined;
6599
+ readonly byteLength?: number | undefined;
6600
+ readonly byteOffset?: number | undefined;
6601
+ copyWithin?: {} | undefined;
6602
+ every?: {} | undefined;
6603
+ fill?: {} | undefined;
6604
+ filter?: {} | undefined;
6605
+ find?: {} | undefined;
6606
+ findIndex?: {} | undefined;
6607
+ forEach?: {} | undefined;
6608
+ indexOf?: {} | undefined;
6609
+ join?: {} | undefined;
6610
+ lastIndexOf?: {} | undefined;
6611
+ readonly length?: number | undefined;
6612
+ map?: {} | undefined;
6613
+ reduce?: {} | undefined;
6614
+ reduceRight?: {} | undefined;
6615
+ reverse?: {} | undefined;
6616
+ set?: {} | undefined;
6617
+ slice?: {} | undefined;
6618
+ some?: {} | undefined;
6619
+ sort?: {} | undefined;
6620
+ subarray?: {} | undefined;
6621
+ toLocaleString?: {} | undefined;
6622
+ toString?: {} | undefined;
6623
+ valueOf?: {} | undefined;
6624
+ entries?: {} | undefined;
6625
+ keys?: {} | undefined;
6626
+ values?: {} | undefined;
6627
+ includes?: {} | undefined;
6628
+ at?: {} | undefined;
6629
+ [Symbol.iterator]?: {} | undefined;
6630
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6631
+ } | undefined;
6632
+ funds?: ({
6633
+ denom?: string | undefined;
6634
+ amount?: string | undefined;
6635
+ } | undefined)[] | undefined;
6636
+ }) => _cosmjs_proto_signing.EncodeObject;
6637
+ processQueue: (value: {
6638
+ authority?: string | undefined;
6639
+ }) => _cosmjs_proto_signing.EncodeObject;
6640
+ };
6041
6641
  readonly rlconsensus: {
6042
6642
  setAgentMode: (value: {
6043
6643
  authority?: string | undefined;
@@ -6061,7 +6661,365 @@ declare const msg: {
6061
6661
  };
6062
6662
  };
6063
6663
 
6064
- declare const protobufPackage$9 = "qorechain.bridge.v1";
6664
+ declare const protobufPackage$d = "qorechain.pqc.v1";
6665
+ /**
6666
+ * PQCHybridSignature is a transaction extension option carried in
6667
+ * TxBody.extension_options. It pairs a post-quantum (Dilithium-5) signature with
6668
+ * the account's classical secp256k1 signature so every transaction can be
6669
+ * quantum-safe while remaining compatible with the standard Native auth
6670
+ * path. It is registered as a cosmos.tx.v1beta1.TxExtensionOptionI.
6671
+ */
6672
+ interface PQCHybridSignature {
6673
+ /** algorithm_id identifies the PQC signature algorithm (e.g. Dilithium-5 = 1). */
6674
+ algorithmId: number;
6675
+ /** pqc_signature is the raw PQC signature (Dilithium-5: 4627 bytes). */
6676
+ pqcSignature: Uint8Array;
6677
+ /**
6678
+ * pqc_public_key optionally carries the signer's PQC public key
6679
+ * (Dilithium-5: 2592 bytes).
6680
+ */
6681
+ pqcPublicKey: Uint8Array;
6682
+ }
6683
+ declare const PQCHybridSignature: MessageFns$d<PQCHybridSignature>;
6684
+ type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
6685
+ type DeepPartial$d<T> = T extends Builtin$d ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$d<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$d<U>> : T extends {} ? {
6686
+ [K in keyof T]?: DeepPartial$d<T[K]>;
6687
+ } : Partial<T>;
6688
+ interface MessageFns$d<T> {
6689
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6690
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6691
+ fromJSON(object: any): T;
6692
+ toJSON(message: T): unknown;
6693
+ create(base?: DeepPartial$d<T>): T;
6694
+ fromPartial(object: DeepPartial$d<T>): T;
6695
+ }
6696
+
6697
+ declare const hybrid_PQCHybridSignature: typeof PQCHybridSignature;
6698
+ declare namespace hybrid {
6699
+ export { type DeepPartial$d as DeepPartial, type MessageFns$d as MessageFns, hybrid_PQCHybridSignature as PQCHybridSignature, protobufPackage$d as protobufPackage };
6700
+ }
6701
+
6702
+ declare const protobufPackage$c = "qorechain.abstractaccount.v1";
6703
+ interface ConfigView {
6704
+ enabled: boolean;
6705
+ maxSessionKeys: number;
6706
+ maxSpendingRules: number;
6707
+ defaultSessionTtl: string;
6708
+ }
6709
+ declare const ConfigView: MessageFns$c<ConfigView>;
6710
+ interface AccountView {
6711
+ address: string;
6712
+ contractAddress: string;
6713
+ accountType: string;
6714
+ spendingRulesCount: number;
6715
+ sessionKeysCount: number;
6716
+ createdAt: string;
6717
+ owner: string;
6718
+ }
6719
+ declare const AccountView: MessageFns$c<AccountView>;
6720
+ interface QueryConfigRequest$2 {
6721
+ }
6722
+ declare const QueryConfigRequest$2: MessageFns$c<QueryConfigRequest$2>;
6723
+ interface QueryConfigResponse$2 {
6724
+ config?: ConfigView | undefined;
6725
+ }
6726
+ declare const QueryConfigResponse$2: MessageFns$c<QueryConfigResponse$2>;
6727
+ interface QueryAccountRequest$2 {
6728
+ address: string;
6729
+ }
6730
+ declare const QueryAccountRequest$2: MessageFns$c<QueryAccountRequest$2>;
6731
+ interface QueryAccountResponse$2 {
6732
+ account?: AccountView | undefined;
6733
+ }
6734
+ declare const QueryAccountResponse$2: MessageFns$c<QueryAccountResponse$2>;
6735
+ interface QueryAccountsRequest {
6736
+ }
6737
+ declare const QueryAccountsRequest: MessageFns$c<QueryAccountsRequest>;
6738
+ interface QueryAccountsResponse {
6739
+ accounts: AccountView[];
6740
+ }
6741
+ declare const QueryAccountsResponse: MessageFns$c<QueryAccountsResponse>;
6742
+ /** Query defines the gRPC query service for the abstractaccount module. */
6743
+ type QueryDefinition$c = typeof QueryDefinition$c;
6744
+ declare const QueryDefinition$c: {
6745
+ readonly name: "Query";
6746
+ readonly fullName: "qorechain.abstractaccount.v1.Query";
6747
+ readonly methods: {
6748
+ /** Config returns the module config. */
6749
+ readonly config: {
6750
+ readonly name: "Config";
6751
+ readonly requestType: typeof QueryConfigRequest$2;
6752
+ readonly requestStream: false;
6753
+ readonly responseType: typeof QueryConfigResponse$2;
6754
+ readonly responseStream: false;
6755
+ readonly options: {};
6756
+ };
6757
+ /** Account returns a single abstract account by address. */
6758
+ readonly account: {
6759
+ readonly name: "Account";
6760
+ readonly requestType: typeof QueryAccountRequest$2;
6761
+ readonly requestStream: false;
6762
+ readonly responseType: typeof QueryAccountResponse$2;
6763
+ readonly responseStream: false;
6764
+ readonly options: {};
6765
+ };
6766
+ /** Accounts lists all abstract accounts. */
6767
+ readonly accounts: {
6768
+ readonly name: "Accounts";
6769
+ readonly requestType: typeof QueryAccountsRequest;
6770
+ readonly requestStream: false;
6771
+ readonly responseType: typeof QueryAccountsResponse;
6772
+ readonly responseStream: false;
6773
+ readonly options: {};
6774
+ };
6775
+ };
6776
+ };
6777
+ type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
6778
+ type DeepPartial$c<T> = T extends Builtin$c ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$c<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$c<U>> : T extends {} ? {
6779
+ [K in keyof T]?: DeepPartial$c<T[K]>;
6780
+ } : Partial<T>;
6781
+ interface MessageFns$c<T> {
6782
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6783
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6784
+ fromJSON(object: any): T;
6785
+ toJSON(message: T): unknown;
6786
+ create(base?: DeepPartial$c<T>): T;
6787
+ fromPartial(object: DeepPartial$c<T>): T;
6788
+ }
6789
+
6790
+ declare const query$c_AccountView: typeof AccountView;
6791
+ declare const query$c_ConfigView: typeof ConfigView;
6792
+ declare const query$c_QueryAccountsRequest: typeof QueryAccountsRequest;
6793
+ declare const query$c_QueryAccountsResponse: typeof QueryAccountsResponse;
6794
+ declare namespace query$c {
6795
+ export { query$c_AccountView as AccountView, query$c_ConfigView as ConfigView, type DeepPartial$c as DeepPartial, type MessageFns$c as MessageFns, QueryAccountRequest$2 as QueryAccountRequest, QueryAccountResponse$2 as QueryAccountResponse, query$c_QueryAccountsRequest as QueryAccountsRequest, query$c_QueryAccountsResponse as QueryAccountsResponse, QueryConfigRequest$2 as QueryConfigRequest, QueryConfigResponse$2 as QueryConfigResponse, QueryDefinition$c as QueryDefinition, protobufPackage$c as protobufPackage };
6796
+ }
6797
+
6798
+ declare const protobufPackage$b = "qorechain.amm.v1";
6799
+ /**
6800
+ * ParamsView is the query-facing view of the module parameters. Integer amounts
6801
+ * are rendered as decimal strings.
6802
+ */
6803
+ interface ParamsView$2 {
6804
+ swapFeeBps: number;
6805
+ protocolFeeBps: number;
6806
+ minLiquidity: string;
6807
+ maxPoolsPerCreator: number;
6808
+ lpTokenDecimals: number;
6809
+ poolCreationFee: string;
6810
+ maxSwapImpactBps: number;
6811
+ enabled: boolean;
6812
+ }
6813
+ declare const ParamsView$2: MessageFns$b<ParamsView$2>;
6814
+ /** PoolView is the query-facing view of a pool. */
6815
+ interface PoolView {
6816
+ id: string;
6817
+ poolType: string;
6818
+ creator: string;
6819
+ tokenA: string;
6820
+ tokenB: string;
6821
+ reserveA: string;
6822
+ reserveB: string;
6823
+ lpSupply: string;
6824
+ lpDenom: string;
6825
+ createdAt: string;
6826
+ status: string;
6827
+ weightedAvgPrice: string;
6828
+ amplificationCoefficient: number;
6829
+ }
6830
+ declare const PoolView: MessageFns$b<PoolView>;
6831
+ interface QueryParamsRequest$6 {
6832
+ }
6833
+ declare const QueryParamsRequest$6: MessageFns$b<QueryParamsRequest$6>;
6834
+ interface QueryParamsResponse$6 {
6835
+ params?: ParamsView$2 | undefined;
6836
+ }
6837
+ declare const QueryParamsResponse$6: MessageFns$b<QueryParamsResponse$6>;
6838
+ interface QueryPoolRequest {
6839
+ poolId: string;
6840
+ }
6841
+ declare const QueryPoolRequest: MessageFns$b<QueryPoolRequest>;
6842
+ interface QueryPoolResponse {
6843
+ pool?: PoolView | undefined;
6844
+ }
6845
+ declare const QueryPoolResponse: MessageFns$b<QueryPoolResponse>;
6846
+ interface QueryPoolsRequest {
6847
+ }
6848
+ declare const QueryPoolsRequest: MessageFns$b<QueryPoolsRequest>;
6849
+ interface QueryPoolsResponse {
6850
+ pools: PoolView[];
6851
+ }
6852
+ declare const QueryPoolsResponse: MessageFns$b<QueryPoolsResponse>;
6853
+ interface QueryPoolByDenomsRequest {
6854
+ denomA: string;
6855
+ denomB: string;
6856
+ }
6857
+ declare const QueryPoolByDenomsRequest: MessageFns$b<QueryPoolByDenomsRequest>;
6858
+ interface QueryPoolByDenomsResponse {
6859
+ pool?: PoolView | undefined;
6860
+ }
6861
+ declare const QueryPoolByDenomsResponse: MessageFns$b<QueryPoolByDenomsResponse>;
6862
+ interface QueryLPBalanceRequest {
6863
+ poolId: string;
6864
+ address: string;
6865
+ }
6866
+ declare const QueryLPBalanceRequest: MessageFns$b<QueryLPBalanceRequest>;
6867
+ interface QueryLPBalanceResponse {
6868
+ balance: string;
6869
+ }
6870
+ declare const QueryLPBalanceResponse: MessageFns$b<QueryLPBalanceResponse>;
6871
+ interface QueryQuoteExactInRequest {
6872
+ poolId: string;
6873
+ denomIn: string;
6874
+ amountIn: string;
6875
+ }
6876
+ declare const QueryQuoteExactInRequest: MessageFns$b<QueryQuoteExactInRequest>;
6877
+ interface QueryQuoteExactInResponse {
6878
+ amountOut: string;
6879
+ fee: string;
6880
+ }
6881
+ declare const QueryQuoteExactInResponse: MessageFns$b<QueryQuoteExactInResponse>;
6882
+ interface QueryQuoteExactOutRequest {
6883
+ poolId: string;
6884
+ denomOut: string;
6885
+ amountOut: string;
6886
+ }
6887
+ declare const QueryQuoteExactOutRequest: MessageFns$b<QueryQuoteExactOutRequest>;
6888
+ interface QueryQuoteExactOutResponse {
6889
+ amountIn: string;
6890
+ fee: string;
6891
+ }
6892
+ declare const QueryQuoteExactOutResponse: MessageFns$b<QueryQuoteExactOutResponse>;
6893
+ /** Query defines the gRPC query service for the AMM module. */
6894
+ type QueryDefinition$b = typeof QueryDefinition$b;
6895
+ declare const QueryDefinition$b: {
6896
+ readonly name: "Query";
6897
+ readonly fullName: "qorechain.amm.v1.Query";
6898
+ readonly methods: {
6899
+ /** Params returns the module parameters. */
6900
+ readonly params: {
6901
+ readonly name: "Params";
6902
+ readonly requestType: typeof QueryParamsRequest$6;
6903
+ readonly requestStream: false;
6904
+ readonly responseType: typeof QueryParamsResponse$6;
6905
+ readonly responseStream: false;
6906
+ readonly options: {
6907
+ readonly _unknownFields: {
6908
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6909
+ };
6910
+ };
6911
+ };
6912
+ /** Pool returns a single pool by ID. */
6913
+ readonly pool: {
6914
+ readonly name: "Pool";
6915
+ readonly requestType: typeof QueryPoolRequest;
6916
+ readonly requestStream: false;
6917
+ readonly responseType: typeof QueryPoolResponse;
6918
+ readonly responseStream: false;
6919
+ readonly options: {
6920
+ readonly _unknownFields: {
6921
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6922
+ };
6923
+ };
6924
+ };
6925
+ /** Pools lists all pools. */
6926
+ readonly pools: {
6927
+ readonly name: "Pools";
6928
+ readonly requestType: typeof QueryPoolsRequest;
6929
+ readonly requestStream: false;
6930
+ readonly responseType: typeof QueryPoolsResponse;
6931
+ readonly responseStream: false;
6932
+ readonly options: {
6933
+ readonly _unknownFields: {
6934
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6935
+ };
6936
+ };
6937
+ };
6938
+ /** PoolByDenoms finds a pool by its (denom_a, denom_b) tuple. */
6939
+ readonly poolByDenoms: {
6940
+ readonly name: "PoolByDenoms";
6941
+ readonly requestType: typeof QueryPoolByDenomsRequest;
6942
+ readonly requestStream: false;
6943
+ readonly responseType: typeof QueryPoolByDenomsResponse;
6944
+ readonly responseStream: false;
6945
+ readonly options: {
6946
+ readonly _unknownFields: {
6947
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6948
+ };
6949
+ };
6950
+ };
6951
+ /** LPBalance returns an account's LP balance for a pool. */
6952
+ readonly lPBalance: {
6953
+ readonly name: "LPBalance";
6954
+ readonly requestType: typeof QueryLPBalanceRequest;
6955
+ readonly requestStream: false;
6956
+ readonly responseType: typeof QueryLPBalanceResponse;
6957
+ readonly responseStream: false;
6958
+ readonly options: {
6959
+ readonly _unknownFields: {
6960
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6961
+ };
6962
+ };
6963
+ };
6964
+ /** QuoteExactIn quotes the output for a fixed-input swap. */
6965
+ readonly quoteExactIn: {
6966
+ readonly name: "QuoteExactIn";
6967
+ readonly requestType: typeof QueryQuoteExactInRequest;
6968
+ readonly requestStream: false;
6969
+ readonly responseType: typeof QueryQuoteExactInResponse;
6970
+ readonly responseStream: false;
6971
+ readonly options: {
6972
+ readonly _unknownFields: {
6973
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6974
+ };
6975
+ };
6976
+ };
6977
+ /** QuoteExactOut quotes the input required for a fixed-output swap. */
6978
+ readonly quoteExactOut: {
6979
+ readonly name: "QuoteExactOut";
6980
+ readonly requestType: typeof QueryQuoteExactOutRequest;
6981
+ readonly requestStream: false;
6982
+ readonly responseType: typeof QueryQuoteExactOutResponse;
6983
+ readonly responseStream: false;
6984
+ readonly options: {
6985
+ readonly _unknownFields: {
6986
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6987
+ };
6988
+ };
6989
+ };
6990
+ };
6991
+ };
6992
+ type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
6993
+ type DeepPartial$b<T> = T extends Builtin$b ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$b<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$b<U>> : T extends {} ? {
6994
+ [K in keyof T]?: DeepPartial$b<T[K]>;
6995
+ } : Partial<T>;
6996
+ interface MessageFns$b<T> {
6997
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6998
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6999
+ fromJSON(object: any): T;
7000
+ toJSON(message: T): unknown;
7001
+ create(base?: DeepPartial$b<T>): T;
7002
+ fromPartial(object: DeepPartial$b<T>): T;
7003
+ }
7004
+
7005
+ declare const query$b_PoolView: typeof PoolView;
7006
+ declare const query$b_QueryLPBalanceRequest: typeof QueryLPBalanceRequest;
7007
+ declare const query$b_QueryLPBalanceResponse: typeof QueryLPBalanceResponse;
7008
+ declare const query$b_QueryPoolByDenomsRequest: typeof QueryPoolByDenomsRequest;
7009
+ declare const query$b_QueryPoolByDenomsResponse: typeof QueryPoolByDenomsResponse;
7010
+ declare const query$b_QueryPoolRequest: typeof QueryPoolRequest;
7011
+ declare const query$b_QueryPoolResponse: typeof QueryPoolResponse;
7012
+ declare const query$b_QueryPoolsRequest: typeof QueryPoolsRequest;
7013
+ declare const query$b_QueryPoolsResponse: typeof QueryPoolsResponse;
7014
+ declare const query$b_QueryQuoteExactInRequest: typeof QueryQuoteExactInRequest;
7015
+ declare const query$b_QueryQuoteExactInResponse: typeof QueryQuoteExactInResponse;
7016
+ declare const query$b_QueryQuoteExactOutRequest: typeof QueryQuoteExactOutRequest;
7017
+ declare const query$b_QueryQuoteExactOutResponse: typeof QueryQuoteExactOutResponse;
7018
+ declare namespace query$b {
7019
+ export { type DeepPartial$b as DeepPartial, type MessageFns$b as MessageFns, ParamsView$2 as ParamsView, query$b_PoolView as PoolView, QueryDefinition$b as QueryDefinition, query$b_QueryLPBalanceRequest as QueryLPBalanceRequest, query$b_QueryLPBalanceResponse as QueryLPBalanceResponse, QueryParamsRequest$6 as QueryParamsRequest, QueryParamsResponse$6 as QueryParamsResponse, query$b_QueryPoolByDenomsRequest as QueryPoolByDenomsRequest, query$b_QueryPoolByDenomsResponse as QueryPoolByDenomsResponse, query$b_QueryPoolRequest as QueryPoolRequest, query$b_QueryPoolResponse as QueryPoolResponse, query$b_QueryPoolsRequest as QueryPoolsRequest, query$b_QueryPoolsResponse as QueryPoolsResponse, query$b_QueryQuoteExactInRequest as QueryQuoteExactInRequest, query$b_QueryQuoteExactInResponse as QueryQuoteExactInResponse, query$b_QueryQuoteExactOutRequest as QueryQuoteExactOutRequest, query$b_QueryQuoteExactOutResponse as QueryQuoteExactOutResponse, protobufPackage$b as protobufPackage };
7020
+ }
7021
+
7022
+ declare const protobufPackage$a = "qorechain.bridge.v1";
6065
7023
  interface BridgeConfigView {
6066
7024
  minValidators: number;
6067
7025
  attestationThreshold: number;
@@ -6069,7 +7027,7 @@ interface BridgeConfigView {
6069
7027
  largeTransferThreshold: string;
6070
7028
  enabled: boolean;
6071
7029
  }
6072
- declare const BridgeConfigView: MessageFns$9<BridgeConfigView>;
7030
+ declare const BridgeConfigView: MessageFns$a<BridgeConfigView>;
6073
7031
  interface ChainConfigView {
6074
7032
  chainId: string;
6075
7033
  name: string;
@@ -6081,7 +7039,7 @@ interface ChainConfigView {
6081
7039
  ibcChannelId: string;
6082
7040
  ibcPortId: string;
6083
7041
  }
6084
- declare const ChainConfigView: MessageFns$9<ChainConfigView>;
7042
+ declare const ChainConfigView: MessageFns$a<ChainConfigView>;
6085
7043
  interface BridgeValidatorView {
6086
7044
  address: string;
6087
7045
  supportedChains: string[];
@@ -6089,7 +7047,7 @@ interface BridgeValidatorView {
6089
7047
  active: boolean;
6090
7048
  registeredAt: string;
6091
7049
  }
6092
- declare const BridgeValidatorView: MessageFns$9<BridgeValidatorView>;
7050
+ declare const BridgeValidatorView: MessageFns$a<BridgeValidatorView>;
6093
7051
  interface BridgeOperationView {
6094
7052
  id: string;
6095
7053
  type: string;
@@ -6102,62 +7060,62 @@ interface BridgeOperationView {
6102
7060
  sourceTxHash: string;
6103
7061
  status: string;
6104
7062
  }
6105
- declare const BridgeOperationView: MessageFns$9<BridgeOperationView>;
7063
+ declare const BridgeOperationView: MessageFns$a<BridgeOperationView>;
6106
7064
  interface QueryConfigRequest$1 {
6107
7065
  }
6108
- declare const QueryConfigRequest$1: MessageFns$9<QueryConfigRequest$1>;
7066
+ declare const QueryConfigRequest$1: MessageFns$a<QueryConfigRequest$1>;
6109
7067
  interface QueryConfigResponse$1 {
6110
7068
  config?: BridgeConfigView | undefined;
6111
7069
  }
6112
- declare const QueryConfigResponse$1: MessageFns$9<QueryConfigResponse$1>;
7070
+ declare const QueryConfigResponse$1: MessageFns$a<QueryConfigResponse$1>;
6113
7071
  interface QueryChainConfigRequest {
6114
7072
  chainId: string;
6115
7073
  }
6116
- declare const QueryChainConfigRequest: MessageFns$9<QueryChainConfigRequest>;
7074
+ declare const QueryChainConfigRequest: MessageFns$a<QueryChainConfigRequest>;
6117
7075
  interface QueryChainConfigResponse {
6118
7076
  chain?: ChainConfigView | undefined;
6119
7077
  }
6120
- declare const QueryChainConfigResponse: MessageFns$9<QueryChainConfigResponse>;
7078
+ declare const QueryChainConfigResponse: MessageFns$a<QueryChainConfigResponse>;
6121
7079
  interface QueryChainConfigsRequest {
6122
7080
  }
6123
- declare const QueryChainConfigsRequest: MessageFns$9<QueryChainConfigsRequest>;
7081
+ declare const QueryChainConfigsRequest: MessageFns$a<QueryChainConfigsRequest>;
6124
7082
  interface QueryChainConfigsResponse {
6125
7083
  chains: ChainConfigView[];
6126
7084
  }
6127
- declare const QueryChainConfigsResponse: MessageFns$9<QueryChainConfigsResponse>;
7085
+ declare const QueryChainConfigsResponse: MessageFns$a<QueryChainConfigsResponse>;
6128
7086
  interface QueryValidatorRequest {
6129
7087
  address: string;
6130
7088
  }
6131
- declare const QueryValidatorRequest: MessageFns$9<QueryValidatorRequest>;
7089
+ declare const QueryValidatorRequest: MessageFns$a<QueryValidatorRequest>;
6132
7090
  interface QueryValidatorResponse {
6133
7091
  validator?: BridgeValidatorView | undefined;
6134
7092
  }
6135
- declare const QueryValidatorResponse: MessageFns$9<QueryValidatorResponse>;
7093
+ declare const QueryValidatorResponse: MessageFns$a<QueryValidatorResponse>;
6136
7094
  interface QueryValidatorsRequest {
6137
7095
  }
6138
- declare const QueryValidatorsRequest: MessageFns$9<QueryValidatorsRequest>;
7096
+ declare const QueryValidatorsRequest: MessageFns$a<QueryValidatorsRequest>;
6139
7097
  interface QueryValidatorsResponse {
6140
7098
  validators: BridgeValidatorView[];
6141
7099
  }
6142
- declare const QueryValidatorsResponse: MessageFns$9<QueryValidatorsResponse>;
7100
+ declare const QueryValidatorsResponse: MessageFns$a<QueryValidatorsResponse>;
6143
7101
  interface QueryOperationRequest {
6144
7102
  id: string;
6145
7103
  }
6146
- declare const QueryOperationRequest: MessageFns$9<QueryOperationRequest>;
7104
+ declare const QueryOperationRequest: MessageFns$a<QueryOperationRequest>;
6147
7105
  interface QueryOperationResponse {
6148
7106
  operation?: BridgeOperationView | undefined;
6149
7107
  }
6150
- declare const QueryOperationResponse: MessageFns$9<QueryOperationResponse>;
7108
+ declare const QueryOperationResponse: MessageFns$a<QueryOperationResponse>;
6151
7109
  interface QueryOperationsRequest {
6152
7110
  }
6153
- declare const QueryOperationsRequest: MessageFns$9<QueryOperationsRequest>;
7111
+ declare const QueryOperationsRequest: MessageFns$a<QueryOperationsRequest>;
6154
7112
  interface QueryOperationsResponse {
6155
7113
  operations: BridgeOperationView[];
6156
7114
  }
6157
- declare const QueryOperationsResponse: MessageFns$9<QueryOperationsResponse>;
7115
+ declare const QueryOperationsResponse: MessageFns$a<QueryOperationsResponse>;
6158
7116
  /** Query defines the gRPC query service for the bridge module. */
6159
- type QueryDefinition$9 = typeof QueryDefinition$9;
6160
- declare const QueryDefinition$9: {
7117
+ type QueryDefinition$a = typeof QueryDefinition$a;
7118
+ declare const QueryDefinition$a: {
6161
7119
  readonly name: "Query";
6162
7120
  readonly fullName: "qorechain.bridge.v1.Query";
6163
7121
  readonly methods: {
@@ -6254,40 +7212,40 @@ declare const QueryDefinition$9: {
6254
7212
  };
6255
7213
  };
6256
7214
  };
6257
- type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
6258
- type DeepPartial$9<T> = T extends Builtin$9 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$9<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$9<U>> : T extends {} ? {
6259
- [K in keyof T]?: DeepPartial$9<T[K]>;
7215
+ type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
7216
+ type DeepPartial$a<T> = T extends Builtin$a ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$a<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$a<U>> : T extends {} ? {
7217
+ [K in keyof T]?: DeepPartial$a<T[K]>;
6260
7218
  } : Partial<T>;
6261
- interface MessageFns$9<T> {
7219
+ interface MessageFns$a<T> {
6262
7220
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
6263
7221
  decode(input: BinaryReader | Uint8Array, length?: number): T;
6264
7222
  fromJSON(object: any): T;
6265
7223
  toJSON(message: T): unknown;
6266
- create(base?: DeepPartial$9<T>): T;
6267
- fromPartial(object: DeepPartial$9<T>): T;
7224
+ create(base?: DeepPartial$a<T>): T;
7225
+ fromPartial(object: DeepPartial$a<T>): T;
6268
7226
  }
6269
7227
 
6270
- declare const query$9_BridgeConfigView: typeof BridgeConfigView;
6271
- declare const query$9_BridgeOperationView: typeof BridgeOperationView;
6272
- declare const query$9_BridgeValidatorView: typeof BridgeValidatorView;
6273
- declare const query$9_ChainConfigView: typeof ChainConfigView;
6274
- declare const query$9_QueryChainConfigRequest: typeof QueryChainConfigRequest;
6275
- declare const query$9_QueryChainConfigResponse: typeof QueryChainConfigResponse;
6276
- declare const query$9_QueryChainConfigsRequest: typeof QueryChainConfigsRequest;
6277
- declare const query$9_QueryChainConfigsResponse: typeof QueryChainConfigsResponse;
6278
- declare const query$9_QueryOperationRequest: typeof QueryOperationRequest;
6279
- declare const query$9_QueryOperationResponse: typeof QueryOperationResponse;
6280
- declare const query$9_QueryOperationsRequest: typeof QueryOperationsRequest;
6281
- declare const query$9_QueryOperationsResponse: typeof QueryOperationsResponse;
6282
- declare const query$9_QueryValidatorRequest: typeof QueryValidatorRequest;
6283
- declare const query$9_QueryValidatorResponse: typeof QueryValidatorResponse;
6284
- declare const query$9_QueryValidatorsRequest: typeof QueryValidatorsRequest;
6285
- declare const query$9_QueryValidatorsResponse: typeof QueryValidatorsResponse;
6286
- declare namespace query$9 {
6287
- export { query$9_BridgeConfigView as BridgeConfigView, query$9_BridgeOperationView as BridgeOperationView, query$9_BridgeValidatorView as BridgeValidatorView, query$9_ChainConfigView as ChainConfigView, type DeepPartial$9 as DeepPartial, type MessageFns$9 as MessageFns, query$9_QueryChainConfigRequest as QueryChainConfigRequest, query$9_QueryChainConfigResponse as QueryChainConfigResponse, query$9_QueryChainConfigsRequest as QueryChainConfigsRequest, query$9_QueryChainConfigsResponse as QueryChainConfigsResponse, QueryConfigRequest$1 as QueryConfigRequest, QueryConfigResponse$1 as QueryConfigResponse, QueryDefinition$9 as QueryDefinition, query$9_QueryOperationRequest as QueryOperationRequest, query$9_QueryOperationResponse as QueryOperationResponse, query$9_QueryOperationsRequest as QueryOperationsRequest, query$9_QueryOperationsResponse as QueryOperationsResponse, query$9_QueryValidatorRequest as QueryValidatorRequest, query$9_QueryValidatorResponse as QueryValidatorResponse, query$9_QueryValidatorsRequest as QueryValidatorsRequest, query$9_QueryValidatorsResponse as QueryValidatorsResponse, protobufPackage$9 as protobufPackage };
7228
+ declare const query$a_BridgeConfigView: typeof BridgeConfigView;
7229
+ declare const query$a_BridgeOperationView: typeof BridgeOperationView;
7230
+ declare const query$a_BridgeValidatorView: typeof BridgeValidatorView;
7231
+ declare const query$a_ChainConfigView: typeof ChainConfigView;
7232
+ declare const query$a_QueryChainConfigRequest: typeof QueryChainConfigRequest;
7233
+ declare const query$a_QueryChainConfigResponse: typeof QueryChainConfigResponse;
7234
+ declare const query$a_QueryChainConfigsRequest: typeof QueryChainConfigsRequest;
7235
+ declare const query$a_QueryChainConfigsResponse: typeof QueryChainConfigsResponse;
7236
+ declare const query$a_QueryOperationRequest: typeof QueryOperationRequest;
7237
+ declare const query$a_QueryOperationResponse: typeof QueryOperationResponse;
7238
+ declare const query$a_QueryOperationsRequest: typeof QueryOperationsRequest;
7239
+ declare const query$a_QueryOperationsResponse: typeof QueryOperationsResponse;
7240
+ declare const query$a_QueryValidatorRequest: typeof QueryValidatorRequest;
7241
+ declare const query$a_QueryValidatorResponse: typeof QueryValidatorResponse;
7242
+ declare const query$a_QueryValidatorsRequest: typeof QueryValidatorsRequest;
7243
+ declare const query$a_QueryValidatorsResponse: typeof QueryValidatorsResponse;
7244
+ declare namespace query$a {
7245
+ export { query$a_BridgeConfigView as BridgeConfigView, query$a_BridgeOperationView as BridgeOperationView, query$a_BridgeValidatorView as BridgeValidatorView, query$a_ChainConfigView as ChainConfigView, type DeepPartial$a as DeepPartial, type MessageFns$a as MessageFns, query$a_QueryChainConfigRequest as QueryChainConfigRequest, query$a_QueryChainConfigResponse as QueryChainConfigResponse, query$a_QueryChainConfigsRequest as QueryChainConfigsRequest, query$a_QueryChainConfigsResponse as QueryChainConfigsResponse, QueryConfigRequest$1 as QueryConfigRequest, QueryConfigResponse$1 as QueryConfigResponse, QueryDefinition$a as QueryDefinition, query$a_QueryOperationRequest as QueryOperationRequest, query$a_QueryOperationResponse as QueryOperationResponse, query$a_QueryOperationsRequest as QueryOperationsRequest, query$a_QueryOperationsResponse as QueryOperationsResponse, query$a_QueryValidatorRequest as QueryValidatorRequest, query$a_QueryValidatorResponse as QueryValidatorResponse, query$a_QueryValidatorsRequest as QueryValidatorsRequest, query$a_QueryValidatorsResponse as QueryValidatorsResponse, protobufPackage$a as protobufPackage };
6288
7246
  }
6289
7247
 
6290
- declare const protobufPackage$8 = "qorechain.crossvm.v1";
7248
+ declare const protobufPackage$9 = "qorechain.crossvm.v1";
6291
7249
  interface CrossVMMessageView {
6292
7250
  id: string;
6293
7251
  sourceVm: string;
@@ -6301,37 +7259,37 @@ interface CrossVMMessageView {
6301
7259
  executedHeight: string;
6302
7260
  error: string;
6303
7261
  }
6304
- declare const CrossVMMessageView: MessageFns$8<CrossVMMessageView>;
7262
+ declare const CrossVMMessageView: MessageFns$9<CrossVMMessageView>;
6305
7263
  interface QueryParamsRequest$5 {
6306
7264
  }
6307
- declare const QueryParamsRequest$5: MessageFns$8<QueryParamsRequest$5>;
7265
+ declare const QueryParamsRequest$5: MessageFns$9<QueryParamsRequest$5>;
6308
7266
  interface QueryParamsResponse$5 {
6309
7267
  maxMessageSize: string;
6310
7268
  maxQueueSize: number;
6311
7269
  queueTimeoutBlocks: string;
6312
7270
  enabled: boolean;
6313
7271
  }
6314
- declare const QueryParamsResponse$5: MessageFns$8<QueryParamsResponse$5>;
7272
+ declare const QueryParamsResponse$5: MessageFns$9<QueryParamsResponse$5>;
6315
7273
  interface QueryPendingMessagesRequest {
6316
7274
  }
6317
- declare const QueryPendingMessagesRequest: MessageFns$8<QueryPendingMessagesRequest>;
7275
+ declare const QueryPendingMessagesRequest: MessageFns$9<QueryPendingMessagesRequest>;
6318
7276
  interface QueryPendingMessagesResponse {
6319
7277
  messages: CrossVMMessageView[];
6320
7278
  count: number;
6321
7279
  }
6322
- declare const QueryPendingMessagesResponse: MessageFns$8<QueryPendingMessagesResponse>;
7280
+ declare const QueryPendingMessagesResponse: MessageFns$9<QueryPendingMessagesResponse>;
6323
7281
  interface QueryMessageRequest {
6324
7282
  id: string;
6325
7283
  }
6326
- declare const QueryMessageRequest: MessageFns$8<QueryMessageRequest>;
7284
+ declare const QueryMessageRequest: MessageFns$9<QueryMessageRequest>;
6327
7285
  interface QueryMessageResponse {
6328
7286
  message?: CrossVMMessageView | undefined;
6329
7287
  found: boolean;
6330
7288
  }
6331
- declare const QueryMessageResponse: MessageFns$8<QueryMessageResponse>;
7289
+ declare const QueryMessageResponse: MessageFns$9<QueryMessageResponse>;
6332
7290
  /** Query defines the crossvm module's gRPC query service. */
6333
- type QueryDefinition$8 = typeof QueryDefinition$8;
6334
- declare const QueryDefinition$8: {
7291
+ type QueryDefinition$9 = typeof QueryDefinition$9;
7292
+ declare const QueryDefinition$9: {
6335
7293
  readonly name: "Query";
6336
7294
  readonly fullName: "qorechain.crossvm.v1.Query";
6337
7295
  readonly methods: {
@@ -6364,6 +7322,114 @@ declare const QueryDefinition$8: {
6364
7322
  };
6365
7323
  };
6366
7324
  };
7325
+ type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
7326
+ type DeepPartial$9<T> = T extends Builtin$9 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$9<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$9<U>> : T extends {} ? {
7327
+ [K in keyof T]?: DeepPartial$9<T[K]>;
7328
+ } : Partial<T>;
7329
+ interface MessageFns$9<T> {
7330
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
7331
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
7332
+ fromJSON(object: any): T;
7333
+ toJSON(message: T): unknown;
7334
+ create(base?: DeepPartial$9<T>): T;
7335
+ fromPartial(object: DeepPartial$9<T>): T;
7336
+ }
7337
+
7338
+ declare const query$9_CrossVMMessageView: typeof CrossVMMessageView;
7339
+ declare const query$9_QueryMessageRequest: typeof QueryMessageRequest;
7340
+ declare const query$9_QueryMessageResponse: typeof QueryMessageResponse;
7341
+ declare const query$9_QueryPendingMessagesRequest: typeof QueryPendingMessagesRequest;
7342
+ declare const query$9_QueryPendingMessagesResponse: typeof QueryPendingMessagesResponse;
7343
+ declare namespace query$9 {
7344
+ export { query$9_CrossVMMessageView as CrossVMMessageView, type DeepPartial$9 as DeepPartial, type MessageFns$9 as MessageFns, QueryDefinition$9 as QueryDefinition, query$9_QueryMessageRequest as QueryMessageRequest, query$9_QueryMessageResponse as QueryMessageResponse, QueryParamsRequest$5 as QueryParamsRequest, QueryParamsResponse$5 as QueryParamsResponse, query$9_QueryPendingMessagesRequest as QueryPendingMessagesRequest, query$9_QueryPendingMessagesResponse as QueryPendingMessagesResponse, protobufPackage$9 as protobufPackage };
7345
+ }
7346
+
7347
+ declare const protobufPackage$8 = "qorechain.license.v1";
7348
+ /** LicenseView is the query-facing view of a license grant. */
7349
+ interface LicenseView {
7350
+ grantee: string;
7351
+ featureId: string;
7352
+ expiresAt: string;
7353
+ grantedAt: string;
7354
+ grantedBy: string;
7355
+ suspended: boolean;
7356
+ metadata: string;
7357
+ }
7358
+ declare const LicenseView: MessageFns$8<LicenseView>;
7359
+ interface QueryCheckRequest {
7360
+ grantee: string;
7361
+ featureId: string;
7362
+ }
7363
+ declare const QueryCheckRequest: MessageFns$8<QueryCheckRequest>;
7364
+ interface QueryCheckResponse {
7365
+ license?: LicenseView | undefined;
7366
+ /** active is true when the grant exists and is not suspended. */
7367
+ active: boolean;
7368
+ }
7369
+ declare const QueryCheckResponse: MessageFns$8<QueryCheckResponse>;
7370
+ interface QueryHoldersRequest {
7371
+ featureId: string;
7372
+ }
7373
+ declare const QueryHoldersRequest: MessageFns$8<QueryHoldersRequest>;
7374
+ interface QueryHoldersResponse {
7375
+ licenses: LicenseView[];
7376
+ }
7377
+ declare const QueryHoldersResponse: MessageFns$8<QueryHoldersResponse>;
7378
+ interface QueryListRequest {
7379
+ grantee: string;
7380
+ }
7381
+ declare const QueryListRequest: MessageFns$8<QueryListRequest>;
7382
+ interface QueryListResponse {
7383
+ licenses: LicenseView[];
7384
+ }
7385
+ declare const QueryListResponse: MessageFns$8<QueryListResponse>;
7386
+ /** Query defines the gRPC query service for the license module. */
7387
+ type QueryDefinition$8 = typeof QueryDefinition$8;
7388
+ declare const QueryDefinition$8: {
7389
+ readonly name: "Query";
7390
+ readonly fullName: "qorechain.license.v1.Query";
7391
+ readonly methods: {
7392
+ /** Check returns a single license grant for (grantee, feature_id). */
7393
+ readonly check: {
7394
+ readonly name: "Check";
7395
+ readonly requestType: typeof QueryCheckRequest;
7396
+ readonly requestStream: false;
7397
+ readonly responseType: typeof QueryCheckResponse;
7398
+ readonly responseStream: false;
7399
+ readonly options: {
7400
+ readonly _unknownFields: {
7401
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7402
+ };
7403
+ };
7404
+ };
7405
+ /** Holders lists every grantee holding a given feature license. */
7406
+ readonly holders: {
7407
+ readonly name: "Holders";
7408
+ readonly requestType: typeof QueryHoldersRequest;
7409
+ readonly requestStream: false;
7410
+ readonly responseType: typeof QueryHoldersResponse;
7411
+ readonly responseStream: false;
7412
+ readonly options: {
7413
+ readonly _unknownFields: {
7414
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7415
+ };
7416
+ };
7417
+ };
7418
+ /** List returns every license held by a grantee. */
7419
+ readonly list: {
7420
+ readonly name: "List";
7421
+ readonly requestType: typeof QueryListRequest;
7422
+ readonly requestStream: false;
7423
+ readonly responseType: typeof QueryListResponse;
7424
+ readonly responseStream: false;
7425
+ readonly options: {
7426
+ readonly _unknownFields: {
7427
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7428
+ };
7429
+ };
7430
+ };
7431
+ };
7432
+ };
6367
7433
  type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
6368
7434
  type DeepPartial$8<T> = T extends Builtin$8 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$8<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$8<U>> : T extends {} ? {
6369
7435
  [K in keyof T]?: DeepPartial$8<T[K]>;
@@ -6377,13 +7443,15 @@ interface MessageFns$8<T> {
6377
7443
  fromPartial(object: DeepPartial$8<T>): T;
6378
7444
  }
6379
7445
 
6380
- declare const query$8_CrossVMMessageView: typeof CrossVMMessageView;
6381
- declare const query$8_QueryMessageRequest: typeof QueryMessageRequest;
6382
- declare const query$8_QueryMessageResponse: typeof QueryMessageResponse;
6383
- declare const query$8_QueryPendingMessagesRequest: typeof QueryPendingMessagesRequest;
6384
- declare const query$8_QueryPendingMessagesResponse: typeof QueryPendingMessagesResponse;
7446
+ declare const query$8_LicenseView: typeof LicenseView;
7447
+ declare const query$8_QueryCheckRequest: typeof QueryCheckRequest;
7448
+ declare const query$8_QueryCheckResponse: typeof QueryCheckResponse;
7449
+ declare const query$8_QueryHoldersRequest: typeof QueryHoldersRequest;
7450
+ declare const query$8_QueryHoldersResponse: typeof QueryHoldersResponse;
7451
+ declare const query$8_QueryListRequest: typeof QueryListRequest;
7452
+ declare const query$8_QueryListResponse: typeof QueryListResponse;
6385
7453
  declare namespace query$8 {
6386
- export { query$8_CrossVMMessageView as CrossVMMessageView, type DeepPartial$8 as DeepPartial, type MessageFns$8 as MessageFns, QueryDefinition$8 as QueryDefinition, query$8_QueryMessageRequest as QueryMessageRequest, query$8_QueryMessageResponse as QueryMessageResponse, QueryParamsRequest$5 as QueryParamsRequest, QueryParamsResponse$5 as QueryParamsResponse, query$8_QueryPendingMessagesRequest as QueryPendingMessagesRequest, query$8_QueryPendingMessagesResponse as QueryPendingMessagesResponse, protobufPackage$8 as protobufPackage };
7454
+ export { type DeepPartial$8 as DeepPartial, query$8_LicenseView as LicenseView, type MessageFns$8 as MessageFns, query$8_QueryCheckRequest as QueryCheckRequest, query$8_QueryCheckResponse as QueryCheckResponse, QueryDefinition$8 as QueryDefinition, query$8_QueryHoldersRequest as QueryHoldersRequest, query$8_QueryHoldersResponse as QueryHoldersResponse, query$8_QueryListRequest as QueryListRequest, query$8_QueryListResponse as QueryListResponse, protobufPackage$8 as protobufPackage };
6387
7455
  }
6388
7456
 
6389
7457
  declare const protobufPackage$7 = "qorechain.lightnode.v1";
@@ -6463,7 +7531,11 @@ declare const QueryDefinition$7: {
6463
7531
  readonly requestStream: false;
6464
7532
  readonly responseType: typeof QueryLightNodeResponse;
6465
7533
  readonly responseStream: false;
6466
- readonly options: {};
7534
+ readonly options: {
7535
+ readonly _unknownFields: {
7536
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7537
+ };
7538
+ };
6467
7539
  };
6468
7540
  /** LightNodes lists all registered light nodes. */
6469
7541
  readonly lightNodes: {
@@ -6472,7 +7544,11 @@ declare const QueryDefinition$7: {
6472
7544
  readonly requestStream: false;
6473
7545
  readonly responseType: typeof QueryLightNodesResponse;
6474
7546
  readonly responseStream: false;
6475
- readonly options: {};
7547
+ readonly options: {
7548
+ readonly _unknownFields: {
7549
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7550
+ };
7551
+ };
6476
7552
  };
6477
7553
  /** Params returns the lightnode module parameters. */
6478
7554
  readonly params: {
@@ -6481,7 +7557,11 @@ declare const QueryDefinition$7: {
6481
7557
  readonly requestStream: false;
6482
7558
  readonly responseType: typeof QueryParamsResponse$4;
6483
7559
  readonly responseStream: false;
6484
- readonly options: {};
7560
+ readonly options: {
7561
+ readonly _unknownFields: {
7562
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7563
+ };
7564
+ };
6485
7565
  };
6486
7566
  /** Rewards returns an operator's accumulated (claimable) rewards. */
6487
7567
  readonly rewards: {
@@ -6490,7 +7570,11 @@ declare const QueryDefinition$7: {
6490
7570
  readonly requestStream: false;
6491
7571
  readonly responseType: typeof QueryRewardsResponse;
6492
7572
  readonly responseStream: false;
6493
- readonly options: {};
7573
+ readonly options: {
7574
+ readonly _unknownFields: {
7575
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7576
+ };
7577
+ };
6494
7578
  };
6495
7579
  /** Stats returns module-level light node statistics. */
6496
7580
  readonly stats: {
@@ -6499,7 +7583,11 @@ declare const QueryDefinition$7: {
6499
7583
  readonly requestStream: false;
6500
7584
  readonly responseType: typeof QueryStatsResponse;
6501
7585
  readonly responseStream: false;
6502
- readonly options: {};
7586
+ readonly options: {
7587
+ readonly _unknownFields: {
7588
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7589
+ };
7590
+ };
6503
7591
  };
6504
7592
  };
6505
7593
  };
@@ -6587,6 +7675,42 @@ interface QueryLayersResponse {
6587
7675
  layers: LayerView[];
6588
7676
  }
6589
7677
  declare const QueryLayersResponse: MessageFns$6<QueryLayersResponse>;
7678
+ /**
7679
+ * StateAnchorView is the queryable view of a subsidiary-layer state anchor
7680
+ * committed to the Main Chain. The PQC (Dilithium-5) signature covers the
7681
+ * canonical message: layer_id || layer_height(8-byte big-endian) ||
7682
+ * state_root || validator_set_hash, signed by the layer creator's registered
7683
+ * post-quantum key. This lets clients verify settlement anchors offline.
7684
+ */
7685
+ interface StateAnchorView {
7686
+ layerId: string;
7687
+ layerHeight: string;
7688
+ stateRoot: Uint8Array;
7689
+ validatorSetHash: Uint8Array;
7690
+ mainChainHeight: string;
7691
+ /** unix seconds */
7692
+ anchoredAt: string;
7693
+ pqcAggregateSignature: Uint8Array;
7694
+ transactionCount: string;
7695
+ compressedStateProof: Uint8Array;
7696
+ }
7697
+ declare const StateAnchorView: MessageFns$6<StateAnchorView>;
7698
+ interface QueryAnchorRequest {
7699
+ layerId: string;
7700
+ }
7701
+ declare const QueryAnchorRequest: MessageFns$6<QueryAnchorRequest>;
7702
+ interface QueryAnchorResponse {
7703
+ anchor?: StateAnchorView | undefined;
7704
+ }
7705
+ declare const QueryAnchorResponse: MessageFns$6<QueryAnchorResponse>;
7706
+ interface QueryAnchorsRequest {
7707
+ layerId: string;
7708
+ }
7709
+ declare const QueryAnchorsRequest: MessageFns$6<QueryAnchorsRequest>;
7710
+ interface QueryAnchorsResponse {
7711
+ anchors: StateAnchorView[];
7712
+ }
7713
+ declare const QueryAnchorsResponse: MessageFns$6<QueryAnchorsResponse>;
6590
7714
  interface QueryRoutingStatsRequest {
6591
7715
  }
6592
7716
  declare const QueryRoutingStatsRequest: MessageFns$6<QueryRoutingStatsRequest>;
@@ -6607,7 +7731,11 @@ declare const QueryDefinition$6: {
6607
7731
  readonly requestStream: false;
6608
7732
  readonly responseType: typeof QueryParamsResponse$3;
6609
7733
  readonly responseStream: false;
6610
- readonly options: {};
7734
+ readonly options: {
7735
+ readonly _unknownFields: {
7736
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7737
+ };
7738
+ };
6611
7739
  };
6612
7740
  /** Layer returns a single layer config by ID. */
6613
7741
  readonly layer: {
@@ -6616,7 +7744,11 @@ declare const QueryDefinition$6: {
6616
7744
  readonly requestStream: false;
6617
7745
  readonly responseType: typeof QueryLayerResponse;
6618
7746
  readonly responseStream: false;
6619
- readonly options: {};
7747
+ readonly options: {
7748
+ readonly _unknownFields: {
7749
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7750
+ };
7751
+ };
6620
7752
  };
6621
7753
  /** Layers lists all layers. */
6622
7754
  readonly layers: {
@@ -6625,7 +7757,37 @@ declare const QueryDefinition$6: {
6625
7757
  readonly requestStream: false;
6626
7758
  readonly responseType: typeof QueryLayersResponse;
6627
7759
  readonly responseStream: false;
6628
- readonly options: {};
7760
+ readonly options: {
7761
+ readonly _unknownFields: {
7762
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7763
+ };
7764
+ };
7765
+ };
7766
+ /** Anchor returns the latest state anchor for a layer. */
7767
+ readonly anchor: {
7768
+ readonly name: "Anchor";
7769
+ readonly requestType: typeof QueryAnchorRequest;
7770
+ readonly requestStream: false;
7771
+ readonly responseType: typeof QueryAnchorResponse;
7772
+ readonly responseStream: false;
7773
+ readonly options: {
7774
+ readonly _unknownFields: {
7775
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7776
+ };
7777
+ };
7778
+ };
7779
+ /** Anchors returns all state anchors for a layer (newest first). */
7780
+ readonly anchors: {
7781
+ readonly name: "Anchors";
7782
+ readonly requestType: typeof QueryAnchorsRequest;
7783
+ readonly requestStream: false;
7784
+ readonly responseType: typeof QueryAnchorsResponse;
7785
+ readonly responseStream: false;
7786
+ readonly options: {
7787
+ readonly _unknownFields: {
7788
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7789
+ };
7790
+ };
6629
7791
  };
6630
7792
  /** RoutingStats returns the cross-layer routing statistics. */
6631
7793
  readonly routingStats: {
@@ -6634,7 +7796,11 @@ declare const QueryDefinition$6: {
6634
7796
  readonly requestStream: false;
6635
7797
  readonly responseType: typeof QueryRoutingStatsView;
6636
7798
  readonly responseStream: false;
6637
- readonly options: {};
7799
+ readonly options: {
7800
+ readonly _unknownFields: {
7801
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7802
+ };
7803
+ };
6638
7804
  };
6639
7805
  };
6640
7806
  };
@@ -6652,6 +7818,10 @@ interface MessageFns$6<T> {
6652
7818
  }
6653
7819
 
6654
7820
  declare const query$6_LayerView: typeof LayerView;
7821
+ declare const query$6_QueryAnchorRequest: typeof QueryAnchorRequest;
7822
+ declare const query$6_QueryAnchorResponse: typeof QueryAnchorResponse;
7823
+ declare const query$6_QueryAnchorsRequest: typeof QueryAnchorsRequest;
7824
+ declare const query$6_QueryAnchorsResponse: typeof QueryAnchorsResponse;
6655
7825
  declare const query$6_QueryLayerRequest: typeof QueryLayerRequest;
6656
7826
  declare const query$6_QueryLayerResponse: typeof QueryLayerResponse;
6657
7827
  declare const query$6_QueryLayersRequest: typeof QueryLayersRequest;
@@ -6659,8 +7829,9 @@ declare const query$6_QueryLayersResponse: typeof QueryLayersResponse;
6659
7829
  declare const query$6_QueryRoutingStatsRequest: typeof QueryRoutingStatsRequest;
6660
7830
  declare const query$6_QueryRoutingStatsView: typeof QueryRoutingStatsView;
6661
7831
  declare const query$6_RoutingStatsView: typeof RoutingStatsView;
7832
+ declare const query$6_StateAnchorView: typeof StateAnchorView;
6662
7833
  declare namespace query$6 {
6663
- export { type DeepPartial$6 as DeepPartial, query$6_LayerView as LayerView, type MessageFns$6 as MessageFns, ParamsView$1 as ParamsView, QueryDefinition$6 as QueryDefinition, query$6_QueryLayerRequest as QueryLayerRequest, query$6_QueryLayerResponse as QueryLayerResponse, query$6_QueryLayersRequest as QueryLayersRequest, query$6_QueryLayersResponse as QueryLayersResponse, QueryParamsRequest$3 as QueryParamsRequest, QueryParamsResponse$3 as QueryParamsResponse, query$6_QueryRoutingStatsRequest as QueryRoutingStatsRequest, query$6_QueryRoutingStatsView as QueryRoutingStatsView, query$6_RoutingStatsView as RoutingStatsView, protobufPackage$6 as protobufPackage };
7834
+ export { type DeepPartial$6 as DeepPartial, query$6_LayerView as LayerView, type MessageFns$6 as MessageFns, ParamsView$1 as ParamsView, query$6_QueryAnchorRequest as QueryAnchorRequest, query$6_QueryAnchorResponse as QueryAnchorResponse, query$6_QueryAnchorsRequest as QueryAnchorsRequest, query$6_QueryAnchorsResponse as QueryAnchorsResponse, QueryDefinition$6 as QueryDefinition, query$6_QueryLayerRequest as QueryLayerRequest, query$6_QueryLayerResponse as QueryLayerResponse, query$6_QueryLayersRequest as QueryLayersRequest, query$6_QueryLayersResponse as QueryLayersResponse, QueryParamsRequest$3 as QueryParamsRequest, QueryParamsResponse$3 as QueryParamsResponse, query$6_QueryRoutingStatsRequest as QueryRoutingStatsRequest, query$6_QueryRoutingStatsView as QueryRoutingStatsView, query$6_RoutingStatsView as RoutingStatsView, query$6_StateAnchorView as StateAnchorView, protobufPackage$6 as protobufPackage };
6664
7835
  }
6665
7836
 
6666
7837
  declare const protobufPackage$5 = "qorechain.pqc.v1";
@@ -6701,7 +7872,11 @@ declare const QueryDefinition$5: {
6701
7872
  readonly requestStream: false;
6702
7873
  readonly responseType: typeof QueryAccountResponse$1;
6703
7874
  readonly responseStream: false;
6704
- readonly options: {};
7875
+ readonly options: {
7876
+ readonly _unknownFields: {
7877
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7878
+ };
7879
+ };
6705
7880
  };
6706
7881
  };
6707
7882
  };
@@ -7273,11 +8448,11 @@ declare namespace query {
7273
8448
  */
7274
8449
 
7275
8450
  declare namespace index {
7276
- export { tx$2 as abstractaccount, tx$9 as amm, tx$a as bridge, query$9 as bridgeQuery, tx$1 as crossvm, query$8 as crossvmQuery, tx$3 as license, tx$4 as lightnode, query$7 as lightnodeQuery, tx$7 as multilayer, query$6 as multilayerQuery, tx$6 as pqc, query$5 as pqcQuery, query$4 as qcaQuery, tx$8 as rdk, query$3 as rdkQuery, query$2 as reputationQuery, tx as rlconsensus, query$1 as rlconsensusQuery, tx$5 as svm, query as svmQuery };
8451
+ export { tx$2 as abstractaccount, query$c as abstractaccountQuery, tx$8 as amm, query$b as ammQuery, tx$9 as bridge, query$a as bridgeQuery, tx$1 as crossvm, query$9 as crossvmQuery, tx$3 as license, query$8 as licenseQuery, tx$4 as lightnode, query$7 as lightnodeQuery, tx$6 as multilayer, query$6 as multilayerQuery, tx$5 as pqc, hybrid as pqcHybrid, query$5 as pqcQuery, query$4 as qcaQuery, tx$7 as rdk, query$3 as rdkQuery, query$2 as reputationQuery, tx as rlconsensus, query$1 as rlconsensusQuery, tx$a as svm, query as svmQuery };
7277
8452
  }
7278
8453
 
7279
8454
  /**
7280
- * Cosmos browser-wallet integration for QoreChain (Keplr and Leap).
8455
+ * Native browser-wallet integration for QoreChain (Keplr and Leap).
7281
8456
  *
7282
8457
  * Keplr and Leap inject the same API shape under `window.keplr` / `window.leap`,
7283
8458
  * so this module targets both through a light structural interface — it does not
@@ -7293,11 +8468,11 @@ declare namespace index {
7293
8468
  * const { signer } = await getCosmosWallet({ wallet: "keplr", network });
7294
8469
  * const tx = await TxClient.connect({ rpcEndpoint: network.endpoints.rpc, signer });
7295
8470
  * // `signer` plugs straight into TxClient and can carry any registered message
7296
- * // (standard Cosmos + QoreChain custom) via DIRECT signing.
8471
+ * // (standard Native + QoreChain custom) via DIRECT signing.
7297
8472
  * ```
7298
8473
  */
7299
8474
 
7300
- /** Supported Cosmos wallet providers (same injected API shape). */
8475
+ /** Supported Native wallet providers (same injected API shape). */
7301
8476
  type CosmosWalletName = "keplr" | "leap";
7302
8477
  /**
7303
8478
  * A bech32 address config for a single account type, matching the shape Keplr
@@ -7403,7 +8578,7 @@ declare function suggestChainInfo(network: NetworkConfig): KeplrChainInfo;
7403
8578
  *
7404
8579
  * The returned `signer` plugs straight into
7405
8580
  * `TxClient.connect(network.endpoints.rpc, signer)` and can send any registered
7406
- * message — standard Cosmos *and* QoreChain custom messages — via DIRECT mode,
8581
+ * message — standard Native *and* QoreChain custom messages — via DIRECT mode,
7407
8582
  * which both Keplr and Leap support. (Amino mode covers standard messages only
7408
8583
  * until custom-module Amino converters land; see `TxClient` `aminoTypes`.)
7409
8584
  *
@@ -7438,6 +8613,47 @@ interface CrossVmQueryClient {
7438
8613
  interface LightNodeQueryClient {
7439
8614
  lightNode(req: QueryLightNodeRequest): Promise<QueryLightNodeResponse>;
7440
8615
  lightNodes(req?: QueryLightNodesRequest): Promise<QueryLightNodesResponse>;
8616
+ /** Module parameters (reward rates, heartbeat window, minimums). */
8617
+ params(req?: QueryParamsRequest$4): Promise<QueryParamsResponse$4>;
8618
+ /** Accrued, unclaimed rewards for a light node. */
8619
+ rewards(req: QueryRewardsRequest): Promise<QueryRewardsResponse>;
8620
+ /** Network-wide light-node statistics. */
8621
+ stats(req?: QueryStatsRequest): Promise<QueryStatsResponse>;
8622
+ }
8623
+ /** Automated market maker (AMM) module query client. */
8624
+ interface AmmQueryClient {
8625
+ /** Module parameters (fees, limits). */
8626
+ params(req?: QueryParamsRequest$6): Promise<QueryParamsResponse$6>;
8627
+ /** A single pool by ID. */
8628
+ pool(req: QueryPoolRequest): Promise<QueryPoolResponse>;
8629
+ /** All pools. */
8630
+ pools(req?: QueryPoolsRequest): Promise<QueryPoolsResponse>;
8631
+ /** A pool resolved by its two denoms. */
8632
+ poolByDenoms(req: QueryPoolByDenomsRequest): Promise<QueryPoolByDenomsResponse>;
8633
+ /** An address's LP-token balance in a pool. */
8634
+ lpBalance(req: QueryLPBalanceRequest): Promise<QueryLPBalanceResponse>;
8635
+ /** Quote an exact-in swap. */
8636
+ quoteExactIn(req: QueryQuoteExactInRequest): Promise<QueryQuoteExactInResponse>;
8637
+ /** Quote an exact-out swap. */
8638
+ quoteExactOut(req: QueryQuoteExactOutRequest): Promise<QueryQuoteExactOutResponse>;
8639
+ }
8640
+ /** Feature-license module query client. */
8641
+ interface LicenseQueryClient {
8642
+ /** Check whether a grantee holds a license for a feature. */
8643
+ check(req: QueryCheckRequest): Promise<QueryCheckResponse>;
8644
+ /** All holders of a feature's licenses. */
8645
+ holders(req: QueryHoldersRequest): Promise<QueryHoldersResponse>;
8646
+ /** All licenses held by a grantee. */
8647
+ list(req: QueryListRequest): Promise<QueryListResponse>;
8648
+ }
8649
+ /** Abstract-account module query client. */
8650
+ interface AbstractAccountQueryClient {
8651
+ /** Module config (max session TTL, allowed schemes, etc.). */
8652
+ config(req?: QueryConfigRequest$2): Promise<QueryConfigResponse$2>;
8653
+ /** A single abstract account by address. */
8654
+ account(req: QueryAccountRequest$2): Promise<QueryAccountResponse$2>;
8655
+ /** All abstract accounts. */
8656
+ accounts(req?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
7441
8657
  }
7442
8658
  /** Multilayer (sidechain / paychain) module query client. */
7443
8659
  interface MultilayerQueryClient {
@@ -7447,6 +8663,10 @@ interface MultilayerQueryClient {
7447
8663
  layer(req: QueryLayerRequest): Promise<QueryLayerResponse>;
7448
8664
  /** All registered layers. */
7449
8665
  layers(req?: QueryLayersRequest): Promise<QueryLayersResponse>;
8666
+ /** The latest state anchor for a layer. */
8667
+ anchor(req: QueryAnchorRequest): Promise<QueryAnchorResponse>;
8668
+ /** All state anchors for a layer (newest first). */
8669
+ anchors(req: QueryAnchorsRequest): Promise<QueryAnchorsResponse>;
7450
8670
  /** Cross-layer routing statistics (gas savings, latency, counts). */
7451
8671
  routingStats(req?: QueryRoutingStatsRequest): Promise<QueryRoutingStatsView>;
7452
8672
  }
@@ -7503,8 +8723,11 @@ interface SvmQueryClient {
7503
8723
  }
7504
8724
  /** All typed module query clients, grouped by module. */
7505
8725
  interface QoreChainQueryClients {
8726
+ abstractaccount: AbstractAccountQueryClient;
8727
+ amm: AmmQueryClient;
7506
8728
  bridge: BridgeQueryClient;
7507
8729
  crossvm: CrossVmQueryClient;
8730
+ license: LicenseQueryClient;
7508
8731
  lightnode: LightNodeQueryClient;
7509
8732
  multilayer: MultilayerQueryClient;
7510
8733
  pqc: PqcQueryClient;
@@ -8239,6 +9462,6 @@ declare function migrateToHybrid(tx: TxClient, opts: MigrateToHybridOptions): Pr
8239
9462
  * callers who want to compose them directly. Internal helpers are not exported.
8240
9463
  */
8241
9464
  /** SDK version. */
8242
- declare const VERSION = "0.5.0";
9465
+ declare const VERSION = "0.6.0";
8243
9466
 
8244
- export { type Account, AlgorithmDilithium5, type AlgorithmID, AlgorithmMLKEM1024, AlgorithmUnspecified, type AllBalancesResponse, type AnchorStateOptions, type AttachHybridOptions, type AutoFeeOptions, type BalanceResponse, type BankSendOptions, type Bech32Config, type Bech32Prefixes, type BridgeQueryClient, type BroadcastMode, type BroadcastResult, type BuildHybridTxOptions, type BuiltHybridTx, type CallOptions, type ChallengeBatchOptions, type ClientFees, type CoinInfo, type ConnectTxOptions, type ContractMsg, type CosmWasmPayload, type CosmWasmReadClient, type CosmWasmSigningClient, type CosmosWalletConnection, type CosmosWalletName, type CreateClientOptions, type CreateCrossVMClientOptions, type CreateMultilayerClientOptions, type CreateRollupClientOptions, type CreateRollupOptions, type CrossVMAtomicResult, type CrossVMCallBase, type CrossVMCallOptions, type CrossVMCallResult, type CrossVMClient, type CrossVMWriteOptions, type CrossVmMessage, type CrossVmMessageResponse, type CrossVmParamsResponse, type CrossVmQueryClient, DEFAULT_GAS_MULTIPLIER, DEFAULT_GAS_PRICE, type DecodedTxError, type DenomOptions, type DerivationOptions, type Ed25519Account, type EnsurePqcRegisteredOptions, type EnsurePqcRegisteredResult, type EstimateFeeOptions, type EventFilters, type EventStream, type EvmPayload, type ExecuteWithdrawalOptions, type ExplorerConfig, type FaucetConfig, type FeeInput, type FeeUrgency, type FetchLike, GasPrice, type GetBlockResponse, type GetCosmosWalletOptions, type GetJsonOptions, type GetTxFn, type GetTxResponse, HYBRID_SIG_TYPE_URL, type Handler, type HashInput, type HttpOptions, type HybridBroadcaster, type HybridPlacement, type HybridSendPath, HybridSigner, type IncludedTx, type InjectedCosmosWallet, type InstantiateOpts, JsonRpcClient, type JsonRpcClientOptions, JsonRpcError, type JsonRpcErrorObject, type JsonRpcResponse, type KeplrChainInfo, type KeplrCurrency, type KeplrFeeCurrency, type KeyType, type LightNodeQueryClient, ML_DSA_87_PUBLIC_KEY_LENGTH, ML_DSA_87_SECRET_KEY_LENGTH, ML_DSA_87_SEED_LENGTH, ML_DSA_87_SIGNATURE_LENGTH, MSG_SEND_TYPE_URL, type MigratePqcKeyOptions, type MigrateToHybridOptions, type MultilayerClient, type MultilayerQueryClient, type MultilayerWriteOptions, NETWORKS, type NetworkConfig, type NetworkEndpoints, type NetworkName, type NewBlockEventLike, type PQCHybridSignature, PQC_KEY_STATUS_PRECOMPILE_ADDRESS, type PageResponse, type PaginatedOptions, type Pagination, type PayloadInput, type PendingCrossVmMessagesResponse, type PqcKeypair, type PqcQueryClient, type PqcSignaturePart, PqcSigner, type PqcStatus, type PqcStatusSource, type QcaQueryClient, QorClient, type QoreChainClient, type QoreChainQueryClients, QoreHttpError, QoreTxError, type QueryValue, type RawPayload, type RdkQueryClient, type RegisterPaychainOptions, type RegisterSidechainOptions, type ReputationQueryClient, type RequestFaucetOptions, type ResolveChallengeOptions, RestClient, type RestClientOptions, type RetryOptions, type RlConsensusQueryClient, type RollupClient, type RollupLifecycleOptions, type RollupWriteOptions, type RouteTransactionOptions, STATIC_FALLBACK, type SearchTxsOptions, type SearchTxsResponse, type Secp256k1Account, type SignAndBroadcastHybridOptions, type SignAndBroadcastOptions, type SignOutput, type SignatureMode, type Signer, type SigningClientLike, type SimulateOptions, type SubmitBatchOptions, type SubscriptionClient, type SvmPayload, type SvmQueryClient, type SyncBroadcaster, TxClient, type TxClientOptions, type TxConnectOptions, type TxErrorInput, type TxEventLike, type FeeInput$1 as TxFeeInput, type TxOrderBy, type TxQueryFilters, type TxResultLike, type Unsubscribe, VERSION, type VMType, VM_TYPES, type WaitForTxOptions, abstractaccount, algorithmName, amm, attachHybridExtension, authz, bank, bech32ToHex, bridge, broadcastAndWait, buildAminoTypes, buildEventsQuery, buildHybridSignatureExtension, buildHybridTx, buildRegisterPqcKeyMsg, buildTxQuery, buildUrl, bytesToBech32, calculateFee, clearAdmin, connectCosmWasmSigner, connectQueryClients, createClient, createCosmWasmClient, createCrossVMClient, createMultilayerClient, createQueryClients, createRollupClient, createSubscriptionClient, crossvm, decodeTxError, deriveEvmAccount, deriveNativeAccount, deriveSvmAccount, directSignerFromPrivateKey, distribution, encodeHybridExtension, ensurePqcRegistered, estimateFee, evmToQor, execute, explorerAddressUrl, explorerBlockUrl, explorerTxUrl, feegrant, formatUnits, fromBase, generateMnemonic, generatePqcKeypair, getBlock, getCodeDetails, getCodes, getContractInfo, getContracts, getCosmosWallet, getCrossVmMessage, getCrossVmParams, getJson, getLatestBlock, getNetwork, getPendingCrossVmMessages, getPqcStatus, getTx, gov, hexToBech32, ibc, instantiate, instantiate2, isChecksumAddress, isPqcRegistered, isSignatureAlgorithm, isTxFailure, isValidBech32, isValidEvmAddress, isValidSvmAddress, joinUrl, keccak256, keccak256Hex, license, lightnode, listNetworks, migrate, migratePqcKey, migrateToHybrid, msg, multilayer, parseUnits, postJsonRpc, pqc as pqcMsg, pqcSign, pqcVerify, qorToEvm, qorechainRegistry, qorechainRegistryTypes, index as qorechainTypes, queryContractSmart, rdk, requestFaucet, ripemd160, ripemd160Hex, rlconsensus, searchTxs, sha256, sha256Hex, signAndBroadcastHybrid, staking, subscribeNewBlocks, subscribeTx, suggestChainInfo, svm, toBase, toChecksumAddress, toHex, txErrorFrom, updateAdmin, uploadCode, validateMnemonic, waitForTx, withRetry };
9467
+ export { type AbstractAccountQueryClient, type Account, type AccountSequence, AlgorithmDilithium5, type AlgorithmID, AlgorithmMLKEM1024, AlgorithmUnspecified, type AllBalancesResponse, type AmmQueryClient, type AnchorStateOptions, type AttachHybridOptions, type AutoFeeOptions, type BalanceResponse, type BankSendOptions, type Bech32Config, type Bech32Prefixes, type BridgeQueryClient, type BroadcastMode, type BroadcastResult, type BuildHybridTxOptions, type BuiltHybridTx, type CallOptions, type ChallengeBatchOptions, type ClientFees, type CoinInfo, type ConnectPhantomUnifiedOptions, type ConnectTxOptions, type ContractMsg, type CosmWasmPayload, type CosmWasmReadClient, type CosmWasmSigningClient, type CosmosWalletConnection, type CosmosWalletName, type CreateClientOptions, type CreateCrossVMClientOptions, type CreateMultilayerClientOptions, type CreateRollupClientOptions, type CreateRollupOptions, type CrossVMAtomicResult, type CrossVMCallBase, type CrossVMCallOptions, type CrossVMCallResult, type CrossVMClient, type CrossVMWriteOptions, type CrossVmMessage, type CrossVmMessageResponse, type CrossVmParamsResponse, type CrossVmQueryClient, DEFAULT_GAS_MULTIPLIER, DEFAULT_GAS_PRICE, type DecodedTxError, type DenomOptions, type DerivationOptions, ETHSECP256K1_PUBKEY_TYPE, type Ed25519Account, type EnsurePqcRegisteredOptions, type EnsurePqcRegisteredResult, type EstimateFeeOptions, type EthBroadcaster, EthNativeSigner, type EthNativeSignerOptions, type EthSignParams, type EthSigningKey, type EthTxParams, type EventFilters, type EventStream, type EvmPayload, type ExecuteWithdrawalOptions, type ExplorerConfig, type FaucetConfig, type FeeInput, type FeeUrgency, type FetchLike, GasPrice, type GetBlockResponse, type GetCosmosWalletOptions, type GetJsonOptions, type GetTxFn, type GetTxResponse, HYBRID_SIG_TYPE_URL, type Handler, type HashInput, type HttpOptions, type HybridBroadcaster, type HybridPlacement, type HybridSendPath, HybridSigner, type IncludedTx, type InjectedCosmosWallet, type InstantiateOpts, JsonRpcClient, type JsonRpcClientOptions, JsonRpcError, type JsonRpcErrorObject, type JsonRpcResponse, type KeplrChainInfo, type KeplrCurrency, type KeplrFeeCurrency, type KeyType, type LicenseQueryClient, type LightNodeQueryClient, ML_DSA_87_PUBLIC_KEY_LENGTH, ML_DSA_87_SECRET_KEY_LENGTH, ML_DSA_87_SEED_LENGTH, ML_DSA_87_SIGNATURE_LENGTH, MSG_SEND_TYPE_URL, type MigratePqcKeyOptions, type MigrateToHybridOptions, type MultilayerClient, type MultilayerQueryClient, type MultilayerWriteOptions, NETWORKS, type NetworkConfig, type NetworkEndpoints, type NetworkName, type NewBlockEventLike, PHANTOM_DERIVATION_DOMAIN, type PQCHybridSignature$1 as PQCHybridSignature, PQC_KEY_STATUS_PRECOMPILE_ADDRESS, type PageResponse, type PaginatedOptions, type Pagination, type ParsedAccountAuth, type PayloadInput, type PendingCrossVmMessagesResponse, type PhantomProvider, type PqcKeypair, type PqcQueryClient, type PqcSignaturePart, PqcSigner, type PqcStatus, type PqcStatusSource, type QcaQueryClient, QorClient, type QoreChainClient, type QoreChainQueryClients, QoreHttpError, QoreTxError, type QueryValue, type RawPayload, type RdkQueryClient, type RegisterPaychainOptions, type RegisterSidechainOptions, type ReputationQueryClient, type RequestFaucetOptions, type ResolveChallengeOptions, RestClient, type RestClientOptions, type RetryOptions, type RlConsensusQueryClient, type RollupClient, type RollupLifecycleOptions, type RollupWriteOptions, type RouteTransactionOptions, STATIC_FALLBACK, type SearchTxsOptions, type SearchTxsResponse, type Secp256k1Account, type SignAndBroadcastHybridOptions, type SignAndBroadcastOptions, type SignOutput, type SignatureMode, type SignedEthTx, type Signer, type SigningClientLike, type SimulateOptions, type SubmitBatchOptions, type SubscriptionClient, type SvmPayload, type SvmQueryClient, type SyncBroadcaster, TxClient, type TxClientOptions, type TxConnectOptions, type TxErrorInput, type TxEventLike, type FeeInput$1 as TxFeeInput, type TxOrderBy, type TxQueryFilters, type TxResultLike, type UnifiedAccount, type UnifiedAddresses, type Unsubscribe, VERSION, type VMType, VM_TYPES, type WaitForTxOptions, abstractaccount, accountAuthInfo, addressesFrom20, algorithmName, amm, attachHybridExtension, authz, bank, bech32ToHex, bridge, broadcastAndWait, buildAminoTypes, buildEventsQuery, buildHybridSignatureExtension, buildHybridTx, buildRegisterPqcKeyMsg, buildTxQuery, buildUrl, bytesToBech32, calculateFee, clearAdmin, connectCosmWasmSigner, connectPhantomUnified, connectQueryClients, createClient, createCosmWasmClient, createCrossVMClient, createMultilayerClient, createQueryClients, createRollupClient, createSubscriptionClient, crossvm, decodeTxError, deriveEvmAccount, deriveNativeAccount, deriveSvmAccount, deriveUnifiedAccount, directSignerFromPrivateKey, distribution, encodeHybridExtension, ensurePqcRegistered, estimateFee, evmToQor, execute, explorerAddressUrl, explorerBlockUrl, explorerTxUrl, feegrant, formatUnits, fromBase, generateMnemonic, generatePqcKeypair, getBlock, getCodeDetails, getCodes, getContractInfo, getContracts, getCosmosWallet, getCrossVmMessage, getCrossVmParams, getJson, getLatestBlock, getNetwork, getPendingCrossVmMessages, getPqcStatus, getTx, gov, hexToBech32, ibc, instantiate, instantiate2, isChecksumAddress, isPqcRegistered, isSignatureAlgorithm, isTxFailure, isValidBech32, isValidEvmAddress, isValidSvmAddress, joinUrl, keccak256, keccak256Hex, license, lightnode, listNetworks, migrate, migratePqcKey, migrateToHybrid, msg, multilayer, parseEthPubkeyAny, parseUnits, postJsonRpc, pqc as pqcMsg, pqcSign, pqcVerify, qorToEvm, qoreAddresses, qorechainRegistry, qorechainRegistryTypes, index as qorechainTypes, queryContractSmart, rdk, requestFaucet, ripemd160, ripemd160Hex, rlconsensus, searchTxs, sha256, sha256Hex, signAndBroadcastHybrid, signClassicalEth, signHybridEth, staking, subscribeNewBlocks, subscribeTx, suggestChainInfo, svm, toBase, toChecksumAddress, toHex, txErrorFrom, unifiedAccountFromPhantomSignature, unifiedAccountFromSeed, updateAdmin, uploadCode, validateMnemonic, waitForTx, withRetry };