diff --git a/classes/LiquidityModule.html b/classes/LiquidityModule.html
index 31d93e2..ec4e0eb 100644
--- a/classes/LiquidityModule.html
+++ b/classes/LiquidityModule.html
@@ -1 +1 @@
-
LiquidityModule | @pontem/liquidswap-sdk Methods calculate Output Burn calculate Output Burn( params: ICalculateBurnLiquidityParams ) : Promise < undefined | { withoutSlippage: { x: string ; y: string } ; x: string ; y: string } > Parameters params: ICalculateBurnLiquidityParams Returns Promise < undefined | { withoutSlippage: { x: string ; y: string } ; x: string ; y: string } > calculate Rate And Min ReceivedLP calculate Rate And Min ReceivedLP( params: ICalculateRatesParams ) : Promise < { rate: string ; receiveLp: string } > Parameters params: ICalculateRatesParams Returns Promise < { rate: string ; receiveLp: string } > calculate Supply calculate Supply( params: ICalculateSupplyParams ) : string Parameters params: ICalculateSupplyParams Returns string check Pool Existence check Pool Existence( params: TGetResourcesPayload ) : Promise < boolean > Parameters params: TGetResourcesPayload Returns Promise < boolean > create Add Liquidity Payload create Add Liquidity Payload( params: TCreateLiquidityPoolTXPayloadParams ) : Promise < TxPayloadCallFunction > Parameters params: TCreateLiquidityPoolTXPayloadParams Returns Promise < TxPayloadCallFunction > create Burn Liquidity Payload create Burn Liquidity Payload( params: ICreateBurnLiquidityPayload ) : Promise < { arguments: string [] ; function: string ; type: string ; type_arguments: string [] } > Parameters params: ICreateBurnLiquidityPayload Returns Promise < { arguments: string [] ; function: string ; type: string ; type_arguments: string [] } > get Amount In get Amount In( params: Omit < ICalculateRatesParams , "interactiveToken" > ) : Promise < string > Parameters params: Omit < ICalculateRatesParams , "interactiveToken" > Returns Promise < string > get Amount Out get Amount Out( params: Omit < ICalculateRatesParams , "interactiveToken" > ) : Promise < string > Parameters params: Omit < ICalculateRatesParams , "interactiveToken" > Returns Promise < string > get Liquidity Pool Resource get Liquidity Pool Resource( params: TGetResourcesPayload ) : Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > } > Parameters params: TGetResourcesPayload Returns Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > } > get Liquidity Supply Resource get Liquidity Supply Resource( params: TGetResourcesPayload ) : Promise < { liquidityPoolResource: undefined | AptosResource < AptosCoinInfoResource > } > Parameters params: TGetResourcesPayload Returns Promise < { liquidityPoolResource: undefined | AptosResource < AptosCoinInfoResource > } > Legend Settings Theme OS Light Dark
\ No newline at end of file
+LiquidityModule | @pontem/liquidswap-sdk Methods calculate Output Burn calculate Output Burn( params: ICalculateBurnLiquidityParams ) : Promise < undefined | { withoutSlippage: { x: string ; y: string } ; x: string ; y: string } > Parameters params: ICalculateBurnLiquidityParams Returns Promise < undefined | { withoutSlippage: { x: string ; y: string } ; x: string ; y: string } > calculate Rate And Min ReceivedLP calculate Rate And Min ReceivedLP( params: ICalculateRatesParams ) : Promise < { rate: string ; receiveLp: string } > Parameters params: ICalculateRatesParams Returns Promise < { rate: string ; receiveLp: string } > calculate Supply calculate Supply( params: ICalculateSupplyParams ) : string Parameters params: ICalculateSupplyParams Returns string check Pool Existence check Pool Existence( params: TGetResourcesPayload ) : Promise < boolean > Parameters params: TGetResourcesPayload Returns Promise < boolean > create Add Liquidity Payload create Add Liquidity Payload( params: TCreateLiquidityPoolTXPayloadParams ) : Promise < TxPayloadCallFunction > Parameters params: TCreateLiquidityPoolTXPayloadParams Returns Promise < TxPayloadCallFunction > create Burn Liquidity Payload create Burn Liquidity Payload( params: ICreateBurnLiquidityPayload ) : Promise < { arguments: string [] ; function: string ; type: string ; type_arguments: string [] } > Parameters params: ICreateBurnLiquidityPayload Returns Promise < { arguments: string [] ; function: string ; type: string ; type_arguments: string [] } > get Amount In get Amount In( params: Omit < ICalculateRatesParams , "interactiveToken" > ) : Promise < string > Parameters params: Omit < ICalculateRatesParams , "interactiveToken" > Returns Promise < string > get Amount Out get Amount Out( params: Omit < ICalculateRatesParams , "interactiveToken" > ) : Promise < string > Parameters params: Omit < ICalculateRatesParams , "interactiveToken" > Returns Promise < string > get Liquidity Pool Resource get Liquidity Pool Resource( params: TGetResourcesPayload ) : Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > } > Parameters params: TGetResourcesPayload Returns Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > } > get Liquidity Supply Resource get Liquidity Supply Resource( params: TGetResourcesPayload ) : Promise < { liquidityPoolResource: undefined | AptosResource < AptosCoinInfoResource > } > Parameters params: TGetResourcesPayload Returns Promise < { liquidityPoolResource: undefined | AptosResource < AptosCoinInfoResource > } > Legend Settings Theme OS Light Dark
\ No newline at end of file
diff --git a/classes/ResourcesModule.html b/classes/ResourcesModule.html
index 510f1a6..cb6abc3 100644
--- a/classes/ResourcesModule.html
+++ b/classes/ResourcesModule.html
@@ -1 +1 @@
-ResourcesModule | @pontem/liquidswap-sdk Methods fetch Account Resource fetch Account Resource< T > ( accountAddress: string , resourceType: string ) : Promise < undefined | AptosResource < T > > Type parameters Parameters accountAddress: string resourceType: string Returns Promise < undefined | AptosResource < T > > Legend Settings Theme OS Light Dark
\ No newline at end of file
+ResourcesModule | @pontem/liquidswap-sdk Methods fetch Account Resource fetch Account Resource< T > ( accountAddress: string , resourceType: string ) : Promise < undefined | AptosResource < T > > Type parameters Parameters accountAddress: string resourceType: string Returns Promise < undefined | AptosResource < T > > Legend Settings Theme OS Light Dark
\ No newline at end of file
diff --git a/classes/SDK.html b/classes/SDK.html
index 2531523..7f88786 100644
--- a/classes/SDK.html
+++ b/classes/SDK.html
@@ -1 +1 @@
-SDK | @pontem/liquidswap-sdk Properties Protected _client_client: AptosClient
Protected _curves_curves: ICurves
Protected _network Options_network Options: Required < INetworkOptions >
Accessors client get client( ) : AptosClient network Options get networkOptions( ) : Required < INetworkOptions > Returns Required < INetworkOptions > Legend Settings Theme OS Light Dark
\ No newline at end of file
+SDK | @pontem/liquidswap-sdk Properties Protected _client_client: AptosClient
Protected _curves_curves: ICurves
Protected _network Options_network Options: Required < INetworkOptions >
Accessors client get client( ) : AptosClient network Options get networkOptions( ) : Required < INetworkOptions > Returns Required < INetworkOptions > Legend Settings Theme OS Light Dark
\ No newline at end of file
diff --git a/classes/SwapModule.html b/classes/SwapModule.html
index 3a29b58..9100237 100644
--- a/classes/SwapModule.html
+++ b/classes/SwapModule.html
@@ -1 +1 @@
-SwapModule | @pontem/liquidswap-sdk Methods calculate Rates Parameters Returns Promise < string > create Swap Transaction Payload Parameters Returns TxPayloadCallFunction get Amount In Parameters Returns Promise < string > get Amount Out Parameters Returns Promise < string > get Liquidity Pool Resource get Liquidity Pool Resource( params: GetLiquidityPoolResourceParams ) : Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > ; liquidityPoolType: string } > Parameters params: GetLiquidityPoolResourceParams Returns Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > ; liquidityPoolType: string } > Legend Settings Theme OS Light Dark
\ No newline at end of file
+SwapModule | @pontem/liquidswap-sdk Methods calculate Rates Parameters Returns Promise < string > create Swap Transaction Payload Parameters Returns TxPayloadCallFunction get Amount In Parameters Returns Promise < string > get Amount Out Parameters Returns Promise < string > get Liquidity Pool Resource get Liquidity Pool Resource( params: GetLiquidityPoolResourceParams ) : Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > ; liquidityPoolType: string } > Parameters params: GetLiquidityPoolResourceParams Returns Promise < { liquidityPoolResource: undefined | AptosResource < AptosPoolResource > ; liquidityPoolType: string } > Legend Settings Theme OS Light Dark
\ No newline at end of file
diff --git a/interfaces/SdkOptions.html b/interfaces/SdkOptions.html
index fc3def7..d933491 100644
--- a/interfaces/SdkOptions.html
+++ b/interfaces/SdkOptions.html
@@ -1 +1 @@
-SdkOptions | @pontem/liquidswap-sdk Properties Optional network Optionsnetwork Options?: INetworkOptions
Optional node Optionsnode Options?: Partial < ClientConfig >
Legend Settings Theme OS Light Dark
\ No newline at end of file
+SdkOptions | @pontem/liquidswap-sdk Properties Optional network Optionsnetwork Options?: INetworkOptions
Optional node Optionsnode Options?: Partial < ClientConfig >
Legend Settings Theme OS Light Dark
\ No newline at end of file
diff --git a/modules.html b/modules.html
index 0e3e64e..9c4e19b 100644
--- a/modules.html
+++ b/modules.html
@@ -1,4 +1,4 @@
-@pontem/liquidswap-sdk References default Renames and re-exports SDK Type aliases Calculate Rates Params Calculate Rates Params: { additionalFee?: number ; amount: Decimal | number ; curveType: CurveType ; fromToken: AptosResourceType ; interactiveToken: "from" | "to" ; toToken: AptosResourceType ; version?: typeof VERSION_0 | typeof VERSION_0_5 }
Type declaration Optional additional Fee?: number amount: Decimal | number curve Type: CurveType from Token: AptosResourceType interactive Token: "from" | "to" to Token: AptosResourceType Optional version?: typeof VERSION_0 | typeof VERSION_0_5 CreateTXPayload Params CreateTXPayload Params: { curveType: CurveType ; fromAmount: Decimal | number ; fromToken: AptosResourceType ; interactiveToken: "from" | "to" ; slippage: number ; stableSwapType: "high" | "normal" ; toAmount: Decimal | number ; toToken: AptosResourceType ; version?: typeof VERSION_0 | typeof VERSION_0_5 }
Type declaration curve Type: CurveType from Amount: Decimal | number from Token: AptosResourceType interactive Token: "from" | "to" slippage: number stable Swap Type: "high" | "normal" to Amount: Decimal | number to Token: AptosResourceType Optional version?: typeof VERSION_0 | typeof VERSION_0_5 Functions convert Decimal To Fixed String convert Decimal To Fixed String( value: Decimal , decimals: number ) : string Parameters value: Decimal decimals: number Returns string convert Value To Decimal convert Value To Decimal( value: string | number , decimals?: undefined | number ) : Decimal Parameters value: string | number decimals: undefined | number = 0 Returns Decimal get Coin In With Fees get Coin In With Fees( coinOutVal: Decimal , reserveOutSize: Decimal , reserveInSize: Decimal , fee: Decimal ) : Decimal
- Preparing search index...
- The search index is not available
@pontem/liquidswap-sdk@pontem/liquidswap-sdk
Index
References
Classes
Interfaces
Type aliases
Functions
References
default
Renames and re-exports SDKType aliases
Calculate Rates Params
Type declaration
Optional additional Fee?: number
amount: Decimal | number
curve Type: CurveType
from Token: AptosResourceType
interactive Token: "from" | "to"
to Token: AptosResourceType
Optional version?: typeof VERSION_0 | typeof VERSION_0_5
CreateTXPayload Params
Type declaration
curve Type: CurveType
from Amount: Decimal | number
from Token: AptosResourceType
interactive Token: "from" | "to"
slippage: number
stable Swap Type: "high" | "normal"
to Amount: Decimal | number
to Token: AptosResourceType
Optional version?: typeof VERSION_0 | typeof VERSION_0_5
Functions
convert Decimal To Fixed String
Parameters
value: Decimal
decimals: number
Returns string
convert Value To Decimal
Parameters
value: string | number
decimals: undefined | number = 0
Returns Decimal
get Coin In With Fees
Calculates rate with uncorrelated curve for 'from' input based on 'to' input
Parameters
coinOutVal: Decimal
amount of second('to') token
@@ -8,7 +8,7 @@amount of reserves for first('from') token
fee: Decimal
amount of fee
-Returns Decimal
get Coin Out With Fees
Returns Decimal
get Coin Out With Fees
Calculates rate with uncorrelated curve for 'to' input based on 'from' input
Parameters
coinInVal: Decimal
amount of first('from') token
@@ -18,7 +18,7 @@amount of reserves for second('to') token
fee: Decimal
amount of fee
-Returns Decimal
get Coins In With Fees Stable
Returns Decimal
get Coins In With Fees Stable
Calculates rate with stable curve for 'from' input based on 'to' input
Parameters
coinOut: Decimal
amount of second('to') token
@@ -32,7 +32,7 @@precision for the ('from')token in decimal places
fee: Decimal
amount of fee
-Returns Decimal
get Coins Out With Fees Stable
Returns Decimal
get Coins Out With Fees Stable
Calculates rate with stable curve for 'from' input based on 'to' input
Parameters
coinIn: Decimal
amount of first('from') token