@alphafi/alphafi-sdk 0.0.54 → 0.0.57

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 (303) hide show
  1. package/dist/cjs/common/coins.d.ts.map +1 -1
  2. package/dist/cjs/common/coins.js +6 -0
  3. package/dist/cjs/common/coins.js.map +1 -1
  4. package/dist/cjs/common/constants.d.ts +98 -0
  5. package/dist/cjs/common/constants.d.ts.map +1 -1
  6. package/dist/cjs/common/constants.js +76 -18
  7. package/dist/cjs/common/constants.js.map +1 -1
  8. package/dist/cjs/common/maps.d.ts.map +1 -1
  9. package/dist/cjs/common/maps.js +127 -40
  10. package/dist/cjs/common/maps.js.map +1 -1
  11. package/dist/cjs/common/pyth.d.ts +1 -1
  12. package/dist/cjs/common/pyth.d.ts.map +1 -1
  13. package/dist/cjs/common/pyth.js.map +1 -1
  14. package/dist/cjs/common/types.d.ts +5 -5
  15. package/dist/cjs/common/types.d.ts.map +1 -1
  16. package/dist/cjs/common/types.js.map +1 -1
  17. package/dist/cjs/getLastAutoCompoundTime.js +2 -2
  18. package/dist/cjs/getLastAutoCompoundTime.js.map +1 -1
  19. package/dist/cjs/sui-sdk/events/fetchAutoCompoundingEvents.d.ts.map +1 -1
  20. package/dist/cjs/sui-sdk/events/fetchAutoCompoundingEvents.js +2 -1
  21. package/dist/cjs/sui-sdk/events/fetchAutoCompoundingEvents.js.map +1 -1
  22. package/dist/cjs/sui-sdk/functions/getReceipts.d.ts +1 -0
  23. package/dist/cjs/sui-sdk/functions/getReceipts.d.ts.map +1 -1
  24. package/dist/cjs/transactions/7k.d.ts +1 -1
  25. package/dist/cjs/transactions/7k.d.ts.map +1 -1
  26. package/dist/cjs/transactions/7k.js +2 -1
  27. package/dist/cjs/transactions/7k.js.map +1 -1
  28. package/dist/cjs/transactions/blueRewards.d.ts.map +1 -1
  29. package/dist/cjs/transactions/blueRewards.js +62 -4
  30. package/dist/cjs/transactions/blueRewards.js.map +1 -1
  31. package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
  32. package/dist/cjs/transactions/bluefin.js +502 -132
  33. package/dist/cjs/transactions/bluefin.js.map +1 -1
  34. package/dist/cjs/transactions/collect_rewards.d.ts.map +1 -1
  35. package/dist/cjs/transactions/collect_rewards.js +5 -1
  36. package/dist/cjs/transactions/collect_rewards.js.map +1 -1
  37. package/dist/cjs/transactions/deposit.d.ts.map +1 -1
  38. package/dist/cjs/transactions/deposit.js +2 -4
  39. package/dist/cjs/transactions/deposit.js.map +1 -1
  40. package/dist/cjs/transactions/navi.d.ts.map +1 -1
  41. package/dist/cjs/transactions/navi.js +64 -0
  42. package/dist/cjs/transactions/navi.js.map +1 -1
  43. package/dist/cjs/transactions/zapDeposit.d.ts.map +1 -1
  44. package/dist/cjs/transactions/zapDeposit.js +89 -38
  45. package/dist/cjs/transactions/zapDeposit.js.map +1 -1
  46. package/dist/cjs/utils/constants.d.ts.map +1 -1
  47. package/dist/cjs/utils/constants.js +5 -0
  48. package/dist/cjs/utils/constants.js.map +1 -1
  49. package/dist/esm/common/coins.d.ts.map +1 -1
  50. package/dist/esm/common/coins.js +6 -0
  51. package/dist/esm/common/coins.js.map +1 -1
  52. package/dist/esm/common/constants.d.ts +98 -0
  53. package/dist/esm/common/constants.d.ts.map +1 -1
  54. package/dist/esm/common/constants.js +76 -18
  55. package/dist/esm/common/constants.js.map +1 -1
  56. package/dist/esm/common/maps.d.ts.map +1 -1
  57. package/dist/esm/common/maps.js +127 -40
  58. package/dist/esm/common/maps.js.map +1 -1
  59. package/dist/esm/common/pyth.d.ts +1 -1
  60. package/dist/esm/common/pyth.d.ts.map +1 -1
  61. package/dist/esm/common/pyth.js.map +1 -1
  62. package/dist/esm/common/types.d.ts +5 -5
  63. package/dist/esm/common/types.d.ts.map +1 -1
  64. package/dist/esm/common/types.js.map +1 -1
  65. package/dist/esm/getLastAutoCompoundTime.js +2 -2
  66. package/dist/esm/getLastAutoCompoundTime.js.map +1 -1
  67. package/dist/esm/sui-sdk/events/fetchAutoCompoundingEvents.d.ts.map +1 -1
  68. package/dist/esm/sui-sdk/events/fetchAutoCompoundingEvents.js +2 -1
  69. package/dist/esm/sui-sdk/events/fetchAutoCompoundingEvents.js.map +1 -1
  70. package/dist/esm/sui-sdk/functions/getReceipts.d.ts +1 -0
  71. package/dist/esm/sui-sdk/functions/getReceipts.d.ts.map +1 -1
  72. package/dist/esm/transactions/7k.d.ts +1 -1
  73. package/dist/esm/transactions/7k.d.ts.map +1 -1
  74. package/dist/esm/transactions/7k.js +2 -1
  75. package/dist/esm/transactions/7k.js.map +1 -1
  76. package/dist/esm/transactions/blueRewards.d.ts.map +1 -1
  77. package/dist/esm/transactions/blueRewards.js +62 -4
  78. package/dist/esm/transactions/blueRewards.js.map +1 -1
  79. package/dist/esm/transactions/bluefin.d.ts.map +1 -1
  80. package/dist/esm/transactions/bluefin.js +502 -132
  81. package/dist/esm/transactions/bluefin.js.map +1 -1
  82. package/dist/esm/transactions/collect_rewards.d.ts.map +1 -1
  83. package/dist/esm/transactions/collect_rewards.js +5 -1
  84. package/dist/esm/transactions/collect_rewards.js.map +1 -1
  85. package/dist/esm/transactions/deposit.d.ts.map +1 -1
  86. package/dist/esm/transactions/deposit.js +2 -4
  87. package/dist/esm/transactions/deposit.js.map +1 -1
  88. package/dist/esm/transactions/navi.d.ts.map +1 -1
  89. package/dist/esm/transactions/navi.js +64 -0
  90. package/dist/esm/transactions/navi.js.map +1 -1
  91. package/dist/esm/transactions/zapDeposit.d.ts.map +1 -1
  92. package/dist/esm/transactions/zapDeposit.js +89 -38
  93. package/dist/esm/transactions/zapDeposit.js.map +1 -1
  94. package/dist/esm/utils/constants.d.ts.map +1 -1
  95. package/dist/esm/utils/constants.js +5 -0
  96. package/dist/esm/utils/constants.js.map +1 -1
  97. package/docs/assets/highlight.css +74 -51
  98. package/docs/assets/icons.js +20 -17
  99. package/docs/assets/main.js +2163 -5
  100. package/docs/assets/navigation.js +2 -1
  101. package/docs/assets/search.js +2 -1
  102. package/docs/assets/style.css +846 -850
  103. package/docs/functions/alphaLpBreakdown.html +253 -1
  104. package/docs/functions/cetusLpBreakdown.html +253 -1
  105. package/docs/functions/claimBlueRewardTxb.html +258 -1
  106. package/docs/functions/claimRewardTxb.html +243 -1
  107. package/docs/functions/coinAmountToXTokensDoubleAsset.html +267 -1
  108. package/docs/functions/coinAmountToXTokensSingleAsset.html +260 -1
  109. package/docs/functions/coinsInPool.html +438 -1
  110. package/docs/functions/collectRewards.html +242 -1
  111. package/docs/functions/deposit.html +246 -1
  112. package/docs/functions/depositDoubleAssetTxb.html +270 -1
  113. package/docs/functions/depositSingleAssetTxb.html +263 -1
  114. package/docs/functions/fetchAfterTransactionEvents.html +328 -1
  115. package/docs/functions/fetchAutoCompoundingEvents.html +257 -1
  116. package/docs/functions/fetchAutoCompoundingEventsGql.html +251 -1
  117. package/docs/functions/fetchCetusPools.html +231 -1
  118. package/docs/functions/fetchChainIdentifier.html +233 -1
  119. package/docs/functions/fetchCheckRatioEvents.html +249 -1
  120. package/docs/functions/fetchLiquidityChangeEvents.html +257 -1
  121. package/docs/functions/fetchMultiCategoryEvents.html +348 -1
  122. package/docs/functions/fetchMultiReceipts.html +261 -1
  123. package/docs/functions/fetchNftHolders.html +233 -1
  124. package/docs/functions/fetchPools.html +230 -1
  125. package/docs/functions/fetchPortfolioData.html +243 -1
  126. package/docs/functions/fetchProtocolData.html +231 -1
  127. package/docs/functions/fetchTVL.html +253 -1
  128. package/docs/functions/fetchUserVaultBalances.html +245 -1
  129. package/docs/functions/fetchUserVaults.html +243 -1
  130. package/docs/functions/fetchUserWalletData.html +243 -1
  131. package/docs/functions/fetchVoloExchangeRate.html +251 -1
  132. package/docs/functions/fetchWithdrawV2Events.html +255 -1
  133. package/docs/functions/getAirdropShare.html +243 -1
  134. package/docs/functions/getAllDoubleAssetVaults.html +235 -1
  135. package/docs/functions/getAllSingleAssetVaults.html +235 -1
  136. package/docs/functions/getAllVaultBalances.html +265 -1
  137. package/docs/functions/getAllVaults.html +233 -1
  138. package/docs/functions/getAlphaUnlocks.html +245 -1
  139. package/docs/functions/getAlphaVaultBalance.html +255 -1
  140. package/docs/functions/getAmounts.html +272 -1
  141. package/docs/functions/getApr.html +243 -1
  142. package/docs/functions/getAprs.html +255 -1
  143. package/docs/functions/getApy.html +243 -1
  144. package/docs/functions/getApys.html +255 -1
  145. package/docs/functions/getCetusInvestorTicksMap.html +284 -1
  146. package/docs/functions/getCetusPool.html +270 -1
  147. package/docs/functions/getCetusSqrtPriceMap.html +249 -1
  148. package/docs/functions/getCoinAmountsFromLiquidity.html +273 -1
  149. package/docs/functions/getConf.html +13163 -1
  150. package/docs/functions/getCurrentTick.html +247 -1
  151. package/docs/functions/getDistributor.html +252 -1
  152. package/docs/functions/getDoubleAssetVaultBalance.html +268 -1
  153. package/docs/functions/getDoubleAssetVaults.html +253 -1
  154. package/docs/functions/getHoldersFromTransactions.html +299 -1
  155. package/docs/functions/getInvestor.html +259 -1
  156. package/docs/functions/getInvestorPoolMap.html +241 -1
  157. package/docs/functions/getLastAutoCompoundTime.html +249 -1
  158. package/docs/functions/getLatestPrices.html +253 -1
  159. package/docs/functions/getLiquidity.html +260 -1
  160. package/docs/functions/getMultiCetusPool.html +231 -1
  161. package/docs/functions/getMultiInvestor.html +231 -1
  162. package/docs/functions/getMultiLatestPrices.html +233 -1
  163. package/docs/functions/getMultiParentPool.html +231 -1
  164. package/docs/functions/getMultiPool.html +231 -1
  165. package/docs/functions/getMultiReceipts.html +243 -1
  166. package/docs/functions/getParentPool.html +266 -1
  167. package/docs/functions/getPool.html +262 -1
  168. package/docs/functions/getPoolExchangeRate.html +254 -1
  169. package/docs/functions/getPoolExchangeRateMap.html +249 -1
  170. package/docs/functions/getPoolsWeightDistribution.html +266 -1
  171. package/docs/functions/getPositionRange.html +283 -1
  172. package/docs/functions/getPositionRanges.html +289 -1
  173. package/docs/functions/getPositionTicks.html +249 -1
  174. package/docs/functions/getPriceToTick.html +264 -1
  175. package/docs/functions/getRebalanceHistories.html +269 -1
  176. package/docs/functions/getRebalanceHistory.html +255 -1
  177. package/docs/functions/getReceipts.html +268 -1
  178. package/docs/functions/getSingleAssetVaultBalance.html +268 -1
  179. package/docs/functions/getSingleAssetVaults.html +253 -1
  180. package/docs/functions/getSuiClient.html +247 -3
  181. package/docs/functions/getSuiNodeUrl.html +232 -3
  182. package/docs/functions/getTVLs-1.html +243 -1
  183. package/docs/functions/getTickSpacing.html +247 -1
  184. package/docs/functions/getTickToPrice.html +248 -1
  185. package/docs/functions/getTvls.html +259 -1
  186. package/docs/functions/getUserTokensFromTransactions.html +269 -1
  187. package/docs/functions/getUserTokensInUsdFromTransactions.html +263 -1
  188. package/docs/functions/getVaultBalance.html +277 -1
  189. package/docs/functions/getVaultBalanceForActiveUsers.html +261 -1
  190. package/docs/functions/getVaults.html +250 -1
  191. package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +261 -1
  192. package/docs/functions/getZapAmounts.html +323 -1
  193. package/docs/functions/lastAutocompoundTime.html +249 -1
  194. package/docs/functions/liquidityToTokens.html +253 -1
  195. package/docs/functions/multiLiquidityToTokens.html +271 -1
  196. package/docs/functions/multiTokensToUsd.html +262 -1
  197. package/docs/functions/multiXTokensToLiquidity.html +257 -1
  198. package/docs/functions/parseUserWalletData.html +243 -1
  199. package/docs/functions/pendingBlueRewardAmount.html +256 -1
  200. package/docs/functions/setCustomSuiClient.html +251 -5
  201. package/docs/functions/setSuiClient.html +255 -7
  202. package/docs/functions/setSuiNodeUrl.html +249 -5
  203. package/docs/functions/setWeights.html +270 -1
  204. package/docs/functions/withdraw.html +249 -1
  205. package/docs/functions/withdrawAlphaTxb.html +257 -1
  206. package/docs/functions/withdrawTxb.html +260 -1
  207. package/docs/functions/zapDepositTxb.html +300 -1
  208. package/docs/index.html +587 -41
  209. package/docs/interfaces/Coin.html +474 -12
  210. package/docs/interfaces/CoinPair.html +358 -3
  211. package/docs/interfaces/NaviVoloData.html +514 -3
  212. package/docs/interfaces/PoolData.html +579 -8
  213. package/docs/interfaces/PoolWeightDistribution.html +414 -4
  214. package/docs/interfaces/RebalanceHistoryType.html +652 -9
  215. package/docs/modules.html +1430 -198
  216. package/docs/types/AfterTransactionEventNode.html +305 -1
  217. package/docs/types/Allocator.html +321 -1
  218. package/docs/types/AlphaFiDoubleAssetVault.html +258 -1
  219. package/docs/types/AlphaFiMultiVaultBalance.html +219 -1
  220. package/docs/types/AlphaFiSingleAssetVault.html +244 -1
  221. package/docs/types/AlphaFiVault.html +214 -1
  222. package/docs/types/AlphaFiVaultBalance.html +220 -1
  223. package/docs/types/AlphaPoolType.html +383 -1
  224. package/docs/types/AlphaReceipt.html +220 -1
  225. package/docs/types/AlphaReceiptFields.html +421 -1
  226. package/docs/types/AlphaVaultBalance.html +245 -1
  227. package/docs/types/AutoBalancePoolNames.html +226 -1
  228. package/docs/types/AutoCompoundingEventNode.html +230 -1
  229. package/docs/types/BluefinInvestor.html +209 -1
  230. package/docs/types/BluefinPoolType.html +440 -1
  231. package/docs/types/BucketInvestor.html +249 -1
  232. package/docs/types/CetusInvestor.html +240 -1
  233. package/docs/types/CetusPoolType.html +433 -1
  234. package/docs/types/CetusSwapOptions.html +209 -1
  235. package/docs/types/CoinAmounts.html +216 -1
  236. package/docs/types/CoinName.html +293 -1
  237. package/docs/types/CoinType.html +294 -1
  238. package/docs/types/CommonInvestorFields.html +276 -1
  239. package/docs/types/CreatePoolOptions.html +246 -1
  240. package/docs/types/Distributor.html +341 -1
  241. package/docs/types/DoubleAssetMultiVaultBalance.html +236 -1
  242. package/docs/types/DoubleAssetPoolNames.html +297 -1
  243. package/docs/types/DoubleAssetTokenHoldings.html +232 -1
  244. package/docs/types/DoubleAssetVaultBalance.html +229 -1
  245. package/docs/types/EventCategory.html +209 -1
  246. package/docs/types/EventNode.html +229 -1
  247. package/docs/types/GetHoldersParams.html +221 -1
  248. package/docs/types/GetTokenHoldingsParams.html +227 -1
  249. package/docs/types/GetUserTokensFromTransactionsParams.html +233 -1
  250. package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +244 -1
  251. package/docs/types/GetVaultBalanceForActiveUsersParams.html +231 -1
  252. package/docs/types/GetVaultBalanceParams.html +217 -1
  253. package/docs/types/HoldingsObj.html +223 -1
  254. package/docs/types/Icon.html +266 -1
  255. package/docs/types/Investor.html +245 -1
  256. package/docs/types/LiquidityChangeEventNode.html +220 -1
  257. package/docs/types/LiquidityToTokensParams.html +255 -1
  258. package/docs/types/LiquidityToUsdParams.html +267 -1
  259. package/docs/types/LoopingDebt.html +258 -1
  260. package/docs/types/LoopingPoolNames.html +216 -1
  261. package/docs/types/LpBreakdownType.html +238 -1
  262. package/docs/types/MemberPoolDataType.html +276 -1
  263. package/docs/types/MemberType.html +269 -1
  264. package/docs/types/MultiGetVaultBalancesParams.html +229 -1
  265. package/docs/types/NaviInvestor.html +235 -1
  266. package/docs/types/OtherReceiptFields.html +373 -1
  267. package/docs/types/PoolName.html +214 -1
  268. package/docs/types/PoolReceipt.html +253 -1
  269. package/docs/types/PoolType.html +388 -1
  270. package/docs/types/Receipt.html +475 -1
  271. package/docs/types/ReceiptGQL.html +374 -1
  272. package/docs/types/SingleAssetMultiVaultBalance.html +232 -1
  273. package/docs/types/SingleAssetPoolNames.html +244 -1
  274. package/docs/types/SingleAssetTokenHoldings.html +228 -1
  275. package/docs/types/SingleAssetVaultBalance.html +223 -1
  276. package/docs/types/SingleGetVaultBalancesParams.html +224 -1
  277. package/docs/types/StrategyType.html +221 -1
  278. package/docs/types/SuiNetwork.html +213 -1
  279. package/docs/types/SwapOptions.html +248 -1
  280. package/docs/types/TickSpacing.html +212 -1
  281. package/docs/types/TotalWeightType.html +246 -1
  282. package/docs/types/TransactionBlockType.html +358 -1
  283. package/docs/types/UserPoolLiquidity.html +221 -1
  284. package/docs/types/UserPoolTokenHoldings.html +217 -1
  285. package/docs/types/UserUsdHoldings.html +223 -1
  286. package/docs/types/VaultBalance.html +216 -1
  287. package/docs/types/WithdrawV2EventNode.html +208 -1
  288. package/docs/variables/bluefinPoolMap.html +214 -1
  289. package/docs/variables/cetusPoolMap.html +214 -1
  290. package/docs/variables/coinsList.html +220 -1
  291. package/docs/variables/defunctPoolsSet.html +209 -1
  292. package/docs/variables/doubleAssetPoolCoinMap.html +237 -1
  293. package/docs/variables/eventCategories.html +210 -1
  294. package/docs/variables/ignoredWalletsForDailyRevenue.html +218 -1
  295. package/docs/variables/loopingAccountAddresses.html +219 -1
  296. package/docs/variables/loopingPoolCoinMap.html +233 -1
  297. package/docs/variables/naviAssetMap.html +215 -1
  298. package/docs/variables/poolIdPoolNameMap.html +218 -1
  299. package/docs/variables/poolInfo.html +319 -1
  300. package/docs/variables/singleAssetPoolCoinMap.html +229 -1
  301. package/docs/variables/stableCoins.html +207 -1
  302. package/package.json +2 -2
  303. package/prettier.config.js +3 -0
