@whetstone-research/doppler-sdk 1.0.26 → 1.0.28

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.
@@ -7,7 +7,7 @@ declare const CHAIN_IDS: {
7
7
  readonly BASE: 8453;
8
8
  readonly BASE_SEPOLIA: 84532;
9
9
  readonly INK: 57073;
10
- readonly TEMP: 4663;
10
+ readonly ROBINHOOD: 4663;
11
11
  readonly UNICHAIN: 130;
12
12
  readonly UNICHAIN_SEPOLIA: 1301;
13
13
  readonly MONAD_TESTNET: 10143;
@@ -547,7 +547,7 @@ interface MulticurveMarketCapRangeCurve {
547
547
  marketCap: {
548
548
  /** Start market cap in USD (for the first curve, this is the launch price) */
549
549
  start: number;
550
- /** End market cap in USD, or 'max' for MAX_TICK rounded to tick spacing */
550
+ /** End market cap in USD, or 'max' for the highest contract-safe terminal tick */
551
551
  end: number | 'max';
552
552
  };
553
553
  /** Number of liquidity positions in this curve */
@@ -1210,6 +1210,7 @@ declare class StaticAuction {
1210
1210
  * Get total liquidity in the pool
1211
1211
  */
1212
1212
  getTotalLiquidity(): Promise<bigint>;
1213
+ private isRegisteredAirlockAsset;
1213
1214
  }
1214
1215
 
1215
1216
  /**
@@ -1266,16 +1267,7 @@ declare class DynamicAuction {
1266
1267
  * Check if the auction ended early due to max proceeds
1267
1268
  */
1268
1269
  hasEndedEarly(): Promise<boolean>;
1269
- /**
1270
- * Compute V4 pool ID from pool key components
1271
- */
1272
- private computePoolId;
1273
- /**
1274
- * Read hook state with backward-compatible decoding.
1275
- * Falls back to legacy state() ABI if the latest ABI fails to decode.
1276
- */
1277
1270
  private readHookState;
1278
- private normalizePoolKey;
1279
1271
  }
1280
1272
 
1281
1273
  interface MulticurvePendingFees {
@@ -1372,6 +1364,34 @@ declare class MulticurveFees {
1372
1364
  getPendingFees(beneficiary: Address, tokenAddresses: readonly Address[], options: MulticurveFeesOptions): Promise<readonly MulticurveTokenPendingFees[]>;
1373
1365
  }
1374
1366
 
1367
+ interface RehypeFeeSchedule {
1368
+ startingTime: number;
1369
+ startFee: number;
1370
+ endFee: number;
1371
+ lastFee: number;
1372
+ durationSeconds: number;
1373
+ }
1374
+ interface RehypeHookFees {
1375
+ fees0: bigint;
1376
+ fees1: bigint;
1377
+ beneficiaryFees0: bigint;
1378
+ beneficiaryFees1: bigint;
1379
+ airlockOwnerFees0: bigint;
1380
+ airlockOwnerFees1: bigint;
1381
+ customFee: number;
1382
+ }
1383
+ interface RehypePoolInfo {
1384
+ asset: Address;
1385
+ numeraire: Address;
1386
+ buybackDst: Address;
1387
+ }
1388
+ interface RehypePosition {
1389
+ tickLower: number;
1390
+ tickUpper: number;
1391
+ liquidity: bigint;
1392
+ salt: Hex;
1393
+ }
1394
+
1375
1395
  declare class RehypeDopplerHook {
1376
1396
  private client;
1377
1397
  private walletClient?;
@@ -1389,38 +1409,11 @@ declare class RehypeDopplerHook {
1389
1409
  fees1: bigint;
1390
1410
  transactionHash: Hash;
1391
1411
  }>;
1392
- getFeeDistributionInfo(poolId: Hex): Promise<{
1393
- assetFeesToAssetBuybackWad: bigint;
1394
- assetFeesToNumeraireBuybackWad: bigint;
1395
- assetFeesToBeneficiaryWad: bigint;
1396
- assetFeesToLpWad: bigint;
1397
- numeraireFeesToAssetBuybackWad: bigint;
1398
- numeraireFeesToNumeraireBuybackWad: bigint;
1399
- numeraireFeesToBeneficiaryWad: bigint;
1400
- numeraireFeesToLpWad: bigint;
1401
- }>;
1412
+ getFeeDistributionInfo(poolId: Hex): Promise<RehypeFeeDistributionInfo>;
1402
1413
  getFeeRoutingMode(poolId: Hex): Promise<number>;
1403
- getFeeSchedule(poolId: Hex): Promise<{
1404
- startingTime: number;
1405
- startFee: number;
1406
- endFee: number;
1407
- lastFee: number;
1408
- durationSeconds: number;
1409
- }>;
1410
- getHookFees(poolId: Hex): Promise<{
1411
- fees0: bigint;
1412
- fees1: bigint;
1413
- beneficiaryFees0: bigint;
1414
- beneficiaryFees1: bigint;
1415
- airlockOwnerFees0: bigint;
1416
- airlockOwnerFees1: bigint;
1417
- customFee: number;
1418
- }>;
1419
- getPoolInfo(poolId: Hex): Promise<{
1420
- asset: Address;
1421
- numeraire: Address;
1422
- buybackDst: Address;
1423
- }>;
1414
+ getFeeSchedule(poolId: Hex): Promise<RehypeFeeSchedule>;
1415
+ getHookFees(poolId: Hex): Promise<RehypeHookFees>;
1416
+ getPoolInfo(poolId: Hex): Promise<RehypePoolInfo>;
1424
1417
  }
1425
1418
 
1426
1419
  declare class RehypeDopplerHookMigrator {
@@ -1443,26 +1436,9 @@ declare class RehypeDopplerHookMigrator {
1443
1436
  setFeeDistribution(poolId: Hex, feeDistributionInfo: RehypeFeeDistributionInfo): Promise<Hash>;
1444
1437
  getFeeDistributionInfo(poolId: Hex): Promise<RehypeFeeDistributionInfo>;
1445
1438
  getFeeRoutingMode(poolId: Hex): Promise<number>;
1446
- getHookFees(poolId: Hex): Promise<{
1447
- fees0: bigint;
1448
- fees1: bigint;
1449
- beneficiaryFees0: bigint;
1450
- beneficiaryFees1: bigint;
1451
- airlockOwnerFees0: bigint;
1452
- airlockOwnerFees1: bigint;
1453
- customFee: number;
1454
- }>;
1455
- getPoolInfo(poolId: Hex): Promise<{
1456
- asset: Address;
1457
- numeraire: Address;
1458
- buybackDst: Address;
1459
- }>;
1460
- getPosition(poolId: Hex): Promise<{
1461
- tickLower: number;
1462
- tickUpper: number;
1463
- liquidity: bigint;
1464
- salt: Hex;
1465
- }>;
1439
+ getHookFees(poolId: Hex): Promise<RehypeHookFees>;
1440
+ getPoolInfo(poolId: Hex): Promise<RehypePoolInfo>;
1441
+ getPosition(poolId: Hex): Promise<RehypePosition>;
1466
1442
  }
1467
1443
 
1468
1444
  interface OpeningAuctionPosition {
@@ -3442,8 +3418,8 @@ declare const DEFAULT_OPENING_DOPPLER_EPOCH_LENGTH = 43200;
3442
3418
  declare const DEFAULT_OPENING_DOPPLER_NUM_PD_SLUGS = 5;
3443
3419
  declare const DEFAULT_OPENING_DOPPLER_FEE: 10000;
3444
3420
  declare const DEFAULT_OPENING_DOPPLER_TICK_SPACING = 30;
3445
- declare const DEFAULT_MULTICURVE_LOWER_TICKS: readonly [-202100, -183100, -167000];
3446
- declare const DEFAULT_MULTICURVE_UPPER_TICKS: readonly [-188200, -172100, -156000];
3421
+ declare const DEFAULT_MULTICURVE_LOWER_TICKS: readonly [-887200, -222200, -176200];
3422
+ declare const DEFAULT_MULTICURVE_UPPER_TICKS: readonly [-142200, -116300, -84100];
3447
3423
  declare const DEFAULT_MULTICURVE_NUM_POSITIONS: readonly [11, 11, 11];
3448
3424
  declare const DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES: readonly [bigint, bigint, bigint];
3449
3425
  declare const BASIS_POINTS = 10000;
@@ -3721,6 +3697,24 @@ declare function getLiquidityForAmount0(sqrtRatioAX96: bigint, sqrtRatioBX96: bi
3721
3697
  */
3722
3698
  declare function getLiquidityForAmount1(sqrtRatioAX96: bigint, sqrtRatioBX96: bigint, amount1: bigint): bigint;
3723
3699
 
3700
+ type MulticurveMaxTickLiquidityParams = {
3701
+ readonly tickLower: number;
3702
+ readonly tickUpper: number;
3703
+ readonly tickSpacing: number;
3704
+ readonly numPositions: number;
3705
+ readonly curveSupply: bigint;
3706
+ };
3707
+ /**
3708
+ * Return the highest upper tick at or below params.tickUpper that can be used
3709
+ * by the multicurve initializer without overflowing maxLiquidityPerTick.
3710
+ *
3711
+ * The public builders use this for "max" market-cap ranges and for factory
3712
+ * fallback curves. The candidate tick is stepped down on the tick grid because
3713
+ * the safety check depends on the exact generated position boundaries and on
3714
+ * cumulative liquidity at each boundary tick.
3715
+ */
3716
+ declare function getMaxLiquiditySafeMulticurveTickUpper(params: MulticurveMaxTickLiquidityParams): number;
3717
+
3724
3718
  /**
3725
3719
  * Compute optimal gamma parameter based on price range and time parameters
3726
3720
  * Gamma determines how much the price can move per epoch during the sale.
@@ -3746,6 +3740,27 @@ declare function resolveGasEstimate(request: unknown, fallback: () => Promise<bi
3746
3740
  */
3747
3741
  declare function isToken0Expected(numeraire: Address): boolean;
3748
3742
 
3743
+ /**
3744
+ * Sort beneficiaries by address (ascending) as required by the pool contract,
3745
+ * rejecting duplicate addresses up-front.
3746
+ *
3747
+ * The pool/migrator contracts enforce strictly ascending beneficiary addresses
3748
+ * and revert with `UnorderedBeneficiaries()` when two entries share an address.
3749
+ * Two equal addresses are not strictly ascending, so the transaction reverts and
3750
+ * the integrator only finds out after spending gas, with an opaque error.
3751
+ *
3752
+ * Catching the duplicate here — at the encode layer that every create/migration
3753
+ * path funnels through — surfaces a readable error before the transaction is
3754
+ * broadcast. Address comparison is case-insensitive, so the same address supplied
3755
+ * with different checksum casing is also caught.
3756
+ *
3757
+ * Generic over the beneficiary shape so it can be reused across the differently
3758
+ * typed beneficiary lists (pool initializer, streamable fees, doppler hook).
3759
+ */
3760
+ declare function sortBeneficiaries<T extends {
3761
+ beneficiary: Address;
3762
+ }>(beneficiaries: readonly T[]): T[];
3763
+
3749
3764
  declare function encodeRehypeDopplerHookMigratorCalldata(params: {
3750
3765
  numeraire: Address;
3751
3766
  config: RehypeDopplerHookMigratorConfig;
@@ -10755,4 +10770,4 @@ declare const rehypeDopplerHookMigratorAbi: readonly [{
10755
10770
 
10756
10771
  declare const VERSION = "1.0.0";
10757
10772
 
10758
- export { ADDRESSES, BASIS_POINTS, type BaseAuctionBuilder, type BeneficiaryData, CHAIN_IDS, type ChainAddresses, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateOpeningAuctionParams, type CreateParams, type CreateStaticAuctionParams, DAY_SECONDS, DEAD_ADDRESS, DECAY_MAX_START_FEE, DEFAULT_AIRLOCK_BENEFICIARY_SHARES, DEFAULT_AUCTION_DURATION, DEFAULT_EPOCH_LENGTH, DEFAULT_LOCK_DURATION, DEFAULT_MULTICURVE_LOWER_TICKS, DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES, DEFAULT_MULTICURVE_NUM_POSITIONS, DEFAULT_MULTICURVE_UPPER_TICKS, DEFAULT_OPENING_AUCTION_DURATION, DEFAULT_OPENING_AUCTION_FEE, DEFAULT_OPENING_AUCTION_INCENTIVE_SHARE_BPS, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN0, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN1, DEFAULT_OPENING_AUCTION_MIN_LIQUIDITY, DEFAULT_OPENING_AUCTION_SHARE_TO_AUCTION_BPS, DEFAULT_OPENING_DOPPLER_DURATION, DEFAULT_OPENING_DOPPLER_EPOCH_LENGTH, DEFAULT_OPENING_DOPPLER_FEE, DEFAULT_OPENING_DOPPLER_NUM_PD_SLUGS, DEFAULT_OPENING_DOPPLER_TICK_SPACING, DEFAULT_PD_SLUGS, DEFAULT_V3_END_TICK, DEFAULT_V3_FEE, DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V3_INITIAL_SUPPLY, DEFAULT_V3_INITIAL_VOTING_DELAY, DEFAULT_V3_INITIAL_VOTING_PERIOD, DEFAULT_V3_MAX_SHARE_TO_BE_SOLD, DEFAULT_V3_NUM_POSITIONS, DEFAULT_V3_NUM_TOKENS_TO_SELL, DEFAULT_V3_PRE_MINT, DEFAULT_V3_START_TICK, DEFAULT_V3_VESTING_DURATION, DEFAULT_V3_YEARLY_MINT_RATE, DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V4_INITIAL_VOTING_DELAY, DEFAULT_V4_INITIAL_VOTING_PERIOD, DEFAULT_V4_YEARLY_MINT_RATE, _default$1 as DERC2080Bytecode, _default$2 as DERC20Bytecode, DOPPLER_FLAGS, DOPPLER_MAX_TICK_SPACING, DYNAMIC_FEE_FLAG, Derc20, Derc20V2, _default$5 as DopplerBytecode, _default$4 as DopplerDN404Bytecode, DopplerERC20V1, type DopplerERC20V1TokenConfig, DopplerFactory, type DopplerHookMigrationConfig, DopplerSDK, type DopplerSDKConfig, DynamicAuction, DynamicAuctionBuilder, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicMarketCapRange, Eth, FEE_AMOUNT_MASK, FEE_TIERS, FLAG_MASK, type FeeTier, type GovernanceLaunchpad, type GovernanceOption, type HookInfo, INT24_MAX, INT24_MIN, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, MAX_SQRT_RATIO, MAX_TICK, MIN_SQRT_RATIO, MIN_TICK, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type MigrationEncoder, type ModuleAddressOverrides, MulticurveBuilder, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveDecayFeeSchedule, MulticurveFees, type MulticurveFeesOptions, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurvePendingFees, type MulticurveFeesOptions as MulticurvePendingFeesOptions, MulticurvePool, type MulticurvePoolState, type MulticurveTokenPendingFees, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, OPENING_AUCTION_FLAGS, OPENING_AUCTION_PHASE_ACTIVE, OPENING_AUCTION_PHASE_CLOSED, OPENING_AUCTION_PHASE_NOT_STARTED, OPENING_AUCTION_PHASE_SETTLED, OPENING_AUCTION_STATUS_ACTIVE, OPENING_AUCTION_STATUS_DOPPLER_ACTIVE, OPENING_AUCTION_STATUS_EXITED, OPENING_AUCTION_STATUS_UNINITIALIZED, OpeningAuction, type OpeningAuctionAuctionSettledEvent, type OpeningAuctionBidArgs, type OpeningAuctionBidConstraints, type OpeningAuctionBidLookupArgs, OpeningAuctionBidManager, type OpeningAuctionBidManagerConfig, type OpeningAuctionBidPlacedEvent, type OpeningAuctionBidPositionInfo, type OpeningAuctionBidQuote, type OpeningAuctionBidSimulationResult, type OpeningAuctionBidStatus, type OpeningAuctionBidValidationResult, type OpeningAuctionBidWithdrawnEvent, OpeningAuctionBuilder, _default$3 as OpeningAuctionBytecode, type OpeningAuctionClaimAllIncentivesPreview, type OpeningAuctionClaimAllIncentivesResult, type OpeningAuctionClaimIncentivesSimulationResult, type OpeningAuctionCompleteResult, type OpeningAuctionConfig, type OpeningAuctionCreateResult, type OpeningAuctionDopplerConfig, type OpeningAuctionEstimatedClearingTickUpdatedEvent, type OpeningAuctionIncentiveData, type OpeningAuctionIncentivesClaimedEvent, OpeningAuctionLifecycle, type OpeningAuctionModifyLiquidityParams, type OpeningAuctionModifyLiquiditySimulationResult, type OpeningAuctionModuleAddressOverrides, type OpeningAuctionMoveBidArgs, type OpeningAuctionMoveBidResult, type OpeningAuctionMoveBidSimulationResult, type OpeningAuctionOwnerBidInfo, type OpeningAuctionOwnerBidStatus, OpeningAuctionPhase, type OpeningAuctionPhaseChangedEvent, type OpeningAuctionPosition, OpeningAuctionPositionManager, type OpeningAuctionQuoteFromTokenAmountArgs, type OpeningAuctionQuoteFromTokenAmountResult, type OpeningAuctionSettlementData, type OpeningAuctionState, OpeningAuctionStatus, type OpeningAuctionWatchBidPlacedOptions, type OpeningAuctionWatchBidStatusOptions, type OpeningAuctionWatchBidWithdrawnOptions, type OpeningAuctionWatchEstimatedClearingTickOptions, type OpeningAuctionWatchIncentivesClaimedOptions, type OpeningAuctionWatchPhaseChangeOptions, type OpeningAuctionWatchSettlementOptions, type OpeningAuctionWithdrawFullBidArgs, type OpeningAuctionWithdrawFullBidResult, type OpeningAuctionWithdrawFullBidSimulationResult, type PoolInfo, type ProceedsSplitConfig, Q96, type QuoteResult, Quoter, RehypeDopplerHook, type RehypeDopplerHookConfig, RehypeDopplerHookMigrator, type RehypeDopplerHookMigratorConfig, type RehypeFeeDistributionInfo, RehypeFeeRoutingMode, type ResolvedOpeningAuctionDopplerConfig, SECONDS_PER_DAY, SECONDS_PER_YEAR, SUPPORTED_CHAIN_IDS, type SaleConfig, _default as StateViewBytecode, StaticAuction, StaticAuctionBuilder, type StaticAuctionMarketCapConfig, type StaticPoolConfig, type StreamableFeesConfig, type SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, TopUpDistributor, type TopUpParams, type TopUpSimulationResult, type TopUpTransaction, type UniswapV2MigrationConfig, type UniswapV2SplitMigrationConfig, type UniswapV4MigrationConfig, type UniswapV4SplitMigrationConfig, V3_FEE_TIERS, type V4PoolKey, V4_MAX_FEE, VALID_FEE_TIERS, VERSION, type VestingAllocationConfig, type VestingConfig, type VestingScheduleConfig, WAD, ZERO_ADDRESS, airlockAbi, applyTickOffsets, bundlerAbi, calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, computeOptimalGamma, computePoolId, createAirlockBeneficiary, decayMulticurveInitializerHookAbi, decodeBalanceDelta, derc20Abi, derc20V2Abi, dopplerERC20V1Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, feeClaimsInitializerAbi, formatTickAsPrice, getAddresses, getAirlockBeneficiary, getAirlockOwner, getAmount0ForLiquidity, getAmount1ForLiquidity, getLiquidityForAmount0, getLiquidityForAmount1, getMaxTickRounded, getNearestUsableTick, getSqrtRatioAtTick, getTickAtSqrtRatio, isLaunchpadEnabledChain, isNoOpEnabledChain, isSupportedChainId, isToken0Expected, isToken1, lockableUniswapV3InitializerAbi, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, mineTokenAddress, normalizePoolKey, openingAuctionAbi, openingAuctionInitializerAbi, openingAuctionPositionManagerAbi, poolManagerAbi, priceToSqrtPriceX96, priceToTick, quoterV2Abi, ratioToTick, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, resolveGasEstimate, sqrtPriceX96ToPrice, streamableFeesLockerAbi, streamableFeesLockerV2Abi, tickToMarketCap, tickToPrice, tokenPriceToRatio, topUpDistributorAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
10773
+ export { ADDRESSES, BASIS_POINTS, type BaseAuctionBuilder, type BeneficiaryData, CHAIN_IDS, type ChainAddresses, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateOpeningAuctionParams, type CreateParams, type CreateStaticAuctionParams, DAY_SECONDS, DEAD_ADDRESS, DECAY_MAX_START_FEE, DEFAULT_AIRLOCK_BENEFICIARY_SHARES, DEFAULT_AUCTION_DURATION, DEFAULT_EPOCH_LENGTH, DEFAULT_LOCK_DURATION, DEFAULT_MULTICURVE_LOWER_TICKS, DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES, DEFAULT_MULTICURVE_NUM_POSITIONS, DEFAULT_MULTICURVE_UPPER_TICKS, DEFAULT_OPENING_AUCTION_DURATION, DEFAULT_OPENING_AUCTION_FEE, DEFAULT_OPENING_AUCTION_INCENTIVE_SHARE_BPS, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN0, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN1, DEFAULT_OPENING_AUCTION_MIN_LIQUIDITY, DEFAULT_OPENING_AUCTION_SHARE_TO_AUCTION_BPS, DEFAULT_OPENING_DOPPLER_DURATION, DEFAULT_OPENING_DOPPLER_EPOCH_LENGTH, DEFAULT_OPENING_DOPPLER_FEE, DEFAULT_OPENING_DOPPLER_NUM_PD_SLUGS, DEFAULT_OPENING_DOPPLER_TICK_SPACING, DEFAULT_PD_SLUGS, DEFAULT_V3_END_TICK, DEFAULT_V3_FEE, DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V3_INITIAL_SUPPLY, DEFAULT_V3_INITIAL_VOTING_DELAY, DEFAULT_V3_INITIAL_VOTING_PERIOD, DEFAULT_V3_MAX_SHARE_TO_BE_SOLD, DEFAULT_V3_NUM_POSITIONS, DEFAULT_V3_NUM_TOKENS_TO_SELL, DEFAULT_V3_PRE_MINT, DEFAULT_V3_START_TICK, DEFAULT_V3_VESTING_DURATION, DEFAULT_V3_YEARLY_MINT_RATE, DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V4_INITIAL_VOTING_DELAY, DEFAULT_V4_INITIAL_VOTING_PERIOD, DEFAULT_V4_YEARLY_MINT_RATE, _default$1 as DERC2080Bytecode, _default$2 as DERC20Bytecode, DOPPLER_FLAGS, DOPPLER_MAX_TICK_SPACING, DYNAMIC_FEE_FLAG, Derc20, Derc20V2, _default$5 as DopplerBytecode, _default$4 as DopplerDN404Bytecode, DopplerERC20V1, type DopplerERC20V1TokenConfig, DopplerFactory, type DopplerHookMigrationConfig, DopplerSDK, type DopplerSDKConfig, DynamicAuction, DynamicAuctionBuilder, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicMarketCapRange, Eth, FEE_AMOUNT_MASK, FEE_TIERS, FLAG_MASK, type FeeTier, type GovernanceLaunchpad, type GovernanceOption, type HookInfo, INT24_MAX, INT24_MIN, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, MAX_SQRT_RATIO, MAX_TICK, MIN_SQRT_RATIO, MIN_TICK, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type MigrationEncoder, type ModuleAddressOverrides, MulticurveBuilder, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveDecayFeeSchedule, MulticurveFees, type MulticurveFeesOptions, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurveMaxTickLiquidityParams, type MulticurvePendingFees, type MulticurveFeesOptions as MulticurvePendingFeesOptions, MulticurvePool, type MulticurvePoolState, type MulticurveTokenPendingFees, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, OPENING_AUCTION_FLAGS, OPENING_AUCTION_PHASE_ACTIVE, OPENING_AUCTION_PHASE_CLOSED, OPENING_AUCTION_PHASE_NOT_STARTED, OPENING_AUCTION_PHASE_SETTLED, OPENING_AUCTION_STATUS_ACTIVE, OPENING_AUCTION_STATUS_DOPPLER_ACTIVE, OPENING_AUCTION_STATUS_EXITED, OPENING_AUCTION_STATUS_UNINITIALIZED, OpeningAuction, type OpeningAuctionAuctionSettledEvent, type OpeningAuctionBidArgs, type OpeningAuctionBidConstraints, type OpeningAuctionBidLookupArgs, OpeningAuctionBidManager, type OpeningAuctionBidManagerConfig, type OpeningAuctionBidPlacedEvent, type OpeningAuctionBidPositionInfo, type OpeningAuctionBidQuote, type OpeningAuctionBidSimulationResult, type OpeningAuctionBidStatus, type OpeningAuctionBidValidationResult, type OpeningAuctionBidWithdrawnEvent, OpeningAuctionBuilder, _default$3 as OpeningAuctionBytecode, type OpeningAuctionClaimAllIncentivesPreview, type OpeningAuctionClaimAllIncentivesResult, type OpeningAuctionClaimIncentivesSimulationResult, type OpeningAuctionCompleteResult, type OpeningAuctionConfig, type OpeningAuctionCreateResult, type OpeningAuctionDopplerConfig, type OpeningAuctionEstimatedClearingTickUpdatedEvent, type OpeningAuctionIncentiveData, type OpeningAuctionIncentivesClaimedEvent, OpeningAuctionLifecycle, type OpeningAuctionModifyLiquidityParams, type OpeningAuctionModifyLiquiditySimulationResult, type OpeningAuctionModuleAddressOverrides, type OpeningAuctionMoveBidArgs, type OpeningAuctionMoveBidResult, type OpeningAuctionMoveBidSimulationResult, type OpeningAuctionOwnerBidInfo, type OpeningAuctionOwnerBidStatus, OpeningAuctionPhase, type OpeningAuctionPhaseChangedEvent, type OpeningAuctionPosition, OpeningAuctionPositionManager, type OpeningAuctionQuoteFromTokenAmountArgs, type OpeningAuctionQuoteFromTokenAmountResult, type OpeningAuctionSettlementData, type OpeningAuctionState, OpeningAuctionStatus, type OpeningAuctionWatchBidPlacedOptions, type OpeningAuctionWatchBidStatusOptions, type OpeningAuctionWatchBidWithdrawnOptions, type OpeningAuctionWatchEstimatedClearingTickOptions, type OpeningAuctionWatchIncentivesClaimedOptions, type OpeningAuctionWatchPhaseChangeOptions, type OpeningAuctionWatchSettlementOptions, type OpeningAuctionWithdrawFullBidArgs, type OpeningAuctionWithdrawFullBidResult, type OpeningAuctionWithdrawFullBidSimulationResult, type PoolInfo, type ProceedsSplitConfig, Q96, type QuoteResult, Quoter, RehypeDopplerHook, type RehypeDopplerHookConfig, RehypeDopplerHookMigrator, type RehypeDopplerHookMigratorConfig, type RehypeFeeDistributionInfo, RehypeFeeRoutingMode, type ResolvedOpeningAuctionDopplerConfig, SECONDS_PER_DAY, SECONDS_PER_YEAR, SUPPORTED_CHAIN_IDS, type SaleConfig, _default as StateViewBytecode, StaticAuction, StaticAuctionBuilder, type StaticAuctionMarketCapConfig, type StaticPoolConfig, type StreamableFeesConfig, type SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, TopUpDistributor, type TopUpParams, type TopUpSimulationResult, type TopUpTransaction, type UniswapV2MigrationConfig, type UniswapV2SplitMigrationConfig, type UniswapV4MigrationConfig, type UniswapV4SplitMigrationConfig, V3_FEE_TIERS, type V4PoolKey, V4_MAX_FEE, VALID_FEE_TIERS, VERSION, type VestingAllocationConfig, type VestingConfig, type VestingScheduleConfig, WAD, ZERO_ADDRESS, airlockAbi, applyTickOffsets, bundlerAbi, calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, computeOptimalGamma, computePoolId, createAirlockBeneficiary, decayMulticurveInitializerHookAbi, decodeBalanceDelta, derc20Abi, derc20V2Abi, dopplerERC20V1Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, feeClaimsInitializerAbi, formatTickAsPrice, getAddresses, getAirlockBeneficiary, getAirlockOwner, getAmount0ForLiquidity, getAmount1ForLiquidity, getLiquidityForAmount0, getLiquidityForAmount1, getMaxLiquiditySafeMulticurveTickUpper, getMaxTickRounded, getNearestUsableTick, getSqrtRatioAtTick, getTickAtSqrtRatio, isLaunchpadEnabledChain, isNoOpEnabledChain, isSupportedChainId, isToken0Expected, isToken1, lockableUniswapV3InitializerAbi, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, mineTokenAddress, normalizePoolKey, openingAuctionAbi, openingAuctionInitializerAbi, openingAuctionPositionManagerAbi, poolManagerAbi, priceToSqrtPriceX96, priceToTick, quoterV2Abi, ratioToTick, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, resolveGasEstimate, sortBeneficiaries, sqrtPriceX96ToPrice, streamableFeesLockerAbi, streamableFeesLockerV2Abi, tickToMarketCap, tickToPrice, tokenPriceToRatio, topUpDistributorAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
@@ -7,7 +7,7 @@ declare const CHAIN_IDS: {
7
7
  readonly BASE: 8453;
8
8
  readonly BASE_SEPOLIA: 84532;
9
9
  readonly INK: 57073;
10
- readonly TEMP: 4663;
10
+ readonly ROBINHOOD: 4663;
11
11
  readonly UNICHAIN: 130;
12
12
  readonly UNICHAIN_SEPOLIA: 1301;
13
13
  readonly MONAD_TESTNET: 10143;
@@ -547,7 +547,7 @@ interface MulticurveMarketCapRangeCurve {
547
547
  marketCap: {
548
548
  /** Start market cap in USD (for the first curve, this is the launch price) */
549
549
  start: number;
550
- /** End market cap in USD, or 'max' for MAX_TICK rounded to tick spacing */
550
+ /** End market cap in USD, or 'max' for the highest contract-safe terminal tick */
551
551
  end: number | 'max';
552
552
  };
553
553
  /** Number of liquidity positions in this curve */
@@ -1210,6 +1210,7 @@ declare class StaticAuction {
1210
1210
  * Get total liquidity in the pool
1211
1211
  */
1212
1212
  getTotalLiquidity(): Promise<bigint>;
1213
+ private isRegisteredAirlockAsset;
1213
1214
  }
1214
1215
 
1215
1216
  /**
@@ -1266,16 +1267,7 @@ declare class DynamicAuction {
1266
1267
  * Check if the auction ended early due to max proceeds
1267
1268
  */
1268
1269
  hasEndedEarly(): Promise<boolean>;
1269
- /**
1270
- * Compute V4 pool ID from pool key components
1271
- */
1272
- private computePoolId;
1273
- /**
1274
- * Read hook state with backward-compatible decoding.
1275
- * Falls back to legacy state() ABI if the latest ABI fails to decode.
1276
- */
1277
1270
  private readHookState;
1278
- private normalizePoolKey;
1279
1271
  }
1280
1272
 
1281
1273
  interface MulticurvePendingFees {
@@ -1372,6 +1364,34 @@ declare class MulticurveFees {
1372
1364
  getPendingFees(beneficiary: Address, tokenAddresses: readonly Address[], options: MulticurveFeesOptions): Promise<readonly MulticurveTokenPendingFees[]>;
1373
1365
  }
1374
1366
 
1367
+ interface RehypeFeeSchedule {
1368
+ startingTime: number;
1369
+ startFee: number;
1370
+ endFee: number;
1371
+ lastFee: number;
1372
+ durationSeconds: number;
1373
+ }
1374
+ interface RehypeHookFees {
1375
+ fees0: bigint;
1376
+ fees1: bigint;
1377
+ beneficiaryFees0: bigint;
1378
+ beneficiaryFees1: bigint;
1379
+ airlockOwnerFees0: bigint;
1380
+ airlockOwnerFees1: bigint;
1381
+ customFee: number;
1382
+ }
1383
+ interface RehypePoolInfo {
1384
+ asset: Address;
1385
+ numeraire: Address;
1386
+ buybackDst: Address;
1387
+ }
1388
+ interface RehypePosition {
1389
+ tickLower: number;
1390
+ tickUpper: number;
1391
+ liquidity: bigint;
1392
+ salt: Hex;
1393
+ }
1394
+
1375
1395
  declare class RehypeDopplerHook {
1376
1396
  private client;
1377
1397
  private walletClient?;
@@ -1389,38 +1409,11 @@ declare class RehypeDopplerHook {
1389
1409
  fees1: bigint;
1390
1410
  transactionHash: Hash;
1391
1411
  }>;
1392
- getFeeDistributionInfo(poolId: Hex): Promise<{
1393
- assetFeesToAssetBuybackWad: bigint;
1394
- assetFeesToNumeraireBuybackWad: bigint;
1395
- assetFeesToBeneficiaryWad: bigint;
1396
- assetFeesToLpWad: bigint;
1397
- numeraireFeesToAssetBuybackWad: bigint;
1398
- numeraireFeesToNumeraireBuybackWad: bigint;
1399
- numeraireFeesToBeneficiaryWad: bigint;
1400
- numeraireFeesToLpWad: bigint;
1401
- }>;
1412
+ getFeeDistributionInfo(poolId: Hex): Promise<RehypeFeeDistributionInfo>;
1402
1413
  getFeeRoutingMode(poolId: Hex): Promise<number>;
1403
- getFeeSchedule(poolId: Hex): Promise<{
1404
- startingTime: number;
1405
- startFee: number;
1406
- endFee: number;
1407
- lastFee: number;
1408
- durationSeconds: number;
1409
- }>;
1410
- getHookFees(poolId: Hex): Promise<{
1411
- fees0: bigint;
1412
- fees1: bigint;
1413
- beneficiaryFees0: bigint;
1414
- beneficiaryFees1: bigint;
1415
- airlockOwnerFees0: bigint;
1416
- airlockOwnerFees1: bigint;
1417
- customFee: number;
1418
- }>;
1419
- getPoolInfo(poolId: Hex): Promise<{
1420
- asset: Address;
1421
- numeraire: Address;
1422
- buybackDst: Address;
1423
- }>;
1414
+ getFeeSchedule(poolId: Hex): Promise<RehypeFeeSchedule>;
1415
+ getHookFees(poolId: Hex): Promise<RehypeHookFees>;
1416
+ getPoolInfo(poolId: Hex): Promise<RehypePoolInfo>;
1424
1417
  }
1425
1418
 
1426
1419
  declare class RehypeDopplerHookMigrator {
@@ -1443,26 +1436,9 @@ declare class RehypeDopplerHookMigrator {
1443
1436
  setFeeDistribution(poolId: Hex, feeDistributionInfo: RehypeFeeDistributionInfo): Promise<Hash>;
1444
1437
  getFeeDistributionInfo(poolId: Hex): Promise<RehypeFeeDistributionInfo>;
1445
1438
  getFeeRoutingMode(poolId: Hex): Promise<number>;
1446
- getHookFees(poolId: Hex): Promise<{
1447
- fees0: bigint;
1448
- fees1: bigint;
1449
- beneficiaryFees0: bigint;
1450
- beneficiaryFees1: bigint;
1451
- airlockOwnerFees0: bigint;
1452
- airlockOwnerFees1: bigint;
1453
- customFee: number;
1454
- }>;
1455
- getPoolInfo(poolId: Hex): Promise<{
1456
- asset: Address;
1457
- numeraire: Address;
1458
- buybackDst: Address;
1459
- }>;
1460
- getPosition(poolId: Hex): Promise<{
1461
- tickLower: number;
1462
- tickUpper: number;
1463
- liquidity: bigint;
1464
- salt: Hex;
1465
- }>;
1439
+ getHookFees(poolId: Hex): Promise<RehypeHookFees>;
1440
+ getPoolInfo(poolId: Hex): Promise<RehypePoolInfo>;
1441
+ getPosition(poolId: Hex): Promise<RehypePosition>;
1466
1442
  }
1467
1443
 
1468
1444
  interface OpeningAuctionPosition {
@@ -3442,8 +3418,8 @@ declare const DEFAULT_OPENING_DOPPLER_EPOCH_LENGTH = 43200;
3442
3418
  declare const DEFAULT_OPENING_DOPPLER_NUM_PD_SLUGS = 5;
3443
3419
  declare const DEFAULT_OPENING_DOPPLER_FEE: 10000;
3444
3420
  declare const DEFAULT_OPENING_DOPPLER_TICK_SPACING = 30;
3445
- declare const DEFAULT_MULTICURVE_LOWER_TICKS: readonly [-202100, -183100, -167000];
3446
- declare const DEFAULT_MULTICURVE_UPPER_TICKS: readonly [-188200, -172100, -156000];
3421
+ declare const DEFAULT_MULTICURVE_LOWER_TICKS: readonly [-887200, -222200, -176200];
3422
+ declare const DEFAULT_MULTICURVE_UPPER_TICKS: readonly [-142200, -116300, -84100];
3447
3423
  declare const DEFAULT_MULTICURVE_NUM_POSITIONS: readonly [11, 11, 11];
3448
3424
  declare const DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES: readonly [bigint, bigint, bigint];
3449
3425
  declare const BASIS_POINTS = 10000;
@@ -3721,6 +3697,24 @@ declare function getLiquidityForAmount0(sqrtRatioAX96: bigint, sqrtRatioBX96: bi
3721
3697
  */
3722
3698
  declare function getLiquidityForAmount1(sqrtRatioAX96: bigint, sqrtRatioBX96: bigint, amount1: bigint): bigint;
3723
3699
 
3700
+ type MulticurveMaxTickLiquidityParams = {
3701
+ readonly tickLower: number;
3702
+ readonly tickUpper: number;
3703
+ readonly tickSpacing: number;
3704
+ readonly numPositions: number;
3705
+ readonly curveSupply: bigint;
3706
+ };
3707
+ /**
3708
+ * Return the highest upper tick at or below params.tickUpper that can be used
3709
+ * by the multicurve initializer without overflowing maxLiquidityPerTick.
3710
+ *
3711
+ * The public builders use this for "max" market-cap ranges and for factory
3712
+ * fallback curves. The candidate tick is stepped down on the tick grid because
3713
+ * the safety check depends on the exact generated position boundaries and on
3714
+ * cumulative liquidity at each boundary tick.
3715
+ */
3716
+ declare function getMaxLiquiditySafeMulticurveTickUpper(params: MulticurveMaxTickLiquidityParams): number;
3717
+
3724
3718
  /**
3725
3719
  * Compute optimal gamma parameter based on price range and time parameters
3726
3720
  * Gamma determines how much the price can move per epoch during the sale.
@@ -3746,6 +3740,27 @@ declare function resolveGasEstimate(request: unknown, fallback: () => Promise<bi
3746
3740
  */
3747
3741
  declare function isToken0Expected(numeraire: Address): boolean;
3748
3742
 
3743
+ /**
3744
+ * Sort beneficiaries by address (ascending) as required by the pool contract,
3745
+ * rejecting duplicate addresses up-front.
3746
+ *
3747
+ * The pool/migrator contracts enforce strictly ascending beneficiary addresses
3748
+ * and revert with `UnorderedBeneficiaries()` when two entries share an address.
3749
+ * Two equal addresses are not strictly ascending, so the transaction reverts and
3750
+ * the integrator only finds out after spending gas, with an opaque error.
3751
+ *
3752
+ * Catching the duplicate here — at the encode layer that every create/migration
3753
+ * path funnels through — surfaces a readable error before the transaction is
3754
+ * broadcast. Address comparison is case-insensitive, so the same address supplied
3755
+ * with different checksum casing is also caught.
3756
+ *
3757
+ * Generic over the beneficiary shape so it can be reused across the differently
3758
+ * typed beneficiary lists (pool initializer, streamable fees, doppler hook).
3759
+ */
3760
+ declare function sortBeneficiaries<T extends {
3761
+ beneficiary: Address;
3762
+ }>(beneficiaries: readonly T[]): T[];
3763
+
3749
3764
  declare function encodeRehypeDopplerHookMigratorCalldata(params: {
3750
3765
  numeraire: Address;
3751
3766
  config: RehypeDopplerHookMigratorConfig;
@@ -10755,4 +10770,4 @@ declare const rehypeDopplerHookMigratorAbi: readonly [{
10755
10770
 
10756
10771
  declare const VERSION = "1.0.0";
10757
10772
 
10758
- export { ADDRESSES, BASIS_POINTS, type BaseAuctionBuilder, type BeneficiaryData, CHAIN_IDS, type ChainAddresses, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateOpeningAuctionParams, type CreateParams, type CreateStaticAuctionParams, DAY_SECONDS, DEAD_ADDRESS, DECAY_MAX_START_FEE, DEFAULT_AIRLOCK_BENEFICIARY_SHARES, DEFAULT_AUCTION_DURATION, DEFAULT_EPOCH_LENGTH, DEFAULT_LOCK_DURATION, DEFAULT_MULTICURVE_LOWER_TICKS, DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES, DEFAULT_MULTICURVE_NUM_POSITIONS, DEFAULT_MULTICURVE_UPPER_TICKS, DEFAULT_OPENING_AUCTION_DURATION, DEFAULT_OPENING_AUCTION_FEE, DEFAULT_OPENING_AUCTION_INCENTIVE_SHARE_BPS, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN0, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN1, DEFAULT_OPENING_AUCTION_MIN_LIQUIDITY, DEFAULT_OPENING_AUCTION_SHARE_TO_AUCTION_BPS, DEFAULT_OPENING_DOPPLER_DURATION, DEFAULT_OPENING_DOPPLER_EPOCH_LENGTH, DEFAULT_OPENING_DOPPLER_FEE, DEFAULT_OPENING_DOPPLER_NUM_PD_SLUGS, DEFAULT_OPENING_DOPPLER_TICK_SPACING, DEFAULT_PD_SLUGS, DEFAULT_V3_END_TICK, DEFAULT_V3_FEE, DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V3_INITIAL_SUPPLY, DEFAULT_V3_INITIAL_VOTING_DELAY, DEFAULT_V3_INITIAL_VOTING_PERIOD, DEFAULT_V3_MAX_SHARE_TO_BE_SOLD, DEFAULT_V3_NUM_POSITIONS, DEFAULT_V3_NUM_TOKENS_TO_SELL, DEFAULT_V3_PRE_MINT, DEFAULT_V3_START_TICK, DEFAULT_V3_VESTING_DURATION, DEFAULT_V3_YEARLY_MINT_RATE, DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V4_INITIAL_VOTING_DELAY, DEFAULT_V4_INITIAL_VOTING_PERIOD, DEFAULT_V4_YEARLY_MINT_RATE, _default$1 as DERC2080Bytecode, _default$2 as DERC20Bytecode, DOPPLER_FLAGS, DOPPLER_MAX_TICK_SPACING, DYNAMIC_FEE_FLAG, Derc20, Derc20V2, _default$5 as DopplerBytecode, _default$4 as DopplerDN404Bytecode, DopplerERC20V1, type DopplerERC20V1TokenConfig, DopplerFactory, type DopplerHookMigrationConfig, DopplerSDK, type DopplerSDKConfig, DynamicAuction, DynamicAuctionBuilder, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicMarketCapRange, Eth, FEE_AMOUNT_MASK, FEE_TIERS, FLAG_MASK, type FeeTier, type GovernanceLaunchpad, type GovernanceOption, type HookInfo, INT24_MAX, INT24_MIN, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, MAX_SQRT_RATIO, MAX_TICK, MIN_SQRT_RATIO, MIN_TICK, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type MigrationEncoder, type ModuleAddressOverrides, MulticurveBuilder, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveDecayFeeSchedule, MulticurveFees, type MulticurveFeesOptions, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurvePendingFees, type MulticurveFeesOptions as MulticurvePendingFeesOptions, MulticurvePool, type MulticurvePoolState, type MulticurveTokenPendingFees, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, OPENING_AUCTION_FLAGS, OPENING_AUCTION_PHASE_ACTIVE, OPENING_AUCTION_PHASE_CLOSED, OPENING_AUCTION_PHASE_NOT_STARTED, OPENING_AUCTION_PHASE_SETTLED, OPENING_AUCTION_STATUS_ACTIVE, OPENING_AUCTION_STATUS_DOPPLER_ACTIVE, OPENING_AUCTION_STATUS_EXITED, OPENING_AUCTION_STATUS_UNINITIALIZED, OpeningAuction, type OpeningAuctionAuctionSettledEvent, type OpeningAuctionBidArgs, type OpeningAuctionBidConstraints, type OpeningAuctionBidLookupArgs, OpeningAuctionBidManager, type OpeningAuctionBidManagerConfig, type OpeningAuctionBidPlacedEvent, type OpeningAuctionBidPositionInfo, type OpeningAuctionBidQuote, type OpeningAuctionBidSimulationResult, type OpeningAuctionBidStatus, type OpeningAuctionBidValidationResult, type OpeningAuctionBidWithdrawnEvent, OpeningAuctionBuilder, _default$3 as OpeningAuctionBytecode, type OpeningAuctionClaimAllIncentivesPreview, type OpeningAuctionClaimAllIncentivesResult, type OpeningAuctionClaimIncentivesSimulationResult, type OpeningAuctionCompleteResult, type OpeningAuctionConfig, type OpeningAuctionCreateResult, type OpeningAuctionDopplerConfig, type OpeningAuctionEstimatedClearingTickUpdatedEvent, type OpeningAuctionIncentiveData, type OpeningAuctionIncentivesClaimedEvent, OpeningAuctionLifecycle, type OpeningAuctionModifyLiquidityParams, type OpeningAuctionModifyLiquiditySimulationResult, type OpeningAuctionModuleAddressOverrides, type OpeningAuctionMoveBidArgs, type OpeningAuctionMoveBidResult, type OpeningAuctionMoveBidSimulationResult, type OpeningAuctionOwnerBidInfo, type OpeningAuctionOwnerBidStatus, OpeningAuctionPhase, type OpeningAuctionPhaseChangedEvent, type OpeningAuctionPosition, OpeningAuctionPositionManager, type OpeningAuctionQuoteFromTokenAmountArgs, type OpeningAuctionQuoteFromTokenAmountResult, type OpeningAuctionSettlementData, type OpeningAuctionState, OpeningAuctionStatus, type OpeningAuctionWatchBidPlacedOptions, type OpeningAuctionWatchBidStatusOptions, type OpeningAuctionWatchBidWithdrawnOptions, type OpeningAuctionWatchEstimatedClearingTickOptions, type OpeningAuctionWatchIncentivesClaimedOptions, type OpeningAuctionWatchPhaseChangeOptions, type OpeningAuctionWatchSettlementOptions, type OpeningAuctionWithdrawFullBidArgs, type OpeningAuctionWithdrawFullBidResult, type OpeningAuctionWithdrawFullBidSimulationResult, type PoolInfo, type ProceedsSplitConfig, Q96, type QuoteResult, Quoter, RehypeDopplerHook, type RehypeDopplerHookConfig, RehypeDopplerHookMigrator, type RehypeDopplerHookMigratorConfig, type RehypeFeeDistributionInfo, RehypeFeeRoutingMode, type ResolvedOpeningAuctionDopplerConfig, SECONDS_PER_DAY, SECONDS_PER_YEAR, SUPPORTED_CHAIN_IDS, type SaleConfig, _default as StateViewBytecode, StaticAuction, StaticAuctionBuilder, type StaticAuctionMarketCapConfig, type StaticPoolConfig, type StreamableFeesConfig, type SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, TopUpDistributor, type TopUpParams, type TopUpSimulationResult, type TopUpTransaction, type UniswapV2MigrationConfig, type UniswapV2SplitMigrationConfig, type UniswapV4MigrationConfig, type UniswapV4SplitMigrationConfig, V3_FEE_TIERS, type V4PoolKey, V4_MAX_FEE, VALID_FEE_TIERS, VERSION, type VestingAllocationConfig, type VestingConfig, type VestingScheduleConfig, WAD, ZERO_ADDRESS, airlockAbi, applyTickOffsets, bundlerAbi, calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, computeOptimalGamma, computePoolId, createAirlockBeneficiary, decayMulticurveInitializerHookAbi, decodeBalanceDelta, derc20Abi, derc20V2Abi, dopplerERC20V1Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, feeClaimsInitializerAbi, formatTickAsPrice, getAddresses, getAirlockBeneficiary, getAirlockOwner, getAmount0ForLiquidity, getAmount1ForLiquidity, getLiquidityForAmount0, getLiquidityForAmount1, getMaxTickRounded, getNearestUsableTick, getSqrtRatioAtTick, getTickAtSqrtRatio, isLaunchpadEnabledChain, isNoOpEnabledChain, isSupportedChainId, isToken0Expected, isToken1, lockableUniswapV3InitializerAbi, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, mineTokenAddress, normalizePoolKey, openingAuctionAbi, openingAuctionInitializerAbi, openingAuctionPositionManagerAbi, poolManagerAbi, priceToSqrtPriceX96, priceToTick, quoterV2Abi, ratioToTick, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, resolveGasEstimate, sqrtPriceX96ToPrice, streamableFeesLockerAbi, streamableFeesLockerV2Abi, tickToMarketCap, tickToPrice, tokenPriceToRatio, topUpDistributorAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
10773
+ export { ADDRESSES, BASIS_POINTS, type BaseAuctionBuilder, type BeneficiaryData, CHAIN_IDS, type ChainAddresses, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateOpeningAuctionParams, type CreateParams, type CreateStaticAuctionParams, DAY_SECONDS, DEAD_ADDRESS, DECAY_MAX_START_FEE, DEFAULT_AIRLOCK_BENEFICIARY_SHARES, DEFAULT_AUCTION_DURATION, DEFAULT_EPOCH_LENGTH, DEFAULT_LOCK_DURATION, DEFAULT_MULTICURVE_LOWER_TICKS, DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES, DEFAULT_MULTICURVE_NUM_POSITIONS, DEFAULT_MULTICURVE_UPPER_TICKS, DEFAULT_OPENING_AUCTION_DURATION, DEFAULT_OPENING_AUCTION_FEE, DEFAULT_OPENING_AUCTION_INCENTIVE_SHARE_BPS, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN0, DEFAULT_OPENING_AUCTION_MIN_ACCEPTABLE_TICK_TOKEN1, DEFAULT_OPENING_AUCTION_MIN_LIQUIDITY, DEFAULT_OPENING_AUCTION_SHARE_TO_AUCTION_BPS, DEFAULT_OPENING_DOPPLER_DURATION, DEFAULT_OPENING_DOPPLER_EPOCH_LENGTH, DEFAULT_OPENING_DOPPLER_FEE, DEFAULT_OPENING_DOPPLER_NUM_PD_SLUGS, DEFAULT_OPENING_DOPPLER_TICK_SPACING, DEFAULT_PD_SLUGS, DEFAULT_V3_END_TICK, DEFAULT_V3_FEE, DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V3_INITIAL_SUPPLY, DEFAULT_V3_INITIAL_VOTING_DELAY, DEFAULT_V3_INITIAL_VOTING_PERIOD, DEFAULT_V3_MAX_SHARE_TO_BE_SOLD, DEFAULT_V3_NUM_POSITIONS, DEFAULT_V3_NUM_TOKENS_TO_SELL, DEFAULT_V3_PRE_MINT, DEFAULT_V3_START_TICK, DEFAULT_V3_VESTING_DURATION, DEFAULT_V3_YEARLY_MINT_RATE, DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V4_INITIAL_VOTING_DELAY, DEFAULT_V4_INITIAL_VOTING_PERIOD, DEFAULT_V4_YEARLY_MINT_RATE, _default$1 as DERC2080Bytecode, _default$2 as DERC20Bytecode, DOPPLER_FLAGS, DOPPLER_MAX_TICK_SPACING, DYNAMIC_FEE_FLAG, Derc20, Derc20V2, _default$5 as DopplerBytecode, _default$4 as DopplerDN404Bytecode, DopplerERC20V1, type DopplerERC20V1TokenConfig, DopplerFactory, type DopplerHookMigrationConfig, DopplerSDK, type DopplerSDKConfig, DynamicAuction, DynamicAuctionBuilder, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicMarketCapRange, Eth, FEE_AMOUNT_MASK, FEE_TIERS, FLAG_MASK, type FeeTier, type GovernanceLaunchpad, type GovernanceOption, type HookInfo, INT24_MAX, INT24_MIN, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, MAX_SQRT_RATIO, MAX_TICK, MIN_SQRT_RATIO, MIN_TICK, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type MigrationEncoder, type ModuleAddressOverrides, MulticurveBuilder, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveDecayFeeSchedule, MulticurveFees, type MulticurveFeesOptions, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurveMaxTickLiquidityParams, type MulticurvePendingFees, type MulticurveFeesOptions as MulticurvePendingFeesOptions, MulticurvePool, type MulticurvePoolState, type MulticurveTokenPendingFees, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, OPENING_AUCTION_FLAGS, OPENING_AUCTION_PHASE_ACTIVE, OPENING_AUCTION_PHASE_CLOSED, OPENING_AUCTION_PHASE_NOT_STARTED, OPENING_AUCTION_PHASE_SETTLED, OPENING_AUCTION_STATUS_ACTIVE, OPENING_AUCTION_STATUS_DOPPLER_ACTIVE, OPENING_AUCTION_STATUS_EXITED, OPENING_AUCTION_STATUS_UNINITIALIZED, OpeningAuction, type OpeningAuctionAuctionSettledEvent, type OpeningAuctionBidArgs, type OpeningAuctionBidConstraints, type OpeningAuctionBidLookupArgs, OpeningAuctionBidManager, type OpeningAuctionBidManagerConfig, type OpeningAuctionBidPlacedEvent, type OpeningAuctionBidPositionInfo, type OpeningAuctionBidQuote, type OpeningAuctionBidSimulationResult, type OpeningAuctionBidStatus, type OpeningAuctionBidValidationResult, type OpeningAuctionBidWithdrawnEvent, OpeningAuctionBuilder, _default$3 as OpeningAuctionBytecode, type OpeningAuctionClaimAllIncentivesPreview, type OpeningAuctionClaimAllIncentivesResult, type OpeningAuctionClaimIncentivesSimulationResult, type OpeningAuctionCompleteResult, type OpeningAuctionConfig, type OpeningAuctionCreateResult, type OpeningAuctionDopplerConfig, type OpeningAuctionEstimatedClearingTickUpdatedEvent, type OpeningAuctionIncentiveData, type OpeningAuctionIncentivesClaimedEvent, OpeningAuctionLifecycle, type OpeningAuctionModifyLiquidityParams, type OpeningAuctionModifyLiquiditySimulationResult, type OpeningAuctionModuleAddressOverrides, type OpeningAuctionMoveBidArgs, type OpeningAuctionMoveBidResult, type OpeningAuctionMoveBidSimulationResult, type OpeningAuctionOwnerBidInfo, type OpeningAuctionOwnerBidStatus, OpeningAuctionPhase, type OpeningAuctionPhaseChangedEvent, type OpeningAuctionPosition, OpeningAuctionPositionManager, type OpeningAuctionQuoteFromTokenAmountArgs, type OpeningAuctionQuoteFromTokenAmountResult, type OpeningAuctionSettlementData, type OpeningAuctionState, OpeningAuctionStatus, type OpeningAuctionWatchBidPlacedOptions, type OpeningAuctionWatchBidStatusOptions, type OpeningAuctionWatchBidWithdrawnOptions, type OpeningAuctionWatchEstimatedClearingTickOptions, type OpeningAuctionWatchIncentivesClaimedOptions, type OpeningAuctionWatchPhaseChangeOptions, type OpeningAuctionWatchSettlementOptions, type OpeningAuctionWithdrawFullBidArgs, type OpeningAuctionWithdrawFullBidResult, type OpeningAuctionWithdrawFullBidSimulationResult, type PoolInfo, type ProceedsSplitConfig, Q96, type QuoteResult, Quoter, RehypeDopplerHook, type RehypeDopplerHookConfig, RehypeDopplerHookMigrator, type RehypeDopplerHookMigratorConfig, type RehypeFeeDistributionInfo, RehypeFeeRoutingMode, type ResolvedOpeningAuctionDopplerConfig, SECONDS_PER_DAY, SECONDS_PER_YEAR, SUPPORTED_CHAIN_IDS, type SaleConfig, _default as StateViewBytecode, StaticAuction, StaticAuctionBuilder, type StaticAuctionMarketCapConfig, type StaticPoolConfig, type StreamableFeesConfig, type SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, TopUpDistributor, type TopUpParams, type TopUpSimulationResult, type TopUpTransaction, type UniswapV2MigrationConfig, type UniswapV2SplitMigrationConfig, type UniswapV4MigrationConfig, type UniswapV4SplitMigrationConfig, V3_FEE_TIERS, type V4PoolKey, V4_MAX_FEE, VALID_FEE_TIERS, VERSION, type VestingAllocationConfig, type VestingConfig, type VestingScheduleConfig, WAD, ZERO_ADDRESS, airlockAbi, applyTickOffsets, bundlerAbi, calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, computeOptimalGamma, computePoolId, createAirlockBeneficiary, decayMulticurveInitializerHookAbi, decodeBalanceDelta, derc20Abi, derc20V2Abi, dopplerERC20V1Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, feeClaimsInitializerAbi, formatTickAsPrice, getAddresses, getAirlockBeneficiary, getAirlockOwner, getAmount0ForLiquidity, getAmount1ForLiquidity, getLiquidityForAmount0, getLiquidityForAmount1, getMaxLiquiditySafeMulticurveTickUpper, getMaxTickRounded, getNearestUsableTick, getSqrtRatioAtTick, getTickAtSqrtRatio, isLaunchpadEnabledChain, isNoOpEnabledChain, isSupportedChainId, isToken0Expected, isToken1, lockableUniswapV3InitializerAbi, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, mineTokenAddress, normalizePoolKey, openingAuctionAbi, openingAuctionInitializerAbi, openingAuctionPositionManagerAbi, poolManagerAbi, priceToSqrtPriceX96, priceToTick, quoterV2Abi, ratioToTick, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, resolveGasEstimate, sortBeneficiaries, sqrtPriceX96ToPrice, streamableFeesLockerAbi, streamableFeesLockerV2Abi, tickToMarketCap, tickToPrice, tokenPriceToRatio, topUpDistributorAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };