@qorechain/sdk 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2258,6 +2258,244 @@ interface SignAndBroadcastHybridOptions extends BuildHybridTxOptions {
2258
2258
  */
2259
2259
  declare function signAndBroadcastHybrid(opts: SignAndBroadcastHybridOptions): Promise<BroadcastResult>;
2260
2260
 
2261
+ declare const protobufPackage$k = "qorechain.bridge.v1";
2262
+ /**
2263
+ * MsgUpdateChainConfig sets/replaces a chain's bridge configuration. Empty
2264
+ * string / zero fields fall back to the existing config (merge semantics in the
2265
+ * handler), so a caller can flip just `status`+one verifier flag to activate.
2266
+ */
2267
+ interface MsgUpdateChainConfig {
2268
+ admin: string;
2269
+ chainId: string;
2270
+ /** contract/program address on the external chain */
2271
+ bridgeContract: string;
2272
+ confirmationsRequired: number;
2273
+ /** ChainArchitecture string (empty keeps existing) */
2274
+ architecture: string;
2275
+ /** "active" | "paused" | "pending" (empty keeps existing) */
2276
+ status: string;
2277
+ /** Exactly one verifier flag should be set when activating trustless mode. */
2278
+ verifier: string;
2279
+ /** hex topic0 of the lock event (EVM/light-client chains) */
2280
+ lockEventSig: string;
2281
+ }
2282
+ declare const MsgUpdateChainConfig: MessageFns$l<MsgUpdateChainConfig>;
2283
+ interface MsgUpdateChainConfigResponse {
2284
+ }
2285
+ declare const MsgUpdateChainConfigResponse: MessageFns$l<MsgUpdateChainConfigResponse>;
2286
+ /**
2287
+ * MsgSetVerifierBootstrap installs a verifier trust root. Exactly one of the
2288
+ * sub-messages must be populated; the handler routes by which is non-nil.
2289
+ */
2290
+ interface MsgSetVerifierBootstrap {
2291
+ admin: string;
2292
+ chainId: string;
2293
+ wormhole?: WormholeGuardianSet | undefined;
2294
+ ed25519?: ValidatorQuorum | undefined;
2295
+ bls?: ValidatorQuorum | undefined;
2296
+ bitcoin?: BitcoinCheckpoint | undefined;
2297
+ starknetStateRoot: Uint8Array;
2298
+ }
2299
+ declare const MsgSetVerifierBootstrap: MessageFns$l<MsgSetVerifierBootstrap>;
2300
+ interface MsgSetVerifierBootstrapResponse {
2301
+ }
2302
+ declare const MsgSetVerifierBootstrapResponse: MessageFns$l<MsgSetVerifierBootstrapResponse>;
2303
+ interface WormholeGuardianSet {
2304
+ /** 20-byte guardian eth addresses */
2305
+ addresses: Uint8Array[];
2306
+ quorum: number;
2307
+ }
2308
+ declare const WormholeGuardianSet: MessageFns$l<WormholeGuardianSet>;
2309
+ interface ValidatorQuorum {
2310
+ /** ed25519 (32B) or BLS (48B) pubkeys */
2311
+ pubkeys: Uint8Array[];
2312
+ threshold: number;
2313
+ }
2314
+ declare const ValidatorQuorum: MessageFns$l<ValidatorQuorum>;
2315
+ interface BitcoinCheckpoint {
2316
+ blockHash: Uint8Array;
2317
+ minConfs: number;
2318
+ }
2319
+ declare const BitcoinCheckpoint: MessageFns$l<BitcoinCheckpoint>;
2320
+ interface MsgBridgeDeposit {
2321
+ sender: string;
2322
+ sourceChain: string;
2323
+ sourceTxHash: string;
2324
+ asset: string;
2325
+ amount: string;
2326
+ bridgeValidatorSigs: Uint8Array;
2327
+ pqcCommitment: Uint8Array;
2328
+ }
2329
+ declare const MsgBridgeDeposit: MessageFns$l<MsgBridgeDeposit>;
2330
+ interface MsgBridgeDepositResponse {
2331
+ }
2332
+ declare const MsgBridgeDepositResponse: MessageFns$l<MsgBridgeDepositResponse>;
2333
+ interface MsgBridgeWithdraw {
2334
+ sender: string;
2335
+ destinationChain: string;
2336
+ destinationAddress: string;
2337
+ asset: string;
2338
+ amount: string;
2339
+ }
2340
+ declare const MsgBridgeWithdraw: MessageFns$l<MsgBridgeWithdraw>;
2341
+ interface MsgBridgeWithdrawResponse {
2342
+ }
2343
+ declare const MsgBridgeWithdrawResponse: MessageFns$l<MsgBridgeWithdrawResponse>;
2344
+ interface MsgRegisterBridgeValidator {
2345
+ validatorAddress: string;
2346
+ pqcPubkey: Uint8Array;
2347
+ supportedChains: string[];
2348
+ }
2349
+ declare const MsgRegisterBridgeValidator: MessageFns$l<MsgRegisterBridgeValidator>;
2350
+ interface MsgRegisterBridgeValidatorResponse {
2351
+ }
2352
+ declare const MsgRegisterBridgeValidatorResponse: MessageFns$l<MsgRegisterBridgeValidatorResponse>;
2353
+ interface MsgBridgeAttestation {
2354
+ validator: string;
2355
+ chain: string;
2356
+ eventType: string;
2357
+ operationId: string;
2358
+ txHash: string;
2359
+ amount: string;
2360
+ asset: string;
2361
+ proof: Uint8Array;
2362
+ pqcSignature: Uint8Array;
2363
+ }
2364
+ declare const MsgBridgeAttestation: MessageFns$l<MsgBridgeAttestation>;
2365
+ interface MsgBridgeAttestationResponse {
2366
+ }
2367
+ declare const MsgBridgeAttestationResponse: MessageFns$l<MsgBridgeAttestationResponse>;
2368
+ interface MsgUpdateEthLightClient {
2369
+ relayer: string;
2370
+ /**
2371
+ * Encoded Altair LightClientUpdate bundle verified against the stored sync
2372
+ * committee before advancing the on-chain light client.
2373
+ */
2374
+ update: Uint8Array;
2375
+ }
2376
+ declare const MsgUpdateEthLightClient: MessageFns$l<MsgUpdateEthLightClient>;
2377
+ interface MsgUpdateEthLightClientResponse {
2378
+ }
2379
+ declare const MsgUpdateEthLightClientResponse: MessageFns$l<MsgUpdateEthLightClientResponse>;
2380
+ /** Msg defines the bridge module's transaction service. */
2381
+ type MsgDefinition$a = typeof MsgDefinition$a;
2382
+ declare const MsgDefinition$a: {
2383
+ readonly name: "Msg";
2384
+ readonly fullName: "qorechain.bridge.v1.Msg";
2385
+ readonly methods: {
2386
+ /** BridgeDeposit credits assets bridged in from a source chain. */
2387
+ readonly bridgeDeposit: {
2388
+ readonly name: "BridgeDeposit";
2389
+ readonly requestType: typeof MsgBridgeDeposit;
2390
+ readonly requestStream: false;
2391
+ readonly responseType: typeof MsgBridgeDepositResponse;
2392
+ readonly responseStream: false;
2393
+ readonly options: {};
2394
+ };
2395
+ /** BridgeWithdraw initiates a withdrawal to a destination chain. */
2396
+ readonly bridgeWithdraw: {
2397
+ readonly name: "BridgeWithdraw";
2398
+ readonly requestType: typeof MsgBridgeWithdraw;
2399
+ readonly requestStream: false;
2400
+ readonly responseType: typeof MsgBridgeWithdrawResponse;
2401
+ readonly responseStream: false;
2402
+ readonly options: {};
2403
+ };
2404
+ /** RegisterBridgeValidator registers a validator for bridge attestation duty. */
2405
+ readonly registerBridgeValidator: {
2406
+ readonly name: "RegisterBridgeValidator";
2407
+ readonly requestType: typeof MsgRegisterBridgeValidator;
2408
+ readonly requestStream: false;
2409
+ readonly responseType: typeof MsgRegisterBridgeValidatorResponse;
2410
+ readonly responseStream: false;
2411
+ readonly options: {};
2412
+ };
2413
+ /** BridgeAttestation submits a validator attestation for a bridge operation. */
2414
+ readonly bridgeAttestation: {
2415
+ readonly name: "BridgeAttestation";
2416
+ readonly requestType: typeof MsgBridgeAttestation;
2417
+ readonly requestStream: false;
2418
+ readonly responseType: typeof MsgBridgeAttestationResponse;
2419
+ readonly responseStream: false;
2420
+ readonly options: {};
2421
+ };
2422
+ /**
2423
+ * UpdateEthLightClient advances the on-chain Ethereum light client with a
2424
+ * verified Altair LightClientUpdate (carried as an opaque encoded bundle).
2425
+ */
2426
+ readonly updateEthLightClient: {
2427
+ readonly name: "UpdateEthLightClient";
2428
+ readonly requestType: typeof MsgUpdateEthLightClient;
2429
+ readonly requestStream: false;
2430
+ readonly responseType: typeof MsgUpdateEthLightClientResponse;
2431
+ readonly responseStream: false;
2432
+ readonly options: {};
2433
+ };
2434
+ /**
2435
+ * UpdateChainConfig registers/updates a chain's bridge config — real contract
2436
+ * address, confirmations, architecture, status, and which trustless verifier
2437
+ * is active. Authorized by the bridge_admin key OR a qcb_bridge license; lets
2438
+ * operators activate a chain's bridge POST-DEPLOY without governance or an
2439
+ * upgrade.
2440
+ */
2441
+ readonly updateChainConfig: {
2442
+ readonly name: "UpdateChainConfig";
2443
+ readonly requestType: typeof MsgUpdateChainConfig;
2444
+ readonly requestStream: false;
2445
+ readonly responseType: typeof MsgUpdateChainConfigResponse;
2446
+ readonly responseStream: false;
2447
+ readonly options: {};
2448
+ };
2449
+ /**
2450
+ * SetVerifierBootstrap installs the per-architecture trust root a chain's
2451
+ * trustless verifier needs (Wormhole guardian set / ed25519 or BLS validator
2452
+ * quorum / Bitcoin checkpoint / Starknet state root). Same authorization as
2453
+ * UpdateChainConfig. (Ethereum uses UpdateEthLightClient.)
2454
+ */
2455
+ readonly setVerifierBootstrap: {
2456
+ readonly name: "SetVerifierBootstrap";
2457
+ readonly requestType: typeof MsgSetVerifierBootstrap;
2458
+ readonly requestStream: false;
2459
+ readonly responseType: typeof MsgSetVerifierBootstrapResponse;
2460
+ readonly responseStream: false;
2461
+ readonly options: {};
2462
+ };
2463
+ };
2464
+ };
2465
+ type Builtin$l = Date | Function | Uint8Array | string | number | boolean | undefined;
2466
+ 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 {} ? {
2467
+ [K in keyof T]?: DeepPartial$l<T[K]>;
2468
+ } : Partial<T>;
2469
+ interface MessageFns$l<T> {
2470
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
2471
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
2472
+ fromJSON(object: any): T;
2473
+ toJSON(message: T): unknown;
2474
+ create(base?: DeepPartial$l<T>): T;
2475
+ fromPartial(object: DeepPartial$l<T>): T;
2476
+ }
2477
+
2478
+ declare const tx$a_BitcoinCheckpoint: typeof BitcoinCheckpoint;
2479
+ declare const tx$a_MsgBridgeAttestation: typeof MsgBridgeAttestation;
2480
+ declare const tx$a_MsgBridgeAttestationResponse: typeof MsgBridgeAttestationResponse;
2481
+ declare const tx$a_MsgBridgeDeposit: typeof MsgBridgeDeposit;
2482
+ declare const tx$a_MsgBridgeDepositResponse: typeof MsgBridgeDepositResponse;
2483
+ declare const tx$a_MsgBridgeWithdraw: typeof MsgBridgeWithdraw;
2484
+ declare const tx$a_MsgBridgeWithdrawResponse: typeof MsgBridgeWithdrawResponse;
2485
+ declare const tx$a_MsgRegisterBridgeValidator: typeof MsgRegisterBridgeValidator;
2486
+ declare const tx$a_MsgRegisterBridgeValidatorResponse: typeof MsgRegisterBridgeValidatorResponse;
2487
+ declare const tx$a_MsgSetVerifierBootstrap: typeof MsgSetVerifierBootstrap;
2488
+ declare const tx$a_MsgSetVerifierBootstrapResponse: typeof MsgSetVerifierBootstrapResponse;
2489
+ declare const tx$a_MsgUpdateChainConfig: typeof MsgUpdateChainConfig;
2490
+ declare const tx$a_MsgUpdateChainConfigResponse: typeof MsgUpdateChainConfigResponse;
2491
+ declare const tx$a_MsgUpdateEthLightClient: typeof MsgUpdateEthLightClient;
2492
+ declare const tx$a_MsgUpdateEthLightClientResponse: typeof MsgUpdateEthLightClientResponse;
2493
+ declare const tx$a_ValidatorQuorum: typeof ValidatorQuorum;
2494
+ declare const tx$a_WormholeGuardianSet: typeof WormholeGuardianSet;
2495
+ declare namespace tx$a {
2496
+ 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 };
2497
+ }
2498
+
2261
2499
  /**
2262
2500
  * Coin defines a token with a denomination and an amount.
2263
2501
  *
@@ -2268,18 +2506,18 @@ interface Coin {
2268
2506
  denom: string;
2269
2507
  amount: string;
2270
2508
  }
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]>;
2509
+ declare const Coin: MessageFns$k<Coin>;
2510
+ type Builtin$k = Date | Function | Uint8Array | string | number | boolean | undefined;
2511
+ 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 {} ? {
2512
+ [K in keyof T]?: DeepPartial$k<T[K]>;
2275
2513
  } : Partial<T>;
2276
- interface MessageFns$i<T> {
2514
+ interface MessageFns$k<T> {
2277
2515
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2278
2516
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2279
2517
  fromJSON(object: any): T;
2280
2518
  toJSON(message: T): unknown;
2281
- create(base?: DeepPartial$i<T>): T;
2282
- fromPartial(object: DeepPartial$i<T>): T;
2519
+ create(base?: DeepPartial$k<T>): T;
2520
+ fromPartial(object: DeepPartial$k<T>): T;
2283
2521
  }
2284
2522
 
2285
2523
  /**
@@ -2335,7 +2573,7 @@ declare const ibc: {
2335
2573
  transfer: (value: Partial<MsgTransfer>) => EncodeObject;
2336
2574
  };
2337
2575
 
2338
- declare const protobufPackage$h = "qorechain.amm.v1";
2576
+ declare const protobufPackage$j = "qorechain.amm.v1";
2339
2577
  interface MsgCreatePool {
2340
2578
  creator: string;
2341
2579
  poolType: string;
@@ -2343,11 +2581,11 @@ interface MsgCreatePool {
2343
2581
  initialDepositB?: Coin | undefined;
2344
2582
  amplificationCoefficient: number;
2345
2583
  }
2346
- declare const MsgCreatePool: MessageFns$h<MsgCreatePool>;
2584
+ declare const MsgCreatePool: MessageFns$j<MsgCreatePool>;
2347
2585
  interface MsgCreatePoolResponse {
2348
2586
  poolId: string;
2349
2587
  }
2350
- declare const MsgCreatePoolResponse: MessageFns$h<MsgCreatePoolResponse>;
2588
+ declare const MsgCreatePoolResponse: MessageFns$j<MsgCreatePoolResponse>;
2351
2589
  interface MsgAddLiquidity {
2352
2590
  sender: string;
2353
2591
  poolId: string;
@@ -2355,10 +2593,10 @@ interface MsgAddLiquidity {
2355
2593
  amountB?: Coin | undefined;
2356
2594
  minLpOut: string;
2357
2595
  }
2358
- declare const MsgAddLiquidity: MessageFns$h<MsgAddLiquidity>;
2596
+ declare const MsgAddLiquidity: MessageFns$j<MsgAddLiquidity>;
2359
2597
  interface MsgAddLiquidityResponse {
2360
2598
  }
2361
- declare const MsgAddLiquidityResponse: MessageFns$h<MsgAddLiquidityResponse>;
2599
+ declare const MsgAddLiquidityResponse: MessageFns$j<MsgAddLiquidityResponse>;
2362
2600
  interface MsgRemoveLiquidity {
2363
2601
  sender: string;
2364
2602
  poolId: string;
@@ -2366,10 +2604,10 @@ interface MsgRemoveLiquidity {
2366
2604
  minAmountA: string;
2367
2605
  minAmountB: string;
2368
2606
  }
2369
- declare const MsgRemoveLiquidity: MessageFns$h<MsgRemoveLiquidity>;
2607
+ declare const MsgRemoveLiquidity: MessageFns$j<MsgRemoveLiquidity>;
2370
2608
  interface MsgRemoveLiquidityResponse {
2371
2609
  }
2372
- declare const MsgRemoveLiquidityResponse: MessageFns$h<MsgRemoveLiquidityResponse>;
2610
+ declare const MsgRemoveLiquidityResponse: MessageFns$j<MsgRemoveLiquidityResponse>;
2373
2611
  interface MsgSwapExactIn {
2374
2612
  sender: string;
2375
2613
  poolId: string;
@@ -2377,10 +2615,10 @@ interface MsgSwapExactIn {
2377
2615
  denomOut: string;
2378
2616
  minOut: string;
2379
2617
  }
2380
- declare const MsgSwapExactIn: MessageFns$h<MsgSwapExactIn>;
2618
+ declare const MsgSwapExactIn: MessageFns$j<MsgSwapExactIn>;
2381
2619
  interface MsgSwapExactInResponse {
2382
2620
  }
2383
- declare const MsgSwapExactInResponse: MessageFns$h<MsgSwapExactInResponse>;
2621
+ declare const MsgSwapExactInResponse: MessageFns$j<MsgSwapExactInResponse>;
2384
2622
  interface MsgSwapExactOut {
2385
2623
  sender: string;
2386
2624
  poolId: string;
@@ -2388,29 +2626,29 @@ interface MsgSwapExactOut {
2388
2626
  tokenOut?: Coin | undefined;
2389
2627
  maxIn: string;
2390
2628
  }
2391
- declare const MsgSwapExactOut: MessageFns$h<MsgSwapExactOut>;
2629
+ declare const MsgSwapExactOut: MessageFns$j<MsgSwapExactOut>;
2392
2630
  interface MsgSwapExactOutResponse {
2393
2631
  }
2394
- declare const MsgSwapExactOutResponse: MessageFns$h<MsgSwapExactOutResponse>;
2632
+ declare const MsgSwapExactOutResponse: MessageFns$j<MsgSwapExactOutResponse>;
2395
2633
  interface MsgPausePool {
2396
2634
  authority: string;
2397
2635
  poolId: string;
2398
2636
  reason: string;
2399
2637
  }
2400
- declare const MsgPausePool: MessageFns$h<MsgPausePool>;
2638
+ declare const MsgPausePool: MessageFns$j<MsgPausePool>;
2401
2639
  interface MsgPausePoolResponse {
2402
2640
  }
2403
- declare const MsgPausePoolResponse: MessageFns$h<MsgPausePoolResponse>;
2641
+ declare const MsgPausePoolResponse: MessageFns$j<MsgPausePoolResponse>;
2404
2642
  interface MsgResumePool {
2405
2643
  authority: string;
2406
2644
  poolId: string;
2407
2645
  }
2408
- declare const MsgResumePool: MessageFns$h<MsgResumePool>;
2646
+ declare const MsgResumePool: MessageFns$j<MsgResumePool>;
2409
2647
  interface MsgResumePoolResponse {
2410
2648
  }
2411
- declare const MsgResumePoolResponse: MessageFns$h<MsgResumePoolResponse>;
2412
- type MsgDefinition$a = typeof MsgDefinition$a;
2413
- declare const MsgDefinition$a: {
2649
+ declare const MsgResumePoolResponse: MessageFns$j<MsgResumePoolResponse>;
2650
+ type MsgDefinition$9 = typeof MsgDefinition$9;
2651
+ declare const MsgDefinition$9: {
2414
2652
  readonly name: "Msg";
2415
2653
  readonly fullName: "qorechain.amm.v1.Msg";
2416
2654
  readonly methods: {
@@ -2472,156 +2710,38 @@ declare const MsgDefinition$a: {
2472
2710
  };
2473
2711
  };
2474
2712
  };
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]>;
2713
+ type Builtin$j = Date | Function | Uint8Array | string | number | boolean | undefined;
2714
+ 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 {} ? {
2715
+ [K in keyof T]?: DeepPartial$j<T[K]>;
2478
2716
  } : Partial<T>;
2479
- interface MessageFns$h<T> {
2717
+ interface MessageFns$j<T> {
2480
2718
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2481
2719
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2482
2720
  fromJSON(object: any): T;
2483
2721
  toJSON(message: T): unknown;
2484
- create(base?: DeepPartial$h<T>): T;
2485
- fromPartial(object: DeepPartial$h<T>): T;
2722
+ create(base?: DeepPartial$j<T>): T;
2723
+ fromPartial(object: DeepPartial$j<T>): T;
2486
2724
  }
2487
2725
 
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]>;
2602
- } : Partial<T>;
2603
- interface MessageFns$g<T> {
2604
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
2605
- decode(input: BinaryReader | Uint8Array, length?: number): T;
2606
- fromJSON(object: any): T;
2607
- toJSON(message: T): unknown;
2608
- create(base?: DeepPartial$g<T>): T;
2609
- fromPartial(object: DeepPartial$g<T>): T;
2610
- }
2611
-
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;
2726
+ declare const tx$9_MsgAddLiquidity: typeof MsgAddLiquidity;
2727
+ declare const tx$9_MsgAddLiquidityResponse: typeof MsgAddLiquidityResponse;
2728
+ declare const tx$9_MsgCreatePool: typeof MsgCreatePool;
2729
+ declare const tx$9_MsgCreatePoolResponse: typeof MsgCreatePoolResponse;
2730
+ declare const tx$9_MsgPausePool: typeof MsgPausePool;
2731
+ declare const tx$9_MsgPausePoolResponse: typeof MsgPausePoolResponse;
2732
+ declare const tx$9_MsgRemoveLiquidity: typeof MsgRemoveLiquidity;
2733
+ declare const tx$9_MsgRemoveLiquidityResponse: typeof MsgRemoveLiquidityResponse;
2734
+ declare const tx$9_MsgResumePool: typeof MsgResumePool;
2735
+ declare const tx$9_MsgResumePoolResponse: typeof MsgResumePoolResponse;
2736
+ declare const tx$9_MsgSwapExactIn: typeof MsgSwapExactIn;
2737
+ declare const tx$9_MsgSwapExactInResponse: typeof MsgSwapExactInResponse;
2738
+ declare const tx$9_MsgSwapExactOut: typeof MsgSwapExactOut;
2739
+ declare const tx$9_MsgSwapExactOutResponse: typeof MsgSwapExactOutResponse;
2620
2740
  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 };
2741
+ 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
2742
  }
2623
2743
 
2624
- declare const protobufPackage$f = "qorechain.rdk.v1";
2744
+ declare const protobufPackage$i = "qorechain.rdk.v1";
2625
2745
  interface MsgCreateRollup {
2626
2746
  creator: string;
2627
2747
  rollupId: string;
@@ -2629,11 +2749,11 @@ interface MsgCreateRollup {
2629
2749
  vmType: string;
2630
2750
  stakeAmount: string;
2631
2751
  }
2632
- declare const MsgCreateRollup: MessageFns$f<MsgCreateRollup>;
2752
+ declare const MsgCreateRollup: MessageFns$i<MsgCreateRollup>;
2633
2753
  interface MsgCreateRollupResponse {
2634
2754
  rollupId: string;
2635
2755
  }
2636
- declare const MsgCreateRollupResponse: MessageFns$f<MsgCreateRollupResponse>;
2756
+ declare const MsgCreateRollupResponse: MessageFns$i<MsgCreateRollupResponse>;
2637
2757
  interface MsgSubmitBatch {
2638
2758
  sequencer: string;
2639
2759
  rollupId: string;
@@ -2643,21 +2763,26 @@ interface MsgSubmitBatch {
2643
2763
  txCount: string;
2644
2764
  dataHash: Uint8Array;
2645
2765
  proof: Uint8Array;
2766
+ /**
2767
+ * withdrawals_root commits the L2->L1 messages (withdrawals) in this batch as
2768
+ * a binary Merkle root. Empty when the batch carries no cross-layer messages.
2769
+ */
2770
+ withdrawalsRoot: Uint8Array;
2646
2771
  }
