@wowok/wowok 2.3.7 → 2.3.9
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/esm/Transaction-B_HAG_T7.mjs +1 -0
- package/dist/esm/arb-Be5KiDXS.mjs +1 -0
- package/dist/esm/base-CiXs-ApK.mjs +1 -0
- package/dist/esm/bcs/index.d.mts +1 -1
- package/dist/esm/{cache-DTr3MtXv.d.mts → cache-CWB_UDG2.d.mts} +6 -0
- package/dist/esm/call-BjhpVeiy.mjs +1 -0
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/{client-VxiBQfen.mjs → client-D6nQHb4K.mjs} +1 -1
- package/dist/esm/common-CQggZ8z4.mjs +1 -0
- package/dist/esm/cryptography/index.d.mts +1 -1
- package/dist/esm/cryptography/index.mjs +1 -1
- package/dist/esm/ed25519-BrJWQ45w.mjs +1 -1
- package/dist/esm/evm-account-BPYk6EpK.d.mts +259 -0
- package/dist/esm/exception--UEPnygY.mjs +1 -0
- package/dist/esm/{falcon512-J8Pe5emy.mjs → falcon512-B4y-EH2f.mjs} +1 -1
- package/dist/esm/graphql/index.d.mts +1 -1
- package/dist/esm/graphql/index.mjs +1 -1
- package/dist/esm/{graphql-BXSiG4J0.mjs → graphql-nv5poiC5.mjs} +1 -1
- package/dist/esm/grpc/index.d.mts +1 -1
- package/dist/esm/grpc/index.mjs +1 -1
- package/dist/esm/{grpc-clMX5Wo0.mjs → grpc-BffnRW4z.mjs} +1 -1
- package/dist/esm/{index-o_aMVwsK.d.mts → index-B-cxGU73.d.mts} +6 -6
- package/dist/esm/{index-Q3W63gcw.d.mts → index-D5-7_Kub.d.mts} +719 -297
- package/dist/esm/index.d.mts +8 -6
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/jsonRpc/index.d.mts +1 -1
- package/dist/esm/jsonRpc/index.mjs +1 -1
- package/dist/esm/keypairs/ed25519/index.d.mts +1 -1
- package/dist/esm/keypairs/falcon512/index.d.mts +1 -1
- package/dist/esm/keypairs/falcon512/index.mjs +1 -1
- package/dist/esm/keypairs/passkey/index.d.mts +1 -1
- package/dist/esm/keypairs/passkey/index.mjs +1 -1
- package/dist/esm/keypairs/secp256k1/index.d.mts +1 -1
- package/dist/esm/keypairs/secp256k1/index.mjs +1 -1
- package/dist/esm/keypairs/secp256r1/index.d.mts +1 -1
- package/dist/esm/keypairs/secp256r1/index.mjs +1 -1
- package/dist/esm/messenger-api-BEWdcJrA.mjs +1 -0
- package/dist/esm/{messenger-Bokr4-T2.mjs → messenger-loQQ45UB.mjs} +1 -1
- package/dist/esm/multisig/index.d.mts +1 -1
- package/dist/esm/multisig/index.mjs +1 -1
- package/dist/esm/{network-DOe6BgcD.mjs → network-CeDd07Hg.mjs} +1 -1
- package/dist/esm/{networks-DhrBVvu6.d.mts → networks-CEYOA-1U.d.mts} +95 -16
- package/dist/esm/object-BTDJEtwG.mjs +1 -0
- package/dist/esm/passkey-D0XCtEYg.mjs +1 -0
- package/dist/esm/proof-CnI3UU0l.mjs +1 -0
- package/dist/esm/publickey-BPT9QiGv.mjs +1 -1
- package/dist/esm/{publickey-S1fGFYJX.mjs → publickey-Bkjn-YAu.mjs} +1 -1
- package/dist/esm/publickey-qLbcTInT.mjs +1 -1
- package/dist/esm/publickey-zB4h0HOi.mjs +1 -1
- package/dist/esm/received-CJvBDSIl.mjs +1 -0
- package/dist/esm/{rlp-BcIAoIV4.d.mts → rlp-Do3rPWRV.d.mts} +9 -1
- package/dist/esm/rolldown-runtime-D7D4PA-g.mjs +1 -0
- package/dist/esm/secp256k1-B-8mI0dI.mjs +1 -0
- package/dist/esm/secp256r1-B3O6jSlP.mjs +1 -0
- package/dist/esm/secure-storage-DRwhPVz3.d.mts +95 -0
- package/dist/esm/service-BLRHy6cG.mjs +1 -0
- package/dist/esm/storage-Ct2mZnD0.d.mts +69 -0
- package/dist/esm/transactions/index.d.mts +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/{transactions-CDWnTSTU.mjs → transactions-rYyItYOR.mjs} +1 -1
- package/dist/esm/util-YC562UOE.mjs +1 -0
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils-IlS3fpdQ.mjs +1 -1
- package/dist/esm/verify/index.d.mts +1 -1
- package/dist/esm/verify/index.mjs +1 -1
- package/dist/esm/w/call/allocation.d.mts +1 -1
- package/dist/esm/w/call/allocation.mjs +1 -1
- package/dist/esm/w/call/arbitration.d.mts +1 -1
- package/dist/esm/w/call/arbitration.mjs +1 -1
- package/dist/esm/w/call/base.d.mts +1 -1
- package/dist/esm/w/call/base.mjs +1 -1
- package/dist/esm/w/call/demand.d.mts +1 -1
- package/dist/esm/w/call/demand.mjs +1 -1
- package/dist/esm/w/call/guard.d.mts +1 -1
- package/dist/esm/w/call/guard.mjs +1 -1
- package/dist/esm/w/call/index.d.mts +2 -2
- package/dist/esm/w/call/index.mjs +1 -1
- package/dist/esm/w/call/machine.d.mts +1 -1
- package/dist/esm/w/call/machine.mjs +1 -1
- package/dist/esm/w/call/passport.d.mts +1 -1
- package/dist/esm/w/call/passport.mjs +1 -1
- package/dist/esm/w/call/payment.d.mts +1 -1
- package/dist/esm/w/call/payment.mjs +1 -1
- package/dist/esm/w/call/permission.d.mts +1 -1
- package/dist/esm/w/call/permission.mjs +1 -1
- package/dist/esm/w/call/progress.d.mts +1 -1
- package/dist/esm/w/call/progress.mjs +1 -1
- package/dist/esm/w/call/repository.d.mts +1 -1
- package/dist/esm/w/call/repository.mjs +1 -1
- package/dist/esm/w/call/reward.d.mts +1 -1
- package/dist/esm/w/call/reward.mjs +1 -1
- package/dist/esm/w/call/service.d.mts +1 -1
- package/dist/esm/w/call/service.mjs +1 -1
- package/dist/esm/w/call/treasury.d.mts +1 -1
- package/dist/esm/w/call/treasury.mjs +1 -1
- package/dist/esm/w/common.d.mts +1 -1
- package/dist/esm/w/common.mjs +1 -1
- package/dist/esm/w/index.d.mts +7 -5
- package/dist/esm/w/index.mjs +1 -1
- package/dist/esm/w/local/account.d.mts +3 -2
- package/dist/esm/w/local/account.mjs +1 -1
- package/dist/esm/w/local/cache.d.mts +1 -1
- package/dist/esm/w/local/cache.mjs +1 -1
- package/dist/esm/w/local/config.mjs +1 -1
- package/dist/esm/w/local/evm/networks.d.mts +1 -1
- package/dist/esm/w/local/evm/networks.mjs +1 -1
- package/dist/esm/w/local/evm/rlp.d.mts +2 -2
- package/dist/esm/w/local/evm/rlp.mjs +1 -1
- package/dist/esm/w/local/evm-account.d.mts +3 -3
- package/dist/esm/w/local/evm-account.mjs +1 -1
- package/dist/esm/w/local/index.d.mts +7 -5
- package/dist/esm/w/local/index.mjs +1 -1
- package/dist/esm/w/local/local.mjs +1 -1
- package/dist/esm/w/local/secure-storage.d.mts +2 -0
- package/dist/esm/w/local/secure-storage.mjs +1 -0
- package/dist/esm/w/local/storage.d.mts +2 -53
- package/dist/esm/w/local/storage.mjs +1 -1
- package/dist/esm/w/local/token.d.mts +1 -1
- package/dist/esm/w/local/token.mjs +1 -1
- package/dist/esm/w/local/util.mjs +1 -1
- package/dist/esm/w/local/wip.mjs +1 -1
- package/dist/esm/w/messenger/index.d.mts +1 -1
- package/dist/esm/w/messenger/index.mjs +1 -1
- package/dist/esm/w/messenger/messenger-api.d.mts +1 -1
- package/dist/esm/w/messenger/messenger-api.mjs +1 -1
- package/dist/esm/w/messenger/messenger.d.mts +1 -1
- package/dist/esm/w/messenger/messenger.mjs +1 -1
- package/dist/esm/w/messenger/pq/crypto.mjs +1 -1
- package/dist/esm/w/messenger/pq/erasure.mjs +1 -1
- package/dist/esm/w/messenger/storage.d.mts +1 -1
- package/dist/esm/w/messenger/storage.mjs +1 -1
- package/dist/esm/w/messenger/types.d.mts +1 -1
- package/dist/esm/w/messenger/types.mjs +1 -1
- package/dist/esm/w/query/index.d.mts +1 -1
- package/dist/esm/w/query/index.mjs +1 -1
- package/dist/esm/w/query/object.d.mts +1 -1
- package/dist/esm/w/query/object.mjs +1 -1
- package/dist/esm/w-ChCuDlfz.mjs +1 -0
- package/package.json +4 -4
- package/dist/esm/Transaction-YosVjNZA.mjs +0 -1
- package/dist/esm/arb-NYOQp2oH.mjs +0 -1
- package/dist/esm/base-fdHKX-jS.mjs +0 -1
- package/dist/esm/bridge-AHnWGzN1.mjs +0 -1
- package/dist/esm/call-7FZbEsRl.mjs +0 -1
- package/dist/esm/common-fDv-Cuzq.mjs +0 -1
- package/dist/esm/evm-account-XzrSThfS.d.mts +0 -185
- package/dist/esm/local-c-Tbdkfa.mjs +0 -1
- package/dist/esm/messenger-api-1m7Lp85p.mjs +0 -1
- package/dist/esm/object-DzsQI-0e.mjs +0 -1
- package/dist/esm/passkey-Dh6btBAD.mjs +0 -1
- package/dist/esm/proof-DER5SXw4.mjs +0 -1
- package/dist/esm/received-D7jEPxlE.mjs +0 -1
- package/dist/esm/rolldown-runtime-DkIiUugF.mjs +0 -1
- package/dist/esm/secp256k1-BZUdTK1D.mjs +0 -1
- package/dist/esm/secp256r1-COXOSFIF.mjs +0 -1
- package/dist/esm/service-W7-dgV57.mjs +0 -1
- package/dist/esm/util-B3X9acB0.mjs +0 -1
- package/dist/esm/w/call/bridge.d.mts +0 -2
- package/dist/esm/w/call/bridge.mjs +0 -1
- package/dist/esm/w-5GiAI3sP.mjs +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { a as TypeTag } from "./type-tag-serializer-BOCNO96r.mjs";
|
|
2
|
-
import { c as PureTypeName, l as ShapeFromPureTypeName, s as wowBcs, u as ValidPureTypeName } from "./index-
|
|
2
|
+
import { c as PureTypeName, l as ShapeFromPureTypeName, s as wowBcs, u as ValidPureTypeName } from "./index-B-cxGU73.mjs";
|
|
3
3
|
import { r as ENTRYPOINT } from "./config-Bdlw4pMJ.mjs";
|
|
4
|
+
import { t as IAccountStorage } from "./storage-Ct2mZnD0.mjs";
|
|
4
5
|
import { d as LocalMarkFilter, g as MarkParam, h as MarkData, n as InfoData, s as LocalInfoFilter } from "./local-CtSmnSPu.mjs";
|
|
5
|
-
import { n as CacheExpireType } from "./cache-
|
|
6
|
+
import { n as CacheExpireType } from "./cache-CWB_UDG2.mjs";
|
|
6
7
|
import { BcsType, EnumInputShape, EnumOutputShape, SerializedBcs } from "@mysten/bcs";
|
|
7
8
|
import { Simplify, UnionToIntersection } from "@mysten/utils";
|
|
8
9
|
import { GenericSchema, InferInput, InferOutput, ObjectSchema } from "valibot";
|
|
@@ -13364,11 +13365,6 @@ declare function publicKeyFromWowBytes(publicKey: string | Uint8Array, options?:
|
|
|
13364
13365
|
}): PublicKey;
|
|
13365
13366
|
//#endregion
|
|
13366
13367
|
//#region src/w/local/account.d.ts
|
|
13367
|
-
interface IAccountStorage {
|
|
13368
|
-
get(): Promise<string | undefined>;
|
|
13369
|
-
put(data: string): Promise<void>;
|
|
13370
|
-
clear(): Promise<void>;
|
|
13371
|
-
}
|
|
13372
13368
|
declare const DEFAULT_ACCOUNT_NAME = "";
|
|
13373
13369
|
declare const MAX_MESSENGER_ACCOUNTS = 100;
|
|
13374
13370
|
type FaucetCoinInfo = {
|
|
@@ -13407,9 +13403,35 @@ declare class Account {
|
|
|
13407
13403
|
private static _lock;
|
|
13408
13404
|
setStorage(storage: IAccountStorage): void;
|
|
13409
13405
|
/**
|
|
13410
|
-
*
|
|
13406
|
+
* 设置自定义存储,并自动启用透明加密。
|
|
13407
|
+
*/
|
|
13408
|
+
setEncryptedStorage(storage: IAccountStorage): void;
|
|
13409
|
+
/**
|
|
13410
|
+
* 获取存储实例,如果未初始化则自动初始化(默认启用透明加密)。
|
|
13411
13411
|
*/
|
|
13412
13412
|
private getStorage;
|
|
13413
|
+
/**
|
|
13414
|
+
* 解锁密码保护的账户数据。
|
|
13415
|
+
* 进程重启后、或其他进程设置了密码后,需要调用此方法才能正常读写账户数据。
|
|
13416
|
+
*/
|
|
13417
|
+
unlock(password: string): Promise<void>;
|
|
13418
|
+
/**
|
|
13419
|
+
* 清除当前进程的会话密码,锁定账户数据。
|
|
13420
|
+
*/
|
|
13421
|
+
lock(): Promise<void>;
|
|
13422
|
+
/**
|
|
13423
|
+
* 将默认加密升级为密码保护。
|
|
13424
|
+
* 设置后当前进程自动解锁;其他已运行进程需要调用 unlock() 重新提供密码。
|
|
13425
|
+
*/
|
|
13426
|
+
setEncryptionPassword(password: string): Promise<void>;
|
|
13427
|
+
/**
|
|
13428
|
+
* 修改加密密码。
|
|
13429
|
+
*/
|
|
13430
|
+
changeEncryptionPassword(oldPassword: string, newPassword: string): Promise<void>;
|
|
13431
|
+
/**
|
|
13432
|
+
* 移除密码保护,回退到默认加密。
|
|
13433
|
+
*/
|
|
13434
|
+
removeEncryptionPassword(password: string): Promise<void>;
|
|
13413
13435
|
static Instance(): Account;
|
|
13414
13436
|
private accountData;
|
|
13415
13437
|
private static nameMatch;
|
|
@@ -16578,231 +16600,6 @@ declare class CallContact extends CallBase {
|
|
|
16578
16600
|
operate(env: CallEnv, tx: Transaction$1, passport?: PassportObject, submission?: GuardSubmissionToFill[]): Promise<void>;
|
|
16579
16601
|
}
|
|
16580
16602
|
//#endregion
|
|
16581
|
-
//#region src/w/bridge/types.d.ts
|
|
16582
|
-
/**
|
|
16583
|
-
* Bridge 模块共享类型定义
|
|
16584
|
-
*
|
|
16585
|
-
* 注意区分两种 chainId:
|
|
16586
|
-
* - EVM chainId(用于 EVM 交易签名,如 ETH mainnet = 1)→ 见 local/evm-account.ts
|
|
16587
|
-
* - Bridge sourceChain ID(用于 bridge 协议消息,如 ETH mainnet = 10)→ 见下方 BridgeChainId
|
|
16588
|
-
*/
|
|
16589
|
-
/**
|
|
16590
|
-
* Bridge 协议中的链 ID(sourceChain / targetChain 字段使用)
|
|
16591
|
-
* 仅支持 ETH 主网与 WOW 主网;预留 L2 / EVM 兼容链占位(后续用户确认后启用)。
|
|
16592
|
-
* 本 SDK 不支持测试网(如 Sepolia / Holesky / WOW 测试网)。
|
|
16593
|
-
*/
|
|
16594
|
-
declare enum BridgeChainId {
|
|
16595
|
-
/** WOW 主网(bridge 协议层) */
|
|
16596
|
-
WowMainnet = 0,
|
|
16597
|
-
/** ETH 主网(bridge 协议层 = 10) */
|
|
16598
|
-
EthMainnet = 10
|
|
16599
|
-
}
|
|
16600
|
-
/**
|
|
16601
|
-
* 判断 chainId 是否为 EVM 系(需要 EvmAccount 签名)
|
|
16602
|
-
* 当前仅 ETH 主网;L2 启用后扩展。
|
|
16603
|
-
*/
|
|
16604
|
-
declare function isEvmChain(chainId: BridgeChainId): boolean;
|
|
16605
|
-
/** 判断 chainId 是否为 WOW 系 */
|
|
16606
|
-
declare function isWowChain(chainId: BridgeChainId): boolean;
|
|
16607
|
-
declare enum BridgeVersion {
|
|
16608
|
-
/** V1:原始版本,无 timestamp,受 BridgeLimiter 24h 限额约束 */
|
|
16609
|
-
V1 = 1,
|
|
16610
|
-
/** V2:带 timestamp,成熟消息(>48h)可绕过 limiter(SDK 默认) */
|
|
16611
|
-
V2 = 2
|
|
16612
|
-
}
|
|
16613
|
-
/** Bridge 支持的 token 符号(预留扩展) */
|
|
16614
|
-
type BridgeTokenSymbol = "ETH" | "BTC" | "USDC" | "USDT" | "WOW";
|
|
16615
|
-
/**
|
|
16616
|
-
* 已注册的 Bridge Token
|
|
16617
|
-
* 主网默认值可被 BridgeConfig.tokens 覆盖。
|
|
16618
|
-
*/
|
|
16619
|
-
interface BridgeToken {
|
|
16620
|
-
/** 链上 token ID(如 ETH 跨链用 1,不能用 2 的原生 ETH) */
|
|
16621
|
-
tokenId: number;
|
|
16622
|
-
symbol: BridgeTokenSymbol;
|
|
16623
|
-
/** WOW 侧 type tag,如 "0x...::eth::ETH" */
|
|
16624
|
-
wowTypeTag: string;
|
|
16625
|
-
/** EVM 侧 ERC20 合约地址(ETH 原生为地址零) */
|
|
16626
|
-
evmAddress: string;
|
|
16627
|
-
/** EVM 侧 decimals(ETH=18, USDC=6, BTC=8) */
|
|
16628
|
-
evmDecimals: number;
|
|
16629
|
-
/** WOW 侧 decimals(固定 9 或 bridged 8) */
|
|
16630
|
-
wowDecimals: number;
|
|
16631
|
-
/**
|
|
16632
|
-
* 该 token 在哪些 EVM 链上可用(预留 L2 扩展)
|
|
16633
|
-
* 当前仅 ETH 主网;L2 启用后可在此添加链 ID。
|
|
16634
|
-
*/
|
|
16635
|
-
evmChains?: BridgeChainId[];
|
|
16636
|
-
}
|
|
16637
|
-
/** Bridge Committee 成员(验证者节点) */
|
|
16638
|
-
interface BridgeCommitteeMember {
|
|
16639
|
-
/** 0x + 33 bytes compressed secp256k1 */
|
|
16640
|
-
pubkey: string;
|
|
16641
|
-
/** 该节点权重(quorum 需 > 2/3 total weight) */
|
|
16642
|
-
weight: number;
|
|
16643
|
-
/** 节点 REST base URL,如 https://bridge-node-0.wowok.net:9211 */
|
|
16644
|
-
baseUrl: string;
|
|
16645
|
-
}
|
|
16646
|
-
/**
|
|
16647
|
-
* Bridge 消息(V2 带 timestamp)
|
|
16648
|
-
* 对齐 Rust `BridgeMessage` / EVM `Message` 结构。
|
|
16649
|
-
*/
|
|
16650
|
-
interface BridgeMessage {
|
|
16651
|
-
/** 源链 ID(BridgeChainId) */
|
|
16652
|
-
sourceChain: number;
|
|
16653
|
-
/** 目标链 ID(BridgeChainId) */
|
|
16654
|
-
targetChain: number;
|
|
16655
|
-
/** Bridge 序列号 */
|
|
16656
|
-
nonce: bigint;
|
|
16657
|
-
/** 发送方地址(源链,bytes 原始值,EVM=20 字节 / WOW=32 字节) */
|
|
16658
|
-
sender: string;
|
|
16659
|
-
/** 接收方地址(目标链,bytes 原始值) */
|
|
16660
|
-
recipient: string;
|
|
16661
|
-
/** token ID */
|
|
16662
|
-
tokenId: number;
|
|
16663
|
-
/** WOW 侧金额(8 decimals) */
|
|
16664
|
-
amount: bigint;
|
|
16665
|
-
/** BridgeAction 类型:0=TokenTransfer */
|
|
16666
|
-
messageType: number;
|
|
16667
|
-
/** V2 only:消息 timestamp(ms) */
|
|
16668
|
-
timestampMs?: bigint;
|
|
16669
|
-
}
|
|
16670
|
-
/** 跨链转账状态(统一抽象,屏蔽 V1/V2 差异) */
|
|
16671
|
-
declare enum TransferStatus {
|
|
16672
|
-
/** 源链已 deposit,签名收集中 */
|
|
16673
|
-
Pending = "pending",
|
|
16674
|
-
/** 签名已达 quorum */
|
|
16675
|
-
Approved = "approved",
|
|
16676
|
-
/** 已在目标链 claim */
|
|
16677
|
-
Claimed = "claimed",
|
|
16678
|
-
/** 失败 */
|
|
16679
|
-
Failed = "failed",
|
|
16680
|
-
/** 未找到 */
|
|
16681
|
-
NotFound = "not_found"
|
|
16682
|
-
}
|
|
16683
|
-
/** 跨链转账完整记录 */
|
|
16684
|
-
interface TransferRecord {
|
|
16685
|
-
status: TransferStatus;
|
|
16686
|
-
seqNum: bigint;
|
|
16687
|
-
sourceChain: BridgeChainId;
|
|
16688
|
-
targetChain: BridgeChainId;
|
|
16689
|
-
tokenId: number;
|
|
16690
|
-
/** WOW 侧 8-decimals 金额 */
|
|
16691
|
-
amountWow: bigint;
|
|
16692
|
-
/** 源链地址 */
|
|
16693
|
-
sender: string;
|
|
16694
|
-
/** 目标链地址 */
|
|
16695
|
-
recipient: string;
|
|
16696
|
-
messageVersion: BridgeVersion;
|
|
16697
|
-
/** V2 only:消息 timestamp(ms) */
|
|
16698
|
-
timestampMs?: bigint;
|
|
16699
|
-
/** 已收集的签名 hex(已验证的) */
|
|
16700
|
-
verifiedSignatures?: string[];
|
|
16701
|
-
}
|
|
16702
|
-
/** Bridge 对象 summary(链上查询结果) */
|
|
16703
|
-
interface BridgeSummary {
|
|
16704
|
-
/** Bridge 对象 ID */
|
|
16705
|
-
bridgeObjectId: string;
|
|
16706
|
-
/** EVM chainId(用于 bridge 的 sourceChain 映射) */
|
|
16707
|
-
chainId: number;
|
|
16708
|
-
/** 是否暂停 */
|
|
16709
|
-
paused: boolean;
|
|
16710
|
-
/** Committee 成员列表 */
|
|
16711
|
-
committee: BridgeCommitteeMember[];
|
|
16712
|
-
/** Treasury 地址 */
|
|
16713
|
-
treasury?: string;
|
|
16714
|
-
/** 已注册的 token 列表 */
|
|
16715
|
-
tokens: BridgeToken[];
|
|
16716
|
-
}
|
|
16717
|
-
/** 24h 限额信息 */
|
|
16718
|
-
interface BridgeLimit {
|
|
16719
|
-
/** 过去 24h 已发送金额 */
|
|
16720
|
-
sent24h: bigint;
|
|
16721
|
-
/** 过去 24h 已接收金额 */
|
|
16722
|
-
received24h: bigint;
|
|
16723
|
-
/** 24h 限额 */
|
|
16724
|
-
limit24h: bigint;
|
|
16725
|
-
}
|
|
16726
|
-
/** Bridge 节点对 action 的签名 */
|
|
16727
|
-
interface SignedAction {
|
|
16728
|
-
/** 签名者公钥(compressed,0x + 33 hex) */
|
|
16729
|
-
signerPubkey: string;
|
|
16730
|
-
/** secp256k1 签名(r(32) + s(32) + v(1) → 0x + 130 hex) */
|
|
16731
|
-
signature: string;
|
|
16732
|
-
/** 签名者权重 */
|
|
16733
|
-
weight: number;
|
|
16734
|
-
}
|
|
16735
|
-
/** 调用结果(WOW 侧交易) */
|
|
16736
|
-
interface BridgeCallResult {
|
|
16737
|
-
digest: string;
|
|
16738
|
-
seqNum?: bigint;
|
|
16739
|
-
status: TransferStatus;
|
|
16740
|
-
}
|
|
16741
|
-
//#endregion
|
|
16742
|
-
//#region src/w/call/bridge.d.ts
|
|
16743
|
-
interface CallBridge_DepositWow_Data {
|
|
16744
|
-
/** 跨链金额(最小单位,wowDecimals) */
|
|
16745
|
-
amount: bigint;
|
|
16746
|
-
/** 跨链 token 的 WOW type tag,如 "0x2::eth::ETH" */
|
|
16747
|
-
tokenType: string;
|
|
16748
|
-
/** ETH 接收地址(20 字节 hex,0x 开头) */
|
|
16749
|
-
recipientEthAddress: string;
|
|
16750
|
-
/** 目标链 ID(默认 EthMainnet=10) */
|
|
16751
|
-
destinationChainId?: BridgeChainId;
|
|
16752
|
-
}
|
|
16753
|
-
/**
|
|
16754
|
-
* WOW→ETH 方向 deposit(标准 CallBase 模式)
|
|
16755
|
-
*
|
|
16756
|
-
* Move 入口:
|
|
16757
|
-
* bridge::bridge::send_token_v2<T>(
|
|
16758
|
-
* bridge: &mut Bridge, target_chain: u8, target_address: vector<u8>,
|
|
16759
|
-
* token: Coin<T>, clock: &Clock, ctx: &mut TxContext,
|
|
16760
|
-
* )
|
|
16761
|
-
*
|
|
16762
|
-
* call() 完成后,lastSeqNum / lastDigest 会被填充,供后续签名收集与 ETH claim 使用。
|
|
16763
|
-
*/
|
|
16764
|
-
declare class CallBridge_DepositWow extends CallBase {
|
|
16765
|
-
data: CallBridge_DepositWow_Data;
|
|
16766
|
-
/** 最近一次 call() 的 WOW tx digest */
|
|
16767
|
-
lastDigest?: string;
|
|
16768
|
-
/** 最近一次 call() 解析出的 bridge seqNum(来自 TokenDepositedEventV2) */
|
|
16769
|
-
lastSeqNum?: bigint;
|
|
16770
|
-
/** 最近一次 call() 的完整回执 */
|
|
16771
|
-
lastReceipt?: WowTransactionBlockResponse;
|
|
16772
|
-
constructor(data: CallBridge_DepositWow_Data);
|
|
16773
|
-
call(env: CallEnv): Promise<CallResult>;
|
|
16774
|
-
protected operate(env: CallEnv, tx: Transaction$1, _passport?: PassportObject, _submission?: GuardSubmissionToFill[]): Promise<void>;
|
|
16775
|
-
}
|
|
16776
|
-
interface CallBridge_ClaimWow_Data {
|
|
16777
|
-
/** 源链 ID(默认 EthMainnet=10) */
|
|
16778
|
-
sourceChainId?: BridgeChainId;
|
|
16779
|
-
/** Bridge 序列号(来自 ETH deposit 事件 TokensDepositedV2.bridgeSeqNum) */
|
|
16780
|
-
bridgeSeqNum: bigint;
|
|
16781
|
-
/** claim token 的 WOW type tag,如 "0x2::eth::ETH" */
|
|
16782
|
-
tokenType: string;
|
|
16783
|
-
}
|
|
16784
|
-
/**
|
|
16785
|
-
* ETH→WOW 方向 claim(标准 CallBase 模式)
|
|
16786
|
-
*
|
|
16787
|
-
* Move 入口:
|
|
16788
|
-
* bridge::bridge::claim_and_transfer_token<T>(
|
|
16789
|
-
* bridge: &mut Bridge, clock: &Clock, source_chain: u8,
|
|
16790
|
-
* bridge_seq_num: u64, ctx: &mut TxContext,
|
|
16791
|
-
* )
|
|
16792
|
-
*
|
|
16793
|
-
* 任意人都可调用,token 自动转给原始 recipient。
|
|
16794
|
-
*/
|
|
16795
|
-
declare class CallBridge_ClaimWow extends CallBase {
|
|
16796
|
-
data: CallBridge_ClaimWow_Data;
|
|
16797
|
-
/** 最近一次 call() 的 WOW tx digest */
|
|
16798
|
-
lastDigest?: string;
|
|
16799
|
-
/** 最近一次 call() 的完整回执 */
|
|
16800
|
-
lastReceipt?: WowTransactionBlockResponse;
|
|
16801
|
-
constructor(data: CallBridge_ClaimWow_Data);
|
|
16802
|
-
call(env: CallEnv): Promise<CallResult>;
|
|
16803
|
-
protected operate(_env: CallEnv, tx: Transaction$1, _passport?: PassportObject, _submission?: GuardSubmissionToFill[]): Promise<void>;
|
|
16804
|
-
}
|
|
16805
|
-
//#endregion
|
|
16806
16603
|
//#region src/w/call/util.d.ts
|
|
16807
16604
|
declare const getCallEnvAccount: (env: CallEnv) => Promise<string>;
|
|
16808
16605
|
declare const resolveCallEnv: (env: CallEnv) => Promise<string>;
|
|
@@ -18559,6 +18356,241 @@ type SettingsResponse = {
|
|
|
18559
18356
|
*/
|
|
18560
18357
|
declare function settings(request: SettingsRequest): Promise<SettingsResponse>;
|
|
18561
18358
|
//#endregion
|
|
18359
|
+
//#region src/w/bridge/types.d.ts
|
|
18360
|
+
/**
|
|
18361
|
+
* Bridge 模块共享类型定义
|
|
18362
|
+
*
|
|
18363
|
+
* 注意区分两种 chainId:
|
|
18364
|
+
* - EVM chainId(用于 EVM 交易签名,如 ETH mainnet = 1)→ 见 local/evm-account.ts
|
|
18365
|
+
* - Bridge sourceChain ID(用于 bridge 协议消息,如 ETH mainnet = 10)→ 见下方 BridgeChainId
|
|
18366
|
+
*/
|
|
18367
|
+
/**
|
|
18368
|
+
* Bridge 协议中的链 ID(sourceChain / targetChain 字段使用)
|
|
18369
|
+
* 仅支持 ETH 主网与 WOW 主网;预留 L2 / EVM 兼容链占位(后续用户确认后启用)。
|
|
18370
|
+
* 本 SDK 不支持测试网(如 Sepolia / Holesky / WOW 测试网)。
|
|
18371
|
+
*/
|
|
18372
|
+
declare enum BridgeChainId {
|
|
18373
|
+
/** WOW 主网(bridge 协议层) */
|
|
18374
|
+
WowMainnet = 0,
|
|
18375
|
+
/** ETH 主网(bridge 协议层 = 10) */
|
|
18376
|
+
EthMainnet = 10
|
|
18377
|
+
}
|
|
18378
|
+
/**
|
|
18379
|
+
* 判断 chainId 是否为 EVM 系(需要 EvmAccount 签名)
|
|
18380
|
+
* 当前仅 ETH 主网;L2 启用后扩展。
|
|
18381
|
+
*/
|
|
18382
|
+
declare function isEvmChain(chainId: BridgeChainId): boolean;
|
|
18383
|
+
/** 判断 chainId 是否为 WOW 系 */
|
|
18384
|
+
declare function isWowChain(chainId: BridgeChainId): boolean;
|
|
18385
|
+
declare enum BridgeVersion {
|
|
18386
|
+
/** V1:原始版本,无 timestamp,受 BridgeLimiter 24h 限额约束 */
|
|
18387
|
+
V1 = 1,
|
|
18388
|
+
/** V2:带 timestamp,成熟消息(>48h)可绕过 limiter(SDK 默认) */
|
|
18389
|
+
V2 = 2
|
|
18390
|
+
}
|
|
18391
|
+
/** Bridge 支持的 token 符号(与 BridgeTokenId 一致) */
|
|
18392
|
+
type BridgeTokenSymbol = "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
|
|
18393
|
+
/**
|
|
18394
|
+
* Bridge Token ID(字符串枚举,用于 BridgeClient 公共 API)
|
|
18395
|
+
*
|
|
18396
|
+
* 以 token symbol 作为字符串值,SDK 内部根据 BridgeConfig.tokens 中的
|
|
18397
|
+
* symbol 字段解析为链上 numeric tokenId 与合约地址等。
|
|
18398
|
+
*
|
|
18399
|
+
* 主网支持的资产(参考 d:\wowok\mainnet\OFFLINE_BACKUP.md 与 1.json):
|
|
18400
|
+
* - Token ID 0:WOW 原生,**不可跨链**(V1 未实现 native_token 分支)
|
|
18401
|
+
* - Token ID 1:WBTC(ERC20)
|
|
18402
|
+
* - Token ID 2:ETH / WETH(同一 Token ID,两种 deposit 路径)
|
|
18403
|
+
* - ETH(原生):调 bridgeETHV2{value},合约内部自动 wrap 为 WETH
|
|
18404
|
+
* - WETH(ERC20):调 bridgeERC20V2(tokenId=2, WETH 地址)
|
|
18405
|
+
* - WOW 侧 type tag 相同:0xdb...::eth::ETH
|
|
18406
|
+
* - Token ID 3:USDC,Token ID 4:USDT
|
|
18407
|
+
*
|
|
18408
|
+
* 注意:ETH 与 WETH 在以太坊钱包中是两种资产,API 上分开提供。
|
|
18409
|
+
*/
|
|
18410
|
+
declare enum BridgeTokenId {
|
|
18411
|
+
/** 原生 ETH(Token ID 2,走 bridgeETHV2 路径,msg.value 直接入 vault,不 wrap) */
|
|
18412
|
+
Eth = "ETH",
|
|
18413
|
+
/** WETH ERC20(Token ID 2,走 bridgeERC20V2 路径,与原生 ETH 共用 Token ID 与 WOW type tag) */
|
|
18414
|
+
Weth = "WETH",
|
|
18415
|
+
/** WBTC(Token ID 1) */
|
|
18416
|
+
Wbtc = "WBTC",
|
|
18417
|
+
/** USDC(Token ID 3) */
|
|
18418
|
+
Usdc = "USDC",
|
|
18419
|
+
/** USDT(Token ID 4) */
|
|
18420
|
+
Usdt = "USDT"
|
|
18421
|
+
}
|
|
18422
|
+
/**
|
|
18423
|
+
* 已注册的 Bridge Token
|
|
18424
|
+
* 主网默认值可被 BridgeConfig.tokens 覆盖。
|
|
18425
|
+
*/
|
|
18426
|
+
interface BridgeToken {
|
|
18427
|
+
/** 链上 token ID(主网:WBTC=1, ETH/WETH=2, USDC=3, USDT=4) */
|
|
18428
|
+
tokenId: number;
|
|
18429
|
+
symbol: BridgeTokenSymbol;
|
|
18430
|
+
/** WOW 侧 type tag,如 "0x...::eth::ETH" */
|
|
18431
|
+
wowTypeTag: string;
|
|
18432
|
+
/**
|
|
18433
|
+
* EVM 侧合约地址:
|
|
18434
|
+
* - 原生 ETH:地址零(0x0000...0000),走 bridgeETHV2 路径
|
|
18435
|
+
* - WETH / ERC20:对应 ERC20 合约地址,走 bridgeERC20V2 路径
|
|
18436
|
+
*/
|
|
18437
|
+
evmAddress: string;
|
|
18438
|
+
/** EVM 侧 decimals(ETH/WETH=18, WBTC=8, USDC/USDT=6) */
|
|
18439
|
+
evmDecimals: number;
|
|
18440
|
+
/** WOW 侧 decimals(ETH/WBTC=8, USDC/USDT=6) */
|
|
18441
|
+
wowDecimals: number;
|
|
18442
|
+
/**
|
|
18443
|
+
* 该 token 在哪些 EVM 链上可用(预留 L2 扩展)
|
|
18444
|
+
* 当前仅 ETH 主网;L2 启用后可在此添加链 ID。
|
|
18445
|
+
*/
|
|
18446
|
+
evmChains?: BridgeChainId[];
|
|
18447
|
+
/**
|
|
18448
|
+
* 可选:token 描述说明(供 UI / 工具展示)
|
|
18449
|
+
* 如不提供,SDK 在查询时会根据 symbol 生成默认描述。
|
|
18450
|
+
*/
|
|
18451
|
+
description?: string;
|
|
18452
|
+
}
|
|
18453
|
+
/** Bridge Committee 成员(验证者节点) */
|
|
18454
|
+
interface BridgeCommitteeMember {
|
|
18455
|
+
/** 0x + 33 bytes compressed secp256k1 */
|
|
18456
|
+
pubkey: string;
|
|
18457
|
+
/** 该节点权重(quorum 需 > 2/3 total weight) */
|
|
18458
|
+
weight: number;
|
|
18459
|
+
/** 节点 REST base URL,如 https://bridge-node-0.wowok.net:9211 */
|
|
18460
|
+
baseUrl: string;
|
|
18461
|
+
}
|
|
18462
|
+
/**
|
|
18463
|
+
* Bridge 消息(V2 带 timestamp)
|
|
18464
|
+
* 对齐 Rust `BridgeMessage` / EVM `Message` 结构。
|
|
18465
|
+
*/
|
|
18466
|
+
interface BridgeMessage {
|
|
18467
|
+
/** 源链 ID(BridgeChainId) */
|
|
18468
|
+
sourceChain: number;
|
|
18469
|
+
/** 目标链 ID(BridgeChainId) */
|
|
18470
|
+
targetChain: number;
|
|
18471
|
+
/** Bridge 序列号 */
|
|
18472
|
+
nonce: bigint;
|
|
18473
|
+
/** 发送方地址(源链,bytes 原始值,EVM=20 字节 / WOW=32 字节) */
|
|
18474
|
+
sender: string;
|
|
18475
|
+
/** 接收方地址(目标链,bytes 原始值) */
|
|
18476
|
+
recipient: string;
|
|
18477
|
+
/** token ID */
|
|
18478
|
+
tokenId: number;
|
|
18479
|
+
/** WOW 侧金额(8 decimals) */
|
|
18480
|
+
amount: bigint;
|
|
18481
|
+
/** BridgeAction 类型:0=TokenTransfer */
|
|
18482
|
+
messageType: number;
|
|
18483
|
+
/** V2 only:消息 timestamp(ms) */
|
|
18484
|
+
timestampMs?: bigint;
|
|
18485
|
+
}
|
|
18486
|
+
/** 跨链转账状态(统一抽象,屏蔽 V1/V2 差异) */
|
|
18487
|
+
declare enum TransferStatus {
|
|
18488
|
+
/** 源链已 deposit,签名收集中 */
|
|
18489
|
+
Pending = "pending",
|
|
18490
|
+
/** 签名已达 quorum */
|
|
18491
|
+
Approved = "approved",
|
|
18492
|
+
/** 已在目标链 claim */
|
|
18493
|
+
Claimed = "claimed",
|
|
18494
|
+
/** 失败 */
|
|
18495
|
+
Failed = "failed",
|
|
18496
|
+
/** 未找到 */
|
|
18497
|
+
NotFound = "not_found"
|
|
18498
|
+
}
|
|
18499
|
+
/** 跨链转账完整记录 */
|
|
18500
|
+
interface TransferRecord {
|
|
18501
|
+
status: TransferStatus;
|
|
18502
|
+
seqNum: bigint;
|
|
18503
|
+
sourceChain: BridgeChainId;
|
|
18504
|
+
targetChain: BridgeChainId;
|
|
18505
|
+
tokenId: number;
|
|
18506
|
+
/** WOW 侧 8-decimals 金额 */
|
|
18507
|
+
amountWow: bigint;
|
|
18508
|
+
/** 源链地址 */
|
|
18509
|
+
sender: string;
|
|
18510
|
+
/** 目标链地址 */
|
|
18511
|
+
recipient: string;
|
|
18512
|
+
messageVersion: BridgeVersion;
|
|
18513
|
+
/** V2 only:消息 timestamp(ms) */
|
|
18514
|
+
timestampMs?: bigint;
|
|
18515
|
+
/** 已收集的签名 hex(已验证的) */
|
|
18516
|
+
verifiedSignatures?: string[];
|
|
18517
|
+
}
|
|
18518
|
+
/** Bridge 对象 summary(链上查询结果) */
|
|
18519
|
+
interface BridgeSummary {
|
|
18520
|
+
/** Bridge 对象 ID */
|
|
18521
|
+
bridgeObjectId: string;
|
|
18522
|
+
/** EVM chainId(用于 bridge 的 sourceChain 映射) */
|
|
18523
|
+
chainId: number;
|
|
18524
|
+
/** 是否暂停 */
|
|
18525
|
+
paused: boolean;
|
|
18526
|
+
/** Committee 成员列表 */
|
|
18527
|
+
committee: BridgeCommitteeMember[];
|
|
18528
|
+
/** Treasury 地址 */
|
|
18529
|
+
treasury?: string;
|
|
18530
|
+
/** 已注册的 token 列表 */
|
|
18531
|
+
tokens: BridgeToken[];
|
|
18532
|
+
}
|
|
18533
|
+
/** 24h 限额信息 */
|
|
18534
|
+
interface BridgeLimit {
|
|
18535
|
+
/** 过去 24h 已发送金额 */
|
|
18536
|
+
sent24h: bigint;
|
|
18537
|
+
/** 过去 24h 已接收金额 */
|
|
18538
|
+
received24h: bigint;
|
|
18539
|
+
/** 24h 限额 */
|
|
18540
|
+
limit24h: bigint;
|
|
18541
|
+
}
|
|
18542
|
+
/** Bridge 节点对 action 的签名 */
|
|
18543
|
+
interface SignedAction {
|
|
18544
|
+
/** 签名者公钥(compressed,0x + 33 hex) */
|
|
18545
|
+
signerPubkey: string;
|
|
18546
|
+
/** secp256k1 签名(r(32) + s(32) + v(1) → 0x + 130 hex) */
|
|
18547
|
+
signature: string;
|
|
18548
|
+
/** 签名者权重 */
|
|
18549
|
+
weight: number;
|
|
18550
|
+
}
|
|
18551
|
+
/** 调用结果(WOW 侧交易) */
|
|
18552
|
+
interface BridgeCallResult {
|
|
18553
|
+
digest: string;
|
|
18554
|
+
seqNum?: bigint;
|
|
18555
|
+
status: TransferStatus;
|
|
18556
|
+
}
|
|
18557
|
+
/** 跨链操作错误码 */
|
|
18558
|
+
declare enum BridgeErrorCode {
|
|
18559
|
+
/** estimateGas 失败(RPC 差异或 calldata 问题) */
|
|
18560
|
+
EstimateFailed = "ESTIMATE_FAILED",
|
|
18561
|
+
/** 交易链上 revert */
|
|
18562
|
+
Reverted = "REVERTED",
|
|
18563
|
+
/** 交易确认超时 */
|
|
18564
|
+
Timeout = "TIMEOUT",
|
|
18565
|
+
/** 签名收集不足(quorum 未达) */
|
|
18566
|
+
NoSignatures = "NO_SIGNATURES",
|
|
18567
|
+
/** 节点不可用 */
|
|
18568
|
+
NodeUnavailable = "NODE_UNAVAILABLE",
|
|
18569
|
+
/** 参数无效 */
|
|
18570
|
+
InvalidParam = "INVALID_PARAM",
|
|
18571
|
+
/** 账户不存在 */
|
|
18572
|
+
AccountNotFound = "ACCOUNT_NOT_FOUND",
|
|
18573
|
+
/** 未知错误 */
|
|
18574
|
+
Unknown = "UNKNOWN"
|
|
18575
|
+
}
|
|
18576
|
+
/** 跨链操作错误详情 */
|
|
18577
|
+
interface BridgeError {
|
|
18578
|
+
code: BridgeErrorCode;
|
|
18579
|
+
message: string;
|
|
18580
|
+
/** 链上 revert 原因(eth_call 可获取) */
|
|
18581
|
+
revertReason?: string;
|
|
18582
|
+
/** 原始错误(调试用) */
|
|
18583
|
+
raw?: unknown;
|
|
18584
|
+
}
|
|
18585
|
+
/** 跨链操作统一返回结果 */
|
|
18586
|
+
interface BridgeResult<T = string> {
|
|
18587
|
+
success: boolean;
|
|
18588
|
+
/** 交易哈希(成功时) */
|
|
18589
|
+
txHash?: T;
|
|
18590
|
+
/** 错误详情(失败时) */
|
|
18591
|
+
error?: BridgeError;
|
|
18592
|
+
}
|
|
18593
|
+
//#endregion
|
|
18562
18594
|
//#region src/w/bridge/config.d.ts
|
|
18563
18595
|
/**
|
|
18564
18596
|
* 单条 EVM 链的 Bridge 配置
|
|
@@ -18571,10 +18603,14 @@ interface EvmChainConfig {
|
|
|
18571
18603
|
bridgeChainId: BridgeChainId;
|
|
18572
18604
|
/** RPC URL(用户应自填付费 RPC 以提升稳定性) */
|
|
18573
18605
|
rpcUrl: string;
|
|
18574
|
-
/** BridgeProxy 合约地址 */
|
|
18606
|
+
/** BridgeProxy / WowBridge 合约地址 */
|
|
18575
18607
|
bridgeProxyAddress: string;
|
|
18576
18608
|
/** BridgeVault 合约地址 */
|
|
18577
18609
|
bridgeVaultAddress: string;
|
|
18610
|
+
/** BridgeCommittee 代理合约地址 */
|
|
18611
|
+
bridgeCommitteeAddress: string;
|
|
18612
|
+
/** BridgeConfig 合约地址 */
|
|
18613
|
+
bridgeConfigAddress: string;
|
|
18578
18614
|
/** 可选:V1 版本 BridgeProxy 地址(兼容老消息,通常不使用) */
|
|
18579
18615
|
bridgeProxyAddressV1?: string;
|
|
18580
18616
|
}
|
|
@@ -18596,8 +18632,8 @@ interface BridgeConfig {
|
|
|
18596
18632
|
l2?: Record<string, EvmChainConfig>;
|
|
18597
18633
|
/** Bridge 节点 REST URL 列表(并发请求以收集 quorum 签名) */
|
|
18598
18634
|
bridgeNodeUrls: string[];
|
|
18599
|
-
/** 默认 Bridge
|
|
18600
|
-
defaultVersion: BridgeVersion;
|
|
18635
|
+
/** 默认 Bridge 版本(主网已升级为 V2) */
|
|
18636
|
+
defaultVersion: BridgeVersion.V2;
|
|
18601
18637
|
/** 已注册的 Bridge Token 列表(可被用户覆盖) */
|
|
18602
18638
|
tokens: BridgeToken[];
|
|
18603
18639
|
/**
|
|
@@ -18610,13 +18646,47 @@ interface BridgeConfig {
|
|
|
18610
18646
|
autoClaimMs: number;
|
|
18611
18647
|
};
|
|
18612
18648
|
}
|
|
18649
|
+
/**
|
|
18650
|
+
* 主网 Bridge Committee ECDSA 公钥(compressed,0x + 66 hex)
|
|
18651
|
+
* 顺序与 MAINNET_BRIDGE_CONFIG.bridgeNodeUrls 一一对应。
|
|
18652
|
+
* 来源:链上 `wow-bridge-cli view-wow-bridge` 返回的 committee[].pubkey(base64 解码为 hex)。
|
|
18653
|
+
*/
|
|
18654
|
+
declare const MAINNET_COMMITTEE_PUBKEYS: string[];
|
|
18655
|
+
/**
|
|
18656
|
+
* 主网 Committee 权重(源自链上 BridgeCommittee.committeeStake(address))
|
|
18657
|
+
* total = 10001,quorum = floor(10001 * 2/3) + 1 = 6668。
|
|
18658
|
+
* V0(3334)+任意(3334) = 6668 ≥ quorum ✓;V1+V2 = 6667 < quorum(需 V0 参与)。
|
|
18659
|
+
*
|
|
18660
|
+
* 链上核实(2026-07-05):
|
|
18661
|
+
* - selector 0x5b1adbef = committeeStake(address)
|
|
18662
|
+
* - 0x373ee3...: 3334 0x2829ea...: 3334 0x97b3c7...: 3333
|
|
18663
|
+
*/
|
|
18664
|
+
declare const MAINNET_COMMITTEE_WEIGHTS: number[];
|
|
18665
|
+
/**
|
|
18666
|
+
* 主网 Bridge Committee 成员 ETH 地址(链上 BridgeCommittee 合约登记)
|
|
18667
|
+
* 顺序与 MAINNET_BRIDGE_CONFIG.bridgeNodeUrls 一一对应。
|
|
18668
|
+
*
|
|
18669
|
+
* 来源:由 MAINNET_COMMITTEE_PUBKEYS (ECDSA compressed pubkey) 推导得出:
|
|
18670
|
+
* keccak256(uncompressed_pubkey[1:])[-20:]
|
|
18671
|
+
*
|
|
18672
|
+
* 链上核实(2026-07-05):
|
|
18673
|
+
* - BridgeCommittee proxy: 0x822779c4183ed69bdd38e0454ec1826d2ae186a5
|
|
18674
|
+
* - selector 0x5b1adbef = committeeStake(address) 返回值与下方权重一致
|
|
18675
|
+
* - selector 0x46b01d38 = committeeIndex(address) 返回 0/1/2
|
|
18676
|
+
*
|
|
18677
|
+
* 注意:此前此处使用 mainnet_bridge.md 中的地址(0xdc135aa7... 等)是错误的,
|
|
18678
|
+
* 链上 stake=0,会导致 verifySignatures 失败。已修正。
|
|
18679
|
+
*/
|
|
18680
|
+
declare const MAINNET_COMMITTEE_MEMBER_ADDRESSES: string[];
|
|
18613
18681
|
/**
|
|
18614
18682
|
* 主网 Bridge 默认配置
|
|
18615
18683
|
*
|
|
18616
|
-
*
|
|
18617
|
-
* -
|
|
18618
|
-
* -
|
|
18619
|
-
* -
|
|
18684
|
+
* 地址来源:d:\wowok\mainnet\OFFLINE_BACKUP.md(2026-07-02 部署)
|
|
18685
|
+
* - EVM 合约地址:第 2.5 节(WowBridge Proxy / BridgeVault)
|
|
18686
|
+
* - Bridge 节点 URL:第 3.1-3.3 节(3 个验证者公网 IP:9211)
|
|
18687
|
+
* - Token 映射:第 1.1-1.5 节 + mainnet/bridge/1.json
|
|
18688
|
+
*
|
|
18689
|
+
* 用户仅需自填付费 ETH RPC(rpcUrl)以提升稳定性。
|
|
18620
18690
|
*/
|
|
18621
18691
|
declare const MAINNET_BRIDGE_CONFIG: BridgeConfig;
|
|
18622
18692
|
/** 根据 EVM chainId 查找对应的 EvmChainConfig(支持未来 L2) */
|
|
@@ -18625,6 +18695,21 @@ declare function findEvmChainConfig(config: BridgeConfig, evmChainId: number): E
|
|
|
18625
18695
|
declare function findEvmChainConfigByBridgeChainId(config: BridgeConfig, bridgeChainId: BridgeChainId): EvmChainConfig | undefined;
|
|
18626
18696
|
/** 根据 token ID 查找 BridgeToken */
|
|
18627
18697
|
declare function findToken(config: BridgeConfig, tokenId: number): BridgeToken | undefined;
|
|
18698
|
+
/** 根据 token symbol(BridgeTokenId 枚举值)查找 BridgeToken */
|
|
18699
|
+
declare function findTokenBySymbol(config: BridgeConfig, symbol: string): BridgeToken | undefined;
|
|
18700
|
+
/**
|
|
18701
|
+
* 校验 MAINNET_COMMITTEE_MEMBER_ADDRESSES 与 MAINNET_COMMITTEE_PUBKEYS 一致。
|
|
18702
|
+
* 即:每个压缩公钥推导出的 EVM 地址应与 member address 相同。
|
|
18703
|
+
* 若不一致,BridgeCommittee.verifySignatures 会因 stake=0 失败,导致 WOW→ETH claim 失败。
|
|
18704
|
+
*
|
|
18705
|
+
* @returns 不匹配项数组(空数组表示全部一致)
|
|
18706
|
+
*/
|
|
18707
|
+
declare function verifyCommitteeConsistency(): {
|
|
18708
|
+
index: number;
|
|
18709
|
+
pubkey: string;
|
|
18710
|
+
expected: string;
|
|
18711
|
+
actual: string;
|
|
18712
|
+
}[];
|
|
18628
18713
|
//#endregion
|
|
18629
18714
|
//#region src/w/bridge/claim-wow.d.ts
|
|
18630
18715
|
interface ClaimWowParams {
|
|
@@ -18632,8 +18717,10 @@ interface ClaimWowParams {
|
|
|
18632
18717
|
sourceChainId?: BridgeChainId;
|
|
18633
18718
|
/** Bridge 序列号(来自 ETH deposit 事件 TokensDepositedV2.bridgeSeqNum) */
|
|
18634
18719
|
bridgeSeqNum: bigint;
|
|
18635
|
-
/** claim token 的 WOW type tag,如 "
|
|
18720
|
+
/** claim token 的 WOW type tag,如 "0x...::eth::ETH" */
|
|
18636
18721
|
tokenType: string;
|
|
18722
|
+
/** Bridge shared object ID(默认 0x9) */
|
|
18723
|
+
bridgeObjectId?: string;
|
|
18637
18724
|
}
|
|
18638
18725
|
interface ClaimWowResult {
|
|
18639
18726
|
/** WOW 交易 digest */
|
|
@@ -18706,19 +18793,19 @@ interface EvmLog {
|
|
|
18706
18793
|
removed: boolean;
|
|
18707
18794
|
}
|
|
18708
18795
|
/** 通过 JSON-RPC 查询 ETH 交易回执 */
|
|
18709
|
-
declare function queryEthTxReceipt(txHash: string, rpcUrl: string): Promise<EvmTxReceipt | null>;
|
|
18796
|
+
declare function queryEthTxReceipt(txHash: string, rpcUrl: string, timeoutMs?: number): Promise<EvmTxReceipt | null>;
|
|
18710
18797
|
/** 查询 ETH 地址余额(eth_getBalance) */
|
|
18711
18798
|
declare function queryEthBalance(address: string, rpcUrl: string): Promise<bigint>;
|
|
18712
18799
|
/** 查询 ERC20 余额(eth_call balanceOf) */
|
|
18713
18800
|
declare function queryErc20Balance(tokenAddress: string, ownerAddress: string, rpcUrl: string): Promise<bigint>;
|
|
18714
18801
|
/** 查询 ETH 交易确认数 */
|
|
18715
|
-
declare function queryEthTxConfirmations(txHash: string, rpcUrl: string): Promise<number>;
|
|
18802
|
+
declare function queryEthTxConfirmations(txHash: string, rpcUrl: string, timeoutMs?: number): Promise<number>;
|
|
18716
18803
|
/** 查询 WOW 交易详情 */
|
|
18717
18804
|
declare function queryWowTx(client: WowClient, digest: string): Promise<WowTransactionBlockResponse | null>;
|
|
18718
18805
|
/** 跨链方向 */
|
|
18719
18806
|
declare enum BridgeTransferDirection {
|
|
18720
|
-
|
|
18721
|
-
|
|
18807
|
+
EvmToWow = "evm_to_wow",
|
|
18808
|
+
WowToEvm = "wow_to_evm"
|
|
18722
18809
|
}
|
|
18723
18810
|
/**
|
|
18724
18811
|
* 跨链详细步骤(比 BridgeTransferStatus 更细粒度,方便用户理解当前在哪一步)
|
|
@@ -18793,11 +18880,12 @@ declare function makeBridgeTransferState(partial: Partial<BridgeTransferState> &
|
|
|
18793
18880
|
step: BridgeTransferStep;
|
|
18794
18881
|
}): BridgeTransferState;
|
|
18795
18882
|
/**
|
|
18796
|
-
* 从 ETH 交易回执中提取 deposit
|
|
18883
|
+
* 从 ETH 交易回执中提取 deposit 事件(支持 V1 和 V2)
|
|
18797
18884
|
* @returns bridgeSeq / sender / targetChain / recipient / tokenID / amount
|
|
18798
18885
|
*/
|
|
18799
18886
|
declare function parseEthDepositEvent(receipt: EvmTxReceipt, bridgeContractAddress: string): {
|
|
18800
18887
|
bridgeSeq: bigint;
|
|
18888
|
+
sourceChain: number;
|
|
18801
18889
|
sender: string;
|
|
18802
18890
|
targetChain: number;
|
|
18803
18891
|
recipient: string;
|
|
@@ -18806,6 +18894,16 @@ declare function parseEthDepositEvent(receipt: EvmTxReceipt, bridgeContractAddre
|
|
|
18806
18894
|
} | null;
|
|
18807
18895
|
/**
|
|
18808
18896
|
* 从 ETH 交易回执中提取 claim 事件
|
|
18897
|
+
*
|
|
18898
|
+
* TokensClaimed 事件结构(V1/V2 一致):
|
|
18899
|
+
* event TokensClaimed(
|
|
18900
|
+
* uint8 sourceChain, uint64 bridgeSeq, uint8 targetChain, uint8 tokenID,
|
|
18901
|
+
* uint64 amount, address claimer, bytes recipient
|
|
18902
|
+
* )
|
|
18903
|
+
* - topic[1] = sourceChain (indexed)
|
|
18904
|
+
* - topic[2] = bridgeSeq (indexed)
|
|
18905
|
+
* - topic[3] = targetChain (indexed)
|
|
18906
|
+
* - data: tokenID, amount, claimer, recipientOffset, [tail: length, data]
|
|
18809
18907
|
*/
|
|
18810
18908
|
declare function parseEthClaimEvent(receipt: EvmTxReceipt, bridgeContractAddress: string): {
|
|
18811
18909
|
bridgeSeq: bigint;
|
|
@@ -18814,24 +18912,24 @@ declare function parseEthClaimEvent(receipt: EvmTxReceipt, bridgeContractAddress
|
|
|
18814
18912
|
amount: bigint;
|
|
18815
18913
|
} | null;
|
|
18816
18914
|
/**
|
|
18817
|
-
* 查询
|
|
18915
|
+
* 查询 EVM→WOW 转账状态
|
|
18818
18916
|
*
|
|
18819
18917
|
* 返回详细步骤信息:当前处于哪一步、bridgeSeq、确认数等,方便用户理解或外部系统查询。
|
|
18820
18918
|
*
|
|
18821
|
-
* @param ethTxHash
|
|
18822
|
-
* @param rpcUrl
|
|
18823
|
-
* @param bridgeContractAddress
|
|
18919
|
+
* @param ethTxHash EVM 上 bridgeETHV2/bridgeERC20V2 交易 hash
|
|
18920
|
+
* @param rpcUrl EVM JSON-RPC URL
|
|
18921
|
+
* @param bridgeContractAddress EVM bridge 合约地址
|
|
18824
18922
|
*/
|
|
18825
|
-
declare function
|
|
18923
|
+
declare function queryEvmToWowTransferStatus(ethTxHash: string, rpcUrl: string, bridgeContractAddress: string): Promise<BridgeTransferState>;
|
|
18826
18924
|
/**
|
|
18827
|
-
* 查询 WOW→
|
|
18925
|
+
* 查询 WOW→EVM 转账状态
|
|
18828
18926
|
*
|
|
18829
18927
|
* 返回详细步骤信息:当前处于哪一步、WOW 交易回执等。
|
|
18830
18928
|
*
|
|
18831
18929
|
* @param client WowClient 实例
|
|
18832
18930
|
* @param wowTxDigest WOW 上 deposit(send_token_v2)交易 digest
|
|
18833
18931
|
*/
|
|
18834
|
-
declare function
|
|
18932
|
+
declare function queryWowToEvmTransferStatus(client: WowClient, wowTxDigest: string): Promise<BridgeTransferState>;
|
|
18835
18933
|
/**
|
|
18836
18934
|
* 轮询等待 ETH 交易被打包
|
|
18837
18935
|
* @param ethTxHash
|
|
@@ -18900,8 +18998,6 @@ declare class BridgeNodeClient {
|
|
|
18900
18998
|
//#endregion
|
|
18901
18999
|
//#region src/w/bridge/deposit-eth.d.ts
|
|
18902
19000
|
interface DepositEthOptions {
|
|
18903
|
-
/** EVM 账户(address、name 或默认) */
|
|
18904
|
-
signer?: string;
|
|
18905
19001
|
/** WOW 接收地址(0x + 64 hex,32 字节) */
|
|
18906
19002
|
recipientWowAddress: string;
|
|
18907
19003
|
/** 目标链 ID(默认 WowMainnet=0) */
|
|
@@ -18915,15 +19011,20 @@ interface DepositEthOptions {
|
|
|
18915
19011
|
rpcUrl?: string;
|
|
18916
19012
|
/** Bridge 合约地址 */
|
|
18917
19013
|
bridgeProxyAddress: string;
|
|
19014
|
+
/**
|
|
19015
|
+
* 合约版本:v1 (bridgeETH/bridgeERC20) 或 v2 (bridgeETHV2/bridgeERC20V2)
|
|
19016
|
+
* 主网当前为 v1,升级后默认 v2。
|
|
19017
|
+
*/
|
|
19018
|
+
version?: "v1" | "v2";
|
|
18918
19019
|
}
|
|
18919
19020
|
/**
|
|
18920
19021
|
* 在 ETH 链上调用 bridgeETHV2,将 ETH 跨链到 WOW
|
|
18921
19022
|
*
|
|
18922
19023
|
* @param amount 跨链金额(wei)
|
|
18923
19024
|
* @param opts 配置
|
|
18924
|
-
* @returns
|
|
19025
|
+
* @returns BridgeResult 统一结果
|
|
18925
19026
|
*/
|
|
18926
|
-
declare function depositEth(amount: bigint, opts: DepositEthOptions): Promise<
|
|
19027
|
+
declare function depositEth(amount: bigint, opts: DepositEthOptions): Promise<BridgeResult>;
|
|
18927
19028
|
interface DepositErc20Options extends DepositEthOptions {
|
|
18928
19029
|
/** ERC20 token 合约地址 */
|
|
18929
19030
|
tokenAddress: string;
|
|
@@ -18935,9 +19036,9 @@ interface DepositErc20Options extends DepositEthOptions {
|
|
|
18935
19036
|
*
|
|
18936
19037
|
* @param amount 跨链金额(token 最小单位)
|
|
18937
19038
|
* @param opts 配置
|
|
18938
|
-
* @returns
|
|
19039
|
+
* @returns BridgeResult 统一结果
|
|
18939
19040
|
*/
|
|
18940
|
-
declare function depositErc20(amount: bigint, opts: DepositErc20Options): Promise<
|
|
19041
|
+
declare function depositErc20(amount: bigint, opts: DepositErc20Options): Promise<BridgeResult>;
|
|
18941
19042
|
interface DepositParams {
|
|
18942
19043
|
/** 跨链金额(wei 或 token 最小单位) */
|
|
18943
19044
|
amount: bigint;
|
|
@@ -18949,7 +19050,7 @@ interface DepositParams {
|
|
|
18949
19050
|
/**
|
|
18950
19051
|
* 统一入口:根据是否传 tokenAddress 自动选择 ETH/ERC20 流程
|
|
18951
19052
|
*/
|
|
18952
|
-
declare function depositFromEth(params: DepositParams, opts: DepositEthOptions): Promise<
|
|
19053
|
+
declare function depositFromEth(params: DepositParams, opts: DepositEthOptions): Promise<BridgeResult>;
|
|
18953
19054
|
//#endregion
|
|
18954
19055
|
//#region src/w/bridge/evm/abi.d.ts
|
|
18955
19056
|
/**
|
|
@@ -18958,10 +19059,20 @@ declare function depositFromEth(params: DepositParams, opts: DepositEthOptions):
|
|
|
18958
19059
|
* @param destinationChainID 目标链 ID
|
|
18959
19060
|
*/
|
|
18960
19061
|
declare function encodeBridgeETHV2(recipientAddress: string, destinationChainID: number): string;
|
|
19062
|
+
/**
|
|
19063
|
+
* 编码 bridgeETH 调用(V1)
|
|
19064
|
+
* 参数与 V2 完全相同,仅 selector 不同(0x9449ebd2 vs 0xb4b7068c)。
|
|
19065
|
+
*/
|
|
19066
|
+
declare function encodeBridgeETH(recipientAddress: string, destinationChainID: number): string;
|
|
18961
19067
|
/**
|
|
18962
19068
|
* 编码 bridgeERC20V2 调用
|
|
18963
19069
|
*/
|
|
18964
19070
|
declare function encodeBridgeERC20V2(tokenID: number, amount: bigint, recipientAddress: string, destinationChainID: number): string;
|
|
19071
|
+
/**
|
|
19072
|
+
* 编码 bridgeERC20 调用(V1)
|
|
19073
|
+
* 参数与 V2 完全相同,仅 selector 不同(0x212afaff vs 0x0bdba58b)。
|
|
19074
|
+
*/
|
|
19075
|
+
declare function encodeBridgeERC20(tokenID: number, amount: bigint, recipientAddress: string, destinationChainID: number): string;
|
|
18965
19076
|
/**
|
|
18966
19077
|
* Bridge Message(tuple with dynamic bytes payload)
|
|
18967
19078
|
* struct Message { uint8 messageType; uint8 version; uint64 nonce; uint8 chainID; bytes payload; }
|
|
@@ -19007,6 +19118,8 @@ declare function encodeTokenTransferPayloadV2(params: {
|
|
|
19007
19118
|
}): Uint8Array;
|
|
19008
19119
|
/** TokensDepositedV2 事件 topic0(用于解析 deposit 回执) */
|
|
19009
19120
|
declare const TOKENS_DEPOSITED_V2_TOPIC: string;
|
|
19121
|
+
/** TokensDeposited V1 事件 topic0(主网当前版本,无 timestamp) */
|
|
19122
|
+
declare const TOKENS_DEPOSITED_TOPIC: string;
|
|
19010
19123
|
/** TokensClaimed 事件 topic0(用于解析 claim 回执) */
|
|
19011
19124
|
declare const TOKENS_CLAIMED_TOPIC: string;
|
|
19012
19125
|
/** Transfer(ERC20)事件 topic0 */
|
|
@@ -19016,8 +19129,6 @@ declare const ERC20_TRANSFER_TOPIC: string;
|
|
|
19016
19129
|
interface ClaimEthOptions {
|
|
19017
19130
|
/** Bridge Node 客户端(用于收集签名) */
|
|
19018
19131
|
nodeClient: BridgeNodeClient;
|
|
19019
|
-
/** ETH 签名账户(address、name 或默认) */
|
|
19020
|
-
signer?: string;
|
|
19021
19132
|
/**
|
|
19022
19133
|
* EVM 网络(chainId 或 name)。
|
|
19023
19134
|
* 推荐用此参数,自动从 EvmNetworkRegistry 找到对应 RPC/gas 策略/超时。
|
|
@@ -19061,9 +19172,9 @@ interface ClaimEthParams {
|
|
|
19061
19172
|
/**
|
|
19062
19173
|
* 在 ETH 链上 claim 资产(WOW→ETH 方向)
|
|
19063
19174
|
*
|
|
19064
|
-
* @returns
|
|
19175
|
+
* @returns BridgeResult 统一结果(成功含 txHash,失败含 error 详情)
|
|
19065
19176
|
*/
|
|
19066
|
-
declare function claimOnEth(params: ClaimEthParams, opts: ClaimEthOptions): Promise<
|
|
19177
|
+
declare function claimOnEth(params: ClaimEthParams, opts: ClaimEthOptions): Promise<BridgeResult>;
|
|
19067
19178
|
/**
|
|
19068
19179
|
* 按 bridgeSeq 请求签名(不依赖 tx digest)
|
|
19069
19180
|
*
|
|
@@ -19074,7 +19185,7 @@ declare function claimOnEthBySeq(params: {
|
|
|
19074
19185
|
messageType: number;
|
|
19075
19186
|
seqNum: bigint;
|
|
19076
19187
|
message: AbiMessage;
|
|
19077
|
-
}, opts: ClaimEthOptions): Promise<
|
|
19188
|
+
}, opts: ClaimEthOptions): Promise<BridgeResult>;
|
|
19078
19189
|
//#endregion
|
|
19079
19190
|
//#region src/w/bridge/deposit-wow.d.ts
|
|
19080
19191
|
interface DepositWowParams {
|
|
@@ -19086,6 +19197,8 @@ interface DepositWowParams {
|
|
|
19086
19197
|
recipientEthAddress: string;
|
|
19087
19198
|
/** 目标链 ID(默认 EthMainnet=10) */
|
|
19088
19199
|
destinationChainId?: BridgeChainId;
|
|
19200
|
+
/** Bridge shared object ID(默认 0x9) */
|
|
19201
|
+
bridgeObjectId?: string;
|
|
19089
19202
|
}
|
|
19090
19203
|
interface DepositWowResult {
|
|
19091
19204
|
/** WOW 交易 digest */
|
|
@@ -19115,32 +19228,104 @@ interface BridgeClientOptions {
|
|
|
19115
19228
|
/** WOW 账户环境(用于 WOW 端 deposit/claim 签名) */
|
|
19116
19229
|
wowEnv?: CallEnv;
|
|
19117
19230
|
}
|
|
19231
|
+
/**
|
|
19232
|
+
* 跨链转账记录(in-memory,进程级,非持久化)
|
|
19233
|
+
*
|
|
19234
|
+
* 用于简化版 Bridge API 跟踪每次跨链 / 提款操作的进度与历史。
|
|
19235
|
+
* 通过 transferId 在 BridgeClient 实例的 _transferHistory 中索引。
|
|
19236
|
+
*/
|
|
19237
|
+
interface BridgeTransferRecord {
|
|
19238
|
+
/** 唯一 ID(br_<timestamp>_<counter>) */
|
|
19239
|
+
transferId: string;
|
|
19240
|
+
/** 方向:wow_to_evm / evm_to_wow / withdraw(仅从 activeEvmAccount 提款) */
|
|
19241
|
+
direction: "wow_to_evm" | "evm_to_wow" | "withdraw";
|
|
19242
|
+
/** 跨链 token 标识 */
|
|
19243
|
+
token: BridgeTokenId;
|
|
19244
|
+
/** 金额(字符串形式,避免 bigint 序列化问题) */
|
|
19245
|
+
amount: string;
|
|
19246
|
+
/** ETH 侧接收地址(wow_to_eth 时为 activeEvmAccount 或 withdrawTo) */
|
|
19247
|
+
recipientEth?: string;
|
|
19248
|
+
/** WOW 侧接收地址(eth_to_wow 时为 wowEnv.account 或用户指定) */
|
|
19249
|
+
recipientWow?: string;
|
|
19250
|
+
/** 中转 EVM 账户(即 activeEvmAccount 地址) */
|
|
19251
|
+
intermediateEthAccount: string;
|
|
19252
|
+
/** 用户是否额外提供了最终提款地址 */
|
|
19253
|
+
withdrawToProvided?: boolean;
|
|
19254
|
+
/** 当前步骤:init / deposit / claimed / withdraw / withdrawn */
|
|
19255
|
+
step: "init" | "deposit" | "claimed" | "withdraw" | "withdrawn";
|
|
19256
|
+
/** 当前状态:pending / in_progress / success / failed */
|
|
19257
|
+
status: "pending" | "in_progress" | "success" | "failed";
|
|
19258
|
+
/** EVM deposit tx hash(evm_to_wow) */
|
|
19259
|
+
depositTxHash?: string;
|
|
19260
|
+
/** WOW deposit tx digest(wow_to_evm) */
|
|
19261
|
+
depositTxDigest?: string;
|
|
19262
|
+
/** Bridge 序列号 */
|
|
19263
|
+
bridgeSeq?: string;
|
|
19264
|
+
/** EVM claim tx hash(wow_to_evm) */
|
|
19265
|
+
claimTxHash?: string;
|
|
19266
|
+
/** WOW claim tx digest(evm_to_wow) */
|
|
19267
|
+
claimTxDigest?: string;
|
|
19268
|
+
/** EVM 提款 tx hash(withdraw 步骤) */
|
|
19269
|
+
withdrawTxHash?: string;
|
|
19270
|
+
/** 最新从链上查询到的状态 */
|
|
19271
|
+
latestState?: BridgeTransferState;
|
|
19272
|
+
/** 错误信息(status=failed 时) */
|
|
19273
|
+
error?: string;
|
|
19274
|
+
createdAt: number;
|
|
19275
|
+
updatedAt: number;
|
|
19276
|
+
}
|
|
19118
19277
|
/**
|
|
19119
19278
|
* Bridge 客户端:聚合 deposit/claim 与状态查询的全自动跨链入口
|
|
19120
19279
|
*
|
|
19121
|
-
* 使用示例(
|
|
19280
|
+
* 使用示例(EVM→WOW 跨原生 ETH):
|
|
19122
19281
|
* ```ts
|
|
19123
19282
|
* const client = new BridgeClient({ config });
|
|
19124
|
-
* const result = await client.
|
|
19283
|
+
* const result = await client.bridgeNativeEvmToWow({
|
|
19125
19284
|
* amount: 1n * 10n ** 18n,
|
|
19126
19285
|
* recipientWowAddress: "0x" + "00".repeat(31) + "01",
|
|
19127
|
-
* signer: "my-evm-account",
|
|
19128
19286
|
* waitForFinalization: true,
|
|
19129
19287
|
* });
|
|
19130
19288
|
* ```
|
|
19289
|
+
*
|
|
19290
|
+
* 使用示例(EVM→WOW 跨 ERC20,如 WBTC):
|
|
19291
|
+
* ```ts
|
|
19292
|
+
* const result = await client.bridgeErc20ToWow({
|
|
19293
|
+
* token: BridgeTokenId.Wbtc,
|
|
19294
|
+
* amount: 1n * 10n ** 8n,
|
|
19295
|
+
* recipientWowAddress: "0x" + "00".repeat(31) + "01",
|
|
19296
|
+
* });
|
|
19297
|
+
* ```
|
|
19298
|
+
*
|
|
19299
|
+
* 使用示例(WOW→EVM 跨 ETH):
|
|
19300
|
+
* ```ts
|
|
19301
|
+
* const result = await client.bridgeWowToEvm({
|
|
19302
|
+
* token: BridgeTokenId.Eth,
|
|
19303
|
+
* amount: 1n * 10n ** 8n, // WOW 侧 8 decimals
|
|
19304
|
+
* recipientEthAddress: "0x" + "00".repeat(20),
|
|
19305
|
+
* });
|
|
19306
|
+
* ```
|
|
19307
|
+
*
|
|
19308
|
+
* EVM 签名账户:自动使用 EvmAccount.Instance().active() 返回的活跃账户,
|
|
19309
|
+
* 首次调用若不存在会自动 gen 一个。无需调用方指定 signer。
|
|
19131
19310
|
*/
|
|
19132
19311
|
declare class BridgeClient {
|
|
19133
19312
|
readonly config: BridgeConfig;
|
|
19134
19313
|
readonly wowEnv?: CallEnv;
|
|
19135
19314
|
readonly nodeClient: BridgeNodeClient;
|
|
19315
|
+
/** Persistence store for transfer history (cache.db) */
|
|
19316
|
+
private _historyStore;
|
|
19136
19317
|
constructor(opts?: BridgeClientOptions);
|
|
19137
19318
|
/**
|
|
19138
|
-
* ETH→WOW
|
|
19319
|
+
* 原生 ETH → WOW 全自动跨链(从 EVM 链发起)
|
|
19320
|
+
*
|
|
19321
|
+
* 调用 EVM `bridgeETHV2{value: amount}`:msg.value 原生 ETH 直接转入 vault
|
|
19322
|
+
* (合约不 wrap,vault 持有原生 ETH),用 WETH decimals(18) 换算 WOW 侧金额。
|
|
19323
|
+
* WOW 侧 mint `0xdb...::eth::ETH`(与 WETH 跨链共用 type tag)。
|
|
19139
19324
|
*
|
|
19140
19325
|
* 流程:
|
|
19141
|
-
* 1. 在
|
|
19142
|
-
* 2. 等待
|
|
19143
|
-
* 3.
|
|
19326
|
+
* 1. 在 EVM 上 bridgeETHV2(lock 原生 ETH)
|
|
19327
|
+
* 2. 等待 EVM 交易确认
|
|
19328
|
+
* 3. 解析 deposit 事件,获取 bridgeSeq
|
|
19144
19329
|
* 4. 等待 bridge 节点自动 approve(WOW 链上 approve_token_transfer)
|
|
19145
19330
|
* 5. 在 WOW 上 claim_and_transfer_token(任意人可调用,自动转给 recipient)
|
|
19146
19331
|
*
|
|
@@ -19148,49 +19333,286 @@ declare class BridgeClient {
|
|
|
19148
19333
|
*
|
|
19149
19334
|
* @returns claim tx digest(WOW)与中间步骤信息
|
|
19150
19335
|
*/
|
|
19151
|
-
|
|
19152
|
-
/** 跨链金额(wei) */amount: bigint; /**
|
|
19153
|
-
tokenAddress?: string; /** Bridge token ID(ERC20 必传) */
|
|
19154
|
-
tokenId?: number; /** ETH 接收账户名/地址(默认) */
|
|
19155
|
-
signer?: string; /** WOW 接收地址(0x + 64 hex,32 字节) */
|
|
19336
|
+
bridgeNativeEvmToWow(params: {
|
|
19337
|
+
/** 跨链金额(wei,1 ETH = 1e18 wei) */amount: bigint; /** WOW 接收地址(0x + 64 hex,32 字节) */
|
|
19156
19338
|
recipientWowAddress: string; /** 是否等待最终化(claim 完成);默认 true */
|
|
19157
19339
|
waitForFinalization?: boolean;
|
|
19158
19340
|
}): Promise<{
|
|
19159
|
-
/**
|
|
19341
|
+
/** EVM deposit tx hash */depositTxHash: string; /** WOW claim tx digest(仅当 waitForFinalization=true 时返回) */
|
|
19160
19342
|
claimTxDigest?: string; /** Bridge 序列号 */
|
|
19161
19343
|
bridgeSeq?: bigint; /** 最终状态 */
|
|
19162
19344
|
finalState?: BridgeTransferState;
|
|
19163
19345
|
}>;
|
|
19164
19346
|
/**
|
|
19165
|
-
*
|
|
19347
|
+
* ERC20 → WOW 全自动跨链(WETH / WBTC / USDC / USDT,从 EVM 链发起)
|
|
19348
|
+
*
|
|
19349
|
+
* 调用 EVM `bridgeERC20V2(tokenId, amount, ...)`,需先 approve Bridge 合约花费 ERC20。
|
|
19350
|
+
* tokenAddress 与 tokenId 由 config 自动解析,用户无需提供。
|
|
19351
|
+
*
|
|
19352
|
+
* 流程:
|
|
19353
|
+
* 1. approve(若需要) + bridgeERC20V2(lock ERC20)
|
|
19354
|
+
* 2. 等待 EVM 交易确认
|
|
19355
|
+
* 3. 解析 deposit 事件,获取 bridgeSeq
|
|
19356
|
+
* 4. 等待 bridge 节点自动 approve(WOW 链上 approve_token_transfer)
|
|
19357
|
+
* 5. 在 WOW 上 claim_and_transfer_token(任意人可调用,自动转给 recipient)
|
|
19358
|
+
*
|
|
19359
|
+
* @returns claim tx digest(WOW)与中间步骤信息
|
|
19360
|
+
*/
|
|
19361
|
+
bridgeErc20ToWow(params: {
|
|
19362
|
+
/** 跨链 token 类型(WETH / WBTC / USDC / USDT,不能传 Eth) */token: BridgeTokenId; /** 跨链金额(token 最小单位,按 evmDecimals) */
|
|
19363
|
+
amount: bigint; /** WOW 接收地址(0x + 64 hex,32 字节) */
|
|
19364
|
+
recipientWowAddress: string; /** 是否等待最终化(claim 完成);默认 true */
|
|
19365
|
+
waitForFinalization?: boolean;
|
|
19366
|
+
}): Promise<{
|
|
19367
|
+
/** EVM deposit tx hash */depositTxHash: string; /** WOW claim tx digest(仅当 waitForFinalization=true 时返回) */
|
|
19368
|
+
claimTxDigest?: string; /** Bridge 序列号 */
|
|
19369
|
+
bridgeSeq?: bigint; /** 最终状态 */
|
|
19370
|
+
finalState?: BridgeTransferState;
|
|
19371
|
+
}>;
|
|
19372
|
+
/**
|
|
19373
|
+
* 解析 EVM RPC URL:优先用 config.ethereum.rpcUrl,为空则从 EvmNetworkRegistry 获取健康 RPC。
|
|
19374
|
+
*
|
|
19375
|
+
* 修复场景:默认 config 中 ethereum.rpcUrl 为空字符串,manage_evm_rpc 设置的 RPC 仅存在于 Registry,
|
|
19376
|
+
* 直接使用 ethChain.rpcUrl 会导致 fetch("") 报 "Failed to parse URL" 错误。
|
|
19377
|
+
*/
|
|
19378
|
+
private resolveEvmRpcUrl;
|
|
19379
|
+
/**
|
|
19380
|
+
* EVM→WOW 内部共享实现:根据 token 解析 deposit 路径并完成最终化
|
|
19381
|
+
* (bridgeNativeEvmToWow / bridgeErc20ToWow 的公共逻辑)
|
|
19382
|
+
*/
|
|
19383
|
+
private depositEvmToWowAndFinalize;
|
|
19384
|
+
/**
|
|
19385
|
+
* WOW→EVM 全自动跨链
|
|
19386
|
+
*
|
|
19387
|
+
* tokenType(WOW 侧 type tag)与 tokenId 由 config 自动解析。
|
|
19388
|
+
* 注意:原生 ETH 与 WETH 在 WOW 侧共用同一 type tag `0x...::eth::ETH`,
|
|
19389
|
+
* 用户传 `BridgeTokenId.Eth` 或 `BridgeTokenId.Weth` 均可。
|
|
19166
19390
|
*
|
|
19167
19391
|
* 流程:
|
|
19168
19392
|
* 1. 在 WOW 上 deposit(send_token_v2)→ 获得 digest + seqNum
|
|
19169
19393
|
* 2. 等待 WOW 交易确认
|
|
19170
19394
|
* 3. 向 bridge 节点请求签名(signWowToEth)
|
|
19171
|
-
* 4. 在
|
|
19172
|
-
* 5. 等待
|
|
19173
|
-
*/
|
|
19174
|
-
|
|
19175
|
-
/**
|
|
19176
|
-
|
|
19177
|
-
recipientEthAddress: string; /**
|
|
19178
|
-
tokenId?: number; /** ETH 端签名账户名(默认) */
|
|
19179
|
-
ethSigner?: string; /** 是否等待最终化(claim 完成);默认 true */
|
|
19395
|
+
* 4. 在 EVM 上 claim(transferBridgedTokensWithSignaturesV2)
|
|
19396
|
+
* 5. 等待 EVM claim 交易确认
|
|
19397
|
+
*/
|
|
19398
|
+
bridgeWowToEvm(params: {
|
|
19399
|
+
/** 跨链 token 类型(Eth/Weth/Wbtc/Usdc/Usdt) */token: BridgeTokenId; /** 跨链金额(WOW 侧最小单位,wowDecimals) */
|
|
19400
|
+
amount: bigint; /** ETH 接收地址(0x + 40 hex) */
|
|
19401
|
+
recipientEthAddress: string; /** 是否等待最终化(claim 完成);默认 true */
|
|
19180
19402
|
waitForFinalization?: boolean;
|
|
19181
19403
|
}): Promise<{
|
|
19182
19404
|
/** WOW deposit tx digest */depositTxDigest: string; /** Bridge 序列号 */
|
|
19183
|
-
bridgeSeq: bigint; /**
|
|
19405
|
+
bridgeSeq: bigint; /** EVM claim tx hash(仅当 waitForFinalization=true 时返回) */
|
|
19184
19406
|
claimTxHash?: string;
|
|
19185
19407
|
}>;
|
|
19186
|
-
/**
|
|
19187
|
-
|
|
19188
|
-
|
|
19189
|
-
|
|
19190
|
-
|
|
19191
|
-
|
|
19408
|
+
/**
|
|
19409
|
+
* 查询 EVM→WOW 跨链状态(基于 EVM deposit tx hash)
|
|
19410
|
+
*
|
|
19411
|
+
* 改进:遍历所有 RPC URL,第一个成功即返回;失败的标记为 unhealthy。
|
|
19412
|
+
* 这样即使某个 RPC 慢/挂,也会自动切换到下一个。
|
|
19413
|
+
*/
|
|
19414
|
+
queryEvmToWowStatus(ethTxHash: string): Promise<BridgeTransferState>;
|
|
19415
|
+
/** 查询 WOW→EVM 跨链状态(基于 WOW deposit tx digest) */
|
|
19416
|
+
queryWowToEvmStatus(wowTxDigest: string): Promise<BridgeTransferState>;
|
|
19417
|
+
/** 查询 EVM→WOW 方向的 WOW 端 claim 状态 */
|
|
19418
|
+
queryEvmToWowClaimStatus(params: {
|
|
19192
19419
|
bridgeSeqNum: bigint;
|
|
19193
19420
|
}): Promise<WowClaimState>;
|
|
19421
|
+
/**
|
|
19422
|
+
* WOW→ETH 的第二步:在 EVM 上 claim(领回跨链资产)
|
|
19423
|
+
*
|
|
19424
|
+
* 业务流程:WOW→ETH 跨链需要两步:
|
|
19425
|
+
* 1. cross_chain_wow_to_evm(deposit,在 WOW 上锁仓)→ 立即返回 depositTxDigest + bridgeSeq
|
|
19426
|
+
* 2. 等待桥节点签名(通过 query_transfer_status 轮询,状态变为"已签名"后可 claim)
|
|
19427
|
+
* 3. claim_wow_to_evm(本方法,在 EVM 上领回资产)→ 返回 claimTxHash
|
|
19428
|
+
*
|
|
19429
|
+
* @param transferId 本地转账记录 ID(由 cross_chain_wow_to_evm 返回)
|
|
19430
|
+
*/
|
|
19431
|
+
claimWowToEvm(transferId: string): Promise<{
|
|
19432
|
+
claimTxHash: string;
|
|
19433
|
+
transferId: string;
|
|
19434
|
+
}>;
|
|
19435
|
+
/**
|
|
19436
|
+
* WOW→EVM 简化版跨链(资产自动到达 activeEvmAccount,可选转给最终提款账户)
|
|
19437
|
+
*
|
|
19438
|
+
* 流程(对用户透明):
|
|
19439
|
+
* 1. 底层 bridgeWowToEvm:在 WOW 上 deposit,等待节点签名,在 EVM 上 claim
|
|
19440
|
+
* → 资产到达 activeEvmAccount.address
|
|
19441
|
+
* 2. 若提供 withdrawTo:用 activeEvmAccount 私钥再转一笔到 withdrawTo
|
|
19442
|
+
* (原生 ETH 走 value;ERC20 走 transfer(address,amount) calldata)
|
|
19443
|
+
*
|
|
19444
|
+
* @param params.token 跨链 token(Eth/Weth/Wbtc/Usdc/Usdt)
|
|
19445
|
+
* @param params.amount 跨链金额(WOW 侧最小单位,wowDecimals)
|
|
19446
|
+
* @param params.withdrawTo 可选最终提款 EVM 地址;不传则停留在 activeEvmAccount
|
|
19447
|
+
* @param params.waitForFinalization 是否等待 claim 完成(默认 true)
|
|
19448
|
+
* @returns depositTxDigest / bridgeSeq / claimTxHash / withdrawTxHash? / activeEvmAccount
|
|
19449
|
+
*/
|
|
19450
|
+
bridgeWowToEvmSimple(params: {
|
|
19451
|
+
token: BridgeTokenId;
|
|
19452
|
+
amount: bigint; /** 最终提款 EVM 地址(0x + 40 hex);不传则资产保留在 activeEvmAccount */
|
|
19453
|
+
withdrawTo?: string;
|
|
19454
|
+
waitForFinalization?: boolean;
|
|
19455
|
+
}): Promise<{
|
|
19456
|
+
depositTxDigest: string;
|
|
19457
|
+
bridgeSeq: bigint;
|
|
19458
|
+
claimTxHash?: string;
|
|
19459
|
+
withdrawTxHash?: string;
|
|
19460
|
+
activeEvmAccount: string;
|
|
19461
|
+
transferId: string;
|
|
19462
|
+
}>;
|
|
19463
|
+
/**
|
|
19464
|
+
* EVM→WOW 简化版跨链(从 activeEvmAccount 发起,到达用户 WOW 账户)
|
|
19465
|
+
*
|
|
19466
|
+
* 流程(对用户透明):
|
|
19467
|
+
* 1. 检查 activeEvmAccount 在 EVM 链上的余额(原生 ETH 或 ERC20)是否 ≥ amount
|
|
19468
|
+
* 2. 底层 bridgeNativeEvmToWow / bridgeErc20ToWow:
|
|
19469
|
+
* 由 activeEvmAccount 私钥签名 deposit(lock 资产到 bridge 合约)
|
|
19470
|
+
* 3. 等待节点签名 + 在 WOW 上 claim → 资产到达 recipientWowAddress
|
|
19471
|
+
*
|
|
19472
|
+
* @param params.token 跨链 token(Eth/Weth/Wbtc/Usdc/Usdt)
|
|
19473
|
+
* @param params.amount 跨链金额(EVM 侧最小单位,evmDecimals)
|
|
19474
|
+
* @param params.recipientWowAddress 可选 WOW 接收地址;默认 wowEnv.account
|
|
19475
|
+
* @param params.waitForFinalization 是否等待 claim 完成(默认 true)
|
|
19476
|
+
*/
|
|
19477
|
+
bridgeEvmToWowSimple(params: {
|
|
19478
|
+
token: BridgeTokenId;
|
|
19479
|
+
amount: bigint;
|
|
19480
|
+
recipientWowAddress?: string;
|
|
19481
|
+
waitForFinalization?: boolean;
|
|
19482
|
+
}): Promise<{
|
|
19483
|
+
depositTxHash: string;
|
|
19484
|
+
bridgeSeq?: bigint;
|
|
19485
|
+
claimTxDigest?: string;
|
|
19486
|
+
activeEvmAccount: string;
|
|
19487
|
+
transferId: string;
|
|
19488
|
+
}>;
|
|
19489
|
+
/**
|
|
19490
|
+
* 单独将 activeEvmAccount 余额提取到其他 EVM 地址
|
|
19491
|
+
*
|
|
19492
|
+
* 用于用户主动从 activeEvmAccount 取回资产(非跨链场景)。
|
|
19493
|
+
* 内部调用 EvmAccount.withdrawFromActive,自动做余额校验。
|
|
19494
|
+
*/
|
|
19495
|
+
withdrawFromActiveEvmAccount(params: {
|
|
19496
|
+
to: string;
|
|
19497
|
+
amount: bigint; /** ERC20 token 合约地址;不传则提款原生 ETH */
|
|
19498
|
+
tokenAddress?: string; /** 跨链 token 标识(与 tokenAddress 二选一,便于按 symbol 提款) */
|
|
19499
|
+
token?: BridgeTokenId;
|
|
19500
|
+
network?: number | string;
|
|
19501
|
+
}): Promise<{
|
|
19502
|
+
txHash: string;
|
|
19503
|
+
transferId: string;
|
|
19504
|
+
}>;
|
|
19505
|
+
/**
|
|
19506
|
+
* 查询当前支持的 EVM 公链列表
|
|
19507
|
+
*
|
|
19508
|
+
* 当前仅 ETH 主网,未来可扩展更多 EVM 兼容链。
|
|
19509
|
+
* 返回 enum 值 / 描述 / chainId,activeEvmAccount 在所有链上共用一个地址。
|
|
19510
|
+
*/
|
|
19511
|
+
querySupportedEvmChains(): Promise<Array<{
|
|
19512
|
+
chainId: number;
|
|
19513
|
+
name: string;
|
|
19514
|
+
description: string;
|
|
19515
|
+
bridgeChainId: BridgeChainId;
|
|
19516
|
+
explorerUrl: string;
|
|
19517
|
+
rpcCount: number;
|
|
19518
|
+
healthyRpcCount: number;
|
|
19519
|
+
}>>;
|
|
19520
|
+
/**
|
|
19521
|
+
* 查询指定 EVM 链(或所有链)支持的 Bridge Token 列表
|
|
19522
|
+
*
|
|
19523
|
+
* 每个 token 包含:
|
|
19524
|
+
* - tokenId / symbol:token 标识
|
|
19525
|
+
* - evmAddress:EVM 侧合约地址(原生 ETH 为 0x000...000)
|
|
19526
|
+
* - evmDecimals:EVM 侧精度
|
|
19527
|
+
* - wowTypeTag:WOW 侧 type tag(即 WOW 侧代币类型标识)
|
|
19528
|
+
* - wowDecimals:WOW 侧精度
|
|
19529
|
+
* - description:token 描述说明
|
|
19530
|
+
*
|
|
19531
|
+
* token 列表与链绑定(每个 token 的 evmChains 标记其在哪些链上可用)。
|
|
19532
|
+
* 每条链到 WOW 主网都有独立的 token list(通过 evmChains 过滤)。
|
|
19533
|
+
*
|
|
19534
|
+
* @param params.network 指定链(chainId / name);不传则返回所有链的 token 列表
|
|
19535
|
+
*/
|
|
19536
|
+
querySupportedTokens(params?: {
|
|
19537
|
+
network?: number | string;
|
|
19538
|
+
}): Promise<Array<{
|
|
19539
|
+
chainId: number;
|
|
19540
|
+
chainName: string;
|
|
19541
|
+
bridgeChainId: BridgeChainId;
|
|
19542
|
+
tokens: Array<{
|
|
19543
|
+
tokenId: number;
|
|
19544
|
+
symbol: string;
|
|
19545
|
+
evmAddress: string;
|
|
19546
|
+
evmDecimals: number;
|
|
19547
|
+
wowTypeTag: string;
|
|
19548
|
+
wowDecimals: number;
|
|
19549
|
+
description: string;
|
|
19550
|
+
}>;
|
|
19551
|
+
}>>;
|
|
19552
|
+
/**
|
|
19553
|
+
* 查询 activeEvmAccount 地址 + 余额(按链 or 所有链)
|
|
19554
|
+
*
|
|
19555
|
+
* @param params.network 指定链(chainId / name);不传则查询所有支持的链
|
|
19556
|
+
* @param params.tokens 额外查询的 ERC20 token 地址列表;不传则只查原生 ETH 余额
|
|
19557
|
+
*/
|
|
19558
|
+
queryActiveEvmAccount(params?: {
|
|
19559
|
+
network?: number | string;
|
|
19560
|
+
tokens?: string[];
|
|
19561
|
+
}): Promise<{
|
|
19562
|
+
address: string;
|
|
19563
|
+
chains: Array<{
|
|
19564
|
+
chainId: number;
|
|
19565
|
+
name: string;
|
|
19566
|
+
nativeBalance: string;
|
|
19567
|
+
tokens?: Array<{
|
|
19568
|
+
tokenAddress: string;
|
|
19569
|
+
balance: string;
|
|
19570
|
+
}>;
|
|
19571
|
+
}>;
|
|
19572
|
+
}>;
|
|
19573
|
+
/**
|
|
19574
|
+
* 查询当前进行中的转账列表(含历史)
|
|
19575
|
+
*
|
|
19576
|
+
* @param params.onlyActive true 只返回未完成的;false 返回全部
|
|
19577
|
+
*/
|
|
19578
|
+
queryTransferList(params?: {
|
|
19579
|
+
onlyActive?: boolean;
|
|
19580
|
+
}): Promise<BridgeTransferRecord[]>;
|
|
19581
|
+
/** 按 transferId 查询单条转账详情 */
|
|
19582
|
+
queryTransferStatus(transferId: string): Promise<BridgeTransferRecord | undefined>;
|
|
19583
|
+
/**
|
|
19584
|
+
* 刷新某条转账的实时状态(向链上查询最新进展)
|
|
19585
|
+
*
|
|
19586
|
+
* 仅对 cross-chain 类型有效;withdraw 类型不会变化。
|
|
19587
|
+
*/
|
|
19588
|
+
refreshTransferStatus(transferId: string): Promise<BridgeTransferRecord | undefined>;
|
|
19589
|
+
/**
|
|
19590
|
+
* 管理 EVM 公链的 RPC 端点(增/删/替换/查询状态)
|
|
19591
|
+
*
|
|
19592
|
+
* 主要影响 EVM→WOW 方向的事件同步(节点需从 EVM 链读取 deposit 事件、余额)。
|
|
19593
|
+
* 公共 RPC 易 429 限流,AI / 用户可借此动态调整 RPC 池。
|
|
19594
|
+
*/
|
|
19595
|
+
manageEvmRpc(params: {
|
|
19596
|
+
/** 操作类型 */op: "list" | "add" | "remove" | "set" | "ping"; /** 目标链(chainId 或 name),默认 ETH 主网 */
|
|
19597
|
+
network?: number | string; /** 操作相关的 RPC URL 列表(add/remove/set/ping 共用) */
|
|
19598
|
+
rpcUrls?: string[];
|
|
19599
|
+
}): Promise<{
|
|
19600
|
+
op: string;
|
|
19601
|
+
success: boolean;
|
|
19602
|
+
result?: any;
|
|
19603
|
+
}>;
|
|
19604
|
+
private _transferHistory;
|
|
19605
|
+
private _transferCounter;
|
|
19606
|
+
/** _loadHistory 的 promise,供查询方法 await(避免启动时 Map 还没加载完) */
|
|
19607
|
+
private _loadHistoryPromise;
|
|
19608
|
+
/** Persistence key in cache.db: stores the entire transfer history as JSON */
|
|
19609
|
+
private static readonly HISTORY_DB_KEY;
|
|
19610
|
+
/** Load transfer history from cache.db on construction */
|
|
19611
|
+
private _loadHistory;
|
|
19612
|
+
/** Persist all transfer history to cache.db */
|
|
19613
|
+
private _saveHistory;
|
|
19614
|
+
private _recordTransfer;
|
|
19615
|
+
private _updateTransfer;
|
|
19194
19616
|
}
|
|
19195
19617
|
//#endregion
|
|
19196
19618
|
//#region src/transactions/Commands.d.ts
|
|
@@ -19492,7 +19914,7 @@ declare class Transaction$1 {
|
|
|
19492
19914
|
Sponsor: true;
|
|
19493
19915
|
}, "Sender" | "Sponsor">;
|
|
19494
19916
|
};
|
|
19495
|
-
}, "
|
|
19917
|
+
}, "Pure" | "Object" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
|
|
19496
19918
|
commands: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
19497
19919
|
MoveCall: {
|
|
19498
19920
|
package: string;
|
|
@@ -20809,4 +21231,4 @@ declare class WowClient extends WowJsonRpcClient {
|
|
|
20809
21231
|
constructor(options: WowClientOptions);
|
|
20810
21232
|
}
|
|
20811
21233
|
//#endregion
|
|
20812
|
-
export { TransactionObjectInput as $, WowSystemStateSummary as $S, publicKeyFromWowBytes as $_, KeyData as $a, DynamicFieldPage as $b, machineNode2file as $c, getMoveNameFromObjectType as $d, CallResponseError as $f, rewardFn as $g, RepositoryAddress as $h, filterGuardInstruct as $i, usage_guard_set as $l, DescriptionObject as $m, ContactListsSyncResult as $n, Discount as $o, passportFn as $p, SseEvent as $r, CallProgress as $s, queryWowTx as $t, ObjectMachine as $u, WowClientRegistration as $v, PaginatedEvents as $x, TDynamicFieldObjectParams as $y, isWowJsonRpcClient as A, WowMoveAbility as AS, account_operation as A_, CallPersonal_Data as Aa, WGetLatestCheckpointSequenceNumberParams as Ab, newPayment as Ac, TableAnswer as Ad, CallGuard as Af, demandFn as Ag, NamedObjectWithPermission as Ah, queryPermissions as Ai, reward_add$2 as Al, W_SAFE as Am, mark_messages_as_viewed as An, MAX_RECORD_COUNT as Ao, isBizPermIndex as Ap, MessengerErrorCode as Ar, location_set as As, DepositEthOptions as At, GuardInPassport as Au, WowGrpcClient as Av, EndOfEpochData$1 as Ax, GetMoveFunctionArgTypesParams as Ay, parsePartialSignatures as B, WowMoveNormalizedType as BS, query_local_mark_list as B_, external_deposit_guard_clear as Ba, WMultiGetObjectsParams as Bb, MAX_NODE_PAIR_COUNT as Bc, TableItem_RepositoryData as Bd, gen_passport as Bf, isValidU256 as Bg, PassportObject as Bh, NewEntityEvent as Bi, create$8 as Bl, ArbitrationAddress as Bm, wts2html as Bn, guard_remove_expired as Bo, remarkRemove as Bp, SERVER_URL as Br, repository_remove as Bs, BridgeTransferState as Bt, NamedOperator$1 as Bu, WowGraphQLClientOptions as Bv, MoveVariant as Bx, GetStakesParams as By, JsonRpcError as C, WowChangeEpoch as CS, LocalInfoOperationResult as C_, isWowChain as Ca, WDevInspectTransactionBlockParams as Cb, progressFn as Cc, QueryTableItem_byAddress as Cd, query_objects as Cf, ValueTypeToType as Cg, MAX_PERMISSION_GUARD_COUNT as Ch, WtsToHtmlOptions as Ci, feedback as Cl, WErrors as Cm, blacklist as Cn, reward_add as Co, entityAdd as Cp, MessageIdRange as Cr, compensation_fund_withdraw as Cs, TOKENS_DEPOSITED_V2_TOPIC as Ct, AmountFromWithdrawGuard as Cu, Ed25519Keypair as Cv, DevInspectResults as Cx, GetCoinMetadataParams as Cy, PaginationArguments as D, WowEventFilter as DS, ManyAccountOrMark_Address as D_, CallProof_Data as Da, WGetCheckpointParams as Db, MAX_RECIPIENT_COUNT as Dc, RewardGuard as Dd, query_tableItem as Df, arbitrationFn as Dg, Modules as Dh, INFO_CONSTANT as Di, location_set$1 as Dl, W_ENSURE as Dm, getMessengerManager as Dn, CallReward as Do, entityReplace as Dp, MessageType$1 as Dr, discount as Ds, encodeTokenTransferPayloadV2 as Dt, ArbStatus as Du, GrpcWebOptions$1 as Dv, DynamicFieldName$1 as Dx, GetDynamicFieldsParams as Dy, OrderArguments as E, WowEvent as ES, LocalNameByAddress as E_, CallProof as Ea, WGetChainIdentifierParams as Eb, CallPayment_Data as Ec, QueryTableItem_byU64 as Ed, query_table as Ef, WitnessType as Eg, MachineObject as Eh, ZipMetadata as Ei, guard_remove as El, WValidate as Em, generate_wts as En, um_set$1 as Eo, entityRemove as Ep, MessageTimeField as Er, description_set$3 as Es, encodeBridgeETHV2 as Et, ArbProposition as Eu, GrpcWebFetchTransport$1 as Ev, DynamicFieldInfo as Ex, GetDynamicFieldObjectParams as Ey, SerializeSignatureInput as F, WowMoveNormalizedEnum as FS, query_account_list as F_, create as Fa, WGetNormalizedMoveStructParams as Fb, CallMachine_Data as Fc, TableItem_EntityLinker as Fd, GuardSubmissionToFill as Ff, isValidHttpUrl as Fg, ObjectWithType as Fh, EventAnswer as Fi, CallArbitration_Data as Fl, AddressResult as Fm, settings as Fn, coin_add as Fo, permRemove as Fp, PreKeyStatus as Fr, price_add as Fs, BridgeNodeClient as Ft, MAX_OBJECTS_PER_QUERY as Fu, GraphQLDocument as Fv, GetPastObjectRequest as Fx, GetObjectParams as Fy, ParsedKeypair as G, WowObjectDataFilter as GS, Account as G_, external_withdraw_guard_remove as Ga, WowObjectChangeDeleted as Gb, consensus_repositories_clear as Gc, TreasuryRecord as Gd, parseGuardFile as Gf, isValidValueTypeInput as Gg, PermissionObject as Gh, queryObjectWithType as Gi, fees_alloc as Gl, CoinParam as Gm, AddressExistence as Gn, CallOrder_Data as Go, MAX_GUARD_COUNT_ONCE as Gp, ServerMessage as Gr, sales_add as Gs, parseEthClaimEvent as Gt, ObjectBase as Gu, SerializedTransactionDataV1 as Gv, ObjectOwner$1 as Gx, QueryEventsParams as Gy, Keypair as H, WowMoveVisibility as HS, TokenDataFilter as H_, external_withdraw as Ha, WTryGetPastObjectParams as Hb, NodeParam as Hc, TableItem_TreasuryHistory as Hd, guard2file as Hf, isValidU64 as Hg, PaymentInfoObject as Hh, ProgressEvent as Hi, dispute as Hl, BalanceType as Hm, Messenger as Hn, receive$1 as Ho, transferPermission as Hp, SendMessageResponse as Hr, reward_clear$1 as Hs, BridgeTransferStep as Ht, ObjectAllocation as Hu, isWowGraphQLClient as Hv, MultiSigLegacy as Hx, GetTransactionBlockParams as Hy, parseSerializedSignature as I, WowMoveNormalizedField as IS, query_local_info as I_, deposit as Ia, WGetObjectParams as Ib, ForwardParam as Ic, TableItem_EntityRegistrar as Id, GuardTableItem as If, isValidLongName as Ig, OperatorType as Ih, EventBase as Ii, MAX_VOTING_GUARD_COUNT as Il, AllocationAddress as Im, sign_wts as In, create$2 as Io, permSet as Ip, PullMessagesResponse as Ir, price_reduce as Is, BridgeNodeClientOptions as It, MachineForward as Iu, GraphQLQueryOptions as Iv, InputObjectKind as Ix, GetOwnedObjectsParams as Iy, W_PRIVATE_KEY_PREFIX as J, WowObjectResponse as JS, DEFAULT_ACCOUNT_NAME as J_, um_set as Ja, WowObjectChangeTransferred as Jb, description_set$4 as Jc, WReceivedObject as Jd, reliesClear as Jf, machineFn as Jg, ProofAddress as Jh, GUARDQUERY as Ji, newArbitration as Jl, ContactAddress as Jm, CURRENT_NETWORK as Jn, CallService_Data as Jo, freeze as Jp, SessionState as Jr, sales_set as Js, queryEthBalance as Jt, ObjectDiscount as Ju, Command$1 as Jv, ObjectValueKind as Jx, TAllCoinsParams as Jy, SignatureWithBytes as K, WowObjectDataOptions as KS, AccountData as K_, newTreasury as Ka, WowObjectChangeMutated as Kb, consensus_repositories_remove as Kc, VoteWeight as Kd, parseGuardFromMarkdown as Kf, isValueTypeNumber as Kg, ProgressAddress as Kh, queryObjectsWithType as Ki, fees_transfer as Kl, CoinWrapPrefix as Km, BaseRange as Kn, Buy as Ko, SubmissionCall as Kp, ServerRegisterRequest as Kr, sales_clear as Ks, parseEthDepositEvent as Kt, ObjectContact as Ku, Argument$1 as Kv, ObjectRead as Kx, QueryTransactionBlocksParams as Ky, toSerializedSignature as L, WowMoveNormalizedFunction as LS, query_local_info_default as L_, description_set as La, WGetProtocolConfigParams as Lb, MAX_CONSENSUS_REPOSITORIES_COUNT as Lc, TableItem_MachineNode as Ld, GuardTableItemBase as Lf, isValidName as Lg, OrderAddress as Lh, EventCursor as Li, arb_withdraw as Ll, AllocationObject as Lm, verify_wts as Ln, description_set$2 as Lo, permissionFn as Lp, RangeType as Lr, publish as Ls, SignedBridgeActionResponse as Lt, MachineForwardGuard as Lu, GraphQLQueryResult as Lv, MoveCallParams as Lx, GetProtocolConfigParams as Ly, isValidHardenedPath as M, WowMoveAbort as MS, local_info_operation as M_, CallTreasury_Data as Ma, WGetNormalizedMoveFunctionParams as Mb, paymentInfo as Mc, TableItemQuery as Md, GuardNode as Mf, isThisPackage as Mg, ObjectModuleAndName as Mh, ArbEvent as Mi, reward_remove$2 as Ml, W_VALIDATE_PARAM as Mm, pull_messages as Mn, RewardGuardObject as Mo, ownerReceive as Mp, PQPreKeyPublic as Mr, newService as Ms, depositErc20 as Mt, IdFrom as Mu, isWowGrpcClient as Mv, ExecuteTransactionRequestType as Mx, GetNormalizedMoveModuleParams as My, mnemonicToSeed as N, WowMoveFunctionArgType as NS, local_mark_operation as N_, MAX_EXTERNAL_DEPOSIT_GUARD_COUNT as Na, WGetNormalizedMoveModuleParams as Nb, receiveToMyself as Nc, TableItem_AddressMark as Nd, GuardParseError as Nf, isValidArray as Ng, ObjectResult as Nh, DemandFeedbackEvent as Ni, um_set$5 as Nl, enrichMoveError as Nm, send_file as Nn, RewardRecord as No, ownerReceiveObject as Np, PlaintextMessage as Nr, order_allocators_set as Ns, depositEth as Nt, IdFromInput as Nu, GrpcCoreClient as Nv, ExecutionStatus$2 as Nx, GetNormalizedMoveModulesByPackageParams as Ny, WowJsonRpcClient as O, WowExecutionResult as OS, QueryAccount as O_, gen_proof as Oa, WGetCheckpointsParams as Ob, Revenue as Oc, ServiceGuard as Od, query_table_json as Of, contactFn as Og, NamedObject as Oh, ProtocolInfoQuery as Oi, newDemand as Ol, W_ERROR as Om, guardlist as On, CallReward_Data as Oo, entitySet as Op, MessengerConfig as Or, discount_destroy as Os, encodeTransferBridgedTokensWithSignatures as Ot, ArbVoted as Ou, RpcTransport$1 as Ov, DynamicFieldType as Ox, GetLatestCheckpointSequenceNumberParams as Oy, mnemonicToSeedHex as P, WowMoveModuleId as PS, query_account as P_, MAX_EXTERNAL_WITHDRAW_GUARD_COUNT as Pa, WGetNormalizedMoveModulesByPackageParams as Pb, CallMachine as Pc, TableItem_DemandPresenter as Pd, GuardParseResult as Pf, isValidDescription as Pg, ObjectType as Ph, DemandPresentEvent as Pi, CallArbitration as Pl, getMoveErrorDescription as Pm, send_message as Pn, claim as Po, permAdd as Pp, PreKeyPublic as Pr, pause as Ps, depositFromEth as Pt, Im as Pu, GrpcCoreClientOptions as Pv, GasCostSummary$2 as Px, GetNormalizedMoveStructParams as Py, TransactionObjectArgument as Q, WowReservation as QS, publicKeyFromRawBytes as Q_, DataRemoveItem as Qa, CheckpointPage as Qb, init_node_name as Qc, getMoveNameFromNumber as Qd, CallBase as Qf, repositoryFn as Qg, RegistrarAddress as Qh, GuardQuery as Qi, usage_guard_none as Ql, DemandObject as Qm, ContactLists as Qn, DISCOUNT_TYPE_RATES as Qo, newPassport as Qp, SseCustomEvent as Qr, um_set$3 as Qs, queryWowToEthTransferStatus as Qt, ObjectGuard as Qu, ClientWithExtensions as Qv, PaginatedDynamicFieldInfos as Qx, TCommitteeInfoParams as Qy, MultiSigPublicKey as R, WowMoveNormalizedModule as RS, query_local_info_list as R_, external_deposit as Ra, WGetTotalTransactionBlocksParams as Rb, MAX_FORWARD_ORDER_COUNT as Rc, TableItem_PermissionPerm as Rd, create$10 as Rf, isValidU128 as Rg, OrderObject as Rh, EventQuery as Ri, arbitration as Rl, ArbAddress as Rm, watch_conversations as Rn, guard_add as Ro, query_permissions as Rp, RemoteBundle as Rr, repository_add as Rs, BRIDGE_STEP_DESCRIPTIONS as Rt, MachineNode as Ru, GraphQLResponseErrors as Rv, MoveStruct as Rx, GetReferenceGasPriceParams as Ry, getJsonRpcFullnodeUrl as S, WowCallArg as SS, LocalInfoOperation as S_, isEvmChain as Sa, UnsafeTransferWowParams as Sb, newProgress as Sc, QueryTableItem_Entity as Sd, queryTableItem_TreasuryHistory as Sf, ValueTypeInput as Sg, MAX_NAME_LENGTH as Sh, WtsSignatureVerification as Si, description_set$5 as Sl, MoveModuleError as Sm, SettingsResponse as Sn, policy_set as So, descriptionSet as Sp, MessageFilter as Sr, compensation_fund_receive as Ss, TOKENS_CLAIMED_TOPIC as St, AmountFromDepositGuard as Su, DEFAULT_ED25519_DERIVATION_PATH as Sv, DevInspectArgs as Sx, GetCheckpointsParams as Sy, WowHTTPTransportError as T, WowEndOfEpochTransactionKind as TS, LocalMarkOperationResult as T_, CallContact_Data as Ta, WExecuteTransactionBlockParams as Tb, CallPayment as Tc, QueryTableItem_byString as Td, query_personal as Tf, WithPermissionObject as Tg, MachineAddress as Th, ZipContentType as Ti, guard_clear as Tl, WResult as Tm, friendslist as Tn, reward_remove as To, entityDel as Tp, MessageStatus as Tr, customer_required_set as Ts, encodeBridgeERC20V2 as Tt, ArbIndemnity as Tu, Ed25519PublicKey as Tv, DryRunTransactionBlockResponse as Tx, GetCommitteeInfoParams as Ty, LEGACY_PRIVATE_KEY_SIZE as U, WowObjectChange as US, TokenInfo as U_, external_withdraw_guard_add as Ua, WTryMultiGetPastObjectsParams as Ub, THRESHOLD_DEFAULT as Uc, TableQuery as Ud, guardFn as Uf, isValidU8 as Ug, PaymentObject as Uh, query_events as Ui, fee_set as Ul, CallEnv as Um, AddGuardListRequest as Un, um_set$2 as Uo, um_set$7 as Up, SendMessageResult as Ur, reward_remove$1 as Us, EvmTxReceipt as Ut, ObjectArb as Uu, TransactionDataBuilder as Uv, MultiSigPublicKey$1 as Ux, MultiGetObjectsParams as Uy, FALCON512_PRIVATE_KEY_SIZE as V, WowMoveStructTypeParameter as VS, query_local_token_list as V_, external_deposit_guard_remove as Va, WMultiGetTransactionBlocksParams as Vb, NodePairParam as Vc, TableItem_RewardRecord as Vd, generateNodeComments as Vf, isValidU32 as Vg, PaymentAddress as Vh, NewOrderEvent as Vi, description_set$6 as Vl, ArbitrationObject as Vm, MessengerManager as Vn, newReward as Vo, remarkSet as Vp, SendMessageRequest as Vr, reward_add$1 as Vs, BridgeTransferStatus as Vt, OBJECT_TYPE_DEFINITIONS as Vu, WowGraphQLRequestError as Vv, MultiSig as Vx, GetTotalSupplyParams as Vy, PRIVATE_KEY_SIZE as W, WowObjectData as WS, TokenTypeInfo as W_, external_withdraw_guard_clear as Wa, WowObjectChangeCreated as Wb, consensus_repositories_add as Wc, TreasuryOp as Wd, newGuard as Wf, isValidValueType as Wg, PermissionAddress as Wh, query_events_json as Wi, feedback$1 as Wl, CoinObject as Wm, AddListRequest as Wn, CallOrder as Wo, MAX_GUARD_COUNT$2 as Wp, SeqIndexRange as Wr, sale_suspension as Ws, makeBridgeTransferState as Wt, ObjectArbitration as Wu, SerializedTransactionDataV2 as Wv, MultiSigPublicKeyLegacy as Wx, MultiGetTransactionBlocksParams as Wy, encodeWowPrivateKey as X, WowParsedData as XS, IAccountStorage as X_, CallRepository as Xa, Order as Xb, forwards_add as Xc, WitnessTargetType as Xd, reliesRemove as Xf, object_name_from_type as Xg, Recipient as Xh, GuardInstructFilterOptions as Xi, reset as Xl, ContextType as Xm, ChainProofResponse as Xn, DEFAULT_SETTING_LOCK_DURATION as Xo, guardAdd as Xp, SignedRequestBase as Xr, stock_add as Xs, queryEthTxConfirmations as Xt, ObjectEntityLinker as Xu, ObjectRef as Xv, PaginatedCheckpoints as Xx, TCoinMetadataParams as Xy, decodeWowPrivateKey as Y, WowObjectResponseQuery as YS, FaucetCoinInfo as Y_, withdraw as Ya, WowObjectChangeWrapped as Yb, forward as Yc, WitnessSourceType as Yd, reliesLogic as Yf, object_module_and_name_from_type as Yg, ReceivedObject as Yh, GuardInstruct as Yi, pause$2 as Yl, ContactObject as Ym, ChainProofRequest as Yn, CompensationClaim as Yo, get_guardSubmissions as Yp, SignedRequest as Yr, setting_lock_duration_set as Ys, queryEthToWowTransferStatus as Yt, ObjectEntity as Yu, GasData as Yv, OwnedObjectRef as Yx, TBalanceParams as Yy, Transaction$1 as Z, WowProgrammableMoveCall as ZS, MAX_MESSENGER_ACCOUNTS as Z_, CallRepository_Data as Za, CoinBalance as Zb, forwards_remove as Zc, data2object as Zd, validateGuardNode as Zf, parseValueType as Zg, RecipientType as Zh, GuardItem as Zi, um_set$6 as Zl, DemandAddress as Zm, ClearListRequest as Zn, DISCOUNT_TYPE_MINUS as Zo, guardClear as Zp, SseArkConfirmedEvent as Zr, stock_reduce as Zs, queryEthTxReceipt as Zt, ObjectEntityRegistrar as Zu, TransactionData$1 as Zv, PaginatedCoins as Zx, TCoinsParams as Zy, SerialTransactionExecutor as _, TypeOrigin$1 as _S, FaucetNetwork as __, BridgeTokenSymbol as _a, UnsafeRequestAddStakeParams as _b, getMachineNodeForward as _c, PolicyRule as _d, queryTableItem_MachineNode as _f, TypeNamedObjectWithPermission as _g, MAX_ENV_PERMISSION_GUARD_COUNT as _h, WtsPayload as _i, MAX_FEEDBACK_COUNT as _l, ReceivedNormal as _m, FriendslistResponse as _n, newRepository as _o, USER_DEFINED_PERM_INDEX_START as _p, MerkleMetadata as _r, arbitrations_add as _s, buildClaimMessage as _t, AllocationMode as _u, Secp256r1KeypairData as _v, CoinSupply as _x, ExecuteTransactionBlockParams as _y, formatMoveAbortMessage as a, WowTransactionBlockResponseOptions as aC, ProtocolConfigValue as aS, toTxU128 as a_, restoreNodeFromOutput as aa, TStakesParams as ab, MAX_NAMED_OPERATOR_COUNT as ac, ObjectProgress as ad, getObjectTypeFromMoveName as af, ServiceAddress as ag, GasTokenType as ah, TimeRange as ai, node_remove as al, owner_receive as am, WowClaimStatus as an, MAX_REWARD_COUNT as ao, BuiltinPermissionIndex as ap, DecryptedMessage as ar, MAX_PUBKEY_LENGTH as as, Inputs as at, AllocatorsType as au, Falcon512Keypair as av, WowMoveObject as ax, SignatureScheme$1 as ay, getPureBcsSchema as b, ValidatorsApy as bS, GetLocalNamesByAddresses as b_, TransferRecord as ba, UnsafeSplitCoinParams as bb, namedOperator_remove as bc, ProgressSessionHolder as bd, queryTableItem_RepositoryData as bf, ValueContainer as bg, MAX_LONG_NAME_LENGTH as bh, WtsSession as bi, ServiceInfo$2 as bl, query_received as bm, GuardlistResponse as bn, policy_clear as bo, adminSet as bp, MessageContentType as br, buy_guard_set as bs, AbiMessage as bt, Allocators as bu, Secp256k1Keypair as bv, ConsensusDeterminedVersionAssignments$1 as bx, GetBalanceParams as by, BaseClient as c, WowWithdrawFrom as cC, RawData as cS, toTxU256 as c_, CallBridge_DepositWow as ca, TryGetPastObjectParams as cb, ProgressEvent$1 as cc, ObjectResource as cd, idFromToString as cf, TreasuryAddress as cg, GetObjectExisted as ch, UploadPreKeysResponse as ci, pause$1 as cl, parseTypeParameter as cm, BridgeConfig as cn, RepositoryPolicyGuardObject as co, MAX_ADMIN_COUNT as cp, ExistListRequest as cr, MAX_REWARD_COUNT$1 as cs, TransactionInput as ct, MAX_ALLOCATOR_COUNT as cu, PasskeyPublicKey as cv, AccumulatorOperation as cx, bytesEqual as cy, CoreClientOptions as d, JsonRpcHTTPTransport as dC, TransactionBlockBytes as dS, toTxU8 as d_, BridgeChainId as da, UnsafeMergeCoinsParams as db, accomplish as dc, ObjectTreasury as dd, objectTypeToNumber as df, TxAddressVec as dg, IsBcsStringLength as dh, WTS_SCHEMA_URL as di, publish$1 as dl, validObjects as dm, findEvmChainConfig as dn, SignerOrClockBase as do, PermissionFilter as dp, GetBundleParams as dr, ServiceBuyItem as ds, BridgeClientOptions as dt, allocationFn as du, PasskeyKeypair as dv, BalanceChange$2 as dx, BscribeEventParams as dy, WowTransaction as eC, PaginatedObjectsResponse as eS, serviceFn as e_, getGuardQueryInfo as ea, TDynamicFieldsParams as eb, CallProgress_Data as ec, ObjectOrder as ed, getNumberFromMoveName as ef, RepositoryObject as eg, DiscountObject as eh, SseEventType as ei, newMachine as el, verify as em, waitForEthTx as en, MAX_DATA_SIZE as eo, CallResult as ep, ConversationInfo as er, MAX_ARBITRATION_COUNT as es, TransactionResult$1 as et, vote as eu, verifyPersonalMessageSignature as ev, EndOfEpochInfo as ex, WowClientTypes as ey, isArgument as f, JsonRpcHTTPTransportOptions as fC, TransactionBlockData as fS, treasuryFn as f_, BridgeCommitteeMember as fa, UnsafeMoveCallParams as fb, adminUnhold as fc, ObjectTypeDefinition as fd, parseIdFrom as ff, TxNumber as fg, IsValidArgType as fh, WtsFile as fi, um_set$4 as fl, valueToBcsBytes as fm, findEvmChainConfigByBridgeChainId as fn, create$1 as fo, PermissionIndexType as fp, GetSettingsRequest as fr, ServiceQuoteObject as fs, DepositWowParams as ft, allocators as fu, PasskeyProvider as fv, Checkpoint$1 as fx, BscribeTransactionParams as fy, ParallelTransactionExecutorOptions as g, ClientCacheOptions as gC, TransferObjectParams as gS, AccountOrMark_Address as g_, BridgeToken as ga, UnsafePublishParams as gb, create$4 as gc, PersonalQuery as gd, queryTableItem_EntityRegistrar as gf, TypeNamedObject as gg, MAX_DESCRIPTION_LENGTH as gh, WtsMeta as gi, FeedbackInfo as gl, ReceivedBalanceOrRecently as gm, FriendslistRequest as gn, description_set$1 as go, Permission_Index_Entity as gp, MAX_QUERY_LIMIT as gr, arbitration_clear as gs, ClaimEthParams as gt, sharing as gu, Secp256r1Keypair as gv, CoinStruct as gx, EryTransactionBlocksParams as gy, ParallelTransactionExecutor as h, ClientCache as hC, TransactionFilter as hS, AccountOperationResult as h_, BridgeSummary as ha, UnsafePayWowParams as hb, context_repository_remove as hc, PaymentInfo as hd, queryTableItem_EntityLinker as hf, TxString as hg, MAX_DEPENDED_COUNT as hh, WtsMessage as hi, DemandPresent as hl, ReceivedBalanceObject as hm, BlacklistResponse as hn, data_remove as ho, Permission_Index as hp, ListOperationResponse as hr, ServiceSaleObject as hs, ClaimEthOptions as ht, receive$2 as hu, DEFAULT_SECP256R1_DERIVATION_PATH as hv, Claim as hx, EryEventsParams as hy, extractStatusFromEffectsBcs as i, WowTransactionBlockResponse as iC, ProtocolConfig$2 as iS, toTxString as i_, resolveCallEnv as ia, TStakesByIdsParams as ib, MAX_NAMED_OPERATOR_ADDRESS_COUNT as ic, ObjectPersonal as id, getObjectTypeDefinitionFromNumber as if, RewardObject as ig, GasCoinType as ih, SsePreKeyLowEvent as ii, node_exchange_name as il, isValidValueContainer as im, WowClaimState as in, MAX_POLICY_GUARD_COUNT as io, isCallResultSubmission as ip, DEFAULT_QUERY_LIMIT as ir, MAX_DISCOUNT_TOTAL_COUNT as is, TransactionPlugin as it, voting_guard_remove as iu, DEFAULT_FALCON512_DERIVATION_PATH as iv, WowMoveNormalizedModules as ix, SignatureFlag as iy, isValidBIP32Path as j, WowMoveAbilitySet as jS, fetch_token_info_operation as j_, CallTreasury as ja, WGetMoveFunctionArgTypesParams as jb, paymentFn as jc, TableAnswerItem as jd, CallGuard_Data as jf, isGasTokenType as jg, NormalObject as jh, queryProtocolInfo as ji, reward_clear$2 as jl, W_SUCCESS as jm, proof_message as jn, RecipientRecord as jo, newPermission as jp, NORMAL_MESSAGE_BYTES_LIMIT as jr, machine_set as js, DepositParams as jt, GuardSubmission as ju, WowGrpcClientOptions as jv, EventId as jx, GetNormalizedMoveFunctionParams as jy, WowJsonRpcClientOptions as k, WowGasData as kS, QueryAccountResult as k_, CallPersonal as ka, WGetEventsParams as kb, create$5 as kc, ServiceSale$1 as kd, raw2type as kf, createValueContainer as kg, NamedObjectWithDescription as kh, ProtocolInfoResult as ki, present as kl, W_FAILURE as km, mark_conversation_as_viewed as kn, MAX_GUARD_COUNT as ko, entitySwap as kp, MessengerError as kr, discount_send as ks, DepositErc20Options as kt, DiscountType as ku, types_d_exports as kv, ECMHLiveObjectSetDigest as kx, GetLatestWowSystemStateParams as ky, ClientWithCoreApi as l, WowWithdrawalTypeArg as lC, Signature as lS, toTxU32 as l_, CallBridge_DepositWow_Data as la, TryMultiGetPastObjectsParams as lb, ProgressNext as lc, ObjectReward as ld, isValidIdFromInput as lf, TreasuryObject as lg, GuardAddress as lh, WTS_FILE_BYTES_LIMIT as li, prev_nodes_remove as ll, permission_set as lm, EvmChainConfig as ln, RepositoryPolicyRuleObject as lo, MAX_ENTITY_COUNT as lp, FailedPrekeyInfo as lr, MAX_SALE_COUNT as ls, UpgradePolicy as lt, MAX_SHARING_COUNT as lu, BrowserPasskeyProvider as lv, AccumulatorValue as lx, IntentScope as ly, coinWithBalance as m, JsonRpcTransportRequestOptions as mC, TransactionEffects$2 as mS, AccountOperation as m_, BridgeMessage as ma, UnsafePayParams as mb, context_repository_clear as mc, ObjectsQuery as md, queryTableItem_DemandPresenter as mf, TxObject as mg, IsValidEndpoint as mh, WtsGenerationParams as mi, CallDemand_Data as ml, ReceivedBalance as mm, BlacklistRequest as mn, data_id_from as mo, PermissionInfoType as mp, GuardListItem as mr, ServiceSale as ms, depositFromWow as mt, newAllocation as mu, Secp256r1PublicKey as mv, CheckpointId as mx, DryRunTransactionBlockParams as my, WowClientOptions as n, WowTransactionBlockBuilderMode as nC, PaginatedTransactionResponse as nS, toTxAddressVec as n_, checkType as na, TOwnedObjectsParams as nb, Holder as nc, ObjectPayment as nd, getNumbersFromObjectTypes as nf, ResourceObject as ng, ENTITY_REGISTRAR_ADDRESS as nh, SseGuardRejectedEvent as ni, node_add as nl, bcsBytesToValue as nm, ClaimWowParams as nn, MAX_POLICY_COUNT as no, ResponseData as np, DEFAULT_DEVICE_ID as nr, MAX_DISCOUNT_COUNT_ONCE as ns, BuildTransactionOptions as nt, voting_guard_add as nu, verifyTransactionSignature as nv, EpochPage as nx, SIGNATURE_SCHEME_TO_FLAG as ny, parseTransactionBcs as o, WowTransactionBlockResponseQuery as oC, PublicKey$1 as oS, toTxU16 as o_, CallBridge_ClaimWow as oa, TTotalSupplyParams as ob, MachineNodeForwardResult as oc, ObjectProof as od, getObjectTypeFromNumber as of, ServiceObject as og, GetObject as oh, UpdateSettingsRequest as oi, node_rename as ol, parseObjectType as om, claimOnWow as on, RemoveParam as oo, CallPermission as op, Empty as or, MAX_REPOSITORY_COUNT as os, TransactionArgument as ot, CallAllocation as ou, Falcon512KeypairData as ov, WowMovePackage as ox, PublicKey as oy, Arguments as p, JsonRpcTransport as pC, TransactionBlockEffectsModifiedAtVersions as pS, valueTypeToString as p_, BridgeLimit as pa, UnsafePayAllWowParams as pb, context_repository_add as pc, ObjectsAnswer as pd, queryTableItem_AddressMark as pf, TxNumberVec as pg, IsValidBalance as ph, WtsFileResult as pi, CallDemand as pl, QueryReceived as pm, findToken as pn, data$1 as po, PermissionInfo as pp, GetSettingsResponse as pr, ServiceRequiredObject as ps, DepositWowResult as pt, create$9 as pu, findCommonPublicKey as pv, CheckpointCommitment$1 as px, DevInspectTransactionBlockParams as py, Signer as q, WowObjectRef as qS, AccountFilter as q_, receive as qa, WowObjectChangePublished as qb, create$6 as qc, VotingGuard as qd, reliesAdd as qf, isWitnessType as qg, ProgressObject as qh, GUARDINSTRUCT as qi, location_set$2 as ql, CoinWrapperObject as qm, CHAIN_PROOF_TYPE as qn, CallService as qo, destroy as qp, ServerRegisterResponse as qr, sales_remove as qs, queryErc20Balance as qt, ObjectDemand as qu, CallArg as qv, ObjectResponseError as qx, TAllBalancesParams as qy, SimulationError as r, WowTransactionBlockKind as rC, PasskeyAuthenticator$1 as rS, toTxObject as r_, getCallEnvAccount as ra, TReferenceGasPriceParams as rb, MAX_CONTEXT_REPOSITORY_COUNT as rc, ObjectPermission as rd, getObjectTypeDefinition as rf, RewardAddress as rg, EntityAddress as rh, SseNewMessageEvent as ri, node_clear as rl, extractCoinType as rm, ClaimWowResult as rn, MAX_POLICY_DESCRIPTION_LEN as ro, getCoinParam as rp, DEFAULT_MESSENGER_CONFIG as rr, MAX_DISCOUNT_RECEIVER_ONCE as rs, SerializeTransactionOptions as rt, voting_guard_clear as ru, MultiSigSigner as rv, ProgrammableTransaction$1 as rx, SIGNATURE_SCHEME_TO_SIZE as ry, parseTransactionEffectsBcs as s, WowValidatorSummary as sC, RPCTransactionRequestParams as sS, toTxU16Vec as s_, CallBridge_ClaimWow_Data as sa, TValidatorsApyParams as sb, NamedOperator as sc, ObjectRepository as sd, getObjectTypesFromNumbers as sf, SupportedValue as sg, GetObjectDescription as sh, UploadPreKeysRequest as si, nodepair as sl, parseRecipient as sm, queryWowClaimStatus as sn, RepDataItem as so, CallPermission_Data as sp, EventStreamParams as sr, MAX_REQUIRED_INFO_SIZE as ss, TransactionCommands as st, CallAllocation_Data as su, Falcon512PublicKey as sv, AccumulatorEvent as sx, PublicKeyInitData as sy, WowClient as t, WowTransactionBlock as tC, PaginatedStrings as tS, toTxAddress as t_, RestoreNodeResult as ta, TLatestWowSystemStateParams as tb, History as tc, ObjectPassport as td, getNumberFromObjectType as tf, ResourceAddress as tg, ENTITY_LINKER_ADDRESS as th, SseGuardConfirmedEvent as ti, node as tl, verify_guard as tm, waitForWowTx as tn, MAX_ID_COUNT_ONCE as to, ObjectsOp as tp, ConversationsFilter as tr, MAX_CUSTOMER_REQUIRED_INFO_COUNT as ts, isTransaction as tt, voting_deadline_change as tu, verifySignature as tv, EpochInfo as tx, SIGNATURE_FLAG_TO_SCHEME as ty, CoreClient as u, HttpHeaders as uC, StakeObject as uS, toTxU64 as u_, BridgeCallResult as ua, UnsafeBatchTransactionParams as ub, Session as uc, ObjectService as ud, numberToObjectType as uf, TxAddress as ug, GuardObject as uh, WTS_MAX_MESSAGE_COUNT as ui, prev_nodes_remove_with_passport as ul, uint2address as um, MAINNET_BRIDGE_CONFIG as un, SignerOrClock as uo, MAX_PERM_FOR_ENTITY as up, FetchMessagesRequest as ur, NAMED_OPERATOR_ORDER_PAYER as us, BridgeClient as ut, alloc as uu, BrowserPasswordProviderOptions as uv, Balance$2 as ux, messageWithIntent as uy, AsyncCache as v, UpgradeInfo as vS, FetchTokenInfoOperation as v_, BridgeVersion as va, UnsafeRequestWithdrawStakeParams as vb, hold as vc, PolicyWriteGuard as vd, queryTableItem_PermissionPerm as vf, TypedDescriptionObject as vg, MAX_GUARD_TABLE_ITEM_LENGTH as vh, WtsRange as vi, MAX_GUARD_COUNT$1 as vl, ReceivedObjects as vm, GuardParam as vn, policy as vo, adminAdd as vp, MerkleProof as vr, arbitrations_remove as vs, claimOnEth as vt, AllocationSharing as vu, Secp256k1PublicKey as vv, CommitteeInfo as vx, GetAllBalancesParams as vy, WowHTTPStatusError as w, WowCoinMetadata as wS, LocalMarkOperation as w_, CallContact as wa, WDryRunTransactionBlockParams as wb, task_set as wc, QueryTableItem_byNameAddress as wd, query_objects_json as wf, WObject as wg, MAX_TABLE_SIZE as wh, WtsVerificationResult as wi, guard_add$1 as wl, WException as wm, extract_zip_messages as wn, reward_clear as wo, entityCopy as wp, MessageListResult as wr, create$3 as ws, encodeApprove as wt, AmountType as wu, Ed25519KeypairData as wv, DisplayFieldsResponse as wx, GetCoinsParams as wy, normalizedTypeToMoveTypeSignature as x, WowArgument as xS, GetManyAccountOrMark_Address as x_, TransferStatus as xa, UnsafeTransferObjectParams as xb, namedOperator_set as xc, PurchasedItem as xd, queryTableItem_RewardRecord as xf, ValueType as xg, MAX_MULTI_OPERANDS as xh, WtsSignature as xi, create$7 as xl, MoveErrors as xm, SettingsRequest as xn, policy_remove as xo, create$11 as xp, MessageDirection as xr, compensation_fund_add as xs, ERC20_TRANSFER_TOPIC as xt, Amount as xu, Secp256k1KeypairData as xv, DelegatedStake as xx, GetCheckpointParams as xy, ObjectCache as y, ValidatorApy as yS, GetAccountOrMark_Address as y_, SignedAction as ya, UnsafeSplitCoinEqualParams as yb, namedOperator_add as yc, ProgressSession as yd, queryTableItem_ProgressHistory as yf, TypedPermissionObject as yg, MAX_INPUT_SIZE as yh, WtsServerPublicKey as yi, MAX_REWARD_COUNT$2 as yl, ReceivedObjectsOrRecently as ym, GuardlistRequest as yn, policy_add as yo, adminRemove as yp, Message as yr, buy as ys, claimOnEthBySeq as yt, Allocator as yu, DEFAULT_SECP256K1_DERIVATION_PATH as yv, CompressedSignature$1 as yx, GetAllCoinsParams as yy, MultiSigStruct as z, WowMoveNormalizedStruct as zS, query_local_mark as z_, external_deposit_guard_add as za, WGetTransactionBlockParams as zb, MAX_NODE_COUNT as zc, TableItem_ProgressHistory as zd, formatGuardParseErrors as zf, isValidU16 as zg, PackageAddress as zh, EventType as zi, confirm as zl, ArbObject as zm, watch_messages as zn, guard_expiration_time_add as zo, remarkClear as zp, RemoveListRequest as zr, repository_clear as zs, BridgeTransferDirection as zt, MachineNodePair as zu, WowGraphQLClient as zv, MoveValue as zx, GetStakesByIdsParams as zy };
|
|
21234
|
+
export { TransactionObjectInput as $, WowObjectDataFilter as $S, TokenTypeInfo as $_, external_withdraw_guard_clear as $a, WowObjectChangeDeleted as $b, consensus_repositories_add as $c, TreasuryOp as $d, newGuard as $f, isValidValueType as $g, PermissionAddress as $h, ZipMetadata as $i, feedback$1 as $l, CoinObject as $m, generate_wts as $n, CallOrder as $o, MAX_GUARD_COUNT$2 as $p, MessageTimeField as $r, sale_suspension as $s, queryEthTxConfirmations as $t, ObjectArbitration as $u, SerializedTransactionDataV1 as $v, ObjectOwner$1 as $x, QueryEventsParams as $y, isWowJsonRpcClient as A, WowCallArg as AS, GetManyAccountOrMark_Address as A_, getCallEnvAccount as Aa, UnsafeTransferWowParams as Ab, namedOperator_set as Ac, PurchasedItem as Ad, queryTableItem_RewardRecord as Af, ValueType as Ag, MAX_MULTI_OPERANDS as Ah, SseNewMessageEvent as Ai, create$7 as Al, MoveErrors as Am, BridgeResult as An, policy_remove as Ao, create$11 as Ap, DEFAULT_MESSENGER_CONFIG as Ar, compensation_fund_add as As, encodeBridgeETHV2 as At, Amount as Au, DEFAULT_ED25519_DERIVATION_PATH as Av, DevInspectArgs as Ax, GetCheckpointsParams as Ay, parsePartialSignatures as B, WowMoveAbort as BS, fetch_token_info_operation as B_, CallTreasury as Ba, WGetNormalizedMoveFunctionParams as Bb, paymentFn as Bc, TableAnswerItem as Bd, CallGuard_Data as Bf, isGasTokenType as Bg, NormalObject as Bh, WtsFileResult as Bi, reward_clear$2 as Bl, W_SUCCESS as Bm, isWowChain as Bn, RecipientRecord as Bo, newPermission as Bp, GetSettingsResponse as Br, machine_set as Bs, BridgeNodeClientOptions as Bt, GuardSubmission as Bu, isWowGrpcClient as Bv, ExecuteTransactionRequestType as Bx, GetNormalizedMoveModuleParams as By, JsonRpcError as C, ClientCache as CC, TransactionFilter as CS, AccountOperation as C_, GuardInstructFilterOptions as Ca, UnsafePayWowParams as Cb, context_repository_clear as Cc, ObjectsQuery as Cd, queryTableItem_DemandPresenter as Cf, TxObject as Cg, IsValidEndpoint as Ch, SignedRequestBase as Ci, CallDemand_Data as Cl, ReceivedBalance as Cm, BridgeCallResult as Cn, data_id_from as Co, PermissionInfoType as Cp, ChainProofResponse as Cr, ServiceSale as Cs, TOKENS_CLAIMED_TOPIC as Ct, newAllocation as Cu, DEFAULT_SECP256R1_DERIVATION_PATH as Cv, Claim as Cx, EryEventsParams as Cy, PaginationArguments as D, ValidatorApy as DS, FetchTokenInfoOperation as D_, getGuardQueryInfo as Da, UnsafeSplitCoinEqualParams as Db, hold as Dc, PolicyWriteGuard as Dd, queryTableItem_PermissionPerm as Df, TypedDescriptionObject as Dg, MAX_GUARD_TABLE_ITEM_LENGTH as Dh, SseEventType as Di, MAX_GUARD_COUNT$1 as Dl, ReceivedObjects as Dm, BridgeErrorCode as Dn, policy as Do, adminAdd as Dp, ConversationInfo as Dr, arbitrations_remove as Ds, encodeBridgeERC20 as Dt, AllocationSharing as Du, DEFAULT_SECP256K1_DERIVATION_PATH as Dv, CompressedSignature$1 as Dx, GetAllCoinsParams as Dy, OrderArguments as E, UpgradeInfo as ES, FaucetNetwork as E_, filterGuardInstruct as Ea, UnsafeRequestWithdrawStakeParams as Eb, getMachineNodeForward as Ec, PolicyRule as Ed, queryTableItem_MachineNode as Ef, TypeNamedObjectWithPermission as Eg, MAX_ENV_PERMISSION_GUARD_COUNT as Eh, SseEvent as Ei, MAX_FEEDBACK_COUNT as El, ReceivedNormal as Em, BridgeError as En, newRepository as Eo, USER_DEFINED_PERM_INDEX_START as Ep, ContactListsSyncResult as Er, arbitrations_add as Es, encodeApprove as Et, AllocationMode as Eu, Secp256k1PublicKey as Ev, CommitteeInfo as Ex, GetAllBalancesParams as Ey, SerializeSignatureInput as F, WowEventFilter as FS, LocalNameByAddress as F_, CallProof as Fa, WGetCheckpointParams as Fb, CallPayment_Data as Fc, QueryTableItem_byU64 as Fd, query_table as Ff, WitnessType as Fg, MachineObject as Fh, UploadPreKeysResponse as Fi, guard_remove as Fl, WValidate as Fm, BridgeVersion as Fn, um_set$1 as Fo, entityRemove as Fp, ExistListRequest as Fr, description_set$3 as Fs, DepositParams as Ft, ArbProposition as Fu, GrpcWebOptions$1 as Fv, DynamicFieldName$1 as Fx, GetDynamicFieldsParams as Fy, ParsedKeypair as G, WowMoveNormalizedFunction as GS, query_local_info as G_, deposit as Ga, WGetProtocolConfigParams as Gb, ForwardParam as Gc, TableItem_EntityRegistrar as Gd, GuardTableItem as Gf, isValidLongName as Gg, OperatorType as Gh, WtsRange as Gi, MAX_VOTING_GUARD_COUNT as Gl, AllocationAddress as Gm, GuardParam as Gn, create$2 as Go, permSet as Gp, MerkleProof as Gr, price_reduce as Gs, BridgeTransferStatus as Gt, MachineForward as Gu, GraphQLQueryResult as Gv, MoveCallParams as Gx, GetProtocolConfigParams as Gy, Keypair as H, WowMoveModuleId as HS, local_mark_operation as H_, MAX_EXTERNAL_DEPOSIT_GUARD_COUNT as Ha, WGetNormalizedMoveModulesByPackageParams as Hb, receiveToMyself as Hc, TableItem_AddressMark as Hd, GuardParseError as Hf, isValidArray as Hg, ObjectResult as Hh, WtsMessage as Hi, um_set$5 as Hl, enrichMoveError as Hm, BlacklistResponse as Hn, RewardRecord as Ho, ownerReceiveObject as Hp, ListOperationResponse as Hr, order_allocators_set as Hs, BRIDGE_STEP_DESCRIPTIONS as Ht, IdFromInput as Hu, GrpcCoreClientOptions as Hv, GasCostSummary$2 as Hx, GetNormalizedMoveStructParams as Hy, parseSerializedSignature as I, WowExecutionResult as IS, ManyAccountOrMark_Address as I_, CallProof_Data as Ia, WGetCheckpointsParams as Ib, MAX_RECIPIENT_COUNT as Ic, RewardGuard as Id, query_tableItem as If, arbitrationFn as Ig, Modules as Ih, WTS_FILE_BYTES_LIMIT as Ii, location_set$1 as Il, W_ENSURE as Im, SignedAction as In, CallReward as Io, entityReplace as Ip, FailedPrekeyInfo as Ir, discount as Is, depositErc20 as It, ArbStatus as Iu, RpcTransport$1 as Iv, DynamicFieldType as Ix, GetLatestCheckpointSequenceNumberParams as Iy, W_PRIVATE_KEY_PREFIX as J, WowMoveNormalizedType as JS, query_local_mark as J_, external_deposit_guard_add as Ja, WMultiGetObjectsParams as Jb, MAX_NODE_COUNT as Jc, TableItem_ProgressHistory as Jd, formatGuardParseErrors as Jf, isValidU16 as Jg, PackageAddress as Jh, WtsSignature as Ji, confirm as Jl, ArbObject as Jm, SettingsRequest as Jn, guard_expiration_time_add as Jo, remarkClear as Jp, MessageDirection as Jr, repository_clear as Js, makeBridgeTransferState as Jt, MachineNodePair as Ju, WowGraphQLClientOptions as Jv, MoveVariant as Jx, GetStakesParams as Jy, SignatureWithBytes as K, WowMoveNormalizedModule as KS, query_local_info_default as K_, description_set as Ka, WGetTotalTransactionBlocksParams as Kb, MAX_CONSENSUS_REPOSITORIES_COUNT as Kc, TableItem_MachineNode as Kd, GuardTableItemBase as Kf, isValidName as Kg, OrderAddress as Kh, WtsServerPublicKey as Ki, arb_withdraw as Kl, AllocationObject as Km, GuardlistRequest as Kn, description_set$2 as Ko, permissionFn as Kp, Message as Kr, publish as Ks, BridgeTransferStep as Kt, MachineForwardGuard as Ku, GraphQLResponseErrors as Kv, MoveStruct as Kx, GetReferenceGasPriceParams as Ky, toSerializedSignature as L, WowGasData as LS, QueryAccount as L_, gen_proof as La, WGetEventsParams as Lb, Revenue as Lc, ServiceGuard as Ld, query_table_json as Lf, contactFn as Lg, NamedObject as Lh, WTS_MAX_MESSAGE_COUNT as Li, newDemand as Ll, W_ERROR as Lm, TransferRecord as Ln, CallReward_Data as Lo, entitySet as Lp, FetchMessagesRequest as Lr, discount_destroy as Ls, depositEth as Lt, ArbVoted as Lu, types_d_exports as Lv, ECMHLiveObjectSetDigest as Lx, GetLatestWowSystemStateParams as Ly, isValidHardenedPath as M, WowCoinMetadata as MS, LocalInfoOperationResult as M_, restoreNodeFromOutput as Ma, WDryRunTransactionBlockParams as Mb, progressFn as Mc, QueryTableItem_byAddress as Md, query_objects as Mf, ValueTypeToType as Mg, MAX_PERMISSION_GUARD_COUNT as Mh, TimeRange as Mi, feedback as Ml, WErrors as Mm, BridgeToken as Mn, reward_add as Mo, entityAdd as Mp, DecryptedMessage as Mr, compensation_fund_withdraw as Ms, encodeTransferBridgedTokensWithSignatures as Mt, AmountFromWithdrawGuard as Mu, Ed25519KeypairData as Mv, DisplayFieldsResponse as Mx, GetCoinsParams as My, mnemonicToSeed as N, WowEndOfEpochTransactionKind as NS, LocalMarkOperation as N_, CallContact as Na, WExecuteTransactionBlockParams as Nb, task_set as Nc, QueryTableItem_byNameAddress as Nd, query_objects_json as Nf, WObject as Ng, MAX_TABLE_SIZE as Nh, UpdateSettingsRequest as Ni, guard_add$1 as Nl, WException as Nm, BridgeTokenId as Nn, reward_clear as No, entityCopy as Np, Empty as Nr, create$3 as Ns, DepositErc20Options as Nt, AmountType as Nu, Ed25519PublicKey as Nv, DryRunTransactionBlockResponse as Nx, GetCommitteeInfoParams as Ny, WowJsonRpcClient as O, ValidatorsApy as OS, GetAccountOrMark_Address as O_, RestoreNodeResult as Oa, UnsafeSplitCoinParams as Ob, namedOperator_add as Oc, ProgressSession as Od, queryTableItem_ProgressHistory as Of, TypedPermissionObject as Og, MAX_INPUT_SIZE as Oh, SseGuardConfirmedEvent as Oi, MAX_REWARD_COUNT$2 as Ol, ReceivedObjectsOrRecently as Om, BridgeLimit as On, policy_add as Oo, adminRemove as Op, ConversationsFilter as Or, buy as Os, encodeBridgeERC20V2 as Ot, Allocator as Ou, Secp256k1Keypair as Ov, ConsensusDeterminedVersionAssignments$1 as Ox, GetBalanceParams as Oy, mnemonicToSeedHex as P, WowEvent as PS, LocalMarkOperationResult as P_, CallContact_Data as Pa, WGetChainIdentifierParams as Pb, CallPayment as Pc, QueryTableItem_byString as Pd, query_personal as Pf, WithPermissionObject as Pg, MachineAddress as Ph, UploadPreKeysRequest as Pi, guard_clear as Pl, WResult as Pm, BridgeTokenSymbol as Pn, reward_remove as Po, entityDel as Pp, EventStreamParams as Pr, customer_required_set as Ps, DepositEthOptions as Pt, ArbIndemnity as Pu, GrpcWebFetchTransport$1 as Pv, DynamicFieldInfo as Px, GetDynamicFieldObjectParams as Py, TransactionObjectArgument as Q, WowObjectData as QS, TokenInfo as Q_, external_withdraw_guard_add as Qa, WowObjectChangeCreated as Qb, THRESHOLD_DEFAULT as Qc, TableQuery as Qd, guardFn as Qf, isValidU8 as Qg, PaymentObject as Qh, ZipContentType as Qi, fee_set as Ql, CallEnv as Qm, friendslist as Qn, um_set$2 as Qo, um_set$7 as Qp, MessageStatus as Qr, reward_remove$1 as Qs, queryEthBalance as Qt, ObjectArb as Qu, SerializedTransactionDataV2 as Qv, MultiSigPublicKeyLegacy as Qx, MultiGetTransactionBlocksParams as Qy, MultiSigPublicKey as R, WowMoveAbility as RS, QueryAccountResult as R_, CallPersonal as Ra, WGetLatestCheckpointSequenceNumberParams as Rb, create$5 as Rc, ServiceSale$1 as Rd, raw2type as Rf, createValueContainer as Rg, NamedObjectWithDescription as Rh, WTS_SCHEMA_URL as Ri, present as Rl, W_FAILURE as Rm, TransferStatus as Rn, MAX_GUARD_COUNT as Ro, entitySwap as Rp, GetBundleParams as Rr, discount_send as Rs, depositFromEth as Rt, DiscountType as Ru, WowGrpcClient as Rv, EndOfEpochData$1 as Rx, GetMoveFunctionArgTypesParams as Ry, getJsonRpcFullnodeUrl as S, JsonRpcTransportRequestOptions as SC, TransactionEffects$2 as SS, valueTypeToString as S_, GuardInstruct as Sa, UnsafePayParams as Sb, context_repository_add as Sc, ObjectsAnswer as Sd, queryTableItem_AddressMark as Sf, TxNumberVec as Sg, IsValidBalance as Sh, SignedRequest as Si, CallDemand as Sl, QueryReceived as Sm, verifyCommitteeConsistency as Sn, data$1 as So, PermissionInfo as Sp, ChainProofRequest as Sr, ServiceRequiredObject as Ss, ERC20_TRANSFER_TOPIC as St, create$9 as Su, Secp256r1PublicKey as Sv, CheckpointId as Sx, DryRunTransactionBlockParams as Sy, WowHTTPTransportError as T, TypeOrigin$1 as TS, AccountOrMark_Address as T_, GuardQuery as Ta, UnsafeRequestAddStakeParams as Tb, create$4 as Tc, PersonalQuery as Td, queryTableItem_EntityRegistrar as Tf, TypeNamedObject as Tg, MAX_DESCRIPTION_LENGTH as Th, SseCustomEvent as Ti, FeedbackInfo as Tl, ReceivedBalanceOrRecently as Tm, BridgeCommitteeMember as Tn, description_set$1 as To, Permission_Index_Entity as Tp, ContactLists as Tr, arbitration_clear as Ts, TOKENS_DEPOSITED_V2_TOPIC as Tt, sharing as Tu, Secp256r1KeypairData as Tv, CoinSupply as Tx, ExecuteTransactionBlockParams as Ty, LEGACY_PRIVATE_KEY_SIZE as U, WowMoveNormalizedEnum as US, query_account as U_, MAX_EXTERNAL_WITHDRAW_GUARD_COUNT as Ua, WGetNormalizedMoveStructParams as Ub, CallMachine as Uc, TableItem_DemandPresenter as Ud, GuardParseResult as Uf, isValidDescription as Ug, ObjectType as Uh, WtsMeta as Ui, CallArbitration as Ul, getMoveErrorDescription as Um, FriendslistRequest as Un, claim as Uo, permAdd as Up, MAX_QUERY_LIMIT as Ur, pause as Us, BridgeTransferDirection as Ut, Im as Uu, GraphQLDocument as Uv, GetPastObjectRequest as Ux, GetObjectParams as Uy, FALCON512_PRIVATE_KEY_SIZE as V, WowMoveFunctionArgType as VS, local_info_operation as V_, CallTreasury_Data as Va, WGetNormalizedMoveModuleParams as Vb, paymentInfo as Vc, TableItemQuery as Vd, GuardNode as Vf, isThisPackage as Vg, ObjectModuleAndName as Vh, WtsGenerationParams as Vi, reward_remove$2 as Vl, W_VALIDATE_PARAM as Vm, BlacklistRequest as Vn, RewardGuardObject as Vo, ownerReceive as Vp, GuardListItem as Vr, newService as Vs, SignedBridgeActionResponse as Vt, IdFrom as Vu, GrpcCoreClient as Vv, ExecutionStatus$2 as Vx, GetNormalizedMoveModulesByPackageParams as Vy, PRIVATE_KEY_SIZE as W, WowMoveNormalizedField as WS, query_account_list as W_, create as Wa, WGetObjectParams as Wb, CallMachine_Data as Wc, TableItem_EntityLinker as Wd, GuardSubmissionToFill as Wf, isValidHttpUrl as Wg, ObjectWithType as Wh, WtsPayload as Wi, CallArbitration_Data as Wl, AddressResult as Wm, FriendslistResponse as Wn, coin_add as Wo, permRemove as Wp, MerkleMetadata as Wr, price_add as Ws, BridgeTransferState as Wt, MAX_OBJECTS_PER_QUERY as Wu, GraphQLQueryOptions as Wv, InputObjectKind as Wx, GetOwnedObjectsParams as Wy, encodeWowPrivateKey as X, WowMoveVisibility as XS, query_local_token_list as X_, external_deposit_guard_remove as Xa, WTryGetPastObjectParams as Xb, NodePairParam as Xc, TableItem_RewardRecord as Xd, generateNodeComments as Xf, isValidU32 as Xg, PaymentAddress as Xh, WtsToHtmlOptions as Xi, description_set$6 as Xl, ArbitrationObject as Xm, blacklist as Xn, newReward as Xo, remarkSet as Xp, MessageIdRange as Xr, reward_add$1 as Xs, parseEthDepositEvent as Xt, OBJECT_TYPE_DEFINITIONS as Xu, isWowGraphQLClient as Xv, MultiSigLegacy as Xx, GetTransactionBlockParams as Xy, decodeWowPrivateKey as Y, WowMoveStructTypeParameter as YS, query_local_mark_list as Y_, external_deposit_guard_clear as Ya, WMultiGetTransactionBlocksParams as Yb, MAX_NODE_PAIR_COUNT as Yc, TableItem_RepositoryData as Yd, gen_passport as Yf, isValidU256 as Yg, PassportObject as Yh, WtsSignatureVerification as Yi, create$8 as Yl, ArbitrationAddress as Ym, SettingsResponse as Yn, guard_remove_expired as Yo, remarkRemove as Yp, MessageFilter as Yr, repository_remove as Ys, parseEthClaimEvent as Yt, NamedOperator$1 as Yu, WowGraphQLRequestError as Yv, MultiSig as Yx, GetTotalSupplyParams as Yy, Transaction$1 as Z, WowObjectChange as ZS, TokenDataFilter as Z_, external_withdraw as Za, WTryMultiGetPastObjectsParams as Zb, NodeParam as Zc, TableItem_TreasuryHistory as Zd, guard2file as Zf, isValidU64 as Zg, PaymentInfoObject as Zh, WtsVerificationResult as Zi, dispute as Zl, BalanceType as Zm, extract_zip_messages as Zn, receive$1 as Zo, transferPermission as Zp, MessageListResult as Zr, reward_clear$1 as Zs, queryErc20Balance as Zt, ObjectAllocation as Zu, TransactionDataBuilder as Zv, MultiSigPublicKey$1 as Zx, MultiGetObjectsParams as Zy, SerialTransactionExecutor as _, WowWithdrawalTypeArg as _C, Signature as _S, toTxU256 as __, query_events_json as _a, TryMultiGetPastObjectsParams as _b, ProgressEvent$1 as _c, ObjectResource as _d, idFromToString as _f, TreasuryAddress as _g, GetObjectExisted as _h, SeqIndexRange as _i, pause$1 as _l, parseTypeParameter as _m, MAINNET_COMMITTEE_WEIGHTS as _n, RepositoryPolicyGuardObject as _o, MAX_ADMIN_COUNT as _p, AddListRequest as _r, MAX_REWARD_COUNT$1 as _s, ClaimEthParams as _t, MAX_ALLOCATOR_COUNT as _u, BrowserPasskeyProvider as _v, AccumulatorValue as _x, IntentScope as _y, formatMoveAbortMessage as a, WowProgrammableMoveCall as aC, PaginatedCoins as aS, object_name_from_type as a_, ArbEvent as aa, TCoinsParams as ab, stock_add as ac, ObjectEntityLinker as ad, WitnessTargetType as af, Recipient as ag, ContextType as ah, PQPreKeyPublic as ai, forwards_add as al, guardAdd as am, waitForWowTx as an, CallRepository as ao, reliesRemove as ap, pull_messages as ar, DEFAULT_SETTING_LOCK_DURATION as as, Inputs as at, reset as au, MAX_MESSENGER_ACCOUNTS as av, CoinBalance as ax, TransactionData$1 as ay, getPureBcsSchema as b, JsonRpcHTTPTransportOptions as bC, TransactionBlockData as bS, toTxU8 as b_, GUARDINSTRUCT as ba, UnsafeMoveCallParams as bb, accomplish as bc, ObjectTreasury as bd, objectTypeToNumber as bf, TxAddressVec as bg, IsBcsStringLength as bh, ServerRegisterResponse as bi, publish$1 as bl, validObjects as bm, findToken as bn, SignerOrClockBase as bo, PermissionFilter as bp, CHAIN_PROOF_TYPE as br, ServiceBuyItem as bs, claimOnEthBySeq as bt, allocationFn as bu, PasskeyProvider as bv, Checkpoint$1 as bx, BscribeTransactionParams as by, BaseClient as c, WowTransaction as cC, PaginatedObjectsResponse as cS, rewardFn as c_, EventAnswer as ca, TDynamicFieldsParams as cb, CallProgress as cc, ObjectMachine as cd, getMoveNameFromObjectType as cf, RepositoryAddress as cg, DescriptionObject as ch, PreKeyStatus as ci, machineNode2file as cl, passportFn as cm, WowClaimState as cn, KeyData as co, CallResponseError as cp, settings as cr, Discount as cs, TransactionInput as ct, usage_guard_set as cu, verifyPersonalMessageSignature as cv, EndOfEpochInfo as cx, WowClientTypes as cy, CoreClientOptions as d, WowTransactionBlockKind as dC, PasskeyAuthenticator$1 as dS, toTxAddressVec as d_, EventQuery as da, TReferenceGasPriceParams as db, Holder as dc, ObjectPayment as dd, getNumbersFromObjectTypes as df, ResourceObject as dg, ENTITY_REGISTRAR_ADDRESS as dh, RemoteBundle as di, node_add as dl, bcsBytesToValue as dm, queryWowClaimStatus as dn, MAX_POLICY_COUNT as do, ResponseData as dp, watch_conversations as dr, MAX_DISCOUNT_COUNT_ONCE as ds, BridgeClientOptions as dt, voting_guard_add as du, MultiSigSigner as dv, ProgrammableTransaction$1 as dx, SIGNATURE_SCHEME_TO_SIZE as dy, WowObjectDataOptions as eC, ObjectRead as eS, isValidValueTypeInput as e_, INFO_CONSTANT as ea, QueryTransactionBlocksParams as eb, sales_add as ec, ObjectBase as ed, TreasuryRecord as ef, PermissionObject as eg, CoinParam as eh, MessageType$1 as ei, consensus_repositories_clear as el, MAX_GUARD_COUNT_ONCE as em, queryEthTxReceipt as en, external_withdraw_guard_remove as eo, parseGuardFile as ep, getMessengerManager as er, CallOrder_Data as es, TransactionResult$1 as et, fees_alloc as eu, Account as ev, WowObjectChangeMutated as ex, Argument$1 as ey, isArgument as f, WowTransactionBlockResponse as fC, ProtocolConfig$2 as fS, toTxObject as f_, EventType as fa, TStakesByIdsParams as fb, MAX_CONTEXT_REPOSITORY_COUNT as fc, ObjectPermission as fd, getObjectTypeDefinition as ff, RewardAddress as fg, EntityAddress as fh, RemoveListRequest as fi, node_clear as fl, extractCoinType as fm, BridgeConfig as fn, MAX_POLICY_DESCRIPTION_LEN as fo, getCoinParam as fp, watch_messages as fr, MAX_DISCOUNT_RECEIVER_ONCE as fs, BridgeTransferRecord as ft, voting_guard_clear as fu, DEFAULT_FALCON512_DERIVATION_PATH as fv, WowMoveNormalizedModules as fx, SignatureFlag as fy, ParallelTransactionExecutorOptions as g, WowWithdrawFrom as gC, RawData as gS, toTxU16Vec as g_, query_events as ga, TryGetPastObjectParams as gb, NamedOperator as gc, ObjectRepository as gd, getObjectTypesFromNumbers as gf, SupportedValue as gg, GetObjectDescription as gh, SendMessageResult as gi, nodepair as gl, parseRecipient as gm, MAINNET_COMMITTEE_PUBKEYS as gn, RepDataItem as go, CallPermission_Data as gp, AddGuardListRequest as gr, MAX_REQUIRED_INFO_SIZE as gs, ClaimEthOptions as gt, CallAllocation_Data as gu, PasskeyPublicKey as gv, AccumulatorOperation as gx, bytesEqual as gy, ParallelTransactionExecutor as h, WowValidatorSummary as hC, RPCTransactionRequestParams as hS, toTxU16 as h_, ProgressEvent as ha, TValidatorsApyParams as hb, MachineNodeForwardResult as hc, ObjectProof as hd, getObjectTypeFromNumber as hf, ServiceObject as hg, GetObject as hh, SendMessageResponse as hi, node_rename as hl, parseObjectType as hm, MAINNET_COMMITTEE_MEMBER_ADDRESSES as hn, RemoveParam as ho, CallPermission as hp, Messenger as hr, MAX_REPOSITORY_COUNT as hs, depositFromWow as ht, CallAllocation as hu, Falcon512PublicKey as hv, AccumulatorEvent as hx, PublicKeyInitData as hy, extractStatusFromEffectsBcs as i, WowParsedData as iC, PaginatedCheckpoints as iS, object_module_and_name_from_type as i_, queryProtocolInfo as ia, TCoinMetadataParams as ib, setting_lock_duration_set as ic, ObjectEntity as id, WitnessSourceType as if, ReceivedObject as ig, ContactObject as ih, NORMAL_MESSAGE_BYTES_LIMIT as ii, forward as il, get_guardSubmissions as im, waitForEthTx as in, withdraw as io, reliesLogic as ip, proof_message as ir, CompensationClaim as is, TransactionPlugin as it, pause$2 as iu, FaucetCoinInfo as iv, Order as ix, ObjectRef as iy, isValidBIP32Path as j, WowChangeEpoch as jS, LocalInfoOperation as j_, resolveCallEnv as ja, WDevInspectTransactionBlockParams as jb, newProgress as jc, QueryTableItem_Entity as jd, queryTableItem_TreasuryHistory as jf, ValueTypeInput as jg, MAX_NAME_LENGTH as jh, SsePreKeyLowEvent as ji, description_set$5 as jl, MoveModuleError as jm, BridgeSummary as jn, policy_set as jo, descriptionSet as jp, DEFAULT_QUERY_LIMIT as jr, compensation_fund_receive as js, encodeTokenTransferPayloadV2 as jt, AmountFromDepositGuard as ju, Ed25519Keypair as jv, DevInspectResults as jx, GetCoinMetadataParams as jy, WowJsonRpcClientOptions as k, WowArgument as kS, GetLocalNamesByAddresses as k_, checkType as ka, UnsafeTransferObjectParams as kb, namedOperator_remove as kc, ProgressSessionHolder as kd, queryTableItem_RepositoryData as kf, ValueContainer as kg, MAX_LONG_NAME_LENGTH as kh, SseGuardRejectedEvent as ki, ServiceInfo$2 as kl, query_received as km, BridgeMessage as kn, policy_clear as ko, adminSet as kp, DEFAULT_DEVICE_ID as kr, buy_guard_set as ks, encodeBridgeETH as kt, Allocators as ku, Secp256k1KeypairData as kv, DelegatedStake as kx, GetCheckpointParams as ky, ClientWithCoreApi as l, WowTransactionBlock as lC, PaginatedStrings as lS, serviceFn as l_, EventBase as la, TLatestWowSystemStateParams as lb, CallProgress_Data as lc, ObjectOrder as ld, getNumberFromMoveName as lf, RepositoryObject as lg, DiscountObject as lh, PullMessagesResponse as li, newMachine as ll, verify as lm, WowClaimStatus as ln, MAX_DATA_SIZE as lo, CallResult as lp, sign_wts as lr, MAX_ARBITRATION_COUNT as ls, UpgradePolicy as lt, vote as lu, verifySignature as lv, EpochInfo as lx, SIGNATURE_FLAG_TO_SCHEME as ly, coinWithBalance as m, WowTransactionBlockResponseQuery as mC, PublicKey$1 as mS, toTxU128 as m_, NewOrderEvent as ma, TTotalSupplyParams as mb, MAX_NAMED_OPERATOR_COUNT as mc, ObjectProgress as md, getObjectTypeFromMoveName as mf, ServiceAddress as mg, GasTokenType as mh, SendMessageRequest as mi, node_remove as ml, owner_receive as mm, MAINNET_BRIDGE_CONFIG as mn, MAX_REWARD_COUNT as mo, BuiltinPermissionIndex as mp, MessengerManager as mr, MAX_PUBKEY_LENGTH as ms, DepositWowResult as mt, AllocatorsType as mu, Falcon512KeypairData as mv, WowMovePackage as mx, PublicKey as my, WowClientOptions as n, WowObjectResponse as nC, ObjectValueKind as nS, isWitnessType as n_, ProtocolInfoResult as na, TAllCoinsParams as nb, sales_remove as nc, ObjectDemand as nd, VotingGuard as nf, ProgressObject as ng, CoinWrapperObject as nh, MessengerError as ni, create$6 as nl, destroy as nm, queryWowToEvmTransferStatus as nn, receive as no, reliesAdd as np, mark_conversation_as_viewed as nr, CallService as ns, BuildTransactionOptions as nt, location_set$2 as nu, AccountFilter as nv, WowObjectChangeTransferred as nx, Command$1 as ny, parseTransactionBcs as o, WowReservation as oC, PaginatedDynamicFieldInfos as oS, parseValueType as o_, DemandFeedbackEvent as oa, TCommitteeInfoParams as ob, stock_reduce as oc, ObjectEntityRegistrar as od, data2object as of, RecipientType as og, DemandAddress as oh, PlaintextMessage as oi, forwards_remove as ol, guardClear as om, ClaimWowParams as on, CallRepository_Data as oo, validateGuardNode as op, send_file as or, DISCOUNT_TYPE_MINUS as os, TransactionArgument as ot, um_set$6 as ou, publicKeyFromRawBytes as ov, CheckpointPage as ox, ClientWithExtensions as oy, Arguments as p, WowTransactionBlockResponseOptions as pC, ProtocolConfigValue as pS, toTxString as p_, NewEntityEvent as pa, TStakesParams as pb, MAX_NAMED_OPERATOR_ADDRESS_COUNT as pc, ObjectPersonal as pd, getObjectTypeDefinitionFromNumber as pf, RewardObject as pg, GasCoinType as ph, SERVER_URL as pi, node_exchange_name as pl, isValidValueContainer as pm, EvmChainConfig as pn, MAX_POLICY_GUARD_COUNT as po, isCallResultSubmission as pp, wts2html as pr, MAX_DISCOUNT_TOTAL_COUNT as ps, DepositWowParams as pt, voting_guard_remove as pu, Falcon512Keypair as pv, WowMoveObject as px, SignatureScheme$1 as py, Signer as q, WowMoveNormalizedStruct as qS, query_local_info_list as q_, external_deposit as qa, WGetTransactionBlockParams as qb, MAX_FORWARD_ORDER_COUNT as qc, TableItem_PermissionPerm as qd, create$10 as qf, isValidU128 as qg, OrderObject as qh, WtsSession as qi, arbitration as ql, ArbAddress as qm, GuardlistResponse as qn, guard_add as qo, query_permissions as qp, MessageContentType as qr, repository_add as qs, EvmTxReceipt as qt, MachineNode as qu, WowGraphQLClient as qv, MoveValue as qx, GetStakesByIdsParams as qy, SimulationError as r, WowObjectResponseQuery as rC, OwnedObjectRef as rS, machineFn as r_, queryPermissions as ra, TBalanceParams as rb, sales_set as rc, ObjectDiscount as rd, WReceivedObject as rf, ProofAddress as rg, ContactAddress as rh, MessengerErrorCode as ri, description_set$4 as rl, freeze as rm, queryWowTx as rn, um_set as ro, reliesClear as rp, mark_messages_as_viewed as rr, CallService_Data as rs, SerializeTransactionOptions as rt, newArbitration as ru, DEFAULT_ACCOUNT_NAME as rv, WowObjectChangeWrapped as rx, GasData as ry, parseTransactionEffectsBcs as s, WowSystemStateSummary as sC, PaginatedEvents as sS, repositoryFn as s_, DemandPresentEvent as sa, TDynamicFieldObjectParams as sb, um_set$3 as sc, ObjectGuard as sd, getMoveNameFromNumber as sf, RegistrarAddress as sg, DemandObject as sh, PreKeyPublic as si, init_node_name as sl, newPassport as sm, ClaimWowResult as sn, DataRemoveItem as so, CallBase as sp, send_message as sr, DISCOUNT_TYPE_RATES as ss, TransactionCommands as st, usage_guard_none as su, publicKeyFromWowBytes as sv, DynamicFieldPage as sx, WowClientRegistration as sy, WowClient as t, WowObjectRef as tC, ObjectResponseError as tS, isValueTypeNumber as t_, ProtocolInfoQuery as ta, TAllBalancesParams as tb, sales_clear as tc, ObjectContact as td, VoteWeight as tf, ProgressAddress as tg, CoinWrapPrefix as th, MessengerConfig as ti, consensus_repositories_remove as tl, SubmissionCall as tm, queryEvmToWowTransferStatus as tn, newTreasury as to, parseGuardFromMarkdown as tp, guardlist as tr, Buy as ts, isTransaction as tt, fees_transfer as tu, AccountData as tv, WowObjectChangePublished as tx, CallArg as ty, CoreClient as u, WowTransactionBlockBuilderMode as uC, PaginatedTransactionResponse as uS, toTxAddress as u_, EventCursor as ua, TOwnedObjectsParams as ub, History as uc, ObjectPassport as ud, getNumberFromObjectType as uf, ResourceAddress as ug, ENTITY_LINKER_ADDRESS as uh, RangeType as ui, node as ul, verify_guard as um, claimOnWow as un, MAX_ID_COUNT_ONCE as uo, ObjectsOp as up, verify_wts as ur, MAX_CUSTOMER_REQUIRED_INFO_COUNT as us, BridgeClient as ut, voting_deadline_change as uu, verifyTransactionSignature as uv, EpochPage as ux, SIGNATURE_SCHEME_TO_FLAG as uy, AsyncCache as v, HttpHeaders as vC, StakeObject as vS, toTxU32 as v_, queryObjectWithType as va, UnsafeBatchTransactionParams as vb, ProgressNext as vc, ObjectReward as vd, isValidIdFromInput as vf, TreasuryObject as vg, GuardAddress as vh, ServerMessage as vi, prev_nodes_remove as vl, permission_set as vm, findEvmChainConfig as vn, RepositoryPolicyRuleObject as vo, MAX_ENTITY_COUNT as vp, AddressExistence as vr, MAX_SALE_COUNT as vs, buildClaimMessage as vt, MAX_SHARING_COUNT as vu, BrowserPasswordProviderOptions as vv, Balance$2 as vx, messageWithIntent as vy, WowHTTPStatusError as w, ClientCacheOptions as wC, TransferObjectParams as wS, AccountOperationResult as w_, GuardItem as wa, UnsafePublishParams as wb, context_repository_remove as wc, PaymentInfo as wd, queryTableItem_EntityLinker as wf, TxString as wg, MAX_DEPENDED_COUNT as wh, SseArkConfirmedEvent as wi, DemandPresent as wl, ReceivedBalanceObject as wm, BridgeChainId as wn, data_remove as wo, Permission_Index as wp, ClearListRequest as wr, ServiceSaleObject as ws, TOKENS_DEPOSITED_TOPIC as wt, receive$2 as wu, Secp256r1Keypair as wv, CoinStruct as wx, EryTransactionBlocksParams as wy, normalizedTypeToMoveTypeSignature as x, JsonRpcTransport as xC, TransactionBlockEffectsModifiedAtVersions as xS, treasuryFn as x_, GUARDQUERY as xa, UnsafePayAllWowParams as xb, adminUnhold as xc, ObjectTypeDefinition as xd, parseIdFrom as xf, TxNumber as xg, IsValidArgType as xh, SessionState as xi, um_set$4 as xl, valueToBcsBytes as xm, findTokenBySymbol as xn, create$1 as xo, PermissionIndexType as xp, CURRENT_NETWORK as xr, ServiceQuoteObject as xs, AbiMessage as xt, allocators as xu, findCommonPublicKey as xv, CheckpointCommitment$1 as xx, DevInspectTransactionBlockParams as xy, ObjectCache as y, JsonRpcHTTPTransport as yC, TransactionBlockBytes as yS, toTxU64 as y_, queryObjectsWithType as ya, UnsafeMergeCoinsParams as yb, Session as yc, ObjectService as yd, numberToObjectType as yf, TxAddress as yg, GuardObject as yh, ServerRegisterRequest as yi, prev_nodes_remove_with_passport as yl, uint2address as ym, findEvmChainConfigByBridgeChainId as yn, SignerOrClock as yo, MAX_PERM_FOR_ENTITY as yp, BaseRange as yr, NAMED_OPERATOR_ORDER_PAYER as ys, claimOnEth as yt, alloc as yu, PasskeyKeypair as yv, BalanceChange$2 as yx, BscribeEventParams as yy, MultiSigStruct as z, WowMoveAbilitySet as zS, account_operation as z_, CallPersonal_Data as za, WGetMoveFunctionArgTypesParams as zb, newPayment as zc, TableAnswer as zd, CallGuard as zf, demandFn as zg, NamedObjectWithPermission as zh, WtsFile as zi, reward_add$2 as zl, W_SAFE as zm, isEvmChain as zn, MAX_RECORD_COUNT as zo, isBizPermIndex as zp, GetSettingsRequest as zr, location_set as zs, BridgeNodeClient as zt, GuardInPassport as zu, WowGrpcClientOptions as zv, EventId as zx, GetNormalizedMoveFunctionParams as zy };
|