@cetusprotocol/dlmm-sdk 1.1.0 → 1.2.1
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -780,8 +780,8 @@ declare function parsePoolTransactionInfo(data: SuiTransactionBlockResponse, txI
|
|
|
780
780
|
declare function generateRewardSchedule(baseTime: number, maxIntervals: number, timeInterval: number): number[];
|
|
781
781
|
declare function parseRewardPeriodEmission(periodEmissionList: RewardPeriodEmission[], startTimeInSeconds: number, endTimeInSeconds: number, durationSeconds: number): RewardPeriodEmissionFormat[];
|
|
782
782
|
declare function parseCurrentRewardPeriodEmission(periodEmissionList: RewardPeriodEmission[]): RewardPeriodEmission | undefined;
|
|
783
|
-
declare function safeMulAmount(amount: Decimal, rate: Decimal): Decimal;
|
|
784
|
-
declare function safeAmount(amount: Decimal): Decimal;
|
|
783
|
+
declare function safeMulAmount(amount: Decimal, rate: Decimal, verify?: boolean): Decimal;
|
|
784
|
+
declare function safeAmount(amount: Decimal, verify?: boolean): Decimal;
|
|
785
785
|
declare function getRouterModule(strategy_type: StrategyType): "spot" | "curve" | "bid_ask";
|
|
786
786
|
declare function buildPoolKey(coin_type_a: string, coin_type_b: string, bin_step: number, base_factor: number): string;
|
|
787
787
|
|
package/dist/index.d.ts
CHANGED
|
@@ -780,8 +780,8 @@ declare function parsePoolTransactionInfo(data: SuiTransactionBlockResponse, txI
|
|
|
780
780
|
declare function generateRewardSchedule(baseTime: number, maxIntervals: number, timeInterval: number): number[];
|
|
781
781
|
declare function parseRewardPeriodEmission(periodEmissionList: RewardPeriodEmission[], startTimeInSeconds: number, endTimeInSeconds: number, durationSeconds: number): RewardPeriodEmissionFormat[];
|
|
782
782
|
declare function parseCurrentRewardPeriodEmission(periodEmissionList: RewardPeriodEmission[]): RewardPeriodEmission | undefined;
|
|
783
|
-
declare function safeMulAmount(amount: Decimal, rate: Decimal): Decimal;
|
|
784
|
-
declare function safeAmount(amount: Decimal): Decimal;
|
|
783
|
+
declare function safeMulAmount(amount: Decimal, rate: Decimal, verify?: boolean): Decimal;
|
|
784
|
+
declare function safeAmount(amount: Decimal, verify?: boolean): Decimal;
|
|
785
785
|
declare function getRouterModule(strategy_type: StrategyType): "spot" | "curve" | "bid_ask";
|
|
786
786
|
declare function buildPoolKey(coin_type_a: string, coin_type_b: string, bin_step: number, base_factor: number): string;
|
|
787
787
|
|