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