@myx-trade/sdk 0.1.267-beta.63 → 0.1.267-beta.65

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 CHANGED
@@ -934,13 +934,13 @@ declare const withdrawableLpAmount$1: (params: {
934
934
  chainId: ChainId;
935
935
  poolId: string;
936
936
  price?: bigint;
937
- }) => Promise<bigint | undefined>;
937
+ }) => Promise<bigint>;
938
938
  declare const withdraw$1: (params: WithdrawParams) => Promise<ethers.ContractTransactionReceipt | null | undefined>;
939
939
 
940
- declare const getRewards$1: (params: RewardsParams) => Promise<([bigint, bigint] & {
940
+ declare const getRewards$1: (params: RewardsParams) => Promise<{
941
941
  rebates: bigint;
942
942
  genesisRebates: bigint;
943
- }) | undefined>;
943
+ } | undefined>;
944
944
 
945
945
  declare const previewUserWithdrawData: ({ chainId, account, poolId, amount }: PreviewWithdrawDataParams) => Promise<{
946
946
  baseAmountOut: bigint;
@@ -962,7 +962,7 @@ declare const withdrawableLpAmount: (params: {
962
962
  chainId: ChainId;
963
963
  poolId: string;
964
964
  price?: bigint;
965
- }) => Promise<bigint | undefined>;
965
+ }) => Promise<bigint>;
966
966
  declare const withdraw: (params: WithdrawParams) => Promise<ethers.ContractTransactionReceipt | null | undefined>;
967
967
 
968
968
  declare const transfer: (chainId: ChainId, fromPoolId: string, toPoolId: string, amount: number) => Promise<ethers.ContractTransactionResponse | null>;
package/dist/index.d.ts CHANGED
@@ -934,13 +934,13 @@ declare const withdrawableLpAmount$1: (params: {
934
934
  chainId: ChainId;
935
935
  poolId: string;
936
936
  price?: bigint;
937
- }) => Promise<bigint | undefined>;
937
+ }) => Promise<bigint>;
938
938
  declare const withdraw$1: (params: WithdrawParams) => Promise<ethers.ContractTransactionReceipt | null | undefined>;
939
939
 
940
- declare const getRewards$1: (params: RewardsParams) => Promise<([bigint, bigint] & {
940
+ declare const getRewards$1: (params: RewardsParams) => Promise<{
941
941
  rebates: bigint;
942
942
  genesisRebates: bigint;
943
- }) | undefined>;
943
+ } | undefined>;
944
944
 
945
945
  declare const previewUserWithdrawData: ({ chainId, account, poolId, amount }: PreviewWithdrawDataParams) => Promise<{
946
946
  baseAmountOut: bigint;
@@ -962,7 +962,7 @@ declare const withdrawableLpAmount: (params: {
962
962
  chainId: ChainId;
963
963
  poolId: string;
964
964
  price?: bigint;
965
- }) => Promise<bigint | undefined>;
965
+ }) => Promise<bigint>;
966
966
  declare const withdraw: (params: WithdrawParams) => Promise<ethers.ContractTransactionReceipt | null | undefined>;
967
967
 
968
968
  declare const transfer: (chainId: ChainId, fromPoolId: string, toPoolId: string, amount: number) => Promise<ethers.ContractTransactionResponse | null>;