@panoptic-eng/sdk 1.0.55 → 1.0.56

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.
@@ -374,7 +374,7 @@ const VAULT_DISPLAY_NAMES_PER_CHAIN = {
374
374
  [sepoliaVaults.wethPlpVault.toLowerCase()]: "PLP Vault",
375
375
  [sepoliaVaults.usdcPlpVault.toLowerCase()]: "Unicorn Vault"
376
376
  },
377
- [ROBINHOOD_CHAIN_ID]: { [robinhoodUsdgVault.toLowerCase()]: "USDG PLP Vault" }
377
+ [ROBINHOOD_CHAIN_ID]: { [robinhoodUsdgVault.toLowerCase()]: "0DTE +67∆ Vault" }
378
378
  };
379
379
  const VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN = {
380
380
  [MAINNET_CHAIN_ID]: {
@@ -391,7 +391,7 @@ const VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN = {
391
391
  [sepoliaVaults.wethPlpVault.toLowerCase()]: () => "PLP Vault",
392
392
  [sepoliaVaults.usdcPlpVault.toLowerCase()]: () => "Unicorn Vault"
393
393
  },
394
- [ROBINHOOD_CHAIN_ID]: { [robinhoodUsdgVault.toLowerCase()]: () => "USDG PLP Vault" }
394
+ [ROBINHOOD_CHAIN_ID]: { [robinhoodUsdgVault.toLowerCase()]: () => "0DTE +67∆ Vault" }
395
395
  };
396
396
  function resolveVaultDisplayName({ chainId, vaultAddress, underlyingSymbol, fallbackName }) {
397
397
  const vaultAddressLower = vaultAddress.toLowerCase();
@@ -1 +1 @@
1
- {"version":3,"file":"deployments.js","names":["chainDeploymentsData","chainId: number","deployment: ChainDeployment","VAULT_DISPLAY_NAMES_PER_CHAIN: Record<number, Record<Address, string>>","VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN: Record<\n number,\n Record<Address, VaultDisplayNameResolver>\n>"],"sources":["../../deployments/src/chainDeployments.data.json","../../deployments/src/chainDeployments.ts","../../deployments/src/vaultDisplayNames.ts"],"sourcesContent":["{\n \"1\": {\n \"chainId\": 1,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x1F98431c8aD98523631AE4a59f267346ea31F984\",\n \"poolManager\": \"0x000000000004444c5dc75cB358380D2e3dE08A90\",\n \"stateView\": \"0x7ffe42c4a5deea5b0fec41c94c136cf115597227\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xF16714665955DBd0361D997eFc50fe391D96E8D0\",\n \"factory\": \"0xd5049B2647de57141dE7F65E5124707B99A452A3\",\n \"accountant\": \"0x65aA902AE3135658587FFC36ED51B61c927114e1\",\n \"rolesAuthority\": \"0xb952D345c413Ddb7850173422bAe4968e0330598\",\n \"collateralTrackerDecoderAndSanitizer\": \"0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0xd4e2c720a760049cc4151bcf61e3a9348db9cd92\",\n \"usdcPlpVault\": \"0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0xB6Fc48e658C9B1a7dbdFA51A5E153ab60BB2e04d\",\n \"usdcPlpVaultManager\": \"0x2ce65016366ef7320078e0758D58Cf1038bc7C4e\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\",\n \"usdcPlpVaultManager\": \"0x3c1c79d0cfc316Ba959194c89696a8382d7d283b\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0x00000000563b70d704f4c6675a5f6ac989fbae13\",\n \"collateralTracker0\": \"0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7\",\n \"collateralTracker1\": \"0x12bF31955522BAC337D93e1bC0a39F68D8BDa216\"\n },\n \"additionalPools\": {\n \"ethUsdc5bpsV3\": {\n \"version\": \"v3\",\n \"panopticPool\": \"0x00000000009C7B687e833559e34503f64d7ed7c4\",\n \"collateralTracker0\": \"0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9\",\n \"collateralTracker1\": \"0x69E9f9e44E5F52237493b980dd7306198C64A4E4\"\n }\n },\n \"v2\": {\n \"semiFungiblePositionManagerV4\": \"0x00000000000005C3287f136Ef5AF56c68Ea6849f\",\n \"semiFungiblePositionManagerV3\": \"0x00000000000005E4693aDc8Ec0f12D686f728198\",\n \"builderFactory\": \"0x0000000000000a3D22E158417AA639D7F71b0FF7\",\n \"riskEngine\": \"0x0000000000000E65545005B26207D7edFd031260\",\n \"panopticPoolImplementation\": \"0x000000000000135429F0DaCaB61639Bf6a63EbbC\",\n \"collateralTrackerImplementation\": \"0x0000000000001d9c38CA405A2e04420865A08A33\",\n \"panopticFactoryV4\": \"0x0000000000000c51d0f8cf4bd9adE7191372a625\",\n \"panopticFactoryV3\": \"0x0000000000000aDC9A108591e718F2aee963a2a7\",\n \"panopticHelper\": \"0x0000000000000000000000000000000000000000\",\n \"panopticMath\": \"0x000000000000334bbd65C195581cf59ECf315932\",\n \"panopticQuery\": \"0x0000000000000e1aE9c66C1c3B0A547D23389C93\",\n \"interactionHelper\": \"0x00000000000041fe14Ce3c2392337CE501aE8328\"\n }\n },\n \"riskEngines\": [\n \"0x000000000000075e29cdaa9cb640a69e148ca7da\",\n \"0x0000000000000fe1e261f66ce2f44def4f5ae0cb\",\n \"0x0000000000000e673aECBDB5f5fE5DFAf4a8e9Ac\",\n \"0x0000000000000E65545005B26207D7edFd031260\"\n ],\n \"markets\": {\n \"ethUsdc30bps\": {\n \"currency0\": \"0x0000000000000000000000000000000000000000\",\n \"currency1\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n \"fee\": 3000,\n \"tickSpacing\": 60,\n \"poolId\": \"0x3C08AE4977F78D\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-mainnet/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-mainnet/v2_prod/gn\"\n },\n \"sfpmSwap\": {\n \"version\": \"v3\",\n \"sfpm\": \"0x00000000000005E4693aDc8Ec0f12D686f728198\",\n \"poolAddress\": \"0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640\",\n \"poolId\": \"2824133844976349\",\n \"fee\": 500,\n \"weth\": \"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\"\n }\n },\n \"4663\": {\n \"chainId\": 4663,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x1f7d7550b1b028f7571e69a784071f0205fd2efa\",\n \"poolManager\": \"0x8366a39cc670b4001a1121b8f6a443a643e40951\",\n \"stateView\": \"0xf3334192d15450cdd385c8b70e03f9a6bd9e673b\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xF16714665955DBd0361D997eFc50fe391D96E8D0\",\n \"factory\": \"0xd5049B2647de57141dE7F65E5124707B99A452A3\",\n \"accountant\": \"0x9e345d862c41010F87D8E5A279e8D320D2831D36\",\n \"rolesAuthority\": \"0xb952D345c413Ddb7850173422bAe4968e0330598\",\n \"collateralTrackerDecoderAndSanitizer\": \"0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0x0000000000000000000000000000000000000000\",\n \"usdcPlpVault\": \"0x0000000000000000000000000000000000000000\",\n \"usdgPlpVault\": \"0x08B24123252Bd9c4DD473b6573D4cF67196FFC4B\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdcPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdgPlpVaultManager\": \"0x67Edb096585efe88a9A1ee16c5857AB74Fc8EA87\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdcPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdgPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0x00000000989bcb6f24af4a1Ab2A6d6a31c98A58E\",\n \"collateralTracker0\": \"0x49eaAC32A7CD4B8fB2209a12859a95E0b20aB0e5\",\n \"collateralTracker1\": \"0x670C44a0FC35dbC410498e47A6290a1C3196d191\"\n },\n \"v2\": {\n \"semiFungiblePositionManagerV4\": \"0x00000000000005C3287f136Ef5AF56c68Ea6849f\",\n \"semiFungiblePositionManagerV3\": \"0x00000000000005E4693aDc8Ec0f12D686f728198\",\n \"builderFactory\": \"0x0000000000000a3D22E158417AA639D7F71b0FF7\",\n \"riskEngine\": \"0x0000000000000E65545005B26207D7edFd031260\",\n \"panopticPoolImplementation\": \"0x000000000000135429F0DaCaB61639Bf6a63EbbC\",\n \"collateralTrackerImplementation\": \"0x0000000000001d9c38CA405A2e04420865A08A33\",\n \"panopticFactoryV4\": \"0x0000000000000c51d0f8cf4bd9adE7191372a625\",\n \"panopticFactoryV3\": \"0x0000000000000aDC9A108591e718F2aee963a2a7\",\n \"panopticHelper\": \"0x0000000000000000000000000000000000000000\",\n \"panopticMath\": \"0x000000000000334bbd65C195581cf59ECf315932\",\n \"panopticQuery\": \"0x0000000000000e1aE9c66C1c3B0A547D23389C93\",\n \"interactionHelper\": \"0x00000000000041fe14Ce3c2392337CE501aE8328\"\n }\n },\n \"riskEngines\": [\n \"0x0000000000000E65545005B26207D7edFd031260\",\n \"0x0000000000000fe1e261f66ce2f44def4f5ae0cb\"\n ],\n \"markets\": {\n \"spyUsdg\": {\n \"currency0\": \"0x117cc2133c37B721F49dE2A7a74833232B3B4C0C\",\n \"currency1\": \"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168\",\n \"fee\": 3000,\n \"tickSpacing\": 60,\n \"poolId\": \"0xfe2a80bb5618fd14984b92ca6d45bf5ba67443ddb1435e28b2e48df2fc1526cd\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-robinhood/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-robinhood/v2_prod/gn\"\n }\n },\n \"8453\": {\n \"chainId\": 8453,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x33128a8fC17869897dcE68Ed026d694621f6FDfD\",\n \"poolManager\": \"0x498581fF718922c3f8e6A244956aF099B2652b2b\",\n \"stateView\": \"0xA3c0c9b65baD0b08107Aa264b0f3dB444b867A71\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xec311aE06486ad44Ba782133b502A34aCE0f479E\",\n \"factory\": \"0x9bE53b169a41030f1710A9B82e9eA6413f14D12E\",\n \"accountant\": \"0x345cA3407942f9d175c9eA8B90e83A36F570f852\",\n \"rolesAuthority\": \"0x278D37CaBFFB4B72D2866E30fEFE08aef773E0B6\",\n \"collateralTrackerDecoderAndSanitizer\": \"0x4A290b3EC46cF320421Bb2aaee96d445de31CF0b\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0x41b7D0515d709A4Fd2CF27f9d141D0c2F8713D04\",\n \"usdcPlpVault\": \"0xb452af299c565D04B05E601efF2840e000C922f1\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0x2a4923456c79E9ebD10F5Bf5305a5C742bBc1D7C\",\n \"usdcPlpVaultManager\": \"0xdd6E2406a044582463CFE9F0C774870eAf4A310B\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\",\n \"usdcPlpVaultManager\": \"0x3c1c79d0cfc316Ba959194c89696a8382d7d283b\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0xB50e8bb68f5855DA742f4579274902a20454174a\",\n \"collateralTracker0\": \"0x0d82b189c96EbB1f44A7207e6A9cfB1e490f2869\",\n \"collateralTracker1\": \"0x9ba1082Ab3cb9edEA988697A14BBe543A3dABEd2\"\n },\n \"v2\": {\n \"semiFungiblePositionManagerV4\": \"0x8dcAa08cF298F8b4830FAf56d47930981AdE33af\",\n \"semiFungiblePositionManagerV3\": \"0xFB1c06B491305d618bb8a7a368C6e50c001C153A\",\n \"builderFactory\": \"0x6d26E916a18d522f7DdA2a26d9E1645564ccDcA5\",\n \"riskEngine\": \"0x8bbce8b1eb64118cfe6c1eab0afe13b80ea41481\",\n \"panopticPoolImplementation\": \"0x5BA68a018fF149c38ec52D181Dd24aBabE9a07DB\",\n \"collateralTrackerImplementation\": \"0x34B3a4e4F14f292575ECe3EF67886C4598af459f\",\n \"panopticFactoryV4\": \"0x9ac0317fcd124aff0b5429beb8de17020bc45f9a\",\n \"panopticFactoryV3\": \"0x687f616d68c483a7223e6922f59aef7452e26c1d\",\n \"panopticHelper\": \"0x0000000000000000000000000000000000000000\",\n \"panopticMath\": \"0x6d21699192f5aF112C87e53b32ff846782afF407\",\n \"panopticQuery\": \"0xd2586E1bbdd1169F597F3A370117EdF7372A7350\",\n \"interactionHelper\": \"0x643d8DD5372FD6c71f8fAbCce4Eb8857704F3E15\"\n }\n },\n \"riskEngines\": [\n \"0x8bbce8b1eb64118cfe6c1eab0afe13b80ea41481\"\n ],\n \"markets\": {\n \"ethUsdc5bps\": {\n \"currency0\": \"0x0000000000000000000000000000000000000000\",\n \"currency1\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"fee\": 500,\n \"tickSpacing\": 10,\n \"poolId\": \"0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-base/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-base/v2_prod/gn\"\n }\n },\n \"11155111\": {\n \"chainId\": 11155111,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x0227628f3F023bb0B980b67D528571c95c6DaC1c\",\n \"poolManager\": \"0xE03A1074c86CFeDd5C142C4F04F1a1536e203543\",\n \"stateView\": \"0xE1Dd9c3fA50EDB962E442f60DfBc432e24537E4C\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xC5b415Db4087228Af817893769DC3a205160160B\",\n \"factory\": \"0x363a9d605ca45cBfF3b597350DeADb53cdC292c7\",\n \"accountant\": \"0x25BBef1DF262c24aa1AACD1F7eCeEcc1a7AD08ab\",\n \"rolesAuthority\": \"0x673BfafB4e2712215B422347c1571421B83E8A3d\",\n \"collateralTrackerDecoderAndSanitizer\": \"0xb899BE50BAF25BBB3A3ca3403256B3c703E5AB5d\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0xD58C4F9AEe5bBfcf28dC9a8d3D57b323fA6521b1\",\n \"usdcPlpVault\": \"0xdd7a8d6c6975488e801129bC84302d74e2361208\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0x95eC124FAAB70D7aE147c3BE0336E01a828AE2d5\",\n \"usdcPlpVaultManager\": \"0xFB5aa3e0b46F3859D90B14b52ffd287013b5Ec53\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\",\n \"usdcPlpVaultManager\": \"0x3c1c79d0cfc316Ba959194c89696a8382d7d283b\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0x872b98C46b2062F663BEb2CC9D4cE046Da2a2918\",\n \"collateralTracker0\": \"0x09a60b78d06a03e5148faedd3bfee6f58b22012f\",\n \"collateralTracker1\": \"0x7365664c8101ff7e9422ae2b203822253c31e69c\"\n },\n \"v2\": {\n \"semiFungiblePositionManagerV3\": \"0x9DaD2C40107Db4B29a5450401BB7A28e6eA00e43\",\n \"semiFungiblePositionManagerV4\": \"0xD2615995A71644E122cC2FD7FeC2392b971220DE\",\n \"builderFactory\": \"0x55f3D2d9D065AA5Fcc11D94c55a6085849e8b6C3\",\n \"riskEngine\": \"0x1376aF5ca426B6B9fad6a712c21f6Cf58a94b93c\",\n \"panopticPoolImplementation\": \"0x969235B5830f13b58BB699305d9c70A8Cd3BD97C\",\n \"collateralTrackerImplementation\": \"0xafcd5F651Ae0403Ff668bb2dAc38BEa907a35Dba\",\n \"panopticFactoryV3\": \"0xd9FFCa53C0A6155001Ce8cbcAEfe89DB204690F1\",\n \"panopticFactoryV4\": \"0x8FCBb59b05779818D9BAD2686cc44B705603ce03\",\n \"panopticHelper\": \"0xfFEbB3A4ab793cB244209d4dA0Cb3e6B07133bd0\",\n \"panopticMath\": \"0x6d21699192f5aF112C87e53b32ff846782afF407\",\n \"panopticQuery\": \"0x74057945467Fb4eAE9193B46A60ae66a53f06A5b\",\n \"interactionHelper\": \"0x643d8DD5372FD6c71f8fAbCce4Eb8857704F3E15\"\n }\n },\n \"riskEngines\": [\n \"0x1376aF5ca426B6B9fad6a712c21f6Cf58a94b93c\"\n ],\n \"markets\": {\n \"ethUsdc5bps\": {\n \"currency0\": \"0x0000000000000000000000000000000000000000\",\n \"currency1\": \"0xFFFeD8254566B7F800f6D8CDb843ec75AE49B07A\",\n \"fee\": 500,\n \"tickSpacing\": 10,\n \"poolId\": \"0xba6673bcb27568a73a93dd23b20c8174fa16193cd90905be859144e8f13097a5\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-sepolia/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-sepolia/v2_prod/gn\"\n }\n }\n}\n","import type { Address, Hex } from 'viem'\n\nimport chainDeploymentsData from './chainDeployments.data.json'\n\nexport type HypoVaultCoreAddresses = {\n hypoVaultImplementation: Address\n factory: Address\n accountant: Address\n rolesAuthority: Address\n collateralTrackerDecoderAndSanitizer: Address\n}\n\nexport type HypoVaultVaultAddresses = {\n wethPlpVault: Address\n usdcPlpVault: Address\n usdgPlpVault?: Address\n}\n\nexport type HypoVaultManagerAddresses = {\n wethPlpVaultManager: Address\n usdcPlpVaultManager: Address\n usdgPlpVaultManager?: Address\n}\n\nexport type HypoVaultManagerTurnkeySigners = {\n wethPlpVaultManager: Address\n usdcPlpVaultManager: Address\n usdgPlpVaultManager?: Address\n}\n\nexport type PanopticPoolAddresses = {\n version: 'v3' | 'v4'\n panopticPool: Address\n collateralTracker0: Address\n collateralTracker1: Address\n}\n\nexport type PanopticV2Addresses = {\n semiFungiblePositionManagerV3: Address\n semiFungiblePositionManagerV4: Address\n builderFactory: Address\n riskEngine: Address\n panopticPoolImplementation: Address\n collateralTrackerImplementation: Address\n panopticFactoryV3: Address\n panopticFactoryV4: Address\n panopticHelper: Address\n panopticMath: Address\n panopticQuery: Address\n interactionHelper: Address\n}\n\nexport type EthUsdc5BpsMarket = {\n currency0: Address\n currency1: Address\n fee: number\n tickSpacing: number\n poolId: Hex\n}\n\nexport type SpyUsdgMarket = EthUsdc5BpsMarket\n\nexport type InfrastructureAddresses = {\n uniswapV3Factory: Address\n poolManager: Address\n stateView: Address\n}\n\n/**\n * The off-venue swap venue: a cheaper Uniswap pool the hedger routes its\n * hedge-netting swap through via the SemiFungiblePositionManager, instead of the\n * options pool's own (pricier) pool. `sfpm` is the SFPM the pool is registered on\n * and `poolId` is its registered uint64 id. `weth` bridges native-ETH collateral\n * (the v3 pool trades WETH).\n */\nexport type SfpmSwapMarket = {\n version: 'v3' | 'v4'\n sfpm: Address\n poolAddress: Address\n poolId: string\n fee: number\n weth: Address\n}\n\nexport type ChainDeployment = {\n chainId: number\n infrastructure: InfrastructureAddresses\n hypovault: {\n core: HypoVaultCoreAddresses\n vaults: HypoVaultVaultAddresses\n managers: HypoVaultManagerAddresses\n turnkeySigners: HypoVaultManagerTurnkeySigners\n }\n panoptic: {\n pool: PanopticPoolAddresses\n additionalPools?: Readonly<\n Record<string, PanopticPoolAddresses> & {\n ethUsdc5bpsV3?: PanopticPoolAddresses\n }\n >\n v2: PanopticV2Addresses\n }\n // Keep this whitelist current as new RiskEngines are deployed, otherwise UI subgraph queries\n // that filter by risk engine will stop surfacing markets for the new deployments.\n riskEngines: Address[]\n markets: {\n ethUsdc5bps?: EthUsdc5BpsMarket\n ethUsdc30bps?: EthUsdc5BpsMarket\n spyUsdg?: SpyUsdgMarket\n }\n /** Off-venue SFPM swap venue for the hedger (optional; absent = feature unavailable). */\n sfpmSwap?: SfpmSwapMarket\n subgraphs: {\n hypovault: string\n panoptic?: string\n }\n}\n\nexport const MAINNET_CHAIN_ID = 1\nexport const SEPOLIA_CHAIN_ID = 11155111\nexport const BASE_CHAIN_ID = 8453\nexport const ROBINHOOD_CHAIN_ID = 4663\n\nexport const CHAIN_DEPLOYMENTS = chainDeploymentsData as Readonly<Record<number, ChainDeployment>>\n\nexport function getChainDeployment(chainId: number): ChainDeployment | undefined {\n return CHAIN_DEPLOYMENTS[chainId]\n}\n\nexport function requireChainDeployment(chainId: number): ChainDeployment {\n const deployment = getChainDeployment(chainId)\n if (deployment === undefined) {\n throw new Error(`Unsupported chain deployment for chainId ${chainId}`)\n }\n return deployment\n}\n\nexport function isSupportedChain(chainId: number): boolean {\n return getChainDeployment(chainId) !== undefined\n}\n\nexport function getEthUsdcMarket(deployment: ChainDeployment): EthUsdc5BpsMarket {\n const market = deployment.markets.ethUsdc5bps ?? deployment.markets.ethUsdc30bps\n if (market === undefined) {\n throw new Error(`Missing ETH/USDC market for chainId ${deployment.chainId}`)\n }\n return market\n}\n\nexport function getSpyUsdgMarket(deployment: ChainDeployment): SpyUsdgMarket {\n const market = deployment.markets.spyUsdg\n if (market === undefined) {\n throw new Error(`Missing SPY/USDG market for chainId ${deployment.chainId}`)\n }\n return market\n}\n\n\n/** The off-venue SFPM swap venue for a chain, or undefined if not configured. */\nexport function getSfpmSwapMarket(deployment: ChainDeployment): SfpmSwapMarket | undefined {\n return deployment.sfpmSwap\n}\n\nexport const MAINNET_DEPLOYMENT = CHAIN_DEPLOYMENTS[MAINNET_CHAIN_ID]\nexport const MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES =\n MAINNET_DEPLOYMENT.panoptic.additionalPools?.ethUsdc5bpsV3\nexport const MAINNET_PANOPTIC_V2_ADDRESSES = MAINNET_DEPLOYMENT.panoptic.v2\nexport const SEPOLIA_DEPLOYMENT = CHAIN_DEPLOYMENTS[SEPOLIA_CHAIN_ID]\nexport const SEPOLIA_HYPOVAULT_CORE_ADDRESSES = SEPOLIA_DEPLOYMENT.hypovault.core\nexport const SEPOLIA_HYPOVAULT_ADDRESSES = SEPOLIA_DEPLOYMENT.hypovault.vaults\nexport const SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES = SEPOLIA_DEPLOYMENT.hypovault.managers\nexport const SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = SEPOLIA_DEPLOYMENT.hypovault.turnkeySigners\nexport const SEPOLIA_PANOPTIC_POOL_ADDRESSES = SEPOLIA_DEPLOYMENT.panoptic.pool\nexport const SEPOLIA_PANOPTIC_V2_ADDRESSES = SEPOLIA_DEPLOYMENT.panoptic.v2\nexport const BASE_DEPLOYMENT = CHAIN_DEPLOYMENTS[BASE_CHAIN_ID]\nexport const BASE_HYPOVAULT_CORE_ADDRESSES = BASE_DEPLOYMENT.hypovault.core\nexport const BASE_HYPOVAULT_ADDRESSES = BASE_DEPLOYMENT.hypovault.vaults\nexport const BASE_HYPOVAULT_MANAGER_ADDRESSES = BASE_DEPLOYMENT.hypovault.managers\nexport const BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = BASE_DEPLOYMENT.hypovault.turnkeySigners\nexport const BASE_PANOPTIC_POOL_ADDRESSES = BASE_DEPLOYMENT.panoptic.pool\nexport const BASE_PANOPTIC_V2_ADDRESSES = BASE_DEPLOYMENT.panoptic.v2\nexport const BASE_ETH_USDC_5BPS_MARKET = getEthUsdcMarket(BASE_DEPLOYMENT)\nexport const SEPOLIA_ETH_USDC_5BPS_MARKET = getEthUsdcMarket(SEPOLIA_DEPLOYMENT)\n\nexport const MAINNET_RISK_ENGINES = MAINNET_DEPLOYMENT.riskEngines\nexport const BASE_RISK_ENGINES = BASE_DEPLOYMENT.riskEngines\nexport const SEPOLIA_RISK_ENGINES = SEPOLIA_DEPLOYMENT.riskEngines\n\nexport const ROBINHOOD_DEPLOYMENT = CHAIN_DEPLOYMENTS[ROBINHOOD_CHAIN_ID]\nexport const ROBINHOOD_HYPOVAULT_CORE_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.core\nexport const ROBINHOOD_HYPOVAULT_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.vaults\nexport const ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.managers\nexport const ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = ROBINHOOD_DEPLOYMENT.hypovault.turnkeySigners\nexport const ROBINHOOD_PANOPTIC_POOL_ADDRESSES = ROBINHOOD_DEPLOYMENT.panoptic.pool\nexport const ROBINHOOD_PANOPTIC_V2_ADDRESSES = ROBINHOOD_DEPLOYMENT.panoptic.v2\nexport const ROBINHOOD_RISK_ENGINES = ROBINHOOD_DEPLOYMENT.riskEngines\nexport const ROBINHOOD_SPY_USDG_MARKET = getSpyUsdgMarket(ROBINHOOD_DEPLOYMENT)\n","import type { Address } from 'viem'\n\nimport {\n BASE_CHAIN_ID,\n MAINNET_CHAIN_ID,\n requireChainDeployment,\n ROBINHOOD_CHAIN_ID,\n SEPOLIA_CHAIN_ID,\n} from './chainDeployments'\n\nconst mainnetDeployment = requireChainDeployment(MAINNET_CHAIN_ID)\nconst mainnetVaults = mainnetDeployment.hypovault.vaults\nconst legacyMainnetVaults = {\n wethPlpVault: '0x779a2aa634A004b3a3f3b322083744869BBC6D66',\n usdcPlpVault: '0x963Fe9c93bc353602656ee4051A75114bA74d6c5',\n} as const satisfies Record<string, Address>\nconst sepoliaDeployment = requireChainDeployment(SEPOLIA_CHAIN_ID)\nconst sepoliaVaults = sepoliaDeployment.hypovault.vaults\nconst baseDeployment = requireChainDeployment(BASE_CHAIN_ID)\nconst baseVaults = baseDeployment.hypovault.vaults\nconst robinhoodDeployment = requireChainDeployment(ROBINHOOD_CHAIN_ID)\nconst robinhoodUsdgVault = robinhoodDeployment.hypovault.vaults.usdgPlpVault\n\nif (robinhoodUsdgVault === undefined) {\n throw new Error('Missing Robinhood USDG PLP vault address')\n}\n\nexport type VaultDisplayNameResolverInput = {\n chainId: number\n vaultAddress: string\n underlyingSymbol?: string | null\n fallbackName?: string | null\n}\n\nexport type VaultDisplayNameResolver = (input: VaultDisplayNameResolverInput) => string\n\nexport const VAULT_DISPLAY_NAMES_PER_CHAIN: Record<number, Record<Address, string>> = {\n [MAINNET_CHAIN_ID]: {\n [mainnetVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [mainnetVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n [legacyMainnetVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [legacyMainnetVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n },\n [BASE_CHAIN_ID]: {\n [baseVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [baseVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n },\n [SEPOLIA_CHAIN_ID]: {\n [sepoliaVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [sepoliaVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n },\n [ROBINHOOD_CHAIN_ID]: {\n [robinhoodUsdgVault.toLowerCase() as Address]: 'USDG PLP Vault',\n },\n}\n\nexport const VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN: Record<\n number,\n Record<Address, VaultDisplayNameResolver>\n> = {\n [MAINNET_CHAIN_ID]: {\n [mainnetVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [mainnetVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n [legacyMainnetVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [legacyMainnetVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n },\n [BASE_CHAIN_ID]: {\n [baseVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [baseVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n },\n [SEPOLIA_CHAIN_ID]: {\n [sepoliaVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [sepoliaVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n },\n [ROBINHOOD_CHAIN_ID]: {\n [robinhoodUsdgVault.toLowerCase() as Address]: () => 'USDG PLP Vault',\n },\n}\n\nexport function resolveVaultDisplayName({\n chainId,\n vaultAddress,\n underlyingSymbol,\n fallbackName,\n}: VaultDisplayNameResolverInput): string {\n const vaultAddressLower = vaultAddress.toLowerCase() as Address\n const resolver = VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN[chainId]?.[vaultAddressLower]\n if (resolver !== undefined) {\n return resolver({\n chainId,\n vaultAddress: vaultAddressLower,\n underlyingSymbol,\n fallbackName,\n })\n }\n\n const staticName = VAULT_DISPLAY_NAMES_PER_CHAIN[chainId]?.[vaultAddressLower]\n if (staticName !== undefined) {\n return staticName\n }\n\n if (fallbackName !== undefined && fallbackName !== null) {\n return fallbackName\n }\n\n return 'Vault'\n}\n"],"mappings":";SACO;CACH,WAAW;CACX,kBAAkB;EAChB,oBAAoB;EACpB,eAAe;EACf,aAAa;CACd;CACD,aAAa;EACX,QAAQ;GACN,2BAA2B;GAC3B,WAAW;GACX,cAAc;GACd,kBAAkB;GAClB,wCAAwC;EACzC;EACD,UAAU;GACR,gBAAgB;GAChB,gBAAgB;EACjB;EACD,YAAY;GACV,uBAAuB;GACvB,uBAAuB;EACxB;EACD,kBAAkB;GAChB,uBAAuB;GACvB,uBAAuB;EACxB;CACF;CACD,YAAY;EACV,QAAQ;GACN,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,sBAAsB;EACvB;EACD,mBAAmB,EACjB,iBAAiB;GACf,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,sBAAsB;EACvB,EACF;EACD,MAAM;GACJ,iCAAiC;GACjC,iCAAiC;GACjC,kBAAkB;GAClB,cAAc;GACd,8BAA8B;GAC9B,mCAAmC;GACnC,qBAAqB;GACrB,qBAAqB;GACrB,kBAAkB;GAClB,gBAAgB;GAChB,iBAAiB;GACjB,qBAAqB;EACtB;CACF;CACD,eAAe;EACb;EACA;EACA;EACA;CACD;CACD,WAAW,EACT,gBAAgB;EACd,aAAa;EACb,aAAa;EACb,OAAO;EACP,eAAe;EACf,UAAU;CACX,EACF;CACD,aAAa;EACX,aAAa;EACb,YAAY;CACb;CACD,YAAY;EACV,WAAW;EACX,QAAQ;EACR,eAAe;EACf,UAAU;EACV,OAAO;EACP,QAAQ;CACT;AACF;YACO;CACN,WAAW;CACX,kBAAkB;EAChB,oBAAoB;EACpB,eAAe;EACf,aAAa;CACd;CACD,aAAa;EACX,QAAQ;GACN,2BAA2B;GAC3B,WAAW;GACX,cAAc;GACd,kBAAkB;GAClB,wCAAwC;EACzC;EACD,UAAU;GACR,gBAAgB;GAChB,gBAAgB;GAChB,gBAAgB;EACjB;EACD,YAAY;GACV,uBAAuB;GACvB,uBAAuB;GACvB,uBAAuB;EACxB;EACD,kBAAkB;GAChB,uBAAuB;GACvB,uBAAuB;GACvB,uBAAuB;EACxB;CACF;CACD,YAAY;EACV,QAAQ;GACN,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,sBAAsB;EACvB;EACD,MAAM;GACJ,iCAAiC;GACjC,iCAAiC;GACjC,kBAAkB;GAClB,cAAc;GACd,8BAA8B;GAC9B,mCAAmC;GACnC,qBAAqB;GACrB,qBAAqB;GACrB,kBAAkB;GAClB,gBAAgB;GAChB,iBAAiB;GACjB,qBAAqB;EACtB;CACF;CACD,eAAe,CACb,8CACA,4CACD;CACD,WAAW,EACT,WAAW;EACT,aAAa;EACb,aAAa;EACb,OAAO;EACP,eAAe;EACf,UAAU;CACX,EACF;CACD,aAAa;EACX,aAAa;EACb,YAAY;CACb;AACF;YACO;CACN,WAAW;CACX,kBAAkB;EAChB,oBAAoB;EACpB,eAAe;EACf,aAAa;CACd;CACD,aAAa;EACX,QAAQ;GACN,2BAA2B;GAC3B,WAAW;GACX,cAAc;GACd,kBAAkB;GAClB,wCAAwC;EACzC;EACD,UAAU;GACR,gBAAgB;GAChB,gBAAgB;EACjB;EACD,YAAY;GACV,uBAAuB;GACvB,uBAAuB;EACxB;EACD,kBAAkB;GAChB,uBAAuB;GACvB,uBAAuB;EACxB;CACF;CACD,YAAY;EACV,QAAQ;GACN,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,sBAAsB;EACvB;EACD,MAAM;GACJ,iCAAiC;GACjC,iCAAiC;GACjC,kBAAkB;GAClB,cAAc;GACd,8BAA8B;GAC9B,mCAAmC;GACnC,qBAAqB;GACrB,qBAAqB;GACrB,kBAAkB;GAClB,gBAAgB;GAChB,iBAAiB;GACjB,qBAAqB;EACtB;CACF;CACD,eAAe,CACb,4CACD;CACD,WAAW,EACT,eAAe;EACb,aAAa;EACb,aAAa;EACb,OAAO;EACP,eAAe;EACf,UAAU;CACX,EACF;CACD,aAAa;EACX,aAAa;EACb,YAAY;CACb;AACF;gBACW;CACV,WAAW;CACX,kBAAkB;EAChB,oBAAoB;EACpB,eAAe;EACf,aAAa;CACd;CACD,aAAa;EACX,QAAQ;GACN,2BAA2B;GAC3B,WAAW;GACX,cAAc;GACd,kBAAkB;GAClB,wCA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uC,WAAW;AACnE,KAAI,oBACF,QAAO,SAAS;EACd;EACA,cAAc;EACd;EACA;CACD,EAAC;CAGJ,MAAM,aAAa,8BAA8B,WAAW;AAC5D,KAAI,sBACF,QAAO;AAGT,KAAI,2BAA8B,iBAAiB,KACjD,QAAO;AAGT,QAAO;AACR"}
1
+ {"version":3,"file":"deployments.js","names":["chainDeploymentsData","chainId: number","deployment: ChainDeployment","VAULT_DISPLAY_NAMES_PER_CHAIN: Record<number, Record<Address, string>>","VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN: Record<\n number,\n Record<Address, VaultDisplayNameResolver>\n>"],"sources":["../../deployments/src/chainDeployments.data.json","../../deployments/src/chainDeployments.ts","../../deployments/src/vaultDisplayNames.ts"],"sourcesContent":["{\n \"1\": {\n \"chainId\": 1,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x1F98431c8aD98523631AE4a59f267346ea31F984\",\n \"poolManager\": \"0x000000000004444c5dc75cB358380D2e3dE08A90\",\n \"stateView\": \"0x7ffe42c4a5deea5b0fec41c94c136cf115597227\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xF16714665955DBd0361D997eFc50fe391D96E8D0\",\n \"factory\": \"0xd5049B2647de57141dE7F65E5124707B99A452A3\",\n \"accountant\": \"0x65aA902AE3135658587FFC36ED51B61c927114e1\",\n \"rolesAuthority\": \"0xb952D345c413Ddb7850173422bAe4968e0330598\",\n \"collateralTrackerDecoderAndSanitizer\": \"0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0xd4e2c720a760049cc4151bcf61e3a9348db9cd92\",\n \"usdcPlpVault\": \"0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0xB6Fc48e658C9B1a7dbdFA51A5E153ab60BB2e04d\",\n \"usdcPlpVaultManager\": \"0x2ce65016366ef7320078e0758D58Cf1038bc7C4e\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\",\n \"usdcPlpVaultManager\": \"0x3c1c79d0cfc316Ba959194c89696a8382d7d283b\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0x00000000563b70d704f4c6675a5f6ac989fbae13\",\n \"collateralTracker0\": \"0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7\",\n \"collateralTracker1\": \"0x12bF31955522BAC337D93e1bC0a39F68D8BDa216\"\n },\n \"additionalPools\": {\n \"ethUsdc5bpsV3\": {\n \"version\": \"v3\",\n \"panopticPool\": \"0x00000000009C7B687e833559e34503f64d7ed7c4\",\n \"collateralTracker0\": \"0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9\",\n \"collateralTracker1\": \"0x69E9f9e44E5F52237493b980dd7306198C64A4E4\"\n }\n },\n \"v2\": {\n \"semiFungiblePositionManagerV4\": \"0x00000000000005C3287f136Ef5AF56c68Ea6849f\",\n \"semiFungiblePositionManagerV3\": \"0x00000000000005E4693aDc8Ec0f12D686f728198\",\n \"builderFactory\": \"0x0000000000000a3D22E158417AA639D7F71b0FF7\",\n \"riskEngine\": \"0x0000000000000E65545005B26207D7edFd031260\",\n \"panopticPoolImplementation\": \"0x000000000000135429F0DaCaB61639Bf6a63EbbC\",\n \"collateralTrackerImplementation\": \"0x0000000000001d9c38CA405A2e04420865A08A33\",\n \"panopticFactoryV4\": \"0x0000000000000c51d0f8cf4bd9adE7191372a625\",\n \"panopticFactoryV3\": \"0x0000000000000aDC9A108591e718F2aee963a2a7\",\n \"panopticHelper\": \"0x0000000000000000000000000000000000000000\",\n \"panopticMath\": \"0x000000000000334bbd65C195581cf59ECf315932\",\n \"panopticQuery\": \"0x0000000000000e1aE9c66C1c3B0A547D23389C93\",\n \"interactionHelper\": \"0x00000000000041fe14Ce3c2392337CE501aE8328\"\n }\n },\n \"riskEngines\": [\n \"0x000000000000075e29cdaa9cb640a69e148ca7da\",\n \"0x0000000000000fe1e261f66ce2f44def4f5ae0cb\",\n \"0x0000000000000e673aECBDB5f5fE5DFAf4a8e9Ac\",\n \"0x0000000000000E65545005B26207D7edFd031260\"\n ],\n \"markets\": {\n \"ethUsdc30bps\": {\n \"currency0\": \"0x0000000000000000000000000000000000000000\",\n \"currency1\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n \"fee\": 3000,\n \"tickSpacing\": 60,\n \"poolId\": \"0x3C08AE4977F78D\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-mainnet/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-mainnet/v2_prod/gn\"\n },\n \"sfpmSwap\": {\n \"version\": \"v3\",\n \"sfpm\": \"0x00000000000005E4693aDc8Ec0f12D686f728198\",\n \"poolAddress\": \"0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640\",\n \"poolId\": \"2824133844976349\",\n \"fee\": 500,\n \"weth\": \"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\"\n }\n },\n \"4663\": {\n \"chainId\": 4663,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x1f7d7550b1b028f7571e69a784071f0205fd2efa\",\n \"poolManager\": \"0x8366a39cc670b4001a1121b8f6a443a643e40951\",\n \"stateView\": \"0xf3334192d15450cdd385c8b70e03f9a6bd9e673b\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xF16714665955DBd0361D997eFc50fe391D96E8D0\",\n \"factory\": \"0xd5049B2647de57141dE7F65E5124707B99A452A3\",\n \"accountant\": \"0x9e345d862c41010F87D8E5A279e8D320D2831D36\",\n \"rolesAuthority\": \"0xb952D345c413Ddb7850173422bAe4968e0330598\",\n \"collateralTrackerDecoderAndSanitizer\": \"0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0x0000000000000000000000000000000000000000\",\n \"usdcPlpVault\": \"0x0000000000000000000000000000000000000000\",\n \"usdgPlpVault\": \"0x08B24123252Bd9c4DD473b6573D4cF67196FFC4B\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdcPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdgPlpVaultManager\": \"0x67Edb096585efe88a9A1ee16c5857AB74Fc8EA87\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdcPlpVaultManager\": \"0x0000000000000000000000000000000000000000\",\n \"usdgPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0x00000000989bcb6f24af4a1Ab2A6d6a31c98A58E\",\n \"collateralTracker0\": \"0x49eaAC32A7CD4B8fB2209a12859a95E0b20aB0e5\",\n \"collateralTracker1\": \"0x670C44a0FC35dbC410498e47A6290a1C3196d191\"\n },\n \"v2\": {\n \"semiFungiblePositionManagerV4\": \"0x00000000000005C3287f136Ef5AF56c68Ea6849f\",\n \"semiFungiblePositionManagerV3\": \"0x00000000000005E4693aDc8Ec0f12D686f728198\",\n \"builderFactory\": \"0x0000000000000a3D22E158417AA639D7F71b0FF7\",\n \"riskEngine\": \"0x0000000000000E65545005B26207D7edFd031260\",\n \"panopticPoolImplementation\": \"0x000000000000135429F0DaCaB61639Bf6a63EbbC\",\n \"collateralTrackerImplementation\": \"0x0000000000001d9c38CA405A2e04420865A08A33\",\n \"panopticFactoryV4\": \"0x0000000000000c51d0f8cf4bd9adE7191372a625\",\n \"panopticFactoryV3\": \"0x0000000000000aDC9A108591e718F2aee963a2a7\",\n \"panopticHelper\": \"0x0000000000000000000000000000000000000000\",\n \"panopticMath\": \"0x000000000000334bbd65C195581cf59ECf315932\",\n \"panopticQuery\": \"0x0000000000000e1aE9c66C1c3B0A547D23389C93\",\n \"interactionHelper\": \"0x00000000000041fe14Ce3c2392337CE501aE8328\"\n }\n },\n \"riskEngines\": [\n \"0x0000000000000E65545005B26207D7edFd031260\",\n \"0x0000000000000fe1e261f66ce2f44def4f5ae0cb\"\n ],\n \"markets\": {\n \"spyUsdg\": {\n \"currency0\": \"0x117cc2133c37B721F49dE2A7a74833232B3B4C0C\",\n \"currency1\": \"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168\",\n \"fee\": 3000,\n \"tickSpacing\": 60,\n \"poolId\": \"0xfe2a80bb5618fd14984b92ca6d45bf5ba67443ddb1435e28b2e48df2fc1526cd\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-robinhood/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-robinhood/v2_prod/gn\"\n }\n },\n \"8453\": {\n \"chainId\": 8453,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x33128a8fC17869897dcE68Ed026d694621f6FDfD\",\n \"poolManager\": \"0x498581fF718922c3f8e6A244956aF099B2652b2b\",\n \"stateView\": \"0xA3c0c9b65baD0b08107Aa264b0f3dB444b867A71\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xec311aE06486ad44Ba782133b502A34aCE0f479E\",\n \"factory\": \"0x9bE53b169a41030f1710A9B82e9eA6413f14D12E\",\n \"accountant\": \"0x345cA3407942f9d175c9eA8B90e83A36F570f852\",\n \"rolesAuthority\": \"0x278D37CaBFFB4B72D2866E30fEFE08aef773E0B6\",\n \"collateralTrackerDecoderAndSanitizer\": \"0x4A290b3EC46cF320421Bb2aaee96d445de31CF0b\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0x41b7D0515d709A4Fd2CF27f9d141D0c2F8713D04\",\n \"usdcPlpVault\": \"0xb452af299c565D04B05E601efF2840e000C922f1\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0x2a4923456c79E9ebD10F5Bf5305a5C742bBc1D7C\",\n \"usdcPlpVaultManager\": \"0xdd6E2406a044582463CFE9F0C774870eAf4A310B\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\",\n \"usdcPlpVaultManager\": \"0x3c1c79d0cfc316Ba959194c89696a8382d7d283b\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0xB50e8bb68f5855DA742f4579274902a20454174a\",\n \"collateralTracker0\": \"0x0d82b189c96EbB1f44A7207e6A9cfB1e490f2869\",\n \"collateralTracker1\": \"0x9ba1082Ab3cb9edEA988697A14BBe543A3dABEd2\"\n },\n \"v2\": {\n \"semiFungiblePositionManagerV4\": \"0x8dcAa08cF298F8b4830FAf56d47930981AdE33af\",\n \"semiFungiblePositionManagerV3\": \"0xFB1c06B491305d618bb8a7a368C6e50c001C153A\",\n \"builderFactory\": \"0x6d26E916a18d522f7DdA2a26d9E1645564ccDcA5\",\n \"riskEngine\": \"0x8bbce8b1eb64118cfe6c1eab0afe13b80ea41481\",\n \"panopticPoolImplementation\": \"0x5BA68a018fF149c38ec52D181Dd24aBabE9a07DB\",\n \"collateralTrackerImplementation\": \"0x34B3a4e4F14f292575ECe3EF67886C4598af459f\",\n \"panopticFactoryV4\": \"0x9ac0317fcd124aff0b5429beb8de17020bc45f9a\",\n \"panopticFactoryV3\": \"0x687f616d68c483a7223e6922f59aef7452e26c1d\",\n \"panopticHelper\": \"0x0000000000000000000000000000000000000000\",\n \"panopticMath\": \"0x6d21699192f5aF112C87e53b32ff846782afF407\",\n \"panopticQuery\": \"0xd2586E1bbdd1169F597F3A370117EdF7372A7350\",\n \"interactionHelper\": \"0x643d8DD5372FD6c71f8fAbCce4Eb8857704F3E15\"\n }\n },\n \"riskEngines\": [\n \"0x8bbce8b1eb64118cfe6c1eab0afe13b80ea41481\"\n ],\n \"markets\": {\n \"ethUsdc5bps\": {\n \"currency0\": \"0x0000000000000000000000000000000000000000\",\n \"currency1\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"fee\": 500,\n \"tickSpacing\": 10,\n \"poolId\": \"0x96d4b53a38337a5733179751781178a2613306063c511b78cd02684739288c0a\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-base/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-base/v2_prod/gn\"\n }\n },\n \"11155111\": {\n \"chainId\": 11155111,\n \"infrastructure\": {\n \"uniswapV3Factory\": \"0x0227628f3F023bb0B980b67D528571c95c6DaC1c\",\n \"poolManager\": \"0xE03A1074c86CFeDd5C142C4F04F1a1536e203543\",\n \"stateView\": \"0xE1Dd9c3fA50EDB962E442f60DfBc432e24537E4C\"\n },\n \"hypovault\": {\n \"core\": {\n \"hypoVaultImplementation\": \"0xC5b415Db4087228Af817893769DC3a205160160B\",\n \"factory\": \"0x363a9d605ca45cBfF3b597350DeADb53cdC292c7\",\n \"accountant\": \"0x25BBef1DF262c24aa1AACD1F7eCeEcc1a7AD08ab\",\n \"rolesAuthority\": \"0x673BfafB4e2712215B422347c1571421B83E8A3d\",\n \"collateralTrackerDecoderAndSanitizer\": \"0xb899BE50BAF25BBB3A3ca3403256B3c703E5AB5d\"\n },\n \"vaults\": {\n \"wethPlpVault\": \"0xD58C4F9AEe5bBfcf28dC9a8d3D57b323fA6521b1\",\n \"usdcPlpVault\": \"0xdd7a8d6c6975488e801129bC84302d74e2361208\"\n },\n \"managers\": {\n \"wethPlpVaultManager\": \"0x95eC124FAAB70D7aE147c3BE0336E01a828AE2d5\",\n \"usdcPlpVaultManager\": \"0xFB5aa3e0b46F3859D90B14b52ffd287013b5Ec53\"\n },\n \"turnkeySigners\": {\n \"wethPlpVaultManager\": \"0x8FfA6DAB99f8afc64F61BeF83F0966eD6362f24F\",\n \"usdcPlpVaultManager\": \"0x3c1c79d0cfc316Ba959194c89696a8382d7d283b\"\n }\n },\n \"panoptic\": {\n \"pool\": {\n \"version\": \"v4\",\n \"panopticPool\": \"0x872b98C46b2062F663BEb2CC9D4cE046Da2a2918\",\n \"collateralTracker0\": \"0x09a60b78d06a03e5148faedd3bfee6f58b22012f\",\n \"collateralTracker1\": \"0x7365664c8101ff7e9422ae2b203822253c31e69c\"\n },\n \"v2\": {\n \"semiFungiblePositionManagerV3\": \"0x9DaD2C40107Db4B29a5450401BB7A28e6eA00e43\",\n \"semiFungiblePositionManagerV4\": \"0xD2615995A71644E122cC2FD7FeC2392b971220DE\",\n \"builderFactory\": \"0x55f3D2d9D065AA5Fcc11D94c55a6085849e8b6C3\",\n \"riskEngine\": \"0x1376aF5ca426B6B9fad6a712c21f6Cf58a94b93c\",\n \"panopticPoolImplementation\": \"0x969235B5830f13b58BB699305d9c70A8Cd3BD97C\",\n \"collateralTrackerImplementation\": \"0xafcd5F651Ae0403Ff668bb2dAc38BEa907a35Dba\",\n \"panopticFactoryV3\": \"0xd9FFCa53C0A6155001Ce8cbcAEfe89DB204690F1\",\n \"panopticFactoryV4\": \"0x8FCBb59b05779818D9BAD2686cc44B705603ce03\",\n \"panopticHelper\": \"0xfFEbB3A4ab793cB244209d4dA0Cb3e6B07133bd0\",\n \"panopticMath\": \"0x6d21699192f5aF112C87e53b32ff846782afF407\",\n \"panopticQuery\": \"0x74057945467Fb4eAE9193B46A60ae66a53f06A5b\",\n \"interactionHelper\": \"0x643d8DD5372FD6c71f8fAbCce4Eb8857704F3E15\"\n }\n },\n \"riskEngines\": [\n \"0x1376aF5ca426B6B9fad6a712c21f6Cf58a94b93c\"\n ],\n \"markets\": {\n \"ethUsdc5bps\": {\n \"currency0\": \"0x0000000000000000000000000000000000000000\",\n \"currency1\": \"0xFFFeD8254566B7F800f6D8CDb843ec75AE49B07A\",\n \"fee\": 500,\n \"tickSpacing\": 10,\n \"poolId\": \"0xba6673bcb27568a73a93dd23b20c8174fa16193cd90905be859144e8f13097a5\"\n }\n },\n \"subgraphs\": {\n \"hypovault\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-sepolia/prod/gn\",\n \"panoptic\": \"https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-sepolia/v2_prod/gn\"\n }\n }\n}\n","import type { Address, Hex } from 'viem'\n\nimport chainDeploymentsData from './chainDeployments.data.json'\n\nexport type HypoVaultCoreAddresses = {\n hypoVaultImplementation: Address\n factory: Address\n accountant: Address\n rolesAuthority: Address\n collateralTrackerDecoderAndSanitizer: Address\n}\n\nexport type HypoVaultVaultAddresses = {\n wethPlpVault: Address\n usdcPlpVault: Address\n usdgPlpVault?: Address\n}\n\nexport type HypoVaultManagerAddresses = {\n wethPlpVaultManager: Address\n usdcPlpVaultManager: Address\n usdgPlpVaultManager?: Address\n}\n\nexport type HypoVaultManagerTurnkeySigners = {\n wethPlpVaultManager: Address\n usdcPlpVaultManager: Address\n usdgPlpVaultManager?: Address\n}\n\nexport type PanopticPoolAddresses = {\n version: 'v3' | 'v4'\n panopticPool: Address\n collateralTracker0: Address\n collateralTracker1: Address\n}\n\nexport type PanopticV2Addresses = {\n semiFungiblePositionManagerV3: Address\n semiFungiblePositionManagerV4: Address\n builderFactory: Address\n riskEngine: Address\n panopticPoolImplementation: Address\n collateralTrackerImplementation: Address\n panopticFactoryV3: Address\n panopticFactoryV4: Address\n panopticHelper: Address\n panopticMath: Address\n panopticQuery: Address\n interactionHelper: Address\n}\n\nexport type EthUsdc5BpsMarket = {\n currency0: Address\n currency1: Address\n fee: number\n tickSpacing: number\n poolId: Hex\n}\n\nexport type SpyUsdgMarket = EthUsdc5BpsMarket\n\nexport type InfrastructureAddresses = {\n uniswapV3Factory: Address\n poolManager: Address\n stateView: Address\n}\n\n/**\n * The off-venue swap venue: a cheaper Uniswap pool the hedger routes its\n * hedge-netting swap through via the SemiFungiblePositionManager, instead of the\n * options pool's own (pricier) pool. `sfpm` is the SFPM the pool is registered on\n * and `poolId` is its registered uint64 id. `weth` bridges native-ETH collateral\n * (the v3 pool trades WETH).\n */\nexport type SfpmSwapMarket = {\n version: 'v3' | 'v4'\n sfpm: Address\n poolAddress: Address\n poolId: string\n fee: number\n weth: Address\n}\n\nexport type ChainDeployment = {\n chainId: number\n infrastructure: InfrastructureAddresses\n hypovault: {\n core: HypoVaultCoreAddresses\n vaults: HypoVaultVaultAddresses\n managers: HypoVaultManagerAddresses\n turnkeySigners: HypoVaultManagerTurnkeySigners\n }\n panoptic: {\n pool: PanopticPoolAddresses\n additionalPools?: Readonly<\n Record<string, PanopticPoolAddresses> & {\n ethUsdc5bpsV3?: PanopticPoolAddresses\n }\n >\n v2: PanopticV2Addresses\n }\n // Keep this whitelist current as new RiskEngines are deployed, otherwise UI subgraph queries\n // that filter by risk engine will stop surfacing markets for the new deployments.\n riskEngines: Address[]\n markets: {\n ethUsdc5bps?: EthUsdc5BpsMarket\n ethUsdc30bps?: EthUsdc5BpsMarket\n spyUsdg?: SpyUsdgMarket\n }\n /** Off-venue SFPM swap venue for the hedger (optional; absent = feature unavailable). */\n sfpmSwap?: SfpmSwapMarket\n subgraphs: {\n hypovault: string\n panoptic?: string\n }\n}\n\nexport const MAINNET_CHAIN_ID = 1\nexport const SEPOLIA_CHAIN_ID = 11155111\nexport const BASE_CHAIN_ID = 8453\nexport const ROBINHOOD_CHAIN_ID = 4663\n\nexport const CHAIN_DEPLOYMENTS = chainDeploymentsData as Readonly<Record<number, ChainDeployment>>\n\nexport function getChainDeployment(chainId: number): ChainDeployment | undefined {\n return CHAIN_DEPLOYMENTS[chainId]\n}\n\nexport function requireChainDeployment(chainId: number): ChainDeployment {\n const deployment = getChainDeployment(chainId)\n if (deployment === undefined) {\n throw new Error(`Unsupported chain deployment for chainId ${chainId}`)\n }\n return deployment\n}\n\nexport function isSupportedChain(chainId: number): boolean {\n return getChainDeployment(chainId) !== undefined\n}\n\nexport function getEthUsdcMarket(deployment: ChainDeployment): EthUsdc5BpsMarket {\n const market = deployment.markets.ethUsdc5bps ?? deployment.markets.ethUsdc30bps\n if (market === undefined) {\n throw new Error(`Missing ETH/USDC market for chainId ${deployment.chainId}`)\n }\n return market\n}\n\nexport function getSpyUsdgMarket(deployment: ChainDeployment): SpyUsdgMarket {\n const market = deployment.markets.spyUsdg\n if (market === undefined) {\n throw new Error(`Missing SPY/USDG market for chainId ${deployment.chainId}`)\n }\n return market\n}\n\n\n/** The off-venue SFPM swap venue for a chain, or undefined if not configured. */\nexport function getSfpmSwapMarket(deployment: ChainDeployment): SfpmSwapMarket | undefined {\n return deployment.sfpmSwap\n}\n\nexport const MAINNET_DEPLOYMENT = CHAIN_DEPLOYMENTS[MAINNET_CHAIN_ID]\nexport const MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES =\n MAINNET_DEPLOYMENT.panoptic.additionalPools?.ethUsdc5bpsV3\nexport const MAINNET_PANOPTIC_V2_ADDRESSES = MAINNET_DEPLOYMENT.panoptic.v2\nexport const SEPOLIA_DEPLOYMENT = CHAIN_DEPLOYMENTS[SEPOLIA_CHAIN_ID]\nexport const SEPOLIA_HYPOVAULT_CORE_ADDRESSES = SEPOLIA_DEPLOYMENT.hypovault.core\nexport const SEPOLIA_HYPOVAULT_ADDRESSES = SEPOLIA_DEPLOYMENT.hypovault.vaults\nexport const SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES = SEPOLIA_DEPLOYMENT.hypovault.managers\nexport const SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = SEPOLIA_DEPLOYMENT.hypovault.turnkeySigners\nexport const SEPOLIA_PANOPTIC_POOL_ADDRESSES = SEPOLIA_DEPLOYMENT.panoptic.pool\nexport const SEPOLIA_PANOPTIC_V2_ADDRESSES = SEPOLIA_DEPLOYMENT.panoptic.v2\nexport const BASE_DEPLOYMENT = CHAIN_DEPLOYMENTS[BASE_CHAIN_ID]\nexport const BASE_HYPOVAULT_CORE_ADDRESSES = BASE_DEPLOYMENT.hypovault.core\nexport const BASE_HYPOVAULT_ADDRESSES = BASE_DEPLOYMENT.hypovault.vaults\nexport const BASE_HYPOVAULT_MANAGER_ADDRESSES = BASE_DEPLOYMENT.hypovault.managers\nexport const BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = BASE_DEPLOYMENT.hypovault.turnkeySigners\nexport const BASE_PANOPTIC_POOL_ADDRESSES = BASE_DEPLOYMENT.panoptic.pool\nexport const BASE_PANOPTIC_V2_ADDRESSES = BASE_DEPLOYMENT.panoptic.v2\nexport const BASE_ETH_USDC_5BPS_MARKET = getEthUsdcMarket(BASE_DEPLOYMENT)\nexport const SEPOLIA_ETH_USDC_5BPS_MARKET = getEthUsdcMarket(SEPOLIA_DEPLOYMENT)\n\nexport const MAINNET_RISK_ENGINES = MAINNET_DEPLOYMENT.riskEngines\nexport const BASE_RISK_ENGINES = BASE_DEPLOYMENT.riskEngines\nexport const SEPOLIA_RISK_ENGINES = SEPOLIA_DEPLOYMENT.riskEngines\n\nexport const ROBINHOOD_DEPLOYMENT = CHAIN_DEPLOYMENTS[ROBINHOOD_CHAIN_ID]\nexport const ROBINHOOD_HYPOVAULT_CORE_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.core\nexport const ROBINHOOD_HYPOVAULT_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.vaults\nexport const ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.managers\nexport const ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = ROBINHOOD_DEPLOYMENT.hypovault.turnkeySigners\nexport const ROBINHOOD_PANOPTIC_POOL_ADDRESSES = ROBINHOOD_DEPLOYMENT.panoptic.pool\nexport const ROBINHOOD_PANOPTIC_V2_ADDRESSES = ROBINHOOD_DEPLOYMENT.panoptic.v2\nexport const ROBINHOOD_RISK_ENGINES = ROBINHOOD_DEPLOYMENT.riskEngines\nexport const ROBINHOOD_SPY_USDG_MARKET = getSpyUsdgMarket(ROBINHOOD_DEPLOYMENT)\n","import type { Address } from 'viem'\n\nimport {\n BASE_CHAIN_ID,\n MAINNET_CHAIN_ID,\n requireChainDeployment,\n ROBINHOOD_CHAIN_ID,\n SEPOLIA_CHAIN_ID,\n} from './chainDeployments'\n\nconst mainnetDeployment = requireChainDeployment(MAINNET_CHAIN_ID)\nconst mainnetVaults = mainnetDeployment.hypovault.vaults\nconst legacyMainnetVaults = {\n wethPlpVault: '0x779a2aa634A004b3a3f3b322083744869BBC6D66',\n usdcPlpVault: '0x963Fe9c93bc353602656ee4051A75114bA74d6c5',\n} as const satisfies Record<string, Address>\nconst sepoliaDeployment = requireChainDeployment(SEPOLIA_CHAIN_ID)\nconst sepoliaVaults = sepoliaDeployment.hypovault.vaults\nconst baseDeployment = requireChainDeployment(BASE_CHAIN_ID)\nconst baseVaults = baseDeployment.hypovault.vaults\nconst robinhoodDeployment = requireChainDeployment(ROBINHOOD_CHAIN_ID)\nconst robinhoodUsdgVault = robinhoodDeployment.hypovault.vaults.usdgPlpVault\n\nif (robinhoodUsdgVault === undefined) {\n throw new Error('Missing Robinhood USDG PLP vault address')\n}\n\nexport type VaultDisplayNameResolverInput = {\n chainId: number\n vaultAddress: string\n underlyingSymbol?: string | null\n fallbackName?: string | null\n}\n\nexport type VaultDisplayNameResolver = (input: VaultDisplayNameResolverInput) => string\n\nexport const VAULT_DISPLAY_NAMES_PER_CHAIN: Record<number, Record<Address, string>> = {\n [MAINNET_CHAIN_ID]: {\n [mainnetVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [mainnetVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n [legacyMainnetVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [legacyMainnetVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n },\n [BASE_CHAIN_ID]: {\n [baseVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [baseVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n },\n [SEPOLIA_CHAIN_ID]: {\n [sepoliaVaults.wethPlpVault.toLowerCase() as Address]: 'PLP Vault',\n [sepoliaVaults.usdcPlpVault.toLowerCase() as Address]: 'Unicorn Vault',\n },\n [ROBINHOOD_CHAIN_ID]: {\n [robinhoodUsdgVault.toLowerCase() as Address]: '0DTE +67∆ Vault',\n },\n}\n\nexport const VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN: Record<\n number,\n Record<Address, VaultDisplayNameResolver>\n> = {\n [MAINNET_CHAIN_ID]: {\n [mainnetVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [mainnetVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n [legacyMainnetVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [legacyMainnetVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n },\n [BASE_CHAIN_ID]: {\n [baseVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [baseVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n },\n [SEPOLIA_CHAIN_ID]: {\n [sepoliaVaults.wethPlpVault.toLowerCase() as Address]: () => 'PLP Vault',\n [sepoliaVaults.usdcPlpVault.toLowerCase() as Address]: () => 'Unicorn Vault',\n },\n [ROBINHOOD_CHAIN_ID]: {\n [robinhoodUsdgVault.toLowerCase() as Address]: () => '0DTE +67∆ Vault',\n },\n}\n\nexport function resolveVaultDisplayName({\n chainId,\n vaultAddress,\n underlyingSymbol,\n fallbackName,\n}: VaultDisplayNameResolverInput): string {\n const vaultAddressLower = vaultAddress.toLowerCase() as Address\n const resolver = VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN[chainId]?.[vaultAddressLower]\n if (resolver !== undefined) {\n return resolver({\n chainId,\n vaultAddress: vaultAddressLower,\n underlyingSymbol,\n fallbackName,\n })\n }\n\n const staticName = VAULT_DISPLAY_NAMES_PER_CHAIN[chainId]?.[vaultAddressLower]\n if (staticName !== undefined) {\n return staticName\n }\n\n if (fallbackName !== undefined && fallbackName !== null) {\n return fallbackName\n }\n\n return 'Vault'\n}\n"],"mappings":";SACO;CACH,WAAW;CACX,kBAAkB;EAChB,oBAAoB;EACpB,eAAe;EACf,aAAa;CACd;CACD,aAAa;EACX,QAAQ;GACN,2BAA2B;GAC3B,WAAW;GACX,cAAc;GACd,kBAAkB;GAClB,wCAAwC;EACzC;EACD,UAAU;GACR,gBAAgB;GAChB,gBAAgB;EACjB;EACD,YAAY;GACV,uBAAuB;GACvB,uBAAuB;EACxB;EACD,kBAAkB;GAChB,uBAAuB;GACvB,uBAAuB;EACxB;CACF;CACD,YAAY;EACV,QAAQ;GACN,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,sBAAsB;EACvB;EACD,mBAAmB,EACjB,iBAAiB;GACf,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,sBAAsB;EACvB,EACF;EACD,MAAM;GACJ,iCAAiC;GACjC,iCAAiC;GACjC,kBAAkB;GAClB,cAAc;GACd,8BAA8B;GAC9B,mCAAmC;GACnC,qBAAqB;GACrB,qBAAqB;GACrB,kBAAkB;GAClB,gBAAgB;GAChB,iBAAiB;GACjB,qBAAqB;EACtB;CACF;CACD,eAAe;EACb;EACA;EACA;EACA;CACD;CACD,WAAW,EACT,gBAAgB;EACd,aAAa;EACb,aAAa;EACb,OAAO;EACP,eAAe;EACf,UAAU;CACX,EACF;CACD,aAAa;EACX,aAAa;EACb,YAAY;CACb;CACD,YAAY;EACV,WAAW;EACX,QAAQ;EACR,eAAe;EACf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C5D,cAAc,aAAa,aAAa,GAAc,MAAM;GAC5D,oBAAoB,aAAa,aAAa,GAAc,MAAM;GAClE,oBAAoB,aAAa,aAAa,GAAc,MAAM;CACpE;EACA,gBAAgB;GACd,WAAW,aAAa,aAAa,GAAc,MAAM;GACzD,WAAW,aAAa,aAAa,GAAc,MAAM;CAC3D;EACA,mBAAmB;GACjB,cAAc,aAAa,aAAa,GAAc,MAAM;GAC5D,cAAc,aAAa,aAAa,GAAc,MAAM;CAC9D;EACA,qBAAqB,GACnB,mBAAmB,aAAa,GAAc,MAAM,kBACtD;AACF;AAED,SAAgB,wBAAwB,EACtC,SACA,cACA,kBACA,cAC8B,EAAU;CACxC,MAAM,oBAAoB,aAAa,aAAa;CACpD,MAAM,WAAW,uCAAuC,WAAW;AACnE,KAAI,oBACF,QAAO,SAAS;EACd;EACA,cAAc;EACd;EACA;CACD,EAAC;CAGJ,MAAM,aAAa,8BAA8B,WAAW;AAC5D,KAAI,sBACF,QAAO;AAGT,KAAI,2BAA8B,iBAAiB,KACjD,QAAO;AAGT,QAAO;AACR"}
package/dist/index.d.ts CHANGED
@@ -1,22 +1,61 @@
1
1
  import { Abi, Account as Account$1, Address as Address$1, BaseError, Chain, Client, ContractFunctionArgs, ContractFunctionName, ContractFunctionRevertedError, Hex, PublicClient, Transport } from "viem";
2
+ import { z } from "zod";
2
3
  import Decimal from "decimal.js";
3
4
  import { Config, UseSimulateContractReturnType, UseWaitForTransactionReceiptReturnType, UseWriteContractReturnType } from "wagmi";
4
- import { z } from "zod";
5
5
  import { GraphQLClient, RequestOptions } from "graphql-request";
6
6
  import { BASE_CHAIN_ID, BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES, CHAIN_DEPLOYMENTS, ChainDeployment, HypoVaultManagerTurnkeySigners, MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES, 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_MARKET, SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES, SpyUsdgMarket, VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultDisplayNameResolver, VaultDisplayNameResolverInput, getChainDeployment, getEthUsdcMarket, getSpyUsdgMarket, isSupportedChain, requireChainDeployment, resolveVaultDisplayName } from "./deployments";
7
- import * as graphql8 from "graphql";
8
- import * as graphql9 from "graphql";
9
- import * as graphql10 from "graphql";
10
- import * as graphql11 from "graphql";
11
- import * as graphql12 from "graphql";
12
- import * as graphql13 from "graphql";
13
- import * as graphql14 from "graphql";
14
- import * as graphql15 from "graphql";
15
- import * as graphql16 from "graphql";
16
- import * as graphql17 from "graphql";
17
- import * as graphql18 from "graphql";
18
- import * as graphql19 from "graphql";
7
+ import * as graphql27 from "graphql";
8
+ import * as graphql28 from "graphql";
9
+ import * as graphql29 from "graphql";
10
+ import * as graphql30 from "graphql";
11
+ import * as graphql31 from "graphql";
12
+ import * as graphql32 from "graphql";
13
+ import * as graphql33 from "graphql";
14
+ import * as graphql34 from "graphql";
15
+ import * as graphql35 from "graphql";
16
+ import * as graphql36 from "graphql";
17
+ import * as graphql37 from "graphql";
18
+ import * as graphql38 from "graphql";
19
+
20
+ //#region src/lending/aave.d.ts
21
+ /** Reads accrued Aave V3 balances and oracle prices at a single block. */
22
+ /** Reads accrued Aave V3 balances and oracle prices at a single block. */
23
+ declare function getAaveHoldings({
24
+ client,
25
+ provider,
26
+ account
27
+ }: {
28
+ client: PublicClient;
29
+ provider: Address$1;
30
+ account: Address$1;
31
+ }): Promise<{
32
+ holdings: {
33
+ address: Address$1;
34
+ symbol: string;
35
+ decimals: number;
36
+ supplied: bigint;
37
+ debt: bigint;
38
+ price: bigint;
39
+ priceUnit: bigint;
40
+ }[];
41
+ receiptTokens: Address$1[];
42
+ blockNumber: bigint;
43
+ }>;
44
+
45
+ //#endregion
46
+ //#region src/lending/morpho.d.ts
47
+ /** Indexed Morpho Blue balances; amounts include the indexer's accrued interest. */
48
+ declare function getMorphoHoldings(account: Address$1, chainId: number): Promise<{
49
+ address: Address$1;
50
+ symbol: string;
51
+ decimals: number;
52
+ amount: bigint;
53
+ priceUsd: string | null;
54
+ marketId: string;
55
+ kind: 'supply' | 'collateral' | 'debt';
56
+ }[]>;
19
57
 
58
+ //#endregion
20
59
  //#region src/abis/CollateralTracker.d.ts
21
60
  declare const CollateralTrackerAbi: readonly [{
22
61
  readonly type: "constructor";
@@ -25226,9 +25265,9 @@ declare const MainnetUSDCPLPPreviousStrategistLeaves: {
25226
25265
  readonly leafs: readonly ((StrategistLeaf & {
25227
25266
  readonly Description: "";
25228
25267
  }) | (StrategistLeaf & {
25229
- readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC";
25230
- readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25231
- readonly FunctionSignature: "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "approve(address,uint256)";
25268
+ readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
25269
+ readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25270
+ readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
25232
25271
  readonly AddressArguments: readonly [] | readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"] | readonly ["0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9"] | readonly ["0x69E9f9e44E5F52237493b980dd7306198C64A4E4"];
25233
25272
  readonly CanSendValue: boolean;
25234
25273
  }))[];
@@ -25249,9 +25288,9 @@ declare const MainnetUSDCPLPV3AuthorizedStrategistLeaves: {
25249
25288
  readonly leafs: readonly ((StrategistLeaf & {
25250
25289
  readonly Description: "";
25251
25290
  }) | (StrategistLeaf & {
25252
- readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC";
25253
- readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25254
- readonly FunctionSignature: "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "approve(address,uint256)";
25291
+ readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Approve wSPCXx poUSDC to spend USDC" | "Deposit USDC for wSPCXx poUSDC" | "Withdraw USDC from wSPCXx poUSDC" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
25292
+ readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
25293
+ readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
25255
25294
  readonly AddressArguments: readonly [] | readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"] | readonly ["0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9"] | readonly ["0x69E9f9e44E5F52237493b980dd7306198C64A4E4"];
25256
25295
  readonly CanSendValue: boolean;
25257
25296
  }))[];
@@ -25299,16 +25338,16 @@ declare const MainnetUSDCPLPV3AuthorizedVaultPoolInfos: {
25299
25338
  triggerTick: 150;
25300
25339
  maxPriceDeviation: 100;
25301
25340
  pool: Address;
25302
- token0: Address;
25303
- token1: Address;
25304
- positionScanFromBlock: 25302077n;
25341
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25342
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25343
+ positionScanFromBlock: 25631480n;
25305
25344
  } | {
25306
25345
  triggerTick: 150;
25307
25346
  maxPriceDeviation: 100;
25308
25347
  pool: Address;
25309
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25310
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25311
- positionScanFromBlock: 25631480n;
25348
+ token0: Address;
25349
+ token1: Address;
25350
+ positionScanFromBlock: 25302077n;
25312
25351
  } | {
25313
25352
  triggerTick: 150;
25314
25353
  maxPriceDeviation: 10000;
@@ -25325,16 +25364,16 @@ declare const MainnetUSDCPLPPreviousVaultPoolInfos: {
25325
25364
  triggerTick: 150;
25326
25365
  maxPriceDeviation: 100;
25327
25366
  pool: Address;
25328
- token0: Address;
25329
- token1: Address;
25330
- positionScanFromBlock: 25302077n;
25367
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25368
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25369
+ positionScanFromBlock: 25631480n;
25331
25370
  } | {
25332
25371
  triggerTick: 150;
25333
25372
  maxPriceDeviation: 100;
25334
25373
  pool: Address;
25335
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
25336
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
25337
- positionScanFromBlock: 25631480n;
25374
+ token0: Address;
25375
+ token1: Address;
25376
+ positionScanFromBlock: 25302077n;
25338
25377
  } | {
25339
25378
  triggerTick: 150;
25340
25379
  maxPriceDeviation: 10000;
@@ -25921,9 +25960,9 @@ declare const MainnetWETHPLPPreviousStrategistLeaves: {
25921
25960
  readonly leafs: readonly ((StrategistLeaf & {
25922
25961
  readonly Description: "";
25923
25962
  }) | (StrategistLeaf & {
25924
- readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC";
25963
+ readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
25925
25964
  readonly TargetAddress: any;
25926
- readonly FunctionSignature: "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit()" | "withdraw(uint256)" | "approve(address,uint256)";
25965
+ readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit()" | "withdraw(uint256)";
25927
25966
  readonly AddressArguments: readonly [] | readonly [Address] | readonly [Address, Address];
25928
25967
  readonly CanSendValue: boolean;
25929
25968
  }))[];
@@ -25944,9 +25983,9 @@ declare const MainnetWETHPLPV3AuthorizedStrategistLeaves: {
25944
25983
  readonly leafs: readonly ((StrategistLeaf & {
25945
25984
  readonly Description: "";
25946
25985
  }) | (StrategistLeaf & {
25947
- readonly Description: "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Dispatch mint/burn options on PanopticPool" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC";
25986
+ readonly Description: "Approve poUSDC to spend USDC" | "Deposit USDC for poUSDC" | "Withdraw USDC from poUSDC" | "Withdraw USDC from poUSDC (with open positions)" | "Mint poUSDC using USDC" | "Redeem poUSDC for USDC" | "Dispatch mint/burn options on PanopticPool" | "Deposit ETH for poETH (payable)" | "Withdraw ETH from poETH" | "Withdraw ETH from poETH (with open positions)" | "Mint poETH using ETH (payable)" | "Redeem poETH for ETH" | "Wrap ETH to WETH" | "Unwrap WETH to ETH" | "Approve poUSDC v3 to spend USDC" | "Deposit USDC for poUSDC v3" | "Withdraw USDC from poUSDC v3" | "Withdraw USDC from poUSDC v3 (with open positions)" | "Mint poUSDC v3 using USDC" | "Redeem poUSDC v3 for USDC" | "Approve poWETH v3 to spend WETH" | "Deposit WETH for poWETH v3" | "Withdraw WETH from poWETH v3" | "Withdraw WETH from poWETH v3 (with open positions)" | "Mint poWETH v3 using WETH" | "Redeem poWETH v3 for WETH";
25948
25987
  readonly TargetAddress: any;
25949
- readonly FunctionSignature: "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit()" | "withdraw(uint256)" | "approve(address,uint256)";
25988
+ readonly FunctionSignature: "approve(address,uint256)" | "deposit(uint256,address)" | "withdraw(uint256,address,address)" | "withdraw(uint256,address,address,uint256[],bool)" | "mint(uint256,address)" | "redeem(uint256,address,address)" | "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)" | "deposit()" | "withdraw(uint256)";
25950
25989
  readonly AddressArguments: readonly [] | readonly [Address] | readonly [Address, Address];
25951
25990
  readonly CanSendValue: boolean;
25952
25991
  }))[];
@@ -25996,16 +26035,16 @@ declare const MainnetWETHPLPV3AuthorizedVaultPoolInfos: {
25996
26035
  triggerTick: 150;
25997
26036
  maxPriceDeviation: 100;
25998
26037
  pool: Address;
25999
- token0: Address;
26000
- token1: Address;
26001
- positionScanFromBlock: 25302077n;
26038
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26039
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26040
+ positionScanFromBlock: 25631480n;
26002
26041
  } | {
26003
26042
  triggerTick: 150;
26004
26043
  maxPriceDeviation: 100;
26005
26044
  pool: Address;
26006
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26007
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26008
- positionScanFromBlock: 25631480n;
26045
+ token0: Address;
26046
+ token1: Address;
26047
+ positionScanFromBlock: 25302077n;
26009
26048
  })[];
26010
26049
  };
26011
26050
  /** Production accountant input before the ETH/USDC 5bps v3 pool authorization executes. */
@@ -26015,16 +26054,16 @@ declare const MainnetWETHPLPPreviousVaultPoolInfos: {
26015
26054
  triggerTick: 150;
26016
26055
  maxPriceDeviation: 100;
26017
26056
  pool: Address;
26018
- token0: Address;
26019
- token1: Address;
26020
- positionScanFromBlock: 25302077n;
26057
+ token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26058
+ token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26059
+ positionScanFromBlock: 25631480n;
26021
26060
  } | {
26022
26061
  triggerTick: 150;
26023
26062
  maxPriceDeviation: 100;
26024
26063
  pool: Address;
26025
- token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
26026
- token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
26027
- positionScanFromBlock: 25631480n;
26064
+ token0: Address;
26065
+ token1: Address;
26066
+ positionScanFromBlock: 25302077n;
26028
26067
  })[];
26029
26068
  };
26030
26069
  declare const MainnetWETHPLPLegacyVaultPoolInfos: {
@@ -26124,7 +26163,7 @@ declare const ROBINHOOD_USDG_PLP_POOL_POLICY: readonly [{
26124
26163
  readonly addressArguments: readonly [any, any];
26125
26164
  readonly canSendValue: false;
26126
26165
  }, {
26127
- readonly description: "Dispatch mint/burn options on SPY/USDG PanopticPool";
26166
+ readonly description: "Dispatch mint/burn options on PanopticPool";
26128
26167
  readonly target: Address;
26129
26168
  readonly functionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
26130
26169
  readonly addressArguments: readonly [];
@@ -26203,7 +26242,7 @@ declare const ROBINHOOD_USDG_PLP_POOL_POLICY: readonly [{
26203
26242
  readonly addressArguments: readonly [any, any];
26204
26243
  readonly canSendValue: false;
26205
26244
  })[], {
26206
- readonly description: "Dispatch mint/burn options on SPY/USDG PanopticPool";
26245
+ readonly description: "Dispatch mint/burn options on PanopticPool";
26207
26246
  readonly target: Address;
26208
26247
  readonly functionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
26209
26248
  readonly addressArguments: readonly [];
@@ -26519,6 +26558,7 @@ declare const HypoVaultManagerConfigSchema: z.ZodObject<{
26519
26558
  }, z.core.$strip>>>;
26520
26559
  }, z.core.$strip>>;
26521
26560
  deltaHedge: z.ZodOptional<z.ZodObject<{
26561
+ targetDeltaBps: z.ZodOptional<z.ZodBigInt>;
26522
26562
  deltaThresholdBps: z.ZodOptional<z.ZodBigInt>;
26523
26563
  maxHedgeSlots: z.ZodOptional<z.ZodNumber>;
26524
26564
  timedRehedge: z.ZodOptional<z.ZodObject<{
@@ -35363,18 +35403,18 @@ type GetDepositEpochStatesForWithdrawalQuery = {
35363
35403
  //#endregion
35364
35404
  //#region src/graphql/hypoVault-sdk.generated.d.ts
35365
35405
  type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
35366
- declare const DepositEpochStateFragmentDoc: graphql8.DocumentNode;
35367
- declare const HypoVaultFragmentDoc: graphql9.DocumentNode;
35368
- declare const WithdrawalEpochStateFragmentDoc: graphql10.DocumentNode;
35369
- declare const GetDepositOverviewDocument: graphql11.DocumentNode;
35370
- declare const GetLatestDepositAndWithdrawEpochDocument: graphql12.DocumentNode;
35371
- declare const GetLatestEpochDocument: graphql13.DocumentNode;
35372
- declare const GetVaultHistoryDocument: graphql14.DocumentNode;
35373
- declare const GetFilteredHypoVaultsDocument: graphql15.DocumentNode;
35374
- declare const GetQueuedWithdrawalsForExecutionDocument: graphql16.DocumentNode;
35375
- declare const GetWithdrawalEpochStatesForExecutionDocument: graphql17.DocumentNode;
35376
- declare const GetQueuedDepositsForWithdrawalDocument: graphql18.DocumentNode;
35377
- declare const GetDepositEpochStatesForWithdrawalDocument: graphql19.DocumentNode;
35406
+ declare const DepositEpochStateFragmentDoc: graphql27.DocumentNode;
35407
+ declare const HypoVaultFragmentDoc: graphql28.DocumentNode;
35408
+ declare const WithdrawalEpochStateFragmentDoc: graphql29.DocumentNode;
35409
+ declare const GetDepositOverviewDocument: graphql30.DocumentNode;
35410
+ declare const GetLatestDepositAndWithdrawEpochDocument: graphql31.DocumentNode;
35411
+ declare const GetLatestEpochDocument: graphql32.DocumentNode;
35412
+ declare const GetVaultHistoryDocument: graphql33.DocumentNode;
35413
+ declare const GetFilteredHypoVaultsDocument: graphql34.DocumentNode;
35414
+ declare const GetQueuedWithdrawalsForExecutionDocument: graphql35.DocumentNode;
35415
+ declare const GetWithdrawalEpochStatesForExecutionDocument: graphql36.DocumentNode;
35416
+ declare const GetQueuedDepositsForWithdrawalDocument: graphql37.DocumentNode;
35417
+ declare const GetDepositEpochStatesForWithdrawalDocument: graphql38.DocumentNode;
35378
35418
  type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
35379
35419
  declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
35380
35420
  GetDepositOverview(variables: GetDepositOverviewQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetDepositOverviewQuery>;
@@ -35534,5 +35574,5 @@ declare function getIrmCurve(params: {
35534
35574
  }>;
35535
35575
 
35536
35576
  //#endregion
35537
- 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_V3_AUTHORIZATION_BLOCK, MAINNET_WETH_PLP_COMPILED_POOL_POLICY, MAINNET_WETH_PLP_POOL_POLICY, 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_MARKET, ROBINHOOD_USDG_PLP_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_POOL_POLICY, ReadContractFn, ReadContractParams, RedepositStatusChanged, RedepositStatusChanged_Filter, RedepositStatusChanged_OrderBy, RescueDistributorAbi, 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, VaultNetLendingApyTrackerInput, VaultPoolCandidateTokenIds, 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, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMainnetV3AuthorizationArtifactsAtBlock, getMainnetV3AuthorizationGenerations, getMainnetVaultManagerRootAtBlock, getMainnetVaultManagerRootHistory, getMainnetVaultPoolConfigurationAtBlock, getMainnetVaultPoolConfigurationHistory, getMinQueuedDepositEpoch, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getSdk, getSpyUsdgMarket, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getVaultApyErrorMessage, getVaultApyStrategy, getVaultCandidatePoolInfos, getVaultDeltaHedgeHistoricalFeeQuote, getVaultDeltaHedgeInitialFeeQuote, getVaultPoolInfos, getVaultTransactionFeeQuote, getVaultTransactionReplacementFeeQuote, 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, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultPoolInfosAtBlock, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, statusForVaultSharePriceSnapshot, useCancelDeposit, useClaimVaultShares, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, validateVaultSignedTransactionFeeCaps, verifyVaultOpenTokenIdsAtBlock };
35577
+ 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_V3_AUTHORIZATION_BLOCK, MAINNET_WETH_PLP_COMPILED_POOL_POLICY, MAINNET_WETH_PLP_POOL_POLICY, 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_MARKET, ROBINHOOD_USDG_PLP_COMPILED_POOL_POLICY, ROBINHOOD_USDG_PLP_POOL_POLICY, ReadContractFn, ReadContractParams, RedepositStatusChanged, RedepositStatusChanged_Filter, RedepositStatusChanged_OrderBy, RescueDistributorAbi, 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, VaultNetLendingApyTrackerInput, VaultPoolCandidateTokenIds, 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, getSdk, getSpyUsdgMarket, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getVaultApyErrorMessage, getVaultApyStrategy, getVaultCandidatePoolInfos, getVaultDeltaHedgeHistoricalFeeQuote, getVaultDeltaHedgeInitialFeeQuote, getVaultPoolInfos, getVaultTransactionFeeQuote, getVaultTransactionReplacementFeeQuote, 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, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultPoolInfosAtBlock, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, statusForVaultSharePriceSnapshot, useCancelDeposit, useClaimVaultShares, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, validateVaultSignedTransactionFeeCaps, verifyVaultOpenTokenIdsAtBlock };
35538
35578
  //# sourceMappingURL=index.d.ts.map