@tokemak/queries 0.6.0 → 0.8.1

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 (75) hide show
  1. package/dist/functions/getAutopools.d.ts +3 -1
  2. package/dist/functions/getAutopools.d.ts.map +1 -1
  3. package/dist/functions/getChainAutopools.d.ts +19 -17
  4. package/dist/functions/getChainAutopools.d.ts.map +1 -1
  5. package/dist/functions/getDeprecatedAutopools.d.ts +347 -0
  6. package/dist/functions/getDeprecatedAutopools.d.ts.map +1 -0
  7. package/dist/functions/getEthAutoLP.d.ts +1 -1
  8. package/dist/functions/getEthAutoLP.d.ts.map +1 -1
  9. package/dist/functions/getEthPriceAtBlock.d.ts +2 -2
  10. package/dist/functions/getEthPriceAtBlock.d.ts.map +1 -1
  11. package/dist/functions/getPoolsAndDestinations.d.ts +4 -2
  12. package/dist/functions/getPoolsAndDestinations.d.ts.map +1 -1
  13. package/dist/functions/getRebalanceStats.d.ts +5 -4
  14. package/dist/functions/getRebalanceStats.d.ts.map +1 -1
  15. package/dist/functions/getUniV4Pool.d.ts +13 -17
  16. package/dist/functions/getUniV4Pool.d.ts.map +1 -1
  17. package/dist/functions/getUserUniV4Positions.d.ts +1 -0
  18. package/dist/functions/getUserUniV4Positions.d.ts.map +1 -1
  19. package/dist/functions/index.d.ts +3 -23
  20. package/dist/functions/index.d.ts.map +1 -1
  21. package/dist/functions/uniV4Subgraph.d.ts +45 -0
  22. package/dist/functions/uniV4Subgraph.d.ts.map +1 -0
  23. package/dist/index.js +456 -1728
  24. package/dist/index.mjs +328 -1603
  25. package/dist/safe.js +49 -22
  26. package/dist/safe.mjs +45 -18
  27. package/dist/utils/getChainsForEnv.d.ts +12 -3
  28. package/dist/utils/getChainsForEnv.d.ts.map +1 -1
  29. package/package.json +5 -5
  30. package/dist/functions/getAllowance.d.ts +0 -8
  31. package/dist/functions/getAllowance.d.ts.map +0 -1
  32. package/dist/functions/getAutopoolsRebalances.d.ts +0 -53
  33. package/dist/functions/getAutopoolsRebalances.d.ts.map +0 -1
  34. package/dist/functions/getChainCycleRolloverBlockNumber.d.ts +0 -7
  35. package/dist/functions/getChainCycleRolloverBlockNumber.d.ts.map +0 -1
  36. package/dist/functions/getChainSToke.d.ts +0 -15
  37. package/dist/functions/getChainSToke.d.ts.map +0 -1
  38. package/dist/functions/getChainSTokeRewards.d.ts +0 -16
  39. package/dist/functions/getChainSTokeRewards.d.ts.map +0 -1
  40. package/dist/functions/getChainUserSToke.d.ts +0 -33
  41. package/dist/functions/getChainUserSToke.d.ts.map +0 -1
  42. package/dist/functions/getChainUserSTokeRewards.d.ts +0 -30
  43. package/dist/functions/getChainUserSTokeRewards.d.ts.map +0 -1
  44. package/dist/functions/getCombinedRewards.d.ts +0 -11
  45. package/dist/functions/getCombinedRewards.d.ts.map +0 -1
  46. package/dist/functions/getCurveLP.d.ts +0 -3
  47. package/dist/functions/getCurveLP.d.ts.map +0 -1
  48. package/dist/functions/getCycleV1.d.ts +0 -10
  49. package/dist/functions/getCycleV1.d.ts.map +0 -1
  50. package/dist/functions/getEthPrice.d.ts +0 -2
  51. package/dist/functions/getEthPrice.d.ts.map +0 -1
  52. package/dist/functions/getLayerzeroStatus.d.ts +0 -24
  53. package/dist/functions/getLayerzeroStatus.d.ts.map +0 -1
  54. package/dist/functions/getMultipleAutopoolRebalances.d.ts +0 -54
  55. package/dist/functions/getMultipleAutopoolRebalances.d.ts.map +0 -1
  56. package/dist/functions/getProtocolStats.d.ts +0 -41
  57. package/dist/functions/getProtocolStats.d.ts.map +0 -1
  58. package/dist/functions/getSToke.d.ts +0 -23
  59. package/dist/functions/getSToke.d.ts.map +0 -1
  60. package/dist/functions/getSTokeRewards.d.ts +0 -22
  61. package/dist/functions/getSTokeRewards.d.ts.map +0 -1
  62. package/dist/functions/getSushiLP.d.ts +0 -14
  63. package/dist/functions/getSushiLP.d.ts.map +0 -1
  64. package/dist/functions/getTokenList.d.ts +0 -3
  65. package/dist/functions/getTokenList.d.ts.map +0 -1
  66. package/dist/functions/getUserCurveLP.d.ts +0 -16
  67. package/dist/functions/getUserCurveLP.d.ts.map +0 -1
  68. package/dist/functions/getUserSToke.d.ts +0 -40
  69. package/dist/functions/getUserSToke.d.ts.map +0 -1
  70. package/dist/functions/getUserSTokeRewards.d.ts +0 -38
  71. package/dist/functions/getUserSTokeRewards.d.ts.map +0 -1
  72. package/dist/functions/getUserSushiLP.d.ts +0 -23
  73. package/dist/functions/getUserSushiLP.d.ts.map +0 -1
  74. package/dist/functions/getUserV1.d.ts +0 -18
  75. package/dist/functions/getUserV1.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"getLayerzeroStatus.d.ts","sourceRoot":"","sources":["../../functions/getLayerzeroStatus.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,aAAa,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAIF,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAU,aAEtC,wBAAwB,KAAG,OAAO,CAAC,eAAe,GAAG,SAAS,CAgBhE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAU,gCAI1C;IACD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,KAAG,OAAO,CAAC,eAAe,CA0B1B,CAAC"}
