@typus/typus-perp-sdk 1.0.51 → 1.0.52-upgrade
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/src/_dependencies/source/0x2/bag/structs.d.ts +61 -0
- package/dist/src/_dependencies/source/0x2/bag/structs.js +229 -0
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +88 -0
- package/dist/src/_dependencies/source/0x2/balance/structs.js +386 -0
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +460 -0
- package/dist/src/_dependencies/source/0x2/coin/structs.js +1247 -0
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +153 -0
- package/dist/src/_dependencies/source/0x2/linked-table/structs.js +438 -0
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +46 -0
- package/dist/src/_dependencies/source/0x2/sui/structs.js +222 -0
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +61 -0
- package/dist/src/_dependencies/source/0x2/table/structs.js +248 -0
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +68 -0
- package/dist/src/_dependencies/source/0x2/table-vec/structs.js +274 -0
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +449 -0
- package/dist/src/_dependencies/source/0x2/token/structs.js +1095 -0
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +370 -0
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +1091 -0
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +53 -0
- package/dist/src/_dependencies/source/0x2/url/structs.js +223 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +489 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +1084 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +147 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +456 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +239 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +653 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +405 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +899 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +8 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +11 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +2 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +102 -0
- package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/keyed-big-vector/structs.d.ts +70 -70
- package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/keyed-big-vector/structs.js +174 -174
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +699 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +1459 -0
- package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/linked-object-table/structs.d.ts +62 -62
- package/dist/src/_dependencies/source/{0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277 → 0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a}/linked-object-table/structs.js +170 -170
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +147 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +430 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +1071 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +2261 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +279 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +733 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +328 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +892 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +88 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +263 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +347 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +591 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +73 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +258 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +876 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +1721 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +46 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +222 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +3 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +6 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +2 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +89 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +155 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +444 -0
- package/dist/src/_dependencies/source/{0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded → 0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274}/vault/structs.d.ts +84 -84
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +446 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +844 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +6 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +9 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +2 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +69 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +94 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +376 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +454 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +881 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +68 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +274 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +1117 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +2387 -0
- package/dist/src/api/sentio.js +4 -1
- package/dist/src/fetch.d.ts +1 -1
- package/dist/src/fetch.js +1 -1
- package/dist/src/index.js +17 -17
- package/dist/src/typus_perp/admin/structs.d.ts +67 -5
- package/dist/src/typus_perp/admin/structs.js +155 -1
- package/dist/src/typus_perp/escrow/functions.js +1 -1
- package/dist/src/typus_perp/escrow/structs.d.ts +2 -2
- package/dist/src/typus_perp/escrow/structs.js +1 -1
- package/dist/src/typus_perp/lp-pool/structs.d.ts +28 -28
- package/dist/src/typus_perp/position/functions.js +1 -1
- package/dist/src/typus_perp/position/structs.d.ts +6 -6
- package/dist/src/typus_perp/symbol/structs.d.ts +1 -1
- package/dist/src/typus_perp/tlp/structs.d.ts +2 -2
- package/dist/src/typus_perp/trading/functions.js +1 -1
- package/dist/src/typus_perp/trading/structs.d.ts +32 -32
- package/dist/src/typus_perp/trading/structs.js +2 -2
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +1 -1
- package/dist/src/typus_stake_pool/admin/functions.d.ts +25 -25
- package/dist/src/typus_stake_pool/admin/functions.js +66 -53
- package/dist/src/typus_stake_pool/admin/structs.d.ts +191 -191
- package/dist/src/typus_stake_pool/admin/structs.js +179 -179
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +50 -44
- package/dist/src/typus_stake_pool/stake-pool/functions.js +127 -88
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +202 -202
- package/dist/src/typus_stake_pool/stake-pool/structs.js +432 -432
- package/package.json +1 -1
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +0 -8
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +0 -11
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +0 -6
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +0 -6
- /package/dist/src/_dependencies/source/{0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded → 0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274}/vault/structs.js +0 -0
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import * as reified from "../../../../_framework/reified";
|
|
2
|
+
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, ToTypeStr as ToPhantom } from "../../../../_framework/reified";
|
|
3
|
+
import { FieldsWithTypes } from "../../../../_framework/util";
|
|
4
|
+
import { Vector } from "../../../../_framework/vector";
|
|
5
|
+
import { LinkedTable } from "../../0x2/linked-table/structs";
|
|
6
|
+
import { UID } from "../../0x2/object/structs";
|
|
7
|
+
import { PKG_V1, PKG_V2 } from "../index";
|
|
8
|
+
import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
|
|
9
|
+
export declare function isAddAccumulatedTgldAmount(type: string): boolean;
|
|
10
|
+
export interface AddAccumulatedTgldAmountFields {
|
|
11
|
+
user: ToField<"address">;
|
|
12
|
+
log: ToField<Vector<"u64">>;
|
|
13
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
14
|
+
}
|
|
15
|
+
export type AddAccumulatedTgldAmountReified = Reified<AddAccumulatedTgldAmount, AddAccumulatedTgldAmountFields>;
|
|
16
|
+
export declare class AddAccumulatedTgldAmount implements StructClass {
|
|
17
|
+
__StructClass: true;
|
|
18
|
+
static readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount";
|
|
19
|
+
static readonly $numTypeParams = 0;
|
|
20
|
+
static readonly $isPhantom: readonly [];
|
|
21
|
+
readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount";
|
|
22
|
+
readonly $fullTypeName: `${typeof PKG_V1}::user::AddAccumulatedTgldAmount`;
|
|
23
|
+
readonly $typeArgs: [];
|
|
24
|
+
readonly $isPhantom: readonly [];
|
|
25
|
+
readonly user: ToField<"address">;
|
|
26
|
+
readonly log: ToField<Vector<"u64">>;
|
|
27
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
28
|
+
private constructor();
|
|
29
|
+
static reified(): AddAccumulatedTgldAmountReified;
|
|
30
|
+
static get r(): reified.StructClassReified<AddAccumulatedTgldAmount, AddAccumulatedTgldAmountFields>;
|
|
31
|
+
static phantom(): PhantomReified<ToTypeStr<AddAccumulatedTgldAmount>>;
|
|
32
|
+
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount">;
|
|
33
|
+
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
34
|
+
user: string;
|
|
35
|
+
log: string[];
|
|
36
|
+
bcs_padding: number[][];
|
|
37
|
+
}, {
|
|
38
|
+
user: string;
|
|
39
|
+
log: Iterable<string | number | bigint> & {
|
|
40
|
+
length: number;
|
|
41
|
+
};
|
|
42
|
+
bcs_padding: Iterable<Iterable<number> & {
|
|
43
|
+
length: number;
|
|
44
|
+
}> & {
|
|
45
|
+
length: number;
|
|
46
|
+
};
|
|
47
|
+
}>;
|
|
48
|
+
static fromFields(fields: Record<string, any>): AddAccumulatedTgldAmount;
|
|
49
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): AddAccumulatedTgldAmount;
|
|
50
|
+
static fromBcs(data: Uint8Array): AddAccumulatedTgldAmount;
|
|
51
|
+
toJSONField(): {
|
|
52
|
+
user: string;
|
|
53
|
+
log: string[];
|
|
54
|
+
bcsPadding: number[][];
|
|
55
|
+
};
|
|
56
|
+
toJSON(): {
|
|
57
|
+
user: string;
|
|
58
|
+
log: string[];
|
|
59
|
+
bcsPadding: number[][];
|
|
60
|
+
$typeName: string;
|
|
61
|
+
$typeArgs: [];
|
|
62
|
+
};
|
|
63
|
+
static fromJSONField(field: any): AddAccumulatedTgldAmount;
|
|
64
|
+
static fromJSON(json: Record<string, any>): AddAccumulatedTgldAmount;
|
|
65
|
+
static fromSuiParsedData(content: SuiParsedData): AddAccumulatedTgldAmount;
|
|
66
|
+
static fromSuiObjectData(data: SuiObjectData): AddAccumulatedTgldAmount;
|
|
67
|
+
static fetch(client: SuiClient, id: string): Promise<AddAccumulatedTgldAmount>;
|
|
68
|
+
}
|
|
69
|
+
export declare function isAddTailsExpAmount(type: string): boolean;
|
|
70
|
+
export interface AddTailsExpAmountFields {
|
|
71
|
+
user: ToField<"address">;
|
|
72
|
+
log: ToField<Vector<"u64">>;
|
|
73
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
74
|
+
}
|
|
75
|
+
export type AddTailsExpAmountReified = Reified<AddTailsExpAmount, AddTailsExpAmountFields>;
|
|
76
|
+
export declare class AddTailsExpAmount implements StructClass {
|
|
77
|
+
__StructClass: true;
|
|
78
|
+
static readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount";
|
|
79
|
+
static readonly $numTypeParams = 0;
|
|
80
|
+
static readonly $isPhantom: readonly [];
|
|
81
|
+
readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount";
|
|
82
|
+
readonly $fullTypeName: `${typeof PKG_V2}::user::AddTailsExpAmount`;
|
|
83
|
+
readonly $typeArgs: [];
|
|
84
|
+
readonly $isPhantom: readonly [];
|
|
85
|
+
readonly user: ToField<"address">;
|
|
86
|
+
readonly log: ToField<Vector<"u64">>;
|
|
87
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
88
|
+
private constructor();
|
|
89
|
+
static reified(): AddTailsExpAmountReified;
|
|
90
|
+
static get r(): reified.StructClassReified<AddTailsExpAmount, AddTailsExpAmountFields>;
|
|
91
|
+
static phantom(): PhantomReified<ToTypeStr<AddTailsExpAmount>>;
|
|
92
|
+
static get p(): reified.PhantomReified<"0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount">;
|
|
93
|
+
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
94
|
+
user: string;
|
|
95
|
+
log: string[];
|
|
96
|
+
bcs_padding: number[][];
|
|
97
|
+
}, {
|
|
98
|
+
user: string;
|
|
99
|
+
log: Iterable<string | number | bigint> & {
|
|
100
|
+
length: number;
|
|
101
|
+
};
|
|
102
|
+
bcs_padding: Iterable<Iterable<number> & {
|
|
103
|
+
length: number;
|
|
104
|
+
}> & {
|
|
105
|
+
length: number;
|
|
106
|
+
};
|
|
107
|
+
}>;
|
|
108
|
+
static fromFields(fields: Record<string, any>): AddTailsExpAmount;
|
|
109
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): AddTailsExpAmount;
|
|
110
|
+
static fromBcs(data: Uint8Array): AddTailsExpAmount;
|
|
111
|
+
toJSONField(): {
|
|
112
|
+
user: string;
|
|
113
|
+
log: string[];
|
|
114
|
+
bcsPadding: number[][];
|
|
115
|
+
};
|
|
116
|
+
toJSON(): {
|
|
117
|
+
user: string;
|
|
118
|
+
log: string[];
|
|
119
|
+
bcsPadding: number[][];
|
|
120
|
+
$typeName: string;
|
|
121
|
+
$typeArgs: [];
|
|
122
|
+
};
|
|
123
|
+
static fromJSONField(field: any): AddTailsExpAmount;
|
|
124
|
+
static fromJSON(json: Record<string, any>): AddTailsExpAmount;
|
|
125
|
+
static fromSuiParsedData(content: SuiParsedData): AddTailsExpAmount;
|
|
126
|
+
static fromSuiObjectData(data: SuiObjectData): AddTailsExpAmount;
|
|
127
|
+
static fetch(client: SuiClient, id: string): Promise<AddTailsExpAmount>;
|
|
128
|
+
}
|
|
129
|
+
export declare function isMetadata(type: string): boolean;
|
|
130
|
+
export interface MetadataFields {
|
|
131
|
+
content: ToField<Vector<"u64">>;
|
|
132
|
+
}
|
|
133
|
+
export type MetadataReified = Reified<Metadata, MetadataFields>;
|
|
134
|
+
export declare class Metadata implements StructClass {
|
|
135
|
+
__StructClass: true;
|
|
136
|
+
static readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata";
|
|
137
|
+
static readonly $numTypeParams = 0;
|
|
138
|
+
static readonly $isPhantom: readonly [];
|
|
139
|
+
readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata";
|
|
140
|
+
readonly $fullTypeName: `${typeof PKG_V1}::user::Metadata`;
|
|
141
|
+
readonly $typeArgs: [];
|
|
142
|
+
readonly $isPhantom: readonly [];
|
|
143
|
+
readonly content: ToField<Vector<"u64">>;
|
|
144
|
+
private constructor();
|
|
145
|
+
static reified(): MetadataReified;
|
|
146
|
+
static get r(): reified.StructClassReified<Metadata, MetadataFields>;
|
|
147
|
+
static phantom(): PhantomReified<ToTypeStr<Metadata>>;
|
|
148
|
+
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata">;
|
|
149
|
+
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
150
|
+
content: string[];
|
|
151
|
+
}, {
|
|
152
|
+
content: Iterable<string | number | bigint> & {
|
|
153
|
+
length: number;
|
|
154
|
+
};
|
|
155
|
+
}>;
|
|
156
|
+
static fromFields(fields: Record<string, any>): Metadata;
|
|
157
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): Metadata;
|
|
158
|
+
static fromBcs(data: Uint8Array): Metadata;
|
|
159
|
+
toJSONField(): {
|
|
160
|
+
content: string[];
|
|
161
|
+
};
|
|
162
|
+
toJSON(): {
|
|
163
|
+
content: string[];
|
|
164
|
+
$typeName: string;
|
|
165
|
+
$typeArgs: [];
|
|
166
|
+
};
|
|
167
|
+
static fromJSONField(field: any): Metadata;
|
|
168
|
+
static fromJSON(json: Record<string, any>): Metadata;
|
|
169
|
+
static fromSuiParsedData(content: SuiParsedData): Metadata;
|
|
170
|
+
static fromSuiObjectData(data: SuiObjectData): Metadata;
|
|
171
|
+
static fetch(client: SuiClient, id: string): Promise<Metadata>;
|
|
172
|
+
}
|
|
173
|
+
export declare function isRemoveTailsExpAmount(type: string): boolean;
|
|
174
|
+
export interface RemoveTailsExpAmountFields {
|
|
175
|
+
user: ToField<"address">;
|
|
176
|
+
log: ToField<Vector<"u64">>;
|
|
177
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
178
|
+
}
|
|
179
|
+
export type RemoveTailsExpAmountReified = Reified<RemoveTailsExpAmount, RemoveTailsExpAmountFields>;
|
|
180
|
+
export declare class RemoveTailsExpAmount implements StructClass {
|
|
181
|
+
__StructClass: true;
|
|
182
|
+
static readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount";
|
|
183
|
+
static readonly $numTypeParams = 0;
|
|
184
|
+
static readonly $isPhantom: readonly [];
|
|
185
|
+
readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount";
|
|
186
|
+
readonly $fullTypeName: `${typeof PKG_V2}::user::RemoveTailsExpAmount`;
|
|
187
|
+
readonly $typeArgs: [];
|
|
188
|
+
readonly $isPhantom: readonly [];
|
|
189
|
+
readonly user: ToField<"address">;
|
|
190
|
+
readonly log: ToField<Vector<"u64">>;
|
|
191
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
192
|
+
private constructor();
|
|
193
|
+
static reified(): RemoveTailsExpAmountReified;
|
|
194
|
+
static get r(): reified.StructClassReified<RemoveTailsExpAmount, RemoveTailsExpAmountFields>;
|
|
195
|
+
static phantom(): PhantomReified<ToTypeStr<RemoveTailsExpAmount>>;
|
|
196
|
+
static get p(): reified.PhantomReified<"0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount">;
|
|
197
|
+
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
198
|
+
user: string;
|
|
199
|
+
log: string[];
|
|
200
|
+
bcs_padding: number[][];
|
|
201
|
+
}, {
|
|
202
|
+
user: string;
|
|
203
|
+
log: Iterable<string | number | bigint> & {
|
|
204
|
+
length: number;
|
|
205
|
+
};
|
|
206
|
+
bcs_padding: Iterable<Iterable<number> & {
|
|
207
|
+
length: number;
|
|
208
|
+
}> & {
|
|
209
|
+
length: number;
|
|
210
|
+
};
|
|
211
|
+
}>;
|
|
212
|
+
static fromFields(fields: Record<string, any>): RemoveTailsExpAmount;
|
|
213
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveTailsExpAmount;
|
|
214
|
+
static fromBcs(data: Uint8Array): RemoveTailsExpAmount;
|
|
215
|
+
toJSONField(): {
|
|
216
|
+
user: string;
|
|
217
|
+
log: string[];
|
|
218
|
+
bcsPadding: number[][];
|
|
219
|
+
};
|
|
220
|
+
toJSON(): {
|
|
221
|
+
user: string;
|
|
222
|
+
log: string[];
|
|
223
|
+
bcsPadding: number[][];
|
|
224
|
+
$typeName: string;
|
|
225
|
+
$typeArgs: [];
|
|
226
|
+
};
|
|
227
|
+
static fromJSONField(field: any): RemoveTailsExpAmount;
|
|
228
|
+
static fromJSON(json: Record<string, any>): RemoveTailsExpAmount;
|
|
229
|
+
static fromSuiParsedData(content: SuiParsedData): RemoveTailsExpAmount;
|
|
230
|
+
static fromSuiObjectData(data: SuiObjectData): RemoveTailsExpAmount;
|
|
231
|
+
static fetch(client: SuiClient, id: string): Promise<RemoveTailsExpAmount>;
|
|
232
|
+
}
|
|
233
|
+
export declare function isTypusUserRegistry(type: string): boolean;
|
|
234
|
+
export interface TypusUserRegistryFields {
|
|
235
|
+
id: ToField<UID>;
|
|
236
|
+
metadata: ToField<LinkedTable<"address", ToPhantom<Metadata>>>;
|
|
237
|
+
}
|
|
238
|
+
export type TypusUserRegistryReified = Reified<TypusUserRegistry, TypusUserRegistryFields>;
|
|
239
|
+
export declare class TypusUserRegistry implements StructClass {
|
|
240
|
+
__StructClass: true;
|
|
241
|
+
static readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry";
|
|
242
|
+
static readonly $numTypeParams = 0;
|
|
243
|
+
static readonly $isPhantom: readonly [];
|
|
244
|
+
readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry";
|
|
245
|
+
readonly $fullTypeName: `${typeof PKG_V1}::user::TypusUserRegistry`;
|
|
246
|
+
readonly $typeArgs: [];
|
|
247
|
+
readonly $isPhantom: readonly [];
|
|
248
|
+
readonly id: ToField<UID>;
|
|
249
|
+
readonly metadata: ToField<LinkedTable<"address", ToPhantom<Metadata>>>;
|
|
250
|
+
private constructor();
|
|
251
|
+
static reified(): TypusUserRegistryReified;
|
|
252
|
+
static get r(): reified.StructClassReified<TypusUserRegistry, TypusUserRegistryFields>;
|
|
253
|
+
static phantom(): PhantomReified<ToTypeStr<TypusUserRegistry>>;
|
|
254
|
+
static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry">;
|
|
255
|
+
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
256
|
+
id: {
|
|
257
|
+
id: {
|
|
258
|
+
bytes: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
metadata: {
|
|
262
|
+
id: {
|
|
263
|
+
id: {
|
|
264
|
+
bytes: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
size: string;
|
|
268
|
+
head: {
|
|
269
|
+
vec: any[];
|
|
270
|
+
};
|
|
271
|
+
tail: {
|
|
272
|
+
vec: any[];
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
}, {
|
|
276
|
+
id: {
|
|
277
|
+
id: {
|
|
278
|
+
bytes: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
metadata: {
|
|
282
|
+
id: {
|
|
283
|
+
id: {
|
|
284
|
+
bytes: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
size: string | number | bigint;
|
|
288
|
+
head: {
|
|
289
|
+
vec: Iterable<any> & {
|
|
290
|
+
length: number;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
tail: {
|
|
294
|
+
vec: Iterable<any> & {
|
|
295
|
+
length: number;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
}>;
|
|
300
|
+
static fromFields(fields: Record<string, any>): TypusUserRegistry;
|
|
301
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): TypusUserRegistry;
|
|
302
|
+
static fromBcs(data: Uint8Array): TypusUserRegistry;
|
|
303
|
+
toJSONField(): {
|
|
304
|
+
id: string;
|
|
305
|
+
metadata: {
|
|
306
|
+
id: string;
|
|
307
|
+
size: string;
|
|
308
|
+
head: string | null;
|
|
309
|
+
tail: string | null;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
toJSON(): {
|
|
313
|
+
id: string;
|
|
314
|
+
metadata: {
|
|
315
|
+
id: string;
|
|
316
|
+
size: string;
|
|
317
|
+
head: string | null;
|
|
318
|
+
tail: string | null;
|
|
319
|
+
};
|
|
320
|
+
$typeName: string;
|
|
321
|
+
$typeArgs: [];
|
|
322
|
+
};
|
|
323
|
+
static fromJSONField(field: any): TypusUserRegistry;
|
|
324
|
+
static fromJSON(json: Record<string, any>): TypusUserRegistry;
|
|
325
|
+
static fromSuiParsedData(content: SuiParsedData): TypusUserRegistry;
|
|
326
|
+
static fromSuiObjectData(data: SuiObjectData): TypusUserRegistry;
|
|
327
|
+
static fetch(client: SuiClient, id: string): Promise<TypusUserRegistry>;
|
|
328
|
+
}
|