@panoptic-eng/sdk 1.0.33 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cow/index.js +3 -3
- package/dist/{cow-aX6of9TS.js → cow-Zsey85vV.js} +2 -2
- package/dist/{cow-aX6of9TS.js.map → cow-Zsey85vV.js.map} +1 -1
- package/dist/deployments.d.ts +5 -1
- package/dist/deployments.d.ts.map +1 -1
- package/dist/deployments.js +7 -1
- package/dist/deployments.js.map +1 -1
- package/dist/index-CURXeKNy.d.ts.map +1 -1
- package/dist/index.d.ts +405 -548
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +807 -551
- package/dist/index.js.map +1 -1
- package/dist/{irm-JPcV9ykY.js → irm-C02_oZwE.js} +12 -3
- package/dist/{irm-JPcV9ykY.js.map → irm-C02_oZwE.js.map} +1 -1
- package/dist/{irm-Dw2agmGR.d.ts → irm-CmgC1Mqi.d.ts} +3 -3
- package/dist/{irm-Dw2agmGR.d.ts.map → irm-CmgC1Mqi.d.ts.map} +1 -1
- package/dist/panoptic/v2/index.d.ts +1 -1
- package/dist/panoptic/v2/index.js +5 -5
- package/dist/panoptic/v2/react-public.d.ts +3 -3
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +7 -7
- package/dist/{position-C8rkkKhi.js → position-Ca57RRjN.js} +2 -2
- package/dist/{position-C8rkkKhi.js.map → position-Ca57RRjN.js.map} +1 -1
- package/dist/{router-CS86ptMu.js → router-BOwbvQBP.js} +3 -3
- package/dist/{router-CS86ptMu.js.map → router-BOwbvQBP.js.map} +1 -1
- package/dist/{router-DcoU2KmV.js → router-CW5w7Y5U.js} +2 -2
- package/dist/{router-DcoU2KmV.js.map → router-CW5w7Y5U.js.map} +1 -1
- package/dist/uniswap/index.js +4 -4
- package/dist/{v2-B68I6nwv.js → v2-CC5WDfS9.js} +4 -4
- package/dist/{v2-B68I6nwv.js.map → v2-CC5WDfS9.js.map} +1 -1
- package/dist/{writes-AupZCK4M.js → writes-DUUcU9P7.js} +2 -2
- package/dist/{writes-AupZCK4M.js.map → writes-DUUcU9P7.js.map} +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { BASE_CHAIN_ID$1 as BASE_CHAIN_ID, BASE_DEPLOYMENT$1 as BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET$1 as BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES$1 as BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES$1 as BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES$1 as BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS$1 as BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES$1 as BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES$1 as BASE_PANOPTIC_V2_ADDRESSES, BORROW_INDEX_BITS$1 as BORROW_INDEX_BITS, BPS_SCALE$1 as BPS_SCALE, CHAIN_DEPLOYMENTS$1 as CHAIN_DEPLOYMENTS, ChainDeployment, HypoVaultManagerTurnkeySigners, IrmCurrent, IrmMarketStateInputs, IrmPoint, MAINNET_CHAIN_ID$1 as MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT$1 as MAINNET_DEPLOYMENT, MAINNET_PANOPTIC_V2_ADDRESSES$1 as MAINNET_PANOPTIC_V2_ADDRESSES, MARKET_EPOCH_BITS$1 as MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT$1 as MARKET_EPOCH_SHIFT, RATE_AT_TARGET_BITS$1 as RATE_AT_TARGET_BITS, SECONDS_PER_YEAR$1 as SECONDS_PER_YEAR, SEPOLIA_CHAIN_ID$1 as SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT$1 as SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET$1 as SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES$1 as SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES$1 as SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES$1 as SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS$1 as SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES$1 as SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES$1 as SEPOLIA_PANOPTIC_V2_ADDRESSES, UNREALIZED_INTEREST_BITS$1 as UNREALIZED_INTEREST_BITS, WAD$3 as WAD, annualizePerSecondRateWad$1 as annualizePerSecondRateWad, collateralTrackerV2Abi$1 as collateralTrackerV2Abi, deriveSupplyRatePerSecWad$1 as deriveSupplyRatePerSecWad, formatPerSecondRateWadAsAprPct$1 as formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct$1 as formatPerSecondRateWadAsApyPct, getChainDeployment$1 as getChainDeployment, getEthUsdcMarket$1 as getEthUsdcMarket, getIrmCurrent$1 as getIrmCurrent, getIrmCurve$1 as getIrmCurve, isSupportedChain$1 as isSupportedChain, packMarketState$1 as packMarketState, panopticFactoryV3Abi$1 as panopticFactoryV3Abi, panopticFactoryV4Abi$1 as panopticFactoryV4Abi, panopticPoolV2Abi$1 as panopticPoolV2Abi, panopticQueryAbi$2 as panopticQueryAbi, ratePerSecWadToAprPct$1 as ratePerSecWadToAprPct, requireChainDeployment$1 as requireChainDeployment, riskEngineAbi$1 as riskEngineAbi, semiFungiblePositionManagerV3Abi$1 as semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi$1 as semiFungiblePositionManagerV4Abi, utilizationBpsToWad$1 as utilizationBpsToWad, utilizationPctToWad$1 as utilizationPctToWad } from "./irm-
|
|
1
|
+
import { BASE_CHAIN_ID$1 as BASE_CHAIN_ID, BASE_DEPLOYMENT$1 as BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET$1 as BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES$1 as BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES$1 as BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES$1 as BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS$1 as BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES$1 as BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES$1 as BASE_PANOPTIC_V2_ADDRESSES, BORROW_INDEX_BITS$1 as BORROW_INDEX_BITS, BPS_SCALE$1 as BPS_SCALE, CHAIN_DEPLOYMENTS$1 as CHAIN_DEPLOYMENTS, ChainDeployment, HypoVaultManagerTurnkeySigners, IrmCurrent, IrmMarketStateInputs, IrmPoint, MAINNET_CHAIN_ID$1 as MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT$1 as MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES$1 as MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES$1 as MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES$1 as MAINNET_RISK_ENGINES, MARKET_EPOCH_BITS$1 as MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT$1 as MARKET_EPOCH_SHIFT, RATE_AT_TARGET_BITS$1 as RATE_AT_TARGET_BITS, SECONDS_PER_YEAR$1 as SECONDS_PER_YEAR, SEPOLIA_CHAIN_ID$1 as SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT$1 as SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET$1 as SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES$1 as SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES$1 as SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES$1 as SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS$1 as SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES$1 as SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES$1 as SEPOLIA_PANOPTIC_V2_ADDRESSES, UNREALIZED_INTEREST_BITS$1 as UNREALIZED_INTEREST_BITS, WAD$3 as WAD, annualizePerSecondRateWad$1 as annualizePerSecondRateWad, collateralTrackerV2Abi$1 as collateralTrackerV2Abi, deriveSupplyRatePerSecWad$1 as deriveSupplyRatePerSecWad, formatPerSecondRateWadAsAprPct$1 as formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct$1 as formatPerSecondRateWadAsApyPct, getChainDeployment$1 as getChainDeployment, getEthUsdcMarket$1 as getEthUsdcMarket, getIrmCurrent$1 as getIrmCurrent, getIrmCurve$1 as getIrmCurve, isSupportedChain$1 as isSupportedChain, packMarketState$1 as packMarketState, panopticFactoryV3Abi$1 as panopticFactoryV3Abi, panopticFactoryV4Abi$1 as panopticFactoryV4Abi, panopticPoolV2Abi$1 as panopticPoolV2Abi, panopticQueryAbi$2 as panopticQueryAbi, ratePerSecWadToAprPct$1 as ratePerSecWadToAprPct, requireChainDeployment$1 as requireChainDeployment, riskEngineAbi$1 as riskEngineAbi, semiFungiblePositionManagerV3Abi$1 as semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi$1 as semiFungiblePositionManagerV4Abi, utilizationBpsToWad$1 as utilizationBpsToWad, utilizationPctToWad$1 as utilizationPctToWad } from "./irm-CmgC1Mqi.js";
|
|
2
2
|
import { Abi, Account as Account$1, Address as Address$1, BaseError, Chain, Client, ContractFunctionArgs, ContractFunctionName, ContractFunctionRevertedError, Hex, PublicClient, Transport } from "viem";
|
|
3
3
|
import Decimal from "decimal.js";
|
|
4
4
|
import { Config, UseSimulateContractReturnType, UseWaitForTransactionReceiptReturnType, UseWriteContractReturnType } from "wagmi";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
7
|
import { VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultDisplayNameResolver, VaultDisplayNameResolverInput, resolveVaultDisplayName } from "./deployments";
|
|
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
8
|
import * as graphql17 from "graphql";
|
|
17
9
|
import * as graphql18 from "graphql";
|
|
18
10
|
import * as graphql19 from "graphql";
|
|
19
11
|
import * as graphql20 from "graphql";
|
|
12
|
+
import * as graphql21 from "graphql";
|
|
13
|
+
import * as graphql22 from "graphql";
|
|
14
|
+
import * as graphql23 from "graphql";
|
|
15
|
+
import * as graphql24 from "graphql";
|
|
16
|
+
import * as graphql25 from "graphql";
|
|
17
|
+
import * as graphql26 from "graphql";
|
|
18
|
+
import * as graphql27 from "graphql";
|
|
19
|
+
import * as graphql28 from "graphql";
|
|
20
20
|
|
|
21
21
|
//#region src/abis/CollateralTracker.d.ts
|
|
22
22
|
declare const CollateralTrackerAbi: readonly [{
|
|
@@ -18221,185 +18221,51 @@ declare const MainnetLegacyWETHPLPStrategistLeaves: {
|
|
|
18221
18221
|
|
|
18222
18222
|
//#endregion
|
|
18223
18223
|
//#region src/hypoVault/hypoVaultManagerArtifacts/MainnetUSDCPLPStrategistLeaves.d.ts
|
|
18224
|
-
|
|
18224
|
+
/** Production permissions before the ETH/USDC 5bps v3 pool authorization executes. */
|
|
18225
|
+
declare const MainnetUSDCPLPPreviousStrategistLeaves: {
|
|
18225
18226
|
readonly metadata: {
|
|
18226
|
-
readonly AccountantAddress:
|
|
18227
|
-
readonly BoringVaultAddress:
|
|
18228
|
-
readonly DecoderAndSanitizerAddress:
|
|
18229
|
-
readonly DigestComposition: readonly [
|
|
18230
|
-
readonly LeafCount:
|
|
18231
|
-
readonly ManageRoot:
|
|
18232
|
-
readonly ManagerAddress:
|
|
18233
|
-
readonly TreeCapacity:
|
|
18227
|
+
readonly AccountantAddress: string;
|
|
18228
|
+
readonly BoringVaultAddress: string;
|
|
18229
|
+
readonly DecoderAndSanitizerAddress: string;
|
|
18230
|
+
readonly DigestComposition: readonly string[];
|
|
18231
|
+
readonly LeafCount: number;
|
|
18232
|
+
readonly ManageRoot: `0x${string}`;
|
|
18233
|
+
readonly ManagerAddress: string;
|
|
18234
|
+
readonly TreeCapacity: number;
|
|
18234
18235
|
};
|
|
18235
|
-
readonly leafs: readonly
|
|
18236
|
-
readonly AddressArguments: readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"];
|
|
18237
|
-
readonly CanSendValue: false;
|
|
18238
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18239
|
-
readonly Description: "Approve poUSDC to spend USDC";
|
|
18240
|
-
readonly FunctionSelector: "0x095ea7b3";
|
|
18241
|
-
readonly FunctionSignature: "approve(address,uint256)";
|
|
18242
|
-
readonly LeafDigest: "0xa4ff0f9069d415056a5ca71d6f564b3cb9948639de45f81830c44c3c13d5c0d6";
|
|
18243
|
-
readonly PackedArgumentAddresses: "0x12bf31955522bac337d93e1bc0a39f68d8bda216";
|
|
18244
|
-
readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18245
|
-
}, {
|
|
18246
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18247
|
-
readonly CanSendValue: false;
|
|
18248
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18249
|
-
readonly Description: "Deposit USDC for poUSDC";
|
|
18250
|
-
readonly FunctionSelector: "0x6e553f65";
|
|
18251
|
-
readonly FunctionSignature: "deposit(uint256,address)";
|
|
18252
|
-
readonly LeafDigest: "0xbb2c673192faea1e2c7bcf47132061066ff342c42176e91889a5876d9ae3ef77";
|
|
18253
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18254
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18255
|
-
}, {
|
|
18256
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18257
|
-
readonly CanSendValue: false;
|
|
18258
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18259
|
-
readonly Description: "Withdraw USDC from poUSDC";
|
|
18260
|
-
readonly FunctionSelector: "0xb460af94";
|
|
18261
|
-
readonly FunctionSignature: "withdraw(uint256,address,address)";
|
|
18262
|
-
readonly LeafDigest: "0x174f9b40456f664fa1a0f9f2fb904df68f567720f7453dd62195297240bfcaf7";
|
|
18263
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18264
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18265
|
-
}, {
|
|
18266
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18267
|
-
readonly CanSendValue: false;
|
|
18268
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18269
|
-
readonly Description: "Withdraw USDC from poUSDC (with open positions)";
|
|
18270
|
-
readonly FunctionSelector: "0xe51161ba";
|
|
18271
|
-
readonly FunctionSignature: "withdraw(uint256,address,address,uint256[],bool)";
|
|
18272
|
-
readonly LeafDigest: "0x6c17d228bfbb30e970580cfaf2503a7a205836f8120b536fe94623204ac3d100";
|
|
18273
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18274
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18275
|
-
}, {
|
|
18276
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18277
|
-
readonly CanSendValue: false;
|
|
18278
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18279
|
-
readonly Description: "Mint poUSDC using USDC";
|
|
18280
|
-
readonly FunctionSelector: "0x94bf804d";
|
|
18281
|
-
readonly FunctionSignature: "mint(uint256,address)";
|
|
18282
|
-
readonly LeafDigest: "0xb47becce43e16f164eeebe57151b3a474a5810fad1bad8c8c502c82a534a0398";
|
|
18283
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18284
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18285
|
-
}, {
|
|
18286
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18287
|
-
readonly CanSendValue: false;
|
|
18288
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18289
|
-
readonly Description: "Redeem poUSDC for USDC";
|
|
18290
|
-
readonly FunctionSelector: "0xba087652";
|
|
18291
|
-
readonly FunctionSignature: "redeem(uint256,address,address)";
|
|
18292
|
-
readonly LeafDigest: "0xc91cc83e9b2230b47bb390d3be17407f42c3b9348cc6596803c269dec49e8d51";
|
|
18293
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18294
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18295
|
-
}, {
|
|
18296
|
-
readonly AddressArguments: readonly [];
|
|
18297
|
-
readonly CanSendValue: false;
|
|
18298
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18299
|
-
readonly Description: "Dispatch mint/burn options on PanopticPool";
|
|
18300
|
-
readonly FunctionSelector: "0xc25813aa";
|
|
18301
|
-
readonly FunctionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
|
|
18302
|
-
readonly LeafDigest: "0xf5cc741985c1ce6b1af02be04696bd5944097198abf5ce09945a956143b14e6d";
|
|
18303
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18304
|
-
readonly TargetAddress: "0x00000000563b70d704f4c6675a5f6ac989fbae13";
|
|
18305
|
-
}, {
|
|
18306
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18307
|
-
readonly CanSendValue: false;
|
|
18308
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18309
|
-
readonly Description: "Withdraw ETH from poETH";
|
|
18310
|
-
readonly FunctionSelector: "0xb460af94";
|
|
18311
|
-
readonly FunctionSignature: "withdraw(uint256,address,address)";
|
|
18312
|
-
readonly LeafDigest: "0xb5731bb52d9dccf49773020a8ddc59afbf937d6e203ef104e085f94f18b50e9b";
|
|
18313
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18314
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18315
|
-
}, {
|
|
18316
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18317
|
-
readonly CanSendValue: false;
|
|
18318
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18319
|
-
readonly Description: "Withdraw ETH from poETH (with open positions)";
|
|
18320
|
-
readonly FunctionSelector: "0xe51161ba";
|
|
18321
|
-
readonly FunctionSignature: "withdraw(uint256,address,address,uint256[],bool)";
|
|
18322
|
-
readonly LeafDigest: "0xa600a5aea3b025f316a4cc99e16c188953aeca6e1bf347d6b2ea8f549b859689";
|
|
18323
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18324
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18325
|
-
}, {
|
|
18326
|
-
readonly AddressArguments: readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"];
|
|
18327
|
-
readonly CanSendValue: false;
|
|
18328
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18329
|
-
readonly Description: "Approve wSPCXx poUSDC to spend USDC";
|
|
18330
|
-
readonly FunctionSelector: "0x095ea7b3";
|
|
18331
|
-
readonly FunctionSignature: "approve(address,uint256)";
|
|
18332
|
-
readonly LeafDigest: "0x51f664e3fbdd3e6780eebf725f83871971fedbc1344987982349ae6d636e04df";
|
|
18333
|
-
readonly PackedArgumentAddresses: "0x141cc517a6276542b59732fd85c1a2c536ef7aca";
|
|
18334
|
-
readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18335
|
-
}, {
|
|
18336
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18337
|
-
readonly CanSendValue: false;
|
|
18338
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18339
|
-
readonly Description: "Deposit USDC for wSPCXx poUSDC";
|
|
18340
|
-
readonly FunctionSelector: "0x6e553f65";
|
|
18341
|
-
readonly FunctionSignature: "deposit(uint256,address)";
|
|
18342
|
-
readonly LeafDigest: "0xb8baaad70acd2686ec36c69277ae1e53e2e5f515a3a6087187cfb6c00ec9f322";
|
|
18343
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18344
|
-
readonly TargetAddress: "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA";
|
|
18345
|
-
}, {
|
|
18346
|
-
readonly AddressArguments: readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"];
|
|
18347
|
-
readonly CanSendValue: false;
|
|
18348
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18349
|
-
readonly Description: "Withdraw USDC from wSPCXx poUSDC";
|
|
18350
|
-
readonly FunctionSelector: "0xb460af94";
|
|
18351
|
-
readonly FunctionSignature: "withdraw(uint256,address,address)";
|
|
18352
|
-
readonly LeafDigest: "0x4ede52d99a5e4722726abc80a939e2f94268cfb2a0584a184bcae79a1c6c82c2";
|
|
18353
|
-
readonly PackedArgumentAddresses: "0x236d0558f06cd60780b232d4ec4c92d2cb7e4d18236d0558f06cd60780b232d4ec4c92d2cb7e4d18";
|
|
18354
|
-
readonly TargetAddress: "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA";
|
|
18355
|
-
}, {
|
|
18356
|
-
readonly AddressArguments: readonly [];
|
|
18357
|
-
readonly CanSendValue: false;
|
|
18358
|
-
readonly DecoderAndSanitizerAddress: "0x0000000000000000000000000000000000000000";
|
|
18236
|
+
readonly leafs: readonly ((StrategistLeaf & {
|
|
18359
18237
|
readonly Description: "";
|
|
18360
|
-
|
|
18361
|
-
readonly
|
|
18362
|
-
readonly
|
|
18363
|
-
readonly
|
|
18364
|
-
readonly
|
|
18365
|
-
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
|
|
18369
|
-
|
|
18370
|
-
|
|
18371
|
-
|
|
18372
|
-
readonly
|
|
18373
|
-
readonly
|
|
18374
|
-
readonly
|
|
18375
|
-
|
|
18376
|
-
readonly
|
|
18377
|
-
readonly
|
|
18378
|
-
readonly
|
|
18379
|
-
readonly
|
|
18380
|
-
readonly FunctionSelector: "0xc5d24601";
|
|
18381
|
-
readonly FunctionSignature: "";
|
|
18382
|
-
readonly LeafDigest: "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400";
|
|
18383
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18384
|
-
readonly TargetAddress: "0x0000000000000000000000000000000000000000";
|
|
18385
|
-
}, {
|
|
18386
|
-
readonly AddressArguments: readonly [];
|
|
18387
|
-
readonly CanSendValue: false;
|
|
18388
|
-
readonly DecoderAndSanitizerAddress: "0x0000000000000000000000000000000000000000";
|
|
18389
|
-
readonly Description: "";
|
|
18390
|
-
readonly FunctionSelector: "0xc5d24601";
|
|
18391
|
-
readonly FunctionSignature: "";
|
|
18392
|
-
readonly LeafDigest: "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400";
|
|
18393
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18394
|
-
readonly TargetAddress: "0x0000000000000000000000000000000000000000";
|
|
18395
|
-
}];
|
|
18396
|
-
readonly MerkleTree: {
|
|
18397
|
-
readonly '0': readonly ["0xed7d4ae055fd62c6edc93bd676456748f52fe4f4b78f60ab3ef6394bacc31b5d"];
|
|
18398
|
-
readonly '1': readonly ["0xfdd68e4155c3f0143529939165390a7717848d745d5848b5de5dcbabc28e5bbb", "0x559d6a628cef4d55eabf143e84c270be2c3f61e236c2c36115fc29ebadc30bfa"];
|
|
18399
|
-
readonly '2': readonly ["0x03ddbd298d0afd4b181cc56a653fcd6c4cc6124edba7ffcea1cf9abc1396b34a", "0x5a78f5fea4886abf9b990cb11d6c97d8d90fa3aef528289cd2c7da07f7188d15", "0x67b572f27c64d564c387cf62d05e228ee073dedf11cfad4f95ca78d2673354ce", "0x849eda7a295b642e5ddaf49a30eec4470cf507efa83b4104c0752d069c7638fe"];
|
|
18400
|
-
readonly '3': readonly ["0xa48323079d50b7688f97c97276fe33bcc23c3664b0a94aa9f24162ad63e4c622", "0x9604e6ac6ac45ac3ec61d6ab2b52d96aeb9025c8e90cf93f7411b9c9a9dda29b", "0xa22cac1a8d963fd80eecce587c5833c77d944bc1dfaace739c66421431823263", "0x6bab63ba855d0ba1ef5fc9c8058253f278aec18f88be21d95b7cb11097d11e8a", "0x20b3b7048a0735825b5cb83b931b60eb4bbbd1c68c8466d86df5ae72361d5da4", "0xa0e8444c994231a2893a69086326624b42ad2973144580795d00406bb36b0b3f", "0xc5a36f3b7b955966d5ed3135dcc612f978306d73bce3697e230afae57fbaeeba", "0xc5a36f3b7b955966d5ed3135dcc612f978306d73bce3697e230afae57fbaeeba"];
|
|
18401
|
-
readonly '4': readonly ["0xa4ff0f9069d415056a5ca71d6f564b3cb9948639de45f81830c44c3c13d5c0d6", "0xbb2c673192faea1e2c7bcf47132061066ff342c42176e91889a5876d9ae3ef77", "0x174f9b40456f664fa1a0f9f2fb904df68f567720f7453dd62195297240bfcaf7", "0x6c17d228bfbb30e970580cfaf2503a7a205836f8120b536fe94623204ac3d100", "0xb47becce43e16f164eeebe57151b3a474a5810fad1bad8c8c502c82a534a0398", "0xc91cc83e9b2230b47bb390d3be17407f42c3b9348cc6596803c269dec49e8d51", "0xf5cc741985c1ce6b1af02be04696bd5944097198abf5ce09945a956143b14e6d", "0xb5731bb52d9dccf49773020a8ddc59afbf937d6e203ef104e085f94f18b50e9b", "0xa600a5aea3b025f316a4cc99e16c188953aeca6e1bf347d6b2ea8f549b859689", "0x51f664e3fbdd3e6780eebf725f83871971fedbc1344987982349ae6d636e04df", "0xb8baaad70acd2686ec36c69277ae1e53e2e5f515a3a6087187cfb6c00ec9f322", "0x4ede52d99a5e4722726abc80a939e2f94268cfb2a0584a184bcae79a1c6c82c2", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400"];
|
|
18238
|
+
}) | (StrategistLeaf & {
|
|
18239
|
+
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";
|
|
18240
|
+
readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
|
|
18241
|
+
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)";
|
|
18242
|
+
readonly AddressArguments: readonly [] | readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"] | readonly ["0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9"] | readonly ["0x69E9f9e44E5F52237493b980dd7306198C64A4E4"];
|
|
18243
|
+
readonly CanSendValue: boolean;
|
|
18244
|
+
}))[];
|
|
18245
|
+
readonly MerkleTree: Record<string, readonly `0x${string}`[]>;
|
|
18246
|
+
};
|
|
18247
|
+
/** Production permissions after the ETH/USDC 5bps v3 pool authorization executes. */
|
|
18248
|
+
declare const MainnetUSDCPLPStrategistLeaves: {
|
|
18249
|
+
readonly metadata: {
|
|
18250
|
+
readonly AccountantAddress: string;
|
|
18251
|
+
readonly BoringVaultAddress: string;
|
|
18252
|
+
readonly DecoderAndSanitizerAddress: string;
|
|
18253
|
+
readonly DigestComposition: readonly string[];
|
|
18254
|
+
readonly LeafCount: number;
|
|
18255
|
+
readonly ManageRoot: `0x${string}`;
|
|
18256
|
+
readonly ManagerAddress: string;
|
|
18257
|
+
readonly TreeCapacity: number;
|
|
18402
18258
|
};
|
|
18259
|
+
readonly leafs: readonly ((StrategistLeaf & {
|
|
18260
|
+
readonly Description: "";
|
|
18261
|
+
}) | (StrategistLeaf & {
|
|
18262
|
+
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";
|
|
18263
|
+
readonly TargetAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" | "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" | "0x00000000563b70d704f4c6675a5f6ac989fbae13" | "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7" | "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216" | "0x141cc517a6276542B59732Fd85C1A2C536eF7aCA" | "0x00000000009C7B687e833559e34503f64d7ed7c4" | "0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9" | "0x69E9f9e44E5F52237493b980dd7306198C64A4E4";
|
|
18264
|
+
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)";
|
|
18265
|
+
readonly AddressArguments: readonly [] | readonly ["0x12bF31955522BAC337D93e1bC0a39F68D8BDa216"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18", "0x236d0558f06cd60780b232d4Ec4c92d2cb7e4D18"] | readonly ["0x141cc517a6276542B59732Fd85C1A2C536eF7aCA"] | readonly ["0x3CCdA7d5E841d6543D90BcEc20b36a724C184DE9"] | readonly ["0x69E9f9e44E5F52237493b980dd7306198C64A4E4"];
|
|
18266
|
+
readonly CanSendValue: boolean;
|
|
18267
|
+
}))[];
|
|
18268
|
+
readonly MerkleTree: Record<string, readonly `0x${string}`[]>;
|
|
18403
18269
|
};
|
|
18404
18270
|
|
|
18405
18271
|
//#endregion
|
|
@@ -18407,6 +18273,35 @@ declare const MainnetUSDCPLPStrategistLeaves: {
|
|
|
18407
18273
|
declare const MainnetUSDCPLPVaultPoolInfos: {
|
|
18408
18274
|
readonly vaultAddress: Address;
|
|
18409
18275
|
readonly poolInfos: ({
|
|
18276
|
+
triggerTick: 150;
|
|
18277
|
+
maxPriceDeviation: 100;
|
|
18278
|
+
pool: Address;
|
|
18279
|
+
token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18280
|
+
token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
18281
|
+
} | {
|
|
18282
|
+
triggerTick: 150;
|
|
18283
|
+
maxPriceDeviation: 100;
|
|
18284
|
+
pool: Address;
|
|
18285
|
+
token0: Address;
|
|
18286
|
+
token1: Address;
|
|
18287
|
+
} | {
|
|
18288
|
+
triggerTick: 150;
|
|
18289
|
+
maxPriceDeviation: 10000;
|
|
18290
|
+
pool: "0x0f34e6fCda264349Db10d445BD95f529cbe88090";
|
|
18291
|
+
token0: "0x8e2eeD8b8B5E13Ea7BF38e50d7821d2C57309072";
|
|
18292
|
+
token1: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18293
|
+
})[];
|
|
18294
|
+
};
|
|
18295
|
+
/** Production accountant input before the ETH/USDC 5bps v3 pool authorization executes. */
|
|
18296
|
+
declare const MainnetUSDCPLPPreviousVaultPoolInfos: {
|
|
18297
|
+
readonly vaultAddress: Address;
|
|
18298
|
+
readonly poolInfos: ({
|
|
18299
|
+
triggerTick: 150;
|
|
18300
|
+
maxPriceDeviation: 100;
|
|
18301
|
+
pool: Address;
|
|
18302
|
+
token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18303
|
+
token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
18304
|
+
} | {
|
|
18410
18305
|
triggerTick: 150;
|
|
18411
18306
|
maxPriceDeviation: 100;
|
|
18412
18307
|
pool: Address;
|
|
@@ -18433,198 +18328,87 @@ declare const MainnetUSDCPLPLegacyVaultPoolInfos: {
|
|
|
18433
18328
|
|
|
18434
18329
|
//#endregion
|
|
18435
18330
|
//#region src/hypoVault/hypoVaultManagerArtifacts/MainnetWETHPLPStrategistLeaves.d.ts
|
|
18436
|
-
|
|
18331
|
+
/** Production permissions before the ETH/USDC 5bps v3 pool authorization executes. */
|
|
18332
|
+
declare const MainnetWETHPLPPreviousStrategistLeaves: {
|
|
18437
18333
|
readonly metadata: {
|
|
18438
|
-
readonly AccountantAddress:
|
|
18439
|
-
readonly BoringVaultAddress:
|
|
18440
|
-
readonly DecoderAndSanitizerAddress:
|
|
18441
|
-
readonly DigestComposition: readonly [
|
|
18442
|
-
readonly LeafCount:
|
|
18443
|
-
readonly ManageRoot:
|
|
18444
|
-
readonly ManagerAddress:
|
|
18445
|
-
readonly TreeCapacity:
|
|
18334
|
+
readonly AccountantAddress: string;
|
|
18335
|
+
readonly BoringVaultAddress: string;
|
|
18336
|
+
readonly DecoderAndSanitizerAddress: string;
|
|
18337
|
+
readonly DigestComposition: readonly string[];
|
|
18338
|
+
readonly LeafCount: number;
|
|
18339
|
+
readonly ManageRoot: `0x${string}`;
|
|
18340
|
+
readonly ManagerAddress: string;
|
|
18341
|
+
readonly TreeCapacity: number;
|
|
18446
18342
|
};
|
|
18447
|
-
readonly leafs: readonly
|
|
18448
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18449
|
-
readonly CanSendValue: true;
|
|
18450
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18451
|
-
readonly Description: "Deposit ETH for poETH (payable)";
|
|
18452
|
-
readonly FunctionSelector: "0x6e553f65";
|
|
18453
|
-
readonly FunctionSignature: "deposit(uint256,address)";
|
|
18454
|
-
readonly LeafDigest: "0xcde717428f55a23f1c5590ae350e411a96f376207e4cd74f2ad261072915782c";
|
|
18455
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18456
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18457
|
-
}, {
|
|
18458
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92", "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18459
|
-
readonly CanSendValue: false;
|
|
18460
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18461
|
-
readonly Description: "Withdraw ETH from poETH";
|
|
18462
|
-
readonly FunctionSelector: "0xb460af94";
|
|
18463
|
-
readonly FunctionSignature: "withdraw(uint256,address,address)";
|
|
18464
|
-
readonly LeafDigest: "0xcebfac0106f9d33ca5766a2f6054eeb9df218af39b9f87a446a54674481caa4f";
|
|
18465
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92d4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18466
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18467
|
-
}, {
|
|
18468
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92", "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18469
|
-
readonly CanSendValue: false;
|
|
18470
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18471
|
-
readonly Description: "Withdraw ETH from poETH (with open positions)";
|
|
18472
|
-
readonly FunctionSelector: "0xe51161ba";
|
|
18473
|
-
readonly FunctionSignature: "withdraw(uint256,address,address,uint256[],bool)";
|
|
18474
|
-
readonly LeafDigest: "0x6eacf89fb24e20afd26b47bc704571a6ae14675623678caf767ff4167b989b94";
|
|
18475
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92d4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18476
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18477
|
-
}, {
|
|
18478
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18479
|
-
readonly CanSendValue: true;
|
|
18480
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18481
|
-
readonly Description: "Mint poETH using ETH (payable)";
|
|
18482
|
-
readonly FunctionSelector: "0x94bf804d";
|
|
18483
|
-
readonly FunctionSignature: "mint(uint256,address)";
|
|
18484
|
-
readonly LeafDigest: "0x2393ae33b276888f3402cd9be5ac50c99f6c093ab26d76309fcde84f32ac5779";
|
|
18485
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18486
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18487
|
-
}, {
|
|
18488
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92", "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18489
|
-
readonly CanSendValue: false;
|
|
18490
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18491
|
-
readonly Description: "Redeem poETH for ETH";
|
|
18492
|
-
readonly FunctionSelector: "0xba087652";
|
|
18493
|
-
readonly FunctionSignature: "redeem(uint256,address,address)";
|
|
18494
|
-
readonly LeafDigest: "0x7560d3271ed5c3e12cf98e16f3e6810c35a9da7ade8642ce4f4047012f768ae4";
|
|
18495
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92d4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18496
|
-
readonly TargetAddress: "0x1e46b0289B7E0F710E2Db8Ab87800dd782D624f7";
|
|
18497
|
-
}, {
|
|
18498
|
-
readonly AddressArguments: readonly [];
|
|
18499
|
-
readonly CanSendValue: false;
|
|
18500
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18501
|
-
readonly Description: "Dispatch mint/burn options on PanopticPool";
|
|
18502
|
-
readonly FunctionSelector: "0xc25813aa";
|
|
18503
|
-
readonly FunctionSignature: "dispatch(uint256[],uint256[],uint128[],int24[3][],bool,uint256)";
|
|
18504
|
-
readonly LeafDigest: "0xf5cc741985c1ce6b1af02be04696bd5944097198abf5ce09945a956143b14e6d";
|
|
18505
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18506
|
-
readonly TargetAddress: "0x00000000563b70d704f4c6675a5f6ac989fbae13";
|
|
18507
|
-
}, {
|
|
18508
|
-
readonly AddressArguments: readonly [];
|
|
18509
|
-
readonly CanSendValue: true;
|
|
18510
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18511
|
-
readonly Description: "Wrap ETH to WETH";
|
|
18512
|
-
readonly FunctionSelector: "0xd0e30db0";
|
|
18513
|
-
readonly FunctionSignature: "deposit()";
|
|
18514
|
-
readonly LeafDigest: "0x89484d127bf05d2f4fcc56181335b8d87023e41ccc81c042e9f922f578f1471b";
|
|
18515
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18516
|
-
readonly TargetAddress: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
18517
|
-
}, {
|
|
18518
|
-
readonly AddressArguments: readonly [];
|
|
18519
|
-
readonly CanSendValue: false;
|
|
18520
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18521
|
-
readonly Description: "Unwrap WETH to ETH";
|
|
18522
|
-
readonly FunctionSelector: "0x2e1a7d4d";
|
|
18523
|
-
readonly FunctionSignature: "withdraw(uint256)";
|
|
18524
|
-
readonly LeafDigest: "0x7f94c593f64614a4739e3005bc02e9db203ded2796c3104cc7609ecbc89bc240";
|
|
18525
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18526
|
-
readonly TargetAddress: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
18527
|
-
}, {
|
|
18528
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92", "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18529
|
-
readonly CanSendValue: false;
|
|
18530
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18531
|
-
readonly Description: "Withdraw USDC from poUSDC";
|
|
18532
|
-
readonly FunctionSelector: "0xb460af94";
|
|
18533
|
-
readonly FunctionSignature: "withdraw(uint256,address,address)";
|
|
18534
|
-
readonly LeafDigest: "0xa7b676c12e394da66e124d4611ddf107a1267f476fab0b3cbc3dc885a8e5a77c";
|
|
18535
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92d4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18536
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18537
|
-
}, {
|
|
18538
|
-
readonly AddressArguments: readonly ["0xd4e2c720a760049cc4151bcf61e3a9348db9cd92", "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92"];
|
|
18539
|
-
readonly CanSendValue: false;
|
|
18540
|
-
readonly DecoderAndSanitizerAddress: "0xC87c45d2dbE5acb56013e2591427ECC84Fa251E6";
|
|
18541
|
-
readonly Description: "Withdraw USDC from poUSDC (with open positions)";
|
|
18542
|
-
readonly FunctionSelector: "0xe51161ba";
|
|
18543
|
-
readonly FunctionSignature: "withdraw(uint256,address,address,uint256[],bool)";
|
|
18544
|
-
readonly LeafDigest: "0x219732b5a811c3167d72323963327d5ea266e27575caecab2d1f35746f30a2f2";
|
|
18545
|
-
readonly PackedArgumentAddresses: "0xd4e2c720a760049cc4151bcf61e3a9348db9cd92d4e2c720a760049cc4151bcf61e3a9348db9cd92";
|
|
18546
|
-
readonly TargetAddress: "0x12bF31955522BAC337D93e1bC0a39F68D8BDa216";
|
|
18547
|
-
}, {
|
|
18548
|
-
readonly AddressArguments: readonly [];
|
|
18549
|
-
readonly CanSendValue: false;
|
|
18550
|
-
readonly DecoderAndSanitizerAddress: "0x0000000000000000000000000000000000000000";
|
|
18551
|
-
readonly Description: "";
|
|
18552
|
-
readonly FunctionSelector: "0xc5d24601";
|
|
18553
|
-
readonly FunctionSignature: "";
|
|
18554
|
-
readonly LeafDigest: "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400";
|
|
18555
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18556
|
-
readonly TargetAddress: "0x0000000000000000000000000000000000000000";
|
|
18557
|
-
}, {
|
|
18558
|
-
readonly AddressArguments: readonly [];
|
|
18559
|
-
readonly CanSendValue: false;
|
|
18560
|
-
readonly DecoderAndSanitizerAddress: "0x0000000000000000000000000000000000000000";
|
|
18561
|
-
readonly Description: "";
|
|
18562
|
-
readonly FunctionSelector: "0xc5d24601";
|
|
18563
|
-
readonly FunctionSignature: "";
|
|
18564
|
-
readonly LeafDigest: "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400";
|
|
18565
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18566
|
-
readonly TargetAddress: "0x0000000000000000000000000000000000000000";
|
|
18567
|
-
}, {
|
|
18568
|
-
readonly AddressArguments: readonly [];
|
|
18569
|
-
readonly CanSendValue: false;
|
|
18570
|
-
readonly DecoderAndSanitizerAddress: "0x0000000000000000000000000000000000000000";
|
|
18571
|
-
readonly Description: "";
|
|
18572
|
-
readonly FunctionSelector: "0xc5d24601";
|
|
18573
|
-
readonly FunctionSignature: "";
|
|
18574
|
-
readonly LeafDigest: "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400";
|
|
18575
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18576
|
-
readonly TargetAddress: "0x0000000000000000000000000000000000000000";
|
|
18577
|
-
}, {
|
|
18578
|
-
readonly AddressArguments: readonly [];
|
|
18579
|
-
readonly CanSendValue: false;
|
|
18580
|
-
readonly DecoderAndSanitizerAddress: "0x0000000000000000000000000000000000000000";
|
|
18343
|
+
readonly leafs: readonly ((StrategistLeaf & {
|
|
18581
18344
|
readonly Description: "";
|
|
18582
|
-
|
|
18583
|
-
readonly
|
|
18584
|
-
readonly
|
|
18585
|
-
readonly
|
|
18586
|
-
readonly
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
readonly
|
|
18595
|
-
readonly
|
|
18596
|
-
readonly
|
|
18597
|
-
|
|
18598
|
-
readonly
|
|
18599
|
-
readonly
|
|
18600
|
-
readonly
|
|
18601
|
-
readonly
|
|
18602
|
-
readonly FunctionSelector: "0xc5d24601";
|
|
18603
|
-
readonly FunctionSignature: "";
|
|
18604
|
-
readonly LeafDigest: "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400";
|
|
18605
|
-
readonly PackedArgumentAddresses: "0x";
|
|
18606
|
-
readonly TargetAddress: "0x0000000000000000000000000000000000000000";
|
|
18607
|
-
}];
|
|
18608
|
-
readonly MerkleTree: {
|
|
18609
|
-
readonly '0': readonly ["0x14c4c96cc3730452ce71a447bdde6132f81acec862098a9ddd5e086805046a07"];
|
|
18610
|
-
readonly '1': readonly ["0xcd0defea21f2f5625ba2d231bce9500ad31a12181821c3e44a9eab8091726ef9", "0xb456d992b88713679d0f26a8212a362b552e0f1b8e8f4730ef9d93260658e6f4"];
|
|
18611
|
-
readonly '2': readonly ["0xd49b1154605f32b0e47658955ad9aa7f3fe8cd35358ee78a1cd96557e5c3aa4d", "0x6522d66ec4944c055a9004873f1d3eab7c42ec8328cad32a43f7cf5626099576", "0x106e1c4bfe0f35058431f70afe23aa18c131f9ed04c0e9442c15742800410377", "0x849eda7a295b642e5ddaf49a30eec4470cf507efa83b4104c0752d069c7638fe"];
|
|
18612
|
-
readonly '3': readonly ["0xa6bf0406d4c1a9cc26bd7b8e443b3d933011eeed6f805e7f96c98f8ca7b6570c", "0x1b4e0fc75d960683a9b652c9f9aa14ee22ba29685a3253a96bf65aea93934cee", "0xc13cedfed63f868281097bfc4491f94573cf90c8d65c417aefc7c10ed03f60cf", "0xe684b7c98715395e7d8478eb48587181872712495d41b47760ac5fe24211fc5e", "0x9c00f68592aac90ff74b0f87e48d5a3f0ca6108c0af23ed83cbbdab4ea49ffb6", "0xc5a36f3b7b955966d5ed3135dcc612f978306d73bce3697e230afae57fbaeeba", "0xc5a36f3b7b955966d5ed3135dcc612f978306d73bce3697e230afae57fbaeeba", "0xc5a36f3b7b955966d5ed3135dcc612f978306d73bce3697e230afae57fbaeeba"];
|
|
18613
|
-
readonly '4': readonly ["0xcde717428f55a23f1c5590ae350e411a96f376207e4cd74f2ad261072915782c", "0xcebfac0106f9d33ca5766a2f6054eeb9df218af39b9f87a446a54674481caa4f", "0x6eacf89fb24e20afd26b47bc704571a6ae14675623678caf767ff4167b989b94", "0x2393ae33b276888f3402cd9be5ac50c99f6c093ab26d76309fcde84f32ac5779", "0x7560d3271ed5c3e12cf98e16f3e6810c35a9da7ade8642ce4f4047012f768ae4", "0xf5cc741985c1ce6b1af02be04696bd5944097198abf5ce09945a956143b14e6d", "0x89484d127bf05d2f4fcc56181335b8d87023e41ccc81c042e9f922f578f1471b", "0x7f94c593f64614a4739e3005bc02e9db203ded2796c3104cc7609ecbc89bc240", "0xa7b676c12e394da66e124d4611ddf107a1267f476fab0b3cbc3dc885a8e5a77c", "0x219732b5a811c3167d72323963327d5ea266e27575caecab2d1f35746f30a2f2", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400", "0xa7a0fd846665d92e66be6155c6221b3acd7145ca7c4e4b67a594e4c516969400"];
|
|
18345
|
+
}) | (StrategistLeaf & {
|
|
18346
|
+
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";
|
|
18347
|
+
readonly TargetAddress: any;
|
|
18348
|
+
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)";
|
|
18349
|
+
readonly AddressArguments: readonly [] | readonly [Address] | readonly [Address, Address];
|
|
18350
|
+
readonly CanSendValue: boolean;
|
|
18351
|
+
}))[];
|
|
18352
|
+
readonly MerkleTree: Record<string, readonly `0x${string}`[]>;
|
|
18353
|
+
};
|
|
18354
|
+
/** Production permissions after the ETH/USDC 5bps v3 pool authorization executes. */
|
|
18355
|
+
declare const MainnetWETHPLPStrategistLeaves: {
|
|
18356
|
+
readonly metadata: {
|
|
18357
|
+
readonly AccountantAddress: string;
|
|
18358
|
+
readonly BoringVaultAddress: string;
|
|
18359
|
+
readonly DecoderAndSanitizerAddress: string;
|
|
18360
|
+
readonly DigestComposition: readonly string[];
|
|
18361
|
+
readonly LeafCount: number;
|
|
18362
|
+
readonly ManageRoot: `0x${string}`;
|
|
18363
|
+
readonly ManagerAddress: string;
|
|
18364
|
+
readonly TreeCapacity: number;
|
|
18614
18365
|
};
|
|
18366
|
+
readonly leafs: readonly ((StrategistLeaf & {
|
|
18367
|
+
readonly Description: "";
|
|
18368
|
+
}) | (StrategistLeaf & {
|
|
18369
|
+
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";
|
|
18370
|
+
readonly TargetAddress: any;
|
|
18371
|
+
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)";
|
|
18372
|
+
readonly AddressArguments: readonly [] | readonly [Address] | readonly [Address, Address];
|
|
18373
|
+
readonly CanSendValue: boolean;
|
|
18374
|
+
}))[];
|
|
18375
|
+
readonly MerkleTree: Record<string, readonly `0x${string}`[]>;
|
|
18615
18376
|
};
|
|
18616
18377
|
|
|
18617
18378
|
//#endregion
|
|
18618
18379
|
//#region src/hypoVault/hypoVaultManagerArtifacts/MainnetWETHPLPVaultPoolInfos.d.ts
|
|
18619
18380
|
declare const MainnetWETHPLPVaultPoolInfos: {
|
|
18620
18381
|
readonly vaultAddress: Address;
|
|
18621
|
-
readonly poolInfos: {
|
|
18382
|
+
readonly poolInfos: ({
|
|
18383
|
+
triggerTick: 150;
|
|
18384
|
+
maxPriceDeviation: 100;
|
|
18385
|
+
pool: Address;
|
|
18386
|
+
token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18387
|
+
token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
18388
|
+
} | {
|
|
18622
18389
|
triggerTick: 150;
|
|
18623
18390
|
maxPriceDeviation: 100;
|
|
18624
18391
|
pool: Address;
|
|
18625
18392
|
token0: Address;
|
|
18626
18393
|
token1: Address;
|
|
18627
|
-
}[];
|
|
18394
|
+
})[];
|
|
18395
|
+
};
|
|
18396
|
+
/** Production accountant input before the ETH/USDC 5bps v3 pool authorization executes. */
|
|
18397
|
+
declare const MainnetWETHPLPPreviousVaultPoolInfos: {
|
|
18398
|
+
readonly vaultAddress: Address;
|
|
18399
|
+
readonly poolInfos: ({
|
|
18400
|
+
triggerTick: 150;
|
|
18401
|
+
maxPriceDeviation: 100;
|
|
18402
|
+
pool: Address;
|
|
18403
|
+
token0: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18404
|
+
token1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
|
|
18405
|
+
} | {
|
|
18406
|
+
triggerTick: 150;
|
|
18407
|
+
maxPriceDeviation: 100;
|
|
18408
|
+
pool: Address;
|
|
18409
|
+
token0: Address;
|
|
18410
|
+
token1: Address;
|
|
18411
|
+
})[];
|
|
18628
18412
|
};
|
|
18629
18413
|
declare const MainnetWETHPLPLegacyVaultPoolInfos: {
|
|
18630
18414
|
readonly vaultAddress: "0x779a2aa634A004b3a3f3b322083744869BBC6D66";
|
|
@@ -18953,33 +18737,258 @@ declare const WethPlpVaultSepoliaDevConfig: HypoVaultManagerConfig;
|
|
|
18953
18737
|
declare const WethPlpVaultSepoliaProdConfig: HypoVaultManagerConfig;
|
|
18954
18738
|
|
|
18955
18739
|
//#endregion
|
|
18956
|
-
//#region src/hypoVault/hypoVaultManagerConfigs/vaultToConfig.d.ts
|
|
18957
|
-
type GetHypoVaultConfigOptions = {
|
|
18958
|
-
preferredDeployment?: HypoVaultManagerConfig['deployment'];
|
|
18740
|
+
//#region src/hypoVault/hypoVaultManagerConfigs/vaultToConfig.d.ts
|
|
18741
|
+
type GetHypoVaultConfigOptions = {
|
|
18742
|
+
preferredDeployment?: HypoVaultManagerConfig['deployment'];
|
|
18743
|
+
};
|
|
18744
|
+
declare function getHypoVaultConfigForVault(vaultAddress: Address$1, chainId: number, options?: GetHypoVaultConfigOptions): HypoVaultManagerConfig | undefined;
|
|
18745
|
+
|
|
18746
|
+
//#endregion
|
|
18747
|
+
//#region src/hypoVault/hypoVaultManagerWithMerkleVerification/fulfillDeposits.d.ts
|
|
18748
|
+
declare function encodeFulfillDepositsFunctionData({
|
|
18749
|
+
assetsToFulfill,
|
|
18750
|
+
managerInput
|
|
18751
|
+
}: {
|
|
18752
|
+
assetsToFulfill: bigint;
|
|
18753
|
+
managerInput: Hex;
|
|
18754
|
+
}): `0x${string}`;
|
|
18755
|
+
|
|
18756
|
+
//#endregion
|
|
18757
|
+
//#region src/hypoVault/hypoVaultManagerWithMerkleVerification/fulfillWithdrawals.d.ts
|
|
18758
|
+
declare function encodeFulfillWithdrawalsFunctionData({
|
|
18759
|
+
sharesToFulfill,
|
|
18760
|
+
maxAssetsReceived,
|
|
18761
|
+
managerInput
|
|
18762
|
+
}: {
|
|
18763
|
+
sharesToFulfill: bigint;
|
|
18764
|
+
maxAssetsReceived: bigint;
|
|
18765
|
+
managerInput: Hex;
|
|
18766
|
+
}): `0x${string}`;
|
|
18767
|
+
|
|
18768
|
+
//#endregion
|
|
18769
|
+
//#region src/hypoVault/utils/buildManageArgs.d.ts
|
|
18770
|
+
/**
|
|
18771
|
+
* Represents a strategist leaf from the pre-generated artifacts.
|
|
18772
|
+
* This type matches the structure of leaves in SepoliaWETHPLPStrategistLeaves,
|
|
18773
|
+
* SepoliaUSDCPLPStrategistLeaves, etc.
|
|
18774
|
+
*/
|
|
18775
|
+
type StrategistLeaf = {
|
|
18776
|
+
readonly LeafDigest: string;
|
|
18777
|
+
readonly DecoderAndSanitizerAddress: string;
|
|
18778
|
+
readonly TargetAddress: string;
|
|
18779
|
+
readonly Description: string;
|
|
18780
|
+
readonly FunctionSignature: string;
|
|
18781
|
+
readonly FunctionSelector: string;
|
|
18782
|
+
readonly AddressArguments: readonly string[];
|
|
18783
|
+
readonly CanSendValue: boolean;
|
|
18784
|
+
readonly PackedArgumentAddresses: string;
|
|
18785
|
+
};
|
|
18786
|
+
/**
|
|
18787
|
+
* Represents the structure of a strategist leaves artifact (e.g., SepoliaWETHPLPStrategistLeaves).
|
|
18788
|
+
* Generic over the leaf type to preserve literal types for autocomplete.
|
|
18789
|
+
*/
|
|
18790
|
+
type StrategistLeavesArtifact<TLeaf extends StrategistLeaf = StrategistLeaf> = {
|
|
18791
|
+
readonly metadata: {
|
|
18792
|
+
readonly AccountantAddress: string;
|
|
18793
|
+
readonly BoringVaultAddress: string;
|
|
18794
|
+
readonly DecoderAndSanitizerAddress: string;
|
|
18795
|
+
readonly DigestComposition: readonly string[];
|
|
18796
|
+
readonly LeafCount: number;
|
|
18797
|
+
readonly ManageRoot: Hex;
|
|
18798
|
+
readonly ManagerAddress: string;
|
|
18799
|
+
readonly TreeCapacity: number;
|
|
18800
|
+
};
|
|
18801
|
+
readonly leafs: readonly TLeaf[];
|
|
18802
|
+
readonly MerkleTree: Record<string, readonly Hex[]>;
|
|
18803
|
+
};
|
|
18804
|
+
/**
|
|
18805
|
+
* Extracts the leaf type from a strategist leaves artifact.
|
|
18806
|
+
* Useful for typing variables that hold leaves from a specific artifact.
|
|
18807
|
+
*
|
|
18808
|
+
* @example
|
|
18809
|
+
* type WETHLeaf = InferLeaf<typeof SepoliaWETHPLPStrategistLeaves>
|
|
18810
|
+
*/
|
|
18811
|
+
type InferLeaf<T extends StrategistLeavesArtifact> = T['leafs'][number];
|
|
18812
|
+
type LeafWithDescription<TLeaf, TDescription> = TLeaf & {
|
|
18813
|
+
readonly Description: TDescription;
|
|
18814
|
+
};
|
|
18815
|
+
/**
|
|
18816
|
+
* Extracts the valid description strings from a strategist leaves artifact.
|
|
18817
|
+
* Used internally for autocomplete in findLeaf.
|
|
18818
|
+
*/
|
|
18819
|
+
type LeafDescription<T extends StrategistLeavesArtifact> = T['leafs'][number]['Description'];
|
|
18820
|
+
/**
|
|
18821
|
+
* Finds a leaf by its description with full type safety and autocomplete.
|
|
18822
|
+
* Throws if the leaf is not found.
|
|
18823
|
+
*
|
|
18824
|
+
* @param artifact - The strategist leaves artifact (e.g., SepoliaWETHPLPStrategistLeaves)
|
|
18825
|
+
* @param description - The description of the leaf to find (autocomplete enabled)
|
|
18826
|
+
* @returns The matching leaf
|
|
18827
|
+
* @throws Error if no leaf matches the description
|
|
18828
|
+
*
|
|
18829
|
+
* @example
|
|
18830
|
+
* ```ts
|
|
18831
|
+
* // Autocomplete shows all valid descriptions for this artifact
|
|
18832
|
+
* const approveLeaf = findLeaf(SepoliaWETHPLPStrategistLeaves, 'Approve poWETH to spend WETH')
|
|
18833
|
+
* const depositLeaf = findLeaf(SepoliaUSDCPLPStrategistLeaves, 'Deposit USDC for poUSDC')
|
|
18834
|
+
* ```
|
|
18835
|
+
*/
|
|
18836
|
+
declare function findLeaf<T extends StrategistLeavesArtifact, const TDescription extends LeafDescription<T>>(artifact: T, description: TDescription): LeafWithDescription<T['leafs'][number], TDescription>;
|
|
18837
|
+
/**
|
|
18838
|
+
* Finds a pool-bound leaf by both its description and target contract.
|
|
18839
|
+
* Use this instead of findLeaf when an artifact can authorize the same action
|
|
18840
|
+
* on more than one Panoptic pool.
|
|
18841
|
+
*/
|
|
18842
|
+
declare function findLeafForTarget<T extends StrategistLeavesArtifact, const TDescription extends LeafDescription<T>>(artifact: T, description: TDescription, target: Address$1): LeafWithDescription<T['leafs'][number], TDescription>;
|
|
18843
|
+
/**
|
|
18844
|
+
* Represents a single action to execute via manageVaultWithMerkleVerification.
|
|
18845
|
+
* Pairs a strategist leaf with the encoded call data for that action.
|
|
18846
|
+
*/
|
|
18847
|
+
type ManageAction = {
|
|
18848
|
+
/** The strategist leaf authorizing this action */
|
|
18849
|
+
leaf: StrategistLeaf;
|
|
18850
|
+
/** The encoded function call data (use viem's encodeFunctionData) */
|
|
18851
|
+
data: Hex;
|
|
18852
|
+
/** Native value to send with the call (defaults to 0n) */
|
|
18853
|
+
value?: bigint;
|
|
18854
|
+
};
|
|
18855
|
+
/**
|
|
18856
|
+
* The tuple of arguments for manageVaultWithMerkleVerification
|
|
18857
|
+
*/
|
|
18858
|
+
type ManageVaultArgs = [proofs: Hex[][], decodersAndSanitizers: Address$1[], targets: Address$1[], targetData: Hex[], values: bigint[]];
|
|
18859
|
+
/**
|
|
18860
|
+
* Transforms an array of ManageActions into the argument tuple required by
|
|
18861
|
+
* manageVaultWithMerkleVerification.
|
|
18862
|
+
*
|
|
18863
|
+
* @param actions - Array of manage actions to execute
|
|
18864
|
+
* @param artifact - The strategist leaves artifact (e.g., SepoliaWETHPLPStrategistLeaves)
|
|
18865
|
+
* @returns Tuple of [proofs, decodersAndSanitizers, targets, targetData, values]
|
|
18866
|
+
*
|
|
18867
|
+
* @example
|
|
18868
|
+
* ```ts
|
|
18869
|
+
* const actions: ManageAction[] = [
|
|
18870
|
+
* {
|
|
18871
|
+
* leaf: findLeaf(SepoliaWETHPLPStrategistLeaves, 'Approve poWETH to spend WETH'),
|
|
18872
|
+
* data: encodeFunctionData({ abi: erc20Abi, functionName: 'approve', args: [spender, amount] }),
|
|
18873
|
+
* },
|
|
18874
|
+
* {
|
|
18875
|
+
* leaf: findLeaf(SepoliaWETHPLPStrategistLeaves, 'Deposit WETH for poWETH'),
|
|
18876
|
+
* data: encodeFunctionData({ abi: CollateralTrackerAbi, functionName: 'deposit', args: [assets, receiver] }),
|
|
18877
|
+
* },
|
|
18878
|
+
* ]
|
|
18879
|
+
*
|
|
18880
|
+
* const [proofs, decodersAndSanitizers, targets, targetData, values] = buildManageArgs(
|
|
18881
|
+
* actions,
|
|
18882
|
+
* SepoliaWETHPLPStrategistLeaves
|
|
18883
|
+
* )
|
|
18884
|
+
* ```
|
|
18885
|
+
*/
|
|
18886
|
+
declare function buildManageArgs(actions: ManageAction[], artifact: StrategistLeavesArtifact): ManageVaultArgs;
|
|
18887
|
+
|
|
18888
|
+
//#endregion
|
|
18889
|
+
//#region src/hypoVault/utils/buildManagerInput.d.ts
|
|
18890
|
+
type PoolInfo = {
|
|
18891
|
+
pool: Address$1;
|
|
18892
|
+
token0: Address$1;
|
|
18893
|
+
token1: Address$1;
|
|
18894
|
+
maxPriceDeviation: number;
|
|
18959
18895
|
};
|
|
18960
|
-
|
|
18896
|
+
type BuildManagerInputParams = {
|
|
18897
|
+
viemClient: Client;
|
|
18898
|
+
poolInfos: readonly PoolInfo[];
|
|
18899
|
+
tokenIds: bigint[][];
|
|
18900
|
+
underlyingToken: Address$1;
|
|
18901
|
+
wethAddress?: Address$1;
|
|
18902
|
+
erc4626Vaults?: readonly Address$1[];
|
|
18903
|
+
};
|
|
18904
|
+
/**
|
|
18905
|
+
* Builds the encoded managerInput for HypoVault operations like fulfillDeposits and fulfillWithdrawals.
|
|
18906
|
+
*
|
|
18907
|
+
* Supports the full input space of computeNAV by:
|
|
18908
|
+
* - Fetching TWAP ticks from each pool in poolInfos
|
|
18909
|
+
* - Setting token prices based on whether each token matches the underlyingToken address
|
|
18910
|
+
*
|
|
18911
|
+
* @param params.viemClient - Viem client with account for RPC calls
|
|
18912
|
+
* @param params.poolInfos - Array of pool info objects containing pool and token configuration
|
|
18913
|
+
* @param params.tokenIds - 2D array of tokenIds for each pool
|
|
18914
|
+
* @param params.underlyingToken - Address of the vault's underlying token
|
|
18915
|
+
* @param params.erc4626Vaults - Optional list of ERC4626 vaults considered by accountant NAV
|
|
18916
|
+
* @returns Encoded managerInput as Hex
|
|
18917
|
+
*/
|
|
18918
|
+
declare function buildManagerInput({
|
|
18919
|
+
viemClient,
|
|
18920
|
+
poolInfos,
|
|
18921
|
+
tokenIds,
|
|
18922
|
+
underlyingToken,
|
|
18923
|
+
wethAddress,
|
|
18924
|
+
erc4626Vaults
|
|
18925
|
+
}: BuildManagerInputParams): Promise<Hex>;
|
|
18961
18926
|
|
|
18962
18927
|
//#endregion
|
|
18963
|
-
//#region src/hypoVault/
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18928
|
+
//#region src/hypoVault/mainnetV3Authorization.d.ts
|
|
18929
|
+
/** Block containing the successful V3 accountant-hash and manager-root update. */
|
|
18930
|
+
declare const MAINNET_V3_AUTHORIZATION_BLOCK = 25704951n;
|
|
18931
|
+
type MainnetV3AuthorizationVersion = 'previous' | 'next';
|
|
18932
|
+
type MainnetV3AuthorizationArtifacts = {
|
|
18933
|
+
readonly version: MainnetV3AuthorizationVersion;
|
|
18934
|
+
readonly blockNumber: bigint;
|
|
18935
|
+
readonly poolInfos: readonly PoolInfo[];
|
|
18936
|
+
readonly strategistLeaves: StrategistLeavesArtifact;
|
|
18937
|
+
readonly poolHash: Hex;
|
|
18938
|
+
readonly manageRoot: Hex;
|
|
18939
|
+
};
|
|
18940
|
+
type AuthorizationGeneration = Omit<MainnetV3AuthorizationArtifacts, 'blockNumber' | 'version'>;
|
|
18941
|
+
type VaultTransition = {
|
|
18942
|
+
readonly vaultAddress: Address$1;
|
|
18943
|
+
readonly managerAddress: Address$1;
|
|
18944
|
+
readonly strategistAddress: Address$1;
|
|
18945
|
+
readonly activationBlockNumber: bigint;
|
|
18946
|
+
readonly previous: AuthorizationGeneration;
|
|
18947
|
+
readonly next: AuthorizationGeneration;
|
|
18948
|
+
readonly generations: readonly (AuthorizationGeneration & {
|
|
18949
|
+
readonly version: MainnetV3AuthorizationVersion;
|
|
18950
|
+
})[];
|
|
18951
|
+
};
|
|
18952
|
+
/** Returns both known generations without reading chain state. */
|
|
18953
|
+
declare function getMainnetV3AuthorizationGenerations({
|
|
18954
|
+
chainId,
|
|
18955
|
+
vaultAddress
|
|
18967
18956
|
}: {
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
}):
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18957
|
+
chainId: number;
|
|
18958
|
+
vaultAddress: Address$1;
|
|
18959
|
+
}): Pick<VaultTransition, 'previous' | 'next'> | null;
|
|
18960
|
+
/**
|
|
18961
|
+
* Selects the mainnet authorization artifacts active at a historical block without RPC reads.
|
|
18962
|
+
* Live callers should use the compiled current artifacts directly; this selector exists for
|
|
18963
|
+
* block-pinned NAV and manager-input reconstruction across the V3 authorization boundary.
|
|
18964
|
+
*/
|
|
18965
|
+
declare function getMainnetV3AuthorizationArtifactsAtBlock({
|
|
18966
|
+
chainId,
|
|
18967
|
+
vaultAddress,
|
|
18968
|
+
blockNumber
|
|
18978
18969
|
}: {
|
|
18979
|
-
|
|
18980
|
-
|
|
18981
|
-
|
|
18982
|
-
}):
|
|
18970
|
+
chainId: number;
|
|
18971
|
+
vaultAddress: Address$1;
|
|
18972
|
+
blockNumber: bigint;
|
|
18973
|
+
}): MainnetV3AuthorizationArtifacts | null;
|
|
18974
|
+
/**
|
|
18975
|
+
* Selects the exact artifact generation authorized by both the accountant and manager.
|
|
18976
|
+
* A mixed or unknown state is rejected: using only one side of the transition would
|
|
18977
|
+
* make either NAV calculation or strategist proof verification fail.
|
|
18978
|
+
* Every authorization release must add its generation to this transition table before
|
|
18979
|
+
* the on-chain hashes change, so startup and release verification keeps recognizing it.
|
|
18980
|
+
*/
|
|
18981
|
+
declare function resolveMainnetV3AuthorizationArtifacts({
|
|
18982
|
+
viemClient,
|
|
18983
|
+
chainId,
|
|
18984
|
+
vaultAddress,
|
|
18985
|
+
blockNumber
|
|
18986
|
+
}: {
|
|
18987
|
+
viemClient: Client;
|
|
18988
|
+
chainId: number;
|
|
18989
|
+
vaultAddress: Address$1;
|
|
18990
|
+
blockNumber?: bigint;
|
|
18991
|
+
}): Promise<MainnetV3AuthorizationArtifacts | null>;
|
|
18983
18992
|
|
|
18984
18993
|
//#endregion
|
|
18985
18994
|
//#region src/hypoVault/requestDeposit/hooks/use-request-deposit.d.ts
|
|
@@ -22584,45 +22593,6 @@ declare function calculateAnnualizedApyPct({
|
|
|
22584
22593
|
days: number;
|
|
22585
22594
|
}): number | null;
|
|
22586
22595
|
|
|
22587
|
-
//#endregion
|
|
22588
|
-
//#region src/hypoVault/utils/buildManagerInput.d.ts
|
|
22589
|
-
type PoolInfo = {
|
|
22590
|
-
pool: Address$1;
|
|
22591
|
-
token0: Address$1;
|
|
22592
|
-
token1: Address$1;
|
|
22593
|
-
maxPriceDeviation: number;
|
|
22594
|
-
};
|
|
22595
|
-
type BuildManagerInputParams = {
|
|
22596
|
-
viemClient: Client;
|
|
22597
|
-
poolInfos: readonly PoolInfo[];
|
|
22598
|
-
tokenIds: bigint[][];
|
|
22599
|
-
underlyingToken: Address$1;
|
|
22600
|
-
wethAddress?: Address$1;
|
|
22601
|
-
erc4626Vaults?: readonly Address$1[];
|
|
22602
|
-
};
|
|
22603
|
-
/**
|
|
22604
|
-
* Builds the encoded managerInput for HypoVault operations like fulfillDeposits and fulfillWithdrawals.
|
|
22605
|
-
*
|
|
22606
|
-
* Supports the full input space of computeNAV by:
|
|
22607
|
-
* - Fetching TWAP ticks from each pool in poolInfos
|
|
22608
|
-
* - Setting token prices based on whether each token matches the underlyingToken address
|
|
22609
|
-
*
|
|
22610
|
-
* @param params.viemClient - Viem client with account for RPC calls
|
|
22611
|
-
* @param params.poolInfos - Array of pool info objects containing pool and token configuration
|
|
22612
|
-
* @param params.tokenIds - 2D array of tokenIds for each pool
|
|
22613
|
-
* @param params.underlyingToken - Address of the vault's underlying token
|
|
22614
|
-
* @param params.erc4626Vaults - Optional list of ERC4626 vaults considered by accountant NAV
|
|
22615
|
-
* @returns Encoded managerInput as Hex
|
|
22616
|
-
*/
|
|
22617
|
-
declare function buildManagerInput({
|
|
22618
|
-
viemClient,
|
|
22619
|
-
poolInfos,
|
|
22620
|
-
tokenIds,
|
|
22621
|
-
underlyingToken,
|
|
22622
|
-
wethAddress,
|
|
22623
|
-
erc4626Vaults
|
|
22624
|
-
}: BuildManagerInputParams): Promise<Hex>;
|
|
22625
|
-
|
|
22626
22596
|
//#endregion
|
|
22627
22597
|
//#region src/hypoVault/utils/vaultManagerInput.d.ts
|
|
22628
22598
|
type FetchInit = {
|
|
@@ -22962,119 +22932,6 @@ declare function getStaleOracleStateOverrideForAccountant(accountantAddress: Add
|
|
|
22962
22932
|
code: Hex;
|
|
22963
22933
|
}> | undefined;
|
|
22964
22934
|
|
|
22965
|
-
//#endregion
|
|
22966
|
-
//#region src/hypoVault/utils/buildManageArgs.d.ts
|
|
22967
|
-
/**
|
|
22968
|
-
* Represents a strategist leaf from the pre-generated artifacts.
|
|
22969
|
-
* This type matches the structure of leaves in SepoliaWETHPLPStrategistLeaves,
|
|
22970
|
-
* SepoliaUSDCPLPStrategistLeaves, etc.
|
|
22971
|
-
*/
|
|
22972
|
-
type StrategistLeaf = {
|
|
22973
|
-
readonly LeafDigest: string;
|
|
22974
|
-
readonly DecoderAndSanitizerAddress: string;
|
|
22975
|
-
readonly TargetAddress: string;
|
|
22976
|
-
readonly Description: string;
|
|
22977
|
-
readonly FunctionSignature: string;
|
|
22978
|
-
readonly FunctionSelector: string;
|
|
22979
|
-
readonly AddressArguments: readonly string[];
|
|
22980
|
-
readonly CanSendValue: boolean;
|
|
22981
|
-
readonly PackedArgumentAddresses: string;
|
|
22982
|
-
};
|
|
22983
|
-
/**
|
|
22984
|
-
* Represents the structure of a strategist leaves artifact (e.g., SepoliaWETHPLPStrategistLeaves).
|
|
22985
|
-
* Generic over the leaf type to preserve literal types for autocomplete.
|
|
22986
|
-
*/
|
|
22987
|
-
type StrategistLeavesArtifact<TLeaf extends StrategistLeaf = StrategistLeaf> = {
|
|
22988
|
-
readonly metadata: {
|
|
22989
|
-
readonly AccountantAddress: string;
|
|
22990
|
-
readonly BoringVaultAddress: string;
|
|
22991
|
-
readonly DecoderAndSanitizerAddress: string;
|
|
22992
|
-
readonly DigestComposition: readonly string[];
|
|
22993
|
-
readonly LeafCount: number;
|
|
22994
|
-
readonly ManageRoot: string;
|
|
22995
|
-
readonly ManagerAddress: string;
|
|
22996
|
-
readonly TreeCapacity: number;
|
|
22997
|
-
};
|
|
22998
|
-
readonly leafs: readonly TLeaf[];
|
|
22999
|
-
readonly MerkleTree: Record<string, readonly Hex[]>;
|
|
23000
|
-
};
|
|
23001
|
-
/**
|
|
23002
|
-
* Extracts the leaf type from a strategist leaves artifact.
|
|
23003
|
-
* Useful for typing variables that hold leaves from a specific artifact.
|
|
23004
|
-
*
|
|
23005
|
-
* @example
|
|
23006
|
-
* type WETHLeaf = InferLeaf<typeof SepoliaWETHPLPStrategistLeaves>
|
|
23007
|
-
*/
|
|
23008
|
-
type InferLeaf<T extends StrategistLeavesArtifact> = T['leafs'][number];
|
|
23009
|
-
/**
|
|
23010
|
-
* Extracts the valid description strings from a strategist leaves artifact.
|
|
23011
|
-
* Used internally for autocomplete in findLeaf.
|
|
23012
|
-
*/
|
|
23013
|
-
type LeafDescription<T extends StrategistLeavesArtifact> = T['leafs'][number]['Description'];
|
|
23014
|
-
/**
|
|
23015
|
-
* Finds a leaf by its description with full type safety and autocomplete.
|
|
23016
|
-
* Throws if the leaf is not found.
|
|
23017
|
-
*
|
|
23018
|
-
* @param artifact - The strategist leaves artifact (e.g., SepoliaWETHPLPStrategistLeaves)
|
|
23019
|
-
* @param description - The description of the leaf to find (autocomplete enabled)
|
|
23020
|
-
* @returns The matching leaf
|
|
23021
|
-
* @throws Error if no leaf matches the description
|
|
23022
|
-
*
|
|
23023
|
-
* @example
|
|
23024
|
-
* ```ts
|
|
23025
|
-
* // Autocomplete shows all valid descriptions for this artifact
|
|
23026
|
-
* const approveLeaf = findLeaf(SepoliaWETHPLPStrategistLeaves, 'Approve poWETH to spend WETH')
|
|
23027
|
-
* const depositLeaf = findLeaf(SepoliaUSDCPLPStrategistLeaves, 'Deposit USDC for poUSDC')
|
|
23028
|
-
* ```
|
|
23029
|
-
*/
|
|
23030
|
-
declare function findLeaf<T extends StrategistLeavesArtifact>(artifact: T, description: LeafDescription<T>): Extract<T['leafs'][number], {
|
|
23031
|
-
Description: typeof description;
|
|
23032
|
-
}>;
|
|
23033
|
-
/**
|
|
23034
|
-
* Represents a single action to execute via manageVaultWithMerkleVerification.
|
|
23035
|
-
* Pairs a strategist leaf with the encoded call data for that action.
|
|
23036
|
-
*/
|
|
23037
|
-
type ManageAction = {
|
|
23038
|
-
/** The strategist leaf authorizing this action */
|
|
23039
|
-
leaf: StrategistLeaf;
|
|
23040
|
-
/** The encoded function call data (use viem's encodeFunctionData) */
|
|
23041
|
-
data: Hex;
|
|
23042
|
-
/** Native value to send with the call (defaults to 0n) */
|
|
23043
|
-
value?: bigint;
|
|
23044
|
-
};
|
|
23045
|
-
/**
|
|
23046
|
-
* The tuple of arguments for manageVaultWithMerkleVerification
|
|
23047
|
-
*/
|
|
23048
|
-
type ManageVaultArgs = [proofs: Hex[][], decodersAndSanitizers: Address$1[], targets: Address$1[], targetData: Hex[], values: bigint[]];
|
|
23049
|
-
/**
|
|
23050
|
-
* Transforms an array of ManageActions into the argument tuple required by
|
|
23051
|
-
* manageVaultWithMerkleVerification.
|
|
23052
|
-
*
|
|
23053
|
-
* @param actions - Array of manage actions to execute
|
|
23054
|
-
* @param artifact - The strategist leaves artifact (e.g., SepoliaWETHPLPStrategistLeaves)
|
|
23055
|
-
* @returns Tuple of [proofs, decodersAndSanitizers, targets, targetData, values]
|
|
23056
|
-
*
|
|
23057
|
-
* @example
|
|
23058
|
-
* ```ts
|
|
23059
|
-
* const actions: ManageAction[] = [
|
|
23060
|
-
* {
|
|
23061
|
-
* leaf: findLeaf(SepoliaWETHPLPStrategistLeaves, 'Approve poWETH to spend WETH'),
|
|
23062
|
-
* data: encodeFunctionData({ abi: erc20Abi, functionName: 'approve', args: [spender, amount] }),
|
|
23063
|
-
* },
|
|
23064
|
-
* {
|
|
23065
|
-
* leaf: findLeaf(SepoliaWETHPLPStrategistLeaves, 'Deposit WETH for poWETH'),
|
|
23066
|
-
* data: encodeFunctionData({ abi: CollateralTrackerAbi, functionName: 'deposit', args: [assets, receiver] }),
|
|
23067
|
-
* },
|
|
23068
|
-
* ]
|
|
23069
|
-
*
|
|
23070
|
-
* const [proofs, decodersAndSanitizers, targets, targetData, values] = buildManageArgs(
|
|
23071
|
-
* actions,
|
|
23072
|
-
* SepoliaWETHPLPStrategistLeaves
|
|
23073
|
-
* )
|
|
23074
|
-
* ```
|
|
23075
|
-
*/
|
|
23076
|
-
declare function buildManageArgs(actions: ManageAction[], artifact: StrategistLeavesArtifact): ManageVaultArgs;
|
|
23077
|
-
|
|
23078
22935
|
//#endregion
|
|
23079
22936
|
//#region src/hypoVault/utils/buildManagerInputAtBlock.d.ts
|
|
23080
22937
|
type BuildManagerInputAtBlockParams = {
|
|
@@ -27573,18 +27430,18 @@ type GetDepositEpochStatesForWithdrawalQuery = {
|
|
|
27573
27430
|
//#endregion
|
|
27574
27431
|
//#region src/graphql/hypoVault-sdk.generated.d.ts
|
|
27575
27432
|
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
27576
|
-
declare const DepositEpochStateFragmentDoc:
|
|
27577
|
-
declare const HypoVaultFragmentDoc:
|
|
27578
|
-
declare const WithdrawalEpochStateFragmentDoc:
|
|
27579
|
-
declare const GetDepositOverviewDocument:
|
|
27580
|
-
declare const GetLatestDepositAndWithdrawEpochDocument:
|
|
27581
|
-
declare const GetLatestEpochDocument:
|
|
27582
|
-
declare const GetVaultHistoryDocument:
|
|
27583
|
-
declare const GetFilteredHypoVaultsDocument:
|
|
27584
|
-
declare const GetQueuedWithdrawalsForExecutionDocument:
|
|
27585
|
-
declare const GetWithdrawalEpochStatesForExecutionDocument:
|
|
27586
|
-
declare const GetQueuedDepositsForWithdrawalDocument:
|
|
27587
|
-
declare const GetDepositEpochStatesForWithdrawalDocument:
|
|
27433
|
+
declare const DepositEpochStateFragmentDoc: graphql17.DocumentNode;
|
|
27434
|
+
declare const HypoVaultFragmentDoc: graphql18.DocumentNode;
|
|
27435
|
+
declare const WithdrawalEpochStateFragmentDoc: graphql19.DocumentNode;
|
|
27436
|
+
declare const GetDepositOverviewDocument: graphql20.DocumentNode;
|
|
27437
|
+
declare const GetLatestDepositAndWithdrawEpochDocument: graphql21.DocumentNode;
|
|
27438
|
+
declare const GetLatestEpochDocument: graphql22.DocumentNode;
|
|
27439
|
+
declare const GetVaultHistoryDocument: graphql23.DocumentNode;
|
|
27440
|
+
declare const GetFilteredHypoVaultsDocument: graphql24.DocumentNode;
|
|
27441
|
+
declare const GetQueuedWithdrawalsForExecutionDocument: graphql25.DocumentNode;
|
|
27442
|
+
declare const GetWithdrawalEpochStatesForExecutionDocument: graphql26.DocumentNode;
|
|
27443
|
+
declare const GetQueuedDepositsForWithdrawalDocument: graphql27.DocumentNode;
|
|
27444
|
+
declare const GetDepositEpochStatesForWithdrawalDocument: graphql28.DocumentNode;
|
|
27588
27445
|
type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
27589
27446
|
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
27590
27447
|
GetDepositOverview(variables: GetDepositOverviewQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetDepositOverviewQuery>;
|
|
@@ -27649,5 +27506,5 @@ type BaseContractWriteHookOutput = {
|
|
|
27649
27506
|
};
|
|
27650
27507
|
|
|
27651
27508
|
//#endregion
|
|
27652
|
-
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, 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, 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_PANOPTIC_V2_ADDRESSES, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MainnetLegacyUSDCPLPStrategistLeaves, MainnetLegacyWETHPLPStrategistLeaves, MainnetUSDCPLPLegacyVaultPoolInfos, MainnetUSDCPLPStrategistLeaves, MainnetUSDCPLPVaultPoolInfos, MainnetWETHPLPLegacyVaultPoolInfos, MainnetWETHPLPStrategistLeaves, 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, ReadContractFn, ReadContractParams, RedepositStatusChanged, RedepositStatusChanged_Filter, RedepositStatusChanged_OrderBy, RescueDistributorAbi, 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, StateViewAbi, StrategistLeaf, StrategistLeavesArtifact, 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, 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, VaultDisplayNameResolver, VaultDisplayNameResolverInput, VaultLendingAllocationRow, VaultNetLendingApyTrackerInput, VaultPoolCandidateTokenIds, VaultSharePriceSeriesPoint, VaultSharePriceSnapshot, 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, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, cancelDeposit, chainToHypoVaultGraphQlAPI, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultSharePriceSnapshot, findLeaf, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, generateProof, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMinQueuedDepositEpoch, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getSdk, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getVaultApyErrorMessage, getVaultApyStrategy, getVaultPoolInfos, isExpectedHistoricalReadMiss, isStaleOraclePriceError, isStaleOraclePriceReadError, isSupportedChain, packMarketState, panopticFactoryV4Abi as panopticFactoryAbi, panopticFactoryV3Abi, panopticFactoryV4Abi, panopticPoolV2Abi as panopticPoolAbi, panopticPoolV2Abi, panopticQueryAbi, parseCustomError, ratePerSecWadToAprPct, requestDeposit, requestWithdrawal, requestWithdrawalMulticall, requireChainDeployment, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, useCancelDeposit, useClaimVaultShares, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, verifyVaultOpenTokenIdsAtBlock };
|
|
27509
|
+
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, 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, 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_V3_AUTHORIZATION_BLOCK, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MainnetLegacyUSDCPLPStrategistLeaves, MainnetLegacyWETHPLPStrategistLeaves, MainnetUSDCPLPLegacyVaultPoolInfos, MainnetUSDCPLPPreviousStrategistLeaves, MainnetUSDCPLPPreviousVaultPoolInfos, MainnetUSDCPLPStrategistLeaves, MainnetUSDCPLPVaultPoolInfos, MainnetV3AuthorizationArtifacts, MainnetV3AuthorizationVersion, MainnetWETHPLPLegacyVaultPoolInfos, MainnetWETHPLPPreviousStrategistLeaves, MainnetWETHPLPPreviousVaultPoolInfos, MainnetWETHPLPStrategistLeaves, 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, ReadContractFn, ReadContractParams, RedepositStatusChanged, RedepositStatusChanged_Filter, RedepositStatusChanged_OrderBy, RescueDistributorAbi, 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, StateViewAbi, StrategistLeaf, StrategistLeavesArtifact, 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, 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, VaultDisplayNameResolver, VaultDisplayNameResolverInput, VaultLendingAllocationRow, VaultNetLendingApyTrackerInput, VaultPoolCandidateTokenIds, VaultSharePriceSeriesPoint, VaultSharePriceSnapshot, 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, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, cancelDeposit, chainToHypoVaultGraphQlAPI, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultSharePriceSnapshot, findLeaf, findLeafForTarget, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, generateProof, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMainnetV3AuthorizationArtifactsAtBlock, getMainnetV3AuthorizationGenerations, getMinQueuedDepositEpoch, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getSdk, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getVaultApyErrorMessage, getVaultApyStrategy, getVaultPoolInfos, isExpectedHistoricalReadMiss, isStaleOraclePriceError, isStaleOraclePriceReadError, isSupportedChain, packMarketState, panopticFactoryV4Abi as panopticFactoryAbi, panopticFactoryV3Abi, panopticFactoryV4Abi, panopticPoolV2Abi as panopticPoolAbi, panopticPoolV2Abi, panopticQueryAbi, parseCustomError, ratePerSecWadToAprPct, requestDeposit, requestWithdrawal, requestWithdrawalMulticall, requireChainDeployment, resolveMainnetV3AuthorizationArtifacts, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, useCancelDeposit, useClaimVaultShares, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, verifyVaultOpenTokenIdsAtBlock };
|
|
27653
27510
|
//# sourceMappingURL=index.d.ts.map
|