@typus/typus-perp-sdk 1.0.52 → 1.0.53
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/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/dist/src/user/order.js +34 -34
- 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
|
@@ -3,8 +3,8 @@ import { Option } from "../../_dependencies/source/0x1/option/structs";
|
|
|
3
3
|
import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
|
|
4
4
|
import { ObjectTable } from "../../_dependencies/source/0x2/object-table/structs";
|
|
5
5
|
import { UID } from "../../_dependencies/source/0x2/object/structs";
|
|
6
|
-
import { KeyedBigVector } from "../../_dependencies/source/
|
|
7
|
-
import { LinkedObjectTable } from "../../_dependencies/source/
|
|
6
|
+
import { KeyedBigVector } from "../../_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs";
|
|
7
|
+
import { LinkedObjectTable } from "../../_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs";
|
|
8
8
|
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, ToTypeStr as ToPhantom } from "../../_framework/reified";
|
|
9
9
|
import { FieldsWithTypes } from "../../_framework/util";
|
|
10
10
|
import { Vector } from "../../_framework/vector";
|
|
@@ -37,7 +37,7 @@ export declare class AddTradingSymbolEvent implements StructClass {
|
|
|
37
37
|
static reified(): AddTradingSymbolEventReified;
|
|
38
38
|
static get r(): reified.StructClassReified<AddTradingSymbolEvent, AddTradingSymbolEventFields>;
|
|
39
39
|
static phantom(): PhantomReified<ToTypeStr<AddTradingSymbolEvent>>;
|
|
40
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::AddTradingSymbolEvent" | "
|
|
40
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::AddTradingSymbolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::AddTradingSymbolEvent">;
|
|
41
41
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
42
42
|
index: string;
|
|
43
43
|
base_token_type: {
|
|
@@ -239,7 +239,7 @@ export declare class CancelTradingOrderEvent implements StructClass {
|
|
|
239
239
|
static reified(): CancelTradingOrderEventReified;
|
|
240
240
|
static get r(): reified.StructClassReified<CancelTradingOrderEvent, CancelTradingOrderEventFields>;
|
|
241
241
|
static phantom(): PhantomReified<ToTypeStr<CancelTradingOrderEvent>>;
|
|
242
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CancelTradingOrderEvent" | "
|
|
242
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CancelTradingOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::CancelTradingOrderEvent">;
|
|
243
243
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
244
244
|
user: string;
|
|
245
245
|
market_index: string;
|
|
@@ -371,7 +371,7 @@ export declare class CreateTradingOrderEvent implements StructClass {
|
|
|
371
371
|
static reified(): CreateTradingOrderEventReified;
|
|
372
372
|
static get r(): reified.StructClassReified<CreateTradingOrderEvent, CreateTradingOrderEventFields>;
|
|
373
373
|
static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderEvent>>;
|
|
374
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CreateTradingOrderEvent" | "
|
|
374
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CreateTradingOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::CreateTradingOrderEvent">;
|
|
375
375
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
376
376
|
user: string;
|
|
377
377
|
market_index: string;
|
|
@@ -545,7 +545,7 @@ export declare class CreateTradingOrderWithBidReceiptsEvent implements StructCla
|
|
|
545
545
|
static reified(): CreateTradingOrderWithBidReceiptsEventReified;
|
|
546
546
|
static get r(): reified.StructClassReified<CreateTradingOrderWithBidReceiptsEvent, CreateTradingOrderWithBidReceiptsEventFields>;
|
|
547
547
|
static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderWithBidReceiptsEvent>>;
|
|
548
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CreateTradingOrderWithBidReceiptsEvent" | "
|
|
548
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::CreateTradingOrderWithBidReceiptsEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::CreateTradingOrderWithBidReceiptsEvent">;
|
|
549
549
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
550
550
|
user: string;
|
|
551
551
|
market_index: string;
|
|
@@ -683,7 +683,7 @@ export declare class ExpiredPositionInfo implements StructClass {
|
|
|
683
683
|
static reified(): ExpiredPositionInfoReified;
|
|
684
684
|
static get r(): reified.StructClassReified<ExpiredPositionInfo, ExpiredPositionInfoFields>;
|
|
685
685
|
static phantom(): PhantomReified<ToTypeStr<ExpiredPositionInfo>>;
|
|
686
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ExpiredPositionInfo" | "
|
|
686
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ExpiredPositionInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ExpiredPositionInfo">;
|
|
687
687
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
688
688
|
position_id: string;
|
|
689
689
|
dov_index: string;
|
|
@@ -799,7 +799,7 @@ export declare class IncreaseCollateralEvent implements StructClass {
|
|
|
799
799
|
static reified(): IncreaseCollateralEventReified;
|
|
800
800
|
static get r(): reified.StructClassReified<IncreaseCollateralEvent, IncreaseCollateralEventFields>;
|
|
801
801
|
static phantom(): PhantomReified<ToTypeStr<IncreaseCollateralEvent>>;
|
|
802
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::IncreaseCollateralEvent" | "
|
|
802
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::IncreaseCollateralEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::IncreaseCollateralEvent">;
|
|
803
803
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
804
804
|
user: string;
|
|
805
805
|
market_index: string;
|
|
@@ -919,7 +919,7 @@ export declare class LiquidateEvent implements StructClass {
|
|
|
919
919
|
static reified(): LiquidateEventReified;
|
|
920
920
|
static get r(): reified.StructClassReified<LiquidateEvent, LiquidateEventFields>;
|
|
921
921
|
static phantom(): PhantomReified<ToTypeStr<LiquidateEvent>>;
|
|
922
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::LiquidateEvent" | "
|
|
922
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::LiquidateEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::LiquidateEvent">;
|
|
923
923
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
924
924
|
user: string;
|
|
925
925
|
collateral_token: {
|
|
@@ -1027,7 +1027,7 @@ export declare class LiquidationInfo implements StructClass {
|
|
|
1027
1027
|
static reified(): LiquidationInfoReified;
|
|
1028
1028
|
static get r(): reified.StructClassReified<LiquidationInfo, LiquidationInfoFields>;
|
|
1029
1029
|
static phantom(): PhantomReified<ToTypeStr<LiquidationInfo>>;
|
|
1030
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::LiquidationInfo" | "
|
|
1030
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::LiquidationInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::LiquidationInfo">;
|
|
1031
1031
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1032
1032
|
position_id: string;
|
|
1033
1033
|
dov_index: {
|
|
@@ -1109,7 +1109,7 @@ export declare class ManagerCloseOptionPositionEvent implements StructClass {
|
|
|
1109
1109
|
static reified(): ManagerCloseOptionPositionEventReified;
|
|
1110
1110
|
static get r(): reified.StructClassReified<ManagerCloseOptionPositionEvent, ManagerCloseOptionPositionEventFields>;
|
|
1111
1111
|
static phantom(): PhantomReified<ToTypeStr<ManagerCloseOptionPositionEvent>>;
|
|
1112
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerCloseOptionPositionEvent" | "
|
|
1112
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerCloseOptionPositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerCloseOptionPositionEvent">;
|
|
1113
1113
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1114
1114
|
user: string;
|
|
1115
1115
|
collateral_token: {
|
|
@@ -1231,7 +1231,7 @@ export declare class ManagerReducePositionEvent implements StructClass {
|
|
|
1231
1231
|
static reified(): ManagerReducePositionEventReified;
|
|
1232
1232
|
static get r(): reified.StructClassReified<ManagerReducePositionEvent, ManagerReducePositionEventFields>;
|
|
1233
1233
|
static phantom(): PhantomReified<ToTypeStr<ManagerReducePositionEvent>>;
|
|
1234
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerReducePositionEvent" | "
|
|
1234
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerReducePositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerReducePositionEvent">;
|
|
1235
1235
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1236
1236
|
user: string;
|
|
1237
1237
|
collateral_token: {
|
|
@@ -1343,7 +1343,7 @@ export declare class ManagerUpdateProcessStatusAfterOrderEvent implements Struct
|
|
|
1343
1343
|
static reified(): ManagerUpdateProcessStatusAfterOrderEventReified;
|
|
1344
1344
|
static get r(): reified.StructClassReified<ManagerUpdateProcessStatusAfterOrderEvent, ManagerUpdateProcessStatusAfterOrderEventFields>;
|
|
1345
1345
|
static phantom(): PhantomReified<ToTypeStr<ManagerUpdateProcessStatusAfterOrderEvent>>;
|
|
1346
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerUpdateProcessStatusAfterOrderEvent" | "
|
|
1346
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerUpdateProcessStatusAfterOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerUpdateProcessStatusAfterOrderEvent">;
|
|
1347
1347
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1348
1348
|
market_index: string;
|
|
1349
1349
|
pool_index: string;
|
|
@@ -1431,7 +1431,7 @@ export declare class ManagerUpdateProcessStatusAfterPositionEvent implements Str
|
|
|
1431
1431
|
static reified(): ManagerUpdateProcessStatusAfterPositionEventReified;
|
|
1432
1432
|
static get r(): reified.StructClassReified<ManagerUpdateProcessStatusAfterPositionEvent, ManagerUpdateProcessStatusAfterPositionEventFields>;
|
|
1433
1433
|
static phantom(): PhantomReified<ToTypeStr<ManagerUpdateProcessStatusAfterPositionEvent>>;
|
|
1434
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerUpdateProcessStatusAfterPositionEvent" | "
|
|
1434
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ManagerUpdateProcessStatusAfterPositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ManagerUpdateProcessStatusAfterPositionEvent">;
|
|
1435
1435
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1436
1436
|
market_index: string;
|
|
1437
1437
|
pool_index: string;
|
|
@@ -1531,7 +1531,7 @@ export declare class MarketConfig implements StructClass {
|
|
|
1531
1531
|
static reified(): MarketConfigReified;
|
|
1532
1532
|
static get r(): reified.StructClassReified<MarketConfig, MarketConfigFields>;
|
|
1533
1533
|
static phantom(): PhantomReified<ToTypeStr<MarketConfig>>;
|
|
1534
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketConfig" | "
|
|
1534
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketConfig" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketConfig">;
|
|
1535
1535
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1536
1536
|
oracle_id: string;
|
|
1537
1537
|
max_leverage_mbp: string;
|
|
@@ -1641,7 +1641,7 @@ export declare class MarketInfo implements StructClass {
|
|
|
1641
1641
|
static reified(): MarketInfoReified;
|
|
1642
1642
|
static get r(): reified.StructClassReified<MarketInfo, MarketInfoFields>;
|
|
1643
1643
|
static phantom(): PhantomReified<ToTypeStr<MarketInfo>>;
|
|
1644
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketInfo" | "
|
|
1644
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketInfo" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketInfo">;
|
|
1645
1645
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1646
1646
|
is_active: boolean;
|
|
1647
1647
|
size_decimal: string;
|
|
@@ -1749,7 +1749,7 @@ export declare class MarketRegistry implements StructClass {
|
|
|
1749
1749
|
static reified(): MarketRegistryReified;
|
|
1750
1750
|
static get r(): reified.StructClassReified<MarketRegistry, MarketRegistryFields>;
|
|
1751
1751
|
static phantom(): PhantomReified<ToTypeStr<MarketRegistry>>;
|
|
1752
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketRegistry" | "
|
|
1752
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MarketRegistry" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MarketRegistry">;
|
|
1753
1753
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1754
1754
|
id: {
|
|
1755
1755
|
id: {
|
|
@@ -1893,7 +1893,7 @@ export declare class Markets implements StructClass {
|
|
|
1893
1893
|
static reified(): MarketsReified;
|
|
1894
1894
|
static get r(): reified.StructClassReified<Markets, MarketsFields>;
|
|
1895
1895
|
static phantom(): PhantomReified<ToTypeStr<Markets>>;
|
|
1896
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::Markets" | "
|
|
1896
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::Markets" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::Markets">;
|
|
1897
1897
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1898
1898
|
id: {
|
|
1899
1899
|
id: {
|
|
@@ -2047,7 +2047,7 @@ export declare class MatchTradingOrderEvent implements StructClass {
|
|
|
2047
2047
|
static reified(): MatchTradingOrderEventReified;
|
|
2048
2048
|
static get r(): reified.StructClassReified<MatchTradingOrderEvent, MatchTradingOrderEventFields>;
|
|
2049
2049
|
static phantom(): PhantomReified<ToTypeStr<MatchTradingOrderEvent>>;
|
|
2050
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MatchTradingOrderEvent" | "
|
|
2050
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::MatchTradingOrderEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::MatchTradingOrderEvent">;
|
|
2051
2051
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2052
2052
|
collateral_token: {
|
|
2053
2053
|
name: {
|
|
@@ -2141,7 +2141,7 @@ export declare class NewMarketsEvent implements StructClass {
|
|
|
2141
2141
|
static reified(): NewMarketsEventReified;
|
|
2142
2142
|
static get r(): reified.StructClassReified<NewMarketsEvent, NewMarketsEventFields>;
|
|
2143
2143
|
static phantom(): PhantomReified<ToTypeStr<NewMarketsEvent>>;
|
|
2144
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::NewMarketsEvent" | "
|
|
2144
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::NewMarketsEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::NewMarketsEvent">;
|
|
2145
2145
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2146
2146
|
index: string;
|
|
2147
2147
|
lp_token_type: {
|
|
@@ -2251,7 +2251,7 @@ export declare class RealizeOptionPositionEvent implements StructClass {
|
|
|
2251
2251
|
static reified(): RealizeOptionPositionEventReified;
|
|
2252
2252
|
static get r(): reified.StructClassReified<RealizeOptionPositionEvent, RealizeOptionPositionEventFields>;
|
|
2253
2253
|
static phantom(): PhantomReified<ToTypeStr<RealizeOptionPositionEvent>>;
|
|
2254
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::RealizeOptionPositionEvent" | "
|
|
2254
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::RealizeOptionPositionEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::RealizeOptionPositionEvent">;
|
|
2255
2255
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2256
2256
|
position_user: string;
|
|
2257
2257
|
position_id: string;
|
|
@@ -2383,7 +2383,7 @@ export declare class ReleaseCollateralEvent implements StructClass {
|
|
|
2383
2383
|
static reified(): ReleaseCollateralEventReified;
|
|
2384
2384
|
static get r(): reified.StructClassReified<ReleaseCollateralEvent, ReleaseCollateralEventFields>;
|
|
2385
2385
|
static phantom(): PhantomReified<ToTypeStr<ReleaseCollateralEvent>>;
|
|
2386
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ReleaseCollateralEvent" | "
|
|
2386
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ReleaseCollateralEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ReleaseCollateralEvent">;
|
|
2387
2387
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2388
2388
|
user: string;
|
|
2389
2389
|
market_index: string;
|
|
@@ -2489,7 +2489,7 @@ export declare class ResumeMarketEvent implements StructClass {
|
|
|
2489
2489
|
static reified(): ResumeMarketEventReified;
|
|
2490
2490
|
static get r(): reified.StructClassReified<ResumeMarketEvent, ResumeMarketEventFields>;
|
|
2491
2491
|
static phantom(): PhantomReified<ToTypeStr<ResumeMarketEvent>>;
|
|
2492
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ResumeMarketEvent" | "
|
|
2492
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ResumeMarketEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ResumeMarketEvent">;
|
|
2493
2493
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2494
2494
|
index: string;
|
|
2495
2495
|
u64_padding: string[];
|
|
@@ -2541,7 +2541,7 @@ export declare class ResumeTradingSymbolEvent implements StructClass {
|
|
|
2541
2541
|
static reified(): ResumeTradingSymbolEventReified;
|
|
2542
2542
|
static get r(): reified.StructClassReified<ResumeTradingSymbolEvent, ResumeTradingSymbolEventFields>;
|
|
2543
2543
|
static phantom(): PhantomReified<ToTypeStr<ResumeTradingSymbolEvent>>;
|
|
2544
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ResumeTradingSymbolEvent" | "
|
|
2544
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::ResumeTradingSymbolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::ResumeTradingSymbolEvent">;
|
|
2545
2545
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2546
2546
|
index: string;
|
|
2547
2547
|
resumed_base_token: {
|
|
@@ -2623,7 +2623,7 @@ export declare class SettleReceiptCollateralEvent implements StructClass {
|
|
|
2623
2623
|
static reified(): SettleReceiptCollateralEventReified;
|
|
2624
2624
|
static get r(): reified.StructClassReified<SettleReceiptCollateralEvent, SettleReceiptCollateralEventFields>;
|
|
2625
2625
|
static phantom(): PhantomReified<ToTypeStr<SettleReceiptCollateralEvent>>;
|
|
2626
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SettleReceiptCollateralEvent" | "
|
|
2626
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SettleReceiptCollateralEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SettleReceiptCollateralEvent">;
|
|
2627
2627
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2628
2628
|
user: string;
|
|
2629
2629
|
collateral_token: {
|
|
@@ -2729,7 +2729,7 @@ export declare class SuspendMarketEvent implements StructClass {
|
|
|
2729
2729
|
static reified(): SuspendMarketEventReified;
|
|
2730
2730
|
static get r(): reified.StructClassReified<SuspendMarketEvent, SuspendMarketEventFields>;
|
|
2731
2731
|
static phantom(): PhantomReified<ToTypeStr<SuspendMarketEvent>>;
|
|
2732
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SuspendMarketEvent" | "
|
|
2732
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SuspendMarketEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SuspendMarketEvent">;
|
|
2733
2733
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2734
2734
|
index: string;
|
|
2735
2735
|
u64_padding: string[];
|
|
@@ -2781,7 +2781,7 @@ export declare class SuspendTradingSymbolEvent implements StructClass {
|
|
|
2781
2781
|
static reified(): SuspendTradingSymbolEventReified;
|
|
2782
2782
|
static get r(): reified.StructClassReified<SuspendTradingSymbolEvent, SuspendTradingSymbolEventFields>;
|
|
2783
2783
|
static phantom(): PhantomReified<ToTypeStr<SuspendTradingSymbolEvent>>;
|
|
2784
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SuspendTradingSymbolEvent" | "
|
|
2784
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SuspendTradingSymbolEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SuspendTradingSymbolEvent">;
|
|
2785
2785
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2786
2786
|
index: string;
|
|
2787
2787
|
suspended_base_token: {
|
|
@@ -2857,7 +2857,7 @@ export declare class SymbolMarket implements StructClass {
|
|
|
2857
2857
|
static reified(): SymbolMarketReified;
|
|
2858
2858
|
static get r(): reified.StructClassReified<SymbolMarket, SymbolMarketFields>;
|
|
2859
2859
|
static phantom(): PhantomReified<ToTypeStr<SymbolMarket>>;
|
|
2860
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SymbolMarket" | "
|
|
2860
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::SymbolMarket" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::SymbolMarket">;
|
|
2861
2861
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2862
2862
|
id: {
|
|
2863
2863
|
id: {
|
|
@@ -3121,7 +3121,7 @@ export declare class USD implements StructClass {
|
|
|
3121
3121
|
static reified(): USDReified;
|
|
3122
3122
|
static get r(): reified.StructClassReified<USD, USDFields>;
|
|
3123
3123
|
static phantom(): PhantomReified<ToTypeStr<USD>>;
|
|
3124
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::USD" | "
|
|
3124
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::USD" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::USD">;
|
|
3125
3125
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3126
3126
|
dummy_field: boolean;
|
|
3127
3127
|
}, {
|
|
@@ -3177,7 +3177,7 @@ export declare class UpdateFundingRateEvent implements StructClass {
|
|
|
3177
3177
|
static reified(): UpdateFundingRateEventReified;
|
|
3178
3178
|
static get r(): reified.StructClassReified<UpdateFundingRateEvent, UpdateFundingRateEventFields>;
|
|
3179
3179
|
static phantom(): PhantomReified<ToTypeStr<UpdateFundingRateEvent>>;
|
|
3180
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateFundingRateEvent" | "
|
|
3180
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateFundingRateEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::UpdateFundingRateEvent">;
|
|
3181
3181
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3182
3182
|
base_token: {
|
|
3183
3183
|
name: {
|
|
@@ -3271,7 +3271,7 @@ export declare class UpdateMarketConfigEvent implements StructClass {
|
|
|
3271
3271
|
static reified(): UpdateMarketConfigEventReified;
|
|
3272
3272
|
static get r(): reified.StructClassReified<UpdateMarketConfigEvent, UpdateMarketConfigEventFields>;
|
|
3273
3273
|
static phantom(): PhantomReified<ToTypeStr<UpdateMarketConfigEvent>>;
|
|
3274
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateMarketConfigEvent" | "
|
|
3274
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateMarketConfigEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::UpdateMarketConfigEvent">;
|
|
3275
3275
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3276
3276
|
index: string;
|
|
3277
3277
|
base_token_type: {
|
|
@@ -3447,7 +3447,7 @@ export declare class UpdateProtocolFeeShareBpEvent implements StructClass {
|
|
|
3447
3447
|
static reified(): UpdateProtocolFeeShareBpEventReified;
|
|
3448
3448
|
static get r(): reified.StructClassReified<UpdateProtocolFeeShareBpEvent, UpdateProtocolFeeShareBpEventFields>;
|
|
3449
3449
|
static phantom(): PhantomReified<ToTypeStr<UpdateProtocolFeeShareBpEvent>>;
|
|
3450
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateProtocolFeeShareBpEvent" | "
|
|
3450
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::trading::UpdateProtocolFeeShareBpEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::trading::UpdateProtocolFeeShareBpEvent">;
|
|
3451
3451
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3452
3452
|
index: string;
|
|
3453
3453
|
previous_protocol_fee_share_bp: string;
|
|
@@ -141,8 +141,8 @@ var structs_1 = require("../../_dependencies/source/0x1/option/structs");
|
|
|
141
141
|
var structs_2 = require("../../_dependencies/source/0x1/type-name/structs");
|
|
142
142
|
var structs_3 = require("../../_dependencies/source/0x2/object-table/structs");
|
|
143
143
|
var structs_4 = require("../../_dependencies/source/0x2/object/structs");
|
|
144
|
-
var structs_5 = require("../../_dependencies/source/
|
|
145
|
-
var structs_6 = require("../../_dependencies/source/
|
|
144
|
+
var structs_5 = require("../../_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs");
|
|
145
|
+
var structs_6 = require("../../_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs");
|
|
146
146
|
var reified_1 = require("../../_framework/reified");
|
|
147
147
|
var util_1 = require("../../_framework/util");
|
|
148
148
|
var index_1 = require("../index");
|
|
@@ -22,7 +22,7 @@ export declare class TreasuryCaps implements StructClass {
|
|
|
22
22
|
static reified(): TreasuryCapsReified;
|
|
23
23
|
static get r(): import("../../_framework/reified").StructClassReified<TreasuryCaps, TreasuryCapsFields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<TreasuryCaps>>;
|
|
25
|
-
static get p(): PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::treasury_caps::TreasuryCaps" | "
|
|
25
|
+
static get p(): PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::treasury_caps::TreasuryCaps" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::treasury_caps::TreasuryCaps">;
|
|
26
26
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
27
27
|
id: {
|
|
28
28
|
id: {
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import { Transaction, TransactionArgument, TransactionObjectInput } from "@mysten/sui/transactions";
|
|
2
|
-
export declare function upgrade(tx: Transaction, version: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
3
|
-
export declare function init(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
4
|
-
export declare function verify(tx: Transaction, version: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
5
2
|
export interface AddAuthorizedUserArgs {
|
|
6
3
|
version: TransactionObjectInput;
|
|
7
4
|
userAddress: string | TransactionArgument;
|
|
8
5
|
}
|
|
9
|
-
export declare function addAuthorizedUser(tx: Transaction, args: AddAuthorizedUserArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
10
|
-
export interface
|
|
11
|
-
version: TransactionObjectInput;
|
|
12
|
-
balance: TransactionObjectInput;
|
|
13
|
-
}
|
|
14
|
-
export declare function chargeFee(tx: Transaction, typeArg: string, args: ChargeFeeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
15
|
-
export interface RemoveAuthorizedUserArgs {
|
|
6
|
+
export declare function addAuthorizedUser(tx: Transaction, args: AddAuthorizedUserArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
7
|
+
export interface AddExpLeaderboardArgs {
|
|
16
8
|
version: TransactionObjectInput;
|
|
17
|
-
|
|
9
|
+
typusEcosystemVersion: TransactionObjectInput;
|
|
10
|
+
typusLeaderboardRegistry: TransactionObjectInput;
|
|
11
|
+
user: string | TransactionArgument;
|
|
12
|
+
score: bigint | TransactionArgument;
|
|
13
|
+
clock: TransactionObjectInput;
|
|
18
14
|
}
|
|
19
|
-
export declare function
|
|
20
|
-
export declare function sendFee(tx: Transaction, typeArg: string, version: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
21
|
-
export declare function versionCheck(tx: Transaction, version: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
15
|
+
export declare function addExpLeaderboard(tx: Transaction, args: AddExpLeaderboardArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
22
16
|
export interface AddTailsExpAmountArgs {
|
|
23
17
|
version: TransactionObjectInput;
|
|
24
18
|
typusEcosystemVersion: TransactionObjectInput;
|
|
@@ -26,24 +20,30 @@ export interface AddTailsExpAmountArgs {
|
|
|
26
20
|
user: string | TransactionArgument;
|
|
27
21
|
amount: bigint | TransactionArgument;
|
|
28
22
|
}
|
|
29
|
-
export declare function addTailsExpAmount(tx: Transaction, args: AddTailsExpAmountArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
30
|
-
export interface
|
|
23
|
+
export declare function addTailsExpAmount(tx: Transaction, args: AddTailsExpAmountArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
24
|
+
export interface ChargeFeeArgs {
|
|
31
25
|
version: TransactionObjectInput;
|
|
32
|
-
|
|
33
|
-
typusLeaderboardRegistry: TransactionObjectInput;
|
|
34
|
-
user: string | TransactionArgument;
|
|
35
|
-
score: bigint | TransactionArgument;
|
|
36
|
-
clock: TransactionObjectInput;
|
|
26
|
+
balance: TransactionObjectInput;
|
|
37
27
|
}
|
|
38
|
-
export declare function
|
|
28
|
+
export declare function chargeFee(tx: Transaction, typeArg: string, args: ChargeFeeArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
39
29
|
export interface ChargeLiquidatorFeeArgs {
|
|
40
30
|
version: TransactionObjectInput;
|
|
41
31
|
balance: TransactionObjectInput;
|
|
42
32
|
}
|
|
43
|
-
export declare function chargeLiquidatorFee(tx: Transaction, typeArg: string, args: ChargeLiquidatorFeeArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
33
|
+
export declare function chargeLiquidatorFee(tx: Transaction, typeArg: string, args: ChargeLiquidatorFeeArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
34
|
+
export declare function init(tx: Transaction, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
44
35
|
export interface InstallEcosystemManagerCapEntryArgs {
|
|
45
36
|
version: TransactionObjectInput;
|
|
46
37
|
typusEcosystemVersion: TransactionObjectInput;
|
|
47
38
|
}
|
|
48
|
-
export declare function installEcosystemManagerCapEntry(tx: Transaction, args: InstallEcosystemManagerCapEntryArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
49
|
-
export
|
|
39
|
+
export declare function installEcosystemManagerCapEntry(tx: Transaction, args: InstallEcosystemManagerCapEntryArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
40
|
+
export interface RemoveAuthorizedUserArgs {
|
|
41
|
+
version: TransactionObjectInput;
|
|
42
|
+
userAddress: string | TransactionArgument;
|
|
43
|
+
}
|
|
44
|
+
export declare function removeAuthorizedUser(tx: Transaction, args: RemoveAuthorizedUserArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
45
|
+
export declare function sendFee(tx: Transaction, typeArg: string, version: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
46
|
+
export declare function sendLiquidatorFee(tx: Transaction, typeArg: string, version: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
47
|
+
export declare function upgrade(tx: Transaction, version: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
48
|
+
export declare function verify(tx: Transaction, version: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
49
|
+
export declare function versionCheck(tx: Transaction, version: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -1,92 +1,105 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.upgrade = upgrade;
|
|
4
|
-
exports.init = init;
|
|
5
|
-
exports.verify = verify;
|
|
6
3
|
exports.addAuthorizedUser = addAuthorizedUser;
|
|
7
|
-
exports.chargeFee = chargeFee;
|
|
8
|
-
exports.removeAuthorizedUser = removeAuthorizedUser;
|
|
9
|
-
exports.sendFee = sendFee;
|
|
10
|
-
exports.versionCheck = versionCheck;
|
|
11
|
-
exports.addTailsExpAmount = addTailsExpAmount;
|
|
12
4
|
exports.addExpLeaderboard = addExpLeaderboard;
|
|
5
|
+
exports.addTailsExpAmount = addTailsExpAmount;
|
|
6
|
+
exports.chargeFee = chargeFee;
|
|
13
7
|
exports.chargeLiquidatorFee = chargeLiquidatorFee;
|
|
8
|
+
exports.init = init;
|
|
14
9
|
exports.installEcosystemManagerCapEntry = installEcosystemManagerCapEntry;
|
|
10
|
+
exports.removeAuthorizedUser = removeAuthorizedUser;
|
|
11
|
+
exports.sendFee = sendFee;
|
|
15
12
|
exports.sendLiquidatorFee = sendLiquidatorFee;
|
|
13
|
+
exports.upgrade = upgrade;
|
|
14
|
+
exports.verify = verify;
|
|
15
|
+
exports.versionCheck = versionCheck;
|
|
16
16
|
var __1 = require("..");
|
|
17
17
|
var util_1 = require("../../_framework/util");
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
function init(tx) {
|
|
22
|
-
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::admin::init"), arguments: [] });
|
|
23
|
-
}
|
|
24
|
-
function verify(tx, version) {
|
|
25
|
-
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::admin::verify"), arguments: [(0, util_1.obj)(tx, version)] });
|
|
26
|
-
}
|
|
27
|
-
function addAuthorizedUser(tx, args) {
|
|
28
|
-
return tx.moveCall({
|
|
29
|
-
target: "".concat(__1.PUBLISHED_AT, "::admin::add_authorized_user"),
|
|
30
|
-
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.pure)(tx, args.userAddress, "address")],
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function chargeFee(tx, typeArg, args) {
|
|
34
|
-
return tx.moveCall({
|
|
35
|
-
target: "".concat(__1.PUBLISHED_AT, "::admin::charge_fee"),
|
|
36
|
-
typeArguments: [typeArg],
|
|
37
|
-
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.obj)(tx, args.balance)],
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
function removeAuthorizedUser(tx, args) {
|
|
18
|
+
function addAuthorizedUser(tx, args, published_at) {
|
|
19
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
41
20
|
return tx.moveCall({
|
|
42
|
-
target: "".concat(
|
|
21
|
+
target: "".concat(published_at, "::admin::add_authorized_user"),
|
|
43
22
|
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.pure)(tx, args.userAddress, "address")],
|
|
44
23
|
});
|
|
45
24
|
}
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
function versionCheck(tx, version) {
|
|
50
|
-
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::admin::version_check"), arguments: [(0, util_1.obj)(tx, version)] });
|
|
51
|
-
}
|
|
52
|
-
function addTailsExpAmount(tx, args) {
|
|
25
|
+
function addExpLeaderboard(tx, args, published_at) {
|
|
26
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
53
27
|
return tx.moveCall({
|
|
54
|
-
target: "".concat(
|
|
28
|
+
target: "".concat(published_at, "::admin::add_exp_leaderboard"),
|
|
55
29
|
arguments: [
|
|
56
30
|
(0, util_1.obj)(tx, args.version),
|
|
57
31
|
(0, util_1.obj)(tx, args.typusEcosystemVersion),
|
|
58
|
-
(0, util_1.obj)(tx, args.
|
|
32
|
+
(0, util_1.obj)(tx, args.typusLeaderboardRegistry),
|
|
59
33
|
(0, util_1.pure)(tx, args.user, "address"),
|
|
60
|
-
(0, util_1.pure)(tx, args.
|
|
34
|
+
(0, util_1.pure)(tx, args.score, "u64"),
|
|
35
|
+
(0, util_1.obj)(tx, args.clock),
|
|
61
36
|
],
|
|
62
37
|
});
|
|
63
38
|
}
|
|
64
|
-
function
|
|
39
|
+
function addTailsExpAmount(tx, args, published_at) {
|
|
40
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
65
41
|
return tx.moveCall({
|
|
66
|
-
target: "".concat(
|
|
42
|
+
target: "".concat(published_at, "::admin::add_tails_exp_amount"),
|
|
67
43
|
arguments: [
|
|
68
44
|
(0, util_1.obj)(tx, args.version),
|
|
69
45
|
(0, util_1.obj)(tx, args.typusEcosystemVersion),
|
|
70
|
-
(0, util_1.obj)(tx, args.
|
|
46
|
+
(0, util_1.obj)(tx, args.typusUserRegistry),
|
|
71
47
|
(0, util_1.pure)(tx, args.user, "address"),
|
|
72
|
-
(0, util_1.pure)(tx, args.
|
|
73
|
-
(0, util_1.obj)(tx, args.clock),
|
|
48
|
+
(0, util_1.pure)(tx, args.amount, "u64"),
|
|
74
49
|
],
|
|
75
50
|
});
|
|
76
51
|
}
|
|
77
|
-
function
|
|
52
|
+
function chargeFee(tx, typeArg, args, published_at) {
|
|
53
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
78
54
|
return tx.moveCall({
|
|
79
|
-
target: "".concat(
|
|
55
|
+
target: "".concat(published_at, "::admin::charge_fee"),
|
|
80
56
|
typeArguments: [typeArg],
|
|
81
57
|
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.obj)(tx, args.balance)],
|
|
82
58
|
});
|
|
83
59
|
}
|
|
84
|
-
function
|
|
60
|
+
function chargeLiquidatorFee(tx, typeArg, args, published_at) {
|
|
61
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
85
62
|
return tx.moveCall({
|
|
86
|
-
target: "".concat(
|
|
63
|
+
target: "".concat(published_at, "::admin::charge_liquidator_fee"),
|
|
64
|
+
typeArguments: [typeArg],
|
|
65
|
+
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.obj)(tx, args.balance)],
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function init(tx, published_at) {
|
|
69
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
70
|
+
return tx.moveCall({ target: "".concat(published_at, "::admin::init"), arguments: [] });
|
|
71
|
+
}
|
|
72
|
+
function installEcosystemManagerCapEntry(tx, args, published_at) {
|
|
73
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
74
|
+
return tx.moveCall({
|
|
75
|
+
target: "".concat(published_at, "::admin::install_ecosystem_manager_cap_entry"),
|
|
87
76
|
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.obj)(tx, args.typusEcosystemVersion)],
|
|
88
77
|
});
|
|
89
78
|
}
|
|
90
|
-
function
|
|
91
|
-
|
|
79
|
+
function removeAuthorizedUser(tx, args, published_at) {
|
|
80
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
81
|
+
return tx.moveCall({
|
|
82
|
+
target: "".concat(published_at, "::admin::remove_authorized_user"),
|
|
83
|
+
arguments: [(0, util_1.obj)(tx, args.version), (0, util_1.pure)(tx, args.userAddress, "address")],
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function sendFee(tx, typeArg, version, published_at) {
|
|
87
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
88
|
+
return tx.moveCall({ target: "".concat(published_at, "::admin::send_fee"), typeArguments: [typeArg], arguments: [(0, util_1.obj)(tx, version)] });
|
|
89
|
+
}
|
|
90
|
+
function sendLiquidatorFee(tx, typeArg, version, published_at) {
|
|
91
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
92
|
+
return tx.moveCall({ target: "".concat(published_at, "::admin::send_liquidator_fee"), typeArguments: [typeArg], arguments: [(0, util_1.obj)(tx, version)] });
|
|
93
|
+
}
|
|
94
|
+
function upgrade(tx, version, published_at) {
|
|
95
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
96
|
+
return tx.moveCall({ target: "".concat(published_at, "::admin::upgrade"), arguments: [(0, util_1.obj)(tx, version)] });
|
|
97
|
+
}
|
|
98
|
+
function verify(tx, version, published_at) {
|
|
99
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
100
|
+
return tx.moveCall({ target: "".concat(published_at, "::admin::verify"), arguments: [(0, util_1.obj)(tx, version)] });
|
|
101
|
+
}
|
|
102
|
+
function versionCheck(tx, version, published_at) {
|
|
103
|
+
if (published_at === void 0) { published_at = __1.PUBLISHED_AT; }
|
|
104
|
+
return tx.moveCall({ target: "".concat(published_at, "::admin::version_check"), arguments: [(0, util_1.obj)(tx, version)] });
|
|
92
105
|
}
|