@magmaprotocol/magma-clmm-sdk 0.5.39 → 0.5.41

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.ts CHANGED
@@ -2180,6 +2180,122 @@ type CollectFeesQuote = {
2180
2180
  */
2181
2181
  declare function collectFeesQuote(param: CollectFeesQuoteParam): CollectFeesQuote;
2182
2182
 
2183
+ declare enum StrategyType {
2184
+ Spot = 0,
2185
+ Curve = 1,
2186
+ BidAsk = 2
2187
+ }
2188
+ type BinLiquidity = {
2189
+ ActiveId: number;
2190
+ StorageId: number;
2191
+ Price: number;
2192
+ CoinAType: number;
2193
+ CoinBType: number;
2194
+ CoinAAmount: number;
2195
+ CoinBAmount: number;
2196
+ };
2197
+ declare function autoFillYByStrategy(activeId: number, binStep: number, amountX: BN, amountXInActiveBin: BN, amountYInActiveBin: BN, minBinId: number, maxBinId: number, strategyType: StrategyType): BN;
2198
+ declare function autoFillXByStrategy(activeId: number, binStep: number, amountY: BN, amountXInActiveBin: BN, amountYInActiveBin: BN, minBinId: number, maxBinId: number, strategyType: StrategyType): BN;
2199
+ /**
2200
+ * Given a strategy type and amounts of X and Y, returns the distribution of liquidity.
2201
+ * @param activeId The bin id of the active bin.
2202
+ * @param binStep The step size of each bin.
2203
+ * @param minBinId The min bin id.
2204
+ * @param maxBinId The max bin id.
2205
+ * @param amountX The amount of X token to deposit.
2206
+ * @param amountY The amount of Y token to deposit.
2207
+ * @param amountXInActiveBin The amount of X token in the active bin.
2208
+ * @param amountYInActiveBin The amount of Y token in the active bin.
2209
+ * @param strategyType The strategy type.
2210
+ * @param mintX The mint info of X token. Get from DLMM instance.
2211
+ * @param mintY The mint info of Y token. Get from DLMM instance.
2212
+ * @param clock The clock info. Get from DLMM instance.
2213
+ * @returns The distribution of liquidity.
2214
+ */
2215
+ declare function toAmountsBothSideByStrategy(activeId: number, binStep: number, minBinId: number, maxBinId: number, amountX: BN, amountY: BN, amountXInActiveBin: BN, amountYInActiveBin: BN, strategyType: StrategyType): {
2216
+ binId: number;
2217
+ amountX: BN;
2218
+ amountY: BN;
2219
+ }[];
2220
+
2221
+ declare function getPriceOfBinByBinId(binId: number, binStep: number): Decimal;
2222
+ declare function autoFillYByWeight(activeId: number, binStep: number, amountX: BN, amountXInActiveBin: BN, amountYInActiveBin: BN, distributions: {
2223
+ binId: number;
2224
+ weight: number;
2225
+ }[]): BN;
2226
+ declare function autoFillXByWeight(activeId: number, binStep: number, amountY: BN, amountXInActiveBin: BN, amountYInActiveBin: BN, distributions: {
2227
+ binId: number;
2228
+ weight: number;
2229
+ }[]): BN;
2230
+ /**
2231
+ * Distribute totalAmount to all bid side bins according to given distributions.
2232
+ * @param activeId active bin id
2233
+ * @param totalAmount total amount of token Y to be distributed
2234
+ * @param distributions weight distribution of each bin
2235
+ * @param mintY mint of token Y, get from DLMM instance
2236
+ * @param clock clock of the program, for calculating transfer fee, get from DLMM instance
2237
+ * @returns array of {binId, amount} where amount is the amount of token Y in each bin
2238
+ */
2239
+ declare function toAmountBidSide(activeId: number, totalAmount: BN, distributions: {
2240
+ binId: number;
2241
+ weight: number;
2242
+ }[]): {
2243
+ binId: number;
2244
+ amount: BN;
2245
+ }[];
2246
+ /**
2247
+ * Distribute totalAmount to all ask side bins according to given distributions.
2248
+ * @param activeId active bin id
2249
+ * @param totalAmount total amount of token Y to be distributed
2250
+ * @param distributions weight distribution of each bin
2251
+ * @param mintX mint of token X, get from DLMM instance
2252
+ * @param clock clock of the program, for calculating transfer fee, get from DLMM instance
2253
+ * @returns array of {binId, amount} where amount is the amount of token X in each bin
2254
+ */
2255
+ declare function toAmountAskSide(activeId: number, binStep: number, totalAmount: BN, distributions: {
2256
+ binId: number;
2257
+ weight: number;
2258
+ }[]): {
2259
+ binId: number;
2260
+ amount: BN;
2261
+ }[];
2262
+ /**
2263
+ * Distributes the given amounts of tokens X and Y to both bid and ask side bins
2264
+ * based on the provided weight distributions.
2265
+ *
2266
+ * @param activeId - The id of the active bin.
2267
+ * @param binStep - The step interval between bin ids.
2268
+ * @param amountX - Total amount of token X to distribute.
2269
+ * @param amountY - Total amount of token Y to distribute.
2270
+ * @param amountXInActiveBin - Amount of token X already in the active bin.
2271
+ * @param amountYInActiveBin - Amount of token Y already in the active bin.
2272
+ * @param distributions - Array of bins with their respective weight distributions.
2273
+ * @param mintX - Mint information for token X. Get from DLMM instance.
2274
+ * @param mintY - Mint information for token Y. Get from DLMM instance.
2275
+ * @param clock - Clock instance. Get from DLMM instance.
2276
+ * @returns An array of objects containing binId, amountX, and amountY for each bin.
2277
+ */
2278
+ declare function toAmountBothSide(activeId: number, binStep: number, amountX: BN, amountY: BN, amountXInActiveBin: BN, amountYInActiveBin: BN, distributions: {
2279
+ binId: number;
2280
+ weight: number;
2281
+ }[]): {
2282
+ binId: number;
2283
+ amountX: BN;
2284
+ amountY: BN;
2285
+ }[];
2286
+
2287
+ declare function withLiquiditySlippage(value: Decimal.Instance, slippage: Decimal.Instance, mode: 'plus' | 'minus'): Decimal;
2288
+ type POOL_NO_LIQUIDITY = -1;
2289
+ type LiquidityAndCoinYResult = {
2290
+ coinYAmount: Decimal;
2291
+ lpAmount: Decimal;
2292
+ };
2293
+ declare function getLiquidityAndCoinYByCoinX(coinInVal: Decimal.Instance, reserveInSize: Decimal.Instance, reserveOutSize: Decimal.Instance, lpSupply: Decimal.Instance): LiquidityAndCoinYResult | POOL_NO_LIQUIDITY;
2294
+ declare function getCoinXYForLiquidity(liquidity: Decimal.Instance, reserveInSize: Decimal.Instance, reserveOutSize: Decimal.Instance, lpSuply: Decimal.Instance): {
2295
+ coinXAmount: Decimal;
2296
+ coinYAmount: Decimal;
2297
+ };
2298
+
2183
2299
  /**
2184
2300
  * Percentage - the util set for percentage struct.
2185
2301
  */
@@ -3377,6 +3493,7 @@ declare class GaugeModule implements IModule {
3377
3493
  getEmissions(): Promise<EpochEmission>;
3378
3494
  getRewardByPosition(params: GetRewardByPosition): Promise<Transaction>;
3379
3495
  getAllRewardByPositions(paramsList: GetRewardByPosition[]): Promise<Transaction>;
3496
+ testTeacherCap(): Promise<Transaction>;
3380
3497
  getEpochRewardByPool(pool: string, incentive_tokens: string[]): Promise<Map<string, string>>;
3381
3498
  }
3382
3499
 
@@ -3433,9 +3550,9 @@ type FetchBinsParams = {
3433
3550
  };
3434
3551
  type GetPositionLiquidityParams = {
3435
3552
  pair: string;
3553
+ positionId: string;
3436
3554
  coinTypeA: string;
3437
3555
  coinTypeB: string;
3438
- positionId: string;
3439
3556
  };
3440
3557
  type GetPairLiquidityParams = {
3441
3558
  pair: string;
@@ -3500,6 +3617,72 @@ type DlmmPoolInfo = {
3500
3617
  base_fee: number;
3501
3618
  active_index: number;
3502
3619
  };
3620
+ type DlmmAddLiquidityParams = {
3621
+ pool_id: string;
3622
+ coin_a: string;
3623
+ coin_b: string;
3624
+ position_id: string;
3625
+ amounts_a: number[];
3626
+ amounts_b: number[];
3627
+ receiver: string;
3628
+ rewards_token: string[];
3629
+ };
3630
+ type DlmmBurnPositionParams = {
3631
+ pool_id: string;
3632
+ position_id: string;
3633
+ coin_a: string;
3634
+ coin_b: string;
3635
+ rewards_token: string[];
3636
+ };
3637
+ type DlmmShrinkPosition = {
3638
+ pool_id: string;
3639
+ position_id: string;
3640
+ coin_a: string;
3641
+ coin_b: string;
3642
+ delta_percentage: number;
3643
+ rewards_token: string[];
3644
+ };
3645
+ type DlmmCollectRewardParams = {
3646
+ pool_id: string;
3647
+ coin_a: string;
3648
+ coin_b: string;
3649
+ position_id: string;
3650
+ rewards_token: string[];
3651
+ };
3652
+ type DlmmCollectFeeParams = {
3653
+ pool_id: string;
3654
+ coin_a: string;
3655
+ coin_b: string;
3656
+ position_id: string;
3657
+ };
3658
+ type DlmmRewardsParams = {
3659
+ pool_id: string;
3660
+ position_id: string;
3661
+ coin_a: string;
3662
+ coin_b: string;
3663
+ rewards_token: string[];
3664
+ };
3665
+ type DlmmEventEarnedFees = {
3666
+ position_id: string;
3667
+ x: string;
3668
+ y: string;
3669
+ fee_x: number;
3670
+ fee_y: number;
3671
+ };
3672
+ type DlmmEventEarnedRewards = {
3673
+ position_id: string;
3674
+ reward: string[];
3675
+ amount: number[];
3676
+ };
3677
+ type GetPairRewarderParams = {
3678
+ pool_id: string;
3679
+ coin_a: string;
3680
+ coin_b: string;
3681
+ };
3682
+ type DlmmEventPairRewardTypes = {
3683
+ pair_id: string;
3684
+ tokens: string[];
3685
+ };
3503
3686
 
3504
3687
  declare class DlmmModule implements IModule {
3505
3688
  protected _sdk: MagmaClmmSDK;
@@ -3512,10 +3695,22 @@ declare class DlmmModule implements IModule {
3512
3695
  createAddLiquidityPayload(): Promise<Transaction>;
3513
3696
  mintPercent(params: MintPercentParams): Promise<Transaction>;
3514
3697
  createPositionByAmount(params: MintAmountParams): Promise<Transaction>;
3698
+ addLiquidity(params: DlmmAddLiquidityParams): Promise<Transaction>;
3699
+ private _raisePositionByAmounts;
3700
+ private _raisePositionByAmountsReward;
3701
+ burnPosition(params: DlmmBurnPositionParams): Promise<Transaction>;
3702
+ shrinkPosition(params: DlmmShrinkPosition): Promise<Transaction>;
3703
+ collectReward(params: DlmmCollectRewardParams): Promise<Transaction>;
3704
+ collectFees(params: DlmmCollectFeeParams): Promise<Transaction>;
3515
3705
  swap(params: SwapParams): Promise<Transaction>;
3516
3706
  fetchBins(params: FetchBinsParams): Promise<EventBin[]>;
3517
3707
  getPositionLiquidity(params: GetPositionLiquidityParams): Promise<EventPositionLiquidity>;
3518
3708
  getPairLiquidity(params: GetPairLiquidityParams): Promise<EventPairLiquidity>;
3709
+ getEarnedFees(params: DlmmCollectFeeParams): Promise<DlmmEventEarnedFees>;
3710
+ getEarnedRewards(params: DlmmRewardsParams): Promise<DlmmEventEarnedRewards>;
3711
+ getPairRewarders(params: GetPairRewarderParams[]): Promise<Map<string, DlmmEventPairRewardTypes[]>>;
3712
+ private _getPairRewarders;
3713
+ private _parsePairRewarders;
3519
3714
  }
3520
3715
 
3521
3716
  /**
@@ -4248,4 +4443,4 @@ interface InitMagmaSDKOptions {
4248
4443
  */
4249
4444
  declare function initMagmaSDK(options: InitMagmaSDKOptions): MagmaClmmSDK;
4250
4445
 
4251
- export { AMM_SWAP_MODULE, AddBribeReward, AddLiquidityCommonParams, AddLiquidityFixTokenParams, AddLiquidityParams, AddLiquidityWithProtectionParams, AddressAndDirection, AdjustResult, AggregatorResult, AmountSpecified, BasePath, BigNumber, Bits, BuildCoinResult, CLOCK_ADDRESS, CachedContent, CalculateRatesParams, CalculateRatesResult, ClaimAndLockParams, ClaimFeesParams, ClaimFeesPoolsParams, ClmmConfig, ClmmExpectSwapModule, ClmmFetcherModule, ClmmIntegratePoolModule, ClmmIntegratePoolV2Module, ClmmIntegratePoolV3Module, ClmmIntegrateRouterModule, ClmmIntegrateRouterWithPartnerModule, ClmmIntegrateUtilsModule, ClmmPartnerModule, ClmmPoolConfig, ClmmPoolUtil, ClmmPositionStatus, ClmmpoolData, ClosePositionParams, CoinAmounts, CoinAsset, CoinAssist, CoinConfig, CoinInfoAddress, CoinNode, CoinPairType, CoinProvider, CoinStoreAddress, CollectFeeParams, CollectFeesQuote, CollectFeesQuoteParam, CollectRewarderParams, ConfigModule, CreateLockParams, CreatePartnerEvent, CreatePoolAddLiquidityParams, CreatePoolParams, DEFAULT_GAS_BUDGET_FOR_MERGE, DEFAULT_GAS_BUDGET_FOR_SPLIT, DEFAULT_GAS_BUDGET_FOR_STAKE, DEFAULT_GAS_BUDGET_FOR_TRANSFER, DEFAULT_GAS_BUDGET_FOR_TRANSFER_SUI, DEFAULT_NFT_TRANSFER_GAS_FEE, DataPage, DeepbookClobV2Moudle, DeepbookCustodianV2Moudle, DeepbookEndpointsV2Moudle, DeepbookPool, DeepbookUtils, DepositPosition, DlmmConfig, DlmmScript, EpochEmission, FEE_RATE_DENOMINATOR, FaucetCoin, FetchParams, GAS_SYMBOL, GAS_TYPE_ARG, GAS_TYPE_ARG_LONG, Gauge, GetRewardByPosition, IncreaseLockAmountParams, IncreaseUnlockTimeParams, LaunchpadPoolConfig, LiquidityInput, LockModule, LockPermanentParams, LockVoteEvent, MAX_SQRT_PRICE, MAX_TICK_INDEX, MIN_SQRT_PRICE, MIN_TICK_INDEX, MagmaClmmSDK, MagmaConfigs, MathUtil, MergeLockParams, Minter, NFT, ONE, OnePath, OpenPositionAddLiquidityWithProtectionParams, OpenPositionParams, Order, POOL_STRUCT, Package, PageQuery, PaginationArgs, PathLink, PathProvider, Percentage, PokeParams, Pool, PoolImmutables, PoolInfo, PoolModule, Position, PositionModule, PositionReward, PositionStatus, PositionUtil, PreRouterSwapParams, PreSwapLpChangeParams, PreSwapParams, PreSwapResult, PreSwapWithMultiPoolParams, PriceResult, RemoveLiquidityParams, RewardDistributor, Rewarder, RewarderAmountOwed, RouterModule, RouterModuleV2, RpcModule, SUI_SYSTEM_STATE_OBJECT_ID, SdkOptions, SplitPath, SplitSwap, SplitSwapResult, SplitUnit, StakedPositionOfPool, SuiAddressType, SuiBasicTypes, SuiInputTypes, SuiObjectDataWithContent, SuiObjectIdType, SuiResource, SuiStructTag, SuiTxArg, SwapDirection, SwapModule, SwapParams$1 as SwapParams, SwapResult, SwapStepResult, SwapUtils, SwapWithRouterParams, TICK_ARRAY_SIZE, TWO, Tick, TickData, TickMath, TickUtil, TokenConfig, TokenConfigEvent, TokenInfo, TokenModule, TransPreSwapWithMultiPoolParams, TransactionUtil, TransferLockParams, TxBlock, U128, U128_MAX, U64_MAX, VoteParams, Voter, VotingEscrow, WithdrawPosition, ZERO, addHexPrefix, adjustForCoinSlippage, adjustForSlippage, asIntN, asUintN, bufferToHex, buildClmmPositionName, buildNFT, buildPool, buildPosition, buildPositionReward, buildTickData, buildTickDataByEvent, cacheTime24h, cacheTime5min, checkAddress, checkInvalidSuiAddress, clmmMainnet, clmmTestnet, collectFeesQuote, composeType, computeSwap, computeSwapStep, createSplitAmountArray, createSplitArray, createTestTransferTxPayloadParams, d, decimalsMultiplier, MagmaClmmSDK as default, estPoolAPR, estPosAPRResult, estPositionAPRWithDeltaMethod, estPositionAPRWithMultiMethod, estimateLiquidityForCoinA, estimateLiquidityForCoinB, extractAddressFromType, extractStructTagFromType, findAdjustCoin, fixCoinType, fixSuiObjectId, fromDecimalsAmount, getAmountFixedDelta, getAmountUnfixedDelta, getCoinAFromLiquidity, getCoinBFromLiquidity, getDefaultSuiInputType, getDeltaA, getDeltaB, getDeltaDownFromOutput, getDeltaUpFromInput, getFutureTime, getLiquidityFromCoinA, getLiquidityFromCoinB, getLowerSqrtPriceFromCoinA, getLowerSqrtPriceFromCoinB, getMoveObject, getMoveObjectType, getMovePackageContent, getNearestTickByTick, getNextSqrtPriceAUp, getNextSqrtPriceBDown, getNextSqrtPriceFromInput, getNextSqrtPriceFromOutput, getObjectDeletedResponse, getObjectDisplay, getObjectFields, getObjectId, getObjectNotExistsResponse, getObjectOwner, getObjectPreviousTransactionDigest, getObjectReference, getObjectType, getObjectVersion, getPackagerConfigs, getRewardInTickRange, getSuiObjectData, getTickDataFromUrlData, getUpperSqrtPriceFromCoinA, getUpperSqrtPriceFromCoinB, hasPublicTransfer, hexToNumber, hexToString, initMagmaSDK, initMainnetSDK, initTestnetSDK, isSortedSymbols, isSuiObjectResponse, newBits, normalizeCoinType, patchFixSuiObjectId, printTransaction, removeHexPrefix, secretKeyToEd25519Keypair, secretKeyToSecp256k1Keypair, shortAddress, shortString, tickScore, toBuffer, toCoinAmount, toDecimalsAmount, transClmmpoolDataWithoutTicks, utf8to16 };
4446
+ export { AMM_SWAP_MODULE, AddBribeReward, AddLiquidityCommonParams, AddLiquidityFixTokenParams, AddLiquidityParams, AddLiquidityWithProtectionParams, AddressAndDirection, AdjustResult, AggregatorResult, AmountSpecified, BasePath, BigNumber, BinLiquidity, Bits, BuildCoinResult, CLOCK_ADDRESS, CachedContent, CalculateRatesParams, CalculateRatesResult, ClaimAndLockParams, ClaimFeesParams, ClaimFeesPoolsParams, ClmmConfig, ClmmExpectSwapModule, ClmmFetcherModule, ClmmIntegratePoolModule, ClmmIntegratePoolV2Module, ClmmIntegratePoolV3Module, ClmmIntegrateRouterModule, ClmmIntegrateRouterWithPartnerModule, ClmmIntegrateUtilsModule, ClmmPartnerModule, ClmmPoolConfig, ClmmPoolUtil, ClmmPositionStatus, ClmmpoolData, ClosePositionParams, CoinAmounts, CoinAsset, CoinAssist, CoinConfig, CoinInfoAddress, CoinNode, CoinPairType, CoinProvider, CoinStoreAddress, CollectFeeParams, CollectFeesQuote, CollectFeesQuoteParam, CollectRewarderParams, ConfigModule, CreateLockParams, CreatePartnerEvent, CreatePoolAddLiquidityParams, CreatePoolParams, DEFAULT_GAS_BUDGET_FOR_MERGE, DEFAULT_GAS_BUDGET_FOR_SPLIT, DEFAULT_GAS_BUDGET_FOR_STAKE, DEFAULT_GAS_BUDGET_FOR_TRANSFER, DEFAULT_GAS_BUDGET_FOR_TRANSFER_SUI, DEFAULT_NFT_TRANSFER_GAS_FEE, DataPage, DeepbookClobV2Moudle, DeepbookCustodianV2Moudle, DeepbookEndpointsV2Moudle, DeepbookPool, DeepbookUtils, DepositPosition, DlmmConfig, DlmmScript, EpochEmission, FEE_RATE_DENOMINATOR, FaucetCoin, FetchParams, GAS_SYMBOL, GAS_TYPE_ARG, GAS_TYPE_ARG_LONG, Gauge, GetRewardByPosition, IncreaseLockAmountParams, IncreaseUnlockTimeParams, LaunchpadPoolConfig, LiquidityAndCoinYResult, LiquidityInput, LockModule, LockPermanentParams, LockVoteEvent, MAX_SQRT_PRICE, MAX_TICK_INDEX, MIN_SQRT_PRICE, MIN_TICK_INDEX, MagmaClmmSDK, MagmaConfigs, MathUtil, MergeLockParams, Minter, NFT, ONE, OnePath, OpenPositionAddLiquidityWithProtectionParams, OpenPositionParams, Order, POOL_NO_LIQUIDITY, POOL_STRUCT, Package, PageQuery, PaginationArgs, PathLink, PathProvider, Percentage, PokeParams, Pool, PoolImmutables, PoolInfo, PoolModule, Position, PositionModule, PositionReward, PositionStatus, PositionUtil, PreRouterSwapParams, PreSwapLpChangeParams, PreSwapParams, PreSwapResult, PreSwapWithMultiPoolParams, PriceResult, RemoveLiquidityParams, RewardDistributor, Rewarder, RewarderAmountOwed, RouterModule, RouterModuleV2, RpcModule, SUI_SYSTEM_STATE_OBJECT_ID, SdkOptions, SplitPath, SplitSwap, SplitSwapResult, SplitUnit, StakedPositionOfPool, StrategyType, SuiAddressType, SuiBasicTypes, SuiInputTypes, SuiObjectDataWithContent, SuiObjectIdType, SuiResource, SuiStructTag, SuiTxArg, SwapDirection, SwapModule, SwapParams$1 as SwapParams, SwapResult, SwapStepResult, SwapUtils, SwapWithRouterParams, TICK_ARRAY_SIZE, TWO, Tick, TickData, TickMath, TickUtil, TokenConfig, TokenConfigEvent, TokenInfo, TokenModule, TransPreSwapWithMultiPoolParams, TransactionUtil, TransferLockParams, TxBlock, U128, U128_MAX, U64_MAX, VoteParams, Voter, VotingEscrow, WithdrawPosition, ZERO, addHexPrefix, adjustForCoinSlippage, adjustForSlippage, asIntN, asUintN, autoFillXByStrategy, autoFillXByWeight, autoFillYByStrategy, autoFillYByWeight, bufferToHex, buildClmmPositionName, buildNFT, buildPool, buildPosition, buildPositionReward, buildTickData, buildTickDataByEvent, cacheTime24h, cacheTime5min, checkAddress, checkInvalidSuiAddress, clmmMainnet, clmmTestnet, collectFeesQuote, composeType, computeSwap, computeSwapStep, createSplitAmountArray, createSplitArray, createTestTransferTxPayloadParams, d, decimalsMultiplier, MagmaClmmSDK as default, estPoolAPR, estPosAPRResult, estPositionAPRWithDeltaMethod, estPositionAPRWithMultiMethod, estimateLiquidityForCoinA, estimateLiquidityForCoinB, extractAddressFromType, extractStructTagFromType, findAdjustCoin, fixCoinType, fixSuiObjectId, fromDecimalsAmount, getAmountFixedDelta, getAmountUnfixedDelta, getCoinAFromLiquidity, getCoinBFromLiquidity, getCoinXYForLiquidity, getDefaultSuiInputType, getDeltaA, getDeltaB, getDeltaDownFromOutput, getDeltaUpFromInput, getFutureTime, getLiquidityAndCoinYByCoinX, getLiquidityFromCoinA, getLiquidityFromCoinB, getLowerSqrtPriceFromCoinA, getLowerSqrtPriceFromCoinB, getMoveObject, getMoveObjectType, getMovePackageContent, getNearestTickByTick, getNextSqrtPriceAUp, getNextSqrtPriceBDown, getNextSqrtPriceFromInput, getNextSqrtPriceFromOutput, getObjectDeletedResponse, getObjectDisplay, getObjectFields, getObjectId, getObjectNotExistsResponse, getObjectOwner, getObjectPreviousTransactionDigest, getObjectReference, getObjectType, getObjectVersion, getPackagerConfigs, getPriceOfBinByBinId, getRewardInTickRange, getSuiObjectData, getTickDataFromUrlData, getUpperSqrtPriceFromCoinA, getUpperSqrtPriceFromCoinB, hasPublicTransfer, hexToNumber, hexToString, initMagmaSDK, initMainnetSDK, initTestnetSDK, isSortedSymbols, isSuiObjectResponse, newBits, normalizeCoinType, patchFixSuiObjectId, printTransaction, removeHexPrefix, secretKeyToEd25519Keypair, secretKeyToSecp256k1Keypair, shortAddress, shortString, tickScore, toAmountAskSide, toAmountBidSide, toAmountBothSide, toAmountsBothSideByStrategy, toBuffer, toCoinAmount, toDecimalsAmount, transClmmpoolDataWithoutTicks, utf8to16, withLiquiditySlippage };