2647
- declare const MsgSubmitBatch: MessageFns$f<MsgSubmitBatch>;
2772
+ declare const MsgSubmitBatch: MessageFns$i<MsgSubmitBatch>;
2648
2773
  interface MsgSubmitBatchResponse {
2649
2774
  }
2650
- declare const MsgSubmitBatchResponse: MessageFns$f<MsgSubmitBatchResponse>;
2775
+ declare const MsgSubmitBatchResponse: MessageFns$i<MsgSubmitBatchResponse>;
2651
2776
  interface MsgChallengeBatch {
2652
2777
  challenger: string;
2653
2778
  rollupId: string;
2654
2779
  batchIndex: string;
2655
2780
  proof: Uint8Array;
2656
2781
  }
2657
- declare const MsgChallengeBatch: MessageFns$f<MsgChallengeBatch>;
2782
+ declare const MsgChallengeBatch: MessageFns$i<MsgChallengeBatch>;
2658
2783
  interface MsgChallengeBatchResponse {
2659
2784
  }
2660
- declare const MsgChallengeBatchResponse: MessageFns$f<MsgChallengeBatchResponse>;
2785
+ declare const MsgChallengeBatchResponse: MessageFns$i<MsgChallengeBatchResponse>;
2661
2786
  interface MsgResolveChallenge {
2662
2787
  resolver: string;
2663
2788
  rollupId: string;
@@ -2669,35 +2794,57 @@ interface MsgResolveChallenge {
2669
2794
  */
2670
2795
  fraudUpheld: boolean;
2671
2796
  }
2672
- declare const MsgResolveChallenge: MessageFns$f<MsgResolveChallenge>;
2797
+ declare const MsgResolveChallenge: MessageFns$i<MsgResolveChallenge>;
2673
2798
  interface MsgResolveChallengeResponse {
2674
2799
  }
2675
- declare const MsgResolveChallengeResponse: MessageFns$f<MsgResolveChallengeResponse>;
2800
+ declare const MsgResolveChallengeResponse: MessageFns$i<MsgResolveChallengeResponse>;
2676
2801
  interface MsgPauseRollup {
2677
2802
  creator: string;
2678
2803
  rollupId: string;
2679
2804
  reason: string;
2680
2805
  }
2681
- declare const MsgPauseRollup: MessageFns$f<MsgPauseRollup>;
2806
+ declare const MsgPauseRollup: MessageFns$i<MsgPauseRollup>;
2682
2807
  interface MsgPauseRollupResponse {
2683
2808
  }
2684
- declare const MsgPauseRollupResponse: MessageFns$f<MsgPauseRollupResponse>;
2809
+ declare const MsgPauseRollupResponse: MessageFns$i<MsgPauseRollupResponse>;
2685
2810
  interface MsgResumeRollup {
2686
2811
  creator: string;
2687
2812
  rollupId: string;
2688
2813
  }
2689
- declare const MsgResumeRollup: MessageFns$f<MsgResumeRollup>;
2814
+ declare const MsgResumeRollup: MessageFns$i<MsgResumeRollup>;
2690
2815
  interface MsgResumeRollupResponse {
2691
2816
  }
2692
- declare const MsgResumeRollupResponse: MessageFns$f<MsgResumeRollupResponse>;
2817
+ declare const MsgResumeRollupResponse: MessageFns$i<MsgResumeRollupResponse>;
2693
2818
  interface MsgStopRollup {
2694
2819
  creator: string;
2695
2820
  rollupId: string;
2696
2821
  }
2697
- declare const MsgStopRollup: MessageFns$f<MsgStopRollup>;
2822
+ declare const MsgStopRollup: MessageFns$i<MsgStopRollup>;
2698
2823
  interface MsgStopRollupResponse {
2699
2824
  }
2700
- declare const MsgStopRollupResponse: MessageFns$f<MsgStopRollupResponse>;
2825
+ declare const MsgStopRollupResponse: MessageFns$i<MsgStopRollupResponse>;
2826
+ /**
2827
+ * MsgExecuteWithdrawal finalizes an L2->L1 cross-layer message: it proves a
2828
+ * withdrawal leaf is committed in a finalized batch's withdrawals_root and pays
2829
+ * the recipient from the rdk module escrow. Permissionless — anyone may submit a
2830
+ * valid proof; the funds always go to the committed recipient. Replay-protected
2831
+ * per (rollup_id, batch_index, withdrawal_index).
2832
+ */
2833
+ interface MsgExecuteWithdrawal {
2834
+ submitter: string;
2835
+ rollupId: string;
2836
+ batchIndex: string;
2837
+ withdrawalIndex: string;
2838
+ recipient: string;
2839
+ denom: string;
2840
+ amount: string;
2841
+ /** proof are the binary-Merkle sibling hashes from the leaf to withdrawals_root. */
2842
+ proof: Uint8Array[];
2843
+ }
2844
+ declare const MsgExecuteWithdrawal: MessageFns$i<MsgExecuteWithdrawal>;
2845
+ interface MsgExecuteWithdrawalResponse {
2846
+ }
2847
+ declare const MsgExecuteWithdrawalResponse: MessageFns$i<MsgExecuteWithdrawalResponse>;
2701
2848
  /** Msg defines the rdk module's transaction service. */
2702
2849
  type MsgDefinition$8 = typeof MsgDefinition$8;
2703
2850
  declare const MsgDefinition$8: {
@@ -2760,25 +2907,35 @@ declare const MsgDefinition$8: {
2760
2907
  readonly responseStream: false;
2761
2908
  readonly options: {};
2762
2909
  };
2910
+ readonly executeWithdrawal: {
2911
+ readonly name: "ExecuteWithdrawal";
2912
+ readonly requestType: typeof MsgExecuteWithdrawal;
2913
+ readonly requestStream: false;
2914
+ readonly responseType: typeof MsgExecuteWithdrawalResponse;
2915
+ readonly responseStream: false;
2916
+ readonly options: {};
2917
+ };
2763
2918
  };
2764
2919
  };
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]>;
2920
+ type Builtin$i = Date | Function | Uint8Array | string | number | boolean | undefined;
2921
+ 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 {} ? {
2922
+ [K in keyof T]?: DeepPartial$i<T[K]>;
2768
2923
  } : Partial<T>;
2769
- interface MessageFns$f<T> {
2924
+ interface MessageFns$i<T> {
2770
2925
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2771
2926
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2772
2927
  fromJSON(object: any): T;
2773
2928
  toJSON(message: T): unknown;
2774
- create(base?: DeepPartial$f<T>): T;
2775
- fromPartial(object: DeepPartial$f<T>): T;
2929
+ create(base?: DeepPartial$i<T>): T;
2930
+ fromPartial(object: DeepPartial$i<T>): T;
2776
2931
  }
2777
2932
 
2778
2933
  declare const tx$8_MsgChallengeBatch: typeof MsgChallengeBatch;
2779
2934
  declare const tx$8_MsgChallengeBatchResponse: typeof MsgChallengeBatchResponse;
2780
2935
  declare const tx$8_MsgCreateRollup: typeof MsgCreateRollup;
2781
2936
  declare const tx$8_MsgCreateRollupResponse: typeof MsgCreateRollupResponse;
2937
+ declare const tx$8_MsgExecuteWithdrawal: typeof MsgExecuteWithdrawal;
2938
+ declare const tx$8_MsgExecuteWithdrawalResponse: typeof MsgExecuteWithdrawalResponse;
2782
2939
  declare const tx$8_MsgPauseRollup: typeof MsgPauseRollup;
2783
2940
  declare const tx$8_MsgPauseRollupResponse: typeof MsgPauseRollupResponse;
2784
2941
  declare const tx$8_MsgResolveChallenge: typeof MsgResolveChallenge;
@@ -2790,10 +2947,10 @@ declare const tx$8_MsgStopRollupResponse: typeof MsgStopRollupResponse;
2790
2947
  declare const tx$8_MsgSubmitBatch: typeof MsgSubmitBatch;
2791
2948
  declare const tx$8_MsgSubmitBatchResponse: typeof MsgSubmitBatchResponse;
2792
2949
  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 };
2950
+ 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
2951
  }
2795
2952
 
