@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.
- package/dist/common/alphaTypes.d.ts +109 -0
- package/dist/common/cetus_mainnet_config.d.ts +2 -0
- package/dist/common/coins.d.ts +4 -0
- package/dist/common/constants.d.ts +401 -0
- package/dist/common/maps.d.ts +56 -0
- package/dist/common/pyth.d.ts +6 -0
- package/dist/common/types.d.ts +412 -0
- package/dist/example.d.ts +2 -0
- package/dist/getAirdropShare.d.ts +1 -0
- package/dist/getAllVaults.d.ts +3 -0
- package/dist/getAlphaUnlocks.d.ts +13 -0
- package/dist/getAprs.d.ts +5 -0
- package/dist/getHoldersFromTransactions.d.ts +8 -0
- package/dist/getLastAutoCompoundTime.d.ts +2 -0
- package/dist/getRebalanceHistory.d.ts +3 -0
- package/dist/getVaultBalances.d.ts +8 -0
- package/dist/getVaults.d.ts +4 -0
- package/dist/graphql/client.d.ts +3 -0
- package/dist/graphql/executeMutations.d.ts +3 -0
- package/dist/graphql/fetchAutoCompoundingEventsGql.d.ts +26 -0
- package/dist/graphql/fetchData.d.ts +10 -0
- package/dist/graphql/fetchNftHolders.d.ts +2 -0
- package/dist/graphql/fetchReceipts.d.ts +2 -0
- package/dist/graphql/mutations.d.ts +3 -0
- package/dist/graphql/parseData.d.ts +1 -0
- package/dist/graphql/parseLockedTableId.d.ts +6 -0
- package/dist/graphql/queries.d.ts +14 -0
- package/dist/graphql/types.d.ts +69 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sui-sdk/client.d.ts +3 -0
- package/dist/sui-sdk/events/fetchAutoCompoundingEvents.d.ts +5 -0
- package/dist/sui-sdk/events/fetchEvents.d.ts +2 -0
- package/dist/sui-sdk/events/fetchLiquidityChangeEvents.d.ts +2 -0
- package/dist/sui-sdk/events/fetchRebalanceEvents.d.ts +4 -0
- package/dist/sui-sdk/events/parseData.d.ts +3 -0
- package/dist/sui-sdk/events/types.d.ts +93 -0
- package/dist/sui-sdk/functions/fetchTableData.d.ts +49 -0
- package/dist/sui-sdk/functions/fetchUserVaultBalances.d.ts +2 -0
- package/dist/sui-sdk/functions/fetchUserVaults.d.ts +2 -0
- package/dist/sui-sdk/functions/getPortfolioAmounts.d.ts +32 -0
- package/dist/sui-sdk/functions/getReceipts.d.ts +8 -0
- package/dist/sui-sdk/transactions/constants.d.ts +3 -0
- package/dist/sui-sdk/transactions/fetchTransactions.d.ts +3 -0
- package/dist/sui-sdk/transactions/types.d.ts +7 -0
- package/dist/types.d.ts +212 -0
- package/dist/utils/clmm/prices.d.ts +19 -0
- package/dist/utils/clmm/tokenAmountFromLiquidity.d.ts +10 -0
- package/dist/utils/clmm/types.d.ts +24 -0
- package/dist/utils/constants.d.ts +2 -0
- package/dist/utils/getHoldersFromTransactionsUtils.d.ts +5 -0
- package/dist/utils/getReceipts.d.ts +3 -0
- package/dist/utils/hop.d.ts +15 -0
- package/dist/utils/prices.d.ts +6 -0
- package/dist/utils/simpleCache.d.ts +9 -0
- package/dist/utils/types.d.ts +4 -0
- package/dist/utils/userHoldings.d.ts +5 -0
- package/dist/vaultFunctions.d.ts +4 -0
- package/package.json +5 -1
- package/.envrc +0 -1
- package/.eslintrc.json +0 -21
- package/.github/workflows/static.yml +0 -51
- package/.prettierrc.json +0 -27
- package/.prettierrc.json~ +0 -30
- package/__tests__/getAprs.test.ts~ +0 -9
- package/__tests__/getRebalanceHistory.test.ts~ +0 -19
- package/apr.org +0 -11
- package/babel.config.json +0 -11
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -78
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1448
- package/docs/functions/alphaLpBreakdown.html +0 -1
- package/docs/functions/cetusLpBreakdown.html +0 -1
- package/docs/functions/collectRewards.html +0 -1
- package/docs/functions/deposit.html +0 -1
- package/docs/functions/fetchAutoCompoundingEventsGql.html +0 -1
- package/docs/functions/fetchCetusPools.html +0 -1
- package/docs/functions/fetchChainIdentifier.html +0 -1
- package/docs/functions/fetchNftHolders.html +0 -1
- package/docs/functions/fetchPools.html +0 -1
- package/docs/functions/fetchPortfolioData.html +0 -1
- package/docs/functions/fetchProtocolData.html +0 -1
- package/docs/functions/fetchUserVaultBalances.html +0 -1
- package/docs/functions/fetchUserVaults.html +0 -1
- package/docs/functions/fetchUserWalletData.html +0 -1
- package/docs/functions/getAirdropShare.html +0 -1
- package/docs/functions/getAllDoubleAssetVaults.html +0 -1
- package/docs/functions/getAllSingleAssetVaults.html +0 -1
- package/docs/functions/getAllVaults.html +0 -1
- package/docs/functions/getAlphaVaultBalance.html +0 -1
- package/docs/functions/getApr.html +0 -1
- package/docs/functions/getAprs.html +0 -1
- package/docs/functions/getApy.html +0 -1
- package/docs/functions/getApys.html +0 -1
- package/docs/functions/getDoubleAssetVaultBalance.html +0 -1
- package/docs/functions/getDoubleAssetVaults.html +0 -1
- package/docs/functions/getRebalanceHistories.html +0 -1
- package/docs/functions/getRebalanceHistory.html +0 -1
- package/docs/functions/getSingleAssetVaultBalance.html +0 -1
- package/docs/functions/getSingleAssetVaults.html +0 -1
- package/docs/functions/getVaultBalance.html +0 -1
- package/docs/functions/getVaults.html +0 -1
- package/docs/functions/lastAutocompoundTime.html +0 -1
- package/docs/functions/parseUserWalletData.html +0 -1
- package/docs/functions/withdraw.html +0 -1
- package/docs/index.html +0 -40
- package/docs/interfaces/Coin.html +0 -5
- package/docs/interfaces/CoinPair.html +0 -3
- package/docs/interfaces/RebalanceHistoryType.html +0 -5
- package/docs/modules.html +0 -66
- package/docs/types/AlphaFiDoubleAssetVault.html +0 -1
- package/docs/types/AlphaFiSingleAssetVault.html +0 -1
- package/docs/types/AlphaFiVault.html +0 -1
- package/docs/types/AlphaFiVaultBalance.html +0 -1
- package/docs/types/AlphaPoolType.html +0 -1
- package/docs/types/AlphaReceipt.html +0 -1
- package/docs/types/AlphaVaultBalance.html +0 -1
- package/docs/types/AutoCompoundingEventNode.html +0 -1
- package/docs/types/CetusInvestor.html +0 -1
- package/docs/types/CetusPoolType.html +0 -1
- package/docs/types/CetusSwapOptions.html +0 -1
- package/docs/types/CoinAmounts.html +0 -1
- package/docs/types/CoinName.html +0 -1
- package/docs/types/CoinType.html +0 -1
- package/docs/types/CreatePoolOptions.html +0 -1
- package/docs/types/DoubleAssetVaultBalance.html +0 -1
- package/docs/types/Icon.html +0 -1
- package/docs/types/LpBreakdownType.html +0 -1
- package/docs/types/ParentProtocolName.html +0 -1
- package/docs/types/PoolName.html +0 -1
- package/docs/types/PoolReceipt.html +0 -1
- package/docs/types/PoolType.html +0 -1
- package/docs/types/Receipt.html +0 -1
- package/docs/types/SingleAssetVaultBalance.html +0 -1
- package/docs/types/SuiNetwork.html +0 -1
- package/docs/types/SwapOptions.html +0 -1
- package/docs/types/TickSpacing.html +0 -1
- package/docs/types/TransactionBlockType.html +0 -1
- package/events.csv +0 -61
- package/events.csv~ +0 -71
- package/jest.config.js +0 -5
- package/package.json~ +0 -56
- package/tsconfig.json~ +0 -16
- package/tsconfig.test.json~ +0 -17
- package/typedoc.json +0 -8
- package/webpack.config.cjs~ +0 -63
- package/webpack.config.js +0 -54
- package/webpack.config.js~ +0 -50
- 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.