@@ -1,4 +1,414 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PoolWeightDistribution | @alphafi/alphafi-sdk - v0.0.54</title><meta name="description" content="Documentation for @alphafi/alphafi-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@alphafi/alphafi-sdk - v0.0.54</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@alphafi/alphafi-sdk</a></li><li><a href="PoolWeightDistribution.html">PoolWeightDistribution</a></li></ul><h1>Interface PoolWeightDistribution</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">PoolWeightDistribution</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="PoolWeightDistribution.html#coinType">coinType</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="PoolWeightDistribution.html#data">data</a><span class="tsd-signature-symbol">: </span><a href="PoolData.html" class="tsd-signature-type tsd-kind-interface">PoolData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="PoolWeightDistribution.html#totalWeight">totalWeight</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/AlphaFiTech/alphafi-sdk/blob/4955977a71d33241a1ba146c2d5283b960e6f612/src/common/types.ts#L247">common/types.ts:247</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="PoolWeightDistribution.html#coinType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>coin<wbr/>Type</span></a>
2
- <a href="PoolWeightDistribution.html#data" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a>
3
- <a href="PoolWeightDistribution.html#totalWeight" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Weight</span></a>
4
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="coinType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>coin<wbr/>Type</span><a href="#coinType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">coin<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/AlphaFiTech/alphafi-sdk/blob/4955977a71d33241a1ba146c2d5283b960e6f612/src/common/types.ts#L248">common/types.ts:248</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="data" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">:</span> <a href="PoolData.html" class="tsd-signature-type tsd-kind-interface">PoolData</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/AlphaFiTech/alphafi-sdk/blob/4955977a71d33241a1ba146c2d5283b960e6f612/src/common/types.ts#L250">common/types.ts:250</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="totalWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>total<wbr/>Weight</span><a href="#totalWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">total<wbr/>Weight</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/AlphaFiTech/alphafi-sdk/blob/4955977a71d33241a1ba146c2d5283b960e6f612/src/common/types.ts#L249">common/types.ts:249</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#coinType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>coin<wbr/>Type</span></a><a href="#data" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a><a href="#totalWeight" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Weight</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@alphafi/alphafi-sdk - v0.0.54</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
1
+ <!doctype html>
2
+ <html class="default" lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="x-ua-compatible" content="IE=edge" />
6
+ <title>PoolWeightDistribution | @alphafi/alphafi-sdk - v0.0.56</title>
7
+ <meta name="description" content="Documentation for @alphafi/alphafi-sdk" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
9
+ <link rel="stylesheet" href="../assets/style.css" />
10
+ <link rel="stylesheet" href="../assets/highlight.css" />
11
+ <script defer src="../assets/main.js"></script>
12
+ <script async src="../assets/icons.js" id="tsd-icons-script"></script>
13
+ <script async src="../assets/search.js" id="tsd-search-script"></script>
14
+ <script async src="../assets/navigation.js" id="tsd-nav-script"></script>
15
+ </head>
16
+ <body>
17
+ <script>
18
+ document.documentElement.dataset.theme =
19
+ localStorage.getItem("tsd-theme") || "os";
20
+ document.body.style.display = "none";
21
+ setTimeout(
22
+ () =>
23
+ app ? app.showPage() : document.body.style.removeProperty("display"),
24
+ 500,
25
+ );
26
+ </script>
27
+ <header class="tsd-page-toolbar">
28
+ <div class="tsd-toolbar-contents container">
29
+ <div class="table-cell" id="tsd-search" data-base="..">
30
+ <div class="field">
31
+ <label
32
+ for="tsd-search-field"
33
+ class="tsd-widget tsd-toolbar-icon search no-caption"
34
+ ><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
35
+ <use href="../assets/icons.svg#icon-search"></use></svg></label
36
+ ><input type="text" id="tsd-search-field" aria-label="Search" />
37
+ </div>
38
+ <div class="field"><div id="tsd-toolbar-links"></div></div>
39
+ <ul class="results">
40
+ <li class="state loading">Preparing search index...</li>
41
+ <li class="state failure">The search index is not available</li>
42
+ </ul>
43
+ <a href="../index.html" class="title"
44
+ >@alphafi/alphafi-sdk - v0.0.56</a
45
+ >
46
+ </div>
47
+ <div class="table-cell" id="tsd-widgets">
48
+ <a
49
+ href="#"
50
+ class="tsd-widget tsd-toolbar-icon menu no-caption"
51
+ data-toggle="menu"
52
+ aria-label="Menu"
53
+ ><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
54
+ <use href="../assets/icons.svg#icon-menu"></use></svg
55
+ ></a>
56
+ </div>
57
+ </div>
58
+ </header>
59
+ <div class="container container-main">
60
+ <div class="col-content">
61
+ <div class="tsd-page-title">
62
+ <ul class="tsd-breadcrumb">
63
+ <li><a href="../modules.html">@alphafi/alphafi-sdk</a></li>
64
+ <li>
65
+ <a href="PoolWeightDistribution.html">PoolWeightDistribution</a>
66
+ </li>
67
+ </ul>
68
+ <h1>Interface PoolWeightDistribution</h1>
69
+ </div>
70
+ <div class="tsd-signature">
71
+ <span class="tsd-signature-keyword">interface </span
72
+ ><span class="tsd-kind-interface">PoolWeightDistribution</span>
73
+ <span class="tsd-signature-symbol">{ </span><br /><span>    </span
74
+ ><a
75
+ class="tsd-kind-property"
76
+ href="PoolWeightDistribution.html#coinType"
77
+ >coinType</a
78
+ ><span class="tsd-signature-symbol">: </span
79
+ ><span class="tsd-signature-type">string</span
80
+ ><span class="tsd-signature-symbol">; </span><br /><span>    </span
81
+ ><a class="tsd-kind-property" href="PoolWeightDistribution.html#data"
82
+ >data</a
83
+ ><span class="tsd-signature-symbol">: </span
84
+ ><a href="PoolData.html" class="tsd-signature-type tsd-kind-interface"
85
+ >PoolData</a
86
+ ><span class="tsd-signature-symbol">[]</span
87
+ ><span class="tsd-signature-symbol">; </span><br /><span>    </span
88
+ ><a
89
+ class="tsd-kind-property"
90
+ href="PoolWeightDistribution.html#totalWeight"
91
+ >totalWeight</a
92
+ ><span class="tsd-signature-symbol">: </span
93
+ ><span class="tsd-signature-type">number</span
94
+ ><span class="tsd-signature-symbol">; </span><br /><span
95
+ class="tsd-signature-symbol"
96
+ >}</span
97
+ >
98
+ </div>
99
+ <aside class="tsd-sources">
100
+ <ul>
101
+ <li>
102
+ Defined in
103
+ <a
104
+ href="https://github.com/AlphaFiTech/alphafi-sdk/blob/d5c5baf4d5ffcf340653cbe7a9a3424d44d5a976/src/common/types.ts#L250"
105
+ >common/types.ts:250</a
106
+ >
107
+ </li>
108
+ </ul>
109
+ </aside>
110
+ <section class="tsd-panel-group tsd-index-group">
111
+ <section class="tsd-panel tsd-index-panel">
112
+ <details class="tsd-index-content tsd-accordion" open>
113
+ <summary class="tsd-accordion-summary tsd-index-summary">
114
+ <h5
115
+ class="tsd-index-heading uppercase"
116
+ role="button"
117
+ aria-expanded="false"
118
+ tabindex="0"
119
+ >
120
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
121
+ <use href="../assets/icons.svg#icon-chevronSmall"></use>
122
+ </svg>
123
+ Index
124
+ </h5>
125
+ </summary>
126
+ <div class="tsd-accordion-details">
127
+ <section class="tsd-index-section">
128
+ <h3 class="tsd-index-heading">Properties</h3>
129
+ <div class="tsd-index-list">
130
+ <a
131
+ href="PoolWeightDistribution.html#coinType"
132
+ class="tsd-index-link"
133
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
134
+ <use href="../assets/icons.svg#icon-1024"></use></svg
135
+ ><span>coin<wbr />Type</span></a
136
+ >
137
+ <a
138
+ href="PoolWeightDistribution.html#data"
139
+ class="tsd-index-link"
140
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
141
+ <use href="../assets/icons.svg#icon-1024"></use></svg
142
+ ><span>data</span></a
143
+ >
144
+ <a
145
+ href="PoolWeightDistribution.html#totalWeight"
146
+ class="tsd-index-link"
147
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
148
+ <use href="../assets/icons.svg#icon-1024"></use></svg
149
+ ><span>total<wbr />Weight</span></a
150
+ >
151
+ </div>
152
+ </section>
153
+ </div>
154
+ </details>
155
+ </section>
156
+ </section>
157
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open>
158
+ <summary class="tsd-accordion-summary" data-key="section-Properties">
159
+ <h2>
160
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
161
+ <use href="../assets/icons.svg#icon-chevronDown"></use>
162
+ </svg>
163
+ Properties
164
+ </h2>
165
+ </summary>
166
+ <section>
167
+ <section class="tsd-panel tsd-member">
168
+ <a id="coinType" class="tsd-anchor"></a>
169
+ <h3 class="tsd-anchor-link">
170
+ <span>coin<wbr />Type</span
171
+ ><a
172
+ href="#coinType"
173
+ aria-label="Permalink"
174
+ class="tsd-anchor-icon"
175
+ ><svg viewBox="0 0 24 24">
176
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
177
+ ></a>
178
+ </h3>
179
+ <div class="tsd-signature">
180
+ <span class="tsd-kind-property">coin<wbr />Type</span
181
+ ><span class="tsd-signature-symbol">:</span>
182
+ <span class="tsd-signature-type">string</span>
183
+ </div>
184
+ <aside class="tsd-sources">
185
+ <ul>
186
+ <li>
187
+ Defined in
188
+ <a
189
+ href="https://github.com/AlphaFiTech/alphafi-sdk/blob/d5c5baf4d5ffcf340653cbe7a9a3424d44d5a976/src/common/types.ts#L251"
190
+ >common/types.ts:251</a
191
+ >
192
+ </li>
193
+ </ul>
194
+ </aside>
195
+ </section>
196
+ <section class="tsd-panel tsd-member">
197
+ <a id="data" class="tsd-anchor"></a>
198
+ <h3 class="tsd-anchor-link">
199
+ <span>data</span
200
+ ><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"
201
+ ><svg viewBox="0 0 24 24">
202
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
203
+ ></a>
204
+ </h3>
205
+ <div class="tsd-signature">
206
+ <span class="tsd-kind-property">data</span
207
+ ><span class="tsd-signature-symbol">:</span>
208
+ <a
209
+ href="PoolData.html"
210
+ class="tsd-signature-type tsd-kind-interface"
211
+ >PoolData</a
212
+ ><span class="tsd-signature-symbol">[]</span>
213
+ </div>
214
+ <aside class="tsd-sources">
215
+ <ul>
216
+ <li>
217
+ Defined in
218
+ <a
219
+ href="https://github.com/AlphaFiTech/alphafi-sdk/blob/d5c5baf4d5ffcf340653cbe7a9a3424d44d5a976/src/common/types.ts#L253"
220
+ >common/types.ts:253</a
221
+ >
222
+ </li>
223
+ </ul>
224
+ </aside>
225
+ </section>
226
+ <section class="tsd-panel tsd-member">
227
+ <a id="totalWeight" class="tsd-anchor"></a>
228
+ <h3 class="tsd-anchor-link">
229
+ <span>total<wbr />Weight</span
230
+ ><a
231
+ href="#totalWeight"
232
+ aria-label="Permalink"
233
+ class="tsd-anchor-icon"
234
+ ><svg viewBox="0 0 24 24">
235
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
236
+ ></a>
237
+ </h3>
238
+ <div class="tsd-signature">
239
+ <span class="tsd-kind-property">total<wbr />Weight</span
240
+ ><span class="tsd-signature-symbol">:</span>
241
+ <span class="tsd-signature-type">number</span>
242
+ </div>
243
+ <aside class="tsd-sources">
244
+ <ul>
245
+ <li>
246
+ Defined in
247
+ <a
248
+ href="https://github.com/AlphaFiTech/alphafi-sdk/blob/d5c5baf4d5ffcf340653cbe7a9a3424d44d5a976/src/common/types.ts#L252"
249
+ >common/types.ts:252</a
250
+ >
251
+ </li>
252
+ </ul>
253
+ </aside>
254
+ </section>
255
+ </section>
256
+ </details>
257
+ </div>
258
+ <div class="col-sidebar">
259
+ <div class="page-menu">
260
+ <div class="tsd-navigation settings">
261
+ <details class="tsd-accordion">
262
+ <summary class="tsd-accordion-summary">
263
+ <h3>
264
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
265
+ <use href="../assets/icons.svg#icon-chevronDown"></use></svg
266
+ >Settings
267
+ </h3>
268
+ </summary>
269
+ <div class="tsd-accordion-details">
270
+ <div class="tsd-filter-visibility">
271
+ <span class="settings-label">Member Visibility</span>
272
+ <ul id="tsd-filter-options">
273
+ <li class="tsd-filter-item">
274
+ <label class="tsd-filter-input"
275
+ ><input
276
+ type="checkbox"
277
+ id="tsd-filter-inherited"
278
+ name="inherited"
279
+ checked
280
+ /><svg
281
+ width="32"
282
+ height="32"
283
+ viewBox="0 0 32 32"
284
+ aria-hidden="true"
285
+ >
286
+ <rect
287
+ class="tsd-checkbox-background"
288
+ width="30"
289
+ height="30"
290
+ x="1"
291
+ y="1"
292
+ rx="6"
293
+ fill="none"
294
+ ></rect>
295
+ <path
296
+ class="tsd-checkbox-checkmark"
297
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
298
+ stroke="none"
299
+ stroke-width="3.5"
300
+ stroke-linejoin="round"
301
+ fill="none"
302
+ ></path></svg
303
+ ><span>Inherited</span></label
304
+ >
305
+ </li>
306
+ <li class="tsd-filter-item">
307
+ <label class="tsd-filter-input"
308
+ ><input
309
+ type="checkbox"
310
+ id="tsd-filter-external"
311
+ name="external"
312
+ /><svg
313
+ width="32"
314
+ height="32"
315
+ viewBox="0 0 32 32"
316
+ aria-hidden="true"
317
+ >
318
+ <rect
319
+ class="tsd-checkbox-background"
320
+ width="30"
321
+ height="30"
322
+ x="1"
323
+ y="1"
324
+ rx="6"
325
+ fill="none"
326
+ ></rect>
327
+ <path
328
+ class="tsd-checkbox-checkmark"
329
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
330
+ stroke="none"
331
+ stroke-width="3.5"
332
+ stroke-linejoin="round"
333
+ fill="none"
334
+ ></path></svg
335
+ ><span>External</span></label
336
+ >
337
+ </li>
338
+ </ul>
339
+ </div>
340
+ <div class="tsd-theme-toggle">
341
+ <label class="settings-label" for="tsd-theme">Theme</label
342
+ ><select id="tsd-theme">
343
+ <option value="os">OS</option>
344
+ <option value="light">Light</option>
345
+ <option value="dark">Dark</option>
346
+ </select>
347
+ </div>
348
+ </div>
349
+ </details>
350
+ </div>
351
+ <details open class="tsd-accordion tsd-page-navigation">
352
+ <summary class="tsd-accordion-summary">
353
+ <h3>
354
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
355
+ <use href="../assets/icons.svg#icon-chevronDown"></use></svg
356
+ >On This Page
357
+ </h3>
358
+ </summary>
359
+ <div class="tsd-accordion-details">
360
+ <details open class="tsd-accordion tsd-page-navigation-section">
361
+ <summary
362
+ class="tsd-accordion-summary"
363
+ data-key="tsd-otp-Properties"
364
+ >
365
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
366
+ <use href="../assets/icons.svg#icon-chevronDown"></use></svg
367
+ >Properties
368
+ </summary>
369
+ <div>
370
+ <a href="#coinType" class=""
371
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
372
+ <use href="../assets/icons.svg#icon-1024"></use></svg
373
+ ><span>coin<wbr />Type</span></a
374
+ ><a href="#data" class=""
375
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
376
+ <use href="../assets/icons.svg#icon-1024"></use></svg
377
+ ><span>data</span></a
378
+ ><a href="#totalWeight" class=""
379
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
380
+ <use href="../assets/icons.svg#icon-1024"></use></svg
381
+ ><span>total<wbr />Weight</span></a
382
+ >
383
+ </div>
384
+ </details>
385
+ </div>
386
+ </details>
387
+ </div>
388
+ <div class="site-menu">
389
+ <nav class="tsd-navigation">
390
+ <a href="../modules.html"
391
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
392
+ <use href="../assets/icons.svg#icon-1"></use></svg
393
+ ><span>@alphafi/alphafi-sdk - v0.0.56</span></a
394
+ >
395
+ <ul
396
+ class="tsd-small-nested-navigation"
397
+ id="tsd-nav-container"
398
+ data-base=".."
399
+ >
400
+ <li>Loading...</li>
401
+ </ul>
402
+ </nav>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ <footer>
407
+ <p class="tsd-generator">
408
+ Generated using
409
+ <a href="https://typedoc.org/" target="_blank">TypeDoc</a>
410
+ </p>
411
+ </footer>
412
+ <div class="overlay"></div>
413
+ </body>
414
+ </html>