@steerprotocol/sdk 3.7.4 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4,116 +4,6 @@ import { Campaign, createClient } from "@steerprotocol/api-sdk";
4
4
  import { Pool } from "@uniswap/v3-sdk";
5
5
  import { Decimal } from "decimal.js";
6
6
 
7
- //#region src/utils/subgraph-types.d.ts
8
- /**
9
- * Types for Steer subgraph responses
10
- */
11
- interface SubgraphVaultPosition {
12
- id: string;
13
- upperTick: string;
14
- lowerTick: string;
15
- relativeWeight: string;
16
- }
17
- interface SubgraphVaultDetails {
18
- id: string;
19
- name: string;
20
- token0: string;
21
- token1: string;
22
- pool: string;
23
- weeklyFeeAPR: string;
24
- token0Symbol: string;
25
- token0Decimals: string;
26
- token1Symbol: string;
27
- token1Decimals: string;
28
- totalValueLockedToken0: string;
29
- totalValueLockedToken1: string;
30
- token0Balance: string;
31
- token1Balance: string;
32
- totalLPTokensIssued: string;
33
- createdAt: string;
34
- feeTier: string;
35
- strategyToken: {
36
- id: string;
37
- name: string;
38
- creator: {
39
- id: string;
40
- };
41
- admin: string;
42
- executionBundle: string;
43
- };
44
- positions: SubgraphVaultPosition[];
45
- fees0: string;
46
- fees1: string;
47
- beaconName: string;
48
- payloadIpfs: string;
49
- deployer: string;
50
- }
51
- interface RouteShortcut {
52
- poolIds: string[];
53
- tokenPath: string[];
54
- }
55
- interface FormattedRoute {
56
- path: string;
57
- pricesPerHop: string;
58
- finalPrice: string;
59
- finalPriceRaw: number;
60
- volumeScore: string;
61
- poolVolumes: string;
62
- shortcut: RouteShortcut;
63
- }
64
- interface LpPriceResponse {
65
- vault: {
66
- address: Address;
67
- token0: Address;
68
- token1: Address;
69
- balances: {
70
- token0: string;
71
- token1: string;
72
- totalSupply: string;
73
- token0Formatted: string;
74
- token1Formatted: string;
75
- totalSupplyFormatted: string;
76
- };
77
- usd: {
78
- lpValue: number;
79
- totalValue: number;
80
- token0Price: number;
81
- token0Value: number;
82
- token1Price: number;
83
- token1Value: number;
84
- };
85
- token0Symbol: string;
86
- token1Symbol: string;
87
- token0Decimals: string;
88
- token1Decimals: string;
89
- };
90
- routes: {
91
- token0ToUsd: FormattedRoute[];
92
- token1ToUsd: FormattedRoute[];
93
- };
94
- }
95
- interface SubgraphVaultDetailsWithLpData extends SubgraphVaultDetails {
96
- lpPriceData?: LpPriceResponse;
97
- }
98
- interface SubgraphResponse<T> {
99
- data: {
100
- vaults: T[];
101
- };
102
- }
103
- interface DeprecationData {
104
- id: string;
105
- visible: boolean;
106
- }
107
- interface VaultFetchOptions {
108
- subgraphUrl: string;
109
- chainId: number;
110
- vaultAddress?: string;
111
- showDeprecated?: boolean;
112
- showCurrentProtocol?: boolean;
113
- beaconNames?: string[];
114
- batchSize?: number;
115
- }
116
- //#endregion
117
7
  //#region src/const/chain.d.ts
