@qorechain/sdk 0.5.2 → 0.6.1
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/README.md +53 -2
- package/dist/index.cjs +7815 -2796
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1750 -521
- package/dist/index.d.ts +1750 -521
- package/dist/index.js +7805 -2799
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
/**
|
|
56
|
+
/** Native REST (LCD) endpoint. */
|
|
56
57
|
rest: string;
|
|
57
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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 (
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
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 —
|
|
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 (
|
|
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
|
|
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
|
|
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
|
|
@@ -2073,13 +2266,15 @@ declare function withRetry<T>(fn: (attempt: number) => Promise<T>, opts?: RetryO
|
|
|
2073
2266
|
* / {@link signAndBroadcastHybrid}) — prefer those for end-to-end signing. This
|
|
2074
2267
|
* module documents the on-wire encoding the chain reads:
|
|
2075
2268
|
*
|
|
2076
|
-
* - `PQCHybridSignature`
|
|
2077
|
-
* `pqc_signature
|
|
2269
|
+
* - `PQCHybridSignature` protobuf message (fields `algorithm_id` = 1,
|
|
2270
|
+
* `pqc_signature` = 2, `pqc_public_key` = 3) and type URL
|
|
2078
2271
|
* `/qorechain.pqc.v1.PQCHybridSignature`.
|
|
2079
|
-
* - The ante handler extracts the extension by type URL and
|
|
2080
|
-
* the `Any.value` carries the
|
|
2081
|
-
* `
|
|
2082
|
-
*
|
|
2272
|
+
* - The ante handler extracts the extension by type URL and PROTOBUF-decodes it,
|
|
2273
|
+
* so the `Any.value` carries the message's protobuf encoding (via the
|
|
2274
|
+
* generated `PQCHybridSignature` codec), NOT JSON. Its first byte is `0x08`
|
|
2275
|
+
* (field-1 varint tag). A prior release JSON-encoded this value; the chain's
|
|
2276
|
+
* tx decoder rejected every such tx at CheckTx (the leading `0x7b` = `{` was
|
|
2277
|
+
* misread as field 15 `start_group`). Verified live on testnet 2026-07-05.
|
|
2083
2278
|
* - PLACEMENT: the extension is a CRITICAL extension option — it goes in
|
|
2084
2279
|
* `TxBody.extension_options`. {@link buildHybridTx} always uses this slot.
|
|
2085
2280
|
* This module additionally exposes `non_critical_extension_options` via
|
|
@@ -2113,11 +2308,13 @@ interface AttachHybridOptions {
|
|
|
2113
2308
|
* `TxBody` extension option.
|
|
2114
2309
|
*
|
|
2115
2310
|
* The `Any.typeUrl` is the core {@link HYBRID_SIG_TYPE_URL}; the `Any.value` is
|
|
2116
|
-
* the
|
|
2117
|
-
*
|
|
2118
|
-
*
|
|
2311
|
+
* the PROTOBUF encoding of the `PQCHybridSignature` message (via the generated
|
|
2312
|
+
* codec — fields `algorithmId` = 1, `pqcSignature` = 2, `pqcPublicKey` = 3), so
|
|
2313
|
+
* the encoded value always begins with `0x08` (field-1 varint tag). The chain's
|
|
2314
|
+
* ante handler protobuf-decodes this extension; a JSON-encoded value is rejected
|
|
2315
|
+
* by the tx decoder at CheckTx.
|
|
2119
2316
|
*/
|
|
2120
|
-
declare function encodeHybridExtension(ext: PQCHybridSignature): Any;
|
|
2317
|
+
declare function encodeHybridExtension(ext: PQCHybridSignature$1): Any;
|
|
2121
2318
|
/**
|
|
2122
2319
|
* Return a copy of `body` with the encoded hybrid-signature extension attached.
|
|
2123
2320
|
*
|
|
@@ -2128,7 +2325,7 @@ declare function encodeHybridExtension(ext: PQCHybridSignature): Any;
|
|
|
2128
2325
|
* @see The module header — both the placement and the bytes the PQC signature
|
|
2129
2326
|
* must cover require live-testnet verification against the `full` build.
|
|
2130
2327
|
*/
|
|
2131
|
-
declare function attachHybridExtension(body: TxBody, ext: PQCHybridSignature, opts?: AttachHybridOptions): TxBody;
|
|
2328
|
+
declare function attachHybridExtension(body: TxBody, ext: PQCHybridSignature$1, opts?: AttachHybridOptions): TxBody;
|
|
2132
2329
|
|
|
2133
2330
|
/**
|
|
2134
2331
|
* End-to-end hybrid (classical + post-quantum) transaction signing for
|
|
@@ -2156,9 +2353,11 @@ declare function attachHybridExtension(body: TxBody, ext: PQCHybridSignature, op
|
|
|
2156
2353
|
* ML-DSA-87, empty context) — 4627 bytes for Dilithium-5.
|
|
2157
2354
|
* - The `PQCHybridSignature` extension is then added to
|
|
2158
2355
|
* `TxBody.extension_options` (CRITICAL extension options) as an `Any` with
|
|
2159
|
-
* `type_url = "/qorechain.pqc.v1.PQCHybridSignature"` and `value` =
|
|
2160
|
-
*
|
|
2161
|
-
*
|
|
2356
|
+
* `type_url = "/qorechain.pqc.v1.PQCHybridSignature"` and `value` = the
|
|
2357
|
+
* PROTOBUF encoding of the `PQCHybridSignature` message (fields
|
|
2358
|
+
* `algorithm_id` = 1, `pqc_signature` = 2, `pqc_public_key` = 3; the encoded
|
|
2359
|
+
* value begins with `0x08`). The chain protobuf-decodes it — a JSON value is
|
|
2360
|
+
* rejected by the tx decoder.
|
|
2162
2361
|
* - The CLASSICAL signature is computed normally (SIGN_MODE_DIRECT) over the
|
|
2163
2362
|
* FINAL body (the one WITH the PQC extension) + authInfo + chainId +
|
|
2164
2363
|
* accountNumber, and goes in `TxRaw.signatures` (outside the body). There is
|
|
@@ -2280,7 +2479,358 @@ interface SignAndBroadcastHybridOptions extends BuildHybridTxOptions {
|
|
|
2280
2479
|
*/
|
|
2281
2480
|
declare function signAndBroadcastHybrid(opts: SignAndBroadcastHybridOptions): Promise<BroadcastResult>;
|
|
2282
2481
|
|
|
2283
|
-
|
|
2482
|
+
/**
|
|
2483
|
+
* eth_secp256k1 native-lane (QoreChain Native) transaction signing for QoreChain.
|
|
2484
|
+
*
|
|
2485
|
+
* A unified eth-native account (address = `keccak256(pubkey)[12:]`, see
|
|
2486
|
+
* {@link ../accounts/unified.deriveUnifiedAccount}) signs native transactions with
|
|
2487
|
+
* the `eth_secp256k1` scheme instead of the classic Native secp256k1 scheme. Two
|
|
2488
|
+
* things differ from the standard path:
|
|
2489
|
+
*
|
|
2490
|
+
* 1. The classical signature is secp256k1 over the **keccak256** of the SignDoc
|
|
2491
|
+
* bytes (NOT sha256), serialized as the 64-byte `r ‖ s` (low-s normalized).
|
|
2492
|
+
* 2. The `SignerInfo` public key `Any` uses the type URL
|
|
2493
|
+
* {@link ETHSECP256K1_PUBKEY_TYPE}; its `value` is the SAME wire shape as the
|
|
2494
|
+
* standard Native secp256k1 `PubKey` (`{ key: compressedPubkey }`), only the
|
|
2495
|
+
* type URL differs.
|
|
2496
|
+
*
|
|
2497
|
+
* This is the same account that spends on the EVM lane, so its `qor1…` / `0x…` /
|
|
2498
|
+
* base58 forms are one identity. Mainnet enforces the ML-DSA-87 hybrid extension;
|
|
2499
|
+
* {@link signHybridEth} attaches it, while {@link signClassicalEth} omits it (used
|
|
2500
|
+
* only for the one-time, bootstrap-exempt `MsgRegisterPQCKeyV2`).
|
|
2501
|
+
*
|
|
2502
|
+
* The hybrid PQC framing/extension reuse the SDK's existing, live-testnet-verified
|
|
2503
|
+
* helpers ({@link ../tx/hybrid.encodeHybridExtension}, the `BE32(len)`-prefixed
|
|
2504
|
+
* frame, and {@link ../accounts/pqc.buildHybridSignatureExtension}); only the
|
|
2505
|
+
* classical hash (keccak vs sha256) and the pubkey type URL change here.
|
|
2506
|
+
*/
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* The cosmos/evm `eth_secp256k1` public-key type URL. Its wire shape is identical
|
|
2510
|
+
* to the Native secp256k1 `PubKey` (`{ key: bytes }`); only the type URL differs.
|
|
2511
|
+
*/
|
|
2512
|
+
declare const ETHSECP256K1_PUBKEY_TYPE = "/cosmos.evm.crypto.v1.ethsecp256k1.PubKey";
|
|
2513
|
+
/** The minimal account key material the eth signers need. */
|
|
2514
|
+
interface EthSigningKey {
|
|
2515
|
+
/** `0x`-prefixed 32-byte secp256k1 private key. */
|
|
2516
|
+
privateKey: string;
|
|
2517
|
+
/** `0x`-prefixed 33-byte compressed secp256k1 public key. */
|
|
2518
|
+
publicKey: string;
|
|
2519
|
+
/** The ML-DSA-87 keypair (required for {@link signHybridEth}). */
|
|
2520
|
+
pqc?: PqcKeypair;
|
|
2521
|
+
}
|
|
2522
|
+
/** Shared per-tx signing parameters. */
|
|
2523
|
+
interface EthSignParams {
|
|
2524
|
+
/** The signing account (`privateKey`, `publicKey`, and `pqc` for hybrid). */
|
|
2525
|
+
account: EthSigningKey;
|
|
2526
|
+
/** The chain id (e.g. `"qorechain-vladi"`). */
|
|
2527
|
+
chainId: string;
|
|
2528
|
+
/** The on-chain account number of the signer. */
|
|
2529
|
+
accountNumber: number | bigint;
|
|
2530
|
+
/** The transaction messages as `{ typeUrl, value }` encode objects. */
|
|
2531
|
+
messages: readonly EncodeObject[];
|
|
2532
|
+
/** The fee to pay. */
|
|
2533
|
+
fee: StdFee;
|
|
2534
|
+
/** The signer's current account sequence (nonce). */
|
|
2535
|
+
sequence: number | bigint;
|
|
2536
|
+
/** Optional memo. Defaults to `""`. */
|
|
2537
|
+
memo?: string;
|
|
2538
|
+
/** Optional `timeoutHeight` for the tx body. Defaults to `0n`. */
|
|
2539
|
+
timeoutHeight?: bigint;
|
|
2540
|
+
/**
|
|
2541
|
+
* A protobuf {@link EncodeObject}-to-`Any` encoder. Callers should pass a
|
|
2542
|
+
* registry-bound encoder (e.g. `(m) => registry.encodeAsAny(m)`) so custom
|
|
2543
|
+
* message types resolve. When omitted, only pre-encoded `Any` messages (whose
|
|
2544
|
+
* `value` is already a `Uint8Array`) are accepted.
|
|
2545
|
+
*/
|
|
2546
|
+
encodeMessage?: (m: EncodeObject) => Any;
|
|
2547
|
+
}
|
|
2548
|
+
/** The result of an eth-native sign: the broadcastable `TxRaw` and artifacts. */
|
|
2549
|
+
interface SignedEthTx {
|
|
2550
|
+
/** Encoded `TxRaw` bytes, ready to broadcast. */
|
|
2551
|
+
txRawBytes: Uint8Array;
|
|
2552
|
+
/** The assembled `TxRaw`. */
|
|
2553
|
+
txRaw: TxRaw;
|
|
2554
|
+
/** The final `bodyBytes` (with the PQC extension for hybrid; B0 for classical). */
|
|
2555
|
+
bodyBytes: Uint8Array;
|
|
2556
|
+
/** The `authInfoBytes`. */
|
|
2557
|
+
authInfoBytes: Uint8Array;
|
|
2558
|
+
/** The 64-byte classical `r ‖ s` signature over `keccak256(signDoc)`. */
|
|
2559
|
+
classicalSignature: Uint8Array;
|
|
2560
|
+
}
|
|
2561
|
+
/**
|
|
2562
|
+
* Sign a native tx with the eth_secp256k1 CLASSICAL scheme only (no PQC extension).
|
|
2563
|
+
*
|
|
2564
|
+
* Use for the one-time `MsgRegisterPQCKeyV2`, which is bootstrap-exempt from the
|
|
2565
|
+
* hybrid requirement. All other txs from a unified account should use
|
|
2566
|
+
* {@link signHybridEth}.
|
|
2567
|
+
*/
|
|
2568
|
+
declare function signClassicalEth(params: EthSignParams): SignedEthTx;
|
|
2569
|
+
/**
|
|
2570
|
+
* Sign a native tx with the eth_secp256k1 + ML-DSA-87 HYBRID scheme.
|
|
2571
|
+
*
|
|
2572
|
+
* The chain verifies the PQC signature over the tx body WITHOUT the PQC extension
|
|
2573
|
+
* (`B0`), framed with `authInfoBytes`: `BE32(len B0) || B0 || BE32(len A) || A`.
|
|
2574
|
+
* The classical signature then covers the FINAL body (with the extension) via
|
|
2575
|
+
* SIGN_MODE_DIRECT (keccak256 hash). This mirrors the SDK's existing hybrid path
|
|
2576
|
+
* ({@link ../tx/hybrid-tx.buildHybridTx}); only the classical hash and the pubkey
|
|
2577
|
+
* type URL are eth-native here.
|
|
2578
|
+
*
|
|
2579
|
+
* @throws if `account.pqc` is not provided.
|
|
2580
|
+
*/
|
|
2581
|
+
declare function signHybridEth(params: EthSignParams): SignedEthTx;
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* The eth-native tx lane: a signer that drives a unified eth-native account
|
|
2585
|
+
* through the QoreChain Native tx path (`bankSend` / generic sends), plus the account
|
|
2586
|
+
* parser the read side needs to accept an `eth_secp256k1` on-chain pubkey.
|
|
2587
|
+
*
|
|
2588
|
+
* A unified account ({@link ../accounts/unified.deriveUnifiedAccount}) signs with
|
|
2589
|
+
* the eth_secp256k1 scheme (keccak256 hash + {@link ETHSECP256K1_PUBKEY_TYPE}
|
|
2590
|
+
* pubkey), which cosmjs's standard `OfflineDirectSigner` does not produce. Rather
|
|
2591
|
+
* than force it into cosmjs, {@link EthNativeSigner} builds the `TxRaw` natively
|
|
2592
|
+
* via {@link signHybridEth} / {@link signClassicalEth} and hands the bytes to a
|
|
2593
|
+
* minimal broadcast transport (which a connected cosmjs `StargateClient`
|
|
2594
|
+
* satisfies).
|
|
2595
|
+
*
|
|
2596
|
+
* On the read side, an account whose `pub_key` is an `eth_secp256k1` `Any` must
|
|
2597
|
+
* still be decoded for its `account_number` / `sequence`; {@link parseEthPubkeyAny}
|
|
2598
|
+
* and {@link accountAuthInfo} handle that (the pubkey value is wire-identical to
|
|
2599
|
+
* the Native secp256k1 `PubKey`, only the type URL differs).
|
|
2600
|
+
*/
|
|
2601
|
+
|
|
2602
|
+
/** A minimal transport for broadcasting raw tx bytes. A cosmjs `StargateClient`
|
|
2603
|
+
* (or `SigningStargateClient`) satisfies this via `broadcastTx`. */
|
|
2604
|
+
interface EthBroadcaster {
|
|
2605
|
+
broadcastTx(tx: Uint8Array, timeoutMs?: number, pollIntervalMs?: number): Promise<{
|
|
2606
|
+
code: number;
|
|
2607
|
+
transactionHash: string;
|
|
2608
|
+
height?: number;
|
|
2609
|
+
gasUsed?: bigint;
|
|
2610
|
+
gasWanted?: bigint;
|
|
2611
|
+
rawLog?: string;
|
|
2612
|
+
}>;
|
|
2613
|
+
}
|
|
2614
|
+
/** The `{ accountNumber, sequence }` pair a signer needs for a SignDoc. */
|
|
2615
|
+
interface AccountSequence {
|
|
2616
|
+
accountNumber: number | bigint;
|
|
2617
|
+
sequence: number | bigint;
|
|
2618
|
+
}
|
|
2619
|
+
/** Options for {@link EthNativeSigner}. */
|
|
2620
|
+
interface EthNativeSignerOptions {
|
|
2621
|
+
/**
|
|
2622
|
+
* The message registry used to encode messages into the tx body. Defaults to
|
|
2623
|
+
* {@link qorechainRegistry} (standard Native + all QoreChain custom messages).
|
|
2624
|
+
*/
|
|
2625
|
+
registry?: Registry;
|
|
2626
|
+
/**
|
|
2627
|
+
* The signing posture: `"hybrid"` (default) attaches the ML-DSA-87 extension
|
|
2628
|
+
* required by mainnet; `"classical"` omits it (only for the bootstrap
|
|
2629
|
+
* `MsgRegisterPQCKeyV2`).
|
|
2630
|
+
*/
|
|
2631
|
+
signMode?: "hybrid" | "classical";
|
|
2632
|
+
}
|
|
2633
|
+
/** Params for building/broadcasting a tx with {@link EthNativeSigner}. */
|
|
2634
|
+
interface EthTxParams extends AccountSequence {
|
|
2635
|
+
chainId: string;
|
|
2636
|
+
messages: readonly EncodeObject[];
|
|
2637
|
+
fee: StdFee;
|
|
2638
|
+
memo?: string;
|
|
2639
|
+
timeoutHeight?: bigint;
|
|
2640
|
+
}
|
|
2641
|
+
/**
|
|
2642
|
+
* Sign QoreChain native txs from a unified eth-native account.
|
|
2643
|
+
*
|
|
2644
|
+
* The account's `eth_secp256k1` key signs via keccak256 + the ethsecp256k1 pubkey
|
|
2645
|
+
* type URL. Use {@link sign} to produce a broadcastable `TxRaw`, or
|
|
2646
|
+
* {@link bankSend} / {@link signAndBroadcast} with a transport to submit it.
|
|
2647
|
+
*/
|
|
2648
|
+
declare class EthNativeSigner {
|
|
2649
|
+
/** The signing account's `qor1…` (native) address. */
|
|
2650
|
+
readonly address: string;
|
|
2651
|
+
private readonly key;
|
|
2652
|
+
private readonly registry;
|
|
2653
|
+
private readonly signMode;
|
|
2654
|
+
constructor(account: UnifiedAccount, opts?: EthNativeSignerOptions);
|
|
2655
|
+
/** Encode a message to `Any` via the bound registry. */
|
|
2656
|
+
private encode;
|
|
2657
|
+
/** Build and sign a `TxRaw` for the given messages. Does not broadcast. */
|
|
2658
|
+
sign(params: EthTxParams): SignedEthTx;
|
|
2659
|
+
/** Sign and broadcast the given messages via `transport`. */
|
|
2660
|
+
signAndBroadcast(transport: EthBroadcaster, params: EthTxParams): Promise<{
|
|
2661
|
+
transactionHash: string;
|
|
2662
|
+
code: number;
|
|
2663
|
+
height?: number;
|
|
2664
|
+
gasUsed?: bigint;
|
|
2665
|
+
gasWanted?: bigint;
|
|
2666
|
+
rawLog?: string;
|
|
2667
|
+
}>;
|
|
2668
|
+
/** Send `amount` to `toAddress` via a bank `MsgSend`, signed eth-native. */
|
|
2669
|
+
bankSend(transport: EthBroadcaster, toAddress: string, amount: Coin$1[], params: Omit<EthTxParams, "messages">): Promise<{
|
|
2670
|
+
transactionHash: string;
|
|
2671
|
+
code: number;
|
|
2672
|
+
}>;
|
|
2673
|
+
}
|
|
2674
|
+
/**
|
|
2675
|
+
* Decode a signer's public key `Any`, accepting BOTH the Native secp256k1 pubkey
|
|
2676
|
+
* type and the `eth_secp256k1` type ({@link ETHSECP256K1_PUBKEY_TYPE}). The two
|
|
2677
|
+
* carry the same wire shape (`{ key: compressedPubkey }`); only the type URL
|
|
2678
|
+
* differs. Returns the 33-byte compressed public key.
|
|
2679
|
+
*
|
|
2680
|
+
* @throws if the `Any` is not one of the accepted secp256k1 pubkey types.
|
|
2681
|
+
*/
|
|
2682
|
+
declare function parseEthPubkeyAny(pubkey: Any): Uint8Array;
|
|
2683
|
+
/** The auth info read off a `BaseAccount`, with the account's pubkey (if set). */
|
|
2684
|
+
interface ParsedAccountAuth {
|
|
2685
|
+
accountNumber: bigint;
|
|
2686
|
+
sequence: bigint;
|
|
2687
|
+
/** The 33-byte compressed pubkey, when the account has one on chain. */
|
|
2688
|
+
publicKey?: Uint8Array;
|
|
2689
|
+
/** The pubkey type URL as stored on chain, when present. */
|
|
2690
|
+
pubkeyType?: string;
|
|
2691
|
+
}
|
|
2692
|
+
/**
|
|
2693
|
+
* Parse a protobuf `BaseAccount`'s `account_number` / `sequence` (and pubkey when
|
|
2694
|
+
* present), accepting an `eth_secp256k1` pubkey `Any`.
|
|
2695
|
+
*
|
|
2696
|
+
* Use this to read the sequence for building a SignDoc when an account was
|
|
2697
|
+
* created eth-native (its on-chain pubkey uses {@link ETHSECP256K1_PUBKEY_TYPE},
|
|
2698
|
+
* which cosmjs's default account parser rejects).
|
|
2699
|
+
*/
|
|
2700
|
+
declare function accountAuthInfo(account: BaseAccount): ParsedAccountAuth;
|
|
2701
|
+
|
|
2702
|
+
declare const protobufPackage$o = "qorechain.svm.v1";
|
|
2703
|
+
interface MsgDeployProgram {
|
|
2704
|
+
sender: string;
|
|
2705
|
+
bytecode: Uint8Array;
|
|
2706
|
+
}
|
|
2707
|
+
declare const MsgDeployProgram: MessageFns$p<MsgDeployProgram>;
|
|
2708
|
+
interface MsgDeployProgramResponse {
|
|
2709
|
+
programId: Uint8Array;
|
|
2710
|
+
}
|
|
2711
|
+
declare const MsgDeployProgramResponse: MessageFns$p<MsgDeployProgramResponse>;
|
|
2712
|
+
interface MsgCreateAccount {
|
|
2713
|
+
sender: string;
|
|
2714
|
+
owner: Uint8Array;
|
|
2715
|
+
space: string;
|
|
2716
|
+
lamports: string;
|
|
2717
|
+
salt: Uint8Array;
|
|
2718
|
+
}
|
|
2719
|
+
declare const MsgCreateAccount: MessageFns$p<MsgCreateAccount>;
|
|
2720
|
+
interface MsgCreateAccountResponse {
|
|
2721
|
+
}
|
|
2722
|
+
declare const MsgCreateAccountResponse: MessageFns$p<MsgCreateAccountResponse>;
|
|
2723
|
+
interface SvmAccountMeta {
|
|
2724
|
+
address: Uint8Array;
|
|
2725
|
+
isSigner: boolean;
|
|
2726
|
+
isWritable: boolean;
|
|
2727
|
+
}
|
|
2728
|
+
declare const SvmAccountMeta: MessageFns$p<SvmAccountMeta>;
|
|
2729
|
+
/**
|
|
2730
|
+
* SVMAuth carries a foreign-scheme (e.g. Phantom ed25519) authorization for an
|
|
2731
|
+
* SVM action. When present on MsgExecuteProgram, the EFFECTIVE SVM signer is the
|
|
2732
|
+
* canonical account this key authenticates (verified on-chain), NOT the Native
|
|
2733
|
+
* `sender` — so any funded account may relay a Phantom-authorized action through
|
|
2734
|
+
* consensus while the foreign key remains the authority.
|
|
2735
|
+
*/
|
|
2736
|
+
interface SVMAuth {
|
|
2737
|
+
/** "ed25519" | "secp256k1" */
|
|
2738
|
+
scheme: string;
|
|
2739
|
+
pubkey: Uint8Array;
|
|
2740
|
+
signature: Uint8Array;
|
|
2741
|
+
/** raw 32-byte recent blockhash */
|
|
2742
|
+
recentBlockhash: Uint8Array;
|
|
2743
|
+
}
|
|
2744
|
+
declare const SVMAuth: MessageFns$p<SVMAuth>;
|
|
2745
|
+
interface MsgExecuteProgram {
|
|
2746
|
+
sender: string;
|
|
2747
|
+
programId: Uint8Array;
|
|
2748
|
+
accounts: SvmAccountMeta[];
|
|
2749
|
+
data: Uint8Array;
|
|
2750
|
+
/** optional foreign-scheme authorization (relayed) */
|
|
2751
|
+
auth?: SVMAuth | undefined;
|
|
2752
|
+
}
|
|
2753
|
+
declare const MsgExecuteProgram: MessageFns$p<MsgExecuteProgram>;
|
|
2754
|
+
interface MsgExecuteProgramResponse {
|
|
2755
|
+
result: Uint8Array;
|
|
2756
|
+
}
|
|
2757
|
+
declare const MsgExecuteProgramResponse: MessageFns$p<MsgExecuteProgramResponse>;
|
|
2758
|
+
interface MsgRegisterSVMPQCKey {
|
|
2759
|
+
sender: string;
|
|
2760
|
+
svmAddr: Uint8Array;
|
|
2761
|
+
pqcPubKey: Uint8Array;
|
|
2762
|
+
}
|
|
2763
|
+
declare const MsgRegisterSVMPQCKey: MessageFns$p<MsgRegisterSVMPQCKey>;
|
|
2764
|
+
interface MsgRegisterSVMPQCKeyResponse {
|
|
2765
|
+
}
|
|
2766
|
+
declare const MsgRegisterSVMPQCKeyResponse: MessageFns$p<MsgRegisterSVMPQCKeyResponse>;
|
|
2767
|
+
type MsgDefinition$a = typeof MsgDefinition$a;
|
|
2768
|
+
declare const MsgDefinition$a: {
|
|
2769
|
+
readonly name: "Msg";
|
|
2770
|
+
readonly fullName: "qorechain.svm.v1.Msg";
|
|
2771
|
+
readonly methods: {
|
|
2772
|
+
readonly deployProgram: {
|
|
2773
|
+
readonly name: "DeployProgram";
|
|
2774
|
+
readonly requestType: typeof MsgDeployProgram;
|
|
2775
|
+
readonly requestStream: false;
|
|
2776
|
+
readonly responseType: typeof MsgDeployProgramResponse;
|
|
2777
|
+
readonly responseStream: false;
|
|
2778
|
+
readonly options: {};
|
|
2779
|
+
};
|
|
2780
|
+
readonly createAccount: {
|
|
2781
|
+
readonly name: "CreateAccount";
|
|
2782
|
+
readonly requestType: typeof MsgCreateAccount;
|
|
2783
|
+
readonly requestStream: false;
|
|
2784
|
+
readonly responseType: typeof MsgCreateAccountResponse;
|
|
2785
|
+
readonly responseStream: false;
|
|
2786
|
+
readonly options: {};
|
|
2787
|
+
};
|
|
2788
|
+
readonly executeProgram: {
|
|
2789
|
+
readonly name: "ExecuteProgram";
|
|
2790
|
+
readonly requestType: typeof MsgExecuteProgram;
|
|
2791
|
+
readonly requestStream: false;
|
|
2792
|
+
readonly responseType: typeof MsgExecuteProgramResponse;
|
|
2793
|
+
readonly responseStream: false;
|
|
2794
|
+
readonly options: {};
|
|
2795
|
+
};
|
|
2796
|
+
readonly registerSVMPQCKey: {
|
|
2797
|
+
readonly name: "RegisterSVMPQCKey";
|
|
2798
|
+
readonly requestType: typeof MsgRegisterSVMPQCKey;
|
|
2799
|
+
readonly requestStream: false;
|
|
2800
|
+
readonly responseType: typeof MsgRegisterSVMPQCKeyResponse;
|
|
2801
|
+
readonly responseStream: false;
|
|
2802
|
+
readonly options: {};
|
|
2803
|
+
};
|
|
2804
|
+
};
|
|
2805
|
+
};
|
|
2806
|
+
type Builtin$p = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
2807
|
+
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 {} ? {
|
|
2808
|
+
[K in keyof T]?: DeepPartial$p<T[K]>;
|
|
2809
|
+
} : Partial<T>;
|
|
2810
|
+
interface MessageFns$p<T> {
|
|
2811
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
2812
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
2813
|
+
fromJSON(object: any): T;
|
|
2814
|
+
toJSON(message: T): unknown;
|
|
2815
|
+
create(base?: DeepPartial$p<T>): T;
|
|
2816
|
+
fromPartial(object: DeepPartial$p<T>): T;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
declare const tx$a_MsgCreateAccount: typeof MsgCreateAccount;
|
|
2820
|
+
declare const tx$a_MsgCreateAccountResponse: typeof MsgCreateAccountResponse;
|
|
2821
|
+
declare const tx$a_MsgDeployProgram: typeof MsgDeployProgram;
|
|
2822
|
+
declare const tx$a_MsgDeployProgramResponse: typeof MsgDeployProgramResponse;
|
|
2823
|
+
declare const tx$a_MsgExecuteProgram: typeof MsgExecuteProgram;
|
|
2824
|
+
declare const tx$a_MsgExecuteProgramResponse: typeof MsgExecuteProgramResponse;
|
|
2825
|
+
declare const tx$a_MsgRegisterSVMPQCKey: typeof MsgRegisterSVMPQCKey;
|
|
2826
|
+
declare const tx$a_MsgRegisterSVMPQCKeyResponse: typeof MsgRegisterSVMPQCKeyResponse;
|
|
2827
|
+
declare const tx$a_SVMAuth: typeof SVMAuth;
|
|
2828
|
+
declare const tx$a_SvmAccountMeta: typeof SvmAccountMeta;
|
|
2829
|
+
declare namespace tx$a {
|
|
2830
|
+
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 };
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
declare const protobufPackage$n = "qorechain.bridge.v1";
|
|
2284
2834
|
/**
|
|
2285
2835
|
* MsgUpdateChainConfig sets/replaces a chain's bridge configuration. Empty
|
|
2286
2836
|
* string / zero fields fall back to the existing config (merge semantics in the
|
|
@@ -2301,10 +2851,10 @@ interface MsgUpdateChainConfig {
|
|
|
2301
2851
|
/** hex topic0 of the lock event (EVM/light-client chains) */
|
|
2302
2852
|
lockEventSig: string;
|
|
2303
2853
|
}
|
|
2304
|
-
declare const MsgUpdateChainConfig: MessageFns$
|
|
2854
|
+
declare const MsgUpdateChainConfig: MessageFns$o<MsgUpdateChainConfig>;
|
|
2305
2855
|
interface MsgUpdateChainConfigResponse {
|
|
2306
2856
|
}
|
|
2307
|
-
declare const MsgUpdateChainConfigResponse: MessageFns$
|
|
2857
|
+
declare const MsgUpdateChainConfigResponse: MessageFns$o<MsgUpdateChainConfigResponse>;
|
|
2308
2858
|
/**
|
|
2309
2859
|
* MsgSetVerifierBootstrap installs a verifier trust root. Exactly one of the
|
|
2310
2860
|
* sub-messages must be populated; the handler routes by which is non-nil.
|
|
@@ -2318,27 +2868,27 @@ interface MsgSetVerifierBootstrap {
|
|
|
2318
2868
|
bitcoin?: BitcoinCheckpoint | undefined;
|
|
2319
2869
|
starknetStateRoot: Uint8Array;
|
|
2320
2870
|
}
|
|
2321
|
-
declare const MsgSetVerifierBootstrap: MessageFns$
|
|
2871
|
+
declare const MsgSetVerifierBootstrap: MessageFns$o<MsgSetVerifierBootstrap>;
|
|
2322
2872
|
interface MsgSetVerifierBootstrapResponse {
|
|
2323
2873
|
}
|
|
2324
|
-
declare const MsgSetVerifierBootstrapResponse: MessageFns$
|
|
2874
|
+
declare const MsgSetVerifierBootstrapResponse: MessageFns$o<MsgSetVerifierBootstrapResponse>;
|
|
2325
2875
|
interface WormholeGuardianSet {
|
|
2326
2876
|
/** 20-byte guardian eth addresses */
|
|
2327
2877
|
addresses: Uint8Array[];
|
|
2328
2878
|
quorum: number;
|
|
2329
2879
|
}
|
|
2330
|
-
declare const WormholeGuardianSet: MessageFns$
|
|
2880
|
+
declare const WormholeGuardianSet: MessageFns$o<WormholeGuardianSet>;
|
|
2331
2881
|
interface ValidatorQuorum {
|
|
2332
2882
|
/** ed25519 (32B) or BLS (48B) pubkeys */
|
|
2333
2883
|
pubkeys: Uint8Array[];
|
|
2334
2884
|
threshold: number;
|
|
2335
2885
|
}
|
|
2336
|
-
declare const ValidatorQuorum: MessageFns$
|
|
2886
|
+
declare const ValidatorQuorum: MessageFns$o<ValidatorQuorum>;
|
|
2337
2887
|
interface BitcoinCheckpoint {
|
|
2338
2888
|
blockHash: Uint8Array;
|
|
2339
2889
|
minConfs: number;
|
|
2340
2890
|
}
|
|
2341
|
-
declare const BitcoinCheckpoint: MessageFns$
|
|
2891
|
+
declare const BitcoinCheckpoint: MessageFns$o<BitcoinCheckpoint>;
|
|
2342
2892
|
interface MsgBridgeDeposit {
|
|
2343
2893
|
sender: string;
|
|
2344
2894
|
sourceChain: string;
|
|
@@ -2348,10 +2898,10 @@ interface MsgBridgeDeposit {
|
|
|
2348
2898
|
bridgeValidatorSigs: Uint8Array;
|
|
2349
2899
|
pqcCommitment: Uint8Array;
|
|
2350
2900
|
}
|
|
2351
|
-
declare const MsgBridgeDeposit: MessageFns$
|
|
2901
|
+
declare const MsgBridgeDeposit: MessageFns$o<MsgBridgeDeposit>;
|
|
2352
2902
|
interface MsgBridgeDepositResponse {
|
|
2353
2903
|
}
|
|
2354
|
-
declare const MsgBridgeDepositResponse: MessageFns$
|
|
2904
|
+
declare const MsgBridgeDepositResponse: MessageFns$o<MsgBridgeDepositResponse>;
|
|
2355
2905
|
interface MsgBridgeWithdraw {
|
|
2356
2906
|
sender: string;
|
|
2357
2907
|
destinationChain: string;
|
|
@@ -2359,19 +2909,19 @@ interface MsgBridgeWithdraw {
|
|
|
2359
2909
|
asset: string;
|
|
2360
2910
|
amount: string;
|
|
2361
2911
|
}
|
|
2362
|
-
declare const MsgBridgeWithdraw: MessageFns$
|
|
2912
|
+
declare const MsgBridgeWithdraw: MessageFns$o<MsgBridgeWithdraw>;
|
|
2363
2913
|
interface MsgBridgeWithdrawResponse {
|
|
2364
2914
|
}
|
|
2365
|
-
declare const MsgBridgeWithdrawResponse: MessageFns$
|
|
2915
|
+
declare const MsgBridgeWithdrawResponse: MessageFns$o<MsgBridgeWithdrawResponse>;
|
|
2366
2916
|
interface MsgRegisterBridgeValidator {
|
|
2367
2917
|
validatorAddress: string;
|
|
2368
2918
|
pqcPubkey: Uint8Array;
|
|
2369
2919
|
supportedChains: string[];
|
|
2370
2920
|
}
|
|
2371
|
-
declare const MsgRegisterBridgeValidator: MessageFns$
|
|
2921
|
+
declare const MsgRegisterBridgeValidator: MessageFns$o<MsgRegisterBridgeValidator>;
|
|
2372
2922
|
interface MsgRegisterBridgeValidatorResponse {
|
|
2373
2923
|
}
|
|
2374
|
-
declare const MsgRegisterBridgeValidatorResponse: MessageFns$
|
|
2924
|
+
declare const MsgRegisterBridgeValidatorResponse: MessageFns$o<MsgRegisterBridgeValidatorResponse>;
|
|
2375
2925
|
interface MsgBridgeAttestation {
|
|
2376
2926
|
validator: string;
|
|
2377
2927
|
chain: string;
|
|
@@ -2383,10 +2933,10 @@ interface MsgBridgeAttestation {
|
|
|
2383
2933
|
proof: Uint8Array;
|
|
2384
2934
|
pqcSignature: Uint8Array;
|
|
2385
2935
|
}
|
|
2386
|
-
declare const MsgBridgeAttestation: MessageFns$
|
|
2936
|
+
declare const MsgBridgeAttestation: MessageFns$o<MsgBridgeAttestation>;
|
|
2387
2937
|
interface MsgBridgeAttestationResponse {
|
|
2388
2938
|
}
|
|
2389
|
-
declare const MsgBridgeAttestationResponse: MessageFns$
|
|
2939
|
+
declare const MsgBridgeAttestationResponse: MessageFns$o<MsgBridgeAttestationResponse>;
|
|
2390
2940
|
interface MsgUpdateEthLightClient {
|
|
2391
2941
|
relayer: string;
|
|
2392
2942
|
/**
|
|
@@ -2395,13 +2945,13 @@ interface MsgUpdateEthLightClient {
|
|
|
2395
2945
|
*/
|
|
2396
2946
|
update: Uint8Array;
|
|
2397
2947
|
}
|
|
2398
|
-
declare const MsgUpdateEthLightClient: MessageFns$
|
|
2948
|
+
declare const MsgUpdateEthLightClient: MessageFns$o<MsgUpdateEthLightClient>;
|
|
2399
2949
|
interface MsgUpdateEthLightClientResponse {
|
|
2400
2950
|
}
|
|
2401
|
-
declare const MsgUpdateEthLightClientResponse: MessageFns$
|
|
2951
|
+
declare const MsgUpdateEthLightClientResponse: MessageFns$o<MsgUpdateEthLightClientResponse>;
|
|
2402
2952
|
/** Msg defines the bridge module's transaction service. */
|
|
2403
|
-
type MsgDefinition$
|
|
2404
|
-
declare const MsgDefinition$
|
|
2953
|
+
type MsgDefinition$9 = typeof MsgDefinition$9;
|
|
2954
|
+
declare const MsgDefinition$9: {
|
|
2405
2955
|
readonly name: "Msg";
|
|
2406
2956
|
readonly fullName: "qorechain.bridge.v1.Msg";
|
|
2407
2957
|
readonly methods: {
|
|
@@ -2484,38 +3034,38 @@ declare const MsgDefinition$a: {
|
|
|
2484
3034
|
};
|
|
2485
3035
|
};
|
|
2486
3036
|
};
|
|
2487
|
-
type Builtin$
|
|
2488
|
-
type DeepPartial$
|
|
2489
|
-
[K in keyof T]?: DeepPartial$
|
|
3037
|
+
type Builtin$o = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3038
|
+
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 {} ? {
|
|
3039
|
+
[K in keyof T]?: DeepPartial$o<T[K]>;
|
|
2490
3040
|
} : Partial<T>;
|
|
2491
|
-
interface MessageFns$
|
|
3041
|
+
interface MessageFns$o<T> {
|
|
2492
3042
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
2493
3043
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
2494
3044
|
fromJSON(object: any): T;
|
|
2495
3045
|
toJSON(message: T): unknown;
|
|
2496
|
-
create(base?: DeepPartial$
|
|
2497
|
-
fromPartial(object: DeepPartial$
|
|
3046
|
+
create(base?: DeepPartial$o<T>): T;
|
|
3047
|
+
fromPartial(object: DeepPartial$o<T>): T;
|
|
2498
3048
|
}
|
|
2499
3049
|
|
|
2500
|
-
declare const tx$
|
|
2501
|
-
declare const tx$
|
|
2502
|
-
declare const tx$
|
|
2503
|
-
declare const tx$
|
|
2504
|
-
declare const tx$
|
|
2505
|
-
declare const tx$
|
|
2506
|
-
declare const tx$
|
|
2507
|
-
declare const tx$
|
|
2508
|
-
declare const tx$
|
|
2509
|
-
declare const tx$
|
|
2510
|
-
declare const tx$
|
|
2511
|
-
declare const tx$
|
|
2512
|
-
declare const tx$
|
|
2513
|
-
declare const tx$
|
|
2514
|
-
declare const tx$
|
|
2515
|
-
declare const tx$
|
|
2516
|
-
declare const tx$
|
|
2517
|
-
declare namespace tx$
|
|
2518
|
-
export { tx$
|
|
3050
|
+
declare const tx$9_BitcoinCheckpoint: typeof BitcoinCheckpoint;
|
|
3051
|
+
declare const tx$9_MsgBridgeAttestation: typeof MsgBridgeAttestation;
|
|
3052
|
+
declare const tx$9_MsgBridgeAttestationResponse: typeof MsgBridgeAttestationResponse;
|
|
3053
|
+
declare const tx$9_MsgBridgeDeposit: typeof MsgBridgeDeposit;
|
|
3054
|
+
declare const tx$9_MsgBridgeDepositResponse: typeof MsgBridgeDepositResponse;
|
|
3055
|
+
declare const tx$9_MsgBridgeWithdraw: typeof MsgBridgeWithdraw;
|
|
3056
|
+
declare const tx$9_MsgBridgeWithdrawResponse: typeof MsgBridgeWithdrawResponse;
|
|
3057
|
+
declare const tx$9_MsgRegisterBridgeValidator: typeof MsgRegisterBridgeValidator;
|
|
3058
|
+
declare const tx$9_MsgRegisterBridgeValidatorResponse: typeof MsgRegisterBridgeValidatorResponse;
|
|
3059
|
+
declare const tx$9_MsgSetVerifierBootstrap: typeof MsgSetVerifierBootstrap;
|
|
3060
|
+
declare const tx$9_MsgSetVerifierBootstrapResponse: typeof MsgSetVerifierBootstrapResponse;
|
|
3061
|
+
declare const tx$9_MsgUpdateChainConfig: typeof MsgUpdateChainConfig;
|
|
3062
|
+
declare const tx$9_MsgUpdateChainConfigResponse: typeof MsgUpdateChainConfigResponse;
|
|
3063
|
+
declare const tx$9_MsgUpdateEthLightClient: typeof MsgUpdateEthLightClient;
|
|
3064
|
+
declare const tx$9_MsgUpdateEthLightClientResponse: typeof MsgUpdateEthLightClientResponse;
|
|
3065
|
+
declare const tx$9_ValidatorQuorum: typeof ValidatorQuorum;
|
|
3066
|
+
declare const tx$9_WormholeGuardianSet: typeof WormholeGuardianSet;
|
|
3067
|
+
declare namespace tx$9 {
|
|
3068
|
+
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
3069
|
}
|
|
2520
3070
|
|
|
2521
3071
|
/**
|
|
@@ -2528,22 +3078,22 @@ interface Coin {
|
|
|
2528
3078
|
denom: string;
|
|
2529
3079
|
amount: string;
|
|
2530
3080
|
}
|
|
2531
|
-
declare const Coin: MessageFns$
|
|
2532
|
-
type Builtin$
|
|
2533
|
-
type DeepPartial$
|
|
2534
|
-
[K in keyof T]?: DeepPartial$
|
|
3081
|
+
declare const Coin: MessageFns$n<Coin>;
|
|
3082
|
+
type Builtin$n = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3083
|
+
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 {} ? {
|
|
3084
|
+
[K in keyof T]?: DeepPartial$n<T[K]>;
|
|
2535
3085
|
} : Partial<T>;
|
|
2536
|
-
interface MessageFns$
|
|
3086
|
+
interface MessageFns$n<T> {
|
|
2537
3087
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
2538
3088
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
2539
3089
|
fromJSON(object: any): T;
|
|
2540
3090
|
toJSON(message: T): unknown;
|
|
2541
|
-
create(base?: DeepPartial$
|
|
2542
|
-
fromPartial(object: DeepPartial$
|
|
3091
|
+
create(base?: DeepPartial$n<T>): T;
|
|
3092
|
+
fromPartial(object: DeepPartial$n<T>): T;
|
|
2543
3093
|
}
|
|
2544
3094
|
|
|
2545
3095
|
/**
|
|
2546
|
-
* Convenience message builders for the standard
|
|
3096
|
+
* Convenience message builders for the standard Native modules.
|
|
2547
3097
|
*
|
|
2548
3098
|
* These wrap `cosmjs-types` message types and return cosmjs
|
|
2549
3099
|
* {@link EncodeObject}s with the correct on-chain `typeUrl`. The matching types
|
|
@@ -2595,7 +3145,7 @@ declare const ibc: {
|
|
|
2595
3145
|
transfer: (value: Partial<MsgTransfer>) => EncodeObject;
|
|
2596
3146
|
};
|
|
2597
3147
|
|
|
2598
|
-
declare const protobufPackage$
|
|
3148
|
+
declare const protobufPackage$m = "qorechain.amm.v1";
|
|
2599
3149
|
interface MsgCreatePool {
|
|
2600
3150
|
creator: string;
|
|
2601
3151
|
poolType: string;
|
|
@@ -2603,11 +3153,11 @@ interface MsgCreatePool {
|
|
|
2603
3153
|
initialDepositB?: Coin | undefined;
|
|
2604
3154
|
amplificationCoefficient: number;
|
|
2605
3155
|
}
|
|
2606
|
-
declare const MsgCreatePool: MessageFns$
|
|
3156
|
+
declare const MsgCreatePool: MessageFns$m<MsgCreatePool>;
|
|
2607
3157
|
interface MsgCreatePoolResponse {
|
|
2608
3158
|
poolId: string;
|
|
2609
3159
|
}
|
|
2610
|
-
declare const MsgCreatePoolResponse: MessageFns$
|
|
3160
|
+
declare const MsgCreatePoolResponse: MessageFns$m<MsgCreatePoolResponse>;
|
|
2611
3161
|
interface MsgAddLiquidity {
|
|
2612
3162
|
sender: string;
|
|
2613
3163
|
poolId: string;
|
|
@@ -2615,10 +3165,10 @@ interface MsgAddLiquidity {
|
|
|
2615
3165
|
amountB?: Coin | undefined;
|
|
2616
3166
|
minLpOut: string;
|
|
2617
3167
|
}
|
|
2618
|
-
declare const MsgAddLiquidity: MessageFns$
|
|
3168
|
+
declare const MsgAddLiquidity: MessageFns$m<MsgAddLiquidity>;
|
|
2619
3169
|
interface MsgAddLiquidityResponse {
|
|
2620
3170
|
}
|
|
2621
|
-
declare const MsgAddLiquidityResponse: MessageFns$
|
|
3171
|
+
declare const MsgAddLiquidityResponse: MessageFns$m<MsgAddLiquidityResponse>;
|
|
2622
3172
|
interface MsgRemoveLiquidity {
|
|
2623
3173
|
sender: string;
|
|
2624
3174
|
poolId: string;
|
|
@@ -2626,10 +3176,10 @@ interface MsgRemoveLiquidity {
|
|
|
2626
3176
|
minAmountA: string;
|
|
2627
3177
|
minAmountB: string;
|
|
2628
3178
|
}
|
|
2629
|
-
declare const MsgRemoveLiquidity: MessageFns$
|
|
3179
|
+
declare const MsgRemoveLiquidity: MessageFns$m<MsgRemoveLiquidity>;
|
|
2630
3180
|
interface MsgRemoveLiquidityResponse {
|
|
2631
3181
|
}
|
|
2632
|
-
declare const MsgRemoveLiquidityResponse: MessageFns$
|
|
3182
|
+
declare const MsgRemoveLiquidityResponse: MessageFns$m<MsgRemoveLiquidityResponse>;
|
|
2633
3183
|
interface MsgSwapExactIn {
|
|
2634
3184
|
sender: string;
|
|
2635
3185
|
poolId: string;
|
|
@@ -2637,10 +3187,10 @@ interface MsgSwapExactIn {
|
|
|
2637
3187
|
denomOut: string;
|
|
2638
3188
|
minOut: string;
|
|
2639
3189
|
}
|
|
2640
|
-
declare const MsgSwapExactIn: MessageFns$
|
|
3190
|
+
declare const MsgSwapExactIn: MessageFns$m<MsgSwapExactIn>;
|
|
2641
3191
|
interface MsgSwapExactInResponse {
|
|
2642
3192
|
}
|
|
2643
|
-
declare const MsgSwapExactInResponse: MessageFns$
|
|
3193
|
+
declare const MsgSwapExactInResponse: MessageFns$m<MsgSwapExactInResponse>;
|
|
2644
3194
|
interface MsgSwapExactOut {
|
|
2645
3195
|
sender: string;
|
|
2646
3196
|
poolId: string;
|
|
@@ -2648,30 +3198,30 @@ interface MsgSwapExactOut {
|
|
|
2648
3198
|
tokenOut?: Coin | undefined;
|
|
2649
3199
|
maxIn: string;
|
|
2650
3200
|
}
|
|
2651
|
-
declare const MsgSwapExactOut: MessageFns$
|
|
3201
|
+
declare const MsgSwapExactOut: MessageFns$m<MsgSwapExactOut>;
|
|
2652
3202
|
interface MsgSwapExactOutResponse {
|
|
2653
3203
|
}
|
|
2654
|
-
declare const MsgSwapExactOutResponse: MessageFns$
|
|
3204
|
+
declare const MsgSwapExactOutResponse: MessageFns$m<MsgSwapExactOutResponse>;
|
|
2655
3205
|
interface MsgPausePool {
|
|
2656
3206
|
authority: string;
|
|
2657
3207
|
poolId: string;
|
|
2658
3208
|
reason: string;
|
|
2659
3209
|
}
|
|
2660
|
-
declare const MsgPausePool: MessageFns$
|
|
3210
|
+
declare const MsgPausePool: MessageFns$m<MsgPausePool>;
|
|
2661
3211
|
interface MsgPausePoolResponse {
|
|
2662
3212
|
}
|
|
2663
|
-
declare const MsgPausePoolResponse: MessageFns$
|
|
3213
|
+
declare const MsgPausePoolResponse: MessageFns$m<MsgPausePoolResponse>;
|
|
2664
3214
|
interface MsgResumePool {
|
|
2665
3215
|
authority: string;
|
|
2666
3216
|
poolId: string;
|
|
2667
3217
|
}
|
|
2668
|
-
declare const MsgResumePool: MessageFns$
|
|
3218
|
+
declare const MsgResumePool: MessageFns$m<MsgResumePool>;
|
|
2669
3219
|
interface MsgResumePoolResponse {
|
|
2670
3220
|
}
|
|
2671
|
-
declare const MsgResumePoolResponse: MessageFns$
|
|
2672
|
-
type MsgDefinition$
|
|
2673
|
-
declare const MsgDefinition$
|
|
2674
|
-
readonly name: "Msg";
|
|
3221
|
+
declare const MsgResumePoolResponse: MessageFns$m<MsgResumePoolResponse>;
|
|
3222
|
+
type MsgDefinition$8 = typeof MsgDefinition$8;
|
|
3223
|
+
declare const MsgDefinition$8: {
|
|
3224
|
+
readonly name: "Msg";
|
|
2675
3225
|
readonly fullName: "qorechain.amm.v1.Msg";
|
|
2676
3226
|
readonly methods: {
|
|
2677
3227
|
readonly createPool: {
|
|
@@ -2732,38 +3282,38 @@ declare const MsgDefinition$9: {
|
|
|
2732
3282
|
};
|
|
2733
3283
|
};
|
|
2734
3284
|
};
|
|
2735
|
-
type Builtin$
|
|
2736
|
-
type DeepPartial$
|
|
2737
|
-
[K in keyof T]?: DeepPartial$
|
|
3285
|
+
type Builtin$m = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3286
|
+
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 {} ? {
|
|
3287
|
+
[K in keyof T]?: DeepPartial$m<T[K]>;
|
|
2738
3288
|
} : Partial<T>;
|
|
2739
|
-
interface MessageFns$
|
|
3289
|
+
interface MessageFns$m<T> {
|
|
2740
3290
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
2741
3291
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
2742
3292
|
fromJSON(object: any): T;
|
|
2743
3293
|
toJSON(message: T): unknown;
|
|
2744
|
-
create(base?: DeepPartial$
|
|
2745
|
-
fromPartial(object: DeepPartial$
|
|
3294
|
+
create(base?: DeepPartial$m<T>): T;
|
|
3295
|
+
fromPartial(object: DeepPartial$m<T>): T;
|
|
2746
3296
|
}
|
|
2747
3297
|
|
|
2748
|
-
declare const tx$
|
|
2749
|
-
declare const tx$
|
|
2750
|
-
declare const tx$
|
|
2751
|
-
declare const tx$
|
|
2752
|
-
declare const tx$
|
|
2753
|
-
declare const tx$
|
|
2754
|
-
declare const tx$
|
|
2755
|
-
declare const tx$
|
|
2756
|
-
declare const tx$
|
|
2757
|
-
declare const tx$
|
|
2758
|
-
declare const tx$
|
|
2759
|
-
declare const tx$
|
|
2760
|
-
declare const tx$
|
|
2761
|
-
declare const tx$
|
|
2762
|
-
declare namespace tx$
|
|
2763
|
-
export { type DeepPartial$
|
|
3298
|
+
declare const tx$8_MsgAddLiquidity: typeof MsgAddLiquidity;
|
|
3299
|
+
declare const tx$8_MsgAddLiquidityResponse: typeof MsgAddLiquidityResponse;
|
|
3300
|
+
declare const tx$8_MsgCreatePool: typeof MsgCreatePool;
|
|
3301
|
+
declare const tx$8_MsgCreatePoolResponse: typeof MsgCreatePoolResponse;
|
|
3302
|
+
declare const tx$8_MsgPausePool: typeof MsgPausePool;
|
|
3303
|
+
declare const tx$8_MsgPausePoolResponse: typeof MsgPausePoolResponse;
|
|
3304
|
+
declare const tx$8_MsgRemoveLiquidity: typeof MsgRemoveLiquidity;
|
|
3305
|
+
declare const tx$8_MsgRemoveLiquidityResponse: typeof MsgRemoveLiquidityResponse;
|
|
3306
|
+
declare const tx$8_MsgResumePool: typeof MsgResumePool;
|
|
3307
|
+
declare const tx$8_MsgResumePoolResponse: typeof MsgResumePoolResponse;
|
|
3308
|
+
declare const tx$8_MsgSwapExactIn: typeof MsgSwapExactIn;
|
|
3309
|
+
declare const tx$8_MsgSwapExactInResponse: typeof MsgSwapExactInResponse;
|
|
3310
|
+
declare const tx$8_MsgSwapExactOut: typeof MsgSwapExactOut;
|
|
3311
|
+
declare const tx$8_MsgSwapExactOutResponse: typeof MsgSwapExactOutResponse;
|
|
3312
|
+
declare namespace tx$8 {
|
|
3313
|
+
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
3314
|
}
|
|
2765
3315
|
|
|
2766
|
-
declare const protobufPackage$
|
|
3316
|
+
declare const protobufPackage$l = "qorechain.rdk.v1";
|
|
2767
3317
|
interface MsgCreateRollup {
|
|
2768
3318
|
creator: string;
|
|
2769
3319
|
rollupId: string;
|
|
@@ -2771,11 +3321,11 @@ interface MsgCreateRollup {
|
|
|
2771
3321
|
vmType: string;
|
|
2772
3322
|
stakeAmount: string;
|
|
2773
3323
|
}
|
|
2774
|
-
declare const MsgCreateRollup: MessageFns$
|
|
3324
|
+
declare const MsgCreateRollup: MessageFns$l<MsgCreateRollup>;
|
|
2775
3325
|
interface MsgCreateRollupResponse {
|
|
2776
3326
|
rollupId: string;
|
|
2777
3327
|
}
|
|
2778
|
-
declare const MsgCreateRollupResponse: MessageFns$
|
|
3328
|
+
declare const MsgCreateRollupResponse: MessageFns$l<MsgCreateRollupResponse>;
|
|
2779
3329
|
interface MsgSubmitBatch {
|
|
2780
3330
|
sequencer: string;
|
|
2781
3331
|
rollupId: string;
|
|
@@ -2791,20 +3341,20 @@ interface MsgSubmitBatch {
|
|
|
2791
3341
|
*/
|
|
2792
3342
|
withdrawalsRoot: Uint8Array;
|
|
2793
3343
|
}
|
|
2794
|
-
declare const MsgSubmitBatch: MessageFns$
|
|
3344
|
+
declare const MsgSubmitBatch: MessageFns$l<MsgSubmitBatch>;
|
|
2795
3345
|
interface MsgSubmitBatchResponse {
|
|
2796
3346
|
}
|
|
2797
|
-
declare const MsgSubmitBatchResponse: MessageFns$
|
|
3347
|
+
declare const MsgSubmitBatchResponse: MessageFns$l<MsgSubmitBatchResponse>;
|
|
2798
3348
|
interface MsgChallengeBatch {
|
|
2799
3349
|
challenger: string;
|
|
2800
3350
|
rollupId: string;
|
|
2801
3351
|
batchIndex: string;
|
|
2802
3352
|
proof: Uint8Array;
|
|
2803
3353
|
}
|
|
2804
|
-
declare const MsgChallengeBatch: MessageFns$
|
|
3354
|
+
declare const MsgChallengeBatch: MessageFns$l<MsgChallengeBatch>;
|
|
2805
3355
|
interface MsgChallengeBatchResponse {
|
|
2806
3356
|
}
|
|
2807
|
-
declare const MsgChallengeBatchResponse: MessageFns$
|
|
3357
|
+
declare const MsgChallengeBatchResponse: MessageFns$l<MsgChallengeBatchResponse>;
|
|
2808
3358
|
interface MsgResolveChallenge {
|
|
2809
3359
|
resolver: string;
|
|
2810
3360
|
rollupId: string;
|
|
@@ -2816,35 +3366,35 @@ interface MsgResolveChallenge {
|
|
|
2816
3366
|
*/
|
|
2817
3367
|
fraudUpheld: boolean;
|
|
2818
3368
|
}
|
|
2819
|
-
declare const MsgResolveChallenge: MessageFns$
|
|
3369
|
+
declare const MsgResolveChallenge: MessageFns$l<MsgResolveChallenge>;
|
|
2820
3370
|
interface MsgResolveChallengeResponse {
|
|
2821
3371
|
}
|
|
2822
|
-
declare const MsgResolveChallengeResponse: MessageFns$
|
|
3372
|
+
declare const MsgResolveChallengeResponse: MessageFns$l<MsgResolveChallengeResponse>;
|
|
2823
3373
|
interface MsgPauseRollup {
|
|
2824
3374
|
creator: string;
|
|
2825
3375
|
rollupId: string;
|
|
2826
3376
|
reason: string;
|
|
2827
3377
|
}
|
|
2828
|
-
declare const MsgPauseRollup: MessageFns$
|
|
3378
|
+
declare const MsgPauseRollup: MessageFns$l<MsgPauseRollup>;
|
|
2829
3379
|
interface MsgPauseRollupResponse {
|
|
2830
3380
|
}
|
|
2831
|
-
declare const MsgPauseRollupResponse: MessageFns$
|
|
3381
|
+
declare const MsgPauseRollupResponse: MessageFns$l<MsgPauseRollupResponse>;
|
|
2832
3382
|
interface MsgResumeRollup {
|
|
2833
3383
|
creator: string;
|
|
2834
3384
|
rollupId: string;
|
|
2835
3385
|
}
|
|
2836
|
-
declare const MsgResumeRollup: MessageFns$
|
|
3386
|
+
declare const MsgResumeRollup: MessageFns$l<MsgResumeRollup>;
|
|
2837
3387
|
interface MsgResumeRollupResponse {
|
|
2838
3388
|
}
|
|
2839
|
-
declare const MsgResumeRollupResponse: MessageFns$
|
|
3389
|
+
declare const MsgResumeRollupResponse: MessageFns$l<MsgResumeRollupResponse>;
|
|
2840
3390
|
interface MsgStopRollup {
|
|
2841
3391
|
creator: string;
|
|
2842
3392
|
rollupId: string;
|
|
2843
3393
|
}
|
|
2844
|
-
declare const MsgStopRollup: MessageFns$
|
|
3394
|
+
declare const MsgStopRollup: MessageFns$l<MsgStopRollup>;
|
|
2845
3395
|
interface MsgStopRollupResponse {
|
|
2846
3396
|
}
|
|
2847
|
-
declare const MsgStopRollupResponse: MessageFns$
|
|
3397
|
+
declare const MsgStopRollupResponse: MessageFns$l<MsgStopRollupResponse>;
|
|
2848
3398
|
/**
|
|
2849
3399
|
* MsgExecuteWithdrawal finalizes an L2->L1 cross-layer message: it proves a
|
|
2850
3400
|
* withdrawal leaf is committed in a finalized batch's withdrawals_root and pays
|
|
@@ -2863,13 +3413,13 @@ interface MsgExecuteWithdrawal {
|
|
|
2863
3413
|
/** proof are the binary-Merkle sibling hashes from the leaf to withdrawals_root. */
|
|
2864
3414
|
proof: Uint8Array[];
|
|
2865
3415
|
}
|
|
2866
|
-
declare const MsgExecuteWithdrawal: MessageFns$
|
|
3416
|
+
declare const MsgExecuteWithdrawal: MessageFns$l<MsgExecuteWithdrawal>;
|
|
2867
3417
|
interface MsgExecuteWithdrawalResponse {
|
|
2868
3418
|
}
|
|
2869
|
-
declare const MsgExecuteWithdrawalResponse: MessageFns$
|
|
3419
|
+
declare const MsgExecuteWithdrawalResponse: MessageFns$l<MsgExecuteWithdrawalResponse>;
|
|
2870
3420
|
/** Msg defines the rdk module's transaction service. */
|
|
2871
|
-
type MsgDefinition$
|
|
2872
|
-
declare const MsgDefinition$
|
|
3421
|
+
type MsgDefinition$7 = typeof MsgDefinition$7;
|
|
3422
|
+
declare const MsgDefinition$7: {
|
|
2873
3423
|
readonly name: "Msg";
|
|
2874
3424
|
readonly fullName: "qorechain.rdk.v1.Msg";
|
|
2875
3425
|
readonly methods: {
|
|
@@ -2939,40 +3489,40 @@ declare const MsgDefinition$8: {
|
|
|
2939
3489
|
};
|
|
2940
3490
|
};
|
|
2941
3491
|
};
|
|
2942
|
-
type Builtin$
|
|
2943
|
-
type DeepPartial$
|
|
2944
|
-
[K in keyof T]?: DeepPartial$
|
|
3492
|
+
type Builtin$l = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3493
|
+
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 {} ? {
|
|
3494
|
+
[K in keyof T]?: DeepPartial$l<T[K]>;
|
|
2945
3495
|
} : Partial<T>;
|
|
2946
|
-
interface MessageFns$
|
|
3496
|
+
interface MessageFns$l<T> {
|
|
2947
3497
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
2948
3498
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
2949
3499
|
fromJSON(object: any): T;
|
|
2950
3500
|
toJSON(message: T): unknown;
|
|
2951
|
-
create(base?: DeepPartial$
|
|
2952
|
-
fromPartial(object: DeepPartial$
|
|
3501
|
+
create(base?: DeepPartial$l<T>): T;
|
|
3502
|
+
fromPartial(object: DeepPartial$l<T>): T;
|
|
2953
3503
|
}
|
|
2954
3504
|
|
|
2955
|
-
declare const tx$
|
|
2956
|
-
declare const tx$
|
|
2957
|
-
declare const tx$
|
|
2958
|
-
declare const tx$
|
|
2959
|
-
declare const tx$
|
|
2960
|
-
declare const tx$
|
|
2961
|
-
declare const tx$
|
|
2962
|
-
declare const tx$
|
|
2963
|
-
declare const tx$
|
|
2964
|
-
declare const tx$
|
|
2965
|
-
declare const tx$
|
|
2966
|
-
declare const tx$
|
|
2967
|
-
declare const tx$
|
|
2968
|
-
declare const tx$
|
|
2969
|
-
declare const tx$
|
|
2970
|
-
declare const tx$
|
|
2971
|
-
declare namespace tx$
|
|
2972
|
-
export { type DeepPartial$
|
|
3505
|
+
declare const tx$7_MsgChallengeBatch: typeof MsgChallengeBatch;
|
|
3506
|
+
declare const tx$7_MsgChallengeBatchResponse: typeof MsgChallengeBatchResponse;
|
|
3507
|
+
declare const tx$7_MsgCreateRollup: typeof MsgCreateRollup;
|
|
3508
|
+
declare const tx$7_MsgCreateRollupResponse: typeof MsgCreateRollupResponse;
|
|
3509
|
+
declare const tx$7_MsgExecuteWithdrawal: typeof MsgExecuteWithdrawal;
|
|
3510
|
+
declare const tx$7_MsgExecuteWithdrawalResponse: typeof MsgExecuteWithdrawalResponse;
|
|
3511
|
+
declare const tx$7_MsgPauseRollup: typeof MsgPauseRollup;
|
|
3512
|
+
declare const tx$7_MsgPauseRollupResponse: typeof MsgPauseRollupResponse;
|
|
3513
|
+
declare const tx$7_MsgResolveChallenge: typeof MsgResolveChallenge;
|
|
3514
|
+
declare const tx$7_MsgResolveChallengeResponse: typeof MsgResolveChallengeResponse;
|
|
3515
|
+
declare const tx$7_MsgResumeRollup: typeof MsgResumeRollup;
|
|
3516
|
+
declare const tx$7_MsgResumeRollupResponse: typeof MsgResumeRollupResponse;
|
|
3517
|
+
declare const tx$7_MsgStopRollup: typeof MsgStopRollup;
|
|
3518
|
+
declare const tx$7_MsgStopRollupResponse: typeof MsgStopRollupResponse;
|
|
3519
|
+
declare const tx$7_MsgSubmitBatch: typeof MsgSubmitBatch;
|
|
3520
|
+
declare const tx$7_MsgSubmitBatchResponse: typeof MsgSubmitBatchResponse;
|
|
3521
|
+
declare namespace tx$7 {
|
|
3522
|
+
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
3523
|
}
|
|
2974
3524
|
|
|
2975
|
-
declare const protobufPackage$
|
|
3525
|
+
declare const protobufPackage$k = "qorechain.multilayer.v1";
|
|
2976
3526
|
interface MsgRegisterSidechain {
|
|
2977
3527
|
creator: string;
|
|
2978
3528
|
layerId: string;
|
|
@@ -2984,13 +3534,13 @@ interface MsgRegisterSidechain {
|
|
|
2984
3534
|
supportedVmTypes: string[];
|
|
2985
3535
|
supportedDomains: string[];
|
|
2986
3536
|
}
|
|
2987
|
-
declare const MsgRegisterSidechain: MessageFns$
|
|
3537
|
+
declare const MsgRegisterSidechain: MessageFns$k<MsgRegisterSidechain>;
|
|
2988
3538
|
interface MsgRegisterSidechainResponse {
|
|
2989
3539
|
layerId: string;
|
|
2990
3540
|
chainId: string;
|
|
2991
3541
|
status: string;
|
|
2992
3542
|
}
|
|
2993
|
-
declare const MsgRegisterSidechainResponse: MessageFns$
|
|
3543
|
+
declare const MsgRegisterSidechainResponse: MessageFns$k<MsgRegisterSidechainResponse>;
|
|
2994
3544
|
interface MsgRegisterPaychain {
|
|
2995
3545
|
creator: string;
|
|
2996
3546
|
layerId: string;
|
|
@@ -2999,12 +3549,12 @@ interface MsgRegisterPaychain {
|
|
|
2999
3549
|
settlementIntervalBlocks: string;
|
|
3000
3550
|
baseFeeMultiplier: string;
|
|
3001
3551
|
}
|
|
3002
|
-
declare const MsgRegisterPaychain: MessageFns$
|
|
3552
|
+
declare const MsgRegisterPaychain: MessageFns$k<MsgRegisterPaychain>;
|
|
3003
3553
|
interface MsgRegisterPaychainResponse {
|
|
3004
3554
|
layerId: string;
|
|
3005
3555
|
status: string;
|
|
3006
3556
|
}
|
|
3007
|
-
declare const MsgRegisterPaychainResponse: MessageFns$
|
|
3557
|
+
declare const MsgRegisterPaychainResponse: MessageFns$k<MsgRegisterPaychainResponse>;
|
|
3008
3558
|
interface MsgAnchorState {
|
|
3009
3559
|
relayer: string;
|
|
3010
3560
|
layerId: string;
|
|
@@ -3015,12 +3565,12 @@ interface MsgAnchorState {
|
|
|
3015
3565
|
transactionCount: string;
|
|
3016
3566
|
compressedStateProof: Uint8Array;
|
|
3017
3567
|
}
|
|
3018
|
-
declare const MsgAnchorState: MessageFns$
|
|
3568
|
+
declare const MsgAnchorState: MessageFns$k<MsgAnchorState>;
|
|
3019
3569
|
interface MsgAnchorStateResponse {
|
|
3020
3570
|
mainChainHeight: string;
|
|
3021
3571
|
accepted: boolean;
|
|
3022
3572
|
}
|
|
3023
|
-
declare const MsgAnchorStateResponse: MessageFns$
|
|
3573
|
+
declare const MsgAnchorStateResponse: MessageFns$k<MsgAnchorStateResponse>;
|
|
3024
3574
|
interface MsgRouteTransaction {
|
|
3025
3575
|
sender: string;
|
|
3026
3576
|
transactionPayload: Uint8Array;
|
|
@@ -3028,23 +3578,23 @@ interface MsgRouteTransaction {
|
|
|
3028
3578
|
maxLatencyMs: string;
|
|
3029
3579
|
maxFee: string;
|
|
3030
3580
|
}
|
|
3031
|
-
declare const MsgRouteTransaction: MessageFns$
|
|
3581
|
+
declare const MsgRouteTransaction: MessageFns$k<MsgRouteTransaction>;
|
|
3032
3582
|
interface MsgRouteTransactionResponse {
|
|
3033
3583
|
selectedLayer: string;
|
|
3034
3584
|
reason: string;
|
|
3035
3585
|
crossLayerMessageId: string;
|
|
3036
3586
|
}
|
|
3037
|
-
declare const MsgRouteTransactionResponse: MessageFns$
|
|
3587
|
+
declare const MsgRouteTransactionResponse: MessageFns$k<MsgRouteTransactionResponse>;
|
|
3038
3588
|
interface MsgUpdateLayerStatus {
|
|
3039
3589
|
authority: string;
|
|
3040
3590
|
layerId: string;
|
|
3041
3591
|
newStatus: string;
|
|
3042
3592
|
reason: string;
|
|
3043
3593
|
}
|
|
3044
|
-
declare const MsgUpdateLayerStatus: MessageFns$
|
|
3594
|
+
declare const MsgUpdateLayerStatus: MessageFns$k<MsgUpdateLayerStatus>;
|
|
3045
3595
|
interface MsgUpdateLayerStatusResponse {
|
|
3046
3596
|
}
|
|
3047
|
-
declare const MsgUpdateLayerStatusResponse: MessageFns$
|
|
3597
|
+
declare const MsgUpdateLayerStatusResponse: MessageFns$k<MsgUpdateLayerStatusResponse>;
|
|
3048
3598
|
interface MsgChallengeAnchor {
|
|
3049
3599
|
challenger: string;
|
|
3050
3600
|
layerId: string;
|
|
@@ -3052,14 +3602,14 @@ interface MsgChallengeAnchor {
|
|
|
3052
3602
|
fraudProof: Uint8Array;
|
|
3053
3603
|
challengeReason: string;
|
|
3054
3604
|
}
|
|
3055
|
-
declare const MsgChallengeAnchor: MessageFns$
|
|
3605
|
+
declare const MsgChallengeAnchor: MessageFns$k<MsgChallengeAnchor>;
|
|
3056
3606
|
interface MsgChallengeAnchorResponse {
|
|
3057
3607
|
challengeAccepted: boolean;
|
|
3058
3608
|
resolution: string;
|
|
3059
3609
|
}
|
|
3060
|
-
declare const MsgChallengeAnchorResponse: MessageFns$
|
|
3061
|
-
type MsgDefinition$
|
|
3062
|
-
declare const MsgDefinition$
|
|
3610
|
+
declare const MsgChallengeAnchorResponse: MessageFns$k<MsgChallengeAnchorResponse>;
|
|
3611
|
+
type MsgDefinition$6 = typeof MsgDefinition$6;
|
|
3612
|
+
declare const MsgDefinition$6: {
|
|
3063
3613
|
readonly name: "Msg";
|
|
3064
3614
|
readonly fullName: "qorechain.multilayer.v1.Msg";
|
|
3065
3615
|
readonly methods: {
|
|
@@ -3113,36 +3663,36 @@ declare const MsgDefinition$7: {
|
|
|
3113
3663
|
};
|
|
3114
3664
|
};
|
|
3115
3665
|
};
|
|
3116
|
-
type Builtin$
|
|
3117
|
-
type DeepPartial$
|
|
3118
|
-
[K in keyof T]?: DeepPartial$
|
|
3666
|
+
type Builtin$k = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3667
|
+
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 {} ? {
|
|
3668
|
+
[K in keyof T]?: DeepPartial$k<T[K]>;
|
|
3119
3669
|
} : Partial<T>;
|
|
3120
|
-
interface MessageFns$
|
|
3670
|
+
interface MessageFns$k<T> {
|
|
3121
3671
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3122
3672
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3123
3673
|
fromJSON(object: any): T;
|
|
3124
3674
|
toJSON(message: T): unknown;
|
|
3125
|
-
create(base?: DeepPartial$
|
|
3126
|
-
fromPartial(object: DeepPartial$
|
|
3675
|
+
create(base?: DeepPartial$k<T>): T;
|
|
3676
|
+
fromPartial(object: DeepPartial$k<T>): T;
|
|
3127
3677
|
}
|
|
3128
3678
|
|
|
3129
|
-
declare const tx$
|
|
3130
|
-
declare const tx$
|
|
3131
|
-
declare const tx$
|
|
3132
|
-
declare const tx$
|
|
3133
|
-
declare const tx$
|
|
3134
|
-
declare const tx$
|
|
3135
|
-
declare const tx$
|
|
3136
|
-
declare const tx$
|
|
3137
|
-
declare const tx$
|
|
3138
|
-
declare const tx$
|
|
3139
|
-
declare const tx$
|
|
3140
|
-
declare const tx$
|
|
3141
|
-
declare namespace tx$
|
|
3142
|
-
export { type DeepPartial$
|
|
3679
|
+
declare const tx$6_MsgAnchorState: typeof MsgAnchorState;
|
|
3680
|
+
declare const tx$6_MsgAnchorStateResponse: typeof MsgAnchorStateResponse;
|
|
3681
|
+
declare const tx$6_MsgChallengeAnchor: typeof MsgChallengeAnchor;
|
|
3682
|
+
declare const tx$6_MsgChallengeAnchorResponse: typeof MsgChallengeAnchorResponse;
|
|
3683
|
+
declare const tx$6_MsgRegisterPaychain: typeof MsgRegisterPaychain;
|
|
3684
|
+
declare const tx$6_MsgRegisterPaychainResponse: typeof MsgRegisterPaychainResponse;
|
|
3685
|
+
declare const tx$6_MsgRegisterSidechain: typeof MsgRegisterSidechain;
|
|
3686
|
+
declare const tx$6_MsgRegisterSidechainResponse: typeof MsgRegisterSidechainResponse;
|
|
3687
|
+
declare const tx$6_MsgRouteTransaction: typeof MsgRouteTransaction;
|
|
3688
|
+
declare const tx$6_MsgRouteTransactionResponse: typeof MsgRouteTransactionResponse;
|
|
3689
|
+
declare const tx$6_MsgUpdateLayerStatus: typeof MsgUpdateLayerStatus;
|
|
3690
|
+
declare const tx$6_MsgUpdateLayerStatusResponse: typeof MsgUpdateLayerStatusResponse;
|
|
3691
|
+
declare namespace tx$6 {
|
|
3692
|
+
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
3693
|
}
|
|
3144
3694
|
|
|
3145
|
-
declare const protobufPackage$
|
|
3695
|
+
declare const protobufPackage$j = "qorechain.pqc.v1";
|
|
3146
3696
|
/**
|
|
3147
3697
|
* MsgRegisterPQCKey registers a PQC keypair for an account.
|
|
3148
3698
|
* Deprecated: use MsgRegisterPQCKeyV2 which includes algorithm_id.
|
|
@@ -3153,10 +3703,10 @@ interface MsgRegisterPQCKey {
|
|
|
3153
3703
|
ecdsaPubkey: Uint8Array;
|
|
3154
3704
|
keyType: string;
|
|
3155
3705
|
}
|
|
3156
|
-
declare const MsgRegisterPQCKey: MessageFns$
|
|
3706
|
+
declare const MsgRegisterPQCKey: MessageFns$j<MsgRegisterPQCKey>;
|
|
3157
3707
|
interface MsgRegisterPQCKeyResponse {
|
|
3158
3708
|
}
|
|
3159
|
-
declare const MsgRegisterPQCKeyResponse: MessageFns$
|
|
3709
|
+
declare const MsgRegisterPQCKeyResponse: MessageFns$j<MsgRegisterPQCKeyResponse>;
|
|
3160
3710
|
/** MsgRegisterPQCKeyV2 registers a PQC key with explicit algorithm selection. */
|
|
3161
3711
|
interface MsgRegisterPQCKeyV2 {
|
|
3162
3712
|
sender: string;
|
|
@@ -3165,10 +3715,10 @@ interface MsgRegisterPQCKeyV2 {
|
|
|
3165
3715
|
ecdsaPubkey: Uint8Array;
|
|
3166
3716
|
keyType: string;
|
|
3167
3717
|
}
|
|
3168
|
-
declare const MsgRegisterPQCKeyV2: MessageFns$
|
|
3718
|
+
declare const MsgRegisterPQCKeyV2: MessageFns$j<MsgRegisterPQCKeyV2>;
|
|
3169
3719
|
interface MsgRegisterPQCKeyV2Response {
|
|
3170
3720
|
}
|
|
3171
|
-
declare const MsgRegisterPQCKeyV2Response: MessageFns$
|
|
3721
|
+
declare const MsgRegisterPQCKeyV2Response: MessageFns$j<MsgRegisterPQCKeyV2Response>;
|
|
3172
3722
|
/** MsgMigratePQCKey migrates an account's PQC key, proving ownership of both keys. */
|
|
3173
3723
|
interface MsgMigratePQCKey {
|
|
3174
3724
|
sender: string;
|
|
@@ -3178,10 +3728,10 @@ interface MsgMigratePQCKey {
|
|
|
3178
3728
|
oldSignature: Uint8Array;
|
|
3179
3729
|
newSignature: Uint8Array;
|
|
3180
3730
|
}
|
|
3181
|
-
declare const MsgMigratePQCKey: MessageFns$
|
|
3731
|
+
declare const MsgMigratePQCKey: MessageFns$j<MsgMigratePQCKey>;
|
|
3182
3732
|
interface MsgMigratePQCKeyResponse {
|
|
3183
3733
|
}
|
|
3184
|
-
declare const MsgMigratePQCKeyResponse: MessageFns$
|
|
3734
|
+
declare const MsgMigratePQCKeyResponse: MessageFns$j<MsgMigratePQCKeyResponse>;
|
|
3185
3735
|
/** MsgDeprecateAlgorithm proposes deprecating an algorithm (starts migration period). */
|
|
3186
3736
|
interface MsgDeprecateAlgorithm {
|
|
3187
3737
|
authority: string;
|
|
@@ -3189,23 +3739,23 @@ interface MsgDeprecateAlgorithm {
|
|
|
3189
3739
|
migrationBlocks: string;
|
|
3190
3740
|
replacementAlgorithmId: number;
|
|
3191
3741
|
}
|
|
3192
|
-
declare const MsgDeprecateAlgorithm: MessageFns$
|
|
3742
|
+
declare const MsgDeprecateAlgorithm: MessageFns$j<MsgDeprecateAlgorithm>;
|
|
3193
3743
|
interface MsgDeprecateAlgorithmResponse {
|
|
3194
3744
|
}
|
|
3195
|
-
declare const MsgDeprecateAlgorithmResponse: MessageFns$
|
|
3745
|
+
declare const MsgDeprecateAlgorithmResponse: MessageFns$j<MsgDeprecateAlgorithmResponse>;
|
|
3196
3746
|
/** MsgDisableAlgorithm emergency-disables an algorithm (e.g., vulnerability discovered). */
|
|
3197
3747
|
interface MsgDisableAlgorithm {
|
|
3198
3748
|
authority: string;
|
|
3199
3749
|
algorithmId: number;
|
|
3200
3750
|
reason: string;
|
|
3201
3751
|
}
|
|
3202
|
-
declare const MsgDisableAlgorithm: MessageFns$
|
|
3752
|
+
declare const MsgDisableAlgorithm: MessageFns$j<MsgDisableAlgorithm>;
|
|
3203
3753
|
interface MsgDisableAlgorithmResponse {
|
|
3204
3754
|
}
|
|
3205
|
-
declare const MsgDisableAlgorithmResponse: MessageFns$
|
|
3755
|
+
declare const MsgDisableAlgorithmResponse: MessageFns$j<MsgDisableAlgorithmResponse>;
|
|
3206
3756
|
/** Msg defines the PQC module's transaction service. */
|
|
3207
|
-
type MsgDefinition$
|
|
3208
|
-
declare const MsgDefinition$
|
|
3757
|
+
type MsgDefinition$5 = typeof MsgDefinition$5;
|
|
3758
|
+
declare const MsgDefinition$5: {
|
|
3209
3759
|
readonly name: "Msg";
|
|
3210
3760
|
readonly fullName: "qorechain.pqc.v1.Msg";
|
|
3211
3761
|
readonly methods: {
|
|
@@ -3256,177 +3806,65 @@ declare const MsgDefinition$6: {
|
|
|
3256
3806
|
};
|
|
3257
3807
|
};
|
|
3258
3808
|
};
|
|
3259
|
-
type Builtin$
|
|
3260
|
-
type DeepPartial$
|
|
3261
|
-
[K in keyof T]?: DeepPartial$
|
|
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]>;
|
|
3809
|
+
type Builtin$j = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3810
|
+
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 {} ? {
|
|
3811
|
+
[K in keyof T]?: DeepPartial$j<T[K]>;
|
|
3375
3812
|
} : Partial<T>;
|
|
3376
|
-
interface MessageFns$
|
|
3813
|
+
interface MessageFns$j<T> {
|
|
3377
3814
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3378
3815
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3379
3816
|
fromJSON(object: any): T;
|
|
3380
3817
|
toJSON(message: T): unknown;
|
|
3381
|
-
create(base?: DeepPartial$
|
|
3382
|
-
fromPartial(object: DeepPartial$
|
|
3818
|
+
create(base?: DeepPartial$j<T>): T;
|
|
3819
|
+
fromPartial(object: DeepPartial$j<T>): T;
|
|
3383
3820
|
}
|
|
3384
3821
|
|
|
3385
|
-
declare const tx$
|
|
3386
|
-
declare const tx$
|
|
3387
|
-
declare const tx$
|
|
3388
|
-
declare const tx$
|
|
3389
|
-
declare const tx$
|
|
3390
|
-
declare const tx$
|
|
3391
|
-
declare const tx$
|
|
3392
|
-
declare const tx$
|
|
3393
|
-
declare const tx$
|
|
3822
|
+
declare const tx$5_MsgDeprecateAlgorithm: typeof MsgDeprecateAlgorithm;
|
|
3823
|
+
declare const tx$5_MsgDeprecateAlgorithmResponse: typeof MsgDeprecateAlgorithmResponse;
|
|
3824
|
+
declare const tx$5_MsgDisableAlgorithm: typeof MsgDisableAlgorithm;
|
|
3825
|
+
declare const tx$5_MsgDisableAlgorithmResponse: typeof MsgDisableAlgorithmResponse;
|
|
3826
|
+
declare const tx$5_MsgMigratePQCKey: typeof MsgMigratePQCKey;
|
|
3827
|
+
declare const tx$5_MsgMigratePQCKeyResponse: typeof MsgMigratePQCKeyResponse;
|
|
3828
|
+
declare const tx$5_MsgRegisterPQCKey: typeof MsgRegisterPQCKey;
|
|
3829
|
+
declare const tx$5_MsgRegisterPQCKeyResponse: typeof MsgRegisterPQCKeyResponse;
|
|
3830
|
+
declare const tx$5_MsgRegisterPQCKeyV2: typeof MsgRegisterPQCKeyV2;
|
|
3831
|
+
declare const tx$5_MsgRegisterPQCKeyV2Response: typeof MsgRegisterPQCKeyV2Response;
|
|
3394
3832
|
declare namespace tx$5 {
|
|
3395
|
-
export { type DeepPartial$
|
|
3833
|
+
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
3834
|
}
|
|
3397
3835
|
|
|
3398
|
-
declare const protobufPackage$
|
|
3836
|
+
declare const protobufPackage$i = "qorechain.lightnode.v1";
|
|
3399
3837
|
interface MsgRegisterLightNode {
|
|
3400
3838
|
operator: string;
|
|
3401
3839
|
nodeType: string;
|
|
3402
3840
|
version: string;
|
|
3403
3841
|
capabilities: string[];
|
|
3404
3842
|
}
|
|
3405
|
-
declare const MsgRegisterLightNode: MessageFns$
|
|
3843
|
+
declare const MsgRegisterLightNode: MessageFns$i<MsgRegisterLightNode>;
|
|
3406
3844
|
interface MsgRegisterLightNodeResponse {
|
|
3407
3845
|
}
|
|
3408
|
-
declare const MsgRegisterLightNodeResponse: MessageFns$
|
|
3846
|
+
declare const MsgRegisterLightNodeResponse: MessageFns$i<MsgRegisterLightNodeResponse>;
|
|
3409
3847
|
interface MsgHeartbeat {
|
|
3410
3848
|
operator: string;
|
|
3411
3849
|
}
|
|
3412
|
-
declare const MsgHeartbeat: MessageFns$
|
|
3850
|
+
declare const MsgHeartbeat: MessageFns$i<MsgHeartbeat>;
|
|
3413
3851
|
interface MsgHeartbeatResponse {
|
|
3414
3852
|
}
|
|
3415
|
-
declare const MsgHeartbeatResponse: MessageFns$
|
|
3853
|
+
declare const MsgHeartbeatResponse: MessageFns$i<MsgHeartbeatResponse>;
|
|
3416
3854
|
interface MsgDeregisterLightNode {
|
|
3417
3855
|
operator: string;
|
|
3418
3856
|
}
|
|
3419
|
-
declare const MsgDeregisterLightNode: MessageFns$
|
|
3857
|
+
declare const MsgDeregisterLightNode: MessageFns$i<MsgDeregisterLightNode>;
|
|
3420
3858
|
interface MsgDeregisterLightNodeResponse {
|
|
3421
3859
|
}
|
|
3422
|
-
declare const MsgDeregisterLightNodeResponse: MessageFns$
|
|
3860
|
+
declare const MsgDeregisterLightNodeResponse: MessageFns$i<MsgDeregisterLightNodeResponse>;
|
|
3423
3861
|
interface MsgClaimLightNodeRewards {
|
|
3424
3862
|
operator: string;
|
|
3425
3863
|
}
|
|
3426
|
-
declare const MsgClaimLightNodeRewards: MessageFns$
|
|
3864
|
+
declare const MsgClaimLightNodeRewards: MessageFns$i<MsgClaimLightNodeRewards>;
|
|
3427
3865
|
interface MsgClaimLightNodeRewardsResponse {
|
|
3428
3866
|
}
|
|
3429
|
-
declare const MsgClaimLightNodeRewardsResponse: MessageFns$
|
|
3867
|
+
declare const MsgClaimLightNodeRewardsResponse: MessageFns$i<MsgClaimLightNodeRewardsResponse>;
|
|
3430
3868
|
/** Msg defines the lightnode module's transaction service. */
|
|
3431
3869
|
type MsgDefinition$4 = typeof MsgDefinition$4;
|
|
3432
3870
|
declare const MsgDefinition$4: {
|
|
@@ -3467,17 +3905,17 @@ declare const MsgDefinition$4: {
|
|
|
3467
3905
|
};
|
|
3468
3906
|
};
|
|
3469
3907
|
};
|
|
3470
|
-
type Builtin$
|
|
3471
|
-
type DeepPartial$
|
|
3472
|
-
[K in keyof T]?: DeepPartial$
|
|
3908
|
+
type Builtin$i = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
3909
|
+
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 {} ? {
|
|
3910
|
+
[K in keyof T]?: DeepPartial$i<T[K]>;
|
|
3473
3911
|
} : Partial<T>;
|
|
3474
|
-
interface MessageFns$
|
|
3912
|
+
interface MessageFns$i<T> {
|
|
3475
3913
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3476
3914
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3477
3915
|
fromJSON(object: any): T;
|
|
3478
3916
|
toJSON(message: T): unknown;
|
|
3479
|
-
create(base?: DeepPartial$
|
|
3480
|
-
fromPartial(object: DeepPartial$
|
|
3917
|
+
create(base?: DeepPartial$i<T>): T;
|
|
3918
|
+
fromPartial(object: DeepPartial$i<T>): T;
|
|
3481
3919
|
}
|
|
3482
3920
|
|
|
3483
3921
|
declare const tx$4_MsgClaimLightNodeRewards: typeof MsgClaimLightNodeRewards;
|
|
@@ -3489,10 +3927,10 @@ declare const tx$4_MsgHeartbeatResponse: typeof MsgHeartbeatResponse;
|
|
|
3489
3927
|
declare const tx$4_MsgRegisterLightNode: typeof MsgRegisterLightNode;
|
|
3490
3928
|
declare const tx$4_MsgRegisterLightNodeResponse: typeof MsgRegisterLightNodeResponse;
|
|
3491
3929
|
declare namespace tx$4 {
|
|
3492
|
-
export { type DeepPartial$
|
|
3930
|
+
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
3931
|
}
|
|
3494
3932
|
|
|
3495
|
-
declare const protobufPackage$
|
|
3933
|
+
declare const protobufPackage$h = "qorechain.license.v1";
|
|
3496
3934
|
interface MsgGrantLicense {
|
|
3497
3935
|
authority: string;
|
|
3498
3936
|
grantee: string;
|
|
@@ -3500,37 +3938,37 @@ interface MsgGrantLicense {
|
|
|
3500
3938
|
expiresAt: string;
|
|
3501
3939
|
metadata: string;
|
|
3502
3940
|
}
|
|
3503
|
-
declare const MsgGrantLicense: MessageFns$
|
|
3941
|
+
declare const MsgGrantLicense: MessageFns$h<MsgGrantLicense>;
|
|
3504
3942
|
interface MsgGrantLicenseResponse {
|
|
3505
3943
|
}
|
|
3506
|
-
declare const MsgGrantLicenseResponse: MessageFns$
|
|
3944
|
+
declare const MsgGrantLicenseResponse: MessageFns$h<MsgGrantLicenseResponse>;
|
|
3507
3945
|
interface MsgRevokeLicense {
|
|
3508
3946
|
authority: string;
|
|
3509
3947
|
grantee: string;
|
|
3510
3948
|
featureId: string;
|
|
3511
3949
|
}
|
|
3512
|
-
declare const MsgRevokeLicense: MessageFns$
|
|
3950
|
+
declare const MsgRevokeLicense: MessageFns$h<MsgRevokeLicense>;
|
|
3513
3951
|
interface MsgRevokeLicenseResponse {
|
|
3514
3952
|
}
|
|
3515
|
-
declare const MsgRevokeLicenseResponse: MessageFns$
|
|
3953
|
+
declare const MsgRevokeLicenseResponse: MessageFns$h<MsgRevokeLicenseResponse>;
|
|
3516
3954
|
interface MsgSuspendLicense {
|
|
3517
3955
|
authority: string;
|
|
3518
3956
|
grantee: string;
|
|
3519
3957
|
featureId: string;
|
|
3520
3958
|
}
|
|
3521
|
-
declare const MsgSuspendLicense: MessageFns$
|
|
3959
|
+
declare const MsgSuspendLicense: MessageFns$h<MsgSuspendLicense>;
|
|
3522
3960
|
interface MsgSuspendLicenseResponse {
|
|
3523
3961
|
}
|
|
3524
|
-
declare const MsgSuspendLicenseResponse: MessageFns$
|
|
3962
|
+
declare const MsgSuspendLicenseResponse: MessageFns$h<MsgSuspendLicenseResponse>;
|
|
3525
3963
|
interface MsgResumeLicense {
|
|
3526
3964
|
authority: string;
|
|
3527
3965
|
grantee: string;
|
|
3528
3966
|
featureId: string;
|
|
3529
3967
|
}
|
|
3530
|
-
declare const MsgResumeLicense: MessageFns$
|
|
3968
|
+
declare const MsgResumeLicense: MessageFns$h<MsgResumeLicense>;
|
|
3531
3969
|
interface MsgResumeLicenseResponse {
|
|
3532
3970
|
}
|
|
3533
|
-
declare const MsgResumeLicenseResponse: MessageFns$
|
|
3971
|
+
declare const MsgResumeLicenseResponse: MessageFns$h<MsgResumeLicenseResponse>;
|
|
3534
3972
|
/** Msg defines the license module's transaction service. */
|
|
3535
3973
|
type MsgDefinition$3 = typeof MsgDefinition$3;
|
|
3536
3974
|
declare const MsgDefinition$3: {
|
|
@@ -3571,17 +4009,17 @@ declare const MsgDefinition$3: {
|
|
|
3571
4009
|
};
|
|
3572
4010
|
};
|
|
3573
4011
|
};
|
|
3574
|
-
type Builtin$
|
|
3575
|
-
type DeepPartial$
|
|
3576
|
-
[K in keyof T]?: DeepPartial$
|
|
4012
|
+
type Builtin$h = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
4013
|
+
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 {} ? {
|
|
4014
|
+
[K in keyof T]?: DeepPartial$h<T[K]>;
|
|
3577
4015
|
} : Partial<T>;
|
|
3578
|
-
interface MessageFns$
|
|
4016
|
+
interface MessageFns$h<T> {
|
|
3579
4017
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3580
4018
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3581
4019
|
fromJSON(object: any): T;
|
|
3582
4020
|
toJSON(message: T): unknown;
|
|
3583
|
-
create(base?: DeepPartial$
|
|
3584
|
-
fromPartial(object: DeepPartial$
|
|
4021
|
+
create(base?: DeepPartial$h<T>): T;
|
|
4022
|
+
fromPartial(object: DeepPartial$h<T>): T;
|
|
3585
4023
|
}
|
|
3586
4024
|
|
|
3587
4025
|
declare const tx$3_MsgGrantLicense: typeof MsgGrantLicense;
|
|
@@ -3593,10 +4031,10 @@ declare const tx$3_MsgRevokeLicenseResponse: typeof MsgRevokeLicenseResponse;
|
|
|
3593
4031
|
declare const tx$3_MsgSuspendLicense: typeof MsgSuspendLicense;
|
|
3594
4032
|
declare const tx$3_MsgSuspendLicenseResponse: typeof MsgSuspendLicenseResponse;
|
|
3595
4033
|
declare namespace tx$3 {
|
|
3596
|
-
export { type DeepPartial$
|
|
4034
|
+
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
4035
|
}
|
|
3598
4036
|
|
|
3599
|
-
declare const protobufPackage$
|
|
4037
|
+
declare const protobufPackage$g = "qorechain.abstractaccount.v1";
|
|
3600
4038
|
/** SpendingRule defines spending limits for an abstract account. */
|
|
3601
4039
|
interface SpendingRule {
|
|
3602
4040
|
id: string;
|
|
@@ -3605,25 +4043,61 @@ interface SpendingRule {
|
|
|
3605
4043
|
allowedDenoms: string[];
|
|
3606
4044
|
enabled: boolean;
|
|
3607
4045
|
}
|
|
3608
|
-
declare const SpendingRule: MessageFns$
|
|
4046
|
+
declare const SpendingRule: MessageFns$g<SpendingRule>;
|
|
3609
4047
|
interface MsgCreateAbstractAccount {
|
|
3610
4048
|
owner: string;
|
|
3611
4049
|
accountType: string;
|
|
3612
4050
|
}
|
|
3613
|
-
declare const MsgCreateAbstractAccount: MessageFns$
|
|
4051
|
+
declare const MsgCreateAbstractAccount: MessageFns$g<MsgCreateAbstractAccount>;
|
|
3614
4052
|
interface MsgCreateAbstractAccountResponse {
|
|
3615
4053
|
address: string;
|
|
3616
4054
|
}
|
|
3617
|
-
declare const MsgCreateAbstractAccountResponse: MessageFns$
|
|
4055
|
+
declare const MsgCreateAbstractAccountResponse: MessageFns$g<MsgCreateAbstractAccountResponse>;
|
|
3618
4056
|
interface MsgUpdateSpendingRules {
|
|
3619
4057
|
owner: string;
|
|
3620
4058
|
accountAddress: string;
|
|
3621
4059
|
rules: SpendingRule[];
|
|
3622
4060
|
}
|
|
3623
|
-
declare const MsgUpdateSpendingRules: MessageFns$
|
|
4061
|
+
declare const MsgUpdateSpendingRules: MessageFns$g<MsgUpdateSpendingRules>;
|
|
3624
4062
|
interface MsgUpdateSpendingRulesResponse {
|
|
3625
4063
|
}
|
|
3626
|
-
declare const MsgUpdateSpendingRulesResponse: MessageFns$
|
|
4064
|
+
declare const MsgUpdateSpendingRulesResponse: MessageFns$g<MsgUpdateSpendingRulesResponse>;
|
|
4065
|
+
/**
|
|
4066
|
+
* MsgRegisterAuthenticator links a foreign-scheme wallet key (e.g. a Phantom
|
|
4067
|
+
* ed25519 key) to an account so it may act for that account under least-privilege,
|
|
4068
|
+
* time-bounded, revocable terms. Only the account owner (root key) may call it.
|
|
4069
|
+
*/
|
|
4070
|
+
interface MsgRegisterAuthenticator {
|
|
4071
|
+
owner: string;
|
|
4072
|
+
accountAddress: string;
|
|
4073
|
+
/** "ed25519" | "secp256k1" */
|
|
4074
|
+
scheme: string;
|
|
4075
|
+
/** raw public key bytes */
|
|
4076
|
+
pubkey: Uint8Array;
|
|
4077
|
+
/** e.g. "svm", "send" */
|
|
4078
|
+
permissions: string[];
|
|
4079
|
+
/** unix seconds; must be within MaxSessionTTL */
|
|
4080
|
+
expiryUnix: string;
|
|
4081
|
+
label: string;
|
|
4082
|
+
}
|
|
4083
|
+
declare const MsgRegisterAuthenticator: MessageFns$g<MsgRegisterAuthenticator>;
|
|
4084
|
+
interface MsgRegisterAuthenticatorResponse {
|
|
4085
|
+
}
|
|
4086
|
+
declare const MsgRegisterAuthenticatorResponse: MessageFns$g<MsgRegisterAuthenticatorResponse>;
|
|
4087
|
+
/**
|
|
4088
|
+
* MsgRevokeAuthenticator instantly disables a previously linked wallet key.
|
|
4089
|
+
* Only the account owner (root key) may call it.
|
|
4090
|
+
*/
|
|
4091
|
+
interface MsgRevokeAuthenticator {
|
|
4092
|
+
owner: string;
|
|
4093
|
+
accountAddress: string;
|
|
4094
|
+
scheme: string;
|
|
4095
|
+
pubkey: Uint8Array;
|
|
4096
|
+
}
|
|
4097
|
+
declare const MsgRevokeAuthenticator: MessageFns$g<MsgRevokeAuthenticator>;
|
|
4098
|
+
interface MsgRevokeAuthenticatorResponse {
|
|
4099
|
+
}
|
|
4100
|
+
declare const MsgRevokeAuthenticatorResponse: MessageFns$g<MsgRevokeAuthenticatorResponse>;
|
|
3627
4101
|
/** Msg defines the abstractaccount module's transaction service. */
|
|
3628
4102
|
type MsgDefinition$2 = typeof MsgDefinition$2;
|
|
3629
4103
|
declare const MsgDefinition$2: {
|
|
@@ -3646,31 +4120,51 @@ declare const MsgDefinition$2: {
|
|
|
3646
4120
|
readonly responseStream: false;
|
|
3647
4121
|
readonly options: {};
|
|
3648
4122
|
};
|
|
4123
|
+
readonly registerAuthenticator: {
|
|
4124
|
+
readonly name: "RegisterAuthenticator";
|
|
4125
|
+
readonly requestType: typeof MsgRegisterAuthenticator;
|
|
4126
|
+
readonly requestStream: false;
|
|
4127
|
+
readonly responseType: typeof MsgRegisterAuthenticatorResponse;
|
|
4128
|
+
readonly responseStream: false;
|
|
4129
|
+
readonly options: {};
|
|
4130
|
+
};
|
|
4131
|
+
readonly revokeAuthenticator: {
|
|
4132
|
+
readonly name: "RevokeAuthenticator";
|
|
4133
|
+
readonly requestType: typeof MsgRevokeAuthenticator;
|
|
4134
|
+
readonly requestStream: false;
|
|
4135
|
+
readonly responseType: typeof MsgRevokeAuthenticatorResponse;
|
|
4136
|
+
readonly responseStream: false;
|
|
4137
|
+
readonly options: {};
|
|
4138
|
+
};
|
|
3649
4139
|
};
|
|
3650
4140
|
};
|
|
3651
|
-
type Builtin$
|
|
3652
|
-
type DeepPartial$
|
|
3653
|
-
[K in keyof T]?: DeepPartial$
|
|
4141
|
+
type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
4142
|
+
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 {} ? {
|
|
4143
|
+
[K in keyof T]?: DeepPartial$g<T[K]>;
|
|
3654
4144
|
} : Partial<T>;
|
|
3655
|
-
interface MessageFns$
|
|
4145
|
+
interface MessageFns$g<T> {
|
|
3656
4146
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3657
4147
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3658
4148
|
fromJSON(object: any): T;
|
|
3659
4149
|
toJSON(message: T): unknown;
|
|
3660
|
-
create(base?: DeepPartial$
|
|
3661
|
-
fromPartial(object: DeepPartial$
|
|
4150
|
+
create(base?: DeepPartial$g<T>): T;
|
|
4151
|
+
fromPartial(object: DeepPartial$g<T>): T;
|
|
3662
4152
|
}
|
|
3663
4153
|
|
|
3664
4154
|
declare const tx$2_MsgCreateAbstractAccount: typeof MsgCreateAbstractAccount;
|
|
3665
4155
|
declare const tx$2_MsgCreateAbstractAccountResponse: typeof MsgCreateAbstractAccountResponse;
|
|
4156
|
+
declare const tx$2_MsgRegisterAuthenticator: typeof MsgRegisterAuthenticator;
|
|
4157
|
+
declare const tx$2_MsgRegisterAuthenticatorResponse: typeof MsgRegisterAuthenticatorResponse;
|
|
4158
|
+
declare const tx$2_MsgRevokeAuthenticator: typeof MsgRevokeAuthenticator;
|
|
4159
|
+
declare const tx$2_MsgRevokeAuthenticatorResponse: typeof MsgRevokeAuthenticatorResponse;
|
|
3666
4160
|
declare const tx$2_MsgUpdateSpendingRules: typeof MsgUpdateSpendingRules;
|
|
3667
4161
|
declare const tx$2_MsgUpdateSpendingRulesResponse: typeof MsgUpdateSpendingRulesResponse;
|
|
3668
4162
|
declare const tx$2_SpendingRule: typeof SpendingRule;
|
|
3669
4163
|
declare namespace tx$2 {
|
|
3670
|
-
export { type DeepPartial$
|
|
4164
|
+
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
4165
|
}
|
|
3672
4166
|
|
|
3673
|
-
declare const protobufPackage$
|
|
4167
|
+
declare const protobufPackage$f = "qorechain.crossvm.v1";
|
|
3674
4168
|
interface MsgCrossVMCall {
|
|
3675
4169
|
sender: string;
|
|
3676
4170
|
sourceVm: string;
|
|
@@ -3679,18 +4173,18 @@ interface MsgCrossVMCall {
|
|
|
3679
4173
|
payload: Uint8Array;
|
|
3680
4174
|
funds: Coin[];
|
|
3681
4175
|
}
|
|
3682
|
-
declare const MsgCrossVMCall: MessageFns$
|
|
4176
|
+
declare const MsgCrossVMCall: MessageFns$f<MsgCrossVMCall>;
|
|
3683
4177
|
interface MsgCrossVMCallResponse {
|
|
3684
4178
|
messageId: string;
|
|
3685
4179
|
}
|
|
3686
|
-
declare const MsgCrossVMCallResponse: MessageFns$
|
|
4180
|
+
declare const MsgCrossVMCallResponse: MessageFns$f<MsgCrossVMCallResponse>;
|
|
3687
4181
|
interface MsgProcessQueue {
|
|
3688
4182
|
authority: string;
|
|
3689
4183
|
}
|
|
3690
|
-
declare const MsgProcessQueue: MessageFns$
|
|
4184
|
+
declare const MsgProcessQueue: MessageFns$f<MsgProcessQueue>;
|
|
3691
4185
|
interface MsgProcessQueueResponse {
|
|
3692
4186
|
}
|
|
3693
|
-
declare const MsgProcessQueueResponse: MessageFns$
|
|
4187
|
+
declare const MsgProcessQueueResponse: MessageFns$f<MsgProcessQueueResponse>;
|
|
3694
4188
|
/** Msg defines the crossvm module's transaction service. */
|
|
3695
4189
|
type MsgDefinition$1 = typeof MsgDefinition$1;
|
|
3696
4190
|
declare const MsgDefinition$1: {
|
|
@@ -3717,17 +4211,17 @@ declare const MsgDefinition$1: {
|
|
|
3717
4211
|
};
|
|
3718
4212
|
};
|
|
3719
4213
|
};
|
|
3720
|
-
type Builtin$
|
|
3721
|
-
type DeepPartial$
|
|
3722
|
-
[K in keyof T]?: DeepPartial$
|
|
4214
|
+
type Builtin$f = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
4215
|
+
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 {} ? {
|
|
4216
|
+
[K in keyof T]?: DeepPartial$f<T[K]>;
|
|
3723
4217
|
} : Partial<T>;
|
|
3724
|
-
interface MessageFns$
|
|
4218
|
+
interface MessageFns$f<T> {
|
|
3725
4219
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3726
4220
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3727
4221
|
fromJSON(object: any): T;
|
|
3728
4222
|
toJSON(message: T): unknown;
|
|
3729
|
-
create(base?: DeepPartial$
|
|
3730
|
-
fromPartial(object: DeepPartial$
|
|
4223
|
+
create(base?: DeepPartial$f<T>): T;
|
|
4224
|
+
fromPartial(object: DeepPartial$f<T>): T;
|
|
3731
4225
|
}
|
|
3732
4226
|
|
|
3733
4227
|
declare const tx$1_MsgCrossVMCall: typeof MsgCrossVMCall;
|
|
@@ -3735,35 +4229,35 @@ declare const tx$1_MsgCrossVMCallResponse: typeof MsgCrossVMCallResponse;
|
|
|
3735
4229
|
declare const tx$1_MsgProcessQueue: typeof MsgProcessQueue;
|
|
3736
4230
|
declare const tx$1_MsgProcessQueueResponse: typeof MsgProcessQueueResponse;
|
|
3737
4231
|
declare namespace tx$1 {
|
|
3738
|
-
export { type DeepPartial$
|
|
4232
|
+
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
4233
|
}
|
|
3740
4234
|
|
|
3741
|
-
declare const protobufPackage$
|
|
4235
|
+
declare const protobufPackage$e = "qorechain.rlconsensus.v1";
|
|
3742
4236
|
interface MsgSetAgentMode {
|
|
3743
4237
|
authority: string;
|
|
3744
4238
|
/** mode cast to the named AgentMode (uint8) Go type. */
|
|
3745
4239
|
mode: number;
|
|
3746
4240
|
}
|
|
3747
|
-
declare const MsgSetAgentMode: MessageFns$
|
|
4241
|
+
declare const MsgSetAgentMode: MessageFns$e<MsgSetAgentMode>;
|
|
3748
4242
|
interface MsgSetAgentModeResponse {
|
|
3749
4243
|
}
|
|
3750
|
-
declare const MsgSetAgentModeResponse: MessageFns$
|
|
4244
|
+
declare const MsgSetAgentModeResponse: MessageFns$e<MsgSetAgentModeResponse>;
|
|
3751
4245
|
interface MsgResumeAgent {
|
|
3752
4246
|
authority: string;
|
|
3753
4247
|
}
|
|
3754
|
-
declare const MsgResumeAgent: MessageFns$
|
|
4248
|
+
declare const MsgResumeAgent: MessageFns$e<MsgResumeAgent>;
|
|
3755
4249
|
interface MsgResumeAgentResponse {
|
|
3756
4250
|
}
|
|
3757
|
-
declare const MsgResumeAgentResponse: MessageFns$
|
|
4251
|
+
declare const MsgResumeAgentResponse: MessageFns$e<MsgResumeAgentResponse>;
|
|
3758
4252
|
interface MsgUpdatePolicy {
|
|
3759
4253
|
authority: string;
|
|
3760
4254
|
/** JSON-encoded types.PolicyWeights (epoch + MLP config + weight vector). */
|
|
3761
4255
|
weightsJson: string;
|
|
3762
4256
|
}
|
|
3763
|
-
declare const MsgUpdatePolicy: MessageFns$
|
|
4257
|
+
declare const MsgUpdatePolicy: MessageFns$e<MsgUpdatePolicy>;
|
|
3764
4258
|
interface MsgUpdatePolicyResponse {
|
|
3765
4259
|
}
|
|
3766
|
-
declare const MsgUpdatePolicyResponse: MessageFns$
|
|
4260
|
+
declare const MsgUpdatePolicyResponse: MessageFns$e<MsgUpdatePolicyResponse>;
|
|
3767
4261
|
interface MsgUpdateRewardWeights {
|
|
3768
4262
|
authority: string;
|
|
3769
4263
|
throughput: string;
|
|
@@ -3772,10 +4266,10 @@ interface MsgUpdateRewardWeights {
|
|
|
3772
4266
|
mev: string;
|
|
3773
4267
|
failedTxs: string;
|
|
3774
4268
|
}
|
|
3775
|
-
declare const MsgUpdateRewardWeights: MessageFns$
|
|
4269
|
+
declare const MsgUpdateRewardWeights: MessageFns$e<MsgUpdateRewardWeights>;
|
|
3776
4270
|
interface MsgUpdateRewardWeightsResponse {
|
|
3777
4271
|
}
|
|
3778
|
-
declare const MsgUpdateRewardWeightsResponse: MessageFns$
|
|
4272
|
+
declare const MsgUpdateRewardWeightsResponse: MessageFns$e<MsgUpdateRewardWeightsResponse>;
|
|
3779
4273
|
/** Msg defines the rlconsensus module's governance-authority transactions. */
|
|
3780
4274
|
type MsgDefinition = typeof MsgDefinition;
|
|
3781
4275
|
declare const MsgDefinition: {
|
|
@@ -3820,17 +4314,17 @@ declare const MsgDefinition: {
|
|
|
3820
4314
|
};
|
|
3821
4315
|
};
|
|
3822
4316
|
};
|
|
3823
|
-
type Builtin$
|
|
3824
|
-
type DeepPartial$
|
|
3825
|
-
[K in keyof T]?: DeepPartial$
|
|
4317
|
+
type Builtin$e = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
4318
|
+
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 {} ? {
|
|
4319
|
+
[K in keyof T]?: DeepPartial$e<T[K]>;
|
|
3826
4320
|
} : Partial<T>;
|
|
3827
|
-
interface MessageFns$
|
|
4321
|
+
interface MessageFns$e<T> {
|
|
3828
4322
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
3829
4323
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
3830
4324
|
fromJSON(object: any): T;
|
|
3831
4325
|
toJSON(message: T): unknown;
|
|
3832
|
-
create(base?: DeepPartial$
|
|
3833
|
-
fromPartial(object: DeepPartial$
|
|
4326
|
+
create(base?: DeepPartial$e<T>): T;
|
|
4327
|
+
fromPartial(object: DeepPartial$e<T>): T;
|
|
3834
4328
|
}
|
|
3835
4329
|
|
|
3836
4330
|
declare const tx_MsgDefinition: typeof MsgDefinition;
|
|
@@ -3843,7 +4337,7 @@ declare const tx_MsgUpdatePolicyResponse: typeof MsgUpdatePolicyResponse;
|
|
|
3843
4337
|
declare const tx_MsgUpdateRewardWeights: typeof MsgUpdateRewardWeights;
|
|
3844
4338
|
declare const tx_MsgUpdateRewardWeightsResponse: typeof MsgUpdateRewardWeightsResponse;
|
|
3845
4339
|
declare namespace tx {
|
|
3846
|
-
export { type DeepPartial$
|
|
4340
|
+
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
4341
|
}
|
|
3848
4342
|
|
|
3849
4343
|
/**
|
|
@@ -3962,6 +4456,14 @@ declare const license: {
|
|
|
3962
4456
|
declare const abstractaccount: {
|
|
3963
4457
|
createAbstractAccount: (value: PartialMsg<MsgCreateAbstractAccount>) => EncodeObject;
|
|
3964
4458
|
updateSpendingRules: (value: PartialMsg<MsgUpdateSpendingRules>) => EncodeObject;
|
|
4459
|
+
/**
|
|
4460
|
+
* Link a foreign-scheme wallet key (e.g. a Phantom ed25519 key) to an account
|
|
4461
|
+
* so it may act for that account under least-privilege, time-bounded, revocable
|
|
4462
|
+
* terms. Owner-signed.
|
|
4463
|
+
*/
|
|
4464
|
+
registerAuthenticator: (value: PartialMsg<MsgRegisterAuthenticator>) => EncodeObject;
|
|
4465
|
+
/** Instantly disable a previously linked wallet key. Owner-signed. */
|
|
4466
|
+
revokeAuthenticator: (value: PartialMsg<MsgRevokeAuthenticator>) => EncodeObject;
|
|
3965
4467
|
};
|
|
3966
4468
|
/** Cross-VM message composers. */
|
|
3967
4469
|
declare const crossvm: {
|
|
@@ -3980,7 +4482,7 @@ declare const rlconsensus: {
|
|
|
3980
4482
|
* Message registry for QoreChain transactions.
|
|
3981
4483
|
*
|
|
3982
4484
|
* {@link qorechainRegistry} returns a cosmjs {@link Registry} seeded with the
|
|
3983
|
-
* standard
|
|
4485
|
+
* standard Native message types ({@link defaultRegistryTypes}: bank,
|
|
3984
4486
|
* staking, distribution, gov, authz, feegrant, IBC transfer, …) plus every
|
|
3985
4487
|
* QoreChain custom module message, keyed by its on-chain `typeUrl`. This is the
|
|
3986
4488
|
* registry {@link TxClient} uses by default, so `signAndBroadcast` — and the
|
|
@@ -4001,7 +4503,7 @@ declare const rlconsensus: {
|
|
|
4001
4503
|
*/
|
|
4002
4504
|
declare const qorechainRegistryTypes: ReadonlyArray<[string, GeneratedType]>;
|
|
4003
4505
|
/**
|
|
4004
|
-
* Build a cosmjs {@link Registry} covering the standard
|
|
4506
|
+
* Build a cosmjs {@link Registry} covering the standard Native messages plus
|
|
4005
4507
|
* every QoreChain custom-module message.
|
|
4006
4508
|
*
|
|
4007
4509
|
* @param extraTypes - Optional additional `[typeUrl, GeneratedType]` pairs to
|
|
@@ -4015,7 +4517,7 @@ declare function qorechainRegistry(extraTypes?: ReadonlyArray<[string, Generated
|
|
|
4015
4517
|
*
|
|
4016
4518
|
* The default export shape is a single grouped object so callers can write
|
|
4017
4519
|
* `msg.amm.swapExactIn({ ... })`, `msg.staking.delegate({ ... })`,
|
|
4018
|
-
* `msg.pqc.registerPqcKey({ ... })`, etc. Standard
|
|
4520
|
+
* `msg.pqc.registerPqcKey({ ... })`, etc. Standard Native modules
|
|
4019
4521
|
* (bank/staking/distribution/gov/authz/feegrant/ibc) sit alongside the
|
|
4020
4522
|
* QoreChain custom modules (amm/bridge/rdk/multilayer/pqc/svm/lightnode/
|
|
4021
4523
|
* license/abstractaccount/crossvm/rlconsensus).
|
|
@@ -5825,6 +6327,7 @@ declare const msg: {
|
|
|
5825
6327
|
[Symbol.iterator]?: {} | undefined;
|
|
5826
6328
|
readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
|
|
5827
6329
|
} | undefined;
|
|
6330
|
+
auth?: SVMAuth | undefined;
|
|
5828
6331
|
}) => _cosmjs_proto_signing.EncodeObject;
|
|
5829
6332
|
registerSvmPqcKey: (value: {
|
|
5830
6333
|
sender?: string | undefined;
|
|
@@ -5977,14 +6480,11 @@ declare const msg: {
|
|
|
5977
6480
|
enabled?: boolean | undefined;
|
|
5978
6481
|
} | undefined)[] | undefined;
|
|
5979
6482
|
}) => _cosmjs_proto_signing.EncodeObject;
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
targetVm?: string | undefined;
|
|
5986
|
-
targetContract?: string | undefined;
|
|
5987
|
-
payload?: {
|
|
6483
|
+
registerAuthenticator: (value: {
|
|
6484
|
+
owner?: string | undefined;
|
|
6485
|
+
accountAddress?: string | undefined;
|
|
6486
|
+
scheme?: string | undefined;
|
|
6487
|
+
pubkey?: {
|
|
5988
6488
|
[x: number]: number | undefined;
|
|
5989
6489
|
readonly BYTES_PER_ELEMENT?: number | undefined;
|
|
5990
6490
|
readonly buffer?: ({
|
|
@@ -6029,15 +6529,121 @@ declare const msg: {
|
|
|
6029
6529
|
[Symbol.iterator]?: {} | undefined;
|
|
6030
6530
|
readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
|
|
6031
6531
|
} | undefined;
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
} | undefined)[] | undefined;
|
|
6532
|
+
permissions?: (string | undefined)[] | undefined;
|
|
6533
|
+
expiryUnix?: string | undefined;
|
|
6534
|
+
label?: string | undefined;
|
|
6036
6535
|
}) => _cosmjs_proto_signing.EncodeObject;
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6536
|
+
revokeAuthenticator: (value: {
|
|
6537
|
+
owner?: string | undefined;
|
|
6538
|
+
accountAddress?: string | undefined;
|
|
6539
|
+
scheme?: string | undefined;
|
|
6540
|
+
pubkey?: {
|
|
6541
|
+
[x: number]: number | undefined;
|
|
6542
|
+
readonly BYTES_PER_ELEMENT?: number | undefined;
|
|
6543
|
+
readonly buffer?: ({
|
|
6544
|
+
readonly byteLength?: number | undefined;
|
|
6545
|
+
slice?: {} | undefined;
|
|
6546
|
+
readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
|
|
6547
|
+
} | {
|
|
6548
|
+
readonly byteLength?: number | undefined;
|
|
6549
|
+
slice?: {} | undefined;
|
|
6550
|
+
readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
|
|
6551
|
+
}) | undefined;
|
|
6552
|
+
readonly byteLength?: number | undefined;
|
|
6553
|
+
readonly byteOffset?: number | undefined;
|
|
6554
|
+
copyWithin?: {} | undefined;
|
|
6555
|
+
every?: {} | undefined;
|
|
6556
|
+
fill?: {} | undefined;
|
|
6557
|
+
filter?: {} | undefined;
|
|
6558
|
+
find?: {} | undefined;
|
|
6559
|
+
findIndex?: {} | undefined;
|
|
6560
|
+
forEach?: {} | undefined;
|
|
6561
|
+
indexOf?: {} | undefined;
|
|
6562
|
+
join?: {} | undefined;
|
|
6563
|
+
lastIndexOf?: {} | undefined;
|
|
6564
|
+
readonly length?: number | undefined;
|
|
6565
|
+
map?: {} | undefined;
|
|
6566
|
+
reduce?: {} | undefined;
|
|
6567
|
+
reduceRight?: {} | undefined;
|
|
6568
|
+
reverse?: {} | undefined;
|
|
6569
|
+
set?: {} | undefined;
|
|
6570
|
+
slice?: {} | undefined;
|
|
6571
|
+
some?: {} | undefined;
|
|
6572
|
+
sort?: {} | undefined;
|
|
6573
|
+
subarray?: {} | undefined;
|
|
6574
|
+
toLocaleString?: {} | undefined;
|
|
6575
|
+
toString?: {} | undefined;
|
|
6576
|
+
valueOf?: {} | undefined;
|
|
6577
|
+
entries?: {} | undefined;
|
|
6578
|
+
keys?: {} | undefined;
|
|
6579
|
+
values?: {} | undefined;
|
|
6580
|
+
includes?: {} | undefined;
|
|
6581
|
+
at?: {} | undefined;
|
|
6582
|
+
[Symbol.iterator]?: {} | undefined;
|
|
6583
|
+
readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
|
|
6584
|
+
} | undefined;
|
|
6585
|
+
}) => _cosmjs_proto_signing.EncodeObject;
|
|
6586
|
+
};
|
|
6587
|
+
readonly crossvm: {
|
|
6588
|
+
crossVmCall: (value: {
|
|
6589
|
+
sender?: string | undefined;
|
|
6590
|
+
sourceVm?: string | undefined;
|
|
6591
|
+
targetVm?: string | undefined;
|
|
6592
|
+
targetContract?: string | undefined;
|
|
6593
|
+
payload?: {
|
|
6594
|
+
[x: number]: number | undefined;
|
|
6595
|
+
readonly BYTES_PER_ELEMENT?: number | undefined;
|
|
6596
|
+
readonly buffer?: ({
|
|
6597
|
+
readonly byteLength?: number | undefined;
|
|
6598
|
+
slice?: {} | undefined;
|
|
6599
|
+
readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
|
|
6600
|
+
} | {
|
|
6601
|
+
readonly byteLength?: number | undefined;
|
|
6602
|
+
slice?: {} | undefined;
|
|
6603
|
+
readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
|
|
6604
|
+
}) | undefined;
|
|
6605
|
+
readonly byteLength?: number | undefined;
|
|
6606
|
+
readonly byteOffset?: number | undefined;
|
|
6607
|
+
copyWithin?: {} | undefined;
|
|
6608
|
+
every?: {} | undefined;
|
|
6609
|
+
fill?: {} | undefined;
|
|
6610
|
+
filter?: {} | undefined;
|
|
6611
|
+
find?: {} | undefined;
|
|
6612
|
+
findIndex?: {} | undefined;
|
|
6613
|
+
forEach?: {} | undefined;
|
|
6614
|
+
indexOf?: {} | undefined;
|
|
6615
|
+
join?: {} | undefined;
|
|
6616
|
+
lastIndexOf?: {} | undefined;
|
|
6617
|
+
readonly length?: number | undefined;
|
|
6618
|
+
map?: {} | undefined;
|
|
6619
|
+
reduce?: {} | undefined;
|
|
6620
|
+
reduceRight?: {} | undefined;
|
|
6621
|
+
reverse?: {} | undefined;
|
|
6622
|
+
set?: {} | undefined;
|
|
6623
|
+
slice?: {} | undefined;
|
|
6624
|
+
some?: {} | undefined;
|
|
6625
|
+
sort?: {} | undefined;
|
|
6626
|
+
subarray?: {} | undefined;
|
|
6627
|
+
toLocaleString?: {} | undefined;
|
|
6628
|
+
toString?: {} | undefined;
|
|
6629
|
+
valueOf?: {} | undefined;
|
|
6630
|
+
entries?: {} | undefined;
|
|
6631
|
+
keys?: {} | undefined;
|
|
6632
|
+
values?: {} | undefined;
|
|
6633
|
+
includes?: {} | undefined;
|
|
6634
|
+
at?: {} | undefined;
|
|
6635
|
+
[Symbol.iterator]?: {} | undefined;
|
|
6636
|
+
readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
|
|
6637
|
+
} | undefined;
|
|
6638
|
+
funds?: ({
|
|
6639
|
+
denom?: string | undefined;
|
|
6640
|
+
amount?: string | undefined;
|
|
6641
|
+
} | undefined)[] | undefined;
|
|
6642
|
+
}) => _cosmjs_proto_signing.EncodeObject;
|
|
6643
|
+
processQueue: (value: {
|
|
6644
|
+
authority?: string | undefined;
|
|
6645
|
+
}) => _cosmjs_proto_signing.EncodeObject;
|
|
6646
|
+
};
|
|
6041
6647
|
readonly rlconsensus: {
|
|
6042
6648
|
setAgentMode: (value: {
|
|
6043
6649
|
authority?: string | undefined;
|
|
@@ -6061,7 +6667,365 @@ declare const msg: {
|
|
|
6061
6667
|
};
|
|
6062
6668
|
};
|
|
6063
6669
|
|
|
6064
|
-
declare const protobufPackage$
|
|
6670
|
+
declare const protobufPackage$d = "qorechain.pqc.v1";
|
|
6671
|
+
/**
|
|
6672
|
+
* PQCHybridSignature is a transaction extension option carried in
|
|
6673
|
+
* TxBody.extension_options. It pairs a post-quantum (Dilithium-5) signature with
|
|
6674
|
+
* the account's classical secp256k1 signature so every transaction can be
|
|
6675
|
+
* quantum-safe while remaining compatible with the standard Native auth
|
|
6676
|
+
* path. It is registered as a cosmos.tx.v1beta1.TxExtensionOptionI.
|
|
6677
|
+
*/
|
|
6678
|
+
interface PQCHybridSignature {
|
|
6679
|
+
/** algorithm_id identifies the PQC signature algorithm (e.g. Dilithium-5 = 1). */
|
|
6680
|
+
algorithmId: number;
|
|
6681
|
+
/** pqc_signature is the raw PQC signature (Dilithium-5: 4627 bytes). */
|
|
6682
|
+
pqcSignature: Uint8Array;
|
|
6683
|
+
/**
|
|
6684
|
+
* pqc_public_key optionally carries the signer's PQC public key
|
|
6685
|
+
* (Dilithium-5: 2592 bytes).
|
|
6686
|
+
*/
|
|
6687
|
+
pqcPublicKey: Uint8Array;
|
|
6688
|
+
}
|
|
6689
|
+
declare const PQCHybridSignature: MessageFns$d<PQCHybridSignature>;
|
|
6690
|
+
type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
6691
|
+
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 {} ? {
|
|
6692
|
+
[K in keyof T]?: DeepPartial$d<T[K]>;
|
|
6693
|
+
} : Partial<T>;
|
|
6694
|
+
interface MessageFns$d<T> {
|
|
6695
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
6696
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
6697
|
+
fromJSON(object: any): T;
|
|
6698
|
+
toJSON(message: T): unknown;
|
|
6699
|
+
create(base?: DeepPartial$d<T>): T;
|
|
6700
|
+
fromPartial(object: DeepPartial$d<T>): T;
|
|
6701
|
+
}
|
|
6702
|
+
|
|
6703
|
+
declare const hybrid_PQCHybridSignature: typeof PQCHybridSignature;
|
|
6704
|
+
declare namespace hybrid {
|
|
6705
|
+
export { type DeepPartial$d as DeepPartial, type MessageFns$d as MessageFns, hybrid_PQCHybridSignature as PQCHybridSignature, protobufPackage$d as protobufPackage };
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
declare const protobufPackage$c = "qorechain.abstractaccount.v1";
|
|
6709
|
+
interface ConfigView {
|
|
6710
|
+
enabled: boolean;
|
|
6711
|
+
maxSessionKeys: number;
|
|
6712
|
+
maxSpendingRules: number;
|
|
6713
|
+
defaultSessionTtl: string;
|
|
6714
|
+
}
|
|
6715
|
+
declare const ConfigView: MessageFns$c<ConfigView>;
|
|
6716
|
+
interface AccountView {
|
|
6717
|
+
address: string;
|
|
6718
|
+
contractAddress: string;
|
|
6719
|
+
accountType: string;
|
|
6720
|
+
spendingRulesCount: number;
|
|
6721
|
+
sessionKeysCount: number;
|
|
6722
|
+
createdAt: string;
|
|
6723
|
+
owner: string;
|
|
6724
|
+
}
|
|
6725
|
+
declare const AccountView: MessageFns$c<AccountView>;
|
|
6726
|
+
interface QueryConfigRequest$2 {
|
|
6727
|
+
}
|
|
6728
|
+
declare const QueryConfigRequest$2: MessageFns$c<QueryConfigRequest$2>;
|
|
6729
|
+
interface QueryConfigResponse$2 {
|
|
6730
|
+
config?: ConfigView | undefined;
|
|
6731
|
+
}
|
|
6732
|
+
declare const QueryConfigResponse$2: MessageFns$c<QueryConfigResponse$2>;
|
|
6733
|
+
interface QueryAccountRequest$2 {
|
|
6734
|
+
address: string;
|
|
6735
|
+
}
|
|
6736
|
+
declare const QueryAccountRequest$2: MessageFns$c<QueryAccountRequest$2>;
|
|
6737
|
+
interface QueryAccountResponse$2 {
|
|
6738
|
+
account?: AccountView | undefined;
|
|
6739
|
+
}
|
|
6740
|
+
declare const QueryAccountResponse$2: MessageFns$c<QueryAccountResponse$2>;
|
|
6741
|
+
interface QueryAccountsRequest {
|
|
6742
|
+
}
|
|
6743
|
+
declare const QueryAccountsRequest: MessageFns$c<QueryAccountsRequest>;
|
|
6744
|
+
interface QueryAccountsResponse {
|
|
6745
|
+
accounts: AccountView[];
|
|
6746
|
+
}
|
|
6747
|
+
declare const QueryAccountsResponse: MessageFns$c<QueryAccountsResponse>;
|
|
6748
|
+
/** Query defines the gRPC query service for the abstractaccount module. */
|
|
6749
|
+
type QueryDefinition$c = typeof QueryDefinition$c;
|
|
6750
|
+
declare const QueryDefinition$c: {
|
|
6751
|
+
readonly name: "Query";
|
|
6752
|
+
readonly fullName: "qorechain.abstractaccount.v1.Query";
|
|
6753
|
+
readonly methods: {
|
|
6754
|
+
/** Config returns the module config. */
|
|
6755
|
+
readonly config: {
|
|
6756
|
+
readonly name: "Config";
|
|
6757
|
+
readonly requestType: typeof QueryConfigRequest$2;
|
|
6758
|
+
readonly requestStream: false;
|
|
6759
|
+
readonly responseType: typeof QueryConfigResponse$2;
|
|
6760
|
+
readonly responseStream: false;
|
|
6761
|
+
readonly options: {};
|
|
6762
|
+
};
|
|
6763
|
+
/** Account returns a single abstract account by address. */
|
|
6764
|
+
readonly account: {
|
|
6765
|
+
readonly name: "Account";
|
|
6766
|
+
readonly requestType: typeof QueryAccountRequest$2;
|
|
6767
|
+
readonly requestStream: false;
|
|
6768
|
+
readonly responseType: typeof QueryAccountResponse$2;
|
|
6769
|
+
readonly responseStream: false;
|
|
6770
|
+
readonly options: {};
|
|
6771
|
+
};
|
|
6772
|
+
/** Accounts lists all abstract accounts. */
|
|
6773
|
+
readonly accounts: {
|
|
6774
|
+
readonly name: "Accounts";
|
|
6775
|
+
readonly requestType: typeof QueryAccountsRequest;
|
|
6776
|
+
readonly requestStream: false;
|
|
6777
|
+
readonly responseType: typeof QueryAccountsResponse;
|
|
6778
|
+
readonly responseStream: false;
|
|
6779
|
+
readonly options: {};
|
|
6780
|
+
};
|
|
6781
|
+
};
|
|
6782
|
+
};
|
|
6783
|
+
type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
6784
|
+
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 {} ? {
|
|
6785
|
+
[K in keyof T]?: DeepPartial$c<T[K]>;
|
|
6786
|
+
} : Partial<T>;
|
|
6787
|
+
interface MessageFns$c<T> {
|
|
6788
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
6789
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
6790
|
+
fromJSON(object: any): T;
|
|
6791
|
+
toJSON(message: T): unknown;
|
|
6792
|
+
create(base?: DeepPartial$c<T>): T;
|
|
6793
|
+
fromPartial(object: DeepPartial$c<T>): T;
|
|
6794
|
+
}
|
|
6795
|
+
|
|
6796
|
+
declare const query$c_AccountView: typeof AccountView;
|
|
6797
|
+
declare const query$c_ConfigView: typeof ConfigView;
|
|
6798
|
+
declare const query$c_QueryAccountsRequest: typeof QueryAccountsRequest;
|
|
6799
|
+
declare const query$c_QueryAccountsResponse: typeof QueryAccountsResponse;
|
|
6800
|
+
declare namespace query$c {
|
|
6801
|
+
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 };
|
|
6802
|
+
}
|
|
6803
|
+
|
|
6804
|
+
declare const protobufPackage$b = "qorechain.amm.v1";
|
|
6805
|
+
/**
|
|
6806
|
+
* ParamsView is the query-facing view of the module parameters. Integer amounts
|
|
6807
|
+
* are rendered as decimal strings.
|
|
6808
|
+
*/
|
|
6809
|
+
interface ParamsView$2 {
|
|
6810
|
+
swapFeeBps: number;
|
|
6811
|
+
protocolFeeBps: number;
|
|
6812
|
+
minLiquidity: string;
|
|
6813
|
+
maxPoolsPerCreator: number;
|
|
6814
|
+
lpTokenDecimals: number;
|
|
6815
|
+
poolCreationFee: string;
|
|
6816
|
+
maxSwapImpactBps: number;
|
|
6817
|
+
enabled: boolean;
|
|
6818
|
+
}
|
|
6819
|
+
declare const ParamsView$2: MessageFns$b<ParamsView$2>;
|
|
6820
|
+
/** PoolView is the query-facing view of a pool. */
|
|
6821
|
+
interface PoolView {
|
|
6822
|
+
id: string;
|
|
6823
|
+
poolType: string;
|
|
6824
|
+
creator: string;
|
|
6825
|
+
tokenA: string;
|
|
6826
|
+
tokenB: string;
|
|
6827
|
+
reserveA: string;
|
|
6828
|
+
reserveB: string;
|
|
6829
|
+
lpSupply: string;
|
|
6830
|
+
lpDenom: string;
|
|
6831
|
+
createdAt: string;
|
|
6832
|
+
status: string;
|
|
6833
|
+
weightedAvgPrice: string;
|
|
6834
|
+
amplificationCoefficient: number;
|
|
6835
|
+
}
|
|
6836
|
+
declare const PoolView: MessageFns$b<PoolView>;
|
|
6837
|
+
interface QueryParamsRequest$6 {
|
|
6838
|
+
}
|
|
6839
|
+
declare const QueryParamsRequest$6: MessageFns$b<QueryParamsRequest$6>;
|
|
6840
|
+
interface QueryParamsResponse$6 {
|
|
6841
|
+
params?: ParamsView$2 | undefined;
|
|
6842
|
+
}
|
|
6843
|
+
declare const QueryParamsResponse$6: MessageFns$b<QueryParamsResponse$6>;
|
|
6844
|
+
interface QueryPoolRequest {
|
|
6845
|
+
poolId: string;
|
|
6846
|
+
}
|
|
6847
|
+
declare const QueryPoolRequest: MessageFns$b<QueryPoolRequest>;
|
|
6848
|
+
interface QueryPoolResponse {
|
|
6849
|
+
pool?: PoolView | undefined;
|
|
6850
|
+
}
|
|
6851
|
+
declare const QueryPoolResponse: MessageFns$b<QueryPoolResponse>;
|
|
6852
|
+
interface QueryPoolsRequest {
|
|
6853
|
+
}
|
|
6854
|
+
declare const QueryPoolsRequest: MessageFns$b<QueryPoolsRequest>;
|
|
6855
|
+
interface QueryPoolsResponse {
|
|
6856
|
+
pools: PoolView[];
|
|
6857
|
+
}
|
|
6858
|
+
declare const QueryPoolsResponse: MessageFns$b<QueryPoolsResponse>;
|
|
6859
|
+
interface QueryPoolByDenomsRequest {
|
|
6860
|
+
denomA: string;
|
|
6861
|
+
denomB: string;
|
|
6862
|
+
}
|
|
6863
|
+
declare const QueryPoolByDenomsRequest: MessageFns$b<QueryPoolByDenomsRequest>;
|
|
6864
|
+
interface QueryPoolByDenomsResponse {
|
|
6865
|
+
pool?: PoolView | undefined;
|
|
6866
|
+
}
|
|
6867
|
+
declare const QueryPoolByDenomsResponse: MessageFns$b<QueryPoolByDenomsResponse>;
|
|
6868
|
+
interface QueryLPBalanceRequest {
|
|
6869
|
+
poolId: string;
|
|
6870
|
+
address: string;
|
|
6871
|
+
}
|
|
6872
|
+
declare const QueryLPBalanceRequest: MessageFns$b<QueryLPBalanceRequest>;
|
|
6873
|
+
interface QueryLPBalanceResponse {
|
|
6874
|
+
balance: string;
|
|
6875
|
+
}
|
|
6876
|
+
declare const QueryLPBalanceResponse: MessageFns$b<QueryLPBalanceResponse>;
|
|
6877
|
+
interface QueryQuoteExactInRequest {
|
|
6878
|
+
poolId: string;
|
|
6879
|
+
denomIn: string;
|
|
6880
|
+
amountIn: string;
|
|
6881
|
+
}
|
|
6882
|
+
declare const QueryQuoteExactInRequest: MessageFns$b<QueryQuoteExactInRequest>;
|
|
6883
|
+
interface QueryQuoteExactInResponse {
|
|
6884
|
+
amountOut: string;
|
|
6885
|
+
fee: string;
|
|
6886
|
+
}
|
|
6887
|
+
declare const QueryQuoteExactInResponse: MessageFns$b<QueryQuoteExactInResponse>;
|
|
6888
|
+
interface QueryQuoteExactOutRequest {
|
|
6889
|
+
poolId: string;
|
|
6890
|
+
denomOut: string;
|
|
6891
|
+
amountOut: string;
|
|
6892
|
+
}
|
|
6893
|
+
declare const QueryQuoteExactOutRequest: MessageFns$b<QueryQuoteExactOutRequest>;
|
|
6894
|
+
interface QueryQuoteExactOutResponse {
|
|
6895
|
+
amountIn: string;
|
|
6896
|
+
fee: string;
|
|
6897
|
+
}
|
|
6898
|
+
declare const QueryQuoteExactOutResponse: MessageFns$b<QueryQuoteExactOutResponse>;
|
|
6899
|
+
/** Query defines the gRPC query service for the AMM module. */
|
|
6900
|
+
type QueryDefinition$b = typeof QueryDefinition$b;
|
|
6901
|
+
declare const QueryDefinition$b: {
|
|
6902
|
+
readonly name: "Query";
|
|
6903
|
+
readonly fullName: "qorechain.amm.v1.Query";
|
|
6904
|
+
readonly methods: {
|
|
6905
|
+
/** Params returns the module parameters. */
|
|
6906
|
+
readonly params: {
|
|
6907
|
+
readonly name: "Params";
|
|
6908
|
+
readonly requestType: typeof QueryParamsRequest$6;
|
|
6909
|
+
readonly requestStream: false;
|
|
6910
|
+
readonly responseType: typeof QueryParamsResponse$6;
|
|
6911
|
+
readonly responseStream: false;
|
|
6912
|
+
readonly options: {
|
|
6913
|
+
readonly _unknownFields: {
|
|
6914
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6915
|
+
};
|
|
6916
|
+
};
|
|
6917
|
+
};
|
|
6918
|
+
/** Pool returns a single pool by ID. */
|
|
6919
|
+
readonly pool: {
|
|
6920
|
+
readonly name: "Pool";
|
|
6921
|
+
readonly requestType: typeof QueryPoolRequest;
|
|
6922
|
+
readonly requestStream: false;
|
|
6923
|
+
readonly responseType: typeof QueryPoolResponse;
|
|
6924
|
+
readonly responseStream: false;
|
|
6925
|
+
readonly options: {
|
|
6926
|
+
readonly _unknownFields: {
|
|
6927
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6928
|
+
};
|
|
6929
|
+
};
|
|
6930
|
+
};
|
|
6931
|
+
/** Pools lists all pools. */
|
|
6932
|
+
readonly pools: {
|
|
6933
|
+
readonly name: "Pools";
|
|
6934
|
+
readonly requestType: typeof QueryPoolsRequest;
|
|
6935
|
+
readonly requestStream: false;
|
|
6936
|
+
readonly responseType: typeof QueryPoolsResponse;
|
|
6937
|
+
readonly responseStream: false;
|
|
6938
|
+
readonly options: {
|
|
6939
|
+
readonly _unknownFields: {
|
|
6940
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6941
|
+
};
|
|
6942
|
+
};
|
|
6943
|
+
};
|
|
6944
|
+
/** PoolByDenoms finds a pool by its (denom_a, denom_b) tuple. */
|
|
6945
|
+
readonly poolByDenoms: {
|
|
6946
|
+
readonly name: "PoolByDenoms";
|
|
6947
|
+
readonly requestType: typeof QueryPoolByDenomsRequest;
|
|
6948
|
+
readonly requestStream: false;
|
|
6949
|
+
readonly responseType: typeof QueryPoolByDenomsResponse;
|
|
6950
|
+
readonly responseStream: false;
|
|
6951
|
+
readonly options: {
|
|
6952
|
+
readonly _unknownFields: {
|
|
6953
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6954
|
+
};
|
|
6955
|
+
};
|
|
6956
|
+
};
|
|
6957
|
+
/** LPBalance returns an account's LP balance for a pool. */
|
|
6958
|
+
readonly lPBalance: {
|
|
6959
|
+
readonly name: "LPBalance";
|
|
6960
|
+
readonly requestType: typeof QueryLPBalanceRequest;
|
|
6961
|
+
readonly requestStream: false;
|
|
6962
|
+
readonly responseType: typeof QueryLPBalanceResponse;
|
|
6963
|
+
readonly responseStream: false;
|
|
6964
|
+
readonly options: {
|
|
6965
|
+
readonly _unknownFields: {
|
|
6966
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6967
|
+
};
|
|
6968
|
+
};
|
|
6969
|
+
};
|
|
6970
|
+
/** QuoteExactIn quotes the output for a fixed-input swap. */
|
|
6971
|
+
readonly quoteExactIn: {
|
|
6972
|
+
readonly name: "QuoteExactIn";
|
|
6973
|
+
readonly requestType: typeof QueryQuoteExactInRequest;
|
|
6974
|
+
readonly requestStream: false;
|
|
6975
|
+
readonly responseType: typeof QueryQuoteExactInResponse;
|
|
6976
|
+
readonly responseStream: false;
|
|
6977
|
+
readonly options: {
|
|
6978
|
+
readonly _unknownFields: {
|
|
6979
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6980
|
+
};
|
|
6981
|
+
};
|
|
6982
|
+
};
|
|
6983
|
+
/** QuoteExactOut quotes the input required for a fixed-output swap. */
|
|
6984
|
+
readonly quoteExactOut: {
|
|
6985
|
+
readonly name: "QuoteExactOut";
|
|
6986
|
+
readonly requestType: typeof QueryQuoteExactOutRequest;
|
|
6987
|
+
readonly requestStream: false;
|
|
6988
|
+
readonly responseType: typeof QueryQuoteExactOutResponse;
|
|
6989
|
+
readonly responseStream: false;
|
|
6990
|
+
readonly options: {
|
|
6991
|
+
readonly _unknownFields: {
|
|
6992
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
6993
|
+
};
|
|
6994
|
+
};
|
|
6995
|
+
};
|
|
6996
|
+
};
|
|
6997
|
+
};
|
|
6998
|
+
type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
6999
|
+
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 {} ? {
|
|
7000
|
+
[K in keyof T]?: DeepPartial$b<T[K]>;
|
|
7001
|
+
} : Partial<T>;
|
|
7002
|
+
interface MessageFns$b<T> {
|
|
7003
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
7004
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
7005
|
+
fromJSON(object: any): T;
|
|
7006
|
+
toJSON(message: T): unknown;
|
|
7007
|
+
create(base?: DeepPartial$b<T>): T;
|
|
7008
|
+
fromPartial(object: DeepPartial$b<T>): T;
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
declare const query$b_PoolView: typeof PoolView;
|
|
7012
|
+
declare const query$b_QueryLPBalanceRequest: typeof QueryLPBalanceRequest;
|
|
7013
|
+
declare const query$b_QueryLPBalanceResponse: typeof QueryLPBalanceResponse;
|
|
7014
|
+
declare const query$b_QueryPoolByDenomsRequest: typeof QueryPoolByDenomsRequest;
|
|
7015
|
+
declare const query$b_QueryPoolByDenomsResponse: typeof QueryPoolByDenomsResponse;
|
|
7016
|
+
declare const query$b_QueryPoolRequest: typeof QueryPoolRequest;
|
|
7017
|
+
declare const query$b_QueryPoolResponse: typeof QueryPoolResponse;
|
|
7018
|
+
declare const query$b_QueryPoolsRequest: typeof QueryPoolsRequest;
|
|
7019
|
+
declare const query$b_QueryPoolsResponse: typeof QueryPoolsResponse;
|
|
7020
|
+
declare const query$b_QueryQuoteExactInRequest: typeof QueryQuoteExactInRequest;
|
|
7021
|
+
declare const query$b_QueryQuoteExactInResponse: typeof QueryQuoteExactInResponse;
|
|
7022
|
+
declare const query$b_QueryQuoteExactOutRequest: typeof QueryQuoteExactOutRequest;
|
|
7023
|
+
declare const query$b_QueryQuoteExactOutResponse: typeof QueryQuoteExactOutResponse;
|
|
7024
|
+
declare namespace query$b {
|
|
7025
|
+
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 };
|
|
7026
|
+
}
|
|
7027
|
+
|
|
7028
|
+
declare const protobufPackage$a = "qorechain.bridge.v1";
|
|
6065
7029
|
interface BridgeConfigView {
|
|
6066
7030
|
minValidators: number;
|
|
6067
7031
|
attestationThreshold: number;
|
|
@@ -6069,7 +7033,7 @@ interface BridgeConfigView {
|
|
|
6069
7033
|
largeTransferThreshold: string;
|
|
6070
7034
|
enabled: boolean;
|
|
6071
7035
|
}
|
|
6072
|
-
declare const BridgeConfigView: MessageFns$
|
|
7036
|
+
declare const BridgeConfigView: MessageFns$a<BridgeConfigView>;
|
|
6073
7037
|
interface ChainConfigView {
|
|
6074
7038
|
chainId: string;
|
|
6075
7039
|
name: string;
|
|
@@ -6081,7 +7045,7 @@ interface ChainConfigView {
|
|
|
6081
7045
|
ibcChannelId: string;
|
|
6082
7046
|
ibcPortId: string;
|
|
6083
7047
|
}
|
|
6084
|
-
declare const ChainConfigView: MessageFns$
|
|
7048
|
+
declare const ChainConfigView: MessageFns$a<ChainConfigView>;
|
|
6085
7049
|
interface BridgeValidatorView {
|
|
6086
7050
|
address: string;
|
|
6087
7051
|
supportedChains: string[];
|
|
@@ -6089,7 +7053,7 @@ interface BridgeValidatorView {
|
|
|
6089
7053
|
active: boolean;
|
|
6090
7054
|
registeredAt: string;
|
|
6091
7055
|
}
|
|
6092
|
-
declare const BridgeValidatorView: MessageFns$
|
|
7056
|
+
declare const BridgeValidatorView: MessageFns$a<BridgeValidatorView>;
|
|
6093
7057
|
interface BridgeOperationView {
|
|
6094
7058
|
id: string;
|
|
6095
7059
|
type: string;
|
|
@@ -6102,62 +7066,62 @@ interface BridgeOperationView {
|
|
|
6102
7066
|
sourceTxHash: string;
|
|
6103
7067
|
status: string;
|
|
6104
7068
|
}
|
|
6105
|
-
declare const BridgeOperationView: MessageFns$
|
|
7069
|
+
declare const BridgeOperationView: MessageFns$a<BridgeOperationView>;
|
|
6106
7070
|
interface QueryConfigRequest$1 {
|
|
6107
7071
|
}
|
|
6108
|
-
declare const QueryConfigRequest$1: MessageFns$
|
|
7072
|
+
declare const QueryConfigRequest$1: MessageFns$a<QueryConfigRequest$1>;
|
|
6109
7073
|
interface QueryConfigResponse$1 {
|
|
6110
7074
|
config?: BridgeConfigView | undefined;
|
|
6111
7075
|
}
|
|
6112
|
-
declare const QueryConfigResponse$1: MessageFns$
|
|
7076
|
+
declare const QueryConfigResponse$1: MessageFns$a<QueryConfigResponse$1>;
|
|
6113
7077
|
interface QueryChainConfigRequest {
|
|
6114
7078
|
chainId: string;
|
|
6115
7079
|
}
|
|
6116
|
-
declare const QueryChainConfigRequest: MessageFns$
|
|
7080
|
+
declare const QueryChainConfigRequest: MessageFns$a<QueryChainConfigRequest>;
|
|
6117
7081
|
interface QueryChainConfigResponse {
|
|
6118
7082
|
chain?: ChainConfigView | undefined;
|
|
6119
7083
|
}
|
|
6120
|
-
declare const QueryChainConfigResponse: MessageFns$
|
|
7084
|
+
declare const QueryChainConfigResponse: MessageFns$a<QueryChainConfigResponse>;
|
|
6121
7085
|
interface QueryChainConfigsRequest {
|
|
6122
7086
|
}
|
|
6123
|
-
declare const QueryChainConfigsRequest: MessageFns$
|
|
7087
|
+
declare const QueryChainConfigsRequest: MessageFns$a<QueryChainConfigsRequest>;
|
|
6124
7088
|
interface QueryChainConfigsResponse {
|
|
6125
7089
|
chains: ChainConfigView[];
|
|
6126
7090
|
}
|
|
6127
|
-
declare const QueryChainConfigsResponse: MessageFns$
|
|
7091
|
+
declare const QueryChainConfigsResponse: MessageFns$a<QueryChainConfigsResponse>;
|
|
6128
7092
|
interface QueryValidatorRequest {
|
|
6129
7093
|
address: string;
|
|
6130
7094
|
}
|
|
6131
|
-
declare const QueryValidatorRequest: MessageFns$
|
|
7095
|
+
declare const QueryValidatorRequest: MessageFns$a<QueryValidatorRequest>;
|
|
6132
7096
|
interface QueryValidatorResponse {
|
|
6133
7097
|
validator?: BridgeValidatorView | undefined;
|
|
6134
7098
|
}
|
|
6135
|
-
declare const QueryValidatorResponse: MessageFns$
|
|
7099
|
+
declare const QueryValidatorResponse: MessageFns$a<QueryValidatorResponse>;
|
|
6136
7100
|
interface QueryValidatorsRequest {
|
|
6137
7101
|
}
|
|
6138
|
-
declare const QueryValidatorsRequest: MessageFns$
|
|
7102
|
+
declare const QueryValidatorsRequest: MessageFns$a<QueryValidatorsRequest>;
|
|
6139
7103
|
interface QueryValidatorsResponse {
|
|
6140
7104
|
validators: BridgeValidatorView[];
|
|
6141
7105
|
}
|
|
6142
|
-
declare const QueryValidatorsResponse: MessageFns$
|
|
7106
|
+
declare const QueryValidatorsResponse: MessageFns$a<QueryValidatorsResponse>;
|
|
6143
7107
|
interface QueryOperationRequest {
|
|
6144
7108
|
id: string;
|
|
6145
7109
|
}
|
|
6146
|
-
declare const QueryOperationRequest: MessageFns$
|
|
7110
|
+
declare const QueryOperationRequest: MessageFns$a<QueryOperationRequest>;
|
|
6147
7111
|
interface QueryOperationResponse {
|
|
6148
7112
|
operation?: BridgeOperationView | undefined;
|
|
6149
7113
|
}
|
|
6150
|
-
declare const QueryOperationResponse: MessageFns$
|
|
7114
|
+
declare const QueryOperationResponse: MessageFns$a<QueryOperationResponse>;
|
|
6151
7115
|
interface QueryOperationsRequest {
|
|
6152
7116
|
}
|
|
6153
|
-
declare const QueryOperationsRequest: MessageFns$
|
|
7117
|
+
declare const QueryOperationsRequest: MessageFns$a<QueryOperationsRequest>;
|
|
6154
7118
|
interface QueryOperationsResponse {
|
|
6155
7119
|
operations: BridgeOperationView[];
|
|
6156
7120
|
}
|
|
6157
|
-
declare const QueryOperationsResponse: MessageFns$
|
|
7121
|
+
declare const QueryOperationsResponse: MessageFns$a<QueryOperationsResponse>;
|
|
6158
7122
|
/** Query defines the gRPC query service for the bridge module. */
|
|
6159
|
-
type QueryDefinition$
|
|
6160
|
-
declare const QueryDefinition$
|
|
7123
|
+
type QueryDefinition$a = typeof QueryDefinition$a;
|
|
7124
|
+
declare const QueryDefinition$a: {
|
|
6161
7125
|
readonly name: "Query";
|
|
6162
7126
|
readonly fullName: "qorechain.bridge.v1.Query";
|
|
6163
7127
|
readonly methods: {
|
|
@@ -6254,40 +7218,40 @@ declare const QueryDefinition$9: {
|
|
|
6254
7218
|
};
|
|
6255
7219
|
};
|
|
6256
7220
|
};
|
|
6257
|
-
type Builtin$
|
|
6258
|
-
type DeepPartial$
|
|
6259
|
-
[K in keyof T]?: DeepPartial$
|
|
7221
|
+
type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
7222
|
+
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 {} ? {
|
|
7223
|
+
[K in keyof T]?: DeepPartial$a<T[K]>;
|
|
6260
7224
|
} : Partial<T>;
|
|
6261
|
-
interface MessageFns$
|
|
7225
|
+
interface MessageFns$a<T> {
|
|
6262
7226
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
6263
7227
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
6264
7228
|
fromJSON(object: any): T;
|
|
6265
7229
|
toJSON(message: T): unknown;
|
|
6266
|
-
create(base?: DeepPartial$
|
|
6267
|
-
fromPartial(object: DeepPartial$
|
|
7230
|
+
create(base?: DeepPartial$a<T>): T;
|
|
7231
|
+
fromPartial(object: DeepPartial$a<T>): T;
|
|
6268
7232
|
}
|
|
6269
7233
|
|
|
6270
|
-
declare const query$
|
|
6271
|
-
declare const query$
|
|
6272
|
-
declare const query$
|
|
6273
|
-
declare const query$
|
|
6274
|
-
declare const query$
|
|
6275
|
-
declare const query$
|
|
6276
|
-
declare const query$
|
|
6277
|
-
declare const query$
|
|
6278
|
-
declare const query$
|
|
6279
|
-
declare const query$
|
|
6280
|
-
declare const query$
|
|
6281
|
-
declare const query$
|
|
6282
|
-
declare const query$
|
|
6283
|
-
declare const query$
|
|
6284
|
-
declare const query$
|
|
6285
|
-
declare const query$
|
|
6286
|
-
declare namespace query$
|
|
6287
|
-
export { query$
|
|
7234
|
+
declare const query$a_BridgeConfigView: typeof BridgeConfigView;
|
|
7235
|
+
declare const query$a_BridgeOperationView: typeof BridgeOperationView;
|
|
7236
|
+
declare const query$a_BridgeValidatorView: typeof BridgeValidatorView;
|
|
7237
|
+
declare const query$a_ChainConfigView: typeof ChainConfigView;
|
|
7238
|
+
declare const query$a_QueryChainConfigRequest: typeof QueryChainConfigRequest;
|
|
7239
|
+
declare const query$a_QueryChainConfigResponse: typeof QueryChainConfigResponse;
|
|
7240
|
+
declare const query$a_QueryChainConfigsRequest: typeof QueryChainConfigsRequest;
|
|
7241
|
+
declare const query$a_QueryChainConfigsResponse: typeof QueryChainConfigsResponse;
|
|
7242
|
+
declare const query$a_QueryOperationRequest: typeof QueryOperationRequest;
|
|
7243
|
+
declare const query$a_QueryOperationResponse: typeof QueryOperationResponse;
|
|
7244
|
+
declare const query$a_QueryOperationsRequest: typeof QueryOperationsRequest;
|
|
7245
|
+
declare const query$a_QueryOperationsResponse: typeof QueryOperationsResponse;
|
|
7246
|
+
declare const query$a_QueryValidatorRequest: typeof QueryValidatorRequest;
|
|
7247
|
+
declare const query$a_QueryValidatorResponse: typeof QueryValidatorResponse;
|
|
7248
|
+
declare const query$a_QueryValidatorsRequest: typeof QueryValidatorsRequest;
|
|
7249
|
+
declare const query$a_QueryValidatorsResponse: typeof QueryValidatorsResponse;
|
|
7250
|
+
declare namespace query$a {
|
|
7251
|
+
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
7252
|
}
|
|
6289
7253
|
|
|
6290
|
-
declare const protobufPackage$
|
|
7254
|
+
declare const protobufPackage$9 = "qorechain.crossvm.v1";
|
|
6291
7255
|
interface CrossVMMessageView {
|
|
6292
7256
|
id: string;
|
|
6293
7257
|
sourceVm: string;
|
|
@@ -6301,37 +7265,37 @@ interface CrossVMMessageView {
|
|
|
6301
7265
|
executedHeight: string;
|
|
6302
7266
|
error: string;
|
|
6303
7267
|
}
|
|
6304
|
-
declare const CrossVMMessageView: MessageFns$
|
|
7268
|
+
declare const CrossVMMessageView: MessageFns$9<CrossVMMessageView>;
|
|
6305
7269
|
interface QueryParamsRequest$5 {
|
|
6306
7270
|
}
|
|
6307
|
-
declare const QueryParamsRequest$5: MessageFns$
|
|
7271
|
+
declare const QueryParamsRequest$5: MessageFns$9<QueryParamsRequest$5>;
|
|
6308
7272
|
interface QueryParamsResponse$5 {
|
|
6309
7273
|
maxMessageSize: string;
|
|
6310
7274
|
maxQueueSize: number;
|
|
6311
7275
|
queueTimeoutBlocks: string;
|
|
6312
7276
|
enabled: boolean;
|
|
6313
7277
|
}
|
|
6314
|
-
declare const QueryParamsResponse$5: MessageFns$
|
|
7278
|
+
declare const QueryParamsResponse$5: MessageFns$9<QueryParamsResponse$5>;
|
|
6315
7279
|
interface QueryPendingMessagesRequest {
|
|
6316
7280
|
}
|
|
6317
|
-
declare const QueryPendingMessagesRequest: MessageFns$
|
|
7281
|
+
declare const QueryPendingMessagesRequest: MessageFns$9<QueryPendingMessagesRequest>;
|
|
6318
7282
|
interface QueryPendingMessagesResponse {
|
|
6319
7283
|
messages: CrossVMMessageView[];
|
|
6320
7284
|
count: number;
|
|
6321
7285
|
}
|
|
6322
|
-
declare const QueryPendingMessagesResponse: MessageFns$
|
|
7286
|
+
declare const QueryPendingMessagesResponse: MessageFns$9<QueryPendingMessagesResponse>;
|
|
6323
7287
|
interface QueryMessageRequest {
|
|
6324
7288
|
id: string;
|
|
6325
7289
|
}
|
|
6326
|
-
declare const QueryMessageRequest: MessageFns$
|
|
7290
|
+
declare const QueryMessageRequest: MessageFns$9<QueryMessageRequest>;
|
|
6327
7291
|
interface QueryMessageResponse {
|
|
6328
7292
|
message?: CrossVMMessageView | undefined;
|
|
6329
7293
|
found: boolean;
|
|
6330
7294
|
}
|
|
6331
|
-
declare const QueryMessageResponse: MessageFns$
|
|
7295
|
+
declare const QueryMessageResponse: MessageFns$9<QueryMessageResponse>;
|
|
6332
7296
|
/** Query defines the crossvm module's gRPC query service. */
|
|
6333
|
-
type QueryDefinition$
|
|
6334
|
-
declare const QueryDefinition$
|
|
7297
|
+
type QueryDefinition$9 = typeof QueryDefinition$9;
|
|
7298
|
+
declare const QueryDefinition$9: {
|
|
6335
7299
|
readonly name: "Query";
|
|
6336
7300
|
readonly fullName: "qorechain.crossvm.v1.Query";
|
|
6337
7301
|
readonly methods: {
|
|
@@ -6364,6 +7328,114 @@ declare const QueryDefinition$8: {
|
|
|
6364
7328
|
};
|
|
6365
7329
|
};
|
|
6366
7330
|
};
|
|
7331
|
+
type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
7332
|
+
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 {} ? {
|
|
7333
|
+
[K in keyof T]?: DeepPartial$9<T[K]>;
|
|
7334
|
+
} : Partial<T>;
|
|
7335
|
+
interface MessageFns$9<T> {
|
|
7336
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
7337
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
7338
|
+
fromJSON(object: any): T;
|
|
7339
|
+
toJSON(message: T): unknown;
|
|
7340
|
+
create(base?: DeepPartial$9<T>): T;
|
|
7341
|
+
fromPartial(object: DeepPartial$9<T>): T;
|
|
7342
|
+
}
|
|
7343
|
+
|
|
7344
|
+
declare const query$9_CrossVMMessageView: typeof CrossVMMessageView;
|
|
7345
|
+
declare const query$9_QueryMessageRequest: typeof QueryMessageRequest;
|
|
7346
|
+
declare const query$9_QueryMessageResponse: typeof QueryMessageResponse;
|
|
7347
|
+
declare const query$9_QueryPendingMessagesRequest: typeof QueryPendingMessagesRequest;
|
|
7348
|
+
declare const query$9_QueryPendingMessagesResponse: typeof QueryPendingMessagesResponse;
|
|
7349
|
+
declare namespace query$9 {
|
|
7350
|
+
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 };
|
|
7351
|
+
}
|
|
7352
|
+
|
|
7353
|
+
declare const protobufPackage$8 = "qorechain.license.v1";
|
|
7354
|
+
/** LicenseView is the query-facing view of a license grant. */
|
|
7355
|
+
interface LicenseView {
|
|
7356
|
+
grantee: string;
|
|
7357
|
+
featureId: string;
|
|
7358
|
+
expiresAt: string;
|
|
7359
|
+
grantedAt: string;
|
|
7360
|
+
grantedBy: string;
|
|
7361
|
+
suspended: boolean;
|
|
7362
|
+
metadata: string;
|
|
7363
|
+
}
|
|
7364
|
+
declare const LicenseView: MessageFns$8<LicenseView>;
|
|
7365
|
+
interface QueryCheckRequest {
|
|
7366
|
+
grantee: string;
|
|
7367
|
+
featureId: string;
|
|
7368
|
+
}
|
|
7369
|
+
declare const QueryCheckRequest: MessageFns$8<QueryCheckRequest>;
|
|
7370
|
+
interface QueryCheckResponse {
|
|
7371
|
+
license?: LicenseView | undefined;
|
|
7372
|
+
/** active is true when the grant exists and is not suspended. */
|
|
7373
|
+
active: boolean;
|
|
7374
|
+
}
|
|
7375
|
+
declare const QueryCheckResponse: MessageFns$8<QueryCheckResponse>;
|
|
7376
|
+
interface QueryHoldersRequest {
|
|
7377
|
+
featureId: string;
|
|
7378
|
+
}
|
|
7379
|
+
declare const QueryHoldersRequest: MessageFns$8<QueryHoldersRequest>;
|
|
7380
|
+
interface QueryHoldersResponse {
|
|
7381
|
+
licenses: LicenseView[];
|
|
7382
|
+
}
|
|
7383
|
+
declare const QueryHoldersResponse: MessageFns$8<QueryHoldersResponse>;
|
|
7384
|
+
interface QueryListRequest {
|
|
7385
|
+
grantee: string;
|
|
7386
|
+
}
|
|
7387
|
+
declare const QueryListRequest: MessageFns$8<QueryListRequest>;
|
|
7388
|
+
interface QueryListResponse {
|
|
7389
|
+
licenses: LicenseView[];
|
|
7390
|
+
}
|
|
7391
|
+
declare const QueryListResponse: MessageFns$8<QueryListResponse>;
|
|
7392
|
+
/** Query defines the gRPC query service for the license module. */
|
|
7393
|
+
type QueryDefinition$8 = typeof QueryDefinition$8;
|
|
7394
|
+
declare const QueryDefinition$8: {
|
|
7395
|
+
readonly name: "Query";
|
|
7396
|
+
readonly fullName: "qorechain.license.v1.Query";
|
|
7397
|
+
readonly methods: {
|
|
7398
|
+
/** Check returns a single license grant for (grantee, feature_id). */
|
|
7399
|
+
readonly check: {
|
|
7400
|
+
readonly name: "Check";
|
|
7401
|
+
readonly requestType: typeof QueryCheckRequest;
|
|
7402
|
+
readonly requestStream: false;
|
|
7403
|
+
readonly responseType: typeof QueryCheckResponse;
|
|
7404
|
+
readonly responseStream: false;
|
|
7405
|
+
readonly options: {
|
|
7406
|
+
readonly _unknownFields: {
|
|
7407
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7408
|
+
};
|
|
7409
|
+
};
|
|
7410
|
+
};
|
|
7411
|
+
/** Holders lists every grantee holding a given feature license. */
|
|
7412
|
+
readonly holders: {
|
|
7413
|
+
readonly name: "Holders";
|
|
7414
|
+
readonly requestType: typeof QueryHoldersRequest;
|
|
7415
|
+
readonly requestStream: false;
|
|
7416
|
+
readonly responseType: typeof QueryHoldersResponse;
|
|
7417
|
+
readonly responseStream: false;
|
|
7418
|
+
readonly options: {
|
|
7419
|
+
readonly _unknownFields: {
|
|
7420
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7421
|
+
};
|
|
7422
|
+
};
|
|
7423
|
+
};
|
|
7424
|
+
/** List returns every license held by a grantee. */
|
|
7425
|
+
readonly list: {
|
|
7426
|
+
readonly name: "List";
|
|
7427
|
+
readonly requestType: typeof QueryListRequest;
|
|
7428
|
+
readonly requestStream: false;
|
|
7429
|
+
readonly responseType: typeof QueryListResponse;
|
|
7430
|
+
readonly responseStream: false;
|
|
7431
|
+
readonly options: {
|
|
7432
|
+
readonly _unknownFields: {
|
|
7433
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7434
|
+
};
|
|
7435
|
+
};
|
|
7436
|
+
};
|
|
7437
|
+
};
|
|
7438
|
+
};
|
|
6367
7439
|
type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
6368
7440
|
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
7441
|
[K in keyof T]?: DeepPartial$8<T[K]>;
|
|
@@ -6377,13 +7449,15 @@ interface MessageFns$8<T> {
|
|
|
6377
7449
|
fromPartial(object: DeepPartial$8<T>): T;
|
|
6378
7450
|
}
|
|
6379
7451
|
|
|
6380
|
-
declare const query$
|
|
6381
|
-
declare const query$
|
|
6382
|
-
declare const query$
|
|
6383
|
-
declare const query$
|
|
6384
|
-
declare const query$
|
|
7452
|
+
declare const query$8_LicenseView: typeof LicenseView;
|
|
7453
|
+
declare const query$8_QueryCheckRequest: typeof QueryCheckRequest;
|
|
7454
|
+
declare const query$8_QueryCheckResponse: typeof QueryCheckResponse;
|
|
7455
|
+
declare const query$8_QueryHoldersRequest: typeof QueryHoldersRequest;
|
|
7456
|
+
declare const query$8_QueryHoldersResponse: typeof QueryHoldersResponse;
|
|
7457
|
+
declare const query$8_QueryListRequest: typeof QueryListRequest;
|
|
7458
|
+
declare const query$8_QueryListResponse: typeof QueryListResponse;
|
|
6385
7459
|
declare namespace query$8 {
|
|
6386
|
-
export {
|
|
7460
|
+
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
7461
|
}
|
|
6388
7462
|
|
|
6389
7463
|
declare const protobufPackage$7 = "qorechain.lightnode.v1";
|
|
@@ -6463,7 +7537,11 @@ declare const QueryDefinition$7: {
|
|
|
6463
7537
|
readonly requestStream: false;
|
|
6464
7538
|
readonly responseType: typeof QueryLightNodeResponse;
|
|
6465
7539
|
readonly responseStream: false;
|
|
6466
|
-
readonly options: {
|
|
7540
|
+
readonly options: {
|
|
7541
|
+
readonly _unknownFields: {
|
|
7542
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7543
|
+
};
|
|
7544
|
+
};
|
|
6467
7545
|
};
|
|
6468
7546
|
/** LightNodes lists all registered light nodes. */
|
|
6469
7547
|
readonly lightNodes: {
|
|
@@ -6472,7 +7550,11 @@ declare const QueryDefinition$7: {
|
|
|
6472
7550
|
readonly requestStream: false;
|
|
6473
7551
|
readonly responseType: typeof QueryLightNodesResponse;
|
|
6474
7552
|
readonly responseStream: false;
|
|
6475
|
-
readonly options: {
|
|
7553
|
+
readonly options: {
|
|
7554
|
+
readonly _unknownFields: {
|
|
7555
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7556
|
+
};
|
|
7557
|
+
};
|
|
6476
7558
|
};
|
|
6477
7559
|
/** Params returns the lightnode module parameters. */
|
|
6478
7560
|
readonly params: {
|
|
@@ -6481,7 +7563,11 @@ declare const QueryDefinition$7: {
|
|
|
6481
7563
|
readonly requestStream: false;
|
|
6482
7564
|
readonly responseType: typeof QueryParamsResponse$4;
|
|
6483
7565
|
readonly responseStream: false;
|
|
6484
|
-
readonly options: {
|
|
7566
|
+
readonly options: {
|
|
7567
|
+
readonly _unknownFields: {
|
|
7568
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7569
|
+
};
|
|
7570
|
+
};
|
|
6485
7571
|
};
|
|
6486
7572
|
/** Rewards returns an operator's accumulated (claimable) rewards. */
|
|
6487
7573
|
readonly rewards: {
|
|
@@ -6490,7 +7576,11 @@ declare const QueryDefinition$7: {
|
|
|
6490
7576
|
readonly requestStream: false;
|
|
6491
7577
|
readonly responseType: typeof QueryRewardsResponse;
|
|
6492
7578
|
readonly responseStream: false;
|
|
6493
|
-
readonly options: {
|
|
7579
|
+
readonly options: {
|
|
7580
|
+
readonly _unknownFields: {
|
|
7581
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7582
|
+
};
|
|
7583
|
+
};
|
|
6494
7584
|
};
|
|
6495
7585
|
/** Stats returns module-level light node statistics. */
|
|
6496
7586
|
readonly stats: {
|
|
@@ -6499,7 +7589,11 @@ declare const QueryDefinition$7: {
|
|
|
6499
7589
|
readonly requestStream: false;
|
|
6500
7590
|
readonly responseType: typeof QueryStatsResponse;
|
|
6501
7591
|
readonly responseStream: false;
|
|
6502
|
-
readonly options: {
|
|
7592
|
+
readonly options: {
|
|
7593
|
+
readonly _unknownFields: {
|
|
7594
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7595
|
+
};
|
|
7596
|
+
};
|
|
6503
7597
|
};
|
|
6504
7598
|
};
|
|
6505
7599
|
};
|
|
@@ -6587,6 +7681,42 @@ interface QueryLayersResponse {
|
|
|
6587
7681
|
layers: LayerView[];
|
|
6588
7682
|
}
|
|
6589
7683
|
declare const QueryLayersResponse: MessageFns$6<QueryLayersResponse>;
|
|
7684
|
+
/**
|
|
7685
|
+
* StateAnchorView is the queryable view of a subsidiary-layer state anchor
|
|
7686
|
+
* committed to the Main Chain. The PQC (Dilithium-5) signature covers the
|
|
7687
|
+
* canonical message: layer_id || layer_height(8-byte big-endian) ||
|
|
7688
|
+
* state_root || validator_set_hash, signed by the layer creator's registered
|
|
7689
|
+
* post-quantum key. This lets clients verify settlement anchors offline.
|
|
7690
|
+
*/
|
|
7691
|
+
interface StateAnchorView {
|
|
7692
|
+
layerId: string;
|
|
7693
|
+
layerHeight: string;
|
|
7694
|
+
stateRoot: Uint8Array;
|
|
7695
|
+
validatorSetHash: Uint8Array;
|
|
7696
|
+
mainChainHeight: string;
|
|
7697
|
+
/** unix seconds */
|
|
7698
|
+
anchoredAt: string;
|
|
7699
|
+
pqcAggregateSignature: Uint8Array;
|
|
7700
|
+
transactionCount: string;
|
|
7701
|
+
compressedStateProof: Uint8Array;
|
|
7702
|
+
}
|
|
7703
|
+
declare const StateAnchorView: MessageFns$6<StateAnchorView>;
|
|
7704
|
+
interface QueryAnchorRequest {
|
|
7705
|
+
layerId: string;
|
|
7706
|
+
}
|
|
7707
|
+
declare const QueryAnchorRequest: MessageFns$6<QueryAnchorRequest>;
|
|
7708
|
+
interface QueryAnchorResponse {
|
|
7709
|
+
anchor?: StateAnchorView | undefined;
|
|
7710
|
+
}
|
|
7711
|
+
declare const QueryAnchorResponse: MessageFns$6<QueryAnchorResponse>;
|
|
7712
|
+
interface QueryAnchorsRequest {
|
|
7713
|
+
layerId: string;
|
|
7714
|
+
}
|
|
7715
|
+
declare const QueryAnchorsRequest: MessageFns$6<QueryAnchorsRequest>;
|
|
7716
|
+
interface QueryAnchorsResponse {
|
|
7717
|
+
anchors: StateAnchorView[];
|
|
7718
|
+
}
|
|
7719
|
+
declare const QueryAnchorsResponse: MessageFns$6<QueryAnchorsResponse>;
|
|
6590
7720
|
interface QueryRoutingStatsRequest {
|
|
6591
7721
|
}
|
|
6592
7722
|
declare const QueryRoutingStatsRequest: MessageFns$6<QueryRoutingStatsRequest>;
|
|
@@ -6607,7 +7737,11 @@ declare const QueryDefinition$6: {
|
|
|
6607
7737
|
readonly requestStream: false;
|
|
6608
7738
|
readonly responseType: typeof QueryParamsResponse$3;
|
|
6609
7739
|
readonly responseStream: false;
|
|
6610
|
-
readonly options: {
|
|
7740
|
+
readonly options: {
|
|
7741
|
+
readonly _unknownFields: {
|
|
7742
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7743
|
+
};
|
|
7744
|
+
};
|
|
6611
7745
|
};
|
|
6612
7746
|
/** Layer returns a single layer config by ID. */
|
|
6613
7747
|
readonly layer: {
|
|
@@ -6616,7 +7750,11 @@ declare const QueryDefinition$6: {
|
|
|
6616
7750
|
readonly requestStream: false;
|
|
6617
7751
|
readonly responseType: typeof QueryLayerResponse;
|
|
6618
7752
|
readonly responseStream: false;
|
|
6619
|
-
readonly options: {
|
|
7753
|
+
readonly options: {
|
|
7754
|
+
readonly _unknownFields: {
|
|
7755
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7756
|
+
};
|
|
7757
|
+
};
|
|
6620
7758
|
};
|
|
6621
7759
|
/** Layers lists all layers. */
|
|
6622
7760
|
readonly layers: {
|
|
@@ -6625,7 +7763,37 @@ declare const QueryDefinition$6: {
|
|
|
6625
7763
|
readonly requestStream: false;
|
|
6626
7764
|
readonly responseType: typeof QueryLayersResponse;
|
|
6627
7765
|
readonly responseStream: false;
|
|
6628
|
-
readonly options: {
|
|
7766
|
+
readonly options: {
|
|
7767
|
+
readonly _unknownFields: {
|
|
7768
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7769
|
+
};
|
|
7770
|
+
};
|
|
7771
|
+
};
|
|
7772
|
+
/** Anchor returns the latest state anchor for a layer. */
|
|
7773
|
+
readonly anchor: {
|
|
7774
|
+
readonly name: "Anchor";
|
|
7775
|
+
readonly requestType: typeof QueryAnchorRequest;
|
|
7776
|
+
readonly requestStream: false;
|
|
7777
|
+
readonly responseType: typeof QueryAnchorResponse;
|
|
7778
|
+
readonly responseStream: false;
|
|
7779
|
+
readonly options: {
|
|
7780
|
+
readonly _unknownFields: {
|
|
7781
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7782
|
+
};
|
|
7783
|
+
};
|
|
7784
|
+
};
|
|
7785
|
+
/** Anchors returns all state anchors for a layer (newest first). */
|
|
7786
|
+
readonly anchors: {
|
|
7787
|
+
readonly name: "Anchors";
|
|
7788
|
+
readonly requestType: typeof QueryAnchorsRequest;
|
|
7789
|
+
readonly requestStream: false;
|
|
7790
|
+
readonly responseType: typeof QueryAnchorsResponse;
|
|
7791
|
+
readonly responseStream: false;
|
|
7792
|
+
readonly options: {
|
|
7793
|
+
readonly _unknownFields: {
|
|
7794
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7795
|
+
};
|
|
7796
|
+
};
|
|
6629
7797
|
};
|
|
6630
7798
|
/** RoutingStats returns the cross-layer routing statistics. */
|
|
6631
7799
|
readonly routingStats: {
|
|
@@ -6634,7 +7802,11 @@ declare const QueryDefinition$6: {
|
|
|
6634
7802
|
readonly requestStream: false;
|
|
6635
7803
|
readonly responseType: typeof QueryRoutingStatsView;
|
|
6636
7804
|
readonly responseStream: false;
|
|
6637
|
-
readonly options: {
|
|
7805
|
+
readonly options: {
|
|
7806
|
+
readonly _unknownFields: {
|
|
7807
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7808
|
+
};
|
|
7809
|
+
};
|
|
6638
7810
|
};
|
|
6639
7811
|
};
|
|
6640
7812
|
};
|
|
@@ -6652,6 +7824,10 @@ interface MessageFns$6<T> {
|
|
|
6652
7824
|
}
|
|
6653
7825
|
|
|
6654
7826
|
declare const query$6_LayerView: typeof LayerView;
|
|
7827
|
+
declare const query$6_QueryAnchorRequest: typeof QueryAnchorRequest;
|
|
7828
|
+
declare const query$6_QueryAnchorResponse: typeof QueryAnchorResponse;
|
|
7829
|
+
declare const query$6_QueryAnchorsRequest: typeof QueryAnchorsRequest;
|
|
7830
|
+
declare const query$6_QueryAnchorsResponse: typeof QueryAnchorsResponse;
|
|
6655
7831
|
declare const query$6_QueryLayerRequest: typeof QueryLayerRequest;
|
|
6656
7832
|
declare const query$6_QueryLayerResponse: typeof QueryLayerResponse;
|
|
6657
7833
|
declare const query$6_QueryLayersRequest: typeof QueryLayersRequest;
|
|
@@ -6659,8 +7835,9 @@ declare const query$6_QueryLayersResponse: typeof QueryLayersResponse;
|
|
|
6659
7835
|
declare const query$6_QueryRoutingStatsRequest: typeof QueryRoutingStatsRequest;
|
|
6660
7836
|
declare const query$6_QueryRoutingStatsView: typeof QueryRoutingStatsView;
|
|
6661
7837
|
declare const query$6_RoutingStatsView: typeof RoutingStatsView;
|
|
7838
|
+
declare const query$6_StateAnchorView: typeof StateAnchorView;
|
|
6662
7839
|
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 };
|
|
7840
|
+
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
7841
|
}
|
|
6665
7842
|
|
|
6666
7843
|
declare const protobufPackage$5 = "qorechain.pqc.v1";
|
|
@@ -6701,7 +7878,11 @@ declare const QueryDefinition$5: {
|
|
|
6701
7878
|
readonly requestStream: false;
|
|
6702
7879
|
readonly responseType: typeof QueryAccountResponse$1;
|
|
6703
7880
|
readonly responseStream: false;
|
|
6704
|
-
readonly options: {
|
|
7881
|
+
readonly options: {
|
|
7882
|
+
readonly _unknownFields: {
|
|
7883
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
7884
|
+
};
|
|
7885
|
+
};
|
|
6705
7886
|
};
|
|
6706
7887
|
};
|
|
6707
7888
|
};
|
|
@@ -7273,11 +8454,11 @@ declare namespace query {
|
|
|
7273
8454
|
*/
|
|
7274
8455
|
|
|
7275
8456
|
declare namespace index {
|
|
7276
|
-
export { tx$2 as abstractaccount, tx$
|
|
8457
|
+
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
8458
|
}
|
|
7278
8459
|
|
|
7279
8460
|
/**
|
|
7280
|
-
*
|
|
8461
|
+
* Native browser-wallet integration for QoreChain (Keplr and Leap).
|
|
7281
8462
|
*
|
|
7282
8463
|
* Keplr and Leap inject the same API shape under `window.keplr` / `window.leap`,
|
|
7283
8464
|
* so this module targets both through a light structural interface — it does not
|
|
@@ -7293,11 +8474,11 @@ declare namespace index {
|
|
|
7293
8474
|
* const { signer } = await getCosmosWallet({ wallet: "keplr", network });
|
|
7294
8475
|
* const tx = await TxClient.connect({ rpcEndpoint: network.endpoints.rpc, signer });
|
|
7295
8476
|
* // `signer` plugs straight into TxClient and can carry any registered message
|
|
7296
|
-
* // (standard
|
|
8477
|
+
* // (standard Native + QoreChain custom) via DIRECT signing.
|
|
7297
8478
|
* ```
|
|
7298
8479
|
*/
|
|
7299
8480
|
|
|
7300
|
-
/** Supported
|
|
8481
|
+
/** Supported Native wallet providers (same injected API shape). */
|
|
7301
8482
|
type CosmosWalletName = "keplr" | "leap";
|
|
7302
8483
|
/**
|
|
7303
8484
|
* A bech32 address config for a single account type, matching the shape Keplr
|
|
@@ -7403,7 +8584,7 @@ declare function suggestChainInfo(network: NetworkConfig): KeplrChainInfo;
|
|
|
7403
8584
|
*
|
|
7404
8585
|
* The returned `signer` plugs straight into
|
|
7405
8586
|
* `TxClient.connect(network.endpoints.rpc, signer)` and can send any registered
|
|
7406
|
-
* message — standard
|
|
8587
|
+
* message — standard Native *and* QoreChain custom messages — via DIRECT mode,
|
|
7407
8588
|
* which both Keplr and Leap support. (Amino mode covers standard messages only
|
|
7408
8589
|
* until custom-module Amino converters land; see `TxClient` `aminoTypes`.)
|
|
7409
8590
|
*
|
|
@@ -7438,6 +8619,47 @@ interface CrossVmQueryClient {
|
|
|
7438
8619
|
interface LightNodeQueryClient {
|
|
7439
8620
|
lightNode(req: QueryLightNodeRequest): Promise<QueryLightNodeResponse>;
|
|
7440
8621
|
lightNodes(req?: QueryLightNodesRequest): Promise<QueryLightNodesResponse>;
|
|
8622
|
+
/** Module parameters (reward rates, heartbeat window, minimums). */
|
|
8623
|
+
params(req?: QueryParamsRequest$4): Promise<QueryParamsResponse$4>;
|
|
8624
|
+
/** Accrued, unclaimed rewards for a light node. */
|
|
8625
|
+
rewards(req: QueryRewardsRequest): Promise<QueryRewardsResponse>;
|
|
8626
|
+
/** Network-wide light-node statistics. */
|
|
8627
|
+
stats(req?: QueryStatsRequest): Promise<QueryStatsResponse>;
|
|
8628
|
+
}
|
|
8629
|
+
/** Automated market maker (AMM) module query client. */
|
|
8630
|
+
interface AmmQueryClient {
|
|
8631
|
+
/** Module parameters (fees, limits). */
|
|
8632
|
+
params(req?: QueryParamsRequest$6): Promise<QueryParamsResponse$6>;
|
|
8633
|
+
/** A single pool by ID. */
|
|
8634
|
+
pool(req: QueryPoolRequest): Promise<QueryPoolResponse>;
|
|
8635
|
+
/** All pools. */
|
|
8636
|
+
pools(req?: QueryPoolsRequest): Promise<QueryPoolsResponse>;
|
|
8637
|
+
/** A pool resolved by its two denoms. */
|
|
8638
|
+
poolByDenoms(req: QueryPoolByDenomsRequest): Promise<QueryPoolByDenomsResponse>;
|
|
8639
|
+
/** An address's LP-token balance in a pool. */
|
|
8640
|
+
lpBalance(req: QueryLPBalanceRequest): Promise<QueryLPBalanceResponse>;
|
|
8641
|
+
/** Quote an exact-in swap. */
|
|
8642
|
+
quoteExactIn(req: QueryQuoteExactInRequest): Promise<QueryQuoteExactInResponse>;
|
|
8643
|
+
/** Quote an exact-out swap. */
|
|
8644
|
+
quoteExactOut(req: QueryQuoteExactOutRequest): Promise<QueryQuoteExactOutResponse>;
|
|
8645
|
+
}
|
|
8646
|
+
/** Feature-license module query client. */
|
|
8647
|
+
interface LicenseQueryClient {
|
|
8648
|
+
/** Check whether a grantee holds a license for a feature. */
|
|
8649
|
+
check(req: QueryCheckRequest): Promise<QueryCheckResponse>;
|
|
8650
|
+
/** All holders of a feature's licenses. */
|
|
8651
|
+
holders(req: QueryHoldersRequest): Promise<QueryHoldersResponse>;
|
|
8652
|
+
/** All licenses held by a grantee. */
|
|
8653
|
+
list(req: QueryListRequest): Promise<QueryListResponse>;
|
|
8654
|
+
}
|
|
8655
|
+
/** Abstract-account module query client. */
|
|
8656
|
+
interface AbstractAccountQueryClient {
|
|
8657
|
+
/** Module config (max session TTL, allowed schemes, etc.). */
|
|
8658
|
+
config(req?: QueryConfigRequest$2): Promise<QueryConfigResponse$2>;
|
|
8659
|
+
/** A single abstract account by address. */
|
|
8660
|
+
account(req: QueryAccountRequest$2): Promise<QueryAccountResponse$2>;
|
|
8661
|
+
/** All abstract accounts. */
|
|
8662
|
+
accounts(req?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
|
|
7441
8663
|
}
|
|
7442
8664
|
/** Multilayer (sidechain / paychain) module query client. */
|
|
7443
8665
|
interface MultilayerQueryClient {
|
|
@@ -7447,6 +8669,10 @@ interface MultilayerQueryClient {
|
|
|
7447
8669
|
layer(req: QueryLayerRequest): Promise<QueryLayerResponse>;
|
|
7448
8670
|
/** All registered layers. */
|
|
7449
8671
|
layers(req?: QueryLayersRequest): Promise<QueryLayersResponse>;
|
|
8672
|
+
/** The latest state anchor for a layer. */
|
|
8673
|
+
anchor(req: QueryAnchorRequest): Promise<QueryAnchorResponse>;
|
|
8674
|
+
/** All state anchors for a layer (newest first). */
|
|
8675
|
+
anchors(req: QueryAnchorsRequest): Promise<QueryAnchorsResponse>;
|
|
7450
8676
|
/** Cross-layer routing statistics (gas savings, latency, counts). */
|
|
7451
8677
|
routingStats(req?: QueryRoutingStatsRequest): Promise<QueryRoutingStatsView>;
|
|
7452
8678
|
}
|
|
@@ -7503,8 +8729,11 @@ interface SvmQueryClient {
|
|
|
7503
8729
|
}
|
|
7504
8730
|
/** All typed module query clients, grouped by module. */
|
|
7505
8731
|
interface QoreChainQueryClients {
|
|
8732
|
+
abstractaccount: AbstractAccountQueryClient;
|
|
8733
|
+
amm: AmmQueryClient;
|
|
7506
8734
|
bridge: BridgeQueryClient;
|
|
7507
8735
|
crossvm: CrossVmQueryClient;
|
|
8736
|
+
license: LicenseQueryClient;
|
|
7508
8737
|
lightnode: LightNodeQueryClient;
|
|
7509
8738
|
multilayer: MultilayerQueryClient;
|
|
7510
8739
|
pqc: PqcQueryClient;
|
|
@@ -8239,6 +9468,6 @@ declare function migrateToHybrid(tx: TxClient, opts: MigrateToHybridOptions): Pr
|
|
|
8239
9468
|
* callers who want to compose them directly. Internal helpers are not exported.
|
|
8240
9469
|
*/
|
|
8241
9470
|
/** SDK version. */
|
|
8242
|
-
declare const VERSION = "0.
|
|
9471
|
+
declare const VERSION = "0.6.1";
|
|
8243
9472
|
|
|
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 };
|
|
9473
|
+
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 };
|