@typus/typus-perp-sdk 1.0.67 → 1.0.69
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 +8 -8
- package/dist/src/fetch.d.ts +4 -3
- package/dist/src/fetch.js +30 -34
- package/dist/src/index.js +13 -6
- package/dist/src/typus_perp/error/functions.d.ts +2 -0
- package/dist/src/typus_perp/error/functions.js +10 -0
- package/dist/src/typus_perp/lp-pool/functions.d.ts +60 -27
- package/dist/src/typus_perp/lp-pool/functions.js +92 -52
- package/dist/src/typus_perp/lp-pool/structs.d.ts +161 -210
- package/dist/src/typus_perp/lp-pool/structs.js +384 -284
- package/dist/src/typus_perp/trading/functions.d.ts +6 -0
- package/dist/src/typus_perp/trading/functions.js +9 -0
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +9 -0
- package/dist/src/typus_stake_pool/stake-pool/functions.js +20 -0
- package/dist/src/user/tlp.d.ts +23 -9
- package/dist/src/user/tlp.js +148 -61
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as reified from "../../_framework/reified";
|
|
2
2
|
import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
|
|
3
|
+
import { Balance } from "../../_dependencies/source/0x2/balance/structs";
|
|
3
4
|
import { UID } from "../../_dependencies/source/0x2/object/structs";
|
|
4
|
-
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr } from "../../_framework/reified";
|
|
5
|
+
import { PhantomReified, PhantomToTypeStr, PhantomTypeArgument, Reified, StructClass, ToField, ToPhantomTypeArgument, ToTypeStr } from "../../_framework/reified";
|
|
5
6
|
import { FieldsWithTypes } from "../../_framework/util";
|
|
6
7
|
import { Vector } from "../../_framework/vector";
|
|
7
8
|
import { UnsettledBidReceipt } from "../escrow/structs";
|
|
@@ -619,117 +620,75 @@ export declare class Config implements StructClass {
|
|
|
619
620
|
static fromSuiObjectData(data: SuiObjectData): Config;
|
|
620
621
|
static fetch(client: SuiClient, id: string): Promise<Config>;
|
|
621
622
|
}
|
|
622
|
-
export declare function
|
|
623
|
-
export interface
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
depositAmount: ToField<"u64">;
|
|
628
|
-
mintedMarketCoinAmount: ToField<"u64">;
|
|
629
|
-
latestLendingAmount: ToField<"u64">;
|
|
630
|
-
latestMarketCoinAmount: ToField<"u64">;
|
|
631
|
-
latestReservedAmount: ToField<"u64">;
|
|
632
|
-
latestLiquidityAmount: ToField<"u64">;
|
|
623
|
+
export declare function isDeactivatingShares(type: string): boolean;
|
|
624
|
+
export interface DeactivatingSharesFields<TOKEN extends PhantomTypeArgument> {
|
|
625
|
+
balance: ToField<Balance<TOKEN>>;
|
|
626
|
+
redeemTsMs: ToField<"u64">;
|
|
627
|
+
unlockTsMs: ToField<"u64">;
|
|
633
628
|
u64Padding: ToField<Vector<"u64">>;
|
|
634
629
|
}
|
|
635
|
-
export type
|
|
636
|
-
export declare class
|
|
630
|
+
export type DeactivatingSharesReified<TOKEN extends PhantomTypeArgument> = Reified<DeactivatingShares<TOKEN>, DeactivatingSharesFields<TOKEN>>;
|
|
631
|
+
export declare class DeactivatingShares<TOKEN extends PhantomTypeArgument> implements StructClass {
|
|
637
632
|
__StructClass: true;
|
|
638
633
|
static readonly $typeName: string;
|
|
639
|
-
static readonly $numTypeParams =
|
|
640
|
-
static readonly $isPhantom: readonly [];
|
|
634
|
+
static readonly $numTypeParams = 1;
|
|
635
|
+
static readonly $isPhantom: readonly [true];
|
|
641
636
|
readonly $typeName: string;
|
|
642
|
-
readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::
|
|
643
|
-
readonly $typeArgs: [];
|
|
644
|
-
readonly $isPhantom: readonly [];
|
|
645
|
-
readonly
|
|
646
|
-
readonly
|
|
647
|
-
readonly
|
|
648
|
-
readonly depositAmount: ToField<"u64">;
|
|
649
|
-
readonly mintedMarketCoinAmount: ToField<"u64">;
|
|
650
|
-
readonly latestLendingAmount: ToField<"u64">;
|
|
651
|
-
readonly latestMarketCoinAmount: ToField<"u64">;
|
|
652
|
-
readonly latestReservedAmount: ToField<"u64">;
|
|
653
|
-
readonly latestLiquidityAmount: ToField<"u64">;
|
|
637
|
+
readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::DeactivatingShares<${PhantomToTypeStr<TOKEN>}>`;
|
|
638
|
+
readonly $typeArgs: [PhantomToTypeStr<TOKEN>];
|
|
639
|
+
readonly $isPhantom: readonly [true];
|
|
640
|
+
readonly balance: ToField<Balance<TOKEN>>;
|
|
641
|
+
readonly redeemTsMs: ToField<"u64">;
|
|
642
|
+
readonly unlockTsMs: ToField<"u64">;
|
|
654
643
|
readonly u64Padding: ToField<Vector<"u64">>;
|
|
655
644
|
private constructor();
|
|
656
|
-
static reified():
|
|
657
|
-
static get r(): reified
|
|
658
|
-
static phantom(): PhantomReified<ToTypeStr<
|
|
659
|
-
static get p():
|
|
645
|
+
static reified<TOKEN extends PhantomReified<PhantomTypeArgument>>(TOKEN: TOKEN): DeactivatingSharesReified<ToPhantomTypeArgument<TOKEN>>;
|
|
646
|
+
static get r(): typeof DeactivatingShares.reified;
|
|
647
|
+
static phantom<TOKEN extends PhantomReified<PhantomTypeArgument>>(TOKEN: TOKEN): PhantomReified<ToTypeStr<DeactivatingShares<ToPhantomTypeArgument<TOKEN>>>>;
|
|
648
|
+
static get p(): typeof DeactivatingShares.phantom;
|
|
660
649
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
c_token_type: {
|
|
664
|
-
name: {
|
|
665
|
-
bytes: number[];
|
|
666
|
-
};
|
|
650
|
+
balance: {
|
|
651
|
+
value: string;
|
|
667
652
|
};
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
latest_lending_amount: string;
|
|
671
|
-
latest_market_coin_amount: string;
|
|
672
|
-
latest_reserved_amount: string;
|
|
673
|
-
latest_liquidity_amount: string;
|
|
653
|
+
redeem_ts_ms: string;
|
|
654
|
+
unlock_ts_ms: string;
|
|
674
655
|
u64_padding: string[];
|
|
675
656
|
}, {
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
c_token_type: {
|
|
679
|
-
name: {
|
|
680
|
-
bytes: Iterable<number> & {
|
|
681
|
-
length: number;
|
|
682
|
-
};
|
|
683
|
-
};
|
|
657
|
+
balance: {
|
|
658
|
+
value: string | number | bigint;
|
|
684
659
|
};
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
latest_lending_amount: string | number | bigint;
|
|
688
|
-
latest_market_coin_amount: string | number | bigint;
|
|
689
|
-
latest_reserved_amount: string | number | bigint;
|
|
690
|
-
latest_liquidity_amount: string | number | bigint;
|
|
660
|
+
redeem_ts_ms: string | number | bigint;
|
|
661
|
+
unlock_ts_ms: string | number | bigint;
|
|
691
662
|
u64_padding: Iterable<string | number | bigint> & {
|
|
692
663
|
length: number;
|
|
693
664
|
};
|
|
694
665
|
}>;
|
|
695
|
-
static fromFields(fields: Record<string, any>):
|
|
696
|
-
static fromFieldsWithTypes(item: FieldsWithTypes):
|
|
697
|
-
static fromBcs(data: Uint8Array):
|
|
666
|
+
static fromFields<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, fields: Record<string, any>): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
667
|
+
static fromFieldsWithTypes<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, item: FieldsWithTypes): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
668
|
+
static fromBcs<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, data: Uint8Array): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
698
669
|
toJSONField(): {
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
cTokenType: {
|
|
702
|
-
name: string;
|
|
670
|
+
balance: {
|
|
671
|
+
value: string;
|
|
703
672
|
};
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
latestLendingAmount: string;
|
|
707
|
-
latestMarketCoinAmount: string;
|
|
708
|
-
latestReservedAmount: string;
|
|
709
|
-
latestLiquidityAmount: string;
|
|
673
|
+
redeemTsMs: string;
|
|
674
|
+
unlockTsMs: string;
|
|
710
675
|
u64Padding: string[];
|
|
711
676
|
};
|
|
712
677
|
toJSON(): {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
cTokenType: {
|
|
716
|
-
name: string;
|
|
678
|
+
balance: {
|
|
679
|
+
value: string;
|
|
717
680
|
};
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
latestLendingAmount: string;
|
|
721
|
-
latestMarketCoinAmount: string;
|
|
722
|
-
latestReservedAmount: string;
|
|
723
|
-
latestLiquidityAmount: string;
|
|
681
|
+
redeemTsMs: string;
|
|
682
|
+
unlockTsMs: string;
|
|
724
683
|
u64Padding: string[];
|
|
725
684
|
$typeName: string;
|
|
726
|
-
$typeArgs: [];
|
|
685
|
+
$typeArgs: [reified.PhantomToTypeStr<TOKEN>];
|
|
727
686
|
};
|
|
728
|
-
static fromJSONField(field: any):
|
|
729
|
-
static fromJSON(json: Record<string, any>):
|
|
730
|
-
static fromSuiParsedData(content: SuiParsedData):
|
|
731
|
-
static fromSuiObjectData(data: SuiObjectData):
|
|
732
|
-
static fetch(client: SuiClient, id: string): Promise<
|
|
687
|
+
static fromJSONField<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, field: any): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
688
|
+
static fromJSON<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, json: Record<string, any>): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
689
|
+
static fromSuiParsedData<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, content: SuiParsedData): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
690
|
+
static fromSuiObjectData<TOKEN extends PhantomReified<PhantomTypeArgument>>(typeArg: TOKEN, data: SuiObjectData): DeactivatingShares<ToPhantomTypeArgument<TOKEN>>;
|
|
691
|
+
static fetch<TOKEN extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: TOKEN, id: string): Promise<DeactivatingShares<ToPhantomTypeArgument<TOKEN>>>;
|
|
733
692
|
}
|
|
734
693
|
export declare function isLiquidityPool(type: string): boolean;
|
|
735
694
|
export interface LiquidityPoolFields {
|
|
@@ -1729,6 +1688,86 @@ export declare class NewLiquidityPoolEvent implements StructClass {
|
|
|
1729
1688
|
static fromSuiObjectData(data: SuiObjectData): NewLiquidityPoolEvent;
|
|
1730
1689
|
static fetch(client: SuiClient, id: string): Promise<NewLiquidityPoolEvent>;
|
|
1731
1690
|
}
|
|
1691
|
+
export declare function isRedeemEvent(type: string): boolean;
|
|
1692
|
+
export interface RedeemEventFields {
|
|
1693
|
+
sender: ToField<"address">;
|
|
1694
|
+
index: ToField<"u64">;
|
|
1695
|
+
share: ToField<"u64">;
|
|
1696
|
+
sharePrice: ToField<"u64">;
|
|
1697
|
+
timestampTsMs: ToField<"u64">;
|
|
1698
|
+
unlockTsMs: ToField<"u64">;
|
|
1699
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1700
|
+
}
|
|
1701
|
+
export type RedeemEventReified = Reified<RedeemEvent, RedeemEventFields>;
|
|
1702
|
+
export declare class RedeemEvent implements StructClass {
|
|
1703
|
+
__StructClass: true;
|
|
1704
|
+
static readonly $typeName: string;
|
|
1705
|
+
static readonly $numTypeParams = 0;
|
|
1706
|
+
static readonly $isPhantom: readonly [];
|
|
1707
|
+
readonly $typeName: string;
|
|
1708
|
+
readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::RedeemEvent`;
|
|
1709
|
+
readonly $typeArgs: [];
|
|
1710
|
+
readonly $isPhantom: readonly [];
|
|
1711
|
+
readonly sender: ToField<"address">;
|
|
1712
|
+
readonly index: ToField<"u64">;
|
|
1713
|
+
readonly share: ToField<"u64">;
|
|
1714
|
+
readonly sharePrice: ToField<"u64">;
|
|
1715
|
+
readonly timestampTsMs: ToField<"u64">;
|
|
1716
|
+
readonly unlockTsMs: ToField<"u64">;
|
|
1717
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1718
|
+
private constructor();
|
|
1719
|
+
static reified(): RedeemEventReified;
|
|
1720
|
+
static get r(): reified.StructClassReified<RedeemEvent, RedeemEventFields>;
|
|
1721
|
+
static phantom(): PhantomReified<ToTypeStr<RedeemEvent>>;
|
|
1722
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::RedeemEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::RedeemEvent">;
|
|
1723
|
+
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1724
|
+
sender: string;
|
|
1725
|
+
index: string;
|
|
1726
|
+
share: string;
|
|
1727
|
+
share_price: string;
|
|
1728
|
+
timestamp_ts_ms: string;
|
|
1729
|
+
unlock_ts_ms: string;
|
|
1730
|
+
u64_padding: string[];
|
|
1731
|
+
}, {
|
|
1732
|
+
sender: string;
|
|
1733
|
+
index: string | number | bigint;
|
|
1734
|
+
share: string | number | bigint;
|
|
1735
|
+
share_price: string | number | bigint;
|
|
1736
|
+
timestamp_ts_ms: string | number | bigint;
|
|
1737
|
+
unlock_ts_ms: string | number | bigint;
|
|
1738
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1739
|
+
length: number;
|
|
1740
|
+
};
|
|
1741
|
+
}>;
|
|
1742
|
+
static fromFields(fields: Record<string, any>): RedeemEvent;
|
|
1743
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): RedeemEvent;
|
|
1744
|
+
static fromBcs(data: Uint8Array): RedeemEvent;
|
|
1745
|
+
toJSONField(): {
|
|
1746
|
+
sender: string;
|
|
1747
|
+
index: string;
|
|
1748
|
+
share: string;
|
|
1749
|
+
sharePrice: string;
|
|
1750
|
+
timestampTsMs: string;
|
|
1751
|
+
unlockTsMs: string;
|
|
1752
|
+
u64Padding: string[];
|
|
1753
|
+
};
|
|
1754
|
+
toJSON(): {
|
|
1755
|
+
sender: string;
|
|
1756
|
+
index: string;
|
|
1757
|
+
share: string;
|
|
1758
|
+
sharePrice: string;
|
|
1759
|
+
timestampTsMs: string;
|
|
1760
|
+
unlockTsMs: string;
|
|
1761
|
+
u64Padding: string[];
|
|
1762
|
+
$typeName: string;
|
|
1763
|
+
$typeArgs: [];
|
|
1764
|
+
};
|
|
1765
|
+
static fromJSONField(field: any): RedeemEvent;
|
|
1766
|
+
static fromJSON(json: Record<string, any>): RedeemEvent;
|
|
1767
|
+
static fromSuiParsedData(content: SuiParsedData): RedeemEvent;
|
|
1768
|
+
static fromSuiObjectData(data: SuiObjectData): RedeemEvent;
|
|
1769
|
+
static fetch(client: SuiClient, id: string): Promise<RedeemEvent>;
|
|
1770
|
+
}
|
|
1732
1771
|
export declare function isRegistry(type: string): boolean;
|
|
1733
1772
|
export interface RegistryFields {
|
|
1734
1773
|
id: ToField<UID>;
|
|
@@ -3385,159 +3424,71 @@ export declare class UpdateSpotConfigEvent implements StructClass {
|
|
|
3385
3424
|
static fromSuiObjectData(data: SuiObjectData): UpdateSpotConfigEvent;
|
|
3386
3425
|
static fetch(client: SuiClient, id: string): Promise<UpdateSpotConfigEvent>;
|
|
3387
3426
|
}
|
|
3388
|
-
export declare function
|
|
3389
|
-
export interface
|
|
3427
|
+
export declare function isUpdateUnlockCountdownTsMsEvent(type: string): boolean;
|
|
3428
|
+
export interface UpdateUnlockCountdownTsMsEventFields {
|
|
3429
|
+
sender: ToField<"address">;
|
|
3390
3430
|
index: ToField<"u64">;
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
rTokenType: ToField<TypeName>;
|
|
3394
|
-
withdrawAmount: ToField<"u64">;
|
|
3395
|
-
withdrawnCollateralAmount: ToField<"u64">;
|
|
3396
|
-
latestLendingAmount: ToField<"u64">;
|
|
3397
|
-
latestMarketCoinAmount: ToField<"u64">;
|
|
3398
|
-
latestReservedAmount: ToField<"u64">;
|
|
3399
|
-
latestLiquidityAmount: ToField<"u64">;
|
|
3400
|
-
lendingInterest: ToField<"u64">;
|
|
3401
|
-
protocolShare: ToField<"u64">;
|
|
3402
|
-
lendingReward: ToField<"u64">;
|
|
3403
|
-
rewardProtocolShare: ToField<"u64">;
|
|
3431
|
+
previousUnlockCountdownTsMs: ToField<"u64">;
|
|
3432
|
+
newUnlockCountdownTsMs: ToField<"u64">;
|
|
3404
3433
|
u64Padding: ToField<Vector<"u64">>;
|
|
3405
3434
|
}
|
|
3406
|
-
export type
|
|
3407
|
-
export declare class
|
|
3435
|
+
export type UpdateUnlockCountdownTsMsEventReified = Reified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
|
|
3436
|
+
export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
|
|
3408
3437
|
__StructClass: true;
|
|
3409
3438
|
static readonly $typeName: string;
|
|
3410
3439
|
static readonly $numTypeParams = 0;
|
|
3411
3440
|
static readonly $isPhantom: readonly [];
|
|
3412
3441
|
readonly $typeName: string;
|
|
3413
|
-
readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::
|
|
3442
|
+
readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::UpdateUnlockCountdownTsMsEvent`;
|
|
3414
3443
|
readonly $typeArgs: [];
|
|
3415
3444
|
readonly $isPhantom: readonly [];
|
|
3445
|
+
readonly sender: ToField<"address">;
|
|
3416
3446
|
readonly index: ToField<"u64">;
|
|
3417
|
-
readonly
|
|
3418
|
-
readonly
|
|
3419
|
-
readonly rTokenType: ToField<TypeName>;
|
|
3420
|
-
readonly withdrawAmount: ToField<"u64">;
|
|
3421
|
-
readonly withdrawnCollateralAmount: ToField<"u64">;
|
|
3422
|
-
readonly latestLendingAmount: ToField<"u64">;
|
|
3423
|
-
readonly latestMarketCoinAmount: ToField<"u64">;
|
|
3424
|
-
readonly latestReservedAmount: ToField<"u64">;
|
|
3425
|
-
readonly latestLiquidityAmount: ToField<"u64">;
|
|
3426
|
-
readonly lendingInterest: ToField<"u64">;
|
|
3427
|
-
readonly protocolShare: ToField<"u64">;
|
|
3428
|
-
readonly lendingReward: ToField<"u64">;
|
|
3429
|
-
readonly rewardProtocolShare: ToField<"u64">;
|
|
3447
|
+
readonly previousUnlockCountdownTsMs: ToField<"u64">;
|
|
3448
|
+
readonly newUnlockCountdownTsMs: ToField<"u64">;
|
|
3430
3449
|
readonly u64Padding: ToField<Vector<"u64">>;
|
|
3431
3450
|
private constructor();
|
|
3432
|
-
static reified():
|
|
3433
|
-
static get r(): reified.StructClassReified<
|
|
3434
|
-
static phantom(): PhantomReified<ToTypeStr<
|
|
3435
|
-
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::
|
|
3451
|
+
static reified(): UpdateUnlockCountdownTsMsEventReified;
|
|
3452
|
+
static get r(): reified.StructClassReified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
|
|
3453
|
+
static phantom(): PhantomReified<ToTypeStr<UpdateUnlockCountdownTsMsEvent>>;
|
|
3454
|
+
static get p(): reified.PhantomReified<"0xe27969a70f93034de9ce16e6ad661b480324574e68d15a64b513fd90eb2423e5::lp_pool::UpdateUnlockCountdownTsMsEvent" | "0x585924f160f83ef16f8927ec117e4d740abb6f4e571ecfa89ff3e973042cb1b9::lp_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
3436
3455
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3456
|
+
sender: string;
|
|
3437
3457
|
index: string;
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
name: {
|
|
3441
|
-
bytes: number[];
|
|
3442
|
-
};
|
|
3443
|
-
};
|
|
3444
|
-
r_token_type: {
|
|
3445
|
-
name: {
|
|
3446
|
-
bytes: number[];
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
withdraw_amount: string;
|
|
3450
|
-
withdrawn_collateral_amount: string;
|
|
3451
|
-
latest_lending_amount: string;
|
|
3452
|
-
latest_market_coin_amount: string;
|
|
3453
|
-
latest_reserved_amount: string;
|
|
3454
|
-
latest_liquidity_amount: string;
|
|
3455
|
-
lending_interest: string;
|
|
3456
|
-
protocol_share: string;
|
|
3457
|
-
lending_reward: string;
|
|
3458
|
-
reward_protocol_share: string;
|
|
3458
|
+
previous_unlock_countdown_ts_ms: string;
|
|
3459
|
+
new_unlock_countdown_ts_ms: string;
|
|
3459
3460
|
u64_padding: string[];
|
|
3460
3461
|
}, {
|
|
3462
|
+
sender: string;
|
|
3461
3463
|
index: string | number | bigint;
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
name: {
|
|
3465
|
-
bytes: Iterable<number> & {
|
|
3466
|
-
length: number;
|
|
3467
|
-
};
|
|
3468
|
-
};
|
|
3469
|
-
};
|
|
3470
|
-
r_token_type: {
|
|
3471
|
-
name: {
|
|
3472
|
-
bytes: Iterable<number> & {
|
|
3473
|
-
length: number;
|
|
3474
|
-
};
|
|
3475
|
-
};
|
|
3476
|
-
};
|
|
3477
|
-
withdraw_amount: string | number | bigint;
|
|
3478
|
-
withdrawn_collateral_amount: string | number | bigint;
|
|
3479
|
-
latest_lending_amount: string | number | bigint;
|
|
3480
|
-
latest_market_coin_amount: string | number | bigint;
|
|
3481
|
-
latest_reserved_amount: string | number | bigint;
|
|
3482
|
-
latest_liquidity_amount: string | number | bigint;
|
|
3483
|
-
lending_interest: string | number | bigint;
|
|
3484
|
-
protocol_share: string | number | bigint;
|
|
3485
|
-
lending_reward: string | number | bigint;
|
|
3486
|
-
reward_protocol_share: string | number | bigint;
|
|
3464
|
+
previous_unlock_countdown_ts_ms: string | number | bigint;
|
|
3465
|
+
new_unlock_countdown_ts_ms: string | number | bigint;
|
|
3487
3466
|
u64_padding: Iterable<string | number | bigint> & {
|
|
3488
3467
|
length: number;
|
|
3489
3468
|
};
|
|
3490
3469
|
}>;
|
|
3491
|
-
static fromFields(fields: Record<string, any>):
|
|
3492
|
-
static fromFieldsWithTypes(item: FieldsWithTypes):
|
|
3493
|
-
static fromBcs(data: Uint8Array):
|
|
3470
|
+
static fromFields(fields: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
|
|
3471
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateUnlockCountdownTsMsEvent;
|
|
3472
|
+
static fromBcs(data: Uint8Array): UpdateUnlockCountdownTsMsEvent;
|
|
3494
3473
|
toJSONField(): {
|
|
3474
|
+
sender: string;
|
|
3495
3475
|
index: string;
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
name: string;
|
|
3499
|
-
};
|
|
3500
|
-
rTokenType: {
|
|
3501
|
-
name: string;
|
|
3502
|
-
};
|
|
3503
|
-
withdrawAmount: string;
|
|
3504
|
-
withdrawnCollateralAmount: string;
|
|
3505
|
-
latestLendingAmount: string;
|
|
3506
|
-
latestMarketCoinAmount: string;
|
|
3507
|
-
latestReservedAmount: string;
|
|
3508
|
-
latestLiquidityAmount: string;
|
|
3509
|
-
lendingInterest: string;
|
|
3510
|
-
protocolShare: string;
|
|
3511
|
-
lendingReward: string;
|
|
3512
|
-
rewardProtocolShare: string;
|
|
3476
|
+
previousUnlockCountdownTsMs: string;
|
|
3477
|
+
newUnlockCountdownTsMs: string;
|
|
3513
3478
|
u64Padding: string[];
|
|
3514
3479
|
};
|
|
3515
3480
|
toJSON(): {
|
|
3481
|
+
sender: string;
|
|
3516
3482
|
index: string;
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
name: string;
|
|
3520
|
-
};
|
|
3521
|
-
rTokenType: {
|
|
3522
|
-
name: string;
|
|
3523
|
-
};
|
|
3524
|
-
withdrawAmount: string;
|
|
3525
|
-
withdrawnCollateralAmount: string;
|
|
3526
|
-
latestLendingAmount: string;
|
|
3527
|
-
latestMarketCoinAmount: string;
|
|
3528
|
-
latestReservedAmount: string;
|
|
3529
|
-
latestLiquidityAmount: string;
|
|
3530
|
-
lendingInterest: string;
|
|
3531
|
-
protocolShare: string;
|
|
3532
|
-
lendingReward: string;
|
|
3533
|
-
rewardProtocolShare: string;
|
|
3483
|
+
previousUnlockCountdownTsMs: string;
|
|
3484
|
+
newUnlockCountdownTsMs: string;
|
|
3534
3485
|
u64Padding: string[];
|
|
3535
3486
|
$typeName: string;
|
|
3536
3487
|
$typeArgs: [];
|
|
3537
3488
|
};
|
|
3538
|
-
static fromJSONField(field: any):
|
|
3539
|
-
static fromJSON(json: Record<string, any>):
|
|
3540
|
-
static fromSuiParsedData(content: SuiParsedData):
|
|
3541
|
-
static fromSuiObjectData(data: SuiObjectData):
|
|
3542
|
-
static fetch(client: SuiClient, id: string): Promise<
|
|
3489
|
+
static fromJSONField(field: any): UpdateUnlockCountdownTsMsEvent;
|
|
3490
|
+
static fromJSON(json: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
|
|
3491
|
+
static fromSuiParsedData(content: SuiParsedData): UpdateUnlockCountdownTsMsEvent;
|
|
3492
|
+
static fromSuiObjectData(data: SuiObjectData): UpdateUnlockCountdownTsMsEvent;
|
|
3493
|
+
static fetch(client: SuiClient, id: string): Promise<UpdateUnlockCountdownTsMsEvent>;
|
|
3543
3494
|
}
|