118
8
  declare enum Chain {
119
9
  Polygon = "Polygon",
@@ -233,6 +123,7 @@ declare enum Protocol {
233
123
  Cypher = "Cypher",
234
124
  SparkIntegral = "SparkIntegral",
235
125
  UniswapV4 = "UniswapV4",
126
+ SushiV4 = "SushiV4",
236
127
  Hydrex = "Hydrex",
237
128
  BittensorUniV3 = "BittensorUniV3",
238
129
  AerodromeV3 = "AerodromeV3"
@@ -319,13 +210,225 @@ declare enum MultiPositionManagers {
319
210
  TestCypherAlgebraIntegralHook = "TestCypherAlgebraIntegralHook",
320
211
  TestQuickswapAlgebraIntegralHook = "TestQuickswapAlgebraIntegralHook",
321
212
  TestUniswapJITHook = "TestUniswapJITHook",
213
+ SushiV4DynamicFeeALM = "SushiV4DynamicFeeALM",
322
214
  MultiPositionUniswapV4NoOracle = "MultiPositionUniswapV4NoOracle"
323
215
  }
324
216
  declare const AlgebgraHookBeacons: MultiPositionManagers[];
217
+ declare const PancakeV4Beacons: readonly [MultiPositionManagers.SushiV4DynamicFeeALM];
325
218
  declare const UniswapV4Beacons: readonly [MultiPositionManagers.MultiPositionUniswapV4ALM, MultiPositionManagers.MultiPositionUniswapV4HookOld, MultiPositionManagers.TestUniswapJITHook, MultiPositionManagers.MultiPositionUniswapV4Hook, MultiPositionManagers.MultiPositionReserveV4, MultiPositionManagers.MultiPositionUniswapV4NoOracle];
326
219
  declare const UniswapHookBeacons: readonly [MultiPositionManagers.MultiPositionUniswapV4Hook, MultiPositionManagers.TestUniswapJITHook, MultiPositionManagers.MultiPositionUniswapV4HookOld];
327
220
  declare const AerodromeBeacons: readonly [MultiPositionManagers.MultiPositionAerodrome, MultiPositionManagers.MultiPositionAerodromeSlipstream, MultiPositionManagers.MultiPositionAerodromeFlexible];
328
221
  //#endregion
222
+ //#region src/pancake-v4/index.d.ts
223
+ /** Infinity uses six fields; this key is not a Uniswap v4 PoolKey. */
224
+ interface PancakeV4PoolKey {
225
+ currency0: Address;
226
+ currency1: Address;
227
+ hooks: Address;
228
+ poolManager: Address;
229
+ fee: number;
230
+ parameters: Hex;
231
+ }
232
+ interface PancakeV4PoolStateParams {
233
+ protocol: Protocol.SushiV4;
234
+ chainId: number;
235
+ poolId: Hex;
236
+ blockNumber?: bigint;
237
+ }
238
+ declare const pancakeV4PoolManagerAbi: readonly [{
239
+ readonly name: "vault";
240
+ readonly type: "function";
241
+ readonly stateMutability: "view";
242
+ readonly inputs: readonly [];
243
+ readonly outputs: readonly [{
244
+ readonly type: "address";
245
+ }];
246
+ }, {
247
+ readonly name: "getSlot0";
248
+ readonly type: "function";
249
+ readonly stateMutability: "view";
250
+ readonly inputs: readonly [{
251
+ readonly type: "bytes32";
252
+ readonly name: "id";
253
+ }];
254
+ readonly outputs: readonly [{
255
+ readonly type: "uint160";
256
+ readonly name: "sqrtPriceX96";
257
+ }, {
258
+ readonly type: "int24";
259
+ readonly name: "tick";
260
+ }, {
261
+ readonly type: "uint24";
262
+ readonly name: "protocolFee";
263
+ }, {
264
+ readonly type: "uint24";
265
+ readonly name: "lpFee";
266
+ }];
267
+ }];
268
+ declare const pancakeV4VaultAbi: readonly [{
269
+ readonly name: "poolKey";
270
+ readonly type: "function";
271
+ readonly stateMutability: "view";
272
+ readonly inputs: readonly [];
273
+ readonly outputs: readonly [{
274
+ readonly type: "address";
275
+ readonly name: "currency0";
276
+ }, {
277
+ readonly type: "address";
278
+ readonly name: "currency1";
279
+ }, {
280
+ readonly type: "address";
281
+ readonly name: "hooks";
282
+ }, {
283
+ readonly type: "address";
284
+ readonly name: "poolManager";
285
+ }, {
286
+ readonly type: "uint24";
287
+ readonly name: "fee";
288
+ }, {
289
+ readonly type: "bytes32";
290
+ readonly name: "parameters";
291
+ }];
292
+ }, {
293
+ readonly name: "poolManager";
294
+ readonly type: "function";
295
+ readonly stateMutability: "view";
296
+ readonly inputs: readonly [];
297
+ readonly outputs: readonly [{
298
+ readonly type: "address";
299
+ }];
300
+ }, {
301
+ readonly name: "allowedHook";
302
+ readonly type: "function";
303
+ readonly stateMutability: "view";
304
+ readonly inputs: readonly [];
305
+ readonly outputs: readonly [{
306
+ readonly type: "address";
307
+ }];
308
+ }];
309
+ declare function getPancakeV4TickSpacing(parameters: Hex): number;
310
+ declare function validatePancakeV4PoolKey(key: PancakeV4PoolKey): PancakeV4PoolKey;
311
+ declare function getPancakeV4PoolId(key: PancakeV4PoolKey): Hex;
312
+ /** Read Infinity state directly from CLPoolManager at one block. lpFee is stored state, not a per-swap dynamic hook quote. */
313
+ declare function getPancakeV4PoolState(publicClient: PublicClient, params: PancakeV4PoolStateParams): Promise<{
314
+ sqrtPriceX96: bigint;
315
+ tick: number;
316
+ protocolFee: number;
317
+ lpFee: number;
318
+ blockNumber: bigint;
319
+ poolManager: `0x${string}`;
320
+ }>;
321
+ //#endregion
322
+ //#region src/utils/subgraph-types.d.ts
323
+ /**
324
+ * Types for Steer subgraph responses
325
+ */
326
+ interface SubgraphVaultPosition {
327
+ id: string;
328
+ upperTick: string;
329
+ lowerTick: string;
330
+ relativeWeight: string;
331
+ }
332
+ interface SubgraphVaultDetails {
333
+ id: string;
334
+ name: string;
335
+ token0: string;
336
+ token1: string;
337
+ pool: string;
338
+ weeklyFeeAPR: string;
339
+ token0Symbol: string;
340
+ token0Decimals: string;
341
+ token1Symbol: string;
342
+ token1Decimals: string;
343
+ totalValueLockedToken0: string;
344
+ totalValueLockedToken1: string;
345
+ token0Balance: string;
346
+ token1Balance: string;
347
+ totalLPTokensIssued: string;
348
+ createdAt: string;
349
+ feeTier: string;
350
+ strategyToken: {
351
+ id: string;
352
+ name: string;
353
+ creator: {
354
+ id: string;
355
+ };
356
+ admin: string;
357
+ executionBundle: string;
358
+ };
359
+ positions: SubgraphVaultPosition[];
360
+ fees0: string;
361
+ fees1: string;
362
+ beaconName: string;
363
+ payloadIpfs: string;
364
+ deployer: string;
365
+ }
366
+ interface RouteShortcut {
367
+ poolIds: string[];
368
+ tokenPath: string[];
369
+ }
370
+ interface FormattedRoute {
371
+ path: string;
372
+ pricesPerHop: string;
373
+ finalPrice: string;
374
+ finalPriceRaw: number;
375
+ volumeScore: string;
376
+ poolVolumes: string;
377
+ shortcut: RouteShortcut;
378
+ }
379
+ interface LpPriceResponse {
380
+ vault: {
381
+ address: Address;
382
+ token0: Address;
383
+ token1: Address;
384
+ balances: {
385
+ token0: string;
386
+ token1: string;
387
+ totalSupply: string;
388
+ token0Formatted: string;
389
+ token1Formatted: string;
390
+ totalSupplyFormatted: string;
391
+ };
392
+ usd: {
393
+ lpValue: number;
394
+ totalValue: number;
395
+ token0Price: number;
396
+ token0Value: number;
397
+ token1Price: number;
398
+ token1Value: number;
399
+ };
400
+ token0Symbol: string;
401
+ token1Symbol: string;
402
+ token0Decimals: string;
403
+ token1Decimals: string;
404
+ };
405
+ routes: {
406
+ token0ToUsd: FormattedRoute[];
407
+ token1ToUsd: FormattedRoute[];
408
+ };
409
+ }
410
+ interface SubgraphVaultDetailsWithLpData extends SubgraphVaultDetails {
411
+ lpPriceData?: LpPriceResponse;
412
+ }
413
+ interface SubgraphResponse<T> {
414
+ data: {
415
+ vaults: T[];
416
+ };
417
+ }
418
+ interface DeprecationData {
419
+ id: string;
420
+ visible: boolean;
421
+ }
422
+ interface VaultFetchOptions {
423
+ subgraphUrl: string;
424
+ chainId: number;
425
+ vaultAddress?: string;
426
+ showDeprecated?: boolean;
427
+ showCurrentProtocol?: boolean;
428
+ beaconNames?: string[];
429
+ batchSize?: number;
430
+ }
431
+ //#endregion
329
432
  //#region src/const/network.d.ts
330
433
  /**
331
434
  * Interface representing a smart contract with its address and optional start block
@@ -572,6 +675,12 @@ interface GlobalStateABI {
572
675
  type SupportedProtocol = keyof { [chain in Protocol]: string };
573
676
  type SteerSupportedChains = keyof { [chain in Chain]: string };
574
677
  type ProtocolInfo = {
678
+ /** Explicit onchain support, independent of an AMM indexer. */supportedChains?: readonly Chain[];
679
+ protocolFamily?: 'pancake-v4';
680
+ SettlementVault?: Partial<Record<Chain, string>>;
681
+ DynamicFeeHook?: Partial<Record<Chain, string>>;
682
+ VaultImplementation?: Partial<Record<Chain, string>>;
683
+ VaultHelper?: Partial<Record<Chain, string>>;
575
684
  deprecated?: boolean;
576
685
  subgraph: Partial<{ [chain in Chain]: string }>;
577
686
  factoryAddress?: Partial<{ [chain in Chain]: string }>;
@@ -689,6 +798,9 @@ declare const POOLSHARK_PROTOCOLS: Protocol[];
689
798
  * List of protocols that implement the Algebra Integral interface
690
799
  */
691
800
  declare const ALGEBRA_INTEGRAL_PROTOCOLS: Protocol[];
801
+ /** Pancake Infinity CL family, including Sushi v4 on Robinhood. */
802
+ declare const PANCAKE_V4_PROTOCOLS: Protocol[];
803
+ declare const isPancakeV4Protocol: (protocol: SupportedProtocol) => boolean;
692
804
  declare const AERODROME_PROTOCOLS: Protocol[];
693
805
  declare const ALGEBRA_INTEGRAL_V_2_0_PROTOCOLS: Protocol[];
694
806
  /**
@@ -1979,6 +2091,8 @@ declare const UNISWAP_V4_NO_ORACLE_BEACON = MultiPositionManagers.MultiPositionU
1979
2091
  declare const UNISWAP_V4_HOOK_BEACON_NAMES: readonly [MultiPositionManagers.MultiPositionUniswapV4Hook, MultiPositionManagers.TestUniswapJITHook, MultiPositionManagers.MultiPositionUniswapV4HookOld];
1980
2092
  declare const UNISWAP_V4_BEACON_NAMES: readonly [MultiPositionManagers.MultiPositionUniswapV4ALM, MultiPositionManagers.MultiPositionUniswapV4HookOld, MultiPositionManagers.TestUniswapJITHook, MultiPositionManagers.MultiPositionUniswapV4Hook, MultiPositionManagers.MultiPositionReserveV4, MultiPositionManagers.MultiPositionUniswapV4NoOracle];
1981
2093
  declare const AERODROME_BEACON_NAMES: readonly [MultiPositionManagers.MultiPositionAerodrome, MultiPositionManagers.MultiPositionAerodromeSlipstream, MultiPositionManagers.MultiPositionAerodromeFlexible];
2094
+ declare const PANCAKE_V4_BEACON_NAMES: readonly [MultiPositionManagers.SushiV4DynamicFeeALM];
2095
+ declare const isPancakeV4Beacon: (beaconName?: string) => boolean;
1982
2096
  declare const isUniswapV4Beacon: (beaconName?: string) => boolean;
1983
2097
  declare const isAerodromeBeacon: (beaconName?: string) => boolean;
1984
2098
  declare const isUniswapV4HookBeacon: (beaconName?: string) => boolean;
@@ -2036,6 +2150,14 @@ declare function getQuoterV2Address(protocol: SupportedProtocol, chain: Chain, t
2036
2150
  * Interface representing all contract addresses for a protocol
2037
2151
  */
2038
2152
  type ProtocolContractAddresses = {
2153
+ PoolManager?: string;
2154
+ SettlementVault?: string;
2155
+ PositionManager?: string;
2156
+ PositionDescriptor?: string;
2157
+ Quoter?: string;
2158
+ DynamicFeeHook?: string;
2159
+ VaultImplementation?: string;
2160
+ VaultHelper?: string;
2039
2161
  swapRouterAddress: string | undefined;
2040
2162
  NFTManagerAddress: string | undefined;
2041
2163
  UniswapV3Factory: string | undefined;
@@ -2263,6 +2385,10 @@ declare const nestVaultConfig: () => ProtocolInfo;
2263
2385
  //#region src/const/amm/configs/protocols/bittensor-univ3.d.ts
2264
2386
  declare const bittensorUniV3Config: () => ProtocolInfo;
2265
2387
  //#endregion
2388
+ //#region src/const/amm/configs/protocols/sushi-v4.d.ts
2389
+ /** Sushi's CL-only Pancake Infinity deployment. Source: https://docs.sushi.com/contracts/v4 */
2390
+ declare const sushiV4Config: () => ProtocolInfo;
2391
+ //#endregion
2266
2392
  //#region src/const/deployments/abis.d.ts
2267
2393
  declare const abis: {
2268
2394
  readonly BundleRegistry: readonly [{
@@ -8108,18 +8234,18 @@ declare class QuoterV2Factory {
8108
8234
  */
8109
8235
  createQuoterV2(protocol: Protocol, client: PublicClient): {
8110
8236
  read: {
8111
- [x: string]: (args: readonly unknown[], options?: _$viem.Prettify<_$viem.UnionOmit<_$viem.ReadContractParameters<QuoterV2ABI, never, readonly unknown[]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<unknown>;
8237
+ [x: string]: (args: readonly unknown[], options?: _$viem.Prettify<_$viem.UnionOmit<_$viem.ReadContractParameters<QuoterV2ABI, never, readonly unknown[]>, "address" | "abi" | "functionName" | "args">> | undefined) => Promise<unknown>;
8112
8238
  };
8113
8239
  estimateGas: {
8114
- [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<_$viem.EstimateContractGasReturnType>;
8240
+ [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "functionName" | "args">>) => Promise<_$viem.EstimateContractGasReturnType>;
8115
8241
  } & {
8116
- [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<_$viem.EstimateContractGasReturnType>;
8242
+ [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "functionName" | "args">>) => Promise<_$viem.EstimateContractGasReturnType>;
8117
8243
  };
8118
8244
  simulate: {
8119
- [x: string]: <chainOverride extends _$viem.Chain | undefined = undefined, accountOverride extends _$viem.Account | Address | undefined = undefined>(args: readonly unknown[], options?: Omit<_$viem.SimulateContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<_$viem.SimulateContractReturnType<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride, accountOverride>>;
8245
+ [x: string]: <chainOverride extends _$viem.Chain | undefined = undefined, accountOverride extends _$viem.Account | Address | undefined = undefined>(args: readonly unknown[], options?: Omit<_$viem.SimulateContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "functionName" | "args"> | undefined) => Promise<_$viem.SimulateContractReturnType<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride, accountOverride>>;
8120
8246
  };
8121
8247
  createEventFilter: {
8122
- [x: string]: <const args extends Record<string, unknown> | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({
8248
+ [x: string]: <const args extends readonly unknown[] | Record<string, unknown> | undefined, strict extends boolean | undefined = undefined>(options?: ({
8123
8249
  fromBlock?: bigint | _$viem.BlockTag | undefined;
8124
8250
  toBlock?: bigint | _$viem.BlockTag | undefined;
8125
8251
  } & {
@@ -8146,7 +8272,7 @@ declare class QuoterV2Factory {
8146
8272
  }) => _$viem.WatchContractEventReturnType;
8147
8273
  };
8148
8274
  write: {
8149
- [x: string]: <chainOverride extends _$viem.Chain | undefined, options extends (_$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: _$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K] } : never)>(args: readonly unknown[], options: options) => Promise<_$viem.WriteContractReturnType>;
8275
+ [x: string]: <chainOverride extends _$viem.Chain | undefined, options extends (_$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "functionName" | "args"> extends infer T ? { [K in keyof T]: _$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "functionName" | "args">[K] } : never)>(args: readonly unknown[], options: options) => Promise<_$viem.WriteContractReturnType>;
8150
8276
  };
8151
8277
  address: `0x${string}`;
8152
8278
  abi: QuoterV2ABI;
@@ -8178,18 +8304,18 @@ declare class QuoterV2Factory {
8178
8304
  createQuoterWithParams(protocol: Protocol, client: PublicClient, params: QuoteParams): {
8179
8305
  quoter: {
8180
8306
  read: {
8181
- [x: string]: (args: readonly unknown[], options?: _$viem.Prettify<_$viem.UnionOmit<_$viem.ReadContractParameters<QuoterV2ABI, never, readonly unknown[]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<unknown>;
8307
+ [x: string]: (args: readonly unknown[], options?: _$viem.Prettify<_$viem.UnionOmit<_$viem.ReadContractParameters<QuoterV2ABI, never, readonly unknown[]>, "address" | "abi" | "functionName" | "args">> | undefined) => Promise<unknown>;
8182
8308
  };
8183
8309
  estimateGas: {
8184
- [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<_$viem.EstimateContractGasReturnType>;
8310
+ [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "functionName" | "args">>) => Promise<_$viem.EstimateContractGasReturnType>;
8185
8311
  } & {
8186
- [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<_$viem.EstimateContractGasReturnType>;
8312
+ [x: string]: (args: readonly unknown[], options: _$viem.Prettify<_$viem.UnionOmit<_$viem.EstimateContractGasParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined>, "address" | "abi" | "functionName" | "args">>) => Promise<_$viem.EstimateContractGasReturnType>;
8187
8313
  };
8188
8314
  simulate: {
8189
- [x: string]: <chainOverride extends _$viem.Chain | undefined = undefined, accountOverride extends _$viem.Account | Address | undefined = undefined>(args: readonly unknown[], options?: Omit<_$viem.SimulateContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<_$viem.SimulateContractReturnType<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride, accountOverride>>;
8315
+ [x: string]: <chainOverride extends _$viem.Chain | undefined = undefined, accountOverride extends _$viem.Account | Address | undefined = undefined>(args: readonly unknown[], options?: Omit<_$viem.SimulateContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "functionName" | "args"> | undefined) => Promise<_$viem.SimulateContractReturnType<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride, accountOverride>>;
8190
8316
  };
8191
8317
  createEventFilter: {
8192
- [x: string]: <const args extends Record<string, unknown> | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({
8318
+ [x: string]: <const args extends readonly unknown[] | Record<string, unknown> | undefined, strict extends boolean | undefined = undefined>(options?: ({
8193
8319
  fromBlock?: bigint | _$viem.BlockTag | undefined;
8194
8320
  toBlock?: bigint | _$viem.BlockTag | undefined;
8195
8321
  } & {
@@ -8216,7 +8342,7 @@ declare class QuoterV2Factory {
8216
8342
  }) => _$viem.WatchContractEventReturnType;
8217
8343
  };
8218
8344
  write: {
8219
- [x: string]: <chainOverride extends _$viem.Chain | undefined, options extends (_$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: _$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K] } : never)>(args: readonly unknown[], options: options) => Promise<_$viem.WriteContractReturnType>;
8345
+ [x: string]: <chainOverride extends _$viem.Chain | undefined, options extends (_$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "functionName" | "args"> extends infer T ? { [K in keyof T]: _$viem.UnionOmit<_$viem.WriteContractParameters<QuoterV2ABI, never, readonly unknown[], _$viem.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "functionName" | "args">[K] } : never)>(args: readonly unknown[], options: options) => Promise<_$viem.WriteContractReturnType>;
8220
8346
  };
8221
8347
  address: `0x${string}`;
8222
8348
  abi: QuoterV2ABI;
@@ -9078,7 +9204,7 @@ interface V4ReceiptEvidence {
9078
9204
  type V4PoolActionVerification = PoolActionVerification<V4PoolIdentity, V4PoolSnapshot, V4ReceiptEvidence>;
9079
9205
  //#endregion
9080
9206
  //#region src/base/vault/execution-context.d.ts
9081
- type VaultExecutionPoolFamily = 'uniswap-v3-compatible' | 'algebra' | 'algebra-integral' | 'algebra-directional' | 'aerodrome-cl' | 'uniswap-v4';
9207
+ type VaultExecutionPoolFamily = 'uniswap-v3-compatible' | 'algebra' | 'algebra-integral' | 'algebra-directional' | 'aerodrome-cl' | 'uniswap-v4' | 'pancake-v4';
9082
9208
  type VaultExecutionPoolKey = V4PoolKey;
9083
9209
  interface GetVaultExecutionContextParams {
9084
9210
  publicClient: PublicClient;
@@ -9087,8 +9213,8 @@ interface GetVaultExecutionContextParams {
9087
9213
  /** Explicit execution epoch as a Unix timestamp in seconds. */
9088
9214
  epochTimestamp: bigint;
9089
9215
  subgraphStudioKey?: string;
9090
- /** Optional assertion for Uniswap v4. It must exactly match the vault's pinned poolKey(). */
9091
- poolKey?: VaultExecutionPoolKey;
9216
+ /** Optional protocol-specific assertion matching the vault's pinned poolKey(). */
9217
+ poolKey?: VaultExecutionPoolKey | PancakeV4PoolKey;
9092
9218
  }
9093
9219
  interface VaultExecutionPosition {
9094
9220
  lowerTick: number;
@@ -9115,7 +9241,7 @@ interface VaultExecutionContext {
9115
9241
  poolId: Hex | null;
9116
9242
  factoryAddress: Address | null;
9117
9243
  poolManagerAddress: Address | null;
9118
- poolKey: VaultExecutionPoolKey | null;
9244
+ poolKey: VaultExecutionPoolKey | PancakeV4PoolKey | null;
9119
9245
  currentTick: number;
9120
9246
  tickSpacing: number;
9121
9247
  positions: VaultExecutionPosition[];
@@ -10991,7 +11117,7 @@ interface V4PoolStateParams {
10991
11117
  chainId: number;
10992
11118
  blockNumber?: bigint;
10993
11119
  }
10994
- type PoolReadParams = PoolStateParams | V4PoolStateParams;
11120
+ type PoolReadParams = PoolStateParams | V4PoolStateParams | PancakeV4PoolStateParams;
10995
11121
  /**
10996
11122
  * Unified method to get pool state across different AMM types
10997
11123
  * Automatically calls the correct function based on pool type parameters
@@ -12888,5 +13014,5 @@ declare function decodeV4PoolActionReceipt(action: PreparedV4PoolAction, receipt
12888
13014
  /** Verify exact calldata, canonical receipt/event, and receipt-block StateView state. */
12889
13015
  declare function verifyV4PoolAction(params: VerifyV4PoolActionParams): Promise<V4PoolActionVerification>;
12890
13016
  //#endregion
12891
- export { AERODROME_BEACON_NAMES, AERODROME_PROTOCOLS, AERODROME_SLIPSTREAM_LIFECYCLE_DEPLOYMENTS, ALGEBRA_INTEGRAL_PROTOCOLS, ALGEBRA_INTEGRAL_V_2_0_PROTOCOLS, ALGEBRA_LIFECYCLE_DEPLOYMENTS, ALGEBRA_PROTOCOLS, AMMConfigType, AMMType, API_URLS, AerodromeBeacons, AerodromeSlipstreamLifecycleDeployment, AerodromeSlipstreamPoolActionSimulation, AerodromeSlipstreamPoolActionVerification, AerodromeSlipstreamPoolIdentity, AerodromeSlipstreamPoolKey, AerodromeSlipstreamPoolKeyInput, AerodromeSlipstreamPoolSnapshot, AerodromeSlipstreamReceiptEvidence, AlgebgraHookBeacons, AlgebraInitialPrice, AlgebraIntegral21QuoteParams, AlgebraLifecycleAdapter, AlgebraLifecycleDeployment, AlgebraLifecycleProvenance, AlgebraLifecycleVariant, AlgebraPoolActionSimulation, AlgebraPoolActionVerification, AlgebraPoolIdentity, AlgebraPoolKey, AlgebraPoolKeyInput, AlgebraPoolSnapshot, AlgebraPreflightSummary, AlgebraQuoteParams, AlgebraReceiptEvidence, AlgebraVaultDetails, ApiPageInfo, ApiVaultFilter, AprFilter, AprResponse, BaseQuoteParams, BaseVaultDetails, BlackholeAprDetailedParams, BlackholeAprDetailedResponse, BlackholeSnapshotAnalysis, BuildAlgebraCreatePoolTransactionParams, BuildAlgebraInitializePoolTransactionParams, BuildV3CreateAndInitializeTransactionParams, BuildV3CreatePoolTransactionParams, BuildV3InitializePoolTransactionParams, BuildV4InitializePoolTransactionParams, CURRENT_V4_LIFECYCLE_DEPLOYMENTS, CalculateLimitPriceParams, CalculateSwapAmountParams, CanonicalCurrencyInitialPrice, CanonicalCurrencyPair, CanonicalErc20Pair, CanonicalInitialPrice, Chain, ChainId, ClaimProofEdge, ClaimProofNode, ClaimProofsPageInfo, ClaimProofsResponse, ClaimRewardEdge, ClaimRewardNode, ClaimRewardParams, ClaimRewardsConnection, ClaimRewardsParams, Contract, ContractAddresses, ContractName, DIRECTIONAL_ALGEBRA_PROTOCOLS, DefaultFeeManagerConfigParams, DeprecationData, EncodedEvmTransaction, EstimateLpTokensParams, ExactCurrencyPrice, ExactFraction, ExactPrice, FEE_MANAGER_ABI, Fee, FeeManagerClient, FeeManagerConfigParams, FeeWithdrawalParams, FormattedRoute, GetRewardParams, GetSupportedChainsOptions, GetVaultExecutionContextParams, GlobalStateABI, type GraphQLPoolData, type GraphQLTokenData, InspectAlgebraCustomPoolEntryPointParams, InspectAlgebraPoolParams, InspectV3PoolParams, InspectV4PoolParams, LimitPoolState, LpPriceResponse, LpTokenEstimationResponse, MAX_SQRT_RATIO, MIN_SQRT_RATIO, MultiPositionManagers, MultiVaultFeeWithdrawalParams, MultipleFeeWithdrawalParams, NetworkConfig, NetworkData, Networks, POOLSHARK_PROTOCOLS, POOL_LIFECYCLE_DEPLOYMENTS, PREPARED_POOL_ACTION_SERIALIZATION_VERSION, PageInfo, PendingRewardsParams, PendingRewardsResponse, PoolActionOutcome, PoolActionSimulation, PoolActionVerification, PoolClient, PoolData, PoolEdge, PoolFilter, PoolLifecycleDeploymentRegistry, PoolLifecycleDeploymentResult, PoolLifecycleError, PoolLifecycleErrorCode, PoolNode, type PoolReadParams, PoolSharkGlobalState, PoolSlot0, type PoolStateParams, PoolsConnection, PoolsharkStructs, PrepareAlgebraPoolResult, PrepareV3CreateAndInitializeParams, PrepareV3CreateAndInitializeResult, PrepareV3CreatePoolParams, PrepareV3CreatePoolResult, PrepareV3InitializePoolParams, PrepareV3InitializePoolResult, PrepareV4InitializeParams, PrepareV4InitializeResult, PreparedAerodromeSlipstreamCreateAndInitializeAction, PreparedAlgebraCreatePoolAction, PreparedAlgebraInitializePoolAction, PreparedAlgebraPoolAction, PreparedPoolAction, PreparedV3CreateAndInitializeAction, PreparedV3CreatePoolAction, PreparedV3InitializePoolAction, PreparedV3PoolAction, PreparedV4InitializePoolAction, PreparedV4PoolAction, Protocol, ProtocolContractAddresses, ProtocolDetails, ProtocolInfo, QuickSwapQuoterV2, QuoteParams, QuoterFunctionArgs, QuoterV2ABI, QuoterV2AlgebgraIntegral, QuoterV2AlgebgraIntegral21, QuoterV2Factory, QuoterV2Shadow, QuoterV2Thick, ResolvePoolLifecycleDeploymentParams, ResolveV3LifecycleDeploymentParams, ResolveV4LifecycleDeploymentParams, Reward, RewardBalance, RewardSummary, RouteShortcut, SHADOW_PROTOCOLS, ShadowQuoteParams, SimulateAlgebraPoolActionParams, SimulateSwapParams, SimulateV3PoolActionParams, SimulateV4PoolActionParams, SingleAssetDepositClient, SingleAssetDepositParams, SingleAssetDepositPreview, Slot0, SmartRewarderContract, SmartRewards, StabilityVaultInfo, StakeParams, Staking, StakingClient, StakingPool, StakingPoolFilter, StakingProtocol, SteerClient, SteerConfig, SteerResponse, SteerSupportedChains, StrykePositionManagers, SubgraphClient, SubgraphResponse, SubgraphVaultClient, SubgraphVaultDetails, SubgraphVaultDetailsWithLpData, SubgraphVaultPosition, SupportedChain, SupportedChainFeatures, SupportedChainsFeature, SupportedChainsInclude, SupportedPoolLifecycleDeployment, SupportedProtocol, SwapAmountResponse, SwapSimulationResponse, TEST_UNISWAP_JIT_HOOK_BEACON, ThickQuoteParams, Token0, Token1, TokenData, TokenEdge, TokenFilter, TokenNode, TokenValueParams, TokenValueResponse, TokensConnection, UNISWAP_V4_BEACON_NAMES, UNISWAP_V4_HOOK_BEACON_NAMES, UNISWAP_V4_NO_ORACLE_BEACON, UniswapHookBeacons, UniswapQuoteParams, UniswapV3PoolABI, UniswapV3QuoterABI, UniswapV4Beacons, UnsupportedPoolLifecycleDeployment, V3AbsentPoolSnapshot, V3AbsentPreflightSummary, V3AtomicLifecycleDeployment, V3CreateExpectation, V3CreatePoolIdentity, V3ExistingPoolIdentity, V3ExistingPoolSnapshot, V3FactoryLifecycleDeployment, V3InitialPrice, V3InitializeExpectation, V3InitializedPoolSnapshot, V3InitializedPreflightSummary, V3LifecycleDeployment, V3LifecycleDeploymentProvenance, V3PoolActionKind, V3PoolActionSimulation, V3PoolActionVerification, V3PoolCreatedEvidence, V3PoolIdentity, V3PoolInitializedEvidence, V3PoolKey, V3PoolKeyInput, V3PoolSnapshot, V3PoolStatus, V3PreflightSummary, V3ReceiptEvidence, V3UninitializedPoolSnapshot, V3UninitializedPreflightSummary, V3_CONFIG_PROTOCOLS, V3_LIFECYCLE_DEPLOYMENTS, V4InitialPrice, V4InitializeEvidence, V4InitializeExpectation, V4InitializedPoolSnapshot, V4LifecycleDeployment, V4LifecycleDeploymentByIdRegistry, V4LifecycleDeploymentId, V4LifecycleDeploymentProvenance, V4PoolActionSimulation, V4PoolActionVerification, V4PoolIdentity, V4PoolKey, V4PoolKeyInput, V4PoolSnapshot, type V4PoolStateParams, V4ReceiptEvidence, V4UninitializedPoolSnapshot, V4UninitializedPreflightSummary, V4_ALL_HOOK_MASK, V4_DYNAMIC_FEE_FLAG, V4_LIFECYCLE_DEPLOYMENTS, V4_LIFECYCLE_DEPLOYMENTS_BY_ID, V4_MAX_STATIC_FEE, V4_MAX_TICK_SPACING, V4_ZERO_ADDRESS, VAULT_FEES_ABI, VaultAllowanceParams, VaultApproveParams, VaultApr, VaultBalanceParams, VaultClient, VaultDetails, VaultDetailsResponse, VaultEdge, VaultExecutionContext, VaultExecutionDataProvenance, VaultExecutionPoolFamily, VaultExecutionPoolKey, VaultExecutionPosition, VaultFetchOptions, VaultFilter, VaultNode, VaultTokens, VaultsConnection, VerifiedAerodromeSlipstreamPoolIdentity, VerifyAlgebraPoolActionParams, VerifyV3PoolActionParams, VerifyV4PoolActionParams, WithdrawParams, abis, aerodromeSlipstreamFactoryAbi, aerodromeSlipstreamPoolAbi, algebraCustomPoolEntryPointAbi, algebraDirectionalPoolStateAbi, algebraIntegralPairFactoryAbi, algebraIntegralPluginDataFactoryAbi, algebraIntegralPoolStateAbi, algebraLegacyPoolStateAbi, algebraPairFactoryAbi, algebraPoolBaseAbi, apechainAddresses, arbitrumAddresses, arbitrumgoerliAddresses, arcAddresses, arthswapConfig, assertAerodromeSlipstreamInitialPrice, assertAlgebraInitialPrice, assertLatestAerodromeSlipstreamLifecycleDeployment, assertPreparedV3PoolAction, assertPreparedV4PoolAction, assertV3InitialPrice, assertV4InitialPrice, astarAddresses, astarzkevmAddresses, avalancheAddresses, bartiotestAddresses, baseAddresses, baseSwapConfig, basexConfig, beraAddresses, bittensorAddresses, bittensorUniV3Config, blastAddresses, bscAddresses, buildAerodromeSlipstreamCreateAndInitializeTransaction, buildAlgebraCreatePoolTransaction, buildAlgebraInitializePoolTransaction, buildV3CreateAndInitializeTransaction, buildV3CreatePoolTransaction, buildV3InitializePoolTransaction, buildV4InitializePoolTransaction, calculateLimitPrice, calculateSwapAmount, camelotConfig, canonicalizeAerodromeSlipstreamPoolKey, canonicalizeAlgebraPoolKey, canonicalizeV3PoolKey, canonicalizeV4PoolKey, celoAddresses, chainIdToName, chainNameToId, crustConfig, decodeAerodromeSlipstreamPoolActionReceipt, decodeAlgebraPoolActionReceipt, decodeV3PoolActionReceipt, decodeV4PoolActionReceipt, deprecatedBundlesURL, deserializePreparedAerodromeSlipstreamPoolAction, deserializePreparedAlgebraPoolAction, deserializePreparedPoolAction, deserializePreparedV3PoolAction, deserializePreparedV4PoolAction, determineSwapDirection, encodeCurrencyInitialSqrtPriceX96, encodeInitialSqrtPriceX96, encodeSqrtRatioX96, equilibreConfig, erc1155Abi, erc20Abi, erc721Abi, estimateLpTokens, ethAddresses, evmosAddresses, fantomAddresses, fenixConfig, filecoinAddresses, flareAddresses, forgeConfig, fusionxConfig, getAmmConfig, getAmmConfigByChainId, getApiUrl, getBeaconNameByProtocol, getContractAddressByChainIdAndContractName, getExpectedParamType, getFactoryAddress, getInitCodeHash, getNFTManagerAddress, getNetworkByChainId, getPoolHelperByChainId, getPoolSlot0, getPoolState, getPoolStateWithPrice, getProtcolTypeByAmmType, getProtocolBySubgraph, getProtocolConfigByBeacon, getProtocolContractAddresses, getProtocolInfoByChainId, getProtocolInfoByName, getProtocolSubgraphURL, getProtocolTypeByBeacon, getProtocolsForChainId, getQuoterV2Address, getStabilityVaultsPeripheryAddress, getStabilityVaultsSubgraphUrl, getSubgraphUrlByChainId, getSupportedChainByChainId, getSupportedChainIds, getSupportedChains, getSwapRouterAddress, getTheGraphResolverUrl, getTickLensAddress, getUniswapV4BeaconSupportedChains, getV4LifecycleDeploymentId, getV4PoolId, getVaultExecutionContext, getVaultReserves, glyphConfig, goerliAddresses, hemiAddresses, henjinConfig, herculesConfig, horizaConfig, inspectAerodromeSlipstreamPool, inspectAlgebraCustomPoolEntryPoint, inspectAlgebraPool, inspectV3Pool, inspectV4Pool, integerSqrt, isAerodromeBeacon, isAerodromeVault, isAlgebraDirectionProtocol, isAlgebraIntegral21QuoteParams, isAlgebraIntegralProtocol, isAlgebraIntegralV2Protocol, isAlgebraProtocol, isAlgebraProtocolBySubgraph, isAlgebraQuoteParams, isPoolSharkProtocol, isShadowProtocol, isShadowQuoteParams, isSingleAssetDepositSupported, isThickQuoteParams, isThickV2Protocol, isUniswapQuoteParams, isUniswapV4Beacon, isUniswapV4BeaconAvailableOnChain, isUniswapV4HookBeacon, isValidStakingProtocol, katanaAddresses, katanaConfig, kavaAddresses, kimConfig, kinetixConfig, lineaAddresses, linehubConfig, localhostAddresses, lynexConfig, maiaConfig, mantaAddresses, mantleAddresses, metaVaultConfig, metisAddresses, modeAddresses, moonbeamAddresses, mumbaiAddresses, nestVaultConfig, networks, normalizeProtocol, novaswapConfig, okxtestnetAddresses, optimismAddresses, optimismgoerliAddresses, pancakeSwapConfig, parseExactDecimal, polygonAddresses, polyzkevmAddresses, poolsharkConfig, prepareAerodromeSlipstreamPool, prepareAlgebraPool, prepareLatestAerodromeSlipstreamPool, prepareV3CreateAndInitialize, prepareV3CreatePool, prepareV3InitializePool, prepareV4Initialize, quickSwapAlgebraConfig, quickSwapConfig, quickSwapIntegralConfig, quickSwapUniv3Config, resolveAerodromeSlipstreamLifecycleDeployment, resolveAlgebraLifecycleDeployment, resolveCurrentV4LifecycleDeployment, resolveLatestAerodromeSlipstreamLifecycleDeployment, resolvePoolLifecycleDeployment, resolveV3LifecycleDeployment, resolveV4LifecycleDeployment, resolveV4LifecycleDeploymentById, retroConfig, robinhoodAddresses, rootstockAddresses, sagaAddresses, scrollAddresses, seiAddresses, serializePreparedPoolAction, shadowConfig, shouldValidateUniswapV4VaultHook, simulateAerodromeSlipstreamPoolAction, simulateAlgebraPoolAction, simulateSwap, simulateV3PoolAction, simulateV4PoolAction, singleTokenDepositAbi, soneiumAddresses, sonicAddresses, sortErc20Pair, sortEvmCurrencyPair, spark32Config, sparkConfig, stabilityVaultsConfig, steerSubgraphConfig, supswapConfig, sushiConfig, swapmodeConfig, swapsicleConfig, taikoAddresses, telosAddresses, thenaConfig, thickConfig, thrusterConfig, thundercoreAddresses, uniAddresses, uniswapConfig, v3FactoryAbi, v3PoolAbi, v3PoolInitializerAbi, v4PoolKeysEqual, v4PoolManagerAbi, v4StateViewAbi, validateAerodromeSlipstreamLifecycleDeployment, validateAlgebraLifecycleDeployment, validatePreparedAerodromeSlipstreamPoolAction, validatePreparedAlgebraPoolAction, validatePreparedV3PoolAction, validatePreparedV4PoolAction, validateQuoteParams, validateSqrtPriceX96, validateSwapParams, validateV4LifecycleDeployment, validateV4PoolKey, verifyAerodromeSlipstreamPoolAction, verifyAlgebraPoolAction, verifyV3PoolAction, verifyV4PoolAction, xlayerAddresses, zetaAddresses, zircuitAddresses };
13017
+ export { AERODROME_BEACON_NAMES, AERODROME_PROTOCOLS, AERODROME_SLIPSTREAM_LIFECYCLE_DEPLOYMENTS, ALGEBRA_INTEGRAL_PROTOCOLS, ALGEBRA_INTEGRAL_V_2_0_PROTOCOLS, ALGEBRA_LIFECYCLE_DEPLOYMENTS, ALGEBRA_PROTOCOLS, AMMConfigType, AMMType, API_URLS, AerodromeBeacons, AerodromeSlipstreamLifecycleDeployment, AerodromeSlipstreamPoolActionSimulation, AerodromeSlipstreamPoolActionVerification, AerodromeSlipstreamPoolIdentity, AerodromeSlipstreamPoolKey, AerodromeSlipstreamPoolKeyInput, AerodromeSlipstreamPoolSnapshot, AerodromeSlipstreamReceiptEvidence, AlgebgraHookBeacons, AlgebraInitialPrice, AlgebraIntegral21QuoteParams, AlgebraLifecycleAdapter, AlgebraLifecycleDeployment, AlgebraLifecycleProvenance, AlgebraLifecycleVariant, AlgebraPoolActionSimulation, AlgebraPoolActionVerification, AlgebraPoolIdentity, AlgebraPoolKey, AlgebraPoolKeyInput, AlgebraPoolSnapshot, AlgebraPreflightSummary, AlgebraQuoteParams, AlgebraReceiptEvidence, AlgebraVaultDetails, ApiPageInfo, ApiVaultFilter, AprFilter, AprResponse, BaseQuoteParams, BaseVaultDetails, BlackholeAprDetailedParams, BlackholeAprDetailedResponse, BlackholeSnapshotAnalysis, BuildAlgebraCreatePoolTransactionParams, BuildAlgebraInitializePoolTransactionParams, BuildV3CreateAndInitializeTransactionParams, BuildV3CreatePoolTransactionParams, BuildV3InitializePoolTransactionParams, BuildV4InitializePoolTransactionParams, CURRENT_V4_LIFECYCLE_DEPLOYMENTS, CalculateLimitPriceParams, CalculateSwapAmountParams, CanonicalCurrencyInitialPrice, CanonicalCurrencyPair, CanonicalErc20Pair, CanonicalInitialPrice, Chain, ChainId, ClaimProofEdge, ClaimProofNode, ClaimProofsPageInfo, ClaimProofsResponse, ClaimRewardEdge, ClaimRewardNode, ClaimRewardParams, ClaimRewardsConnection, ClaimRewardsParams, Contract, ContractAddresses, ContractName, DIRECTIONAL_ALGEBRA_PROTOCOLS, DefaultFeeManagerConfigParams, DeprecationData, EncodedEvmTransaction, EstimateLpTokensParams, ExactCurrencyPrice, ExactFraction, ExactPrice, FEE_MANAGER_ABI, Fee, FeeManagerClient, FeeManagerConfigParams, FeeWithdrawalParams, FormattedRoute, GetRewardParams, GetSupportedChainsOptions, GetVaultExecutionContextParams, GlobalStateABI, type GraphQLPoolData, type GraphQLTokenData, InspectAlgebraCustomPoolEntryPointParams, InspectAlgebraPoolParams, InspectV3PoolParams, InspectV4PoolParams, LimitPoolState, LpPriceResponse, LpTokenEstimationResponse, MAX_SQRT_RATIO, MIN_SQRT_RATIO, MultiPositionManagers, MultiVaultFeeWithdrawalParams, MultipleFeeWithdrawalParams, NetworkConfig, NetworkData, Networks, PANCAKE_V4_BEACON_NAMES, PANCAKE_V4_PROTOCOLS, POOLSHARK_PROTOCOLS, POOL_LIFECYCLE_DEPLOYMENTS, PREPARED_POOL_ACTION_SERIALIZATION_VERSION, PageInfo, PancakeV4Beacons, PancakeV4PoolKey, PancakeV4PoolStateParams, PendingRewardsParams, PendingRewardsResponse, PoolActionOutcome, PoolActionSimulation, PoolActionVerification, PoolClient, PoolData, PoolEdge, PoolFilter, PoolLifecycleDeploymentRegistry, PoolLifecycleDeploymentResult, PoolLifecycleError, PoolLifecycleErrorCode, PoolNode, type PoolReadParams, PoolSharkGlobalState, PoolSlot0, type PoolStateParams, PoolsConnection, PoolsharkStructs, PrepareAlgebraPoolResult, PrepareV3CreateAndInitializeParams, PrepareV3CreateAndInitializeResult, PrepareV3CreatePoolParams, PrepareV3CreatePoolResult, PrepareV3InitializePoolParams, PrepareV3InitializePoolResult, PrepareV4InitializeParams, PrepareV4InitializeResult, PreparedAerodromeSlipstreamCreateAndInitializeAction, PreparedAlgebraCreatePoolAction, PreparedAlgebraInitializePoolAction, PreparedAlgebraPoolAction, PreparedPoolAction, PreparedV3CreateAndInitializeAction, PreparedV3CreatePoolAction, PreparedV3InitializePoolAction, PreparedV3PoolAction, PreparedV4InitializePoolAction, PreparedV4PoolAction, Protocol, ProtocolContractAddresses, ProtocolDetails, ProtocolInfo, QuickSwapQuoterV2, QuoteParams, QuoterFunctionArgs, QuoterV2ABI, QuoterV2AlgebgraIntegral, QuoterV2AlgebgraIntegral21, QuoterV2Factory, QuoterV2Shadow, QuoterV2Thick, ResolvePoolLifecycleDeploymentParams, ResolveV3LifecycleDeploymentParams, ResolveV4LifecycleDeploymentParams, Reward, RewardBalance, RewardSummary, RouteShortcut, SHADOW_PROTOCOLS, ShadowQuoteParams, SimulateAlgebraPoolActionParams, SimulateSwapParams, SimulateV3PoolActionParams, SimulateV4PoolActionParams, SingleAssetDepositClient, SingleAssetDepositParams, SingleAssetDepositPreview, Slot0, SmartRewarderContract, SmartRewards, StabilityVaultInfo, StakeParams, Staking, StakingClient, StakingPool, StakingPoolFilter, StakingProtocol, SteerClient, SteerConfig, SteerResponse, SteerSupportedChains, StrykePositionManagers, SubgraphClient, SubgraphResponse, SubgraphVaultClient, SubgraphVaultDetails, SubgraphVaultDetailsWithLpData, SubgraphVaultPosition, SupportedChain, SupportedChainFeatures, SupportedChainsFeature, SupportedChainsInclude, SupportedPoolLifecycleDeployment, SupportedProtocol, SwapAmountResponse, SwapSimulationResponse, TEST_UNISWAP_JIT_HOOK_BEACON, ThickQuoteParams, Token0, Token1, TokenData, TokenEdge, TokenFilter, TokenNode, TokenValueParams, TokenValueResponse, TokensConnection, UNISWAP_V4_BEACON_NAMES, UNISWAP_V4_HOOK_BEACON_NAMES, UNISWAP_V4_NO_ORACLE_BEACON, UniswapHookBeacons, UniswapQuoteParams, UniswapV3PoolABI, UniswapV3QuoterABI, UniswapV4Beacons, UnsupportedPoolLifecycleDeployment, V3AbsentPoolSnapshot, V3AbsentPreflightSummary, V3AtomicLifecycleDeployment, V3CreateExpectation, V3CreatePoolIdentity, V3ExistingPoolIdentity, V3ExistingPoolSnapshot, V3FactoryLifecycleDeployment, V3InitialPrice, V3InitializeExpectation, V3InitializedPoolSnapshot, V3InitializedPreflightSummary, V3LifecycleDeployment, V3LifecycleDeploymentProvenance, V3PoolActionKind, V3PoolActionSimulation, V3PoolActionVerification, V3PoolCreatedEvidence, V3PoolIdentity, V3PoolInitializedEvidence, V3PoolKey, V3PoolKeyInput, V3PoolSnapshot, V3PoolStatus, V3PreflightSummary, V3ReceiptEvidence, V3UninitializedPoolSnapshot, V3UninitializedPreflightSummary, V3_CONFIG_PROTOCOLS, V3_LIFECYCLE_DEPLOYMENTS, V4InitialPrice, V4InitializeEvidence, V4InitializeExpectation, V4InitializedPoolSnapshot, V4LifecycleDeployment, V4LifecycleDeploymentByIdRegistry, V4LifecycleDeploymentId, V4LifecycleDeploymentProvenance, V4PoolActionSimulation, V4PoolActionVerification, V4PoolIdentity, V4PoolKey, V4PoolKeyInput, V4PoolSnapshot, type V4PoolStateParams, V4ReceiptEvidence, V4UninitializedPoolSnapshot, V4UninitializedPreflightSummary, V4_ALL_HOOK_MASK, V4_DYNAMIC_FEE_FLAG, V4_LIFECYCLE_DEPLOYMENTS, V4_LIFECYCLE_DEPLOYMENTS_BY_ID, V4_MAX_STATIC_FEE, V4_MAX_TICK_SPACING, V4_ZERO_ADDRESS, VAULT_FEES_ABI, VaultAllowanceParams, VaultApproveParams, VaultApr, VaultBalanceParams, VaultClient, VaultDetails, VaultDetailsResponse, VaultEdge, VaultExecutionContext, VaultExecutionDataProvenance, VaultExecutionPoolFamily, VaultExecutionPoolKey, VaultExecutionPosition, VaultFetchOptions, VaultFilter, VaultNode, VaultTokens, VaultsConnection, VerifiedAerodromeSlipstreamPoolIdentity, VerifyAlgebraPoolActionParams, VerifyV3PoolActionParams, VerifyV4PoolActionParams, WithdrawParams, abis, aerodromeSlipstreamFactoryAbi, aerodromeSlipstreamPoolAbi, algebraCustomPoolEntryPointAbi, algebraDirectionalPoolStateAbi, algebraIntegralPairFactoryAbi, algebraIntegralPluginDataFactoryAbi, algebraIntegralPoolStateAbi, algebraLegacyPoolStateAbi, algebraPairFactoryAbi, algebraPoolBaseAbi, apechainAddresses, arbitrumAddresses, arbitrumgoerliAddresses, arcAddresses, arthswapConfig, assertAerodromeSlipstreamInitialPrice, assertAlgebraInitialPrice, assertLatestAerodromeSlipstreamLifecycleDeployment, assertPreparedV3PoolAction, assertPreparedV4PoolAction, assertV3InitialPrice, assertV4InitialPrice, astarAddresses, astarzkevmAddresses, avalancheAddresses, bartiotestAddresses, baseAddresses, baseSwapConfig, basexConfig, beraAddresses, bittensorAddresses, bittensorUniV3Config, blastAddresses, bscAddresses, buildAerodromeSlipstreamCreateAndInitializeTransaction, buildAlgebraCreatePoolTransaction, buildAlgebraInitializePoolTransaction, buildV3CreateAndInitializeTransaction, buildV3CreatePoolTransaction, buildV3InitializePoolTransaction, buildV4InitializePoolTransaction, calculateLimitPrice, calculateSwapAmount, camelotConfig, canonicalizeAerodromeSlipstreamPoolKey, canonicalizeAlgebraPoolKey, canonicalizeV3PoolKey, canonicalizeV4PoolKey, celoAddresses, chainIdToName, chainNameToId, crustConfig, decodeAerodromeSlipstreamPoolActionReceipt, decodeAlgebraPoolActionReceipt, decodeV3PoolActionReceipt, decodeV4PoolActionReceipt, deprecatedBundlesURL, deserializePreparedAerodromeSlipstreamPoolAction, deserializePreparedAlgebraPoolAction, deserializePreparedPoolAction, deserializePreparedV3PoolAction, deserializePreparedV4PoolAction, determineSwapDirection, encodeCurrencyInitialSqrtPriceX96, encodeInitialSqrtPriceX96, encodeSqrtRatioX96, equilibreConfig, erc1155Abi, erc20Abi, erc721Abi, estimateLpTokens, ethAddresses, evmosAddresses, fantomAddresses, fenixConfig, filecoinAddresses, flareAddresses, forgeConfig, fusionxConfig, getAmmConfig, getAmmConfigByChainId, getApiUrl, getBeaconNameByProtocol, getContractAddressByChainIdAndContractName, getExpectedParamType, getFactoryAddress, getInitCodeHash, getNFTManagerAddress, getNetworkByChainId, getPancakeV4PoolId, getPancakeV4PoolState, getPancakeV4TickSpacing, getPoolHelperByChainId, getPoolSlot0, getPoolState, getPoolStateWithPrice, getProtcolTypeByAmmType, getProtocolBySubgraph, getProtocolConfigByBeacon, getProtocolContractAddresses, getProtocolInfoByChainId, getProtocolInfoByName, getProtocolSubgraphURL, getProtocolTypeByBeacon, getProtocolsForChainId, getQuoterV2Address, getStabilityVaultsPeripheryAddress, getStabilityVaultsSubgraphUrl, getSubgraphUrlByChainId, getSupportedChainByChainId, getSupportedChainIds, getSupportedChains, getSwapRouterAddress, getTheGraphResolverUrl, getTickLensAddress, getUniswapV4BeaconSupportedChains, getV4LifecycleDeploymentId, getV4PoolId, getVaultExecutionContext, getVaultReserves, glyphConfig, goerliAddresses, hemiAddresses, henjinConfig, herculesConfig, horizaConfig, inspectAerodromeSlipstreamPool, inspectAlgebraCustomPoolEntryPoint, inspectAlgebraPool, inspectV3Pool, inspectV4Pool, integerSqrt, isAerodromeBeacon, isAerodromeVault, isAlgebraDirectionProtocol, isAlgebraIntegral21QuoteParams, isAlgebraIntegralProtocol, isAlgebraIntegralV2Protocol, isAlgebraProtocol, isAlgebraProtocolBySubgraph, isAlgebraQuoteParams, isPancakeV4Beacon, isPancakeV4Protocol, isPoolSharkProtocol, isShadowProtocol, isShadowQuoteParams, isSingleAssetDepositSupported, isThickQuoteParams, isThickV2Protocol, isUniswapQuoteParams, isUniswapV4Beacon, isUniswapV4BeaconAvailableOnChain, isUniswapV4HookBeacon, isValidStakingProtocol, katanaAddresses, katanaConfig, kavaAddresses, kimConfig, kinetixConfig, lineaAddresses, linehubConfig, localhostAddresses, lynexConfig, maiaConfig, mantaAddresses, mantleAddresses, metaVaultConfig, metisAddresses, modeAddresses, moonbeamAddresses, mumbaiAddresses, nestVaultConfig, networks, normalizeProtocol, novaswapConfig, okxtestnetAddresses, optimismAddresses, optimismgoerliAddresses, pancakeSwapConfig, pancakeV4PoolManagerAbi, pancakeV4VaultAbi, parseExactDecimal, polygonAddresses, polyzkevmAddresses, poolsharkConfig, prepareAerodromeSlipstreamPool, prepareAlgebraPool, prepareLatestAerodromeSlipstreamPool, prepareV3CreateAndInitialize, prepareV3CreatePool, prepareV3InitializePool, prepareV4Initialize, quickSwapAlgebraConfig, quickSwapConfig, quickSwapIntegralConfig, quickSwapUniv3Config, resolveAerodromeSlipstreamLifecycleDeployment, resolveAlgebraLifecycleDeployment, resolveCurrentV4LifecycleDeployment, resolveLatestAerodromeSlipstreamLifecycleDeployment, resolvePoolLifecycleDeployment, resolveV3LifecycleDeployment, resolveV4LifecycleDeployment, resolveV4LifecycleDeploymentById, retroConfig, robinhoodAddresses, rootstockAddresses, sagaAddresses, scrollAddresses, seiAddresses, serializePreparedPoolAction, shadowConfig, shouldValidateUniswapV4VaultHook, simulateAerodromeSlipstreamPoolAction, simulateAlgebraPoolAction, simulateSwap, simulateV3PoolAction, simulateV4PoolAction, singleTokenDepositAbi, soneiumAddresses, sonicAddresses, sortErc20Pair, sortEvmCurrencyPair, spark32Config, sparkConfig, stabilityVaultsConfig, steerSubgraphConfig, supswapConfig, sushiConfig, sushiV4Config, swapmodeConfig, swapsicleConfig, taikoAddresses, telosAddresses, thenaConfig, thickConfig, thrusterConfig, thundercoreAddresses, uniAddresses, uniswapConfig, v3FactoryAbi, v3PoolAbi, v3PoolInitializerAbi, v4PoolKeysEqual, v4PoolManagerAbi, v4StateViewAbi, validateAerodromeSlipstreamLifecycleDeployment, validateAlgebraLifecycleDeployment, validatePancakeV4PoolKey, validatePreparedAerodromeSlipstreamPoolAction, validatePreparedAlgebraPoolAction, validatePreparedV3PoolAction, validatePreparedV4PoolAction, validateQuoteParams, validateSqrtPriceX96, validateSwapParams, validateV4LifecycleDeployment, validateV4PoolKey, verifyAerodromeSlipstreamPoolAction, verifyAlgebraPoolAction, verifyV3PoolAction, verifyV4PoolAction, xlayerAddresses, zetaAddresses, zircuitAddresses };
12892
13018
  //# sourceMappingURL=index.d.mts.map