@qorechain/sdk 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  import * as _cosmjs_proto_signing from '@cosmjs/proto-signing';
2
2
  import { EncodeObject, OfflineSigner, GeneratedType, Registry, OfflineDirectSigner } from '@cosmjs/proto-signing';
3
+ export { EncodeObject } from '@cosmjs/proto-signing';
3
4
  import { Coin as Coin$1, StdFee } from '@cosmjs/amino';
4
5
  export { Coin, StdFee } from '@cosmjs/amino';
5
6
  import { DeliverTxResponse, AminoTypes, AminoConverters, SigningStargateClientOptions, QueryClient, ProtobufRpcClient } from '@cosmjs/stargate';
6
7
  import { CosmWasmClient, SigningCosmWasmClient } from '@cosmjs/cosmwasm-stargate';
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';
7
9
  import { Any } from 'cosmjs-types/google/protobuf/any';
8
10
  import { TxBody, TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
9
11
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
@@ -2258,6 +2260,244 @@ interface SignAndBroadcastHybridOptions extends BuildHybridTxOptions {
2258
2260
  */
2259
2261
  declare function signAndBroadcastHybrid(opts: SignAndBroadcastHybridOptions): Promise<BroadcastResult>;
2260
2262
 
2263
+ declare const protobufPackage$k = "qorechain.bridge.v1";
2264
+ /**
2265
+ * MsgUpdateChainConfig sets/replaces a chain's bridge configuration. Empty
2266
+ * string / zero fields fall back to the existing config (merge semantics in the
2267
+ * handler), so a caller can flip just `status`+one verifier flag to activate.
2268
+ */
2269
+ interface MsgUpdateChainConfig {
2270
+ admin: string;
2271
+ chainId: string;
2272
+ /** contract/program address on the external chain */
2273
+ bridgeContract: string;
2274
+ confirmationsRequired: number;
2275
+ /** ChainArchitecture string (empty keeps existing) */
2276
+ architecture: string;
2277
+ /** "active" | "paused" | "pending" (empty keeps existing) */
2278
+ status: string;
2279
+ /** Exactly one verifier flag should be set when activating trustless mode. */
2280
+ verifier: string;
2281
+ /** hex topic0 of the lock event (EVM/light-client chains) */
2282
+ lockEventSig: string;
2283
+ }
2284
+ declare const MsgUpdateChainConfig: MessageFns$l<MsgUpdateChainConfig>;
2285
+ interface MsgUpdateChainConfigResponse {
2286
+ }
2287
+ declare const MsgUpdateChainConfigResponse: MessageFns$l<MsgUpdateChainConfigResponse>;
2288
+ /**
2289
+ * MsgSetVerifierBootstrap installs a verifier trust root. Exactly one of the
2290
+ * sub-messages must be populated; the handler routes by which is non-nil.
2291
+ */
2292
+ interface MsgSetVerifierBootstrap {
2293
+ admin: string;
2294
+ chainId: string;
2295
+ wormhole?: WormholeGuardianSet | undefined;
2296
+ ed25519?: ValidatorQuorum | undefined;
2297
+ bls?: ValidatorQuorum | undefined;
2298
+ bitcoin?: BitcoinCheckpoint | undefined;
2299
+ starknetStateRoot: Uint8Array;
2300
+ }
2301
+ declare const MsgSetVerifierBootstrap: MessageFns$l<MsgSetVerifierBootstrap>;
2302
+ interface MsgSetVerifierBootstrapResponse {
2303
+ }
2304
+ declare const MsgSetVerifierBootstrapResponse: MessageFns$l<MsgSetVerifierBootstrapResponse>;
2305
+ interface WormholeGuardianSet {
2306
+ /** 20-byte guardian eth addresses */
2307
+ addresses: Uint8Array[];
2308
+ quorum: number;
2309
+ }
2310
+ declare const WormholeGuardianSet: MessageFns$l<WormholeGuardianSet>;
2311
+ interface ValidatorQuorum {
2312
+ /** ed25519 (32B) or BLS (48B) pubkeys */
2313
+ pubkeys: Uint8Array[];
2314
+ threshold: number;
2315
+ }
2316
+ declare const ValidatorQuorum: MessageFns$l<ValidatorQuorum>;
2317
+ interface BitcoinCheckpoint {
2318
+ blockHash: Uint8Array;
2319
+ minConfs: number;
2320
+ }
2321
+ declare const BitcoinCheckpoint: MessageFns$l<BitcoinCheckpoint>;
2322
+ interface MsgBridgeDeposit {
2323
+ sender: string;
2324
+ sourceChain: string;
2325
+ sourceTxHash: string;
2326
+ asset: string;
2327
+ amount: string;
2328
+ bridgeValidatorSigs: Uint8Array;
2329
+ pqcCommitment: Uint8Array;
2330
+ }
2331
+ declare const MsgBridgeDeposit: MessageFns$l<MsgBridgeDeposit>;
2332
+ interface MsgBridgeDepositResponse {
2333
+ }
2334
+ declare const MsgBridgeDepositResponse: MessageFns$l<MsgBridgeDepositResponse>;
2335
+ interface MsgBridgeWithdraw {
2336
+ sender: string;
2337
+ destinationChain: string;
2338
+ destinationAddress: string;
2339
+ asset: string;
2340
+ amount: string;
2341
+ }
2342
+ declare const MsgBridgeWithdraw: MessageFns$l<MsgBridgeWithdraw>;
2343
+ interface MsgBridgeWithdrawResponse {
2344
+ }
2345
+ declare const MsgBridgeWithdrawResponse: MessageFns$l<MsgBridgeWithdrawResponse>;
2346
+ interface MsgRegisterBridgeValidator {
2347
+ validatorAddress: string;
2348
+ pqcPubkey: Uint8Array;
2349
+ supportedChains: string[];
2350
+ }
2351
+ declare const MsgRegisterBridgeValidator: MessageFns$l<MsgRegisterBridgeValidator>;
2352
+ interface MsgRegisterBridgeValidatorResponse {
2353
+ }
2354
+ declare const MsgRegisterBridgeValidatorResponse: MessageFns$l<MsgRegisterBridgeValidatorResponse>;
2355
+ interface MsgBridgeAttestation {
2356
+ validator: string;
2357
+ chain: string;
2358
+ eventType: string;
2359
+ operationId: string;
2360
+ txHash: string;
2361
+ amount: string;
2362
+ asset: string;
2363
+ proof: Uint8Array;
2364
+ pqcSignature: Uint8Array;
2365
+ }
2366
+ declare const MsgBridgeAttestation: MessageFns$l<MsgBridgeAttestation>;
2367
+ interface MsgBridgeAttestationResponse {
2368
+ }
2369
+ declare const MsgBridgeAttestationResponse: MessageFns$l<MsgBridgeAttestationResponse>;
2370
+ interface MsgUpdateEthLightClient {
2371
+ relayer: string;
2372
+ /**
2373
+ * Encoded Altair LightClientUpdate bundle verified against the stored sync
2374
+ * committee before advancing the on-chain light client.
2375
+ */
2376
+ update: Uint8Array;
2377
+ }
2378
+ declare const MsgUpdateEthLightClient: MessageFns$l<MsgUpdateEthLightClient>;
2379
+ interface MsgUpdateEthLightClientResponse {
2380
+ }
2381
+ declare const MsgUpdateEthLightClientResponse: MessageFns$l<MsgUpdateEthLightClientResponse>;
2382
+ /** Msg defines the bridge module's transaction service. */
2383
+ type MsgDefinition$a = typeof MsgDefinition$a;
2384
+ declare const MsgDefinition$a: {
2385
+ readonly name: "Msg";
2386
+ readonly fullName: "qorechain.bridge.v1.Msg";
2387
+ readonly methods: {
2388
+ /** BridgeDeposit credits assets bridged in from a source chain. */
2389
+ readonly bridgeDeposit: {
2390
+ readonly name: "BridgeDeposit";
2391
+ readonly requestType: typeof MsgBridgeDeposit;
2392
+ readonly requestStream: false;
2393
+ readonly responseType: typeof MsgBridgeDepositResponse;
2394
+ readonly responseStream: false;
2395
+ readonly options: {};
2396
+ };
2397
+ /** BridgeWithdraw initiates a withdrawal to a destination chain. */
2398
+ readonly bridgeWithdraw: {
2399
+ readonly name: "BridgeWithdraw";
2400
+ readonly requestType: typeof MsgBridgeWithdraw;
2401
+ readonly requestStream: false;
2402
+ readonly responseType: typeof MsgBridgeWithdrawResponse;
2403
+ readonly responseStream: false;
2404
+ readonly options: {};
2405
+ };
2406
+ /** RegisterBridgeValidator registers a validator for bridge attestation duty. */
2407
+ readonly registerBridgeValidator: {
2408
+ readonly name: "RegisterBridgeValidator";
2409
+ readonly requestType: typeof MsgRegisterBridgeValidator;
2410
+ readonly requestStream: false;
2411
+ readonly responseType: typeof MsgRegisterBridgeValidatorResponse;
2412
+ readonly responseStream: false;
2413
+ readonly options: {};
2414
+ };
2415
+ /** BridgeAttestation submits a validator attestation for a bridge operation. */
2416
+ readonly bridgeAttestation: {
2417
+ readonly name: "BridgeAttestation";
2418
+ readonly requestType: typeof MsgBridgeAttestation;
2419
+ readonly requestStream: false;
2420
+ readonly responseType: typeof MsgBridgeAttestationResponse;
2421
+ readonly responseStream: false;
2422
+ readonly options: {};
2423
+ };
2424
+ /**
2425
+ * UpdateEthLightClient advances the on-chain Ethereum light client with a
2426
+ * verified Altair LightClientUpdate (carried as an opaque encoded bundle).
2427
+ */
2428
+ readonly updateEthLightClient: {
2429
+ readonly name: "UpdateEthLightClient";
2430
+ readonly requestType: typeof MsgUpdateEthLightClient;
2431
+ readonly requestStream: false;
2432
+ readonly responseType: typeof MsgUpdateEthLightClientResponse;
2433
+ readonly responseStream: false;
2434
+ readonly options: {};
2435
+ };
2436
+ /**
2437
+ * UpdateChainConfig registers/updates a chain's bridge config — real contract
2438
+ * address, confirmations, architecture, status, and which trustless verifier
2439
+ * is active. Authorized by the bridge_admin key OR a qcb_bridge license; lets
2440
+ * operators activate a chain's bridge POST-DEPLOY without governance or an
2441
+ * upgrade.
2442
+ */
2443
+ readonly updateChainConfig: {
2444
+ readonly name: "UpdateChainConfig";
2445
+ readonly requestType: typeof MsgUpdateChainConfig;
2446
+ readonly requestStream: false;
2447
+ readonly responseType: typeof MsgUpdateChainConfigResponse;
2448
+ readonly responseStream: false;
2449
+ readonly options: {};
2450
+ };
2451
+ /**
2452
+ * SetVerifierBootstrap installs the per-architecture trust root a chain's
2453
+ * trustless verifier needs (Wormhole guardian set / ed25519 or BLS validator
2454
+ * quorum / Bitcoin checkpoint / Starknet state root). Same authorization as
2455
+ * UpdateChainConfig. (Ethereum uses UpdateEthLightClient.)
2456
+ */
2457
+ readonly setVerifierBootstrap: {
2458
+ readonly name: "SetVerifierBootstrap";
2459
+ readonly requestType: typeof MsgSetVerifierBootstrap;
2460
+ readonly requestStream: false;
2461
+ readonly responseType: typeof MsgSetVerifierBootstrapResponse;
2462
+ readonly responseStream: false;
2463
+ readonly options: {};
2464
+ };
2465
+ };
2466
+ };
2467
+ type Builtin$l = Date | Function | Uint8Array | string | number | boolean | undefined;
2468
+ 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 {} ? {
2469
+ [K in keyof T]?: DeepPartial$l<T[K]>;
2470
+ } : Partial<T>;
2471
+ interface MessageFns$l<T> {
2472
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
2473
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
2474
+ fromJSON(object: any): T;
2475
+ toJSON(message: T): unknown;
2476
+ create(base?: DeepPartial$l<T>): T;
2477
+ fromPartial(object: DeepPartial$l<T>): T;
2478
+ }
2479
+
2480
+ declare const tx$a_BitcoinCheckpoint: typeof BitcoinCheckpoint;
2481
+ declare const tx$a_MsgBridgeAttestation: typeof MsgBridgeAttestation;
2482
+ declare const tx$a_MsgBridgeAttestationResponse: typeof MsgBridgeAttestationResponse;
2483
+ declare const tx$a_MsgBridgeDeposit: typeof MsgBridgeDeposit;
2484
+ declare const tx$a_MsgBridgeDepositResponse: typeof MsgBridgeDepositResponse;
2485
+ declare const tx$a_MsgBridgeWithdraw: typeof MsgBridgeWithdraw;
2486
+ declare const tx$a_MsgBridgeWithdrawResponse: typeof MsgBridgeWithdrawResponse;
2487
+ declare const tx$a_MsgRegisterBridgeValidator: typeof MsgRegisterBridgeValidator;
2488
+ declare const tx$a_MsgRegisterBridgeValidatorResponse: typeof MsgRegisterBridgeValidatorResponse;
2489
+ declare const tx$a_MsgSetVerifierBootstrap: typeof MsgSetVerifierBootstrap;
2490
+ declare const tx$a_MsgSetVerifierBootstrapResponse: typeof MsgSetVerifierBootstrapResponse;
2491
+ declare const tx$a_MsgUpdateChainConfig: typeof MsgUpdateChainConfig;
2492
+ declare const tx$a_MsgUpdateChainConfigResponse: typeof MsgUpdateChainConfigResponse;
2493
+ declare const tx$a_MsgUpdateEthLightClient: typeof MsgUpdateEthLightClient;
2494
+ declare const tx$a_MsgUpdateEthLightClientResponse: typeof MsgUpdateEthLightClientResponse;
2495
+ declare const tx$a_ValidatorQuorum: typeof ValidatorQuorum;
2496
+ declare const tx$a_WormholeGuardianSet: typeof WormholeGuardianSet;
2497
+ declare namespace tx$a {
2498
+ export { tx$a_BitcoinCheckpoint as BitcoinCheckpoint, type DeepPartial$l as DeepPartial, type MessageFns$l as MessageFns, tx$a_MsgBridgeAttestation as MsgBridgeAttestation, tx$a_MsgBridgeAttestationResponse as MsgBridgeAttestationResponse, tx$a_MsgBridgeDeposit as MsgBridgeDeposit, tx$a_MsgBridgeDepositResponse as MsgBridgeDepositResponse, tx$a_MsgBridgeWithdraw as MsgBridgeWithdraw, tx$a_MsgBridgeWithdrawResponse as MsgBridgeWithdrawResponse, MsgDefinition$a as MsgDefinition, tx$a_MsgRegisterBridgeValidator as MsgRegisterBridgeValidator, tx$a_MsgRegisterBridgeValidatorResponse as MsgRegisterBridgeValidatorResponse, tx$a_MsgSetVerifierBootstrap as MsgSetVerifierBootstrap, tx$a_MsgSetVerifierBootstrapResponse as MsgSetVerifierBootstrapResponse, tx$a_MsgUpdateChainConfig as MsgUpdateChainConfig, tx$a_MsgUpdateChainConfigResponse as MsgUpdateChainConfigResponse, tx$a_MsgUpdateEthLightClient as MsgUpdateEthLightClient, tx$a_MsgUpdateEthLightClientResponse as MsgUpdateEthLightClientResponse, tx$a_ValidatorQuorum as ValidatorQuorum, tx$a_WormholeGuardianSet as WormholeGuardianSet, protobufPackage$k as protobufPackage };
2499
+ }
2500
+
2261
2501
  /**
2262
2502
  * Coin defines a token with a denomination and an amount.
2263
2503
  *
@@ -2268,18 +2508,18 @@ interface Coin {
2268
2508
  denom: string;
2269
2509
  amount: string;
2270
2510
  }
2271
- declare const Coin: MessageFns$i<Coin>;
2272
- type Builtin$i = Date | Function | Uint8Array | string | number | boolean | undefined;
2273
- 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 {} ? {
2274
- [K in keyof T]?: DeepPartial$i<T[K]>;
2511
+ declare const Coin: MessageFns$k<Coin>;
2512
+ type Builtin$k = Date | Function | Uint8Array | string | number | boolean | undefined;
2513
+ 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 {} ? {
2514
+ [K in keyof T]?: DeepPartial$k<T[K]>;
2275
2515
  } : Partial<T>;
2276
- interface MessageFns$i<T> {
2516
+ interface MessageFns$k<T> {
2277
2517
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2278
2518
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2279
2519
  fromJSON(object: any): T;
2280
2520
  toJSON(message: T): unknown;
2281
- create(base?: DeepPartial$i<T>): T;
2282
- fromPartial(object: DeepPartial$i<T>): T;
2521
+ create(base?: DeepPartial$k<T>): T;
2522
+ fromPartial(object: DeepPartial$k<T>): T;
2283
2523
  }
2284
2524
 
2285
2525
  /**
@@ -2335,7 +2575,7 @@ declare const ibc: {
2335
2575
  transfer: (value: Partial<MsgTransfer>) => EncodeObject;
2336
2576
  };
2337
2577
 
2338
- declare const protobufPackage$h = "qorechain.amm.v1";
2578
+ declare const protobufPackage$j = "qorechain.amm.v1";
2339
2579
  interface MsgCreatePool {
2340
2580
  creator: string;
2341
2581
  poolType: string;
@@ -2343,11 +2583,11 @@ interface MsgCreatePool {
2343
2583
  initialDepositB?: Coin | undefined;
2344
2584
  amplificationCoefficient: number;
2345
2585
  }
2346
- declare const MsgCreatePool: MessageFns$h<MsgCreatePool>;
2586
+ declare const MsgCreatePool: MessageFns$j<MsgCreatePool>;
2347
2587
  interface MsgCreatePoolResponse {
2348
2588
  poolId: string;
2349
2589
  }
2350
- declare const MsgCreatePoolResponse: MessageFns$h<MsgCreatePoolResponse>;
2590
+ declare const MsgCreatePoolResponse: MessageFns$j<MsgCreatePoolResponse>;
2351
2591
  interface MsgAddLiquidity {
2352
2592
  sender: string;
2353
2593
  poolId: string;
@@ -2355,10 +2595,10 @@ interface MsgAddLiquidity {
2355
2595
  amountB?: Coin | undefined;
2356
2596
  minLpOut: string;
2357
2597
  }
2358
- declare const MsgAddLiquidity: MessageFns$h<MsgAddLiquidity>;
2598
+ declare const MsgAddLiquidity: MessageFns$j<MsgAddLiquidity>;
2359
2599
  interface MsgAddLiquidityResponse {
2360
2600
  }
2361
- declare const MsgAddLiquidityResponse: MessageFns$h<MsgAddLiquidityResponse>;
2601
+ declare const MsgAddLiquidityResponse: MessageFns$j<MsgAddLiquidityResponse>;
2362
2602
  interface MsgRemoveLiquidity {
2363
2603
  sender: string;
2364
2604
  poolId: string;
@@ -2366,10 +2606,10 @@ interface MsgRemoveLiquidity {
2366
2606
  minAmountA: string;
2367
2607
  minAmountB: string;
2368
2608
  }
2369
- declare const MsgRemoveLiquidity: MessageFns$h<MsgRemoveLiquidity>;
2609
+ declare const MsgRemoveLiquidity: MessageFns$j<MsgRemoveLiquidity>;
2370
2610
  interface MsgRemoveLiquidityResponse {
2371
2611
  }
2372
- declare const MsgRemoveLiquidityResponse: MessageFns$h<MsgRemoveLiquidityResponse>;
2612
+ declare const MsgRemoveLiquidityResponse: MessageFns$j<MsgRemoveLiquidityResponse>;
2373
2613
  interface MsgSwapExactIn {
2374
2614
  sender: string;
2375
2615
  poolId: string;
@@ -2377,10 +2617,10 @@ interface MsgSwapExactIn {
2377
2617
  denomOut: string;
2378
2618
  minOut: string;
2379
2619
  }
2380
- declare const MsgSwapExactIn: MessageFns$h<MsgSwapExactIn>;
2620
+ declare const MsgSwapExactIn: MessageFns$j<MsgSwapExactIn>;
2381
2621
  interface MsgSwapExactInResponse {
2382
2622
  }
2383
- declare const MsgSwapExactInResponse: MessageFns$h<MsgSwapExactInResponse>;
2623
+ declare const MsgSwapExactInResponse: MessageFns$j<MsgSwapExactInResponse>;
2384
2624
  interface MsgSwapExactOut {
2385
2625
  sender: string;
2386
2626
  poolId: string;
@@ -2388,29 +2628,29 @@ interface MsgSwapExactOut {
2388
2628
  tokenOut?: Coin | undefined;
2389
2629
  maxIn: string;
2390
2630
  }
2391
- declare const MsgSwapExactOut: MessageFns$h<MsgSwapExactOut>;
2631
+ declare const MsgSwapExactOut: MessageFns$j<MsgSwapExactOut>;
2392
2632
  interface MsgSwapExactOutResponse {
2393
2633
  }
2394
- declare const MsgSwapExactOutResponse: MessageFns$h<MsgSwapExactOutResponse>;
2634
+ declare const MsgSwapExactOutResponse: MessageFns$j<MsgSwapExactOutResponse>;
2395
2635
  interface MsgPausePool {
2396
2636
  authority: string;
2397
2637
  poolId: string;
2398
2638
  reason: string;
2399
2639
  }
2400
- declare const MsgPausePool: MessageFns$h<MsgPausePool>;
2640
+ declare const MsgPausePool: MessageFns$j<MsgPausePool>;
2401
2641
  interface MsgPausePoolResponse {
2402
2642
  }
2403
- declare const MsgPausePoolResponse: MessageFns$h<MsgPausePoolResponse>;
2643
+ declare const MsgPausePoolResponse: MessageFns$j<MsgPausePoolResponse>;
2404
2644
  interface MsgResumePool {
2405
2645
  authority: string;
2406
2646
  poolId: string;
2407
2647
  }
2408
- declare const MsgResumePool: MessageFns$h<MsgResumePool>;
2648
+ declare const MsgResumePool: MessageFns$j<MsgResumePool>;
2409
2649
  interface MsgResumePoolResponse {
2410
2650
  }
2411
- declare const MsgResumePoolResponse: MessageFns$h<MsgResumePoolResponse>;
2412
- type MsgDefinition$a = typeof MsgDefinition$a;
2413
- declare const MsgDefinition$a: {
2651
+ declare const MsgResumePoolResponse: MessageFns$j<MsgResumePoolResponse>;
2652
+ type MsgDefinition$9 = typeof MsgDefinition$9;
2653
+ declare const MsgDefinition$9: {
2414
2654
  readonly name: "Msg";
2415
2655
  readonly fullName: "qorechain.amm.v1.Msg";
2416
2656
  readonly methods: {
@@ -2472,156 +2712,38 @@ declare const MsgDefinition$a: {
2472
2712
  };
2473
2713
  };
2474
2714
  };
2475
- type Builtin$h = Date | Function | Uint8Array | string | number | boolean | undefined;
2476
- 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 {} ? {
2477
- [K in keyof T]?: DeepPartial$h<T[K]>;
2478
- } : Partial<T>;
2479
- interface MessageFns$h<T> {
2480
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
2481
- decode(input: BinaryReader | Uint8Array, length?: number): T;
2482
- fromJSON(object: any): T;
2483
- toJSON(message: T): unknown;
2484
- create(base?: DeepPartial$h<T>): T;
2485
- fromPartial(object: DeepPartial$h<T>): T;
2486
- }
2487
-
2488
- declare const tx$a_MsgAddLiquidity: typeof MsgAddLiquidity;
2489
- declare const tx$a_MsgAddLiquidityResponse: typeof MsgAddLiquidityResponse;
2490
- declare const tx$a_MsgCreatePool: typeof MsgCreatePool;
2491
- declare const tx$a_MsgCreatePoolResponse: typeof MsgCreatePoolResponse;
2492
- declare const tx$a_MsgPausePool: typeof MsgPausePool;
2493
- declare const tx$a_MsgPausePoolResponse: typeof MsgPausePoolResponse;
2494
- declare const tx$a_MsgRemoveLiquidity: typeof MsgRemoveLiquidity;
2495
- declare const tx$a_MsgRemoveLiquidityResponse: typeof MsgRemoveLiquidityResponse;
2496
- declare const tx$a_MsgResumePool: typeof MsgResumePool;
2497
- declare const tx$a_MsgResumePoolResponse: typeof MsgResumePoolResponse;
2498
- declare const tx$a_MsgSwapExactIn: typeof MsgSwapExactIn;
2499
- declare const tx$a_MsgSwapExactInResponse: typeof MsgSwapExactInResponse;
2500
- declare const tx$a_MsgSwapExactOut: typeof MsgSwapExactOut;
2501
- declare const tx$a_MsgSwapExactOutResponse: typeof MsgSwapExactOutResponse;
2502
- declare namespace tx$a {
2503
- export { type DeepPartial$h as DeepPartial, type MessageFns$h as MessageFns, tx$a_MsgAddLiquidity as MsgAddLiquidity, tx$a_MsgAddLiquidityResponse as MsgAddLiquidityResponse, tx$a_MsgCreatePool as MsgCreatePool, tx$a_MsgCreatePoolResponse as MsgCreatePoolResponse, MsgDefinition$a as MsgDefinition, tx$a_MsgPausePool as MsgPausePool, tx$a_MsgPausePoolResponse as MsgPausePoolResponse, tx$a_MsgRemoveLiquidity as MsgRemoveLiquidity, tx$a_MsgRemoveLiquidityResponse as MsgRemoveLiquidityResponse, tx$a_MsgResumePool as MsgResumePool, tx$a_MsgResumePoolResponse as MsgResumePoolResponse, tx$a_MsgSwapExactIn as MsgSwapExactIn, tx$a_MsgSwapExactInResponse as MsgSwapExactInResponse, tx$a_MsgSwapExactOut as MsgSwapExactOut, tx$a_MsgSwapExactOutResponse as MsgSwapExactOutResponse, protobufPackage$h as protobufPackage };
2504
- }
2505
-
2506
- declare const protobufPackage$g = "qorechain.bridge.v1";
2507
- interface MsgBridgeDeposit {
2508
- sender: string;
2509
- sourceChain: string;
2510
- sourceTxHash: string;
2511
- asset: string;
2512
- amount: string;
2513
- bridgeValidatorSigs: Uint8Array;
2514
- pqcCommitment: Uint8Array;
2515
- }
2516
- declare const MsgBridgeDeposit: MessageFns$g<MsgBridgeDeposit>;
2517
- interface MsgBridgeDepositResponse {
2518
- }
2519
- declare const MsgBridgeDepositResponse: MessageFns$g<MsgBridgeDepositResponse>;
2520
- interface MsgBridgeWithdraw {
2521
- sender: string;
2522
- destinationChain: string;
2523
- destinationAddress: string;
2524
- asset: string;
2525
- amount: string;
2526
- }
2527
- declare const MsgBridgeWithdraw: MessageFns$g<MsgBridgeWithdraw>;
2528
- interface MsgBridgeWithdrawResponse {
2529
- }
2530
- declare const MsgBridgeWithdrawResponse: MessageFns$g<MsgBridgeWithdrawResponse>;
2531
- interface MsgRegisterBridgeValidator {
2532
- validatorAddress: string;
2533
- pqcPubkey: Uint8Array;
2534
- supportedChains: string[];
2535
- }
2536
- declare const MsgRegisterBridgeValidator: MessageFns$g<MsgRegisterBridgeValidator>;
2537
- interface MsgRegisterBridgeValidatorResponse {
2538
- }
2539
- declare const MsgRegisterBridgeValidatorResponse: MessageFns$g<MsgRegisterBridgeValidatorResponse>;
2540
- interface MsgBridgeAttestation {
2541
- validator: string;
2542
- chain: string;
2543
- eventType: string;
2544
- operationId: string;
2545
- txHash: string;
2546
- amount: string;
2547
- asset: string;
2548
- proof: Uint8Array;
2549
- pqcSignature: Uint8Array;
2550
- }
2551
- declare const MsgBridgeAttestation: MessageFns$g<MsgBridgeAttestation>;
2552
- interface MsgBridgeAttestationResponse {
2553
- }
2554
- declare const MsgBridgeAttestationResponse: MessageFns$g<MsgBridgeAttestationResponse>;
2555
- /** Msg defines the bridge module's transaction service. */
2556
- type MsgDefinition$9 = typeof MsgDefinition$9;
2557
- declare const MsgDefinition$9: {
2558
- readonly name: "Msg";
2559
- readonly fullName: "qorechain.bridge.v1.Msg";
2560
- readonly methods: {
2561
- /** BridgeDeposit credits assets bridged in from a source chain. */
2562
- readonly bridgeDeposit: {
2563
- readonly name: "BridgeDeposit";
2564
- readonly requestType: typeof MsgBridgeDeposit;
2565
- readonly requestStream: false;
2566
- readonly responseType: typeof MsgBridgeDepositResponse;
2567
- readonly responseStream: false;
2568
- readonly options: {};
2569
- };
2570
- /** BridgeWithdraw initiates a withdrawal to a destination chain. */
2571
- readonly bridgeWithdraw: {
2572
- readonly name: "BridgeWithdraw";
2573
- readonly requestType: typeof MsgBridgeWithdraw;
2574
- readonly requestStream: false;
2575
- readonly responseType: typeof MsgBridgeWithdrawResponse;
2576
- readonly responseStream: false;
2577
- readonly options: {};
2578
- };
2579
- /** RegisterBridgeValidator registers a validator for bridge attestation duty. */
2580
- readonly registerBridgeValidator: {
2581
- readonly name: "RegisterBridgeValidator";
2582
- readonly requestType: typeof MsgRegisterBridgeValidator;
2583
- readonly requestStream: false;
2584
- readonly responseType: typeof MsgRegisterBridgeValidatorResponse;
2585
- readonly responseStream: false;
2586
- readonly options: {};
2587
- };
2588
- /** BridgeAttestation submits a validator attestation for a bridge operation. */
2589
- readonly bridgeAttestation: {
2590
- readonly name: "BridgeAttestation";
2591
- readonly requestType: typeof MsgBridgeAttestation;
2592
- readonly requestStream: false;
2593
- readonly responseType: typeof MsgBridgeAttestationResponse;
2594
- readonly responseStream: false;
2595
- readonly options: {};
2596
- };
2597
- };
2598
- };
2599
- type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
2600
- 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 {} ? {
2601
- [K in keyof T]?: DeepPartial$g<T[K]>;
2715
+ type Builtin$j = Date | Function | Uint8Array | string | number | boolean | undefined;
2716
+ 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 {} ? {
2717
+ [K in keyof T]?: DeepPartial$j<T[K]>;
2602
2718
  } : Partial<T>;
2603
- interface MessageFns$g<T> {
2719
+ interface MessageFns$j<T> {
2604
2720
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2605
2721
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2606
2722
  fromJSON(object: any): T;
2607
2723
  toJSON(message: T): unknown;
2608
- create(base?: DeepPartial$g<T>): T;
2609
- fromPartial(object: DeepPartial$g<T>): T;
2724
+ create(base?: DeepPartial$j<T>): T;
2725
+ fromPartial(object: DeepPartial$j<T>): T;
2610
2726
  }
2611
2727
 
2612
- declare const tx$9_MsgBridgeAttestation: typeof MsgBridgeAttestation;
2613
- declare const tx$9_MsgBridgeAttestationResponse: typeof MsgBridgeAttestationResponse;
2614
- declare const tx$9_MsgBridgeDeposit: typeof MsgBridgeDeposit;
2615
- declare const tx$9_MsgBridgeDepositResponse: typeof MsgBridgeDepositResponse;
2616
- declare const tx$9_MsgBridgeWithdraw: typeof MsgBridgeWithdraw;
2617
- declare const tx$9_MsgBridgeWithdrawResponse: typeof MsgBridgeWithdrawResponse;
2618
- declare const tx$9_MsgRegisterBridgeValidator: typeof MsgRegisterBridgeValidator;
2619
- declare const tx$9_MsgRegisterBridgeValidatorResponse: typeof MsgRegisterBridgeValidatorResponse;
2728
+ declare const tx$9_MsgAddLiquidity: typeof MsgAddLiquidity;
2729
+ declare const tx$9_MsgAddLiquidityResponse: typeof MsgAddLiquidityResponse;
2730
+ declare const tx$9_MsgCreatePool: typeof MsgCreatePool;
2731
+ declare const tx$9_MsgCreatePoolResponse: typeof MsgCreatePoolResponse;
2732
+ declare const tx$9_MsgPausePool: typeof MsgPausePool;
2733
+ declare const tx$9_MsgPausePoolResponse: typeof MsgPausePoolResponse;
2734
+ declare const tx$9_MsgRemoveLiquidity: typeof MsgRemoveLiquidity;
2735
+ declare const tx$9_MsgRemoveLiquidityResponse: typeof MsgRemoveLiquidityResponse;
2736
+ declare const tx$9_MsgResumePool: typeof MsgResumePool;
2737
+ declare const tx$9_MsgResumePoolResponse: typeof MsgResumePoolResponse;
2738
+ declare const tx$9_MsgSwapExactIn: typeof MsgSwapExactIn;
2739
+ declare const tx$9_MsgSwapExactInResponse: typeof MsgSwapExactInResponse;
2740
+ declare const tx$9_MsgSwapExactOut: typeof MsgSwapExactOut;
2741
+ declare const tx$9_MsgSwapExactOutResponse: typeof MsgSwapExactOutResponse;
2620
2742
  declare namespace tx$9 {
2621
- export { type DeepPartial$g as DeepPartial, type MessageFns$g 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, protobufPackage$g as protobufPackage };
2743
+ export { type DeepPartial$j as DeepPartial, type MessageFns$j as MessageFns, tx$9_MsgAddLiquidity as MsgAddLiquidity, tx$9_MsgAddLiquidityResponse as MsgAddLiquidityResponse, tx$9_MsgCreatePool as MsgCreatePool, tx$9_MsgCreatePoolResponse as MsgCreatePoolResponse, MsgDefinition$9 as MsgDefinition, tx$9_MsgPausePool as MsgPausePool, tx$9_MsgPausePoolResponse as MsgPausePoolResponse, tx$9_MsgRemoveLiquidity as MsgRemoveLiquidity, tx$9_MsgRemoveLiquidityResponse as MsgRemoveLiquidityResponse, tx$9_MsgResumePool as MsgResumePool, tx$9_MsgResumePoolResponse as MsgResumePoolResponse, tx$9_MsgSwapExactIn as MsgSwapExactIn, tx$9_MsgSwapExactInResponse as MsgSwapExactInResponse, tx$9_MsgSwapExactOut as MsgSwapExactOut, tx$9_MsgSwapExactOutResponse as MsgSwapExactOutResponse, protobufPackage$j as protobufPackage };
2622
2744
  }
2623
2745
 
2624
- declare const protobufPackage$f = "qorechain.rdk.v1";
2746
+ declare const protobufPackage$i = "qorechain.rdk.v1";
2625
2747
  interface MsgCreateRollup {
2626
2748
  creator: string;
2627
2749
  rollupId: string;
@@ -2629,11 +2751,11 @@ interface MsgCreateRollup {
2629
2751
  vmType: string;
2630
2752
  stakeAmount: string;
2631
2753
  }
2632
- declare const MsgCreateRollup: MessageFns$f<MsgCreateRollup>;
2754
+ declare const MsgCreateRollup: MessageFns$i<MsgCreateRollup>;
2633
2755
  interface MsgCreateRollupResponse {
2634
2756
  rollupId: string;
2635
2757
  }
2636
- declare const MsgCreateRollupResponse: MessageFns$f<MsgCreateRollupResponse>;
2758
+ declare const MsgCreateRollupResponse: MessageFns$i<MsgCreateRollupResponse>;
2637
2759
  interface MsgSubmitBatch {
2638
2760
  sequencer: string;
2639
2761
  rollupId: string;
@@ -2643,21 +2765,26 @@ interface MsgSubmitBatch {
2643
2765
  txCount: string;
2644
2766
  dataHash: Uint8Array;
2645
2767
  proof: Uint8Array;
2768
+ /**
2769
+ * withdrawals_root commits the L2->L1 messages (withdrawals) in this batch as
2770
+ * a binary Merkle root. Empty when the batch carries no cross-layer messages.
2771
+ */
2772
+ withdrawalsRoot: Uint8Array;
2646
2773
  }
2647
- declare const MsgSubmitBatch: MessageFns$f<MsgSubmitBatch>;
2774
+ declare const MsgSubmitBatch: MessageFns$i<MsgSubmitBatch>;
2648
2775
  interface MsgSubmitBatchResponse {
2649
2776
  }
2650
- declare const MsgSubmitBatchResponse: MessageFns$f<MsgSubmitBatchResponse>;
2777
+ declare const MsgSubmitBatchResponse: MessageFns$i<MsgSubmitBatchResponse>;
2651
2778
  interface MsgChallengeBatch {
2652
2779
  challenger: string;
2653
2780
  rollupId: string;
2654
2781
  batchIndex: string;
2655
2782
  proof: Uint8Array;
2656
2783
  }
2657
- declare const MsgChallengeBatch: MessageFns$f<MsgChallengeBatch>;
2784
+ declare const MsgChallengeBatch: MessageFns$i<MsgChallengeBatch>;
2658
2785
  interface MsgChallengeBatchResponse {
2659
2786
  }
2660
- declare const MsgChallengeBatchResponse: MessageFns$f<MsgChallengeBatchResponse>;
2787
+ declare const MsgChallengeBatchResponse: MessageFns$i<MsgChallengeBatchResponse>;
2661
2788
  interface MsgResolveChallenge {
2662
2789
  resolver: string;
2663
2790
  rollupId: string;
@@ -2669,35 +2796,57 @@ interface MsgResolveChallenge {
2669
2796
  */
2670
2797
  fraudUpheld: boolean;
2671
2798
  }
2672
- declare const MsgResolveChallenge: MessageFns$f<MsgResolveChallenge>;
2799
+ declare const MsgResolveChallenge: MessageFns$i<MsgResolveChallenge>;
2673
2800
  interface MsgResolveChallengeResponse {
2674
2801
  }
2675
- declare const MsgResolveChallengeResponse: MessageFns$f<MsgResolveChallengeResponse>;
2802
+ declare const MsgResolveChallengeResponse: MessageFns$i<MsgResolveChallengeResponse>;
2676
2803
  interface MsgPauseRollup {
2677
2804
  creator: string;
2678
2805
  rollupId: string;
2679
2806
  reason: string;
2680
2807
  }
2681
- declare const MsgPauseRollup: MessageFns$f<MsgPauseRollup>;
2808
+ declare const MsgPauseRollup: MessageFns$i<MsgPauseRollup>;
2682
2809
  interface MsgPauseRollupResponse {
2683
2810
  }
2684
- declare const MsgPauseRollupResponse: MessageFns$f<MsgPauseRollupResponse>;
2811
+ declare const MsgPauseRollupResponse: MessageFns$i<MsgPauseRollupResponse>;
2685
2812
  interface MsgResumeRollup {
2686
2813
  creator: string;
2687
2814
  rollupId: string;
2688
2815
  }
2689
- declare const MsgResumeRollup: MessageFns$f<MsgResumeRollup>;
2816
+ declare const MsgResumeRollup: MessageFns$i<MsgResumeRollup>;
2690
2817
  interface MsgResumeRollupResponse {
2691
2818
  }
2692
- declare const MsgResumeRollupResponse: MessageFns$f<MsgResumeRollupResponse>;
2819
+ declare const MsgResumeRollupResponse: MessageFns$i<MsgResumeRollupResponse>;
2693
2820
  interface MsgStopRollup {
2694
2821
  creator: string;
2695
2822
  rollupId: string;
2696
2823
  }
2697
- declare const MsgStopRollup: MessageFns$f<MsgStopRollup>;
2824
+ declare const MsgStopRollup: MessageFns$i<MsgStopRollup>;
2698
2825
  interface MsgStopRollupResponse {
2699
2826
  }
2700
- declare const MsgStopRollupResponse: MessageFns$f<MsgStopRollupResponse>;
2827
+ declare const MsgStopRollupResponse: MessageFns$i<MsgStopRollupResponse>;
2828
+ /**
2829
+ * MsgExecuteWithdrawal finalizes an L2->L1 cross-layer message: it proves a
2830
+ * withdrawal leaf is committed in a finalized batch's withdrawals_root and pays
2831
+ * the recipient from the rdk module escrow. Permissionless — anyone may submit a
2832
+ * valid proof; the funds always go to the committed recipient. Replay-protected
2833
+ * per (rollup_id, batch_index, withdrawal_index).
2834
+ */
2835
+ interface MsgExecuteWithdrawal {
2836
+ submitter: string;
2837
+ rollupId: string;
2838
+ batchIndex: string;
2839
+ withdrawalIndex: string;
2840
+ recipient: string;
2841
+ denom: string;
2842
+ amount: string;
2843
+ /** proof are the binary-Merkle sibling hashes from the leaf to withdrawals_root. */
2844
+ proof: Uint8Array[];
2845
+ }
2846
+ declare const MsgExecuteWithdrawal: MessageFns$i<MsgExecuteWithdrawal>;
2847
+ interface MsgExecuteWithdrawalResponse {
2848
+ }
2849
+ declare const MsgExecuteWithdrawalResponse: MessageFns$i<MsgExecuteWithdrawalResponse>;
2701
2850
  /** Msg defines the rdk module's transaction service. */
2702
2851
  type MsgDefinition$8 = typeof MsgDefinition$8;
2703
2852
  declare const MsgDefinition$8: {
@@ -2760,25 +2909,35 @@ declare const MsgDefinition$8: {
2760
2909
  readonly responseStream: false;
2761
2910
  readonly options: {};
2762
2911
  };
2912
+ readonly executeWithdrawal: {
2913
+ readonly name: "ExecuteWithdrawal";
2914
+ readonly requestType: typeof MsgExecuteWithdrawal;
2915
+ readonly requestStream: false;
2916
+ readonly responseType: typeof MsgExecuteWithdrawalResponse;
2917
+ readonly responseStream: false;
2918
+ readonly options: {};
2919
+ };
2763
2920
  };
2764
2921
  };
2765
- type Builtin$f = Date | Function | Uint8Array | string | number | boolean | undefined;
2766
- 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 {} ? {
2767
- [K in keyof T]?: DeepPartial$f<T[K]>;
2922
+ type Builtin$i = Date | Function | Uint8Array | string | number | boolean | undefined;
2923
+ 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 {} ? {
2924
+ [K in keyof T]?: DeepPartial$i<T[K]>;
2768
2925
  } : Partial<T>;
2769
- interface MessageFns$f<T> {
2926
+ interface MessageFns$i<T> {
2770
2927
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2771
2928
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2772
2929
  fromJSON(object: any): T;
2773
2930
  toJSON(message: T): unknown;
2774
- create(base?: DeepPartial$f<T>): T;
2775
- fromPartial(object: DeepPartial$f<T>): T;
2931
+ create(base?: DeepPartial$i<T>): T;
2932
+ fromPartial(object: DeepPartial$i<T>): T;
2776
2933
  }
2777
2934
 
2778
2935
  declare const tx$8_MsgChallengeBatch: typeof MsgChallengeBatch;
2779
2936
  declare const tx$8_MsgChallengeBatchResponse: typeof MsgChallengeBatchResponse;
2780
2937
  declare const tx$8_MsgCreateRollup: typeof MsgCreateRollup;
2781
2938
  declare const tx$8_MsgCreateRollupResponse: typeof MsgCreateRollupResponse;
2939
+ declare const tx$8_MsgExecuteWithdrawal: typeof MsgExecuteWithdrawal;
2940
+ declare const tx$8_MsgExecuteWithdrawalResponse: typeof MsgExecuteWithdrawalResponse;
2782
2941
  declare const tx$8_MsgPauseRollup: typeof MsgPauseRollup;
2783
2942
  declare const tx$8_MsgPauseRollupResponse: typeof MsgPauseRollupResponse;
2784
2943
  declare const tx$8_MsgResolveChallenge: typeof MsgResolveChallenge;
@@ -2790,10 +2949,10 @@ declare const tx$8_MsgStopRollupResponse: typeof MsgStopRollupResponse;
2790
2949
  declare const tx$8_MsgSubmitBatch: typeof MsgSubmitBatch;
2791
2950
  declare const tx$8_MsgSubmitBatchResponse: typeof MsgSubmitBatchResponse;
2792
2951
  declare namespace tx$8 {
2793
- export { type DeepPartial$f as DeepPartial, type MessageFns$f as MessageFns, tx$8_MsgChallengeBatch as MsgChallengeBatch, tx$8_MsgChallengeBatchResponse as MsgChallengeBatchResponse, tx$8_MsgCreateRollup as MsgCreateRollup, tx$8_MsgCreateRollupResponse as MsgCreateRollupResponse, MsgDefinition$8 as MsgDefinition, tx$8_MsgPauseRollup as MsgPauseRollup, tx$8_MsgPauseRollupResponse as MsgPauseRollupResponse, tx$8_MsgResolveChallenge as MsgResolveChallenge, tx$8_MsgResolveChallengeResponse as MsgResolveChallengeResponse, tx$8_MsgResumeRollup as MsgResumeRollup, tx$8_MsgResumeRollupResponse as MsgResumeRollupResponse, tx$8_MsgStopRollup as MsgStopRollup, tx$8_MsgStopRollupResponse as MsgStopRollupResponse, tx$8_MsgSubmitBatch as MsgSubmitBatch, tx$8_MsgSubmitBatchResponse as MsgSubmitBatchResponse, protobufPackage$f as protobufPackage };
2952
+ export { type DeepPartial$i as DeepPartial, type MessageFns$i as MessageFns, tx$8_MsgChallengeBatch as MsgChallengeBatch, tx$8_MsgChallengeBatchResponse as MsgChallengeBatchResponse, tx$8_MsgCreateRollup as MsgCreateRollup, tx$8_MsgCreateRollupResponse as MsgCreateRollupResponse, MsgDefinition$8 as MsgDefinition, tx$8_MsgExecuteWithdrawal as MsgExecuteWithdrawal, tx$8_MsgExecuteWithdrawalResponse as MsgExecuteWithdrawalResponse, tx$8_MsgPauseRollup as MsgPauseRollup, tx$8_MsgPauseRollupResponse as MsgPauseRollupResponse, tx$8_MsgResolveChallenge as MsgResolveChallenge, tx$8_MsgResolveChallengeResponse as MsgResolveChallengeResponse, tx$8_MsgResumeRollup as MsgResumeRollup, tx$8_MsgResumeRollupResponse as MsgResumeRollupResponse, tx$8_MsgStopRollup as MsgStopRollup, tx$8_MsgStopRollupResponse as MsgStopRollupResponse, tx$8_MsgSubmitBatch as MsgSubmitBatch, tx$8_MsgSubmitBatchResponse as MsgSubmitBatchResponse, protobufPackage$i as protobufPackage };
2794
2953
  }
2795
2954
 
2796
- declare const protobufPackage$e = "qorechain.multilayer.v1";
2955
+ declare const protobufPackage$h = "qorechain.multilayer.v1";
2797
2956
  interface MsgRegisterSidechain {
2798
2957
  creator: string;
2799
2958
  layerId: string;
@@ -2805,13 +2964,13 @@ interface MsgRegisterSidechain {
2805
2964
  supportedVmTypes: string[];
2806
2965
  supportedDomains: string[];
2807
2966
  }
2808
- declare const MsgRegisterSidechain: MessageFns$e<MsgRegisterSidechain>;
2967
+ declare const MsgRegisterSidechain: MessageFns$h<MsgRegisterSidechain>;
2809
2968
  interface MsgRegisterSidechainResponse {
2810
2969
  layerId: string;
2811
2970
  chainId: string;
2812
2971
  status: string;
2813
2972
  }
2814
- declare const MsgRegisterSidechainResponse: MessageFns$e<MsgRegisterSidechainResponse>;
2973
+ declare const MsgRegisterSidechainResponse: MessageFns$h<MsgRegisterSidechainResponse>;
2815
2974
  interface MsgRegisterPaychain {
2816
2975
  creator: string;
2817
2976
  layerId: string;
@@ -2820,12 +2979,12 @@ interface MsgRegisterPaychain {
2820
2979
  settlementIntervalBlocks: string;
2821
2980
  baseFeeMultiplier: string;
2822
2981
  }
2823
- declare const MsgRegisterPaychain: MessageFns$e<MsgRegisterPaychain>;
2982
+ declare const MsgRegisterPaychain: MessageFns$h<MsgRegisterPaychain>;
2824
2983
  interface MsgRegisterPaychainResponse {
2825
2984
  layerId: string;
2826
2985
  status: string;
2827
2986
  }
2828
- declare const MsgRegisterPaychainResponse: MessageFns$e<MsgRegisterPaychainResponse>;
2987
+ declare const MsgRegisterPaychainResponse: MessageFns$h<MsgRegisterPaychainResponse>;
2829
2988
  interface MsgAnchorState {
2830
2989
  relayer: string;
2831
2990
  layerId: string;
@@ -2836,12 +2995,12 @@ interface MsgAnchorState {
2836
2995
  transactionCount: string;
2837
2996
  compressedStateProof: Uint8Array;
2838
2997
  }
2839
- declare const MsgAnchorState: MessageFns$e<MsgAnchorState>;
2998
+ declare const MsgAnchorState: MessageFns$h<MsgAnchorState>;
2840
2999
  interface MsgAnchorStateResponse {
2841
3000
  mainChainHeight: string;
2842
3001
  accepted: boolean;
2843
3002
  }
2844
- declare const MsgAnchorStateResponse: MessageFns$e<MsgAnchorStateResponse>;
3003
+ declare const MsgAnchorStateResponse: MessageFns$h<MsgAnchorStateResponse>;
2845
3004
  interface MsgRouteTransaction {
2846
3005
  sender: string;
2847
3006
  transactionPayload: Uint8Array;
@@ -2849,23 +3008,23 @@ interface MsgRouteTransaction {
2849
3008
  maxLatencyMs: string;
2850
3009
  maxFee: string;
2851
3010
  }
2852
- declare const MsgRouteTransaction: MessageFns$e<MsgRouteTransaction>;
3011
+ declare const MsgRouteTransaction: MessageFns$h<MsgRouteTransaction>;
2853
3012
  interface MsgRouteTransactionResponse {
2854
3013
  selectedLayer: string;
2855
3014
  reason: string;
2856
3015
  crossLayerMessageId: string;
2857
3016
  }
2858
- declare const MsgRouteTransactionResponse: MessageFns$e<MsgRouteTransactionResponse>;
3017
+ declare const MsgRouteTransactionResponse: MessageFns$h<MsgRouteTransactionResponse>;
2859
3018
  interface MsgUpdateLayerStatus {
2860
3019
  authority: string;
2861
3020
  layerId: string;
2862
3021
  newStatus: string;
2863
3022
  reason: string;
2864
3023
  }
2865
- declare const MsgUpdateLayerStatus: MessageFns$e<MsgUpdateLayerStatus>;
3024
+ declare const MsgUpdateLayerStatus: MessageFns$h<MsgUpdateLayerStatus>;
2866
3025
  interface MsgUpdateLayerStatusResponse {
2867
3026
  }
2868
- declare const MsgUpdateLayerStatusResponse: MessageFns$e<MsgUpdateLayerStatusResponse>;
3027
+ declare const MsgUpdateLayerStatusResponse: MessageFns$h<MsgUpdateLayerStatusResponse>;
2869
3028
  interface MsgChallengeAnchor {
2870
3029
  challenger: string;
2871
3030
  layerId: string;
@@ -2873,12 +3032,12 @@ interface MsgChallengeAnchor {
2873
3032
  fraudProof: Uint8Array;
2874
3033
  challengeReason: string;
2875
3034
  }
2876
- declare const MsgChallengeAnchor: MessageFns$e<MsgChallengeAnchor>;
3035
+ declare const MsgChallengeAnchor: MessageFns$h<MsgChallengeAnchor>;
2877
3036
  interface MsgChallengeAnchorResponse {
2878
3037
  challengeAccepted: boolean;
2879
3038
  resolution: string;
2880
3039
  }
2881
- declare const MsgChallengeAnchorResponse: MessageFns$e<MsgChallengeAnchorResponse>;
3040
+ declare const MsgChallengeAnchorResponse: MessageFns$h<MsgChallengeAnchorResponse>;
2882
3041
  type MsgDefinition$7 = typeof MsgDefinition$7;
2883
3042
  declare const MsgDefinition$7: {
2884
3043
  readonly name: "Msg";
@@ -2934,17 +3093,17 @@ declare const MsgDefinition$7: {
2934
3093
  };
2935
3094
  };
2936
3095
  };
2937
- type Builtin$e = Date | Function | Uint8Array | string | number | boolean | undefined;
2938
- 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 {} ? {
2939
- [K in keyof T]?: DeepPartial$e<T[K]>;
3096
+ type Builtin$h = Date | Function | Uint8Array | string | number | boolean | undefined;
3097
+ 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 {} ? {
3098
+ [K in keyof T]?: DeepPartial$h<T[K]>;
2940
3099
  } : Partial<T>;
2941
- interface MessageFns$e<T> {
3100
+ interface MessageFns$h<T> {
2942
3101
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2943
3102
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2944
3103
  fromJSON(object: any): T;
2945
3104
  toJSON(message: T): unknown;
2946
- create(base?: DeepPartial$e<T>): T;
2947
- fromPartial(object: DeepPartial$e<T>): T;
3105
+ create(base?: DeepPartial$h<T>): T;
3106
+ fromPartial(object: DeepPartial$h<T>): T;
2948
3107
  }
2949
3108
 
2950
3109
  declare const tx$7_MsgAnchorState: typeof MsgAnchorState;
@@ -2960,10 +3119,10 @@ declare const tx$7_MsgRouteTransactionResponse: typeof MsgRouteTransactionRespon
2960
3119
  declare const tx$7_MsgUpdateLayerStatus: typeof MsgUpdateLayerStatus;
2961
3120
  declare const tx$7_MsgUpdateLayerStatusResponse: typeof MsgUpdateLayerStatusResponse;
2962
3121
  declare namespace tx$7 {
2963
- export { type DeepPartial$e as DeepPartial, type MessageFns$e as MessageFns, tx$7_MsgAnchorState as MsgAnchorState, tx$7_MsgAnchorStateResponse as MsgAnchorStateResponse, tx$7_MsgChallengeAnchor as MsgChallengeAnchor, tx$7_MsgChallengeAnchorResponse as MsgChallengeAnchorResponse, MsgDefinition$7 as MsgDefinition, tx$7_MsgRegisterPaychain as MsgRegisterPaychain, tx$7_MsgRegisterPaychainResponse as MsgRegisterPaychainResponse, tx$7_MsgRegisterSidechain as MsgRegisterSidechain, tx$7_MsgRegisterSidechainResponse as MsgRegisterSidechainResponse, tx$7_MsgRouteTransaction as MsgRouteTransaction, tx$7_MsgRouteTransactionResponse as MsgRouteTransactionResponse, tx$7_MsgUpdateLayerStatus as MsgUpdateLayerStatus, tx$7_MsgUpdateLayerStatusResponse as MsgUpdateLayerStatusResponse, protobufPackage$e as protobufPackage };
3122
+ export { type DeepPartial$h as DeepPartial, type MessageFns$h as MessageFns, tx$7_MsgAnchorState as MsgAnchorState, tx$7_MsgAnchorStateResponse as MsgAnchorStateResponse, tx$7_MsgChallengeAnchor as MsgChallengeAnchor, tx$7_MsgChallengeAnchorResponse as MsgChallengeAnchorResponse, MsgDefinition$7 as MsgDefinition, tx$7_MsgRegisterPaychain as MsgRegisterPaychain, tx$7_MsgRegisterPaychainResponse as MsgRegisterPaychainResponse, tx$7_MsgRegisterSidechain as MsgRegisterSidechain, tx$7_MsgRegisterSidechainResponse as MsgRegisterSidechainResponse, tx$7_MsgRouteTransaction as MsgRouteTransaction, tx$7_MsgRouteTransactionResponse as MsgRouteTransactionResponse, tx$7_MsgUpdateLayerStatus as MsgUpdateLayerStatus, tx$7_MsgUpdateLayerStatusResponse as MsgUpdateLayerStatusResponse, protobufPackage$h as protobufPackage };
2964
3123
  }
2965
3124
 
2966
- declare const protobufPackage$d = "qorechain.pqc.v1";
3125
+ declare const protobufPackage$g = "qorechain.pqc.v1";
2967
3126
  /**
2968
3127
  * MsgRegisterPQCKey registers a PQC keypair for an account.
2969
3128
  * Deprecated: use MsgRegisterPQCKeyV2 which includes algorithm_id.
@@ -2974,10 +3133,10 @@ interface MsgRegisterPQCKey {
2974
3133
  ecdsaPubkey: Uint8Array;
2975
3134
  keyType: string;
2976
3135
  }
2977
- declare const MsgRegisterPQCKey: MessageFns$d<MsgRegisterPQCKey>;
3136
+ declare const MsgRegisterPQCKey: MessageFns$g<MsgRegisterPQCKey>;
2978
3137
  interface MsgRegisterPQCKeyResponse {
2979
3138
  }
2980
- declare const MsgRegisterPQCKeyResponse: MessageFns$d<MsgRegisterPQCKeyResponse>;
3139
+ declare const MsgRegisterPQCKeyResponse: MessageFns$g<MsgRegisterPQCKeyResponse>;
2981
3140
  /** MsgRegisterPQCKeyV2 registers a PQC key with explicit algorithm selection. */
2982
3141
  interface MsgRegisterPQCKeyV2 {
2983
3142
  sender: string;
@@ -2986,10 +3145,10 @@ interface MsgRegisterPQCKeyV2 {
2986
3145
  ecdsaPubkey: Uint8Array;
2987
3146
  keyType: string;
2988
3147
  }
2989
- declare const MsgRegisterPQCKeyV2: MessageFns$d<MsgRegisterPQCKeyV2>;
3148
+ declare const MsgRegisterPQCKeyV2: MessageFns$g<MsgRegisterPQCKeyV2>;
2990
3149
  interface MsgRegisterPQCKeyV2Response {
2991
3150
  }
2992
- declare const MsgRegisterPQCKeyV2Response: MessageFns$d<MsgRegisterPQCKeyV2Response>;
3151
+ declare const MsgRegisterPQCKeyV2Response: MessageFns$g<MsgRegisterPQCKeyV2Response>;
2993
3152
  /** MsgMigratePQCKey migrates an account's PQC key, proving ownership of both keys. */
2994
3153
  interface MsgMigratePQCKey {
2995
3154
  sender: string;
@@ -2999,10 +3158,10 @@ interface MsgMigratePQCKey {
2999
3158
  oldSignature: Uint8Array;
3000
3159
  newSignature: Uint8Array;
3001
3160
  }
3002
- declare const MsgMigratePQCKey: MessageFns$d<MsgMigratePQCKey>;
3161
+ declare const MsgMigratePQCKey: MessageFns$g<MsgMigratePQCKey>;
3003
3162
  interface MsgMigratePQCKeyResponse {
3004
3163
  }
3005
- declare const MsgMigratePQCKeyResponse: MessageFns$d<MsgMigratePQCKeyResponse>;
3164
+ declare const MsgMigratePQCKeyResponse: MessageFns$g<MsgMigratePQCKeyResponse>;
3006
3165
  /** MsgDeprecateAlgorithm proposes deprecating an algorithm (starts migration period). */
3007
3166
  interface MsgDeprecateAlgorithm {
3008
3167
  authority: string;
@@ -3010,20 +3169,20 @@ interface MsgDeprecateAlgorithm {
3010
3169
  migrationBlocks: string;
3011
3170
  replacementAlgorithmId: number;
3012
3171
  }
3013
- declare const MsgDeprecateAlgorithm: MessageFns$d<MsgDeprecateAlgorithm>;
3172
+ declare const MsgDeprecateAlgorithm: MessageFns$g<MsgDeprecateAlgorithm>;
3014
3173
  interface MsgDeprecateAlgorithmResponse {
3015
3174
  }
3016
- declare const MsgDeprecateAlgorithmResponse: MessageFns$d<MsgDeprecateAlgorithmResponse>;
3175
+ declare const MsgDeprecateAlgorithmResponse: MessageFns$g<MsgDeprecateAlgorithmResponse>;
3017
3176
  /** MsgDisableAlgorithm emergency-disables an algorithm (e.g., vulnerability discovered). */
3018
3177
  interface MsgDisableAlgorithm {
3019
3178
  authority: string;
3020
3179
  algorithmId: number;
3021
3180
  reason: string;
3022
3181
  }
3023
- declare const MsgDisableAlgorithm: MessageFns$d<MsgDisableAlgorithm>;
3182
+ declare const MsgDisableAlgorithm: MessageFns$g<MsgDisableAlgorithm>;
3024
3183
  interface MsgDisableAlgorithmResponse {
3025
3184
  }
3026
- declare const MsgDisableAlgorithmResponse: MessageFns$d<MsgDisableAlgorithmResponse>;
3185
+ declare const MsgDisableAlgorithmResponse: MessageFns$g<MsgDisableAlgorithmResponse>;
3027
3186
  /** Msg defines the PQC module's transaction service. */
3028
3187
  type MsgDefinition$6 = typeof MsgDefinition$6;
3029
3188
  declare const MsgDefinition$6: {
@@ -3077,17 +3236,17 @@ declare const MsgDefinition$6: {
3077
3236
  };
3078
3237
  };
3079
3238
  };
3080
- type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
3081
- 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 {} ? {
3082
- [K in keyof T]?: DeepPartial$d<T[K]>;
3239
+ type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
3240
+ 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 {} ? {
3241
+ [K in keyof T]?: DeepPartial$g<T[K]>;
3083
3242
  } : Partial<T>;
3084
- interface MessageFns$d<T> {
3243
+ interface MessageFns$g<T> {
3085
3244
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3086
3245
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3087
3246
  fromJSON(object: any): T;
3088
3247
  toJSON(message: T): unknown;
3089
- create(base?: DeepPartial$d<T>): T;
3090
- fromPartial(object: DeepPartial$d<T>): T;
3248
+ create(base?: DeepPartial$g<T>): T;
3249
+ fromPartial(object: DeepPartial$g<T>): T;
3091
3250
  }
3092
3251
 
3093
3252
  declare const tx$6_MsgDeprecateAlgorithm: typeof MsgDeprecateAlgorithm;
@@ -3101,19 +3260,19 @@ declare const tx$6_MsgRegisterPQCKeyResponse: typeof MsgRegisterPQCKeyResponse;
3101
3260
  declare const tx$6_MsgRegisterPQCKeyV2: typeof MsgRegisterPQCKeyV2;
3102
3261
  declare const tx$6_MsgRegisterPQCKeyV2Response: typeof MsgRegisterPQCKeyV2Response;
3103
3262
  declare namespace tx$6 {
3104
- export { type DeepPartial$d as DeepPartial, type MessageFns$d 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$d as protobufPackage };
3263
+ 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 };
3105
3264
  }
3106
3265
 
3107
- declare const protobufPackage$c = "qorechain.svm.v1";
3266
+ declare const protobufPackage$f = "qorechain.svm.v1";
3108
3267
  interface MsgDeployProgram {
3109
3268
  sender: string;
3110
3269
  bytecode: Uint8Array;
3111
3270
  }
3112
- declare const MsgDeployProgram: MessageFns$c<MsgDeployProgram>;
3271
+ declare const MsgDeployProgram: MessageFns$f<MsgDeployProgram>;
3113
3272
  interface MsgDeployProgramResponse {
3114
3273
  programId: Uint8Array;
3115
3274
  }
3116
- declare const MsgDeployProgramResponse: MessageFns$c<MsgDeployProgramResponse>;
3275
+ declare const MsgDeployProgramResponse: MessageFns$f<MsgDeployProgramResponse>;
3117
3276
  interface MsgCreateAccount {
3118
3277
  sender: string;
3119
3278
  owner: Uint8Array;
@@ -3121,36 +3280,36 @@ interface MsgCreateAccount {
3121
3280
  lamports: string;
3122
3281
  salt: Uint8Array;
3123
3282
  }
3124
- declare const MsgCreateAccount: MessageFns$c<MsgCreateAccount>;
3283
+ declare const MsgCreateAccount: MessageFns$f<MsgCreateAccount>;
3125
3284
  interface MsgCreateAccountResponse {
3126
3285
  }
3127
- declare const MsgCreateAccountResponse: MessageFns$c<MsgCreateAccountResponse>;
3286
+ declare const MsgCreateAccountResponse: MessageFns$f<MsgCreateAccountResponse>;
3128
3287
  interface SvmAccountMeta {
3129
3288
  address: Uint8Array;
3130
3289
  isSigner: boolean;
3131
3290
  isWritable: boolean;
3132
3291
  }
3133
- declare const SvmAccountMeta: MessageFns$c<SvmAccountMeta>;
3292
+ declare const SvmAccountMeta: MessageFns$f<SvmAccountMeta>;
3134
3293
  interface MsgExecuteProgram {
3135
3294
  sender: string;
3136
3295
  programId: Uint8Array;
3137
3296
  accounts: SvmAccountMeta[];
3138
3297
  data: Uint8Array;
3139
3298
  }
3140
- declare const MsgExecuteProgram: MessageFns$c<MsgExecuteProgram>;
3299
+ declare const MsgExecuteProgram: MessageFns$f<MsgExecuteProgram>;
3141
3300
  interface MsgExecuteProgramResponse {
3142
3301
  result: Uint8Array;
3143
3302
  }
3144
- declare const MsgExecuteProgramResponse: MessageFns$c<MsgExecuteProgramResponse>;
3303
+ declare const MsgExecuteProgramResponse: MessageFns$f<MsgExecuteProgramResponse>;
3145
3304
  interface MsgRegisterSVMPQCKey {
3146
3305
  sender: string;
3147
3306
  svmAddr: Uint8Array;
3148
3307
  pqcPubKey: Uint8Array;
3149
3308
  }
3150
- declare const MsgRegisterSVMPQCKey: MessageFns$c<MsgRegisterSVMPQCKey>;
3309
+ declare const MsgRegisterSVMPQCKey: MessageFns$f<MsgRegisterSVMPQCKey>;
3151
3310
  interface MsgRegisterSVMPQCKeyResponse {
3152
3311
  }
3153
- declare const MsgRegisterSVMPQCKeyResponse: MessageFns$c<MsgRegisterSVMPQCKeyResponse>;
3312
+ declare const MsgRegisterSVMPQCKeyResponse: MessageFns$f<MsgRegisterSVMPQCKeyResponse>;
3154
3313
  type MsgDefinition$5 = typeof MsgDefinition$5;
3155
3314
  declare const MsgDefinition$5: {
3156
3315
  readonly name: "Msg";
@@ -3190,17 +3349,17 @@ declare const MsgDefinition$5: {
3190
3349
  };
3191
3350
  };
3192
3351
  };
3193
- type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
3194
- 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 {} ? {
3195
- [K in keyof T]?: DeepPartial$c<T[K]>;
3352
+ type Builtin$f = Date | Function | Uint8Array | string | number | boolean | undefined;
3353
+ 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 {} ? {
3354
+ [K in keyof T]?: DeepPartial$f<T[K]>;
3196
3355
  } : Partial<T>;
3197
- interface MessageFns$c<T> {
3356
+ interface MessageFns$f<T> {
3198
3357
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3199
3358
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3200
3359
  fromJSON(object: any): T;
3201
3360
  toJSON(message: T): unknown;
3202
- create(base?: DeepPartial$c<T>): T;
3203
- fromPartial(object: DeepPartial$c<T>): T;
3361
+ create(base?: DeepPartial$f<T>): T;
3362
+ fromPartial(object: DeepPartial$f<T>): T;
3204
3363
  }
3205
3364
 
3206
3365
  declare const tx$5_MsgCreateAccount: typeof MsgCreateAccount;
@@ -3213,41 +3372,41 @@ declare const tx$5_MsgRegisterSVMPQCKey: typeof MsgRegisterSVMPQCKey;
3213
3372
  declare const tx$5_MsgRegisterSVMPQCKeyResponse: typeof MsgRegisterSVMPQCKeyResponse;
3214
3373
  declare const tx$5_SvmAccountMeta: typeof SvmAccountMeta;
3215
3374
  declare namespace tx$5 {
3216
- export { type DeepPartial$c as DeepPartial, type MessageFns$c as MessageFns, tx$5_MsgCreateAccount as MsgCreateAccount, tx$5_MsgCreateAccountResponse as MsgCreateAccountResponse, MsgDefinition$5 as MsgDefinition, tx$5_MsgDeployProgram as MsgDeployProgram, tx$5_MsgDeployProgramResponse as MsgDeployProgramResponse, tx$5_MsgExecuteProgram as MsgExecuteProgram, tx$5_MsgExecuteProgramResponse as MsgExecuteProgramResponse, tx$5_MsgRegisterSVMPQCKey as MsgRegisterSVMPQCKey, tx$5_MsgRegisterSVMPQCKeyResponse as MsgRegisterSVMPQCKeyResponse, tx$5_SvmAccountMeta as SvmAccountMeta, protobufPackage$c as protobufPackage };
3375
+ export { type DeepPartial$f as DeepPartial, type MessageFns$f as MessageFns, tx$5_MsgCreateAccount as MsgCreateAccount, tx$5_MsgCreateAccountResponse as MsgCreateAccountResponse, MsgDefinition$5 as MsgDefinition, tx$5_MsgDeployProgram as MsgDeployProgram, tx$5_MsgDeployProgramResponse as MsgDeployProgramResponse, tx$5_MsgExecuteProgram as MsgExecuteProgram, tx$5_MsgExecuteProgramResponse as MsgExecuteProgramResponse, tx$5_MsgRegisterSVMPQCKey as MsgRegisterSVMPQCKey, tx$5_MsgRegisterSVMPQCKeyResponse as MsgRegisterSVMPQCKeyResponse, tx$5_SvmAccountMeta as SvmAccountMeta, protobufPackage$f as protobufPackage };
3217
3376
  }
3218
3377
 
3219
- declare const protobufPackage$b = "qorechain.lightnode.v1";
3378
+ declare const protobufPackage$e = "qorechain.lightnode.v1";
3220
3379
  interface MsgRegisterLightNode {
3221
3380
  operator: string;
3222
3381
  nodeType: string;
3223
3382
  version: string;
3224
3383
  capabilities: string[];
3225
3384
  }
3226
- declare const MsgRegisterLightNode: MessageFns$b<MsgRegisterLightNode>;
3385
+ declare const MsgRegisterLightNode: MessageFns$e<MsgRegisterLightNode>;
3227
3386
  interface MsgRegisterLightNodeResponse {
3228
3387
  }
3229
- declare const MsgRegisterLightNodeResponse: MessageFns$b<MsgRegisterLightNodeResponse>;
3388
+ declare const MsgRegisterLightNodeResponse: MessageFns$e<MsgRegisterLightNodeResponse>;
3230
3389
  interface MsgHeartbeat {
3231
3390
  operator: string;
3232
3391
  }
3233
- declare const MsgHeartbeat: MessageFns$b<MsgHeartbeat>;
3392
+ declare const MsgHeartbeat: MessageFns$e<MsgHeartbeat>;
3234
3393
  interface MsgHeartbeatResponse {
3235
3394
  }
3236
- declare const MsgHeartbeatResponse: MessageFns$b<MsgHeartbeatResponse>;
3395
+ declare const MsgHeartbeatResponse: MessageFns$e<MsgHeartbeatResponse>;
3237
3396
  interface MsgDeregisterLightNode {
3238
3397
  operator: string;
3239
3398
  }
3240
- declare const MsgDeregisterLightNode: MessageFns$b<MsgDeregisterLightNode>;
3399
+ declare const MsgDeregisterLightNode: MessageFns$e<MsgDeregisterLightNode>;
3241
3400
  interface MsgDeregisterLightNodeResponse {
3242
3401
  }
3243
- declare const MsgDeregisterLightNodeResponse: MessageFns$b<MsgDeregisterLightNodeResponse>;
3402
+ declare const MsgDeregisterLightNodeResponse: MessageFns$e<MsgDeregisterLightNodeResponse>;
3244
3403
  interface MsgClaimLightNodeRewards {
3245
3404
  operator: string;
3246
3405
  }
3247
- declare const MsgClaimLightNodeRewards: MessageFns$b<MsgClaimLightNodeRewards>;
3406
+ declare const MsgClaimLightNodeRewards: MessageFns$e<MsgClaimLightNodeRewards>;
3248
3407
  interface MsgClaimLightNodeRewardsResponse {
3249
3408
  }
3250
- declare const MsgClaimLightNodeRewardsResponse: MessageFns$b<MsgClaimLightNodeRewardsResponse>;
3409
+ declare const MsgClaimLightNodeRewardsResponse: MessageFns$e<MsgClaimLightNodeRewardsResponse>;
3251
3410
  /** Msg defines the lightnode module's transaction service. */
3252
3411
  type MsgDefinition$4 = typeof MsgDefinition$4;
3253
3412
  declare const MsgDefinition$4: {
@@ -3288,17 +3447,17 @@ declare const MsgDefinition$4: {
3288
3447
  };
3289
3448
  };
3290
3449
  };
3291
- type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
3292
- 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 {} ? {
3293
- [K in keyof T]?: DeepPartial$b<T[K]>;
3450
+ type Builtin$e = Date | Function | Uint8Array | string | number | boolean | undefined;
3451
+ 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 {} ? {
3452
+ [K in keyof T]?: DeepPartial$e<T[K]>;
3294
3453
  } : Partial<T>;
3295
- interface MessageFns$b<T> {
3454
+ interface MessageFns$e<T> {
3296
3455
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3297
3456
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3298
3457
  fromJSON(object: any): T;
3299
3458
  toJSON(message: T): unknown;
3300
- create(base?: DeepPartial$b<T>): T;
3301
- fromPartial(object: DeepPartial$b<T>): T;
3459
+ create(base?: DeepPartial$e<T>): T;
3460
+ fromPartial(object: DeepPartial$e<T>): T;
3302
3461
  }
3303
3462
 
3304
3463
  declare const tx$4_MsgClaimLightNodeRewards: typeof MsgClaimLightNodeRewards;
@@ -3310,10 +3469,10 @@ declare const tx$4_MsgHeartbeatResponse: typeof MsgHeartbeatResponse;
3310
3469
  declare const tx$4_MsgRegisterLightNode: typeof MsgRegisterLightNode;
3311
3470
  declare const tx$4_MsgRegisterLightNodeResponse: typeof MsgRegisterLightNodeResponse;
3312
3471
  declare namespace tx$4 {
3313
- export { type DeepPartial$b as DeepPartial, type MessageFns$b 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$b as protobufPackage };
3472
+ export { type DeepPartial$e as DeepPartial, type MessageFns$e as MessageFns, tx$4_MsgClaimLightNodeRewards as MsgClaimLightNodeRewards, tx$4_MsgClaimLightNodeRewardsResponse as MsgClaimLightNodeRewardsResponse, MsgDefinition$4 as MsgDefinition, tx$4_MsgDeregisterLightNode as MsgDeregisterLightNode, tx$4_MsgDeregisterLightNodeResponse as MsgDeregisterLightNodeResponse, tx$4_MsgHeartbeat as MsgHeartbeat, tx$4_MsgHeartbeatResponse as MsgHeartbeatResponse, tx$4_MsgRegisterLightNode as MsgRegisterLightNode, tx$4_MsgRegisterLightNodeResponse as MsgRegisterLightNodeResponse, protobufPackage$e as protobufPackage };
3314
3473
  }
3315
3474
 
3316
- declare const protobufPackage$a = "qorechain.license.v1";
3475
+ declare const protobufPackage$d = "qorechain.license.v1";
3317
3476
  interface MsgGrantLicense {
3318
3477
  authority: string;
3319
3478
  grantee: string;
@@ -3321,37 +3480,37 @@ interface MsgGrantLicense {
3321
3480
  expiresAt: string;
3322
3481
  metadata: string;
3323
3482
  }
3324
- declare const MsgGrantLicense: MessageFns$a<MsgGrantLicense>;
3483
+ declare const MsgGrantLicense: MessageFns$d<MsgGrantLicense>;
3325
3484
  interface MsgGrantLicenseResponse {
3326
3485
  }
3327
- declare const MsgGrantLicenseResponse: MessageFns$a<MsgGrantLicenseResponse>;
3486
+ declare const MsgGrantLicenseResponse: MessageFns$d<MsgGrantLicenseResponse>;
3328
3487
  interface MsgRevokeLicense {
3329
3488
  authority: string;
3330
3489
  grantee: string;
3331
3490
  featureId: string;
3332
3491
  }
3333
- declare const MsgRevokeLicense: MessageFns$a<MsgRevokeLicense>;
3492
+ declare const MsgRevokeLicense: MessageFns$d<MsgRevokeLicense>;
3334
3493
  interface MsgRevokeLicenseResponse {
3335
3494
  }
3336
- declare const MsgRevokeLicenseResponse: MessageFns$a<MsgRevokeLicenseResponse>;
3495
+ declare const MsgRevokeLicenseResponse: MessageFns$d<MsgRevokeLicenseResponse>;
3337
3496
  interface MsgSuspendLicense {
3338
3497
  authority: string;
3339
3498
  grantee: string;
3340
3499
  featureId: string;
3341
3500
  }
3342
- declare const MsgSuspendLicense: MessageFns$a<MsgSuspendLicense>;
3501
+ declare const MsgSuspendLicense: MessageFns$d<MsgSuspendLicense>;
3343
3502
  interface MsgSuspendLicenseResponse {
3344
3503
  }
3345
- declare const MsgSuspendLicenseResponse: MessageFns$a<MsgSuspendLicenseResponse>;
3504
+ declare const MsgSuspendLicenseResponse: MessageFns$d<MsgSuspendLicenseResponse>;
3346
3505
  interface MsgResumeLicense {
3347
3506
  authority: string;
3348
3507
  grantee: string;
3349
3508
  featureId: string;
3350
3509
  }
3351
- declare const MsgResumeLicense: MessageFns$a<MsgResumeLicense>;
3510
+ declare const MsgResumeLicense: MessageFns$d<MsgResumeLicense>;
3352
3511
  interface MsgResumeLicenseResponse {
3353
3512
  }
3354
- declare const MsgResumeLicenseResponse: MessageFns$a<MsgResumeLicenseResponse>;
3513
+ declare const MsgResumeLicenseResponse: MessageFns$d<MsgResumeLicenseResponse>;
3355
3514
  /** Msg defines the license module's transaction service. */
3356
3515
  type MsgDefinition$3 = typeof MsgDefinition$3;
3357
3516
  declare const MsgDefinition$3: {
@@ -3392,17 +3551,17 @@ declare const MsgDefinition$3: {
3392
3551
  };
3393
3552
  };
3394
3553
  };
3395
- type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
3396
- 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 {} ? {
3397
- [K in keyof T]?: DeepPartial$a<T[K]>;
3554
+ type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
3555
+ 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 {} ? {
3556
+ [K in keyof T]?: DeepPartial$d<T[K]>;
3398
3557
  } : Partial<T>;
3399
- interface MessageFns$a<T> {
3558
+ interface MessageFns$d<T> {
3400
3559
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3401
3560
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3402
3561
  fromJSON(object: any): T;
3403
3562
  toJSON(message: T): unknown;
3404
- create(base?: DeepPartial$a<T>): T;
3405
- fromPartial(object: DeepPartial$a<T>): T;
3563
+ create(base?: DeepPartial$d<T>): T;
3564
+ fromPartial(object: DeepPartial$d<T>): T;
3406
3565
  }
3407
3566
 
3408
3567
  declare const tx$3_MsgGrantLicense: typeof MsgGrantLicense;
@@ -3414,10 +3573,10 @@ declare const tx$3_MsgRevokeLicenseResponse: typeof MsgRevokeLicenseResponse;
3414
3573
  declare const tx$3_MsgSuspendLicense: typeof MsgSuspendLicense;
3415
3574
  declare const tx$3_MsgSuspendLicenseResponse: typeof MsgSuspendLicenseResponse;
3416
3575
  declare namespace tx$3 {
3417
- export { type DeepPartial$a as DeepPartial, type MessageFns$a 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$a as protobufPackage };
3576
+ export { type DeepPartial$d as DeepPartial, type MessageFns$d as MessageFns, MsgDefinition$3 as MsgDefinition, tx$3_MsgGrantLicense as MsgGrantLicense, tx$3_MsgGrantLicenseResponse as MsgGrantLicenseResponse, tx$3_MsgResumeLicense as MsgResumeLicense, tx$3_MsgResumeLicenseResponse as MsgResumeLicenseResponse, tx$3_MsgRevokeLicense as MsgRevokeLicense, tx$3_MsgRevokeLicenseResponse as MsgRevokeLicenseResponse, tx$3_MsgSuspendLicense as MsgSuspendLicense, tx$3_MsgSuspendLicenseResponse as MsgSuspendLicenseResponse, protobufPackage$d as protobufPackage };
3418
3577
  }
3419
3578
 
3420
- declare const protobufPackage$9 = "qorechain.abstractaccount.v1";
3579
+ declare const protobufPackage$c = "qorechain.abstractaccount.v1";
3421
3580
  /** SpendingRule defines spending limits for an abstract account. */
3422
3581
  interface SpendingRule {
3423
3582
  id: string;
@@ -3426,25 +3585,25 @@ interface SpendingRule {
3426
3585
  allowedDenoms: string[];
3427
3586
  enabled: boolean;
3428
3587
  }
3429
- declare const SpendingRule: MessageFns$9<SpendingRule>;
3588
+ declare const SpendingRule: MessageFns$c<SpendingRule>;
3430
3589
  interface MsgCreateAbstractAccount {
3431
3590
  owner: string;
3432
3591
  accountType: string;
3433
3592
  }
3434
- declare const MsgCreateAbstractAccount: MessageFns$9<MsgCreateAbstractAccount>;
3593
+ declare const MsgCreateAbstractAccount: MessageFns$c<MsgCreateAbstractAccount>;
3435
3594
  interface MsgCreateAbstractAccountResponse {
3436
3595
  address: string;
3437
3596
  }
3438
- declare const MsgCreateAbstractAccountResponse: MessageFns$9<MsgCreateAbstractAccountResponse>;
3597
+ declare const MsgCreateAbstractAccountResponse: MessageFns$c<MsgCreateAbstractAccountResponse>;
3439
3598
  interface MsgUpdateSpendingRules {
3440
3599
  owner: string;
3441
3600
  accountAddress: string;
3442
3601
  rules: SpendingRule[];
3443
3602
  }
3444
- declare const MsgUpdateSpendingRules: MessageFns$9<MsgUpdateSpendingRules>;
3603
+ declare const MsgUpdateSpendingRules: MessageFns$c<MsgUpdateSpendingRules>;
3445
3604
  interface MsgUpdateSpendingRulesResponse {
3446
3605
  }
3447
- declare const MsgUpdateSpendingRulesResponse: MessageFns$9<MsgUpdateSpendingRulesResponse>;
3606
+ declare const MsgUpdateSpendingRulesResponse: MessageFns$c<MsgUpdateSpendingRulesResponse>;
3448
3607
  /** Msg defines the abstractaccount module's transaction service. */
3449
3608
  type MsgDefinition$2 = typeof MsgDefinition$2;
3450
3609
  declare const MsgDefinition$2: {
@@ -3469,17 +3628,17 @@ declare const MsgDefinition$2: {
3469
3628
  };
3470
3629
  };
3471
3630
  };
3472
- type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
3473
- 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 {} ? {
3474
- [K in keyof T]?: DeepPartial$9<T[K]>;
3631
+ type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
3632
+ 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 {} ? {
3633
+ [K in keyof T]?: DeepPartial$c<T[K]>;
3475
3634
  } : Partial<T>;
3476
- interface MessageFns$9<T> {
3635
+ interface MessageFns$c<T> {
3477
3636
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3478
3637
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3479
3638
  fromJSON(object: any): T;
3480
3639
  toJSON(message: T): unknown;
3481
- create(base?: DeepPartial$9<T>): T;
3482
- fromPartial(object: DeepPartial$9<T>): T;
3640
+ create(base?: DeepPartial$c<T>): T;
3641
+ fromPartial(object: DeepPartial$c<T>): T;
3483
3642
  }
3484
3643
 
3485
3644
  declare const tx$2_MsgCreateAbstractAccount: typeof MsgCreateAbstractAccount;
@@ -3488,10 +3647,10 @@ declare const tx$2_MsgUpdateSpendingRules: typeof MsgUpdateSpendingRules;
3488
3647
  declare const tx$2_MsgUpdateSpendingRulesResponse: typeof MsgUpdateSpendingRulesResponse;
3489
3648
  declare const tx$2_SpendingRule: typeof SpendingRule;
3490
3649
  declare namespace tx$2 {
3491
- export { type DeepPartial$9 as DeepPartial, type MessageFns$9 as MessageFns, tx$2_MsgCreateAbstractAccount as MsgCreateAbstractAccount, tx$2_MsgCreateAbstractAccountResponse as MsgCreateAbstractAccountResponse, MsgDefinition$2 as MsgDefinition, tx$2_MsgUpdateSpendingRules as MsgUpdateSpendingRules, tx$2_MsgUpdateSpendingRulesResponse as MsgUpdateSpendingRulesResponse, tx$2_SpendingRule as SpendingRule, protobufPackage$9 as protobufPackage };
3650
+ export { type DeepPartial$c as DeepPartial, type MessageFns$c as MessageFns, tx$2_MsgCreateAbstractAccount as MsgCreateAbstractAccount, tx$2_MsgCreateAbstractAccountResponse as MsgCreateAbstractAccountResponse, MsgDefinition$2 as MsgDefinition, tx$2_MsgUpdateSpendingRules as MsgUpdateSpendingRules, tx$2_MsgUpdateSpendingRulesResponse as MsgUpdateSpendingRulesResponse, tx$2_SpendingRule as SpendingRule, protobufPackage$c as protobufPackage };
3492
3651
  }
3493
3652
 
3494
- declare const protobufPackage$8 = "qorechain.crossvm.v1";
3653
+ declare const protobufPackage$b = "qorechain.crossvm.v1";
3495
3654
  interface MsgCrossVMCall {
3496
3655
  sender: string;
3497
3656
  sourceVm: string;
@@ -3500,18 +3659,18 @@ interface MsgCrossVMCall {
3500
3659
  payload: Uint8Array;
3501
3660
  funds: Coin[];
3502
3661
  }
3503
- declare const MsgCrossVMCall: MessageFns$8<MsgCrossVMCall>;
3662
+ declare const MsgCrossVMCall: MessageFns$b<MsgCrossVMCall>;
3504
3663
  interface MsgCrossVMCallResponse {
3505
3664
  messageId: string;
3506
3665
  }
3507
- declare const MsgCrossVMCallResponse: MessageFns$8<MsgCrossVMCallResponse>;
3666
+ declare const MsgCrossVMCallResponse: MessageFns$b<MsgCrossVMCallResponse>;
3508
3667
  interface MsgProcessQueue {
3509
3668
  authority: string;
3510
3669
  }
3511
- declare const MsgProcessQueue: MessageFns$8<MsgProcessQueue>;
3670
+ declare const MsgProcessQueue: MessageFns$b<MsgProcessQueue>;
3512
3671
  interface MsgProcessQueueResponse {
3513
3672
  }
3514
- declare const MsgProcessQueueResponse: MessageFns$8<MsgProcessQueueResponse>;
3673
+ declare const MsgProcessQueueResponse: MessageFns$b<MsgProcessQueueResponse>;
3515
3674
  /** Msg defines the crossvm module's transaction service. */
3516
3675
  type MsgDefinition$1 = typeof MsgDefinition$1;
3517
3676
  declare const MsgDefinition$1: {
@@ -3538,17 +3697,17 @@ declare const MsgDefinition$1: {
3538
3697
  };
3539
3698
  };
3540
3699
  };
3541
- type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
3542
- 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 {} ? {
3543
- [K in keyof T]?: DeepPartial$8<T[K]>;
3700
+ type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
3701
+ 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 {} ? {
3702
+ [K in keyof T]?: DeepPartial$b<T[K]>;
3544
3703
  } : Partial<T>;
3545
- interface MessageFns$8<T> {
3704
+ interface MessageFns$b<T> {
3546
3705
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3547
3706
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3548
3707
  fromJSON(object: any): T;
3549
3708
  toJSON(message: T): unknown;
3550
- create(base?: DeepPartial$8<T>): T;
3551
- fromPartial(object: DeepPartial$8<T>): T;
3709
+ create(base?: DeepPartial$b<T>): T;
3710
+ fromPartial(object: DeepPartial$b<T>): T;
3552
3711
  }
3553
3712
 
3554
3713
  declare const tx$1_MsgCrossVMCall: typeof MsgCrossVMCall;
@@ -3556,35 +3715,35 @@ declare const tx$1_MsgCrossVMCallResponse: typeof MsgCrossVMCallResponse;
3556
3715
  declare const tx$1_MsgProcessQueue: typeof MsgProcessQueue;
3557
3716
  declare const tx$1_MsgProcessQueueResponse: typeof MsgProcessQueueResponse;
3558
3717
  declare namespace tx$1 {
3559
- export { type DeepPartial$8 as DeepPartial, type MessageFns$8 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$8 as protobufPackage };
3718
+ export { type DeepPartial$b as DeepPartial, type MessageFns$b as MessageFns, tx$1_MsgCrossVMCall as MsgCrossVMCall, tx$1_MsgCrossVMCallResponse as MsgCrossVMCallResponse, MsgDefinition$1 as MsgDefinition, tx$1_MsgProcessQueue as MsgProcessQueue, tx$1_MsgProcessQueueResponse as MsgProcessQueueResponse, protobufPackage$b as protobufPackage };
3560
3719
  }
3561
3720
 
3562
- declare const protobufPackage$7 = "qorechain.rlconsensus.v1";
3721
+ declare const protobufPackage$a = "qorechain.rlconsensus.v1";
3563
3722
  interface MsgSetAgentMode {
3564
3723
  authority: string;
3565
3724
  /** mode cast to the named AgentMode (uint8) Go type. */
3566
3725
  mode: number;
3567
3726
  }
3568
- declare const MsgSetAgentMode: MessageFns$7<MsgSetAgentMode>;
3727
+ declare const MsgSetAgentMode: MessageFns$a<MsgSetAgentMode>;
3569
3728
  interface MsgSetAgentModeResponse {
3570
3729
  }
3571
- declare const MsgSetAgentModeResponse: MessageFns$7<MsgSetAgentModeResponse>;
3730
+ declare const MsgSetAgentModeResponse: MessageFns$a<MsgSetAgentModeResponse>;
3572
3731
  interface MsgResumeAgent {
3573
3732
  authority: string;
3574
3733
  }
3575
- declare const MsgResumeAgent: MessageFns$7<MsgResumeAgent>;
3734
+ declare const MsgResumeAgent: MessageFns$a<MsgResumeAgent>;
3576
3735
  interface MsgResumeAgentResponse {
3577
3736
  }
3578
- declare const MsgResumeAgentResponse: MessageFns$7<MsgResumeAgentResponse>;
3737
+ declare const MsgResumeAgentResponse: MessageFns$a<MsgResumeAgentResponse>;
3579
3738
  interface MsgUpdatePolicy {
3580
3739
  authority: string;
3581
3740
  /** JSON-encoded types.PolicyWeights (epoch + MLP config + weight vector). */
3582
3741
  weightsJson: string;
3583
3742
  }
3584
- declare const MsgUpdatePolicy: MessageFns$7<MsgUpdatePolicy>;
3743
+ declare const MsgUpdatePolicy: MessageFns$a<MsgUpdatePolicy>;
3585
3744
  interface MsgUpdatePolicyResponse {
3586
3745
  }
3587
- declare const MsgUpdatePolicyResponse: MessageFns$7<MsgUpdatePolicyResponse>;
3746
+ declare const MsgUpdatePolicyResponse: MessageFns$a<MsgUpdatePolicyResponse>;
3588
3747
  interface MsgUpdateRewardWeights {
3589
3748
  authority: string;
3590
3749
  throughput: string;
@@ -3593,10 +3752,10 @@ interface MsgUpdateRewardWeights {
3593
3752
  mev: string;
3594
3753
  failedTxs: string;
3595
3754
  }
3596
- declare const MsgUpdateRewardWeights: MessageFns$7<MsgUpdateRewardWeights>;
3755
+ declare const MsgUpdateRewardWeights: MessageFns$a<MsgUpdateRewardWeights>;
3597
3756
  interface MsgUpdateRewardWeightsResponse {
3598
3757
  }
3599
- declare const MsgUpdateRewardWeightsResponse: MessageFns$7<MsgUpdateRewardWeightsResponse>;
3758
+ declare const MsgUpdateRewardWeightsResponse: MessageFns$a<MsgUpdateRewardWeightsResponse>;
3600
3759
  /** Msg defines the rlconsensus module's governance-authority transactions. */
3601
3760
  type MsgDefinition = typeof MsgDefinition;
3602
3761
  declare const MsgDefinition: {
@@ -3641,17 +3800,17 @@ declare const MsgDefinition: {
3641
3800
  };
3642
3801
  };
3643
3802
  };
3644
- type Builtin$7 = Date | Function | Uint8Array | string | number | boolean | undefined;
3645
- type DeepPartial$7<T> = T extends Builtin$7 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$7<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$7<U>> : T extends {} ? {
3646
- [K in keyof T]?: DeepPartial$7<T[K]>;
3803
+ type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
3804
+ 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 {} ? {
3805
+ [K in keyof T]?: DeepPartial$a<T[K]>;
3647
3806
  } : Partial<T>;
3648
- interface MessageFns$7<T> {
3807
+ interface MessageFns$a<T> {
3649
3808
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3650
3809
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3651
3810
  fromJSON(object: any): T;
3652
3811
  toJSON(message: T): unknown;
3653
- create(base?: DeepPartial$7<T>): T;
3654
- fromPartial(object: DeepPartial$7<T>): T;
3812
+ create(base?: DeepPartial$a<T>): T;
3813
+ fromPartial(object: DeepPartial$a<T>): T;
3655
3814
  }
3656
3815
 
3657
3816
  declare const tx_MsgDefinition: typeof MsgDefinition;
@@ -3664,7 +3823,7 @@ declare const tx_MsgUpdatePolicyResponse: typeof MsgUpdatePolicyResponse;
3664
3823
  declare const tx_MsgUpdateRewardWeights: typeof MsgUpdateRewardWeights;
3665
3824
  declare const tx_MsgUpdateRewardWeightsResponse: typeof MsgUpdateRewardWeightsResponse;
3666
3825
  declare namespace tx {
3667
- export { type DeepPartial$7 as DeepPartial, type MessageFns$7 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$7 as protobufPackage };
3826
+ export { type DeepPartial$a as DeepPartial, type MessageFns$a as MessageFns, tx_MsgDefinition as MsgDefinition, tx_MsgResumeAgent as MsgResumeAgent, tx_MsgResumeAgentResponse as MsgResumeAgentResponse, tx_MsgSetAgentMode as MsgSetAgentMode, tx_MsgSetAgentModeResponse as MsgSetAgentModeResponse, tx_MsgUpdatePolicy as MsgUpdatePolicy, tx_MsgUpdatePolicyResponse as MsgUpdatePolicyResponse, tx_MsgUpdateRewardWeights as MsgUpdateRewardWeights, tx_MsgUpdateRewardWeightsResponse as MsgUpdateRewardWeightsResponse, protobufPackage$a as protobufPackage };
3668
3827
  }
3669
3828
 
3670
3829
  /**
@@ -3701,6 +3860,26 @@ declare const bridge: {
3701
3860
  bridgeWithdraw: (value: PartialMsg<MsgBridgeWithdraw>) => EncodeObject;
3702
3861
  registerBridgeValidator: (value: PartialMsg<MsgRegisterBridgeValidator>) => EncodeObject;
3703
3862
  bridgeAttestation: (value: PartialMsg<MsgBridgeAttestation>) => EncodeObject;
3863
+ /**
3864
+ * Advance the on-chain external light client with a verified update bundle
3865
+ * (carried as an opaque encoded blob). Signed by the `relayer`.
3866
+ */
3867
+ updateEthLightClient: (value: PartialMsg<MsgUpdateEthLightClient>) => EncodeObject;
3868
+ /**
3869
+ * Register or update a chain's bridge config (contract address,
3870
+ * confirmations, architecture, status, active verifier). Merge semantics:
3871
+ * empty/zero fields keep the existing value, so a caller can flip just
3872
+ * `status` + one verifier flag to activate a chain post-deploy. Signed by the
3873
+ * bridge `admin`.
3874
+ */
3875
+ updateChainConfig: (value: PartialMsg<MsgUpdateChainConfig>) => EncodeObject;
3876
+ /**
3877
+ * Install the per-architecture trust root a chain's trustless verifier needs
3878
+ * (guardian set / ed25519 or BLS validator quorum / Bitcoin checkpoint /
3879
+ * Starknet state root). Exactly one of the sub-fields should be populated.
3880
+ * Signed by the bridge `admin`.
3881
+ */
3882
+ setVerifierBootstrap: (value: PartialMsg<MsgSetVerifierBootstrap>) => EncodeObject;
3704
3883
  };
3705
3884
  /** RDK (rollup development kit) message composers. */
3706
3885
  declare const rdk: {
@@ -3711,6 +3890,15 @@ declare const rdk: {
3711
3890
  pauseRollup: (value: PartialMsg<MsgPauseRollup>) => EncodeObject;
3712
3891
  resumeRollup: (value: PartialMsg<MsgResumeRollup>) => EncodeObject;
3713
3892
  stopRollup: (value: PartialMsg<MsgStopRollup>) => EncodeObject;
3893
+ /**
3894
+ * Finalize an L2->L1 withdrawal: prove a withdrawal leaf is committed in a
3895
+ * finalized batch's `withdrawalsRoot` and pay the committed recipient from the
3896
+ * rdk module escrow. Permissionless — anyone may submit a valid proof; funds
3897
+ * always go to the committed recipient. Replay-protected per
3898
+ * (rollupId, batchIndex, withdrawalIndex). `proof` is the list of binary-Merkle
3899
+ * sibling hashes from the leaf to the root.
3900
+ */
3901
+ executeWithdrawal: (value: PartialMsg<MsgExecuteWithdrawal>) => EncodeObject;
3714
3902
  };
3715
3903
  /** Multilayer (sidechain / paychain anchoring) message composers. */
3716
3904
  declare const multilayer: {
@@ -4155,21 +4343,177 @@ declare const msg: {
4155
4343
  [Symbol.iterator]?: {} | undefined;
4156
4344
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4157
4345
  } | undefined;
4158
- }) => _cosmjs_proto_signing.EncodeObject;
4159
- };
4160
- readonly rdk: {
4161
- createRollup: (value: {
4162
- creator?: string | undefined;
4163
- rollupId?: string | undefined;
4164
- profile?: string | undefined;
4165
- vmType?: string | undefined;
4166
- stakeAmount?: string | undefined;
4167
- }) => _cosmjs_proto_signing.EncodeObject;
4168
- submitBatch: (value: {
4169
- sequencer?: string | undefined;
4170
- rollupId?: string | undefined;
4171
- batchIndex?: string | undefined;
4172
- stateRoot?: {
4346
+ }) => _cosmjs_proto_signing.EncodeObject;
4347
+ updateEthLightClient: (value: {
4348
+ relayer?: string | undefined;
4349
+ update?: {
4350
+ [x: number]: number | undefined;
4351
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4352
+ readonly buffer?: ({
4353
+ readonly byteLength?: number | undefined;
4354
+ slice?: {} | undefined;
4355
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4356
+ } | {
4357
+ readonly byteLength?: number | undefined;
4358
+ slice?: {} | undefined;
4359
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4360
+ }) | undefined;
4361
+ readonly byteLength?: number | undefined;
4362
+ readonly byteOffset?: number | undefined;
4363
+ copyWithin?: {} | undefined;
4364
+ every?: {} | undefined;
4365
+ fill?: {} | undefined;
4366
+ filter?: {} | undefined;
4367
+ find?: {} | undefined;
4368
+ findIndex?: {} | undefined;
4369
+ forEach?: {} | undefined;
4370
+ indexOf?: {} | undefined;
4371
+ join?: {} | undefined;
4372
+ lastIndexOf?: {} | undefined;
4373
+ readonly length?: number | undefined;
4374
+ map?: {} | undefined;
4375
+ reduce?: {} | undefined;
4376
+ reduceRight?: {} | undefined;
4377
+ reverse?: {} | undefined;
4378
+ set?: {} | undefined;
4379
+ slice?: {} | undefined;
4380
+ some?: {} | undefined;
4381
+ sort?: {} | undefined;
4382
+ subarray?: {} | undefined;
4383
+ toLocaleString?: {} | undefined;
4384
+ toString?: {} | undefined;
4385
+ valueOf?: {} | undefined;
4386
+ entries?: {} | undefined;
4387
+ keys?: {} | undefined;
4388
+ values?: {} | undefined;
4389
+ includes?: {} | undefined;
4390
+ at?: {} | undefined;
4391
+ [Symbol.iterator]?: {} | undefined;
4392
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4393
+ } | undefined;
4394
+ }) => _cosmjs_proto_signing.EncodeObject;
4395
+ updateChainConfig: (value: {
4396
+ admin?: string | undefined;
4397
+ chainId?: string | undefined;
4398
+ bridgeContract?: string | undefined;
4399
+ confirmationsRequired?: number | undefined;
4400
+ architecture?: string | undefined;
4401
+ status?: string | undefined;
4402
+ verifier?: string | undefined;
4403
+ lockEventSig?: string | undefined;
4404
+ }) => _cosmjs_proto_signing.EncodeObject;
4405
+ setVerifierBootstrap: (value: {
4406
+ admin?: string | undefined;
4407
+ chainId?: string | undefined;
4408
+ wormhole?: WormholeGuardianSet | undefined;
4409
+ ed25519?: ValidatorQuorum | undefined;
4410
+ bls?: ValidatorQuorum | undefined;
4411
+ bitcoin?: BitcoinCheckpoint | undefined;
4412
+ starknetStateRoot?: {
4413
+ [x: number]: number | undefined;
4414
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4415
+ readonly buffer?: ({
4416
+ readonly byteLength?: number | undefined;
4417
+ slice?: {} | undefined;
4418
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4419
+ } | {
4420
+ readonly byteLength?: number | undefined;
4421
+ slice?: {} | undefined;
4422
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4423
+ }) | undefined;
4424
+ readonly byteLength?: number | undefined;
4425
+ readonly byteOffset?: number | undefined;
4426
+ copyWithin?: {} | undefined;
4427
+ every?: {} | undefined;
4428
+ fill?: {} | undefined;
4429
+ filter?: {} | undefined;
4430
+ find?: {} | undefined;
4431
+ findIndex?: {} | undefined;
4432
+ forEach?: {} | undefined;
4433
+ indexOf?: {} | undefined;
4434
+ join?: {} | undefined;
4435
+ lastIndexOf?: {} | undefined;
4436
+ readonly length?: number | undefined;
4437
+ map?: {} | undefined;
4438
+ reduce?: {} | undefined;
4439
+ reduceRight?: {} | undefined;
4440
+ reverse?: {} | undefined;
4441
+ set?: {} | undefined;
4442
+ slice?: {} | undefined;
4443
+ some?: {} | undefined;
4444
+ sort?: {} | undefined;
4445
+ subarray?: {} | undefined;
4446
+ toLocaleString?: {} | undefined;
4447
+ toString?: {} | undefined;
4448
+ valueOf?: {} | undefined;
4449
+ entries?: {} | undefined;
4450
+ keys?: {} | undefined;
4451
+ values?: {} | undefined;
4452
+ includes?: {} | undefined;
4453
+ at?: {} | undefined;
4454
+ [Symbol.iterator]?: {} | undefined;
4455
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4456
+ } | undefined;
4457
+ }) => _cosmjs_proto_signing.EncodeObject;
4458
+ };
4459
+ readonly rdk: {
4460
+ createRollup: (value: {
4461
+ creator?: string | undefined;
4462
+ rollupId?: string | undefined;
4463
+ profile?: string | undefined;
4464
+ vmType?: string | undefined;
4465
+ stakeAmount?: string | undefined;
4466
+ }) => _cosmjs_proto_signing.EncodeObject;
4467
+ submitBatch: (value: {
4468
+ sequencer?: string | undefined;
4469
+ rollupId?: string | undefined;
4470
+ batchIndex?: string | undefined;
4471
+ stateRoot?: {
4472
+ [x: number]: number | undefined;
4473
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4474
+ readonly buffer?: ({
4475
+ readonly byteLength?: number | undefined;
4476
+ slice?: {} | undefined;
4477
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4478
+ } | {
4479
+ readonly byteLength?: number | undefined;
4480
+ slice?: {} | undefined;
4481
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4482
+ }) | undefined;
4483
+ readonly byteLength?: number | undefined;
4484
+ readonly byteOffset?: number | undefined;
4485
+ copyWithin?: {} | undefined;
4486
+ every?: {} | undefined;
4487
+ fill?: {} | undefined;
4488
+ filter?: {} | undefined;
4489
+ find?: {} | undefined;
4490
+ findIndex?: {} | undefined;
4491
+ forEach?: {} | undefined;
4492
+ indexOf?: {} | undefined;
4493
+ join?: {} | undefined;
4494
+ lastIndexOf?: {} | undefined;
4495
+ readonly length?: number | undefined;
4496
+ map?: {} | undefined;
4497
+ reduce?: {} | undefined;
4498
+ reduceRight?: {} | undefined;
4499
+ reverse?: {} | undefined;
4500
+ set?: {} | undefined;
4501
+ slice?: {} | undefined;
4502
+ some?: {} | undefined;
4503
+ sort?: {} | undefined;
4504
+ subarray?: {} | undefined;
4505
+ toLocaleString?: {} | undefined;
4506
+ toString?: {} | undefined;
4507
+ valueOf?: {} | undefined;
4508
+ entries?: {} | undefined;
4509
+ keys?: {} | undefined;
4510
+ values?: {} | undefined;
4511
+ includes?: {} | undefined;
4512
+ at?: {} | undefined;
4513
+ [Symbol.iterator]?: {} | undefined;
4514
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4515
+ } | undefined;
4516
+ prevStateRoot?: {
4173
4517
  [x: number]: number | undefined;
4174
4518
  readonly BYTES_PER_ELEMENT?: number | undefined;
4175
4519
  readonly buffer?: ({
@@ -4214,7 +4558,8 @@ declare const msg: {
4214
4558
  [Symbol.iterator]?: {} | undefined;
4215
4559
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4216
4560
  } | undefined;
4217
- prevStateRoot?: {
4561
+ txCount?: string | undefined;
4562
+ dataHash?: {
4218
4563
  [x: number]: number | undefined;
4219
4564
  readonly BYTES_PER_ELEMENT?: number | undefined;
4220
4565
  readonly buffer?: ({
@@ -4259,8 +4604,7 @@ declare const msg: {
4259
4604
  [Symbol.iterator]?: {} | undefined;
4260
4605
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4261
4606
  } | undefined;
4262
- txCount?: string | undefined;
4263
- dataHash?: {
4607
+ proof?: {
4264
4608
  [x: number]: number | undefined;
4265
4609
  readonly BYTES_PER_ELEMENT?: number | undefined;
4266
4610
  readonly buffer?: ({
@@ -4305,7 +4649,7 @@ declare const msg: {
4305
4649
  [Symbol.iterator]?: {} | undefined;
4306
4650
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4307
4651
  } | undefined;
4308
- proof?: {
4652
+ withdrawalsRoot?: {
4309
4653
  [x: number]: number | undefined;
4310
4654
  readonly BYTES_PER_ELEMENT?: number | undefined;
4311
4655
  readonly buffer?: ({
@@ -4420,6 +4764,60 @@ declare const msg: {
4420
4764
  creator?: string | undefined;
4421
4765
  rollupId?: string | undefined;
4422
4766
  }) => _cosmjs_proto_signing.EncodeObject;
4767
+ executeWithdrawal: (value: {
4768
+ submitter?: string | undefined;
4769
+ rollupId?: string | undefined;
4770
+ batchIndex?: string | undefined;
4771
+ withdrawalIndex?: string | undefined;
4772
+ recipient?: string | undefined;
4773
+ denom?: string | undefined;
4774
+ amount?: string | undefined;
4775
+ proof?: ({
4776
+ [x: number]: number | undefined;
4777
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4778
+ readonly buffer?: ({
4779
+ readonly byteLength?: number | undefined;
4780
+ slice?: {} | undefined;
4781
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4782
+ } | {
4783
+ readonly byteLength?: number | undefined;
4784
+ slice?: {} | undefined;
4785
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4786
+ }) | undefined;
4787
+ readonly byteLength?: number | undefined;
4788
+ readonly byteOffset?: number | undefined;
4789
+ copyWithin?: {} | undefined;
4790
+ every?: {} | undefined;
4791
+ fill?: {} | undefined;
4792
+ filter?: {} | undefined;
4793
+ find?: {} | undefined;
4794
+ findIndex?: {} | undefined;
4795
+ forEach?: {} | undefined;
4796
+ indexOf?: {} | undefined;
4797
+ join?: {} | undefined;
4798
+ lastIndexOf?: {} | undefined;
4799
+ readonly length?: number | undefined;
4800
+ map?: {} | undefined;
4801
+ reduce?: {} | undefined;
4802
+ reduceRight?: {} | undefined;
4803
+ reverse?: {} | undefined;
4804
+ set?: {} | undefined;
4805
+ slice?: {} | undefined;
4806
+ some?: {} | undefined;
4807
+ sort?: {} | undefined;
4808
+ subarray?: {} | undefined;
4809
+ toLocaleString?: {} | undefined;
4810
+ toString?: {} | undefined;
4811
+ valueOf?: {} | undefined;
4812
+ entries?: {} | undefined;
4813
+ keys?: {} | undefined;
4814
+ values?: {} | undefined;
4815
+ includes?: {} | undefined;
4816
+ at?: {} | undefined;
4817
+ [Symbol.iterator]?: {} | undefined;
4818
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4819
+ } | undefined)[] | undefined;
4820
+ }) => _cosmjs_proto_signing.EncodeObject;
4423
4821
  };
4424
4822
  readonly multilayer: {
4425
4823
  registerSidechain: (value: {
@@ -5643,7 +6041,233 @@ declare const msg: {
5643
6041
  };
5644
6042
  };
5645
6043
 
5646
- declare const protobufPackage$6 = "qorechain.crossvm.v1";
6044
+ declare const protobufPackage$9 = "qorechain.bridge.v1";
6045
+ interface BridgeConfigView {
6046
+ minValidators: number;
6047
+ attestationThreshold: number;
6048
+ challengePeriodSecs: string;
6049
+ largeTransferThreshold: string;
6050
+ enabled: boolean;
6051
+ }
6052
+ declare const BridgeConfigView: MessageFns$9<BridgeConfigView>;
6053
+ interface ChainConfigView {
6054
+ chainId: string;
6055
+ name: string;
6056
+ chainType: string;
6057
+ bridgeContract: string;
6058
+ status: string;
6059
+ minConfirmations: number;
6060
+ architecture: string;
6061
+ ibcChannelId: string;
6062
+ ibcPortId: string;
6063
+ }
6064
+ declare const ChainConfigView: MessageFns$9<ChainConfigView>;
6065
+ interface BridgeValidatorView {
6066
+ address: string;
6067
+ supportedChains: string[];
6068
+ reputation: string;
6069
+ active: boolean;
6070
+ registeredAt: string;
6071
+ }
6072
+ declare const BridgeValidatorView: MessageFns$9<BridgeValidatorView>;
6073
+ interface BridgeOperationView {
6074
+ id: string;
6075
+ type: string;
6076
+ sourceChain: string;
6077
+ destChain: string;
6078
+ sender: string;
6079
+ receiver: string;
6080
+ asset: string;
6081
+ amount: string;
6082
+ sourceTxHash: string;
6083
+ status: string;
6084
+ }
6085
+ declare const BridgeOperationView: MessageFns$9<BridgeOperationView>;
6086
+ interface QueryConfigRequest$1 {
6087
+ }
6088
+ declare const QueryConfigRequest$1: MessageFns$9<QueryConfigRequest$1>;
6089
+ interface QueryConfigResponse$1 {
6090
+ config?: BridgeConfigView | undefined;
6091
+ }
6092
+ declare const QueryConfigResponse$1: MessageFns$9<QueryConfigResponse$1>;
6093
+ interface QueryChainConfigRequest {
6094
+ chainId: string;
6095
+ }
6096
+ declare const QueryChainConfigRequest: MessageFns$9<QueryChainConfigRequest>;
6097
+ interface QueryChainConfigResponse {
6098
+ chain?: ChainConfigView | undefined;
6099
+ }
6100
+ declare const QueryChainConfigResponse: MessageFns$9<QueryChainConfigResponse>;
6101
+ interface QueryChainConfigsRequest {
6102
+ }
6103
+ declare const QueryChainConfigsRequest: MessageFns$9<QueryChainConfigsRequest>;
6104
+ interface QueryChainConfigsResponse {
6105
+ chains: ChainConfigView[];
6106
+ }
6107
+ declare const QueryChainConfigsResponse: MessageFns$9<QueryChainConfigsResponse>;
6108
+ interface QueryValidatorRequest {
6109
+ address: string;
6110
+ }
6111
+ declare const QueryValidatorRequest: MessageFns$9<QueryValidatorRequest>;
6112
+ interface QueryValidatorResponse {
6113
+ validator?: BridgeValidatorView | undefined;
6114
+ }
6115
+ declare const QueryValidatorResponse: MessageFns$9<QueryValidatorResponse>;
6116
+ interface QueryValidatorsRequest {
6117
+ }
6118
+ declare const QueryValidatorsRequest: MessageFns$9<QueryValidatorsRequest>;
6119
+ interface QueryValidatorsResponse {
6120
+ validators: BridgeValidatorView[];
6121
+ }
6122
+ declare const QueryValidatorsResponse: MessageFns$9<QueryValidatorsResponse>;
6123
+ interface QueryOperationRequest {
6124
+ id: string;
6125
+ }
6126
+ declare const QueryOperationRequest: MessageFns$9<QueryOperationRequest>;
6127
+ interface QueryOperationResponse {
6128
+ operation?: BridgeOperationView | undefined;
6129
+ }
6130
+ declare const QueryOperationResponse: MessageFns$9<QueryOperationResponse>;
6131
+ interface QueryOperationsRequest {
6132
+ }
6133
+ declare const QueryOperationsRequest: MessageFns$9<QueryOperationsRequest>;
6134
+ interface QueryOperationsResponse {
6135
+ operations: BridgeOperationView[];
6136
+ }
6137
+ declare const QueryOperationsResponse: MessageFns$9<QueryOperationsResponse>;
6138
+ /** Query defines the gRPC query service for the bridge module. */
6139
+ type QueryDefinition$9 = typeof QueryDefinition$9;
6140
+ declare const QueryDefinition$9: {
6141
+ readonly name: "Query";
6142
+ readonly fullName: "qorechain.bridge.v1.Query";
6143
+ readonly methods: {
6144
+ /** Config returns the global bridge config. */
6145
+ readonly config: {
6146
+ readonly name: "Config";
6147
+ readonly requestType: typeof QueryConfigRequest$1;
6148
+ readonly requestStream: false;
6149
+ readonly responseType: typeof QueryConfigResponse$1;
6150
+ readonly responseStream: false;
6151
+ readonly options: {
6152
+ readonly _unknownFields: {
6153
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6154
+ };
6155
+ };
6156
+ };
6157
+ /** ChainConfig returns a single chain config by ID. */
6158
+ readonly chainConfig: {
6159
+ readonly name: "ChainConfig";
6160
+ readonly requestType: typeof QueryChainConfigRequest;
6161
+ readonly requestStream: false;
6162
+ readonly responseType: typeof QueryChainConfigResponse;
6163
+ readonly responseStream: false;
6164
+ readonly options: {
6165
+ readonly _unknownFields: {
6166
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6167
+ };
6168
+ };
6169
+ };
6170
+ /** ChainConfigs lists all configured chains. */
6171
+ readonly chainConfigs: {
6172
+ readonly name: "ChainConfigs";
6173
+ readonly requestType: typeof QueryChainConfigsRequest;
6174
+ readonly requestStream: false;
6175
+ readonly responseType: typeof QueryChainConfigsResponse;
6176
+ readonly responseStream: false;
6177
+ readonly options: {
6178
+ readonly _unknownFields: {
6179
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6180
+ };
6181
+ };
6182
+ };
6183
+ /** Validator returns a single bridge validator by address. */
6184
+ readonly validator: {
6185
+ readonly name: "Validator";
6186
+ readonly requestType: typeof QueryValidatorRequest;
6187
+ readonly requestStream: false;
6188
+ readonly responseType: typeof QueryValidatorResponse;
6189
+ readonly responseStream: false;
6190
+ readonly options: {
6191
+ readonly _unknownFields: {
6192
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6193
+ };
6194
+ };
6195
+ };
6196
+ /** Validators lists all bridge validators. */
6197
+ readonly validators: {
6198
+ readonly name: "Validators";
6199
+ readonly requestType: typeof QueryValidatorsRequest;
6200
+ readonly requestStream: false;
6201
+ readonly responseType: typeof QueryValidatorsResponse;
6202
+ readonly responseStream: false;
6203
+ readonly options: {
6204
+ readonly _unknownFields: {
6205
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6206
+ };
6207
+ };
6208
+ };
6209
+ /** Operation returns a single bridge operation by ID. */
6210
+ readonly operation: {
6211
+ readonly name: "Operation";
6212
+ readonly requestType: typeof QueryOperationRequest;
6213
+ readonly requestStream: false;
6214
+ readonly responseType: typeof QueryOperationResponse;
6215
+ readonly responseStream: false;
6216
+ readonly options: {
6217
+ readonly _unknownFields: {
6218
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6219
+ };
6220
+ };
6221
+ };
6222
+ /** Operations lists all bridge operations. */
6223
+ readonly operations: {
6224
+ readonly name: "Operations";
6225
+ readonly requestType: typeof QueryOperationsRequest;
6226
+ readonly requestStream: false;
6227
+ readonly responseType: typeof QueryOperationsResponse;
6228
+ readonly responseStream: false;
6229
+ readonly options: {
6230
+ readonly _unknownFields: {
6231
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6232
+ };
6233
+ };
6234
+ };
6235
+ };
6236
+ };
6237
+ type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
6238
+ 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 {} ? {
6239
+ [K in keyof T]?: DeepPartial$9<T[K]>;
6240
+ } : Partial<T>;
6241
+ interface MessageFns$9<T> {
6242
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6243
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6244
+ fromJSON(object: any): T;
6245
+ toJSON(message: T): unknown;
6246
+ create(base?: DeepPartial$9<T>): T;
6247
+ fromPartial(object: DeepPartial$9<T>): T;
6248
+ }
6249
+
6250
+ declare const query$9_BridgeConfigView: typeof BridgeConfigView;
6251
+ declare const query$9_BridgeOperationView: typeof BridgeOperationView;
6252
+ declare const query$9_BridgeValidatorView: typeof BridgeValidatorView;
6253
+ declare const query$9_ChainConfigView: typeof ChainConfigView;
6254
+ declare const query$9_QueryChainConfigRequest: typeof QueryChainConfigRequest;
6255
+ declare const query$9_QueryChainConfigResponse: typeof QueryChainConfigResponse;
6256
+ declare const query$9_QueryChainConfigsRequest: typeof QueryChainConfigsRequest;
6257
+ declare const query$9_QueryChainConfigsResponse: typeof QueryChainConfigsResponse;
6258
+ declare const query$9_QueryOperationRequest: typeof QueryOperationRequest;
6259
+ declare const query$9_QueryOperationResponse: typeof QueryOperationResponse;
6260
+ declare const query$9_QueryOperationsRequest: typeof QueryOperationsRequest;
6261
+ declare const query$9_QueryOperationsResponse: typeof QueryOperationsResponse;
6262
+ declare const query$9_QueryValidatorRequest: typeof QueryValidatorRequest;
6263
+ declare const query$9_QueryValidatorResponse: typeof QueryValidatorResponse;
6264
+ declare const query$9_QueryValidatorsRequest: typeof QueryValidatorsRequest;
6265
+ declare const query$9_QueryValidatorsResponse: typeof QueryValidatorsResponse;
6266
+ declare namespace query$9 {
6267
+ export { query$9_BridgeConfigView as BridgeConfigView, query$9_BridgeOperationView as BridgeOperationView, query$9_BridgeValidatorView as BridgeValidatorView, query$9_ChainConfigView as ChainConfigView, type DeepPartial$9 as DeepPartial, type MessageFns$9 as MessageFns, query$9_QueryChainConfigRequest as QueryChainConfigRequest, query$9_QueryChainConfigResponse as QueryChainConfigResponse, query$9_QueryChainConfigsRequest as QueryChainConfigsRequest, query$9_QueryChainConfigsResponse as QueryChainConfigsResponse, QueryConfigRequest$1 as QueryConfigRequest, QueryConfigResponse$1 as QueryConfigResponse, QueryDefinition$9 as QueryDefinition, query$9_QueryOperationRequest as QueryOperationRequest, query$9_QueryOperationResponse as QueryOperationResponse, query$9_QueryOperationsRequest as QueryOperationsRequest, query$9_QueryOperationsResponse as QueryOperationsResponse, query$9_QueryValidatorRequest as QueryValidatorRequest, query$9_QueryValidatorResponse as QueryValidatorResponse, query$9_QueryValidatorsRequest as QueryValidatorsRequest, query$9_QueryValidatorsResponse as QueryValidatorsResponse, protobufPackage$9 as protobufPackage };
6268
+ }
6269
+
6270
+ declare const protobufPackage$8 = "qorechain.crossvm.v1";
5647
6271
  interface CrossVMMessageView {
5648
6272
  id: string;
5649
6273
  sourceVm: string;
@@ -5657,46 +6281,46 @@ interface CrossVMMessageView {
5657
6281
  executedHeight: string;
5658
6282
  error: string;
5659
6283
  }
5660
- declare const CrossVMMessageView: MessageFns$6<CrossVMMessageView>;
5661
- interface QueryParamsRequest$3 {
6284
+ declare const CrossVMMessageView: MessageFns$8<CrossVMMessageView>;
6285
+ interface QueryParamsRequest$5 {
5662
6286
  }
5663
- declare const QueryParamsRequest$3: MessageFns$6<QueryParamsRequest$3>;
5664
- interface QueryParamsResponse$3 {
6287
+ declare const QueryParamsRequest$5: MessageFns$8<QueryParamsRequest$5>;
6288
+ interface QueryParamsResponse$5 {
5665
6289
  maxMessageSize: string;
5666
6290
  maxQueueSize: number;
5667
6291
  queueTimeoutBlocks: string;
5668
6292
  enabled: boolean;
5669
6293
  }
5670
- declare const QueryParamsResponse$3: MessageFns$6<QueryParamsResponse$3>;
6294
+ declare const QueryParamsResponse$5: MessageFns$8<QueryParamsResponse$5>;
5671
6295
  interface QueryPendingMessagesRequest {
5672
6296
  }
5673
- declare const QueryPendingMessagesRequest: MessageFns$6<QueryPendingMessagesRequest>;
6297
+ declare const QueryPendingMessagesRequest: MessageFns$8<QueryPendingMessagesRequest>;
5674
6298
  interface QueryPendingMessagesResponse {
5675
6299
  messages: CrossVMMessageView[];
5676
6300
  count: number;
5677
6301
  }
5678
- declare const QueryPendingMessagesResponse: MessageFns$6<QueryPendingMessagesResponse>;
6302
+ declare const QueryPendingMessagesResponse: MessageFns$8<QueryPendingMessagesResponse>;
5679
6303
  interface QueryMessageRequest {
5680
6304
  id: string;
5681
6305
  }
5682
- declare const QueryMessageRequest: MessageFns$6<QueryMessageRequest>;
6306
+ declare const QueryMessageRequest: MessageFns$8<QueryMessageRequest>;
5683
6307
  interface QueryMessageResponse {
5684
6308
  message?: CrossVMMessageView | undefined;
5685
6309
  found: boolean;
5686
6310
  }
5687
- declare const QueryMessageResponse: MessageFns$6<QueryMessageResponse>;
6311
+ declare const QueryMessageResponse: MessageFns$8<QueryMessageResponse>;
5688
6312
  /** Query defines the crossvm module's gRPC query service. */
5689
- type QueryDefinition$6 = typeof QueryDefinition$6;
5690
- declare const QueryDefinition$6: {
6313
+ type QueryDefinition$8 = typeof QueryDefinition$8;
6314
+ declare const QueryDefinition$8: {
5691
6315
  readonly name: "Query";
5692
6316
  readonly fullName: "qorechain.crossvm.v1.Query";
5693
6317
  readonly methods: {
5694
6318
  /** Params returns the crossvm module parameters. */
5695
6319
  readonly params: {
5696
6320
  readonly name: "Params";
5697
- readonly requestType: typeof QueryParamsRequest$3;
6321
+ readonly requestType: typeof QueryParamsRequest$5;
5698
6322
  readonly requestStream: false;
5699
- readonly responseType: typeof QueryParamsResponse$3;
6323
+ readonly responseType: typeof QueryParamsResponse$5;
5700
6324
  readonly responseStream: false;
5701
6325
  readonly options: {};
5702
6326
  };
@@ -5720,29 +6344,29 @@ declare const QueryDefinition$6: {
5720
6344
  };
5721
6345
  };
5722
6346
  };
5723
- type Builtin$6 = Date | Function | Uint8Array | string | number | boolean | undefined;
5724
- type DeepPartial$6<T> = T extends Builtin$6 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$6<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$6<U>> : T extends {} ? {
5725
- [K in keyof T]?: DeepPartial$6<T[K]>;
6347
+ type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
6348
+ 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 {} ? {
6349
+ [K in keyof T]?: DeepPartial$8<T[K]>;
5726
6350
  } : Partial<T>;
5727
- interface MessageFns$6<T> {
6351
+ interface MessageFns$8<T> {
5728
6352
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
5729
6353
  decode(input: BinaryReader | Uint8Array, length?: number): T;
5730
6354
  fromJSON(object: any): T;
5731
6355
  toJSON(message: T): unknown;
5732
- create(base?: DeepPartial$6<T>): T;
5733
- fromPartial(object: DeepPartial$6<T>): T;
6356
+ create(base?: DeepPartial$8<T>): T;
6357
+ fromPartial(object: DeepPartial$8<T>): T;
5734
6358
  }
5735
6359
 
5736
- declare const query$6_CrossVMMessageView: typeof CrossVMMessageView;
5737
- declare const query$6_QueryMessageRequest: typeof QueryMessageRequest;
5738
- declare const query$6_QueryMessageResponse: typeof QueryMessageResponse;
5739
- declare const query$6_QueryPendingMessagesRequest: typeof QueryPendingMessagesRequest;
5740
- declare const query$6_QueryPendingMessagesResponse: typeof QueryPendingMessagesResponse;
5741
- declare namespace query$6 {
5742
- export { query$6_CrossVMMessageView as CrossVMMessageView, type DeepPartial$6 as DeepPartial, type MessageFns$6 as MessageFns, QueryDefinition$6 as QueryDefinition, query$6_QueryMessageRequest as QueryMessageRequest, query$6_QueryMessageResponse as QueryMessageResponse, QueryParamsRequest$3 as QueryParamsRequest, QueryParamsResponse$3 as QueryParamsResponse, query$6_QueryPendingMessagesRequest as QueryPendingMessagesRequest, query$6_QueryPendingMessagesResponse as QueryPendingMessagesResponse, protobufPackage$6 as protobufPackage };
6360
+ declare const query$8_CrossVMMessageView: typeof CrossVMMessageView;
6361
+ declare const query$8_QueryMessageRequest: typeof QueryMessageRequest;
6362
+ declare const query$8_QueryMessageResponse: typeof QueryMessageResponse;
6363
+ declare const query$8_QueryPendingMessagesRequest: typeof QueryPendingMessagesRequest;
6364
+ declare const query$8_QueryPendingMessagesResponse: typeof QueryPendingMessagesResponse;
6365
+ declare namespace query$8 {
6366
+ export { query$8_CrossVMMessageView as CrossVMMessageView, type DeepPartial$8 as DeepPartial, type MessageFns$8 as MessageFns, QueryDefinition$8 as QueryDefinition, query$8_QueryMessageRequest as QueryMessageRequest, query$8_QueryMessageResponse as QueryMessageResponse, QueryParamsRequest$5 as QueryParamsRequest, QueryParamsResponse$5 as QueryParamsResponse, query$8_QueryPendingMessagesRequest as QueryPendingMessagesRequest, query$8_QueryPendingMessagesResponse as QueryPendingMessagesResponse, protobufPackage$8 as protobufPackage };
5743
6367
  }
5744
6368
 
5745
- declare const protobufPackage$5 = "qorechain.lightnode.v1";
6369
+ declare const protobufPackage$7 = "qorechain.lightnode.v1";
5746
6370
  /** LightNodeView is a flat representation of a registered light node. */
5747
6371
  interface LightNodeView {
5748
6372
  address: string;
@@ -5758,27 +6382,27 @@ interface LightNodeView {
5758
6382
  accumulatedRewards: string;
5759
6383
  initialHeartbeatInterval: string;
5760
6384
  }
5761
- declare const LightNodeView: MessageFns$5<LightNodeView>;
6385
+ declare const LightNodeView: MessageFns$7<LightNodeView>;
5762
6386
  interface QueryLightNodeRequest {
5763
6387
  address: string;
5764
6388
  }
5765
- declare const QueryLightNodeRequest: MessageFns$5<QueryLightNodeRequest>;
6389
+ declare const QueryLightNodeRequest: MessageFns$7<QueryLightNodeRequest>;
5766
6390
  interface QueryLightNodeResponse {
5767
6391
  node?: LightNodeView | undefined;
5768
6392
  found: boolean;
5769
6393
  }
5770
- declare const QueryLightNodeResponse: MessageFns$5<QueryLightNodeResponse>;
6394
+ declare const QueryLightNodeResponse: MessageFns$7<QueryLightNodeResponse>;
5771
6395
  interface QueryLightNodesRequest {
5772
6396
  }
5773
- declare const QueryLightNodesRequest: MessageFns$5<QueryLightNodesRequest>;
6397
+ declare const QueryLightNodesRequest: MessageFns$7<QueryLightNodesRequest>;
5774
6398
  interface QueryLightNodesResponse {
5775
6399
  nodes: LightNodeView[];
5776
6400
  }
5777
- declare const QueryLightNodesResponse: MessageFns$5<QueryLightNodesResponse>;
5778
- interface QueryParamsRequest$2 {
6401
+ declare const QueryLightNodesResponse: MessageFns$7<QueryLightNodesResponse>;
6402
+ interface QueryParamsRequest$4 {
5779
6403
  }
5780
- declare const QueryParamsRequest$2: MessageFns$5<QueryParamsRequest$2>;
5781
- interface QueryParamsResponse$2 {
6404
+ declare const QueryParamsRequest$4: MessageFns$7<QueryParamsRequest$4>;
6405
+ interface QueryParamsResponse$4 {
5782
6406
  registrationFee: string;
5783
6407
  heartbeatInterval: string;
5784
6408
  minDelegatedStake: string;
@@ -5787,28 +6411,28 @@ interface QueryParamsResponse$2 {
5787
6411
  maxLightNodes: string;
5788
6412
  heartbeatGracePeriod: string;
5789
6413
  }
5790
- declare const QueryParamsResponse$2: MessageFns$5<QueryParamsResponse$2>;
6414
+ declare const QueryParamsResponse$4: MessageFns$7<QueryParamsResponse$4>;
5791
6415
  interface QueryRewardsRequest {
5792
6416
  address: string;
5793
6417
  }
5794
- declare const QueryRewardsRequest: MessageFns$5<QueryRewardsRequest>;
6418
+ declare const QueryRewardsRequest: MessageFns$7<QueryRewardsRequest>;
5795
6419
  interface QueryRewardsResponse {
5796
6420
  accumulatedRewards: string;
5797
6421
  }
5798
- declare const QueryRewardsResponse: MessageFns$5<QueryRewardsResponse>;
6422
+ declare const QueryRewardsResponse: MessageFns$7<QueryRewardsResponse>;
5799
6423
  interface QueryStatsRequest {
5800
6424
  }
5801
- declare const QueryStatsRequest: MessageFns$5<QueryStatsRequest>;
6425
+ declare const QueryStatsRequest: MessageFns$7<QueryStatsRequest>;
5802
6426
  interface QueryStatsResponse {
5803
6427
  totalRegistered: string;
5804
6428
  totalActive: string;
5805
6429
  totalRewards: string;
5806
6430
  lastRewardHeight: string;
5807
6431
  }
5808
- declare const QueryStatsResponse: MessageFns$5<QueryStatsResponse>;
6432
+ declare const QueryStatsResponse: MessageFns$7<QueryStatsResponse>;
5809
6433
  /** Query defines the lightnode module's gRPC query service. */
5810
- type QueryDefinition$5 = typeof QueryDefinition$5;
5811
- declare const QueryDefinition$5: {
6434
+ type QueryDefinition$7 = typeof QueryDefinition$7;
6435
+ declare const QueryDefinition$7: {
5812
6436
  readonly name: "Query";
5813
6437
  readonly fullName: "qorechain.lightnode.v1.Query";
5814
6438
  readonly methods: {
@@ -5833,9 +6457,9 @@ declare const QueryDefinition$5: {
5833
6457
  /** Params returns the lightnode module parameters. */
5834
6458
  readonly params: {
5835
6459
  readonly name: "Params";
5836
- readonly requestType: typeof QueryParamsRequest$2;
6460
+ readonly requestType: typeof QueryParamsRequest$4;
5837
6461
  readonly requestStream: false;
5838
- readonly responseType: typeof QueryParamsResponse$2;
6462
+ readonly responseType: typeof QueryParamsResponse$4;
5839
6463
  readonly responseStream: false;
5840
6464
  readonly options: {};
5841
6465
  };
@@ -5859,44 +6483,178 @@ declare const QueryDefinition$5: {
5859
6483
  };
5860
6484
  };
5861
6485
  };
5862
- type Builtin$5 = Date | Function | Uint8Array | string | number | boolean | undefined;
5863
- type DeepPartial$5<T> = T extends Builtin$5 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$5<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$5<U>> : T extends {} ? {
5864
- [K in keyof T]?: DeepPartial$5<T[K]>;
6486
+ type Builtin$7 = Date | Function | Uint8Array | string | number | boolean | undefined;
6487
+ type DeepPartial$7<T> = T extends Builtin$7 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$7<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$7<U>> : T extends {} ? {
6488
+ [K in keyof T]?: DeepPartial$7<T[K]>;
5865
6489
  } : Partial<T>;
5866
- interface MessageFns$5<T> {
6490
+ interface MessageFns$7<T> {
5867
6491
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
5868
6492
  decode(input: BinaryReader | Uint8Array, length?: number): T;
5869
6493
  fromJSON(object: any): T;
5870
6494
  toJSON(message: T): unknown;
5871
- create(base?: DeepPartial$5<T>): T;
5872
- fromPartial(object: DeepPartial$5<T>): T;
6495
+ create(base?: DeepPartial$7<T>): T;
6496
+ fromPartial(object: DeepPartial$7<T>): T;
5873
6497
  }
5874
6498
 
5875
- declare const query$5_LightNodeView: typeof LightNodeView;
5876
- declare const query$5_QueryLightNodeRequest: typeof QueryLightNodeRequest;
5877
- declare const query$5_QueryLightNodeResponse: typeof QueryLightNodeResponse;
5878
- declare const query$5_QueryLightNodesRequest: typeof QueryLightNodesRequest;
5879
- declare const query$5_QueryLightNodesResponse: typeof QueryLightNodesResponse;
5880
- declare const query$5_QueryRewardsRequest: typeof QueryRewardsRequest;
5881
- declare const query$5_QueryRewardsResponse: typeof QueryRewardsResponse;
5882
- declare const query$5_QueryStatsRequest: typeof QueryStatsRequest;
5883
- declare const query$5_QueryStatsResponse: typeof QueryStatsResponse;
5884
- declare namespace query$5 {
5885
- export { type DeepPartial$5 as DeepPartial, query$5_LightNodeView as LightNodeView, type MessageFns$5 as MessageFns, QueryDefinition$5 as QueryDefinition, query$5_QueryLightNodeRequest as QueryLightNodeRequest, query$5_QueryLightNodeResponse as QueryLightNodeResponse, query$5_QueryLightNodesRequest as QueryLightNodesRequest, query$5_QueryLightNodesResponse as QueryLightNodesResponse, QueryParamsRequest$2 as QueryParamsRequest, QueryParamsResponse$2 as QueryParamsResponse, query$5_QueryRewardsRequest as QueryRewardsRequest, query$5_QueryRewardsResponse as QueryRewardsResponse, query$5_QueryStatsRequest as QueryStatsRequest, query$5_QueryStatsResponse as QueryStatsResponse, protobufPackage$5 as protobufPackage };
6499
+ declare const query$7_LightNodeView: typeof LightNodeView;
6500
+ declare const query$7_QueryLightNodeRequest: typeof QueryLightNodeRequest;
6501
+ declare const query$7_QueryLightNodeResponse: typeof QueryLightNodeResponse;
6502
+ declare const query$7_QueryLightNodesRequest: typeof QueryLightNodesRequest;
6503
+ declare const query$7_QueryLightNodesResponse: typeof QueryLightNodesResponse;
6504
+ declare const query$7_QueryRewardsRequest: typeof QueryRewardsRequest;
6505
+ declare const query$7_QueryRewardsResponse: typeof QueryRewardsResponse;
6506
+ declare const query$7_QueryStatsRequest: typeof QueryStatsRequest;
6507
+ declare const query$7_QueryStatsResponse: typeof QueryStatsResponse;
6508
+ declare namespace query$7 {
6509
+ export { type DeepPartial$7 as DeepPartial, query$7_LightNodeView as LightNodeView, type MessageFns$7 as MessageFns, QueryDefinition$7 as QueryDefinition, query$7_QueryLightNodeRequest as QueryLightNodeRequest, query$7_QueryLightNodeResponse as QueryLightNodeResponse, query$7_QueryLightNodesRequest as QueryLightNodesRequest, query$7_QueryLightNodesResponse as QueryLightNodesResponse, QueryParamsRequest$4 as QueryParamsRequest, QueryParamsResponse$4 as QueryParamsResponse, query$7_QueryRewardsRequest as QueryRewardsRequest, query$7_QueryRewardsResponse as QueryRewardsResponse, query$7_QueryStatsRequest as QueryStatsRequest, query$7_QueryStatsResponse as QueryStatsResponse, protobufPackage$7 as protobufPackage };
6510
+ }
6511
+
6512
+ declare const protobufPackage$6 = "qorechain.multilayer.v1";
6513
+ interface ParamsView$1 {
6514
+ maxSidechains: string;
6515
+ maxPaychains: string;
6516
+ minAnchorInterval: string;
6517
+ maxAnchorInterval: string;
6518
+ defaultChallengePeriod: string;
6519
+ minSidechainStake: string;
6520
+ minPaychainStake: string;
6521
+ routingEnabled: boolean;
6522
+ routingConfidenceThreshold: string;
6523
+ crossLayerFeeBundling: boolean;
6524
+ }
6525
+ declare const ParamsView$1: MessageFns$6<ParamsView$1>;
6526
+ interface LayerView {
6527
+ layerId: string;
6528
+ layerType: string;
6529
+ status: string;
6530
+ chainId: string;
6531
+ description: string;
6532
+ targetBlockTimeMs: string;
6533
+ maxTransactionsPerBlock: string;
6534
+ minValidators: number;
6535
+ settlementIntervalBlocks: string;
6536
+ challengePeriodSeconds: string;
6537
+ }
6538
+ declare const LayerView: MessageFns$6<LayerView>;
6539
+ interface RoutingStatsView {
6540
+ totalRouted: string;
6541
+ routedToMain: string;
6542
+ routedToSidechains: string;
6543
+ routedToPaychains: string;
6544
+ averageGasSavingsPercent: string;
6545
+ averageLatencyImprovementPercent: string;
6546
+ }
6547
+ declare const RoutingStatsView: MessageFns$6<RoutingStatsView>;
6548
+ interface QueryParamsRequest$3 {
6549
+ }
6550
+ declare const QueryParamsRequest$3: MessageFns$6<QueryParamsRequest$3>;
6551
+ interface QueryParamsResponse$3 {
6552
+ params?: ParamsView$1 | undefined;
6553
+ }
6554
+ declare const QueryParamsResponse$3: MessageFns$6<QueryParamsResponse$3>;
6555
+ interface QueryLayerRequest {
6556
+ layerId: string;
6557
+ }
6558
+ declare const QueryLayerRequest: MessageFns$6<QueryLayerRequest>;
6559
+ interface QueryLayerResponse {
6560
+ layer?: LayerView | undefined;
6561
+ }
6562
+ declare const QueryLayerResponse: MessageFns$6<QueryLayerResponse>;
6563
+ interface QueryLayersRequest {
6564
+ }
6565
+ declare const QueryLayersRequest: MessageFns$6<QueryLayersRequest>;
6566
+ interface QueryLayersResponse {
6567
+ layers: LayerView[];
6568
+ }
6569
+ declare const QueryLayersResponse: MessageFns$6<QueryLayersResponse>;
6570
+ interface QueryRoutingStatsRequest {
6571
+ }
6572
+ declare const QueryRoutingStatsRequest: MessageFns$6<QueryRoutingStatsRequest>;
6573
+ interface QueryRoutingStatsView {
6574
+ stats?: RoutingStatsView | undefined;
6575
+ }
6576
+ declare const QueryRoutingStatsView: MessageFns$6<QueryRoutingStatsView>;
6577
+ /** Query defines the gRPC query service for the multilayer module. */
6578
+ type QueryDefinition$6 = typeof QueryDefinition$6;
6579
+ declare const QueryDefinition$6: {
6580
+ readonly name: "Query";
6581
+ readonly fullName: "qorechain.multilayer.v1.Query";
6582
+ readonly methods: {
6583
+ /** Params returns the module parameters. */
6584
+ readonly params: {
6585
+ readonly name: "Params";
6586
+ readonly requestType: typeof QueryParamsRequest$3;
6587
+ readonly requestStream: false;
6588
+ readonly responseType: typeof QueryParamsResponse$3;
6589
+ readonly responseStream: false;
6590
+ readonly options: {};
6591
+ };
6592
+ /** Layer returns a single layer config by ID. */
6593
+ readonly layer: {
6594
+ readonly name: "Layer";
6595
+ readonly requestType: typeof QueryLayerRequest;
6596
+ readonly requestStream: false;
6597
+ readonly responseType: typeof QueryLayerResponse;
6598
+ readonly responseStream: false;
6599
+ readonly options: {};
6600
+ };
6601
+ /** Layers lists all layers. */
6602
+ readonly layers: {
6603
+ readonly name: "Layers";
6604
+ readonly requestType: typeof QueryLayersRequest;
6605
+ readonly requestStream: false;
6606
+ readonly responseType: typeof QueryLayersResponse;
6607
+ readonly responseStream: false;
6608
+ readonly options: {};
6609
+ };
6610
+ /** RoutingStats returns the cross-layer routing statistics. */
6611
+ readonly routingStats: {
6612
+ readonly name: "RoutingStats";
6613
+ readonly requestType: typeof QueryRoutingStatsRequest;
6614
+ readonly requestStream: false;
6615
+ readonly responseType: typeof QueryRoutingStatsView;
6616
+ readonly responseStream: false;
6617
+ readonly options: {};
6618
+ };
6619
+ };
6620
+ };
6621
+ type Builtin$6 = Date | Function | Uint8Array | string | number | boolean | undefined;
6622
+ type DeepPartial$6<T> = T extends Builtin$6 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$6<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$6<U>> : T extends {} ? {
6623
+ [K in keyof T]?: DeepPartial$6<T[K]>;
6624
+ } : Partial<T>;
6625
+ interface MessageFns$6<T> {
6626
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6627
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6628
+ fromJSON(object: any): T;
6629
+ toJSON(message: T): unknown;
6630
+ create(base?: DeepPartial$6<T>): T;
6631
+ fromPartial(object: DeepPartial$6<T>): T;
6632
+ }
6633
+
6634
+ declare const query$6_LayerView: typeof LayerView;
6635
+ declare const query$6_QueryLayerRequest: typeof QueryLayerRequest;
6636
+ declare const query$6_QueryLayerResponse: typeof QueryLayerResponse;
6637
+ declare const query$6_QueryLayersRequest: typeof QueryLayersRequest;
6638
+ declare const query$6_QueryLayersResponse: typeof QueryLayersResponse;
6639
+ declare const query$6_QueryRoutingStatsRequest: typeof QueryRoutingStatsRequest;
6640
+ declare const query$6_QueryRoutingStatsView: typeof QueryRoutingStatsView;
6641
+ declare const query$6_RoutingStatsView: typeof RoutingStatsView;
6642
+ declare namespace query$6 {
6643
+ 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 };
5886
6644
  }
5887
6645
 
5888
- declare const protobufPackage$4 = "qorechain.pqc.v1";
6646
+ declare const protobufPackage$5 = "qorechain.pqc.v1";
5889
6647
  interface QueryAccountRequest$1 {
5890
6648
  /** address is the bech32 account address whose PQC key is requested. */
5891
6649
  address: string;
5892
6650
  }
5893
- declare const QueryAccountRequest$1: MessageFns$4<QueryAccountRequest$1>;
6651
+ declare const QueryAccountRequest$1: MessageFns$5<QueryAccountRequest$1>;
5894
6652
  interface QueryAccountResponse$1 {
5895
6653
  /** found reports whether the account has a registered PQC key. */
5896
6654
  found: boolean;
5897
6655
  account?: PQCAccountView | undefined;
5898
6656
  }
5899
- declare const QueryAccountResponse$1: MessageFns$4<QueryAccountResponse$1>;
6657
+ declare const QueryAccountResponse$1: MessageFns$5<QueryAccountResponse$1>;
5900
6658
  /** PQCAccountView is the query-facing view of a registered PQC account. */
5901
6659
  interface PQCAccountView {
5902
6660
  address: string;
@@ -5909,10 +6667,10 @@ interface PQCAccountView {
5909
6667
  migrationPublicKey: Uint8Array;
5910
6668
  migrationAlgorithmId: number;
5911
6669
  }
5912
- declare const PQCAccountView: MessageFns$4<PQCAccountView>;
5913
- /** Query defines the gRPC query service for the PQC module. */
5914
- type QueryDefinition$4 = typeof QueryDefinition$4;
5915
- declare const QueryDefinition$4: {
6670
+ declare const PQCAccountView: MessageFns$5<PQCAccountView>;
6671
+ /** Query defines the gRPC query service for the PQC module. */
6672
+ type QueryDefinition$5 = typeof QueryDefinition$5;
6673
+ declare const QueryDefinition$5: {
5916
6674
  readonly name: "Query";
5917
6675
  readonly fullName: "qorechain.pqc.v1.Query";
5918
6676
  readonly methods: {
@@ -5927,28 +6685,28 @@ declare const QueryDefinition$4: {
5927
6685
  };
5928
6686
  };
5929
6687
  };
5930
- type Builtin$4 = Date | Function | Uint8Array | string | number | boolean | undefined;
5931
- type DeepPartial$4<T> = T extends Builtin$4 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$4<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$4<U>> : T extends {} ? {
5932
- [K in keyof T]?: DeepPartial$4<T[K]>;
6688
+ type Builtin$5 = Date | Function | Uint8Array | string | number | boolean | undefined;
6689
+ type DeepPartial$5<T> = T extends Builtin$5 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$5<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$5<U>> : T extends {} ? {
6690
+ [K in keyof T]?: DeepPartial$5<T[K]>;
5933
6691
  } : Partial<T>;
5934
- interface MessageFns$4<T> {
6692
+ interface MessageFns$5<T> {
5935
6693
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
5936
6694
  decode(input: BinaryReader | Uint8Array, length?: number): T;
5937
6695
  fromJSON(object: any): T;
5938
6696
  toJSON(message: T): unknown;
5939
- create(base?: DeepPartial$4<T>): T;
5940
- fromPartial(object: DeepPartial$4<T>): T;
6697
+ create(base?: DeepPartial$5<T>): T;
6698
+ fromPartial(object: DeepPartial$5<T>): T;
5941
6699
  }
5942
6700
 
5943
- declare const query$4_PQCAccountView: typeof PQCAccountView;
5944
- declare namespace query$4 {
5945
- export { type DeepPartial$4 as DeepPartial, type MessageFns$4 as MessageFns, query$4_PQCAccountView as PQCAccountView, QueryAccountRequest$1 as QueryAccountRequest, QueryAccountResponse$1 as QueryAccountResponse, QueryDefinition$4 as QueryDefinition, protobufPackage$4 as protobufPackage };
6701
+ declare const query$5_PQCAccountView: typeof PQCAccountView;
6702
+ declare namespace query$5 {
6703
+ export { type DeepPartial$5 as DeepPartial, type MessageFns$5 as MessageFns, query$5_PQCAccountView as PQCAccountView, QueryAccountRequest$1 as QueryAccountRequest, QueryAccountResponse$1 as QueryAccountResponse, QueryDefinition$5 as QueryDefinition, protobufPackage$5 as protobufPackage };
5946
6704
  }
5947
6705
 
5948
- declare const protobufPackage$3 = "qorechain.qca.v1";
6706
+ declare const protobufPackage$4 = "qorechain.qca.v1";
5949
6707
  interface QueryConfigRequest {
5950
6708
  }
5951
- declare const QueryConfigRequest: MessageFns$3<QueryConfigRequest>;
6709
+ declare const QueryConfigRequest: MessageFns$4<QueryConfigRequest>;
5952
6710
  interface QueryConfigResponse {
5953
6711
  useReputationWeighting: boolean;
5954
6712
  minReputationScore: number;
@@ -5973,10 +6731,10 @@ interface QueryConfigResponse {
5973
6731
  qdrwRepMinMultiplier: string;
5974
6732
  qdrwRepMaxMultiplier: string;
5975
6733
  }
5976
- declare const QueryConfigResponse: MessageFns$3<QueryConfigResponse>;
6734
+ declare const QueryConfigResponse: MessageFns$4<QueryConfigResponse>;
5977
6735
  /** Query defines the qca module's gRPC query service. */
5978
- type QueryDefinition$3 = typeof QueryDefinition$3;
5979
- declare const QueryDefinition$3: {
6736
+ type QueryDefinition$4 = typeof QueryDefinition$4;
6737
+ declare const QueryDefinition$4: {
5980
6738
  readonly name: "Query";
5981
6739
  readonly fullName: "qorechain.qca.v1.Query";
5982
6740
  readonly methods: {
@@ -5994,6 +6752,160 @@ declare const QueryDefinition$3: {
5994
6752
  };
5995
6753
  };
5996
6754
  };
6755
+ type Builtin$4 = Date | Function | Uint8Array | string | number | boolean | undefined;
6756
+ type DeepPartial$4<T> = T extends Builtin$4 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$4<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$4<U>> : T extends {} ? {
6757
+ [K in keyof T]?: DeepPartial$4<T[K]>;
6758
+ } : Partial<T>;
6759
+ interface MessageFns$4<T> {
6760
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6761
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6762
+ fromJSON(object: any): T;
6763
+ toJSON(message: T): unknown;
6764
+ create(base?: DeepPartial$4<T>): T;
6765
+ fromPartial(object: DeepPartial$4<T>): T;
6766
+ }
6767
+
6768
+ declare const query$4_QueryConfigRequest: typeof QueryConfigRequest;
6769
+ declare const query$4_QueryConfigResponse: typeof QueryConfigResponse;
6770
+ declare namespace query$4 {
6771
+ export { type DeepPartial$4 as DeepPartial, type MessageFns$4 as MessageFns, query$4_QueryConfigRequest as QueryConfigRequest, query$4_QueryConfigResponse as QueryConfigResponse, QueryDefinition$4 as QueryDefinition, protobufPackage$4 as protobufPackage };
6772
+ }
6773
+
6774
+ declare const protobufPackage$3 = "qorechain.rdk.v1";
6775
+ /** ParamsView is the query-facing view of the module parameters. */
6776
+ interface ParamsView {
6777
+ maxRollups: number;
6778
+ minStakeForRollup: string;
6779
+ rollupCreationBurnRate: string;
6780
+ defaultChallengeWindow: string;
6781
+ maxDaBlobSize: string;
6782
+ blobRetentionBlocks: string;
6783
+ maxBatchesPerBlock: number;
6784
+ }
6785
+ declare const ParamsView: MessageFns$3<ParamsView>;
6786
+ /** RollupView is the query-facing view of a rollup config (scalar fields). */
6787
+ interface RollupView {
6788
+ rollupId: string;
6789
+ creator: string;
6790
+ profile: string;
6791
+ settlementMode: string;
6792
+ daBackend: string;
6793
+ blockTimeMs: string;
6794
+ maxTxPerBlock: string;
6795
+ vmType: string;
6796
+ status: string;
6797
+ stakeAmount: string;
6798
+ layerId: string;
6799
+ createdHeight: string;
6800
+ }
6801
+ declare const RollupView: MessageFns$3<RollupView>;
6802
+ /** BatchView is the query-facing view of a settlement batch. */
6803
+ interface BatchView {
6804
+ rollupId: string;
6805
+ batchIndex: string;
6806
+ stateRoot: string;
6807
+ prevStateRoot: string;
6808
+ txCount: string;
6809
+ dataHash: string;
6810
+ proofType: string;
6811
+ status: string;
6812
+ submittedAt: string;
6813
+ finalizedAt: string;
6814
+ withdrawalsRoot: string;
6815
+ }
6816
+ declare const BatchView: MessageFns$3<BatchView>;
6817
+ interface QueryParamsRequest$2 {
6818
+ }
6819
+ declare const QueryParamsRequest$2: MessageFns$3<QueryParamsRequest$2>;
6820
+ interface QueryParamsResponse$2 {
6821
+ params?: ParamsView | undefined;
6822
+ }
6823
+ declare const QueryParamsResponse$2: MessageFns$3<QueryParamsResponse$2>;
6824
+ interface QueryRollupRequest {
6825
+ rollupId: string;
6826
+ }
6827
+ declare const QueryRollupRequest: MessageFns$3<QueryRollupRequest>;
6828
+ interface QueryRollupResponse {
6829
+ rollup?: RollupView | undefined;
6830
+ }
6831
+ declare const QueryRollupResponse: MessageFns$3<QueryRollupResponse>;
6832
+ interface QueryRollupsRequest {
6833
+ }
6834
+ declare const QueryRollupsRequest: MessageFns$3<QueryRollupsRequest>;
6835
+ interface QueryRollupsResponse {
6836
+ rollups: RollupView[];
6837
+ }
6838
+ declare const QueryRollupsResponse: MessageFns$3<QueryRollupsResponse>;
6839
+ interface QueryBatchRequest {
6840
+ rollupId: string;
6841
+ batchIndex: string;
6842
+ }
6843
+ declare const QueryBatchRequest: MessageFns$3<QueryBatchRequest>;
6844
+ interface QueryBatchResponse {
6845
+ batch?: BatchView | undefined;
6846
+ }
6847
+ declare const QueryBatchResponse: MessageFns$3<QueryBatchResponse>;
6848
+ interface QueryLatestBatchRequest {
6849
+ rollupId: string;
6850
+ }
6851
+ declare const QueryLatestBatchRequest: MessageFns$3<QueryLatestBatchRequest>;
6852
+ interface QueryLatestBatchResponse {
6853
+ batch?: BatchView | undefined;
6854
+ }
6855
+ declare const QueryLatestBatchResponse: MessageFns$3<QueryLatestBatchResponse>;
6856
+ /** Query defines the gRPC query service for the rdk (rollup) module. */
6857
+ type QueryDefinition$3 = typeof QueryDefinition$3;
6858
+ declare const QueryDefinition$3: {
6859
+ readonly name: "Query";
6860
+ readonly fullName: "qorechain.rdk.v1.Query";
6861
+ readonly methods: {
6862
+ /** Params returns the module parameters. */
6863
+ readonly params: {
6864
+ readonly name: "Params";
6865
+ readonly requestType: typeof QueryParamsRequest$2;
6866
+ readonly requestStream: false;
6867
+ readonly responseType: typeof QueryParamsResponse$2;
6868
+ readonly responseStream: false;
6869
+ readonly options: {};
6870
+ };
6871
+ /** Rollup returns a single rollup config by ID. */
6872
+ readonly rollup: {
6873
+ readonly name: "Rollup";
6874
+ readonly requestType: typeof QueryRollupRequest;
6875
+ readonly requestStream: false;
6876
+ readonly responseType: typeof QueryRollupResponse;
6877
+ readonly responseStream: false;
6878
+ readonly options: {};
6879
+ };
6880
+ /** Rollups lists all rollups. */
6881
+ readonly rollups: {
6882
+ readonly name: "Rollups";
6883
+ readonly requestType: typeof QueryRollupsRequest;
6884
+ readonly requestStream: false;
6885
+ readonly responseType: typeof QueryRollupsResponse;
6886
+ readonly responseStream: false;
6887
+ readonly options: {};
6888
+ };
6889
+ /** Batch returns a settlement batch by (rollup_id, batch_index). */
6890
+ readonly batch: {
6891
+ readonly name: "Batch";
6892
+ readonly requestType: typeof QueryBatchRequest;
6893
+ readonly requestStream: false;
6894
+ readonly responseType: typeof QueryBatchResponse;
6895
+ readonly responseStream: false;
6896
+ readonly options: {};
6897
+ };
6898
+ /** LatestBatch returns the latest settlement batch for a rollup. */
6899
+ readonly latestBatch: {
6900
+ readonly name: "LatestBatch";
6901
+ readonly requestType: typeof QueryLatestBatchRequest;
6902
+ readonly requestStream: false;
6903
+ readonly responseType: typeof QueryLatestBatchResponse;
6904
+ readonly responseStream: false;
6905
+ readonly options: {};
6906
+ };
6907
+ };
6908
+ };
5997
6909
  type Builtin$3 = Date | Function | Uint8Array | string | number | boolean | undefined;
5998
6910
  type DeepPartial$3<T> = T extends Builtin$3 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$3<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$3<U>> : T extends {} ? {
5999
6911
  [K in keyof T]?: DeepPartial$3<T[K]>;
@@ -6007,10 +6919,19 @@ interface MessageFns$3<T> {
6007
6919
  fromPartial(object: DeepPartial$3<T>): T;
6008
6920
  }
6009
6921
 
6010
- declare const query$3_QueryConfigRequest: typeof QueryConfigRequest;
6011
- declare const query$3_QueryConfigResponse: typeof QueryConfigResponse;
6922
+ declare const query$3_BatchView: typeof BatchView;
6923
+ declare const query$3_ParamsView: typeof ParamsView;
6924
+ declare const query$3_QueryBatchRequest: typeof QueryBatchRequest;
6925
+ declare const query$3_QueryBatchResponse: typeof QueryBatchResponse;
6926
+ declare const query$3_QueryLatestBatchRequest: typeof QueryLatestBatchRequest;
6927
+ declare const query$3_QueryLatestBatchResponse: typeof QueryLatestBatchResponse;
6928
+ declare const query$3_QueryRollupRequest: typeof QueryRollupRequest;
6929
+ declare const query$3_QueryRollupResponse: typeof QueryRollupResponse;
6930
+ declare const query$3_QueryRollupsRequest: typeof QueryRollupsRequest;
6931
+ declare const query$3_QueryRollupsResponse: typeof QueryRollupsResponse;
6932
+ declare const query$3_RollupView: typeof RollupView;
6012
6933
  declare namespace query$3 {
6013
- export { type DeepPartial$3 as DeepPartial, type MessageFns$3 as MessageFns, query$3_QueryConfigRequest as QueryConfigRequest, query$3_QueryConfigResponse as QueryConfigResponse, QueryDefinition$3 as QueryDefinition, protobufPackage$3 as protobufPackage };
6934
+ export { query$3_BatchView as BatchView, type DeepPartial$3 as DeepPartial, type MessageFns$3 as MessageFns, query$3_ParamsView as ParamsView, query$3_QueryBatchRequest as QueryBatchRequest, query$3_QueryBatchResponse as QueryBatchResponse, QueryDefinition$3 as QueryDefinition, query$3_QueryLatestBatchRequest as QueryLatestBatchRequest, query$3_QueryLatestBatchResponse as QueryLatestBatchResponse, QueryParamsRequest$2 as QueryParamsRequest, QueryParamsResponse$2 as QueryParamsResponse, query$3_QueryRollupRequest as QueryRollupRequest, query$3_QueryRollupResponse as QueryRollupResponse, query$3_QueryRollupsRequest as QueryRollupsRequest, query$3_QueryRollupsResponse as QueryRollupsResponse, query$3_RollupView as RollupView, protobufPackage$3 as protobufPackage };
6014
6935
  }
6015
6936
 
6016
6937
  declare const protobufPackage$2 = "qorechain.reputation.v1";
@@ -6332,7 +7253,7 @@ declare namespace query {
6332
7253
  */
6333
7254
 
6334
7255
  declare namespace index {
6335
- export { tx$2 as abstractaccount, tx$a as amm, tx$9 as bridge, tx$1 as crossvm, query$6 as crossvmQuery, tx$3 as license, tx$4 as lightnode, query$5 as lightnodeQuery, tx$7 as multilayer, tx$6 as pqc, query$4 as pqcQuery, query$3 as qcaQuery, tx$8 as rdk, query$2 as reputationQuery, tx as rlconsensus, query$1 as rlconsensusQuery, tx$5 as svm, query as svmQuery };
7256
+ export { tx$2 as abstractaccount, tx$9 as amm, tx$a as bridge, query$9 as bridgeQuery, tx$1 as crossvm, query$8 as crossvmQuery, tx$3 as license, tx$4 as lightnode, query$7 as lightnodeQuery, tx$7 as multilayer, query$6 as multilayerQuery, tx$6 as pqc, query$5 as pqcQuery, query$4 as qcaQuery, tx$8 as rdk, query$3 as rdkQuery, query$2 as reputationQuery, tx as rlconsensus, query$1 as rlconsensusQuery, tx$5 as svm, query as svmQuery };
6336
7257
  }
6337
7258
 
6338
7259
  /**
@@ -6489,7 +7410,7 @@ declare function getCosmosWallet(opts: GetCosmosWalletOptions): Promise<CosmosWa
6489
7410
  type CometClientLike = Parameters<typeof QueryClient.withExtensions>[0];
6490
7411
  /** Cross-VM module query client. */
6491
7412
  interface CrossVmQueryClient {
6492
- params(req?: QueryParamsRequest$3): Promise<QueryParamsResponse$3>;
7413
+ params(req?: QueryParamsRequest$5): Promise<QueryParamsResponse$5>;
6493
7414
  pendingMessages(req?: QueryPendingMessagesRequest): Promise<QueryPendingMessagesResponse>;
6494
7415
  message(req: QueryMessageRequest): Promise<QueryMessageResponse>;
6495
7416
  }
@@ -6498,6 +7419,47 @@ interface LightNodeQueryClient {
6498
7419
  lightNode(req: QueryLightNodeRequest): Promise<QueryLightNodeResponse>;
6499
7420
  lightNodes(req?: QueryLightNodesRequest): Promise<QueryLightNodesResponse>;
6500
7421
  }
7422
+ /** Multilayer (sidechain / paychain) module query client. */
7423
+ interface MultilayerQueryClient {
7424
+ /** Module parameters (limits, stake minimums, routing config). */
7425
+ params(req?: QueryParamsRequest$3): Promise<QueryParamsResponse$3>;
7426
+ /** A single layer (sidechain/paychain) config by ID. */
7427
+ layer(req: QueryLayerRequest): Promise<QueryLayerResponse>;
7428
+ /** All registered layers. */
7429
+ layers(req?: QueryLayersRequest): Promise<QueryLayersResponse>;
7430
+ /** Cross-layer routing statistics (gas savings, latency, counts). */
7431
+ routingStats(req?: QueryRoutingStatsRequest): Promise<QueryRoutingStatsView>;
7432
+ }
7433
+ /** RDK (rollup) module query client. */
7434
+ interface RdkQueryClient {
7435
+ /** Module parameters (max rollups, stake/blob limits, challenge window). */
7436
+ params(req?: QueryParamsRequest$2): Promise<QueryParamsResponse$2>;
7437
+ /** A single rollup config by ID. */
7438
+ rollup(req: QueryRollupRequest): Promise<QueryRollupResponse>;
7439
+ /** All registered rollups. */
7440
+ rollups(req?: QueryRollupsRequest): Promise<QueryRollupsResponse>;
7441
+ /** A settlement batch by (rollupId, batchIndex). */
7442
+ batch(req: QueryBatchRequest): Promise<QueryBatchResponse>;
7443
+ /** The latest settlement batch for a rollup. */
7444
+ latestBatch(req: QueryLatestBatchRequest): Promise<QueryLatestBatchResponse>;
7445
+ }
7446
+ /** Bridge module query client. */
7447
+ interface BridgeQueryClient {
7448
+ /** Global bridge config. */
7449
+ config(req?: QueryConfigRequest$1): Promise<QueryConfigResponse$1>;
7450
+ /** A single chain config by ID. */
7451
+ chainConfig(req: QueryChainConfigRequest): Promise<QueryChainConfigResponse>;
7452
+ /** All configured chains. */
7453
+ chainConfigs(req?: QueryChainConfigsRequest): Promise<QueryChainConfigsResponse>;
7454
+ /** A single bridge validator by address. */
7455
+ validator(req: QueryValidatorRequest): Promise<QueryValidatorResponse>;
7456
+ /** All bridge validators. */
7457
+ validators(req?: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
7458
+ /** A single bridge operation by ID. */
7459
+ operation(req: QueryOperationRequest): Promise<QueryOperationResponse>;
7460
+ /** All bridge operations. */
7461
+ operations(req?: QueryOperationsRequest): Promise<QueryOperationsResponse>;
7462
+ }
6501
7463
  /** PQC module query client. */
6502
7464
  interface PqcQueryClient {
6503
7465
  account(req: QueryAccountRequest$1): Promise<QueryAccountResponse$1>;
@@ -6521,10 +7483,13 @@ interface SvmQueryClient {
6521
7483
  }
6522
7484
  /** All typed module query clients, grouped by module. */
6523
7485
  interface QoreChainQueryClients {
7486
+ bridge: BridgeQueryClient;
6524
7487
  crossvm: CrossVmQueryClient;
6525
7488
  lightnode: LightNodeQueryClient;
7489
+ multilayer: MultilayerQueryClient;
6526
7490
  pqc: PqcQueryClient;
6527
7491
  qca: QcaQueryClient;
7492
+ rdk: RdkQueryClient;
6528
7493
  reputation: ReputationQueryClient;
6529
7494
  rlconsensus: RlConsensusQueryClient;
6530
7495
  svm: SvmQueryClient;
@@ -6545,6 +7510,704 @@ declare function createQueryClients(rpc: ProtobufRpcClient): QoreChainQueryClien
6545
7510
  */
6546
7511
  declare function connectQueryClients(cometClient: CometClientLike): QoreChainQueryClients;
6547
7512
 
7513
+ /**
7514
+ * High-level Multilayer client — ergonomic sidechain / paychain operations.
7515
+ *
7516
+ * The multilayer module lets an app register additional execution layers
7517
+ * (sidechains and paychains), periodically anchor their state roots back to the
7518
+ * main chain, and route individual transactions to the cheapest/fastest layer.
7519
+ * This helper wraps the typed message composers ({@link msg.multilayer}) and the
7520
+ * typed query client so a developer never has to hand-build a `{ typeUrl, value }`
7521
+ * or remember a service/method name.
7522
+ *
7523
+ * Lifecycle, end to end:
7524
+ * 1. `registerSidechain` / `registerPaychain` — declare a new layer.
7525
+ * 2. `anchorState` — commit a layer's state root to the main chain (the relayer
7526
+ * does this on each settlement interval).
7527
+ * 3. `routeTransaction` — submit a payload and let the chain pick the best layer.
7528
+ * 4. `getLayer` / `listLayers` / `routingStats` — read layer state and metrics.
7529
+ *
7530
+ * Construct one with {@link createMultilayerClient}, passing a connected
7531
+ * {@link TxClient} (for writes) and, optionally, a {@link MultilayerQueryClient}
7532
+ * (for the typed reads).
7533
+ *
7534
+ * Note on running a layer: this SDK is the *app-developer* surface — it submits
7535
+ * and reads multilayer transactions. Operating the off-chain layer node itself
7536
+ * (block production, the relayer that calls `anchorState`) is a separate concern.
7537
+ */
7538
+
7539
+ /** Shared write-path options forwarded to {@link TxClient.signAndBroadcast}. */
7540
+ interface MultilayerWriteOptions {
7541
+ /** Fee: an explicit `StdFee` or `"auto"` (simulate + price). Default `"auto"`. */
7542
+ fee?: FeeInput$1;
7543
+ /** Optional memo string. */
7544
+ memo?: string;
7545
+ /** Auto-fee tuning (gas multiplier / gas price) when `fee` is `"auto"`. */
7546
+ autoFee?: AutoFeeOptions;
7547
+ }
7548
+ /** Options for {@link MultilayerClient.registerSidechain}. */
7549
+ interface RegisterSidechainOptions extends MultilayerWriteOptions {
7550
+ /** Unique layer identifier (e.g. `"game-sidechain"`). */
7551
+ layerId: string;
7552
+ /** Human-readable description of the layer's purpose. */
7553
+ description?: string;
7554
+ /** Target block time in milliseconds. */
7555
+ targetBlockTimeMs?: bigint | number | string;
7556
+ /** Soft cap on transactions per block. */
7557
+ maxTransactionsPerBlock?: bigint | number | string;
7558
+ /** Minimum validators required for the layer. */
7559
+ minValidators?: number;
7560
+ /** How many layer blocks between main-chain settlements (anchors). */
7561
+ settlementIntervalBlocks?: bigint | number | string;
7562
+ /** VM types the layer supports (e.g. `["evm", "wasm"]`). */
7563
+ supportedVmTypes?: string[];
7564
+ /** Application domains the layer is registered to serve. */
7565
+ supportedDomains?: string[];
7566
+ }
7567
+ /** Options for {@link MultilayerClient.registerPaychain}. */
7568
+ interface RegisterPaychainOptions extends MultilayerWriteOptions {
7569
+ /** Unique layer identifier (e.g. `"payments-paychain"`). */
7570
+ layerId: string;
7571
+ /** Human-readable description of the paychain's purpose. */
7572
+ description?: string;
7573
+ /** Soft cap on transactions per block. */
7574
+ maxTransactionsPerBlock?: bigint | number | string;
7575
+ /** How many layer blocks between main-chain settlements (anchors). */
7576
+ settlementIntervalBlocks?: bigint | number | string;
7577
+ /** Base fee multiplier as a decimal string (e.g. `"0.5"`). */
7578
+ baseFeeMultiplier?: string;
7579
+ }
7580
+ /** Options for {@link MultilayerClient.anchorState}. */
7581
+ interface AnchorStateOptions extends MultilayerWriteOptions {
7582
+ /** The layer whose state is being anchored. */
7583
+ layerId: string;
7584
+ /** The layer block height the state root corresponds to. */
7585
+ layerHeight: bigint | number | string;
7586
+ /** The layer's state root at `layerHeight`. */
7587
+ stateRoot: Uint8Array;
7588
+ /** Hash of the layer's validator set that signed this anchor. */
7589
+ validatorSetHash?: Uint8Array;
7590
+ /** PQC aggregate signature over the anchor. */
7591
+ pqcAggregateSignature?: Uint8Array;
7592
+ /** Number of transactions included since the previous anchor. */
7593
+ transactionCount?: bigint | number | string;
7594
+ /** Optional compressed proof of the anchored state. */
7595
+ compressedStateProof?: Uint8Array;
7596
+ }
7597
+ /** Options for {@link MultilayerClient.routeTransaction}. */
7598
+ interface RouteTransactionOptions extends MultilayerWriteOptions {
7599
+ /** The opaque transaction payload to route. */
7600
+ transactionPayload: Uint8Array;
7601
+ /** Preferred layer id; empty lets the router choose freely. */
7602
+ preferredLayer?: string;
7603
+ /** Acceptable upper bound on latency, in milliseconds. */
7604
+ maxLatencyMs?: bigint | number | string;
7605
+ /** Maximum fee the sender is willing to pay, as a string amount. */
7606
+ maxFee?: string;
7607
+ }
7608
+ /**
7609
+ * Ergonomic client for the multilayer (sidechain / paychain) module.
7610
+ *
7611
+ * Writes return the raw {@link BroadcastResult}; reads return the typed query
7612
+ * responses. Build the message offline with the `*Msg` methods if you want to
7613
+ * batch several messages into a single tx yourself.
7614
+ */
7615
+ interface MultilayerClient {
7616
+ /** Register a new sidechain layer. */
7617
+ registerSidechain(opts: RegisterSidechainOptions): Promise<BroadcastResult>;
7618
+ /** Register a new paychain layer. */
7619
+ registerPaychain(opts: RegisterPaychainOptions): Promise<BroadcastResult>;
7620
+ /** Anchor a layer's state root to the main chain. */
7621
+ anchorState(opts: AnchorStateOptions): Promise<BroadcastResult>;
7622
+ /** Route a transaction payload to the best-fit layer. */
7623
+ routeTransaction(opts: RouteTransactionOptions): Promise<BroadcastResult>;
7624
+ /** Build the `RegisterSidechain` message without broadcasting. */
7625
+ registerSidechainMsg(opts: Omit<RegisterSidechainOptions, keyof MultilayerWriteOptions>): EncodeObject;
7626
+ /** Build the `RegisterPaychain` message without broadcasting. */
7627
+ registerPaychainMsg(opts: Omit<RegisterPaychainOptions, keyof MultilayerWriteOptions>): EncodeObject;
7628
+ /** Build the `AnchorState` message without broadcasting. */
7629
+ anchorStateMsg(opts: Omit<AnchorStateOptions, keyof MultilayerWriteOptions>): EncodeObject;
7630
+ /** Build the `RouteTransaction` message without broadcasting. */
7631
+ routeTransactionMsg(opts: Omit<RouteTransactionOptions, keyof MultilayerWriteOptions>): EncodeObject;
7632
+ /** Read a single layer config by id. Requires a query client. */
7633
+ getLayer(layerId: string): Promise<QueryLayerResponse>;
7634
+ /** List all registered layers. Requires a query client. */
7635
+ listLayers(): Promise<QueryLayersResponse>;
7636
+ /** Read cross-layer routing statistics. Requires a query client. */
7637
+ routingStats(): Promise<QueryRoutingStatsView>;
7638
+ /** Read the module parameters. Requires a query client. */
7639
+ getParams(): Promise<QueryParamsResponse$3>;
7640
+ }
7641
+ /** Options for {@link createMultilayerClient}. */
7642
+ interface CreateMultilayerClientOptions {
7643
+ /**
7644
+ * Typed query client for the reads (`getLayer`, `listLayers`, `routingStats`,
7645
+ * `getParams`). Obtain it via {@link connectQueryClients} /
7646
+ * {@link createQueryClients}. If omitted, the read methods throw.
7647
+ */
7648
+ query?: MultilayerQueryClient;
7649
+ }
7650
+ /**
7651
+ * Create a {@link MultilayerClient} bound to a connected {@link TxClient}.
7652
+ *
7653
+ * The `TxClient`'s sender address is used as the message signer
7654
+ * (creator/relayer/sender depending on the message), so the caller never repeats
7655
+ * their address.
7656
+ *
7657
+ * @param tx - A connected signing client (from `client.connectTx(signer)`).
7658
+ * @param opts - Optional typed query client for the read methods.
7659
+ */
7660
+ declare function createMultilayerClient(tx: TxClient, opts?: CreateMultilayerClientOptions): MultilayerClient;
7661
+
7662
+ /**
7663
+ * High-level Rollup client — ergonomic RDK (rollup) operations.
7664
+ *
7665
+ * The rdk module lets an app create app-specific rollups, submit settlement
7666
+ * batches, run the fraud-proof challenge game, pause/resume/stop a rollup, and
7667
+ * finalize L2->L1 withdrawals. This helper wraps the typed message composers
7668
+ * ({@link msg.rdk}) and the typed query client so a developer can drive a
7669
+ * rollup's full lifecycle without hand-building messages or remembering ABCI
7670
+ * service/method names.
7671
+ *
7672
+ * Lifecycle, end to end:
7673
+ * 1. `createRollup` — declare a new rollup (profile + VM + stake).
7674
+ * 2. `submitBatch` — the sequencer posts a settlement batch (state root, data
7675
+ * hash, optional `withdrawalsRoot` committing L2->L1 messages).
7676
+ * 3. `challengeBatch` / `resolveChallenge` — the fraud-proof game.
7677
+ * 4. `pause` / `resume` / `stop` — operator lifecycle controls.
7678
+ * 5. `executeWithdrawal` — anyone proves a withdrawal leaf against a finalized
7679
+ * batch's `withdrawalsRoot` and the recipient is paid.
7680
+ * 6. `getRollup` / `listRollups` / `getBatch` / `getLatestBatch` — typed reads,
7681
+ * plus the `qor_*` conveniences (`getRollupStatus`, `suggestRollupProfile`,
7682
+ * `getDaBlobStatus`).
7683
+ *
7684
+ * Construct one with {@link createRollupClient}, passing a connected
7685
+ * {@link TxClient} (for writes) and, optionally, an {@link RdkQueryClient} and a
7686
+ * {@link QorClient} (for the typed and `qor_*` reads respectively).
7687
+ *
7688
+ * Note on SDK vs RDK: this SDK is the *app-developer* interaction surface (submit
7689
+ * and read rollup transactions). The separate Rollup Development Kit is for
7690
+ * *operating* a rollup node (sequencer, prover, data-availability). They are
7691
+ * complementary: build your app against this SDK; run the rollup with the RDK.
7692
+ */
7693
+
7694
+ /** Shared write-path options forwarded to {@link TxClient.signAndBroadcast}. */
7695
+ interface RollupWriteOptions {
7696
+ /** Fee: an explicit `StdFee` or `"auto"` (simulate + price). Default `"auto"`. */
7697
+ fee?: FeeInput$1;
7698
+ /** Optional memo string. */
7699
+ memo?: string;
7700
+ /** Auto-fee tuning (gas multiplier / gas price) when `fee` is `"auto"`. */
7701
+ autoFee?: AutoFeeOptions;
7702
+ }
7703
+ /** Options for {@link RollupClient.createRollup}. */
7704
+ interface CreateRollupOptions extends RollupWriteOptions {
7705
+ /** Unique rollup identifier (e.g. `"my-app-rollup"`). */
7706
+ rollupId: string;
7707
+ /** Rollup profile preset (e.g. `"default"`, `"high-throughput"`). */
7708
+ profile?: string;
7709
+ /** Execution VM type (e.g. `"evm"`, `"wasm"`, `"svm"`). */
7710
+ vmType?: string;
7711
+ /** Stake to bond for the rollup, in base units. */
7712
+ stakeAmount?: bigint | number | string;
7713
+ }
7714
+ /** Options for {@link RollupClient.submitBatch}. */
7715
+ interface SubmitBatchOptions extends RollupWriteOptions {
7716
+ /** The rollup the batch belongs to. */
7717
+ rollupId: string;
7718
+ /** Monotonic batch index. */
7719
+ batchIndex: bigint | number | string;
7720
+ /** The new state root after applying this batch. */
7721
+ stateRoot: Uint8Array;
7722
+ /** The previous state root (the batch's parent). */
7723
+ prevStateRoot?: Uint8Array;
7724
+ /** Number of transactions in the batch. */
7725
+ txCount?: bigint | number | string;
7726
+ /** Hash of the batch's transaction data (for data availability). */
7727
+ dataHash?: Uint8Array;
7728
+ /** Validity/fraud proof bytes (empty for optimistic batches). */
7729
+ proof?: Uint8Array;
7730
+ /**
7731
+ * Binary-Merkle root committing the L2->L1 messages (withdrawals) in this
7732
+ * batch. Leave empty when the batch carries no cross-layer messages; set it so
7733
+ * `executeWithdrawal` proofs can later be verified against this batch.
7734
+ */
7735
+ withdrawalsRoot?: Uint8Array;
7736
+ }
7737
+ /** Options for {@link RollupClient.challengeBatch}. */
7738
+ interface ChallengeBatchOptions extends RollupWriteOptions {
7739
+ /** The rollup the disputed batch belongs to. */
7740
+ rollupId: string;
7741
+ /** Index of the batch being challenged. */
7742
+ batchIndex: bigint | number | string;
7743
+ /** Fraud proof bytes backing the challenge. */
7744
+ proof?: Uint8Array;
7745
+ }
7746
+ /** Options for {@link RollupClient.resolveChallenge}. */
7747
+ interface ResolveChallengeOptions extends RollupWriteOptions {
7748
+ /** The rollup the disputed batch belongs to. */
7749
+ rollupId: string;
7750
+ /** Index of the challenged batch. */
7751
+ batchIndex: bigint | number | string;
7752
+ /**
7753
+ * `true`: fraud confirmed — batch rejected, challenger refunded + rewarded.
7754
+ * `false`: challenge dismissed — challenger bond forfeited, batch finalizable.
7755
+ */
7756
+ fraudUpheld: boolean;
7757
+ }
7758
+ /** Options for the operator lifecycle controls (pause/resume/stop). */
7759
+ interface RollupLifecycleOptions extends RollupWriteOptions {
7760
+ /** The rollup to act on. */
7761
+ rollupId: string;
7762
+ /** Reason for the action (used by `pause`; ignored otherwise). */
7763
+ reason?: string;
7764
+ }
7765
+ /** Options for {@link RollupClient.executeWithdrawal}. */
7766
+ interface ExecuteWithdrawalOptions extends RollupWriteOptions {
7767
+ /** The rollup the withdrawal was committed in. */
7768
+ rollupId: string;
7769
+ /** Index of the finalized batch whose `withdrawalsRoot` commits the leaf. */
7770
+ batchIndex: bigint | number | string;
7771
+ /** Index of the withdrawal leaf within the batch. */
7772
+ withdrawalIndex: bigint | number | string;
7773
+ /** Address that receives the funds (committed in the leaf). */
7774
+ recipient: string;
7775
+ /** Denom of the withdrawn asset. */
7776
+ denom: string;
7777
+ /** Amount to release, in base units. */
7778
+ amount: bigint | number | string;
7779
+ /** Binary-Merkle sibling hashes from the leaf up to `withdrawalsRoot`. */
7780
+ proof: Uint8Array[];
7781
+ }
7782
+ /**
7783
+ * Ergonomic client for the rdk (rollup) module.
7784
+ *
7785
+ * Writes return the raw {@link BroadcastResult}; typed reads return the query
7786
+ * responses; the `qor_*` conveniences return loosely-typed JSON. Build a message
7787
+ * offline with the `*Msg` methods to batch several into one tx yourself.
7788
+ */
7789
+ interface RollupClient {
7790
+ /** Create a new rollup. */
7791
+ createRollup(opts: CreateRollupOptions): Promise<BroadcastResult>;
7792
+ /** Submit a settlement batch (sequencer). */
7793
+ submitBatch(opts: SubmitBatchOptions): Promise<BroadcastResult>;
7794
+ /** Challenge a batch with a fraud proof. */
7795
+ challengeBatch(opts: ChallengeBatchOptions): Promise<BroadcastResult>;
7796
+ /** Resolve an open challenge. */
7797
+ resolveChallenge(opts: ResolveChallengeOptions): Promise<BroadcastResult>;
7798
+ /** Pause a rollup. */
7799
+ pause(opts: RollupLifecycleOptions): Promise<BroadcastResult>;
7800
+ /** Resume a paused rollup. */
7801
+ resume(opts: RollupLifecycleOptions): Promise<BroadcastResult>;
7802
+ /** Stop a rollup permanently. */
7803
+ stop(opts: RollupLifecycleOptions): Promise<BroadcastResult>;
7804
+ /** Finalize an L2->L1 withdrawal by proving it against a finalized batch. */
7805
+ executeWithdrawal(opts: ExecuteWithdrawalOptions): Promise<BroadcastResult>;
7806
+ /** Build the `CreateRollup` message without broadcasting. */
7807
+ createRollupMsg(opts: Omit<CreateRollupOptions, keyof RollupWriteOptions>): EncodeObject;
7808
+ /** Build the `SubmitBatch` message without broadcasting. */
7809
+ submitBatchMsg(opts: Omit<SubmitBatchOptions, keyof RollupWriteOptions>): EncodeObject;
7810
+ /** Build the `ExecuteWithdrawal` message without broadcasting. */
7811
+ executeWithdrawalMsg(opts: Omit<ExecuteWithdrawalOptions, keyof RollupWriteOptions>): EncodeObject;
7812
+ /** Read a single rollup config by id. Requires a query client. */
7813
+ getRollup(rollupId: string): Promise<QueryRollupResponse>;
7814
+ /** List all rollups. Requires a query client. */
7815
+ listRollups(): Promise<QueryRollupsResponse>;
7816
+ /** Read a settlement batch by (rollupId, batchIndex). Requires a query client. */
7817
+ getBatch(rollupId: string, batchIndex: bigint | number | string): Promise<QueryBatchResponse>;
7818
+ /** Read the latest settlement batch for a rollup. Requires a query client. */
7819
+ getLatestBatch(rollupId: string): Promise<QueryLatestBatchResponse>;
7820
+ /** Read the module parameters. Requires a query client. */
7821
+ getParams(): Promise<QueryParamsResponse$2>;
7822
+ /** `qor_getRollupStatus` convenience. Requires a `qor` client. */
7823
+ getRollupStatus<T = Record<string, unknown>>(rollupId: string): Promise<T>;
7824
+ /** `qor_suggestRollupProfile` convenience. Requires a `qor` client. */
7825
+ suggestRollupProfile<T = Record<string, unknown>>(useCase: string): Promise<T>;
7826
+ /** `qor_getDABlobStatus` convenience. Requires a `qor` client. */
7827
+ getDaBlobStatus<T = Record<string, unknown>>(rollupId: string, blobIndex: number): Promise<T>;
7828
+ }
7829
+ /** Options for {@link createRollupClient}. */
7830
+ interface CreateRollupClientOptions {
7831
+ /**
7832
+ * Typed query client for the typed reads (`getRollup`, `getBatch`, …). Obtain
7833
+ * it via {@link connectQueryClients} / {@link createQueryClients}. If omitted,
7834
+ * the typed read methods throw.
7835
+ */
7836
+ query?: RdkQueryClient;
7837
+ /**
7838
+ * `qor_` JSON-RPC client for the convenience reads (`getRollupStatus`,
7839
+ * `suggestRollupProfile`, `getDaBlobStatus`). Available on `client.qor`. If
7840
+ * omitted, those methods throw.
7841
+ */
7842
+ qor?: QorClient;
7843
+ }
7844
+ /**
7845
+ * Create a {@link RollupClient} bound to a connected {@link TxClient}.
7846
+ *
7847
+ * The `TxClient`'s sender address is used as the message signer
7848
+ * (creator/sequencer/challenger/resolver/submitter depending on the message), so
7849
+ * the caller never repeats their address.
7850
+ *
7851
+ * @param tx - A connected signing client (from `client.connectTx(signer)`).
7852
+ * @param opts - Optional typed query client and/or `qor_` client for reads.
7853
+ */
7854
+ declare function createRollupClient(tx: TxClient, opts?: CreateRollupClientOptions): RollupClient;
7855
+
7856
+ /**
7857
+ * High-level Cross-VM client — unified calls across QoreChain's three VMs.
7858
+ *
7859
+ * QoreChain runs EVM, SVM, and CosmWasm side by side and lets a single native
7860
+ * account invoke a contract on any of them through the `x/crossvm` module's
7861
+ * {@link MsgCrossVMCall}. This helper wraps that message — and the cross-VM query
7862
+ * client — so an app developer never hand-builds a `{ typeUrl, value }`, encodes a
7863
+ * payload by hand, or remembers a service/method name.
7864
+ *
7865
+ * The headline capability is {@link CrossVMClient.callAtomic}: pack several
7866
+ * `MsgCrossVMCall` messages into ONE transaction body so they execute atomically
7867
+ * under a single signature — e.g. an EVM call, an SVM call, and a CosmWasm call
7868
+ * that all land together or not at all.
7869
+ *
7870
+ * Per-VM payload encoding (pick exactly one shape per call):
7871
+ * - `{ payload }` — raw bytes / hex, passed through unchanged.
7872
+ * - `{ evm: { abi, functionName, args } }` — ABI-encoded with viem's
7873
+ * `encodeFunctionData` (selector + args). Requires the optional `viem` peer.
7874
+ * - `{ cosmwasm: object }` — `JSON.stringify` then UTF-8 bytes (the CosmWasm
7875
+ * execute-msg convention).
7876
+ * - `{ svm: { data } }` — raw bytes / hex (already an SVM instruction blob).
7877
+ *
7878
+ * Construct one with {@link createCrossVMClient}, passing a connected
7879
+ * {@link TxClient} (for writes) and, optionally, a {@link CrossVmQueryClient}
7880
+ * and/or a {@link QorClient} for the reads.
7881
+ */
7882
+
7883
+ /** The three execution environments a cross-VM call can target. */
7884
+ type VMType = "evm" | "cosmwasm" | "svm";
7885
+ /** The set of supported VM type strings. */
7886
+ declare const VM_TYPES: readonly ["evm", "cosmwasm", "svm"];
7887
+ /** A hex string (`0x`-prefixed) as accepted for raw payloads. */
7888
+ type Hex = `0x${string}`;
7889
+ /** Raw, pre-encoded payload — passed through to the chain unchanged. */
7890
+ interface RawPayload {
7891
+ /** The opaque payload bytes (raw `Uint8Array` or `0x`-hex). */
7892
+ payload: Uint8Array | Hex;
7893
+ }
7894
+ /** EVM payload built by ABI-encoding a function call with viem. */
7895
+ interface EvmPayload {
7896
+ evm: {
7897
+ /** The contract ABI (viem `Abi`-compatible array). */
7898
+ abi: readonly unknown[];
7899
+ /** The function to call. */
7900
+ functionName: string;
7901
+ /** The call arguments. */
7902
+ args?: readonly unknown[];
7903
+ };
7904
+ }
7905
+ /** CosmWasm payload: a JSON execute-message object (stringified to UTF-8). */
7906
+ interface CosmWasmPayload {
7907
+ /** The CosmWasm execute message (e.g. `{ transfer: { ... } }`). */
7908
+ cosmwasm: object;
7909
+ }
7910
+ /** SVM payload: a pre-built instruction blob (raw bytes / hex). */
7911
+ interface SvmPayload {
7912
+ svm: {
7913
+ /** The SVM instruction data (raw `Uint8Array` or `0x`-hex). */
7914
+ data: Uint8Array | Hex;
7915
+ };
7916
+ }
7917
+ /** Exactly one of the supported payload shapes. */
7918
+ type PayloadInput = RawPayload | EvmPayload | CosmWasmPayload | SvmPayload;
7919
+ /** Shared write-path options forwarded to {@link TxClient.signAndBroadcast}. */
7920
+ interface CrossVMWriteOptions {
7921
+ /** Fee: an explicit `StdFee` or `"auto"` (simulate + price). Default `"auto"`. */
7922
+ fee?: FeeInput$1;
7923
+ /** Optional memo string. */
7924
+ memo?: string;
7925
+ /** Auto-fee tuning (gas multiplier / gas price) when `fee` is `"auto"`. */
7926
+ autoFee?: AutoFeeOptions;
7927
+ }
7928
+ /** Common cross-VM call fields (without the payload or write options). */
7929
+ interface CrossVMCallBase {
7930
+ /** The VM the call originates from. Defaults to `"evm"`. */
7931
+ sourceVm?: VMType;
7932
+ /** The VM the call targets. */
7933
+ targetVm: VMType;
7934
+ /** The target contract address/identifier on `targetVm`. */
7935
+ targetContract: string;
7936
+ /** Optional funds (coins) to forward with the call. */
7937
+ funds?: Coin$1[];
7938
+ }
7939
+ /** Options for a single cross-VM call (base + payload). */
7940
+ type CrossVMCallOptions = CrossVMCallBase & PayloadInput;
7941
+ /** Options for {@link CrossVMClient.call} (adds write-path options). */
7942
+ type CallOptions = CrossVMCallOptions & CrossVMWriteOptions;
7943
+ /** Result of a single {@link CrossVMClient.call}. */
7944
+ interface CrossVMCallResult {
7945
+ /** The cross-VM message id assigned by the chain (parsed from tx events). */
7946
+ messageId: string;
7947
+ /** The raw broadcast result. */
7948
+ result: BroadcastResult;
7949
+ }
7950
+ /** Result of an atomic {@link CrossVMClient.callAtomic} batch. */
7951
+ interface CrossVMAtomicResult {
7952
+ /** The cross-VM message ids assigned by the chain (best-effort, from events). */
7953
+ messageIds: string[];
7954
+ /** The raw broadcast result for the single packing transaction. */
7955
+ result: BroadcastResult;
7956
+ }
7957
+ /**
7958
+ * Ergonomic client for the `x/crossvm` module.
7959
+ *
7960
+ * Writes build + sign + broadcast a {@link MsgCrossVMCall}; {@link callAtomic}
7961
+ * packs several into one body. {@link buildCall} is the offline build-only path.
7962
+ * Reads return the typed query response (or the `qor_` JSON-RPC fallback).
7963
+ */
7964
+ interface CrossVMClient {
7965
+ /** Build, sign, and broadcast a single cross-VM call. */
7966
+ call(opts: CallOptions): Promise<CrossVMCallResult>;
7967
+ /** Build a single `MsgCrossVMCall` without broadcasting. */
7968
+ buildCall(opts: CrossVMCallOptions): EncodeObject;
7969
+ /**
7970
+ * Pack multiple cross-VM calls into ONE transaction body so they execute
7971
+ * atomically under a single signature (the triple-VM headline).
7972
+ */
7973
+ callAtomic(calls: CrossVMCallOptions[], opts?: CrossVMWriteOptions): Promise<CrossVMAtomicResult>;
7974
+ /**
7975
+ * Read a cross-VM message by id. Uses the typed query client when provided,
7976
+ * otherwise falls back to the `qor_getCrossVMMessage` JSON-RPC method.
7977
+ */
7978
+ getMessage(id: string): Promise<QueryMessageResponse | Record<string, unknown>>;
7979
+ }
7980
+ /** Options for {@link createCrossVMClient}. */
7981
+ interface CreateCrossVMClientOptions {
7982
+ /**
7983
+ * Typed query client for {@link CrossVMClient.getMessage} (preferred). Obtain
7984
+ * it via {@link connectQueryClients} / {@link createQueryClients}.
7985
+ */
7986
+ query?: CrossVmQueryClient;
7987
+ /**
7988
+ * `qor_` JSON-RPC client used as the {@link CrossVMClient.getMessage} fallback
7989
+ * (via `qor_getCrossVMMessage`) when no typed query client is supplied.
7990
+ */
7991
+ qor?: QorClient;
7992
+ }
7993
+ /**
7994
+ * Create a {@link CrossVMClient} bound to a connected {@link TxClient}.
7995
+ *
7996
+ * The `TxClient`'s sender address is used as the message `sender`, so the caller
7997
+ * never repeats their address. `sourceVm` defaults to `"evm"`.
7998
+ *
7999
+ * @param tx - A connected signing client (from `client.connectTx(signer)`).
8000
+ * @param opts - Optional typed query client and/or `qor_` client for reads.
8001
+ */
8002
+ declare function createCrossVMClient(tx: TxClient, opts?: CreateCrossVMClientOptions): CrossVMClient;
8003
+
8004
+ /**
8005
+ * High-level quantum-safe developer-experience helpers.
8006
+ *
8007
+ * QoreChain treats post-quantum cryptography (PQC) as a first-class signature
8008
+ * scheme: an account registers an ML-DSA-87 (Dilithium-5) key on-chain
8009
+ * (`MsgRegisterPQCKey`), after which its transactions can carry a hybrid
8010
+ * (classical secp256k1 + ML-DSA-87) signature that the ante handler verifies in
8011
+ * full. The low-level primitives already exist — {@link generatePqcKeypair},
8012
+ * {@link buildHybridTx}, {@link signAndBroadcastHybrid}, the
8013
+ * `msg.pqc.registerPqcKey` composer, and the `qor_getPQCKeyStatus` read. This
8014
+ * module wraps them into a tiny, idempotent surface so a dApp becomes
8015
+ * **quantum-safe by default**: one call to be PQC-protected.
8016
+ *
8017
+ * The headline calls:
8018
+ * - {@link isPqcRegistered} / {@link getPqcStatus} — read whether an address has
8019
+ * a registered PQC key (via `qor_getPQCKeyStatus`).
8020
+ * - {@link ensurePqcRegistered} — register the signer's Dilithium key if (and
8021
+ * only if) it is not already registered. Idempotent: safe to call on every
8022
+ * app start.
8023
+ * - {@link migrateToHybrid} — ensure registration, then hand back a hybrid send
8024
+ * path wired to {@link buildHybridTx} / {@link signAndBroadcastHybrid}.
8025
+ * - {@link migratePqcKey} — rotate an account's PQC key (`MsgMigratePQCKey`).
8026
+ *
8027
+ * Reads accept either a {@link QorClient} or anything exposing a `qor`
8028
+ * sub-client (e.g. the composed `QoreChainClient` from `createClient`). Writes
8029
+ * take a connected {@link TxClient}.
8030
+ *
8031
+ * Precompile alternative: the same status is readable on the EVM side via the
8032
+ * `pqcKeyStatus(address) returns (bool registered, uint8 algorithmId, bytes
8033
+ * pubkey)` precompile at `0x0000000000000000000000000000000000000A02` (exposed
8034
+ * as `pqcKeyStatus` in `@qorechain/evm`). The helpers below prefer the
8035
+ * `qor_getPQCKeyStatus` JSON-RPC method, which needs no viem peer; the
8036
+ * precompile is the documented alternative for callers already on the EVM side.
8037
+ */
8038
+
8039
+ /** EVM precompile address for the `pqcKeyStatus` read (documented alternative). */
8040
+ declare const PQC_KEY_STATUS_PRECOMPILE_ADDRESS = "0x0000000000000000000000000000000000000A02";
8041
+ /**
8042
+ * A source for PQC status reads: either a {@link QorClient} directly, or any
8043
+ * object exposing one as `.qor` (e.g. the composed `QoreChainClient`).
8044
+ */
8045
+ type PqcStatusSource = QorClient | {
8046
+ qor: QorClient;
8047
+ };
8048
+ /** Normalized PQC registration status for an address. */
8049
+ interface PqcStatus {
8050
+ /** Whether the address has a registered PQC key. */
8051
+ registered: boolean;
8052
+ /** The registered algorithm id, when known (Dilithium-5 = {@link AlgorithmDilithium5}). */
8053
+ algorithmId?: number;
8054
+ /** The registered PQC public key, when the chain returns it (hex or bytes). */
8055
+ pubkey?: string | Uint8Array;
8056
+ }
8057
+ /**
8058
+ * Read the PQC registration status of an address via `qor_getPQCKeyStatus`.
8059
+ *
8060
+ * The chain returns a rich JSON object; this helper normalizes the common
8061
+ * fields (`registered`, `algorithmId`/`algorithm_id`, `pubkey`/`public_key`)
8062
+ * into a {@link PqcStatus}. Unknown shapes degrade to `{ registered: false }`.
8063
+ *
8064
+ * Alternative: on the EVM side, call the `pqcKeyStatus(address)` precompile at
8065
+ * {@link PQC_KEY_STATUS_PRECOMPILE_ADDRESS} (via `@qorechain/evm`).
8066
+ */
8067
+ declare function getPqcStatus(source: PqcStatusSource, address: string): Promise<PqcStatus>;
8068
+ /**
8069
+ * Whether `address` has a registered PQC key.
8070
+ *
8071
+ * Thin boolean wrapper over {@link getPqcStatus} using `qor_getPQCKeyStatus`
8072
+ * (preferred). The EVM `pqcKeyStatus` precompile is the documented alternative.
8073
+ */
8074
+ declare function isPqcRegistered(source: PqcStatusSource, address: string): Promise<boolean>;
8075
+ /** Options for {@link ensurePqcRegistered}. */
8076
+ interface EnsurePqcRegisteredOptions {
8077
+ /**
8078
+ * The signer's ML-DSA-87 (Dilithium-5) keypair. Its `publicKey` is registered
8079
+ * on-chain as the account's Dilithium key.
8080
+ */
8081
+ pqcKeypair: PqcKeypair;
8082
+ /**
8083
+ * The account's classical ECDSA (secp256k1) public key, registered alongside
8084
+ * the Dilithium key. When omitted, an empty key is sent — the chain binds the
8085
+ * registration to the transaction signer, so this is optional for accounts
8086
+ * whose classical key is already known on-chain.
8087
+ */
8088
+ ecdsaPubkey?: Uint8Array;
8089
+ /** Key-type tag forwarded to `MsgRegisterPQCKey` (default `"hybrid"`). */
8090
+ keyType?: string;
8091
+ /** Fee: explicit `StdFee` or `"auto"` (simulate + price). Default `"auto"`. */
8092
+ fee?: FeeInput$1;
8093
+ /** Optional memo string. */
8094
+ memo?: string;
8095
+ /** Auto-fee tuning when `fee` is `"auto"`. */
8096
+ autoFee?: AutoFeeOptions;
8097
+ /**
8098
+ * A pre-read status to avoid a redundant `qor_getPQCKeyStatus` round-trip. When
8099
+ * provided and `registered`, the registration is skipped.
8100
+ */
8101
+ status?: PqcStatus;
8102
+ /**
8103
+ * A status source for the pre-flight registration check. When omitted, the
8104
+ * registration message is broadcast unconditionally (relying on the chain's
8105
+ * own idempotency) — pass `{ qor }` to make the helper truly idempotent.
8106
+ */
8107
+ statusSource?: PqcStatusSource;
8108
+ }
8109
+ /** Result of {@link ensurePqcRegistered}. */
8110
+ interface EnsurePqcRegisteredResult {
8111
+ /** `true` when the key was already registered (no transaction was sent). */
8112
+ alreadyRegistered: boolean;
8113
+ /** The registration transaction hash, when a registration was broadcast. */
8114
+ txHash?: string;
8115
+ /** The raw broadcast result, when a registration was broadcast. */
8116
+ result?: BroadcastResult;
8117
+ }
8118
+ /**
8119
+ * Build the `MsgRegisterPQCKey` for a signer without broadcasting.
8120
+ *
8121
+ * Useful for packing registration into a larger transaction body, or for the
8122
+ * offline build path.
8123
+ */
8124
+ declare function buildRegisterPqcKeyMsg(sender: string, opts: Pick<EnsurePqcRegisteredOptions, "pqcKeypair" | "ecdsaPubkey" | "keyType">): EncodeObject;
8125
+ /**
8126
+ * Register the signer's PQC key if it is not already registered — idempotent.
8127
+ *
8128
+ * If a {@link EnsurePqcRegisteredOptions.statusSource} (or pre-read `status`) is
8129
+ * supplied and the key is already registered, this returns
8130
+ * `{ alreadyRegistered: true }` WITHOUT broadcasting. Otherwise it builds and
8131
+ * broadcasts `MsgRegisterPQCKey` with the signer's Dilithium public key (from
8132
+ * `pqcKeypair`) plus the supplied ECDSA public key.
8133
+ *
8134
+ * This is the single call that makes a dApp quantum-safe: run it once at startup
8135
+ * (or before the first hybrid tx) and the account is PQC-protected thereafter.
8136
+ *
8137
+ * @param tx - A connected signing client (the sender address is its identity).
8138
+ * @param opts - The signer's PQC keypair, optional ECDSA pubkey, and write opts.
8139
+ */
8140
+ declare function ensurePqcRegistered(tx: TxClient, opts: EnsurePqcRegisteredOptions): Promise<EnsurePqcRegisteredResult>;
8141
+ /** Options for {@link migratePqcKey} (PQC key rotation). */
8142
+ interface MigratePqcKeyOptions {
8143
+ /** The current (old) PQC public key being rotated out. */
8144
+ oldPublicKey: Uint8Array;
8145
+ /** The new PQC public key to register. */
8146
+ newPublicKey: Uint8Array;
8147
+ /** The new key's algorithm id (default {@link AlgorithmDilithium5}). */
8148
+ newAlgorithmId?: number;
8149
+ /** Signature by the OLD key proving ownership of the rotation request. */
8150
+ oldSignature: Uint8Array;
8151
+ /** Signature by the NEW key proving ownership of the new key. */
8152
+ newSignature: Uint8Array;
8153
+ /** Fee: explicit `StdFee` or `"auto"`. Default `"auto"`. */
8154
+ fee?: FeeInput$1;
8155
+ /** Optional memo string. */
8156
+ memo?: string;
8157
+ /** Auto-fee tuning when `fee` is `"auto"`. */
8158
+ autoFee?: AutoFeeOptions;
8159
+ }
8160
+ /**
8161
+ * Rotate an account's PQC key via `MsgMigratePQCKey`.
8162
+ *
8163
+ * The chain proves ownership of BOTH the old and new keys (the caller supplies
8164
+ * `oldSignature` / `newSignature` per the chain's migration contract), so key
8165
+ * rotation never strands an account. Use this when upgrading algorithms or
8166
+ * rolling a compromised key.
8167
+ */
8168
+ declare function migratePqcKey(tx: TxClient, opts: MigratePqcKeyOptions): Promise<BroadcastResult>;
8169
+ /** Options for {@link migrateToHybrid}. */
8170
+ interface MigrateToHybridOptions extends EnsurePqcRegisteredOptions {
8171
+ /**
8172
+ * A status source used both for the registration pre-flight and (when omitted
8173
+ * elsewhere) the idempotency check. Forwarded to {@link ensurePqcRegistered}.
8174
+ */
8175
+ statusSource?: PqcStatusSource;
8176
+ }
8177
+ /**
8178
+ * A hybrid send path returned by {@link migrateToHybrid}: the PQC key is
8179
+ * guaranteed registered, and these methods build / broadcast hybrid (classical +
8180
+ * ML-DSA-87) transactions via {@link buildHybridTx} / {@link signAndBroadcastHybrid}.
8181
+ *
8182
+ * The `pqcKeypair` is bound, so callers pass everything else hybrid signing
8183
+ * needs (registry, classical signer, chainId, account number, sequence, ...).
8184
+ */
8185
+ interface HybridSendPath {
8186
+ /** Whether the PQC key was already registered before this call. */
8187
+ alreadyRegistered: boolean;
8188
+ /** The registration tx hash, when a registration was broadcast. */
8189
+ registrationTxHash?: string;
8190
+ /** The bound ML-DSA-87 keypair used for the hybrid half. */
8191
+ pqcKeypair: PqcKeypair;
8192
+ /** Build a fully signed hybrid tx (PQC keypair pre-bound). */
8193
+ buildHybridTx(opts: Omit<BuildHybridTxOptions, "pqcKeypair">): Promise<BuiltHybridTx>;
8194
+ /** Build, sign, and broadcast a hybrid tx (PQC keypair pre-bound). */
8195
+ signAndBroadcastHybrid(opts: Omit<SignAndBroadcastHybridOptions, "pqcKeypair">): Promise<BroadcastResult>;
8196
+ }
8197
+ /**
8198
+ * Make an account quantum-safe and hand back a hybrid send path.
8199
+ *
8200
+ * Ensures the signer's PQC key is registered (idempotent — see
8201
+ * {@link ensurePqcRegistered}), then returns a {@link HybridSendPath} with the
8202
+ * keypair pre-bound to the existing {@link buildHybridTx} /
8203
+ * {@link signAndBroadcastHybrid} builders. After this call, the dApp's
8204
+ * transactions can carry a verified hybrid signature.
8205
+ *
8206
+ * @param tx - A connected signing client (used for the registration tx).
8207
+ * @param opts - The PQC keypair and registration/idempotency options.
8208
+ */
8209
+ declare function migrateToHybrid(tx: TxClient, opts: MigrateToHybridOptions): Promise<HybridSendPath>;
8210
+
6548
8211
  /**
6549
8212
  * `@qorechain/sdk` public API.
6550
8213
  *
@@ -6554,6 +8217,6 @@ declare function connectQueryClients(cometClient: CometClientLike): QoreChainQue
6554
8217
  * callers who want to compose them directly. Internal helpers are not exported.
6555
8218
  */
6556
8219
  /** SDK version. */
6557
- declare const VERSION = "0.3.0";
8220
+ declare const VERSION = "0.5.0";
6558
8221
 
6559
- export { type Account, AlgorithmDilithium5, type AlgorithmID, AlgorithmMLKEM1024, AlgorithmUnspecified, type AllBalancesResponse, type AttachHybridOptions, type AutoFeeOptions, type BalanceResponse, type BankSendOptions, type Bech32Config, type Bech32Prefixes, type BroadcastMode, type BroadcastResult, type BuildHybridTxOptions, type BuiltHybridTx, type ClientFees, type CoinInfo, type ConnectTxOptions, type ContractMsg, type CosmWasmReadClient, type CosmWasmSigningClient, type CosmosWalletConnection, type CosmosWalletName, type CreateClientOptions, type CrossVmMessage, type CrossVmMessageResponse, type CrossVmParamsResponse, type CrossVmQueryClient, DEFAULT_GAS_MULTIPLIER, DEFAULT_GAS_PRICE, type DecodedTxError, type DenomOptions, type DerivationOptions, type Ed25519Account, type EstimateFeeOptions, type EventFilters, type EventStream, 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, 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, NETWORKS, type NetworkConfig, type NetworkEndpoints, type NetworkName, type NewBlockEventLike, type PQCHybridSignature, type PageResponse, type PaginatedOptions, type Pagination, type PendingCrossVmMessagesResponse, type PqcKeypair, type PqcQueryClient, type PqcSignaturePart, PqcSigner, type QcaQueryClient, QorClient, type QoreChainClient, type QoreChainQueryClients, QoreHttpError, QoreTxError, type QueryValue, type ReputationQueryClient, type RequestFaucetOptions, RestClient, type RestClientOptions, type RetryOptions, type RlConsensusQueryClient, STATIC_FALLBACK, type SearchTxsOptions, type SearchTxsResponse, type Secp256k1Account, type SignAndBroadcastHybridOptions, type SignAndBroadcastOptions, type SignOutput, type SignatureMode, type Signer, type SigningClientLike, type SimulateOptions, type SubscriptionClient, 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 WaitForTxOptions, abstractaccount, algorithmName, amm, attachHybridExtension, authz, bank, bech32ToHex, bridge, broadcastAndWait, buildAminoTypes, buildEventsQuery, buildHybridSignatureExtension, buildHybridTx, buildTxQuery, buildUrl, bytesToBech32, calculateFee, clearAdmin, connectCosmWasmSigner, connectQueryClients, createClient, createCosmWasmClient, createQueryClients, createSubscriptionClient, crossvm, decodeTxError, deriveEvmAccount, deriveNativeAccount, deriveSvmAccount, directSignerFromPrivateKey, distribution, encodeHybridExtension, estimateFee, evmToQor, execute, explorerAddressUrl, explorerBlockUrl, explorerTxUrl, feegrant, formatUnits, fromBase, generateMnemonic, generatePqcKeypair, getBlock, getCodeDetails, getCodes, getContractInfo, getContracts, getCosmosWallet, getCrossVmMessage, getCrossVmParams, getJson, getLatestBlock, getNetwork, getPendingCrossVmMessages, getTx, gov, hexToBech32, ibc, instantiate, instantiate2, isChecksumAddress, isSignatureAlgorithm, isTxFailure, isValidBech32, isValidEvmAddress, isValidSvmAddress, joinUrl, keccak256, keccak256Hex, license, lightnode, listNetworks, migrate, 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 };
8222
+ 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 };