@panoptic-eng/sdk 1.0.68 → 1.0.69

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 (35) hide show
  1. package/dist/cow/index.d.ts.map +1 -1
  2. package/dist/cow/index.js +47 -2
  3. package/dist/cow/index.js.map +1 -1
  4. package/dist/{cow-CGgPXhY6.js → cow-BBPknr5W.js} +1 -1
  5. package/dist/{greeks-CGtgLUyh.js → greeks-DNPP24KL.js} +115 -9
  6. package/dist/index.d.ts +103 -61
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +161 -62
  9. package/dist/index.js.map +1 -1
  10. package/dist/{irm-BDxwCFDm.js → irm-DurYJ0ht.js} +3 -3
  11. package/dist/panoptic/v2/greeks/index.d.ts +7 -4
  12. package/dist/panoptic/v2/greeks/index.d.ts.map +1 -1
  13. package/dist/panoptic/v2/greeks/index.js +74 -7
  14. package/dist/panoptic/v2/greeks/index.js.map +1 -1
  15. package/dist/panoptic/v2/index.d.ts +89 -5
  16. package/dist/panoptic/v2/index.d.ts.map +1 -1
  17. package/dist/panoptic/v2/index.js +675 -49
  18. package/dist/panoptic/v2/index.js.map +1 -1
  19. package/dist/panoptic/v2/react-public.d.ts +80 -6
  20. package/dist/panoptic/v2/react-public.d.ts.map +1 -1
  21. package/dist/panoptic/v2/react-public.js +2693 -2457
  22. package/dist/panoptic/v2/react-public.js.map +1 -1
  23. package/dist/{rates-BHS-Qiu7.js → rates-B-eRYOTS.js} +39 -3
  24. package/dist/{router-BW6TqwOO.js → router-ChMhfTqT.js} +969 -39
  25. package/dist/rpc/index.d.ts +3 -0
  26. package/dist/rpc/index.d.ts.map +1 -1
  27. package/dist/rpc/index.js +31 -3
  28. package/dist/rpc/index.js.map +1 -1
  29. package/dist/uniswap/index.js +53 -13
  30. package/dist/uniswap/index.js.map +1 -1
  31. package/dist/{v2-Dgh6JxG_.js → v2-Bo1vZXvR.js} +150 -10
  32. package/dist/{writes-CG612Vuk.js → writes-D53wWDT-.js} +2 -2
  33. package/dist/zodiac/index.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/dist/router-IDtCENST.js +0 -942
@@ -1,4 +1,4 @@
1
- import { PanopticError, submitWrite } from "./rates-BHS-Qiu7.js";
1
+ import { PanopticError, submitWrite } from "./rates-B-eRYOTS.js";
2
2
  import { erc20Abi, getAddress, keccak256, maxUint256, stringToHex, zeroAddress } from "viem";
3
3
 
4
4
  //#region src/cow/addresses.ts
@@ -90,7 +90,7 @@ const UTILIZATION_DENOMINATOR = 10000n;
90
90
 
91
91
  //#endregion
92
92
  //#region src/panoptic/v2/formatters/tick.ts
93
- const Q192$1 = 1n << 192n;
93
+ const Q192$2 = 1n << 192n;
94
94
  const RAW_PRICE_PRECISION = 40n;
