@typus/typus-perp-sdk 1.0.20 → 1.0.21-tk1
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/api/sentio.js +1 -1
- package/dist/src/fetch.js +20 -27
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +16 -12
- package/dist/src/typus_perp/admin/structs.d.ts +5 -5
- package/dist/src/typus_perp/error/functions.d.ts +2 -2
- package/dist/src/typus_perp/error/functions.js +8 -8
- package/dist/src/typus_perp/escrow/structs.d.ts +1 -1
- package/dist/src/typus_perp/index.js +3 -3
- package/dist/src/typus_perp/init.js +0 -3
- package/dist/src/typus_perp/lp-pool/functions.d.ts +2 -10
- package/dist/src/typus_perp/lp-pool/functions.js +7 -27
- package/dist/src/typus_perp/lp-pool/structs.d.ts +26 -26
- package/dist/src/typus_perp/position/functions.d.ts +21 -6
- package/dist/src/typus_perp/position/functions.js +42 -6
- 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.d.ts +50 -70
- package/dist/src/typus_perp/trading/functions.js +50 -70
- package/dist/src/typus_perp/trading/structs.d.ts +52 -30
- package/dist/src/typus_perp/trading/structs.js +6 -0
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +1 -1
- package/dist/src/typus_stake_pool/admin/structs.d.ts +4 -4
- package/dist/src/typus_stake_pool/index.js +3 -3
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +0 -1
- package/dist/src/typus_stake_pool/stake-pool/functions.js +0 -1
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +22 -22
- package/dist/src/user/history.js +10 -10
- package/dist/src/user/order.js +87 -42
- package/dist/src/user/orderWithBidReceipt.js +58 -26
- package/dist/src/user/tlp.d.ts +4 -3
- package/dist/src/user/tlp.js +93 -60
- package/package.json +2 -2
- package/dist/src/typus_perp/oracle/functions.d.ts +0 -13
- package/dist/src/typus_perp/oracle/functions.js +0 -22
- package/dist/src/typus_perp/oracle/structs.d.ts +0 -111
- package/dist/src/typus_perp/oracle/structs.js +0 -389
|
@@ -34,7 +34,7 @@ export declare class Config implements StructClass {
|
|
|
34
34
|
static reified(): ConfigReified;
|
|
35
35
|
static get r(): reified.StructClassReified<Config, ConfigFields>;
|
|
36
36
|
static phantom(): PhantomReified<ToTypeStr<Config>>;
|
|
37
|
-
static get p(): reified.PhantomReified<"::lp_pool::Config" | "
|
|
37
|
+
static get p(): reified.PhantomReified<"::lp_pool::Config" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::Config">;
|
|
38
38
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
39
39
|
oracle_id: string;
|
|
40
40
|
liquidity_token_decimal: string;
|
|
@@ -196,7 +196,7 @@ export declare class State implements StructClass {
|
|
|
196
196
|
static reified(): StateReified;
|
|
197
197
|
static get r(): reified.StructClassReified<State, StateFields>;
|
|
198
198
|
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
199
|
-
static get p(): reified.PhantomReified<"::lp_pool::State" | "
|
|
199
|
+
static get p(): reified.PhantomReified<"::lp_pool::State" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::State">;
|
|
200
200
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
201
201
|
liquidity_amount: string;
|
|
202
202
|
value_in_usd: string;
|
|
@@ -280,7 +280,7 @@ export declare class Registry implements StructClass {
|
|
|
280
280
|
static reified(): RegistryReified;
|
|
281
281
|
static get r(): reified.StructClassReified<Registry, RegistryFields>;
|
|
282
282
|
static phantom(): PhantomReified<ToTypeStr<Registry>>;
|
|
283
|
-
static get p(): reified.PhantomReified<"::lp_pool::Registry" | "
|
|
283
|
+
static get p(): reified.PhantomReified<"::lp_pool::Registry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::Registry">;
|
|
284
284
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
285
285
|
id: {
|
|
286
286
|
id: {
|
|
@@ -356,7 +356,7 @@ export declare class AddLiquidityTokenEvent implements StructClass {
|
|
|
356
356
|
static reified(): AddLiquidityTokenEventReified;
|
|
357
357
|
static get r(): reified.StructClassReified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
|
|
358
358
|
static phantom(): PhantomReified<ToTypeStr<AddLiquidityTokenEvent>>;
|
|
359
|
-
static get p(): reified.PhantomReified<"::lp_pool::AddLiquidityTokenEvent" | "
|
|
359
|
+
static get p(): reified.PhantomReified<"::lp_pool::AddLiquidityTokenEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::AddLiquidityTokenEvent">;
|
|
360
360
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
361
361
|
sender: string;
|
|
362
362
|
index: string;
|
|
@@ -606,7 +606,7 @@ export declare class BurnLpEvent implements StructClass {
|
|
|
606
606
|
static reified(): BurnLpEventReified;
|
|
607
607
|
static get r(): reified.StructClassReified<BurnLpEvent, BurnLpEventFields>;
|
|
608
608
|
static phantom(): PhantomReified<ToTypeStr<BurnLpEvent>>;
|
|
609
|
-
static get p(): reified.PhantomReified<"::lp_pool::BurnLpEvent" | "
|
|
609
|
+
static get p(): reified.PhantomReified<"::lp_pool::BurnLpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::BurnLpEvent">;
|
|
610
610
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
611
611
|
sender: string;
|
|
612
612
|
index: string;
|
|
@@ -718,7 +718,7 @@ export declare class CompleteRemoveLiquidityTokenProcessEvent implements StructC
|
|
|
718
718
|
static reified(): CompleteRemoveLiquidityTokenProcessEventReified;
|
|
719
719
|
static get r(): reified.StructClassReified<CompleteRemoveLiquidityTokenProcessEvent, CompleteRemoveLiquidityTokenProcessEventFields>;
|
|
720
720
|
static phantom(): PhantomReified<ToTypeStr<CompleteRemoveLiquidityTokenProcessEvent>>;
|
|
721
|
-
static get p(): reified.PhantomReified<"::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "
|
|
721
|
+
static get p(): reified.PhantomReified<"::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
|
|
722
722
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
723
723
|
index: string;
|
|
724
724
|
liquidity_token: {
|
|
@@ -808,7 +808,7 @@ export declare class LiquidityPool implements StructClass {
|
|
|
808
808
|
static reified(): LiquidityPoolReified;
|
|
809
809
|
static get r(): reified.StructClassReified<LiquidityPool, LiquidityPoolFields>;
|
|
810
810
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPool>>;
|
|
811
|
-
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPool" | "
|
|
811
|
+
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::LiquidityPool">;
|
|
812
812
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
813
813
|
id: {
|
|
814
814
|
id: {
|
|
@@ -1250,7 +1250,7 @@ export declare class LiquidityPoolInfo implements StructClass {
|
|
|
1250
1250
|
static reified(): LiquidityPoolInfoReified;
|
|
1251
1251
|
static get r(): reified.StructClassReified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
|
|
1252
1252
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPoolInfo>>;
|
|
1253
|
-
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPoolInfo" | "
|
|
1253
|
+
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPoolInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::LiquidityPoolInfo">;
|
|
1254
1254
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1255
1255
|
lp_token_decimal: string;
|
|
1256
1256
|
total_share_supply: string;
|
|
@@ -1316,7 +1316,7 @@ export declare class ManagerFlashRemoveLiquidityEvent implements StructClass {
|
|
|
1316
1316
|
static reified(): ManagerFlashRemoveLiquidityEventReified;
|
|
1317
1317
|
static get r(): reified.StructClassReified<ManagerFlashRemoveLiquidityEvent, ManagerFlashRemoveLiquidityEventFields>;
|
|
1318
1318
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRemoveLiquidityEvent>>;
|
|
1319
|
-
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRemoveLiquidityEvent" | "
|
|
1319
|
+
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRemoveLiquidityEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ManagerFlashRemoveLiquidityEvent">;
|
|
1320
1320
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1321
1321
|
index: string;
|
|
1322
1322
|
liquidity_token: {
|
|
@@ -1410,7 +1410,7 @@ export declare class ManagerFlashRepayLiquidityEvent implements StructClass {
|
|
|
1410
1410
|
static reified(): ManagerFlashRepayLiquidityEventReified;
|
|
1411
1411
|
static get r(): reified.StructClassReified<ManagerFlashRepayLiquidityEvent, ManagerFlashRepayLiquidityEventFields>;
|
|
1412
1412
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRepayLiquidityEvent>>;
|
|
1413
|
-
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRepayLiquidityEvent" | "
|
|
1413
|
+
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRepayLiquidityEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ManagerFlashRepayLiquidityEvent">;
|
|
1414
1414
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1415
1415
|
index: string;
|
|
1416
1416
|
liquidity_token: {
|
|
@@ -1506,7 +1506,7 @@ export declare class MarginConfig implements StructClass {
|
|
|
1506
1506
|
static reified(): MarginConfigReified;
|
|
1507
1507
|
static get r(): reified.StructClassReified<MarginConfig, MarginConfigFields>;
|
|
1508
1508
|
static phantom(): PhantomReified<ToTypeStr<MarginConfig>>;
|
|
1509
|
-
static get p(): reified.PhantomReified<"::lp_pool::MarginConfig" | "
|
|
1509
|
+
static get p(): reified.PhantomReified<"::lp_pool::MarginConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::MarginConfig">;
|
|
1510
1510
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1511
1511
|
basic_borrow_rate_0: string;
|
|
1512
1512
|
basic_borrow_rate_1: string;
|
|
@@ -1594,7 +1594,7 @@ export declare class MintLpEvent implements StructClass {
|
|
|
1594
1594
|
static reified(): MintLpEventReified;
|
|
1595
1595
|
static get r(): reified.StructClassReified<MintLpEvent, MintLpEventFields>;
|
|
1596
1596
|
static phantom(): PhantomReified<ToTypeStr<MintLpEvent>>;
|
|
1597
|
-
static get p(): reified.PhantomReified<"::lp_pool::MintLpEvent" | "
|
|
1597
|
+
static get p(): reified.PhantomReified<"::lp_pool::MintLpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::MintLpEvent">;
|
|
1598
1598
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1599
1599
|
sender: string;
|
|
1600
1600
|
index: string;
|
|
@@ -1706,7 +1706,7 @@ export declare class NewLiquidityPoolEvent implements StructClass {
|
|
|
1706
1706
|
static reified(): NewLiquidityPoolEventReified;
|
|
1707
1707
|
static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
1708
1708
|
static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
|
|
1709
|
-
static get p(): reified.PhantomReified<"::lp_pool::NewLiquidityPoolEvent" | "
|
|
1709
|
+
static get p(): reified.PhantomReified<"::lp_pool::NewLiquidityPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::NewLiquidityPoolEvent">;
|
|
1710
1710
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1711
1711
|
sender: string;
|
|
1712
1712
|
index: string;
|
|
@@ -1792,7 +1792,7 @@ export declare class RemoveLiquidityTokenProcess implements StructClass {
|
|
|
1792
1792
|
static reified(): RemoveLiquidityTokenProcessReified;
|
|
1793
1793
|
static get r(): reified.StructClassReified<RemoveLiquidityTokenProcess, RemoveLiquidityTokenProcessFields>;
|
|
1794
1794
|
static phantom(): PhantomReified<ToTypeStr<RemoveLiquidityTokenProcess>>;
|
|
1795
|
-
static get p(): reified.PhantomReified<"::lp_pool::RemoveLiquidityTokenProcess" | "
|
|
1795
|
+
static get p(): reified.PhantomReified<"::lp_pool::RemoveLiquidityTokenProcess" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::RemoveLiquidityTokenProcess">;
|
|
1796
1796
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1797
1797
|
liquidity_token: {
|
|
1798
1798
|
name: {
|
|
@@ -1908,7 +1908,7 @@ export declare class ResumePoolEvent implements StructClass {
|
|
|
1908
1908
|
static reified(): ResumePoolEventReified;
|
|
1909
1909
|
static get r(): reified.StructClassReified<ResumePoolEvent, ResumePoolEventFields>;
|
|
1910
1910
|
static phantom(): PhantomReified<ToTypeStr<ResumePoolEvent>>;
|
|
1911
|
-
static get p(): reified.PhantomReified<"::lp_pool::ResumePoolEvent" | "
|
|
1911
|
+
static get p(): reified.PhantomReified<"::lp_pool::ResumePoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ResumePoolEvent">;
|
|
1912
1912
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1913
1913
|
sender: string;
|
|
1914
1914
|
index: string;
|
|
@@ -1966,7 +1966,7 @@ export declare class ResumeTokenPoolEvent implements StructClass {
|
|
|
1966
1966
|
static reified(): ResumeTokenPoolEventReified;
|
|
1967
1967
|
static get r(): reified.StructClassReified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
|
|
1968
1968
|
static phantom(): PhantomReified<ToTypeStr<ResumeTokenPoolEvent>>;
|
|
1969
|
-
static get p(): reified.PhantomReified<"::lp_pool::ResumeTokenPoolEvent" | "
|
|
1969
|
+
static get p(): reified.PhantomReified<"::lp_pool::ResumeTokenPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ResumeTokenPoolEvent">;
|
|
1970
1970
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1971
1971
|
sender: string;
|
|
1972
1972
|
index: string;
|
|
@@ -2054,7 +2054,7 @@ export declare class SpotConfig implements StructClass {
|
|
|
2054
2054
|
static reified(): SpotConfigReified;
|
|
2055
2055
|
static get r(): reified.StructClassReified<SpotConfig, SpotConfigFields>;
|
|
2056
2056
|
static phantom(): PhantomReified<ToTypeStr<SpotConfig>>;
|
|
2057
|
-
static get p(): reified.PhantomReified<"::lp_pool::SpotConfig" | "
|
|
2057
|
+
static get p(): reified.PhantomReified<"::lp_pool::SpotConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SpotConfig">;
|
|
2058
2058
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2059
2059
|
min_deposit: string;
|
|
2060
2060
|
max_capacity: string;
|
|
@@ -2138,7 +2138,7 @@ export declare class StartRemoveLiquidityTokenProcessEvent implements StructClas
|
|
|
2138
2138
|
static reified(): StartRemoveLiquidityTokenProcessEventReified;
|
|
2139
2139
|
static get r(): reified.StructClassReified<StartRemoveLiquidityTokenProcessEvent, StartRemoveLiquidityTokenProcessEventFields>;
|
|
2140
2140
|
static phantom(): PhantomReified<ToTypeStr<StartRemoveLiquidityTokenProcessEvent>>;
|
|
2141
|
-
static get p(): reified.PhantomReified<"::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "
|
|
2141
|
+
static get p(): reified.PhantomReified<"::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
|
|
2142
2142
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2143
2143
|
index: string;
|
|
2144
2144
|
liquidity_token: {
|
|
@@ -2208,7 +2208,7 @@ export declare class SuspendPoolEvent implements StructClass {
|
|
|
2208
2208
|
static reified(): SuspendPoolEventReified;
|
|
2209
2209
|
static get r(): reified.StructClassReified<SuspendPoolEvent, SuspendPoolEventFields>;
|
|
2210
2210
|
static phantom(): PhantomReified<ToTypeStr<SuspendPoolEvent>>;
|
|
2211
|
-
static get p(): reified.PhantomReified<"::lp_pool::SuspendPoolEvent" | "
|
|
2211
|
+
static get p(): reified.PhantomReified<"::lp_pool::SuspendPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SuspendPoolEvent">;
|
|
2212
2212
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2213
2213
|
sender: string;
|
|
2214
2214
|
index: string;
|
|
@@ -2266,7 +2266,7 @@ export declare class SuspendTokenPoolEvent implements StructClass {
|
|
|
2266
2266
|
static reified(): SuspendTokenPoolEventReified;
|
|
2267
2267
|
static get r(): reified.StructClassReified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
|
|
2268
2268
|
static phantom(): PhantomReified<ToTypeStr<SuspendTokenPoolEvent>>;
|
|
2269
|
-
static get p(): reified.PhantomReified<"::lp_pool::SuspendTokenPoolEvent" | "
|
|
2269
|
+
static get p(): reified.PhantomReified<"::lp_pool::SuspendTokenPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SuspendTokenPoolEvent">;
|
|
2270
2270
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2271
2271
|
sender: string;
|
|
2272
2272
|
index: string;
|
|
@@ -2358,7 +2358,7 @@ export declare class SwapEvent implements StructClass {
|
|
|
2358
2358
|
static reified(): SwapEventReified;
|
|
2359
2359
|
static get r(): reified.StructClassReified<SwapEvent, SwapEventFields>;
|
|
2360
2360
|
static phantom(): PhantomReified<ToTypeStr<SwapEvent>>;
|
|
2361
|
-
static get p(): reified.PhantomReified<"::lp_pool::SwapEvent" | "
|
|
2361
|
+
static get p(): reified.PhantomReified<"::lp_pool::SwapEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SwapEvent">;
|
|
2362
2362
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2363
2363
|
sender: string;
|
|
2364
2364
|
index: string;
|
|
@@ -2478,7 +2478,7 @@ export declare class TokenPool implements StructClass {
|
|
|
2478
2478
|
static reified(): TokenPoolReified;
|
|
2479
2479
|
static get r(): reified.StructClassReified<TokenPool, TokenPoolFields>;
|
|
2480
2480
|
static phantom(): PhantomReified<ToTypeStr<TokenPool>>;
|
|
2481
|
-
static get p(): reified.PhantomReified<"::lp_pool::TokenPool" | "
|
|
2481
|
+
static get p(): reified.PhantomReified<"::lp_pool::TokenPool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::TokenPool">;
|
|
2482
2482
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2483
2483
|
token_type: {
|
|
2484
2484
|
name: {
|
|
@@ -2712,7 +2712,7 @@ export declare class UpdateBorrowInfoEvent implements StructClass {
|
|
|
2712
2712
|
static reified(): UpdateBorrowInfoEventReified;
|
|
2713
2713
|
static get r(): reified.StructClassReified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
|
|
2714
2714
|
static phantom(): PhantomReified<ToTypeStr<UpdateBorrowInfoEvent>>;
|
|
2715
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateBorrowInfoEvent" | "
|
|
2715
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateBorrowInfoEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateBorrowInfoEvent">;
|
|
2716
2716
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2717
2717
|
index: string;
|
|
2718
2718
|
liquidity_token_type: {
|
|
@@ -2810,7 +2810,7 @@ export declare class UpdateLiquidityValueEvent implements StructClass {
|
|
|
2810
2810
|
static reified(): UpdateLiquidityValueEventReified;
|
|
2811
2811
|
static get r(): reified.StructClassReified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
|
|
2812
2812
|
static phantom(): PhantomReified<ToTypeStr<UpdateLiquidityValueEvent>>;
|
|
2813
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateLiquidityValueEvent" | "
|
|
2813
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateLiquidityValueEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateLiquidityValueEvent">;
|
|
2814
2814
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2815
2815
|
sender: string;
|
|
2816
2816
|
index: string;
|
|
@@ -2902,7 +2902,7 @@ export declare class UpdateMarginConfigEvent implements StructClass {
|
|
|
2902
2902
|
static reified(): UpdateMarginConfigEventReified;
|
|
2903
2903
|
static get r(): reified.StructClassReified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
|
|
2904
2904
|
static phantom(): PhantomReified<ToTypeStr<UpdateMarginConfigEvent>>;
|
|
2905
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateMarginConfigEvent" | "
|
|
2905
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateMarginConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateMarginConfigEvent">;
|
|
2906
2906
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2907
2907
|
sender: string;
|
|
2908
2908
|
index: string;
|
|
@@ -3066,7 +3066,7 @@ export declare class UpdateSpotConfigEvent implements StructClass {
|
|
|
3066
3066
|
static reified(): UpdateSpotConfigEventReified;
|
|
3067
3067
|
static get r(): reified.StructClassReified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
|
|
3068
3068
|
static phantom(): PhantomReified<ToTypeStr<UpdateSpotConfigEvent>>;
|
|
3069
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateSpotConfigEvent" | "
|
|
3069
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateSpotConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateSpotConfigEvent">;
|
|
3070
3070
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3071
3071
|
sender: string;
|
|
3072
3072
|
index: string;
|
|
@@ -38,7 +38,8 @@ export interface CalculateFilled_Args {
|
|
|
38
38
|
export declare function calculateFilled_(tx: Transaction, args: CalculateFilled_Args): import("@mysten/sui/transactions").TransactionResult;
|
|
39
39
|
export interface CalculateIntrinsicValueArgs {
|
|
40
40
|
dovRegistry: TransactionObjectInput;
|
|
41
|
-
|
|
41
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
42
|
+
typusOracleCToken: TransactionObjectInput;
|
|
42
43
|
receipts: Array<TransactionObjectInput> | TransactionArgument;
|
|
43
44
|
clock: TransactionObjectInput;
|
|
44
45
|
}
|
|
@@ -83,7 +84,8 @@ export interface CalculateUnrealizedPnlArgs {
|
|
|
83
84
|
export declare function calculateUnrealizedPnl(tx: Transaction, args: CalculateUnrealizedPnlArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
84
85
|
export interface CheckOptionCollateralPositionLiquidatedArgs {
|
|
85
86
|
dovRegistry: TransactionObjectInput;
|
|
86
|
-
|
|
87
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
88
|
+
typusOracleCToken: TransactionObjectInput;
|
|
87
89
|
position: TransactionObjectInput;
|
|
88
90
|
collateralOraclePrice: bigint | TransactionArgument;
|
|
89
91
|
collateralOraclePriceDecimal: bigint | TransactionArgument;
|
|
@@ -177,6 +179,7 @@ export interface GetEstimatedLiquidationPriceArgs {
|
|
|
177
179
|
isSameToken: boolean | TransactionArgument;
|
|
178
180
|
collateralOraclePrice: bigint | TransactionArgument;
|
|
179
181
|
collateralOraclePriceDecimal: bigint | TransactionArgument;
|
|
182
|
+
tradingOraclePriceDecimal: bigint | TransactionArgument;
|
|
180
183
|
tradingFeeMbp: bigint | TransactionArgument;
|
|
181
184
|
maintenanceMarginRateBp: bigint | TransactionArgument;
|
|
182
185
|
}
|
|
@@ -184,18 +187,28 @@ export declare function getEstimatedLiquidationPrice(tx: Transaction, args: GetE
|
|
|
184
187
|
export declare function getMaxOrderTypeTag(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
185
188
|
export interface GetOptionCollateralOrderCollateralAmountArgs {
|
|
186
189
|
dovRegistry: TransactionObjectInput;
|
|
187
|
-
|
|
190
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
191
|
+
typusOracleCToken: TransactionObjectInput;
|
|
188
192
|
order: TransactionObjectInput;
|
|
189
193
|
clock: TransactionObjectInput;
|
|
190
194
|
}
|
|
191
195
|
export declare function getOptionCollateralOrderCollateralAmount(tx: Transaction, typeArg: string, args: GetOptionCollateralOrderCollateralAmountArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
192
196
|
export interface GetOptionPositionCollateralAmountArgs {
|
|
193
197
|
dovRegistry: TransactionObjectInput;
|
|
194
|
-
|
|
198
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
199
|
+
typusOracleCToken: TransactionObjectInput;
|
|
195
200
|
position: TransactionObjectInput;
|
|
196
201
|
clock: TransactionObjectInput;
|
|
197
202
|
}
|
|
198
203
|
export declare function getOptionPositionCollateralAmount(tx: Transaction, typeArg: string, args: GetOptionPositionCollateralAmountArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
204
|
+
export interface GetOptionPositionExerciseValueArgs {
|
|
205
|
+
dovRegistry: TransactionObjectInput;
|
|
206
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
207
|
+
typusOracleCToken: TransactionObjectInput;
|
|
208
|
+
position: TransactionObjectInput;
|
|
209
|
+
clock: TransactionObjectInput;
|
|
210
|
+
}
|
|
211
|
+
export declare function getOptionPositionExerciseValue(tx: Transaction, typeArg: string, args: GetOptionPositionExerciseValueArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
199
212
|
export declare function getOptionPositionPortfolioIndex(tx: Transaction, position: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
200
213
|
export declare function getOrderCollateralAmount(tx: Transaction, typeArg: string, order: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
201
214
|
export declare function getOrderCollateralToken(tx: Transaction, order: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -279,7 +292,8 @@ export interface OrderFilledWithBidReceiptsCollateralArgs {
|
|
|
279
292
|
version: TransactionObjectInput;
|
|
280
293
|
liquidityPool: TransactionObjectInput;
|
|
281
294
|
dovRegistry: TransactionObjectInput;
|
|
282
|
-
|
|
295
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
296
|
+
typusOracleCToken: TransactionObjectInput;
|
|
283
297
|
order: TransactionObjectInput;
|
|
284
298
|
originalPosition: TransactionObjectInput | TransactionArgument | null;
|
|
285
299
|
nextPositionId: bigint | TransactionArgument;
|
|
@@ -338,7 +352,8 @@ export interface RemovePositionWithBidReceiptsArgs {
|
|
|
338
352
|
export declare function removePositionWithBidReceipts(tx: Transaction, args: RemovePositionWithBidReceiptsArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
339
353
|
export interface UpdateOptionPositionCollateralAmountArgs {
|
|
340
354
|
dovRegistry: TransactionObjectInput;
|
|
341
|
-
|
|
355
|
+
typusOracleTradingSymbol: TransactionObjectInput;
|
|
356
|
+
typusOracleCToken: TransactionObjectInput;
|
|
342
357
|
position: TransactionObjectInput;
|
|
343
358
|
clock: TransactionObjectInput;
|
|
344
359
|
}
|
|
@@ -21,6 +21,7 @@ exports.getEstimatedLiquidationPrice = getEstimatedLiquidationPrice;
|
|
|
21
21
|
exports.getMaxOrderTypeTag = getMaxOrderTypeTag;
|
|
22
22
|
exports.getOptionCollateralOrderCollateralAmount = getOptionCollateralOrderCollateralAmount;
|
|
23
23
|
exports.getOptionPositionCollateralAmount = getOptionPositionCollateralAmount;
|
|
24
|
+
exports.getOptionPositionExerciseValue = getOptionPositionExerciseValue;
|
|
24
25
|
exports.getOptionPositionPortfolioIndex = getOptionPositionPortfolioIndex;
|
|
25
26
|
exports.getOrderCollateralAmount = getOrderCollateralAmount;
|
|
26
27
|
exports.getOrderCollateralToken = getOrderCollateralToken;
|
|
@@ -122,7 +123,8 @@ function calculateIntrinsicValue(tx, typeArg, args) {
|
|
|
122
123
|
typeArguments: [typeArg],
|
|
123
124
|
arguments: [
|
|
124
125
|
(0, util_1.obj)(tx, args.dovRegistry),
|
|
125
|
-
(0, util_1.obj)(tx, args.
|
|
126
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
127
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
126
128
|
(0, util_1.vector)(tx, "".concat(structs_2.TypusBidReceipt.$typeName), args.receipts),
|
|
127
129
|
(0, util_1.obj)(tx, args.clock),
|
|
128
130
|
],
|
|
@@ -190,7 +192,8 @@ function checkOptionCollateralPositionLiquidated(tx, typeArg, args) {
|
|
|
190
192
|
typeArguments: [typeArg],
|
|
191
193
|
arguments: [
|
|
192
194
|
(0, util_1.obj)(tx, args.dovRegistry),
|
|
193
|
-
(0, util_1.obj)(tx, args.
|
|
195
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
196
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
194
197
|
(0, util_1.obj)(tx, args.position),
|
|
195
198
|
(0, util_1.pure)(tx, args.collateralOraclePrice, "u64"),
|
|
196
199
|
(0, util_1.pure)(tx, args.collateralOraclePriceDecimal, "u64"),
|
|
@@ -310,6 +313,7 @@ function getEstimatedLiquidationPrice(tx, args) {
|
|
|
310
313
|
(0, util_1.pure)(tx, args.isSameToken, "bool"),
|
|
311
314
|
(0, util_1.pure)(tx, args.collateralOraclePrice, "u64"),
|
|
312
315
|
(0, util_1.pure)(tx, args.collateralOraclePriceDecimal, "u64"),
|
|
316
|
+
(0, util_1.pure)(tx, args.tradingOraclePriceDecimal, "u64"),
|
|
313
317
|
(0, util_1.pure)(tx, args.tradingFeeMbp, "u64"),
|
|
314
318
|
(0, util_1.pure)(tx, args.maintenanceMarginRateBp, "u64"),
|
|
315
319
|
],
|
|
@@ -322,14 +326,39 @@ function getOptionCollateralOrderCollateralAmount(tx, typeArg, args) {
|
|
|
322
326
|
return tx.moveCall({
|
|
323
327
|
target: "".concat(__1.PUBLISHED_AT, "::position::get_option_collateral_order_collateral_amount"),
|
|
324
328
|
typeArguments: [typeArg],
|
|
325
|
-
arguments: [
|
|
329
|
+
arguments: [
|
|
330
|
+
(0, util_1.obj)(tx, args.dovRegistry),
|
|
331
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
332
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
333
|
+
(0, util_1.obj)(tx, args.order),
|
|
334
|
+
(0, util_1.obj)(tx, args.clock),
|
|
335
|
+
],
|
|
326
336
|
});
|
|
327
337
|
}
|
|
328
338
|
function getOptionPositionCollateralAmount(tx, typeArg, args) {
|
|
329
339
|
return tx.moveCall({
|
|
330
340
|
target: "".concat(__1.PUBLISHED_AT, "::position::get_option_position_collateral_amount"),
|
|
331
341
|
typeArguments: [typeArg],
|
|
332
|
-
arguments: [
|
|
342
|
+
arguments: [
|
|
343
|
+
(0, util_1.obj)(tx, args.dovRegistry),
|
|
344
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
345
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
346
|
+
(0, util_1.obj)(tx, args.position),
|
|
347
|
+
(0, util_1.obj)(tx, args.clock),
|
|
348
|
+
],
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
function getOptionPositionExerciseValue(tx, typeArg, args) {
|
|
352
|
+
return tx.moveCall({
|
|
353
|
+
target: "".concat(__1.PUBLISHED_AT, "::position::get_option_position_exercise_value"),
|
|
354
|
+
typeArguments: [typeArg],
|
|
355
|
+
arguments: [
|
|
356
|
+
(0, util_1.obj)(tx, args.dovRegistry),
|
|
357
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
358
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
359
|
+
(0, util_1.obj)(tx, args.position),
|
|
360
|
+
(0, util_1.obj)(tx, args.clock),
|
|
361
|
+
],
|
|
333
362
|
});
|
|
334
363
|
}
|
|
335
364
|
function getOptionPositionPortfolioIndex(tx, position) {
|
|
@@ -504,7 +533,8 @@ function orderFilledWithBidReceiptsCollateral(tx, typeArgs, args) {
|
|
|
504
533
|
(0, util_1.obj)(tx, args.version),
|
|
505
534
|
(0, util_1.obj)(tx, args.liquidityPool),
|
|
506
535
|
(0, util_1.obj)(tx, args.dovRegistry),
|
|
507
|
-
(0, util_1.obj)(tx, args.
|
|
536
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
537
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
508
538
|
(0, util_1.obj)(tx, args.order),
|
|
509
539
|
(0, util_1.option)(tx, "".concat(structs_3.Position.$typeName), args.originalPosition),
|
|
510
540
|
(0, util_1.pure)(tx, args.nextPositionId, "u64"),
|
|
@@ -583,7 +613,13 @@ function updateOptionPositionCollateralAmount(tx, typeArg, args) {
|
|
|
583
613
|
return tx.moveCall({
|
|
584
614
|
target: "".concat(__1.PUBLISHED_AT, "::position::update_option_position_collateral_amount"),
|
|
585
615
|
typeArguments: [typeArg],
|
|
586
|
-
arguments: [
|
|
616
|
+
arguments: [
|
|
617
|
+
(0, util_1.obj)(tx, args.dovRegistry),
|
|
618
|
+
(0, util_1.obj)(tx, args.typusOracleTradingSymbol),
|
|
619
|
+
(0, util_1.obj)(tx, args.typusOracleCToken),
|
|
620
|
+
(0, util_1.obj)(tx, args.position),
|
|
621
|
+
(0, util_1.obj)(tx, args.clock),
|
|
622
|
+
],
|
|
587
623
|
});
|
|
588
624
|
}
|
|
589
625
|
function updatePositionBorrowRateAndFundingRate(tx, args) {
|
|
@@ -31,7 +31,7 @@ export declare class OptionCollateralInfo implements StructClass {
|
|
|
31
31
|
static reified(): OptionCollateralInfoReified;
|
|
32
32
|
static get r(): reified.StructClassReified<OptionCollateralInfo, OptionCollateralInfoFields>;
|
|
33
33
|
static phantom(): PhantomReified<ToTypeStr<OptionCollateralInfo>>;
|
|
34
|
-
static get p(): reified.PhantomReified<"::position::OptionCollateralInfo" | "
|
|
34
|
+
static get p(): reified.PhantomReified<"::position::OptionCollateralInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::OptionCollateralInfo">;
|
|
35
35
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
36
36
|
index: string;
|
|
37
37
|
bid_token: {
|
|
@@ -131,7 +131,7 @@ export declare class OrderFilledEvent implements StructClass {
|
|
|
131
131
|
static reified(): OrderFilledEventReified;
|
|
132
132
|
static get r(): reified.StructClassReified<OrderFilledEvent, OrderFilledEventFields>;
|
|
133
133
|
static phantom(): PhantomReified<ToTypeStr<OrderFilledEvent>>;
|
|
134
|
-
static get p(): reified.PhantomReified<"::position::OrderFilledEvent" | "
|
|
134
|
+
static get p(): reified.PhantomReified<"::position::OrderFilledEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::OrderFilledEvent">;
|
|
135
135
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
136
136
|
user: string;
|
|
137
137
|
collateral_token: {
|
|
@@ -355,7 +355,7 @@ export declare class Position implements StructClass {
|
|
|
355
355
|
static reified(): PositionReified;
|
|
356
356
|
static get r(): reified.StructClassReified<Position, PositionFields>;
|
|
357
357
|
static phantom(): PhantomReified<ToTypeStr<Position>>;
|
|
358
|
-
static get p(): reified.PhantomReified<"::position::Position" | "
|
|
358
|
+
static get p(): reified.PhantomReified<"::position::Position" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::Position">;
|
|
359
359
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
360
360
|
id: {
|
|
361
361
|
id: {
|
|
@@ -597,7 +597,7 @@ export declare class RealizeFundingEvent implements StructClass {
|
|
|
597
597
|
static reified(): RealizeFundingEventReified;
|
|
598
598
|
static get r(): reified.StructClassReified<RealizeFundingEvent, RealizeFundingEventFields>;
|
|
599
599
|
static phantom(): PhantomReified<ToTypeStr<RealizeFundingEvent>>;
|
|
600
|
-
static get p(): reified.PhantomReified<"::position::RealizeFundingEvent" | "
|
|
600
|
+
static get p(): reified.PhantomReified<"::position::RealizeFundingEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::RealizeFundingEvent">;
|
|
601
601
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
602
602
|
user: string;
|
|
603
603
|
collateral_token: {
|
|
@@ -739,7 +739,7 @@ export declare class RemovePositionEvent implements StructClass {
|
|
|
739
739
|
static reified(): RemovePositionEventReified;
|
|
740
740
|
static get r(): reified.StructClassReified<RemovePositionEvent, RemovePositionEventFields>;
|
|
741
741
|
static phantom(): PhantomReified<ToTypeStr<RemovePositionEvent>>;
|
|
742
|
-
static get p(): reified.PhantomReified<"::position::RemovePositionEvent" | "
|
|
742
|
+
static get p(): reified.PhantomReified<"::position::RemovePositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::RemovePositionEvent">;
|
|
743
743
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
744
744
|
user: string;
|
|
745
745
|
collateral_token: {
|
|
@@ -905,7 +905,7 @@ export declare class TradingOrder implements StructClass {
|
|
|
905
905
|
static reified(): TradingOrderReified;
|
|
906
906
|
static get r(): reified.StructClassReified<TradingOrder, TradingOrderFields>;
|
|
907
907
|
static phantom(): PhantomReified<ToTypeStr<TradingOrder>>;
|
|
908
|
-
static get p(): reified.PhantomReified<"::position::TradingOrder" | "
|
|
908
|
+
static get p(): reified.PhantomReified<"::position::TradingOrder" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::TradingOrder">;
|
|
909
909
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
910
910
|
id: {
|
|
911
911
|
id: {
|
|
@@ -24,7 +24,7 @@ export declare class Symbol implements StructClass {
|
|
|
24
24
|
static reified(): SymbolReified;
|
|
25
25
|
static get r(): import("../../_framework/reified").StructClassReified<Symbol, SymbolFields>;
|
|
26
26
|
static phantom(): PhantomReified<ToTypeStr<Symbol>>;
|
|
27
|
-
static get p(): PhantomReified<"::symbol::Symbol" | "
|
|
27
|
+
static get p(): PhantomReified<"::symbol::Symbol" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::symbol::Symbol">;
|
|
28
28
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
29
29
|
base_token: {
|
|
30
30
|
name: {
|
|
@@ -22,7 +22,7 @@ export declare class LpRegistry implements StructClass {
|
|
|
22
22
|
static reified(): LpRegistryReified;
|
|
23
23
|
static get r(): import("../../_framework/reified").StructClassReified<LpRegistry, LpRegistryFields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<LpRegistry>>;
|
|
25
|
-
static get p(): PhantomReified<"::tlp::LpRegistry" | "
|
|
25
|
+
static get p(): PhantomReified<"::tlp::LpRegistry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::LpRegistry">;
|
|
26
26
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
27
27
|
id: {
|
|
28
28
|
id: {
|
|
@@ -72,7 +72,7 @@ export declare class TLP implements StructClass {
|
|
|
72
72
|
static reified(): TLPReified;
|
|
73
73
|
static get r(): import("../../_framework/reified").StructClassReified<TLP, TLPFields>;
|
|
74
74
|
static phantom(): PhantomReified<ToTypeStr<TLP>>;
|
|
75
|
-
static get p(): PhantomReified<"
|
|
75
|
+
static get p(): PhantomReified<"0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::TLP" | "::tlp::TLP">;
|
|
76
76
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
77
77
|
dummy_field: boolean;
|
|
78
78
|
}, {
|