@alphafi/alphafi-sdk 0.0.11 → 0.0.13

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.
Files changed (155) hide show
  1. package/dist/common/alphaTypes.d.ts +109 -0
  2. package/dist/common/cetus_mainnet_config.d.ts +2 -0
  3. package/dist/common/coins.d.ts +4 -0
  4. package/dist/common/constants.d.ts +401 -0
  5. package/dist/common/maps.d.ts +56 -0
  6. package/dist/common/pyth.d.ts +6 -0
  7. package/dist/common/types.d.ts +412 -0
  8. package/dist/example.d.ts +2 -0
  9. package/dist/getAirdropShare.d.ts +1 -0
  10. package/dist/getAllVaults.d.ts +3 -0
  11. package/dist/getAlphaUnlocks.d.ts +13 -0
  12. package/dist/getAprs.d.ts +5 -0
  13. package/dist/getHoldersFromTransactions.d.ts +8 -0
  14. package/dist/getLastAutoCompoundTime.d.ts +2 -0
  15. package/dist/getRebalanceHistory.d.ts +3 -0
  16. package/dist/getVaultBalances.d.ts +8 -0
  17. package/dist/getVaults.d.ts +4 -0
  18. package/dist/graphql/client.d.ts +3 -0
  19. package/dist/graphql/executeMutations.d.ts +3 -0
  20. package/dist/graphql/fetchAutoCompoundingEventsGql.d.ts +26 -0
  21. package/dist/graphql/fetchData.d.ts +10 -0
  22. package/dist/graphql/fetchNftHolders.d.ts +2 -0
  23. package/dist/graphql/fetchReceipts.d.ts +2 -0
  24. package/dist/graphql/mutations.d.ts +3 -0
  25. package/dist/graphql/parseData.d.ts +1 -0
  26. package/dist/graphql/parseLockedTableId.d.ts +6 -0
  27. package/dist/graphql/queries.d.ts +14 -0
  28. package/dist/graphql/types.d.ts +69 -0
  29. package/dist/index.d.ts +18 -0
  30. package/dist/index.js +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/sui-sdk/client.d.ts +3 -0
  33. package/dist/sui-sdk/events/fetchAutoCompoundingEvents.d.ts +5 -0
  34. package/dist/sui-sdk/events/fetchEvents.d.ts +2 -0
  35. package/dist/sui-sdk/events/fetchLiquidityChangeEvents.d.ts +2 -0
  36. package/dist/sui-sdk/events/fetchRebalanceEvents.d.ts +4 -0
  37. package/dist/sui-sdk/events/parseData.d.ts +3 -0
  38. package/dist/sui-sdk/events/types.d.ts +93 -0
  39. package/dist/sui-sdk/functions/fetchTableData.d.ts +49 -0
  40. package/dist/sui-sdk/functions/fetchUserVaultBalances.d.ts +2 -0
  41. package/dist/sui-sdk/functions/fetchUserVaults.d.ts +2 -0
  42. package/dist/sui-sdk/functions/getPortfolioAmounts.d.ts +32 -0
  43. package/dist/sui-sdk/functions/getReceipts.d.ts +8 -0
  44. package/dist/sui-sdk/transactions/constants.d.ts +3 -0
  45. package/dist/sui-sdk/transactions/fetchTransactions.d.ts +3 -0
  46. package/dist/sui-sdk/transactions/types.d.ts +7 -0
  47. package/dist/types.d.ts +212 -0
  48. package/dist/utils/clmm/prices.d.ts +19 -0
  49. package/dist/utils/clmm/tokenAmountFromLiquidity.d.ts +10 -0
  50. package/dist/utils/clmm/types.d.ts +24 -0
  51. package/dist/utils/constants.d.ts +2 -0
  52. package/dist/utils/getHoldersFromTransactionsUtils.d.ts +5 -0
  53. package/dist/utils/getReceipts.d.ts +3 -0
  54. package/dist/utils/hop.d.ts +15 -0
  55. package/dist/utils/prices.d.ts +6 -0
  56. package/dist/utils/simpleCache.d.ts +9 -0
  57. package/dist/utils/types.d.ts +4 -0
  58. package/dist/utils/userHoldings.d.ts +5 -0
  59. package/dist/vaultFunctions.d.ts +4 -0
  60. package/package.json +5 -1
  61. package/.envrc +0 -1
  62. package/.eslintrc.json +0 -21
  63. package/.github/workflows/static.yml +0 -51
  64. package/.prettierrc.json +0 -27
  65. package/.prettierrc.json~ +0 -30
  66. package/__tests__/getAprs.test.ts~ +0 -9
  67. package/__tests__/getRebalanceHistory.test.ts~ +0 -19
  68. package/apr.org +0 -11
  69. package/babel.config.json +0 -11
  70. package/docs/.nojekyll +0 -1
  71. package/docs/assets/highlight.css +0 -78
  72. package/docs/assets/icons.js +0 -18
  73. package/docs/assets/icons.svg +0 -1
  74. package/docs/assets/main.js +0 -60
  75. package/docs/assets/navigation.js +0 -1
  76. package/docs/assets/search.js +0 -1
  77. package/docs/assets/style.css +0 -1448
  78. package/docs/functions/alphaLpBreakdown.html +0 -1
  79. package/docs/functions/cetusLpBreakdown.html +0 -1
  80. package/docs/functions/collectRewards.html +0 -1
  81. package/docs/functions/deposit.html +0 -1
  82. package/docs/functions/fetchAutoCompoundingEventsGql.html +0 -1
  83. package/docs/functions/fetchCetusPools.html +0 -1
  84. package/docs/functions/fetchChainIdentifier.html +0 -1
  85. package/docs/functions/fetchNftHolders.html +0 -1
  86. package/docs/functions/fetchPools.html +0 -1
  87. package/docs/functions/fetchPortfolioData.html +0 -1
  88. package/docs/functions/fetchProtocolData.html +0 -1
  89. package/docs/functions/fetchUserVaultBalances.html +0 -1
  90. package/docs/functions/fetchUserVaults.html +0 -1
  91. package/docs/functions/fetchUserWalletData.html +0 -1
  92. package/docs/functions/getAirdropShare.html +0 -1
  93. package/docs/functions/getAllDoubleAssetVaults.html +0 -1
  94. package/docs/functions/getAllSingleAssetVaults.html +0 -1
  95. package/docs/functions/getAllVaults.html +0 -1
  96. package/docs/functions/getAlphaVaultBalance.html +0 -1
  97. package/docs/functions/getApr.html +0 -1
  98. package/docs/functions/getAprs.html +0 -1
  99. package/docs/functions/getApy.html +0 -1
  100. package/docs/functions/getApys.html +0 -1
  101. package/docs/functions/getDoubleAssetVaultBalance.html +0 -1
  102. package/docs/functions/getDoubleAssetVaults.html +0 -1
  103. package/docs/functions/getRebalanceHistories.html +0 -1
  104. package/docs/functions/getRebalanceHistory.html +0 -1
  105. package/docs/functions/getSingleAssetVaultBalance.html +0 -1
  106. package/docs/functions/getSingleAssetVaults.html +0 -1
  107. package/docs/functions/getVaultBalance.html +0 -1
  108. package/docs/functions/getVaults.html +0 -1
  109. package/docs/functions/lastAutocompoundTime.html +0 -1
  110. package/docs/functions/parseUserWalletData.html +0 -1
  111. package/docs/functions/withdraw.html +0 -1
  112. package/docs/index.html +0 -40
  113. package/docs/interfaces/Coin.html +0 -5
  114. package/docs/interfaces/CoinPair.html +0 -3
  115. package/docs/interfaces/RebalanceHistoryType.html +0 -5
  116. package/docs/modules.html +0 -66
  117. package/docs/types/AlphaFiDoubleAssetVault.html +0 -1
  118. package/docs/types/AlphaFiSingleAssetVault.html +0 -1
  119. package/docs/types/AlphaFiVault.html +0 -1
  120. package/docs/types/AlphaFiVaultBalance.html +0 -1
  121. package/docs/types/AlphaPoolType.html +0 -1
  122. package/docs/types/AlphaReceipt.html +0 -1
  123. package/docs/types/AlphaVaultBalance.html +0 -1
  124. package/docs/types/AutoCompoundingEventNode.html +0 -1
  125. package/docs/types/CetusInvestor.html +0 -1
  126. package/docs/types/CetusPoolType.html +0 -1
  127. package/docs/types/CetusSwapOptions.html +0 -1
  128. package/docs/types/CoinAmounts.html +0 -1
  129. package/docs/types/CoinName.html +0 -1
  130. package/docs/types/CoinType.html +0 -1
  131. package/docs/types/CreatePoolOptions.html +0 -1
  132. package/docs/types/DoubleAssetVaultBalance.html +0 -1
  133. package/docs/types/Icon.html +0 -1
  134. package/docs/types/LpBreakdownType.html +0 -1
  135. package/docs/types/ParentProtocolName.html +0 -1
  136. package/docs/types/PoolName.html +0 -1
  137. package/docs/types/PoolReceipt.html +0 -1
  138. package/docs/types/PoolType.html +0 -1
  139. package/docs/types/Receipt.html +0 -1
  140. package/docs/types/SingleAssetVaultBalance.html +0 -1
  141. package/docs/types/SuiNetwork.html +0 -1
  142. package/docs/types/SwapOptions.html +0 -1
  143. package/docs/types/TickSpacing.html +0 -1
  144. package/docs/types/TransactionBlockType.html +0 -1
  145. package/events.csv +0 -61
  146. package/events.csv~ +0 -71
  147. package/jest.config.js +0 -5
  148. package/package.json~ +0 -56
  149. package/tsconfig.json~ +0 -16
  150. package/tsconfig.test.json~ +0 -17
  151. package/typedoc.json +0 -8
  152. package/webpack.config.cjs~ +0 -63
  153. package/webpack.config.js +0 -54
  154. package/webpack.config.js~ +0 -50
  155. package/webpack.config.ts~ +0 -64

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.