2796
- declare const protobufPackage$e = "qorechain.multilayer.v1";
2953
+ declare const protobufPackage$h = "qorechain.multilayer.v1";
2797
2954
  interface MsgRegisterSidechain {
2798
2955
  creator: string;
2799
2956
  layerId: string;
@@ -2805,13 +2962,13 @@ interface MsgRegisterSidechain {
2805
2962
  supportedVmTypes: string[];
2806
2963
  supportedDomains: string[];
2807
2964
  }
2808
- declare const MsgRegisterSidechain: MessageFns$e<MsgRegisterSidechain>;
2965
+ declare const MsgRegisterSidechain: MessageFns$h<MsgRegisterSidechain>;
2809
2966
  interface MsgRegisterSidechainResponse {
2810
2967
  layerId: string;
2811
2968
  chainId: string;
2812
2969
  status: string;
2813
2970
  }
2814
- declare const MsgRegisterSidechainResponse: MessageFns$e<MsgRegisterSidechainResponse>;
2971
+ declare const MsgRegisterSidechainResponse: MessageFns$h<MsgRegisterSidechainResponse>;
2815
2972
  interface MsgRegisterPaychain {
2816
2973
  creator: string;
2817
2974
  layerId: string;
@@ -2820,12 +2977,12 @@ interface MsgRegisterPaychain {
2820
2977
  settlementIntervalBlocks: string;
2821
2978
  baseFeeMultiplier: string;
2822
2979
  }
2823
- declare const MsgRegisterPaychain: MessageFns$e<MsgRegisterPaychain>;
2980
+ declare const MsgRegisterPaychain: MessageFns$h<MsgRegisterPaychain>;
2824
2981
  interface MsgRegisterPaychainResponse {
2825
2982
  layerId: string;
2826
2983
  status: string;
2827
2984
  }
2828
- declare const MsgRegisterPaychainResponse: MessageFns$e<MsgRegisterPaychainResponse>;
2985
+ declare const MsgRegisterPaychainResponse: MessageFns$h<MsgRegisterPaychainResponse>;
2829
2986
  interface MsgAnchorState {
2830
2987
  relayer: string;
2831
2988
  layerId: string;
@@ -2836,12 +2993,12 @@ interface MsgAnchorState {
2836
2993
  transactionCount: string;
2837
2994
  compressedStateProof: Uint8Array;
2838
2995
  }
2839
- declare const MsgAnchorState: MessageFns$e<MsgAnchorState>;
2996
+ declare const MsgAnchorState: MessageFns$h<MsgAnchorState>;
2840
2997
  interface MsgAnchorStateResponse {
2841
2998
  mainChainHeight: string;
2842
2999
  accepted: boolean;
2843
3000
  }
2844
- declare const MsgAnchorStateResponse: MessageFns$e<MsgAnchorStateResponse>;
3001
+ declare const MsgAnchorStateResponse: MessageFns$h<MsgAnchorStateResponse>;
2845
3002
  interface MsgRouteTransaction {
2846
3003
  sender: string;
2847
3004
  transactionPayload: Uint8Array;
@@ -2849,23 +3006,23 @@ interface MsgRouteTransaction {
2849
3006
  maxLatencyMs: string;
2850
3007
  maxFee: string;
2851
3008
  }
2852
- declare const MsgRouteTransaction: MessageFns$e<MsgRouteTransaction>;
3009
+ declare const MsgRouteTransaction: MessageFns$h<MsgRouteTransaction>;
2853
3010
  interface MsgRouteTransactionResponse {
2854
3011
  selectedLayer: string;
2855
3012
  reason: string;
2856
3013
  crossLayerMessageId: string;
2857
3014
  }
2858
- declare const MsgRouteTransactionResponse: MessageFns$e<MsgRouteTransactionResponse>;
3015
+ declare const MsgRouteTransactionResponse: MessageFns$h<MsgRouteTransactionResponse>;
2859
3016
  interface MsgUpdateLayerStatus {
2860
3017
  authority: string;
2861
3018
  layerId: string;
2862
3019
  newStatus: string;
2863
3020
  reason: string;
2864
3021
  }
2865
- declare const MsgUpdateLayerStatus: MessageFns$e<MsgUpdateLayerStatus>;
3022
+ declare const MsgUpdateLayerStatus: MessageFns$h<MsgUpdateLayerStatus>;
2866
3023
  interface MsgUpdateLayerStatusResponse {
2867
3024
  }
2868
- declare const MsgUpdateLayerStatusResponse: MessageFns$e<MsgUpdateLayerStatusResponse>;
3025
+ declare const MsgUpdateLayerStatusResponse: MessageFns$h<MsgUpdateLayerStatusResponse>;
2869
3026
  interface MsgChallengeAnchor {
2870
3027
  challenger: string;
2871
3028
  layerId: string;
@@ -2873,12 +3030,12 @@ interface MsgChallengeAnchor {
2873
3030
  fraudProof: Uint8Array;
2874
3031
  challengeReason: string;
2875
3032
  }
2876
- declare const MsgChallengeAnchor: MessageFns$e<MsgChallengeAnchor>;
3033
+ declare const MsgChallengeAnchor: MessageFns$h<MsgChallengeAnchor>;
2877
3034
  interface MsgChallengeAnchorResponse {
2878
3035
  challengeAccepted: boolean;
2879
3036
  resolution: string;
2880
3037
  }
2881
- declare const MsgChallengeAnchorResponse: MessageFns$e<MsgChallengeAnchorResponse>;
3038
+ declare const MsgChallengeAnchorResponse: MessageFns$h<MsgChallengeAnchorResponse>;
2882
3039
  type MsgDefinition$7 = typeof MsgDefinition$7;
2883
3040
  declare const MsgDefinition$7: {
2884
3041
  readonly name: "Msg";
@@ -2934,17 +3091,17 @@ declare const MsgDefinition$7: {
2934
3091
  };
2935
3092
  };
2936
3093
  };
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]>;
3094
+ type Builtin$h = Date | Function | Uint8Array | string | number | boolean | undefined;
3095
+ 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 {} ? {
3096
+ [K in keyof T]?: DeepPartial$h<T[K]>;
2940
3097
  } : Partial<T>;
2941
- interface MessageFns$e<T> {
3098
+ interface MessageFns$h<T> {
2942
3099
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
2943
3100
  decode(input: BinaryReader | Uint8Array, length?: number): T;
2944
3101
  fromJSON(object: any): T;
2945
3102
  toJSON(message: T): unknown;
2946
- create(base?: DeepPartial$e<T>): T;
2947
- fromPartial(object: DeepPartial$e<T>): T;
3103
+ create(base?: DeepPartial$h<T>): T;
3104
+ fromPartial(object: DeepPartial$h<T>): T;
2948
3105
  }
2949
3106
 
2950
3107
  declare const tx$7_MsgAnchorState: typeof MsgAnchorState;
@@ -2960,10 +3117,10 @@ declare const tx$7_MsgRouteTransactionResponse: typeof MsgRouteTransactionRespon
2960
3117
  declare const tx$7_MsgUpdateLayerStatus: typeof MsgUpdateLayerStatus;
2961
3118
  declare const tx$7_MsgUpdateLayerStatusResponse: typeof MsgUpdateLayerStatusResponse;
2962
3119
  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 };
3120
+ 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
3121
  }
2965
3122
 
2966
- declare const protobufPackage$d = "qorechain.pqc.v1";
3123
+ declare const protobufPackage$g = "qorechain.pqc.v1";
2967
3124
  /**
2968
3125
  * MsgRegisterPQCKey registers a PQC keypair for an account.
2969
3126
  * Deprecated: use MsgRegisterPQCKeyV2 which includes algorithm_id.
@@ -2974,10 +3131,10 @@ interface MsgRegisterPQCKey {
2974
3131
  ecdsaPubkey: Uint8Array;
2975
3132
  keyType: string;
2976
3133
  }
2977
- declare const MsgRegisterPQCKey: MessageFns$d<MsgRegisterPQCKey>;
3134
+ declare const MsgRegisterPQCKey: MessageFns$g<MsgRegisterPQCKey>;
2978
3135
  interface MsgRegisterPQCKeyResponse {
2979
3136
  }
2980
- declare const MsgRegisterPQCKeyResponse: MessageFns$d<MsgRegisterPQCKeyResponse>;
3137
+ declare const MsgRegisterPQCKeyResponse: MessageFns$g<MsgRegisterPQCKeyResponse>;
2981
3138
  /** MsgRegisterPQCKeyV2 registers a PQC key with explicit algorithm selection. */
2982
3139
  interface MsgRegisterPQCKeyV2 {
2983
3140
  sender: string;
@@ -2986,10 +3143,10 @@ interface MsgRegisterPQCKeyV2 {
2986
3143
  ecdsaPubkey: Uint8Array;
2987
3144
  keyType: string;
2988
3145
  }
2989
- declare const MsgRegisterPQCKeyV2: MessageFns$d<MsgRegisterPQCKeyV2>;
3146
+ declare const MsgRegisterPQCKeyV2: MessageFns$g<MsgRegisterPQCKeyV2>;
2990
3147
  interface MsgRegisterPQCKeyV2Response {
2991
3148
  }
2992
- declare const MsgRegisterPQCKeyV2Response: MessageFns$d<MsgRegisterPQCKeyV2Response>;
3149
+ declare const MsgRegisterPQCKeyV2Response: MessageFns$g<MsgRegisterPQCKeyV2Response>;
2993
3150
  /** MsgMigratePQCKey migrates an account's PQC key, proving ownership of both keys. */
2994
3151
  interface MsgMigratePQCKey {
2995
3152
  sender: string;
@@ -2999,10 +3156,10 @@ interface MsgMigratePQCKey {
2999
3156
  oldSignature: Uint8Array;
3000
3157
  newSignature: Uint8Array;
3001
3158
  }
3002
- declare const MsgMigratePQCKey: MessageFns$d<MsgMigratePQCKey>;
3159
+ declare const MsgMigratePQCKey: MessageFns$g<MsgMigratePQCKey>;
3003
3160
  interface MsgMigratePQCKeyResponse {
3004
3161
  }
3005
- declare const MsgMigratePQCKeyResponse: MessageFns$d<MsgMigratePQCKeyResponse>;
3162
+ declare const MsgMigratePQCKeyResponse: MessageFns$g<MsgMigratePQCKeyResponse>;
3006
3163
  /** MsgDeprecateAlgorithm proposes deprecating an algorithm (starts migration period). */
3007
3164
  interface MsgDeprecateAlgorithm {
3008
3165
  authority: string;
@@ -3010,20 +3167,20 @@ interface MsgDeprecateAlgorithm {
3010
3167
  migrationBlocks: string;
3011
3168
  replacementAlgorithmId: number;
3012
3169
  }
3013
- declare const MsgDeprecateAlgorithm: MessageFns$d<MsgDeprecateAlgorithm>;
3170
+ declare const MsgDeprecateAlgorithm: MessageFns$g<MsgDeprecateAlgorithm>;
3014
3171
  interface MsgDeprecateAlgorithmResponse {
3015
3172
  }
3016
- declare const MsgDeprecateAlgorithmResponse: MessageFns$d<MsgDeprecateAlgorithmResponse>;
3173
+ declare const MsgDeprecateAlgorithmResponse: MessageFns$g<MsgDeprecateAlgorithmResponse>;
3017
3174
  /** MsgDisableAlgorithm emergency-disables an algorithm (e.g., vulnerability discovered). */
3018
3175
  interface MsgDisableAlgorithm {
3019
3176
  authority: string;
3020
3177
  algorithmId: number;
3021
3178
  reason: string;
3022
3179
  }
3023
- declare const MsgDisableAlgorithm: MessageFns$d<MsgDisableAlgorithm>;
3180
+ declare const MsgDisableAlgorithm: MessageFns$g<MsgDisableAlgorithm>;
3024
3181
  interface MsgDisableAlgorithmResponse {
3025
3182
  }
3026
- declare const MsgDisableAlgorithmResponse: MessageFns$d<MsgDisableAlgorithmResponse>;
3183
+ declare const MsgDisableAlgorithmResponse: MessageFns$g<MsgDisableAlgorithmResponse>;
3027
3184
  /** Msg defines the PQC module's transaction service. */
3028
3185
  type MsgDefinition$6 = typeof MsgDefinition$6;
3029
3186
  declare const MsgDefinition$6: {
@@ -3077,17 +3234,17 @@ declare const MsgDefinition$6: {
3077
3234
  };
3078
3235
  };
3079
3236
  };
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]>;
3237
+ type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
3238
+ 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 {} ? {
3239
+ [K in keyof T]?: DeepPartial$g<T[K]>;
3083
3240
  } : Partial<T>;
3084
- interface MessageFns$d<T> {
3241
+ interface MessageFns$g<T> {
3085
3242
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3086
3243
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3087
3244
  fromJSON(object: any): T;
3088
3245
  toJSON(message: T): unknown;
3089
- create(base?: DeepPartial$d<T>): T;
3090
- fromPartial(object: DeepPartial$d<T>): T;
3246
+ create(base?: DeepPartial$g<T>): T;
3247
+ fromPartial(object: DeepPartial$g<T>): T;
3091
3248
  }
3092
3249
 
3093
3250
  declare const tx$6_MsgDeprecateAlgorithm: typeof MsgDeprecateAlgorithm;
@@ -3101,19 +3258,19 @@ declare const tx$6_MsgRegisterPQCKeyResponse: typeof MsgRegisterPQCKeyResponse;
3101
3258
  declare const tx$6_MsgRegisterPQCKeyV2: typeof MsgRegisterPQCKeyV2;
3102
3259
  declare const tx$6_MsgRegisterPQCKeyV2Response: typeof MsgRegisterPQCKeyV2Response;
3103
3260
  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 };
3261
+ 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
3262
  }
3106
3263
 
3107
- declare const protobufPackage$c = "qorechain.svm.v1";
3264
+ declare const protobufPackage$f = "qorechain.svm.v1";
3108
3265
  interface MsgDeployProgram {
3109
3266
  sender: string;
3110
3267
  bytecode: Uint8Array;
3111
3268
  }
3112
- declare const MsgDeployProgram: MessageFns$c<MsgDeployProgram>;
3269
+ declare const MsgDeployProgram: MessageFns$f<MsgDeployProgram>;
3113
3270
  interface MsgDeployProgramResponse {
3114
3271
  programId: Uint8Array;
3115
3272
  }
3116
- declare const MsgDeployProgramResponse: MessageFns$c<MsgDeployProgramResponse>;
3273
+ declare const MsgDeployProgramResponse: MessageFns$f<MsgDeployProgramResponse>;
3117
3274
  interface MsgCreateAccount {
3118
3275
  sender: string;
3119
3276
  owner: Uint8Array;
@@ -3121,36 +3278,36 @@ interface MsgCreateAccount {
3121
3278
  lamports: string;
3122
3279
  salt: Uint8Array;
3123
3280
  }
3124
- declare const MsgCreateAccount: MessageFns$c<MsgCreateAccount>;
3281
+ declare const MsgCreateAccount: MessageFns$f<MsgCreateAccount>;
3125
3282
  interface MsgCreateAccountResponse {
3126
3283
  }
3127
- declare const MsgCreateAccountResponse: MessageFns$c<MsgCreateAccountResponse>;
3284
+ declare const MsgCreateAccountResponse: MessageFns$f<MsgCreateAccountResponse>;
3128
3285
  interface SvmAccountMeta {
3129
3286
  address: Uint8Array;
3130
3287
  isSigner: boolean;
3131
3288
  isWritable: boolean;
3132
3289
  }
3133
- declare const SvmAccountMeta: MessageFns$c<SvmAccountMeta>;
3290
+ declare const SvmAccountMeta: MessageFns$f<SvmAccountMeta>;
3134
3291
  interface MsgExecuteProgram {
3135
3292
  sender: string;
3136
3293
  programId: Uint8Array;
3137
3294
  accounts: SvmAccountMeta[];
3138
3295
  data: Uint8Array;
3139
3296
  }
3140
- declare const MsgExecuteProgram: MessageFns$c<MsgExecuteProgram>;
3297
+ declare const MsgExecuteProgram: MessageFns$f<MsgExecuteProgram>;
3141
3298
  interface MsgExecuteProgramResponse {
3142
3299
  result: Uint8Array;
3143
3300
  }
3144
- declare const MsgExecuteProgramResponse: MessageFns$c<MsgExecuteProgramResponse>;
3301
+ declare const MsgExecuteProgramResponse: MessageFns$f<MsgExecuteProgramResponse>;
3145
3302
  interface MsgRegisterSVMPQCKey {
3146
3303
  sender: string;
3147
3304
  svmAddr: Uint8Array;
3148
3305
  pqcPubKey: Uint8Array;
3149
3306
  }
3150
- declare const MsgRegisterSVMPQCKey: MessageFns$c<MsgRegisterSVMPQCKey>;
3307
+ declare const MsgRegisterSVMPQCKey: MessageFns$f<MsgRegisterSVMPQCKey>;
3151
3308
  interface MsgRegisterSVMPQCKeyResponse {
3152
3309
  }
3153
- declare const MsgRegisterSVMPQCKeyResponse: MessageFns$c<MsgRegisterSVMPQCKeyResponse>;
3310
+ declare const MsgRegisterSVMPQCKeyResponse: MessageFns$f<MsgRegisterSVMPQCKeyResponse>;
3154
3311
  type MsgDefinition$5 = typeof MsgDefinition$5;
3155
3312
  declare const MsgDefinition$5: {
3156
3313
  readonly name: "Msg";
@@ -3190,17 +3347,17 @@ declare const MsgDefinition$5: {
3190
3347
  };
3191
3348
  };
3192
3349
  };
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]>;
3350
+ type Builtin$f = Date | Function | Uint8Array | string | number | boolean | undefined;
3351
+ 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 {} ? {
3352
+ [K in keyof T]?: DeepPartial$f<T[K]>;
3196
3353
  } : Partial<T>;
3197
- interface MessageFns$c<T> {
3354
+ interface MessageFns$f<T> {
3198
3355
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3199
3356
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3200
3357
  fromJSON(object: any): T;
3201
3358
  toJSON(message: T): unknown;
3202
- create(base?: DeepPartial$c<T>): T;
3203
- fromPartial(object: DeepPartial$c<T>): T;
3359
+ create(base?: DeepPartial$f<T>): T;
3360
+ fromPartial(object: DeepPartial$f<T>): T;
3204
3361
  }
3205
3362
 
3206
3363
  declare const tx$5_MsgCreateAccount: typeof MsgCreateAccount;
@@ -3213,41 +3370,41 @@ declare const tx$5_MsgRegisterSVMPQCKey: typeof MsgRegisterSVMPQCKey;
3213
3370
  declare const tx$5_MsgRegisterSVMPQCKeyResponse: typeof MsgRegisterSVMPQCKeyResponse;
3214
3371
  declare const tx$5_SvmAccountMeta: typeof SvmAccountMeta;
3215
3372
  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 };
3373
+ 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
3374
  }
3218
3375
 
3219
- declare const protobufPackage$b = "qorechain.lightnode.v1";
3376
+ declare const protobufPackage$e = "qorechain.lightnode.v1";
3220
3377
  interface MsgRegisterLightNode {
3221
3378
  operator: string;
3222
3379
  nodeType: string;
3223
3380
  version: string;
3224
3381
  capabilities: string[];
3225
3382
  }
3226
- declare const MsgRegisterLightNode: MessageFns$b<MsgRegisterLightNode>;
3383
+ declare const MsgRegisterLightNode: MessageFns$e<MsgRegisterLightNode>;
3227
3384
  interface MsgRegisterLightNodeResponse {
3228
3385
  }
3229
- declare const MsgRegisterLightNodeResponse: MessageFns$b<MsgRegisterLightNodeResponse>;
3386
+ declare const MsgRegisterLightNodeResponse: MessageFns$e<MsgRegisterLightNodeResponse>;
3230
3387
  interface MsgHeartbeat {
3231
3388
  operator: string;
3232
3389
  }
3233
- declare const MsgHeartbeat: MessageFns$b<MsgHeartbeat>;
3390
+ declare const MsgHeartbeat: MessageFns$e<MsgHeartbeat>;
3234
3391
  interface MsgHeartbeatResponse {
3235
3392
  }
3236
- declare const MsgHeartbeatResponse: MessageFns$b<MsgHeartbeatResponse>;
3393
+ declare const MsgHeartbeatResponse: MessageFns$e<MsgHeartbeatResponse>;
3237
3394
  interface MsgDeregisterLightNode {
3238
3395
  operator: string;
3239
3396
  }
3240
- declare const MsgDeregisterLightNode: MessageFns$b<MsgDeregisterLightNode>;
3397
+ declare const MsgDeregisterLightNode: MessageFns$e<MsgDeregisterLightNode>;
3241
3398
  interface MsgDeregisterLightNodeResponse {
3242
3399
  }
3243
- declare const MsgDeregisterLightNodeResponse: MessageFns$b<MsgDeregisterLightNodeResponse>;
3400
+ declare const MsgDeregisterLightNodeResponse: MessageFns$e<MsgDeregisterLightNodeResponse>;
3244
3401
  interface MsgClaimLightNodeRewards {
3245
3402
  operator: string;
3246
3403
  }
3247
- declare const MsgClaimLightNodeRewards: MessageFns$b<MsgClaimLightNodeRewards>;
3404
+ declare const MsgClaimLightNodeRewards: MessageFns$e<MsgClaimLightNodeRewards>;
3248
3405
  interface MsgClaimLightNodeRewardsResponse {
3249
3406
  }
3250
- declare const MsgClaimLightNodeRewardsResponse: MessageFns$b<MsgClaimLightNodeRewardsResponse>;
3407
+ declare const MsgClaimLightNodeRewardsResponse: MessageFns$e<MsgClaimLightNodeRewardsResponse>;
3251
3408
  /** Msg defines the lightnode module's transaction service. */
3252
3409
  type MsgDefinition$4 = typeof MsgDefinition$4;
3253
3410
  declare const MsgDefinition$4: {
@@ -3288,17 +3445,17 @@ declare const MsgDefinition$4: {
3288
3445
  };
3289
3446
  };
3290
3447
  };
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]>;
3448
+ type Builtin$e = Date | Function | Uint8Array | string | number | boolean | undefined;
3449
+ 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 {} ? {
3450
+ [K in keyof T]?: DeepPartial$e<T[K]>;
3294
3451
  } : Partial<T>;
3295
- interface MessageFns$b<T> {
3452
+ interface MessageFns$e<T> {
3296
3453
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3297
3454
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3298
3455
  fromJSON(object: any): T;
3299
3456
  toJSON(message: T): unknown;
3300
- create(base?: DeepPartial$b<T>): T;
3301
- fromPartial(object: DeepPartial$b<T>): T;
3457
+ create(base?: DeepPartial$e<T>): T;
3458
+ fromPartial(object: DeepPartial$e<T>): T;
3302
3459
  }
3303
3460
 
3304
3461
  declare const tx$4_MsgClaimLightNodeRewards: typeof MsgClaimLightNodeRewards;
@@ -3310,10 +3467,10 @@ declare const tx$4_MsgHeartbeatResponse: typeof MsgHeartbeatResponse;
3310
3467
  declare const tx$4_MsgRegisterLightNode: typeof MsgRegisterLightNode;
3311
3468
  declare const tx$4_MsgRegisterLightNodeResponse: typeof MsgRegisterLightNodeResponse;
3312
3469
  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 };
3470
+ 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
3471
  }
3315
3472
 
3316
- declare const protobufPackage$a = "qorechain.license.v1";
3473
+ declare const protobufPackage$d = "qorechain.license.v1";
3317
3474
  interface MsgGrantLicense {
3318
3475
  authority: string;
3319
3476
  grantee: string;
@@ -3321,37 +3478,37 @@ interface MsgGrantLicense {
3321
3478
  expiresAt: string;
3322
3479
  metadata: string;
3323
3480
  }
3324
- declare const MsgGrantLicense: MessageFns$a<MsgGrantLicense>;
3481
+ declare const MsgGrantLicense: MessageFns$d<MsgGrantLicense>;
3325
3482
  interface MsgGrantLicenseResponse {
3326
3483
  }
3327
- declare const MsgGrantLicenseResponse: MessageFns$a<MsgGrantLicenseResponse>;
3484
+ declare const MsgGrantLicenseResponse: MessageFns$d<MsgGrantLicenseResponse>;
3328
3485
  interface MsgRevokeLicense {
3329
3486
  authority: string;
3330
3487
  grantee: string;
3331
3488
  featureId: string;
3332
3489
  }
3333
- declare const MsgRevokeLicense: MessageFns$a<MsgRevokeLicense>;
3490
+ declare const MsgRevokeLicense: MessageFns$d<MsgRevokeLicense>;
3334
3491
  interface MsgRevokeLicenseResponse {
3335
3492
  }
3336
- declare const MsgRevokeLicenseResponse: MessageFns$a<MsgRevokeLicenseResponse>;
3493
+ declare const MsgRevokeLicenseResponse: MessageFns$d<MsgRevokeLicenseResponse>;
3337
3494
  interface MsgSuspendLicense {
3338
3495
  authority: string;
3339
3496
  grantee: string;
3340
3497
  featureId: string;
3341
3498
  }
3342
- declare const MsgSuspendLicense: MessageFns$a<MsgSuspendLicense>;
3499
+ declare const MsgSuspendLicense: MessageFns$d<MsgSuspendLicense>;
3343
3500
  interface MsgSuspendLicenseResponse {
3344
3501
  }
3345
- declare const MsgSuspendLicenseResponse: MessageFns$a<MsgSuspendLicenseResponse>;
3502
+ declare const MsgSuspendLicenseResponse: MessageFns$d<MsgSuspendLicenseResponse>;
3346
3503
  interface MsgResumeLicense {
3347
3504
  authority: string;
3348
3505
  grantee: string;
3349
3506
  featureId: string;
3350
3507
  }
3351
- declare const MsgResumeLicense: MessageFns$a<MsgResumeLicense>;
3508
+ declare const MsgResumeLicense: MessageFns$d<MsgResumeLicense>;
3352
3509
  interface MsgResumeLicenseResponse {
3353
3510
  }
3354
- declare const MsgResumeLicenseResponse: MessageFns$a<MsgResumeLicenseResponse>;
3511
+ declare const MsgResumeLicenseResponse: MessageFns$d<MsgResumeLicenseResponse>;
3355
3512
  /** Msg defines the license module's transaction service. */
3356
3513
  type MsgDefinition$3 = typeof MsgDefinition$3;
3357
3514
  declare const MsgDefinition$3: {
@@ -3392,17 +3549,17 @@ declare const MsgDefinition$3: {
3392
3549
  };
3393
3550
  };
3394
3551
  };
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]>;
3552
+ type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
3553
+ 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 {} ? {
3554
+ [K in keyof T]?: DeepPartial$d<T[K]>;
3398
3555
  } : Partial<T>;
