@wowok/wowok 2.3.9 → 2.3.11
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/{arb-Be5KiDXS.mjs → arb-DzF0MkFj.mjs} +1 -1
- package/dist/esm/{base-CiXs-ApK.mjs → base-CpcBBUyX.mjs} +1 -1
- package/dist/esm/bcs/index.d.mts +2 -2
- package/dist/esm/{call-BjhpVeiy.mjs → call-CGeMCqkj.mjs} +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client-sb0S5kkY.mjs +1 -0
- package/dist/esm/cryptography/index.d.mts +1 -1
- package/dist/esm/{evm-account-BPYk6EpK.d.mts → evm-account-BEq5OtWc.d.mts} +10 -6
- package/dist/esm/graphql/index.d.mts +1 -1
- package/dist/esm/graphql/index.mjs +1 -1
- package/dist/esm/graphql/schema/index.d.mts +73 -2
- package/dist/esm/{graphql-nv5poiC5.mjs → graphql-BUAdI3fK.mjs} +1 -1
- package/dist/esm/grpc/index.d.mts +1 -1
- package/dist/esm/grpc/index.mjs +1 -1
- package/dist/esm/{grpc-BffnRW4z.mjs → grpc-pWeVYO9k.mjs} +1 -1
- package/dist/esm/{index-CGqMj3cG.d.mts → index-BYeMK_wO.d.mts} +1 -2
- package/dist/esm/{index-B-cxGU73.d.mts → index-Cj4KHtbw.d.mts} +4 -5
- package/dist/esm/{index-D5-7_Kub.d.mts → index-DQzZu-2W.d.mts} +823 -926
- package/dist/esm/index.d.mts +8 -8
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/jsonRpc/index.d.mts +1 -1
- package/dist/esm/jsonRpc/index.mjs +1 -1
- package/dist/esm/keypairs/ed25519/index.d.mts +1 -1
- package/dist/esm/keypairs/falcon512/index.d.mts +1 -1
- package/dist/esm/keypairs/passkey/index.d.mts +1 -1
- package/dist/esm/keypairs/secp256k1/index.d.mts +1 -1
- package/dist/esm/keypairs/secp256r1/index.d.mts +1 -1
- package/dist/esm/{messenger-loQQ45UB.mjs → messenger-XaS-GpCz.mjs} +1 -1
- package/dist/esm/{messenger-api-BEWdcJrA.mjs → messenger-api-GLDmqXiO.mjs} +1 -1
- package/dist/esm/multisig/index.d.mts +1 -1
- package/dist/esm/{networks-CEYOA-1U.d.mts → networks-DjNV6z1E.d.mts} +6 -3
- package/dist/esm/{object-BTDJEtwG.mjs → object-BZ_iF8UV.mjs} +1 -1
- package/dist/esm/{pqxdh-CKkqzvPb.d.mts → pqxdh-66KxOyAF.d.mts} +0 -1
- package/dist/esm/{proof-CnI3UU0l.mjs → proof-Bs6HQZeE.mjs} +1 -1
- package/dist/esm/query-C21BX7t1.mjs +1 -0
- package/dist/esm/{received-CJvBDSIl.mjs → received-CLkbwKVD.mjs} +1 -1
- package/dist/esm/secp256k1-B-8mI0dI.mjs +1 -1
- package/dist/esm/secp256r1-B3O6jSlP.mjs +1 -1
- package/dist/esm/{secure-storage-DRwhPVz3.d.mts → secure-storage-Dkh4Oioi.d.mts} +1 -2
- package/dist/esm/{service-BLRHy6cG.mjs → service-CHsYFr_k.mjs} +1 -1
- package/dist/esm/{storage-Ct2mZnD0.d.mts → storage-0OmomSuj.d.mts} +0 -1
- package/dist/esm/transactions/index.d.mts +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions-rYyItYOR.mjs +1 -1
- package/dist/esm/{type-tag-serializer-BOCNO96r.d.mts → type-tag-serializer-66hzljbG.d.mts} +0 -1
- package/dist/esm/util-DBKo02vY.mjs +1 -0
- package/dist/esm/utils/index.d.mts +2 -2
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils-IlS3fpdQ.mjs +1 -1
- package/dist/esm/verify/index.d.mts +1 -1
- package/dist/esm/verify/index.mjs +1 -1
- package/dist/esm/w/call/allocation.d.mts +1 -1
- package/dist/esm/w/call/allocation.mjs +1 -1
- package/dist/esm/w/call/arbitration.d.mts +1 -1
- package/dist/esm/w/call/arbitration.mjs +1 -1
- package/dist/esm/w/call/base.d.mts +1 -1
- package/dist/esm/w/call/base.mjs +1 -1
- package/dist/esm/w/call/demand.d.mts +1 -1
- package/dist/esm/w/call/demand.mjs +1 -1
- package/dist/esm/w/call/guard.d.mts +1 -1
- package/dist/esm/w/call/guard.mjs +1 -1
- package/dist/esm/w/call/index.d.mts +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 -5
- package/dist/esm/w/index.mjs +1 -1
- package/dist/esm/w/local/account.d.mts +2 -2
- package/dist/esm/w/local/account.mjs +1 -1
- package/dist/esm/w/local/evm/networks.d.mts +1 -1
- package/dist/esm/w/local/evm-account.d.mts +1 -1
- package/dist/esm/w/local/evm-account.mjs +1 -1
- package/dist/esm/w/local/index.d.mts +5 -5
- package/dist/esm/w/local/index.mjs +1 -1
- package/dist/esm/w/local/local.mjs +1 -1
- package/dist/esm/w/local/secure-storage.d.mts +1 -1
- package/dist/esm/w/local/storage.d.mts +1 -1
- 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/crypto.d.mts +6 -3
- 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.d.mts +0 -1
- package/dist/esm/w/messenger/pq/crypto.mjs +1 -1
- package/dist/esm/w/messenger/pq/index.d.mts +1 -1
- package/dist/esm/w/messenger/pq/pqxdh.d.mts +1 -1
- package/dist/esm/w/messenger/pq/ratchet.d.mts +0 -1
- package/dist/esm/w/messenger/pq/session.d.mts +1 -2
- package/dist/esm/w/messenger/pq/spqr.d.mts +0 -1
- package/dist/esm/w/messenger/pq/store-adapter.d.mts +0 -1
- package/dist/esm/w/messenger/storage.d.mts +1 -2
- package/dist/esm/w/messenger/storage.mjs +1 -1
- package/dist/esm/w/messenger/types.d.mts +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-YL0Jr-BM.mjs +1 -0
- package/package.json +1 -1
- package/dist/esm/client-D6nQHb4K.mjs +0 -1
- package/dist/esm/types-CiFC9IV5.d.mts +0 -74
- package/dist/esm/util-YC562UOE.mjs +0 -1
- package/dist/esm/w-ChCuDlfz.mjs +0 -1
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { a as TypeTag } from "./type-tag-serializer-
|
|
2
|
-
import { c as PureTypeName, l as ShapeFromPureTypeName, s as wowBcs, u as ValidPureTypeName } from "./index-
|
|
1
|
+
import { a as TypeTag } from "./type-tag-serializer-66hzljbG.mjs";
|
|
2
|
+
import { c as PureTypeName, l as ShapeFromPureTypeName, s as wowBcs, u as ValidPureTypeName } from "./index-Cj4KHtbw.mjs";
|
|
3
|
+
import "./index-BYeMK_wO.mjs";
|
|
3
4
|
import { r as ENTRYPOINT } from "./config-Bdlw4pMJ.mjs";
|
|
4
|
-
import { t as IAccountStorage } from "./storage-
|
|
5
|
+
import { t as IAccountStorage } from "./storage-0OmomSuj.mjs";
|
|
5
6
|
import { d as LocalMarkFilter, g as MarkParam, h as MarkData, n as InfoData, s as LocalInfoFilter } from "./local-CtSmnSPu.mjs";
|
|
7
|
+
import "./evm-account-BEq5OtWc.mjs";
|
|
8
|
+
import "./secure-storage-Dkh4Oioi.mjs";
|
|
6
9
|
import { n as CacheExpireType } from "./cache-CWB_UDG2.mjs";
|
|
7
10
|
import { BcsType, EnumInputShape, EnumOutputShape, SerializedBcs } from "@mysten/bcs";
|
|
8
11
|
import { Simplify, UnionToIntersection } from "@mysten/utils";
|
|
@@ -13,7 +16,6 @@ import { GrpcWebFetchTransport as GrpcWebFetchTransport$1, GrpcWebOptions, GrpcW
|
|
|
13
16
|
import { RpcOptions, RpcTransport, RpcTransport as RpcTransport$1, ServerStreamingCall, ServiceInfo, ServiceType, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
14
17
|
import { TadaDocumentNode } from "gql.tada";
|
|
15
18
|
import { DocumentTypeDecoration, TypedDocumentNode } from "@graphql-typed-document-node/core";
|
|
16
|
-
|
|
17
19
|
//#region src/client/cache.d.ts
|
|
18
20
|
interface ClientCacheOptions {
|
|
19
21
|
prefix?: string[];
|
|
@@ -21,10 +23,7 @@ interface ClientCacheOptions {
|
|
|
21
23
|
}
|
|
22
24
|
declare class ClientCache {
|
|
23
25
|
#private;
|
|
24
|
-
constructor({
|
|
25
|
-
prefix,
|
|
26
|
-
cache
|
|
27
|
-
}?: ClientCacheOptions);
|
|
26
|
+
constructor({ prefix, cache }?: ClientCacheOptions);
|
|
28
27
|
read<T>(key: [string, ...string[]], load: () => T | Promise<T>): T | Promise<T>;
|
|
29
28
|
readSync<T>(key: [string, ...string[]], load: () => T): T;
|
|
30
29
|
clear(prefix?: string[]): void;
|
|
@@ -68,7 +67,7 @@ declare class JsonRpcHTTPTransport implements JsonRpcTransport {
|
|
|
68
67
|
* ######################################
|
|
69
68
|
*
|
|
70
69
|
* This file is generated from:
|
|
71
|
-
* /crates/
|
|
70
|
+
* /crates/wow-open-rpc/spec/openrpc.json
|
|
72
71
|
*/
|
|
73
72
|
interface AccumulatorEvent {
|
|
74
73
|
accumulatorObj: string;
|
|
@@ -296,12 +295,18 @@ type WowEvent = {
|
|
|
296
295
|
* for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A
|
|
297
296
|
* higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.
|
|
298
297
|
*/
|
|
299
|
-
id: EventId;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
298
|
+
id: EventId;
|
|
299
|
+
/** Move package where this event was emitted. */
|
|
300
|
+
packageId: string;
|
|
301
|
+
/** Parsed json value of the event */
|
|
302
|
+
parsedJson: unknown;
|
|
303
|
+
/** Sender's Wow address. */
|
|
304
|
+
sender: string;
|
|
305
|
+
/** UTC timestamp in milliseconds since epoch (1/1/1970) */
|
|
306
|
+
timestampMs?: string | null;
|
|
307
|
+
/** Move module where this event was emitted. */
|
|
308
|
+
transactionModule: string;
|
|
309
|
+
/** Move event type. */
|
|
305
310
|
type: string;
|
|
306
311
|
bcs: string;
|
|
307
312
|
bcsEncoding: 'base64';
|
|
@@ -311,56 +316,64 @@ type WowEvent = {
|
|
|
311
316
|
* for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A
|
|
312
317
|
* higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.
|
|
313
318
|
*/
|
|
314
|
-
id: EventId;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
319
|
+
id: EventId;
|
|
320
|
+
/** Move package where this event was emitted. */
|
|
321
|
+
packageId: string;
|
|
322
|
+
/** Parsed json value of the event */
|
|
323
|
+
parsedJson: unknown;
|
|
324
|
+
/** Sender's Wow address. */
|
|
325
|
+
sender: string;
|
|
326
|
+
/** UTC timestamp in milliseconds since epoch (1/1/1970) */
|
|
327
|
+
timestampMs?: string | null;
|
|
328
|
+
/** Move module where this event was emitted. */
|
|
329
|
+
transactionModule: string;
|
|
330
|
+
/** Move event type. */
|
|
320
331
|
type: string;
|
|
321
332
|
bcs: string;
|
|
322
333
|
bcsEncoding: 'base58';
|
|
323
334
|
};
|
|
324
|
-
type WowEventFilter =
|
|
335
|
+
type WowEventFilter =
|
|
336
|
+
/** Return all events. */
|
|
337
|
+
{
|
|
325
338
|
All: [];
|
|
326
|
-
} /** Return events that match any of the given filters. Only supported on event subscriptions. */
|
|
339
|
+
} | /** Return events that match any of the given filters. Only supported on event subscriptions. */ {
|
|
327
340
|
Any: WowEventFilter[];
|
|
328
|
-
} /** Query by sender address. */
|
|
341
|
+
} | /** Query by sender address. */ {
|
|
329
342
|
Sender: string;
|
|
330
|
-
} /** Return events emitted by the given transaction. */
|
|
343
|
+
} | /** Return events emitted by the given transaction. */ {
|
|
331
344
|
Transaction: string;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
|
|
337
|
-
*/
|
|
338
|
-
| {
|
|
345
|
+
} | /**
|
|
346
|
+
* Return events emitted in a specified Move module. If the event is defined in Module A but emitted in
|
|
347
|
+
* a tx with Module B, query `MoveModule` by module B returns the event. Query `MoveEventModule` by
|
|
348
|
+
* module A returns the event too.
|
|
349
|
+
*/ {
|
|
339
350
|
MoveModule: {
|
|
340
|
-
/** the module name */
|
|
351
|
+
/** the module name */
|
|
352
|
+
module: string;
|
|
353
|
+
/** the Move package ID */
|
|
341
354
|
package: string;
|
|
342
355
|
};
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
*
|
|
346
|
-
|
|
347
|
-
*/
|
|
348
|
-
| {
|
|
356
|
+
} | /**
|
|
357
|
+
* Return events with the given Move event struct name (struct tag). For example, if the event is
|
|
358
|
+
* defined in `0xabcd::MyModule`, and named `Foo`, then the struct tag is `0xabcd::MyModule::Foo`.
|
|
359
|
+
*/ {
|
|
349
360
|
MoveEventType: string;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
|
|
355
|
-
*/
|
|
356
|
-
| {
|
|
361
|
+
} | /**
|
|
362
|
+
* Return events with the given Move module name where the event struct is defined. If the event is
|
|
363
|
+
* defined in Module A but emitted in a tx with Module B, query `MoveEventModule` by module A returns
|
|
364
|
+
* the event. Query `MoveModule` by module B returns the event too.
|
|
365
|
+
*/ {
|
|
357
366
|
MoveEventModule: {
|
|
358
|
-
/** the module name */
|
|
367
|
+
/** the module name */
|
|
368
|
+
module: string;
|
|
369
|
+
/** the Move package ID */
|
|
359
370
|
package: string;
|
|
360
371
|
};
|
|
361
|
-
} /** Return events emitted in [start_time, end_time] interval */
|
|
372
|
+
} | /** Return events emitted in [start_time, end_time] interval */ {
|
|
362
373
|
TimeRange: {
|
|
363
|
-
/** right endpoint of time interval, milliseconds since epoch, exclusive */
|
|
374
|
+
/** right endpoint of time interval, milliseconds since epoch, exclusive */
|
|
375
|
+
endTime: string;
|
|
376
|
+
/** left endpoint of time interval, milliseconds since epoch, inclusive */
|
|
364
377
|
startTime: string;
|
|
365
378
|
};
|
|
366
379
|
};
|
|
@@ -511,13 +524,15 @@ interface MultiSigPublicKeyLegacy {
|
|
|
511
524
|
* ObjectChange are derived from the object mutations in the TransactionEffect to provide richer object
|
|
512
525
|
* information.
|
|
513
526
|
*/
|
|
514
|
-
type WowObjectChange =
|
|
527
|
+
type WowObjectChange =
|
|
528
|
+
/** Module published */
|
|
529
|
+
{
|
|
515
530
|
digest: string;
|
|
516
531
|
modules: string[];
|
|
517
532
|
packageId: string;
|
|
518
533
|
type: 'published';
|
|
519
534
|
version: string;
|
|
520
|
-
} /** Transfer objects to new address / wrap in another object */
|
|
535
|
+
} | /** Transfer objects to new address / wrap in another object */ {
|
|
521
536
|
digest: string;
|
|
522
537
|
objectId: string;
|
|
523
538
|
objectType: string;
|
|
@@ -525,7 +540,7 @@ type WowObjectChange = /** Module published */{
|
|
|
525
540
|
sender: string;
|
|
526
541
|
type: 'transferred';
|
|
527
542
|
version: string;
|
|
528
|
-
} /** Object mutated. */
|
|
543
|
+
} | /** Object mutated. */ {
|
|
529
544
|
digest: string;
|
|
530
545
|
objectId: string;
|
|
531
546
|
objectType: string;
|
|
@@ -534,19 +549,19 @@ type WowObjectChange = /** Module published */{
|
|
|
534
549
|
sender: string;
|
|
535
550
|
type: 'mutated';
|
|
536
551
|
version: string;
|
|
537
|
-
} /** Delete object */
|
|
552
|
+
} | /** Delete object */ {
|
|
538
553
|
objectId: string;
|
|
539
554
|
objectType: string;
|
|
540
555
|
sender: string;
|
|
541
556
|
type: 'deleted';
|
|
542
557
|
version: string;
|
|
543
|
-
} /** Wrapped object */
|
|
558
|
+
} | /** Wrapped object */ {
|
|
544
559
|
objectId: string;
|
|
545
560
|
objectType: string;
|
|
546
561
|
sender: string;
|
|
547
562
|
type: 'wrapped';
|
|
548
563
|
version: string;
|
|
549
|
-
} /** New object creation */
|
|
564
|
+
} | /** New object creation */ {
|
|
550
565
|
digest: string;
|
|
551
566
|
objectId: string;
|
|
552
567
|
objectType: string;
|
|
@@ -611,19 +626,21 @@ interface WowObjectDataOptions {
|
|
|
611
626
|
/** Whether to show the type of the object. Default to be False */
|
|
612
627
|
showType?: boolean;
|
|
613
628
|
}
|
|
614
|
-
type ObjectRead =
|
|
629
|
+
type ObjectRead =
|
|
630
|
+
/** The object exists and is found with this version */
|
|
631
|
+
{
|
|
615
632
|
details: WowObjectData;
|
|
616
633
|
status: 'VersionFound';
|
|
617
|
-
} /** The object does not exist */
|
|
634
|
+
} | /** The object does not exist */ {
|
|
618
635
|
details: string;
|
|
619
636
|
status: 'ObjectNotExists';
|
|
620
|
-
} /** The object is found to be deleted with this version */
|
|
637
|
+
} | /** The object is found to be deleted with this version */ {
|
|
621
638
|
details: WowObjectRef;
|
|
622
639
|
status: 'ObjectDeleted';
|
|
623
|
-
} /** The object exists but not found with this version */
|
|
640
|
+
} | /** The object exists but not found with this version */ {
|
|
624
641
|
details: [string, string];
|
|
625
642
|
status: 'VersionNotFound';
|
|
626
|
-
} /** The asked object version is higher than the latest */
|
|
643
|
+
} | /** The asked object version is higher than the latest */ {
|
|
627
644
|
details: {
|
|
628
645
|
asked_version: string;
|
|
629
646
|
latest_version: string;
|
|
@@ -646,9 +663,11 @@ type ObjectResponseError = {
|
|
|
646
663
|
code: 'dynamicFieldNotFound';
|
|
647
664
|
parent_object_id: string;
|
|
648
665
|
} | {
|
|
649
|
-
code: 'deleted';
|
|
666
|
+
code: 'deleted';
|
|
667
|
+
/** Base64 string representing the object digest */
|
|
650
668
|
digest: string;
|
|
651
|
-
object_id: string;
|
|
669
|
+
object_id: string;
|
|
670
|
+
/** Object version. */
|
|
652
671
|
version: string;
|
|
653
672
|
} | {
|
|
654
673
|
code: 'unknown';
|
|
@@ -667,20 +686,21 @@ interface OwnedObjectRef {
|
|
|
667
686
|
owner: ObjectOwner$1;
|
|
668
687
|
reference: WowObjectRef;
|
|
669
688
|
}
|
|
670
|
-
type ObjectOwner$1 =
|
|
689
|
+
type ObjectOwner$1 =
|
|
690
|
+
/** Object is exclusively owned by a single address, and is mutable. */
|
|
691
|
+
{
|
|
671
692
|
AddressOwner: string;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
*
|
|
675
|
-
|
|
676
|
-
*/
|
|
677
|
-
| {
|
|
693
|
+
} | /**
|
|
694
|
+
* Object is exclusively owned by a single object, and is mutable. The object ID is converted to
|
|
695
|
+
* WowAddress as WowAddress is universal.
|
|
696
|
+
*/ {
|
|
678
697
|
ObjectOwner: string;
|
|
679
|
-
} /** Object is shared, can be used by any address, and is mutable. */
|
|
698
|
+
} | /** Object is shared, can be used by any address, and is mutable. */ {
|
|
680
699
|
Shared: {
|
|
681
|
-
/** The version at which the object became shared */
|
|
700
|
+
/** The version at which the object became shared */
|
|
701
|
+
initial_shared_version: string;
|
|
682
702
|
};
|
|
683
|
-
} | 'Immutable' /** Object is exclusively owned by a single address and sequenced via consensus. */
|
|
703
|
+
} | 'Immutable' | /** Object is exclusively owned by a single address and sequenced via consensus. */ {
|
|
684
704
|
ConsensusAddressOwner: {
|
|
685
705
|
owner: string;
|
|
686
706
|
/**
|
|
@@ -842,34 +862,35 @@ type Signature = {
|
|
|
842
862
|
type StakeObject = {
|
|
843
863
|
principal: string;
|
|
844
864
|
stakeActiveEpoch: string;
|
|
845
|
-
stakeRequestEpoch: string;
|
|
865
|
+
stakeRequestEpoch: string;
|
|
866
|
+
/** ID of the StakedWow receipt object. */
|
|
846
867
|
stakedWowId: string;
|
|
847
868
|
status: 'Pending';
|
|
848
869
|
} | {
|
|
849
870
|
principal: string;
|
|
850
871
|
stakeActiveEpoch: string;
|
|
851
|
-
stakeRequestEpoch: string;
|
|
872
|
+
stakeRequestEpoch: string;
|
|
873
|
+
/** ID of the StakedWow receipt object. */
|
|
852
874
|
stakedWowId: string;
|
|
853
875
|
estimatedReward: string;
|
|
854
876
|
status: 'Active';
|
|
855
877
|
} | {
|
|
856
878
|
principal: string;
|
|
857
879
|
stakeActiveEpoch: string;
|
|
858
|
-
stakeRequestEpoch: string;
|
|
880
|
+
stakeRequestEpoch: string;
|
|
881
|
+
/** ID of the StakedWow receipt object. */
|
|
859
882
|
stakedWowId: string;
|
|
860
883
|
status: 'Unstaked';
|
|
861
884
|
};
|
|
862
885
|
/** An argument to a transaction in a programmable transaction block */
|
|
863
|
-
type WowArgument = 'GasCoin' /** One of the input objects or primitive values (from `ProgrammableTransactionBlock` inputs) */
|
|
886
|
+
type WowArgument = 'GasCoin' | /** One of the input objects or primitive values (from `ProgrammableTransactionBlock` inputs) */ {
|
|
864
887
|
Input: number;
|
|
865
|
-
} /** The result of another transaction (from `ProgrammableTransactionBlock` transactions) */
|
|
888
|
+
} | /** The result of another transaction (from `ProgrammableTransactionBlock` transactions) */ {
|
|
866
889
|
Result: number;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
*
|
|
870
|
-
|
|
871
|
-
*/
|
|
872
|
-
| {
|
|
890
|
+
} | /**
|
|
891
|
+
* Like a `Result` but it accesses a nested result. Currently, the only usage of this is to access a
|
|
892
|
+
* value from a Move call with multiple return values.
|
|
893
|
+
*/ {
|
|
873
894
|
NestedResult: [number, number];
|
|
874
895
|
};
|
|
875
896
|
type WowCallArg = {
|
|
@@ -1014,14 +1035,16 @@ type WowObjectDataFilter = {
|
|
|
1014
1035
|
MatchAny: WowObjectDataFilter[];
|
|
1015
1036
|
} | {
|
|
1016
1037
|
MatchNone: WowObjectDataFilter[];
|
|
1017
|
-
} /** Query by type a specified Package. */
|
|
1038
|
+
} | /** Query by type a specified Package. */ {
|
|
1018
1039
|
Package: string;
|
|
1019
|
-
} /** Query by type a specified Move module. */
|
|
1040
|
+
} | /** Query by type a specified Move module. */ {
|
|
1020
1041
|
MoveModule: {
|
|
1021
|
-
/** the module name */
|
|
1042
|
+
/** the module name */
|
|
1043
|
+
module: string;
|
|
1044
|
+
/** the Move package ID */
|
|
1022
1045
|
package: string;
|
|
1023
1046
|
};
|
|
1024
|
-
} /** Query by type */
|
|
1047
|
+
} | /** Query by type */ {
|
|
1025
1048
|
StructType: string;
|
|
1026
1049
|
} | {
|
|
1027
1050
|
AddressOwner: string;
|
|
@@ -1171,40 +1194,34 @@ interface WowSystemStateSummary {
|
|
|
1171
1194
|
validatorVeryLowStakeThreshold: string;
|
|
1172
1195
|
}
|
|
1173
1196
|
/** A single transaction in a programmable transaction block. */
|
|
1174
|
-
type WowTransaction =
|
|
1197
|
+
type WowTransaction =
|
|
1198
|
+
/** A call to either an entry or a public Move function */
|
|
1199
|
+
{
|
|
1175
1200
|
MoveCall: WowProgrammableMoveCall;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
*
|
|
1179
|
-
* must
|
|
1180
|
-
|
|
1181
|
-
*/
|
|
1182
|
-
| {
|
|
1201
|
+
} | /**
|
|
1202
|
+
* `(Vec<forall T:key+store. T>, address)` It sends n-objects to the specified address. These objects
|
|
1203
|
+
* must have store (public transfer) and either the previous owner must be an address or the object
|
|
1204
|
+
* must be newly created.
|
|
1205
|
+
*/ {
|
|
1183
1206
|
TransferObjects: [WowArgument[], WowArgument];
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
*
|
|
1187
|
-
|
|
1188
|
-
*/
|
|
1189
|
-
| {
|
|
1207
|
+
} | /**
|
|
1208
|
+
* `(&mut Coin<T>, Vec<u64>)` -> `Vec<Coin<T>>` It splits off some amounts into a new coins with those
|
|
1209
|
+
* amounts
|
|
1210
|
+
*/ {
|
|
1190
1211
|
SplitCoins: [WowArgument, WowArgument[]];
|
|
1191
|
-
} /** `(&mut Coin<T>, Vec<Coin<T>>)` It merges n-coins into the first coin */
|
|
1212
|
+
} | /** `(&mut Coin<T>, Vec<Coin<T>>)` It merges n-coins into the first coin */ {
|
|
1192
1213
|
MergeCoins: [WowArgument, WowArgument[]];
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
*
|
|
1196
|
-
|
|
1197
|
-
*/
|
|
1198
|
-
| {
|
|
1214
|
+
} | /**
|
|
1215
|
+
* Publishes a Move package. It takes the package bytes and a list of the package's transitive
|
|
1216
|
+
* dependencies to link against on-chain.
|
|
1217
|
+
*/ {
|
|
1199
1218
|
Publish: string[];
|
|
1200
|
-
} /** Upgrades a Move package */
|
|
1219
|
+
} | /** Upgrades a Move package */ {
|
|
1201
1220
|
Upgrade: [string[], string, WowArgument];
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
*
|
|
1205
|
-
|
|
1206
|
-
*/
|
|
1207
|
-
| {
|
|
1221
|
+
} | /**
|
|
1222
|
+
* `forall T: Vec<T> -> vector<T>` Given n-values of the same type, it constructs a vector. For non
|
|
1223
|
+
* objects or an empty vector, the type tag must be specified.
|
|
1224
|
+
*/ {
|
|
1208
1225
|
MakeMoveVec: [string | null, WowArgument[]];
|
|
1209
1226
|
};
|
|
1210
1227
|
type WowTransactionBlockBuilderMode = 'Commit' | 'DevInspect';
|
|
@@ -1285,17 +1302,24 @@ type TransactionBlockData = {
|
|
|
1285
1302
|
sender: string;
|
|
1286
1303
|
transaction: WowTransactionBlockKind;
|
|
1287
1304
|
};
|
|
1288
|
-
type TransactionEffects$2 =
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1305
|
+
type TransactionEffects$2 =
|
|
1306
|
+
/** The response from processing a transaction or a certified transaction */
|
|
1307
|
+
{
|
|
1308
|
+
/** The abort error populated if the transaction failed with an abort code. */
|
|
1309
|
+
abortError?: WowMoveAbort | null;
|
|
1310
|
+
accumulatorEvents?: AccumulatorEvent[];
|
|
1311
|
+
/** ObjectRef and owner of new objects created. */
|
|
1312
|
+
created?: OwnedObjectRef[];
|
|
1313
|
+
/** Object Refs of objects now deleted (the old refs). */
|
|
1314
|
+
deleted?: WowObjectRef[];
|
|
1315
|
+
/** The set of transaction digests this transaction depends on. */
|
|
1293
1316
|
dependencies?: string[];
|
|
1294
1317
|
/**
|
|
1295
1318
|
* The digest of the events emitted during execution, can be None if the transaction does not emit any
|
|
1296
1319
|
* event.
|
|
1297
1320
|
*/
|
|
1298
|
-
eventsDigest?: string | null;
|
|
1321
|
+
eventsDigest?: string | null;
|
|
1322
|
+
/** The epoch when this transaction was executed. */
|
|
1299
1323
|
executedEpoch: string;
|
|
1300
1324
|
/**
|
|
1301
1325
|
* The updated gas object reference. Have a dedicated field for convenient access. It's also included
|
|
@@ -1308,56 +1332,64 @@ type TransactionEffects$2 = /** The response from processing a transaction or a
|
|
|
1308
1332
|
* The version that every modified (mutated or deleted) object had before it was modified by this
|
|
1309
1333
|
* transaction.
|
|
1310
1334
|
*/
|
|
1311
|
-
modifiedAtVersions?: TransactionBlockEffectsModifiedAtVersions[];
|
|
1335
|
+
modifiedAtVersions?: TransactionBlockEffectsModifiedAtVersions[];
|
|
1336
|
+
/** ObjectRef and owner of mutated objects, including gas object. */
|
|
1312
1337
|
mutated?: OwnedObjectRef[];
|
|
1313
1338
|
/**
|
|
1314
1339
|
* The object references of the shared objects used in this transaction. Empty if no shared objects
|
|
1315
1340
|
* were used.
|
|
1316
1341
|
*/
|
|
1317
|
-
sharedObjects?: WowObjectRef[];
|
|
1318
|
-
|
|
1342
|
+
sharedObjects?: WowObjectRef[];
|
|
1343
|
+
/** The status of the execution */
|
|
1344
|
+
status: ExecutionStatus$2;
|
|
1345
|
+
/** The transaction digest */
|
|
1319
1346
|
transactionDigest: string;
|
|
1320
1347
|
/**
|
|
1321
1348
|
* ObjectRef and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects
|
|
1322
1349
|
* that were wrapped into other objects in the past, and just got extracted out.
|
|
1323
1350
|
*/
|
|
1324
|
-
unwrapped?: OwnedObjectRef[];
|
|
1325
|
-
|
|
1351
|
+
unwrapped?: OwnedObjectRef[];
|
|
1352
|
+
/** Object refs of objects previously wrapped in other objects but now deleted. */
|
|
1353
|
+
unwrappedThenDeleted?: WowObjectRef[];
|
|
1354
|
+
/** Object refs of objects now wrapped in other objects. */
|
|
1326
1355
|
wrapped?: WowObjectRef[];
|
|
1327
1356
|
};
|
|
1328
1357
|
interface TransactionBlockEffectsModifiedAtVersions {
|
|
1329
1358
|
objectId: string;
|
|
1330
1359
|
sequenceNumber: string;
|
|
1331
1360
|
}
|
|
1332
|
-
type WowTransactionBlockKind =
|
|
1361
|
+
type WowTransactionBlockKind =
|
|
1362
|
+
/** A system transaction that will update epoch information on-chain. */
|
|
1363
|
+
{
|
|
1333
1364
|
computation_charge: string;
|
|
1334
1365
|
epoch: string;
|
|
1335
1366
|
epoch_start_timestamp_ms: string;
|
|
1336
1367
|
kind: 'ChangeEpoch';
|
|
1337
1368
|
storage_charge: string;
|
|
1338
1369
|
storage_rebate: string;
|
|
1339
|
-
} /** A system transaction used for initializing the initial state of the chain. */
|
|
1370
|
+
} | /** A system transaction used for initializing the initial state of the chain. */ {
|
|
1340
1371
|
kind: 'Genesis';
|
|
1341
1372
|
objects: string[];
|
|
1342
|
-
} /** A system transaction marking the start of a series of transactions scheduled as part of a checkpoint */
|
|
1373
|
+
} | /** A system transaction marking the start of a series of transactions scheduled as part of a checkpoint */ {
|
|
1343
1374
|
commit_timestamp_ms: string;
|
|
1344
1375
|
epoch: string;
|
|
1345
1376
|
kind: 'ConsensusCommitPrologue';
|
|
1346
1377
|
round: string;
|
|
1347
|
-
} /** A series of transactions where the results of one transaction can be used in future transactions */
|
|
1348
|
-
/** Input objects or primitive values */
|
|
1378
|
+
} | /** A series of transactions where the results of one transaction can be used in future transactions */ {
|
|
1379
|
+
/** Input objects or primitive values */
|
|
1380
|
+
inputs: WowCallArg[];
|
|
1349
1381
|
kind: 'ProgrammableTransaction';
|
|
1350
1382
|
/**
|
|
1351
1383
|
* The transactions to be executed sequentially. A failure in any transaction will result in the
|
|
1352
1384
|
* failure of the entire programmable transaction block.
|
|
1353
1385
|
*/
|
|
1354
1386
|
transactions: WowTransaction[];
|
|
1355
|
-
} /** A transaction which updates global randomness state */
|
|
1387
|
+
} | /** A transaction which updates global randomness state */ {
|
|
1356
1388
|
epoch: string;
|
|
1357
1389
|
kind: 'RandomnessStateUpdate';
|
|
1358
1390
|
random_bytes: number[];
|
|
1359
1391
|
randomness_round: string;
|
|
1360
|
-
} /** The transaction which occurs only at the end of the epoch */
|
|
1392
|
+
} | /** The transaction which occurs only at the end of the epoch */ {
|
|
1361
1393
|
kind: 'EndOfEpochTransaction';
|
|
1362
1394
|
transactions: WowEndOfEpochTransactionKind[];
|
|
1363
1395
|
} | {
|
|
@@ -1383,8 +1415,9 @@ type WowTransactionBlockKind = /** A system transaction that will update epoch i
|
|
|
1383
1415
|
kind: 'ConsensusCommitPrologueV4';
|
|
1384
1416
|
round: string;
|
|
1385
1417
|
sub_dag_index?: string | null;
|
|
1386
|
-
} /** A series of commands where the results of one command can be used in future commands */
|
|
1387
|
-
/** Input objects or primitive values */
|
|
1418
|
+
} | /** A series of commands where the results of one command can be used in future commands */ {
|
|
1419
|
+
/** Input objects or primitive values */
|
|
1420
|
+
inputs: WowCallArg[];
|
|
1388
1421
|
kind: 'ProgrammableSystemTransaction';
|
|
1389
1422
|
/**
|
|
1390
1423
|
* The transactions to be executed sequentially. A failure in any transaction will result in the
|
|
@@ -1437,36 +1470,38 @@ interface WowTransactionBlockResponseQuery {
|
|
|
1437
1470
|
/** config which fields to include in the response, by default only digest is included */
|
|
1438
1471
|
options?: WowTransactionBlockResponseOptions | null;
|
|
1439
1472
|
}
|
|
1440
|
-
type TransactionFilter =
|
|
1473
|
+
type TransactionFilter =
|
|
1474
|
+
/** CURRENTLY NOT SUPPORTED. Query by checkpoint. */
|
|
1475
|
+
{
|
|
1441
1476
|
Checkpoint: string;
|
|
1442
|
-
} /** Query by move function. */
|
|
1477
|
+
} | /** Query by move function. */ {
|
|
1443
1478
|
MoveFunction: {
|
|
1444
1479
|
function?: string | null;
|
|
1445
1480
|
module?: string | null;
|
|
1446
1481
|
package: string;
|
|
1447
1482
|
};
|
|
1448
|
-
} /** Query by input object. */
|
|
1483
|
+
} | /** Query by input object. */ {
|
|
1449
1484
|
InputObject: string;
|
|
1450
|
-
} /** Query by changed object, including created, mutated and unwrapped objects. */
|
|
1485
|
+
} | /** Query by changed object, including created, mutated and unwrapped objects. */ {
|
|
1451
1486
|
ChangedObject: string;
|
|
1452
|
-
} /** Query for transactions that touch this object. */
|
|
1487
|
+
} | /** Query for transactions that touch this object. */ {
|
|
1453
1488
|
AffectedObject: string;
|
|
1454
|
-
} /** Query by sender address. */
|
|
1489
|
+
} | /** Query by sender address. */ {
|
|
1455
1490
|
FromAddress: string;
|
|
1456
|
-
} /** Query by recipient address. */
|
|
1491
|
+
} | /** Query by recipient address. */ {
|
|
1457
1492
|
ToAddress: string;
|
|
1458
|
-
} /** Query by sender and recipient address. */
|
|
1493
|
+
} | /** Query by sender and recipient address. */ {
|
|
1459
1494
|
FromAndToAddress: {
|
|
1460
1495
|
from: string;
|
|
1461
1496
|
to: string;
|
|
1462
1497
|
};
|
|
1463
|
-
} /** CURRENTLY NOT SUPPORTED. Query txs that have a given address as sender or recipient. */
|
|
1498
|
+
} | /** CURRENTLY NOT SUPPORTED. Query txs that have a given address as sender or recipient. */ {
|
|
1464
1499
|
FromOrToAddress: {
|
|
1465
1500
|
addr: string;
|
|
1466
1501
|
};
|
|
1467
|
-
} /** Query by transaction kind */
|
|
1502
|
+
} | /** Query by transaction kind */ {
|
|
1468
1503
|
TransactionKind: string;
|
|
1469
|
-
} /** Query transactions of any given kind in the input. */
|
|
1504
|
+
} | /** Query transactions of any given kind in the input. */ {
|
|
1470
1505
|
TransactionKindIn: string[];
|
|
1471
1506
|
};
|
|
1472
1507
|
interface TransferObjectParams {
|
|
@@ -1860,12 +1895,14 @@ interface TLatestWowSystemStateParams {
|
|
|
1860
1895
|
* been updated when the next page is fetched. Please use wx_queryObjects if this is a concern.
|
|
1861
1896
|
*/
|
|
1862
1897
|
type TOwnedObjectsParams = {
|
|
1863
|
-
/** the owner's Wow address */
|
|
1898
|
+
/** the owner's Wow address */
|
|
1899
|
+
owner: string;
|
|
1864
1900
|
/**
|
|
1865
1901
|
* An optional paging cursor. If provided, the query will start from the next item after the specified
|
|
1866
1902
|
* cursor. Default to start from the first item if not specified.
|
|
1867
1903
|
*/
|
|
1868
|
-
cursor?: string | null | undefined;
|
|
1904
|
+
cursor?: string | null | undefined;
|
|
1905
|
+
/** Max number of items returned per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified. */
|
|
1869
1906
|
limit?: number | null | undefined;
|
|
1870
1907
|
signal?: AbortSignal;
|
|
1871
1908
|
} & WowObjectResponseQuery;
|
|
@@ -1914,8 +1951,10 @@ type EryTransactionBlocksParams = {
|
|
|
1914
1951
|
* An optional paging cursor. If provided, the query will start from the next item after the specified
|
|
1915
1952
|
* cursor. Default to start from the first item if not specified.
|
|
1916
1953
|
*/
|
|
1917
|
-
cursor?: string | null | undefined;
|
|
1918
|
-
|
|
1954
|
+
cursor?: string | null | undefined;
|
|
1955
|
+
/** Maximum item returned per page, default to QUERY_MAX_RESULT_LIMIT if not specified. */
|
|
1956
|
+
limit?: number | null | undefined;
|
|
1957
|
+
/** query result ordering, default to false (ascending order), oldest record first. */
|
|
1919
1958
|
order?: 'ascending' | 'descending' | null | undefined;
|
|
1920
1959
|
signal?: AbortSignal;
|
|
1921
1960
|
} & WowTransactionBlockResponseQuery;
|
|
@@ -1986,7 +2025,7 @@ interface UnsafeMoveCallParams {
|
|
|
1986
2025
|
/** the type arguments of the Move function */
|
|
1987
2026
|
typeArguments: string[];
|
|
1988
2027
|
/**
|
|
1989
|
-
* the arguments to be passed into the Move function, in [WowJson](https://docs.sui.io/build/
|
|
2028
|
+
* the arguments to be passed into the Move function, in [WowJson](https://docs.sui.io/build/wow-json)
|
|
1990
2029
|
* format
|
|
1991
2030
|
*/
|
|
1992
2031
|
arguments: unknown[];
|
|
@@ -3058,8 +3097,8 @@ declare namespace WowClientTypes {
|
|
|
3058
3097
|
}
|
|
3059
3098
|
//#endregion
|
|
3060
3099
|
//#region src/transactions/data/internal.d.ts
|
|
3061
|
-
type EnumSchemaInput<T extends Record<string, GenericSchema<any>>> = EnumInputShape<Simplify<{ [K in keyof T]: InferInput<T[K]
|
|
3062
|
-
type EnumSchemaOutput<T extends Record<string, GenericSchema<any>>> = EnumOutputShape<Simplify<{ [K in keyof T]: InferOutput<T[K]
|
|
3100
|
+
type EnumSchemaInput<T extends Record<string, GenericSchema<any>>> = EnumInputShape<Simplify<{ [K in keyof T]: InferInput<T[K]>; }>>;
|
|
3101
|
+
type EnumSchemaOutput<T extends Record<string, GenericSchema<any>>> = EnumOutputShape<Simplify<{ [K in keyof T]: InferOutput<T[K]>; }>>;
|
|
3063
3102
|
type EnumSchema<T extends Record<string, GenericSchema<any>>> = GenericSchema<EnumSchemaInput<T>, EnumSchemaOutput<T>>;
|
|
3064
3103
|
declare const ObjectRefSchema: ObjectSchema<{
|
|
3065
3104
|
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
@@ -4053,11 +4092,7 @@ declare class TransactionDataBuilder implements TransactionData$1 {
|
|
|
4053
4092
|
inputs: CallArg[];
|
|
4054
4093
|
commands: Command$1[];
|
|
4055
4094
|
constructor(clone?: TransactionData$1);
|
|
4056
|
-
build({
|
|
4057
|
-
maxSizeBytes,
|
|
4058
|
-
overrides,
|
|
4059
|
-
onlyTransactionKind
|
|
4060
|
-
}?: {
|
|
4095
|
+
build({ maxSizeBytes, overrides, onlyTransactionKind }?: {
|
|
4061
4096
|
maxSizeBytes?: number;
|
|
4062
4097
|
overrides?: {
|
|
4063
4098
|
expiration?: TransactionExpiration$1;
|
|
@@ -4090,9 +4125,7 @@ declare class TransactionDataBuilder implements TransactionData$1 {
|
|
|
4090
4125
|
//#region src/graphql/core.d.ts
|
|
4091
4126
|
declare class GraphQLCoreClient extends CoreClient {
|
|
4092
4127
|
#private;
|
|
4093
|
-
constructor({
|
|
4094
|
-
graphqlClient
|
|
4095
|
-
}: {
|
|
4128
|
+
constructor({ graphqlClient }: {
|
|
4096
4129
|
graphqlClient: WowGraphQLClient;
|
|
4097
4130
|
});
|
|
4098
4131
|
getObjects<Include extends WowClientTypes.ObjectInclude = {}>(options: WowClientTypes.GetObjectsOptions<Include>): Promise<WowClientTypes.GetObjectsResponse<Include>>;
|
|
@@ -4176,15 +4209,9 @@ declare class WowGraphQLClient<Queries extends Record<string, GraphQLDocument> =
|
|
|
4176
4209
|
#private;
|
|
4177
4210
|
[WOW_CLIENT_BRAND$2]: boolean;
|
|
4178
4211
|
core: GraphQLCoreClient;
|
|
4179
|
-
constructor({
|
|
4180
|
-
url,
|
|
4181
|
-
fetch: fetchFn,
|
|
4182
|
-
headers,
|
|
4183
|
-
queries,
|
|
4184
|
-
network
|
|
4185
|
-
}: WowGraphQLClientOptions<Queries>);
|
|
4212
|
+
constructor({ url, fetch: fetchFn, headers, queries, network }: WowGraphQLClientOptions<Queries>);
|
|
4186
4213
|
query<Result = Record<string, unknown>, Variables = Record<string, unknown>>(options: GraphQLQueryOptions<Result, Variables>): Promise<GraphQLQueryResult<Result>>;
|
|
4187
|
-
execute<const Query extends Extract<keyof Queries, string>, Result =
|
|
4214
|
+
execute<const Query extends Extract<keyof Queries, string>, Result = Queries[Query] extends GraphQLDocument<infer R, unknown> ? R : Record<string, unknown>, Variables = Queries[Query] extends GraphQLDocument<unknown, infer V> ? V : Record<string, unknown>>(query: Query, options: Omit<GraphQLQueryOptions<Result, Variables>, 'query'>): Promise<GraphQLQueryResult<Result>>;
|
|
4188
4215
|
getObjects<Include extends WowClientTypes.ObjectInclude = {}>(input: WowClientTypes.GetObjectsOptions<Include>): Promise<WowClientTypes.GetObjectsResponse<Include>>;
|
|
4189
4216
|
getObject<Include extends WowClientTypes.ObjectInclude = {}>(input: WowClientTypes.GetObjectOptions<Include>): Promise<WowClientTypes.GetObjectResponse<Include>>;
|
|
4190
4217
|
listCoins(input: WowClientTypes.ListCoinsOptions): Promise<WowClientTypes.ListCoinsResponse>;
|
|
@@ -12543,10 +12570,7 @@ interface GrpcCoreClientOptions extends CoreClientOptions {
|
|
|
12543
12570
|
}
|
|
12544
12571
|
declare class GrpcCoreClient extends CoreClient {
|
|
12545
12572
|
#private;
|
|
12546
|
-
constructor({
|
|
12547
|
-
client,
|
|
12548
|
-
...options
|
|
12549
|
-
}: GrpcCoreClientOptions);
|
|
12573
|
+
constructor({ client, ...options }: GrpcCoreClientOptions);
|
|
12550
12574
|
getObjects<Include extends WowClientTypes.ObjectInclude = {}>(options: WowClientTypes.GetObjectsOptions<Include>): Promise<WowClientTypes.GetObjectsResponse<Include>>;
|
|
12551
12575
|
listOwnedObjects<Include extends WowClientTypes.ObjectInclude = {}>(options: WowClientTypes.ListOwnedObjectsOptions<Include>): Promise<WowClientTypes.ListOwnedObjectsResponse<Include>>;
|
|
12552
12576
|
listCoins(options: WowClientTypes.ListCoinsOptions): Promise<WowClientTypes.ListCoinsResponse>;
|
|
@@ -13155,7 +13179,7 @@ interface RegistrationCredential extends PublicKeyCredential {
|
|
|
13155
13179
|
//#endregion
|
|
13156
13180
|
//#region src/keypairs/passkey/keypair.d.ts
|
|
13157
13181
|
type DeepPartialConfigKeys = 'rp' | 'user' | 'authenticatorSelection';
|
|
13158
|
-
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]
|
|
13182
|
+
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
13159
13183
|
type BrowserPasswordProviderOptions = Pick<DeepPartial<PublicKeyCredentialCreationOptions>, DeepPartialConfigKeys> & Omit<Partial<PublicKeyCredentialCreationOptions>, DeepPartialConfigKeys | 'pubKeyCredParams' | 'challenge'>;
|
|
13160
13184
|
interface PasskeyProvider {
|
|
13161
13185
|
create(): Promise<RegistrationCredential>;
|
|
@@ -13525,8 +13549,7 @@ declare class Account {
|
|
|
13525
13549
|
//#region src/w/local/token.d.ts
|
|
13526
13550
|
interface TokenTypeInfo extends WowCoinMetadata {
|
|
13527
13551
|
alias?: string;
|
|
13528
|
-
type: string;
|
|
13529
|
-
/** type name for the token (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC) */
|
|
13552
|
+
type: string; /** type name for the token (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC) */
|
|
13530
13553
|
}
|
|
13531
13554
|
interface TokenDataFilter {
|
|
13532
13555
|
alias_or_name?: string;
|
|
@@ -13853,102 +13876,102 @@ declare const valueTypeToString: (type: ValueType) => string;
|
|
|
13853
13876
|
*/
|
|
13854
13877
|
declare const isValidValueTypeInput: (input: unknown) => input is ValueTypeInput;
|
|
13855
13878
|
declare enum OperatorType {
|
|
13856
|
-
TypeQuery = 40
|
|
13857
|
-
|
|
13858
|
-
TypeNumberAdd = 200
|
|
13859
|
-
|
|
13860
|
-
TypeNumberSubtract = 201
|
|
13861
|
-
|
|
13862
|
-
TypeNumberMultiply = 202
|
|
13863
|
-
|
|
13864
|
-
TypeNumberDivide = 203
|
|
13865
|
-
|
|
13866
|
-
TypeNumberMod = 204
|
|
13867
|
-
|
|
13868
|
-
TypeNumberAddress = 205
|
|
13869
|
-
|
|
13870
|
-
TypeNumberString = 206
|
|
13871
|
-
|
|
13872
|
-
TypeAddressNumber = 207
|
|
13873
|
-
|
|
13874
|
-
TypeStringNumber = 208
|
|
13875
|
-
|
|
13876
|
-
TypeSafeU8 = 220
|
|
13877
|
-
|
|
13878
|
-
TypeSafeU16 = 221
|
|
13879
|
-
|
|
13880
|
-
TypeSafeU32 = 222
|
|
13881
|
-
|
|
13882
|
-
TypeSafeU64 = 223
|
|
13883
|
-
|
|
13884
|
-
TypeSafeU128 = 224
|
|
13885
|
-
|
|
13886
|
-
TypeSafeU256 = 225
|
|
13887
|
-
|
|
13888
|
-
TypeStringLength = 61
|
|
13889
|
-
|
|
13890
|
-
TypeStringIndexof = 62
|
|
13891
|
-
|
|
13892
|
-
TypeStringNocaseIndexof = 63
|
|
13893
|
-
|
|
13894
|
-
TypeStringContains = 64
|
|
13895
|
-
|
|
13896
|
-
TypeStringNocaseContains = 65
|
|
13897
|
-
|
|
13898
|
-
TypeStringNocaseEqual = 66
|
|
13899
|
-
|
|
13900
|
-
TypedValueType = 70
|
|
13901
|
-
|
|
13902
|
-
TypedValueVecLength = 71
|
|
13903
|
-
|
|
13904
|
-
TypedValueVecContains_Bool = 72
|
|
13905
|
-
|
|
13906
|
-
TypedValueVecContains_Address = 73
|
|
13907
|
-
|
|
13908
|
-
TypedValueVecContains_String = 74
|
|
13909
|
-
|
|
13910
|
-
TypedValueVecContains_StringNoCase = 75
|
|
13911
|
-
|
|
13912
|
-
TypedValueVecContains_Number = 76
|
|
13913
|
-
|
|
13914
|
-
TypedValueVecContains_U8 = 82
|
|
13915
|
-
|
|
13916
|
-
TypedValueVecContains_U16 = 83
|
|
13917
|
-
|
|
13918
|
-
TypedValueVecContains_U32 = 84
|
|
13919
|
-
|
|
13920
|
-
TypedValueVecContains_U64 = 85
|
|
13921
|
-
|
|
13922
|
-
TypedValueVecContains_U128 = 86
|
|
13923
|
-
|
|
13924
|
-
TypedValueVecContains_U256 = 87
|
|
13925
|
-
|
|
13926
|
-
TypedValueVecIndexOf_Bool = 77
|
|
13927
|
-
|
|
13928
|
-
TypedValueVecIndexOf_Address = 78
|
|
13929
|
-
|
|
13930
|
-
TypedValueVecIndexOf_String = 79
|
|
13931
|
-
|
|
13932
|
-
TypedValueVecIndexOf_StringNoCase = 80
|
|
13933
|
-
|
|
13934
|
-
TypedValueVecIndexOf_Number = 81
|
|
13935
|
-
|
|
13936
|
-
TypeLogicEqual = 90
|
|
13937
|
-
|
|
13938
|
-
TypeLogicAsU256Greater = 91
|
|
13939
|
-
|
|
13940
|
-
TypeLogicAsU256GreaterEqual = 92
|
|
13941
|
-
|
|
13942
|
-
TypeLogicAsU256Lesser = 93
|
|
13943
|
-
|
|
13944
|
-
TypeLogicAsU256LesserEqual = 94
|
|
13945
|
-
|
|
13946
|
-
TypeLogicAsU256Equal = 95
|
|
13947
|
-
|
|
13948
|
-
TypeLogicAnd = 96
|
|
13949
|
-
|
|
13950
|
-
TypeLogicOr = 97
|
|
13951
|
-
|
|
13879
|
+
TypeQuery = 40 // 查询类型
|
|
13880
|
+
,
|
|
13881
|
+
TypeNumberAdd = 200 // 数值加法
|
|
13882
|
+
,
|
|
13883
|
+
TypeNumberSubtract = 201 // 数值减法
|
|
13884
|
+
,
|
|
13885
|
+
TypeNumberMultiply = 202 // 数值乘法
|
|
13886
|
+
,
|
|
13887
|
+
TypeNumberDivide = 203 // 数值除法
|
|
13888
|
+
,
|
|
13889
|
+
TypeNumberMod = 204 // 数值取模
|
|
13890
|
+
,
|
|
13891
|
+
TypeNumberAddress = 205 // 数值转地址
|
|
13892
|
+
,
|
|
13893
|
+
TypeNumberString = 206 // 数值转字符串
|
|
13894
|
+
,
|
|
13895
|
+
TypeAddressNumber = 207 // 地址转数值
|
|
13896
|
+
,
|
|
13897
|
+
TypeStringNumber = 208 // 字符串转数值
|
|
13898
|
+
,
|
|
13899
|
+
TypeSafeU8 = 220 // 转换为安全U8类型
|
|
13900
|
+
,
|
|
13901
|
+
TypeSafeU16 = 221 // 转换为安全U16类型
|
|
13902
|
+
,
|
|
13903
|
+
TypeSafeU32 = 222 // 转换为安全U32类型
|
|
13904
|
+
,
|
|
13905
|
+
TypeSafeU64 = 223 // 转换为安全U64类型
|
|
13906
|
+
,
|
|
13907
|
+
TypeSafeU128 = 224 // 转换为安全U128类型
|
|
13908
|
+
,
|
|
13909
|
+
TypeSafeU256 = 225 // 转换为安全U256类型
|
|
13910
|
+
,
|
|
13911
|
+
TypeStringLength = 61 // 获取字符串长度
|
|
13912
|
+
,
|
|
13913
|
+
TypeStringIndexof = 62 // 字符串查找
|
|
13914
|
+
,
|
|
13915
|
+
TypeStringNocaseIndexof = 63 // 字符串查找(不区分大小写)
|
|
13916
|
+
,
|
|
13917
|
+
TypeStringContains = 64 // 字符串包含检查
|
|
13918
|
+
,
|
|
13919
|
+
TypeStringNocaseContains = 65 // 字符串包含检查(不区分大小写)
|
|
13920
|
+
,
|
|
13921
|
+
TypeStringNocaseEqual = 66 // 字符串相等检查(不区分大小写)
|
|
13922
|
+
,
|
|
13923
|
+
TypedValueType = 70 // 获取TypedValue类型
|
|
13924
|
+
,
|
|
13925
|
+
TypedValueVecLength = 71 // 获取TypedValue向量长度
|
|
13926
|
+
,
|
|
13927
|
+
TypedValueVecContains_Bool = 72 // 检查TypedValue向量是否包含布尔值
|
|
13928
|
+
,
|
|
13929
|
+
TypedValueVecContains_Address = 73 // 检查TypedValue向量是否包含地址
|
|
13930
|
+
,
|
|
13931
|
+
TypedValueVecContains_String = 74 // 检查TypedValue向量是否包含字符串
|
|
13932
|
+
,
|
|
13933
|
+
TypedValueVecContains_StringNoCase = 75 // 检查TypedValue向量是否包含字符串(不区分大小写)
|
|
13934
|
+
,
|
|
13935
|
+
TypedValueVecContains_Number = 76 // 检查TypedValue向量是否包含数值
|
|
13936
|
+
,
|
|
13937
|
+
TypedValueVecContains_U8 = 82 // 检查TypedValue向量是否包含U8
|
|
13938
|
+
,
|
|
13939
|
+
TypedValueVecContains_U16 = 83 // 检查TypedValue向量是否包含U16
|
|
13940
|
+
,
|
|
13941
|
+
TypedValueVecContains_U32 = 84 // 检查TypedValue向量是否包含U32
|
|
13942
|
+
,
|
|
13943
|
+
TypedValueVecContains_U64 = 85 // 检查TypedValue向量是否包含U64
|
|
13944
|
+
,
|
|
13945
|
+
TypedValueVecContains_U128 = 86 // 检查TypedValue向量是否包含U128
|
|
13946
|
+
,
|
|
13947
|
+
TypedValueVecContains_U256 = 87 // 检查TypedValue向量是否包含U256
|
|
13948
|
+
,
|
|
13949
|
+
TypedValueVecIndexOf_Bool = 77 // 查找TypedValue向量中布尔值的索引
|
|
13950
|
+
,
|
|
13951
|
+
TypedValueVecIndexOf_Address = 78 // 查找TypedValue向量中地址的索引
|
|
13952
|
+
,
|
|
13953
|
+
TypedValueVecIndexOf_String = 79 // 查找TypedValue向量中字符串的索引
|
|
13954
|
+
,
|
|
13955
|
+
TypedValueVecIndexOf_StringNoCase = 80 // 查找TypedValue向量中字符串的索引(不区分大小写)
|
|
13956
|
+
,
|
|
13957
|
+
TypedValueVecIndexOf_Number = 81 // 查找TypedValue向量中数值的索引
|
|
13958
|
+
,
|
|
13959
|
+
TypeLogicEqual = 90 // 逻辑相等
|
|
13960
|
+
,
|
|
13961
|
+
TypeLogicAsU256Greater = 91 // 逻辑U256大于
|
|
13962
|
+
,
|
|
13963
|
+
TypeLogicAsU256GreaterEqual = 92 // 逻辑U256大于等于
|
|
13964
|
+
,
|
|
13965
|
+
TypeLogicAsU256Lesser = 93 // 逻辑U256小于
|
|
13966
|
+
,
|
|
13967
|
+
TypeLogicAsU256LesserEqual = 94 // 逻辑U256小于等于
|
|
13968
|
+
,
|
|
13969
|
+
TypeLogicAsU256Equal = 95 // 逻辑U256相等
|
|
13970
|
+
,
|
|
13971
|
+
TypeLogicAnd = 96 // 逻辑与
|
|
13972
|
+
,
|
|
13973
|
+
TypeLogicOr = 97 // 逻辑或
|
|
13974
|
+
,
|
|
13952
13975
|
TypeLogicNot = 98
|
|
13953
13976
|
}
|
|
13954
13977
|
declare enum WitnessType {
|
|
@@ -14280,11 +14303,11 @@ declare const bcsBytesToValue: <T extends ValueType>(bytes: Uint8Array, valueTyp
|
|
|
14280
14303
|
declare const parseObjectType: (chain_type: string | null | undefined, header?: string) => string | undefined;
|
|
14281
14304
|
declare const parseTypeParameter: (type: string | null | undefined) => string | undefined;
|
|
14282
14305
|
declare const extractCoinType: (type: string | null | undefined) => string | undefined;
|
|
14283
|
-
declare function owner_receive(tx: Transaction$1, object: TxObject
|
|
14284
|
-
permission: PermissionObject, param: ReceivedObjects, caller_type: string | undefined, fnBuilder: (name: string) => string
|
|
14285
|
-
passport?: PassportObject): Promise<void>;
|
|
14286
|
-
declare function permission_set(tx: Transaction$1, object: TxObject
|
|
14287
|
-
old_permission: PermissionObject, new_permission: PermissionObject, caller_type: string | undefined, fnBuilder: (name: string) => string): void;
|
|
14306
|
+
declare function owner_receive(tx: Transaction$1, object: TxObject // MachineObject | DemandObject | ServiceObject ...
|
|
14307
|
+
, permission: PermissionObject, param: ReceivedObjects, caller_type: string | undefined, fnBuilder: (name: string) => string // machineFn | demandFn
|
|
14308
|
+
, passport?: PassportObject): Promise<void>;
|
|
14309
|
+
declare function permission_set(tx: Transaction$1, object: TxObject // MachineObject | DemandObject
|
|
14310
|
+
, old_permission: PermissionObject, new_permission: PermissionObject, caller_type: string | undefined, fnBuilder: (name: string) => string): void;
|
|
14288
14311
|
declare const validObjects: (objects: (TxObject | undefined | null)[], allowNull?: boolean) => void;
|
|
14289
14312
|
declare const uint2address: (value: number | bigint | string) => string;
|
|
14290
14313
|
declare const parseRecipient: (whoData: any) => any;
|
|
@@ -15255,8 +15278,8 @@ interface ObjectArb extends ObjectBase {
|
|
|
15255
15278
|
time: number;
|
|
15256
15279
|
}
|
|
15257
15280
|
declare enum DiscountType {
|
|
15258
|
-
RATES = 0
|
|
15259
|
-
|
|
15281
|
+
RATES = 0 // off%
|
|
15282
|
+
,
|
|
15260
15283
|
FIXED = 1
|
|
15261
15284
|
}
|
|
15262
15285
|
interface ObjectDiscount extends ObjectBase {
|
|
@@ -16646,8 +16669,8 @@ declare function getGuardQueryInfo(queryIdOrName: number | string): GuardQuery |
|
|
|
16646
16669
|
//#endregion
|
|
16647
16670
|
//#region src/w/query/util.d.ts
|
|
16648
16671
|
declare function queryObjectWithType(env: CallEnv, objectAddress: string, type: ObjectType, type_prefix: string): Promise<ObjectWithType>;
|
|
16649
|
-
declare function queryObjectsWithType(env: CallEnv, objects: string[], type: ObjectType, type_prefix: string
|
|
16650
|
-
strict_all?: boolean): Promise<ObjectWithType[]>;
|
|
16672
|
+
declare function queryObjectsWithType(env: CallEnv, objects: string[], type: ObjectType, type_prefix: string // reward::Reward
|
|
16673
|
+
, strict_all?: boolean): Promise<ObjectWithType[]>;
|
|
16651
16674
|
//#endregion
|
|
16652
16675
|
//#region src/w/query/event.d.ts
|
|
16653
16676
|
/**
|
|
@@ -16731,171 +16754,411 @@ interface EventQuery {
|
|
|
16731
16754
|
declare const query_events_json: (json: string) => Promise<string>;
|
|
16732
16755
|
declare const query_events: (query: EventQuery) => Promise<EventAnswer | undefined>;
|
|
16733
16756
|
//#endregion
|
|
16734
|
-
//#region src/w/
|
|
16735
|
-
interface ConstantItem {
|
|
16736
|
-
name: string;
|
|
16737
|
-
value: string | number;
|
|
16738
|
-
description: string;
|
|
16739
|
-
}
|
|
16757
|
+
//#region src/w/bridge/types.d.ts
|
|
16740
16758
|
/**
|
|
16741
|
-
*
|
|
16759
|
+
* Bridge 模块共享类型定义
|
|
16760
|
+
*
|
|
16761
|
+
* 注意区分两种 chainId:
|
|
16762
|
+
* - EVM chainId(用于 EVM 交易签名,如 ETH mainnet = 1)→ 见 local/evm-account.ts
|
|
16763
|
+
* - Bridge sourceChain ID(用于 bridge 协议消息,如 ETH mainnet = 10)→ 见下方 BridgeChainId
|
|
16742
16764
|
*/
|
|
16743
|
-
declare const INFO_CONSTANT: {
|
|
16744
|
-
type: string;
|
|
16745
|
-
constants: ConstantItem[];
|
|
16746
|
-
value_types: ConstantItem[];
|
|
16747
|
-
object_types: ConstantItem[];
|
|
16748
|
-
guard_instructions: {
|
|
16749
|
-
name: string | OperatorType;
|
|
16750
|
-
value: string | OperatorType;
|
|
16751
|
-
description: string;
|
|
16752
|
-
}[];
|
|
16753
|
-
guard_contexts: {
|
|
16754
|
-
name: string | ContextType;
|
|
16755
|
-
value: string | ContextType;
|
|
16756
|
-
description: string;
|
|
16757
|
-
}[];
|
|
16758
|
-
guard_witnesses: {
|
|
16759
|
-
name: string | WitnessType;
|
|
16760
|
-
value: string | WitnessType;
|
|
16761
|
-
description: string;
|
|
16762
|
-
}[];
|
|
16763
|
-
};
|
|
16764
|
-
type ProtocolInfoQuery = {
|
|
16765
|
-
info: "constants";
|
|
16766
|
-
} | {
|
|
16767
|
-
info: "built-in permissions";
|
|
16768
|
-
filter?: PermissionFilter;
|
|
16769
|
-
} | {
|
|
16770
|
-
info: "guard instructions";
|
|
16771
|
-
filter?: GuardInstructFilterOptions;
|
|
16772
|
-
} | {
|
|
16773
|
-
info: "current network";
|
|
16774
|
-
} | {
|
|
16775
|
-
info: "value types";
|
|
16776
|
-
};
|
|
16777
16765
|
/**
|
|
16778
|
-
*
|
|
16766
|
+
* Bridge 协议中的链 ID(sourceChain / targetChain 字段使用)
|
|
16767
|
+
* 仅支持 ETH 主网与 WOW 主网;预留 L2 / EVM 兼容链占位(后续用户确认后启用)。
|
|
16768
|
+
* 本 SDK 不支持测试网(如 Sepolia / Holesky / WOW 测试网)。
|
|
16779
16769
|
*/
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
} | {
|
|
16787
|
-
info: "guard instructions";
|
|
16788
|
-
result: GuardItem[];
|
|
16789
|
-
} | {
|
|
16790
|
-
info: "current network";
|
|
16791
|
-
result: ENTRYPOINT;
|
|
16792
|
-
} | {
|
|
16793
|
-
info: "value types";
|
|
16794
|
-
result: ConstantItem[];
|
|
16795
|
-
};
|
|
16796
|
-
declare function queryProtocolInfo(query: ProtocolInfoQuery): Promise<ProtocolInfoResult>;
|
|
16770
|
+
declare enum BridgeChainId {
|
|
16771
|
+
/** WOW 主网(bridge 协议层) */
|
|
16772
|
+
WowMainnet = 0,
|
|
16773
|
+
/** ETH 主网(bridge 协议层 = 10) */
|
|
16774
|
+
EthMainnet = 10
|
|
16775
|
+
}
|
|
16797
16776
|
/**
|
|
16798
|
-
*
|
|
16799
|
-
*
|
|
16800
|
-
* @returns 权限信息数组
|
|
16777
|
+
* 判断 chainId 是否为 EVM 系(需要 EvmAccount 签名)
|
|
16778
|
+
* 当前仅 ETH 主网;L2 启用后扩展。
|
|
16801
16779
|
*/
|
|
16802
|
-
declare function
|
|
16803
|
-
|
|
16804
|
-
|
|
16780
|
+
declare function isEvmChain(chainId: BridgeChainId): boolean;
|
|
16781
|
+
/** 判断 chainId 是否为 WOW 系 */
|
|
16782
|
+
declare function isWowChain(chainId: BridgeChainId): boolean;
|
|
16783
|
+
declare enum BridgeVersion {
|
|
16784
|
+
/** V1:原始版本,无 timestamp,受 BridgeLimiter 24h 限额约束 */
|
|
16785
|
+
V1 = 1,
|
|
16786
|
+
/** V2:带 timestamp,成熟消息(>48h)可绕过 limiter(SDK 默认) */
|
|
16787
|
+
V2 = 2
|
|
16788
|
+
}
|
|
16789
|
+
/** Bridge 支持的 token 符号(与 BridgeTokenId 一致) */
|
|
16790
|
+
type BridgeTokenSymbol = "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
|
|
16805
16791
|
/**
|
|
16806
|
-
*
|
|
16792
|
+
* Bridge Token ID(字符串枚举,用于 BridgeClient 公共 API)
|
|
16807
16793
|
*
|
|
16808
|
-
*
|
|
16809
|
-
*
|
|
16810
|
-
*
|
|
16811
|
-
*
|
|
16794
|
+
* 以 token symbol 作为字符串值,SDK 内部根据 BridgeConfig.tokens 中的
|
|
16795
|
+
* symbol 字段解析为链上 numeric tokenId 与合约地址等。
|
|
16796
|
+
*
|
|
16797
|
+
* 主网支持的资产(参考 d:\wowok\mainnet\OFFLINE_BACKUP.md 与 1.json):
|
|
16798
|
+
* - Token ID 0:WOW 原生,**不可跨链**(V1 未实现 native_token 分支)
|
|
16799
|
+
* - Token ID 1:WBTC(ERC20)
|
|
16800
|
+
* - Token ID 2:ETH / WETH(同一 Token ID,两种 deposit 路径)
|
|
16801
|
+
* - ETH(原生):调 bridgeETHV2{value},合约内部自动 wrap 为 WETH
|
|
16802
|
+
* - WETH(ERC20):调 bridgeERC20V2(tokenId=2, WETH 地址)
|
|
16803
|
+
* - WOW 侧 type tag 相同:0xdb...::eth::ETH
|
|
16804
|
+
* - Token ID 3:USDC,Token ID 4:USDT
|
|
16805
|
+
*
|
|
16806
|
+
* 注意:ETH 与 WETH 在以太坊钱包中是两种资产,API 上分开提供。
|
|
16812
16807
|
*/
|
|
16813
|
-
declare enum
|
|
16814
|
-
|
|
16815
|
-
|
|
16816
|
-
|
|
16817
|
-
|
|
16818
|
-
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
// 已提交服务器,等待确认
|
|
16825
|
-
CONFIRMED = "confirmed",
|
|
16826
|
-
// 已纳入 Merkle Tree
|
|
16827
|
-
READ = "read",
|
|
16828
|
-
// 接收方已确认(ARK)
|
|
16829
|
-
FAILED = "failed",
|
|
16830
|
-
// 发送/处理失败
|
|
16831
|
-
REJECTED = "rejected",
|
|
16832
|
-
// Guard 验证被拒绝
|
|
16833
|
-
DECRYPTED = "decrypted",
|
|
16834
|
-
// 【新增】解密成功
|
|
16835
|
-
DECRYPT_FAILED = "decrypt_failed"
|
|
16808
|
+
declare enum BridgeTokenId {
|
|
16809
|
+
/** 原生 ETH(Token ID 2,走 bridgeETHV2 路径,msg.value 直接入 vault,不 wrap) */
|
|
16810
|
+
Eth = "ETH",
|
|
16811
|
+
/** WETH ERC20(Token ID 2,走 bridgeERC20V2 路径,与原生 ETH 共用 Token ID 与 WOW type tag) */
|
|
16812
|
+
Weth = "WETH",
|
|
16813
|
+
/** WBTC(Token ID 1) */
|
|
16814
|
+
Wbtc = "WBTC",
|
|
16815
|
+
/** USDC(Token ID 3) */
|
|
16816
|
+
Usdc = "USDC",
|
|
16817
|
+
/** USDT(Token ID 4) */
|
|
16818
|
+
Usdt = "USDT"
|
|
16836
16819
|
}
|
|
16837
16820
|
/**
|
|
16838
|
-
*
|
|
16839
|
-
*
|
|
16821
|
+
* 已注册的 Bridge Token
|
|
16822
|
+
* 主网默认值可被 BridgeConfig.tokens 覆盖。
|
|
16840
16823
|
*/
|
|
16841
|
-
interface
|
|
16842
|
-
/**
|
|
16843
|
-
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16847
|
-
createdAt: number;
|
|
16848
|
-
/** Guard 地址(可选) */
|
|
16849
|
-
guardAddress?: string;
|
|
16850
|
-
/** Passport 地址(可选) */
|
|
16851
|
-
passportAddress?: string;
|
|
16852
|
-
}
|
|
16853
|
-
interface Message {
|
|
16854
|
-
messageId: string;
|
|
16855
|
-
fromAddress: string;
|
|
16856
|
-
toAddress: string;
|
|
16857
|
-
plaintextHash: string;
|
|
16858
|
-
plaintext?: string;
|
|
16859
|
-
guardAddress?: string;
|
|
16860
|
-
passportAddress?: string;
|
|
16861
|
-
lastReceivedLeafIndex?: number;
|
|
16862
|
-
direction: MessageDirection;
|
|
16863
|
-
status: MessageStatus;
|
|
16864
|
-
msgType: MessageType$1.PREKEY_MESSAGE | MessageType$1.NORMAL_MESSAGE;
|
|
16865
|
-
leafIndex?: number;
|
|
16866
|
-
prevRoot?: string;
|
|
16867
|
-
newRoot?: string;
|
|
16868
|
-
serverSignature?: string;
|
|
16869
|
-
serverTimestamp?: number;
|
|
16870
|
-
serverPublicKey?: string;
|
|
16871
|
-
arkConfirmed?: {
|
|
16872
|
-
recipient: string;
|
|
16873
|
-
recipientPublicKey: string;
|
|
16874
|
-
signature: string;
|
|
16875
|
-
timestamp: number;
|
|
16876
|
-
};
|
|
16877
|
-
createdAt: number;
|
|
16878
|
-
receivedAt?: number;
|
|
16879
|
-
zipMetadata?: ZipMetadata;
|
|
16880
|
-
proof?: string;
|
|
16881
|
-
decryptError?: string;
|
|
16882
|
-
decryptAttempts?: number;
|
|
16883
|
-
lastDecryptAttemptAt?: number;
|
|
16824
|
+
interface BridgeToken {
|
|
16825
|
+
/** 链上 token ID(主网:WBTC=1, ETH/WETH=2, USDC=3, USDT=4) */
|
|
16826
|
+
tokenId: number;
|
|
16827
|
+
symbol: BridgeTokenSymbol;
|
|
16828
|
+
/** WOW 侧 type tag,如 "0x...::eth::ETH" */
|
|
16829
|
+
wowTypeTag: string;
|
|
16884
16830
|
/**
|
|
16885
|
-
*
|
|
16886
|
-
* -
|
|
16887
|
-
* -
|
|
16888
|
-
* - 仅用于接收到的消息(direction === "received")
|
|
16831
|
+
* EVM 侧合约地址:
|
|
16832
|
+
* - 原生 ETH:地址零(0x0000...0000),走 bridgeETHV2 路径
|
|
16833
|
+
* - WETH / ERC20:对应 ERC20 合约地址,走 bridgeERC20V2 路径
|
|
16889
16834
|
*/
|
|
16890
|
-
|
|
16835
|
+
evmAddress: string;
|
|
16836
|
+
/** EVM 侧 decimals(ETH/WETH=18, WBTC=8, USDC/USDT=6) */
|
|
16837
|
+
evmDecimals: number;
|
|
16838
|
+
/** WOW 侧 decimals(ETH/WBTC=8, USDC/USDT=6) */
|
|
16839
|
+
wowDecimals: number;
|
|
16840
|
+
/**
|
|
16841
|
+
* 该 token 在哪些 EVM 链上可用(预留 L2 扩展)
|
|
16842
|
+
* 当前仅 ETH 主网;L2 启用后可在此添加链 ID。
|
|
16843
|
+
*/
|
|
16844
|
+
evmChains?: BridgeChainId[];
|
|
16845
|
+
/**
|
|
16846
|
+
* 可选:token 描述说明(供 UI / 工具展示)
|
|
16847
|
+
* 如不提供,SDK 在查询时会根据 symbol 生成默认描述。
|
|
16848
|
+
*/
|
|
16849
|
+
description?: string;
|
|
16891
16850
|
}
|
|
16892
|
-
|
|
16893
|
-
interface
|
|
16894
|
-
|
|
16895
|
-
|
|
16896
|
-
|
|
16897
|
-
|
|
16898
|
-
|
|
16851
|
+
/** Bridge Committee 成员(验证者节点) */
|
|
16852
|
+
interface BridgeCommitteeMember {
|
|
16853
|
+
/** 0x + 33 bytes compressed secp256k1 */
|
|
16854
|
+
pubkey: string;
|
|
16855
|
+
/** 该节点权重(quorum 需 > 2/3 total weight) */
|
|
16856
|
+
weight: number;
|
|
16857
|
+
/** 节点 REST base URL,如 https://bridge-node-0.wowok.net:9211 */
|
|
16858
|
+
baseUrl: string;
|
|
16859
|
+
}
|
|
16860
|
+
/**
|
|
16861
|
+
* Bridge 消息(V2 带 timestamp)
|
|
16862
|
+
* 对齐 Rust `BridgeMessage` / EVM `Message` 结构。
|
|
16863
|
+
*/
|
|
16864
|
+
interface BridgeMessage {
|
|
16865
|
+
/** 源链 ID(BridgeChainId) */
|
|
16866
|
+
sourceChain: number;
|
|
16867
|
+
/** 目标链 ID(BridgeChainId) */
|
|
16868
|
+
targetChain: number;
|
|
16869
|
+
/** Bridge 序列号 */
|
|
16870
|
+
nonce: bigint;
|
|
16871
|
+
/** 发送方地址(源链,bytes 原始值,EVM=20 字节 / WOW=32 字节) */
|
|
16872
|
+
sender: string;
|
|
16873
|
+
/** 接收方地址(目标链,bytes 原始值) */
|
|
16874
|
+
recipient: string;
|
|
16875
|
+
/** token ID */
|
|
16876
|
+
tokenId: number;
|
|
16877
|
+
/** WOW 侧金额(8 decimals) */
|
|
16878
|
+
amount: bigint;
|
|
16879
|
+
/** BridgeAction 类型:0=TokenTransfer */
|
|
16880
|
+
messageType: number;
|
|
16881
|
+
/** V2 only:消息 timestamp(ms) */
|
|
16882
|
+
timestampMs?: bigint;
|
|
16883
|
+
}
|
|
16884
|
+
/** 跨链转账状态(统一抽象,屏蔽 V1/V2 差异) */
|
|
16885
|
+
declare enum TransferStatus {
|
|
16886
|
+
/** 源链已 deposit,签名收集中 */
|
|
16887
|
+
Pending = "pending",
|
|
16888
|
+
/** 签名已达 quorum */
|
|
16889
|
+
Approved = "approved",
|
|
16890
|
+
/** 已在目标链 claim */
|
|
16891
|
+
Claimed = "claimed",
|
|
16892
|
+
/** 失败 */
|
|
16893
|
+
Failed = "failed",
|
|
16894
|
+
/** 未找到 */
|
|
16895
|
+
NotFound = "not_found"
|
|
16896
|
+
}
|
|
16897
|
+
/** 跨链转账完整记录 */
|
|
16898
|
+
interface TransferRecord {
|
|
16899
|
+
status: TransferStatus;
|
|
16900
|
+
seqNum: bigint;
|
|
16901
|
+
sourceChain: BridgeChainId;
|
|
16902
|
+
targetChain: BridgeChainId;
|
|
16903
|
+
tokenId: number;
|
|
16904
|
+
/** WOW 侧 8-decimals 金额 */
|
|
16905
|
+
amountWow: bigint;
|
|
16906
|
+
/** 源链地址 */
|
|
16907
|
+
sender: string;
|
|
16908
|
+
/** 目标链地址 */
|
|
16909
|
+
recipient: string;
|
|
16910
|
+
messageVersion: BridgeVersion;
|
|
16911
|
+
/** V2 only:消息 timestamp(ms) */
|
|
16912
|
+
timestampMs?: bigint;
|
|
16913
|
+
/** 已收集的签名 hex(已验证的) */
|
|
16914
|
+
verifiedSignatures?: string[];
|
|
16915
|
+
}
|
|
16916
|
+
/** Bridge 对象 summary(链上查询结果) */
|
|
16917
|
+
interface BridgeSummary {
|
|
16918
|
+
/** Bridge 对象 ID */
|
|
16919
|
+
bridgeObjectId: string;
|
|
16920
|
+
/** EVM chainId(用于 bridge 的 sourceChain 映射) */
|
|
16921
|
+
chainId: number;
|
|
16922
|
+
/** 是否暂停 */
|
|
16923
|
+
paused: boolean;
|
|
16924
|
+
/** Committee 成员列表 */
|
|
16925
|
+
committee: BridgeCommitteeMember[];
|
|
16926
|
+
/** Treasury 地址 */
|
|
16927
|
+
treasury?: string;
|
|
16928
|
+
/** 已注册的 token 列表 */
|
|
16929
|
+
tokens: BridgeToken[];
|
|
16930
|
+
}
|
|
16931
|
+
/** 24h 限额信息 */
|
|
16932
|
+
interface BridgeLimit {
|
|
16933
|
+
/** 过去 24h 已发送金额 */
|
|
16934
|
+
sent24h: bigint;
|
|
16935
|
+
/** 过去 24h 已接收金额 */
|
|
16936
|
+
received24h: bigint;
|
|
16937
|
+
/** 24h 限额 */
|
|
16938
|
+
limit24h: bigint;
|
|
16939
|
+
}
|
|
16940
|
+
/** Bridge 节点对 action 的签名 */
|
|
16941
|
+
interface SignedAction {
|
|
16942
|
+
/** 签名者公钥(compressed,0x + 33 hex) */
|
|
16943
|
+
signerPubkey: string;
|
|
16944
|
+
/** secp256k1 签名(r(32) + s(32) + v(1) → 0x + 130 hex) */
|
|
16945
|
+
signature: string;
|
|
16946
|
+
/** 签名者权重 */
|
|
16947
|
+
weight: number;
|
|
16948
|
+
}
|
|
16949
|
+
/** 调用结果(WOW 侧交易) */
|
|
16950
|
+
interface BridgeCallResult {
|
|
16951
|
+
digest: string;
|
|
16952
|
+
seqNum?: bigint;
|
|
16953
|
+
status: TransferStatus;
|
|
16954
|
+
}
|
|
16955
|
+
/** 跨链操作错误码 */
|
|
16956
|
+
declare enum BridgeErrorCode {
|
|
16957
|
+
/** estimateGas 失败(RPC 差异或 calldata 问题) */
|
|
16958
|
+
EstimateFailed = "ESTIMATE_FAILED",
|
|
16959
|
+
/** 交易链上 revert */
|
|
16960
|
+
Reverted = "REVERTED",
|
|
16961
|
+
/** 交易确认超时 */
|
|
16962
|
+
Timeout = "TIMEOUT",
|
|
16963
|
+
/** 签名收集不足(quorum 未达) */
|
|
16964
|
+
NoSignatures = "NO_SIGNATURES",
|
|
16965
|
+
/** 节点不可用 */
|
|
16966
|
+
NodeUnavailable = "NODE_UNAVAILABLE",
|
|
16967
|
+
/** 参数无效 */
|
|
16968
|
+
InvalidParam = "INVALID_PARAM",
|
|
16969
|
+
/** 账户不存在 */
|
|
16970
|
+
AccountNotFound = "ACCOUNT_NOT_FOUND",
|
|
16971
|
+
/** 未知错误 */
|
|
16972
|
+
Unknown = "UNKNOWN"
|
|
16973
|
+
}
|
|
16974
|
+
/** 跨链操作错误详情 */
|
|
16975
|
+
interface BridgeError {
|
|
16976
|
+
code: BridgeErrorCode;
|
|
16977
|
+
message: string;
|
|
16978
|
+
/** 链上 revert 原因(eth_call 可获取) */
|
|
16979
|
+
revertReason?: string;
|
|
16980
|
+
/** 原始错误(调试用) */
|
|
16981
|
+
raw?: unknown;
|
|
16982
|
+
}
|
|
16983
|
+
/** 跨链操作统一返回结果 */
|
|
16984
|
+
interface BridgeResult<T = string> {
|
|
16985
|
+
success: boolean;
|
|
16986
|
+
/** 交易哈希(成功时) */
|
|
16987
|
+
txHash?: T;
|
|
16988
|
+
/** 错误详情(失败时) */
|
|
16989
|
+
error?: BridgeError;
|
|
16990
|
+
}
|
|
16991
|
+
//#endregion
|
|
16992
|
+
//#region src/w/query/bult-in.d.ts
|
|
16993
|
+
interface ConstantItem {
|
|
16994
|
+
name: string;
|
|
16995
|
+
value: string | number;
|
|
16996
|
+
description: string;
|
|
16997
|
+
}
|
|
16998
|
+
/**
|
|
16999
|
+
* 预定义常量列表
|
|
17000
|
+
*/
|
|
17001
|
+
declare const INFO_CONSTANT: {
|
|
17002
|
+
type: string;
|
|
17003
|
+
constants: ConstantItem[];
|
|
17004
|
+
value_types: ConstantItem[];
|
|
17005
|
+
object_types: ConstantItem[];
|
|
17006
|
+
guard_instructions: {
|
|
17007
|
+
name: string | OperatorType;
|
|
17008
|
+
value: string | OperatorType;
|
|
17009
|
+
description: string;
|
|
17010
|
+
}[];
|
|
17011
|
+
guard_contexts: {
|
|
17012
|
+
name: string | ContextType;
|
|
17013
|
+
value: string | ContextType;
|
|
17014
|
+
description: string;
|
|
17015
|
+
}[];
|
|
17016
|
+
guard_witnesses: {
|
|
17017
|
+
name: string | WitnessType;
|
|
17018
|
+
value: string | WitnessType;
|
|
17019
|
+
description: string;
|
|
17020
|
+
}[];
|
|
17021
|
+
};
|
|
17022
|
+
type ProtocolInfoQuery = {
|
|
17023
|
+
info: "constants";
|
|
17024
|
+
} | {
|
|
17025
|
+
info: "built-in permissions";
|
|
17026
|
+
filter?: PermissionFilter;
|
|
17027
|
+
} | {
|
|
17028
|
+
info: "guard instructions";
|
|
17029
|
+
filter?: GuardInstructFilterOptions;
|
|
17030
|
+
} | {
|
|
17031
|
+
info: "current network";
|
|
17032
|
+
} | {
|
|
17033
|
+
info: "value types";
|
|
17034
|
+
} | {
|
|
17035
|
+
info: "mainnet bridge tokens";
|
|
17036
|
+
};
|
|
17037
|
+
/**
|
|
17038
|
+
* 查询结果类型
|
|
17039
|
+
*/
|
|
17040
|
+
type ProtocolInfoResult = {
|
|
17041
|
+
info: "constants";
|
|
17042
|
+
result: ConstantItem[];
|
|
17043
|
+
} | {
|
|
17044
|
+
info: "built-in permissions";
|
|
17045
|
+
result: PermissionInfoType[];
|
|
17046
|
+
} | {
|
|
17047
|
+
info: "guard instructions";
|
|
17048
|
+
result: GuardItem[];
|
|
17049
|
+
} | {
|
|
17050
|
+
info: "current network";
|
|
17051
|
+
result: ENTRYPOINT;
|
|
17052
|
+
} | {
|
|
17053
|
+
info: "value types";
|
|
17054
|
+
result: ConstantItem[];
|
|
17055
|
+
} | {
|
|
17056
|
+
info: "mainnet bridge tokens";
|
|
17057
|
+
result: BridgeToken[];
|
|
17058
|
+
};
|
|
17059
|
+
declare function queryProtocolInfo(query: ProtocolInfoQuery): Promise<ProtocolInfoResult>;
|
|
17060
|
+
/**
|
|
17061
|
+
* 查询权限信息
|
|
17062
|
+
* @param filter 过滤条件
|
|
17063
|
+
* @returns 权限信息数组
|
|
17064
|
+
*/
|
|
17065
|
+
declare function queryPermissions(filter?: PermissionFilter): PermissionInfoType[];
|
|
17066
|
+
//#endregion
|
|
17067
|
+
//#region src/w/messenger/types.d.ts
|
|
17068
|
+
/**
|
|
17069
|
+
* Messenger 核心类型定义
|
|
17070
|
+
*
|
|
17071
|
+
* 三重信任模型:
|
|
17072
|
+
* 1. 身份信任:基于 wowok 账户体系的 Falcon512 签名验证
|
|
17073
|
+
* 2. 加密信任:基于 Signal Protocol 双棘轮算法的端到端加密
|
|
17074
|
+
* 3. 时序信任:基于 Merkle Tree + 服务器签名 + 链上证明
|
|
17075
|
+
*/
|
|
17076
|
+
declare enum MessageType$1 {
|
|
17077
|
+
PREKEY_MESSAGE = 3 // 首次建立会话的预密钥消息
|
|
17078
|
+
,
|
|
17079
|
+
NORMAL_MESSAGE = 1
|
|
17080
|
+
}
|
|
17081
|
+
declare enum MessageDirection {
|
|
17082
|
+
SENT = "sent",
|
|
17083
|
+
RECEIVED = "received"
|
|
17084
|
+
}
|
|
17085
|
+
declare enum MessageStatus {
|
|
17086
|
+
PENDING = "pending" // 已提交服务器,等待确认
|
|
17087
|
+
,
|
|
17088
|
+
CONFIRMED = "confirmed" // 已纳入 Merkle Tree
|
|
17089
|
+
,
|
|
17090
|
+
READ = "read" // 接收方已确认(ARK)
|
|
17091
|
+
,
|
|
17092
|
+
FAILED = "failed" // 发送/处理失败
|
|
17093
|
+
,
|
|
17094
|
+
REJECTED = "rejected" // Guard 验证被拒绝
|
|
17095
|
+
,
|
|
17096
|
+
DECRYPTED = "decrypted" // 【新增】解密成功
|
|
17097
|
+
,
|
|
17098
|
+
DECRYPT_FAILED = "decrypt_failed"
|
|
17099
|
+
}
|
|
17100
|
+
/**
|
|
17101
|
+
* 明文消息内容结构
|
|
17102
|
+
* 包含实际消息内容和消息确认信息
|
|
17103
|
+
*/
|
|
17104
|
+
interface PlaintextMessage {
|
|
17105
|
+
/** 实际消息内容 */
|
|
17106
|
+
content: string;
|
|
17107
|
+
/** 最后收到的消息 leafIndex(用于消息同步确认) */
|
|
17108
|
+
lastReceivedLeafIndex: number;
|
|
17109
|
+
/** 消息创建时间戳(客户端时间,毫秒) */
|
|
17110
|
+
createdAt: number;
|
|
17111
|
+
/** Guard 地址(可选) */
|
|
17112
|
+
guardAddress?: string;
|
|
17113
|
+
/** Passport 地址(可选) */
|
|
17114
|
+
passportAddress?: string;
|
|
17115
|
+
}
|
|
17116
|
+
interface Message {
|
|
17117
|
+
messageId: string;
|
|
17118
|
+
fromAddress: string;
|
|
17119
|
+
toAddress: string;
|
|
17120
|
+
plaintextHash: string;
|
|
17121
|
+
plaintext?: string;
|
|
17122
|
+
guardAddress?: string;
|
|
17123
|
+
passportAddress?: string;
|
|
17124
|
+
lastReceivedLeafIndex?: number;
|
|
17125
|
+
direction: MessageDirection;
|
|
17126
|
+
status: MessageStatus;
|
|
17127
|
+
msgType: MessageType$1.PREKEY_MESSAGE | MessageType$1.NORMAL_MESSAGE;
|
|
17128
|
+
leafIndex?: number;
|
|
17129
|
+
prevRoot?: string;
|
|
17130
|
+
newRoot?: string;
|
|
17131
|
+
serverSignature?: string;
|
|
17132
|
+
serverTimestamp?: number;
|
|
17133
|
+
serverPublicKey?: string;
|
|
17134
|
+
arkConfirmed?: {
|
|
17135
|
+
recipient: string;
|
|
17136
|
+
recipientPublicKey: string;
|
|
17137
|
+
signature: string;
|
|
17138
|
+
timestamp: number;
|
|
17139
|
+
};
|
|
17140
|
+
createdAt: number;
|
|
17141
|
+
receivedAt?: number;
|
|
17142
|
+
zipMetadata?: ZipMetadata;
|
|
17143
|
+
proof?: string;
|
|
17144
|
+
decryptError?: string;
|
|
17145
|
+
decryptAttempts?: number;
|
|
17146
|
+
lastDecryptAttemptAt?: number;
|
|
17147
|
+
/**
|
|
17148
|
+
* 当前用户查看此消息的时间戳(本地存储)
|
|
17149
|
+
* - 如果存在,表示当前用户已查看此消息
|
|
17150
|
+
* - 如果不存在,表示未查看
|
|
17151
|
+
* - 仅用于接收到的消息(direction === "received")
|
|
17152
|
+
*/
|
|
17153
|
+
viewedAt?: number;
|
|
17154
|
+
}
|
|
17155
|
+
type ZipContentType = "wts" | "wip" | "zip";
|
|
17156
|
+
interface ZipMetadata {
|
|
17157
|
+
fileName: string;
|
|
17158
|
+
fileSize: number;
|
|
17159
|
+
fileHash: string;
|
|
17160
|
+
contentType: ZipContentType;
|
|
17161
|
+
localCachePath?: string;
|
|
16899
17162
|
downloadedAt?: number;
|
|
16900
17163
|
}
|
|
16901
17164
|
interface MerkleProof {
|
|
@@ -17310,8 +17573,11 @@ interface MessageFilter {
|
|
|
17310
17573
|
* 与 listFilterMode 组合使用,实现交叉过滤
|
|
17311
17574
|
*/
|
|
17312
17575
|
customListFilter?: {
|
|
17313
|
-
/** 包含这些地址的消息(优先级最高) */
|
|
17314
|
-
|
|
17576
|
+
/** 包含这些地址的消息(优先级最高) */
|
|
17577
|
+
includeAddresses?: string[];
|
|
17578
|
+
/** 排除这些地址的消息 */
|
|
17579
|
+
excludeAddresses?: string[];
|
|
17580
|
+
/** 地址列表关系:"union" = 并集,"intersection" = 交集 */
|
|
17315
17581
|
relation?: "union" | "intersection";
|
|
17316
17582
|
};
|
|
17317
17583
|
/**
|
|
@@ -18356,241 +18622,6 @@ type SettingsResponse = {
|
|
|
18356
18622
|
*/
|
|
18357
18623
|
declare function settings(request: SettingsRequest): Promise<SettingsResponse>;
|
|
18358
18624
|
//#endregion
|
|
18359
|
-
//#region src/w/bridge/types.d.ts
|
|
18360
|
-
/**
|
|
18361
|
-
* Bridge 模块共享类型定义
|
|
18362
|
-
*
|
|
18363
|
-
* 注意区分两种 chainId:
|
|
18364
|
-
* - EVM chainId(用于 EVM 交易签名,如 ETH mainnet = 1)→ 见 local/evm-account.ts
|
|
18365
|
-
* - Bridge sourceChain ID(用于 bridge 协议消息,如 ETH mainnet = 10)→ 见下方 BridgeChainId
|
|
18366
|
-
*/
|
|
18367
|
-
/**
|
|
18368
|
-
* Bridge 协议中的链 ID(sourceChain / targetChain 字段使用)
|
|
18369
|
-
* 仅支持 ETH 主网与 WOW 主网;预留 L2 / EVM 兼容链占位(后续用户确认后启用)。
|
|
18370
|
-
* 本 SDK 不支持测试网(如 Sepolia / Holesky / WOW 测试网)。
|
|
18371
|
-
*/
|
|
18372
|
-
declare enum BridgeChainId {
|
|
18373
|
-
/** WOW 主网(bridge 协议层) */
|
|
18374
|
-
WowMainnet = 0,
|
|
18375
|
-
/** ETH 主网(bridge 协议层 = 10) */
|
|
18376
|
-
EthMainnet = 10
|
|
18377
|
-
}
|
|
18378
|
-
/**
|
|
18379
|
-
* 判断 chainId 是否为 EVM 系(需要 EvmAccount 签名)
|
|
18380
|
-
* 当前仅 ETH 主网;L2 启用后扩展。
|
|
18381
|
-
*/
|
|
18382
|
-
declare function isEvmChain(chainId: BridgeChainId): boolean;
|
|
18383
|
-
/** 判断 chainId 是否为 WOW 系 */
|
|
18384
|
-
declare function isWowChain(chainId: BridgeChainId): boolean;
|
|
18385
|
-
declare enum BridgeVersion {
|
|
18386
|
-
/** V1:原始版本,无 timestamp,受 BridgeLimiter 24h 限额约束 */
|
|
18387
|
-
V1 = 1,
|
|
18388
|
-
/** V2:带 timestamp,成熟消息(>48h)可绕过 limiter(SDK 默认) */
|
|
18389
|
-
V2 = 2
|
|
18390
|
-
}
|
|
18391
|
-
/** Bridge 支持的 token 符号(与 BridgeTokenId 一致) */
|
|
18392
|
-
type BridgeTokenSymbol = "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
|
|
18393
|
-
/**
|
|
18394
|
-
* Bridge Token ID(字符串枚举,用于 BridgeClient 公共 API)
|
|
18395
|
-
*
|
|
18396
|
-
* 以 token symbol 作为字符串值,SDK 内部根据 BridgeConfig.tokens 中的
|
|
18397
|
-
* symbol 字段解析为链上 numeric tokenId 与合约地址等。
|
|
18398
|
-
*
|
|
18399
|
-
* 主网支持的资产(参考 d:\wowok\mainnet\OFFLINE_BACKUP.md 与 1.json):
|
|
18400
|
-
* - Token ID 0:WOW 原生,**不可跨链**(V1 未实现 native_token 分支)
|
|
18401
|
-
* - Token ID 1:WBTC(ERC20)
|
|
18402
|
-
* - Token ID 2:ETH / WETH(同一 Token ID,两种 deposit 路径)
|
|
18403
|
-
* - ETH(原生):调 bridgeETHV2{value},合约内部自动 wrap 为 WETH
|
|
18404
|
-
* - WETH(ERC20):调 bridgeERC20V2(tokenId=2, WETH 地址)
|
|
18405
|
-
* - WOW 侧 type tag 相同:0xdb...::eth::ETH
|
|
18406
|
-
* - Token ID 3:USDC,Token ID 4:USDT
|
|
18407
|
-
*
|
|
18408
|
-
* 注意:ETH 与 WETH 在以太坊钱包中是两种资产,API 上分开提供。
|
|
18409
|
-
*/
|
|
18410
|
-
declare enum BridgeTokenId {
|
|
18411
|
-
/** 原生 ETH(Token ID 2,走 bridgeETHV2 路径,msg.value 直接入 vault,不 wrap) */
|
|
18412
|
-
Eth = "ETH",
|
|
18413
|
-
/** WETH ERC20(Token ID 2,走 bridgeERC20V2 路径,与原生 ETH 共用 Token ID 与 WOW type tag) */
|
|
18414
|
-
Weth = "WETH",
|
|
18415
|
-
/** WBTC(Token ID 1) */
|
|
18416
|
-
Wbtc = "WBTC",
|
|
18417
|
-
/** USDC(Token ID 3) */
|
|
18418
|
-
Usdc = "USDC",
|
|
18419
|
-
/** USDT(Token ID 4) */
|
|
18420
|
-
Usdt = "USDT"
|
|
18421
|
-
}
|
|
18422
|
-
/**
|
|
18423
|
-
* 已注册的 Bridge Token
|
|
18424
|
-
* 主网默认值可被 BridgeConfig.tokens 覆盖。
|
|
18425
|
-
*/
|
|
18426
|
-
interface BridgeToken {
|
|
18427
|
-
/** 链上 token ID(主网:WBTC=1, ETH/WETH=2, USDC=3, USDT=4) */
|
|
18428
|
-
tokenId: number;
|
|
18429
|
-
symbol: BridgeTokenSymbol;
|
|
18430
|
-
/** WOW 侧 type tag,如 "0x...::eth::ETH" */
|
|
18431
|
-
wowTypeTag: string;
|
|
18432
|
-
/**
|
|
18433
|
-
* EVM 侧合约地址:
|
|
18434
|
-
* - 原生 ETH:地址零(0x0000...0000),走 bridgeETHV2 路径
|
|
18435
|
-
* - WETH / ERC20:对应 ERC20 合约地址,走 bridgeERC20V2 路径
|
|
18436
|
-
*/
|
|
18437
|
-
evmAddress: string;
|
|
18438
|
-
/** EVM 侧 decimals(ETH/WETH=18, WBTC=8, USDC/USDT=6) */
|
|
18439
|
-
evmDecimals: number;
|
|
18440
|
-
/** WOW 侧 decimals(ETH/WBTC=8, USDC/USDT=6) */
|
|
18441
|
-
wowDecimals: number;
|
|
18442
|
-
/**
|
|
18443
|
-
* 该 token 在哪些 EVM 链上可用(预留 L2 扩展)
|
|
18444
|
-
* 当前仅 ETH 主网;L2 启用后可在此添加链 ID。
|
|
18445
|
-
*/
|
|
18446
|
-
evmChains?: BridgeChainId[];
|
|
18447
|
-
/**
|
|
18448
|
-
* 可选:token 描述说明(供 UI / 工具展示)
|
|
18449
|
-
* 如不提供,SDK 在查询时会根据 symbol 生成默认描述。
|
|
18450
|
-
*/
|
|
18451
|
-
description?: string;
|
|
18452
|
-
}
|
|
18453
|
-
/** Bridge Committee 成员(验证者节点) */
|
|
18454
|
-
interface BridgeCommitteeMember {
|
|
18455
|
-
/** 0x + 33 bytes compressed secp256k1 */
|
|
18456
|
-
pubkey: string;
|
|
18457
|
-
/** 该节点权重(quorum 需 > 2/3 total weight) */
|
|
18458
|
-
weight: number;
|
|
18459
|
-
/** 节点 REST base URL,如 https://bridge-node-0.wowok.net:9211 */
|
|
18460
|
-
baseUrl: string;
|
|
18461
|
-
}
|
|
18462
|
-
/**
|
|
18463
|
-
* Bridge 消息(V2 带 timestamp)
|
|
18464
|
-
* 对齐 Rust `BridgeMessage` / EVM `Message` 结构。
|
|
18465
|
-
*/
|
|
18466
|
-
interface BridgeMessage {
|
|
18467
|
-
/** 源链 ID(BridgeChainId) */
|
|
18468
|
-
sourceChain: number;
|
|
18469
|
-
/** 目标链 ID(BridgeChainId) */
|
|
18470
|
-
targetChain: number;
|
|
18471
|
-
/** Bridge 序列号 */
|
|
18472
|
-
nonce: bigint;
|
|
18473
|
-
/** 发送方地址(源链,bytes 原始值,EVM=20 字节 / WOW=32 字节) */
|
|
18474
|
-
sender: string;
|
|
18475
|
-
/** 接收方地址(目标链,bytes 原始值) */
|
|
18476
|
-
recipient: string;
|
|
18477
|
-
/** token ID */
|
|
18478
|
-
tokenId: number;
|
|
18479
|
-
/** WOW 侧金额(8 decimals) */
|
|
18480
|
-
amount: bigint;
|
|
18481
|
-
/** BridgeAction 类型:0=TokenTransfer */
|
|
18482
|
-
messageType: number;
|
|
18483
|
-
/** V2 only:消息 timestamp(ms) */
|
|
18484
|
-
timestampMs?: bigint;
|
|
18485
|
-
}
|
|
18486
|
-
/** 跨链转账状态(统一抽象,屏蔽 V1/V2 差异) */
|
|
18487
|
-
declare enum TransferStatus {
|
|
18488
|
-
/** 源链已 deposit,签名收集中 */
|
|
18489
|
-
Pending = "pending",
|
|
18490
|
-
/** 签名已达 quorum */
|
|
18491
|
-
Approved = "approved",
|
|
18492
|
-
/** 已在目标链 claim */
|
|
18493
|
-
Claimed = "claimed",
|
|
18494
|
-
/** 失败 */
|
|
18495
|
-
Failed = "failed",
|
|
18496
|
-
/** 未找到 */
|
|
18497
|
-
NotFound = "not_found"
|
|
18498
|
-
}
|
|
18499
|
-
/** 跨链转账完整记录 */
|
|
18500
|
-
interface TransferRecord {
|
|
18501
|
-
status: TransferStatus;
|
|
18502
|
-
seqNum: bigint;
|
|
18503
|
-
sourceChain: BridgeChainId;
|
|
18504
|
-
targetChain: BridgeChainId;
|
|
18505
|
-
tokenId: number;
|
|
18506
|
-
/** WOW 侧 8-decimals 金额 */
|
|
18507
|
-
amountWow: bigint;
|
|
18508
|
-
/** 源链地址 */
|
|
18509
|
-
sender: string;
|
|
18510
|
-
/** 目标链地址 */
|
|
18511
|
-
recipient: string;
|
|
18512
|
-
messageVersion: BridgeVersion;
|
|
18513
|
-
/** V2 only:消息 timestamp(ms) */
|
|
18514
|
-
timestampMs?: bigint;
|
|
18515
|
-
/** 已收集的签名 hex(已验证的) */
|
|
18516
|
-
verifiedSignatures?: string[];
|
|
18517
|
-
}
|
|
18518
|
-
/** Bridge 对象 summary(链上查询结果) */
|
|
18519
|
-
interface BridgeSummary {
|
|
18520
|
-
/** Bridge 对象 ID */
|
|
18521
|
-
bridgeObjectId: string;
|
|
18522
|
-
/** EVM chainId(用于 bridge 的 sourceChain 映射) */
|
|
18523
|
-
chainId: number;
|
|
18524
|
-
/** 是否暂停 */
|
|
18525
|
-
paused: boolean;
|
|
18526
|
-
/** Committee 成员列表 */
|
|
18527
|
-
committee: BridgeCommitteeMember[];
|
|
18528
|
-
/** Treasury 地址 */
|
|
18529
|
-
treasury?: string;
|
|
18530
|
-
/** 已注册的 token 列表 */
|
|
18531
|
-
tokens: BridgeToken[];
|
|
18532
|
-
}
|
|
18533
|
-
/** 24h 限额信息 */
|
|
18534
|
-
interface BridgeLimit {
|
|
18535
|
-
/** 过去 24h 已发送金额 */
|
|
18536
|
-
sent24h: bigint;
|
|
18537
|
-
/** 过去 24h 已接收金额 */
|
|
18538
|
-
received24h: bigint;
|
|
18539
|
-
/** 24h 限额 */
|
|
18540
|
-
limit24h: bigint;
|
|
18541
|
-
}
|
|
18542
|
-
/** Bridge 节点对 action 的签名 */
|
|
18543
|
-
interface SignedAction {
|
|
18544
|
-
/** 签名者公钥(compressed,0x + 33 hex) */
|
|
18545
|
-
signerPubkey: string;
|
|
18546
|
-
/** secp256k1 签名(r(32) + s(32) + v(1) → 0x + 130 hex) */
|
|
18547
|
-
signature: string;
|
|
18548
|
-
/** 签名者权重 */
|
|
18549
|
-
weight: number;
|
|
18550
|
-
}
|
|
18551
|
-
/** 调用结果(WOW 侧交易) */
|
|
18552
|
-
interface BridgeCallResult {
|
|
18553
|
-
digest: string;
|
|
18554
|
-
seqNum?: bigint;
|
|
18555
|
-
status: TransferStatus;
|
|
18556
|
-
}
|
|
18557
|
-
/** 跨链操作错误码 */
|
|
18558
|
-
declare enum BridgeErrorCode {
|
|
18559
|
-
/** estimateGas 失败(RPC 差异或 calldata 问题) */
|
|
18560
|
-
EstimateFailed = "ESTIMATE_FAILED",
|
|
18561
|
-
/** 交易链上 revert */
|
|
18562
|
-
Reverted = "REVERTED",
|
|
18563
|
-
/** 交易确认超时 */
|
|
18564
|
-
Timeout = "TIMEOUT",
|
|
18565
|
-
/** 签名收集不足(quorum 未达) */
|
|
18566
|
-
NoSignatures = "NO_SIGNATURES",
|
|
18567
|
-
/** 节点不可用 */
|
|
18568
|
-
NodeUnavailable = "NODE_UNAVAILABLE",
|
|
18569
|
-
/** 参数无效 */
|
|
18570
|
-
InvalidParam = "INVALID_PARAM",
|
|
18571
|
-
/** 账户不存在 */
|
|
18572
|
-
AccountNotFound = "ACCOUNT_NOT_FOUND",
|
|
18573
|
-
/** 未知错误 */
|
|
18574
|
-
Unknown = "UNKNOWN"
|
|
18575
|
-
}
|
|
18576
|
-
/** 跨链操作错误详情 */
|
|
18577
|
-
interface BridgeError {
|
|
18578
|
-
code: BridgeErrorCode;
|
|
18579
|
-
message: string;
|
|
18580
|
-
/** 链上 revert 原因(eth_call 可获取) */
|
|
18581
|
-
revertReason?: string;
|
|
18582
|
-
/** 原始错误(调试用) */
|
|
18583
|
-
raw?: unknown;
|
|
18584
|
-
}
|
|
18585
|
-
/** 跨链操作统一返回结果 */
|
|
18586
|
-
interface BridgeResult<T = string> {
|
|
18587
|
-
success: boolean;
|
|
18588
|
-
/** 交易哈希(成功时) */
|
|
18589
|
-
txHash?: T;
|
|
18590
|
-
/** 错误详情(失败时) */
|
|
18591
|
-
error?: BridgeError;
|
|
18592
|
-
}
|
|
18593
|
-
//#endregion
|
|
18594
18625
|
//#region src/w/bridge/config.d.ts
|
|
18595
18626
|
/**
|
|
18596
18627
|
* 单条 EVM 链的 Bridge 配置
|
|
@@ -18617,8 +18648,10 @@ interface EvmChainConfig {
|
|
|
18617
18648
|
interface BridgeConfig {
|
|
18618
18649
|
/** WOW 侧配置 */
|
|
18619
18650
|
wow: {
|
|
18620
|
-
rpcUrl: string;
|
|
18621
|
-
|
|
18651
|
+
rpcUrl: string;
|
|
18652
|
+
/** Bridge 共享对象 ID(主网固定 0x9) */
|
|
18653
|
+
bridgeObjectId: string;
|
|
18654
|
+
/** Clock 对象 ID(固定 0x6) */
|
|
18622
18655
|
clockObjectId: string;
|
|
18623
18656
|
network: "mainnet" | "testnet";
|
|
18624
18657
|
};
|
|
@@ -18640,9 +18673,13 @@ interface BridgeConfig {
|
|
|
18640
18673
|
* 超时配置(毫秒)
|
|
18641
18674
|
*/
|
|
18642
18675
|
timeouts: {
|
|
18643
|
-
/** 单节点 RPC 超时 */
|
|
18644
|
-
|
|
18645
|
-
|
|
18676
|
+
/** 单节点 RPC 超时 */
|
|
18677
|
+
nodeRpcMs: number;
|
|
18678
|
+
/** 签名收集轮询间隔 */
|
|
18679
|
+
signaturePollIntervalMs: number;
|
|
18680
|
+
/** 签名收集总超时 */
|
|
18681
|
+
signatureCollectMs: number;
|
|
18682
|
+
/** 等待自动 claim 总超时 */
|
|
18646
18683
|
autoClaimMs: number;
|
|
18647
18684
|
};
|
|
18648
18685
|
}
|
|
@@ -18954,7 +18991,9 @@ declare function waitForWowTx(client: WowClient, digest: string, intervalMs?: nu
|
|
|
18954
18991
|
interface SignedBridgeActionResponse {
|
|
18955
18992
|
data: unknown;
|
|
18956
18993
|
auth_signature: {
|
|
18957
|
-
/** 签名者公钥(base64 或 hex,33 字节 compressed secp256k1) */
|
|
18994
|
+
/** 签名者公钥(base64 或 hex,33 字节 compressed secp256k1) */
|
|
18995
|
+
authority_pub_key: string;
|
|
18996
|
+
/** secp256k1 可恢复签名(base64 或 hex,65 字节 r+s+recovery_id) */
|
|
18958
18997
|
signature: string;
|
|
18959
18998
|
};
|
|
18960
18999
|
}
|
|
@@ -19334,13 +19373,20 @@ declare class BridgeClient {
|
|
|
19334
19373
|
* @returns claim tx digest(WOW)与中间步骤信息
|
|
19335
19374
|
*/
|
|
19336
19375
|
bridgeNativeEvmToWow(params: {
|
|
19337
|
-
/** 跨链金额(wei,1 ETH = 1e18 wei) */
|
|
19338
|
-
|
|
19376
|
+
/** 跨链金额(wei,1 ETH = 1e18 wei) */
|
|
19377
|
+
amount: bigint;
|
|
19378
|
+
/** WOW 接收地址(0x + 64 hex,32 字节) */
|
|
19379
|
+
recipientWowAddress: string;
|
|
19380
|
+
/** 是否等待最终化(claim 完成);默认 true */
|
|
19339
19381
|
waitForFinalization?: boolean;
|
|
19340
19382
|
}): Promise<{
|
|
19341
|
-
/** EVM deposit tx hash */
|
|
19342
|
-
|
|
19343
|
-
|
|
19383
|
+
/** EVM deposit tx hash */
|
|
19384
|
+
depositTxHash: string;
|
|
19385
|
+
/** WOW claim tx digest(仅当 waitForFinalization=true 时返回) */
|
|
19386
|
+
claimTxDigest?: string;
|
|
19387
|
+
/** Bridge 序列号 */
|
|
19388
|
+
bridgeSeq?: bigint;
|
|
19389
|
+
/** 最终状态 */
|
|
19344
19390
|
finalState?: BridgeTransferState;
|
|
19345
19391
|
}>;
|
|
19346
19392
|
/**
|
|
@@ -19359,14 +19405,22 @@ declare class BridgeClient {
|
|
|
19359
19405
|
* @returns claim tx digest(WOW)与中间步骤信息
|
|
19360
19406
|
*/
|
|
19361
19407
|
bridgeErc20ToWow(params: {
|
|
19362
|
-
/** 跨链 token 类型(WETH / WBTC / USDC / USDT,不能传 Eth) */
|
|
19363
|
-
|
|
19364
|
-
|
|
19408
|
+
/** 跨链 token 类型(WETH / WBTC / USDC / USDT,不能传 Eth) */
|
|
19409
|
+
token: BridgeTokenId;
|
|
19410
|
+
/** 跨链金额(token 最小单位,按 evmDecimals) */
|
|
19411
|
+
amount: bigint;
|
|
19412
|
+
/** WOW 接收地址(0x + 64 hex,32 字节) */
|
|
19413
|
+
recipientWowAddress: string;
|
|
19414
|
+
/** 是否等待最终化(claim 完成);默认 true */
|
|
19365
19415
|
waitForFinalization?: boolean;
|
|
19366
19416
|
}): Promise<{
|
|
19367
|
-
/** EVM deposit tx hash */
|
|
19368
|
-
|
|
19369
|
-
|
|
19417
|
+
/** EVM deposit tx hash */
|
|
19418
|
+
depositTxHash: string;
|
|
19419
|
+
/** WOW claim tx digest(仅当 waitForFinalization=true 时返回) */
|
|
19420
|
+
claimTxDigest?: string;
|
|
19421
|
+
/** Bridge 序列号 */
|
|
19422
|
+
bridgeSeq?: bigint;
|
|
19423
|
+
/** 最终状态 */
|
|
19370
19424
|
finalState?: BridgeTransferState;
|
|
19371
19425
|
}>;
|
|
19372
19426
|
/**
|
|
@@ -19396,13 +19450,20 @@ declare class BridgeClient {
|
|
|
19396
19450
|
* 5. 等待 EVM claim 交易确认
|
|
19397
19451
|
*/
|
|
19398
19452
|
bridgeWowToEvm(params: {
|
|
19399
|
-
/** 跨链 token 类型(Eth/Weth/Wbtc/Usdc/Usdt) */
|
|
19400
|
-
|
|
19401
|
-
|
|
19453
|
+
/** 跨链 token 类型(Eth/Weth/Wbtc/Usdc/Usdt) */
|
|
19454
|
+
token: BridgeTokenId;
|
|
19455
|
+
/** 跨链金额(WOW 侧最小单位,wowDecimals) */
|
|
19456
|
+
amount: bigint;
|
|
19457
|
+
/** ETH 接收地址(0x + 40 hex) */
|
|
19458
|
+
recipientEthAddress: string;
|
|
19459
|
+
/** 是否等待最终化(claim 完成);默认 true */
|
|
19402
19460
|
waitForFinalization?: boolean;
|
|
19403
19461
|
}): Promise<{
|
|
19404
|
-
/** WOW deposit tx digest */
|
|
19405
|
-
|
|
19462
|
+
/** WOW deposit tx digest */
|
|
19463
|
+
depositTxDigest: string;
|
|
19464
|
+
/** Bridge 序列号 */
|
|
19465
|
+
bridgeSeq: bigint;
|
|
19466
|
+
/** EVM claim tx hash(仅当 waitForFinalization=true 时返回) */
|
|
19406
19467
|
claimTxHash?: string;
|
|
19407
19468
|
}>;
|
|
19408
19469
|
/**
|
|
@@ -19449,7 +19510,8 @@ declare class BridgeClient {
|
|
|
19449
19510
|
*/
|
|
19450
19511
|
bridgeWowToEvmSimple(params: {
|
|
19451
19512
|
token: BridgeTokenId;
|
|
19452
|
-
amount: bigint;
|
|
19513
|
+
amount: bigint;
|
|
19514
|
+
/** 最终提款 EVM 地址(0x + 40 hex);不传则资产保留在 activeEvmAccount */
|
|
19453
19515
|
withdrawTo?: string;
|
|
19454
19516
|
waitForFinalization?: boolean;
|
|
19455
19517
|
}): Promise<{
|
|
@@ -19494,8 +19556,10 @@ declare class BridgeClient {
|
|
|
19494
19556
|
*/
|
|
19495
19557
|
withdrawFromActiveEvmAccount(params: {
|
|
19496
19558
|
to: string;
|
|
19497
|
-
amount: bigint;
|
|
19498
|
-
|
|
19559
|
+
amount: bigint;
|
|
19560
|
+
/** ERC20 token 合约地址;不传则提款原生 ETH */
|
|
19561
|
+
tokenAddress?: string;
|
|
19562
|
+
/** 跨链 token 标识(与 tokenAddress 二选一,便于按 symbol 提款) */
|
|
19499
19563
|
token?: BridgeTokenId;
|
|
19500
19564
|
network?: number | string;
|
|
19501
19565
|
}): Promise<{
|
|
@@ -19593,8 +19657,11 @@ declare class BridgeClient {
|
|
|
19593
19657
|
* 公共 RPC 易 429 限流,AI / 用户可借此动态调整 RPC 池。
|
|
19594
19658
|
*/
|
|
19595
19659
|
manageEvmRpc(params: {
|
|
19596
|
-
/** 操作类型 */
|
|
19597
|
-
|
|
19660
|
+
/** 操作类型 */
|
|
19661
|
+
op: "list" | "add" | "remove" | "set" | "ping";
|
|
19662
|
+
/** 目标链(chainId 或 name),默认 ETH 主网 */
|
|
19663
|
+
network?: number | string;
|
|
19664
|
+
/** 操作相关的 RPC URL 列表(add/remove/set/ping 共用) */
|
|
19598
19665
|
rpcUrls?: string[];
|
|
19599
19666
|
}): Promise<{
|
|
19600
19667
|
op: string;
|
|
@@ -19625,7 +19692,7 @@ declare enum UpgradePolicy {
|
|
|
19625
19692
|
}
|
|
19626
19693
|
type TransactionShape<T extends Command$1['$kind']> = {
|
|
19627
19694
|
$kind: T;
|
|
19628
|
-
} & { [K in T]: Extract<Command$1, { [K in T]: any }>[T] };
|
|
19695
|
+
} & { [K in T]: Extract<Command$1, { [K in T]: any; }>[T]; };
|
|
19629
19696
|
/**
|
|
19630
19697
|
* Simple helpers used to construct transactions:
|
|
19631
19698
|
*/
|
|
@@ -19644,36 +19711,21 @@ declare const TransactionCommands: {
|
|
|
19644
19711
|
TransferObjects(objects: InferInput<typeof ArgumentSchema>[], address: InferInput<typeof ArgumentSchema>): TransactionShape<"TransferObjects">;
|
|
19645
19712
|
SplitCoins(coin: InferInput<typeof ArgumentSchema>, amounts: InferInput<typeof ArgumentSchema>[]): TransactionShape<"SplitCoins">;
|
|
19646
19713
|
MergeCoins(destination: InferInput<typeof ArgumentSchema>, sources: InferInput<typeof ArgumentSchema>[]): TransactionShape<"MergeCoins">;
|
|
19647
|
-
Publish({
|
|
19648
|
-
modules,
|
|
19649
|
-
dependencies
|
|
19650
|
-
}: {
|
|
19714
|
+
Publish({ modules, dependencies }: {
|
|
19651
19715
|
modules: number[][] | string[];
|
|
19652
19716
|
dependencies: string[];
|
|
19653
19717
|
}): TransactionShape<"Publish">;
|
|
19654
|
-
Upgrade({
|
|
19655
|
-
modules,
|
|
19656
|
-
dependencies,
|
|
19657
|
-
package: packageId,
|
|
19658
|
-
ticket
|
|
19659
|
-
}: {
|
|
19718
|
+
Upgrade({ modules, dependencies, package: packageId, ticket }: {
|
|
19660
19719
|
modules: number[][] | string[];
|
|
19661
19720
|
dependencies: string[];
|
|
19662
19721
|
package: string;
|
|
19663
19722
|
ticket: InferInput<typeof ArgumentSchema>;
|
|
19664
19723
|
}): TransactionShape<"Upgrade">;
|
|
19665
|
-
MakeMoveVec({
|
|
19666
|
-
type,
|
|
19667
|
-
elements
|
|
19668
|
-
}: {
|
|
19724
|
+
MakeMoveVec({ type, elements }: {
|
|
19669
19725
|
type?: string;
|
|
19670
19726
|
elements: InferInput<typeof ArgumentSchema>[];
|
|
19671
19727
|
}): TransactionShape<"MakeMoveVec">;
|
|
19672
|
-
Intent({
|
|
19673
|
-
name,
|
|
19674
|
-
inputs,
|
|
19675
|
-
data
|
|
19676
|
-
}: {
|
|
19728
|
+
Intent({ name, inputs, data }: {
|
|
19677
19729
|
name: string;
|
|
19678
19730
|
inputs?: Record<string, InferInput<typeof ArgumentSchema> | InferInput<typeof ArgumentSchema>[]>;
|
|
19679
19731
|
data?: Record<string, unknown>;
|
|
@@ -19686,36 +19738,20 @@ declare function Pure(data: Uint8Array | SerializedBcs<any>): Extract<CallArg, {
|
|
|
19686
19738
|
}>;
|
|
19687
19739
|
declare const Inputs: {
|
|
19688
19740
|
Pure: typeof Pure;
|
|
19689
|
-
ObjectRef({
|
|
19690
|
-
objectId,
|
|
19691
|
-
digest,
|
|
19692
|
-
version
|
|
19693
|
-
}: ObjectRef): Extract<CallArg, {
|
|
19741
|
+
ObjectRef({ objectId, digest, version }: ObjectRef): Extract<CallArg, {
|
|
19694
19742
|
Object: unknown;
|
|
19695
19743
|
}>;
|
|
19696
|
-
SharedObjectRef({
|
|
19697
|
-
objectId,
|
|
19698
|
-
mutable,
|
|
19699
|
-
initialSharedVersion
|
|
19700
|
-
}: {
|
|
19744
|
+
SharedObjectRef({ objectId, mutable, initialSharedVersion }: {
|
|
19701
19745
|
objectId: string;
|
|
19702
19746
|
mutable: boolean;
|
|
19703
19747
|
initialSharedVersion: number | string;
|
|
19704
19748
|
}): Extract<CallArg, {
|
|
19705
19749
|
Object: unknown;
|
|
19706
19750
|
}>;
|
|
19707
|
-
ReceivingRef({
|
|
19708
|
-
objectId,
|
|
19709
|
-
digest,
|
|
19710
|
-
version
|
|
19711
|
-
}: ObjectRef): Extract<CallArg, {
|
|
19751
|
+
ReceivingRef({ objectId, digest, version }: ObjectRef): Extract<CallArg, {
|
|
19712
19752
|
Object: unknown;
|
|
19713
19753
|
}>;
|
|
19714
|
-
FundsWithdrawal({
|
|
19715
|
-
reservation,
|
|
19716
|
-
typeArg,
|
|
19717
|
-
withdrawFrom
|
|
19718
|
-
}: {
|
|
19754
|
+
FundsWithdrawal({ reservation, typeArg, withdrawFrom }: {
|
|
19719
19755
|
reservation: Reservation;
|
|
19720
19756
|
typeArg: WithdrawalTypeArg;
|
|
19721
19757
|
withdrawFrom: WithdrawFrom;
|
|
@@ -19753,10 +19789,7 @@ declare function createObjectMethods<T>(makeObject: (value: TransactionObjectInp
|
|
|
19753
19789
|
mutable?: boolean;
|
|
19754
19790
|
}): T;
|
|
19755
19791
|
mutEntity(): T;
|
|
19756
|
-
option({
|
|
19757
|
-
type,
|
|
19758
|
-
value
|
|
19759
|
-
}: {
|
|
19792
|
+
option({ type, value }: {
|
|
19760
19793
|
type: string;
|
|
19761
19794
|
value: TransactionObjectInput | null;
|
|
19762
19795
|
}): (tx: Transaction$1) => TransactionResult$1;
|
|
@@ -20118,11 +20151,7 @@ declare class Transaction$1 {
|
|
|
20118
20151
|
* Creates a coin of the specified type and balance.
|
|
20119
20152
|
* Sourced from address balance when available, falling back to owned coins.
|
|
20120
20153
|
*/
|
|
20121
|
-
coin({
|
|
20122
|
-
type,
|
|
20123
|
-
balance,
|
|
20124
|
-
useGasCoin
|
|
20125
|
-
}: {
|
|
20154
|
+
coin({ type, balance, useGasCoin }: {
|
|
20126
20155
|
balance: bigint | number;
|
|
20127
20156
|
type?: string;
|
|
20128
20157
|
useGasCoin?: boolean;
|
|
@@ -20131,11 +20160,7 @@ declare class Transaction$1 {
|
|
|
20131
20160
|
* Creates a Balance object of the specified type and balance.
|
|
20132
20161
|
* Sourced from address balance when available, falling back to owned coins.
|
|
20133
20162
|
*/
|
|
20134
|
-
balance({
|
|
20135
|
-
type,
|
|
20136
|
-
balance,
|
|
20137
|
-
useGasCoin
|
|
20138
|
-
}: {
|
|
20163
|
+
balance({ type, balance, useGasCoin }: {
|
|
20139
20164
|
balance: bigint | number;
|
|
20140
20165
|
type?: string;
|
|
20141
20166
|
useGasCoin?: boolean;
|
|
@@ -20183,30 +20208,19 @@ declare class Transaction$1 {
|
|
|
20183
20208
|
Result: unknown;
|
|
20184
20209
|
}> & { [K in keyof Amounts]: Extract<Argument$1, {
|
|
20185
20210
|
NestedResult: unknown;
|
|
20186
|
-
}
|
|
20211
|
+
}>; };
|
|
20187
20212
|
mergeCoins(destination: TransactionObjectArgument | string, sources: (TransactionObjectArgument | string)[]): TransactionResult$1;
|
|
20188
|
-
publish({
|
|
20189
|
-
modules,
|
|
20190
|
-
dependencies
|
|
20191
|
-
}: {
|
|
20213
|
+
publish({ modules, dependencies }: {
|
|
20192
20214
|
modules: number[][] | string[];
|
|
20193
20215
|
dependencies: string[];
|
|
20194
20216
|
}): TransactionResult$1;
|
|
20195
|
-
upgrade({
|
|
20196
|
-
modules,
|
|
20197
|
-
dependencies,
|
|
20198
|
-
package: packageId,
|
|
20199
|
-
ticket
|
|
20200
|
-
}: {
|
|
20217
|
+
upgrade({ modules, dependencies, package: packageId, ticket }: {
|
|
20201
20218
|
modules: number[][] | string[];
|
|
20202
20219
|
dependencies: string[];
|
|
20203
20220
|
package: string;
|
|
20204
20221
|
ticket: TransactionObjectArgument | string;
|
|
20205
20222
|
}): TransactionResult$1;
|
|
20206
|
-
moveCall({
|
|
20207
|
-
arguments: args,
|
|
20208
|
-
...input
|
|
20209
|
-
}: {
|
|
20223
|
+
moveCall({ arguments: args, ...input }: {
|
|
20210
20224
|
package: string;
|
|
20211
20225
|
module: string;
|
|
20212
20226
|
function: string;
|
|
@@ -20218,10 +20232,7 @@ declare class Transaction$1 {
|
|
|
20218
20232
|
typeArguments?: string[];
|
|
20219
20233
|
}): TransactionResult$1;
|
|
20220
20234
|
transferObjects(objects: (TransactionObjectArgument | string)[], address: TransactionArgument | SerializedBcs<any> | string): TransactionResult$1;
|
|
20221
|
-
makeMoveVec({
|
|
20222
|
-
type,
|
|
20223
|
-
elements
|
|
20224
|
-
}: {
|
|
20235
|
+
makeMoveVec({ type, elements }: {
|
|
20225
20236
|
elements: (TransactionObjectArgument | string)[];
|
|
20226
20237
|
type?: string;
|
|
20227
20238
|
}): TransactionResult$1;
|
|
@@ -20232,10 +20243,7 @@ declare class Transaction$1 {
|
|
|
20232
20243
|
* @param options.amount - The Amount to withdraw (u64).
|
|
20233
20244
|
* @param options.type - The balance type (e.g., "0x2::wow::WOW"). Defaults to WOW.
|
|
20234
20245
|
*/
|
|
20235
|
-
withdrawal({
|
|
20236
|
-
amount,
|
|
20237
|
-
type
|
|
20238
|
-
}: {
|
|
20246
|
+
withdrawal({ amount, type }: {
|
|
20239
20247
|
amount: number | bigint | string;
|
|
20240
20248
|
type?: string | null;
|
|
20241
20249
|
}): {
|
|
@@ -20322,10 +20330,7 @@ declare abstract class Signer {
|
|
|
20322
20330
|
bytes: string;
|
|
20323
20331
|
signature: string;
|
|
20324
20332
|
}>;
|
|
20325
|
-
signAndExecuteTransaction({
|
|
20326
|
-
transaction,
|
|
20327
|
-
client
|
|
20328
|
-
}: SignAndExecuteOptions): Promise<WowClientTypes.TransactionResult<{
|
|
20333
|
+
signAndExecuteTransaction({ transaction, client }: SignAndExecuteOptions): Promise<WowClientTypes.TransactionResult<{
|
|
20329
20334
|
transaction: true;
|
|
20330
20335
|
effects: true;
|
|
20331
20336
|
}>>;
|
|
@@ -20410,17 +20415,13 @@ declare class MultiSigPublicKey extends PublicKey {
|
|
|
20410
20415
|
/**
|
|
20411
20416
|
* MultiSig public key as buffer or base-64 encoded string
|
|
20412
20417
|
*/
|
|
20413
|
-
|
|
20414
20418
|
value: string | Uint8Array | MultiSigPublicKeyStruct, options?: {
|
|
20415
20419
|
client?: ClientWithCoreApi;
|
|
20416
20420
|
});
|
|
20417
20421
|
/**
|
|
20418
20422
|
* A static method to create a new MultiSig publickey instance from a set of public keys and their associated weights pairs and threshold.
|
|
20419
20423
|
*/
|
|
20420
|
-
static fromPublicKeys({
|
|
20421
|
-
threshold,
|
|
20422
|
-
publicKeys
|
|
20423
|
-
}: {
|
|
20424
|
+
static fromPublicKeys({ threshold, publicKeys }: {
|
|
20424
20425
|
threshold: number;
|
|
20425
20426
|
publicKeys: {
|
|
20426
20427
|
publicKey: PublicKey;
|
|
@@ -20471,18 +20472,16 @@ declare function parsePartialSignatures(multisig: MultiSigStruct, options?: {
|
|
|
20471
20472
|
* Pair of signature and corresponding public key
|
|
20472
20473
|
*/
|
|
20473
20474
|
type SerializeSignatureInput = {
|
|
20474
|
-
signatureScheme: SignatureScheme$1;
|
|
20475
|
-
|
|
20475
|
+
signatureScheme: SignatureScheme$1;
|
|
20476
|
+
/** Base64-encoded signature */
|
|
20477
|
+
signature: Uint8Array;
|
|
20478
|
+
/** Base64-encoded public key */
|
|
20476
20479
|
publicKey?: PublicKey;
|
|
20477
20480
|
};
|
|
20478
20481
|
/**
|
|
20479
20482
|
* Takes in a signature, its associated signing scheme and a public key, then serializes this data
|
|
20480
20483
|
*/
|
|
20481
|
-
declare function toSerializedSignature({
|
|
20482
|
-
signature,
|
|
20483
|
-
signatureScheme,
|
|
20484
|
-
publicKey
|
|
20485
|
-
}: SerializeSignatureInput): string;
|
|
20484
|
+
declare function toSerializedSignature({ signature, signatureScheme, publicKey }: SerializeSignatureInput): string;
|
|
20486
20485
|
/**
|
|
20487
20486
|
* Decodes a serialized signature into its constituent components: the signature scheme, the actual signature, and the public key
|
|
20488
20487
|
*/
|
|
@@ -20543,9 +20542,7 @@ declare function coreClientResolveTransactionPlugin(transactionData: Transaction
|
|
|
20543
20542
|
//#region src/jsonRpc/core.d.ts
|
|
20544
20543
|
declare class JSONRpcCoreClient extends CoreClient {
|
|
20545
20544
|
#private;
|
|
20546
|
-
constructor({
|
|
20547
|
-
jsonRpcClient
|
|
20548
|
-
}: {
|
|
20545
|
+
constructor({ jsonRpcClient }: {
|
|
20549
20546
|
jsonRpcClient: WowJsonRpcClient;
|
|
20550
20547
|
});
|
|
20551
20548
|
getObjects<Include extends WowClientTypes.ObjectInclude = {}>(options: WowClientTypes.GetObjectsOptions<Include>): Promise<{
|
|
@@ -20635,21 +20632,13 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20635
20632
|
* @param options configuration options for the API Client
|
|
20636
20633
|
*/
|
|
20637
20634
|
constructor(options: WowJsonRpcClientOptions);
|
|
20638
|
-
getRpcApiVersion({
|
|
20639
|
-
signal
|
|
20640
|
-
}?: {
|
|
20635
|
+
getRpcApiVersion({ signal }?: {
|
|
20641
20636
|
signal?: AbortSignal;
|
|
20642
20637
|
}): Promise<string | undefined>;
|
|
20643
20638
|
/**
|
|
20644
20639
|
* Get all Coin<`coin_type`> objects owned by an address.
|
|
20645
20640
|
*/
|
|
20646
|
-
getCoins({
|
|
20647
|
-
coinType,
|
|
20648
|
-
owner,
|
|
20649
|
-
cursor,
|
|
20650
|
-
limit,
|
|
20651
|
-
signal
|
|
20652
|
-
}: GetCoinsParams): Promise<PaginatedCoins>;
|
|
20641
|
+
getCoins({ coinType, owner, cursor, limit, signal }: GetCoinsParams): Promise<PaginatedCoins>;
|
|
20653
20642
|
/**
|
|
20654
20643
|
* Get all Coin objects owned by an address.
|
|
20655
20644
|
*/
|
|
@@ -20657,11 +20646,7 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20657
20646
|
/**
|
|
20658
20647
|
* Get the total coin balance for one coin type, owned by the address owner.
|
|
20659
20648
|
*/
|
|
20660
|
-
getBalance({
|
|
20661
|
-
owner,
|
|
20662
|
-
coinType,
|
|
20663
|
-
signal
|
|
20664
|
-
}: GetBalanceParams): Promise<CoinBalance>;
|
|
20649
|
+
getBalance({ owner, coinType, signal }: GetBalanceParams): Promise<CoinBalance>;
|
|
20665
20650
|
/**
|
|
20666
20651
|
* Get the total coin balance for all coin types, owned by the address owner.
|
|
20667
20652
|
*/
|
|
@@ -20669,70 +20654,40 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20669
20654
|
/**
|
|
20670
20655
|
* Fetch CoinMetadata for a given coin type
|
|
20671
20656
|
*/
|
|
20672
|
-
getCoinMetadata({
|
|
20673
|
-
coinType,
|
|
20674
|
-
signal
|
|
20675
|
-
}: GetCoinMetadataParams): Promise<WowCoinMetadata | null>;
|
|
20657
|
+
getCoinMetadata({ coinType, signal }: GetCoinMetadataParams): Promise<WowCoinMetadata | null>;
|
|
20676
20658
|
/**
|
|
20677
20659
|
* Fetch total supply for a coin
|
|
20678
20660
|
*/
|
|
20679
|
-
getTotalSupply({
|
|
20680
|
-
coinType,
|
|
20681
|
-
signal
|
|
20682
|
-
}: GetTotalSupplyParams): Promise<CoinSupply>;
|
|
20661
|
+
getTotalSupply({ coinType, signal }: GetTotalSupplyParams): Promise<CoinSupply>;
|
|
20683
20662
|
/**
|
|
20684
20663
|
* Invoke any RPC method
|
|
20685
20664
|
* @param method the method to be invoked
|
|
20686
20665
|
* @param args the arguments to be passed to the RPC request
|
|
20687
20666
|
*/
|
|
20688
|
-
call<T = unknown>(method: string, params: unknown[], {
|
|
20689
|
-
signal
|
|
20690
|
-
}?: {
|
|
20667
|
+
call<T = unknown>(method: string, params: unknown[], { signal }?: {
|
|
20691
20668
|
signal?: AbortSignal;
|
|
20692
20669
|
}): Promise<T>;
|
|
20693
20670
|
/**
|
|
20694
20671
|
* Get Move function argument types like read, write and full access
|
|
20695
20672
|
*/
|
|
20696
|
-
getMoveFunctionArgTypes({
|
|
20697
|
-
package: pkg,
|
|
20698
|
-
module,
|
|
20699
|
-
function: fn,
|
|
20700
|
-
signal
|
|
20701
|
-
}: GetMoveFunctionArgTypesParams): Promise<WowMoveFunctionArgType[]>;
|
|
20673
|
+
getMoveFunctionArgTypes({ package: pkg, module, function: fn, signal }: GetMoveFunctionArgTypesParams): Promise<WowMoveFunctionArgType[]>;
|
|
20702
20674
|
/**
|
|
20703
20675
|
* Get a map from module name to
|
|
20704
20676
|
* structured representations of Move modules
|
|
20705
20677
|
*/
|
|
20706
|
-
getNormalizedMoveModulesByPackage({
|
|
20707
|
-
package: pkg,
|
|
20708
|
-
signal
|
|
20709
|
-
}: GetNormalizedMoveModulesByPackageParams): Promise<WowMoveNormalizedModules>;
|
|
20678
|
+
getNormalizedMoveModulesByPackage({ package: pkg, signal }: GetNormalizedMoveModulesByPackageParams): Promise<WowMoveNormalizedModules>;
|
|
20710
20679
|
/**
|
|
20711
20680
|
* Get a structured representation of Move module
|
|
20712
20681
|
*/
|
|
20713
|
-
getNormalizedMoveModule({
|
|
20714
|
-
package: pkg,
|
|
20715
|
-
moduleName,
|
|
20716
|
-
signal
|
|
20717
|
-
}: GetNormalizedMoveModuleParams): Promise<WowMoveNormalizedModule>;
|
|
20682
|
+
getNormalizedMoveModule({ package: pkg, moduleName, signal }: GetNormalizedMoveModuleParams): Promise<WowMoveNormalizedModule>;
|
|
20718
20683
|
/**
|
|
20719
20684
|
* Get a structured representation of Move function
|
|
20720
20685
|
*/
|
|
20721
|
-
getNormalizedMoveFunction({
|
|
20722
|
-
package: pkg,
|
|
20723
|
-
moduleName,
|
|
20724
|
-
functionName,
|
|
20725
|
-
signal
|
|
20726
|
-
}: GetNormalizedMoveFunctionParams): Promise<WowMoveNormalizedFunction>;
|
|
20686
|
+
getNormalizedMoveFunction({ package: pkg, moduleName, functionName, signal }: GetNormalizedMoveFunctionParams): Promise<WowMoveNormalizedFunction>;
|
|
20727
20687
|
/**
|
|
20728
20688
|
* Get a structured representation of Move struct
|
|
20729
20689
|
*/
|
|
20730
|
-
getNormalizedMoveStruct({
|
|
20731
|
-
package: pkg,
|
|
20732
|
-
moduleName,
|
|
20733
|
-
structName,
|
|
20734
|
-
signal
|
|
20735
|
-
}: GetNormalizedMoveStructParams): Promise<WowMoveNormalizedStruct>;
|
|
20690
|
+
getNormalizedMoveStruct({ package: pkg, moduleName, structName, signal }: GetNormalizedMoveStructParams): Promise<WowMoveNormalizedStruct>;
|
|
20736
20691
|
/**
|
|
20737
20692
|
* Get all objects owned by an address
|
|
20738
20693
|
*/
|
|
@@ -20749,28 +20704,11 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20749
20704
|
/**
|
|
20750
20705
|
* Get transaction blocks for a given query criteria
|
|
20751
20706
|
*/
|
|
20752
|
-
queryTransactionBlocks({
|
|
20753
|
-
filter,
|
|
20754
|
-
options,
|
|
20755
|
-
cursor,
|
|
20756
|
-
limit,
|
|
20757
|
-
order,
|
|
20758
|
-
signal
|
|
20759
|
-
}: QueryTransactionBlocksParams): Promise<PaginatedTransactionResponse>;
|
|
20707
|
+
queryTransactionBlocks({ filter, options, cursor, limit, order, signal }: QueryTransactionBlocksParams): Promise<PaginatedTransactionResponse>;
|
|
20760
20708
|
getTransactionBlock(input: GetTransactionBlockParams): Promise<WowTransactionBlockResponse>;
|
|
20761
20709
|
multiGetTransactionBlocks(input: MultiGetTransactionBlocksParams): Promise<WowTransactionBlockResponse[]>;
|
|
20762
|
-
executeTransactionBlock({
|
|
20763
|
-
|
|
20764
|
-
signatures,
|
|
20765
|
-
options,
|
|
20766
|
-
signal
|
|
20767
|
-
}: ExecuteTransactionBlockParams): Promise<WowTransactionBlockResponse>;
|
|
20768
|
-
signAndExecuteTransaction({
|
|
20769
|
-
transaction,
|
|
20770
|
-
signer,
|
|
20771
|
-
options,
|
|
20772
|
-
signal
|
|
20773
|
-
}: {
|
|
20710
|
+
executeTransactionBlock({ txBytes, signatures, options, signal }: ExecuteTransactionBlockParams): Promise<WowTransactionBlockResponse>;
|
|
20711
|
+
signAndExecuteTransaction({ transaction, signer, options, signal }: {
|
|
20774
20712
|
transaction: Uint8Array | Transaction$1;
|
|
20775
20713
|
signer: Signer;
|
|
20776
20714
|
options?: WowTransactionBlockResponseOptions | null | undefined;
|
|
@@ -20779,17 +20717,13 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20779
20717
|
/**
|
|
20780
20718
|
* Get total number of transactions
|
|
20781
20719
|
*/
|
|
20782
|
-
getTotalTransactionBlocks({
|
|
20783
|
-
signal
|
|
20784
|
-
}?: {
|
|
20720
|
+
getTotalTransactionBlocks({ signal }?: {
|
|
20785
20721
|
signal?: AbortSignal;
|
|
20786
20722
|
}): Promise<bigint>;
|
|
20787
20723
|
/**
|
|
20788
20724
|
* Getting the reference gas price for the network
|
|
20789
20725
|
*/
|
|
20790
|
-
getReferenceGasPrice({
|
|
20791
|
-
signal
|
|
20792
|
-
}?: GetReferenceGasPriceParams): Promise<bigint>;
|
|
20726
|
+
getReferenceGasPrice({ signal }?: GetReferenceGasPriceParams): Promise<bigint>;
|
|
20793
20727
|
/**
|
|
20794
20728
|
* Return the delegated stakes for an address
|
|
20795
20729
|
*/
|
|
@@ -20801,19 +20735,11 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20801
20735
|
/**
|
|
20802
20736
|
* Return the latest system state content.
|
|
20803
20737
|
*/
|
|
20804
|
-
getLatestWowSystemState({
|
|
20805
|
-
signal
|
|
20806
|
-
}?: GetLatestWowSystemStateParams): Promise<WowSystemStateSummary>;
|
|
20738
|
+
getLatestWowSystemState({ signal }?: GetLatestWowSystemStateParams): Promise<WowSystemStateSummary>;
|
|
20807
20739
|
/**
|
|
20808
20740
|
* Get events for a given query criteria
|
|
20809
20741
|
*/
|
|
20810
|
-
queryEvents({
|
|
20811
|
-
query,
|
|
20812
|
-
cursor,
|
|
20813
|
-
limit,
|
|
20814
|
-
order,
|
|
20815
|
-
signal
|
|
20816
|
-
}: QueryEventsParams): Promise<PaginatedEvents>;
|
|
20742
|
+
queryEvents({ query, cursor, limit, order, signal }: QueryEventsParams): Promise<PaginatedEvents>;
|
|
20817
20743
|
/**
|
|
20818
20744
|
* Runs the transaction block in dev-inspect mode. Which allows for nearly any
|
|
20819
20745
|
* transaction (or Move call) with any arguments. Detailed results are
|
|
@@ -20835,9 +20761,7 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20835
20761
|
/**
|
|
20836
20762
|
* Get the sequence number of the latest checkpoint that has been executed
|
|
20837
20763
|
*/
|
|
20838
|
-
getLatestCheckpointSequenceNumber({
|
|
20839
|
-
signal
|
|
20840
|
-
}?: GetLatestCheckpointSequenceNumberParams): Promise<string>;
|
|
20764
|
+
getLatestCheckpointSequenceNumber({ signal }?: GetLatestCheckpointSequenceNumberParams): Promise<string>;
|
|
20841
20765
|
/**
|
|
20842
20766
|
* Returns information about a given checkpoint
|
|
20843
20767
|
*/
|
|
@@ -20860,22 +20784,16 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20860
20784
|
/**
|
|
20861
20785
|
* Return the committee information for the asked epoch
|
|
20862
20786
|
*/
|
|
20863
|
-
getCurrentEpoch({
|
|
20864
|
-
signal
|
|
20865
|
-
}?: {
|
|
20787
|
+
getCurrentEpoch({ signal }?: {
|
|
20866
20788
|
signal?: AbortSignal;
|
|
20867
20789
|
}): Promise<EpochInfo>;
|
|
20868
20790
|
/**
|
|
20869
20791
|
* Return the Validators APYs
|
|
20870
20792
|
*/
|
|
20871
|
-
getValidatorsApy({
|
|
20872
|
-
signal
|
|
20873
|
-
}?: {
|
|
20793
|
+
getValidatorsApy({ signal }?: {
|
|
20874
20794
|
signal?: AbortSignal;
|
|
20875
20795
|
}): Promise<ValidatorsApy>;
|
|
20876
|
-
getChainIdentifier({
|
|
20877
|
-
signal
|
|
20878
|
-
}?: {
|
|
20796
|
+
getChainIdentifier({ signal }?: {
|
|
20879
20797
|
signal?: AbortSignal;
|
|
20880
20798
|
}): Promise<string>;
|
|
20881
20799
|
getProtocolConfig(input?: GetProtocolConfigParams): Promise<ProtocolConfig$2>;
|
|
@@ -20885,14 +20803,12 @@ declare class WowJsonRpcClient extends BaseClient {
|
|
|
20885
20803
|
* be available via the API.
|
|
20886
20804
|
* This currently polls the `getTransactionBlock` API to check for the transaction.
|
|
20887
20805
|
*/
|
|
20888
|
-
waitForTransaction({
|
|
20889
|
-
signal
|
|
20890
|
-
|
|
20891
|
-
|
|
20892
|
-
|
|
20893
|
-
|
|
20894
|
-
/** An optional abort signal that can be used to cancel */signal?: AbortSignal; /** The amount of time to wait for a transaction block. Defaults to one minute. */
|
|
20895
|
-
timeout?: number; /** The amount of time to wait between checks for the transaction block. Defaults to 2 seconds. */
|
|
20806
|
+
waitForTransaction({ signal, timeout, pollInterval, ...input }: {
|
|
20807
|
+
/** An optional abort signal that can be used to cancel */
|
|
20808
|
+
signal?: AbortSignal;
|
|
20809
|
+
/** The amount of time to wait for a transaction block. Defaults to one minute. */
|
|
20810
|
+
timeout?: number;
|
|
20811
|
+
/** The amount of time to wait between checks for the transaction block. Defaults to 2 seconds. */
|
|
20896
20812
|
pollInterval?: number;
|
|
20897
20813
|
} & Parameters<WowJsonRpcClient['getTransactionBlock']>[0]): Promise<WowTransactionBlockResponse>;
|
|
20898
20814
|
}
|
|
@@ -20974,10 +20890,7 @@ interface ObjectCacheOptions {
|
|
|
20974
20890
|
}
|
|
20975
20891
|
declare class ObjectCache {
|
|
20976
20892
|
#private;
|
|
20977
|
-
constructor({
|
|
20978
|
-
cache,
|
|
20979
|
-
onEffects
|
|
20980
|
-
}: ObjectCacheOptions);
|
|
20893
|
+
constructor({ cache, onEffects }: ObjectCacheOptions);
|
|
20981
20894
|
asPlugin(): TransactionPlugin;
|
|
20982
20895
|
clear(): Promise<void>;
|
|
20983
20896
|
getMoveFunctionDefinition(ref: {
|
|
@@ -21058,11 +20971,7 @@ declare class ParallelTransactionExecutor {
|
|
|
21058
20971
|
}
|
|
21059
20972
|
//#endregion
|
|
21060
20973
|
//#region src/transactions/intents/CoinWithBalance.d.ts
|
|
21061
|
-
declare function coinWithBalance({
|
|
21062
|
-
type,
|
|
21063
|
-
balance,
|
|
21064
|
-
useGasCoin
|
|
21065
|
-
}: {
|
|
20974
|
+
declare function coinWithBalance({ type, balance, useGasCoin }: {
|
|
21066
20975
|
balance: bigint | number;
|
|
21067
20976
|
type?: string;
|
|
21068
20977
|
useGasCoin?: boolean;
|
|
@@ -21089,10 +20998,7 @@ declare const Arguments: {
|
|
|
21089
20998
|
mutable?: boolean;
|
|
21090
20999
|
}): TransactionObjectArgument;
|
|
21091
21000
|
mutEntity(): TransactionObjectArgument;
|
|
21092
|
-
option({
|
|
21093
|
-
type,
|
|
21094
|
-
value
|
|
21095
|
-
}: {
|
|
21001
|
+
option({ type, value }: {
|
|
21096
21002
|
type: string;
|
|
21097
21003
|
value: TransactionObjectInput | null;
|
|
21098
21004
|
}): (tx: Transaction$1) => TransactionResult$1;
|
|
@@ -21159,12 +21065,7 @@ declare abstract class CoreClient extends BaseClient implements WowClientTypes.T
|
|
|
21159
21065
|
getDynamicField(options: WowClientTypes.GetDynamicFieldOptions): Promise<WowClientTypes.GetDynamicFieldResponse>;
|
|
21160
21066
|
getDynamicObjectField<Include extends WowClientTypes.ObjectInclude = {}>(options: WowClientTypes.GetDynamicObjectFieldOptions<Include>): Promise<WowClientTypes.GetDynamicObjectFieldResponse<Include>>;
|
|
21161
21067
|
waitForTransaction<Include extends WowClientTypes.TransactionInclude = {}>(options: WowClientTypes.WaitForTransactionOptions<Include>): Promise<WowClientTypes.TransactionResult<Include>>;
|
|
21162
|
-
signAndExecuteTransaction<Include extends WowClientTypes.TransactionInclude = {}>({
|
|
21163
|
-
transaction,
|
|
21164
|
-
signer,
|
|
21165
|
-
additionalSignatures,
|
|
21166
|
-
...input
|
|
21167
|
-
}: WowClientTypes.SignAndExecuteTransactionOptions<Include>): Promise<WowClientTypes.TransactionResult<Include>>;
|
|
21068
|
+
signAndExecuteTransaction<Include extends WowClientTypes.TransactionInclude = {}>({ transaction, signer, additionalSignatures, ...input }: WowClientTypes.SignAndExecuteTransactionOptions<Include>): Promise<WowClientTypes.TransactionResult<Include>>;
|
|
21168
21069
|
}
|
|
21169
21070
|
//#endregion
|
|
21170
21071
|
//#region src/client/client.d.ts
|
|
@@ -21172,13 +21073,9 @@ declare abstract class BaseClient {
|
|
|
21172
21073
|
network: WowClientTypes.Network;
|
|
21173
21074
|
cache: ClientCache;
|
|
21174
21075
|
base: BaseClient;
|
|
21175
|
-
constructor({
|
|
21176
|
-
network,
|
|
21177
|
-
base,
|
|
21178
|
-
cache
|
|
21179
|
-
}: WowClientTypes.WowClientOptions);
|
|
21076
|
+
constructor({ network, base, cache }: WowClientTypes.WowClientOptions);
|
|
21180
21077
|
abstract core: CoreClient;
|
|
21181
|
-
$extend<const Registrations extends WowClientRegistration<this>[]>(...registrations: Registrations): ClientWithExtensions<Simplify<UnionToIntersection<{ [K in keyof Registrations]: Registrations[K] extends WowClientRegistration<this, infer Name extends string, infer Extension> ? { [K2 in Name]: Extension } : never }[number]>>, this>;
|
|
21078
|
+
$extend<const Registrations extends WowClientRegistration<this>[]>(...registrations: Registrations): ClientWithExtensions<Simplify<UnionToIntersection<{ [K in keyof Registrations]: Registrations[K] extends WowClientRegistration<this, infer Name extends string, infer Extension> ? { [K2 in Name]: Extension; } : never; }[number]>>, this>;
|
|
21182
21079
|
}
|
|
21183
21080
|
//#endregion
|
|
21184
21081
|
//#region src/client/utils.d.ts
|
|
@@ -21231,4 +21128,4 @@ declare class WowClient extends WowJsonRpcClient {
|
|
|
21231
21128
|
constructor(options: WowClientOptions);
|
|
21232
21129
|
}
|
|
21233
21130
|
//#endregion
|
|
21234
|
-
export { TransactionObjectInput as $, WowObjectDataFilter as $S, TokenTypeInfo as $_, external_withdraw_guard_clear as $a, WowObjectChangeDeleted as $b, consensus_repositories_add as $c, TreasuryOp as $d, newGuard as $f, isValidValueType as $g, PermissionAddress as $h, ZipMetadata as $i, feedback$1 as $l, CoinObject as $m, generate_wts as $n, CallOrder as $o, MAX_GUARD_COUNT$2 as $p, MessageTimeField as $r, sale_suspension as $s, queryEthTxConfirmations as $t, ObjectArbitration as $u, SerializedTransactionDataV1 as $v, ObjectOwner$1 as $x, QueryEventsParams as $y, isWowJsonRpcClient as A, WowCallArg as AS, GetManyAccountOrMark_Address as A_, getCallEnvAccount as Aa, UnsafeTransferWowParams as Ab, namedOperator_set as Ac, PurchasedItem as Ad, queryTableItem_RewardRecord as Af, ValueType as Ag, MAX_MULTI_OPERANDS as Ah, SseNewMessageEvent as Ai, create$7 as Al, MoveErrors as Am, BridgeResult as An, policy_remove as Ao, create$11 as Ap, DEFAULT_MESSENGER_CONFIG as Ar, compensation_fund_add as As, encodeBridgeETHV2 as At, Amount as Au, DEFAULT_ED25519_DERIVATION_PATH as Av, DevInspectArgs as Ax, GetCheckpointsParams as Ay, parsePartialSignatures as B, WowMoveAbort as BS, fetch_token_info_operation as B_, CallTreasury as Ba, WGetNormalizedMoveFunctionParams as Bb, paymentFn as Bc, TableAnswerItem as Bd, CallGuard_Data as Bf, isGasTokenType as Bg, NormalObject as Bh, WtsFileResult as Bi, reward_clear$2 as Bl, W_SUCCESS as Bm, isWowChain as Bn, RecipientRecord as Bo, newPermission as Bp, GetSettingsResponse as Br, machine_set as Bs, BridgeNodeClientOptions as Bt, GuardSubmission as Bu, isWowGrpcClient as Bv, ExecuteTransactionRequestType as Bx, GetNormalizedMoveModuleParams as By, JsonRpcError as C, ClientCache as CC, TransactionFilter as CS, AccountOperation as C_, GuardInstructFilterOptions as Ca, UnsafePayWowParams as Cb, context_repository_clear as Cc, ObjectsQuery as Cd, queryTableItem_DemandPresenter as Cf, TxObject as Cg, IsValidEndpoint as Ch, SignedRequestBase as Ci, CallDemand_Data as Cl, ReceivedBalance as Cm, BridgeCallResult as Cn, data_id_from as Co, PermissionInfoType as Cp, ChainProofResponse as Cr, ServiceSale as Cs, TOKENS_CLAIMED_TOPIC as Ct, newAllocation as Cu, DEFAULT_SECP256R1_DERIVATION_PATH as Cv, Claim as Cx, EryEventsParams as Cy, PaginationArguments as D, ValidatorApy as DS, FetchTokenInfoOperation as D_, getGuardQueryInfo as Da, UnsafeSplitCoinEqualParams as Db, hold as Dc, PolicyWriteGuard as Dd, queryTableItem_PermissionPerm as Df, TypedDescriptionObject as Dg, MAX_GUARD_TABLE_ITEM_LENGTH as Dh, SseEventType as Di, MAX_GUARD_COUNT$1 as Dl, ReceivedObjects as Dm, BridgeErrorCode as Dn, policy as Do, adminAdd as Dp, ConversationInfo as Dr, arbitrations_remove as Ds, encodeBridgeERC20 as Dt, AllocationSharing as Du, DEFAULT_SECP256K1_DERIVATION_PATH as Dv, CompressedSignature$1 as Dx, GetAllCoinsParams as Dy, OrderArguments as E, UpgradeInfo as ES, FaucetNetwork as E_, filterGuardInstruct as Ea, UnsafeRequestWithdrawStakeParams as Eb, getMachineNodeForward as Ec, PolicyRule as Ed, queryTableItem_MachineNode as Ef, TypeNamedObjectWithPermission as Eg, MAX_ENV_PERMISSION_GUARD_COUNT as Eh, SseEvent as Ei, MAX_FEEDBACK_COUNT as El, ReceivedNormal as Em, BridgeError as En, newRepository as Eo, USER_DEFINED_PERM_INDEX_START as Ep, ContactListsSyncResult as Er, arbitrations_add as Es, encodeApprove as Et, AllocationMode as Eu, Secp256k1PublicKey as Ev, CommitteeInfo as Ex, GetAllBalancesParams as Ey, SerializeSignatureInput as F, WowEventFilter as FS, LocalNameByAddress as F_, CallProof as Fa, WGetCheckpointParams as Fb, CallPayment_Data as Fc, QueryTableItem_byU64 as Fd, query_table as Ff, WitnessType as Fg, MachineObject as Fh, UploadPreKeysResponse as Fi, guard_remove as Fl, WValidate as Fm, BridgeVersion as Fn, um_set$1 as Fo, entityRemove as Fp, ExistListRequest as Fr, description_set$3 as Fs, DepositParams as Ft, ArbProposition as Fu, GrpcWebOptions$1 as Fv, DynamicFieldName$1 as Fx, GetDynamicFieldsParams as Fy, ParsedKeypair as G, WowMoveNormalizedFunction as GS, query_local_info as G_, deposit as Ga, WGetProtocolConfigParams as Gb, ForwardParam as Gc, TableItem_EntityRegistrar as Gd, GuardTableItem as Gf, isValidLongName as Gg, OperatorType as Gh, WtsRange as Gi, MAX_VOTING_GUARD_COUNT as Gl, AllocationAddress as Gm, GuardParam as Gn, create$2 as Go, permSet as Gp, MerkleProof as Gr, price_reduce as Gs, BridgeTransferStatus as Gt, MachineForward as Gu, GraphQLQueryResult as Gv, MoveCallParams as Gx, GetProtocolConfigParams as Gy, Keypair as H, WowMoveModuleId as HS, local_mark_operation as H_, MAX_EXTERNAL_DEPOSIT_GUARD_COUNT as Ha, WGetNormalizedMoveModulesByPackageParams as Hb, receiveToMyself as Hc, TableItem_AddressMark as Hd, GuardParseError as Hf, isValidArray as Hg, ObjectResult as Hh, WtsMessage as Hi, um_set$5 as Hl, enrichMoveError as Hm, BlacklistResponse as Hn, RewardRecord as Ho, ownerReceiveObject as Hp, ListOperationResponse as Hr, order_allocators_set as Hs, BRIDGE_STEP_DESCRIPTIONS as Ht, IdFromInput as Hu, GrpcCoreClientOptions as Hv, GasCostSummary$2 as Hx, GetNormalizedMoveStructParams as Hy, parseSerializedSignature as I, WowExecutionResult as IS, ManyAccountOrMark_Address as I_, CallProof_Data as Ia, WGetCheckpointsParams as Ib, MAX_RECIPIENT_COUNT as Ic, RewardGuard as Id, query_tableItem as If, arbitrationFn as Ig, Modules as Ih, WTS_FILE_BYTES_LIMIT as Ii, location_set$1 as Il, W_ENSURE as Im, SignedAction as In, CallReward as Io, entityReplace as Ip, FailedPrekeyInfo as Ir, discount as Is, depositErc20 as It, ArbStatus as Iu, RpcTransport$1 as Iv, DynamicFieldType as Ix, GetLatestCheckpointSequenceNumberParams as Iy, W_PRIVATE_KEY_PREFIX as J, WowMoveNormalizedType as JS, query_local_mark as J_, external_deposit_guard_add as Ja, WMultiGetObjectsParams as Jb, MAX_NODE_COUNT as Jc, TableItem_ProgressHistory as Jd, formatGuardParseErrors as Jf, isValidU16 as Jg, PackageAddress as Jh, WtsSignature as Ji, confirm as Jl, ArbObject as Jm, SettingsRequest as Jn, guard_expiration_time_add as Jo, remarkClear as Jp, MessageDirection as Jr, repository_clear as Js, makeBridgeTransferState as Jt, MachineNodePair as Ju, WowGraphQLClientOptions as Jv, MoveVariant as Jx, GetStakesParams as Jy, SignatureWithBytes as K, WowMoveNormalizedModule as KS, query_local_info_default as K_, description_set as Ka, WGetTotalTransactionBlocksParams as Kb, MAX_CONSENSUS_REPOSITORIES_COUNT as Kc, TableItem_MachineNode as Kd, GuardTableItemBase as Kf, isValidName as Kg, OrderAddress as Kh, WtsServerPublicKey as Ki, arb_withdraw as Kl, AllocationObject as Km, GuardlistRequest as Kn, description_set$2 as Ko, permissionFn as Kp, Message as Kr, publish as Ks, BridgeTransferStep as Kt, MachineForwardGuard as Ku, GraphQLResponseErrors as Kv, MoveStruct as Kx, GetReferenceGasPriceParams as Ky, toSerializedSignature as L, WowGasData as LS, QueryAccount as L_, gen_proof as La, WGetEventsParams as Lb, Revenue as Lc, ServiceGuard as Ld, query_table_json as Lf, contactFn as Lg, NamedObject as Lh, WTS_MAX_MESSAGE_COUNT as Li, newDemand as Ll, W_ERROR as Lm, TransferRecord as Ln, CallReward_Data as Lo, entitySet as Lp, FetchMessagesRequest as Lr, discount_destroy as Ls, depositEth as Lt, ArbVoted as Lu, types_d_exports as Lv, ECMHLiveObjectSetDigest as Lx, GetLatestWowSystemStateParams as Ly, isValidHardenedPath as M, WowCoinMetadata as MS, LocalInfoOperationResult as M_, restoreNodeFromOutput as Ma, WDryRunTransactionBlockParams as Mb, progressFn as Mc, QueryTableItem_byAddress as Md, query_objects as Mf, ValueTypeToType as Mg, MAX_PERMISSION_GUARD_COUNT as Mh, TimeRange as Mi, feedback as Ml, WErrors as Mm, BridgeToken as Mn, reward_add as Mo, entityAdd as Mp, DecryptedMessage as Mr, compensation_fund_withdraw as Ms, encodeTransferBridgedTokensWithSignatures as Mt, AmountFromWithdrawGuard as Mu, Ed25519KeypairData as Mv, DisplayFieldsResponse as Mx, GetCoinsParams as My, mnemonicToSeed as N, WowEndOfEpochTransactionKind as NS, LocalMarkOperation as N_, CallContact as Na, WExecuteTransactionBlockParams as Nb, task_set as Nc, QueryTableItem_byNameAddress as Nd, query_objects_json as Nf, WObject as Ng, MAX_TABLE_SIZE as Nh, UpdateSettingsRequest as Ni, guard_add$1 as Nl, WException as Nm, BridgeTokenId as Nn, reward_clear as No, entityCopy as Np, Empty as Nr, create$3 as Ns, DepositErc20Options as Nt, AmountType as Nu, Ed25519PublicKey as Nv, DryRunTransactionBlockResponse as Nx, GetCommitteeInfoParams as Ny, WowJsonRpcClient as O, ValidatorsApy as OS, GetAccountOrMark_Address as O_, RestoreNodeResult as Oa, UnsafeSplitCoinParams as Ob, namedOperator_add as Oc, ProgressSession as Od, queryTableItem_ProgressHistory as Of, TypedPermissionObject as Og, MAX_INPUT_SIZE as Oh, SseGuardConfirmedEvent as Oi, MAX_REWARD_COUNT$2 as Ol, ReceivedObjectsOrRecently as Om, BridgeLimit as On, policy_add as Oo, adminRemove as Op, ConversationsFilter as Or, buy as Os, encodeBridgeERC20V2 as Ot, Allocator as Ou, Secp256k1Keypair as Ov, ConsensusDeterminedVersionAssignments$1 as Ox, GetBalanceParams as Oy, mnemonicToSeedHex as P, WowEvent as PS, LocalMarkOperationResult as P_, CallContact_Data as Pa, WGetChainIdentifierParams as Pb, CallPayment as Pc, QueryTableItem_byString as Pd, query_personal as Pf, WithPermissionObject as Pg, MachineAddress as Ph, UploadPreKeysRequest as Pi, guard_clear as Pl, WResult as Pm, BridgeTokenSymbol as Pn, reward_remove as Po, entityDel as Pp, EventStreamParams as Pr, customer_required_set as Ps, DepositEthOptions as Pt, ArbIndemnity as Pu, GrpcWebFetchTransport$1 as Pv, DynamicFieldInfo as Px, GetDynamicFieldObjectParams as Py, TransactionObjectArgument as Q, WowObjectData as QS, TokenInfo as Q_, external_withdraw_guard_add as Qa, WowObjectChangeCreated as Qb, THRESHOLD_DEFAULT as Qc, TableQuery as Qd, guardFn as Qf, isValidU8 as Qg, PaymentObject as Qh, ZipContentType as Qi, fee_set as Ql, CallEnv as Qm, friendslist as Qn, um_set$2 as Qo, um_set$7 as Qp, MessageStatus as Qr, reward_remove$1 as Qs, queryEthBalance as Qt, ObjectArb as Qu, SerializedTransactionDataV2 as Qv, MultiSigPublicKeyLegacy as Qx, MultiGetTransactionBlocksParams as Qy, MultiSigPublicKey as R, WowMoveAbility as RS, QueryAccountResult as R_, CallPersonal as Ra, WGetLatestCheckpointSequenceNumberParams as Rb, create$5 as Rc, ServiceSale$1 as Rd, raw2type as Rf, createValueContainer as Rg, NamedObjectWithDescription as Rh, WTS_SCHEMA_URL as Ri, present as Rl, W_FAILURE as Rm, TransferStatus as Rn, MAX_GUARD_COUNT as Ro, entitySwap as Rp, GetBundleParams as Rr, discount_send as Rs, depositFromEth as Rt, DiscountType as Ru, WowGrpcClient as Rv, EndOfEpochData$1 as Rx, GetMoveFunctionArgTypesParams as Ry, getJsonRpcFullnodeUrl as S, JsonRpcTransportRequestOptions as SC, TransactionEffects$2 as SS, valueTypeToString as S_, GuardInstruct as Sa, UnsafePayParams as Sb, context_repository_add as Sc, ObjectsAnswer as Sd, queryTableItem_AddressMark as Sf, TxNumberVec as Sg, IsValidBalance as Sh, SignedRequest as Si, CallDemand as Sl, QueryReceived as Sm, verifyCommitteeConsistency as Sn, data$1 as So, PermissionInfo as Sp, ChainProofRequest as Sr, ServiceRequiredObject as Ss, ERC20_TRANSFER_TOPIC as St, create$9 as Su, Secp256r1PublicKey as Sv, CheckpointId as Sx, DryRunTransactionBlockParams as Sy, WowHTTPTransportError as T, TypeOrigin$1 as TS, AccountOrMark_Address as T_, GuardQuery as Ta, UnsafeRequestAddStakeParams as Tb, create$4 as Tc, PersonalQuery as Td, queryTableItem_EntityRegistrar as Tf, TypeNamedObject as Tg, MAX_DESCRIPTION_LENGTH as Th, SseCustomEvent as Ti, FeedbackInfo as Tl, ReceivedBalanceOrRecently as Tm, BridgeCommitteeMember as Tn, description_set$1 as To, Permission_Index_Entity as Tp, ContactLists as Tr, arbitration_clear as Ts, TOKENS_DEPOSITED_V2_TOPIC as Tt, sharing as Tu, Secp256r1KeypairData as Tv, CoinSupply as Tx, ExecuteTransactionBlockParams as Ty, LEGACY_PRIVATE_KEY_SIZE as U, WowMoveNormalizedEnum as US, query_account as U_, MAX_EXTERNAL_WITHDRAW_GUARD_COUNT as Ua, WGetNormalizedMoveStructParams as Ub, CallMachine as Uc, TableItem_DemandPresenter as Ud, GuardParseResult as Uf, isValidDescription as Ug, ObjectType as Uh, WtsMeta as Ui, CallArbitration as Ul, getMoveErrorDescription as Um, FriendslistRequest as Un, claim as Uo, permAdd as Up, MAX_QUERY_LIMIT as Ur, pause as Us, BridgeTransferDirection as Ut, Im as Uu, GraphQLDocument as Uv, GetPastObjectRequest as Ux, GetObjectParams as Uy, FALCON512_PRIVATE_KEY_SIZE as V, WowMoveFunctionArgType as VS, local_info_operation as V_, CallTreasury_Data as Va, WGetNormalizedMoveModuleParams as Vb, paymentInfo as Vc, TableItemQuery as Vd, GuardNode as Vf, isThisPackage as Vg, ObjectModuleAndName as Vh, WtsGenerationParams as Vi, reward_remove$2 as Vl, W_VALIDATE_PARAM as Vm, BlacklistRequest as Vn, RewardGuardObject as Vo, ownerReceive as Vp, GuardListItem as Vr, newService as Vs, SignedBridgeActionResponse as Vt, IdFrom as Vu, GrpcCoreClient as Vv, ExecutionStatus$2 as Vx, GetNormalizedMoveModulesByPackageParams as Vy, PRIVATE_KEY_SIZE as W, WowMoveNormalizedField as WS, query_account_list as W_, create as Wa, WGetObjectParams as Wb, CallMachine_Data as Wc, TableItem_EntityLinker as Wd, GuardSubmissionToFill as Wf, isValidHttpUrl as Wg, ObjectWithType as Wh, WtsPayload as Wi, CallArbitration_Data as Wl, AddressResult as Wm, FriendslistResponse as Wn, coin_add as Wo, permRemove as Wp, MerkleMetadata as Wr, price_add as Ws, BridgeTransferState as Wt, MAX_OBJECTS_PER_QUERY as Wu, GraphQLQueryOptions as Wv, InputObjectKind as Wx, GetOwnedObjectsParams as Wy, encodeWowPrivateKey as X, WowMoveVisibility as XS, query_local_token_list as X_, external_deposit_guard_remove as Xa, WTryGetPastObjectParams as Xb, NodePairParam as Xc, TableItem_RewardRecord as Xd, generateNodeComments as Xf, isValidU32 as Xg, PaymentAddress as Xh, WtsToHtmlOptions as Xi, description_set$6 as Xl, ArbitrationObject as Xm, blacklist as Xn, newReward as Xo, remarkSet as Xp, MessageIdRange as Xr, reward_add$1 as Xs, parseEthDepositEvent as Xt, OBJECT_TYPE_DEFINITIONS as Xu, isWowGraphQLClient as Xv, MultiSigLegacy as Xx, GetTransactionBlockParams as Xy, decodeWowPrivateKey as Y, WowMoveStructTypeParameter as YS, query_local_mark_list as Y_, external_deposit_guard_clear as Ya, WMultiGetTransactionBlocksParams as Yb, MAX_NODE_PAIR_COUNT as Yc, TableItem_RepositoryData as Yd, gen_passport as Yf, isValidU256 as Yg, PassportObject as Yh, WtsSignatureVerification as Yi, create$8 as Yl, ArbitrationAddress as Ym, SettingsResponse as Yn, guard_remove_expired as Yo, remarkRemove as Yp, MessageFilter as Yr, repository_remove as Ys, parseEthClaimEvent as Yt, NamedOperator$1 as Yu, WowGraphQLRequestError as Yv, MultiSig as Yx, GetTotalSupplyParams as Yy, Transaction$1 as Z, WowObjectChange as ZS, TokenDataFilter as Z_, external_withdraw as Za, WTryMultiGetPastObjectsParams as Zb, NodeParam as Zc, TableItem_TreasuryHistory as Zd, guard2file as Zf, isValidU64 as Zg, PaymentInfoObject as Zh, WtsVerificationResult as Zi, dispute as Zl, BalanceType as Zm, extract_zip_messages as Zn, receive$1 as Zo, transferPermission as Zp, MessageListResult as Zr, reward_clear$1 as Zs, queryErc20Balance as Zt, ObjectAllocation as Zu, TransactionDataBuilder as Zv, MultiSigPublicKey$1 as Zx, MultiGetObjectsParams as Zy, SerialTransactionExecutor as _, WowWithdrawalTypeArg as _C, Signature as _S, toTxU256 as __, query_events_json as _a, TryMultiGetPastObjectsParams as _b, ProgressEvent$1 as _c, ObjectResource as _d, idFromToString as _f, TreasuryAddress as _g, GetObjectExisted as _h, SeqIndexRange as _i, pause$1 as _l, parseTypeParameter as _m, MAINNET_COMMITTEE_WEIGHTS as _n, RepositoryPolicyGuardObject as _o, MAX_ADMIN_COUNT as _p, AddListRequest as _r, MAX_REWARD_COUNT$1 as _s, ClaimEthParams as _t, MAX_ALLOCATOR_COUNT as _u, BrowserPasskeyProvider as _v, AccumulatorValue as _x, IntentScope as _y, formatMoveAbortMessage as a, WowProgrammableMoveCall as aC, PaginatedCoins as aS, object_name_from_type as a_, ArbEvent as aa, TCoinsParams as ab, stock_add as ac, ObjectEntityLinker as ad, WitnessTargetType as af, Recipient as ag, ContextType as ah, PQPreKeyPublic as ai, forwards_add as al, guardAdd as am, waitForWowTx as an, CallRepository as ao, reliesRemove as ap, pull_messages as ar, DEFAULT_SETTING_LOCK_DURATION as as, Inputs as at, reset as au, MAX_MESSENGER_ACCOUNTS as av, CoinBalance as ax, TransactionData$1 as ay, getPureBcsSchema as b, JsonRpcHTTPTransportOptions as bC, TransactionBlockData as bS, toTxU8 as b_, GUARDINSTRUCT as ba, UnsafeMoveCallParams as bb, accomplish as bc, ObjectTreasury as bd, objectTypeToNumber as bf, TxAddressVec as bg, IsBcsStringLength as bh, ServerRegisterResponse as bi, publish$1 as bl, validObjects as bm, findToken as bn, SignerOrClockBase as bo, PermissionFilter as bp, CHAIN_PROOF_TYPE as br, ServiceBuyItem as bs, claimOnEthBySeq as bt, allocationFn as bu, PasskeyProvider as bv, Checkpoint$1 as bx, BscribeTransactionParams as by, BaseClient as c, WowTransaction as cC, PaginatedObjectsResponse as cS, rewardFn as c_, EventAnswer as ca, TDynamicFieldsParams as cb, CallProgress as cc, ObjectMachine as cd, getMoveNameFromObjectType as cf, RepositoryAddress as cg, DescriptionObject as ch, PreKeyStatus as ci, machineNode2file as cl, passportFn as cm, WowClaimState as cn, KeyData as co, CallResponseError as cp, settings as cr, Discount as cs, TransactionInput as ct, usage_guard_set as cu, verifyPersonalMessageSignature as cv, EndOfEpochInfo as cx, WowClientTypes as cy, CoreClientOptions as d, WowTransactionBlockKind as dC, PasskeyAuthenticator$1 as dS, toTxAddressVec as d_, EventQuery as da, TReferenceGasPriceParams as db, Holder as dc, ObjectPayment as dd, getNumbersFromObjectTypes as df, ResourceObject as dg, ENTITY_REGISTRAR_ADDRESS as dh, RemoteBundle as di, node_add as dl, bcsBytesToValue as dm, queryWowClaimStatus as dn, MAX_POLICY_COUNT as do, ResponseData as dp, watch_conversations as dr, MAX_DISCOUNT_COUNT_ONCE as ds, BridgeClientOptions as dt, voting_guard_add as du, MultiSigSigner as dv, ProgrammableTransaction$1 as dx, SIGNATURE_SCHEME_TO_SIZE as dy, WowObjectDataOptions as eC, ObjectRead as eS, isValidValueTypeInput as e_, INFO_CONSTANT as ea, QueryTransactionBlocksParams as eb, sales_add as ec, ObjectBase as ed, TreasuryRecord as ef, PermissionObject as eg, CoinParam as eh, MessageType$1 as ei, consensus_repositories_clear as el, MAX_GUARD_COUNT_ONCE as em, queryEthTxReceipt as en, external_withdraw_guard_remove as eo, parseGuardFile as ep, getMessengerManager as er, CallOrder_Data as es, TransactionResult$1 as et, fees_alloc as eu, Account as ev, WowObjectChangeMutated as ex, Argument$1 as ey, isArgument as f, WowTransactionBlockResponse as fC, ProtocolConfig$2 as fS, toTxObject as f_, EventType as fa, TStakesByIdsParams as fb, MAX_CONTEXT_REPOSITORY_COUNT as fc, ObjectPermission as fd, getObjectTypeDefinition as ff, RewardAddress as fg, EntityAddress as fh, RemoveListRequest as fi, node_clear as fl, extractCoinType as fm, BridgeConfig as fn, MAX_POLICY_DESCRIPTION_LEN as fo, getCoinParam as fp, watch_messages as fr, MAX_DISCOUNT_RECEIVER_ONCE as fs, BridgeTransferRecord as ft, voting_guard_clear as fu, DEFAULT_FALCON512_DERIVATION_PATH as fv, WowMoveNormalizedModules as fx, SignatureFlag as fy, ParallelTransactionExecutorOptions as g, WowWithdrawFrom as gC, RawData as gS, toTxU16Vec as g_, query_events as ga, TryGetPastObjectParams as gb, NamedOperator as gc, ObjectRepository as gd, getObjectTypesFromNumbers as gf, SupportedValue as gg, GetObjectDescription as gh, SendMessageResult as gi, nodepair as gl, parseRecipient as gm, MAINNET_COMMITTEE_PUBKEYS as gn, RepDataItem as go, CallPermission_Data as gp, AddGuardListRequest as gr, MAX_REQUIRED_INFO_SIZE as gs, ClaimEthOptions as gt, CallAllocation_Data as gu, PasskeyPublicKey as gv, AccumulatorOperation as gx, bytesEqual as gy, ParallelTransactionExecutor as h, WowValidatorSummary as hC, RPCTransactionRequestParams as hS, toTxU16 as h_, ProgressEvent as ha, TValidatorsApyParams as hb, MachineNodeForwardResult as hc, ObjectProof as hd, getObjectTypeFromNumber as hf, ServiceObject as hg, GetObject as hh, SendMessageResponse as hi, node_rename as hl, parseObjectType as hm, MAINNET_COMMITTEE_MEMBER_ADDRESSES as hn, RemoveParam as ho, CallPermission as hp, Messenger as hr, MAX_REPOSITORY_COUNT as hs, depositFromWow as ht, CallAllocation as hu, Falcon512PublicKey as hv, AccumulatorEvent as hx, PublicKeyInitData as hy, extractStatusFromEffectsBcs as i, WowParsedData as iC, PaginatedCheckpoints as iS, object_module_and_name_from_type as i_, queryProtocolInfo as ia, TCoinMetadataParams as ib, setting_lock_duration_set as ic, ObjectEntity as id, WitnessSourceType as if, ReceivedObject as ig, ContactObject as ih, NORMAL_MESSAGE_BYTES_LIMIT as ii, forward as il, get_guardSubmissions as im, waitForEthTx as in, withdraw as io, reliesLogic as ip, proof_message as ir, CompensationClaim as is, TransactionPlugin as it, pause$2 as iu, FaucetCoinInfo as iv, Order as ix, ObjectRef as iy, isValidBIP32Path as j, WowChangeEpoch as jS, LocalInfoOperation as j_, resolveCallEnv as ja, WDevInspectTransactionBlockParams as jb, newProgress as jc, QueryTableItem_Entity as jd, queryTableItem_TreasuryHistory as jf, ValueTypeInput as jg, MAX_NAME_LENGTH as jh, SsePreKeyLowEvent as ji, description_set$5 as jl, MoveModuleError as jm, BridgeSummary as jn, policy_set as jo, descriptionSet as jp, DEFAULT_QUERY_LIMIT as jr, compensation_fund_receive as js, encodeTokenTransferPayloadV2 as jt, AmountFromDepositGuard as ju, Ed25519Keypair as jv, DevInspectResults as jx, GetCoinMetadataParams as jy, WowJsonRpcClientOptions as k, WowArgument as kS, GetLocalNamesByAddresses as k_, checkType as ka, UnsafeTransferObjectParams as kb, namedOperator_remove as kc, ProgressSessionHolder as kd, queryTableItem_RepositoryData as kf, ValueContainer as kg, MAX_LONG_NAME_LENGTH as kh, SseGuardRejectedEvent as ki, ServiceInfo$2 as kl, query_received as km, BridgeMessage as kn, policy_clear as ko, adminSet as kp, DEFAULT_DEVICE_ID as kr, buy_guard_set as ks, encodeBridgeETH as kt, Allocators as ku, Secp256k1KeypairData as kv, DelegatedStake as kx, GetCheckpointParams as ky, ClientWithCoreApi as l, WowTransactionBlock as lC, PaginatedStrings as lS, serviceFn as l_, EventBase as la, TLatestWowSystemStateParams as lb, CallProgress_Data as lc, ObjectOrder as ld, getNumberFromMoveName as lf, RepositoryObject as lg, DiscountObject as lh, PullMessagesResponse as li, newMachine as ll, verify as lm, WowClaimStatus as ln, MAX_DATA_SIZE as lo, CallResult as lp, sign_wts as lr, MAX_ARBITRATION_COUNT as ls, UpgradePolicy as lt, vote as lu, verifySignature as lv, EpochInfo as lx, SIGNATURE_FLAG_TO_SCHEME as ly, coinWithBalance as m, WowTransactionBlockResponseQuery as mC, PublicKey$1 as mS, toTxU128 as m_, NewOrderEvent as ma, TTotalSupplyParams as mb, MAX_NAMED_OPERATOR_COUNT as mc, ObjectProgress as md, getObjectTypeFromMoveName as mf, ServiceAddress as mg, GasTokenType as mh, SendMessageRequest as mi, node_remove as ml, owner_receive as mm, MAINNET_BRIDGE_CONFIG as mn, MAX_REWARD_COUNT as mo, BuiltinPermissionIndex as mp, MessengerManager as mr, MAX_PUBKEY_LENGTH as ms, DepositWowResult as mt, AllocatorsType as mu, Falcon512KeypairData as mv, WowMovePackage as mx, PublicKey as my, WowClientOptions as n, WowObjectResponse as nC, ObjectValueKind as nS, isWitnessType as n_, ProtocolInfoResult as na, TAllCoinsParams as nb, sales_remove as nc, ObjectDemand as nd, VotingGuard as nf, ProgressObject as ng, CoinWrapperObject as nh, MessengerError as ni, create$6 as nl, destroy as nm, queryWowToEvmTransferStatus as nn, receive as no, reliesAdd as np, mark_conversation_as_viewed as nr, CallService as ns, BuildTransactionOptions as nt, location_set$2 as nu, AccountFilter as nv, WowObjectChangeTransferred as nx, Command$1 as ny, parseTransactionBcs as o, WowReservation as oC, PaginatedDynamicFieldInfos as oS, parseValueType as o_, DemandFeedbackEvent as oa, TCommitteeInfoParams as ob, stock_reduce as oc, ObjectEntityRegistrar as od, data2object as of, RecipientType as og, DemandAddress as oh, PlaintextMessage as oi, forwards_remove as ol, guardClear as om, ClaimWowParams as on, CallRepository_Data as oo, validateGuardNode as op, send_file as or, DISCOUNT_TYPE_MINUS as os, TransactionArgument as ot, um_set$6 as ou, publicKeyFromRawBytes as ov, CheckpointPage as ox, ClientWithExtensions as oy, Arguments as p, WowTransactionBlockResponseOptions as pC, ProtocolConfigValue as pS, toTxString as p_, NewEntityEvent as pa, TStakesParams as pb, MAX_NAMED_OPERATOR_ADDRESS_COUNT as pc, ObjectPersonal as pd, getObjectTypeDefinitionFromNumber as pf, RewardObject as pg, GasCoinType as ph, SERVER_URL as pi, node_exchange_name as pl, isValidValueContainer as pm, EvmChainConfig as pn, MAX_POLICY_GUARD_COUNT as po, isCallResultSubmission as pp, wts2html as pr, MAX_DISCOUNT_TOTAL_COUNT as ps, DepositWowParams as pt, voting_guard_remove as pu, Falcon512Keypair as pv, WowMoveObject as px, SignatureScheme$1 as py, Signer as q, WowMoveNormalizedStruct as qS, query_local_info_list as q_, external_deposit as qa, WGetTransactionBlockParams as qb, MAX_FORWARD_ORDER_COUNT as qc, TableItem_PermissionPerm as qd, create$10 as qf, isValidU128 as qg, OrderObject as qh, WtsSession as qi, arbitration as ql, ArbAddress as qm, GuardlistResponse as qn, guard_add as qo, query_permissions as qp, MessageContentType as qr, repository_add as qs, EvmTxReceipt as qt, MachineNode as qu, WowGraphQLClient as qv, MoveValue as qx, GetStakesByIdsParams as qy, SimulationError as r, WowObjectResponseQuery as rC, OwnedObjectRef as rS, machineFn as r_, queryPermissions as ra, TBalanceParams as rb, sales_set as rc, ObjectDiscount as rd, WReceivedObject as rf, ProofAddress as rg, ContactAddress as rh, MessengerErrorCode as ri, description_set$4 as rl, freeze as rm, queryWowTx as rn, um_set as ro, reliesClear as rp, mark_messages_as_viewed as rr, CallService_Data as rs, SerializeTransactionOptions as rt, newArbitration as ru, DEFAULT_ACCOUNT_NAME as rv, WowObjectChangeWrapped as rx, GasData as ry, parseTransactionEffectsBcs as s, WowSystemStateSummary as sC, PaginatedEvents as sS, repositoryFn as s_, DemandPresentEvent as sa, TDynamicFieldObjectParams as sb, um_set$3 as sc, ObjectGuard as sd, getMoveNameFromNumber as sf, RegistrarAddress as sg, DemandObject as sh, PreKeyPublic as si, init_node_name as sl, newPassport as sm, ClaimWowResult as sn, DataRemoveItem as so, CallBase as sp, send_message as sr, DISCOUNT_TYPE_RATES as ss, TransactionCommands as st, usage_guard_none as su, publicKeyFromWowBytes as sv, DynamicFieldPage as sx, WowClientRegistration as sy, WowClient as t, WowObjectRef as tC, ObjectResponseError as tS, isValueTypeNumber as t_, ProtocolInfoQuery as ta, TAllBalancesParams as tb, sales_clear as tc, ObjectContact as td, VoteWeight as tf, ProgressAddress as tg, CoinWrapPrefix as th, MessengerConfig as ti, consensus_repositories_remove as tl, SubmissionCall as tm, queryEvmToWowTransferStatus as tn, newTreasury as to, parseGuardFromMarkdown as tp, guardlist as tr, Buy as ts, isTransaction as tt, fees_transfer as tu, AccountData as tv, WowObjectChangePublished as tx, CallArg as ty, CoreClient as u, WowTransactionBlockBuilderMode as uC, PaginatedTransactionResponse as uS, toTxAddress as u_, EventCursor as ua, TOwnedObjectsParams as ub, History as uc, ObjectPassport as ud, getNumberFromObjectType as uf, ResourceAddress as ug, ENTITY_LINKER_ADDRESS as uh, RangeType as ui, node as ul, verify_guard as um, claimOnWow as un, MAX_ID_COUNT_ONCE as uo, ObjectsOp as up, verify_wts as ur, MAX_CUSTOMER_REQUIRED_INFO_COUNT as us, BridgeClient as ut, voting_deadline_change as uu, verifyTransactionSignature as uv, EpochPage as ux, SIGNATURE_SCHEME_TO_FLAG as uy, AsyncCache as v, HttpHeaders as vC, StakeObject as vS, toTxU32 as v_, queryObjectWithType as va, UnsafeBatchTransactionParams as vb, ProgressNext as vc, ObjectReward as vd, isValidIdFromInput as vf, TreasuryObject as vg, GuardAddress as vh, ServerMessage as vi, prev_nodes_remove as vl, permission_set as vm, findEvmChainConfig as vn, RepositoryPolicyRuleObject as vo, MAX_ENTITY_COUNT as vp, AddressExistence as vr, MAX_SALE_COUNT as vs, buildClaimMessage as vt, MAX_SHARING_COUNT as vu, BrowserPasswordProviderOptions as vv, Balance$2 as vx, messageWithIntent as vy, WowHTTPStatusError as w, ClientCacheOptions as wC, TransferObjectParams as wS, AccountOperationResult as w_, GuardItem as wa, UnsafePublishParams as wb, context_repository_remove as wc, PaymentInfo as wd, queryTableItem_EntityLinker as wf, TxString as wg, MAX_DEPENDED_COUNT as wh, SseArkConfirmedEvent as wi, DemandPresent as wl, ReceivedBalanceObject as wm, BridgeChainId as wn, data_remove as wo, Permission_Index as wp, ClearListRequest as wr, ServiceSaleObject as ws, TOKENS_DEPOSITED_TOPIC as wt, receive$2 as wu, Secp256r1Keypair as wv, CoinStruct as wx, EryTransactionBlocksParams as wy, normalizedTypeToMoveTypeSignature as x, JsonRpcTransport as xC, TransactionBlockEffectsModifiedAtVersions as xS, treasuryFn as x_, GUARDQUERY as xa, UnsafePayAllWowParams as xb, adminUnhold as xc, ObjectTypeDefinition as xd, parseIdFrom as xf, TxNumber as xg, IsValidArgType as xh, SessionState as xi, um_set$4 as xl, valueToBcsBytes as xm, findTokenBySymbol as xn, create$1 as xo, PermissionIndexType as xp, CURRENT_NETWORK as xr, ServiceQuoteObject as xs, AbiMessage as xt, allocators as xu, findCommonPublicKey as xv, CheckpointCommitment$1 as xx, DevInspectTransactionBlockParams as xy, ObjectCache as y, JsonRpcHTTPTransport as yC, TransactionBlockBytes as yS, toTxU64 as y_, queryObjectsWithType as ya, UnsafeMergeCoinsParams as yb, Session as yc, ObjectService as yd, numberToObjectType as yf, TxAddress as yg, GuardObject as yh, ServerRegisterRequest as yi, prev_nodes_remove_with_passport as yl, uint2address as ym, findEvmChainConfigByBridgeChainId as yn, SignerOrClock as yo, MAX_PERM_FOR_ENTITY as yp, BaseRange as yr, NAMED_OPERATOR_ORDER_PAYER as ys, claimOnEth as yt, alloc as yu, PasskeyKeypair as yv, BalanceChange$2 as yx, BscribeEventParams as yy, MultiSigStruct as z, WowMoveAbilitySet as zS, account_operation as z_, CallPersonal_Data as za, WGetMoveFunctionArgTypesParams as zb, newPayment as zc, TableAnswer as zd, CallGuard as zf, demandFn as zg, NamedObjectWithPermission as zh, WtsFile as zi, reward_add$2 as zl, W_SAFE as zm, isEvmChain as zn, MAX_RECORD_COUNT as zo, isBizPermIndex as zp, GetSettingsRequest as zr, location_set as zs, BridgeNodeClient as zt, GuardInPassport as zu, WowGrpcClientOptions as zv, EventId as zx, GetNormalizedMoveFunctionParams as zy };
|
|
21131
|
+
export { TransactionObjectInput as $, WowObjectDataFilter as $S, TokenTypeInfo as $_, external_withdraw_guard_clear as $a, WowObjectChangeDeleted as $b, consensus_repositories_add as $c, TreasuryOp as $d, newGuard as $f, isValidValueType as $g, PermissionAddress as $h, BridgeVersion as $i, feedback$1 as $l, CoinObject as $m, AddListRequest as $n, CallOrder as $o, MAX_GUARD_COUNT$2 as $p, SeqIndexRange as $r, sale_suspension as $s, queryEthTxConfirmations as $t, ObjectArbitration as $u, SerializedTransactionDataV1 as $v, ObjectOwner$1 as $x, QueryEventsParams as $y, isWowJsonRpcClient as A, WowCallArg as AS, GetManyAccountOrMark_Address as A_, getCallEnvAccount as Aa, UnsafeTransferWowParams as Ab, namedOperator_set as Ac, PurchasedItem as Ad, queryTableItem_RewardRecord as Af, ValueType as Ag, MAX_MULTI_OPERANDS as Ah, WtsSignature as Ai, create$7 as Al, MoveErrors as Am, SettingsRequest as An, policy_remove as Ao, create$11 as Ap, MessageDirection as Ar, compensation_fund_add as As, encodeBridgeETHV2 as At, Amount as Au, DEFAULT_ED25519_DERIVATION_PATH as Av, DevInspectArgs as Ax, GetCheckpointsParams as Ay, parsePartialSignatures as B, WowMoveAbort as BS, fetch_token_info_operation as B_, CallTreasury as Ba, WGetNormalizedMoveFunctionParams as Bb, paymentFn as Bc, TableAnswerItem as Bd, CallGuard_Data as Bf, isGasTokenType as Bg, NormalObject as Bh, queryProtocolInfo as Bi, reward_clear$2 as Bl, W_SUCCESS as Bm, proof_message as Bn, RecipientRecord as Bo, newPermission as Bp, NORMAL_MESSAGE_BYTES_LIMIT as Br, machine_set as Bs, BridgeNodeClientOptions as Bt, GuardSubmission as Bu, isWowGrpcClient as Bv, ExecuteTransactionRequestType as Bx, GetNormalizedMoveModuleParams as By, JsonRpcError as C, ClientCache as CC, TransactionFilter as CS, AccountOperation as C_, GuardInstructFilterOptions as Ca, UnsafePayWowParams as Cb, context_repository_clear as Cc, ObjectsQuery as Cd, queryTableItem_DemandPresenter as Cf, TxObject as Cg, IsValidEndpoint as Ch, WtsGenerationParams as Ci, CallDemand_Data as Cl, ReceivedBalance as Cm, BlacklistRequest as Cn, data_id_from as Co, PermissionInfoType as Cp, GuardListItem as Cr, ServiceSale as Cs, TOKENS_CLAIMED_TOPIC as Ct, newAllocation as Cu, DEFAULT_SECP256R1_DERIVATION_PATH as Cv, Claim as Cx, EryEventsParams as Cy, PaginationArguments as D, ValidatorApy as DS, FetchTokenInfoOperation as D_, getGuardQueryInfo as Da, UnsafeSplitCoinEqualParams as Db, hold as Dc, PolicyWriteGuard as Dd, queryTableItem_PermissionPerm as Df, TypedDescriptionObject as Dg, MAX_GUARD_TABLE_ITEM_LENGTH as Dh, WtsRange as Di, MAX_GUARD_COUNT$1 as Dl, ReceivedObjects as Dm, GuardParam as Dn, policy as Do, adminAdd as Dp, MerkleProof as Dr, arbitrations_remove as Ds, encodeBridgeERC20 as Dt, AllocationSharing as Du, DEFAULT_SECP256K1_DERIVATION_PATH as Dv, CompressedSignature$1 as Dx, GetAllCoinsParams as Dy, OrderArguments as E, UpgradeInfo as ES, FaucetNetwork as E_, filterGuardInstruct as Ea, UnsafeRequestWithdrawStakeParams as Eb, getMachineNodeForward as Ec, PolicyRule as Ed, queryTableItem_MachineNode as Ef, TypeNamedObjectWithPermission as Eg, MAX_ENV_PERMISSION_GUARD_COUNT as Eh, WtsPayload as Ei, MAX_FEEDBACK_COUNT as El, ReceivedNormal as Em, FriendslistResponse as En, newRepository as Eo, USER_DEFINED_PERM_INDEX_START as Ep, MerkleMetadata as Er, arbitrations_add as Es, encodeApprove as Et, AllocationMode as Eu, Secp256k1PublicKey as Ev, CommitteeInfo as Ex, GetAllBalancesParams as Ey, SerializeSignatureInput as F, WowEventFilter as FS, LocalNameByAddress as F_, CallProof as Fa, WGetCheckpointParams as Fb, CallPayment_Data as Fc, QueryTableItem_byU64 as Fd, query_table as Ff, WitnessType as Fg, MachineObject as Fh, ZipMetadata as Fi, guard_remove as Fl, WValidate as Fm, generate_wts as Fn, um_set$1 as Fo, entityRemove as Fp, MessageTimeField as Fr, description_set$3 as Fs, DepositParams as Ft, ArbProposition as Fu, GrpcWebOptions$1 as Fv, DynamicFieldName$1 as Fx, GetDynamicFieldsParams as Fy, ParsedKeypair as G, WowMoveNormalizedFunction as GS, query_local_info as G_, deposit as Ga, WGetProtocolConfigParams as Gb, ForwardParam as Gc, TableItem_EntityRegistrar as Gd, GuardTableItem as Gf, isValidLongName as Gg, OperatorType as Gh, BridgeErrorCode as Gi, MAX_VOTING_GUARD_COUNT as Gl, AllocationAddress as Gm, sign_wts as Gn, create$2 as Go, permSet as Gp, PullMessagesResponse as Gr, price_reduce as Gs, BridgeTransferStatus as Gt, MachineForward as Gu, GraphQLQueryResult as Gv, MoveCallParams as Gx, GetProtocolConfigParams as Gy, Keypair as H, WowMoveModuleId as HS, local_mark_operation as H_, MAX_EXTERNAL_DEPOSIT_GUARD_COUNT as Ha, WGetNormalizedMoveModulesByPackageParams as Hb, receiveToMyself as Hc, TableItem_AddressMark as Hd, GuardParseError as Hf, isValidArray as Hg, ObjectResult as Hh, BridgeChainId as Hi, um_set$5 as Hl, enrichMoveError as Hm, send_file as Hn, RewardRecord as Ho, ownerReceiveObject as Hp, PlaintextMessage as Hr, order_allocators_set as Hs, BRIDGE_STEP_DESCRIPTIONS as Ht, IdFromInput as Hu, GrpcCoreClientOptions as Hv, GasCostSummary$2 as Hx, GetNormalizedMoveStructParams as Hy, parseSerializedSignature as I, WowExecutionResult as IS, ManyAccountOrMark_Address as I_, CallProof_Data as Ia, WGetCheckpointsParams as Ib, MAX_RECIPIENT_COUNT as Ic, RewardGuard as Id, query_tableItem as If, arbitrationFn as Ig, Modules as Ih, INFO_CONSTANT as Ii, location_set$1 as Il, W_ENSURE as Im, getMessengerManager as In, CallReward as Io, entityReplace as Ip, MessageType$1 as Ir, discount as Is, depositErc20 as It, ArbStatus as Iu, RpcTransport$1 as Iv, DynamicFieldType as Ix, GetLatestCheckpointSequenceNumberParams as Iy, W_PRIVATE_KEY_PREFIX as J, WowMoveNormalizedType as JS, query_local_mark as J_, external_deposit_guard_add as Ja, WMultiGetObjectsParams as Jb, MAX_NODE_COUNT as Jc, TableItem_ProgressHistory as Jd, formatGuardParseErrors as Jf, isValidU16 as Jg, PackageAddress as Jh, BridgeResult as Ji, confirm as Jl, ArbObject as Jm, watch_messages as Jn, guard_expiration_time_add as Jo, remarkClear as Jp, RemoveListRequest as Jr, repository_clear as Js, makeBridgeTransferState as Jt, MachineNodePair as Ju, WowGraphQLClientOptions as Jv, MoveVariant as Jx, GetStakesParams as Jy, SignatureWithBytes as K, WowMoveNormalizedModule as KS, query_local_info_default as K_, description_set as Ka, WGetTotalTransactionBlocksParams as Kb, MAX_CONSENSUS_REPOSITORIES_COUNT as Kc, TableItem_MachineNode as Kd, GuardTableItemBase as Kf, isValidName as Kg, OrderAddress as Kh, BridgeLimit as Ki, arb_withdraw as Kl, AllocationObject as Km, verify_wts as Kn, description_set$2 as Ko, permissionFn as Kp, RangeType as Kr, publish as Ks, BridgeTransferStep as Kt, MachineForwardGuard as Ku, GraphQLResponseErrors as Kv, MoveStruct as Kx, GetReferenceGasPriceParams as Ky, toSerializedSignature as L, WowGasData as LS, QueryAccount as L_, gen_proof as La, WGetEventsParams as Lb, Revenue as Lc, ServiceGuard as Ld, query_table_json as Lf, contactFn as Lg, NamedObject as Lh, ProtocolInfoQuery as Li, newDemand as Ll, W_ERROR as Lm, guardlist as Ln, CallReward_Data as Lo, entitySet as Lp, MessengerConfig as Lr, discount_destroy as Ls, depositEth as Lt, ArbVoted as Lu, types_d_exports as Lv, ECMHLiveObjectSetDigest as Lx, GetLatestWowSystemStateParams as Ly, isValidHardenedPath as M, WowCoinMetadata as MS, LocalInfoOperationResult as M_, restoreNodeFromOutput as Ma, WDryRunTransactionBlockParams as Mb, progressFn as Mc, QueryTableItem_byAddress as Md, query_objects as Mf, ValueTypeToType as Mg, MAX_PERMISSION_GUARD_COUNT as Mh, WtsToHtmlOptions as Mi, feedback as Ml, WErrors as Mm, blacklist as Mn, reward_add as Mo, entityAdd as Mp, MessageIdRange as Mr, compensation_fund_withdraw as Ms, encodeTransferBridgedTokensWithSignatures as Mt, AmountFromWithdrawGuard as Mu, Ed25519KeypairData as Mv, DisplayFieldsResponse as Mx, GetCoinsParams as My, mnemonicToSeed as N, WowEndOfEpochTransactionKind as NS, LocalMarkOperation as N_, CallContact as Na, WExecuteTransactionBlockParams as Nb, task_set as Nc, QueryTableItem_byNameAddress as Nd, query_objects_json as Nf, WObject as Ng, MAX_TABLE_SIZE as Nh, WtsVerificationResult as Ni, guard_add$1 as Nl, WException as Nm, extract_zip_messages as Nn, reward_clear as No, entityCopy as Np, MessageListResult as Nr, create$3 as Ns, DepositErc20Options as Nt, AmountType as Nu, Ed25519PublicKey as Nv, DryRunTransactionBlockResponse as Nx, GetCommitteeInfoParams as Ny, WowJsonRpcClient as O, ValidatorsApy as OS, GetAccountOrMark_Address as O_, RestoreNodeResult as Oa, UnsafeSplitCoinParams as Ob, namedOperator_add as Oc, ProgressSession as Od, queryTableItem_ProgressHistory as Of, TypedPermissionObject as Og, MAX_INPUT_SIZE as Oh, WtsServerPublicKey as Oi, MAX_REWARD_COUNT$2 as Ol, ReceivedObjectsOrRecently as Om, GuardlistRequest as On, policy_add as Oo, adminRemove as Op, Message as Or, buy as Os, encodeBridgeERC20V2 as Ot, Allocator as Ou, Secp256k1Keypair as Ov, ConsensusDeterminedVersionAssignments$1 as Ox, GetBalanceParams as Oy, mnemonicToSeedHex as P, WowEvent as PS, LocalMarkOperationResult as P_, CallContact_Data as Pa, WGetChainIdentifierParams as Pb, CallPayment as Pc, QueryTableItem_byString as Pd, query_personal as Pf, WithPermissionObject as Pg, MachineAddress as Ph, ZipContentType as Pi, guard_clear as Pl, WResult as Pm, friendslist as Pn, reward_remove as Po, entityDel as Pp, MessageStatus as Pr, customer_required_set as Ps, DepositEthOptions as Pt, ArbIndemnity as Pu, GrpcWebFetchTransport$1 as Pv, DynamicFieldInfo as Px, GetDynamicFieldObjectParams as Py, TransactionObjectArgument as Q, WowObjectData as QS, TokenInfo as Q_, external_withdraw_guard_add as Qa, WowObjectChangeCreated as Qb, THRESHOLD_DEFAULT as Qc, TableQuery as Qd, guardFn as Qf, isValidU8 as Qg, PaymentObject as Qh, BridgeTokenSymbol as Qi, fee_set as Ql, CallEnv as Qm, AddGuardListRequest as Qn, um_set$2 as Qo, um_set$7 as Qp, SendMessageResult as Qr, reward_remove$1 as Qs, queryEthBalance as Qt, ObjectArb as Qu, SerializedTransactionDataV2 as Qv, MultiSigPublicKeyLegacy as Qx, MultiGetTransactionBlocksParams as Qy, MultiSigPublicKey as R, WowMoveAbility as RS, QueryAccountResult as R_, CallPersonal as Ra, WGetLatestCheckpointSequenceNumberParams as Rb, create$5 as Rc, ServiceSale$1 as Rd, raw2type as Rf, createValueContainer as Rg, NamedObjectWithDescription as Rh, ProtocolInfoResult as Ri, present as Rl, W_FAILURE as Rm, mark_conversation_as_viewed as Rn, MAX_GUARD_COUNT as Ro, entitySwap as Rp, MessengerError as Rr, discount_send as Rs, depositFromEth as Rt, DiscountType as Ru, WowGrpcClient as Rv, EndOfEpochData$1 as Rx, GetMoveFunctionArgTypesParams as Ry, getJsonRpcFullnodeUrl as S, JsonRpcTransportRequestOptions as SC, TransactionEffects$2 as SS, valueTypeToString as S_, GuardInstruct as Sa, UnsafePayParams as Sb, context_repository_add as Sc, ObjectsAnswer as Sd, queryTableItem_AddressMark as Sf, TxNumberVec as Sg, IsValidBalance as Sh, WtsFileResult as Si, CallDemand as Sl, QueryReceived as Sm, verifyCommitteeConsistency as Sn, data$1 as So, PermissionInfo as Sp, GetSettingsResponse as Sr, ServiceRequiredObject as Ss, ERC20_TRANSFER_TOPIC as St, create$9 as Su, Secp256r1PublicKey as Sv, CheckpointId as Sx, DryRunTransactionBlockParams as Sy, WowHTTPTransportError as T, TypeOrigin$1 as TS, AccountOrMark_Address as T_, GuardQuery as Ta, UnsafeRequestAddStakeParams as Tb, create$4 as Tc, PersonalQuery as Td, queryTableItem_EntityRegistrar as Tf, TypeNamedObject as Tg, MAX_DESCRIPTION_LENGTH as Th, WtsMeta as Ti, FeedbackInfo as Tl, ReceivedBalanceOrRecently as Tm, FriendslistRequest as Tn, description_set$1 as To, Permission_Index_Entity as Tp, MAX_QUERY_LIMIT as Tr, arbitration_clear as Ts, TOKENS_DEPOSITED_V2_TOPIC as Tt, sharing as Tu, Secp256r1KeypairData as Tv, CoinSupply as Tx, ExecuteTransactionBlockParams as Ty, LEGACY_PRIVATE_KEY_SIZE as U, WowMoveNormalizedEnum as US, query_account as U_, MAX_EXTERNAL_WITHDRAW_GUARD_COUNT as Ua, WGetNormalizedMoveStructParams as Ub, CallMachine as Uc, TableItem_DemandPresenter as Ud, GuardParseResult as Uf, isValidDescription as Ug, ObjectType as Uh, BridgeCommitteeMember as Ui, CallArbitration as Ul, getMoveErrorDescription as Um, send_message as Un, claim as Uo, permAdd as Up, PreKeyPublic as Ur, pause as Us, BridgeTransferDirection as Ut, Im as Uu, GraphQLDocument as Uv, GetPastObjectRequest as Ux, GetObjectParams as Uy, FALCON512_PRIVATE_KEY_SIZE as V, WowMoveFunctionArgType as VS, local_info_operation as V_, CallTreasury_Data as Va, WGetNormalizedMoveModuleParams as Vb, paymentInfo as Vc, TableItemQuery as Vd, GuardNode as Vf, isThisPackage as Vg, ObjectModuleAndName as Vh, BridgeCallResult as Vi, reward_remove$2 as Vl, W_VALIDATE_PARAM as Vm, pull_messages as Vn, RewardGuardObject as Vo, ownerReceive as Vp, PQPreKeyPublic as Vr, newService as Vs, SignedBridgeActionResponse as Vt, IdFrom as Vu, GrpcCoreClient as Vv, ExecutionStatus$2 as Vx, GetNormalizedMoveModulesByPackageParams as Vy, PRIVATE_KEY_SIZE as W, WowMoveNormalizedField as WS, query_account_list as W_, create as Wa, WGetObjectParams as Wb, CallMachine_Data as Wc, TableItem_EntityLinker as Wd, GuardSubmissionToFill as Wf, isValidHttpUrl as Wg, ObjectWithType as Wh, BridgeError as Wi, CallArbitration_Data as Wl, AddressResult as Wm, settings as Wn, coin_add as Wo, permRemove as Wp, PreKeyStatus as Wr, price_add as Ws, BridgeTransferState as Wt, MAX_OBJECTS_PER_QUERY as Wu, GraphQLQueryOptions as Wv, InputObjectKind as Wx, GetOwnedObjectsParams as Wy, encodeWowPrivateKey as X, WowMoveVisibility as XS, query_local_token_list as X_, external_deposit_guard_remove as Xa, WTryGetPastObjectParams as Xb, NodePairParam as Xc, TableItem_RewardRecord as Xd, generateNodeComments as Xf, isValidU32 as Xg, PaymentAddress as Xh, BridgeToken as Xi, description_set$6 as Xl, ArbitrationObject as Xm, MessengerManager as Xn, newReward as Xo, remarkSet as Xp, SendMessageRequest as Xr, reward_add$1 as Xs, parseEthDepositEvent as Xt, OBJECT_TYPE_DEFINITIONS as Xu, isWowGraphQLClient as Xv, MultiSigLegacy as Xx, GetTransactionBlockParams as Xy, decodeWowPrivateKey as Y, WowMoveStructTypeParameter as YS, query_local_mark_list as Y_, external_deposit_guard_clear as Ya, WMultiGetTransactionBlocksParams as Yb, MAX_NODE_PAIR_COUNT as Yc, TableItem_RepositoryData as Yd, gen_passport as Yf, isValidU256 as Yg, PassportObject as Yh, BridgeSummary as Yi, create$8 as Yl, ArbitrationAddress as Ym, wts2html as Yn, guard_remove_expired as Yo, remarkRemove as Yp, SERVER_URL as Yr, repository_remove as Ys, parseEthClaimEvent as Yt, NamedOperator$1 as Yu, WowGraphQLRequestError as Yv, MultiSig as Yx, GetTotalSupplyParams as Yy, Transaction$1 as Z, WowObjectChange as ZS, TokenDataFilter as Z_, external_withdraw as Za, WTryMultiGetPastObjectsParams as Zb, NodeParam as Zc, TableItem_TreasuryHistory as Zd, guard2file as Zf, isValidU64 as Zg, PaymentInfoObject as Zh, BridgeTokenId as Zi, dispute as Zl, BalanceType as Zm, Messenger as Zn, receive$1 as Zo, transferPermission as Zp, SendMessageResponse as Zr, reward_clear$1 as Zs, queryErc20Balance as Zt, ObjectAllocation as Zu, TransactionDataBuilder as Zv, MultiSigPublicKey$1 as Zx, MultiGetObjectsParams as Zy, SerialTransactionExecutor as _, WowWithdrawalTypeArg as _C, Signature as _S, toTxU256 as __, query_events_json as _a, TryMultiGetPastObjectsParams as _b, ProgressEvent$1 as _c, ObjectResource as _d, idFromToString as _f, TreasuryAddress as _g, GetObjectExisted as _h, UploadPreKeysResponse as _i, pause$1 as _l, parseTypeParameter as _m, MAINNET_COMMITTEE_WEIGHTS as _n, RepositoryPolicyGuardObject as _o, MAX_ADMIN_COUNT as _p, ExistListRequest as _r, MAX_REWARD_COUNT$1 as _s, ClaimEthParams as _t, MAX_ALLOCATOR_COUNT as _u, BrowserPasskeyProvider as _v, AccumulatorValue as _x, IntentScope as _y, formatMoveAbortMessage as a, WowProgrammableMoveCall as aC, PaginatedCoins as aS, object_name_from_type as a_, ArbEvent as aa, TCoinsParams as ab, stock_add as ac, ObjectEntityLinker as ad, WitnessTargetType as af, Recipient as ag, ContextType as ah, SignedRequestBase as ai, forwards_add as al, guardAdd as am, waitForWowTx as an, CallRepository as ao, reliesRemove as ap, ChainProofResponse as ar, DEFAULT_SETTING_LOCK_DURATION as as, Inputs as at, reset as au, MAX_MESSENGER_ACCOUNTS as av, CoinBalance as ax, TransactionData$1 as ay, getPureBcsSchema as b, JsonRpcHTTPTransportOptions as bC, TransactionBlockData as bS, toTxU8 as b_, GUARDINSTRUCT as ba, UnsafeMoveCallParams as bb, accomplish as bc, ObjectTreasury as bd, objectTypeToNumber as bf, TxAddressVec as bg, IsBcsStringLength as bh, WTS_SCHEMA_URL as bi, publish$1 as bl, validObjects as bm, findToken as bn, SignerOrClockBase as bo, PermissionFilter as bp, GetBundleParams as br, ServiceBuyItem as bs, claimOnEthBySeq as bt, allocationFn as bu, PasskeyProvider as bv, Checkpoint$1 as bx, BscribeTransactionParams as by, BaseClient as c, WowTransaction as cC, PaginatedObjectsResponse as cS, rewardFn as c_, EventAnswer as ca, TDynamicFieldsParams as cb, CallProgress as cc, ObjectMachine as cd, getMoveNameFromObjectType as cf, RepositoryAddress as cg, DescriptionObject as ch, SseEvent as ci, machineNode2file as cl, passportFn as cm, WowClaimState as cn, KeyData as co, CallResponseError as cp, ContactListsSyncResult as cr, Discount as cs, TransactionInput as ct, usage_guard_set as cu, verifyPersonalMessageSignature as cv, EndOfEpochInfo as cx, WowClientTypes as cy, CoreClientOptions as d, WowTransactionBlockKind as dC, PasskeyAuthenticator$1 as dS, toTxAddressVec as d_, EventQuery as da, TReferenceGasPriceParams as db, Holder as dc, ObjectPayment as dd, getNumbersFromObjectTypes as df, ResourceObject as dg, ENTITY_REGISTRAR_ADDRESS as dh, SseGuardRejectedEvent as di, node_add as dl, bcsBytesToValue as dm, queryWowClaimStatus as dn, MAX_POLICY_COUNT as do, ResponseData as dp, DEFAULT_DEVICE_ID as dr, MAX_DISCOUNT_COUNT_ONCE as ds, BridgeClientOptions as dt, voting_guard_add as du, MultiSigSigner as dv, ProgrammableTransaction$1 as dx, SIGNATURE_SCHEME_TO_SIZE as dy, WowObjectDataOptions as eC, ObjectRead as eS, isValidValueTypeInput as e_, SignedAction as ea, QueryTransactionBlocksParams as eb, sales_add as ec, ObjectBase as ed, TreasuryRecord as ef, PermissionObject as eg, CoinParam as eh, ServerMessage 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, AddressExistence as er, CallOrder_Data as es, TransactionResult$1 as et, fees_alloc as eu, Account as ev, WowObjectChangeMutated as ex, Argument$1 as ey, isArgument as f, WowTransactionBlockResponse as fC, ProtocolConfig$2 as fS, toTxObject as f_, EventType as fa, TStakesByIdsParams as fb, MAX_CONTEXT_REPOSITORY_COUNT as fc, ObjectPermission as fd, getObjectTypeDefinition as ff, RewardAddress as fg, EntityAddress as fh, SseNewMessageEvent as fi, node_clear as fl, extractCoinType as fm, BridgeConfig as fn, MAX_POLICY_DESCRIPTION_LEN as fo, getCoinParam as fp, DEFAULT_MESSENGER_CONFIG as fr, MAX_DISCOUNT_RECEIVER_ONCE as fs, BridgeTransferRecord as ft, voting_guard_clear as fu, DEFAULT_FALCON512_DERIVATION_PATH as fv, WowMoveNormalizedModules as fx, SignatureFlag as fy, ParallelTransactionExecutorOptions as g, WowWithdrawFrom as gC, RawData as gS, toTxU16Vec as g_, query_events as ga, TryGetPastObjectParams as gb, NamedOperator as gc, ObjectRepository as gd, getObjectTypesFromNumbers as gf, SupportedValue as gg, GetObjectDescription as gh, UploadPreKeysRequest as gi, nodepair as gl, parseRecipient as gm, MAINNET_COMMITTEE_PUBKEYS as gn, RepDataItem as go, CallPermission_Data as gp, EventStreamParams as gr, MAX_REQUIRED_INFO_SIZE as gs, ClaimEthOptions as gt, CallAllocation_Data as gu, PasskeyPublicKey as gv, AccumulatorOperation as gx, bytesEqual as gy, ParallelTransactionExecutor as h, WowValidatorSummary as hC, RPCTransactionRequestParams as hS, toTxU16 as h_, ProgressEvent as ha, TValidatorsApyParams as hb, MachineNodeForwardResult as hc, ObjectProof as hd, getObjectTypeFromNumber as hf, ServiceObject as hg, GetObject as hh, UpdateSettingsRequest as hi, node_rename as hl, parseObjectType as hm, MAINNET_COMMITTEE_MEMBER_ADDRESSES as hn, RemoveParam as ho, CallPermission as hp, Empty as hr, MAX_REPOSITORY_COUNT as hs, depositFromWow as ht, CallAllocation as hu, Falcon512PublicKey as hv, AccumulatorEvent as hx, PublicKeyInitData as hy, extractStatusFromEffectsBcs as i, WowParsedData as iC, PaginatedCheckpoints as iS, object_module_and_name_from_type as i_, isWowChain as ia, TCoinMetadataParams as ib, setting_lock_duration_set as ic, ObjectEntity as id, WitnessSourceType as if, ReceivedObject as ig, ContactObject as ih, SignedRequest as ii, forward as il, get_guardSubmissions as im, waitForEthTx as in, withdraw as io, reliesLogic as ip, ChainProofRequest as ir, CompensationClaim as is, TransactionPlugin as it, pause$2 as iu, FaucetCoinInfo as iv, Order as ix, ObjectRef as iy, isValidBIP32Path as j, WowChangeEpoch as jS, LocalInfoOperation as j_, resolveCallEnv as ja, WDevInspectTransactionBlockParams as jb, newProgress as jc, QueryTableItem_Entity as jd, queryTableItem_TreasuryHistory as jf, ValueTypeInput as jg, MAX_NAME_LENGTH as jh, WtsSignatureVerification as ji, description_set$5 as jl, MoveModuleError as jm, SettingsResponse as jn, policy_set as jo, descriptionSet as jp, MessageFilter as jr, compensation_fund_receive as js, encodeTokenTransferPayloadV2 as jt, AmountFromDepositGuard as ju, Ed25519Keypair as jv, DevInspectResults as jx, GetCoinMetadataParams as jy, WowJsonRpcClientOptions as k, WowArgument as kS, GetLocalNamesByAddresses as k_, checkType as ka, UnsafeTransferObjectParams as kb, namedOperator_remove as kc, ProgressSessionHolder as kd, queryTableItem_RepositoryData as kf, ValueContainer as kg, MAX_LONG_NAME_LENGTH as kh, WtsSession as ki, ServiceInfo$2 as kl, query_received as km, GuardlistResponse as kn, policy_clear as ko, adminSet as kp, MessageContentType as kr, buy_guard_set as ks, encodeBridgeETH as kt, Allocators as ku, Secp256k1KeypairData as kv, DelegatedStake as kx, GetCheckpointParams as ky, ClientWithCoreApi as l, WowTransactionBlock as lC, PaginatedStrings as lS, serviceFn as l_, EventBase as la, TLatestWowSystemStateParams as lb, CallProgress_Data as lc, ObjectOrder as ld, getNumberFromMoveName as lf, RepositoryObject as lg, DiscountObject as lh, SseEventType as li, newMachine as ll, verify as lm, WowClaimStatus as ln, MAX_DATA_SIZE as lo, CallResult as lp, ConversationInfo as lr, MAX_ARBITRATION_COUNT as ls, UpgradePolicy as lt, vote as lu, verifySignature as lv, EpochInfo as lx, SIGNATURE_FLAG_TO_SCHEME as ly, coinWithBalance as m, WowTransactionBlockResponseQuery as mC, PublicKey$1 as mS, toTxU128 as m_, NewOrderEvent as ma, TTotalSupplyParams as mb, MAX_NAMED_OPERATOR_COUNT as mc, ObjectProgress as md, getObjectTypeFromMoveName as mf, ServiceAddress as mg, GasTokenType as mh, TimeRange as mi, node_remove as ml, owner_receive as mm, MAINNET_BRIDGE_CONFIG as mn, MAX_REWARD_COUNT as mo, BuiltinPermissionIndex as mp, DecryptedMessage as mr, MAX_PUBKEY_LENGTH as ms, DepositWowResult as mt, AllocatorsType as mu, Falcon512KeypairData as mv, WowMovePackage as mx, PublicKey as my, WowClientOptions as n, WowObjectResponse as nC, ObjectValueKind as nS, isWitnessType as n_, TransferStatus as na, TAllCoinsParams as nb, sales_remove as nc, ObjectDemand as nd, VotingGuard as nf, ProgressObject as ng, CoinWrapperObject as nh, ServerRegisterResponse as ni, create$6 as nl, destroy as nm, queryWowToEvmTransferStatus as nn, receive as no, reliesAdd as np, CHAIN_PROOF_TYPE as nr, CallService as ns, BuildTransactionOptions as nt, location_set$2 as nu, AccountFilter as nv, WowObjectChangeTransferred as nx, Command$1 as ny, parseTransactionBcs as o, WowReservation as oC, PaginatedDynamicFieldInfos as oS, parseValueType as o_, DemandFeedbackEvent as oa, TCommitteeInfoParams as ob, stock_reduce as oc, ObjectEntityRegistrar as od, data2object as of, RecipientType as og, DemandAddress as oh, SseArkConfirmedEvent as oi, forwards_remove as ol, guardClear as om, ClaimWowParams as on, CallRepository_Data as oo, validateGuardNode as op, ClearListRequest as or, DISCOUNT_TYPE_MINUS as os, TransactionArgument as ot, um_set$6 as ou, publicKeyFromRawBytes as ov, CheckpointPage as ox, ClientWithExtensions as oy, Arguments as p, WowTransactionBlockResponseOptions as pC, ProtocolConfigValue as pS, toTxString as p_, NewEntityEvent as pa, TStakesParams as pb, MAX_NAMED_OPERATOR_ADDRESS_COUNT as pc, ObjectPersonal as pd, getObjectTypeDefinitionFromNumber as pf, RewardObject as pg, GasCoinType as ph, SsePreKeyLowEvent as pi, node_exchange_name as pl, isValidValueContainer as pm, EvmChainConfig as pn, MAX_POLICY_GUARD_COUNT as po, isCallResultSubmission as pp, DEFAULT_QUERY_LIMIT as pr, MAX_DISCOUNT_TOTAL_COUNT as ps, DepositWowParams as pt, voting_guard_remove as pu, Falcon512Keypair as pv, WowMoveObject as px, SignatureScheme$1 as py, Signer as q, WowMoveNormalizedStruct as qS, query_local_info_list as q_, external_deposit as qa, WGetTransactionBlockParams as qb, MAX_FORWARD_ORDER_COUNT as qc, TableItem_PermissionPerm as qd, create$10 as qf, isValidU128 as qg, OrderObject as qh, BridgeMessage as qi, arbitration as ql, ArbAddress as qm, watch_conversations as qn, guard_add as qo, query_permissions as qp, RemoteBundle as qr, repository_add as qs, EvmTxReceipt as qt, MachineNode as qu, WowGraphQLClient as qv, MoveValue as qx, GetStakesByIdsParams as qy, SimulationError as r, WowObjectResponseQuery as rC, OwnedObjectRef as rS, machineFn as r_, isEvmChain as ra, TBalanceParams as rb, sales_set as rc, ObjectDiscount as rd, WReceivedObject as rf, ProofAddress as rg, ContactAddress as rh, SessionState as ri, description_set$4 as rl, freeze as rm, queryWowTx as rn, um_set as ro, reliesClear as rp, CURRENT_NETWORK as rr, CallService_Data as rs, SerializeTransactionOptions as rt, newArbitration as ru, DEFAULT_ACCOUNT_NAME as rv, WowObjectChangeWrapped as rx, GasData as ry, parseTransactionEffectsBcs as s, WowSystemStateSummary as sC, PaginatedEvents as sS, repositoryFn as s_, DemandPresentEvent as sa, TDynamicFieldObjectParams as sb, um_set$3 as sc, ObjectGuard as sd, getMoveNameFromNumber as sf, RegistrarAddress as sg, DemandObject as sh, SseCustomEvent as si, init_node_name as sl, newPassport as sm, ClaimWowResult as sn, DataRemoveItem as so, CallBase as sp, ContactLists as sr, DISCOUNT_TYPE_RATES as ss, TransactionCommands as st, usage_guard_none as su, publicKeyFromWowBytes as sv, DynamicFieldPage as sx, WowClientRegistration as sy, WowClient as t, WowObjectRef as tC, ObjectResponseError as tS, isValueTypeNumber as t_, TransferRecord as ta, TAllBalancesParams as tb, sales_clear as tc, ObjectContact as td, VoteWeight as tf, ProgressAddress as tg, CoinWrapPrefix as th, ServerRegisterRequest as ti, consensus_repositories_remove as tl, SubmissionCall as tm, queryEvmToWowTransferStatus as tn, newTreasury as to, parseGuardFromMarkdown as tp, BaseRange as tr, Buy as ts, isTransaction as tt, fees_transfer as tu, AccountData as tv, WowObjectChangePublished as tx, CallArg as ty, CoreClient as u, WowTransactionBlockBuilderMode as uC, PaginatedTransactionResponse as uS, toTxAddress as u_, EventCursor as ua, TOwnedObjectsParams as ub, History as uc, ObjectPassport as ud, getNumberFromObjectType as uf, ResourceAddress as ug, ENTITY_LINKER_ADDRESS as uh, SseGuardConfirmedEvent as ui, node as ul, verify_guard as um, claimOnWow as un, MAX_ID_COUNT_ONCE as uo, ObjectsOp as up, ConversationsFilter as ur, MAX_CUSTOMER_REQUIRED_INFO_COUNT as us, BridgeClient as ut, voting_deadline_change as uu, verifyTransactionSignature as uv, EpochPage as ux, SIGNATURE_SCHEME_TO_FLAG as uy, AsyncCache as v, HttpHeaders as vC, StakeObject as vS, toTxU32 as v_, queryObjectWithType as va, UnsafeBatchTransactionParams as vb, ProgressNext as vc, ObjectReward as vd, isValidIdFromInput as vf, TreasuryObject as vg, GuardAddress as vh, WTS_FILE_BYTES_LIMIT as vi, prev_nodes_remove as vl, permission_set as vm, findEvmChainConfig as vn, RepositoryPolicyRuleObject as vo, MAX_ENTITY_COUNT as vp, FailedPrekeyInfo as vr, MAX_SALE_COUNT as vs, buildClaimMessage as vt, MAX_SHARING_COUNT as vu, BrowserPasswordProviderOptions as vv, Balance$2 as vx, messageWithIntent as vy, WowHTTPStatusError as w, ClientCacheOptions as wC, TransferObjectParams as wS, AccountOperationResult as w_, GuardItem as wa, UnsafePublishParams as wb, context_repository_remove as wc, PaymentInfo as wd, queryTableItem_EntityLinker as wf, TxString as wg, MAX_DEPENDED_COUNT as wh, WtsMessage as wi, DemandPresent as wl, ReceivedBalanceObject as wm, BlacklistResponse as wn, data_remove as wo, Permission_Index as wp, ListOperationResponse as wr, ServiceSaleObject as ws, TOKENS_DEPOSITED_TOPIC as wt, receive$2 as wu, Secp256r1Keypair as wv, CoinStruct as wx, EryTransactionBlocksParams as wy, normalizedTypeToMoveTypeSignature as x, JsonRpcTransport as xC, TransactionBlockEffectsModifiedAtVersions as xS, treasuryFn as x_, GUARDQUERY as xa, UnsafePayAllWowParams as xb, adminUnhold as xc, ObjectTypeDefinition as xd, parseIdFrom as xf, TxNumber as xg, IsValidArgType as xh, WtsFile as xi, um_set$4 as xl, valueToBcsBytes as xm, findTokenBySymbol as xn, create$1 as xo, PermissionIndexType as xp, GetSettingsRequest as xr, ServiceQuoteObject as xs, AbiMessage as xt, allocators as xu, findCommonPublicKey as xv, CheckpointCommitment$1 as xx, DevInspectTransactionBlockParams as xy, ObjectCache as y, JsonRpcHTTPTransport as yC, TransactionBlockBytes as yS, toTxU64 as y_, queryObjectsWithType as ya, UnsafeMergeCoinsParams as yb, Session as yc, ObjectService as yd, numberToObjectType as yf, TxAddress as yg, GuardObject as yh, WTS_MAX_MESSAGE_COUNT as yi, prev_nodes_remove_with_passport as yl, uint2address as ym, findEvmChainConfigByBridgeChainId as yn, SignerOrClock as yo, MAX_PERM_FOR_ENTITY as yp, FetchMessagesRequest as yr, NAMED_OPERATOR_ORDER_PAYER as ys, claimOnEth as yt, alloc as yu, PasskeyKeypair as yv, BalanceChange$2 as yx, BscribeEventParams as yy, MultiSigStruct as z, WowMoveAbilitySet as zS, account_operation as z_, CallPersonal_Data as za, WGetMoveFunctionArgTypesParams as zb, newPayment as zc, TableAnswer as zd, CallGuard as zf, demandFn as zg, NamedObjectWithPermission as zh, queryPermissions as zi, reward_add$2 as zl, W_SAFE as zm, mark_messages_as_viewed as zn, MAX_RECORD_COUNT as zo, isBizPermIndex as zp, MessengerErrorCode as zr, location_set as zs, BridgeNodeClient as zt, GuardInPassport as zu, WowGrpcClientOptions as zv, EventId as zx, GetNormalizedMoveFunctionParams as zy };
|