@tokemak/queries 0.0.21 → 0.1.2
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/constants/tokenOrders.d.ts +3 -0
- package/dist/constants/tokenOrders.d.ts.map +1 -0
- package/dist/functions/getAddressFromSystemRegistry.d.ts +8 -0
- package/dist/functions/getAddressFromSystemRegistry.d.ts.map +1 -0
- package/dist/functions/getAllowance.d.ts +8 -0
- package/dist/functions/getAllowance.d.ts.map +1 -0
- package/dist/functions/getAmountDeposited.d.ts +3 -0
- package/dist/functions/getAmountDeposited.d.ts.map +1 -0
- package/dist/functions/getAmountWithdrawn.d.ts +28 -0
- package/dist/functions/getAmountWithdrawn.d.ts.map +1 -0
- package/dist/functions/getAutopilotRouter.d.ts +5 -0
- package/dist/functions/getAutopilotRouter.d.ts.map +1 -0
- package/dist/functions/getAutopoolDayData.d.ts +25 -0
- package/dist/functions/getAutopoolDayData.d.ts.map +1 -0
- package/dist/functions/getAutopoolRebalances.d.ts +8 -0
- package/dist/functions/getAutopoolRebalances.d.ts.map +1 -0
- package/dist/functions/getAutopools.d.ts +329 -0
- package/dist/functions/getAutopools.d.ts.map +1 -0
- package/dist/functions/getAutopoolsDayData.d.ts +13 -0
- package/dist/functions/getAutopoolsDayData.d.ts.map +1 -0
- package/dist/functions/getAutopoolsHistory.d.ts +21 -0
- package/dist/functions/getAutopoolsHistory.d.ts.map +1 -0
- package/dist/functions/getAutopoolsRebalances.d.ts +53 -0
- package/dist/functions/getAutopoolsRebalances.d.ts.map +1 -0
- package/dist/functions/getBackupApr.d.ts +2 -0
- package/dist/functions/getBackupApr.d.ts.map +1 -0
- package/dist/functions/getBackupTokenPrices.d.ts +6 -0
- package/dist/functions/getBackupTokenPrices.d.ts.map +1 -0
- package/dist/functions/getBlobData.d.ts +2 -0
- package/dist/functions/getBlobData.d.ts.map +1 -0
- package/dist/functions/getBridgeFee.d.ts +18 -0
- package/dist/functions/getBridgeFee.d.ts.map +1 -0
- package/dist/functions/getChainAutopools.d.ts +336 -0
- package/dist/functions/getChainAutopools.d.ts.map +1 -0
- package/dist/functions/getChainAutopoolsApr.d.ts +30 -0
- package/dist/functions/getChainAutopoolsApr.d.ts.map +1 -0
- package/dist/functions/getChainCycleRolloverBlockNumber.d.ts +7 -0
- package/dist/functions/getChainCycleRolloverBlockNumber.d.ts.map +1 -0
- package/dist/functions/getChainSToke.d.ts +15 -0
- package/dist/functions/getChainSToke.d.ts.map +1 -0
- package/dist/functions/getChainSTokeRewards.d.ts +16 -0
- package/dist/functions/getChainSTokeRewards.d.ts.map +1 -0
- package/dist/functions/getChainSubgraphStatus.d.ts +17 -0
- package/dist/functions/getChainSubgraphStatus.d.ts.map +1 -0
- package/dist/functions/getChainUserActivity.d.ts +24 -0
- package/dist/functions/getChainUserActivity.d.ts.map +1 -0
- package/dist/functions/getChainUserAutopools.d.ts +14 -0
- package/dist/functions/getChainUserAutopools.d.ts.map +1 -0
- package/dist/functions/getChainUserAutopoolsHistory.d.ts +14 -0
- package/dist/functions/getChainUserAutopoolsHistory.d.ts.map +1 -0
- package/dist/functions/getChainUserAutopoolsRewards.d.ts +12 -0
- package/dist/functions/getChainUserAutopoolsRewards.d.ts.map +1 -0
- package/dist/functions/getChainUserSToke.d.ts +33 -0
- package/dist/functions/getChainUserSToke.d.ts.map +1 -0
- package/dist/functions/getChainUserSTokeRewards.d.ts +30 -0
- package/dist/functions/getChainUserSTokeRewards.d.ts.map +1 -0
- package/dist/functions/getCombinedRewards.d.ts +11 -0
- package/dist/functions/getCombinedRewards.d.ts.map +1 -0
- package/dist/functions/getCurrentCycleId.d.ts +7 -0
- package/dist/functions/getCurrentCycleId.d.ts.map +1 -0
- package/dist/functions/getCurveLP.d.ts +3 -0
- package/dist/functions/getCurveLP.d.ts.map +1 -0
- package/dist/functions/getCycleV1.d.ts +10 -0
- package/dist/functions/getCycleV1.d.ts.map +1 -0
- package/dist/functions/getDefillamaPoolApr.d.ts +32 -0
- package/dist/functions/getDefillamaPoolApr.d.ts.map +1 -0
- package/dist/functions/getDefillamaPrice.d.ts +2 -0
- package/dist/functions/getDefillamaPrice.d.ts.map +1 -0
- package/dist/functions/getDynamicSwap.d.ts +19 -0
- package/dist/functions/getDynamicSwap.d.ts.map +1 -0
- package/dist/functions/getEthAutoLP.d.ts +15 -0
- package/dist/functions/getEthAutoLP.d.ts.map +1 -0
- package/dist/functions/getEthPrice.d.ts +2 -0
- package/dist/functions/getEthPrice.d.ts.map +1 -0
- package/dist/functions/getEthPriceAtBlock.d.ts +4 -0
- package/dist/functions/getEthPriceAtBlock.d.ts.map +1 -0
- package/dist/functions/getGenStratAprs.d.ts +12 -0
- package/dist/functions/getGenStratAprs.d.ts.map +1 -0
- package/dist/functions/getHistoricalTokenPrices.d.ts +20 -0
- package/dist/functions/getHistoricalTokenPrices.d.ts.map +1 -0
- package/dist/functions/getLayerzeroStatus.d.ts +24 -0
- package/dist/functions/getLayerzeroStatus.d.ts.map +1 -0
- package/dist/functions/getMerklCreatorApr.d.ts +25 -0
- package/dist/functions/getMerklCreatorApr.d.ts.map +1 -0
- package/dist/functions/getMerklPoolApr.d.ts +22 -0
- package/dist/functions/getMerklPoolApr.d.ts.map +1 -0
- package/dist/functions/getMultipleAutopoolRebalances.d.ts +54 -0
- package/dist/functions/getMultipleAutopoolRebalances.d.ts.map +1 -0
- package/dist/functions/getPoolsAndDestinations.d.ts +71 -0
- package/dist/functions/getPoolsAndDestinations.d.ts.map +1 -0
- package/dist/functions/getPoolsAndDestinationsBackup.d.ts +67 -0
- package/dist/functions/getPoolsAndDestinationsBackup.d.ts.map +1 -0
- package/dist/functions/getProtocolStats.d.ts +41 -0
- package/dist/functions/getProtocolStats.d.ts.map +1 -0
- package/dist/functions/getRebalanceStats.d.ts +40 -0
- package/dist/functions/getRebalanceStats.d.ts.map +1 -0
- package/dist/functions/getRewardsPayloadV1.d.ts +23 -0
- package/dist/functions/getRewardsPayloadV1.d.ts.map +1 -0
- package/dist/functions/getSAuto.d.ts +13 -0
- package/dist/functions/getSAuto.d.ts.map +1 -0
- package/dist/functions/getSAutoApr.d.ts +8 -0
- package/dist/functions/getSAutoApr.d.ts.map +1 -0
- package/dist/functions/getSAutoRewards.d.ts +15 -0
- package/dist/functions/getSAutoRewards.d.ts.map +1 -0
- package/dist/functions/getSToke.d.ts +23 -0
- package/dist/functions/getSToke.d.ts.map +1 -0
- package/dist/functions/getSTokeRewards.d.ts +22 -0
- package/dist/functions/getSTokeRewards.d.ts.map +1 -0
- package/dist/functions/getSubgraphStatus.d.ts +5 -0
- package/dist/functions/getSubgraphStatus.d.ts.map +1 -0
- package/dist/functions/getSushiLP.d.ts +14 -0
- package/dist/functions/getSushiLP.d.ts.map +1 -0
- package/dist/functions/getSwapQuote.d.ts +16 -0
- package/dist/functions/getSwapQuote.d.ts.map +1 -0
- package/dist/functions/getSystemConfig.d.ts +12 -0
- package/dist/functions/getSystemConfig.d.ts.map +1 -0
- package/dist/functions/getTokePrice.d.ts +2 -0
- package/dist/functions/getTokePrice.d.ts.map +1 -0
- package/dist/functions/getTokenList.d.ts +3 -0
- package/dist/functions/getTokenList.d.ts.map +1 -0
- package/dist/functions/getTokenPrice.d.ts +11 -0
- package/dist/functions/getTokenPrice.d.ts.map +1 -0
- package/dist/functions/getTokenPriceFallback.d.ts +6 -0
- package/dist/functions/getTokenPriceFallback.d.ts.map +1 -0
- package/dist/functions/getTokenPrices.d.ts +461 -0
- package/dist/functions/getTokenPrices.d.ts.map +1 -0
- package/dist/functions/getTokenValueDayDatas.d.ts +7 -0
- package/dist/functions/getTokenValueDayDatas.d.ts.map +1 -0
- package/dist/functions/getTopAutopoolHolders.d.ts +11 -0
- package/dist/functions/getTopAutopoolHolders.d.ts.map +1 -0
- package/dist/functions/getUniV4Pool.d.ts +90 -0
- package/dist/functions/getUniV4Pool.d.ts.map +1 -0
- package/dist/functions/getUserActivity.d.ts +18 -0
- package/dist/functions/getUserActivity.d.ts.map +1 -0
- package/dist/functions/getUserAutoEthRewards.d.ts +9 -0
- package/dist/functions/getUserAutoEthRewards.d.ts.map +1 -0
- package/dist/functions/getUserAutopool.d.ts +73 -0
- package/dist/functions/getUserAutopool.d.ts.map +1 -0
- package/dist/functions/getUserAutopoolBalanceChanges.d.ts +17 -0
- package/dist/functions/getUserAutopoolBalanceChanges.d.ts.map +1 -0
- package/dist/functions/getUserAutopools.d.ts +425 -0
- package/dist/functions/getUserAutopools.d.ts.map +1 -0
- package/dist/functions/getUserAutopoolsHistory.d.ts +39 -0
- package/dist/functions/getUserAutopoolsHistory.d.ts.map +1 -0
- package/dist/functions/getUserAutopoolsRewards.d.ts +82 -0
- package/dist/functions/getUserAutopoolsRewards.d.ts.map +1 -0
- package/dist/functions/getUserCurveLP.d.ts +16 -0
- package/dist/functions/getUserCurveLP.d.ts.map +1 -0
- package/dist/functions/getUserEthAutoLP.d.ts +21 -0
- package/dist/functions/getUserEthAutoLP.d.ts.map +1 -0
- package/dist/functions/getUserEthAutoLPRewards.d.ts +12 -0
- package/dist/functions/getUserEthAutoLPRewards.d.ts.map +1 -0
- package/dist/functions/getUserMerklRewards.d.ts +36 -0
- package/dist/functions/getUserMerklRewards.d.ts.map +1 -0
- package/dist/functions/getUserRewardsV1.d.ts +20 -0
- package/dist/functions/getUserRewardsV1.d.ts.map +1 -0
- package/dist/functions/getUserSAuto.d.ts +33 -0
- package/dist/functions/getUserSAuto.d.ts.map +1 -0
- package/dist/functions/getUserSAutoRewards.d.ts +29 -0
- package/dist/functions/getUserSAutoRewards.d.ts.map +1 -0
- package/dist/functions/getUserSToke.d.ts +40 -0
- package/dist/functions/getUserSToke.d.ts.map +1 -0
- package/dist/functions/getUserSTokeRewards.d.ts +38 -0
- package/dist/functions/getUserSTokeRewards.d.ts.map +1 -0
- package/dist/functions/getUserSushiLP.d.ts +23 -0
- package/dist/functions/getUserSushiLP.d.ts.map +1 -0
- package/dist/functions/getUserTokenBalances.d.ts +9 -0
- package/dist/functions/getUserTokenBalances.d.ts.map +1 -0
- package/dist/functions/getUserUniV4Positions.d.ts +72 -0
- package/dist/functions/getUserUniV4Positions.d.ts.map +1 -0
- package/dist/functions/getUserV1.d.ts +18 -0
- package/dist/functions/getUserV1.d.ts.map +1 -0
- package/dist/functions/index.d.ts +78 -0
- package/dist/functions/index.d.ts.map +1 -0
- package/dist/functions/updateRebalanceStats.d.ts +11 -0
- package/dist/functions/updateRebalanceStats.d.ts.map +1 -0
- package/dist/index.d.ts +4 -3347
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2353 -5250
- package/dist/index.mjs +6112 -0
- package/dist/types/0x.d.ts +75 -0
- package/dist/types/0x.d.ts.map +1 -0
- package/dist/types/autopools.d.ts +4 -0
- package/dist/types/autopools.d.ts.map +1 -0
- package/dist/types/curve.d.ts +11 -0
- package/dist/types/curve.d.ts.map +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/layerzero.d.ts +10 -0
- package/dist/types/layerzero.d.ts.map +1 -0
- package/dist/types/minAmountFuncs.d.ts +31 -0
- package/dist/types/minAmountFuncs.d.ts.map +1 -0
- package/dist/types/swapper.d.ts +164 -0
- package/dist/types/swapper.d.ts.map +1 -0
- package/dist/types/user.d.ts +5 -0
- package/dist/types/user.d.ts.map +1 -0
- package/dist/utils/aggregateSTokeRewardsDayData.d.ts +29 -0
- package/dist/utils/aggregateSTokeRewardsDayData.d.ts.map +1 -0
- package/dist/utils/arraysToObject.d.ts +2 -0
- package/dist/utils/arraysToObject.d.ts.map +1 -0
- package/dist/utils/convertBaseAssetToTokenPrices.d.ts +4 -0
- package/dist/utils/convertBaseAssetToTokenPrices.d.ts.map +1 -0
- package/dist/utils/convertBaseAssetToTokenPricesAndDenom.d.ts +22 -0
- package/dist/utils/convertBaseAssetToTokenPricesAndDenom.d.ts.map +1 -0
- package/dist/utils/fetchChainDataMap.d.ts +9 -0
- package/dist/utils/fetchChainDataMap.d.ts.map +1 -0
- package/dist/utils/fillMissingDates.d.ts +6 -0
- package/dist/utils/fillMissingDates.d.ts.map +1 -0
- package/dist/utils/findClosestEntry.d.ts +31 -0
- package/dist/utils/findClosestEntry.d.ts.map +1 -0
- package/dist/utils/formatDateRange.d.ts +14 -0
- package/dist/utils/formatDateRange.d.ts.map +1 -0
- package/dist/utils/getAutopoolCategory.d.ts +11 -0
- package/dist/utils/getAutopoolCategory.d.ts.map +1 -0
- package/dist/utils/getAutopoolInfo.d.ts +2 -0
- package/dist/utils/getAutopoolInfo.d.ts.map +1 -0
- package/dist/utils/getChainsForEnv.d.ts +11 -0
- package/dist/utils/getChainsForEnv.d.ts.map +1 -0
- package/dist/utils/getExchangeNames.d.ts +7 -0
- package/dist/utils/getExchangeNames.d.ts.map +1 -0
- package/dist/utils/getPoolStats.d.ts +4 -0
- package/dist/utils/getPoolStats.d.ts.map +1 -0
- package/dist/utils/getSTokeChainsForEnv.d.ts +11 -0
- package/dist/utils/getSTokeChainsForEnv.d.ts.map +1 -0
- package/dist/utils/getTimestampDaysFromStart.d.ts +2 -0
- package/dist/utils/getTimestampDaysFromStart.d.ts.map +1 -0
- package/dist/utils/index.d.ts +22 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/mergeArrays.d.ts +2 -0
- package/dist/utils/mergeArrays.d.ts.map +1 -0
- package/dist/utils/mergeArraysWithKey.d.ts +2 -0
- package/dist/utils/mergeArraysWithKey.d.ts.map +1 -0
- package/dist/utils/mergeStringArrays.d.ts +4 -0
- package/dist/utils/mergeStringArrays.d.ts.map +1 -0
- package/dist/utils/modifyAutopoolName.d.ts +2 -0
- package/dist/utils/modifyAutopoolName.d.ts.map +1 -0
- package/dist/utils/nestedArrayToObject.d.ts +3 -0
- package/dist/utils/nestedArrayToObject.d.ts.map +1 -0
- package/dist/utils/paginateQuery.d.ts +17 -0
- package/dist/utils/paginateQuery.d.ts.map +1 -0
- package/package.json +30 -19
- package/dist/index.cjs +0 -9079
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { getUserActivity } from "./getUserActivity";
|
|
3
|
+
import { IToken } from "@tokemak/tokenlist";
|
|
4
|
+
import { IAutopoolsHistory } from "./getAutopoolsHistory";
|
|
5
|
+
export interface UserDayDataEntry {
|
|
6
|
+
id: string;
|
|
7
|
+
date: Date;
|
|
8
|
+
vaultAddress: Address;
|
|
9
|
+
baseAsset: IToken;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
shares: string;
|
|
12
|
+
rewardsClaimed: string;
|
|
13
|
+
nav: {
|
|
14
|
+
ETH: number;
|
|
15
|
+
USD: number;
|
|
16
|
+
PXETH: number;
|
|
17
|
+
USDC: number;
|
|
18
|
+
EURC: number;
|
|
19
|
+
USDT: number;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export interface EnhancedUserHistoryEntry {
|
|
23
|
+
date: Date;
|
|
24
|
+
timestamp: string;
|
|
25
|
+
autopools: UserDayDataEntry[];
|
|
26
|
+
nav: {
|
|
27
|
+
ETH: number;
|
|
28
|
+
USD: number;
|
|
29
|
+
PXETH: number;
|
|
30
|
+
USDC: number;
|
|
31
|
+
EURC: number;
|
|
32
|
+
USDT: number;
|
|
33
|
+
};
|
|
34
|
+
formattedDate: string;
|
|
35
|
+
events: any[];
|
|
36
|
+
differential: number;
|
|
37
|
+
}
|
|
38
|
+
export declare const getUserAutopoolsHistory: (address: Address, autopoolsHistory: IAutopoolsHistory, events: Awaited<ReturnType<typeof getUserActivity>>["events"] | undefined, includeTestnet?: boolean) => Promise<EnhancedUserHistoryEntry[]>;
|
|
39
|
+
//# sourceMappingURL=getUserAutopoolsHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserAutopoolsHistory.d.ts","sourceRoot":"","sources":["../../functions/getUserAutopoolsHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAQ/B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAM5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAGD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;CACtB;AAwBD,eAAO,MAAM,uBAAuB,GAClC,SAAS,OAAO,EAChB,kBAAkB,iBAAiB,EACnC,QAAQ,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,SAAS,EACzE,iBAAgB,OAAe,KAC9B,OAAO,CAAC,wBAAwB,EAAE,CAkQpC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { Config } from "wagmi";
|
|
3
|
+
import { SupportedChainIds } from "@tokemak/config";
|
|
4
|
+
import { TokenPrices } from "./getTokenPrices";
|
|
5
|
+
import { IAutopools } from "./getAutopools";
|
|
6
|
+
export type rewardsData = {
|
|
7
|
+
chainId: number | SupportedChainIds;
|
|
8
|
+
autopools: {
|
|
9
|
+
[autopool: `0x${string}`]: {
|
|
10
|
+
formattedBalance: number;
|
|
11
|
+
balanceUsd: string;
|
|
12
|
+
symbol: string;
|
|
13
|
+
logoURI: string;
|
|
14
|
+
address: `0x${string}`;
|
|
15
|
+
amount: bigint;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
rewards: {
|
|
19
|
+
[tokenAddress: `0x${string}`]: bigint;
|
|
20
|
+
};
|
|
21
|
+
rewardsUsd: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const getUserAutopoolsRewards: (wagmiConfig: Config, { address, tokenPrices, autopools, includeTestnet, }: {
|
|
24
|
+
address: Address;
|
|
25
|
+
tokenPrices: TokenPrices;
|
|
26
|
+
autopools: IAutopools;
|
|
27
|
+
includeTestnet?: boolean;
|
|
28
|
+
}) => Promise<{
|
|
29
|
+
chains: {
|
|
30
|
+
[k: string]: {
|
|
31
|
+
autopools: {
|
|
32
|
+
[autopool: `0x${string}`]: {
|
|
33
|
+
[tokenAddress: `0x${string}`]: bigint;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
rewards: {
|
|
37
|
+
[tokenSymbol: string]: {
|
|
38
|
+
amount: bigint;
|
|
39
|
+
USD: number;
|
|
40
|
+
formattedAmount: number;
|
|
41
|
+
decimals?: number;
|
|
42
|
+
logoURI?: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
extraRewards: {
|
|
46
|
+
address: Address;
|
|
47
|
+
chainId: number;
|
|
48
|
+
token: import("@tokemak/tokenlist").IToken;
|
|
49
|
+
amount: bigint;
|
|
50
|
+
formattedAmount: number;
|
|
51
|
+
USD: number;
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
tokeRewards: {
|
|
56
|
+
amount: bigint;
|
|
57
|
+
USD: number;
|
|
58
|
+
formattedAmount: number;
|
|
59
|
+
logoURI?: string;
|
|
60
|
+
};
|
|
61
|
+
extraRewards: {
|
|
62
|
+
address: Address;
|
|
63
|
+
chainId: number;
|
|
64
|
+
token: import("@tokemak/tokenlist").IToken;
|
|
65
|
+
amount: bigint;
|
|
66
|
+
formattedAmount: number;
|
|
67
|
+
USD: number;
|
|
68
|
+
}[];
|
|
69
|
+
rewardsByToken: {
|
|
70
|
+
[tokenSymbol: string]: {
|
|
71
|
+
amount: bigint;
|
|
72
|
+
USD: number;
|
|
73
|
+
formattedAmount: number;
|
|
74
|
+
logoURI?: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
totalRewardsUSD: number;
|
|
78
|
+
hasRewards: boolean;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
export type IUserAutopoolsRewards = NonNullable<Awaited<ReturnType<typeof getUserAutopoolsRewards>>>;
|
|
81
|
+
export type IUserExtraRewards = IUserAutopoolsRewards["extraRewards"];
|
|
82
|
+
//# sourceMappingURL=getUserAutopoolsRewards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserAutopoolsRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserAutopoolsRewards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAc,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAC;IACpC,SAAS,EAAE;QACT,CAAC,QAAQ,EAAE,KAAK,MAAM,EAAE,GAAG;YACzB,gBAAgB,EAAE,MAAM,CAAC;YACzB,UAAU,EAAE,MAAM,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,OAAO,EAAE,MAAM,CAAC;YAChB,OAAO,EAAE,KAAK,MAAM,EAAE,CAAC;YACvB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;IACF,OAAO,EAAE;QACP,CAAC,YAAY,EAAE,KAAK,MAAM,EAAE,GAAG,MAAM,CAAC;KACvC,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,aAAa,MAAM,EACnB,sDAKG;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,UAAU,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;;;;;;;;;4BA4De,MAAM;yBACT,MAAM;qCACM,MAAM;+BACZ,MAAM;8BACP,MAAM;;;;yBAjB6B,OAAO;;;;;;;;;;gBAiF9C,MAAM;aACT,MAAM;yBACM,MAAM;kBACb,MAAM;;;iBApF+B,OAAO;;;;;;;;;oBAiF9C,MAAM;iBACT,MAAM;6BACM,MAAM;sBACb,MAAM;;;;;cAqDvB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,OAAO,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CACpD,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { Config } from "wagmi";
|
|
3
|
+
import { CurveLP } from "../types";
|
|
4
|
+
export declare const getUserCurveLP: (wagmiConfig: Config, { curveLP, address, chainId, }: {
|
|
5
|
+
curveLP: CurveLP;
|
|
6
|
+
address: Address;
|
|
7
|
+
chainId: number;
|
|
8
|
+
}) => Promise<{
|
|
9
|
+
curveLPBalance: bigint | undefined;
|
|
10
|
+
convexLPBalance: bigint | undefined;
|
|
11
|
+
shareOfCurve: number;
|
|
12
|
+
shareOfConvex: number;
|
|
13
|
+
curveLPUsd: number;
|
|
14
|
+
convexLPUsd: number;
|
|
15
|
+
} | undefined>;
|
|
16
|
+
//# sourceMappingURL=getUserCurveLP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserCurveLP.d.ts","sourceRoot":"","sources":["../../functions/getUserCurveLP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKnC,eAAO,MAAM,cAAc,GACzB,aAAa,MAAM,EACnB,gCAIG;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;;;;;;;cA4CF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Config } from "@wagmi/core";
|
|
2
|
+
import { Address } from "viem";
|
|
3
|
+
import { UserUniV4PositionsResult } from "./getUserUniV4Positions";
|
|
4
|
+
/**
|
|
5
|
+
* Get a user's ETH/AUTO Uniswap V4 LP positions
|
|
6
|
+
*
|
|
7
|
+
* Uses the known Pool ID to query directly from the PositionManager.
|
|
8
|
+
*
|
|
9
|
+
* Note: Requires either a graphApiKey from The Graph Studio to query
|
|
10
|
+
* the V4 subgraph, or provide knownTokenIds directly.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getUserEthAutoLP(wagmiConfig: Config, { userAddress, chainId, prices, graphApiKey, knownTokenIds, }: {
|
|
13
|
+
userAddress: Address;
|
|
14
|
+
chainId?: number;
|
|
15
|
+
prices?: Record<string, number>;
|
|
16
|
+
/** API key from The Graph Studio for subgraph queries */
|
|
17
|
+
graphApiKey?: string;
|
|
18
|
+
/** Provide known token IDs directly to skip subgraph query */
|
|
19
|
+
knownTokenIds?: bigint[];
|
|
20
|
+
}): Promise<UserUniV4PositionsResult>;
|
|
21
|
+
//# sourceMappingURL=getUserEthAutoLP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserEthAutoLP.d.ts","sourceRoot":"","sources":["../../functions/getUserEthAutoLP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAEL,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAIjC;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,EACE,WAAW,EACX,OAAoB,EACpB,MAAM,EACN,WAAW,EACX,aAAa,GACd,EAAE;IACD,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,GACA,OAAO,CAAC,wBAAwB,CAAC,CAenC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
export declare const getUserEthAutoLPRewards: (address: Address) => Promise<{
|
|
3
|
+
claimable: string;
|
|
4
|
+
hasClaimable: boolean;
|
|
5
|
+
claimPayload: {
|
|
6
|
+
users: Address[];
|
|
7
|
+
tokens: Address[];
|
|
8
|
+
amounts: bigint[];
|
|
9
|
+
proofs: `0x${string}`[][];
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=getUserEthAutoLPRewards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserEthAutoLPRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserEthAutoLPRewards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAc,MAAM,MAAM,CAAC;AAU3C,eAAO,MAAM,uBAAuB,GAAU,SAAS,OAAO;;;;eAkCxC,OAAO,EAAE;gBACP,OAAO,EAAE;;;;EAKhC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
export declare const getUserMerklRewards: (address: Address) => Promise<{
|
|
3
|
+
rewards: {
|
|
4
|
+
root: string;
|
|
5
|
+
recipient: string;
|
|
6
|
+
proofs: string[];
|
|
7
|
+
token: {
|
|
8
|
+
address: string;
|
|
9
|
+
chainId: number;
|
|
10
|
+
symbol: string;
|
|
11
|
+
decimals: number;
|
|
12
|
+
};
|
|
13
|
+
breakdowns: {
|
|
14
|
+
reason: string;
|
|
15
|
+
amount: string;
|
|
16
|
+
claimed: string;
|
|
17
|
+
pending: string;
|
|
18
|
+
campaignId: string;
|
|
19
|
+
campaignStatus?: {
|
|
20
|
+
computedUntil: string | number;
|
|
21
|
+
processingStarted: string | number;
|
|
22
|
+
status: string;
|
|
23
|
+
preComputeProcessingStarted: string | number;
|
|
24
|
+
preComputeStatus: string;
|
|
25
|
+
delay?: number | undefined;
|
|
26
|
+
error?: string | undefined;
|
|
27
|
+
details?: any;
|
|
28
|
+
} | undefined;
|
|
29
|
+
}[];
|
|
30
|
+
claimed: string | bigint;
|
|
31
|
+
amount: string | bigint;
|
|
32
|
+
pending: string | bigint;
|
|
33
|
+
}[];
|
|
34
|
+
chainId: number;
|
|
35
|
+
}>;
|
|
36
|
+
//# sourceMappingURL=getUserMerklRewards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserMerklRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserMerklRewards.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,eAAO,MAAM,mBAAmB,GAAU,SAAS,OAAO;;;;;;;;;;;;;;;;;0BAkBiz+3B,CAAC;;;;;;qBAA6a,CAAC;qBAAuE,CAAC;uBAAyE,CAAC;;;;;;;;EAD36/3B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Config } from "@wagmi/core";
|
|
2
|
+
import { Address } from "viem";
|
|
3
|
+
import { IUserReward } from "./getRewardsPayloadV1";
|
|
4
|
+
export declare const getUserRewardsV1: (wagmiConfig: Config, { address, rewardsCycleIndex, rewardsV1, rewardsV1Url, rewardsV1Hash, chainId, }: {
|
|
5
|
+
address: Address;
|
|
6
|
+
rewardsCycleIndex: bigint;
|
|
7
|
+
rewardsV1: Address;
|
|
8
|
+
rewardsV1Url: string;
|
|
9
|
+
rewardsV1Hash: Address;
|
|
10
|
+
chainId: number;
|
|
11
|
+
}) => Promise<{
|
|
12
|
+
claimable: bigint;
|
|
13
|
+
rewardsPayload: IUserReward | null;
|
|
14
|
+
latestClaimablePayload: IUserReward;
|
|
15
|
+
} | {
|
|
16
|
+
rewardsPayload: IUserReward | null;
|
|
17
|
+
latestClaimablePayload: null;
|
|
18
|
+
claimable?: undefined;
|
|
19
|
+
} | undefined>;
|
|
20
|
+
//# sourceMappingURL=getUserRewardsV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserRewardsV1.d.ts","sourceRoot":"","sources":["../../functions/getUserRewardsV1.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAuB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzE,eAAO,MAAM,gBAAgB,GAC3B,aAAa,MAAM,EACnB,kFAOG;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;;;;;;;;cA2CF,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { Config } from "wagmi";
|
|
3
|
+
export declare const getUserSAuto: (wagmiConfig: Config, { address, autoPrice, }: {
|
|
4
|
+
address: Address;
|
|
5
|
+
autoPrice: number;
|
|
6
|
+
}) => Promise<{
|
|
7
|
+
balance: bigint;
|
|
8
|
+
balanceUSD: string;
|
|
9
|
+
balanceExcludingWithdrawal: string;
|
|
10
|
+
balanceExcludingWithdrawalUsd: string;
|
|
11
|
+
hasBalanceExcludingWithdrawal: boolean;
|
|
12
|
+
timeLeftBeforeUnlockRequestAvailable: string;
|
|
13
|
+
timeLeftBeforeUnlockRequestUnavailable: string;
|
|
14
|
+
withdrawalAmount: bigint;
|
|
15
|
+
withdrawalAmountUsd: string;
|
|
16
|
+
hasUnlockableBalance: boolean;
|
|
17
|
+
isUnlockRequestAvailable: boolean;
|
|
18
|
+
hasRequestedUnlock: boolean;
|
|
19
|
+
hasAddedLockedAuto: boolean;
|
|
20
|
+
addedLockedAuto: bigint;
|
|
21
|
+
unlockPeriodDateRange: string;
|
|
22
|
+
unlockPeriodStartFullDate: string;
|
|
23
|
+
unlockRenewalFullDate: string;
|
|
24
|
+
unlockPeriodStartDate: string | undefined;
|
|
25
|
+
unlockRenewalDate: string | undefined;
|
|
26
|
+
lockDurationInMonths: number;
|
|
27
|
+
boost: number;
|
|
28
|
+
points: number;
|
|
29
|
+
totalActiveCredits: number;
|
|
30
|
+
totalCredits: number;
|
|
31
|
+
hasBalance: boolean;
|
|
32
|
+
} | null>;
|
|
33
|
+
//# sourceMappingURL=getUserSAuto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserSAuto.d.ts","sourceRoot":"","sources":["../../functions/getUserSAuto.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,YAAY,GACvB,aAAa,MAAM,EACnB,yBAGG;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;SA+KF,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Config } from "wagmi";
|
|
2
|
+
import { Address } from "viem";
|
|
3
|
+
export declare const getUserSAutoRewards: (wagmiConfig: Config, { address, autoPrice }: {
|
|
4
|
+
address: Address;
|
|
5
|
+
autoPrice: number;
|
|
6
|
+
}) => Promise<{
|
|
7
|
+
claimable: bigint;
|
|
8
|
+
rewardsPayload: import("./getRewardsPayloadV1").IUserReward | null;
|
|
9
|
+
latestClaimablePayload: import("./getRewardsPayloadV1").IUserReward;
|
|
10
|
+
claimableUsd: number;
|
|
11
|
+
claimableNum: number;
|
|
12
|
+
hasClaimable: boolean;
|
|
13
|
+
pendingRewards: number;
|
|
14
|
+
pendingRewardsUsd: number;
|
|
15
|
+
totalRewardsReceived: number;
|
|
16
|
+
totalRewardsReceivedUsd: number;
|
|
17
|
+
} | {
|
|
18
|
+
rewardsPayload: import("./getRewardsPayloadV1").IUserReward | null;
|
|
19
|
+
latestClaimablePayload: null;
|
|
20
|
+
claimable?: undefined;
|
|
21
|
+
claimableUsd: number;
|
|
22
|
+
claimableNum: number;
|
|
23
|
+
hasClaimable: boolean;
|
|
24
|
+
pendingRewards: number;
|
|
25
|
+
pendingRewardsUsd: number;
|
|
26
|
+
totalRewardsReceived: number;
|
|
27
|
+
totalRewardsReceivedUsd: number;
|
|
28
|
+
} | null>;
|
|
29
|
+
//# sourceMappingURL=getUserSAutoRewards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserSAutoRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserSAutoRewards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAI/B,eAAO,MAAM,mBAAmB,GAC9B,aAAa,MAAM,EACnB,wBAAwB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;SAoFhE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { Config } from "wagmi";
|
|
3
|
+
export declare const getUserSToke: (wagmiConfig: Config, { address, tokePrice, includeTestnet, }: {
|
|
4
|
+
address: Address;
|
|
5
|
+
tokePrice: number;
|
|
6
|
+
includeTestnet?: boolean;
|
|
7
|
+
}) => Promise<{
|
|
8
|
+
chains: {
|
|
9
|
+
[x: number]: {
|
|
10
|
+
balance: bigint;
|
|
11
|
+
balanceUSD: string;
|
|
12
|
+
balanceExcludingWithdrawal: string;
|
|
13
|
+
balanceExcludingWithdrawalUsd: string;
|
|
14
|
+
hasBalanceExcludingWithdrawal: boolean;
|
|
15
|
+
timeLeftBeforeUnlockRequestAvailable: string;
|
|
16
|
+
timeLeftBeforeUnlockRequestUnavailable: string;
|
|
17
|
+
withdrawalAmount: bigint;
|
|
18
|
+
withdrawalAmountUsd: string;
|
|
19
|
+
hasUnlockableBalance: boolean;
|
|
20
|
+
isUnlockRequestAvailable: boolean;
|
|
21
|
+
hasRequestedUnlock: boolean;
|
|
22
|
+
hasAddedLockedToke: boolean;
|
|
23
|
+
addedLockedToke: bigint;
|
|
24
|
+
unlockPeriodDateRange: string;
|
|
25
|
+
unlockPeriodStartFullDate: string;
|
|
26
|
+
unlockRenewalFullDate: string;
|
|
27
|
+
unlockPeriodStartDate: string | undefined;
|
|
28
|
+
unlockRenewalDate: string | undefined;
|
|
29
|
+
lockDurationInMonths: number;
|
|
30
|
+
boost: number;
|
|
31
|
+
points: number;
|
|
32
|
+
totalActiveCredits: number;
|
|
33
|
+
totalCredits: number;
|
|
34
|
+
} | undefined;
|
|
35
|
+
};
|
|
36
|
+
totalBalance: number;
|
|
37
|
+
totalBalanceUsd: string;
|
|
38
|
+
hasBalance: boolean;
|
|
39
|
+
} | undefined>;
|
|
40
|
+
//# sourceMappingURL=getUserSToke.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserSToke.d.ts","sourceRoot":"","sources":["../../functions/getUserSToke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAK/B,eAAO,MAAM,YAAY,GACvB,aAAa,MAAM,EACnB,yCAIG;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { Config } from "wagmi";
|
|
3
|
+
export declare const getUserSTokeRewards: (wagmiConfig: Config, { address, tokePrice, includeTestnet, }: {
|
|
4
|
+
address: Address;
|
|
5
|
+
tokePrice: number;
|
|
6
|
+
includeTestnet?: boolean;
|
|
7
|
+
}) => Promise<{
|
|
8
|
+
chains: {
|
|
9
|
+
[x: number]: {
|
|
10
|
+
claimable: bigint;
|
|
11
|
+
rewardsPayload: import("./getRewardsPayloadV1").IUserReward | null;
|
|
12
|
+
latestClaimablePayload: import("./getRewardsPayloadV1").IUserReward;
|
|
13
|
+
claimableUsd: number;
|
|
14
|
+
claimableNum: number;
|
|
15
|
+
hasClaimable: boolean;
|
|
16
|
+
pendingRewards: number;
|
|
17
|
+
pendingRewardsUsd: number;
|
|
18
|
+
totalRewardsReceived: number;
|
|
19
|
+
totalRewardsReceivedUsd: number;
|
|
20
|
+
} | {
|
|
21
|
+
rewardsPayload: import("./getRewardsPayloadV1").IUserReward | null;
|
|
22
|
+
latestClaimablePayload: null;
|
|
23
|
+
claimable?: undefined;
|
|
24
|
+
claimableUsd: number;
|
|
25
|
+
claimableNum: number;
|
|
26
|
+
hasClaimable: boolean;
|
|
27
|
+
pendingRewards: number;
|
|
28
|
+
pendingRewardsUsd: number;
|
|
29
|
+
totalRewardsReceived: number;
|
|
30
|
+
totalRewardsReceivedUsd: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
totalClaimable: number;
|
|
34
|
+
totalClaimableUsd: string;
|
|
35
|
+
totalPendingRewards: number;
|
|
36
|
+
totalPendingRewardsUsd: string;
|
|
37
|
+
} | undefined>;
|
|
38
|
+
//# sourceMappingURL=getUserSTokeRewards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserSTokeRewards.d.ts","sourceRoot":"","sources":["../../functions/getUserSTokeRewards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAK/B,eAAO,MAAM,mBAAmB,GAC9B,aAAa,MAAM,EACnB,yCAIG;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwDF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
import { Config } from "@wagmi/core";
|
|
3
|
+
import { ISushiLP } from "./getSushiLP";
|
|
4
|
+
export declare const getUserSushiLP: (wagmiConfig: Config, { sushiLP, currentCycleIndex, address, cycleRolloverBlockNumber, chainId, }: {
|
|
5
|
+
sushiLP: ISushiLP;
|
|
6
|
+
currentCycleIndex: bigint;
|
|
7
|
+
address: Address;
|
|
8
|
+
cycleRolloverBlockNumber: bigint;
|
|
9
|
+
chainId: number;
|
|
10
|
+
}) => Promise<{
|
|
11
|
+
sushiLPBalance: bigint | undefined;
|
|
12
|
+
tSushiLPBalance: bigint | undefined;
|
|
13
|
+
tSushiLPRequested: readonly [bigint, bigint] | undefined;
|
|
14
|
+
shareOftSushiLP: number;
|
|
15
|
+
tSushiLPUsd: number;
|
|
16
|
+
balanceExcludingWithdrawal: bigint;
|
|
17
|
+
hasAddedTSushi: boolean;
|
|
18
|
+
hasRequestedUnlock: boolean;
|
|
19
|
+
hasUnlockableBalance: boolean;
|
|
20
|
+
withdrawalAmount: bigint;
|
|
21
|
+
hasBalanceExcludingWithdrawal: boolean;
|
|
22
|
+
} | undefined>;
|
|
23
|
+
//# sourceMappingURL=getUserSushiLP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserSushiLP.d.ts","sourceRoot":"","sources":["../../functions/getUserSushiLP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAiB,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,eAAO,MAAM,cAAc,GACzB,aAAa,MAAM,EACnB,6EAMG;IACD,OAAO,EAAE,QAAQ,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,wBAAwB,EAAE,MAAM,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;CACjB;;;;;;;;;;;;cAoGF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Address } from "viem";
|
|
2
|
+
type TokenBalances = Record<string, bigint | null>;
|
|
3
|
+
export declare const getUserTokenBalances: ({ address, apiKey, chainId, }: {
|
|
4
|
+
address: Address;
|
|
5
|
+
apiKey: string;
|
|
6
|
+
chainId: number;
|
|
7
|
+
}) => Promise<TokenBalances>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=getUserTokenBalances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserTokenBalances.d.ts","sourceRoot":"","sources":["../../functions/getUserTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;AAE5C,KAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;AAenD,eAAO,MAAM,oBAAoB,GAAU,+BAIxC;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,KAAG,OAAO,CAAC,aAAa,CAsCxB,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Config } from "@wagmi/core";
|
|
2
|
+
import { Address } from "viem";
|
|
3
|
+
import { UniV4PoolKey } from "./getUniV4Pool";
|
|
4
|
+
export interface UniV4Position {
|
|
5
|
+
tokenId: bigint;
|
|
6
|
+
poolKey: UniV4PoolKey;
|
|
7
|
+
poolId: `0x${string}`;
|
|
8
|
+
token0: {
|
|
9
|
+
address: Address;
|
|
10
|
+
symbol: string;
|
|
11
|
+
decimals: number;
|
|
12
|
+
};
|
|
13
|
+
token1: {
|
|
14
|
+
address: Address;
|
|
15
|
+
symbol: string;
|
|
16
|
+
decimals: number;
|
|
17
|
+
};
|
|
18
|
+
fee: number;
|
|
19
|
+
feeTier: string;
|
|
20
|
+
tickLower: number;
|
|
21
|
+
tickUpper: number;
|
|
22
|
+
liquidity: bigint;
|
|
23
|
+
amount0: number;
|
|
24
|
+
amount1: number;
|
|
25
|
+
valueUsd?: number;
|
|
26
|
+
inRange: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface UserUniV4PositionsResult {
|
|
29
|
+
positions: UniV4Position[];
|
|
30
|
+
totalValueUsd: number;
|
|
31
|
+
totalPositions: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get all Uniswap V4 positions for a user filtered by pool ID
|
|
35
|
+
*
|
|
36
|
+
* This function:
|
|
37
|
+
* 1. Queries the V4 subgraph to get all position token IDs owned by the user
|
|
38
|
+
* (requires graphApiKey from https://thegraph.com/studio/)
|
|
39
|
+
* 2. Fetches position data from the PositionManager contract
|
|
40
|
+
* 3. Filters positions by the specified pool ID
|
|
41
|
+
* 4. Returns enriched position data with token amounts and USD values
|
|
42
|
+
*
|
|
43
|
+
* If the subgraph is unavailable, you can pass knownTokenIds directly.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getUserUniV4PositionsById(wagmiConfig: Config, { userAddress, poolId, currency0, currency1, chainId, prices, graphApiKey, knownTokenIds }: {
|
|
46
|
+
userAddress: Address;
|
|
47
|
+
poolId: `0x${string}`;
|
|
48
|
+
currency0: Address;
|
|
49
|
+
currency1: Address;
|
|
50
|
+
chainId?: number;
|
|
51
|
+
prices?: Record<string, number>;
|
|
52
|
+
/** API key from The Graph Studio for subgraph queries */
|
|
53
|
+
graphApiKey?: string;
|
|
54
|
+
/** Provide known token IDs directly to skip subgraph query */
|
|
55
|
+
knownTokenIds?: bigint[];
|
|
56
|
+
}): Promise<UserUniV4PositionsResult>;
|
|
57
|
+
/**
|
|
58
|
+
* Get all Uniswap V4 positions for a user filtered by pool key
|
|
59
|
+
*
|
|
60
|
+
* Use getUserUniV4PositionsById when you already know the pool ID.
|
|
61
|
+
*/
|
|
62
|
+
export declare function getUserUniV4Positions(wagmiConfig: Config, { userAddress, poolKey, chainId, prices, graphApiKey, knownTokenIds }: {
|
|
63
|
+
userAddress: Address;
|
|
64
|
+
poolKey: UniV4PoolKey;
|
|
65
|
+
chainId?: number;
|
|
66
|
+
prices?: Record<string, number>;
|
|
67
|
+
/** API key from The Graph Studio for subgraph queries */
|
|
68
|
+
graphApiKey?: string;
|
|
69
|
+
/** Provide known token IDs directly to skip subgraph query */
|
|
70
|
+
knownTokenIds?: bigint[];
|
|
71
|
+
}): Promise<UserUniV4PositionsResult>;
|
|
72
|
+
//# sourceMappingURL=getUserUniV4Positions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserUniV4Positions.d.ts","sourceRoot":"","sources":["../../functions/getUserUniV4Positions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;AAQ5C,OAAO,EAAiB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AA6F7D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,KAAK,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE;QACN,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACxB;AAwID;;;;;;;;;;;GAWG;AACH,wBAAsB,yBAAyB,CAC7C,WAAW,EAAE,MAAM,EACnB,EACE,WAAW,EACX,MAAM,EACN,SAAS,EACT,SAAS,EACT,OAAoB,EACpB,MAAM,EACN,WAAW,EACX,aAAa,EACd,EAAE;IACD,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,KAAK,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,GACA,OAAO,CAAC,wBAAwB,CAAC,CAwPnC;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CACzC,WAAW,EAAE,MAAM,EACnB,EACE,WAAW,EACX,OAAO,EACP,OAAoB,EACpB,MAAM,EACN,WAAW,EACX,aAAa,EACd,EAAE;IACD,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,GACA,OAAO,CAAC,wBAAwB,CAAC,CAanC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Config } from "@wagmi/core";
|
|
2
|
+
import { Address } from "viem";
|
|
3
|
+
export declare const getUserV1: (wagmiConfig: Config, { currentCycleIndex, address, chainId, }: {
|
|
4
|
+
currentCycleIndex: bigint;
|
|
5
|
+
address: Address;
|
|
6
|
+
chainId: number;
|
|
7
|
+
}) => Promise<{
|
|
8
|
+
stakedToke: bigint;
|
|
9
|
+
claimableToke: bigint | undefined;
|
|
10
|
+
claimableEth: bigint | undefined;
|
|
11
|
+
claimableAutoEth: bigint;
|
|
12
|
+
tokeRewardsPayload: import("./getRewardsPayloadV1").IUserReward | null | undefined;
|
|
13
|
+
ethRewardsPayload: import("./getRewardsPayloadV1").IUserReward | null | undefined;
|
|
14
|
+
missedTokeRewardsPayload: import("./getRewardsPayloadV1").IUserReward | null;
|
|
15
|
+
autoEthGuardedRewardsPayload: import("./getRewardsPayloadV1").IUserReward | null;
|
|
16
|
+
claimableMissedToke: bigint;
|
|
17
|
+
} | undefined>;
|
|
18
|
+
//# sourceMappingURL=getUserV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserV1.d.ts","sourceRoot":"","sources":["../../functions/getUserV1.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAgB,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAM/B,eAAO,MAAM,SAAS,GACpB,aAAa,MAAM,EACnB,0CAIG;IACD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;;;;;;;;;;cAyGF,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export * from "./getBlobData";
|
|
2
|
+
export * from "./getEthPrice";
|
|
3
|
+
export * from "./getTokePrice";
|
|
4
|
+
export * from "./getTokenPrice";
|
|
5
|
+
export * from "./getAutopools";
|
|
6
|
+
export * from "./getAutopoolRebalances";
|
|
7
|
+
export * from "./getAutopoolsRebalances";
|
|
8
|
+
export * from "./getAutopoolsHistory";
|
|
9
|
+
export * from "./getCurveLP";
|
|
10
|
+
export * from "./getSushiLP";
|
|
11
|
+
export * from "./getUniV4Pool";
|
|
12
|
+
export * from "./getUserUniV4Positions";
|
|
13
|
+
export * from "./getDefillamaPoolApr";
|
|
14
|
+
export * from "./getEthAutoLP";
|
|
15
|
+
export * from "./getUserEthAutoLP";
|
|
16
|
+
export * from "./getChainUserActivity";
|
|
17
|
+
export * from "./getRewardsPayloadV1";
|
|
18
|
+
export * from "./getUserAutoEthRewards";
|
|
19
|
+
export * from "./getUserRewardsV1";
|
|
20
|
+
export * from "./getUserV1";
|
|
21
|
+
export * from "./getUserAutopoolsHistory";
|
|
22
|
+
export * from "./getUserSushiLP";
|
|
23
|
+
export * from "./getUserCurveLP";
|
|
24
|
+
export * from "./getMultipleAutopoolRebalances";
|
|
25
|
+
export * from "./getAutopoolDayData";
|
|
26
|
+
export * from "./getAutopoolsHistory";
|
|
27
|
+
export * from "./getChainAutopools";
|
|
28
|
+
export * from "./getSystemConfig";
|
|
29
|
+
export * from "./getUserAutopools";
|
|
30
|
+
export * from "./getChainUserAutopools";
|
|
31
|
+
export * from "./getUserAutopool";
|
|
32
|
+
export * from "./getUserTokenBalances";
|
|
33
|
+
export * from "./getTokenList";
|
|
34
|
+
export * from "./getTopAutopoolHolders";
|
|
35
|
+
export * from "./getAllowance";
|
|
36
|
+
export * from "./getUserActivity";
|
|
37
|
+
export * from "./getUserAutopoolsRewards";
|
|
38
|
+
export * from "./getAmountWithdrawn";
|
|
39
|
+
export * from "./getAmountDeposited";
|
|
40
|
+
export * from "./getBridgeFee";
|
|
41
|
+
export * from "./getLayerzeroStatus";
|
|
42
|
+
export * from "./getUserSToke";
|
|
43
|
+
export * from "./getSToke";
|
|
44
|
+
export * from "./getChainSToke";
|
|
45
|
+
export * from "./getChainUserSToke";
|
|
46
|
+
export * from "./getChainCycleRolloverBlockNumber";
|
|
47
|
+
export * from "./getChainSTokeRewards";
|
|
48
|
+
export * from "./getSTokeRewards";
|
|
49
|
+
export * from "./getChainUserSTokeRewards";
|
|
50
|
+
export * from "./getCurrentCycleId";
|
|
51
|
+
export * from "./getAutopilotRouter";
|
|
52
|
+
export * from "./getAddressFromSystemRegistry";
|
|
53
|
+
export * from "./getSwapQuote";
|
|
54
|
+
export * from "./getDynamicSwap";
|
|
55
|
+
export * from "./getGenStratAprs";
|
|
56
|
+
export * from "./getDefillamaPrice";
|
|
57
|
+
export * from "./getTokenPrices";
|
|
58
|
+
export * from "./getSubgraphStatus";
|
|
59
|
+
export * from "./getPoolsAndDestinations";
|
|
60
|
+
export * from "./getChainSubgraphStatus";
|
|
61
|
+
export * from "./getCycleV1";
|
|
62
|
+
export * from "./getProtocolStats";
|
|
63
|
+
export * from "./getRebalanceStats";
|
|
64
|
+
export * from "./getEthPriceAtBlock";
|
|
65
|
+
export * from "./updateRebalanceStats";
|
|
66
|
+
export * from "./getHistoricalTokenPrices";
|
|
67
|
+
export * from "./getChainAutopoolsApr";
|
|
68
|
+
export * from "./getUserSAuto";
|
|
69
|
+
export * from "./getSAuto";
|
|
70
|
+
export * from "./getSAutoRewards";
|
|
71
|
+
export * from "./getUserSAutoRewards";
|
|
72
|
+
export * from "./getUserMerklRewards";
|
|
73
|
+
export * from "./getUserEthAutoLPRewards";
|
|
74
|
+
export * from "./getMerklPoolApr";
|
|
75
|
+
export * from "./getMerklCreatorApr";
|
|
76
|
+
export * from "./getSAutoApr";
|
|
77
|
+
export * from "./getCombinedRewards";
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
|