@panoptic-eng/sdk 1.0.72 → 1.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -20203,137 +20203,754 @@ declare const builderWalletAbi: readonly [{
20203
20203
  readonly inputs: readonly [];
20204
20204
  readonly name: "ZeroAddress";
20205
20205
  }]; //#endregion
20206
- //#region src/hypoVault/analytics/lendingAllocation.d.ts
20207
- type LendingAllocationRow = {
20208
- market: string;
20209
- borrowRateWad: bigint | null;
20210
- supplyRateWad: bigint | null;
20211
- utilizationBps: bigint | null;
20212
- allocationUnderlying: bigint;
20213
- allocationPctBps: bigint;
20214
- isIdle: boolean;
20215
- poolAddress: Address$1 | null;
20216
- collateralTrackerAddress: Address$1 | null;
20217
- };
20218
- type LendingAllocationResult = {
20219
- rows: LendingAllocationRow[];
20220
- totalUnderlying: bigint;
20206
+ //#region src/panoptic/v2/reads/positionValueCurve.d.ts
20207
+ type PositionValueInput = {
20208
+ tokenId: bigint;
20209
+ positionSize: bigint;
20221
20210
  };
20222
- declare function getLendingAllocationRows({
20211
+ type PositionValueCurve = {
20212
+ tick: bigint;
20213
+ value0: bigint;
20214
+ value1: bigint;
20215
+ }[];
20216
+ /** Stable identity for a position-dependent curve; streamia and spot are separate inputs. */
20217
+
20218
+ /** Read the immutable, premium-free part of NLV from the deployed pure calculation. */
20219
+ declare function getPositionValueCurve({
20223
20220
  client,
20224
- chainId,
20225
- vaultAddress,
20226
- underlyingTokenAddress,
20227
- blockNumber
20221
+ queryAddress,
20222
+ positions
20228
20223
  }: {
20229
20224
  client: PublicClient;
20230
- chainId: number;
20231
- vaultAddress: Address$1;
20232
- underlyingTokenAddress: Address$1;
20233
- blockNumber?: bigint;
20234
- }): Promise<LendingAllocationResult>;
20225
+ queryAddress: Address$1;
20226
+ positions: readonly PositionValueInput[];
20227
+ }): Promise<PositionValueCurve>;
20228
+ /**
20229
+ * Between leg boundaries, token0 is affine in inverse sqrt price and token1 in sqrt price.
20230
+ * Endpoint interpolation differs from contract integer rounding by at most a few wei per leg.
20231
+ */
20232
+ declare function preparePositionValueCurve(curve: PositionValueCurve): (tick: bigint) => {
20233
+ value0: bigint;
20234
+ value1: bigint;
20235
+ };
20235
20236
 
20236
20237
  //#endregion
20237
- //#region src/hypoVault/analytics/vaultLendingAllocation.d.ts
20238
- type VaultLendingAllocationRow = {
20239
- market: string;
20240
- supplyRateWad: bigint | null;
20241
- borrowRateWad: bigint | null;
20242
- utilizationBps: bigint | null;
20243
- allocationSourceRaw: bigint;
20244
- sourceTokenAddress: Address$1;
20245
- sourceTokenSymbol: string;
20246
- sourceTokenDecimals: number;
20247
- allocationUnderlying: bigint;
20248
- allocationPctBps: bigint;
20249
- isIdle: boolean;
20250
- unfulfilledDepositAssetsRaw?: bigint;
20251
- reservedWithdrawalAssetsRaw?: bigint;
20252
- hasCollateralMetrics: boolean;
20253
- panopticPoolAddress: Address$1 | null;
20254
- collateralTrackerAddress: Address$1 | null;
20238
+ //#region src/panoptic/v2/types/irm.d.ts
20239
+ type IrmPoint = {
20240
+ utilizationWad: bigint;
20241
+ utilizationPct: number;
20242
+ borrowRatePerSecWad: bigint;
20243
+ supplyRatePerSecWad: bigint;
20244
+ borrowAprPct: number;
20245
+ supplyAprPct: number;
20255
20246
  };
20256
- type VaultNetLendingApyTrackerInput = {
20257
- assets: bigint;
20258
- netBorrows: bigint;
20259
- interestRateWad: bigint;
20260
- utilizationBps: bigint;
20261
- sourceTokenAddress: Address$1;
20262
- token0Address: Address$1;
20263
- token1Address: Address$1;
20264
- underlyingPoolTokenAddress: Address$1;
20265
- twapTick: number;
20247
+ type IrmCurrent = {
20248
+ collateralTrackerAddress: Address$1;
20249
+ riskEngineAddress: Address$1;
20250
+ currentUtilizationBps: bigint;
20251
+ currentUtilizationWad: bigint;
20252
+ currentUtilizationPct: number;
20253
+ borrowRatePerSecWad: bigint;
20254
+ supplyRatePerSecWad: bigint;
20255
+ borrowAprPct: number;
20256
+ supplyAprPct: number;
20257
+ marketStatePacked: bigint;
20266
20258
  };
20267
- declare function adjustUnderlyingIdleBalance({
20268
- rawUnderlyingBalance,
20269
- unfulfilledDepositAssets,
20270
- reservedWithdrawalAssets
20271
- }: {
20272
- rawUnderlyingBalance: bigint;
20273
- unfulfilledDepositAssets: bigint;
20274
- reservedWithdrawalAssets: bigint;
20275
- }): bigint;
20276
- declare function calculateVaultNetLendingApyPctFromTrackerInputs(inputs: VaultNetLendingApyTrackerInput[]): number | null;
20277
- declare function calculateVaultNetLendingYieldUnderlyingFromTrackerInputs({
20278
- inputs,
20279
- intervalSeconds
20280
- }: {
20281
- inputs: VaultNetLendingApyTrackerInput[];
20282
- intervalSeconds: bigint;
20283
- }): bigint | null;
20284
- declare function fetchVaultNetLendingApyPct({
20285
- client,
20259
+ type IrmMarketStateInputs = {
20260
+ borrowIndex: bigint;
20261
+ lastInteractionTimestamp: bigint;
20262
+ rateAtTarget: bigint;
20263
+ unrealizedGlobalInterest: bigint;
20264
+ };
20265
+
20266
+ //#endregion
20267
+ //#region src/hypoVault/utils/buildManagerInput.d.ts
20268
+ type PoolInfo = {
20269
+ pool: Address$1;
20270
+ token0: Address$1;
20271
+ token1: Address$1;
20272
+ maxPriceDeviation: number;
20273
+ /** Earliest block that can contain position history for this specific pool. */
20274
+ positionScanFromBlock?: bigint;
20275
+ };
20276
+ declare function resolvePositionScanFromBlock(poolInfo: PoolInfo, fallbackPoolDeploymentBlock?: number): bigint | undefined;
20277
+ type BuildManagerInputParams = {
20278
+ viemClient: Client;
20279
+ poolInfos: readonly PoolInfo[];
20280
+ tokenIds: bigint[][];
20281
+ underlyingToken: Address$1;
20282
+ wethAddress?: Address$1;
20283
+ erc4626Vaults?: readonly Address$1[];
20284
+ };
20285
+ /**
20286
+ * Builds the encoded managerInput for HypoVault operations like fulfillDeposits and fulfillWithdrawals.
20287
+ *
20288
+ * Supports the full input space of computeNAV by:
20289
+ * - Fetching TWAP ticks from each pool in poolInfos
20290
+ * - Setting token prices based on whether each token matches the underlyingToken address
20291
+ *
20292
+ * @param params.viemClient - Viem client with account for RPC calls
20293
+ * @param params.poolInfos - Array of pool info objects containing pool and token configuration
20294
+ * @param params.tokenIds - 2D array of tokenIds for each pool
20295
+ * @param params.underlyingToken - Address of the vault's underlying token
20296
+ * @param params.erc4626Vaults - Optional list of ERC4626 vaults considered by accountant NAV
20297
+ * @returns Encoded managerInput as Hex
20298
+ */
20299
+ declare function buildManagerInput({
20300
+ viemClient,
20301
+ poolInfos,
20302
+ tokenIds,
20303
+ underlyingToken,
20304
+ wethAddress,
20305
+ erc4626Vaults
20306
+ }: BuildManagerInputParams): Promise<Hex>;
20307
+
20308
+ //#endregion
20309
+ //#region src/hypoVault/utils/vaultManagerInput.d.ts
20310
+ type FetchInit = {
20311
+ method?: string;
20312
+ headers?: Record<string, string>;
20313
+ body?: string;
20314
+ };
20315
+ type FetchResponseLike = {
20316
+ ok: boolean;
20317
+ status: number;
20318
+ json: () => Promise<unknown>;
20319
+ };
20320
+ type FetchLike = (input: string, init?: FetchInit) => Promise<FetchResponseLike>;
20321
+ declare function getVaultPoolInfos(vaultAddress: Address$1, chainId?: number): readonly PoolInfo[];
20322
+ /**
20323
+ * Returns every pool that can contribute historical position candidates for a vault.
20324
+ * The live accountant generation is selected separately when encoding manager input.
20325
+ */
20326
+ declare function getVaultCandidatePoolInfos(vaultAddress: Address$1, chainId: number): readonly PoolInfo[];
20327
+ /** Selects the pool tuple authorized at an exact block before encoding manager input. */
20328
+ declare function resolveVaultPoolInfosAtBlock({
20329
+ viemClient,
20286
20330
  chainId,
20287
20331
  vaultAddress,
20288
- underlyingTokenAddress,
20289
20332
  blockNumber
20290
20333
  }: {
20291
- client: PublicClient;
20334
+ viemClient: Client;
20292
20335
  chainId: number;
20293
20336
  vaultAddress: Address$1;
20294
- underlyingTokenAddress: Address$1;
20295
- blockNumber?: bigint;
20296
- }): Promise<number | null>;
20297
- declare function fetchVaultNetLendingYieldUnderlying({
20298
- client,
20337
+ blockNumber: bigint;
20338
+ }): Promise<readonly PoolInfo[]>;
20339
+ type VaultPoolCandidateTokenIds = {
20340
+ poolAddress: Address$1;
20341
+ /**
20342
+ * All-time candidate tokenIds (subgraph balances ∪ option events), sorted
20343
+ * ascending. Block-INDEPENDENT: a superset valid for any historical block.
20344
+ */
20345
+ candidates: bigint[];
20346
+ };
20347
+ /**
20348
+ * Enrich a cached subgraph candidate superset with the authoritative position
20349
+ * list recovered from Panoptic dispatch history at `blockNumber`.
20350
+ *
20351
+ * This is the repair path for subgraph lag: `getOpenPositionIds` decodes the
20352
+ * most recent position-changing dispatch in the requested range and returns
20353
+ * the complete on-chain-validated list. Recovered IDs are merged into the
20354
+ * all-time candidate cache; closed IDs remain harmless because the normal
20355
+ * per-block verifier filters them out.
20356
+ */
20357
+ declare function recoverVaultCandidateTokenIdsByPool({
20358
+ viemClient,
20299
20359
  chainId,
20300
20360
  vaultAddress,
20301
- underlyingTokenAddress,
20361
+ candidatesByPool,
20362
+ poolInfos,
20302
20363
  blockNumber,
20303
- intervalSeconds
20364
+ fromBlock
20304
20365
  }: {
20305
- client: PublicClient;
20366
+ viemClient: PublicClient;
20306
20367
  chainId: number;
20307
20368
  vaultAddress: Address$1;
20308
- underlyingTokenAddress: Address$1;
20369
+ candidatesByPool: readonly VaultPoolCandidateTokenIds[];
20370
+ poolInfos: readonly PoolInfo[];
20309
20371
  blockNumber: bigint;
20310
- intervalSeconds: bigint;
20311
- }): Promise<bigint | null>;
20312
- declare function fetchVaultLendingAllocation({
20313
- client,
20372
+ fromBlock?: bigint;
20373
+ }): Promise<VaultPoolCandidateTokenIds[]>;
20374
+ /**
20375
+ * Resolve the block-INDEPENDENT candidate tokenIds per pool for a vault — i.e. the
20376
+ * two subgraph paging queries only, with no on-chain verification. Pair with
20377
+ * {@link verifyVaultOpenTokenIdsAtBlock} to narrow to positions open at a given
20378
+ * block. Splitting these out lets a timeseries fetch the candidate set ONCE per
20379
+ * vault instead of re-running the subgraph paging for every anchor block. The
20380
+ * combined {@link resolveVaultTokenIdsByPool} remains for one-shot callers.
20381
+ */
20382
+ declare function resolveVaultHistoricalCandidatesByPool({
20314
20383
  chainId,
20315
20384
  vaultAddress,
20316
- underlyingTokenAddress,
20317
- blockNumber
20385
+ managerAddress,
20386
+ poolInfos,
20387
+ panopticSubgraphUrl,
20388
+ fetchFn
20318
20389
  }: {
20319
- client: PublicClient;
20320
20390
  chainId: number;
20321
20391
  vaultAddress: Address$1;
20322
- underlyingTokenAddress: Address$1;
20323
- blockNumber?: bigint;
20324
- }): Promise<VaultLendingAllocationRow[]>;
20325
-
20326
- //#endregion
20327
- //#region src/hypoVault/cancelDeposit/cancelDeposit.d.ts
20328
- declare const getCancelDepositContractConfig: ({
20329
- vaultAddress
20392
+ managerAddress?: Address$1 | null;
20393
+ poolInfos?: readonly PoolInfo[];
20394
+ panopticSubgraphUrl?: string;
20395
+ fetchFn?: FetchLike;
20396
+ }): Promise<VaultPoolCandidateTokenIds[]>;
20397
+ /**
20398
+ * Narrow pre-resolved {@link VaultPoolCandidateTokenIds} to the tokenIds actually
20399
+ * open at `blockNumber`, per pool, via bounded on-chain multicalls of `getFullPositionsData`. This is the per-block half of the candidate/verify split.
20400
+ */
20401
+ declare function verifyVaultOpenTokenIdsAtBlock({
20402
+ viemClient,
20403
+ vaultAddress,
20404
+ candidatesByPool,
20405
+ blockNumber
20330
20406
  }: {
20407
+ viemClient: Client;
20331
20408
  vaultAddress: Address$1;
20332
- }) => {
20333
- readonly address: Address$1;
20334
- readonly abi: readonly [{
20335
- readonly type: "constructor";
20336
- readonly inputs: readonly [];
20409
+ candidatesByPool: readonly VaultPoolCandidateTokenIds[];
20410
+ blockNumber: bigint;
20411
+ }): Promise<bigint[][]>;
20412
+ declare function resolveVaultTokenIdsByPool({
20413
+ viemClient,
20414
+ chainId,
20415
+ vaultAddress,
20416
+ managerAddress,
20417
+ poolInfos,
20418
+ panopticSubgraphUrl,
20419
+ verificationBlockNumber,
20420
+ fetchFn
20421
+ }: {
20422
+ viemClient: Client;
20423
+ chainId: number;
20424
+ vaultAddress: Address$1;
20425
+ managerAddress?: Address$1 | null;
20426
+ poolInfos?: readonly PoolInfo[];
20427
+ panopticSubgraphUrl?: string;
20428
+ verificationBlockNumber?: bigint;
20429
+ fetchFn?: FetchLike;
20430
+ }): Promise<bigint[][]>;
20431
+ declare function buildVaultManagerInput({
20432
+ viemClient,
20433
+ chainId,
20434
+ vaultAddress,
20435
+ underlyingToken,
20436
+ managerAddress,
20437
+ panopticSubgraphUrl,
20438
+ fetchFn
20439
+ }: {
20440
+ viemClient: Client;
20441
+ chainId: number;
20442
+ vaultAddress: Address$1;
20443
+ underlyingToken: Address$1;
20444
+ managerAddress?: Address$1 | null;
20445
+ panopticSubgraphUrl?: string;
20446
+ fetchFn?: FetchLike;
20447
+ }): Promise<`0x${string}`>;
20448
+ declare function buildVaultManagerInputAtBlock({
20449
+ viemClient,
20450
+ chainId,
20451
+ vaultAddress,
20452
+ underlyingToken,
20453
+ blockNumber,
20454
+ managerAddress,
20455
+ panopticSubgraphUrl,
20456
+ fetchFn
20457
+ }: {
20458
+ viemClient: Client;
20459
+ chainId: number;
20460
+ vaultAddress: Address$1;
20461
+ underlyingToken: Address$1;
20462
+ blockNumber: bigint;
20463
+ managerAddress?: Address$1 | null;
20464
+ panopticSubgraphUrl?: string;
20465
+ fetchFn?: FetchLike;
20466
+ }): Promise<`0x${string}`>;
20467
+
20468
+ //#endregion
20469
+ //#region src/hypoVault/sharePrice/types.d.ts
20470
+ type VaultApyVaultLike = {
20471
+ id: string;
20472
+ accountant: string;
20473
+ createdAt: string;
20474
+ createdAtBlock?: string;
20475
+ firstDepositTimestampSec?: number;
20476
+ underlyingToken: {
20477
+ id: string;
20478
+ symbol?: string;
20479
+ decimals?: string;
20480
+ name?: string;
20481
+ };
20482
+ };
20483
+ type VaultApyMetrics = {
20484
+ apy7dPct: number | null;
20485
+ apy30dPct: number | null;
20486
+ apySinceInceptionPct: number | null;
20487
+ premiumApyPct?: number | null;
20488
+ premiumApy7dPct?: number | null;
20489
+ premiumApy30dPct?: number | null;
20490
+ premiumApySinceInceptionPct?: number | null;
20491
+ premiumVaultAssetsApy7dPct?: number | null;
20492
+ premiumVaultAssetsApy30dPct?: number | null;
20493
+ premiumVaultAssetsApySinceInceptionPct?: number | null;
20494
+ instantBorrowApyPct?: number | null;
20495
+ sharePriceNow?: string | null;
20496
+ sharePriceSinceInception?: string | null;
20497
+ sharePriceNowNavRaw?: string | null;
20498
+ sharePriceNowAssetsDepositedRaw?: string | null;
20499
+ sharePriceNowReservedWithdrawalAssetsRaw?: string | null;
20500
+ sharePriceNowSharesRaw?: string | null;
20501
+ sharePriceNowAdjustedAssetsRaw?: string | null;
20502
+ sharePriceNowBlockNumber?: string | null;
20503
+ sharePriceNowFormula?: string | null;
20504
+ createdAtProbeSharePrice?: string | null;
20505
+ createdAtProbeBlockNumber?: string | null;
20506
+ firstNonNullSharePrice?: string | null;
20507
+ firstNonNullSharePriceTimestampSec?: number | null;
20508
+ firstNonNullSharePriceBlockNumber?: string | null;
20509
+ firstNonNullVsHardcodedInceptionDeltaPct?: string | null;
20510
+ firstNonNullScanAttempts?: number | null;
20511
+ firstNonNullScanFailures?: number | null;
20512
+ hourAgoSharePrice?: string | null;
20513
+ hourlyDeltaPct?: string | null;
20514
+ };
20515
+ type VaultApyTimescale = '7d' | '30d' | 'allTime';
20516
+ type VaultApySeriesPoint = {
20517
+ timestampSec: number;
20518
+ apyPct: number;
20519
+ };
20520
+ type VaultSharePriceSeriesPoint = {
20521
+ timestampSec: number;
20522
+ sharePrice: string;
20523
+ };
20524
+ type VaultApyMetricKind = 'nav' | 'premium' | 'borrowRate';
20525
+ type PremiumApyConfig = {
20526
+ premiumSourceId?: string;
20527
+ };
20528
+ type BorrowRateApyConfig = {
20529
+ rateSourceId?: string;
20530
+ };
20531
+ type VaultPoolPositions = {
20532
+ poolAddress: Address$1;
20533
+ tokenIds: readonly bigint[];
20534
+ };
20535
+ type ManagerInputProviderContext = {
20536
+ chainId: number;
20537
+ vault: VaultApyVaultLike;
20538
+ client: PublicClient;
20539
+ blockNumber: bigint;
20540
+ /**
20541
+ * Pre-resolved, block-independent candidate tokenIds (from
20542
+ * `strategy.resolveCandidates`). When supplied, the provider verifies these at
20543
+ * `blockNumber` instead of re-running the subgraph candidate paging — lets a
20544
+ * timeseries resolve candidates once per vault rather than once per anchor.
20545
+ */
20546
+ candidates?: readonly VaultPoolCandidateTokenIds[];
20547
+ /** Complete position lists at blockNumber, reconstructed from confirmed chain history. */
20548
+ positionsByPool?: readonly VaultPoolPositions[];
20549
+ };
20550
+ type ManagerInputProviderDiagnostics = {
20551
+ poolAddresses: string[];
20552
+ tokenIdsByPool: bigint[][];
20553
+ };
20554
+ type ManagerInputProviderResult = Hex | {
20555
+ managerInput: Hex;
20556
+ diagnostics?: ManagerInputProviderDiagnostics;
20557
+ };
20558
+ type CandidateResolverContext = {
20559
+ chainId: number;
20560
+ vault: VaultApyVaultLike;
20561
+ client: PublicClient;
20562
+ };
20563
+ type CandidateRecoveryContext = CandidateResolverContext & {
20564
+ blockNumber: bigint;
20565
+ fromBlock: bigint;
20566
+ candidates: readonly VaultPoolCandidateTokenIds[];
20567
+ };
20568
+ type VaultApyStrategy = {
20569
+ enabledMetrics: VaultApyMetricKind[];
20570
+ managerInputProvider: (ctx: ManagerInputProviderContext) => Promise<ManagerInputProviderResult>;
20571
+ /**
20572
+ * Optional: resolve the block-independent candidate tokenIds once per vault.
20573
+ * The result is threaded into every `managerInputProvider` call for a
20574
+ * timeseries via `ManagerInputProviderContext.candidates`. Strategies with no
20575
+ * subgraph candidate gather (e.g. the default `0x` strategy) omit this.
20576
+ */
20577
+ resolveCandidates?: (ctx: CandidateResolverContext) => Promise<VaultPoolCandidateTokenIds[]>;
20578
+ /**
20579
+ * Recover missing candidate tokenIds from authoritative chain history after
20580
+ * `computeNAV` reports `IncorrectPositionList`.
20581
+ */
20582
+ recoverCandidates?: (ctx: CandidateRecoveryContext) => Promise<VaultPoolCandidateTokenIds[]>;
20583
+ premium?: PremiumApyConfig;
20584
+ borrowRate?: BorrowRateApyConfig;
20585
+ };
20586
+ type VaultApyAnchorWindowDays = 7 | 30;
20587
+ type VaultApyAnchor = {
20588
+ number: number;
20589
+ timestamp: number;
20590
+ };
20591
+ type VaultApyAnchors = {
20592
+ now: VaultApyAnchor;
20593
+ lookbackByDays: Record<VaultApyAnchorWindowDays, VaultApyAnchor>;
20594
+ nowWindow: VaultApyAnchor[];
20595
+ lookbackWindowByDays: Record<VaultApyAnchorWindowDays, VaultApyAnchor[]>;
20596
+ };
20597
+ type VaultSharePriceSnapshot = {
20598
+ sharePrice: string | null;
20599
+ nav: bigint;
20600
+ assetsDeposited: bigint;
20601
+ reservedWithdrawalAssets: bigint;
20602
+ shares: bigint;
20603
+ blockNumber: bigint;
20604
+ navSource: 'computeNAV' | 'computeNAVStateOverride';
20605
+ managerInputBytes: Hex;
20606
+ managerInputByteLength: number;
20607
+ managerInputHash: Hex;
20608
+ tokenIdCountsByPool: Array<{
20609
+ poolAddress: string | null;
20610
+ tokenCount: number;
20611
+ }> | null;
20612
+ tokenIdsByPool: Array<{
20613
+ poolAddress: string | null;
20614
+ tokenIds: string[];
20615
+ }> | null;
20616
+ };
20617
+
20618
+ //#endregion
20619
+ //#region src/hypoVault/analytics/fixedPortfolio.d.ts
20620
+ /** Values every token amount in raw quote units; token ordering never changes the economic move. */
20621
+ declare function prepareFixedPoolValue({
20622
+ curve,
20623
+ currentTick,
20624
+ quoteIsToken0,
20625
+ balance0,
20626
+ balance1
20627
+ }: {
20628
+ curve: Parameters<typeof preparePositionValueCurve>[0];
20629
+ currentTick: bigint;
20630
+ quoteIsToken0: boolean;
20631
+ balance0: bigint;
20632
+ balance1: bigint;
20633
+ }): (movePct: Decimal.Value) => Decimal;
20634
+ /** Price-only trigger estimates use the manager's option-size denominator and debt-aware delta. */
20635
+
20636
+ /** Fixed holdings, flat carry rates, one terminal price shock; no rehedging or compounding. */
20637
+ declare function calculateFixedPortfolioScenarios({
20638
+ navRaw,
20639
+ quoteDecimals,
20640
+ valueChangeAtMove,
20641
+ premiumDailyRaw,
20642
+ lendingDailyRaw
20643
+ }: {
20644
+ navRaw: bigint;
20645
+ quoteDecimals: number;
20646
+ valueChangeAtMove: (movePct: Decimal.Value) => Decimal;
20647
+ premiumDailyRaw: Decimal.Value;
20648
+ lendingDailyRaw: Decimal.Value;
20649
+ }): {
20650
+ days: string;
20651
+ premiumCost: string;
20652
+ premiumCostPct: string;
20653
+ premiumCostApyPct: string | null;
20654
+ lendingIncome: string;
20655
+ lendingIncomePct: string;
20656
+ lendingApyPct: string | null;
20657
+ netCost: string;
20658
+ netCostPct: string;
20659
+ netCostApyPct: string | null;
20660
+ targets: {
20661
+ target: string;
20662
+ apyPct: string | null;
20663
+ downMovePct: string | null;
20664
+ upMovePct: string | null;
20665
+ }[];
20666
+ points: {
20667
+ movePct: string;
20668
+ returnPct: string;
20669
+ apyPct: string | null;
20670
+ }[];
20671
+ }[];
20672
+ type FixedPortfolioFeeCandle = {
20673
+ t: number;
20674
+ h: number;
20675
+ l: number;
20676
+ c: number;
20677
+ v0: string;
20678
+ v1: string;
20679
+ n: number;
20680
+ liq?: string;
20681
+ };
20682
+ /** Apply current leg liquidity to the recorded fee/price history; this is not paid-streamia accounting. */
20683
+ declare function estimateFixedPortfolioPremium({
20684
+ candles,
20685
+ legs,
20686
+ quoteIsToken0,
20687
+ feeFraction,
20688
+ endTime
20689
+ }: {
20690
+ candles: readonly FixedPortfolioFeeCandle[];
20691
+ legs: readonly {
20692
+ lowerTick: bigint;
20693
+ upperTick: bigint;
20694
+ liquidity: bigint;
20695
+ isLong: boolean;
20696
+ }[];
20697
+ quoteIsToken0: boolean;
20698
+ feeFraction: Decimal.Value;
20699
+ endTime: number;
20700
+ }): Decimal;
20701
+ /** Prepare the same immutable position-value curves used by portfolio sensitivity. Carry is independent. */
20702
+ declare function fetchFixedVaultPortfolio({
20703
+ client,
20704
+ chainId,
20705
+ vault,
20706
+ positionCurveProvider
20707
+ }: {
20708
+ client: PublicClient;
20709
+ chainId: number;
20710
+ vault: VaultApyVaultLike;
20711
+ positionCurveProvider?: typeof getPositionValueCurve;
20712
+ }): Promise<{
20713
+ blockNumber: string;
20714
+ timestamp: string;
20715
+ riskPrice: string;
20716
+ nav: string;
20717
+ scenarios: {
20718
+ days: string;
20719
+ premiumCost: string;
20720
+ premiumCostPct: string;
20721
+ premiumCostApyPct: string | null;
20722
+ lendingIncome: string;
20723
+ lendingIncomePct: string;
20724
+ lendingApyPct: string | null;
20725
+ netCost: string;
20726
+ netCostPct: string;
20727
+ netCostApyPct: string | null;
20728
+ targets: {
20729
+ target: string;
20730
+ apyPct: string | null;
20731
+ downMovePct: string | null;
20732
+ upMovePct: string | null;
20733
+ }[];
20734
+ points: {
20735
+ movePct: string;
20736
+ returnPct: string;
20737
+ apyPct: string | null;
20738
+ }[];
20739
+ }[];
20740
+ hedgeTriggers: {
20741
+ downMovePct: string;
20742
+ upMovePct: string;
20743
+ thresholdBps: string;
20744
+ } | null;
20745
+ feeMarkets: string[];
20746
+ feeHistoryEnd: number;
20747
+ estimateHoldingCosts: (candlesByMarket: ReadonlyMap<string, readonly FixedPortfolioFeeCandle[]>) => Promise<{
20748
+ days: string;
20749
+ premiumCost: string;
20750
+ premiumCostPct: string;
20751
+ premiumCostApyPct: string | null;
20752
+ lendingIncome: string;
20753
+ lendingIncomePct: string;
20754
+ lendingApyPct: string | null;
20755
+ netCost: string;
20756
+ netCostPct: string;
20757
+ netCostApyPct: string | null;
20758
+ targets: {
20759
+ target: string;
20760
+ apyPct: string | null;
20761
+ downMovePct: string | null;
20762
+ upMovePct: string | null;
20763
+ }[];
20764
+ points: {
20765
+ movePct: string;
20766
+ returnPct: string;
20767
+ apyPct: string | null;
20768
+ }[];
20769
+ }[]>;
20770
+ }>;
20771
+
20772
+ //#endregion
20773
+ //#region src/hypoVault/analytics/lendingAllocation.d.ts
20774
+ type LendingAllocationRow = {
20775
+ market: string;
20776
+ borrowRateWad: bigint | null;
20777
+ supplyRateWad: bigint | null;
20778
+ utilizationBps: bigint | null;
20779
+ allocationUnderlying: bigint;
20780
+ allocationPctBps: bigint;
20781
+ isIdle: boolean;
20782
+ poolAddress: Address$1 | null;
20783
+ collateralTrackerAddress: Address$1 | null;
20784
+ };
20785
+ type LendingAllocationResult = {
20786
+ rows: LendingAllocationRow[];
20787
+ totalUnderlying: bigint;
20788
+ };
20789
+ declare function getLendingAllocationRows({
20790
+ client,
20791
+ chainId,
20792
+ vaultAddress,
20793
+ underlyingTokenAddress,
20794
+ blockNumber
20795
+ }: {
20796
+ client: PublicClient;
20797
+ chainId: number;
20798
+ vaultAddress: Address$1;
20799
+ underlyingTokenAddress: Address$1;
20800
+ blockNumber?: bigint;
20801
+ }): Promise<LendingAllocationResult>;
20802
+
20803
+ //#endregion
20804
+ //#region src/hypoVault/analytics/vaultLendingAllocation.d.ts
20805
+ type VaultLendingAllocationRow = {
20806
+ market: string;
20807
+ supplyRateWad: bigint | null;
20808
+ borrowRateWad: bigint | null;
20809
+ utilizationBps: bigint | null;
20810
+ allocationSourceRaw: bigint;
20811
+ sourceTokenAddress: Address$1;
20812
+ sourceTokenSymbol: string;
20813
+ sourceTokenDecimals: number;
20814
+ allocationUnderlying: bigint;
20815
+ allocationPctBps: bigint;
20816
+ isIdle: boolean;
20817
+ unfulfilledDepositAssetsRaw?: bigint;
20818
+ reservedWithdrawalAssetsRaw?: bigint;
20819
+ hasCollateralMetrics: boolean;
20820
+ panopticPoolAddress: Address$1 | null;
20821
+ collateralTrackerAddress: Address$1 | null;
20822
+ };
20823
+ type VaultNetLendingApyTrackerInput = {
20824
+ assets: bigint;
20825
+ netBorrows: bigint;
20826
+ interestRateWad: bigint;
20827
+ utilizationBps: bigint;
20828
+ sourceTokenAddress: Address$1;
20829
+ token0Address: Address$1;
20830
+ token1Address: Address$1;
20831
+ underlyingPoolTokenAddress: Address$1;
20832
+ twapTick: number;
20833
+ };
20834
+ declare function adjustUnderlyingIdleBalance({
20835
+ rawUnderlyingBalance,
20836
+ unfulfilledDepositAssets,
20837
+ reservedWithdrawalAssets
20838
+ }: {
20839
+ rawUnderlyingBalance: bigint;
20840
+ unfulfilledDepositAssets: bigint;
20841
+ reservedWithdrawalAssets: bigint;
20842
+ }): bigint;
20843
+ declare function calculateVaultNetLendingApyPctFromTrackerInputs(inputs: VaultNetLendingApyTrackerInput[]): number | null;
20844
+ declare function calculateVaultNetLendingYieldUnderlyingFromTrackerInputs({
20845
+ inputs,
20846
+ intervalSeconds
20847
+ }: {
20848
+ inputs: VaultNetLendingApyTrackerInput[];
20849
+ intervalSeconds: bigint;
20850
+ }): bigint | null;
20851
+ declare function fetchVaultNetLendingApyPct({
20852
+ client,
20853
+ chainId,
20854
+ vaultAddress,
20855
+ underlyingTokenAddress,
20856
+ blockNumber
20857
+ }: {
20858
+ client: PublicClient;
20859
+ chainId: number;
20860
+ vaultAddress: Address$1;
20861
+ underlyingTokenAddress: Address$1;
20862
+ blockNumber?: bigint;
20863
+ }): Promise<number | null>;
20864
+ declare function fetchVaultNetLendingYieldUnderlying({
20865
+ client,
20866
+ chainId,
20867
+ vaultAddress,
20868
+ underlyingTokenAddress,
20869
+ blockNumber,
20870
+ intervalSeconds
20871
+ }: {
20872
+ client: PublicClient;
20873
+ chainId: number;
20874
+ vaultAddress: Address$1;
20875
+ underlyingTokenAddress: Address$1;
20876
+ blockNumber: bigint;
20877
+ intervalSeconds: bigint;
20878
+ }): Promise<bigint | null>;
20879
+ declare function fetchVaultLendingAllocation({
20880
+ client,
20881
+ chainId,
20882
+ vaultAddress,
20883
+ underlyingTokenAddress,
20884
+ blockNumber
20885
+ }: {
20886
+ client: PublicClient;
20887
+ chainId: number;
20888
+ vaultAddress: Address$1;
20889
+ underlyingTokenAddress: Address$1;
20890
+ blockNumber?: bigint;
20891
+ }): Promise<VaultLendingAllocationRow[]>;
20892
+
20893
+ //#endregion
20894
+ //#region src/hypoVault/analytics/weeklyReturns.d.ts
20895
+ /** Largest sampled move from each eligible interval opening; equal extremes use the first. */
20896
+ declare function calculateMaxSignedPriceChanges<T extends {
20897
+ startTimestampSec: number;
20898
+ endTimestampSec: number;
20899
+ activeIntervals?: readonly {
20900
+ startTimestampSec: number;
20901
+ endTimestampSec: number;
20902
+ }[];
20903
+ }>(periods: readonly T[], history: readonly {
20904
+ timestampSec: number;
20905
+ price: string;
20906
+ }[]): (T & {
20907
+ maxChangePct: string;
20908
+ })[];
20909
+ /** Mean of period maxima across eligible intervals, excluding periods with missing boundaries. */
20910
+ declare function calculateMeanMaxAbsolutePriceChange(periods: readonly {
20911
+ startTimestampSec: number;
20912
+ endTimestampSec: number;
20913
+ activeIntervals?: readonly {
20914
+ startTimestampSec: number;
20915
+ endTimestampSec: number;
20916
+ }[];
20917
+ }[], history: readonly {
20918
+ timestampSec: number;
20919
+ price: string;
20920
+ }[]): {
20921
+ meanMaxAbsoluteChangePct: string | null;
20922
+ observedPeriods: number;
20923
+ totalPeriods: number;
20924
+ };
20925
+ /** Non-overlapping seven-day observations, anchored to the first available share-price snapshot. */
20926
+ declare function calculateWeeklyVaultReturns(history: readonly {
20927
+ timestampSec: number;
20928
+ sharePrice: string;
20929
+ }[]): {
20930
+ startTimestampSec: number;
20931
+ endTimestampSec: number;
20932
+ returnPct: string;
20933
+ apyPct: string;
20934
+ }[];
20935
+ /** Equal-width APY buckets with zero as a boundary, retaining every underlying week for inspection. */
20936
+ declare function buildWeeklyVaultReturnHistogram<T extends ReturnType<typeof calculateWeeklyVaultReturns>[number]>(weeks: readonly T[]): {
20937
+ lowerApyPct: string;
20938
+ upperApyPct: string;
20939
+ count: number;
20940
+ weeks: T[];
20941
+ }[];
20942
+
20943
+ //#endregion
20944
+ //#region src/hypoVault/cancelDeposit/cancelDeposit.d.ts
20945
+ declare const getCancelDepositContractConfig: ({
20946
+ vaultAddress
20947
+ }: {
20948
+ vaultAddress: Address$1;
20949
+ }) => {
20950
+ readonly address: Address$1;
20951
+ readonly abi: readonly [{
20952
+ readonly type: "constructor";
20953
+ readonly inputs: readonly [];
20337
20954
  readonly stateMutability: "nonpayable";
20338
20955
  }, {
20339
20956
  readonly type: "receive";
@@ -24341,48 +24958,6 @@ declare const MainnetLegacyWETHPLPStrategistLeaves: {
24341
24958
  };
24342
24959
  };
24343
24960
 
24344
- //#endregion
24345
- //#region src/hypoVault/utils/buildManagerInput.d.ts
24346
- type PoolInfo = {
24347
- pool: Address$1;
24348
- token0: Address$1;
24349
- token1: Address$1;
24350
- maxPriceDeviation: number;
24351
- /** Earliest block that can contain position history for this specific pool. */
24352
- positionScanFromBlock?: bigint;
24353
- };
24354
- declare function resolvePositionScanFromBlock(poolInfo: PoolInfo, fallbackPoolDeploymentBlock?: number): bigint | undefined;
24355
- type BuildManagerInputParams = {
24356
- viemClient: Client;
24357
- poolInfos: readonly PoolInfo[];
24358
- tokenIds: bigint[][];
24359
- underlyingToken: Address$1;
24360
- wethAddress?: Address$1;
24361
- erc4626Vaults?: readonly Address$1[];
24362
- };
24363
- /**
24364
- * Builds the encoded managerInput for HypoVault operations like fulfillDeposits and fulfillWithdrawals.
24365
- *
24366
- * Supports the full input space of computeNAV by:
24367
- * - Fetching TWAP ticks from each pool in poolInfos
24368
- * - Setting token prices based on whether each token matches the underlyingToken address
24369
- *
24370
- * @param params.viemClient - Viem client with account for RPC calls
24371
- * @param params.poolInfos - Array of pool info objects containing pool and token configuration
24372
- * @param params.tokenIds - 2D array of tokenIds for each pool
24373
- * @param params.underlyingToken - Address of the vault's underlying token
24374
- * @param params.erc4626Vaults - Optional list of ERC4626 vaults considered by accountant NAV
24375
- * @returns Encoded managerInput as Hex
24376
- */
24377
- declare function buildManagerInput({
24378
- viemClient,
24379
- poolInfos,
24380
- tokenIds,
24381
- underlyingToken,
24382
- wethAddress,
24383
- erc4626Vaults
24384
- }: BuildManagerInputParams): Promise<Hex>;
24385
-
24386
24961
  //#endregion
24387
24962
  //#region src/hypoVault/utils/buildManageArgs.d.ts
24388
24963
  /**
@@ -25364,7 +25939,9 @@ declare const MainnetUSDCPLPStrategistLeaves: {
25364
25939
  readonly CanSendValue: boolean;
25365
25940
  }))[];
25366
25941
  readonly MerkleTree: Record<string, readonly `0x${string}`[]>;
25367
- }; //#endregion
25942
+ };
25943
+
25944
+ //#endregion
25368
25945
  //#region src/hypoVault/hypoVaultManagerArtifacts/MainnetUSDCPLPVaultPoolInfos.d.ts
25369
25946
  declare const MainnetUSDCPLPVaultPoolInfos: {
25370
25947
  readonly vaultAddress: Address;
@@ -30704,518 +31281,208 @@ declare const getRequestWithdrawalMulticallContractConfig: ({
30704
31281
  }, {
30705
31282
  readonly type: "error";
30706
31283
  readonly name: "TransferFailed";
30707
- readonly inputs: readonly [];
30708
- }, {
30709
- readonly type: "error";
30710
- readonly name: "WithdrawalNotFulfillable";
30711
- readonly inputs: readonly [];
30712
- }];
30713
- readonly functionName: "multicall";
30714
- readonly args: readonly [`0x${string}`[]];
30715
- };
30716
- declare function simulateRequestWithdrawal({
30717
- viemClient,
30718
- vaultAddress,
30719
- shares,
30720
- account
30721
- }: {
30722
- viemClient: Client<Transport, Chain, Account$1 | undefined>;
30723
- vaultAddress: Address$1;
30724
- shares: bigint;
30725
- account?: Account$1 | Address$1;
30726
- }): Promise<unknown>;
30727
- declare function requestWithdrawal({
30728
- walletClient,
30729
- vaultAddress,
30730
- shares,
30731
- account
30732
- }: {
30733
- walletClient: Client<Transport, Chain, Account$1>;
30734
- vaultAddress: Address$1;
30735
- shares: bigint;
30736
- account?: Account$1 | Address$1;
30737
- }): Promise<unknown>;
30738
- declare function simulateRequestWithdrawalMulticall({
30739
- viemClient,
30740
- vaultAddress,
30741
- multicallCalldatas,
30742
- account
30743
- }: {
30744
- viemClient: Client<Transport, Chain, Account$1 | undefined>;
30745
- vaultAddress: Address$1;
30746
- multicallCalldatas: Hex[];
30747
- account?: Account$1 | Address$1;
30748
- }): Promise<unknown>;
30749
- declare function requestWithdrawalMulticall({
30750
- walletClient,
30751
- vaultAddress,
30752
- multicallCalldatas,
30753
- account
30754
- }: {
30755
- walletClient: Client<Transport, Chain, Account$1>;
30756
- vaultAddress: Address$1;
30757
- multicallCalldatas: Hex[];
30758
- account?: Account$1 | Address$1;
30759
- }): Promise<unknown>;
30760
- declare function buildExecuteDepositCalldatas({
30761
- user,
30762
- epochsToExecute
30763
- }: {
30764
- user: Address$1;
30765
- epochsToExecute: bigint[];
30766
- }): Hex[];
30767
- declare function buildClaimVaultShareCalldatas({
30768
- user,
30769
- queuedDeposits,
30770
- depositEpochStates,
30771
- currentDepositEpoch
30772
- }: {
30773
- user: Address$1;
30774
- queuedDeposits: QueuedDepositSnapshot[];
30775
- depositEpochStates: DepositEpochStateSnapshot[];
30776
- currentDepositEpoch: bigint;
30777
- }): {
30778
- claimableDepositShares: {
30779
- byEpoch: ClaimableSharesByEpoch[];
30780
- byExecutionEpoch: ClaimableExecutionSharesByEpoch[];
30781
- epochsToExecute: bigint[];
30782
- totalShares: bigint;
30783
- };
30784
- selectedExecuteDepositEpochs: bigint[];
30785
- multicallCalldatas: `0x${string}`[];
30786
- };
30787
- declare function buildRequestWithdrawalCalldatas({
30788
- user,
30789
- desiredAssets,
30790
- requestAllAvailableShares,
30791
- sharePrice,
30792
- walletShares,
30793
- queuedDeposits,
30794
- depositEpochStates,
30795
- currentDepositEpoch
30796
- }: {
30797
- user: Address$1;
30798
- desiredAssets: bigint;
30799
- requestAllAvailableShares?: boolean;
30800
- sharePrice: SharePrice;
30801
- walletShares: bigint;
30802
- queuedDeposits: QueuedDepositSnapshot[];
30803
- depositEpochStates: DepositEpochStateSnapshot[];
30804
- currentDepositEpoch: bigint;
30805
- }): {
30806
- claimableDepositShares: {
30807
- byEpoch: ClaimableSharesByEpoch[];
30808
- byExecutionEpoch: ClaimableExecutionSharesByEpoch[];
30809
- epochsToExecute: bigint[];
30810
- totalShares: bigint;
30811
- };
30812
- selectedExecuteDepositEpochs: bigint[];
30813
- availableShares: bigint;
30814
- sharesToRequest: bigint;
30815
- multicallCalldatas: `0x${string}`[];
30816
- }; //#endregion
30817
- //#region src/hypoVault/robinhoodSpyUsdgAuthorization.d.ts
30818
- declare const ROBINHOOD_USDG_30BPS_MANAGE_ROOT: "0x5ef821042a85fea05901e4612e8a8d60efd2468ca08f0810d5691e23ea98967f";
30819
- declare const ROBINHOOD_USDG_30BPS_POOL_HASH: "0x12b0d7232a6250eb3cf61040edbf4015717756c4819926aedc3670a4217e56cc";
30820
- declare const ROBINHOOD_USDG_5BPS_POOL_HASH: "0xc5dcfa7ae982f641493c9f848bb93cb138a1ad5b3bc13c309b7625850af8562b";
30821
- type RobinhoodSpyUsdgAuthorizationVersion = '30bps' | '5bps' | 'replacement';
30822
- type RobinhoodSpyUsdgAuthorizationArtifacts = {
30823
- readonly version: RobinhoodSpyUsdgAuthorizationVersion;
30824
- readonly blockNumber: bigint;
30825
- readonly poolInfos: readonly PoolInfo[];
30826
- readonly strategistLeaves: StrategistLeavesArtifact;
30827
- readonly poolHash: Hex;
30828
- readonly manageRoot: Hex;
30829
- };
30830
- type Generation = Omit<RobinhoodSpyUsdgAuthorizationArtifacts, 'blockNumber'>;
30831
- declare function hashRobinhoodSpyUsdgPoolInfos(poolInfos: readonly PoolInfo[]): Hex;
30832
- declare function getRobinhoodSpyUsdgAuthorizationGenerations(): readonly Generation[];
30833
- declare function resolveRobinhoodSpyUsdgAuthorizationState({
30834
- blockNumber,
30835
- poolHash,
30836
- manageRoot
30837
- }: {
30838
- blockNumber: bigint;
30839
- poolHash: Hex;
30840
- manageRoot: Hex;
30841
- }): RobinhoodSpyUsdgAuthorizationArtifacts;
30842
- declare function resolveRobinhoodSpyUsdgAuthorizationArtifacts({
30843
- viemClient,
30844
- chainId,
30845
- vault,
30846
- blockNumber
30847
- }: {
30848
- viemClient: Client;
30849
- chainId: number;
30850
- vault: Address$1;
30851
- blockNumber?: bigint;
30852
- }): Promise<RobinhoodSpyUsdgAuthorizationArtifacts | null>;
30853
-
30854
- //#endregion
30855
- //#region src/hypoVault/sharePrice/errors.d.ts
30856
- declare class VaultApyPreInceptionBlockError extends Error {
30857
- readonly blockNumber: bigint;
30858
- readonly minBlockNumber: bigint;
30859
- constructor({
30860
- blockNumber,
30861
- minBlockNumber,
30862
- context
30863
- }: {
30864
- blockNumber: bigint;
30865
- minBlockNumber: bigint;
30866
- context: string;
30867
- });
30868
- }
30869
- declare function getVaultApyErrorMessage(error: unknown): string;
30870
- declare function isExpectedHistoricalReadMiss(error: unknown): boolean;
30871
- declare function isStaleOraclePriceError(error: unknown): boolean;
30872
- declare function isStaleOraclePriceReadError(error: unknown): boolean;
30873
- declare function isIncorrectPositionListReadError(error: unknown): boolean;
30874
- declare const TRUSTED_VAULT_SHARE_PRICE_STATUSES: readonly ["ok", "stale_oracle_override"];
30875
- declare function isTrustedVaultSharePriceStatus(status: string): status is (typeof TRUSTED_VAULT_SHARE_PRICE_STATUSES)[number];
30876
-
30877
- //#endregion
30878
- //#region src/hypoVault/sharePrice/firstDeposit.d.ts
30879
- declare function fetchFirstDepositTimestampByVaultId({
30880
- chainId,
30881
- vaultAddresses
30882
- }: {
30883
- chainId: number;
30884
- vaultAddresses: Address$1[] | string[];
30885
- }): Promise<Record<string, number>>;
30886
-
30887
- //#endregion
30888
- //#region src/hypoVault/sharePrice/math.d.ts
30889
- declare function computeSharePriceFromNavSnapshot({
30890
- nav,
30891
- assetsDeposited,
30892
- reservedWithdrawalAssets,
30893
- shares
30894
- }: {
30895
- nav: bigint;
30896
- assetsDeposited: bigint;
30897
- reservedWithdrawalAssets: bigint;
30898
- shares: bigint;
30899
- }): Decimal | null;
30900
- declare function calculateAnnualizedApyPct({
30901
- currentSharePrice,
30902
- previousSharePrice,
30903
- days
30904
- }: {
30905
- currentSharePrice: Decimal;
30906
- previousSharePrice: Decimal;
30907
- days: number;
30908
- }): number | null;
30909
-
30910
- //#endregion
30911
- //#region src/hypoVault/utils/vaultManagerInput.d.ts
30912
- type FetchInit = {
30913
- method?: string;
30914
- headers?: Record<string, string>;
30915
- body?: string;
30916
- };
30917
- type FetchResponseLike = {
30918
- ok: boolean;
30919
- status: number;
30920
- json: () => Promise<unknown>;
30921
- };
30922
- type FetchLike = (input: string, init?: FetchInit) => Promise<FetchResponseLike>;
30923
- declare function getVaultPoolInfos(vaultAddress: Address$1, chainId?: number): readonly PoolInfo[];
30924
- /**
30925
- * Returns every pool that can contribute historical position candidates for a vault.
30926
- * The live accountant generation is selected separately when encoding manager input.
30927
- */
30928
- declare function getVaultCandidatePoolInfos(vaultAddress: Address$1, chainId: number): readonly PoolInfo[];
30929
- /** Selects the pool tuple authorized at an exact block before encoding manager input. */
30930
- declare function resolveVaultPoolInfosAtBlock({
30931
- viemClient,
30932
- chainId,
30933
- vaultAddress,
30934
- blockNumber
30935
- }: {
30936
- viemClient: Client;
30937
- chainId: number;
30938
- vaultAddress: Address$1;
30939
- blockNumber: bigint;
30940
- }): Promise<readonly PoolInfo[]>;
30941
- type VaultPoolCandidateTokenIds = {
30942
- poolAddress: Address$1;
30943
- /**
30944
- * All-time candidate tokenIds (subgraph balances ∪ option events), sorted
30945
- * ascending. Block-INDEPENDENT: a superset valid for any historical block.
30946
- */
30947
- candidates: bigint[];
30948
- };
30949
- /**
30950
- * Enrich a cached subgraph candidate superset with the authoritative position
30951
- * list recovered from Panoptic dispatch history at `blockNumber`.
30952
- *
30953
- * This is the repair path for subgraph lag: `getOpenPositionIds` decodes the
30954
- * most recent position-changing dispatch in the requested range and returns
30955
- * the complete on-chain-validated list. Recovered IDs are merged into the
30956
- * all-time candidate cache; closed IDs remain harmless because the normal
30957
- * per-block verifier filters them out.
30958
- */
30959
- declare function recoverVaultCandidateTokenIdsByPool({
31284
+ readonly inputs: readonly [];
31285
+ }, {
31286
+ readonly type: "error";
31287
+ readonly name: "WithdrawalNotFulfillable";
31288
+ readonly inputs: readonly [];
31289
+ }];
31290
+ readonly functionName: "multicall";
31291
+ readonly args: readonly [`0x${string}`[]];
31292
+ };
31293
+ declare function simulateRequestWithdrawal({
30960
31294
  viemClient,
30961
- chainId,
30962
31295
  vaultAddress,
30963
- candidatesByPool,
30964
- poolInfos,
30965
- blockNumber,
30966
- fromBlock
31296
+ shares,
31297
+ account
30967
31298
  }: {
30968
- viemClient: PublicClient;
30969
- chainId: number;
31299
+ viemClient: Client<Transport, Chain, Account$1 | undefined>;
30970
31300
  vaultAddress: Address$1;
30971
- candidatesByPool: readonly VaultPoolCandidateTokenIds[];
30972
- poolInfos: readonly PoolInfo[];
30973
- blockNumber: bigint;
30974
- fromBlock?: bigint;
30975
- }): Promise<VaultPoolCandidateTokenIds[]>;
30976
- /**
30977
- * Resolve the block-INDEPENDENT candidate tokenIds per pool for a vault — i.e. the
30978
- * two subgraph paging queries only, with no on-chain verification. Pair with
30979
- * {@link verifyVaultOpenTokenIdsAtBlock} to narrow to positions open at a given
30980
- * block. Splitting these out lets a timeseries fetch the candidate set ONCE per
30981
- * vault instead of re-running the subgraph paging for every anchor block. The
30982
- * combined {@link resolveVaultTokenIdsByPool} remains for one-shot callers.
30983
- */
30984
- declare function resolveVaultHistoricalCandidatesByPool({
30985
- chainId,
31301
+ shares: bigint;
31302
+ account?: Account$1 | Address$1;
31303
+ }): Promise<unknown>;
31304
+ declare function requestWithdrawal({
31305
+ walletClient,
30986
31306
  vaultAddress,
30987
- managerAddress,
30988
- poolInfos,
30989
- panopticSubgraphUrl,
30990
- fetchFn
31307
+ shares,
31308
+ account
30991
31309
  }: {
30992
- chainId: number;
31310
+ walletClient: Client<Transport, Chain, Account$1>;
30993
31311
  vaultAddress: Address$1;
30994
- managerAddress?: Address$1 | null;
30995
- poolInfos?: readonly PoolInfo[];
30996
- panopticSubgraphUrl?: string;
30997
- fetchFn?: FetchLike;
30998
- }): Promise<VaultPoolCandidateTokenIds[]>;
30999
- /**
31000
- * Narrow pre-resolved {@link VaultPoolCandidateTokenIds} to the tokenIds actually
31001
- * open at `blockNumber`, per pool, via bounded on-chain multicalls of `getFullPositionsData`. This is the per-block half of the candidate/verify split.
31002
- */
31003
- declare function verifyVaultOpenTokenIdsAtBlock({
31312
+ shares: bigint;
31313
+ account?: Account$1 | Address$1;
31314
+ }): Promise<unknown>;
31315
+ declare function simulateRequestWithdrawalMulticall({
31004
31316
  viemClient,
31005
31317
  vaultAddress,
31006
- candidatesByPool,
31007
- blockNumber
31318
+ multicallCalldatas,
31319
+ account
31008
31320
  }: {
31009
- viemClient: Client;
31321
+ viemClient: Client<Transport, Chain, Account$1 | undefined>;
31010
31322
  vaultAddress: Address$1;
31011
- candidatesByPool: readonly VaultPoolCandidateTokenIds[];
31012
- blockNumber: bigint;
31013
- }): Promise<bigint[][]>;
31014
- declare function resolveVaultTokenIdsByPool({
31015
- viemClient,
31016
- chainId,
31323
+ multicallCalldatas: Hex[];
31324
+ account?: Account$1 | Address$1;
31325
+ }): Promise<unknown>;
31326
+ declare function requestWithdrawalMulticall({
31327
+ walletClient,
31017
31328
  vaultAddress,
31018
- managerAddress,
31019
- poolInfos,
31020
- panopticSubgraphUrl,
31021
- verificationBlockNumber,
31022
- fetchFn
31329
+ multicallCalldatas,
31330
+ account
31023
31331
  }: {
31024
- viemClient: Client;
31025
- chainId: number;
31332
+ walletClient: Client<Transport, Chain, Account$1>;
31026
31333
  vaultAddress: Address$1;
31027
- managerAddress?: Address$1 | null;
31028
- poolInfos?: readonly PoolInfo[];
31029
- panopticSubgraphUrl?: string;
31030
- verificationBlockNumber?: bigint;
31031
- fetchFn?: FetchLike;
31032
- }): Promise<bigint[][]>;
31033
- declare function buildVaultManagerInput({
31034
- viemClient,
31035
- chainId,
31036
- vaultAddress,
31037
- underlyingToken,
31038
- managerAddress,
31039
- panopticSubgraphUrl,
31040
- fetchFn
31334
+ multicallCalldatas: Hex[];
31335
+ account?: Account$1 | Address$1;
31336
+ }): Promise<unknown>;
31337
+ declare function buildExecuteDepositCalldatas({
31338
+ user,
31339
+ epochsToExecute
31041
31340
  }: {
31042
- viemClient: Client;
31043
- chainId: number;
31044
- vaultAddress: Address$1;
31045
- underlyingToken: Address$1;
31046
- managerAddress?: Address$1 | null;
31047
- panopticSubgraphUrl?: string;
31048
- fetchFn?: FetchLike;
31049
- }): Promise<`0x${string}`>;
31050
- declare function buildVaultManagerInputAtBlock({
31051
- viemClient,
31052
- chainId,
31053
- vaultAddress,
31054
- underlyingToken,
31055
- blockNumber,
31056
- managerAddress,
31057
- panopticSubgraphUrl,
31058
- fetchFn
31341
+ user: Address$1;
31342
+ epochsToExecute: bigint[];
31343
+ }): Hex[];
31344
+ declare function buildClaimVaultShareCalldatas({
31345
+ user,
31346
+ queuedDeposits,
31347
+ depositEpochStates,
31348
+ currentDepositEpoch
31059
31349
  }: {
31060
- viemClient: Client;
31061
- chainId: number;
31062
- vaultAddress: Address$1;
31063
- underlyingToken: Address$1;
31064
- blockNumber: bigint;
31065
- managerAddress?: Address$1 | null;
31066
- panopticSubgraphUrl?: string;
31067
- fetchFn?: FetchLike;
31068
- }): Promise<`0x${string}`>;
31069
-
31070
- //#endregion
31071
- //#region src/hypoVault/sharePrice/types.d.ts
31072
- type VaultApyVaultLike = {
31073
- id: string;
31074
- accountant: string;
31075
- createdAt: string;
31076
- createdAtBlock?: string;
31077
- firstDepositTimestampSec?: number;
31078
- underlyingToken: {
31079
- id: string;
31080
- symbol?: string;
31081
- decimals?: string;
31082
- name?: string;
31350
+ user: Address$1;
31351
+ queuedDeposits: QueuedDepositSnapshot[];
31352
+ depositEpochStates: DepositEpochStateSnapshot[];
31353
+ currentDepositEpoch: bigint;
31354
+ }): {
31355
+ claimableDepositShares: {
31356
+ byEpoch: ClaimableSharesByEpoch[];
31357
+ byExecutionEpoch: ClaimableExecutionSharesByEpoch[];
31358
+ epochsToExecute: bigint[];
31359
+ totalShares: bigint;
31083
31360
  };
31361
+ selectedExecuteDepositEpochs: bigint[];
31362
+ multicallCalldatas: `0x${string}`[];
31084
31363
  };
31085
- type VaultApyMetrics = {
31086
- apy7dPct: number | null;
31087
- apy30dPct: number | null;
31088
- apySinceInceptionPct: number | null;
31089
- premiumApyPct?: number | null;
31090
- premiumApy7dPct?: number | null;
31091
- premiumApy30dPct?: number | null;
31092
- premiumApySinceInceptionPct?: number | null;
31093
- premiumVaultAssetsApy7dPct?: number | null;
31094
- premiumVaultAssetsApy30dPct?: number | null;
31095
- premiumVaultAssetsApySinceInceptionPct?: number | null;
31096
- instantBorrowApyPct?: number | null;
31097
- sharePriceNow?: string | null;
31098
- sharePriceSinceInception?: string | null;
31099
- sharePriceNowNavRaw?: string | null;
31100
- sharePriceNowAssetsDepositedRaw?: string | null;
31101
- sharePriceNowReservedWithdrawalAssetsRaw?: string | null;
31102
- sharePriceNowSharesRaw?: string | null;
31103
- sharePriceNowAdjustedAssetsRaw?: string | null;
31104
- sharePriceNowBlockNumber?: string | null;
31105
- sharePriceNowFormula?: string | null;
31106
- createdAtProbeSharePrice?: string | null;
31107
- createdAtProbeBlockNumber?: string | null;
31108
- firstNonNullSharePrice?: string | null;
31109
- firstNonNullSharePriceTimestampSec?: number | null;
31110
- firstNonNullSharePriceBlockNumber?: string | null;
31111
- firstNonNullVsHardcodedInceptionDeltaPct?: string | null;
31112
- firstNonNullScanAttempts?: number | null;
31113
- firstNonNullScanFailures?: number | null;
31114
- hourAgoSharePrice?: string | null;
31115
- hourlyDeltaPct?: string | null;
31116
- };
31117
- type VaultApyTimescale = '7d' | '30d' | 'allTime';
31118
- type VaultApySeriesPoint = {
31119
- timestampSec: number;
31120
- apyPct: number;
31121
- };
31122
- type VaultSharePriceSeriesPoint = {
31123
- timestampSec: number;
31124
- sharePrice: string;
31125
- };
31126
- type VaultApyMetricKind = 'nav' | 'premium' | 'borrowRate';
31127
- type PremiumApyConfig = {
31128
- premiumSourceId?: string;
31129
- };
31130
- type BorrowRateApyConfig = {
31131
- rateSourceId?: string;
31132
- };
31133
- type VaultPoolPositions = {
31134
- poolAddress: Address$1;
31135
- tokenIds: readonly bigint[];
31364
+ declare function buildRequestWithdrawalCalldatas({
31365
+ user,
31366
+ desiredAssets,
31367
+ requestAllAvailableShares,
31368
+ sharePrice,
31369
+ walletShares,
31370
+ queuedDeposits,
31371
+ depositEpochStates,
31372
+ currentDepositEpoch
31373
+ }: {
31374
+ user: Address$1;
31375
+ desiredAssets: bigint;
31376
+ requestAllAvailableShares?: boolean;
31377
+ sharePrice: SharePrice;
31378
+ walletShares: bigint;
31379
+ queuedDeposits: QueuedDepositSnapshot[];
31380
+ depositEpochStates: DepositEpochStateSnapshot[];
31381
+ currentDepositEpoch: bigint;
31382
+ }): {
31383
+ claimableDepositShares: {
31384
+ byEpoch: ClaimableSharesByEpoch[];
31385
+ byExecutionEpoch: ClaimableExecutionSharesByEpoch[];
31386
+ epochsToExecute: bigint[];
31387
+ totalShares: bigint;
31388
+ };
31389
+ selectedExecuteDepositEpochs: bigint[];
31390
+ availableShares: bigint;
31391
+ sharesToRequest: bigint;
31392
+ multicallCalldatas: `0x${string}`[];
31393
+ }; //#endregion
31394
+ //#region src/hypoVault/robinhoodSpyUsdgAuthorization.d.ts
31395
+ declare const ROBINHOOD_USDG_30BPS_MANAGE_ROOT: "0x5ef821042a85fea05901e4612e8a8d60efd2468ca08f0810d5691e23ea98967f";
31396
+ declare const ROBINHOOD_USDG_30BPS_POOL_HASH: "0x12b0d7232a6250eb3cf61040edbf4015717756c4819926aedc3670a4217e56cc";
31397
+ declare const ROBINHOOD_USDG_5BPS_POOL_HASH: "0xc5dcfa7ae982f641493c9f848bb93cb138a1ad5b3bc13c309b7625850af8562b";
31398
+ type RobinhoodSpyUsdgAuthorizationVersion = '30bps' | '5bps' | 'replacement';
31399
+ type RobinhoodSpyUsdgAuthorizationArtifacts = {
31400
+ readonly version: RobinhoodSpyUsdgAuthorizationVersion;
31401
+ readonly blockNumber: bigint;
31402
+ readonly poolInfos: readonly PoolInfo[];
31403
+ readonly strategistLeaves: StrategistLeavesArtifact;
31404
+ readonly poolHash: Hex;
31405
+ readonly manageRoot: Hex;
31136
31406
  };
31137
- type ManagerInputProviderContext = {
31138
- chainId: number;
31139
- vault: VaultApyVaultLike;
31140
- client: PublicClient;
31407
+ type Generation = Omit<RobinhoodSpyUsdgAuthorizationArtifacts, 'blockNumber'>;
31408
+ declare function hashRobinhoodSpyUsdgPoolInfos(poolInfos: readonly PoolInfo[]): Hex;
31409
+ declare function getRobinhoodSpyUsdgAuthorizationGenerations(): readonly Generation[];
31410
+ declare function resolveRobinhoodSpyUsdgAuthorizationState({
31411
+ blockNumber,
31412
+ poolHash,
31413
+ manageRoot
31414
+ }: {
31141
31415
  blockNumber: bigint;
31142
- /**
31143
- * Pre-resolved, block-independent candidate tokenIds (from
31144
- * `strategy.resolveCandidates`). When supplied, the provider verifies these at
31145
- * `blockNumber` instead of re-running the subgraph candidate paging — lets a
31146
- * timeseries resolve candidates once per vault rather than once per anchor.
31147
- */
31148
- candidates?: readonly VaultPoolCandidateTokenIds[];
31149
- /** Complete position lists at blockNumber, reconstructed from confirmed chain history. */
31150
- positionsByPool?: readonly VaultPoolPositions[];
31151
- };
31152
- type ManagerInputProviderDiagnostics = {
31153
- poolAddresses: string[];
31154
- tokenIdsByPool: bigint[][];
31155
- };
31156
- type ManagerInputProviderResult = Hex | {
31157
- managerInput: Hex;
31158
- diagnostics?: ManagerInputProviderDiagnostics;
31159
- };
31160
- type CandidateResolverContext = {
31416
+ poolHash: Hex;
31417
+ manageRoot: Hex;
31418
+ }): RobinhoodSpyUsdgAuthorizationArtifacts;
31419
+ declare function resolveRobinhoodSpyUsdgAuthorizationArtifacts({
31420
+ viemClient,
31421
+ chainId,
31422
+ vault,
31423
+ blockNumber
31424
+ }: {
31425
+ viemClient: Client;
31161
31426
  chainId: number;
31162
- vault: VaultApyVaultLike;
31163
- client: PublicClient;
31164
- };
31165
- type CandidateRecoveryContext = CandidateResolverContext & {
31166
- blockNumber: bigint;
31167
- fromBlock: bigint;
31168
- candidates: readonly VaultPoolCandidateTokenIds[];
31169
- };
31170
- type VaultApyStrategy = {
31171
- enabledMetrics: VaultApyMetricKind[];
31172
- managerInputProvider: (ctx: ManagerInputProviderContext) => Promise<ManagerInputProviderResult>;
31173
- /**
31174
- * Optional: resolve the block-independent candidate tokenIds once per vault.
31175
- * The result is threaded into every `managerInputProvider` call for a
31176
- * timeseries via `ManagerInputProviderContext.candidates`. Strategies with no
31177
- * subgraph candidate gather (e.g. the default `0x` strategy) omit this.
31178
- */
31179
- resolveCandidates?: (ctx: CandidateResolverContext) => Promise<VaultPoolCandidateTokenIds[]>;
31180
- /**
31181
- * Recover missing candidate tokenIds from authoritative chain history after
31182
- * `computeNAV` reports `IncorrectPositionList`.
31183
- */
31184
- recoverCandidates?: (ctx: CandidateRecoveryContext) => Promise<VaultPoolCandidateTokenIds[]>;
31185
- premium?: PremiumApyConfig;
31186
- borrowRate?: BorrowRateApyConfig;
31187
- };
31188
- type VaultApyAnchorWindowDays = 7 | 30;
31189
- type VaultApyAnchor = {
31190
- number: number;
31191
- timestamp: number;
31192
- };
31193
- type VaultApyAnchors = {
31194
- now: VaultApyAnchor;
31195
- lookbackByDays: Record<VaultApyAnchorWindowDays, VaultApyAnchor>;
31196
- nowWindow: VaultApyAnchor[];
31197
- lookbackWindowByDays: Record<VaultApyAnchorWindowDays, VaultApyAnchor[]>;
31198
- };
31199
- type VaultSharePriceSnapshot = {
31200
- sharePrice: string | null;
31427
+ vault: Address$1;
31428
+ blockNumber?: bigint;
31429
+ }): Promise<RobinhoodSpyUsdgAuthorizationArtifacts | null>;
31430
+
31431
+ //#endregion
31432
+ //#region src/hypoVault/sharePrice/errors.d.ts
31433
+ declare class VaultApyPreInceptionBlockError extends Error {
31434
+ readonly blockNumber: bigint;
31435
+ readonly minBlockNumber: bigint;
31436
+ constructor({
31437
+ blockNumber,
31438
+ minBlockNumber,
31439
+ context
31440
+ }: {
31441
+ blockNumber: bigint;
31442
+ minBlockNumber: bigint;
31443
+ context: string;
31444
+ });
31445
+ }
31446
+ declare function getVaultApyErrorMessage(error: unknown): string;
31447
+ declare function isExpectedHistoricalReadMiss(error: unknown): boolean;
31448
+ declare function isStaleOraclePriceError(error: unknown): boolean;
31449
+ declare function isStaleOraclePriceReadError(error: unknown): boolean;
31450
+ declare function isIncorrectPositionListReadError(error: unknown): boolean;
31451
+ declare const TRUSTED_VAULT_SHARE_PRICE_STATUSES: readonly ["ok", "stale_oracle_override"];
31452
+ declare function isTrustedVaultSharePriceStatus(status: string): status is (typeof TRUSTED_VAULT_SHARE_PRICE_STATUSES)[number];
31453
+
31454
+ //#endregion
31455
+ //#region src/hypoVault/sharePrice/firstDeposit.d.ts
31456
+ declare function fetchFirstDepositTimestampByVaultId({
31457
+ chainId,
31458
+ vaultAddresses
31459
+ }: {
31460
+ chainId: number;
31461
+ vaultAddresses: Address$1[] | string[];
31462
+ }): Promise<Record<string, number>>;
31463
+
31464
+ //#endregion
31465
+ //#region src/hypoVault/sharePrice/math.d.ts
31466
+ declare function computeSharePriceFromNavSnapshot({
31467
+ nav,
31468
+ assetsDeposited,
31469
+ reservedWithdrawalAssets,
31470
+ shares
31471
+ }: {
31201
31472
  nav: bigint;
31202
31473
  assetsDeposited: bigint;
31203
31474
  reservedWithdrawalAssets: bigint;
31204
31475
  shares: bigint;
31205
- blockNumber: bigint;
31206
- navSource: 'computeNAV' | 'computeNAVStateOverride';
31207
- managerInputBytes: Hex;
31208
- managerInputByteLength: number;
31209
- managerInputHash: Hex;
31210
- tokenIdCountsByPool: Array<{
31211
- poolAddress: string | null;
31212
- tokenCount: number;
31213
- }> | null;
31214
- tokenIdsByPool: Array<{
31215
- poolAddress: string | null;
31216
- tokenIds: string[];
31217
- }> | null;
31218
- };
31476
+ }): Decimal | null;
31477
+ declare function calculateAnnualizedApyPct({
31478
+ currentSharePrice,
31479
+ previousSharePrice,
31480
+ days
31481
+ }: {
31482
+ currentSharePrice: Decimal;
31483
+ previousSharePrice: Decimal;
31484
+ days: number;
31485
+ }): number | null;
31219
31486
 
31220
31487
  //#endregion
31221
31488
  //#region src/hypoVault/sharePrice/snapshot.d.ts
@@ -36069,6 +36336,206 @@ declare function formatPerSecondRateWadAsApyPct(ratePerSecondWad: bigint, precis
36069
36336
  */
36070
36337
  declare function formatPerSecondRateWadAsAprPct(ratePerSecondWad: bigint, precision: bigint): string;
36071
36338
 
36339
+ //#endregion
36340
+ //#region src/hypoVault/analytics/donationHistory.d.ts
36341
+ /** Resolve fee counterparties from deployed contracts, including builder wallet administrators. */
36342
+ declare function getVaultDonationSources(client: PublicClient, chainId: number, toBlock: bigint): Promise<any[]>;
36343
+ declare function getVaultDonationTransfers({
36344
+ client,
36345
+ vaultAddress,
36346
+ chainId,
36347
+ fromBlock,
36348
+ toBlock,
36349
+ sources,
36350
+ confirmedTransactions
36351
+ }: {
36352
+ client: PublicClient;
36353
+ vaultAddress: Address$1;
36354
+ chainId: number;
36355
+ fromBlock: bigint;
36356
+ toBlock: bigint;
36357
+ sources: readonly string[];
36358
+ confirmedTransactions?: readonly string[];
36359
+ }): Promise<{
36360
+ blockNumber: bigint;
36361
+ token: Address$1;
36362
+ amount: any;
36363
+ transactionHash: `0x${string}`;
36364
+ logIndex: number;
36365
+ pools: {
36366
+ trackers: any[];
36367
+ pool: Address$1;
36368
+ token0: Address$1;
36369
+ token1: Address$1;
36370
+ maxPriceDeviation: number;
36371
+ positionScanFromBlock?: bigint | undefined;
36372
+ }[];
36373
+ }[]>;
36374
+ declare function valueVaultDonationBlock({
36375
+ client,
36376
+ chainId,
36377
+ vaultAddress,
36378
+ underlyingToken,
36379
+ transfers,
36380
+ snapshot,
36381
+ timestampSec
36382
+ }: {
36383
+ client: PublicClient;
36384
+ chainId: number;
36385
+ vaultAddress: Address$1;
36386
+ underlyingToken: Address$1;
36387
+ transfers: Awaited<ReturnType<typeof getVaultDonationTransfers>>;
36388
+ snapshot: VaultSharePriceSnapshot;
36389
+ timestampSec: number;
36390
+ }): Promise<{
36391
+ timestampSec: number;
36392
+ blockNumber: string;
36393
+ donatedAssetsRaw: string;
36394
+ retainedFactor: string;
36395
+ } | null>;
36396
+
36397
+ //#endregion
36398
+ //#region src/hypoVault/analytics/donations.d.ts
36399
+ type VaultDonationAdjustment = {
36400
+ timestampSec: number;
36401
+ blockNumber: string;
36402
+ retainedFactor: string;
36403
+ donatedAssetsRaw: string;
36404
+ };
36405
+ /** Neutralizes each external contribution while retaining subsequent investment performance. */
36406
+ declare function adjustVaultSharePricesForDonations(history: readonly {
36407
+ timestampSec: number;
36408
+ sharePrice: string;
36409
+ }[], adjustments: readonly VaultDonationAdjustment[]): {
36410
+ sharePrice: string;
36411
+ timestampSec: number;
36412
+ }[];
36413
+ declare function donationRetainedFactor(donatedAssetsRaw: bigint, adjustedNavRaw: bigint): string;
36414
+ /** Raw token amounts already account for decimals; the tick is token1 per token0. */
36415
+ declare function valueDonationInUnderlying({
36416
+ assetsRaw,
36417
+ tokenIndex,
36418
+ underlyingIndex,
36419
+ tick
36420
+ }: {
36421
+ assetsRaw: bigint;
36422
+ tokenIndex: 0 | 1;
36423
+ underlyingIndex: 0 | 1;
36424
+ tick: number;
36425
+ }): bigint;
36426
+
36427
+ //#endregion
36428
+ //#region src/hypoVault/analytics/positionActivity.d.ts
36429
+ /** Reconstructs time with open positions across every historical pool, including migration gaps. */
36430
+ declare function fetchVaultPositionActivity({
36431
+ client,
36432
+ chainId,
36433
+ vaultAddress,
36434
+ fromBlock,
36435
+ toBlock,
36436
+ positionsByPool
36437
+ }: {
36438
+ client: PublicClient;
36439
+ chainId: number;
36440
+ vaultAddress: Address$1;
36441
+ fromBlock: bigint;
36442
+ toBlock: bigint;
36443
+ positionsByPool?: readonly {
36444
+ poolAddress: Address$1;
36445
+ tokenIds: readonly string[];
36446
+ }[];
36447
+ }): Promise<{
36448
+ fromTimestampSec: number;
36449
+ throughTimestampSec: number;
36450
+ changes: {
36451
+ timestampSec: number;
36452
+ hasOpenPositions: boolean;
36453
+ }[];
36454
+ positionSnapshots: {
36455
+ blockNumber: bigint;
36456
+ timestampSec: number;
36457
+ positionsByPool: {
36458
+ poolAddress: Address$1;
36459
+ tokenIds: string[];
36460
+ }[];
36461
+ }[];
36462
+ positionsByPool: {
36463
+ poolAddress: Address$1;
36464
+ tokenIds: string[];
36465
+ }[];
36466
+ }>;
36467
+ /** Keeps complete weeks with open positions for at least half their elapsed time. */
36468
+ declare function filterActiveVaultWeeks<T extends {
36469
+ startTimestampSec: number;
36470
+ endTimestampSec: number;
36471
+ }>(weeks: readonly T[], activity: {
36472
+ fromTimestampSec: number;
36473
+ throughTimestampSec: number;
36474
+ changes: readonly {
36475
+ timestampSec: number;
36476
+ hasOpenPositions: boolean;
36477
+ }[];
36478
+ }): T[];
36479
+ /** Requires meaningful option exposure for at least half the week and retains eligible price intervals. */
36480
+ declare function qualifyVaultWeeks<T extends {
36481
+ startTimestampSec: number;
36482
+ endTimestampSec: number;
36483
+ }>(weeks: readonly T[], activity: {
36484
+ fromTimestampSec: number;
36485
+ throughTimestampSec: number;
36486
+ changes: readonly {
36487
+ timestampSec: number;
36488
+ hasOpenPositions: boolean;
36489
+ longOptionNotionalPct: string;
36490
+ }[];
36491
+ }): (T & {
36492
+ activeIntervals: {
36493
+ startTimestampSec: number;
36494
+ endTimestampSec: number;
36495
+ }[];
36496
+ })[];
36497
+
36498
+ //#endregion
36499
+ //#region src/hypoVault/analytics/positionExposure.d.ts
36500
+ /** Gross long-option reference notional, excluding width-zero hedge legs, in the NAV asset frame. */
36501
+ declare function calculateLongOptionNotionalPct({
36502
+ navRaw,
36503
+ underlyingToken,
36504
+ pools
36505
+ }: {
36506
+ navRaw: bigint;
36507
+ underlyingToken: string;
36508
+ pools: readonly {
36509
+ token0: string;
36510
+ token1: string;
36511
+ token0Price: number;
36512
+ token1Price: number;
36513
+ positions: readonly {
36514
+ positionSize: bigint;
36515
+ legs: readonly {
36516
+ width: bigint;
36517
+ isLong: boolean;
36518
+ asset: bigint;
36519
+ optionRatio: bigint;
36520
+ }[];
36521
+ }[];
36522
+ }[];
36523
+ }): string;
36524
+ /** Revalues exposure after each position change; persisted checkpoints keep historical RPC off the read path. */
36525
+ declare function fetchVaultPositionExposureHistory(params: Parameters<typeof fetchVaultPositionActivity>[0]): Promise<{
36526
+ fromTimestampSec: number;
36527
+ throughTimestampSec: number;
36528
+ changes: {
36529
+ timestampSec: number;
36530
+ hasOpenPositions: boolean;
36531
+ longOptionNotionalPct: string;
36532
+ }[];
36533
+ positionsByPool: {
36534
+ poolAddress: Address;
36535
+ tokenIds: string[];
36536
+ }[];
36537
+ }>;
36538
+
36072
36539
  //#endregion
36073
36540
  //#region src/hypoVault/hypoVaultManagerArtifacts/replacementPoolArtifacts.d.ts
36074
36541
  declare const MAINNET_WETH_REPLACEMENT_ARTIFACTS: {
@@ -36177,35 +36644,6 @@ declare const ROBINHOOD_USDG_REPLACEMENT_ARTIFACTS: {
36177
36644
  };
36178
36645
  };
36179
36646
 
36180
- //#endregion
36181
- //#region src/panoptic/v2/types/irm.d.ts
36182
- type IrmPoint = {
36183
- utilizationWad: bigint;
36184
- utilizationPct: number;
36185
- borrowRatePerSecWad: bigint;
36186
- supplyRatePerSecWad: bigint;
36187
- borrowAprPct: number;
36188
- supplyAprPct: number;
36189
- };
36190
- type IrmCurrent = {
36191
- collateralTrackerAddress: Address$1;
36192
- riskEngineAddress: Address$1;
36193
- currentUtilizationBps: bigint;
36194
- currentUtilizationWad: bigint;
36195
- currentUtilizationPct: number;
36196
- borrowRatePerSecWad: bigint;
36197
- supplyRatePerSecWad: bigint;
36198
- borrowAprPct: number;
36199
- supplyAprPct: number;
36200
- marketStatePacked: bigint;
36201
- };
36202
- type IrmMarketStateInputs = {
36203
- borrowIndex: bigint;
36204
- lastInteractionTimestamp: bigint;
36205
- rateAtTarget: bigint;
36206
- unrealizedGlobalInterest: bigint;
36207
- };
36208
-
36209
36647
  //#endregion
36210
36648
  //#region src/panoptic/v2/reads/irm.d.ts
36211
36649
  declare const WAD: bigint;
@@ -36270,5 +36708,5 @@ declare function updatePositionSnapshot({
36270
36708
  };
36271
36709
 
36272
36710
  //#endregion
36273
- 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 };
36711
+ 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, VaultDonationAdjustment, 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, adjustVaultSharePricesForDonations, annualizePerSecondRateWad, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, buildWeeklyVaultReturnHistogram, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateFixedPortfolioScenarios, calculateLongOptionNotionalPct, calculateMaxSignedPriceChanges, calculateMeanMaxAbsolutePriceChange, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, calculateWeeklyVaultReturns, cancelDeposit, chainToHypoVaultGraphQlAPI, clearVaultApyStrategyOverride, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, createVaultSharePriceProcessor, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, donationRetainedFactor, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, estimateFixedPortfolioPremium, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchFixedVaultPortfolio, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultPositionActivity, fetchVaultPositionExposureHistory, fetchVaultSharePriceSnapshot, fetchVaultSharePriceSnapshotWithCandidateRecovery, filterActiveVaultWeeks, 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, getVaultDonationSources, getVaultDonationTransfers, 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, prepareFixedPoolValue, qualifyVaultWeeks, 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, valueDonationInUnderlying, valueVaultDonationBlock, verifyVaultOpenTokenIdsAtBlock };
36274
36712
  //# sourceMappingURL=index.d.ts.map