@@ -1,54 +0,0 @@
1
- import { Address } from "viem";
2
- import { SupportedChainIds } from "@tokemak/config";
3
- export declare const getMutlipleAutopoolRebalances: (ids: Address[], chainId?: SupportedChainIds) => Promise<{
4
- __typename?: "Rebalance";
5
- autopool: any;
6
- blockNumber: any;
7
- hash: string;
8
- id: string;
9
- ix: any;
10
- timestamp: any;
11
- outData?: {
12
- __typename?: "RebalanceInOut";
13
- id: string;
14
- exchangeName: string;
15
- ethValue: any;
16
- destination: any;
17
- underlyer: {
18
- __typename?: "RefToken";
19
- decimals: any;
20
- id: any;
21
- name?: string | null;
22
- symbol?: string | null;
23
- };
24
- tokens: Array<{
25
- __typename?: "RefToken";
26
- decimals: any;
27
- id: any;
28
- name?: string | null;
29
- symbol?: string | null;
30
- }>;
31
- } | null;
32
- inData?: {
33
- __typename?: "RebalanceInOut";
34
- ethValue: any;
35
- exchangeName: string;
36
- id: string;
37
- destination: any;
38
- underlyer: {
39
- __typename?: "RefToken";
40
- decimals: any;
41
- id: any;
42
- name?: string | null;
43
- symbol?: string | null;
44
- };
45
- tokens: Array<{
46
- __typename?: "RefToken";
47
- decimals: any;
48
- id: any;
49
- name?: string | null;
50
- symbol?: string | null;
51
- }>;
52
- } | null;
53
- }[]>;
54
- //# sourceMappingURL=getMultipleAutopoolRebalances.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getMultipleAutopoolRebalances.d.ts","sourceRoot":"","sources":["../../functions/getMultipleAutopoolRebalances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGpD,eAAO,MAAM,6BAA6B,GACxC,KAAK,OAAO,EAAE,EACd,UAAS,iBAAqB;;;;;;;;;kBASgmujD,CAAC;;;;;;sBAAkN,CAAC;;;gBAAsG,CAAC;kBAA2C,CAAC;;;sBAAkG,CAAC;;;gBAAsG,CAAC;kBAA2C,CAAC;;;;kBAA4G,CAAC;;;;;;sBAAkN,CAAC;;;gBAAsG,CAAC;kBAA2C,CAAC;;;sBAAkG,CAAC;;;gBAAsG,CAAC;kBAA2C,CAAC;;;IADr6wjD,CAAC"}
@@ -1,41 +0,0 @@
1
- import { IAutopools } from "./getAutopools";
2
- import { IStoke } from "./getSToke";
3
- import { ISushiLP } from "./getSushiLP";
4
- import { ISAuto } from "./getSAuto";
5
- import { EthAutoLPData } from "./getEthAutoLP";
6
- export declare const getProtocolStats: (autopools: IAutopools | undefined, stoke: IStoke | undefined, sushiLP: ISushiLP | undefined, sauto: ISAuto | undefined, EthAutoLP: EthAutoLPData | undefined) => Promise<{
7
- autopools: {
8
- tvl: string;
9
- tvlNum: number;
10
- categories: {
11
- [k: string]: {
12
- tvl: string;
13
- supply: string;
14
- };
15
- };
16
- };
17
- stoke: {
18
- tvl: string;
19
- tvlNum: number;
20
- totalSupply: string;
21
- };
22
- sushiLP: {
23
- tvl: string;
24
- totalSupply: number | bigint;
25
- };
26
- EthAutoLP: {
27
- tvl: string;
28
- };
29
- sauto: {
30
- tvl: string;
31
- tvlNum: number;
32
- totalSupply: string;
33
- };
34
- stakedTVL: {
35
- totalSupply: string;
36
- tvl: string;
37
- };
38
- tvl: string;
39
- totalDestinations: number;
40
- } | null>;
41
- //# sourceMappingURL=getProtocolStats.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProtocolStats.d.ts","sourceRoot":"","sources":["../../functions/getProtocolStats.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,eAAO,MAAM,gBAAgB,GAC3B,WAAW,UAAU,GAAG,SAAS,EACjC,OAAO,MAAM,GAAG,SAAS,EACzB,SAAS,QAAQ,GAAG,SAAS,EAC7B,OAAO,MAAM,GAAG,SAAS,EACzB,WAAW,aAAa,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAgGrC,CAAC"}
@@ -1,23 +0,0 @@
1
- import { Config } from "wagmi";
2
- export declare const getSToke: (wagmiConfig: Config, { tokePrice, includeTestnet, }: {
3
- tokePrice: number;
4
- includeTestnet?: boolean;
5
- }) => Promise<{
6
- totalSupply: string;
7
- rawTotalSupply: bigint;
8
- tvl: string;
9
- rawTVL: number;
10
- chains: {
11
- [x: number]: {
12
- rawTotalSupply: bigint | undefined;
13
- totalSupply: string;
14
- tvl: string;
15
- rawTVL: number;
16
- currentCycle: bigint | undefined;
17
- chain: import("@tokemak/tokenlist").INetwork | undefined;
18
- timeBeforeNextCycle: string;
19
- } | undefined;
20
- };
21
- }>;
22
- export type IStoke = Awaited<ReturnType<typeof getSToke>>;
23
- //# sourceMappingURL=getSToke.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getSToke.d.ts","sourceRoot":"","sources":["../../functions/getSToke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,QAAQ,GACnB,aAAa,MAAM,EACnB,gCAGG;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;;;;;;;;;;;;;;;EAmCF,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC"}
@@ -1,22 +0,0 @@
1
- export declare const getSTokeRewards: ({ includeTestnet, }: {
2
- includeTestnet?: boolean;
3
- }) => Promise<{
4
- chains: {
5
- [x: number]: {
6
- autopools: Record<string, {
7
- balance: number;
8
- balanceUSD: number;
9
- currentAprPerCredit: number;
10
- }>;
11
- totalEarnings: number;
12
- totalEarningsUsd: number;
13
- historicalRewards: import("..").AggregatedDayData[];
14
- aprRange: number[];
15
- } | null;
16
- };
17
- totalEarnings: number;
18
- totalEarningsUsd: number;
19
- historicalRewards: import("..").AggregatedDayData[];
20
- }>;
21
- export type IStokeRewards = Awaited<ReturnType<typeof getSTokeRewards>>;
22
- //# sourceMappingURL=getSTokeRewards.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getSTokeRewards.d.ts","sourceRoot":"","sources":["../../functions/getSTokeRewards.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe,GAAU,qBAEnC;IACD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;;;;;;;;;;;;;;;;;EAyCA,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC"}
@@ -1,14 +0,0 @@
1
- import { Config } from "@wagmi/core";
2
- export declare const getSushiLP: (wagmiConfig: Config, { ethPrice }: {
3
- ethPrice: number;
4
- }) => Promise<{
5
- tvl: number;
6
- lpReserve: bigint;
7
- totalSupply: bigint;
8
- reserves: readonly [bigint, bigint, number];
9
- apr: any;
10
- weeklyTokeEmissions: any;
11
- valueOf1LP: number;
12
- } | undefined>;
13
- export type ISushiLP = Awaited<ReturnType<typeof getSushiLP>>;
14
- //# sourceMappingURL=getSushiLP.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getSushiLP.d.ts","sourceRoot":"","sources":["../../functions/getSushiLP.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAiB,MAAM,aAAa,CAAC;AAIpD,eAAO,MAAM,UAAU,GACrB,aAAa,MAAM,EACnB,cAAc;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE;;;;;;;;cAmDnC,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { IToken } from "@tokemak/tokenlist";
2
- export declare const getTokenList: () => Promise<IToken[]>;
3
- //# sourceMappingURL=getTokenList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getTokenList.d.ts","sourceRoot":"","sources":["../../functions/getTokenList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,oBAAoB,CAAC;AAE/D,eAAO,MAAM,YAAY,QAAa,OAAO,CAAC,MAAM,EAAE,CAWrD,CAAC"}
@@ -1,16 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,40 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,38 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,23 +0,0 @@
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, amount: 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
@@ -1 +0,0 @@
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"}
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
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"}