@tokemak/queries 0.0.16 → 0.0.17
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.cjs +239 -137
- package/dist/index.d.ts +43 -1
- package/dist/index.js +189 -92
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -3314,4 +3314,46 @@ declare const getAutopoolUser: (config: Config, { autopool, address, userActivit
|
|
|
3314
3314
|
};
|
|
3315
3315
|
}>;
|
|
3316
3316
|
|
|
3317
|
-
|
|
3317
|
+
declare const getAutopoolUserHistory: ({ userAddress, autopool, userActivity, }: {
|
|
3318
|
+
userAddress: Address;
|
|
3319
|
+
autopool: IAutopool;
|
|
3320
|
+
userActivity: IUserActivity;
|
|
3321
|
+
}) => Promise<EnhancedUserHistoryEntry[]>;
|
|
3322
|
+
|
|
3323
|
+
declare const getAutopoolHistory: (autopool: IAutopool) => Promise<{
|
|
3324
|
+
[x: string]: {
|
|
3325
|
+
vaultId: string;
|
|
3326
|
+
vault: {
|
|
3327
|
+
id: string;
|
|
3328
|
+
};
|
|
3329
|
+
date: Date;
|
|
3330
|
+
baseAsset: {
|
|
3331
|
+
price: number;
|
|
3332
|
+
address: viem.Address;
|
|
3333
|
+
chainId: number;
|
|
3334
|
+
decimals: number;
|
|
3335
|
+
logoURI: string;
|
|
3336
|
+
name: string;
|
|
3337
|
+
symbol: string;
|
|
3338
|
+
audits?: string;
|
|
3339
|
+
extensions?: {
|
|
3340
|
+
bridgeMainnetAdapter?: viem.Address;
|
|
3341
|
+
bridgeInfo?: {
|
|
3342
|
+
[chainId: number]: {
|
|
3343
|
+
tokenAddress: viem.Address;
|
|
3344
|
+
};
|
|
3345
|
+
};
|
|
3346
|
+
rebasing?: boolean;
|
|
3347
|
+
parentAsset?: string;
|
|
3348
|
+
};
|
|
3349
|
+
};
|
|
3350
|
+
__typename?: "AutopoolDayData";
|
|
3351
|
+
totalSupply: any;
|
|
3352
|
+
nav: any;
|
|
3353
|
+
timestamp: any;
|
|
3354
|
+
id: string;
|
|
3355
|
+
}[];
|
|
3356
|
+
} | undefined>;
|
|
3357
|
+
type IAutopoolHistory = Awaited<ReturnType<typeof getAutopoolHistory>>;
|
|
3358
|
+
|
|
3359
|
+
export { AggregatedDayData, AutopoolCategory, AutopoolsApr, BASE_ASSETS, BATCH_SIZE, BaseAsset, BaseAssetWithUsd, BaseDataEntry, ChainAutopoolsAprResponse, ChainSTokeRewardsType, ChainSTokeType, ChainSTokeVotes, Currencies, CurveLP, ETH_BASE_ASSETS, EUR_BASE_ASSETS, EnhancedUserHistoryEntry, EventType, ExtraReward, FillData, GetLayerzeroStatusConfig, HistoricalTokenPrices, IAutopool, IAutopoolHistory, IAutopools, IAutopoolsHistory, IRebalance, IStoke, IStokeRewards, ISushiLP, ITopAutopoolHolder, ITopAutopoolHolders, IUserActivity, IUserAutopool, IUserAutopools, IUserAutopoolsRewards, IUserExtraRewards, IUserReward, LayerzeroStatus, MessageStatus, Order, PRICED_TOKENS, PoolRewardsBalanceDayData, QuoteAndPriceBaseConfig, QuoteAndPriceBaseResult, QuoteResult, RawRebalance, Reward, RewardDetails, STokeVotes, SendParam, SwapQuoteParams, SwapQuoteResponse, TokenPrices, USD_BASE_ASSETS, UserActivity, UserActivityTotalsType, UserAutopoolsVotes, UserDayDataEntry, UserSTokeVotes, VaultAddedMapping, aggregateSTokeRewardsDayData, arraysToObject, calculateRebalanceStats, convertBaseAssetToTokenPrices, convertBaseAssetToTokenPricesAndDenom, fetchChainDataMap, fetchChainRebalances, fillMissingDates, findClosestDateEntry, findClosestEntry, findClosestTimestampEntry, formatDateRange, getAddressFromSystemRegistry, getAllowance, getAmountDeposited, getAmountWithdrawn, getAutopilotRouter, getAutopoolCategory, getAutopoolDayData, getAutopoolHistory, getAutopoolInfo, getAutopoolRebalances, getAutopoolUser, getAutopoolUserActivity, getAutopoolUserHistory, getAutopools, getAutopoolsHistory, getAutopoolsRebalances, getBlobData, getBlobHistoricalTokenPrices, getBridgeFee, getChainAutopools, getChainAutopoolsApr, getChainCycleRolloverBlockNumber, getChainSToke, getChainSTokeRewards, getChainSubgraphStatus, getChainUserActivity, getChainUserAutopools, getChainUserSToke, getChainUserSTokeRewards, getChainUserSTokeVotes, getChainsForEnv, getCurrentCycleId, getCurveLP, getCycleV1, getDefillamaPrice, getDynamicSwap, getEthPrice, getEthPriceAtBlock, getExchangeNames, getGenStratAprs, getHistoricalTokenPrices, getLayerzeroStatus, getMutlipleAutopoolRebalances, getPoolStats, getPoolsAndDestinations, getPoolsAndDestinationsReturnType, getProtocolStats, getRebalanceStats, getRebalanceValueUsd, getRewardsPayloadV1, getSToke, getSTokeChainsForEnv, getSTokeRewards, getSTokeVotes, getSubgraphStatus, getSushiLP, getSwapQuote, getSystemConfig, getTimestampDaysFromStart, getTokePrice, getTokenList, getTokenPrice, getTokenPrices, getTopAutopoolHolders, getUserActivity, getUserAutoEthRewards, getUserAutopool, getUserAutopools, getUserAutopoolsHistory, getUserAutopoolsRewards, getUserCurveLP, getUserRewardsV1, getUserSToke, getUserSTokeVotes, getUserSushiLP, getUserTokenBalances, getUserV1, mergeArrays, mergeArraysWithKey, mergeStringArrays, minAmountDepositedBaseConfig, minAmountDepositedFunctionConfig, minAmountWithdrawnBaseConfig, minAmountWithdrawnFunctionConfig, modifyAutopoolName, nestedArrayToObject, paginateQuery, processRebalance, processRebalancesInBatches, rewardsData, systemRegistryFunctionNames, updateRebalanceStats, waitForMessageReceived };
|