3399
- interface MessageFns$a<T> {
3556
+ interface MessageFns$d<T> {
3400
3557
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3401
3558
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3402
3559
  fromJSON(object: any): T;
3403
3560
  toJSON(message: T): unknown;
3404
- create(base?: DeepPartial$a<T>): T;
3405
- fromPartial(object: DeepPartial$a<T>): T;
3561
+ create(base?: DeepPartial$d<T>): T;
3562
+ fromPartial(object: DeepPartial$d<T>): T;
3406
3563
  }
3407
3564
 
3408
3565
  declare const tx$3_MsgGrantLicense: typeof MsgGrantLicense;
@@ -3414,10 +3571,10 @@ declare const tx$3_MsgRevokeLicenseResponse: typeof MsgRevokeLicenseResponse;
3414
3571
  declare const tx$3_MsgSuspendLicense: typeof MsgSuspendLicense;
3415
3572
  declare const tx$3_MsgSuspendLicenseResponse: typeof MsgSuspendLicenseResponse;
3416
3573
  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 };
3574
+ 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
3575
  }
3419
3576
 
3420
- declare const protobufPackage$9 = "qorechain.abstractaccount.v1";
3577
+ declare const protobufPackage$c = "qorechain.abstractaccount.v1";
3421
3578
  /** SpendingRule defines spending limits for an abstract account. */
3422
3579
  interface SpendingRule {
3423
3580
  id: string;
@@ -3426,25 +3583,25 @@ interface SpendingRule {
3426
3583
  allowedDenoms: string[];
3427
3584
  enabled: boolean;
3428
3585
  }
3429
- declare const SpendingRule: MessageFns$9<SpendingRule>;
3586
+ declare const SpendingRule: MessageFns$c<SpendingRule>;
3430
3587
  interface MsgCreateAbstractAccount {
3431
3588
  owner: string;
3432
3589
  accountType: string;
3433
3590
  }
3434
- declare const MsgCreateAbstractAccount: MessageFns$9<MsgCreateAbstractAccount>;
3591
+ declare const MsgCreateAbstractAccount: MessageFns$c<MsgCreateAbstractAccount>;
3435
3592
  interface MsgCreateAbstractAccountResponse {
3436
3593
  address: string;
3437
3594
  }
3438
- declare const MsgCreateAbstractAccountResponse: MessageFns$9<MsgCreateAbstractAccountResponse>;
3595
+ declare const MsgCreateAbstractAccountResponse: MessageFns$c<MsgCreateAbstractAccountResponse>;
3439
3596
  interface MsgUpdateSpendingRules {
3440
3597
  owner: string;
3441
3598
  accountAddress: string;
3442
3599
  rules: SpendingRule[];
3443
3600
  }
3444
- declare const MsgUpdateSpendingRules: MessageFns$9<MsgUpdateSpendingRules>;
3601
+ declare const MsgUpdateSpendingRules: MessageFns$c<MsgUpdateSpendingRules>;
3445
3602
  interface MsgUpdateSpendingRulesResponse {
3446
3603
  }
3447
- declare const MsgUpdateSpendingRulesResponse: MessageFns$9<MsgUpdateSpendingRulesResponse>;
3604
+ declare const MsgUpdateSpendingRulesResponse: MessageFns$c<MsgUpdateSpendingRulesResponse>;
3448
3605
  /** Msg defines the abstractaccount module's transaction service. */
3449
3606
  type MsgDefinition$2 = typeof MsgDefinition$2;
3450
3607
  declare const MsgDefinition$2: {
@@ -3469,17 +3626,17 @@ declare const MsgDefinition$2: {
3469
3626
  };
3470
3627
  };
3471
3628
  };
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]>;
3629
+ type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
3630
+ 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 {} ? {
3631
+ [K in keyof T]?: DeepPartial$c<T[K]>;
3475
3632
  } : Partial<T>;
3476
- interface MessageFns$9<T> {
3633
+ interface MessageFns$c<T> {
3477
3634
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3478
3635
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3479
3636
  fromJSON(object: any): T;
3480
3637
  toJSON(message: T): unknown;
3481
- create(base?: DeepPartial$9<T>): T;
3482
- fromPartial(object: DeepPartial$9<T>): T;
3638
+ create(base?: DeepPartial$c<T>): T;
3639
+ fromPartial(object: DeepPartial$c<T>): T;
3483
3640
  }
3484
3641
 
3485
3642
  declare const tx$2_MsgCreateAbstractAccount: typeof MsgCreateAbstractAccount;
@@ -3488,10 +3645,10 @@ declare const tx$2_MsgUpdateSpendingRules: typeof MsgUpdateSpendingRules;
3488
3645
  declare const tx$2_MsgUpdateSpendingRulesResponse: typeof MsgUpdateSpendingRulesResponse;
3489
3646
  declare const tx$2_SpendingRule: typeof SpendingRule;
3490
3647
  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 };
3648
+ 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
3649
  }
3493
3650
 
3494
- declare const protobufPackage$8 = "qorechain.crossvm.v1";
3651
+ declare const protobufPackage$b = "qorechain.crossvm.v1";
3495
3652
  interface MsgCrossVMCall {
3496
3653
  sender: string;
3497
3654
  sourceVm: string;
@@ -3500,18 +3657,18 @@ interface MsgCrossVMCall {
3500
3657
  payload: Uint8Array;
3501
3658
  funds: Coin[];
3502
3659
  }
3503
- declare const MsgCrossVMCall: MessageFns$8<MsgCrossVMCall>;
3660
+ declare const MsgCrossVMCall: MessageFns$b<MsgCrossVMCall>;
3504
3661
  interface MsgCrossVMCallResponse {
3505
3662
  messageId: string;
3506
3663
  }
3507
- declare const MsgCrossVMCallResponse: MessageFns$8<MsgCrossVMCallResponse>;
3664
+ declare const MsgCrossVMCallResponse: MessageFns$b<MsgCrossVMCallResponse>;
3508
3665
  interface MsgProcessQueue {
3509
3666
  authority: string;
3510
3667
  }
3511
- declare const MsgProcessQueue: MessageFns$8<MsgProcessQueue>;
3668
+ declare const MsgProcessQueue: MessageFns$b<MsgProcessQueue>;
3512
3669
  interface MsgProcessQueueResponse {
3513
3670
  }
3514
- declare const MsgProcessQueueResponse: MessageFns$8<MsgProcessQueueResponse>;
3671
+ declare const MsgProcessQueueResponse: MessageFns$b<MsgProcessQueueResponse>;
3515
3672
  /** Msg defines the crossvm module's transaction service. */
3516
3673
  type MsgDefinition$1 = typeof MsgDefinition$1;
3517
3674
  declare const MsgDefinition$1: {
@@ -3538,17 +3695,17 @@ declare const MsgDefinition$1: {
3538
3695
  };
3539
3696
  };
3540
3697
  };
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]>;
3698
+ type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
3699
+ 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 {} ? {
3700
+ [K in keyof T]?: DeepPartial$b<T[K]>;
3544
3701
  } : Partial<T>;
3545
- interface MessageFns$8<T> {
3702
+ interface MessageFns$b<T> {
3546
3703
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3547
3704
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3548
3705
  fromJSON(object: any): T;
3549
3706
  toJSON(message: T): unknown;
3550
- create(base?: DeepPartial$8<T>): T;
3551
- fromPartial(object: DeepPartial$8<T>): T;
3707
+ create(base?: DeepPartial$b<T>): T;
3708
+ fromPartial(object: DeepPartial$b<T>): T;
3552
3709
  }
3553
3710
 
3554
3711
  declare const tx$1_MsgCrossVMCall: typeof MsgCrossVMCall;
@@ -3556,35 +3713,35 @@ declare const tx$1_MsgCrossVMCallResponse: typeof MsgCrossVMCallResponse;
3556
3713
  declare const tx$1_MsgProcessQueue: typeof MsgProcessQueue;
3557
3714
  declare const tx$1_MsgProcessQueueResponse: typeof MsgProcessQueueResponse;
3558
3715
  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 };
3716
+ 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
3717
  }
3561
3718
 
3562
- declare const protobufPackage$7 = "qorechain.rlconsensus.v1";
3719
+ declare const protobufPackage$a = "qorechain.rlconsensus.v1";
3563
3720
  interface MsgSetAgentMode {
3564
3721
  authority: string;
3565
3722
  /** mode cast to the named AgentMode (uint8) Go type. */
3566
3723
  mode: number;
3567
3724
  }
3568
- declare const MsgSetAgentMode: MessageFns$7<MsgSetAgentMode>;
3725
+ declare const MsgSetAgentMode: MessageFns$a<MsgSetAgentMode>;
3569
3726
  interface MsgSetAgentModeResponse {
3570
3727
  }
3571
- declare const MsgSetAgentModeResponse: MessageFns$7<MsgSetAgentModeResponse>;
3728
+ declare const MsgSetAgentModeResponse: MessageFns$a<MsgSetAgentModeResponse>;
3572
3729
  interface MsgResumeAgent {
3573
3730
  authority: string;
3574
3731
  }
3575
- declare const MsgResumeAgent: MessageFns$7<MsgResumeAgent>;
3732
+ declare const MsgResumeAgent: MessageFns$a<MsgResumeAgent>;
3576
3733
  interface MsgResumeAgentResponse {
3577
3734
  }
3578
- declare const MsgResumeAgentResponse: MessageFns$7<MsgResumeAgentResponse>;
3735
+ declare const MsgResumeAgentResponse: MessageFns$a<MsgResumeAgentResponse>;
3579
3736
  interface MsgUpdatePolicy {
3580
3737
  authority: string;
3581
3738
  /** JSON-encoded types.PolicyWeights (epoch + MLP config + weight vector). */
3582
3739
  weightsJson: string;
3583
3740
  }
3584
- declare const MsgUpdatePolicy: MessageFns$7<MsgUpdatePolicy>;
3741
+ declare const MsgUpdatePolicy: MessageFns$a<MsgUpdatePolicy>;
3585
3742
  interface MsgUpdatePolicyResponse {
3586
3743
  }
3587
- declare const MsgUpdatePolicyResponse: MessageFns$7<MsgUpdatePolicyResponse>;
3744
+ declare const MsgUpdatePolicyResponse: MessageFns$a<MsgUpdatePolicyResponse>;
3588
3745
  interface MsgUpdateRewardWeights {
3589
3746
  authority: string;
3590
3747
  throughput: string;
@@ -3593,10 +3750,10 @@ interface MsgUpdateRewardWeights {
3593
3750
  mev: string;
3594
3751
  failedTxs: string;
3595
3752
  }
3596
- declare const MsgUpdateRewardWeights: MessageFns$7<MsgUpdateRewardWeights>;
3753
+ declare const MsgUpdateRewardWeights: MessageFns$a<MsgUpdateRewardWeights>;
3597
3754
  interface MsgUpdateRewardWeightsResponse {
3598
3755
  }
3599
- declare const MsgUpdateRewardWeightsResponse: MessageFns$7<MsgUpdateRewardWeightsResponse>;
3756
+ declare const MsgUpdateRewardWeightsResponse: MessageFns$a<MsgUpdateRewardWeightsResponse>;
3600
3757
  /** Msg defines the rlconsensus module's governance-authority transactions. */
3601
3758
  type MsgDefinition = typeof MsgDefinition;
3602
3759
  declare const MsgDefinition: {
@@ -3641,17 +3798,17 @@ declare const MsgDefinition: {
3641
3798
  };
3642
3799
  };
3643
3800
  };
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]>;
3801
+ type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
3802
+ 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 {} ? {
3803
+ [K in keyof T]?: DeepPartial$a<T[K]>;
3647
3804
  } : Partial<T>;
3648
- interface MessageFns$7<T> {
3805
+ interface MessageFns$a<T> {
3649
3806
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
3650
3807
  decode(input: BinaryReader | Uint8Array, length?: number): T;
3651
3808
  fromJSON(object: any): T;
3652
3809
  toJSON(message: T): unknown;
3653
- create(base?: DeepPartial$7<T>): T;
3654
- fromPartial(object: DeepPartial$7<T>): T;
3810
+ create(base?: DeepPartial$a<T>): T;
3811
+ fromPartial(object: DeepPartial$a<T>): T;
3655
3812
  }
3656
3813
 
3657
3814
  declare const tx_MsgDefinition: typeof MsgDefinition;
@@ -3664,7 +3821,7 @@ declare const tx_MsgUpdatePolicyResponse: typeof MsgUpdatePolicyResponse;
3664
3821
  declare const tx_MsgUpdateRewardWeights: typeof MsgUpdateRewardWeights;
3665
3822
  declare const tx_MsgUpdateRewardWeightsResponse: typeof MsgUpdateRewardWeightsResponse;
3666
3823
  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 };
3824
+ 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
3825
  }
3669
3826
 
3670
3827
  /**
@@ -3701,6 +3858,26 @@ declare const bridge: {
3701
3858
  bridgeWithdraw: (value: PartialMsg<MsgBridgeWithdraw>) => EncodeObject;
3702
3859
  registerBridgeValidator: (value: PartialMsg<MsgRegisterBridgeValidator>) => EncodeObject;
3703
3860
  bridgeAttestation: (value: PartialMsg<MsgBridgeAttestation>) => EncodeObject;
3861
+ /**
3862
+ * Advance the on-chain external light client with a verified update bundle
3863
+ * (carried as an opaque encoded blob). Signed by the `relayer`.
3864
+ */
3865
+ updateEthLightClient: (value: PartialMsg<MsgUpdateEthLightClient>) => EncodeObject;
3866
+ /**
3867
+ * Register or update a chain's bridge config (contract address,
3868
+ * confirmations, architecture, status, active verifier). Merge semantics:
3869
+ * empty/zero fields keep the existing value, so a caller can flip just
3870
+ * `status` + one verifier flag to activate a chain post-deploy. Signed by the
3871
+ * bridge `admin`.
3872
+ */
3873
+ updateChainConfig: (value: PartialMsg<MsgUpdateChainConfig>) => EncodeObject;
3874
+ /**
3875
+ * Install the per-architecture trust root a chain's trustless verifier needs
3876
+ * (guardian set / ed25519 or BLS validator quorum / Bitcoin checkpoint /
3877
+ * Starknet state root). Exactly one of the sub-fields should be populated.
3878
+ * Signed by the bridge `admin`.
3879
+ */
3880
+ setVerifierBootstrap: (value: PartialMsg<MsgSetVerifierBootstrap>) => EncodeObject;
3704
3881
  };
3705
3882
  /** RDK (rollup development kit) message composers. */
