@qorechain/sdk 0.6.1 → 0.7.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
@@ -213,6 +213,39 @@ interface PaginatedOptions {
213
213
  type RestClientOptions = HttpOptions;
214
214
  /** Relative urgency of a fee estimate. */
215
215
  type FeeUrgency = "fast" | "normal" | "slow";
216
+ /**
217
+ * REST shape of `GET /qorechain/abstractaccount/v1/permission_schema` — the
218
+ * canonical authenticator permission taxonomy (v3.1.85). `schema_version` bumps
219
+ * whenever the taxonomy or the mapping changes, so clients compare it to their
220
+ * embedded copy to detect drift.
221
+ */
222
+ interface PermissionSchemaResponse {
223
+ /** Version tag that bumps on any taxonomy/mapping change. */
224
+ schema_version: string;
225
+ /** Every valid permission string (e.g. `send`, `evm`, `svm`, `all`). */
226
+ permissions: string[];
227
+ /** Maps a message typeURL to the permission it requires. */
228
+ msg_permissions: Record<string, string>;
229
+ /** TypeURLs that are NEVER delegable to a linked authenticator key. */
230
+ key_management_msgs: string[];
231
+ }
232
+ /** REST shape of an abstract-account view (subset of `AccountView`). */
233
+ interface AbstractAccountView {
234
+ address: string;
235
+ contract_address?: string;
236
+ account_type?: string;
237
+ spending_rules_count?: number;
238
+ session_keys_count?: number;
239
+ created_at?: string;
240
+ owner?: string;
241
+ }
242
+ /** REST shape of the abstractaccount module config view. */
243
+ interface AbstractAccountConfigView {
244
+ enabled: boolean;
245
+ max_session_keys?: number;
246
+ max_spending_rules?: number;
247
+ default_session_ttl?: string;
248
+ }
216
249
  /** Native + QoreChain REST read client. */
217
250
  declare class RestClient {
218
251
  private readonly baseUrl;
@@ -252,6 +285,28 @@ declare class RestClient {
252
285
  getXqorePosition<T = Record<string, unknown>>(address: string): Promise<T>;
253
286
  /** Current inflation rate (`/qorechain/inflation/v1/rate`). */
254
287
  getInflationRate<T = Record<string, unknown>>(): Promise<T>;
288
+ /**
289
+ * The canonical authenticator permission taxonomy
290
+ * (`/qorechain/abstractaccount/v1/permission_schema`): the valid permission
291
+ * strings, the message-typeURL→permission mapping, the never-delegable
292
+ * key-management typeURLs, and a `schema_version` for drift detection.
293
+ */
294
+ getPermissionSchema(): Promise<PermissionSchemaResponse>;
295
+ /** Abstract-account module config (`/qorechain/abstractaccount/v1/config`). */
296
+ getAbstractAccountConfig<T = {
297
+ config: AbstractAccountConfigView;
298
+ }>(): Promise<T>;
299
+ /** All abstract accounts (`/qorechain/abstractaccount/v1/accounts`). */
300
+ getAbstractAccounts<T = {
301
+ accounts: AbstractAccountView[];
302
+ }>(): Promise<T>;
303
+ /**
304
+ * A single abstract account by address
305
+ * (`/qorechain/abstractaccount/v1/accounts/{address}`).
306
+ */
307
+ getAbstractAccount<T = {
308
+ account: AbstractAccountView;
309
+ }>(address: string): Promise<T>;
255
310
  }
256
311
 
257
312
  /**
@@ -2254,6 +2309,117 @@ interface RetryOptions {
2254
2309
  */
2255
2310
  declare function withRetry<T>(fn: (attempt: number) => Promise<T>, opts?: RetryOptions): Promise<T>;
2256
2311
 
2312
+ /**
2313
+ * Authenticator-lane sign-bytes (v3.1.85).
2314
+ *
2315
+ * QoreChain "authenticator lanes" let a linked external key (a Phantom ed25519
2316
+ * key, or an EVM secp256k1 key) spend from the ONE canonical PQC-required
2317
+ * account under least-privilege, spend-limited, revocable terms — WITHOUT the
2318
+ * external key ever producing an ML-DSA co-signature. A relayer submits and
2319
+ * pays fees (its own hybrid-PQC signature satisfies the ante on the envelope);
2320
+ * the authenticator's signature over the domain-separated, replay-bound
2321
+ * sign-bytes below IS the authorization.
2322
+ *
2323
+ * There are three lanes:
2324
+ * - EVM lane — `MsgExecuteEVM`: an EVM call/transfer from the account's
2325
+ * 0x address, authorized by {@link evmAuthSignBytes}.
2326
+ * - Native lane — `MsgExecuteCosmos`: a bank send from the account, authorized
2327
+ * by {@link cosmosAuthSignBytes}.
2328
+ * - Key rotation — `MsgRotatePQCKey`: dual-signed over
2329
+ * {@link rotationSignBytes}.
2330
+ *
2331
+ * The digests here are rebuilt BYTE-FOR-BYTE from what the chain re-derives
2332
+ * (`x/abstractaccount/types/{evm,cosmos}_sign.go`, `x/pqc/types` rotation
2333
+ * bytes). A mismatch is rejected on-chain (codespace `abstractaccount`, code 11
2334
+ * replay / 10 permission / 5 spending-limit / 6 session-expired; codespace
2335
+ * `pqc`, code 21 hybrid-verify-failed).
2336
+ *
2337
+ * These are pure byte-builders — no wallet, no network. See
2338
+ * {@link ../wallet/authenticator} for the DX builders that sign them.
2339
+ */
2340
+ /** 8-byte big-endian encoding of a non-negative integer (`binary.BigEndian`). */
2341
+ declare function be64(n: number | bigint): Uint8Array;
2342
+ /** Length-prefixed field: `BE64(len) ‖ bytes` (the chain's framing). */
2343
+ declare function lengthPrefixed(bytes: Uint8Array): Uint8Array;
2344
+ /** Input to {@link evmAuthSignBytes}. */
2345
+ interface EvmAuthSignBytesInput {
2346
+ /** The chain id (e.g. `qorechain-diana`). */
2347
+ chainId: string;
2348
+ /** The bech32 canonical account the authenticator acts for. */
2349
+ account: string;
2350
+ /** The authenticator's raw public key (32 bytes for ed25519; the 20-byte eth address for secp256k1). */
2351
+ pubkey: Uint8Array;
2352
+ /** 0x-hex recipient/contract address; empty string for contract creation. */
2353
+ to?: string;
2354
+ /** Native QOR amount in wei (aqor) as a decimal string. */
2355
+ value?: string;
2356
+ /** EVM calldata. */
2357
+ data?: Uint8Array;
2358
+ /**
2359
+ * The account's CURRENT EVM nonce. The relayer is a DIFFERENT account than the
2360
+ * owner, so the relayer envelope does NOT bump the account's nonce — use the
2361
+ * current value as-is (do NOT +1).
2362
+ */
2363
+ nonce: number | bigint;
2364
+ }
2365
+ /**
2366
+ * Rebuild the 32-byte digest the chain re-derives for a `MsgExecuteEVM`:
2367
+ *
2368
+ * ```
2369
+ * sha256( "qorechain-evm-auth-v1"
2370
+ * ‖ LP(chainId) ‖ LP(account) ‖ LP(pubkey)
2371
+ * ‖ LP(to) ‖ LP(value) ‖ LP(data) ‖ BE64(nonce) )
2372
+ * ```
2373
+ *
2374
+ * where `LP(x) = BE64(len(x)) ‖ x`. Returns the raw 32 bytes the authenticator
2375
+ * signs.
2376
+ */
2377
+ declare function evmAuthSignBytes(input: EvmAuthSignBytesInput): Uint8Array;
2378
+ /** Input to {@link cosmosAuthSignBytes}. */
2379
+ interface CosmosAuthSignBytesInput {
2380
+ /** The chain id (e.g. `qorechain-diana`). */
2381
+ chainId: string;
2382
+ /** The bech32 canonical account the authenticator acts for. */
2383
+ account: string;
2384
+ /** The authenticator's raw public key (32 bytes for ed25519; the 20-byte eth address for secp256k1). */
2385
+ pubkey: Uint8Array;
2386
+ /** The bech32 recipient address. */
2387
+ to: string;
2388
+ /** The CANONICAL single-coin amount string (e.g. `100uqor`). */
2389
+ amount: string;
2390
+ /**
2391
+ * The per-authenticator sequence for `(account, pubkey)` — a store counter
2392
+ * distinct from the account's own sequence, incremented on each successful
2393
+ * Native-lane spend.
2394
+ */
2395
+ nonce: number | bigint;
2396
+ }
2397
+ /**
2398
+ * Rebuild the 32-byte digest the chain re-derives for a `MsgExecuteCosmos`:
2399
+ *
2400
+ * ```
2401
+ * sha256( "qorechain-cosmos-auth-v1"
2402
+ * ‖ LP(chainId) ‖ LP(account) ‖ LP(pubkey)
2403
+ * ‖ LP(to) ‖ LP(amount) ‖ BE64(nonce) )
2404
+ * ```
2405
+ *
2406
+ * `amount` is the canonical single-coin string (e.g. `100uqor`). Returns the
2407
+ * raw 32 bytes the authenticator signs.
2408
+ */
2409
+ declare function cosmosAuthSignBytes(input: CosmosAuthSignBytesInput): Uint8Array;
2410
+ /**
2411
+ * The domain-separated STRING both the old and the new key sign for a
2412
+ * `MsgRotatePQCKey`:
2413
+ *
2414
+ * ```
2415
+ * "qorechain-pqc-rotate-v1|<chainId>|<algorithmId>|<account>|<oldHex>|<newHex>"
2416
+ * ```
2417
+ *
2418
+ * `oldHex`/`newHex` are lowercase hex of the public keys. Sign `utf8(result)`
2419
+ * with BOTH the old and the new key.
2420
+ */
2421
+ declare function rotationSignBytes(chainId: string, algorithmId: number, account: string, oldPub: Uint8Array, newPub: Uint8Array): string;
2422
+
2257
2423
  /**
2258
2424
  * Encoding and attachment of the QoreChain PQC hybrid-signature extension to a
2259
2425
  * native tx.
@@ -2729,7 +2895,7 @@ declare const SvmAccountMeta: MessageFns$p<SvmAccountMeta>;
2729
2895
  /**
2730
2896
  * SVMAuth carries a foreign-scheme (e.g. Phantom ed25519) authorization for an
2731
2897
  * SVM action. When present on MsgExecuteProgram, the EFFECTIVE SVM signer is the
2732
- * canonical account this key authenticates (verified on-chain), NOT the Native
2898
+ * canonical account this key authenticates (verified on-chain), NOT the Cosmos
2733
2899
  * `sender` — so any funded account may relay a Phantom-authorized action through
2734
2900
  * consensus while the foreign key remains the authority.
2735
2901
  */
@@ -3732,6 +3898,24 @@ declare const MsgMigratePQCKey: MessageFns$j<MsgMigratePQCKey>;
3732
3898
  interface MsgMigratePQCKeyResponse {
3733
3899
  }
3734
3900
  declare const MsgMigratePQCKeyResponse: MessageFns$j<MsgMigratePQCKeyResponse>;
3901
+ /**
3902
+ * MsgRotatePQCKey replaces an account's PQC key with a new key of the SAME
3903
+ * algorithm. Both signatures are over the domain-separated bytes
3904
+ * "qorechain-pqc-rotate-v1|chainid|algo|account|oldkey|newkey" (no block height —
3905
+ * the signer cannot predict it; replay is prevented because after the rotation
3906
+ * the old key no longer matches the registered key).
3907
+ */
3908
+ interface MsgRotatePQCKey {
3909
+ sender: string;
3910
+ oldPublicKey: Uint8Array;
3911
+ newPublicKey: Uint8Array;
3912
+ oldSignature: Uint8Array;
3913
+ newSignature: Uint8Array;
3914
+ }
3915
+ declare const MsgRotatePQCKey: MessageFns$j<MsgRotatePQCKey>;
3916
+ interface MsgRotatePQCKeyResponse {
3917
+ }
3918
+ declare const MsgRotatePQCKeyResponse: MessageFns$j<MsgRotatePQCKeyResponse>;
3735
3919
  /** MsgDeprecateAlgorithm proposes deprecating an algorithm (starts migration period). */
3736
3920
  interface MsgDeprecateAlgorithm {
3737
3921
  authority: string;
@@ -3786,6 +3970,20 @@ declare const MsgDefinition$5: {
3786
3970
  readonly responseStream: false;
3787
3971
  readonly options: {};
3788
3972
  };
3973
+ /**
3974
+ * RotatePQCKey replaces an account's PQC key with a NEW key of the SAME
3975
+ * algorithm — for rotating a compromised key or moving a legacy-derived key to
3976
+ * the canonical derivation. Dual-signed (old proves ownership, new proves
3977
+ * control); needs no active algorithm migration.
3978
+ */
3979
+ readonly rotatePQCKey: {
3980
+ readonly name: "RotatePQCKey";
3981
+ readonly requestType: typeof MsgRotatePQCKey;
3982
+ readonly requestStream: false;
3983
+ readonly responseType: typeof MsgRotatePQCKeyResponse;
3984
+ readonly responseStream: false;
3985
+ readonly options: {};
3986
+ };
3789
3987
  /** DeprecateAlgorithm starts the migration period for an algorithm (governance). */
3790
3988
  readonly deprecateAlgorithm: {
3791
3989
  readonly name: "DeprecateAlgorithm";
@@ -3829,8 +4027,10 @@ declare const tx$5_MsgRegisterPQCKey: typeof MsgRegisterPQCKey;
3829
4027
  declare const tx$5_MsgRegisterPQCKeyResponse: typeof MsgRegisterPQCKeyResponse;
3830
4028
  declare const tx$5_MsgRegisterPQCKeyV2: typeof MsgRegisterPQCKeyV2;
3831
4029
  declare const tx$5_MsgRegisterPQCKeyV2Response: typeof MsgRegisterPQCKeyV2Response;
4030
+ declare const tx$5_MsgRotatePQCKey: typeof MsgRotatePQCKey;
4031
+ declare const tx$5_MsgRotatePQCKeyResponse: typeof MsgRotatePQCKeyResponse;
3832
4032
  declare namespace tx$5 {
3833
- export { type DeepPartial$j as DeepPartial, type MessageFns$j as MessageFns, MsgDefinition$5 as MsgDefinition, tx$5_MsgDeprecateAlgorithm as MsgDeprecateAlgorithm, tx$5_MsgDeprecateAlgorithmResponse as MsgDeprecateAlgorithmResponse, tx$5_MsgDisableAlgorithm as MsgDisableAlgorithm, tx$5_MsgDisableAlgorithmResponse as MsgDisableAlgorithmResponse, tx$5_MsgMigratePQCKey as MsgMigratePQCKey, tx$5_MsgMigratePQCKeyResponse as MsgMigratePQCKeyResponse, tx$5_MsgRegisterPQCKey as MsgRegisterPQCKey, tx$5_MsgRegisterPQCKeyResponse as MsgRegisterPQCKeyResponse, tx$5_MsgRegisterPQCKeyV2 as MsgRegisterPQCKeyV2, tx$5_MsgRegisterPQCKeyV2Response as MsgRegisterPQCKeyV2Response, protobufPackage$j as protobufPackage };
4033
+ export { type DeepPartial$j as DeepPartial, type MessageFns$j as MessageFns, MsgDefinition$5 as MsgDefinition, tx$5_MsgDeprecateAlgorithm as MsgDeprecateAlgorithm, tx$5_MsgDeprecateAlgorithmResponse as MsgDeprecateAlgorithmResponse, tx$5_MsgDisableAlgorithm as MsgDisableAlgorithm, tx$5_MsgDisableAlgorithmResponse as MsgDisableAlgorithmResponse, tx$5_MsgMigratePQCKey as MsgMigratePQCKey, tx$5_MsgMigratePQCKeyResponse as MsgMigratePQCKeyResponse, tx$5_MsgRegisterPQCKey as MsgRegisterPQCKey, tx$5_MsgRegisterPQCKeyResponse as MsgRegisterPQCKeyResponse, tx$5_MsgRegisterPQCKeyV2 as MsgRegisterPQCKeyV2, tx$5_MsgRegisterPQCKeyV2Response as MsgRegisterPQCKeyV2Response, tx$5_MsgRotatePQCKey as MsgRotatePQCKey, tx$5_MsgRotatePQCKeyResponse as MsgRotatePQCKeyResponse, protobufPackage$j as protobufPackage };
3834
4034
  }
3835
4035
 
3836
4036
  declare const protobufPackage$i = "qorechain.lightnode.v1";
@@ -4098,6 +4298,79 @@ declare const MsgRevokeAuthenticator: MessageFns$g<MsgRevokeAuthenticator>;
4098
4298
  interface MsgRevokeAuthenticatorResponse {
4099
4299
  }
4100
4300
  declare const MsgRevokeAuthenticatorResponse: MessageFns$g<MsgRevokeAuthenticatorResponse>;
4301
+ /**
4302
+ * MsgExecuteEVM executes an EVM call/transfer authorized by a linked
4303
+ * authenticator (v3.1.85). The relayer submits + pays fees; the authenticator
4304
+ * (scheme,pubkey) signs the domain-separated sign-bytes binding chain-id, the
4305
+ * canonical account, the pubkey, to/value/data and the account's expected EVM
4306
+ * nonce (replay protection — the nonce must equal the account's current EVM
4307
+ * nonce, and executing the call increments it, so a signature cannot be replayed).
4308
+ * The chain resolves the authenticator, checks the "evm" permission + SpendingRule
4309
+ * against `value`, then executes the call FROM the canonical account's EVM address.
4310
+ */
4311
+ interface MsgExecuteEVM {
4312
+ relayer: string;
4313
+ /** bech32 canonical account (the authenticator's owner) */
4314
+ account: string;
4315
+ /** "ed25519" | "secp256k1" */
4316
+ scheme: string;
4317
+ /** authenticator public key */
4318
+ pubkey: Uint8Array;
4319
+ /** authenticator signature over the EVM auth sign-bytes */
4320
+ signature: Uint8Array;
4321
+ /** 0x-hex recipient/contract; empty = contract create */
4322
+ to: string;
4323
+ /** native QOR amount in wei (aqor), decimal string */
4324
+ value: string;
4325
+ /** EVM calldata */
4326
+ data: Uint8Array;
4327
+ gasLimit: string;
4328
+ /** MUST equal the account's current EVM nonce */
4329
+ nonce: string;
4330
+ }
4331
+ declare const MsgExecuteEVM: MessageFns$g<MsgExecuteEVM>;
4332
+ interface MsgExecuteEVMResponse {
4333
+ success: boolean;
4334
+ ret: Uint8Array;
4335
+ gasUsed: string;
4336
+ vmError: string;
4337
+ }
4338
+ declare const MsgExecuteEVMResponse: MessageFns$g<MsgExecuteEVMResponse>;
4339
+ /**
4340
+ * MsgExecuteCosmos executes a Native-lane (Cosmos) bank transfer authorized by a
4341
+ * linked authenticator (v3.1.85). It is the Native counterpart of MsgExecuteEVM:
4342
+ * the relayer submits + pays fees and signs the outer tx (so the account's own
4343
+ * PQC-required signature is not needed — the relayer's hybrid-PQC signature
4344
+ * satisfies the ante on the envelope), while the authenticator (scheme,pubkey)
4345
+ * signs the domain-separated sign-bytes binding chain-id, the canonical account,
4346
+ * the pubkey, the recipient, the amount and a per-authenticator sequence (replay:
4347
+ * nonce must equal the account+key's current sequence, incremented on success).
4348
+ * The chain resolves the authenticator, checks the "send" permission + SpendingRule
4349
+ * against `amount`, then moves the coins FROM the canonical account via x/bank.
4350
+ * This lets an external key (Phantom ed25519 / EVM secp256k1) spend native QOR from
4351
+ * a PQC-required account under least-privilege, spend-limited, revocable terms.
4352
+ */
4353
+ interface MsgExecuteCosmos {
4354
+ relayer: string;
4355
+ /** bech32 canonical account (the authenticator's owner) */
4356
+ account: string;
4357
+ /** "ed25519" | "secp256k1" */
4358
+ scheme: string;
4359
+ /** authenticator public key */
4360
+ pubkey: Uint8Array;
4361
+ /** authenticator signature over the Cosmos auth sign-bytes */
4362
+ signature: Uint8Array;
4363
+ /** bech32 recipient */
4364
+ to: string;
4365
+ amount: Coin[];
4366
+ /** MUST equal the account+key's current authenticator sequence */
4367
+ nonce: string;
4368
+ }
4369
+ declare const MsgExecuteCosmos: MessageFns$g<MsgExecuteCosmos>;
4370
+ interface MsgExecuteCosmosResponse {
4371
+ success: boolean;
4372
+ }
4373
+ declare const MsgExecuteCosmosResponse: MessageFns$g<MsgExecuteCosmosResponse>;
4101
4374
  /** Msg defines the abstractaccount module's transaction service. */
4102
4375
  type MsgDefinition$2 = typeof MsgDefinition$2;
4103
4376
  declare const MsgDefinition$2: {
@@ -4136,6 +4409,22 @@ declare const MsgDefinition$2: {
4136
4409
  readonly responseStream: false;
4137
4410
  readonly options: {};
4138
4411
  };
4412
+ readonly executeEVM: {
4413
+ readonly name: "ExecuteEVM";
4414
+ readonly requestType: typeof MsgExecuteEVM;
4415
+ readonly requestStream: false;
4416
+ readonly responseType: typeof MsgExecuteEVMResponse;
4417
+ readonly responseStream: false;
4418
+ readonly options: {};
4419
+ };
4420
+ readonly executeCosmos: {
4421
+ readonly name: "ExecuteCosmos";
4422
+ readonly requestType: typeof MsgExecuteCosmos;
4423
+ readonly requestStream: false;
4424
+ readonly responseType: typeof MsgExecuteCosmosResponse;
4425
+ readonly responseStream: false;
4426
+ readonly options: {};
4427
+ };
4139
4428
  };
4140
4429
  };
4141
4430
  type Builtin$g = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -4153,6 +4442,10 @@ interface MessageFns$g<T> {
4153
4442
 
4154
4443
  declare const tx$2_MsgCreateAbstractAccount: typeof MsgCreateAbstractAccount;
4155
4444
  declare const tx$2_MsgCreateAbstractAccountResponse: typeof MsgCreateAbstractAccountResponse;
4445
+ declare const tx$2_MsgExecuteCosmos: typeof MsgExecuteCosmos;
4446
+ declare const tx$2_MsgExecuteCosmosResponse: typeof MsgExecuteCosmosResponse;
4447
+ declare const tx$2_MsgExecuteEVM: typeof MsgExecuteEVM;
4448
+ declare const tx$2_MsgExecuteEVMResponse: typeof MsgExecuteEVMResponse;
4156
4449
  declare const tx$2_MsgRegisterAuthenticator: typeof MsgRegisterAuthenticator;
4157
4450
  declare const tx$2_MsgRegisterAuthenticatorResponse: typeof MsgRegisterAuthenticatorResponse;
4158
4451
  declare const tx$2_MsgRevokeAuthenticator: typeof MsgRevokeAuthenticator;
@@ -4161,7 +4454,7 @@ declare const tx$2_MsgUpdateSpendingRules: typeof MsgUpdateSpendingRules;
4161
4454
  declare const tx$2_MsgUpdateSpendingRulesResponse: typeof MsgUpdateSpendingRulesResponse;
4162
4455
  declare const tx$2_SpendingRule: typeof SpendingRule;
4163
4456
  declare namespace tx$2 {
4164
- export { type DeepPartial$g as DeepPartial, type MessageFns$g as MessageFns, tx$2_MsgCreateAbstractAccount as MsgCreateAbstractAccount, tx$2_MsgCreateAbstractAccountResponse as MsgCreateAbstractAccountResponse, MsgDefinition$2 as MsgDefinition, tx$2_MsgRegisterAuthenticator as MsgRegisterAuthenticator, tx$2_MsgRegisterAuthenticatorResponse as MsgRegisterAuthenticatorResponse, tx$2_MsgRevokeAuthenticator as MsgRevokeAuthenticator, tx$2_MsgRevokeAuthenticatorResponse as MsgRevokeAuthenticatorResponse, tx$2_MsgUpdateSpendingRules as MsgUpdateSpendingRules, tx$2_MsgUpdateSpendingRulesResponse as MsgUpdateSpendingRulesResponse, tx$2_SpendingRule as SpendingRule, protobufPackage$g as protobufPackage };
4457
+ export { type DeepPartial$g as DeepPartial, type MessageFns$g as MessageFns, tx$2_MsgCreateAbstractAccount as MsgCreateAbstractAccount, tx$2_MsgCreateAbstractAccountResponse as MsgCreateAbstractAccountResponse, MsgDefinition$2 as MsgDefinition, tx$2_MsgExecuteCosmos as MsgExecuteCosmos, tx$2_MsgExecuteCosmosResponse as MsgExecuteCosmosResponse, tx$2_MsgExecuteEVM as MsgExecuteEVM, tx$2_MsgExecuteEVMResponse as MsgExecuteEVMResponse, tx$2_MsgRegisterAuthenticator as MsgRegisterAuthenticator, tx$2_MsgRegisterAuthenticatorResponse as MsgRegisterAuthenticatorResponse, tx$2_MsgRevokeAuthenticator as MsgRevokeAuthenticator, tx$2_MsgRevokeAuthenticatorResponse as MsgRevokeAuthenticatorResponse, tx$2_MsgUpdateSpendingRules as MsgUpdateSpendingRules, tx$2_MsgUpdateSpendingRulesResponse as MsgUpdateSpendingRulesResponse, tx$2_SpendingRule as SpendingRule, protobufPackage$g as protobufPackage };
4165
4458
  }
4166
4459
 
4167
4460
  declare const protobufPackage$f = "qorechain.crossvm.v1";
@@ -4430,6 +4723,14 @@ declare const pqc: {
4430
4723
  migratePqcKey: (value: PartialMsg<MsgMigratePQCKey>) => EncodeObject;
4431
4724
  deprecateAlgorithm: (value: PartialMsg<MsgDeprecateAlgorithm>) => EncodeObject;
4432
4725
  disableAlgorithm: (value: PartialMsg<MsgDisableAlgorithm>) => EncodeObject;
4726
+ /**
4727
+ * Replace an account's PQC key with a NEW key of the SAME algorithm (rotate a
4728
+ * compromised key, or migrate a legacy-derived key to the canonical
4729
+ * derivation). Dual-signed over the domain-separated rotation bytes (the old
4730
+ * key proves ownership, the new key proves control). Sender-signed; broadcast
4731
+ * BY the account, cosigned (hybrid) with the OLD key.
4732
+ */
4733
+ rotatePqcKey: (value: PartialMsg<MsgRotatePQCKey>) => EncodeObject;
4433
4734
  };
4434
4735
  /** SVM (virtual machine programs/accounts) message composers. */
4435
4736
  declare const svm: {
@@ -4464,6 +4765,20 @@ declare const abstractaccount: {
4464
4765
  registerAuthenticator: (value: PartialMsg<MsgRegisterAuthenticator>) => EncodeObject;
4465
4766
  /** Instantly disable a previously linked wallet key. Owner-signed. */
4466
4767
  revokeAuthenticator: (value: PartialMsg<MsgRevokeAuthenticator>) => EncodeObject;
4768
+ /**
4769
+ * EVM-lane spend: execute an EVM call/transfer FROM the canonical account's
4770
+ * 0x address, authorized by a linked authenticator's signature over the EVM
4771
+ * auth sign-bytes. Relayer-signed (it submits + pays fees). See
4772
+ * {@link ../tx/authenticator.evmAuthSignBytes}.
4773
+ */
4774
+ executeEvm: (value: PartialMsg<MsgExecuteEVM>) => EncodeObject;
4775
+ /**
4776
+ * Native-lane spend: move native QOR FROM the canonical account via x/bank,
4777
+ * authorized by a linked authenticator's signature over the Cosmos auth
4778
+ * sign-bytes. Relayer-signed (it submits + pays fees). See
4779
+ * {@link ../tx/authenticator.cosmosAuthSignBytes}.
4780
+ */
4781
+ executeCosmos: (value: PartialMsg<MsgExecuteCosmos>) => EncodeObject;
4467
4782
  };
4468
4783
  /** Cross-VM message composers. */
4469
4784
  declare const crossvm: {
@@ -6041,11 +6356,9 @@ declare const msg: {
6041
6356
  algorithmId?: number | undefined;
6042
6357
  reason?: string | undefined;
6043
6358
  }) => _cosmjs_proto_signing.EncodeObject;
6044
- };
6045
- readonly svm: {
6046
- deployProgram: (value: {
6359
+ rotatePqcKey: (value: {
6047
6360
  sender?: string | undefined;
6048
- bytecode?: {
6361
+ oldPublicKey?: {
6049
6362
  [x: number]: number | undefined;
6050
6363
  readonly BYTES_PER_ELEMENT?: number | undefined;
6051
6364
  readonly buffer?: ({
@@ -6090,10 +6403,7 @@ declare const msg: {
6090
6403
  [Symbol.iterator]?: {} | undefined;
6091
6404
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6092
6405
  } | undefined;
6093
- }) => _cosmjs_proto_signing.EncodeObject;
6094
- createAccount: (value: {
6095
- sender?: string | undefined;
6096
- owner?: {
6406
+ newPublicKey?: {
6097
6407
  [x: number]: number | undefined;
6098
6408
  readonly BYTES_PER_ELEMENT?: number | undefined;
6099
6409
  readonly buffer?: ({
@@ -6138,9 +6448,7 @@ declare const msg: {
6138
6448
  [Symbol.iterator]?: {} | undefined;
6139
6449
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6140
6450
  } | undefined;
6141
- space?: string | undefined;
6142
- lamports?: string | undefined;
6143
- salt?: {
6451
+ oldSignature?: {
6144
6452
  [x: number]: number | undefined;
6145
6453
  readonly BYTES_PER_ELEMENT?: number | undefined;
6146
6454
  readonly buffer?: ({
@@ -6185,10 +6493,7 @@ declare const msg: {
6185
6493
  [Symbol.iterator]?: {} | undefined;
6186
6494
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6187
6495
  } | undefined;
6188
- }) => _cosmjs_proto_signing.EncodeObject;
6189
- executeProgram: (value: {
6190
- sender?: string | undefined;
6191
- programId?: {
6496
+ newSignature?: {
6192
6497
  [x: number]: number | undefined;
6193
6498
  readonly BYTES_PER_ELEMENT?: number | undefined;
6194
6499
  readonly buffer?: ({
@@ -6233,56 +6538,12 @@ declare const msg: {
6233
6538
  [Symbol.iterator]?: {} | undefined;
6234
6539
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6235
6540
  } | undefined;
6236
- accounts?: ({
6237
- address?: {
6238
- [x: number]: number | undefined;
6239
- readonly BYTES_PER_ELEMENT?: number | undefined;
6240
- readonly buffer?: ({
6241
- readonly byteLength?: number | undefined;
6242
- slice?: {} | undefined;
6243
- readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6244
- } | {
6245
- readonly byteLength?: number | undefined;
6246
- slice?: {} | undefined;
6247
- readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6248
- }) | undefined;
6249
- readonly byteLength?: number | undefined;
6250
- readonly byteOffset?: number | undefined;
6251
- copyWithin?: {} | undefined;
6252
- every?: {} | undefined;
6253
- fill?: {} | undefined;
6254
- filter?: {} | undefined;
6255
- find?: {} | undefined;
6256
- findIndex?: {} | undefined;
6257
- forEach?: {} | undefined;
6258
- indexOf?: {} | undefined;
6259
- join?: {} | undefined;
6260
- lastIndexOf?: {} | undefined;
6261
- readonly length?: number | undefined;
6262
- map?: {} | undefined;
6263
- reduce?: {} | undefined;
6264
- reduceRight?: {} | undefined;
6265
- reverse?: {} | undefined;
6266
- set?: {} | undefined;
6267
- slice?: {} | undefined;
6268
- some?: {} | undefined;
6269
- sort?: {} | undefined;
6270
- subarray?: {} | undefined;
6271
- toLocaleString?: {} | undefined;
6272
- toString?: {} | undefined;
6273
- valueOf?: {} | undefined;
6274
- entries?: {} | undefined;
6275
- keys?: {} | undefined;
6276
- values?: {} | undefined;
6277
- includes?: {} | undefined;
6278
- at?: {} | undefined;
6279
- [Symbol.iterator]?: {} | undefined;
6280
- readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6281
- } | undefined;
6282
- isSigner?: boolean | undefined;
6283
- isWritable?: boolean | undefined;
6284
- } | undefined)[] | undefined;
6285
- data?: {
6541
+ }) => _cosmjs_proto_signing.EncodeObject;
6542
+ };
6543
+ readonly svm: {
6544
+ deployProgram: (value: {
6545
+ sender?: string | undefined;
6546
+ bytecode?: {
6286
6547
  [x: number]: number | undefined;
6287
6548
  readonly BYTES_PER_ELEMENT?: number | undefined;
6288
6549
  readonly buffer?: ({
@@ -6327,11 +6588,10 @@ declare const msg: {
6327
6588
  [Symbol.iterator]?: {} | undefined;
6328
6589
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6329
6590
  } | undefined;
6330
- auth?: SVMAuth | undefined;
6331
6591
  }) => _cosmjs_proto_signing.EncodeObject;
6332
- registerSvmPqcKey: (value: {
6592
+ createAccount: (value: {
6333
6593
  sender?: string | undefined;
6334
- svmAddr?: {
6594
+ owner?: {
6335
6595
  [x: number]: number | undefined;
6336
6596
  readonly BYTES_PER_ELEMENT?: number | undefined;
6337
6597
  readonly buffer?: ({
@@ -6376,7 +6636,9 @@ declare const msg: {
6376
6636
  [Symbol.iterator]?: {} | undefined;
6377
6637
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6378
6638
  } | undefined;
6379
- pqcPubKey?: {
6639
+ space?: string | undefined;
6640
+ lamports?: string | undefined;
6641
+ salt?: {
6380
6642
  [x: number]: number | undefined;
6381
6643
  readonly BYTES_PER_ELEMENT?: number | undefined;
6382
6644
  readonly buffer?: ({
@@ -6422,69 +6684,9 @@ declare const msg: {
6422
6684
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6423
6685
  } | undefined;
6424
6686
  }) => _cosmjs_proto_signing.EncodeObject;
6425
- };
6426
- readonly lightnode: {
6427
- registerLightNode: (value: {
6428
- operator?: string | undefined;
6429
- nodeType?: string | undefined;
6430
- version?: string | undefined;
6431
- capabilities?: (string | undefined)[] | undefined;
6432
- }) => _cosmjs_proto_signing.EncodeObject;
6433
- heartbeat: (value: {
6434
- operator?: string | undefined;
6435
- }) => _cosmjs_proto_signing.EncodeObject;
6436
- deregisterLightNode: (value: {
6437
- operator?: string | undefined;
6438
- }) => _cosmjs_proto_signing.EncodeObject;
6439
- claimLightNodeRewards: (value: {
6440
- operator?: string | undefined;
6441
- }) => _cosmjs_proto_signing.EncodeObject;
6442
- };
6443
- readonly license: {
6444
- grantLicense: (value: {
6445
- authority?: string | undefined;
6446
- grantee?: string | undefined;
6447
- featureId?: string | undefined;
6448
- expiresAt?: string | undefined;
6449
- metadata?: string | undefined;
6450
- }) => _cosmjs_proto_signing.EncodeObject;
6451
- revokeLicense: (value: {
6452
- authority?: string | undefined;
6453
- grantee?: string | undefined;
6454
- featureId?: string | undefined;
6455
- }) => _cosmjs_proto_signing.EncodeObject;
6456
- suspendLicense: (value: {
6457
- authority?: string | undefined;
6458
- grantee?: string | undefined;
6459
- featureId?: string | undefined;
6460
- }) => _cosmjs_proto_signing.EncodeObject;
6461
- resumeLicense: (value: {
6462
- authority?: string | undefined;
6463
- grantee?: string | undefined;
6464
- featureId?: string | undefined;
6465
- }) => _cosmjs_proto_signing.EncodeObject;
6466
- };
6467
- readonly abstractaccount: {
6468
- createAbstractAccount: (value: {
6469
- owner?: string | undefined;
6470
- accountType?: string | undefined;
6471
- }) => _cosmjs_proto_signing.EncodeObject;
6472
- updateSpendingRules: (value: {
6473
- owner?: string | undefined;
6474
- accountAddress?: string | undefined;
6475
- rules?: ({
6476
- id?: string | undefined;
6477
- dailyLimit?: string | undefined;
6478
- perTxLimit?: string | undefined;
6479
- allowedDenoms?: (string | undefined)[] | undefined;
6480
- enabled?: boolean | undefined;
6481
- } | undefined)[] | undefined;
6482
- }) => _cosmjs_proto_signing.EncodeObject;
6483
- registerAuthenticator: (value: {
6484
- owner?: string | undefined;
6485
- accountAddress?: string | undefined;
6486
- scheme?: string | undefined;
6487
- pubkey?: {
6687
+ executeProgram: (value: {
6688
+ sender?: string | undefined;
6689
+ programId?: {
6488
6690
  [x: number]: number | undefined;
6489
6691
  readonly BYTES_PER_ELEMENT?: number | undefined;
6490
6692
  readonly buffer?: ({
@@ -6529,22 +6731,557 @@ declare const msg: {
6529
6731
  [Symbol.iterator]?: {} | undefined;
6530
6732
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6531
6733
  } | undefined;
6532
- permissions?: (string | undefined)[] | undefined;
6533
- expiryUnix?: string | undefined;
6534
- label?: string | undefined;
6535
- }) => _cosmjs_proto_signing.EncodeObject;
6536
- revokeAuthenticator: (value: {
6537
- owner?: string | undefined;
6538
- accountAddress?: string | undefined;
6539
- scheme?: string | undefined;
6540
- pubkey?: {
6541
- [x: number]: number | undefined;
6542
- readonly BYTES_PER_ELEMENT?: number | undefined;
6543
- readonly buffer?: ({
6544
- readonly byteLength?: number | undefined;
6545
- slice?: {} | undefined;
6546
- readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6547
- } | {
6734
+ accounts?: ({
6735
+ address?: {
6736
+ [x: number]: number | undefined;
6737
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6738
+ readonly buffer?: ({
6739
+ readonly byteLength?: number | undefined;
6740
+ slice?: {} | undefined;
6741
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6742
+ } | {
6743
+ readonly byteLength?: number | undefined;
6744
+ slice?: {} | undefined;
6745
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6746
+ }) | undefined;
6747
+ readonly byteLength?: number | undefined;
6748
+ readonly byteOffset?: number | undefined;
6749
+ copyWithin?: {} | undefined;
6750
+ every?: {} | undefined;
6751
+ fill?: {} | undefined;
6752
+ filter?: {} | undefined;
6753
+ find?: {} | undefined;
6754
+ findIndex?: {} | undefined;
6755
+ forEach?: {} | undefined;
6756
+ indexOf?: {} | undefined;
6757
+ join?: {} | undefined;
6758
+ lastIndexOf?: {} | undefined;
6759
+ readonly length?: number | undefined;
6760
+ map?: {} | undefined;
6761
+ reduce?: {} | undefined;
6762
+ reduceRight?: {} | undefined;
6763
+ reverse?: {} | undefined;
6764
+ set?: {} | undefined;
6765
+ slice?: {} | undefined;
6766
+ some?: {} | undefined;
6767
+ sort?: {} | undefined;
6768
+ subarray?: {} | undefined;
6769
+ toLocaleString?: {} | undefined;
6770
+ toString?: {} | undefined;
6771
+ valueOf?: {} | undefined;
6772
+ entries?: {} | undefined;
6773
+ keys?: {} | undefined;
6774
+ values?: {} | undefined;
6775
+ includes?: {} | undefined;
6776
+ at?: {} | undefined;
6777
+ [Symbol.iterator]?: {} | undefined;
6778
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6779
+ } | undefined;
6780
+ isSigner?: boolean | undefined;
6781
+ isWritable?: boolean | undefined;
6782
+ } | undefined)[] | undefined;
6783
+ data?: {
6784
+ [x: number]: number | undefined;
6785
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6786
+ readonly buffer?: ({
6787
+ readonly byteLength?: number | undefined;
6788
+ slice?: {} | undefined;
6789
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6790
+ } | {
6791
+ readonly byteLength?: number | undefined;
6792
+ slice?: {} | undefined;
6793
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6794
+ }) | undefined;
6795
+ readonly byteLength?: number | undefined;
6796
+ readonly byteOffset?: number | undefined;
6797
+ copyWithin?: {} | undefined;
6798
+ every?: {} | undefined;
6799
+ fill?: {} | undefined;
6800
+ filter?: {} | undefined;
6801
+ find?: {} | undefined;
6802
+ findIndex?: {} | undefined;
6803
+ forEach?: {} | undefined;
6804
+ indexOf?: {} | undefined;
6805
+ join?: {} | undefined;
6806
+ lastIndexOf?: {} | undefined;
6807
+ readonly length?: number | undefined;
6808
+ map?: {} | undefined;
6809
+ reduce?: {} | undefined;
6810
+ reduceRight?: {} | undefined;
6811
+ reverse?: {} | undefined;
6812
+ set?: {} | undefined;
6813
+ slice?: {} | undefined;
6814
+ some?: {} | undefined;
6815
+ sort?: {} | undefined;
6816
+ subarray?: {} | undefined;
6817
+ toLocaleString?: {} | undefined;
6818
+ toString?: {} | undefined;
6819
+ valueOf?: {} | undefined;
6820
+ entries?: {} | undefined;
6821
+ keys?: {} | undefined;
6822
+ values?: {} | undefined;
6823
+ includes?: {} | undefined;
6824
+ at?: {} | undefined;
6825
+ [Symbol.iterator]?: {} | undefined;
6826
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6827
+ } | undefined;
6828
+ auth?: SVMAuth | undefined;
6829
+ }) => _cosmjs_proto_signing.EncodeObject;
6830
+ registerSvmPqcKey: (value: {
6831
+ sender?: string | undefined;
6832
+ svmAddr?: {
6833
+ [x: number]: number | undefined;
6834
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6835
+ readonly buffer?: ({
6836
+ readonly byteLength?: number | undefined;
6837
+ slice?: {} | undefined;
6838
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6839
+ } | {
6840
+ readonly byteLength?: number | undefined;
6841
+ slice?: {} | undefined;
6842
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6843
+ }) | undefined;
6844
+ readonly byteLength?: number | undefined;
6845
+ readonly byteOffset?: number | undefined;
6846
+ copyWithin?: {} | undefined;
6847
+ every?: {} | undefined;
6848
+ fill?: {} | undefined;
6849
+ filter?: {} | undefined;
6850
+ find?: {} | undefined;
6851
+ findIndex?: {} | undefined;
6852
+ forEach?: {} | undefined;
6853
+ indexOf?: {} | undefined;
6854
+ join?: {} | undefined;
6855
+ lastIndexOf?: {} | undefined;
6856
+ readonly length?: number | undefined;
6857
+ map?: {} | undefined;
6858
+ reduce?: {} | undefined;
6859
+ reduceRight?: {} | undefined;
6860
+ reverse?: {} | undefined;
6861
+ set?: {} | undefined;
6862
+ slice?: {} | undefined;
6863
+ some?: {} | undefined;
6864
+ sort?: {} | undefined;
6865
+ subarray?: {} | undefined;
6866
+ toLocaleString?: {} | undefined;
6867
+ toString?: {} | undefined;
6868
+ valueOf?: {} | undefined;
6869
+ entries?: {} | undefined;
6870
+ keys?: {} | undefined;
6871
+ values?: {} | undefined;
6872
+ includes?: {} | undefined;
6873
+ at?: {} | undefined;
6874
+ [Symbol.iterator]?: {} | undefined;
6875
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6876
+ } | undefined;
6877
+ pqcPubKey?: {
6878
+ [x: number]: number | undefined;
6879
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6880
+ readonly buffer?: ({
6881
+ readonly byteLength?: number | undefined;
6882
+ slice?: {} | undefined;
6883
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6884
+ } | {
6885
+ readonly byteLength?: number | undefined;
6886
+ slice?: {} | undefined;
6887
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6888
+ }) | undefined;
6889
+ readonly byteLength?: number | undefined;
6890
+ readonly byteOffset?: number | undefined;
6891
+ copyWithin?: {} | undefined;
6892
+ every?: {} | undefined;
6893
+ fill?: {} | undefined;
6894
+ filter?: {} | undefined;
6895
+ find?: {} | undefined;
6896
+ findIndex?: {} | undefined;
6897
+ forEach?: {} | undefined;
6898
+ indexOf?: {} | undefined;
6899
+ join?: {} | undefined;
6900
+ lastIndexOf?: {} | undefined;
6901
+ readonly length?: number | undefined;
6902
+ map?: {} | undefined;
6903
+ reduce?: {} | undefined;
6904
+ reduceRight?: {} | undefined;
6905
+ reverse?: {} | undefined;
6906
+ set?: {} | undefined;
6907
+ slice?: {} | undefined;
6908
+ some?: {} | undefined;
6909
+ sort?: {} | undefined;
6910
+ subarray?: {} | undefined;
6911
+ toLocaleString?: {} | undefined;
6912
+ toString?: {} | undefined;
6913
+ valueOf?: {} | undefined;
6914
+ entries?: {} | undefined;
6915
+ keys?: {} | undefined;
6916
+ values?: {} | undefined;
6917
+ includes?: {} | undefined;
6918
+ at?: {} | undefined;
6919
+ [Symbol.iterator]?: {} | undefined;
6920
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6921
+ } | undefined;
6922
+ }) => _cosmjs_proto_signing.EncodeObject;
6923
+ };
6924
+ readonly lightnode: {
6925
+ registerLightNode: (value: {
6926
+ operator?: string | undefined;
6927
+ nodeType?: string | undefined;
6928
+ version?: string | undefined;
6929
+ capabilities?: (string | undefined)[] | undefined;
6930
+ }) => _cosmjs_proto_signing.EncodeObject;
6931
+ heartbeat: (value: {
6932
+ operator?: string | undefined;
6933
+ }) => _cosmjs_proto_signing.EncodeObject;
6934
+ deregisterLightNode: (value: {
6935
+ operator?: string | undefined;
6936
+ }) => _cosmjs_proto_signing.EncodeObject;
6937
+ claimLightNodeRewards: (value: {
6938
+ operator?: string | undefined;
6939
+ }) => _cosmjs_proto_signing.EncodeObject;
6940
+ };
6941
+ readonly license: {
6942
+ grantLicense: (value: {
6943
+ authority?: string | undefined;
6944
+ grantee?: string | undefined;
6945
+ featureId?: string | undefined;
6946
+ expiresAt?: string | undefined;
6947
+ metadata?: string | undefined;
6948
+ }) => _cosmjs_proto_signing.EncodeObject;
6949
+ revokeLicense: (value: {
6950
+ authority?: string | undefined;
6951
+ grantee?: string | undefined;
6952
+ featureId?: string | undefined;
6953
+ }) => _cosmjs_proto_signing.EncodeObject;
6954
+ suspendLicense: (value: {
6955
+ authority?: string | undefined;
6956
+ grantee?: string | undefined;
6957
+ featureId?: string | undefined;
6958
+ }) => _cosmjs_proto_signing.EncodeObject;
6959
+ resumeLicense: (value: {
6960
+ authority?: string | undefined;
6961
+ grantee?: string | undefined;
6962
+ featureId?: string | undefined;
6963
+ }) => _cosmjs_proto_signing.EncodeObject;
6964
+ };
6965
+ readonly abstractaccount: {
6966
+ createAbstractAccount: (value: {
6967
+ owner?: string | undefined;
6968
+ accountType?: string | undefined;
6969
+ }) => _cosmjs_proto_signing.EncodeObject;
6970
+ updateSpendingRules: (value: {
6971
+ owner?: string | undefined;
6972
+ accountAddress?: string | undefined;
6973
+ rules?: ({
6974
+ id?: string | undefined;
6975
+ dailyLimit?: string | undefined;
6976
+ perTxLimit?: string | undefined;
6977
+ allowedDenoms?: (string | undefined)[] | undefined;
6978
+ enabled?: boolean | undefined;
6979
+ } | undefined)[] | undefined;
6980
+ }) => _cosmjs_proto_signing.EncodeObject;
6981
+ registerAuthenticator: (value: {
6982
+ owner?: string | undefined;
6983
+ accountAddress?: string | undefined;
6984
+ scheme?: string | undefined;
6985
+ pubkey?: {
6986
+ [x: number]: number | undefined;
6987
+ readonly BYTES_PER_ELEMENT?: number | undefined;
6988
+ readonly buffer?: ({
6989
+ readonly byteLength?: number | undefined;
6990
+ slice?: {} | undefined;
6991
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
6992
+ } | {
6993
+ readonly byteLength?: number | undefined;
6994
+ slice?: {} | undefined;
6995
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
6996
+ }) | undefined;
6997
+ readonly byteLength?: number | undefined;
6998
+ readonly byteOffset?: number | undefined;
6999
+ copyWithin?: {} | undefined;
7000
+ every?: {} | undefined;
7001
+ fill?: {} | undefined;
7002
+ filter?: {} | undefined;
7003
+ find?: {} | undefined;
7004
+ findIndex?: {} | undefined;
7005
+ forEach?: {} | undefined;
7006
+ indexOf?: {} | undefined;
7007
+ join?: {} | undefined;
7008
+ lastIndexOf?: {} | undefined;
7009
+ readonly length?: number | undefined;
7010
+ map?: {} | undefined;
7011
+ reduce?: {} | undefined;
7012
+ reduceRight?: {} | undefined;
7013
+ reverse?: {} | undefined;
7014
+ set?: {} | undefined;
7015
+ slice?: {} | undefined;
7016
+ some?: {} | undefined;
7017
+ sort?: {} | undefined;
7018
+ subarray?: {} | undefined;
7019
+ toLocaleString?: {} | undefined;
7020
+ toString?: {} | undefined;
7021
+ valueOf?: {} | undefined;
7022
+ entries?: {} | undefined;
7023
+ keys?: {} | undefined;
7024
+ values?: {} | undefined;
7025
+ includes?: {} | undefined;
7026
+ at?: {} | undefined;
7027
+ [Symbol.iterator]?: {} | undefined;
7028
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
7029
+ } | undefined;
7030
+ permissions?: (string | undefined)[] | undefined;
7031
+ expiryUnix?: string | undefined;
7032
+ label?: string | undefined;
7033
+ }) => _cosmjs_proto_signing.EncodeObject;
7034
+ revokeAuthenticator: (value: {
7035
+ owner?: string | undefined;
7036
+ accountAddress?: string | undefined;
7037
+ scheme?: string | undefined;
7038
+ pubkey?: {
7039
+ [x: number]: number | undefined;
7040
+ readonly BYTES_PER_ELEMENT?: number | undefined;
7041
+ readonly buffer?: ({
7042
+ readonly byteLength?: number | undefined;
7043
+ slice?: {} | undefined;
7044
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
7045
+ } | {
7046
+ readonly byteLength?: number | undefined;
7047
+ slice?: {} | undefined;
7048
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
7049
+ }) | undefined;
7050
+ readonly byteLength?: number | undefined;
7051
+ readonly byteOffset?: number | undefined;
7052
+ copyWithin?: {} | undefined;
7053
+ every?: {} | undefined;
7054
+ fill?: {} | undefined;
7055
+ filter?: {} | undefined;
7056
+ find?: {} | undefined;
7057
+ findIndex?: {} | undefined;
7058
+ forEach?: {} | undefined;
7059
+ indexOf?: {} | undefined;
7060
+ join?: {} | undefined;
7061
+ lastIndexOf?: {} | undefined;
7062
+ readonly length?: number | undefined;
7063
+ map?: {} | undefined;
7064
+ reduce?: {} | undefined;
7065
+ reduceRight?: {} | undefined;
7066
+ reverse?: {} | undefined;
7067
+ set?: {} | undefined;
7068
+ slice?: {} | undefined;
7069
+ some?: {} | undefined;
7070
+ sort?: {} | undefined;
7071
+ subarray?: {} | undefined;
7072
+ toLocaleString?: {} | undefined;
7073
+ toString?: {} | undefined;
7074
+ valueOf?: {} | undefined;
7075
+ entries?: {} | undefined;
7076
+ keys?: {} | undefined;
7077
+ values?: {} | undefined;
7078
+ includes?: {} | undefined;
7079
+ at?: {} | undefined;
7080
+ [Symbol.iterator]?: {} | undefined;
7081
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
7082
+ } | undefined;
7083
+ }) => _cosmjs_proto_signing.EncodeObject;
7084
+ executeEvm: (value: {
7085
+ relayer?: string | undefined;
7086
+ account?: string | undefined;
7087
+ scheme?: string | undefined;
7088
+ pubkey?: {
7089
+ [x: number]: number | undefined;
7090
+ readonly BYTES_PER_ELEMENT?: number | undefined;
7091
+ readonly buffer?: ({
7092
+ readonly byteLength?: number | undefined;
7093
+ slice?: {} | undefined;
7094
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
7095
+ } | {
7096
+ readonly byteLength?: number | undefined;
7097
+ slice?: {} | undefined;
7098
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
7099
+ }) | undefined;
7100
+ readonly byteLength?: number | undefined;
7101
+ readonly byteOffset?: number | undefined;
7102
+ copyWithin?: {} | undefined;
7103
+ every?: {} | undefined;
7104
+ fill?: {} | undefined;
7105
+ filter?: {} | undefined;
7106
+ find?: {} | undefined;
7107
+ findIndex?: {} | undefined;
7108
+ forEach?: {} | undefined;
7109
+ indexOf?: {} | undefined;
7110
+ join?: {} | undefined;
7111
+ lastIndexOf?: {} | undefined;
7112
+ readonly length?: number | undefined;
7113
+ map?: {} | undefined;
7114
+ reduce?: {} | undefined;
7115
+ reduceRight?: {} | undefined;
7116
+ reverse?: {} | undefined;
7117
+ set?: {} | undefined;
7118
+ slice?: {} | undefined;
7119
+ some?: {} | undefined;
7120
+ sort?: {} | undefined;
7121
+ subarray?: {} | undefined;
7122
+ toLocaleString?: {} | undefined;
7123
+ toString?: {} | undefined;
7124
+ valueOf?: {} | undefined;
7125
+ entries?: {} | undefined;
7126
+ keys?: {} | undefined;
7127
+ values?: {} | undefined;
7128
+ includes?: {} | undefined;
7129
+ at?: {} | undefined;
7130
+ [Symbol.iterator]?: {} | undefined;
7131
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
7132
+ } | undefined;
7133
+ signature?: {
7134
+ [x: number]: number | undefined;
7135
+ readonly BYTES_PER_ELEMENT?: number | undefined;
7136
+ readonly buffer?: ({
7137
+ readonly byteLength?: number | undefined;
7138
+ slice?: {} | undefined;
7139
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
7140
+ } | {
7141
+ readonly byteLength?: number | undefined;
7142
+ slice?: {} | undefined;
7143
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
7144
+ }) | undefined;
7145
+ readonly byteLength?: number | undefined;
7146
+ readonly byteOffset?: number | undefined;
7147
+ copyWithin?: {} | undefined;
7148
+ every?: {} | undefined;
7149
+ fill?: {} | undefined;
7150
+ filter?: {} | undefined;
7151
+ find?: {} | undefined;
7152
+ findIndex?: {} | undefined;
7153
+ forEach?: {} | undefined;
7154
+ indexOf?: {} | undefined;
7155
+ join?: {} | undefined;
7156
+ lastIndexOf?: {} | undefined;
7157
+ readonly length?: number | undefined;
7158
+ map?: {} | undefined;
7159
+ reduce?: {} | undefined;
7160
+ reduceRight?: {} | undefined;
7161
+ reverse?: {} | undefined;
7162
+ set?: {} | undefined;
7163
+ slice?: {} | undefined;
7164
+ some?: {} | undefined;
7165
+ sort?: {} | undefined;
7166
+ subarray?: {} | undefined;
7167
+ toLocaleString?: {} | undefined;
7168
+ toString?: {} | undefined;
7169
+ valueOf?: {} | undefined;
7170
+ entries?: {} | undefined;
7171
+ keys?: {} | undefined;
7172
+ values?: {} | undefined;
7173
+ includes?: {} | undefined;
7174
+ at?: {} | undefined;
7175
+ [Symbol.iterator]?: {} | undefined;
7176
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
7177
+ } | undefined;
7178
+ to?: string | undefined;
7179
+ value?: string | undefined;
7180
+ data?: {
7181
+ [x: number]: number | undefined;
7182
+ readonly BYTES_PER_ELEMENT?: number | undefined;
7183
+ readonly buffer?: ({
7184
+ readonly byteLength?: number | undefined;
7185
+ slice?: {} | undefined;
7186
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
7187
+ } | {
7188
+ readonly byteLength?: number | undefined;
7189
+ slice?: {} | undefined;
7190
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
7191
+ }) | undefined;
7192
+ readonly byteLength?: number | undefined;
7193
+ readonly byteOffset?: number | undefined;
7194
+ copyWithin?: {} | undefined;
7195
+ every?: {} | undefined;
7196
+ fill?: {} | undefined;
7197
+ filter?: {} | undefined;
7198
+ find?: {} | undefined;
7199
+ findIndex?: {} | undefined;
7200
+ forEach?: {} | undefined;
7201
+ indexOf?: {} | undefined;
7202
+ join?: {} | undefined;
7203
+ lastIndexOf?: {} | undefined;
7204
+ readonly length?: number | undefined;
7205
+ map?: {} | undefined;
7206
+ reduce?: {} | undefined;
7207
+ reduceRight?: {} | undefined;
7208
+ reverse?: {} | undefined;
7209
+ set?: {} | undefined;
7210
+ slice?: {} | undefined;
7211
+ some?: {} | undefined;
7212
+ sort?: {} | undefined;
7213
+ subarray?: {} | undefined;
7214
+ toLocaleString?: {} | undefined;
7215
+ toString?: {} | undefined;
7216
+ valueOf?: {} | undefined;
7217
+ entries?: {} | undefined;
7218
+ keys?: {} | undefined;
7219
+ values?: {} | undefined;
7220
+ includes?: {} | undefined;
7221
+ at?: {} | undefined;
7222
+ [Symbol.iterator]?: {} | undefined;
7223
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
7224
+ } | undefined;
7225
+ gasLimit?: string | undefined;
7226
+ nonce?: string | undefined;
7227
+ }) => _cosmjs_proto_signing.EncodeObject;
7228
+ executeCosmos: (value: {
7229
+ relayer?: string | undefined;
7230
+ account?: string | undefined;
7231
+ scheme?: string | undefined;
7232
+ pubkey?: {
7233
+ [x: number]: number | undefined;
7234
+ readonly BYTES_PER_ELEMENT?: number | undefined;
7235
+ readonly buffer?: ({
7236
+ readonly byteLength?: number | undefined;
7237
+ slice?: {} | undefined;
7238
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
7239
+ } | {
7240
+ readonly byteLength?: number | undefined;
7241
+ slice?: {} | undefined;
7242
+ readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
7243
+ }) | undefined;
7244
+ readonly byteLength?: number | undefined;
7245
+ readonly byteOffset?: number | undefined;
7246
+ copyWithin?: {} | undefined;
7247
+ every?: {} | undefined;
7248
+ fill?: {} | undefined;
7249
+ filter?: {} | undefined;
7250
+ find?: {} | undefined;
7251
+ findIndex?: {} | undefined;
7252
+ forEach?: {} | undefined;
7253
+ indexOf?: {} | undefined;
7254
+ join?: {} | undefined;
7255
+ lastIndexOf?: {} | undefined;
7256
+ readonly length?: number | undefined;
7257
+ map?: {} | undefined;
7258
+ reduce?: {} | undefined;
7259
+ reduceRight?: {} | undefined;
7260
+ reverse?: {} | undefined;
7261
+ set?: {} | undefined;
7262
+ slice?: {} | undefined;
7263
+ some?: {} | undefined;
7264
+ sort?: {} | undefined;
7265
+ subarray?: {} | undefined;
7266
+ toLocaleString?: {} | undefined;
7267
+ toString?: {} | undefined;
7268
+ valueOf?: {} | undefined;
7269
+ entries?: {} | undefined;
7270
+ keys?: {} | undefined;
7271
+ values?: {} | undefined;
7272
+ includes?: {} | undefined;
7273
+ at?: {} | undefined;
7274
+ [Symbol.iterator]?: {} | undefined;
7275
+ readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
7276
+ } | undefined;
7277
+ signature?: {
7278
+ [x: number]: number | undefined;
7279
+ readonly BYTES_PER_ELEMENT?: number | undefined;
7280
+ readonly buffer?: ({
7281
+ readonly byteLength?: number | undefined;
7282
+ slice?: {} | undefined;
7283
+ readonly [Symbol.toStringTag]?: "ArrayBuffer" | undefined;
7284
+ } | {
6548
7285
  readonly byteLength?: number | undefined;
6549
7286
  slice?: {} | undefined;
6550
7287
  readonly [Symbol.toStringTag]?: "SharedArrayBuffer" | undefined;
@@ -6582,6 +7319,12 @@ declare const msg: {
6582
7319
  [Symbol.iterator]?: {} | undefined;
6583
7320
  readonly [Symbol.toStringTag]?: "Uint8Array" | undefined;
6584
7321
  } | undefined;
7322
+ to?: string | undefined;
7323
+ amount?: ({
7324
+ denom?: string | undefined;
7325
+ amount?: string | undefined;
7326
+ } | undefined)[] | undefined;
7327
+ nonce?: string | undefined;
6585
7328
  }) => _cosmjs_proto_signing.EncodeObject;
6586
7329
  };
6587
7330
  readonly crossvm: {
@@ -6672,7 +7415,7 @@ declare const protobufPackage$d = "qorechain.pqc.v1";
6672
7415
  * PQCHybridSignature is a transaction extension option carried in
6673
7416
  * TxBody.extension_options. It pairs a post-quantum (Dilithium-5) signature with
6674
7417
  * the account's classical secp256k1 signature so every transaction can be
6675
- * quantum-safe while remaining compatible with the standard Native auth
7418
+ * quantum-safe while remaining compatible with the standard Cosmos SDK auth
6676
7419
  * path. It is registered as a cosmos.tx.v1beta1.TxExtensionOptionI.
6677
7420
  */
6678
7421
  interface PQCHybridSignature {
@@ -6745,6 +7488,30 @@ interface QueryAccountsResponse {
6745
7488
  accounts: AccountView[];
6746
7489
  }
6747
7490
  declare const QueryAccountsResponse: MessageFns$c<QueryAccountsResponse>;
7491
+ interface QueryPermissionSchemaRequest {
7492
+ }
7493
+ declare const QueryPermissionSchemaRequest: MessageFns$c<QueryPermissionSchemaRequest>;
7494
+ interface QueryPermissionSchemaResponse {
7495
+ /**
7496
+ * schema_version bumps whenever the taxonomy or the mapping changes; clients
7497
+ * compare it to their embedded copy to detect drift.
7498
+ */
7499
+ schemaVersion: string;
7500
+ /** permissions is every valid permission string (e.g. send, evm, svm, all). */
7501
+ permissions: string[];
7502
+ /** msg_permissions maps a message typeURL to the permission it requires. */
7503
+ msgPermissions: {
7504
+ [key: string]: string;
7505
+ };
7506
+ /** key_management_msgs are typeURLs that are NEVER delegable to a linked key. */
7507
+ keyManagementMsgs: string[];
7508
+ }
7509
+ declare const QueryPermissionSchemaResponse: MessageFns$c<QueryPermissionSchemaResponse>;
7510
+ interface QueryPermissionSchemaResponse_MsgPermissionsEntry {
7511
+ key: string;
7512
+ value: string;
7513
+ }
7514
+ declare const QueryPermissionSchemaResponse_MsgPermissionsEntry: MessageFns$c<QueryPermissionSchemaResponse_MsgPermissionsEntry>;
6748
7515
  /** Query defines the gRPC query service for the abstractaccount module. */
6749
7516
  type QueryDefinition$c = typeof QueryDefinition$c;
6750
7517
  declare const QueryDefinition$c: {
@@ -6758,7 +7525,11 @@ declare const QueryDefinition$c: {
6758
7525
  readonly requestStream: false;
6759
7526
  readonly responseType: typeof QueryConfigResponse$2;
6760
7527
  readonly responseStream: false;
6761
- readonly options: {};
7528
+ readonly options: {
7529
+ readonly _unknownFields: {
7530
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7531
+ };
7532
+ };
6762
7533
  };
6763
7534
  /** Account returns a single abstract account by address. */
6764
7535
  readonly account: {
@@ -6767,7 +7538,11 @@ declare const QueryDefinition$c: {
6767
7538
  readonly requestStream: false;
6768
7539
  readonly responseType: typeof QueryAccountResponse$2;
6769
7540
  readonly responseStream: false;
6770
- readonly options: {};
7541
+ readonly options: {
7542
+ readonly _unknownFields: {
7543
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7544
+ };
7545
+ };
6771
7546
  };
6772
7547
  /** Accounts lists all abstract accounts. */
6773
7548
  readonly accounts: {
@@ -6776,7 +7551,28 @@ declare const QueryDefinition$c: {
6776
7551
  readonly requestStream: false;
6777
7552
  readonly responseType: typeof QueryAccountsResponse;
6778
7553
  readonly responseStream: false;
6779
- readonly options: {};
7554
+ readonly options: {
7555
+ readonly _unknownFields: {
7556
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7557
+ };
7558
+ };
7559
+ };
7560
+ /**
7561
+ * PermissionSchema returns the canonical authenticator permission taxonomy so
7562
+ * clients (QoreX/dashboard/relayer) validate scopes without hardcoding strings
7563
+ * and detect drift via schema_version (v3.1.85).
7564
+ */
7565
+ readonly permissionSchema: {
7566
+ readonly name: "PermissionSchema";
7567
+ readonly requestType: typeof QueryPermissionSchemaRequest;
7568
+ readonly requestStream: false;
7569
+ readonly responseType: typeof QueryPermissionSchemaResponse;
7570
+ readonly responseStream: false;
7571
+ readonly options: {
7572
+ readonly _unknownFields: {
7573
+ readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
7574
+ };
7575
+ };
6780
7576
  };
6781
7577
  };
6782
7578
  };
@@ -6797,8 +7593,11 @@ declare const query$c_AccountView: typeof AccountView;
6797
7593
  declare const query$c_ConfigView: typeof ConfigView;
6798
7594
  declare const query$c_QueryAccountsRequest: typeof QueryAccountsRequest;
6799
7595
  declare const query$c_QueryAccountsResponse: typeof QueryAccountsResponse;
7596
+ declare const query$c_QueryPermissionSchemaRequest: typeof QueryPermissionSchemaRequest;
7597
+ declare const query$c_QueryPermissionSchemaResponse: typeof QueryPermissionSchemaResponse;
7598
+ declare const query$c_QueryPermissionSchemaResponse_MsgPermissionsEntry: typeof QueryPermissionSchemaResponse_MsgPermissionsEntry;
6800
7599
  declare namespace query$c {
6801
- export { query$c_AccountView as AccountView, query$c_ConfigView as ConfigView, type DeepPartial$c as DeepPartial, type MessageFns$c as MessageFns, QueryAccountRequest$2 as QueryAccountRequest, QueryAccountResponse$2 as QueryAccountResponse, query$c_QueryAccountsRequest as QueryAccountsRequest, query$c_QueryAccountsResponse as QueryAccountsResponse, QueryConfigRequest$2 as QueryConfigRequest, QueryConfigResponse$2 as QueryConfigResponse, QueryDefinition$c as QueryDefinition, protobufPackage$c as protobufPackage };
7600
+ export { query$c_AccountView as AccountView, query$c_ConfigView as ConfigView, type DeepPartial$c as DeepPartial, type MessageFns$c as MessageFns, QueryAccountRequest$2 as QueryAccountRequest, QueryAccountResponse$2 as QueryAccountResponse, query$c_QueryAccountsRequest as QueryAccountsRequest, query$c_QueryAccountsResponse as QueryAccountsResponse, QueryConfigRequest$2 as QueryConfigRequest, QueryConfigResponse$2 as QueryConfigResponse, QueryDefinition$c as QueryDefinition, query$c_QueryPermissionSchemaRequest as QueryPermissionSchemaRequest, query$c_QueryPermissionSchemaResponse as QueryPermissionSchemaResponse, query$c_QueryPermissionSchemaResponse_MsgPermissionsEntry as QueryPermissionSchemaResponse_MsgPermissionsEntry, protobufPackage$c as protobufPackage };
6802
7601
  }
6803
7602
 
6804
7603
  declare const protobufPackage$b = "qorechain.amm.v1";
@@ -8457,6 +9256,246 @@ declare namespace index {
8457
9256
  export { tx$2 as abstractaccount, query$c as abstractaccountQuery, tx$8 as amm, query$b as ammQuery, tx$9 as bridge, query$a as bridgeQuery, tx$1 as crossvm, query$9 as crossvmQuery, tx$3 as license, query$8 as licenseQuery, tx$4 as lightnode, query$7 as lightnodeQuery, tx$6 as multilayer, query$6 as multilayerQuery, tx$5 as pqc, hybrid as pqcHybrid, query$5 as pqcQuery, query$4 as qcaQuery, tx$7 as rdk, query$3 as rdkQuery, query$2 as reputationQuery, tx as rlconsensus, query$1 as rlconsensusQuery, tx$a as svm, query as svmQuery };
8458
9257
  }
8459
9258
 
9259
+ /**
9260
+ * Wallet DX for the v3.1.85 authenticator lanes.
9261
+ *
9262
+ * These builders mirror the reference wallet-adapter: they take a linked
9263
+ * external wallet (a Phantom ed25519 key, or a MetaMask / EIP-1193 secp256k1
9264
+ * key), rebuild the domain-separated authenticator sign-bytes (see
9265
+ * {@link ../tx/authenticator}), have the wallet sign the 32-byte digest, and
9266
+ * return a relayer-ready `{ typeUrl, value }` message for the EVM or Native
9267
+ * lane. A relayer then submits and pays fees; the authenticator's signature IS
9268
+ * the authorization — the external key never produces an ML-DSA co-signature.
9269
+ *
9270
+ * Signature schemes:
9271
+ * - `ed25519` (Phantom): the chain verifies `ed25519.Verify(pubkey, digest,
9272
+ * sig)`, so a Phantom `signMessage(digest)` matches directly.
9273
+ * - `secp256k1` (MetaMask): the key is linked by its 20-byte ETH ADDRESS; the
9274
+ * wallet produces a 65-byte `personal_sign` (EIP-191) signature over the
9275
+ * same digest.
9276
+ *
9277
+ * Also included: the low-level message composers, and mnemonic-based PQC key
9278
+ * rotation (legacy→canonical migration) with both keys dual-signing the
9279
+ * rotation bytes.
9280
+ */
9281
+
9282
+ /** Fields for {@link executeEvmMsg}. */
9283
+ interface ExecuteEvmMsgInput {
9284
+ relayer: string;
9285
+ account: string;
9286
+ scheme: "ed25519" | "secp256k1";
9287
+ pubkey: Uint8Array;
9288
+ signature: Uint8Array;
9289
+ to?: string;
9290
+ value?: string;
9291
+ data?: Uint8Array;
9292
+ gasLimit: number | bigint;
9293
+ nonce: number | bigint;
9294
+ }
9295
+ /**
9296
+ * Build a `MsgExecuteEVM` (`{ typeUrl, value }`) — the relayer broadcasts this
9297
+ * and is the fee payer. `to` is a 0x-hex address, `value` a decimal wei string.
9298
+ */
9299
+ declare function executeEvmMsg(input: ExecuteEvmMsgInput): EncodeObject;
9300
+ /** Fields for {@link executeCosmosMsg}. */
9301
+ interface ExecuteCosmosMsgInput {
9302
+ relayer: string;
9303
+ account: string;
9304
+ scheme: "ed25519" | "secp256k1";
9305
+ pubkey: Uint8Array;
9306
+ signature: Uint8Array;
9307
+ to: string;
9308
+ /** Single-coin amount string, e.g. `100uqor`. */
9309
+ amount: string;
9310
+ nonce: number | bigint;
9311
+ }
9312
+ /**
9313
+ * Build a `MsgExecuteCosmos` (`{ typeUrl, value }`) — the relayer broadcasts
9314
+ * this. `amount` is a single-coin string like `100uqor`.
9315
+ */
9316
+ declare function executeCosmosMsg(input: ExecuteCosmosMsgInput): EncodeObject;
9317
+ /** Fields for {@link revokeAuthenticatorMsg}. */
9318
+ interface RevokeAuthenticatorMsgInput {
9319
+ owner: string;
9320
+ account?: string;
9321
+ scheme: "ed25519" | "secp256k1";
9322
+ pubkey: Uint8Array;
9323
+ }
9324
+ /**
9325
+ * Build a `MsgRevokeAuthenticator` (`{ typeUrl, value }`) — owner-signed;
9326
+ * instantly disables a linked key. `account` defaults to `owner`.
9327
+ */
9328
+ declare function revokeAuthenticatorMsg(input: RevokeAuthenticatorMsgInput): EncodeObject;
9329
+ /** Fields for {@link registerEthAuthenticatorMsg}. */
9330
+ interface RegisterEthAuthenticatorMsgInput {
9331
+ owner: string;
9332
+ account?: string;
9333
+ /** 0x-hex 20-byte ETH address that becomes the authenticator pubkey. */
9334
+ ethAddress: string;
9335
+ permissions?: string[];
9336
+ expiryUnix: number | bigint;
9337
+ label?: string;
9338
+ }
9339
+ /**
9340
+ * Build a `MsgRegisterAuthenticator` (`{ typeUrl, value }`) that links a
9341
+ * MetaMask / EVM key (by its 0x address, scheme `secp256k1`) to the owner's
9342
+ * account. Owner-signed. `account` defaults to `owner`.
9343
+ */
9344
+ declare function registerEthAuthenticatorMsg(input: RegisterEthAuthenticatorMsgInput): EncodeObject;
9345
+ /** Fields for {@link rotatePqcKeyMsg}. */
9346
+ interface RotatePqcKeyMsgInput {
9347
+ sender: string;
9348
+ oldPublicKey: Uint8Array;
9349
+ newPublicKey: Uint8Array;
9350
+ oldSignature: Uint8Array;
9351
+ newSignature: Uint8Array;
9352
+ }
9353
+ /**
9354
+ * Build a `MsgRotatePQCKey` (`{ typeUrl, value }`) — sender-signed (hybrid, with
9355
+ * the OLD key); dual-signed payload.
9356
+ */
9357
+ declare function rotatePqcKeyMsg(input: RotatePqcKeyMsgInput): EncodeObject;
9358
+ /**
9359
+ * The minimal Phantom-style ed25519 wallet shape the builders need: a public
9360
+ * key (as `.toBytes()` or raw bytes) and `signMessage` returning `{ signature }`
9361
+ * or raw bytes.
9362
+ */
9363
+ interface AuthenticatorWallet {
9364
+ publicKey: {
9365
+ toBytes(): Uint8Array;
9366
+ } | Uint8Array;
9367
+ signMessage(message: Uint8Array): Promise<{
9368
+ signature: Uint8Array;
9369
+ } | Uint8Array>;
9370
+ }
9371
+ /** Fields for {@link buildPhantomExecuteEvm}. */
9372
+ interface BuildPhantomExecuteEvmOptions {
9373
+ wallet: AuthenticatorWallet;
9374
+ relayer: string;
9375
+ chainId: string;
9376
+ account: string;
9377
+ to?: string;
9378
+ value?: string;
9379
+ data?: Uint8Array;
9380
+ gasLimit?: number | bigint;
9381
+ /** The account's CURRENT EVM nonce (relayer ≠ owner → do NOT +1). */
9382
+ nonce: number | bigint;
9383
+ }
9384
+ /**
9385
+ * Sign the EVM auth digest with a Phantom-style ed25519 wallet and return a
9386
+ * `MsgExecuteEVM` ready for the relayer to broadcast.
9387
+ */
9388
+ declare function buildPhantomExecuteEvm(opts: BuildPhantomExecuteEvmOptions): Promise<EncodeObject>;
9389
+ /** Fields for {@link buildPhantomExecuteCosmos}. */
9390
+ interface BuildPhantomExecuteCosmosOptions {
9391
+ wallet: AuthenticatorWallet;
9392
+ relayer: string;
9393
+ chainId: string;
9394
+ account: string;
9395
+ to: string;
9396
+ /** Single-coin amount string, e.g. `100uqor`. */
9397
+ amount: string;
9398
+ /** The per-authenticator sequence for `(account, pubkey)`. */
9399
+ nonce: number | bigint;
9400
+ }
9401
+ /**
9402
+ * Sign the Native (Cosmos) auth digest with a Phantom-style ed25519 wallet and
9403
+ * return a `MsgExecuteCosmos` ready for the relayer to broadcast.
9404
+ */
9405
+ declare function buildPhantomExecuteCosmos(opts: BuildPhantomExecuteCosmosOptions): Promise<EncodeObject>;
9406
+ /** The minimal EIP-1193 provider shape the MetaMask builders need. */
9407
+ interface Eip1193Provider {
9408
+ request(args: {
9409
+ method: string;
9410
+ params: unknown[];
9411
+ }): Promise<string>;
9412
+ }
9413
+ /** Fields for {@link buildMetaMaskExecuteEvm}. */
9414
+ interface BuildMetaMaskExecuteEvmOptions {
9415
+ provider: Eip1193Provider;
9416
+ /** 0x-hex 20-byte ETH address (the authenticator pubkey). */
9417
+ address: string;
9418
+ relayer: string;
9419
+ chainId: string;
9420
+ account: string;
9421
+ to?: string;
9422
+ value?: string;
9423
+ data?: Uint8Array;
9424
+ gasLimit?: number | bigint;
9425
+ /** The account's CURRENT EVM nonce (relayer ≠ owner → do NOT +1). */
9426
+ nonce: number | bigint;
9427
+ }
9428
+ /**
9429
+ * Sign the EVM auth digest via MetaMask (EIP-191 `personal_sign`) and return a
9430
+ * `MsgExecuteEVM` ready for the relayer. The key is linked by its 20-byte ETH
9431
+ * address (scheme `secp256k1`).
9432
+ */
9433
+ declare function buildMetaMaskExecuteEvm(opts: BuildMetaMaskExecuteEvmOptions): Promise<EncodeObject>;
9434
+ /** Fields for {@link buildMetaMaskExecuteCosmos}. */
9435
+ interface BuildMetaMaskExecuteCosmosOptions {
9436
+ provider: Eip1193Provider;
9437
+ /** 0x-hex 20-byte ETH address (the authenticator pubkey). */
9438
+ address: string;
9439
+ relayer: string;
9440
+ chainId: string;
9441
+ account: string;
9442
+ to: string;
9443
+ /** Single-coin amount string, e.g. `100uqor`. */
9444
+ amount: string;
9445
+ /** The per-authenticator sequence for `(account, address)`. */
9446
+ nonce: number | bigint;
9447
+ }
9448
+ /**
9449
+ * Sign the Native (Cosmos) auth digest via MetaMask (EIP-191 `personal_sign`)
9450
+ * and return a `MsgExecuteCosmos` ready for the relayer.
9451
+ */
9452
+ declare function buildMetaMaskExecuteCosmos(opts: BuildMetaMaskExecuteCosmosOptions): Promise<EncodeObject>;
9453
+ /**
9454
+ * The CANONICAL address-bound PQC derivation (SDK / wallet-adapter):
9455
+ * `shake256("qorechain:pqc:v1|" + account + "|" + mnemonic, 32)` → ML-DSA-87
9456
+ * keygen. This matches {@link ../accounts/unified.deriveUnifiedAccount}.
9457
+ */
9458
+ declare const CANONICAL_DERIVATION = "adapter";
9459
+ /**
9460
+ * The LEGACY chain-bridge / faucet-api PQC derivation:
9461
+ * `shake256(utf8(mnemonic), 32)` → ML-DSA-87 keygen. Not address-bound.
9462
+ */
9463
+ declare const LEGACY_DERIVATION = "bridge";
9464
+ /** Derive the LEGACY (chain-bridge) ML-DSA-87 keypair for a mnemonic. */
9465
+ declare function derivePqcLegacy(mnemonic: string): PqcKeypair;
9466
+ /** Options for {@link rotatePqcKeyMsgFromMnemonic}. */
9467
+ interface RotatePqcKeyMsgFromMnemonicOptions {
9468
+ account: string;
9469
+ mnemonic: string;
9470
+ chainId: string;
9471
+ /** PQC algorithm id (ML-DSA-87 = 1). */
9472
+ algorithmId?: number;
9473
+ /** Source derivation (defaults to the legacy chain-bridge derivation). */
9474
+ oldDerivation?: string;
9475
+ /** Target derivation (defaults to the canonical address-bound derivation). */
9476
+ newDerivation?: string;
9477
+ }
9478
+ /** Result of {@link rotatePqcKeyMsgFromMnemonic}. */
9479
+ interface RotatePqcKeyMsgFromMnemonicResult {
9480
+ /** The `{ typeUrl, value }` `MsgRotatePQCKey` to broadcast. */
9481
+ msg: EncodeObject;
9482
+ /** The OLD keypair (still the registered key until the rotation lands). */
9483
+ oldKeypair: PqcKeypair;
9484
+ /** The NEW keypair (becomes the registered key after rotation). */
9485
+ newKeypair: PqcKeypair;
9486
+ }
9487
+ /**
9488
+ * Build a `MsgRotatePQCKey` that rotates an account's ML-DSA-87 key (SAME
9489
+ * algorithm) from one derivation to another — canonically migrating a LEGACY
9490
+ * chain-bridge key (`shake256(mnemonic)`) to the canonical address-bound key
9491
+ * (`shake256("qorechain:pqc:v1|addr|mnemonic")`). Both keys dual-sign the
9492
+ * domain-separated rotation bytes.
9493
+ *
9494
+ * The returned message must be broadcast BY the account, cosigned (hybrid) with
9495
+ * the OLD key (it is still the registered key until the rotation lands).
9496
+ */
9497
+ declare function rotatePqcKeyMsgFromMnemonic(opts: RotatePqcKeyMsgFromMnemonicOptions): RotatePqcKeyMsgFromMnemonicResult;
9498
+
8460
9499
  /**
8461
9500
  * Native browser-wallet integration for QoreChain (Keplr and Leap).
8462
9501
  *
@@ -8660,6 +9699,13 @@ interface AbstractAccountQueryClient {
8660
9699
  account(req: QueryAccountRequest$2): Promise<QueryAccountResponse$2>;
8661
9700
  /** All abstract accounts. */
8662
9701
  accounts(req?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
9702
+ /**
9703
+ * The canonical authenticator permission taxonomy (v3.1.85): the valid
9704
+ * permission strings, the message-typeURL→permission mapping, the
9705
+ * never-delegable key-management typeURLs, and a `schema_version` clients
9706
+ * compare against their embedded copy to detect drift.
9707
+ */
9708
+ permissionSchema(req?: QueryPermissionSchemaRequest): Promise<QueryPermissionSchemaResponse>;
8663
9709
  }
8664
9710
  /** Multilayer (sidechain / paychain) module query client. */
8665
9711
  interface MultilayerQueryClient {
@@ -9468,6 +10514,6 @@ declare function migrateToHybrid(tx: TxClient, opts: MigrateToHybridOptions): Pr
9468
10514
  * callers who want to compose them directly. Internal helpers are not exported.
9469
10515
  */
9470
10516
  /** SDK version. */
9471
- declare const VERSION = "0.6.1";
10517
+ declare const VERSION = "0.7.0";
9472
10518
 
9473
- export { type AbstractAccountQueryClient, type Account, type AccountSequence, AlgorithmDilithium5, type AlgorithmID, AlgorithmMLKEM1024, AlgorithmUnspecified, type AllBalancesResponse, type AmmQueryClient, type AnchorStateOptions, type AttachHybridOptions, type AutoFeeOptions, type BalanceResponse, type BankSendOptions, type Bech32Config, type Bech32Prefixes, type BridgeQueryClient, type BroadcastMode, type BroadcastResult, type BuildHybridTxOptions, type BuiltHybridTx, type CallOptions, type ChallengeBatchOptions, type ClientFees, type CoinInfo, type ConnectPhantomUnifiedOptions, type ConnectTxOptions, type ContractMsg, type CosmWasmPayload, type CosmWasmReadClient, type CosmWasmSigningClient, type CosmosWalletConnection, type CosmosWalletName, type CreateClientOptions, type CreateCrossVMClientOptions, type CreateMultilayerClientOptions, type CreateRollupClientOptions, type CreateRollupOptions, type CrossVMAtomicResult, type CrossVMCallBase, type CrossVMCallOptions, type CrossVMCallResult, type CrossVMClient, type CrossVMWriteOptions, type CrossVmMessage, type CrossVmMessageResponse, type CrossVmParamsResponse, type CrossVmQueryClient, DEFAULT_GAS_MULTIPLIER, DEFAULT_GAS_PRICE, type DecodedTxError, type DenomOptions, type DerivationOptions, ETHSECP256K1_PUBKEY_TYPE, type Ed25519Account, type EnsurePqcRegisteredOptions, type EnsurePqcRegisteredResult, type EstimateFeeOptions, type EthBroadcaster, EthNativeSigner, type EthNativeSignerOptions, type EthSignParams, type EthSigningKey, type EthTxParams, type EventFilters, type EventStream, type EvmPayload, type ExecuteWithdrawalOptions, type ExplorerConfig, type FaucetConfig, type FeeInput, type FeeUrgency, type FetchLike, GasPrice, type GetBlockResponse, type GetCosmosWalletOptions, type GetJsonOptions, type GetTxFn, type GetTxResponse, HYBRID_SIG_TYPE_URL, type Handler, type HashInput, type HttpOptions, type HybridBroadcaster, type HybridPlacement, type HybridSendPath, HybridSigner, type IncludedTx, type InjectedCosmosWallet, type InstantiateOpts, JsonRpcClient, type JsonRpcClientOptions, JsonRpcError, type JsonRpcErrorObject, type JsonRpcResponse, type KeplrChainInfo, type KeplrCurrency, type KeplrFeeCurrency, type KeyType, type LicenseQueryClient, type LightNodeQueryClient, ML_DSA_87_PUBLIC_KEY_LENGTH, ML_DSA_87_SECRET_KEY_LENGTH, ML_DSA_87_SEED_LENGTH, ML_DSA_87_SIGNATURE_LENGTH, MSG_SEND_TYPE_URL, type MigratePqcKeyOptions, type MigrateToHybridOptions, type MultilayerClient, type MultilayerQueryClient, type MultilayerWriteOptions, NETWORKS, type NetworkConfig, type NetworkEndpoints, type NetworkName, type NewBlockEventLike, PHANTOM_DERIVATION_DOMAIN, type PQCHybridSignature$1 as PQCHybridSignature, PQC_KEY_STATUS_PRECOMPILE_ADDRESS, type PageResponse, type PaginatedOptions, type Pagination, type ParsedAccountAuth, type PayloadInput, type PendingCrossVmMessagesResponse, type PhantomProvider, type PqcKeypair, type PqcQueryClient, type PqcSignaturePart, PqcSigner, type PqcStatus, type PqcStatusSource, type QcaQueryClient, QorClient, type QoreChainClient, type QoreChainQueryClients, QoreHttpError, QoreTxError, type QueryValue, type RawPayload, type RdkQueryClient, type RegisterPaychainOptions, type RegisterSidechainOptions, type ReputationQueryClient, type RequestFaucetOptions, type ResolveChallengeOptions, RestClient, type RestClientOptions, type RetryOptions, type RlConsensusQueryClient, type RollupClient, type RollupLifecycleOptions, type RollupWriteOptions, type RouteTransactionOptions, STATIC_FALLBACK, type SearchTxsOptions, type SearchTxsResponse, type Secp256k1Account, type SignAndBroadcastHybridOptions, type SignAndBroadcastOptions, type SignOutput, type SignatureMode, type SignedEthTx, type Signer, type SigningClientLike, type SimulateOptions, type SubmitBatchOptions, type SubscriptionClient, type SvmPayload, type SvmQueryClient, type SyncBroadcaster, TxClient, type TxClientOptions, type TxConnectOptions, type TxErrorInput, type TxEventLike, type FeeInput$1 as TxFeeInput, type TxOrderBy, type TxQueryFilters, type TxResultLike, type UnifiedAccount, type UnifiedAddresses, type Unsubscribe, VERSION, type VMType, VM_TYPES, type WaitForTxOptions, abstractaccount, accountAuthInfo, addressesFrom20, algorithmName, amm, attachHybridExtension, authz, bank, bech32ToHex, bridge, broadcastAndWait, buildAminoTypes, buildEventsQuery, buildHybridSignatureExtension, buildHybridTx, buildRegisterPqcKeyMsg, buildTxQuery, buildUrl, bytesToBech32, calculateFee, clearAdmin, connectCosmWasmSigner, connectPhantomUnified, connectQueryClients, createClient, createCosmWasmClient, createCrossVMClient, createMultilayerClient, createQueryClients, createRollupClient, createSubscriptionClient, crossvm, decodeTxError, deriveEvmAccount, deriveNativeAccount, deriveSvmAccount, deriveUnifiedAccount, directSignerFromPrivateKey, distribution, encodeHybridExtension, ensurePqcRegistered, estimateFee, evmToQor, execute, explorerAddressUrl, explorerBlockUrl, explorerTxUrl, feegrant, formatUnits, fromBase, generateMnemonic, generatePqcKeypair, getBlock, getCodeDetails, getCodes, getContractInfo, getContracts, getCosmosWallet, getCrossVmMessage, getCrossVmParams, getJson, getLatestBlock, getNetwork, getPendingCrossVmMessages, getPqcStatus, getTx, gov, hexToBech32, ibc, instantiate, instantiate2, isChecksumAddress, isPqcRegistered, isSignatureAlgorithm, isTxFailure, isValidBech32, isValidEvmAddress, isValidSvmAddress, joinUrl, keccak256, keccak256Hex, license, lightnode, listNetworks, migrate, migratePqcKey, migrateToHybrid, msg, multilayer, parseEthPubkeyAny, parseUnits, postJsonRpc, pqc as pqcMsg, pqcSign, pqcVerify, qorToEvm, qoreAddresses, qorechainRegistry, qorechainRegistryTypes, index as qorechainTypes, queryContractSmart, rdk, requestFaucet, ripemd160, ripemd160Hex, rlconsensus, searchTxs, sha256, sha256Hex, signAndBroadcastHybrid, signClassicalEth, signHybridEth, staking, subscribeNewBlocks, subscribeTx, suggestChainInfo, svm, toBase, toChecksumAddress, toHex, txErrorFrom, unifiedAccountFromPhantomSignature, unifiedAccountFromSeed, updateAdmin, uploadCode, validateMnemonic, waitForTx, withRetry };
10519
+ export { type AbstractAccountConfigView, type AbstractAccountQueryClient, type AbstractAccountView, type Account, type AccountSequence, AlgorithmDilithium5, type AlgorithmID, AlgorithmMLKEM1024, AlgorithmUnspecified, type AllBalancesResponse, type AmmQueryClient, type AnchorStateOptions, type AttachHybridOptions, type AuthenticatorWallet, type AutoFeeOptions, type BalanceResponse, type BankSendOptions, type Bech32Config, type Bech32Prefixes, type BridgeQueryClient, type BroadcastMode, type BroadcastResult, type BuildHybridTxOptions, type BuildMetaMaskExecuteCosmosOptions, type BuildMetaMaskExecuteEvmOptions, type BuildPhantomExecuteCosmosOptions, type BuildPhantomExecuteEvmOptions, type BuiltHybridTx, CANONICAL_DERIVATION, type CallOptions, type ChallengeBatchOptions, type ClientFees, type CoinInfo, type ConnectPhantomUnifiedOptions, type ConnectTxOptions, type ContractMsg, type CosmWasmPayload, type CosmWasmReadClient, type CosmWasmSigningClient, type CosmosAuthSignBytesInput, type CosmosWalletConnection, type CosmosWalletName, type CreateClientOptions, type CreateCrossVMClientOptions, type CreateMultilayerClientOptions, type CreateRollupClientOptions, type CreateRollupOptions, type CrossVMAtomicResult, type CrossVMCallBase, type CrossVMCallOptions, type CrossVMCallResult, type CrossVMClient, type CrossVMWriteOptions, type CrossVmMessage, type CrossVmMessageResponse, type CrossVmParamsResponse, type CrossVmQueryClient, DEFAULT_GAS_MULTIPLIER, DEFAULT_GAS_PRICE, type DecodedTxError, type DenomOptions, type DerivationOptions, ETHSECP256K1_PUBKEY_TYPE, type Ed25519Account, type Eip1193Provider, type EnsurePqcRegisteredOptions, type EnsurePqcRegisteredResult, type EstimateFeeOptions, type EthBroadcaster, EthNativeSigner, type EthNativeSignerOptions, type EthSignParams, type EthSigningKey, type EthTxParams, type EventFilters, type EventStream, type EvmAuthSignBytesInput, type EvmPayload, type ExecuteCosmosMsgInput, type ExecuteEvmMsgInput, type ExecuteWithdrawalOptions, type ExplorerConfig, type FaucetConfig, type FeeInput, type FeeUrgency, type FetchLike, GasPrice, type GetBlockResponse, type GetCosmosWalletOptions, type GetJsonOptions, type GetTxFn, type GetTxResponse, HYBRID_SIG_TYPE_URL, type Handler, type HashInput, type HttpOptions, type HybridBroadcaster, type HybridPlacement, type HybridSendPath, HybridSigner, type IncludedTx, type InjectedCosmosWallet, type InstantiateOpts, JsonRpcClient, type JsonRpcClientOptions, JsonRpcError, type JsonRpcErrorObject, type JsonRpcResponse, type KeplrChainInfo, type KeplrCurrency, type KeplrFeeCurrency, type KeyType, LEGACY_DERIVATION, type LicenseQueryClient, type LightNodeQueryClient, ML_DSA_87_PUBLIC_KEY_LENGTH, ML_DSA_87_SECRET_KEY_LENGTH, ML_DSA_87_SEED_LENGTH, ML_DSA_87_SIGNATURE_LENGTH, MSG_SEND_TYPE_URL, type MigratePqcKeyOptions, type MigrateToHybridOptions, type MultilayerClient, type MultilayerQueryClient, type MultilayerWriteOptions, NETWORKS, type NetworkConfig, type NetworkEndpoints, type NetworkName, type NewBlockEventLike, PHANTOM_DERIVATION_DOMAIN, type PQCHybridSignature$1 as PQCHybridSignature, PQC_KEY_STATUS_PRECOMPILE_ADDRESS, type PageResponse, type PaginatedOptions, type Pagination, type ParsedAccountAuth, type PayloadInput, type PendingCrossVmMessagesResponse, type PermissionSchemaResponse, type PhantomProvider, type PqcKeypair, type PqcQueryClient, type PqcSignaturePart, PqcSigner, type PqcStatus, type PqcStatusSource, type QcaQueryClient, QorClient, type QoreChainClient, type QoreChainQueryClients, QoreHttpError, QoreTxError, type QueryValue, type RawPayload, type RdkQueryClient, type RegisterEthAuthenticatorMsgInput, type RegisterPaychainOptions, type RegisterSidechainOptions, type ReputationQueryClient, type RequestFaucetOptions, type ResolveChallengeOptions, RestClient, type RestClientOptions, type RetryOptions, type RevokeAuthenticatorMsgInput, type RlConsensusQueryClient, type RollupClient, type RollupLifecycleOptions, type RollupWriteOptions, type RotatePqcKeyMsgFromMnemonicOptions, type RotatePqcKeyMsgFromMnemonicResult, type RotatePqcKeyMsgInput, type RouteTransactionOptions, STATIC_FALLBACK, type SearchTxsOptions, type SearchTxsResponse, type Secp256k1Account, type SignAndBroadcastHybridOptions, type SignAndBroadcastOptions, type SignOutput, type SignatureMode, type SignedEthTx, type Signer, type SigningClientLike, type SimulateOptions, type SubmitBatchOptions, type SubscriptionClient, type SvmPayload, type SvmQueryClient, type SyncBroadcaster, TxClient, type TxClientOptions, type TxConnectOptions, type TxErrorInput, type TxEventLike, type FeeInput$1 as TxFeeInput, type TxOrderBy, type TxQueryFilters, type TxResultLike, type UnifiedAccount, type UnifiedAddresses, type Unsubscribe, VERSION, type VMType, VM_TYPES, type WaitForTxOptions, abstractaccount, accountAuthInfo, addressesFrom20, algorithmName, amm, attachHybridExtension, authz, bank, be64, bech32ToHex, bridge, broadcastAndWait, buildAminoTypes, buildEventsQuery, buildHybridSignatureExtension, buildHybridTx, buildMetaMaskExecuteCosmos, buildMetaMaskExecuteEvm, buildPhantomExecuteCosmos, buildPhantomExecuteEvm, buildRegisterPqcKeyMsg, buildTxQuery, buildUrl, bytesToBech32, calculateFee, clearAdmin, connectCosmWasmSigner, connectPhantomUnified, connectQueryClients, cosmosAuthSignBytes, createClient, createCosmWasmClient, createCrossVMClient, createMultilayerClient, createQueryClients, createRollupClient, createSubscriptionClient, crossvm, decodeTxError, deriveEvmAccount, deriveNativeAccount, derivePqcLegacy, deriveSvmAccount, deriveUnifiedAccount, directSignerFromPrivateKey, distribution, encodeHybridExtension, ensurePqcRegistered, estimateFee, evmAuthSignBytes, evmToQor, execute, executeCosmosMsg, executeEvmMsg, explorerAddressUrl, explorerBlockUrl, explorerTxUrl, feegrant, formatUnits, fromBase, generateMnemonic, generatePqcKeypair, getBlock, getCodeDetails, getCodes, getContractInfo, getContracts, getCosmosWallet, getCrossVmMessage, getCrossVmParams, getJson, getLatestBlock, getNetwork, getPendingCrossVmMessages, getPqcStatus, getTx, gov, hexToBech32, ibc, instantiate, instantiate2, isChecksumAddress, isPqcRegistered, isSignatureAlgorithm, isTxFailure, isValidBech32, isValidEvmAddress, isValidSvmAddress, joinUrl, keccak256, keccak256Hex, lengthPrefixed, license, lightnode, listNetworks, migrate, migratePqcKey, migrateToHybrid, msg, multilayer, parseEthPubkeyAny, parseUnits, postJsonRpc, pqc as pqcMsg, pqcSign, pqcVerify, qorToEvm, qoreAddresses, qorechainRegistry, qorechainRegistryTypes, index as qorechainTypes, queryContractSmart, rdk, registerEthAuthenticatorMsg, requestFaucet, revokeAuthenticatorMsg, ripemd160, ripemd160Hex, rlconsensus, rotatePqcKeyMsg, rotatePqcKeyMsgFromMnemonic, rotationSignBytes, searchTxs, sha256, sha256Hex, signAndBroadcastHybrid, signClassicalEth, signHybridEth, staking, subscribeNewBlocks, subscribeTx, suggestChainInfo, svm, toBase, toChecksumAddress, toHex, txErrorFrom, unifiedAccountFromPhantomSignature, unifiedAccountFromSeed, updateAdmin, uploadCode, validateMnemonic, waitForTx, withRetry };