95
95
  function pow10(exponent) {
96
96
  if (exponent < 0n) throw new RangeError("Exponent must be non-negative");
@@ -180,7 +180,7 @@ const MAX_SQRT_PRICE_X96 = tickToSqrtPriceX96(MAX_TICK);
180
180
  function getPriceRatioFromSqrtPriceX96(sqrtPriceX96) {
181
181
  return {
182
182
  numerator: sqrtPriceX96 * sqrtPriceX96,
183
- denominator: Q192$1
183
+ denominator: Q192$2
184
184
  };
185
185
  }
186
186
  function getRawPriceRatio(tick) {
@@ -512,6 +512,110 @@ function tickLimits(currentTick, toleranceBps) {
512
512
  };
513
513
  }
514
514
 
515
+ //#endregion
516
+ //#region src/uniswap/lpGreeks.ts
517
+ const Q96$2 = 1n << 96n;
518
+ const Q192$1 = 1n << 192n;
519
+ /**
520
+ * Compute the token0/token1 amounts backing `liquidity` over `[sqrtA, sqrtB]`
521
+ * at the current price `sqrtP`, mirroring Uniswap's `LiquidityAmounts`
522
+ * (`getAmountsForLiquidity`). All sqrt prices are X96. The current price is
523
+ * clamped into the range, so out-of-range positions collapse to a single token.
524
+ */
525
+ function getAmountsForLiquidity(sqrtPriceX96, sqrtRatioAX96, sqrtRatioBX96, liquidity) {
526
+ const [sqrtA, sqrtB] = sqrtRatioAX96 <= sqrtRatioBX96 ? [sqrtRatioAX96, sqrtRatioBX96] : [sqrtRatioBX96, sqrtRatioAX96];
527
+ const sqrtC = sqrtPriceX96 < sqrtA ? sqrtA : sqrtPriceX96 > sqrtB ? sqrtB : sqrtPriceX96;
528
+ const amount0 = sqrtC < sqrtB ? liquidity * (sqrtB - sqrtC) * Q96$2 / (sqrtC * sqrtB) : 0n;
529
+ const amount1 = sqrtC > sqrtA ? liquidity * (sqrtC - sqrtA) / Q96$2 : 0n;
530
+ return {
531
+ amount0,
532
+ amount1
533
+ };
534
+ }
535
+ /**
536
+ * Greeks (value, delta, gamma) for a Uniswap LP position in the chosen asset
537
+ * frame. See the module docs for the unit conventions.
538
+ *
539
+ * Closed forms (in-range, numeraire = token1 / asset = token0):
540
+ * value = amount1 + amount0·P (P = sqrtP² / 2^192)
541
+ * delta = amount0 (= dV/dP)
542
+ * gamma = P²·d²V/dP² = -L·sqrt(P)/2 (short gamma)
543
+ * The `assetIndex = 1` frame is the symmetric inverse (numeraire = token0).
544
+ * Gamma is zero when the price is outside the range (no curvature there).
545
+ */
546
+ function getLpGreeks(input) {
547
+ const { liquidity, tickLower, tickUpper, currentTick, assetIndex } = input;
548
+ const sqrtP = input.sqrtPriceX96 ?? tickToSqrtPriceX96(currentTick);
549
+ if (sqrtP <= 0n) throw new RangeError("Invalid sqrt price");
550
+ const sqrtA = tickToSqrtPriceX96(tickLower);
551
+ const sqrtB = tickToSqrtPriceX96(tickUpper);
552
+ const { amount0, amount1 } = getAmountsForLiquidity(sqrtP, sqrtA, sqrtB, liquidity);
553
+ const sqrtP2 = sqrtP * sqrtP;
554
+ const inRange = sqrtP > sqrtA && sqrtP < sqrtB;
555
+ if (assetIndex === 0) {
556
+ const value$1 = amount1 + amount0 * sqrtP2 / Q192$1;
557
+ const delta$1 = amount0;
558
+ const gamma$1 = inRange ? -(liquidity * sqrtP) / (2n * Q96$2) : 0n;
559
+ return {
560
+ value: value$1,
561
+ delta: delta$1,
562
+ gamma: gamma$1
563
+ };
564
+ }
565
+ const value = amount0 + amount1 * Q192$1 / sqrtP2;
566
+ const delta = amount1;
567
+ const gamma = inRange ? -(liquidity * Q96$2) / (2n * sqrtP) : 0n;
568
+ return {
569
+ value,
570
+ delta,
571
+ gamma
572
+ };
573
+ }
574
+
575
+ //#endregion
576
+ //#region src/panoptic/v2/greeks/legLiquidity.ts
577
+ const Q96$1 = 1n << 96n;
578
+ function divCeil(numerator, denominator) {
579
+ return (numerator + denominator - 1n) / denominator;
580
+ }
581
+ /** The Uniswap range and liquidity backing one option leg, with the contract's rounding. */
582
+ function getLegLiquidityRange(leg, positionSize, tickSpacing) {
583
+ const width = leg.width * tickSpacing;
584
+ const lowerTick = leg.strike - width / 2n;
585
+ const upperTick = leg.strike + (width + 1n) / 2n;
586
+ if (lowerTick < -887272n || upperTick > 887272n || lowerTick >= upperTick) throw new RangeError("Invalid position range");
587
+ const sqrtLower = tickToSqrtPriceX96(lowerTick);
588
+ const sqrtUpper = tickToSqrtPriceX96(upperTick);
589
+ const amount = positionSize * leg.optionRatio;
590
+ const liquidity = leg.asset === 0n ? amount * (sqrtLower * sqrtUpper / Q96$1) / (sqrtUpper - sqrtLower) : amount * Q96$1 / (sqrtUpper - sqrtLower);
591
+ return {
592
+ lowerTick,
593
+ upperTick,
594
+ sqrtLower,
595
+ sqrtUpper,
596
+ liquidity
597
+ };
598
+ }
599
+ /**
600
+ * One option leg's signed holding of `tokenIndex` at `currentTick`: the amount
601
+ * its liquidity holds minus the amount the leg moved, positive for short legs.
602
+ */
603
+ function getLegTokenInventory(leg, currentTick, positionSize, tickSpacing, tokenIndex) {
604
+ const { sqrtLower, sqrtUpper, liquidity } = getLegLiquidityRange(leg, positionSize, tickSpacing);
605
+ const held = getAmountsForLiquidity(tickToSqrtPriceX96(currentTick), sqrtLower, sqrtUpper, liquidity);
606
+ const heldAmount = tokenIndex === 0n ? held.amount0 : held.amount1;
607
+ let movedAmount = 0n;
608
+ if (leg.tokenType === tokenIndex) {
609
+ const span = sqrtUpper - sqrtLower;
610
+ if (tokenIndex === 0n) {
611
+ const scaled = (liquidity << 96n) * span;
612
+ movedAmount = leg.isLong ? scaled / sqrtUpper / sqrtLower : divCeil(divCeil(scaled, sqrtUpper), sqrtLower);
613
+ } else movedAmount = leg.isLong ? liquidity * span / Q96$1 : divCeil(liquidity * span, Q96$1);
614
+ }
615
+ const net = heldAmount - movedAmount;
616
+ return leg.isLong ? -net : net;
617
+ }
618
+
515
619
  //#endregion
516
620
  //#region src/panoptic/v2/greeks/index.ts
517
621
  /** Fixed-point scale constants for sqrtPriceX96 arithmetic */
@@ -862,12 +966,14 @@ function toVaultFrameAtTick(delta, fromAsset, vaultAssetIndex, currentTick, flip
862
966
  * Calculate one leg's wallet-aware delta in the vault asset frame.
863
967
  *
864
968
  * Width-zero loans and credits must be evaluated directly in the vault frame.
865
- * Option legs remain in their natural leg frame until converted at the mark tick.
969
+ * An option leg is measured as its current holding of the vault token, so
970
+ * `mintTick` and `definedRisk` do not affect it. Tokens swapped at mint belong
971
+ * to the account's collateral balance, not to the position: a per-position
972
+ * display omits them by design, and a whole-account delta adds the balance.
866
973
  */
867
974
  function getLegDeltaInVaultFrame(leg, currentTick, positionSize, poolTickSpacing, mintTick, definedRisk, vaultAssetIndex) {
868
975
  if (leg.width === 0n) return getLegDelta(leg, currentTick, positionSize, poolTickSpacing, mintTick, definedRisk, vaultAssetIndex);
869
- const legDelta = getLegDelta(leg, currentTick, positionSize, poolTickSpacing, mintTick, definedRisk);
870
- return toVaultFrameAtTick(legDelta, leg.asset, vaultAssetIndex, currentTick, true);
976
+ return getLegTokenInventory(leg, currentTick, positionSize, poolTickSpacing, vaultAssetIndex);
871
977
  }
872
978
  /**
873
979
  * Calculate the gamma (dollar gamma) of a single leg.
@@ -966,9 +1072,9 @@ function calculatePositionDelta(input) {
966
1072
  /**
967
1073
  * Calculate debt-only position delta in a single target asset frame.
968
1074
  *
969
- * Option legs are first valued in their natural `leg.asset` frame, then
970
- * converted into `assetIndex` using the current pool price. Width-zero legs
971
- * are evaluated directly in the target frame.
1075
+ * Option legs contribute their current holding of the `assetIndex` token,
1076
+ * without any mint-time adjustment. Width-zero legs are evaluated directly in
1077
+ * the target frame.
972
1078
  *
973
1079
  * Width=0 loan/credit legs include only their debt obligation. The held-token
974
1080
  * side must be added separately from account collateral balances, preventing a
@@ -1101,4 +1207,4 @@ function calculatePositionDeltaWithSwap(input) {
1101
1207
  }
1102
1208
 
1103
1209
  //#endregion
1104
- export { BPS_DENOMINATOR, MAX_TICK, MAX_TRACKED_CHUNKS, MIN_TICK, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, ORACLE_EPOCH_SECONDS, REORG_DEPTH, SCHEMA_VERSION, STORAGE_PREFIX, UTILIZATION_DENOMINATOR, WAD, ZERO_COLLATERAL, ZERO_VALUATION, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculatePositionValues, formatPriceRange, formatTick, formatTickRange, getLegDelta, getLegDeltaInVaultFrame, getLegGamma, getLegNetValueWidth0, getLegValue, getLoanEffectiveDelta, getPositionDeltaMetrics, getPricesAtTick, getTickSpacing, isCall, isDefinedRisk, preparePositionValue, priceToTick, roundToTickSpacing, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick };
1210
+ export { BPS_DENOMINATOR, MAX_TICK, MAX_TRACKED_CHUNKS, MIN_TICK, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, ORACLE_EPOCH_SECONDS, REORG_DEPTH, SCHEMA_VERSION, STORAGE_PREFIX, UTILIZATION_DENOMINATOR, WAD, ZERO_COLLATERAL, ZERO_VALUATION, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculatePositionValues, formatPriceRange, formatTick, formatTickRange, getAmountsForLiquidity, getLegDelta, getLegDeltaInVaultFrame, getLegGamma, getLegLiquidityRange, getLegNetValueWidth0, getLegValue, getLoanEffectiveDelta, getLpGreeks, getPositionDeltaMetrics, getPricesAtTick, getTickSpacing, isCall, isDefinedRisk, preparePositionValue, priceToTick, roundToTickSpacing, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick };
package/dist/index.d.ts CHANGED
@@ -1,21 +1,21 @@
1
- import { Abi, Account as Account$1, Address as Address$1, BaseError, Chain, Client, ContractFunctionArgs, ContractFunctionName, ContractFunctionRevertedError, Hex, PublicClient, Transport } from "viem";
1
+ import { Abi, Account as Account$1, Address as Address$1, BaseError, Chain, Client, ContractFunctionArgs, ContractFunctionName, ContractFunctionRevertedError, Hash, Hex, PublicClient, Transport } from "viem";
2
2
  import { z } from "zod";
3
3
  import Decimal from "decimal.js";
4
4
  import { Config, UseSimulateContractReturnType, UseWaitForTransactionReceiptReturnType, UseWriteContractReturnType } from "wagmi";
5
5
  import { GraphQLClient, RequestOptions } from "graphql-request";
6
6
  import { BASE_CHAIN_ID, BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES, CHAIN_DEPLOYMENTS, ChainDeployment, HypoVaultManagerTurnkeySigners, MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES, PanopticPoolAddresses, ROBINHOOD_CHAIN_ID, ROBINHOOD_DEPLOYMENT, ROBINHOOD_HYPOVAULT_ADDRESSES, ROBINHOOD_HYPOVAULT_CORE_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, ROBINHOOD_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_PANOPTIC_V2_ADDRESSES, ROBINHOOD_RISK_ENGINES, ROBINHOOD_SPY_USDG_30BPS_MARKET, ROBINHOOD_SPY_USDG_30BPS_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_SPY_USDG_5BPS_MARKET, ROBINHOOD_SPY_USDG_5BPS_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_SPY_USDG_MARKET, SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES, SpyUsdgMarket, VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultDisplayNameResolver, VaultDisplayNameResolverInput, getChainDeployment, getEthUsdcMarket, getSpyUsdgMarket, isSupportedChain, requireChainDeployment, resolveVaultDisplayName } from "./deployments";
7
+ import * as graphql36 from "graphql";
8
+ import * as graphql37 from "graphql";
9
+ import * as graphql38 from "graphql";
10
+ import * as graphql39 from "graphql";
11
+ import * as graphql40 from "graphql";
12
+ import * as graphql41 from "graphql";
13
+ import * as graphql42 from "graphql";
14
+ import * as graphql43 from "graphql";
15
+ import * as graphql44 from "graphql";
7
16
  import * as graphql45 from "graphql";
8
17
  import * as graphql46 from "graphql";
9
18
  import * as graphql47 from "graphql";
10
- import * as graphql48 from "graphql";
11
- import * as graphql49 from "graphql";
12
- import * as graphql50 from "graphql";
13
- import * as graphql51 from "graphql";
14
- import * as graphql52 from "graphql";
15
- import * as graphql53 from "graphql";
16
- import * as graphql54 from "graphql";
17
- import * as graphql55 from "graphql";
18
- import * as graphql56 from "graphql";
19
19
 
20
20
  //#region src/lending/aave.d.ts
21
21
  /** Reads accrued Aave V3 balances and oracle prices at a single block. */
@@ -25305,9 +25305,9 @@ declare const MainnetUSDCPLPPreviousStrategistLeaves: {
25305
25305
  readonly leafs: readonly ((StrategistLeaf & {
25306
25306
  readonly Description: "";
25307
25307
  }) | (StrategistLeaf & {
25308
- readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
25309
- readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25310
- readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
25308
+ readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC";
25309
+ readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25310
+ readonly FunctionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "approve(address,uint256)";
25311
25311
  readonly AddressArguments: readonly [] | readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"] | readonly ["0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9"] | readonly ["0x69E9f9e44E5F52237493b980dd7306198C64A4E4"];
25312
25312
  readonly CanSendValue: boolean;
25313
25313
  }))[];
@@ -25328,9 +25328,9 @@ declare const MainnetUSDCPLPV3AuthorizedStrategistLeaves: {
25328
25328
  readonly leafs: readonly ((StrategistLeaf & {
25329
25329
  readonly Description: "";
25330
25330
  }) | (StrategistLeaf & {
25331
- readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
25332
- readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25333
- readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
25331
+ readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC";
25332
+ readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25333
+ readonly FunctionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "approve(address,uint256)";
25334
25334
  readonly AddressArguments: readonly [] | readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"] | readonly ["0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9"] | readonly ["0x69E9f9e44E5F52237493b980dd7306198C64A4E4"];
25335
25335
  readonly CanSendValue: boolean;
25336
25336
  }))[];
@@ -25375,13 +25375,6 @@ declare const MainnetUSDCPLPVaultPoolInfos: {
25375
25375
  declare const MainnetUSDCPLPV3AuthorizedVaultPoolInfos: {
25376
25376
  readonly vaultAddress: Address;
25377
25377
  readonly poolInfos: ({
25378
- triggerTick: 150;
25379
- maxPriceDeviation: 100;
25380
- pool: Address;
25381
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25382
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25383
- positionScanFromBlock: 25631480n;
25384
- } | {
25385
25378
  triggerTick: 150;
25386
25379
  maxPriceDeviation: 100;
25387
25380
  pool: Address;
@@ -25395,19 +25388,19 @@ declare const MainnetUSDCPLPV3AuthorizedVaultPoolInfos: {
25395
25388
  token0: "0x8e2eeD8b8B5E13Ea7BF38e50d7821d2C57309072";
25396
25389
  token1: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25397
25390
  positionScanFromBlock: 25302077n;
25398
- })[];
25399
- };
25400
- /** Production accountant input before the ETH/USDC 5bps v3 pool authorization executes. */
25401
- declare const MainnetUSDCPLPPreviousVaultPoolInfos: {
25402
- readonly vaultAddress: Address;
25403
- readonly poolInfos: ({
25391
+ } | {
25404
25392
  triggerTick: 150;
25405
25393
  maxPriceDeviation: 100;
25406
25394
  pool: Address;
25407
25395
  token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25408
25396
  token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25409
25397
  positionScanFromBlock: 25631480n;
25410
- } | {
25398
+ })[];
25399
+ };
25400
+ /** Production accountant input before the ETH/USDC 5bps v3 pool authorization executes. */
25401
+ declare const MainnetUSDCPLPPreviousVaultPoolInfos: {
25402
+ readonly vaultAddress: Address;
25403
+ readonly poolInfos: ({
25411
25404
  triggerTick: 150;
25412
25405
  maxPriceDeviation: 100;
25413
25406
  pool: Address;
@@ -25421,6 +25414,13 @@ declare const MainnetUSDCPLPPreviousVaultPoolInfos: {
25421
25414
  token0: "0x8e2eeD8b8B5E13Ea7BF38e50d7821d2C57309072";
25422
25415
  token1: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25423
25416
  positionScanFromBlock: 25302077n;
25417
+ } | {
25418
+ triggerTick: 150;
25419
+ maxPriceDeviation: 100;
25420
+ pool: Address;
25421
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25422
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25423
+ positionScanFromBlock: 25631480n;
25424
25424
  })[];
25425
25425
  };
25426
25426
  declare const MainnetUSDCPLPLegacyVaultPoolInfos: {
@@ -26000,9 +26000,9 @@ declare const MainnetWETHPLPPreviousStrategistLeaves: {
26000
26000
  readonly leafs: readonly ((StrategistLeaf & {
26001
26001
  readonly Description: "";
26002
26002
  }) | (StrategistLeaf & {
26003
- readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
26003
+ readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC";
26004
26004
  readonly TargetAddress: any;
26005
- readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit()" | "withdraw(uint256)";
26005
+ readonly FunctionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "deposit()" | "withdraw(uint256)" | "approve(address,uint256)";
26006
26006
  readonly AddressArguments: readonly [] | readonly [Address] | readonly [Address, Address];
26007
26007
  readonly CanSendValue: boolean;
26008
26008
  }))[];
@@ -26023,9 +26023,9 @@ declare const MainnetWETHPLPV3AuthorizedStrategistLeaves: {
26023
26023
  readonly leafs: readonly ((StrategistLeaf & {
26024
26024
  readonly Description: "";
26025
26025
  }) | (StrategistLeaf & {
26026
- readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
26026
+ readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC";
26027
26027
  readonly TargetAddress: any;
26028
- readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit()" | "withdraw(uint256)";
26028
+ readonly FunctionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "deposit()" | "withdraw(uint256)" | "approve(address,uint256)";
26029
26029
  readonly AddressArguments: readonly [] | readonly [Address] | readonly [Address, Address];
26030
26030
  readonly CanSendValue: boolean;
26031
26031
  }))[];
@@ -26075,16 +26075,16 @@ declare const MainnetWETHPLPV3AuthorizedVaultPoolInfos: {
26075
26075
  triggerTick: 150;
26076
26076
  maxPriceDeviation: 100;
26077
26077
  pool: Address;
26078
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26079
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26080
- positionScanFromBlock: 25631480n;
26078
+ token0: Address;
26079
+ token1: Address;
26080
+ positionScanFromBlock: 25302077n;
26081
26081
  } | {
26082
26082
  triggerTick: 150;
26083
26083
  maxPriceDeviation: 100;
26084
26084
  pool: Address;
26085
- token0: Address;
26086
- token1: Address;
26087
- positionScanFromBlock: 25302077n;
26085
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26086
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26087
+ positionScanFromBlock: 25631480n;
26088
26088
  })[];
26089
26089
  };
26090
26090
  /** Production accountant input before the ETH/USDC 5bps v3 pool authorization executes. */
@@ -26094,16 +26094,16 @@ declare const MainnetWETHPLPPreviousVaultPoolInfos: {
26094
26094
  triggerTick: 150;
26095
26095
  maxPriceDeviation: 100;
26096
26096
  pool: Address;
26097
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26098
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26099
- positionScanFromBlock: 25631480n;
26097
+ token0: Address;
26098
+ token1: Address;
26099
+ positionScanFromBlock: 25302077n;
26100
26100
  } | {
26101
26101
  triggerTick: 150;
26102
26102
  maxPriceDeviation: 100;
26103
26103
  pool: Address;
26104
- token0: Address;
26105
- token1: Address;
26106
- positionScanFromBlock: 25302077n;
26104
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26105
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26106
+ positionScanFromBlock: 25631480n;
26107
26107
  })[];
26108
26108
  };
26109
26109
  declare const MainnetWETHPLPLegacyVaultPoolInfos: {
@@ -30992,8 +30992,7 @@ declare function resolveVaultHistoricalCandidatesByPool({
30992
30992
  }): Promise<VaultPoolCandidateTokenIds[]>;
30993
30993
  /**
30994
30994
  * Narrow pre-resolved {@link VaultPoolCandidateTokenIds} to the tokenIds actually
30995
- * open at `blockNumber`, per pool, via on-chain `getFullPositionsData` (bisecting
30996
- * on stale candidates). This is the per-block half of the candidate/verify split.
30995
+ * open at `blockNumber`, per pool, via bounded on-chain multicalls of `getFullPositionsData`. This is the per-block half of the candidate/verify split.
30997
30996
  */
30998
30997
  declare function verifyVaultOpenTokenIdsAtBlock({
30999
30998
  viemClient,
@@ -31125,6 +31124,10 @@ type PremiumApyConfig = {
31125
31124
  type BorrowRateApyConfig = {
31126
31125
  rateSourceId?: string;
31127
31126
  };
31127
+ type VaultPoolPositions = {
31128
+ poolAddress: Address$1;
31129
+ tokenIds: readonly bigint[];
31130
+ };
31128
31131
  type ManagerInputProviderContext = {
31129
31132
  chainId: number;
31130
31133
  vault: VaultApyVaultLike;
@@ -31137,6 +31140,8 @@ type ManagerInputProviderContext = {
31137
31140
  * timeseries resolve candidates once per vault rather than once per anchor.
31138
31141
  */
31139
31142
  candidates?: readonly VaultPoolCandidateTokenIds[];
31143
+ /** Complete position lists at blockNumber, reconstructed from confirmed chain history. */
31144
+ positionsByPool?: readonly VaultPoolPositions[];
31140
31145
  };
31141
31146
  type ManagerInputProviderDiagnostics = {
31142
31147
  poolAddresses: string[];
@@ -31233,6 +31238,7 @@ type FetchVaultSharePriceSnapshotParams = {
31233
31238
  * subgraph candidate gather. Omit for one-shot snapshots.
31234
31239
  */
31235
31240
  candidates?: readonly VaultPoolCandidateTokenIds[];
31241
+ positionsByPool?: readonly VaultPoolPositions[];
31236
31242
  /** Populate full token-id diagnostics instead of counts only. */
31237
31243
  includeTokenIdsInDiagnostics?: boolean;
31238
31244
  };
@@ -31244,6 +31250,7 @@ declare function fetchVaultSharePriceSnapshot({
31244
31250
  blockNumber,
31245
31251
  readContractFn,
31246
31252
  candidates,
31253
+ positionsByPool,
31247
31254
  includeTokenIdsInDiagnostics
31248
31255
  }: FetchVaultSharePriceSnapshotParams): Promise<VaultSharePriceSnapshot>;
31249
31256
  declare function fetchVaultSharePriceSnapshotWithCandidateRecovery({
@@ -31277,6 +31284,7 @@ declare function createVaultSharePriceProcessor({
31277
31284
  recoveryFallbackBlock,
31278
31285
  loadLastTrustedBlock,
31279
31286
  readContractFn,
31287
+ positionsByPool,
31280
31288
  windowLabel
31281
31289
  }: {
31282
31290
  vault: VaultApyVaultLike;
@@ -31285,6 +31293,7 @@ declare function createVaultSharePriceProcessor({
31285
31293
  blockTimestamp: bigint;
31286
31294
  recoveryFallbackBlock: bigint;
31287
31295
  loadLastTrustedBlock: () => Promise<bigint | undefined>;
31296
+ positionsByPool?: readonly VaultPoolPositions[] | undefined;
31288
31297
  readContractFn: ReadContractFn;
31289
31298
  windowLabel?: "now" | "7d" | "30d" | "series" | undefined;
31290
31299
  }): Promise<{
@@ -35943,18 +35952,18 @@ type GetDepositEpochStatesForWithdrawalQuery = {
35943
35952
  //#endregion
35944
35953
  //#region src/graphql/hypoVault-sdk.generated.d.ts
35945
35954
  type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
35946
- declare const DepositEpochStateFragmentDoc: graphql45.DocumentNode;
35947
- declare const HypoVaultFragmentDoc: graphql46.DocumentNode;
35948
- declare const WithdrawalEpochStateFragmentDoc: graphql47.DocumentNode;
35949
- declare const GetDepositOverviewDocument: graphql48.DocumentNode;
35950
- declare const GetLatestDepositAndWithdrawEpochDocument: graphql49.DocumentNode;
35951
- declare const GetLatestEpochDocument: graphql50.DocumentNode;
35952
- declare const GetVaultHistoryDocument: graphql51.DocumentNode;
35953
- declare const GetFilteredHypoVaultsDocument: graphql52.DocumentNode;
35954
- declare const GetQueuedWithdrawalsForExecutionDocument: graphql53.DocumentNode;
35955
- declare const GetWithdrawalEpochStatesForExecutionDocument: graphql54.DocumentNode;
35956
- declare const GetQueuedDepositsForWithdrawalDocument: graphql55.DocumentNode;
35957
- declare const GetDepositEpochStatesForWithdrawalDocument: graphql56.DocumentNode;
35955
+ declare const DepositEpochStateFragmentDoc: graphql36.DocumentNode;
35956
+ declare const HypoVaultFragmentDoc: graphql37.DocumentNode;
35957
+ declare const WithdrawalEpochStateFragmentDoc: graphql38.DocumentNode;
35958
+ declare const GetDepositOverviewDocument: graphql39.DocumentNode;
35959
+ declare const GetLatestDepositAndWithdrawEpochDocument: graphql40.DocumentNode;
35960
+ declare const GetLatestEpochDocument: graphql41.DocumentNode;
35961
+ declare const GetVaultHistoryDocument: graphql42.DocumentNode;
35962
+ declare const GetFilteredHypoVaultsDocument: graphql43.DocumentNode;
35963
+ declare const GetQueuedWithdrawalsForExecutionDocument: graphql44.DocumentNode;
35964
+ declare const GetWithdrawalEpochStatesForExecutionDocument: graphql45.DocumentNode;
35965
+ declare const GetQueuedDepositsForWithdrawalDocument: graphql46.DocumentNode;
35966
+ declare const GetDepositEpochStatesForWithdrawalDocument: graphql47.DocumentNode;
35958
35967
  type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
35959
35968
  declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
35960
35969
  GetDepositOverview(variables: GetDepositOverviewQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetDepositOverviewQuery>;
@@ -36222,5 +36231,38 @@ declare function getIrmCurve(params: {
36222
36231
  }>;
36223
36232
 
36224
36233
  //#endregion
36225
- export { Account, AccountDepositCancelledsArgs, AccountDepositExecutedsArgs, AccountDepositRequestedsArgs, AccountQueuedDepositsArgs, AccountQueuedWithdrawalsArgs, AccountRedepositStatusChangedsArgs, AccountTransfersArgs, AccountUserBalancesArgs, AccountUserBasesArgs, AccountWithdrawalCancelledsArgs, AccountWithdrawalExecutedsArgs, AccountWithdrawalRequestedsArgs, Account_Filter, Account_OrderBy, AccountantUpdated, AccountantUpdated_Filter, AccountantUpdated_OrderBy, Aggregation_Current, Aggregation_Interval, BASE_CHAIN_ID, BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES, BORROW_INDEX_BITS, BPS_SCALE, BaseContractWriteHookOutput, BaseUSDCPLPStrategistLeaves, BaseUSDCPLPVaultPoolInfos, BaseWETHPLPStrategistLeaves, BaseWETHPLPVaultPoolInfos, BlockChangedFilter, Block_Height, BorrowRateApyConfig, BuildManagerInputAtBlockParams, BuildManagerInputParams, Bundle, Bundle_Filter, Bundle_OrderBy, CHAIN_DEPLOYMENTS, CandidateRecoveryContext, CandidateResolverContext, ChainDeployment, CollateralTrackerAbi, CollateralTrackerV1_1Abi, DecodedError, DepositCancelled, DepositCancelled_Filter, DepositCancelled_OrderBy, DepositEpochState, DepositEpochStateFragment, DepositEpochStateFragmentDoc, DepositEpochStateSnapshot, DepositEpochState_Filter, DepositEpochState_OrderBy, DepositExecuted, DepositExecuted_Filter, DepositExecuted_OrderBy, DepositRequested, DepositRequested_Filter, DepositRequested_OrderBy, DepositsFulfilled, DepositsFulfilled_Filter, DepositsFulfilled_OrderBy, Erc1155Abi, Erc20Abi, Exact, FeeWalletUpdated, FeeWalletUpdated_Filter, FeeWalletUpdated_OrderBy, FetchVaultSharePriceSnapshotParams, GetDepositEpochStatesForWithdrawalDocument, GetDepositEpochStatesForWithdrawalQuery, GetDepositEpochStatesForWithdrawalQueryVariables, GetDepositOverviewDocument, GetDepositOverviewQuery, GetDepositOverviewQueryVariables, GetFilteredHypoVaultsDocument, GetFilteredHypoVaultsQuery, GetFilteredHypoVaultsQueryVariables, GetLatestDepositAndWithdrawEpochDocument, GetLatestDepositAndWithdrawEpochQuery, GetLatestDepositAndWithdrawEpochQueryVariables, GetLatestEpochDocument, GetLatestEpochQuery, GetLatestEpochQueryVariables, GetQueuedDepositsForWithdrawalDocument, GetQueuedDepositsForWithdrawalQuery, GetQueuedDepositsForWithdrawalQueryVariables, GetQueuedWithdrawalsForExecutionDocument, GetQueuedWithdrawalsForExecutionQuery, GetQueuedWithdrawalsForExecutionQueryVariables, GetVaultHistoryDocument, GetVaultHistoryQuery, GetVaultHistoryQueryVariables, GetWithdrawalEpochStatesForExecutionDocument, GetWithdrawalEpochStatesForExecutionQuery, GetWithdrawalEpochStatesForExecutionQueryVariables, HypoVault, HypoVaultAbi, HypoVaultDepositEpochStatesArgs, HypoVaultFactory, HypoVaultFactory_Filter, HypoVaultFactory_OrderBy, HypoVaultFragment, HypoVaultFragmentDoc, HypoVaultGraphQLClient, HypoVaultManagerConfig, HypoVaultManagerConfigSchema, HypoVaultManagerTurnkeySigners, HypoVaultManagerWithMerkleVerificationAbi, HypoVaultQueuedDepositsArgs, HypoVaultQueuedWithdrawalsArgs, HypoVaultUserBalancesArgs, HypoVaultUserBasesArgs, HypoVaultWithdrawalEpochStatesArgs, HypoVault_Filter, HypoVault_OrderBy, Incremental, InferLeaf, InputMaybe, IrmCurrent, IrmMarketStateInputs, IrmPoint, LeafDescription, LendingAllocationResult, LendingAllocationRow, MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES, MAINNET_USDC_PLP_COMPILED_POOL_POLICY, MAINNET_USDC_PLP_POOL_POLICY, MAINNET_USDC_REPLACEMENT_ARTIFACTS, MAINNET_V3_AUTHORIZATION_BLOCK, MAINNET_WETH_PLP_COMPILED_POOL_POLICY, MAINNET_WETH_PLP_POOL_POLICY, MAINNET_WETH_REPLACEMENT_ARTIFACTS, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_STALE_DELTA_HEDGE_PRIORITY_FEE_PER_GAS, MAX_VAULT_PRIORITY_FEE_PER_GAS, MAX_VAULT_TRANSACTION_GAS_COST, MIN_VAULT_PRIORITY_FEE_PER_GAS, MainnetLegacyUSDCPLPStrategistLeaves, MainnetLegacyWETHPLPStrategistLeaves, MainnetUSDCPLPLegacyVaultPoolInfos, MainnetUSDCPLPPreviousStrategistLeaves, MainnetUSDCPLPPreviousVaultPoolInfos, MainnetUSDCPLPStrategistLeaves, MainnetUSDCPLPV3AuthorizedStrategistLeaves, MainnetUSDCPLPV3AuthorizedVaultPoolInfos, MainnetUSDCPLPVaultPoolInfos, MainnetV3AuthorizationArtifacts, MainnetV3AuthorizationVersion, MainnetVaultManagerRootTransition, MainnetVaultPoolConfiguration, MainnetWETHPLPLegacyVaultPoolInfos, MainnetWETHPLPPreviousStrategistLeaves, MainnetWETHPLPPreviousVaultPoolInfos, MainnetWETHPLPStrategistLeaves, MainnetWETHPLPV3AuthorizedStrategistLeaves, MainnetWETHPLPV3AuthorizedVaultPoolInfos, MainnetWETHPLPVaultPoolInfos, MakeEmpty, MakeMaybe, MakeOptional, ManageAction, ManageLeaf, ManageVaultArgs, ManagerInputProviderContext, ManagerInputProviderDiagnostics, ManagerInputProviderResult, ManagerUpdated, ManagerUpdated_Filter, ManagerUpdated_OrderBy, Maybe, Multicall3Abi, NonFungiblePositionManagerAbi, OrderDirection, OwnershipTransferred, OwnershipTransferred_Filter, OwnershipTransferred_OrderBy, PanopticFactoryV3Abi, PanopticFactoryV4Abi, PanopticHelperAbi, PanopticPoolAbi, PanopticPoolV1_1Abi, PanopticQueryV1_1Abi, PanopticVaultAccountantAbi, PanopticVaultAccountantManagerInputAbi, Pool, PoolInfo, PoolManagerAbi, Pool_Filter, Pool_OrderBy, PremiumApyConfig, Query, QueryAccountArgs, QueryAccountantUpdatedArgs, QueryAccountantUpdatedsArgs, QueryAccountsArgs, QueryBundleArgs, QueryBundlesArgs, QueryDepositCancelledArgs, QueryDepositCancelledsArgs, QueryDepositEpochStateArgs, QueryDepositEpochStatesArgs, QueryDepositExecutedArgs, QueryDepositExecutedsArgs, QueryDepositRequestedArgs, QueryDepositRequestedsArgs, QueryDepositsFulfilledArgs, QueryDepositsFulfilledsArgs, QueryFeeWalletUpdatedArgs, QueryFeeWalletUpdatedsArgs, QueryHypoVaultArgs, QueryHypoVaultFactoriesArgs, QueryHypoVaultFactoryArgs, QueryHypoVaultsArgs, QueryManagerUpdatedArgs, QueryManagerUpdatedsArgs, QueryOwnershipTransferredArgs, QueryOwnershipTransferredsArgs, QueryPoolArgs, QueryPoolsArgs, QueryQueuedDepositArgs, QueryQueuedDepositsArgs, QueryQueuedWithdrawalArgs, QueryQueuedWithdrawalsArgs, QueryRedepositStatusChangedArgs, QueryRedepositStatusChangedsArgs, QueryTokenArgs, QueryTokensArgs, QueryTransferArgs, QueryTransfersArgs, QueryUserBalanceArgs, QueryUserBalancesArgs, QueryUserBasesArgs, QueryUserBasisArgs, QueryWithdrawalCancelledArgs, QueryWithdrawalCancelledsArgs, QueryWithdrawalEpochStateArgs, QueryWithdrawalEpochStatesArgs, QueryWithdrawalExecutedArgs, QueryWithdrawalExecutedsArgs, QueryWithdrawalRequestedArgs, QueryWithdrawalRequestedsArgs, QueryWithdrawalsFulfilledArgs, QueryWithdrawalsFulfilledsArgs, Query_MetaArgs, QueuedDeposit, QueuedDepositSnapshot, QueuedDeposit_Filter, QueuedDeposit_OrderBy, QueuedWithdrawal, QueuedWithdrawalSnapshot, QueuedWithdrawal_Filter, QueuedWithdrawal_OrderBy, RATE_AT_TARGET_BITS, ROBINHOOD_CHAIN_ID, ROBINHOOD_DEPLOYMENT, ROBINHOOD_HYPOVAULT_ADDRESSES, ROBINHOOD_HYPOVAULT_CORE_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, ROBINHOOD_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_PANOPTIC_V2_ADDRESSES, ROBINHOOD_RISK_ENGINES, ROBINHOOD_SPY_USDG_30BPS_MARKET, ROBINHOOD_SPY_USDG_30BPS_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_SPY_USDG_30BPS_POOL_DEPLOYMENT_BLOCK, ROBINHOOD_SPY_USDG_30BPS_POOL_INFO, ROBINHOOD_SPY_USDG_5BPS_MARKET, ROBINHOOD_SPY_USDG_5BPS_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_SPY_USDG_5BPS_POOL_DEPLOYMENT_BLOCK, ROBINHOOD_SPY_USDG_5BPS_POOL_INFO, ROBINHOOD_SPY_USDG_MARKET, ROBINHOOD_SPY_USDG_POOL_DEPLOYMENT_BLOCK, ROBINHOOD_SPY_USDG_POOL_INFO, ROBINHOOD_USDG_30BPS_MANAGE_ROOT, ROBINHOOD_USDG_30BPS_POOL_HASH, ROBINHOOD_USDG_5BPS_POOL_HASH, ROBINHOOD_USDG_PLP_30BPS_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_30BPS_POOL_POLICY, ROBINHOOD_USDG_PLP_5BPS_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_5BPS_POOL_POLICY, ROBINHOOD_USDG_PLP_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_POOL_POLICY, ROBINHOOD_USDG_REPLACEMENT_ARTIFACTS, ROBINHOOD_USDG_VAULT_DEPLOYMENT_BLOCK, ReadContractFn, ReadContractParams, RedepositStatusChanged, RedepositStatusChanged_Filter, RedepositStatusChanged_OrderBy, RescueDistributorAbi, RobinhoodSpyUsdgAuthorizationArtifacts, RobinhoodSpyUsdgAuthorizationVersion, RobinhoodUSDGPLP30bpsStrategistLeaves, RobinhoodUSDGPLP30bpsVaultPoolInfos, RobinhoodUSDGPLP5bpsStrategistLeaves, RobinhoodUSDGPLP5bpsVaultPoolInfos, RobinhoodUSDGPLPStrategistLeaves, RobinhoodUSDGPLPVaultPoolInfos, SECONDS_PER_YEAR, SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES, Scalars, Sdk, SdkFunctionWrapper, SemiFungiblePositionManagerAbi, SemiFungiblePositionManagerV1_1Abi, SepoliaUSDCPLPStrategistLeaves, SepoliaUSDCPLPVaultPoolInfos, SepoliaWETHPLPStrategistLeaves, SepoliaWETHPLPVaultPoolInfos, SharePrice, Simple7702AccountAbi, SpyUsdgMarket, StateViewAbi, StrategistLeaf, StrategistLeavesArtifact, TRUSTED_VAULT_SHARE_PRICE_STATUSES, Token, TokenWhitelistPoolsArgs, Token_Filter, Token_OrderBy, Transfer, Transfer_Filter, Transfer_OrderBy, UNREALIZED_INTEREST_BITS, UniswapHelperAbi, UniswapHelperV1_1Abi, UniswapMigratorAbi, UniswapV3FactoryAbi, UniswapV3PoolAbi, UsdcPlpVaultBaseProdConfig, UsdcPlpVaultMainnetLegacyConfig, UsdcPlpVaultMainnetProdConfig, UsdcPlpVaultSepoliaDevConfig, UsdcPlpVaultSepoliaProdConfig, UsdgPlpVaultRobinhoodProdConfig, UserBalance, UserBalance_Filter, UserBalance_OrderBy, UserBasis, UserBasis_Filter, UserBasis_OrderBy, VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultApyAnchor, VaultApyAnchorWindowDays, VaultApyAnchors, VaultApyMetricKind, VaultApyMetrics, VaultApyPreInceptionBlockError, VaultApySeriesPoint, VaultApyStrategy, VaultApyTimescale, VaultApyVaultLike, VaultDeltaHedgeFeeQuote, VaultDisplayNameResolver, VaultDisplayNameResolverInput, VaultLendingAllocationRow, VaultManagerRootTransition, VaultNetLendingApyTrackerInput, VaultPoolCandidateTokenIds, VaultPoolConfiguration, VaultSharePriceSeriesPoint, VaultSharePriceSnapshot, VaultSharePriceStatus, VaultSignedTransactionFeeCaps, VaultSignedTransactionFeeValidationResult, VaultTransactionFeeEstimationError, VaultTransactionFeeQuote, VaultTransactionGasCostLimitError, VaultTransactionReplacementLimitError, WAD, WETHAbi, WethPlpVaultBaseProdConfig, WethPlpVaultMainnetLegacyConfig, WethPlpVaultMainnetProdConfig, WethPlpVaultSepoliaDevConfig, WethPlpVaultSepoliaProdConfig, WithdrawalCancelled, WithdrawalCancelled_Filter, WithdrawalCancelled_OrderBy, WithdrawalEpochState, WithdrawalEpochStateFragment, WithdrawalEpochStateFragmentDoc, WithdrawalEpochStateSnapshot, WithdrawalEpochState_Filter, WithdrawalEpochState_OrderBy, WithdrawalExecuted, WithdrawalExecuted_Filter, WithdrawalExecuted_OrderBy, WithdrawalRequested, WithdrawalRequested_Filter, WithdrawalRequested_OrderBy, WithdrawalsFulfilled, WithdrawalsFulfilled_Filter, WithdrawalsFulfilled_OrderBy, _Block_, _Meta_, _SubgraphErrorPolicy_, adjustUnderlyingIdleBalance, annualizePerSecondRateWad, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, cancelDeposit, chainToHypoVaultGraphQlAPI, clearVaultApyStrategyOverride, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, createVaultSharePriceProcessor, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultSharePriceSnapshot, fetchVaultSharePriceSnapshotWithCandidateRecovery, findLeaf, findLeafForTarget, findLeafForTargetAndSignature, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, generateProof, getAaveHoldings, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMainnetV3AuthorizationArtifactsAtBlock, getMainnetV3AuthorizationGenerations, getMainnetVaultManagerRootAtBlock, getMainnetVaultManagerRootHistory, getMainnetVaultPoolConfigurationAtBlock, getMainnetVaultPoolConfigurationHistory, getMinQueuedDepositEpoch, getMorphoHoldings, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getRobinhoodSpyUsdgAuthorizationGenerations, getSdk, getSpyUsdgMarket, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getStkAaveHoldings, getVaultApyErrorMessage, getVaultApyStrategy, getVaultCandidatePoolInfos, getVaultDeltaHedgeHistoricalFeeQuote, getVaultDeltaHedgeInitialFeeQuote, getVaultManagerRootAtBlock, getVaultManagerRootHistory, getVaultPoolConfigurationAtBlock, getVaultPoolConfigurationHistory, getVaultPoolInfos, getVaultTransactionFeeQuote, getVaultTransactionReplacementFeeQuote, hashRobinhoodSpyUsdgPoolInfos, isExpectedHistoricalReadMiss, isIncorrectPositionListReadError, isStaleOraclePriceError, isStaleOraclePriceReadError, isSupportedChain, isTrustedVaultSharePriceStatus, packMarketState, panopticFactoryV4Abi as panopticFactoryAbi, panopticFactoryV3Abi, panopticFactoryV4Abi, panopticLiquidatorAbi, panopticPoolV2Abi as panopticPoolAbi, panopticPoolV2Abi, panopticQueryAbi, parseCustomError, ratePerSecWadToAprPct, recoverVaultCandidateTokenIdsByPool, requestDeposit, requestWithdrawal, requestWithdrawalMulticall, requireChainDeployment, resolveMainnetV3AuthorizationArtifacts, resolvePositionScanFromBlock, resolveRobinhoodSpyUsdgAuthorizationArtifacts, resolveRobinhoodSpyUsdgAuthorizationState, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultPoolInfosAtBlock, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, statusForVaultSharePriceSnapshot, useCancelDeposit, useClaimVaultShares, useErc20Balance, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, validateVaultSignedTransactionFeeCaps, verifyVaultOpenTokenIdsAtBlock };
36234
+ //#region src/panoptic/v2/sync/positionSnapshot.d.ts
36235
+ /** Applies a confirmed pool event to the account's transaction-final position set. */
36236
+ declare function updatePositionSnapshot({
36237
+ previous,
36238
+ poolAddress,
36239
+ account,
36240
+ transaction,
36241
+ change
36242
+ }: {
36243
+ previous?: {
36244
+ positionIds: readonly bigint[];
36245
+ transactionHash: Hash;
36246
+ fromDispatch: boolean;
36247
+ };
36248
+ poolAddress: Address$1;
36249
+ account: Address$1;
36250
+ transaction: {
36251
+ hash: Hash;
36252
+ input: Hex;
36253
+ from: Address$1;
36254
+ to: Address$1 | null;
36255
+ };
36256
+ change: {
36257
+ type: 'mint' | 'burn';
36258
+ tokenId: bigint;
36259
+ };
36260
+ }): {
36261
+ positionIds: bigint[];
36262
+ transactionHash: Hash;
36263
+ fromDispatch: boolean;
36264
+ };
36265
+
36266
+ //#endregion
36267
+ export { Account, AccountDepositCancelledsArgs, AccountDepositExecutedsArgs, AccountDepositRequestedsArgs, AccountQueuedDepositsArgs, AccountQueuedWithdrawalsArgs, AccountRedepositStatusChangedsArgs, AccountTransfersArgs, AccountUserBalancesArgs, AccountUserBasesArgs, AccountWithdrawalCancelledsArgs, AccountWithdrawalExecutedsArgs, AccountWithdrawalRequestedsArgs, Account_Filter, Account_OrderBy, AccountantUpdated, AccountantUpdated_Filter, AccountantUpdated_OrderBy, Aggregation_Current, Aggregation_Interval, BASE_CHAIN_ID, BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES, BORROW_INDEX_BITS, BPS_SCALE, BaseContractWriteHookOutput, BaseUSDCPLPStrategistLeaves, BaseUSDCPLPVaultPoolInfos, BaseWETHPLPStrategistLeaves, BaseWETHPLPVaultPoolInfos, BlockChangedFilter, Block_Height, BorrowRateApyConfig, BuildManagerInputAtBlockParams, BuildManagerInputParams, Bundle, Bundle_Filter, Bundle_OrderBy, CHAIN_DEPLOYMENTS, CandidateRecoveryContext, CandidateResolverContext, ChainDeployment, CollateralTrackerAbi, CollateralTrackerV1_1Abi, DecodedError, DepositCancelled, DepositCancelled_Filter, DepositCancelled_OrderBy, DepositEpochState, DepositEpochStateFragment, DepositEpochStateFragmentDoc, DepositEpochStateSnapshot, DepositEpochState_Filter, DepositEpochState_OrderBy, DepositExecuted, DepositExecuted_Filter, DepositExecuted_OrderBy, DepositRequested, DepositRequested_Filter, DepositRequested_OrderBy, DepositsFulfilled, DepositsFulfilled_Filter, DepositsFulfilled_OrderBy, Erc1155Abi, Erc20Abi, Exact, FeeWalletUpdated, FeeWalletUpdated_Filter, FeeWalletUpdated_OrderBy, FetchVaultSharePriceSnapshotParams, GetDepositEpochStatesForWithdrawalDocument, GetDepositEpochStatesForWithdrawalQuery, GetDepositEpochStatesForWithdrawalQueryVariables, GetDepositOverviewDocument, GetDepositOverviewQuery, GetDepositOverviewQueryVariables, GetFilteredHypoVaultsDocument, GetFilteredHypoVaultsQuery, GetFilteredHypoVaultsQueryVariables, GetLatestDepositAndWithdrawEpochDocument, GetLatestDepositAndWithdrawEpochQuery, GetLatestDepositAndWithdrawEpochQueryVariables, GetLatestEpochDocument, GetLatestEpochQuery, GetLatestEpochQueryVariables, GetQueuedDepositsForWithdrawalDocument, GetQueuedDepositsForWithdrawalQuery, GetQueuedDepositsForWithdrawalQueryVariables, GetQueuedWithdrawalsForExecutionDocument, GetQueuedWithdrawalsForExecutionQuery, GetQueuedWithdrawalsForExecutionQueryVariables, GetVaultHistoryDocument, GetVaultHistoryQuery, GetVaultHistoryQueryVariables, GetWithdrawalEpochStatesForExecutionDocument, GetWithdrawalEpochStatesForExecutionQuery, GetWithdrawalEpochStatesForExecutionQueryVariables, HypoVault, HypoVaultAbi, HypoVaultDepositEpochStatesArgs, HypoVaultFactory, HypoVaultFactory_Filter, HypoVaultFactory_OrderBy, HypoVaultFragment, HypoVaultFragmentDoc, HypoVaultGraphQLClient, HypoVaultManagerConfig, HypoVaultManagerConfigSchema, HypoVaultManagerTurnkeySigners, HypoVaultManagerWithMerkleVerificationAbi, HypoVaultQueuedDepositsArgs, HypoVaultQueuedWithdrawalsArgs, HypoVaultUserBalancesArgs, HypoVaultUserBasesArgs, HypoVaultWithdrawalEpochStatesArgs, HypoVault_Filter, HypoVault_OrderBy, Incremental, InferLeaf, InputMaybe, IrmCurrent, IrmMarketStateInputs, IrmPoint, LeafDescription, LendingAllocationResult, LendingAllocationRow, MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES, MAINNET_USDC_PLP_COMPILED_POOL_POLICY, MAINNET_USDC_PLP_POOL_POLICY, MAINNET_USDC_REPLACEMENT_ARTIFACTS, MAINNET_V3_AUTHORIZATION_BLOCK, MAINNET_WETH_PLP_COMPILED_POOL_POLICY, MAINNET_WETH_PLP_POOL_POLICY, MAINNET_WETH_REPLACEMENT_ARTIFACTS, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_STALE_DELTA_HEDGE_PRIORITY_FEE_PER_GAS, MAX_VAULT_PRIORITY_FEE_PER_GAS, MAX_VAULT_TRANSACTION_GAS_COST, MIN_VAULT_PRIORITY_FEE_PER_GAS, MainnetLegacyUSDCPLPStrategistLeaves, MainnetLegacyWETHPLPStrategistLeaves, MainnetUSDCPLPLegacyVaultPoolInfos, MainnetUSDCPLPPreviousStrategistLeaves, MainnetUSDCPLPPreviousVaultPoolInfos, MainnetUSDCPLPStrategistLeaves, MainnetUSDCPLPV3AuthorizedStrategistLeaves, MainnetUSDCPLPV3AuthorizedVaultPoolInfos, MainnetUSDCPLPVaultPoolInfos, MainnetV3AuthorizationArtifacts, MainnetV3AuthorizationVersion, MainnetVaultManagerRootTransition, MainnetVaultPoolConfiguration, MainnetWETHPLPLegacyVaultPoolInfos, MainnetWETHPLPPreviousStrategistLeaves, MainnetWETHPLPPreviousVaultPoolInfos, MainnetWETHPLPStrategistLeaves, MainnetWETHPLPV3AuthorizedStrategistLeaves, MainnetWETHPLPV3AuthorizedVaultPoolInfos, MainnetWETHPLPVaultPoolInfos, MakeEmpty, MakeMaybe, MakeOptional, ManageAction, ManageLeaf, ManageVaultArgs, ManagerInputProviderContext, ManagerInputProviderDiagnostics, ManagerInputProviderResult, ManagerUpdated, ManagerUpdated_Filter, ManagerUpdated_OrderBy, Maybe, Multicall3Abi, NonFungiblePositionManagerAbi, OrderDirection, OwnershipTransferred, OwnershipTransferred_Filter, OwnershipTransferred_OrderBy, PanopticFactoryV3Abi, PanopticFactoryV4Abi, PanopticHelperAbi, PanopticPoolAbi, PanopticPoolV1_1Abi, PanopticQueryV1_1Abi, PanopticVaultAccountantAbi, PanopticVaultAccountantManagerInputAbi, Pool, PoolInfo, PoolManagerAbi, Pool_Filter, Pool_OrderBy, PremiumApyConfig, Query, QueryAccountArgs, QueryAccountantUpdatedArgs, QueryAccountantUpdatedsArgs, QueryAccountsArgs, QueryBundleArgs, QueryBundlesArgs, QueryDepositCancelledArgs, QueryDepositCancelledsArgs, QueryDepositEpochStateArgs, QueryDepositEpochStatesArgs, QueryDepositExecutedArgs, QueryDepositExecutedsArgs, QueryDepositRequestedArgs, QueryDepositRequestedsArgs, QueryDepositsFulfilledArgs, QueryDepositsFulfilledsArgs, QueryFeeWalletUpdatedArgs, QueryFeeWalletUpdatedsArgs, QueryHypoVaultArgs, QueryHypoVaultFactoriesArgs, QueryHypoVaultFactoryArgs, QueryHypoVaultsArgs, QueryManagerUpdatedArgs, QueryManagerUpdatedsArgs, QueryOwnershipTransferredArgs, QueryOwnershipTransferredsArgs, QueryPoolArgs, QueryPoolsArgs, QueryQueuedDepositArgs, QueryQueuedDepositsArgs, QueryQueuedWithdrawalArgs, QueryQueuedWithdrawalsArgs, QueryRedepositStatusChangedArgs, QueryRedepositStatusChangedsArgs, QueryTokenArgs, QueryTokensArgs, QueryTransferArgs, QueryTransfersArgs, QueryUserBalanceArgs, QueryUserBalancesArgs, QueryUserBasesArgs, QueryUserBasisArgs, QueryWithdrawalCancelledArgs, QueryWithdrawalCancelledsArgs, QueryWithdrawalEpochStateArgs, QueryWithdrawalEpochStatesArgs, QueryWithdrawalExecutedArgs, QueryWithdrawalExecutedsArgs, QueryWithdrawalRequestedArgs, QueryWithdrawalRequestedsArgs, QueryWithdrawalsFulfilledArgs, QueryWithdrawalsFulfilledsArgs, Query_MetaArgs, QueuedDeposit, QueuedDepositSnapshot, QueuedDeposit_Filter, QueuedDeposit_OrderBy, QueuedWithdrawal, QueuedWithdrawalSnapshot, QueuedWithdrawal_Filter, QueuedWithdrawal_OrderBy, RATE_AT_TARGET_BITS, ROBINHOOD_CHAIN_ID, ROBINHOOD_DEPLOYMENT, ROBINHOOD_HYPOVAULT_ADDRESSES, ROBINHOOD_HYPOVAULT_CORE_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, ROBINHOOD_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_PANOPTIC_V2_ADDRESSES, ROBINHOOD_RISK_ENGINES, ROBINHOOD_SPY_USDG_30BPS_MARKET, ROBINHOOD_SPY_USDG_30BPS_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_SPY_USDG_30BPS_POOL_DEPLOYMENT_BLOCK, ROBINHOOD_SPY_USDG_30BPS_POOL_INFO, ROBINHOOD_SPY_USDG_5BPS_MARKET, ROBINHOOD_SPY_USDG_5BPS_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_SPY_USDG_5BPS_POOL_DEPLOYMENT_BLOCK, ROBINHOOD_SPY_USDG_5BPS_POOL_INFO, ROBINHOOD_SPY_USDG_MARKET, ROBINHOOD_SPY_USDG_POOL_DEPLOYMENT_BLOCK, ROBINHOOD_SPY_USDG_POOL_INFO, ROBINHOOD_USDG_30BPS_MANAGE_ROOT, ROBINHOOD_USDG_30BPS_POOL_HASH, ROBINHOOD_USDG_5BPS_POOL_HASH, ROBINHOOD_USDG_PLP_30BPS_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_30BPS_POOL_POLICY, ROBINHOOD_USDG_PLP_5BPS_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_5BPS_POOL_POLICY, ROBINHOOD_USDG_PLP_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_POOL_POLICY, ROBINHOOD_USDG_REPLACEMENT_ARTIFACTS, ROBINHOOD_USDG_VAULT_DEPLOYMENT_BLOCK, ReadContractFn, ReadContractParams, RedepositStatusChanged, RedepositStatusChanged_Filter, RedepositStatusChanged_OrderBy, RescueDistributorAbi, RobinhoodSpyUsdgAuthorizationArtifacts, RobinhoodSpyUsdgAuthorizationVersion, RobinhoodUSDGPLP30bpsStrategistLeaves, RobinhoodUSDGPLP30bpsVaultPoolInfos, RobinhoodUSDGPLP5bpsStrategistLeaves, RobinhoodUSDGPLP5bpsVaultPoolInfos, RobinhoodUSDGPLPStrategistLeaves, RobinhoodUSDGPLPVaultPoolInfos, SECONDS_PER_YEAR, SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES, Scalars, Sdk, SdkFunctionWrapper, SemiFungiblePositionManagerAbi, SemiFungiblePositionManagerV1_1Abi, SepoliaUSDCPLPStrategistLeaves, SepoliaUSDCPLPVaultPoolInfos, SepoliaWETHPLPStrategistLeaves, SepoliaWETHPLPVaultPoolInfos, SharePrice, Simple7702AccountAbi, SpyUsdgMarket, StateViewAbi, StrategistLeaf, StrategistLeavesArtifact, TRUSTED_VAULT_SHARE_PRICE_STATUSES, Token, TokenWhitelistPoolsArgs, Token_Filter, Token_OrderBy, Transfer, Transfer_Filter, Transfer_OrderBy, UNREALIZED_INTEREST_BITS, UniswapHelperAbi, UniswapHelperV1_1Abi, UniswapMigratorAbi, UniswapV3FactoryAbi, UniswapV3PoolAbi, UsdcPlpVaultBaseProdConfig, UsdcPlpVaultMainnetLegacyConfig, UsdcPlpVaultMainnetProdConfig, UsdcPlpVaultSepoliaDevConfig, UsdcPlpVaultSepoliaProdConfig, UsdgPlpVaultRobinhoodProdConfig, UserBalance, UserBalance_Filter, UserBalance_OrderBy, UserBasis, UserBasis_Filter, UserBasis_OrderBy, VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultApyAnchor, VaultApyAnchorWindowDays, VaultApyAnchors, VaultApyMetricKind, VaultApyMetrics, VaultApyPreInceptionBlockError, VaultApySeriesPoint, VaultApyStrategy, VaultApyTimescale, VaultApyVaultLike, VaultDeltaHedgeFeeQuote, VaultDisplayNameResolver, VaultDisplayNameResolverInput, VaultLendingAllocationRow, VaultManagerRootTransition, VaultNetLendingApyTrackerInput, VaultPoolCandidateTokenIds, VaultPoolConfiguration, VaultPoolPositions, VaultSharePriceSeriesPoint, VaultSharePriceSnapshot, VaultSharePriceStatus, VaultSignedTransactionFeeCaps, VaultSignedTransactionFeeValidationResult, VaultTransactionFeeEstimationError, VaultTransactionFeeQuote, VaultTransactionGasCostLimitError, VaultTransactionReplacementLimitError, WAD, WETHAbi, WethPlpVaultBaseProdConfig, WethPlpVaultMainnetLegacyConfig, WethPlpVaultMainnetProdConfig, WethPlpVaultSepoliaDevConfig, WethPlpVaultSepoliaProdConfig, WithdrawalCancelled, WithdrawalCancelled_Filter, WithdrawalCancelled_OrderBy, WithdrawalEpochState, WithdrawalEpochStateFragment, WithdrawalEpochStateFragmentDoc, WithdrawalEpochStateSnapshot, WithdrawalEpochState_Filter, WithdrawalEpochState_OrderBy, WithdrawalExecuted, WithdrawalExecuted_Filter, WithdrawalExecuted_OrderBy, WithdrawalRequested, WithdrawalRequested_Filter, WithdrawalRequested_OrderBy, WithdrawalsFulfilled, WithdrawalsFulfilled_Filter, WithdrawalsFulfilled_OrderBy, _Block_, _Meta_, _SubgraphErrorPolicy_, adjustUnderlyingIdleBalance, annualizePerSecondRateWad, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, cancelDeposit, chainToHypoVaultGraphQlAPI, clearVaultApyStrategyOverride, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, createVaultSharePriceProcessor, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultSharePriceSnapshot, fetchVaultSharePriceSnapshotWithCandidateRecovery, findLeaf, findLeafForTarget, findLeafForTargetAndSignature, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, generateProof, getAaveHoldings, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMainnetV3AuthorizationArtifactsAtBlock, getMainnetV3AuthorizationGenerations, getMainnetVaultManagerRootAtBlock, getMainnetVaultManagerRootHistory, getMainnetVaultPoolConfigurationAtBlock, getMainnetVaultPoolConfigurationHistory, getMinQueuedDepositEpoch, getMorphoHoldings, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getRobinhoodSpyUsdgAuthorizationGenerations, getSdk, getSpyUsdgMarket, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getStkAaveHoldings, getVaultApyErrorMessage, getVaultApyStrategy, getVaultCandidatePoolInfos, getVaultDeltaHedgeHistoricalFeeQuote, getVaultDeltaHedgeInitialFeeQuote, getVaultManagerRootAtBlock, getVaultManagerRootHistory, getVaultPoolConfigurationAtBlock, getVaultPoolConfigurationHistory, getVaultPoolInfos, getVaultTransactionFeeQuote, getVaultTransactionReplacementFeeQuote, hashRobinhoodSpyUsdgPoolInfos, isExpectedHistoricalReadMiss, isIncorrectPositionListReadError, isStaleOraclePriceError, isStaleOraclePriceReadError, isSupportedChain, isTrustedVaultSharePriceStatus, packMarketState, panopticFactoryV4Abi as panopticFactoryAbi, panopticFactoryV3Abi, panopticFactoryV4Abi, panopticLiquidatorAbi, panopticPoolV2Abi as panopticPoolAbi, panopticPoolV2Abi, panopticQueryAbi, parseCustomError, ratePerSecWadToAprPct, recoverVaultCandidateTokenIdsByPool, requestDeposit, requestWithdrawal, requestWithdrawalMulticall, requireChainDeployment, resolveMainnetV3AuthorizationArtifacts, resolvePositionScanFromBlock, resolveRobinhoodSpyUsdgAuthorizationArtifacts, resolveRobinhoodSpyUsdgAuthorizationState, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultPoolInfosAtBlock, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, statusForVaultSharePriceSnapshot, updatePositionSnapshot, useCancelDeposit, useClaimVaultShares, useErc20Balance, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, validateVaultSignedTransactionFeeCaps, verifyVaultOpenTokenIdsAtBlock };
36226
36268
  //# sourceMappingURL=index.d.ts.map