3706
3883
  declare const rdk: {
@@ -3711,6 +3888,15 @@ declare const rdk: {
3711
3888
  pauseRollup: (value: PartialMsg<MsgPauseRollup>) => EncodeObject;
3712
3889
  resumeRollup: (value: PartialMsg<MsgResumeRollup>) => EncodeObject;
3713
3890
  stopRollup: (value: PartialMsg<MsgStopRollup>) => EncodeObject;
3891
+ /**
3892
+ * Finalize an L2->L1 withdrawal: prove a withdrawal leaf is committed in a
3893
+ * finalized batch's `withdrawalsRoot` and pay the committed recipient from the
3894
+ * rdk module escrow. Permissionless — anyone may submit a valid proof; funds
3895
+ * always go to the committed recipient. Replay-protected per
3896
+ * (rollupId, batchIndex, withdrawalIndex). `proof` is the list of binary-Merkle
3897
+ * sibling hashes from the leaf to the root.
3898
+ */
3899
+ executeWithdrawal: (value: PartialMsg<MsgExecuteWithdrawal>) => EncodeObject;
3714
3900
  };
3715
3901
  /** Multilayer (sidechain / paychain anchoring) message composers. */
3716
3902
  declare const multilayer: {
@@ -3902,15 +4088,115 @@ declare const msg: {
3902
4088
  authority?: string | undefined;
3903
4089
  poolId?: string | undefined;
3904
4090
  }) => _cosmjs_proto_signing.EncodeObject;
3905
- };
3906
- readonly bridge: {
3907
- bridgeDeposit: (value: {
4091
+ };
4092
+ readonly bridge: {
4093
+ bridgeDeposit: (value: {
4094
+ sender?: string | undefined;
4095
+ sourceChain?: string | undefined;
4096
+ sourceTxHash?: string | undefined;
4097
+ asset?: string | undefined;
4098
+ amount?: string | undefined;
4099
+ bridgeValidatorSigs?: {
4100
+ [x: number]: number | undefined;
4101
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4102
+ readonly buffer?: ({
4103
+ readonly byteLength?: number | undefined;
4104
+ slice?: {} | undefined;
4105
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4106
+ } | {
4107
+ readonly byteLength?: number | undefined;
4108
+ slice?: {} | undefined;
4109
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4110
+ }) | undefined;
4111
+ readonly byteLength?: number | undefined;
4112
+ readonly byteOffset?: number | undefined;
4113
+ copyWithin?: {} | undefined;
4114
+ every?: {} | undefined;
4115
+ fill?: {} | undefined;
4116
+ filter?: {} | undefined;
4117
+ find?: {} | undefined;
4118
+ findIndex?: {} | undefined;
4119
+ forEach?: {} | undefined;
4120
+ indexOf?: {} | undefined;
4121
+ join?: {} | undefined;
4122
+ lastIndexOf?: {} | undefined;
4123
+ readonly length?: number | undefined;
4124
+ map?: {} | undefined;
4125
+ reduce?: {} | undefined;
4126
+ reduceRight?: {} | undefined;
4127
+ reverse?: {} | undefined;
4128
+ set?: {} | undefined;
4129
+ slice?: {} | undefined;
4130
+ some?: {} | undefined;
4131
+ sort?: {} | undefined;
4132
+ subarray?: {} | undefined;
4133
+ toLocaleString?: {} | undefined;
4134
+ toString?: {} | undefined;
4135
+ valueOf?: {} | undefined;
4136
+ entries?: {} | undefined;
4137
+ keys?: {} | undefined;
4138
+ values?: {} | undefined;
4139
+ includes?: {} | undefined;
4140
+ at?: {} | undefined;
4141
+ [Symbol.iterator]?: {} | undefined;
4142
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4143
+ } | undefined;
4144
+ pqcCommitment?: {
4145
+ [x: number]: number | undefined;
4146
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4147
+ readonly buffer?: ({
4148
+ readonly byteLength?: number | undefined;
4149
+ slice?: {} | undefined;
4150
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4151
+ } | {
4152
+ readonly byteLength?: number | undefined;
4153
+ slice?: {} | undefined;
4154
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4155
+ }) | undefined;
4156
+ readonly byteLength?: number | undefined;
4157
+ readonly byteOffset?: number | undefined;
4158
+ copyWithin?: {} | undefined;
4159
+ every?: {} | undefined;
4160
+ fill?: {} | undefined;
4161
+ filter?: {} | undefined;
4162
+ find?: {} | undefined;
4163
+ findIndex?: {} | undefined;
4164
+ forEach?: {} | undefined;
4165
+ indexOf?: {} | undefined;
4166
+ join?: {} | undefined;
4167
+ lastIndexOf?: {} | undefined;
4168
+ readonly length?: number | undefined;
4169
+ map?: {} | undefined;
4170
+ reduce?: {} | undefined;
4171
+ reduceRight?: {} | undefined;
4172
+ reverse?: {} | undefined;
4173
+ set?: {} | undefined;
4174
+ slice?: {} | undefined;
4175
+ some?: {} | undefined;
4176
+ sort?: {} | undefined;
4177
+ subarray?: {} | undefined;
4178
+ toLocaleString?: {} | undefined;
4179
+ toString?: {} | undefined;
4180
+ valueOf?: {} | undefined;
4181
+ entries?: {} | undefined;
4182
+ keys?: {} | undefined;
4183
+ values?: {} | undefined;
4184
+ includes?: {} | undefined;
4185
+ at?: {} | undefined;
4186
+ [Symbol.iterator]?: {} | undefined;
4187
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4188
+ } | undefined;
4189
+ }) => _cosmjs_proto_signing.EncodeObject;
4190
+ bridgeWithdraw: (value: {
3908
4191
  sender?: string | undefined;
3909
- sourceChain?: string | undefined;
3910
- sourceTxHash?: string | undefined;
4192
+ destinationChain?: string | undefined;
4193
+ destinationAddress?: string | undefined;
3911
4194
  asset?: string | undefined;
3912
4195
  amount?: string | undefined;
3913
- bridgeValidatorSigs?: {
4196
+ }) => _cosmjs_proto_signing.EncodeObject;
4197
+ registerBridgeValidator: (value: {
4198
+ validatorAddress?: string | undefined;
4199
+ pqcPubkey?: {
3914
4200
  [x: number]: number | undefined;
3915
4201
  readonly BYTES_PER_ELEMENT?: number | undefined;
3916
4202
  readonly buffer?: ({
@@ -3955,7 +4241,17 @@ declare const msg: {
3955
4241
  [Symbol.iterator]?: {} | undefined;
3956
4242
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
3957
4243
  } | undefined;
3958
- pqcCommitment?: {
4244
+ supportedChains?: (string | undefined)[] | undefined;
4245
+ }) => _cosmjs_proto_signing.EncodeObject;
4246
+ bridgeAttestation: (value: {
4247
+ validator?: string | undefined;
4248
+ chain?: string | undefined;
4249
+ eventType?: string | undefined;
4250
+ operationId?: string | undefined;
4251
+ txHash?: string | undefined;
4252
+ amount?: string | undefined;
4253
+ asset?: string | undefined;
4254
+ proof?: {
3959
4255
  [x: number]: number | undefined;
3960
4256
  readonly BYTES_PER_ELEMENT?: number | undefined;
3961
4257
  readonly buffer?: ({
@@ -4000,17 +4296,7 @@ declare const msg: {
4000
4296
  [Symbol.iterator]?: {} | undefined;
4001
4297
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4002
4298
  } | undefined;
4003
- }) => _cosmjs_proto_signing.EncodeObject;
4004
- bridgeWithdraw: (value: {
4005
- sender?: string | undefined;
4006
- destinationChain?: string | undefined;
4007
- destinationAddress?: string | undefined;
4008
- asset?: string | undefined;
4009
- amount?: string | undefined;
4010
- }) => _cosmjs_proto_signing.EncodeObject;
4011
- registerBridgeValidator: (value: {
4012
- validatorAddress?: string | undefined;
4013
- pqcPubkey?: {
4299
+ pqcSignature?: {
4014
4300
  [x: number]: number | undefined;
4015
4301
  readonly BYTES_PER_ELEMENT?: number | undefined;
4016
4302
  readonly buffer?: ({
@@ -4055,17 +4341,10 @@ declare const msg: {
4055
4341
  [Symbol.iterator]?: {} | undefined;
4056
4342
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4057
4343
  } | undefined;
4058
- supportedChains?: (string | undefined)[] | undefined;
4059
4344
  }) => _cosmjs_proto_signing.EncodeObject;
4060
- bridgeAttestation: (value: {
4061
- validator?: string | undefined;
4062
- chain?: string | undefined;
4063
- eventType?: string | undefined;
4064
- operationId?: string | undefined;
4065
- txHash?: string | undefined;
4066
- amount?: string | undefined;
4067
- asset?: string | undefined;
4068
- proof?: {
4345
+ updateEthLightClient: (value: {
4346
+ relayer?: string | undefined;
4347
+ update?: {
4069
4348
  [x: number]: number | undefined;
4070
4349
  readonly BYTES_PER_ELEMENT?: number | undefined;
4071
4350
  readonly buffer?: ({
@@ -4110,7 +4389,25 @@ declare const msg: {
4110
4389
  [Symbol.iterator]?: {} | undefined;
4111
4390
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4112
4391
  } | undefined;
4113
- pqcSignature?: {
4392
+ }) => _cosmjs_proto_signing.EncodeObject;
4393
+ updateChainConfig: (value: {
4394
+ admin?: string | undefined;
4395
+ chainId?: string | undefined;
4396
+ bridgeContract?: string | undefined;
4397
+ confirmationsRequired?: number | undefined;
4398
+ architecture?: string | undefined;
4399
+ status?: string | undefined;
4400
+ verifier?: string | undefined;
4401
+ lockEventSig?: string | undefined;
4402
+ }) => _cosmjs_proto_signing.EncodeObject;
4403
+ setVerifierBootstrap: (value: {
4404
+ admin?: string | undefined;
4405
+ chainId?: string | undefined;
4406
+ wormhole?: WormholeGuardianSet | undefined;
4407
+ ed25519?: ValidatorQuorum | undefined;
4408
+ bls?: ValidatorQuorum | undefined;
4409
+ bitcoin?: BitcoinCheckpoint | undefined;
4410
+ starknetStateRoot?: {
4114
4411
  [x: number]: number | undefined;
4115
4412
  readonly BYTES_PER_ELEMENT?: number | undefined;
4116
4413
  readonly buffer?: ({
@@ -4350,6 +4647,51 @@ declare const msg: {
4350
4647
  [Symbol.iterator]?: {} | undefined;
4351
4648
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4352
4649
  } | undefined;
4650
+ withdrawalsRoot?: {
4651
+ [x: number]: number | undefined;
4652
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4653
+ readonly buffer?: ({
4654
+ readonly byteLength?: number | undefined;
4655
+ slice?: {} | undefined;
4656
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4657
+ } | {
4658
+ readonly byteLength?: number | undefined;
4659
+ slice?: {} | undefined;
4660
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4661
+ }) | undefined;
4662
+ readonly byteLength?: number | undefined;
4663
+ readonly byteOffset?: number | undefined;
4664
+ copyWithin?: {} | undefined;
4665
+ every?: {} | undefined;
4666
+ fill?: {} | undefined;
4667
+ filter?: {} | undefined;
4668
+ find?: {} | undefined;
4669
+ findIndex?: {} | undefined;
4670
+ forEach?: {} | undefined;
4671
+ indexOf?: {} | undefined;
4672
+ join?: {} | undefined;
4673
+ lastIndexOf?: {} | undefined;
4674
+ readonly length?: number | undefined;
4675
+ map?: {} | undefined;
4676
+ reduce?: {} | undefined;
4677
+ reduceRight?: {} | undefined;
4678
+ reverse?: {} | undefined;
4679
+ set?: {} | undefined;
4680
+ slice?: {} | undefined;
4681
+ some?: {} | undefined;
4682
+ sort?: {} | undefined;
4683
+ subarray?: {} | undefined;
4684
+ toLocaleString?: {} | undefined;
4685
+ toString?: {} | undefined;
4686
+ valueOf?: {} | undefined;
4687
+ entries?: {} | undefined;
4688
+ keys?: {} | undefined;
4689
+ values?: {} | undefined;
4690
+ includes?: {} | undefined;
4691
+ at?: {} | undefined;
4692
+ [Symbol.iterator]?: {} | undefined;
4693
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4694
+ } | undefined;
4353
4695
  }) => _cosmjs_proto_signing.EncodeObject;
4354
4696
  challengeBatch: (value: {
4355
4697
  challenger?: string | undefined;
@@ -4420,6 +4762,60 @@ declare const msg: {
4420
4762
  creator?: string | undefined;
4421
4763
  rollupId?: string | undefined;
4422
4764
  }) => _cosmjs_proto_signing.EncodeObject;
4765
+ executeWithdrawal: (value: {
4766
+ submitter?: string | undefined;
4767
+ rollupId?: string | undefined;
4768
+ batchIndex?: string | undefined;
4769
+ withdrawalIndex?: string | undefined;
4770
+ recipient?: string | undefined;
4771
+ denom?: string | undefined;
4772
+ amount?: string | undefined;
4773
+ proof?: ({
4774
+ [x: number]: number | undefined;
4775
+ readonly BYTES_PER_ELEMENT?: number | undefined;
4776
+ readonly buffer?: ({
4777
+ readonly byteLength?: number | undefined;
4778
+ slice?: {} | undefined;
4779
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
4780
+ } | {
4781
+ readonly byteLength?: number | undefined;
4782
+ slice?: {} | undefined;
4783
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
4784
+ }) | undefined;
4785
+ readonly byteLength?: number | undefined;
4786
+ readonly byteOffset?: number | undefined;
4787
+ copyWithin?: {} | undefined;
4788
+ every?: {} | undefined;
4789
+ fill?: {} | undefined;
4790
+ filter?: {} | undefined;
4791
+ find?: {} | undefined;
4792
+ findIndex?: {} | undefined;
4793
+ forEach?: {} | undefined;
4794
+ indexOf?: {} | undefined;
4795
+ join?: {} | undefined;
4796
+ lastIndexOf?: {} | undefined;
4797
+ readonly length?: number | undefined;
4798
+ map?: {} | undefined;
4799
+ reduce?: {} | undefined;
4800
+ reduceRight?: {} | undefined;
4801
+ reverse?: {} | undefined;
4802
+ set?: {} | undefined;
4803
+ slice?: {} | undefined;
4804
+ some?: {} | undefined;
4805
+ sort?: {} | undefined;
4806
+ subarray?: {} | undefined;
4807
+ toLocaleString?: {} | undefined;
4808
+ toString?: {} | undefined;
4809
+ valueOf?: {} | undefined;
4810
+ entries?: {} | undefined;
4811
+ keys?: {} | undefined;
4812
+ values?: {} | undefined;
4813
+ includes?: {} | undefined;
4814
+ at?: {} | undefined;
4815
+ [Symbol.iterator]?: {} | undefined;
4816
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
4817
+ } | undefined)[] | undefined;
4818
+ }) => _cosmjs_proto_signing.EncodeObject;
4423
4819
  };
4424
4820
  readonly multilayer: {
4425
4821
  registerSidechain: (value: {
@@ -5643,7 +6039,233 @@ declare const msg: {
5643
6039
  };
5644
6040
  };
5645
6041
 
5646
- declare const protobufPackage$6 = "qorechain.crossvm.v1";
6042
+ declare const protobufPackage$9 = "qorechain.bridge.v1";
6043
+ interface BridgeConfigView {
6044
+ minValidators: number;
6045
+ attestationThreshold: number;
6046
+ challengePeriodSecs: string;
6047
+ largeTransferThreshold: string;
6048
+ enabled: boolean;
6049
+ }
6050
+ declare const BridgeConfigView: MessageFns$9<BridgeConfigView>;
6051
+ interface ChainConfigView {
6052
+ chainId: string;
6053
+ name: string;
6054
+ chainType: string;
6055
+ bridgeContract: string;
6056
+ status: string;
6057
+ minConfirmations: number;
6058
+ architecture: string;
6059
+ ibcChannelId: string;
6060
+ ibcPortId: string;
6061
+ }
6062
+ declare const ChainConfigView: MessageFns$9<ChainConfigView>;
6063
+ interface BridgeValidatorView {
6064
+ address: string;
6065
+ supportedChains: string[];
6066
+ reputation: string;
6067
+ active: boolean;
6068
+ registeredAt: string;
6069
+ }
6070
+ declare const BridgeValidatorView: MessageFns$9<BridgeValidatorView>;
6071
+ interface BridgeOperationView {
6072
+ id: string;
6073
+ type: string;
6074
+ sourceChain: string;
6075
+ destChain: string;
6076
+ sender: string;
6077
+ receiver: string;
6078
+ asset: string;
6079
+ amount: string;
6080
+ sourceTxHash: string;
6081
+ status: string;
6082
+ }
6083
+ declare const BridgeOperationView: MessageFns$9<BridgeOperationView>;
6084
+ interface QueryConfigRequest$1 {
6085
+ }
6086
+ declare const QueryConfigRequest$1: MessageFns$9<QueryConfigRequest$1>;
6087
+ interface QueryConfigResponse$1 {
6088
+ config?: BridgeConfigView | undefined;
6089
+ }
6090
+ declare const QueryConfigResponse$1: MessageFns$9<QueryConfigResponse$1>;
6091
+ interface QueryChainConfigRequest {
6092
+ chainId: string;
6093
+ }
6094
+ declare const QueryChainConfigRequest: MessageFns$9<QueryChainConfigRequest>;
6095
+ interface QueryChainConfigResponse {
6096
+ chain?: ChainConfigView | undefined;
6097
+ }
6098
+ declare const QueryChainConfigResponse: MessageFns$9<QueryChainConfigResponse>;
6099
+ interface QueryChainConfigsRequest {
6100
+ }
6101
+ declare const QueryChainConfigsRequest: MessageFns$9<QueryChainConfigsRequest>;
6102
+ interface QueryChainConfigsResponse {
6103
+ chains: ChainConfigView[];
6104
+ }
6105
+ declare const QueryChainConfigsResponse: MessageFns$9<QueryChainConfigsResponse>;
6106
+ interface QueryValidatorRequest {
6107
+ address: string;
6108
+ }
6109
+ declare const QueryValidatorRequest: MessageFns$9<QueryValidatorRequest>;
6110
+ interface QueryValidatorResponse {
6111
+ validator?: BridgeValidatorView | undefined;
6112
+ }
6113
+ declare const QueryValidatorResponse: MessageFns$9<QueryValidatorResponse>;
6114
+ interface QueryValidatorsRequest {
6115
+ }
6116
+ declare const QueryValidatorsRequest: MessageFns$9<QueryValidatorsRequest>;
6117
+ interface QueryValidatorsResponse {
6118
+ validators: BridgeValidatorView[];
6119
+ }
6120
+ declare const QueryValidatorsResponse: MessageFns$9<QueryValidatorsResponse>;
6121
+ interface QueryOperationRequest {
6122
+ id: string;
6123
+ }
6124
+ declare const QueryOperationRequest: MessageFns$9<QueryOperationRequest>;
6125
+ interface QueryOperationResponse {
6126
+ operation?: BridgeOperationView | undefined;
6127
+ }
6128
+ declare const QueryOperationResponse: MessageFns$9<QueryOperationResponse>;
6129
+ interface QueryOperationsRequest {
6130
+ }
6131
+ declare const QueryOperationsRequest: MessageFns$9<QueryOperationsRequest>;
6132
+ interface QueryOperationsResponse {
6133
+ operations: BridgeOperationView[];
6134
+ }
6135
+ declare const QueryOperationsResponse: MessageFns$9<QueryOperationsResponse>;
6136
+ /** Query defines the gRPC query service for the bridge module. */
6137
+ type QueryDefinition$9 = typeof QueryDefinition$9;
6138
+ declare const QueryDefinition$9: {
6139
+ readonly name: "Query";
6140
+ readonly fullName: "qorechain.bridge.v1.Query";
6141
+ readonly methods: {
6142
+ /** Config returns the global bridge config. */
6143
+ readonly config: {
6144
+ readonly name: "Config";
6145
+ readonly requestType: typeof QueryConfigRequest$1;
6146
+ readonly requestStream: false;
6147
+ readonly responseType: typeof QueryConfigResponse$1;
6148
+ readonly responseStream: false;
6149
+ readonly options: {
6150
+ readonly _unknownFields: {
6151
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6152
+ };
6153
+ };
6154
+ };
6155
+ /** ChainConfig returns a single chain config by ID. */
6156
+ readonly chainConfig: {
6157
+ readonly name: "ChainConfig";
6158
+ readonly requestType: typeof QueryChainConfigRequest;
6159
+ readonly requestStream: false;
6160
+ readonly responseType: typeof QueryChainConfigResponse;
6161
+ readonly responseStream: false;
6162
+ readonly options: {
6163
+ readonly _unknownFields: {
6164
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6165
+ };
6166
+ };
6167
+ };
6168
+ /** ChainConfigs lists all configured chains. */
6169
+ readonly chainConfigs: {
6170
+ readonly name: "ChainConfigs";
6171
+ readonly requestType: typeof QueryChainConfigsRequest;
6172
+ readonly requestStream: false;
6173
+ readonly responseType: typeof QueryChainConfigsResponse;
6174
+ readonly responseStream: false;
6175
+ readonly options: {
6176
+ readonly _unknownFields: {
6177
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6178
+ };
6179
+ };
6180
+ };
6181
+ /** Validator returns a single bridge validator by address. */
6182
+ readonly validator: {
6183
+ readonly name: "Validator";
6184
+ readonly requestType: typeof QueryValidatorRequest;
6185
+ readonly requestStream: false;
6186
+ readonly responseType: typeof QueryValidatorResponse;
6187
+ readonly responseStream: false;
6188
+ readonly options: {
6189
+ readonly _unknownFields: {
6190
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6191
+ };
6192
+ };
6193
+ };
6194
+ /** Validators lists all bridge validators. */
6195
+ readonly validators: {
6196
+ readonly name: "Validators";
6197
+ readonly requestType: typeof QueryValidatorsRequest;
6198
+ readonly requestStream: false;
6199
+ readonly responseType: typeof QueryValidatorsResponse;
6200
+ readonly responseStream: false;
6201
+ readonly options: {
6202
+ readonly _unknownFields: {
6203
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6204
+ };
6205
+ };
6206
+ };
6207
+ /** Operation returns a single bridge operation by ID. */
6208
+ readonly operation: {
6209
+ readonly name: "Operation";
6210
+ readonly requestType: typeof QueryOperationRequest;
6211
+ readonly requestStream: false;
6212
+ readonly responseType: typeof QueryOperationResponse;
6213
+ readonly responseStream: false;
6214
+ readonly options: {
6215
+ readonly _unknownFields: {
6216
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6217
+ };
6218
+ };
6219
+ };
6220
+ /** Operations lists all bridge operations. */
6221
+ readonly operations: {
6222
+ readonly name: "Operations";
6223
+ readonly requestType: typeof QueryOperationsRequest;
6224
+ readonly requestStream: false;
6225
+ readonly responseType: typeof QueryOperationsResponse;
6226
+ readonly responseStream: false;
6227
+ readonly options: {
6228
+ readonly _unknownFields: {
6229
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
6230
+ };
6231
+ };
6232
+ };
6233
+ };
6234
+ };
6235
+ type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
6236
+ 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 {} ? {
6237
+ [K in keyof T]?: DeepPartial$9<T[K]>;
6238
+ } : Partial<T>;
6239
+ interface MessageFns$9<T> {
6240
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6241
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6242
+ fromJSON(object: any): T;
6243
+ toJSON(message: T): unknown;
6244
+ create(base?: DeepPartial$9<T>): T;
6245
+ fromPartial(object: DeepPartial$9<T>): T;
6246
+ }
6247
+
6248
+ declare const query$9_BridgeConfigView: typeof BridgeConfigView;
6249
+ declare const query$9_BridgeOperationView: typeof BridgeOperationView;
6250
+ declare const query$9_BridgeValidatorView: typeof BridgeValidatorView;
6251
+ declare const query$9_ChainConfigView: typeof ChainConfigView;
6252
+ declare const query$9_QueryChainConfigRequest: typeof QueryChainConfigRequest;
6253
+ declare const query$9_QueryChainConfigResponse: typeof QueryChainConfigResponse;
6254
+ declare const query$9_QueryChainConfigsRequest: typeof QueryChainConfigsRequest;
6255
+ declare const query$9_QueryChainConfigsResponse: typeof QueryChainConfigsResponse;
6256
+ declare const query$9_QueryOperationRequest: typeof QueryOperationRequest;
6257
+ declare const query$9_QueryOperationResponse: typeof QueryOperationResponse;
6258
+ declare const query$9_QueryOperationsRequest: typeof QueryOperationsRequest;
6259
+ declare const query$9_QueryOperationsResponse: typeof QueryOperationsResponse;
6260
+ declare const query$9_QueryValidatorRequest: typeof QueryValidatorRequest;
6261
+ declare const query$9_QueryValidatorResponse: typeof QueryValidatorResponse;
6262
+ declare const query$9_QueryValidatorsRequest: typeof QueryValidatorsRequest;
6263
+ declare const query$9_QueryValidatorsResponse: typeof QueryValidatorsResponse;
6264
+ declare namespace query$9 {
6265
+ 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 };
6266
+ }
6267
+
6268
+ declare const protobufPackage$8 = "qorechain.crossvm.v1";
5647
6269
  interface CrossVMMessageView {
5648
6270
  id: string;
5649
6271
  sourceVm: string;
@@ -5657,46 +6279,46 @@ interface CrossVMMessageView {
5657
6279
  executedHeight: string;
5658
6280
  error: string;
5659
6281
  }
5660
- declare const CrossVMMessageView: MessageFns$6<CrossVMMessageView>;
5661
- interface QueryParamsRequest$3 {
6282
+ declare const CrossVMMessageView: MessageFns$8<CrossVMMessageView>;
6283
+ interface QueryParamsRequest$5 {
5662
6284
  }
5663
- declare const QueryParamsRequest$3: MessageFns$6<QueryParamsRequest$3>;
5664
- interface QueryParamsResponse$3 {
6285
+ declare const QueryParamsRequest$5: MessageFns$8<QueryParamsRequest$5>;
6286
+ interface QueryParamsResponse$5 {
5665
6287
  maxMessageSize: string;
5666
6288
  maxQueueSize: number;
5667
6289
  queueTimeoutBlocks: string;
5668
6290
  enabled: boolean;
5669
6291
  }
5670
- declare const QueryParamsResponse$3: MessageFns$6<QueryParamsResponse$3>;
6292
+ declare const QueryParamsResponse$5: MessageFns$8<QueryParamsResponse$5>;
5671
6293
  interface QueryPendingMessagesRequest {
5672
6294
  }
5673
- declare const QueryPendingMessagesRequest: MessageFns$6<QueryPendingMessagesRequest>;
6295
+ declare const QueryPendingMessagesRequest: MessageFns$8<QueryPendingMessagesRequest>;
5674
6296
  interface QueryPendingMessagesResponse {
5675
6297
  messages: CrossVMMessageView[];
5676
6298
  count: number;
5677
6299
  }
5678
- declare const QueryPendingMessagesResponse: MessageFns$6<QueryPendingMessagesResponse>;
6300
+ declare const QueryPendingMessagesResponse: MessageFns$8<QueryPendingMessagesResponse>;
5679
6301
  interface QueryMessageRequest {
5680
6302
  id: string;
5681
6303
  }
5682
- declare const QueryMessageRequest: MessageFns$6<QueryMessageRequest>;
6304
+ declare const QueryMessageRequest: MessageFns$8<QueryMessageRequest>;
5683
6305
  interface QueryMessageResponse {
5684
6306
  message?: CrossVMMessageView | undefined;
5685
6307
  found: boolean;
5686
6308
  }
5687
- declare const QueryMessageResponse: MessageFns$6<QueryMessageResponse>;
5688
- /** Query defines the crossvm module's gRPC query service. */
5689
- type QueryDefinition$6 = typeof QueryDefinition$6;
5690
- declare const QueryDefinition$6: {
6309
+ declare const QueryMessageResponse: MessageFns$8<QueryMessageResponse>;
6310
+ /** Query defines the crossvm module's gRPC query service. */
6311
+ type QueryDefinition$8 = typeof QueryDefinition$8;
6312
+ declare const QueryDefinition$8: {
5691
6313
  readonly name: "Query";
5692
6314
  readonly fullName: "qorechain.crossvm.v1.Query";
5693
6315
  readonly methods: {
5694
6316
  /** Params returns the crossvm module parameters. */
5695
6317
  readonly params: {
5696
6318
  readonly name: "Params";
5697
- readonly requestType: typeof QueryParamsRequest$3;
6319
+ readonly requestType: typeof QueryParamsRequest$5;
5698
6320
  readonly requestStream: false;
5699
- readonly responseType: typeof QueryParamsResponse$3;
6321
+ readonly responseType: typeof QueryParamsResponse$5;
5700
6322
  readonly responseStream: false;
5701
6323
  readonly options: {};
5702
6324
  };
@@ -5720,29 +6342,29 @@ declare const QueryDefinition$6: {
5720
6342
  };
5721
6343
  };
5722
6344
  };
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]>;
6345
+ type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
6346
+ 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 {} ? {
6347
+ [K in keyof T]?: DeepPartial$8<T[K]>;
5726
6348
  } : Partial<T>;
5727
- interface MessageFns$6<T> {
6349
+ interface MessageFns$8<T> {
5728
6350
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
5729
6351
  decode(input: BinaryReader | Uint8Array, length?: number): T;
5730
6352
  fromJSON(object: any): T;
5731
6353
  toJSON(message: T): unknown;
5732
- create(base?: DeepPartial$6<T>): T;
5733
- fromPartial(object: DeepPartial$6<T>): T;
6354
+ create(base?: DeepPartial$8<T>): T;
6355
+ fromPartial(object: DeepPartial$8<T>): T;
5734
6356
  }
5735
6357
 
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 };
6358
+ declare const query$8_CrossVMMessageView: typeof CrossVMMessageView;
6359
+ declare const query$8_QueryMessageRequest: typeof QueryMessageRequest;
6360
+ declare const query$8_QueryMessageResponse: typeof QueryMessageResponse;
6361
+ declare const query$8_QueryPendingMessagesRequest: typeof QueryPendingMessagesRequest;
6362
+ declare const query$8_QueryPendingMessagesResponse: typeof QueryPendingMessagesResponse;
6363
+ declare namespace query$8 {
6364
+ 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
6365
  }
5744
6366
 
5745
- declare const protobufPackage$5 = "qorechain.lightnode.v1";
6367
+ declare const protobufPackage$7 = "qorechain.lightnode.v1";
5746
6368
  /** LightNodeView is a flat representation of a registered light node. */
5747
6369
  interface LightNodeView {
5748
6370
  address: string;
@@ -5758,27 +6380,27 @@ interface LightNodeView {
5758
6380
  accumulatedRewards: string;
5759
6381
  initialHeartbeatInterval: string;
5760
6382
  }
5761
- declare const LightNodeView: MessageFns$5<LightNodeView>;
6383
+ declare const LightNodeView: MessageFns$7<LightNodeView>;
5762
6384
  interface QueryLightNodeRequest {
5763
6385
  address: string;
5764
6386
  }
5765
- declare const QueryLightNodeRequest: MessageFns$5<QueryLightNodeRequest>;
6387
+ declare const QueryLightNodeRequest: MessageFns$7<QueryLightNodeRequest>;
5766
6388
  interface QueryLightNodeResponse {
5767
6389
  node?: LightNodeView | undefined;
5768
6390
  found: boolean;
5769
6391
  }
5770
- declare const QueryLightNodeResponse: MessageFns$5<QueryLightNodeResponse>;
6392
+ declare const QueryLightNodeResponse: MessageFns$7<QueryLightNodeResponse>;
5771
6393
  interface QueryLightNodesRequest {
5772
6394
  }
5773
- declare const QueryLightNodesRequest: MessageFns$5<QueryLightNodesRequest>;
6395
+ declare const QueryLightNodesRequest: MessageFns$7<QueryLightNodesRequest>;
5774
6396
  interface QueryLightNodesResponse {
5775
6397
  nodes: LightNodeView[];
5776
6398
  }
5777
- declare const QueryLightNodesResponse: MessageFns$5<QueryLightNodesResponse>;
5778
- interface QueryParamsRequest$2 {
6399
+ declare const QueryLightNodesResponse: MessageFns$7<QueryLightNodesResponse>;
6400
+ interface QueryParamsRequest$4 {
5779
6401
  }
5780
- declare const QueryParamsRequest$2: MessageFns$5<QueryParamsRequest$2>;
5781
- interface QueryParamsResponse$2 {
6402
+ declare const QueryParamsRequest$4: MessageFns$7<QueryParamsRequest$4>;
6403
+ interface QueryParamsResponse$4 {
5782
6404
  registrationFee: string;
5783
6405
  heartbeatInterval: string;
5784
6406
  minDelegatedStake: string;
@@ -5787,28 +6409,28 @@ interface QueryParamsResponse$2 {
5787
6409
  maxLightNodes: string;
5788
6410
  heartbeatGracePeriod: string;
5789
6411
  }
5790
- declare const QueryParamsResponse$2: MessageFns$5<QueryParamsResponse$2>;
6412
+ declare const QueryParamsResponse$4: MessageFns$7<QueryParamsResponse$4>;
5791
6413
  interface QueryRewardsRequest {
5792
6414
  address: string;
5793
6415
  }
5794
- declare const QueryRewardsRequest: MessageFns$5<QueryRewardsRequest>;
6416
+ declare const QueryRewardsRequest: MessageFns$7<QueryRewardsRequest>;
5795
6417
  interface QueryRewardsResponse {
5796
6418
  accumulatedRewards: string;
5797
6419
  }
5798
- declare const QueryRewardsResponse: MessageFns$5<QueryRewardsResponse>;
6420
+ declare const QueryRewardsResponse: MessageFns$7<QueryRewardsResponse>;
5799
6421
  interface QueryStatsRequest {
5800
6422
  }
5801
- declare const QueryStatsRequest: MessageFns$5<QueryStatsRequest>;
6423
+ declare const QueryStatsRequest: MessageFns$7<QueryStatsRequest>;
5802
6424
  interface QueryStatsResponse {
5803
6425
  totalRegistered: string;
5804
6426
  totalActive: string;
5805
6427
  totalRewards: string;
5806
6428
  lastRewardHeight: string;
5807
6429
  }
5808
- declare const QueryStatsResponse: MessageFns$5<QueryStatsResponse>;
6430
+ declare const QueryStatsResponse: MessageFns$7<QueryStatsResponse>;
5809
6431
  /** Query defines the lightnode module's gRPC query service. */
5810
- type QueryDefinition$5 = typeof QueryDefinition$5;
5811
- declare const QueryDefinition$5: {
6432
+ type QueryDefinition$7 = typeof QueryDefinition$7;
6433
+ declare const QueryDefinition$7: {
5812
6434
  readonly name: "Query";
5813
6435
  readonly fullName: "qorechain.lightnode.v1.Query";
5814
6436
  readonly methods: {
@@ -5833,9 +6455,9 @@ declare const QueryDefinition$5: {
5833
6455
  /** Params returns the lightnode module parameters. */
5834
6456
  readonly params: {
5835
6457
  readonly name: "Params";
5836
- readonly requestType: typeof QueryParamsRequest$2;
6458
+ readonly requestType: typeof QueryParamsRequest$4;
5837
6459
  readonly requestStream: false;
5838
- readonly responseType: typeof QueryParamsResponse$2;
6460
+ readonly responseType: typeof QueryParamsResponse$4;
5839
6461
  readonly responseStream: false;
5840
6462
  readonly options: {};
5841
6463
  };
@@ -5859,44 +6481,178 @@ declare const QueryDefinition$5: {
5859
6481
  };
5860
6482
  };
5861
6483
  };
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]>;
6484
+ type Builtin$7 = Date | Function | Uint8Array | string | number | boolean | undefined;
6485
+ 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 {} ? {
6486
+ [K in keyof T]?: DeepPartial$7<T[K]>;
5865
6487
  } : Partial<T>;
5866
- interface MessageFns$5<T> {
6488
+ interface MessageFns$7<T> {
5867
6489
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
5868
6490
  decode(input: BinaryReader | Uint8Array, length?: number): T;
5869
6491
  fromJSON(object: any): T;
5870
6492
  toJSON(message: T): unknown;
5871
- create(base?: DeepPartial$5<T>): T;
5872
- fromPartial(object: DeepPartial$5<T>): T;
6493
+ create(base?: DeepPartial$7<T>): T;
6494
+ fromPartial(object: DeepPartial$7<T>): T;
5873
6495
  }
5874
6496
 
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 };
6497
+ declare const query$7_LightNodeView: typeof LightNodeView;
6498
+ declare const query$7_QueryLightNodeRequest: typeof QueryLightNodeRequest;
6499
+ declare const query$7_QueryLightNodeResponse: typeof QueryLightNodeResponse;
6500
+ declare const query$7_QueryLightNodesRequest: typeof QueryLightNodesRequest;
6501
+ declare const query$7_QueryLightNodesResponse: typeof QueryLightNodesResponse;
6502
+ declare const query$7_QueryRewardsRequest: typeof QueryRewardsRequest;
6503
+ declare const query$7_QueryRewardsResponse: typeof QueryRewardsResponse;
6504
+ declare const query$7_QueryStatsRequest: typeof QueryStatsRequest;
6505
+ declare const query$7_QueryStatsResponse: typeof QueryStatsResponse;
6506
+ declare namespace query$7 {
6507
+ 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 };
6508
+ }
6509
+
6510
+ declare const protobufPackage$6 = "qorechain.multilayer.v1";
6511
+ interface ParamsView$1 {
6512
+ maxSidechains: string;
6513
+ maxPaychains: string;
6514
+ minAnchorInterval: string;
6515
+ maxAnchorInterval: string;
6516
+ defaultChallengePeriod: string;
6517
+ minSidechainStake: string;
6518
+ minPaychainStake: string;
6519
+ routingEnabled: boolean;
6520
+ routingConfidenceThreshold: string;
6521
+ crossLayerFeeBundling: boolean;
6522
+ }
6523
+ declare const ParamsView$1: MessageFns$6<ParamsView$1>;
6524
+ interface LayerView {
6525
+ layerId: string;
6526
+ layerType: string;
6527
+ status: string;
6528
+ chainId: string;
6529
+ description: string;
6530
+ targetBlockTimeMs: string;
6531
+ maxTransactionsPerBlock: string;
6532
+ minValidators: number;
6533
+ settlementIntervalBlocks: string;
6534
+ challengePeriodSeconds: string;
6535
+ }
6536
+ declare const LayerView: MessageFns$6<LayerView>;
6537
+ interface RoutingStatsView {
6538
+ totalRouted: string;
6539
+ routedToMain: string;
6540
+ routedToSidechains: string;
6541
+ routedToPaychains: string;
6542
+ averageGasSavingsPercent: string;
6543
+ averageLatencyImprovementPercent: string;
6544
+ }
6545
+ declare const RoutingStatsView: MessageFns$6<RoutingStatsView>;
6546
+ interface QueryParamsRequest$3 {
6547
+ }
6548
+ declare const QueryParamsRequest$3: MessageFns$6<QueryParamsRequest$3>;
6549
+ interface QueryParamsResponse$3 {
6550
+ params?: ParamsView$1 | undefined;
6551
+ }
6552
+ declare const QueryParamsResponse$3: MessageFns$6<QueryParamsResponse$3>;
6553
+ interface QueryLayerRequest {
6554
+ layerId: string;
6555
+ }
6556
+ declare const QueryLayerRequest: MessageFns$6<QueryLayerRequest>;
6557
+ interface QueryLayerResponse {
6558
+ layer?: LayerView | undefined;
6559
+ }
6560
+ declare const QueryLayerResponse: MessageFns$6<QueryLayerResponse>;
6561
+ interface QueryLayersRequest {
6562
+ }
6563
+ declare const QueryLayersRequest: MessageFns$6<QueryLayersRequest>;
6564
+ interface QueryLayersResponse {
6565
+ layers: LayerView[];
6566
+ }
6567
+ declare const QueryLayersResponse: MessageFns$6<QueryLayersResponse>;
6568
+ interface QueryRoutingStatsRequest {
6569
+ }
6570
+ declare const QueryRoutingStatsRequest: MessageFns$6<QueryRoutingStatsRequest>;
6571
+ interface QueryRoutingStatsView {
6572
+ stats?: RoutingStatsView | undefined;
6573
+ }
6574
+ declare const QueryRoutingStatsView: MessageFns$6<QueryRoutingStatsView>;
6575
+ /** Query defines the gRPC query service for the multilayer module. */
6576
+ type QueryDefinition$6 = typeof QueryDefinition$6;
6577
+ declare const QueryDefinition$6: {
6578
+ readonly name: "Query";
6579
+ readonly fullName: "qorechain.multilayer.v1.Query";
6580
+ readonly methods: {
6581
+ /** Params returns the module parameters. */
6582
+ readonly params: {
6583
+ readonly name: "Params";
6584
+ readonly requestType: typeof QueryParamsRequest$3;
6585
+ readonly requestStream: false;
6586
+ readonly responseType: typeof QueryParamsResponse$3;
6587
+ readonly responseStream: false;
6588
+ readonly options: {};
6589
+ };
6590
+ /** Layer returns a single layer config by ID. */
6591
+ readonly layer: {
6592
+ readonly name: "Layer";
6593
+ readonly requestType: typeof QueryLayerRequest;
6594
+ readonly requestStream: false;
6595
+ readonly responseType: typeof QueryLayerResponse;
6596
+ readonly responseStream: false;
6597
+ readonly options: {};
6598
+ };
6599
+ /** Layers lists all layers. */
6600
+ readonly layers: {
6601
+ readonly name: "Layers";
6602
+ readonly requestType: typeof QueryLayersRequest;
6603
+ readonly requestStream: false;
6604
+ readonly responseType: typeof QueryLayersResponse;
6605
+ readonly responseStream: false;
6606
+ readonly options: {};
6607
+ };
6608
+ /** RoutingStats returns the cross-layer routing statistics. */
6609
+ readonly routingStats: {
6610
+ readonly name: "RoutingStats";
6611
+ readonly requestType: typeof QueryRoutingStatsRequest;
6612
+ readonly requestStream: false;
6613
+ readonly responseType: typeof QueryRoutingStatsView;
6614
+ readonly responseStream: false;
6615
+ readonly options: {};
6616
+ };
6617
+ };
6618
+ };
6619
+ type Builtin$6 = Date | Function | Uint8Array | string | number | boolean | undefined;
6620
+ 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 {} ? {
6621
+ [K in keyof T]?: DeepPartial$6<T[K]>;
6622
+ } : Partial<T>;
6623
+ interface MessageFns$6<T> {
6624
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6625
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6626
+ fromJSON(object: any): T;
6627
+ toJSON(message: T): unknown;
6628
+ create(base?: DeepPartial$6<T>): T;
6629
+ fromPartial(object: DeepPartial$6<T>): T;
6630
+ }
6631
+
6632
+ declare const query$6_LayerView: typeof LayerView;
6633
+ declare const query$6_QueryLayerRequest: typeof QueryLayerRequest;
6634
+ declare const query$6_QueryLayerResponse: typeof QueryLayerResponse;
6635
+ declare const query$6_QueryLayersRequest: typeof QueryLayersRequest;
6636
+ declare const query$6_QueryLayersResponse: typeof QueryLayersResponse;
6637
+ declare const query$6_QueryRoutingStatsRequest: typeof QueryRoutingStatsRequest;
6638
+ declare const query$6_QueryRoutingStatsView: typeof QueryRoutingStatsView;
6639
+ declare const query$6_RoutingStatsView: typeof RoutingStatsView;
6640
+ declare namespace query$6 {
6641
+ 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
6642
  }
5887
6643
 
5888
- declare const protobufPackage$4 = "qorechain.pqc.v1";
6644
+ declare const protobufPackage$5 = "qorechain.pqc.v1";
5889
6645
  interface QueryAccountRequest$1 {
5890
6646
  /** address is the bech32 account address whose PQC key is requested. */
5891
6647
  address: string;
5892
6648
  }
5893
- declare const QueryAccountRequest$1: MessageFns$4<QueryAccountRequest$1>;
6649
+ declare const QueryAccountRequest$1: MessageFns$5<QueryAccountRequest$1>;
5894
6650
  interface QueryAccountResponse$1 {
5895
6651
  /** found reports whether the account has a registered PQC key. */
5896
6652
  found: boolean;
5897
6653
  account?: PQCAccountView | undefined;
5898
6654
  }
5899
- declare const QueryAccountResponse$1: MessageFns$4<QueryAccountResponse$1>;
6655
+ declare const QueryAccountResponse$1: MessageFns$5<QueryAccountResponse$1>;
5900
6656
  /** PQCAccountView is the query-facing view of a registered PQC account. */
5901
6657
  interface PQCAccountView {
5902
6658
  address: string;
@@ -5909,10 +6665,10 @@ interface PQCAccountView {
5909
6665
  migrationPublicKey: Uint8Array;
5910
6666
  migrationAlgorithmId: number;
5911
6667
  }
5912
- declare const PQCAccountView: MessageFns$4<PQCAccountView>;
6668
+ declare const PQCAccountView: MessageFns$5<PQCAccountView>;
5913
6669
  /** Query defines the gRPC query service for the PQC module. */
5914
- type QueryDefinition$4 = typeof QueryDefinition$4;
5915
- declare const QueryDefinition$4: {
6670
+ type QueryDefinition$5 = typeof QueryDefinition$5;
6671
+ declare const QueryDefinition$5: {
5916
6672
  readonly name: "Query";
5917
6673
  readonly fullName: "qorechain.pqc.v1.Query";
5918
6674
  readonly methods: {
@@ -5927,28 +6683,28 @@ declare const QueryDefinition$4: {
5927
6683
  };
5928
6684
  };
5929
6685
  };
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]>;
6686
+ type Builtin$5 = Date | Function | Uint8Array | string | number | boolean | undefined;
6687
+ 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 {} ? {
6688
+ [K in keyof T]?: DeepPartial$5<T[K]>;
5933
6689
  } : Partial<T>;
5934
- interface MessageFns$4<T> {
6690
+ interface MessageFns$5<T> {
5935
6691
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
5936
6692
  decode(input: BinaryReader | Uint8Array, length?: number): T;
5937
6693
  fromJSON(object: any): T;
5938
6694
  toJSON(message: T): unknown;
5939
- create(base?: DeepPartial$4<T>): T;
5940
- fromPartial(object: DeepPartial$4<T>): T;
6695
+ create(base?: DeepPartial$5<T>): T;
6696
+ fromPartial(object: DeepPartial$5<T>): T;
5941
6697
  }
5942
6698
 
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 };
6699
+ declare const query$5_PQCAccountView: typeof PQCAccountView;
6700
+ declare namespace query$5 {
6701
+ 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
6702
  }
5947
6703
 
5948
- declare const protobufPackage$3 = "qorechain.qca.v1";
6704
+ declare const protobufPackage$4 = "qorechain.qca.v1";
5949
6705
  interface QueryConfigRequest {
5950
6706
  }
5951
- declare const QueryConfigRequest: MessageFns$3<QueryConfigRequest>;
6707
+ declare const QueryConfigRequest: MessageFns$4<QueryConfigRequest>;
5952
6708
  interface QueryConfigResponse {
5953
6709
  useReputationWeighting: boolean;
5954
6710
  minReputationScore: number;
@@ -5973,10 +6729,10 @@ interface QueryConfigResponse {
5973
6729
  qdrwRepMinMultiplier: string;
5974
6730
  qdrwRepMaxMultiplier: string;
5975
6731
  }
5976
- declare const QueryConfigResponse: MessageFns$3<QueryConfigResponse>;
6732
+ declare const QueryConfigResponse: MessageFns$4<QueryConfigResponse>;
5977
6733
  /** Query defines the qca module's gRPC query service. */
5978
- type QueryDefinition$3 = typeof QueryDefinition$3;
5979
- declare const QueryDefinition$3: {
6734
+ type QueryDefinition$4 = typeof QueryDefinition$4;
6735
+ declare const QueryDefinition$4: {
5980
6736
  readonly name: "Query";
5981
6737
  readonly fullName: "qorechain.qca.v1.Query";
5982
6738
  readonly methods: {
@@ -5994,6 +6750,160 @@ declare const QueryDefinition$3: {
5994
6750
  };
5995
6751
  };
5996
6752
  };
6753
+ type Builtin$4 = Date | Function | Uint8Array | string | number | boolean | undefined;
6754
+ 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 {} ? {
6755
+ [K in keyof T]?: DeepPartial$4<T[K]>;
6756
+ } : Partial<T>;
6757
+ interface MessageFns$4<T> {
6758
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
6759
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
6760
+ fromJSON(object: any): T;
6761
+ toJSON(message: T): unknown;
6762
+ create(base?: DeepPartial$4<T>): T;
6763
+ fromPartial(object: DeepPartial$4<T>): T;
6764
+ }
6765
+
6766
+ declare const query$4_QueryConfigRequest: typeof QueryConfigRequest;
6767
+ declare const query$4_QueryConfigResponse: typeof QueryConfigResponse;
6768
+ declare namespace query$4 {
6769
+ 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 };
6770
+ }
6771
+
6772
+ declare const protobufPackage$3 = "qorechain.rdk.v1";
6773
+ /** ParamsView is the query-facing view of the module parameters. */
6774
+ interface ParamsView {
6775
+ maxRollups: number;
6776
+ minStakeForRollup: string;
6777
+ rollupCreationBurnRate: string;
6778
+ defaultChallengeWindow: string;
6779
+ maxDaBlobSize: string;
6780
+ blobRetentionBlocks: string;
6781
+ maxBatchesPerBlock: number;
6782
+ }
6783
+ declare const ParamsView: MessageFns$3<ParamsView>;
6784
+ /** RollupView is the query-facing view of a rollup config (scalar fields). */
6785
+ interface RollupView {
6786
+ rollupId: string;
6787
+ creator: string;
6788
+ profile: string;
6789
+ settlementMode: string;
6790
+ daBackend: string;
6791
+ blockTimeMs: string;
6792
+ maxTxPerBlock: string;
6793
+ vmType: string;
6794
+ status: string;
6795
+ stakeAmount: string;
6796
+ layerId: string;
6797
+ createdHeight: string;
6798
+ }
6799
+ declare const RollupView: MessageFns$3<RollupView>;
6800
+ /** BatchView is the query-facing view of a settlement batch. */
6801
+ interface BatchView {
6802
+ rollupId: string;
6803
+ batchIndex: string;
6804
+ stateRoot: string;
6805
+ prevStateRoot: string;
6806
+ txCount: string;
6807
+ dataHash: string;
6808
+ proofType: string;
6809
+ status: string;
6810
+ submittedAt: string;
6811
+ finalizedAt: string;
6812
+ withdrawalsRoot: string;
6813
+ }
6814
+ declare const BatchView: MessageFns$3<BatchView>;
6815
+ interface QueryParamsRequest$2 {
6816
+ }
6817
+ declare const QueryParamsRequest$2: MessageFns$3<QueryParamsRequest$2>;
6818
+ interface QueryParamsResponse$2 {
6819
+ params?: ParamsView | undefined;
6820
+ }
6821
+ declare const QueryParamsResponse$2: MessageFns$3<QueryParamsResponse$2>;
6822
+ interface QueryRollupRequest {
6823
+ rollupId: string;
6824
+ }
6825
+ declare const QueryRollupRequest: MessageFns$3<QueryRollupRequest>;
6826
+ interface QueryRollupResponse {
6827
+ rollup?: RollupView | undefined;
6828
+ }
6829
+ declare const QueryRollupResponse: MessageFns$3<QueryRollupResponse>;
6830
+ interface QueryRollupsRequest {
6831
+ }
6832
+ declare const QueryRollupsRequest: MessageFns$3<QueryRollupsRequest>;
6833
+ interface QueryRollupsResponse {
6834
+ rollups: RollupView[];
6835
+ }
6836
+ declare const QueryRollupsResponse: MessageFns$3<QueryRollupsResponse>;
6837
+ interface QueryBatchRequest {
6838
+ rollupId: string;
6839
+ batchIndex: string;
6840
+ }
6841
+ declare const QueryBatchRequest: MessageFns$3<QueryBatchRequest>;
6842
+ interface QueryBatchResponse {
6843
+ batch?: BatchView | undefined;
6844
+ }
6845
+ declare const QueryBatchResponse: MessageFns$3<QueryBatchResponse>;
6846
+ interface QueryLatestBatchRequest {
6847
+ rollupId: string;
6848
+ }
6849
+ declare const QueryLatestBatchRequest: MessageFns$3<QueryLatestBatchRequest>;
6850
+ interface QueryLatestBatchResponse {
6851
+ batch?: BatchView | undefined;
6852
+ }
6853
+ declare const QueryLatestBatchResponse: MessageFns$3<QueryLatestBatchResponse>;
6854
+ /** Query defines the gRPC query service for the rdk (rollup) module. */
6855
+ type QueryDefinition$3 = typeof QueryDefinition$3;
6856
+ declare const QueryDefinition$3: {
6857
+ readonly name: "Query";
6858
+ readonly fullName: "qorechain.rdk.v1.Query";
6859
+ readonly methods: {
6860
+ /** Params returns the module parameters. */
6861
+ readonly params: {
6862
+ readonly name: "Params";
6863
+ readonly requestType: typeof QueryParamsRequest$2;
6864
+ readonly requestStream: false;
6865
+ readonly responseType: typeof QueryParamsResponse$2;
6866
+ readonly responseStream: false;
6867
+ readonly options: {};
6868
+ };
6869
+ /** Rollup returns a single rollup config by ID. */
6870
+ readonly rollup: {
6871
+ readonly name: "Rollup";
6872
+ readonly requestType: typeof QueryRollupRequest;
6873
+ readonly requestStream: false;
6874
+ readonly responseType: typeof QueryRollupResponse;
6875
+ readonly responseStream: false;
6876
+ readonly options: {};
6877
+ };
6878
+ /** Rollups lists all rollups. */
6879
+ readonly rollups: {
6880
+ readonly name: "Rollups";
6881
+ readonly requestType: typeof QueryRollupsRequest;
6882
+ readonly requestStream: false;
6883
+ readonly responseType: typeof QueryRollupsResponse;
6884
+ readonly responseStream: false;
6885
+ readonly options: {};
6886
+ };
6887
+ /** Batch returns a settlement batch by (rollup_id, batch_index). */
6888
+ readonly batch: {
6889
+ readonly name: "Batch";
6890
+ readonly requestType: typeof QueryBatchRequest;
6891
+ readonly requestStream: false;
6892
+ readonly responseType: typeof QueryBatchResponse;
6893
+ readonly responseStream: false;
6894
+ readonly options: {};
6895
+ };
6896
+ /** LatestBatch returns the latest settlement batch for a rollup. */
6897
+ readonly latestBatch: {
6898
+ readonly name: "LatestBatch";
6899
+ readonly requestType: typeof QueryLatestBatchRequest;
6900
+ readonly requestStream: false;
6901
+ readonly responseType: typeof QueryLatestBatchResponse;
6902
+ readonly responseStream: false;
6903
+ readonly options: {};
6904
+ };
6905
+ };
6906
+ };
5997
6907
  type Builtin$3 = Date | Function | Uint8Array | string | number | boolean | undefined;
5998
6908
  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
6909
  [K in keyof T]?: DeepPartial$3<T[K]>;
@@ -6007,10 +6917,19 @@ interface MessageFns$3<T> {
6007
6917
  fromPartial(object: DeepPartial$3<T>): T;
6008
6918
  }
6009
6919
 
6010
- declare const query$3_QueryConfigRequest: typeof QueryConfigRequest;
6011
- declare const query$3_QueryConfigResponse: typeof QueryConfigResponse;
6920
+ declare const query$3_BatchView: typeof BatchView;
6921
+ declare const query$3_ParamsView: typeof ParamsView;
6922
+ declare const query$3_QueryBatchRequest: typeof QueryBatchRequest;
6923
+ declare const query$3_QueryBatchResponse: typeof QueryBatchResponse;
6924
+ declare const query$3_QueryLatestBatchRequest: typeof QueryLatestBatchRequest;
6925
+ declare const query$3_QueryLatestBatchResponse: typeof QueryLatestBatchResponse;
6926
+ declare const query$3_QueryRollupRequest: typeof QueryRollupRequest;
6927
+ declare const query$3_QueryRollupResponse: typeof QueryRollupResponse;
6928
+ declare const query$3_QueryRollupsRequest: typeof QueryRollupsRequest;
6929
+ declare const query$3_QueryRollupsResponse: typeof QueryRollupsResponse;
6930
+ declare const query$3_RollupView: typeof RollupView;
6012
6931
  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 };
6932
+ 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
6933
  }
6015
6934
 
6016
6935
  declare const protobufPackage$2 = "qorechain.reputation.v1";
@@ -6332,7 +7251,7 @@ declare namespace query {
6332
7251
  */
6333
7252
 
6334
7253
  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 };
7254
+ 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
7255
  }
6337
7256
 
6338
7257
  /**
@@ -6489,7 +7408,7 @@ declare function getCosmosWallet(opts: GetCosmosWalletOptions): Promise<CosmosWa
6489
7408
  type CometClientLike = Parameters<typeof QueryClient.withExtensions>[0];
6490
7409
  /** Cross-VM module query client. */
6491
7410
  interface CrossVmQueryClient {
6492
- params(req?: QueryParamsRequest$3): Promise<QueryParamsResponse$3>;
7411
+ params(req?: QueryParamsRequest$5): Promise<QueryParamsResponse$5>;
6493
7412
  pendingMessages(req?: QueryPendingMessagesRequest): Promise<QueryPendingMessagesResponse>;
6494
7413
  message(req: QueryMessageRequest): Promise<QueryMessageResponse>;
6495
7414
  }
@@ -6498,6 +7417,47 @@ interface LightNodeQueryClient {
6498
7417
  lightNode(req: QueryLightNodeRequest): Promise<QueryLightNodeResponse>;
6499
7418
  lightNodes(req?: QueryLightNodesRequest): Promise<QueryLightNodesResponse>;
6500
7419
  }
7420
+ /** Multilayer (sidechain / paychain) module query client. */
7421
+ interface MultilayerQueryClient {
7422
+ /** Module parameters (limits, stake minimums, routing config). */
7423
+ params(req?: QueryParamsRequest$3): Promise<QueryParamsResponse$3>;
7424
+ /** A single layer (sidechain/paychain) config by ID. */
7425
+ layer(req: QueryLayerRequest): Promise<QueryLayerResponse>;
7426
+ /** All registered layers. */
7427
+ layers(req?: QueryLayersRequest): Promise<QueryLayersResponse>;
7428
+ /** Cross-layer routing statistics (gas savings, latency, counts). */
7429
+ routingStats(req?: QueryRoutingStatsRequest): Promise<QueryRoutingStatsView>;
7430
+ }
7431
+ /** RDK (rollup) module query client. */
7432
+ interface RdkQueryClient {
7433
+ /** Module parameters (max rollups, stake/blob limits, challenge window). */
7434
+ params(req?: QueryParamsRequest$2): Promise<QueryParamsResponse$2>;
7435
+ /** A single rollup config by ID. */
7436
+ rollup(req: QueryRollupRequest): Promise<QueryRollupResponse>;
7437
+ /** All registered rollups. */
7438
+ rollups(req?: QueryRollupsRequest): Promise<QueryRollupsResponse>;
7439
+ /** A settlement batch by (rollupId, batchIndex). */
7440
+ batch(req: QueryBatchRequest): Promise<QueryBatchResponse>;
7441
+ /** The latest settlement batch for a rollup. */
7442
+ latestBatch(req: QueryLatestBatchRequest): Promise<QueryLatestBatchResponse>;
7443
+ }
7444
+ /** Bridge module query client. */
7445
+ interface BridgeQueryClient {
7446
+ /** Global bridge config. */
7447
+ config(req?: QueryConfigRequest$1): Promise<QueryConfigResponse$1>;
7448
+ /** A single chain config by ID. */
7449
+ chainConfig(req: QueryChainConfigRequest): Promise<QueryChainConfigResponse>;
7450
+ /** All configured chains. */
7451
+ chainConfigs(req?: QueryChainConfigsRequest): Promise<QueryChainConfigsResponse>;
7452
+ /** A single bridge validator by address. */
7453
+ validator(req: QueryValidatorRequest): Promise<QueryValidatorResponse>;
7454
+ /** All bridge validators. */
7455
+ validators(req?: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
7456
+ /** A single bridge operation by ID. */
7457
+ operation(req: QueryOperationRequest): Promise<QueryOperationResponse>;
7458
+ /** All bridge operations. */
7459
+ operations(req?: QueryOperationsRequest): Promise<QueryOperationsResponse>;
7460
+ }
6501
7461
  /** PQC module query client. */
6502
7462
  interface PqcQueryClient {
6503
7463
  account(req: QueryAccountRequest$1): Promise<QueryAccountResponse$1>;
@@ -6521,10 +7481,13 @@ interface SvmQueryClient {
6521
7481
  }
6522
7482
  /** All typed module query clients, grouped by module. */
6523
7483
  interface QoreChainQueryClients {
7484
+ bridge: BridgeQueryClient;
6524
7485
  crossvm: CrossVmQueryClient;
6525
7486
  lightnode: LightNodeQueryClient;
7487
+ multilayer: MultilayerQueryClient;
6526
7488
  pqc: PqcQueryClient;
6527
7489
  qca: QcaQueryClient;
7490
+ rdk: RdkQueryClient;
6528
7491
  reputation: ReputationQueryClient;
6529
7492
  rlconsensus: RlConsensusQueryClient;
6530
7493
  svm: SvmQueryClient;
@@ -6545,6 +7508,349 @@ declare function createQueryClients(rpc: ProtobufRpcClient): QoreChainQueryClien
6545
7508
  */
6546
7509
  declare function connectQueryClients(cometClient: CometClientLike): QoreChainQueryClients;
6547
7510
 
7511
+ /**
7512
+ * High-level Multilayer client — ergonomic sidechain / paychain operations.
7513
+ *
7514
+ * The multilayer module lets an app register additional execution layers
7515
+ * (sidechains and paychains), periodically anchor their state roots back to the
7516
+ * main chain, and route individual transactions to the cheapest/fastest layer.
7517
+ * This helper wraps the typed message composers ({@link msg.multilayer}) and the
7518
+ * typed query client so a developer never has to hand-build a `{ typeUrl, value }`
7519
+ * or remember a service/method name.
7520
+ *
7521
+ * Lifecycle, end to end:
7522
+ * 1. `registerSidechain` / `registerPaychain` — declare a new layer.
7523
+ * 2. `anchorState` — commit a layer's state root to the main chain (the relayer
7524
+ * does this on each settlement interval).
7525
+ * 3. `routeTransaction` — submit a payload and let the chain pick the best layer.
7526
+ * 4. `getLayer` / `listLayers` / `routingStats` — read layer state and metrics.
7527
+ *
7528
+ * Construct one with {@link createMultilayerClient}, passing a connected
7529
+ * {@link TxClient} (for writes) and, optionally, a {@link MultilayerQueryClient}
7530
+ * (for the typed reads).
7531
+ *
7532
+ * Note on running a layer: this SDK is the *app-developer* surface — it submits
7533
+ * and reads multilayer transactions. Operating the off-chain layer node itself
7534
+ * (block production, the relayer that calls `anchorState`) is a separate concern.
7535
+ */
7536
+
7537
+ /** Shared write-path options forwarded to {@link TxClient.signAndBroadcast}. */
7538
+ interface MultilayerWriteOptions {
7539
+ /** Fee: an explicit `StdFee` or `"auto"` (simulate + price). Default `"auto"`. */
7540
+ fee?: FeeInput$1;
7541
+ /** Optional memo string. */
7542
+ memo?: string;
7543
+ /** Auto-fee tuning (gas multiplier / gas price) when `fee` is `"auto"`. */
7544
+ autoFee?: AutoFeeOptions;
7545
+ }
7546
+ /** Options for {@link MultilayerClient.registerSidechain}. */
7547
+ interface RegisterSidechainOptions extends MultilayerWriteOptions {
7548
+ /** Unique layer identifier (e.g. `"game-sidechain"`). */
7549
+ layerId: string;
7550
+ /** Human-readable description of the layer's purpose. */
7551
+ description?: string;
7552
+ /** Target block time in milliseconds. */
7553
+ targetBlockTimeMs?: bigint | number | string;
7554
+ /** Soft cap on transactions per block. */
7555
+ maxTransactionsPerBlock?: bigint | number | string;
7556
+ /** Minimum validators required for the layer. */
7557
+ minValidators?: number;
7558
+ /** How many layer blocks between main-chain settlements (anchors). */
7559
+ settlementIntervalBlocks?: bigint | number | string;
7560
+ /** VM types the layer supports (e.g. `["evm", "wasm"]`). */
7561
+ supportedVmTypes?: string[];
7562
+ /** Application domains the layer is registered to serve. */
7563
+ supportedDomains?: string[];
7564
+ }
7565
+ /** Options for {@link MultilayerClient.registerPaychain}. */
7566
+ interface RegisterPaychainOptions extends MultilayerWriteOptions {
7567
+ /** Unique layer identifier (e.g. `"payments-paychain"`). */
7568
+ layerId: string;
7569
+ /** Human-readable description of the paychain's purpose. */
7570
+ description?: string;
7571
+ /** Soft cap on transactions per block. */
7572
+ maxTransactionsPerBlock?: bigint | number | string;
7573
+ /** How many layer blocks between main-chain settlements (anchors). */
7574
+ settlementIntervalBlocks?: bigint | number | string;
7575
+ /** Base fee multiplier as a decimal string (e.g. `"0.5"`). */
7576
+ baseFeeMultiplier?: string;
7577
+ }
7578
+ /** Options for {@link MultilayerClient.anchorState}. */
7579
+ interface AnchorStateOptions extends MultilayerWriteOptions {
7580
+ /** The layer whose state is being anchored. */
7581
+ layerId: string;
7582
+ /** The layer block height the state root corresponds to. */
7583
+ layerHeight: bigint | number | string;
7584
+ /** The layer's state root at `layerHeight`. */
7585
+ stateRoot: Uint8Array;
7586
+ /** Hash of the layer's validator set that signed this anchor. */
7587
+ validatorSetHash?: Uint8Array;
7588
+ /** PQC aggregate signature over the anchor. */
7589
+ pqcAggregateSignature?: Uint8Array;
7590
+ /** Number of transactions included since the previous anchor. */
7591
+ transactionCount?: bigint | number | string;
7592
+ /** Optional compressed proof of the anchored state. */
7593
+ compressedStateProof?: Uint8Array;
7594
+ }
7595
+ /** Options for {@link MultilayerClient.routeTransaction}. */
7596
+ interface RouteTransactionOptions extends MultilayerWriteOptions {
7597
+ /** The opaque transaction payload to route. */
7598
+ transactionPayload: Uint8Array;
7599
+ /** Preferred layer id; empty lets the router choose freely. */
7600
+ preferredLayer?: string;
7601
+ /** Acceptable upper bound on latency, in milliseconds. */
7602
+ maxLatencyMs?: bigint | number | string;
7603
+ /** Maximum fee the sender is willing to pay, as a string amount. */
7604
+ maxFee?: string;
7605
+ }
7606
+ /**
7607
+ * Ergonomic client for the multilayer (sidechain / paychain) module.
7608
+ *
7609
+ * Writes return the raw {@link BroadcastResult}; reads return the typed query
7610
+ * responses. Build the message offline with the `*Msg` methods if you want to
7611
+ * batch several messages into a single tx yourself.
7612
+ */
7613
+ interface MultilayerClient {
7614
+ /** Register a new sidechain layer. */
7615
+ registerSidechain(opts: RegisterSidechainOptions): Promise<BroadcastResult>;
7616
+ /** Register a new paychain layer. */
7617
+ registerPaychain(opts: RegisterPaychainOptions): Promise<BroadcastResult>;
7618
+ /** Anchor a layer's state root to the main chain. */
7619
+ anchorState(opts: AnchorStateOptions): Promise<BroadcastResult>;
7620
+ /** Route a transaction payload to the best-fit layer. */
7621
+ routeTransaction(opts: RouteTransactionOptions): Promise<BroadcastResult>;
7622
+ /** Build the `RegisterSidechain` message without broadcasting. */
7623
+ registerSidechainMsg(opts: Omit<RegisterSidechainOptions, keyof MultilayerWriteOptions>): EncodeObject;
7624
+ /** Build the `RegisterPaychain` message without broadcasting. */
7625
+ registerPaychainMsg(opts: Omit<RegisterPaychainOptions, keyof MultilayerWriteOptions>): EncodeObject;
7626
+ /** Build the `AnchorState` message without broadcasting. */
7627
+ anchorStateMsg(opts: Omit<AnchorStateOptions, keyof MultilayerWriteOptions>): EncodeObject;
7628
+ /** Build the `RouteTransaction` message without broadcasting. */
7629
+ routeTransactionMsg(opts: Omit<RouteTransactionOptions, keyof MultilayerWriteOptions>): EncodeObject;
7630
+ /** Read a single layer config by id. Requires a query client. */
7631
+ getLayer(layerId: string): Promise<QueryLayerResponse>;
7632
+ /** List all registered layers. Requires a query client. */
7633
+ listLayers(): Promise<QueryLayersResponse>;
7634
+ /** Read cross-layer routing statistics. Requires a query client. */
7635
+ routingStats(): Promise<QueryRoutingStatsView>;
7636
+ /** Read the module parameters. Requires a query client. */
7637
+ getParams(): Promise<QueryParamsResponse$3>;
7638
+ }
7639
+ /** Options for {@link createMultilayerClient}. */
7640
+ interface CreateMultilayerClientOptions {
7641
+ /**
7642
+ * Typed query client for the reads (`getLayer`, `listLayers`, `routingStats`,
7643
+ * `getParams`). Obtain it via {@link connectQueryClients} /
7644
+ * {@link createQueryClients}. If omitted, the read methods throw.
7645
+ */
7646
+ query?: MultilayerQueryClient;
7647
+ }
7648
+ /**
7649
+ * Create a {@link MultilayerClient} bound to a connected {@link TxClient}.
7650
+ *
7651
+ * The `TxClient`'s sender address is used as the message signer
7652
+ * (creator/relayer/sender depending on the message), so the caller never repeats
7653
+ * their address.
7654
+ *
7655
+ * @param tx - A connected signing client (from `client.connectTx(signer)`).
7656
+ * @param opts - Optional typed query client for the read methods.
7657
+ */
7658
+ declare function createMultilayerClient(tx: TxClient, opts?: CreateMultilayerClientOptions): MultilayerClient;
7659
+
7660
+ /**
7661
+ * High-level Rollup client — ergonomic RDK (rollup) operations.
7662
+ *
7663
+ * The rdk module lets an app create app-specific rollups, submit settlement
7664
+ * batches, run the fraud-proof challenge game, pause/resume/stop a rollup, and
7665
+ * finalize L2->L1 withdrawals. This helper wraps the typed message composers
7666
+ * ({@link msg.rdk}) and the typed query client so a developer can drive a
7667
+ * rollup's full lifecycle without hand-building messages or remembering ABCI
7668
+ * service/method names.
7669
+ *
7670
+ * Lifecycle, end to end:
7671
+ * 1. `createRollup` — declare a new rollup (profile + VM + stake).
7672
+ * 2. `submitBatch` — the sequencer posts a settlement batch (state root, data
7673
+ * hash, optional `withdrawalsRoot` committing L2->L1 messages).
7674
+ * 3. `challengeBatch` / `resolveChallenge` — the fraud-proof game.
7675
+ * 4. `pause` / `resume` / `stop` — operator lifecycle controls.
7676
+ * 5. `executeWithdrawal` — anyone proves a withdrawal leaf against a finalized
7677
+ * batch's `withdrawalsRoot` and the recipient is paid.
7678
+ * 6. `getRollup` / `listRollups` / `getBatch` / `getLatestBatch` — typed reads,
7679
+ * plus the `qor_*` conveniences (`getRollupStatus`, `suggestRollupProfile`,
7680
+ * `getDaBlobStatus`).
7681
+ *
7682
+ * Construct one with {@link createRollupClient}, passing a connected
7683
+ * {@link TxClient} (for writes) and, optionally, an {@link RdkQueryClient} and a
7684
+ * {@link QorClient} (for the typed and `qor_*` reads respectively).
7685
+ *
7686
+ * Note on SDK vs RDK: this SDK is the *app-developer* interaction surface (submit
7687
+ * and read rollup transactions). The separate Rollup Development Kit is for
7688
+ * *operating* a rollup node (sequencer, prover, data-availability). They are
7689
+ * complementary: build your app against this SDK; run the rollup with the RDK.
7690
+ */
7691
+
7692
+ /** Shared write-path options forwarded to {@link TxClient.signAndBroadcast}. */
7693
+ interface RollupWriteOptions {
7694
+ /** Fee: an explicit `StdFee` or `"auto"` (simulate + price). Default `"auto"`. */
7695
+ fee?: FeeInput$1;
7696
+ /** Optional memo string. */
7697
+ memo?: string;
7698
+ /** Auto-fee tuning (gas multiplier / gas price) when `fee` is `"auto"`. */
7699
+ autoFee?: AutoFeeOptions;
7700
+ }
7701
+ /** Options for {@link RollupClient.createRollup}. */
7702
+ interface CreateRollupOptions extends RollupWriteOptions {
7703
+ /** Unique rollup identifier (e.g. `"my-app-rollup"`). */
7704
+ rollupId: string;
7705
+ /** Rollup profile preset (e.g. `"default"`, `"high-throughput"`). */
7706
+ profile?: string;
7707
+ /** Execution VM type (e.g. `"evm"`, `"wasm"`, `"svm"`). */
7708
+ vmType?: string;
7709
+ /** Stake to bond for the rollup, in base units. */
7710
+ stakeAmount?: bigint | number | string;
7711
+ }
7712
+ /** Options for {@link RollupClient.submitBatch}. */
7713
+ interface SubmitBatchOptions extends RollupWriteOptions {
7714
+ /** The rollup the batch belongs to. */
7715
+ rollupId: string;
7716
+ /** Monotonic batch index. */
7717
+ batchIndex: bigint | number | string;
7718
+ /** The new state root after applying this batch. */
7719
+ stateRoot: Uint8Array;
7720
+ /** The previous state root (the batch's parent). */
7721
+ prevStateRoot?: Uint8Array;
7722
+ /** Number of transactions in the batch. */
7723
+ txCount?: bigint | number | string;
7724
+ /** Hash of the batch's transaction data (for data availability). */
7725
+ dataHash?: Uint8Array;
7726
+ /** Validity/fraud proof bytes (empty for optimistic batches). */
7727
+ proof?: Uint8Array;
7728
+ /**
7729
+ * Binary-Merkle root committing the L2->L1 messages (withdrawals) in this
7730
+ * batch. Leave empty when the batch carries no cross-layer messages; set it so
7731
+ * `executeWithdrawal` proofs can later be verified against this batch.
7732
+ */
7733
+ withdrawalsRoot?: Uint8Array;
7734
+ }
7735
+ /** Options for {@link RollupClient.challengeBatch}. */
7736
+ interface ChallengeBatchOptions extends RollupWriteOptions {
7737
+ /** The rollup the disputed batch belongs to. */
7738
+ rollupId: string;
7739
+ /** Index of the batch being challenged. */
7740
+ batchIndex: bigint | number | string;
7741
+ /** Fraud proof bytes backing the challenge. */
7742
+ proof?: Uint8Array;
7743
+ }
7744
+ /** Options for {@link RollupClient.resolveChallenge}. */
7745
+ interface ResolveChallengeOptions extends RollupWriteOptions {
7746
+ /** The rollup the disputed batch belongs to. */
7747
+ rollupId: string;
7748
+ /** Index of the challenged batch. */
7749
+ batchIndex: bigint | number | string;
7750
+ /**
7751
+ * `true`: fraud confirmed — batch rejected, challenger refunded + rewarded.
7752
+ * `false`: challenge dismissed — challenger bond forfeited, batch finalizable.
7753
+ */
7754
+ fraudUpheld: boolean;
7755
+ }
7756
+ /** Options for the operator lifecycle controls (pause/resume/stop). */
7757
+ interface RollupLifecycleOptions extends RollupWriteOptions {
7758
+ /** The rollup to act on. */
7759
+ rollupId: string;
7760
+ /** Reason for the action (used by `pause`; ignored otherwise). */
7761
+ reason?: string;
7762
+ }
7763
+ /** Options for {@link RollupClient.executeWithdrawal}. */
7764
+ interface ExecuteWithdrawalOptions extends RollupWriteOptions {
7765
+ /** The rollup the withdrawal was committed in. */
7766
+ rollupId: string;
7767
+ /** Index of the finalized batch whose `withdrawalsRoot` commits the leaf. */
7768
+ batchIndex: bigint | number | string;
7769
+ /** Index of the withdrawal leaf within the batch. */
7770
+ withdrawalIndex: bigint | number | string;
7771
+ /** Address that receives the funds (committed in the leaf). */
7772
+ recipient: string;
7773
+ /** Denom of the withdrawn asset. */
7774
+ denom: string;
7775
+ /** Amount to release, in base units. */
7776
+ amount: bigint | number | string;
7777
+ /** Binary-Merkle sibling hashes from the leaf up to `withdrawalsRoot`. */
7778
+ proof: Uint8Array[];
7779
+ }
7780
+ /**
7781
+ * Ergonomic client for the rdk (rollup) module.
7782
+ *
7783
+ * Writes return the raw {@link BroadcastResult}; typed reads return the query
7784
+ * responses; the `qor_*` conveniences return loosely-typed JSON. Build a message
7785
+ * offline with the `*Msg` methods to batch several into one tx yourself.
7786
+ */
7787
+ interface RollupClient {
7788
+ /** Create a new rollup. */
7789
+ createRollup(opts: CreateRollupOptions): Promise<BroadcastResult>;
7790
+ /** Submit a settlement batch (sequencer). */
7791
+ submitBatch(opts: SubmitBatchOptions): Promise<BroadcastResult>;
7792
+ /** Challenge a batch with a fraud proof. */
7793
+ challengeBatch(opts: ChallengeBatchOptions): Promise<BroadcastResult>;
7794
+ /** Resolve an open challenge. */
7795
+ resolveChallenge(opts: ResolveChallengeOptions): Promise<BroadcastResult>;
7796
+ /** Pause a rollup. */
7797
+ pause(opts: RollupLifecycleOptions): Promise<BroadcastResult>;
7798
+ /** Resume a paused rollup. */
7799
+ resume(opts: RollupLifecycleOptions): Promise<BroadcastResult>;
7800
+ /** Stop a rollup permanently. */
7801
+ stop(opts: RollupLifecycleOptions): Promise<BroadcastResult>;
7802
+ /** Finalize an L2->L1 withdrawal by proving it against a finalized batch. */
7803
+ executeWithdrawal(opts: ExecuteWithdrawalOptions): Promise<BroadcastResult>;
7804
+ /** Build the `CreateRollup` message without broadcasting. */
7805
+ createRollupMsg(opts: Omit<CreateRollupOptions, keyof RollupWriteOptions>): EncodeObject;
7806
+ /** Build the `SubmitBatch` message without broadcasting. */
7807
+ submitBatchMsg(opts: Omit<SubmitBatchOptions, keyof RollupWriteOptions>): EncodeObject;
7808
+ /** Build the `ExecuteWithdrawal` message without broadcasting. */
7809
+ executeWithdrawalMsg(opts: Omit<ExecuteWithdrawalOptions, keyof RollupWriteOptions>): EncodeObject;
7810
+ /** Read a single rollup config by id. Requires a query client. */
7811
+ getRollup(rollupId: string): Promise<QueryRollupResponse>;
7812
+ /** List all rollups. Requires a query client. */
7813
+ listRollups(): Promise<QueryRollupsResponse>;
7814
+ /** Read a settlement batch by (rollupId, batchIndex). Requires a query client. */
7815
+ getBatch(rollupId: string, batchIndex: bigint | number | string): Promise<QueryBatchResponse>;
7816
+ /** Read the latest settlement batch for a rollup. Requires a query client. */
7817
+ getLatestBatch(rollupId: string): Promise<QueryLatestBatchResponse>;
7818
+ /** Read the module parameters. Requires a query client. */
7819
+ getParams(): Promise<QueryParamsResponse$2>;
7820
+ /** `qor_getRollupStatus` convenience. Requires a `qor` client. */
7821
+ getRollupStatus<T = Record<string, unknown>>(rollupId: string): Promise<T>;
7822
+ /** `qor_suggestRollupProfile` convenience. Requires a `qor` client. */
7823
+ suggestRollupProfile<T = Record<string, unknown>>(useCase: string): Promise<T>;
7824
+ /** `qor_getDABlobStatus` convenience. Requires a `qor` client. */
7825
+ getDaBlobStatus<T = Record<string, unknown>>(rollupId: string, blobIndex: number): Promise<T>;
7826
+ }
7827
+ /** Options for {@link createRollupClient}. */
7828
+ interface CreateRollupClientOptions {
7829
+ /**
7830
+ * Typed query client for the typed reads (`getRollup`, `getBatch`, …). Obtain
7831
+ * it via {@link connectQueryClients} / {@link createQueryClients}. If omitted,
7832
+ * the typed read methods throw.
7833
+ */
7834
+ query?: RdkQueryClient;
7835
+ /**
7836
+ * `qor_` JSON-RPC client for the convenience reads (`getRollupStatus`,
7837
+ * `suggestRollupProfile`, `getDaBlobStatus`). Available on `client.qor`. If
7838
+ * omitted, those methods throw.
7839
+ */
7840
+ qor?: QorClient;
7841
+ }
7842
+ /**
7843
+ * Create a {@link RollupClient} bound to a connected {@link TxClient}.
7844
+ *
7845
+ * The `TxClient`'s sender address is used as the message signer
7846
+ * (creator/sequencer/challenger/resolver/submitter depending on the message), so
7847
+ * the caller never repeats their address.
7848
+ *
7849
+ * @param tx - A connected signing client (from `client.connectTx(signer)`).
7850
+ * @param opts - Optional typed query client and/or `qor_` client for reads.
7851
+ */
7852
+ declare function createRollupClient(tx: TxClient, opts?: CreateRollupClientOptions): RollupClient;
7853
+
6548
7854
  /**
6549
7855
  * `@qorechain/sdk` public API.
6550
7856
  *
@@ -6556,4 +7862,4 @@ declare function connectQueryClients(cometClient: CometClientLike): QoreChainQue
6556
7862
  /** SDK version. */
6557
7863
  declare const VERSION = "0.3.0";
6558
7864
 
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 };
7865
+ 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 ChallengeBatchOptions, type ClientFees, type CoinInfo, type ConnectTxOptions, type ContractMsg, type CosmWasmReadClient, type CosmWasmSigningClient, type CosmosWalletConnection, type CosmosWalletName, type CreateClientOptions, type CreateMultilayerClientOptions, type CreateRollupClientOptions, type CreateRollupOptions, 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 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, 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 MultilayerClient, type MultilayerQueryClient, type MultilayerWriteOptions, 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 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 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, createMultilayerClient, createQueryClients, createRollupClient, 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 };