@whetstone-research/doppler-sdk 1.0.6 → 1.0.8
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/README.md +14 -8
- package/dist/evm/index.cjs +144 -177
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +42 -61
- package/dist/evm/index.d.ts +42 -61
- package/dist/evm/index.js +144 -177
- package/dist/evm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/evm/index.d.cts
CHANGED
|
@@ -139,14 +139,24 @@ interface VestingScheduleConfig {
|
|
|
139
139
|
duration: number;
|
|
140
140
|
cliffDuration: number;
|
|
141
141
|
}
|
|
142
|
-
interface
|
|
142
|
+
interface VestingAllocationConfig {
|
|
143
|
+
recipient: Address;
|
|
144
|
+
amount: bigint;
|
|
145
|
+
schedule: VestingScheduleConfig;
|
|
146
|
+
}
|
|
147
|
+
type VestingConfig = {
|
|
143
148
|
duration: number;
|
|
144
149
|
cliffDuration: number;
|
|
145
150
|
recipients?: Address[];
|
|
146
151
|
amounts?: bigint[];
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
allocations?: never;
|
|
153
|
+
} | {
|
|
154
|
+
duration?: never;
|
|
155
|
+
cliffDuration?: never;
|
|
156
|
+
recipients?: never;
|
|
157
|
+
amounts?: never;
|
|
158
|
+
allocations: VestingAllocationConfig[];
|
|
159
|
+
};
|
|
150
160
|
declare const NO_OP_ENABLED_CHAIN_IDS: readonly [1, 11155111, 8453, 84532, 130, 1301, 10143, 143];
|
|
151
161
|
type NoOpEnabledChainId = (typeof NO_OP_ENABLED_CHAIN_IDS)[number];
|
|
152
162
|
/**
|
|
@@ -773,7 +783,6 @@ declare class DopplerFactory<C extends SupportedChainId = SupportedChainId> {
|
|
|
773
783
|
private hasCustomV2Schedules;
|
|
774
784
|
private usesDerc20V2Vesting;
|
|
775
785
|
private resolveVestingAllocations;
|
|
776
|
-
private normalizeV2ScheduleId;
|
|
777
786
|
private validateUint64LikeNumber;
|
|
778
787
|
private resolveV2VestingSchedules;
|
|
779
788
|
private resolveStandardTokenFactoryMode;
|
|
@@ -2364,6 +2373,28 @@ declare class Eth {
|
|
|
2364
2373
|
getBalanceOf(account: Address): Promise<bigint>;
|
|
2365
2374
|
}
|
|
2366
2375
|
|
|
2376
|
+
type BuilderVestingScheduleInput = {
|
|
2377
|
+
duration?: bigint;
|
|
2378
|
+
cliffDuration?: number;
|
|
2379
|
+
};
|
|
2380
|
+
type BuilderVestingAllocationInput = {
|
|
2381
|
+
recipient: Address;
|
|
2382
|
+
amount: bigint;
|
|
2383
|
+
schedule: BuilderVestingScheduleInput;
|
|
2384
|
+
};
|
|
2385
|
+
type BuilderVestingInput = {
|
|
2386
|
+
duration?: bigint;
|
|
2387
|
+
cliffDuration?: number;
|
|
2388
|
+
recipients?: Address[];
|
|
2389
|
+
amounts?: bigint[];
|
|
2390
|
+
allocations?: never;
|
|
2391
|
+
} | {
|
|
2392
|
+
duration?: never;
|
|
2393
|
+
cliffDuration?: never;
|
|
2394
|
+
recipients?: never;
|
|
2395
|
+
amounts?: never;
|
|
2396
|
+
allocations: BuilderVestingAllocationInput[];
|
|
2397
|
+
};
|
|
2367
2398
|
/**
|
|
2368
2399
|
* Common interface shared by all auction builders.
|
|
2369
2400
|
*
|
|
@@ -2407,17 +2438,7 @@ interface BaseAuctionBuilder<C extends SupportedChainId> {
|
|
|
2407
2438
|
* Configure token vesting for team/investor allocations.
|
|
2408
2439
|
* Pass undefined or omit to disable vesting.
|
|
2409
2440
|
*/
|
|
2410
|
-
withVesting(params?:
|
|
2411
|
-
duration?: bigint;
|
|
2412
|
-
cliffDuration?: number;
|
|
2413
|
-
recipients?: Address[];
|
|
2414
|
-
amounts?: bigint[];
|
|
2415
|
-
schedules?: {
|
|
2416
|
-
duration?: bigint;
|
|
2417
|
-
cliffDuration?: number;
|
|
2418
|
-
}[];
|
|
2419
|
-
scheduleIds?: Array<number | bigint>;
|
|
2420
|
-
}): this;
|
|
2441
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2421
2442
|
/**
|
|
2422
2443
|
* Configure governance for the token.
|
|
2423
2444
|
* @param params - Use { type: 'default' }, { type: 'noOp' }, { type: 'launchpad', multisig: '0x...' }, or { type: 'custom', ... }
|
|
@@ -2558,17 +2579,7 @@ declare class StaticAuctionBuilder<C extends SupportedChainId> implements BaseAu
|
|
|
2558
2579
|
beneficiary: Address;
|
|
2559
2580
|
shares: bigint;
|
|
2560
2581
|
}[]): this;
|
|
2561
|
-
withVesting(params?:
|
|
2562
|
-
duration?: bigint;
|
|
2563
|
-
cliffDuration?: number;
|
|
2564
|
-
recipients?: Address[];
|
|
2565
|
-
amounts?: bigint[];
|
|
2566
|
-
schedules?: {
|
|
2567
|
-
duration?: bigint;
|
|
2568
|
-
cliffDuration?: number;
|
|
2569
|
-
}[];
|
|
2570
|
-
scheduleIds?: Array<number | bigint>;
|
|
2571
|
-
}): this;
|
|
2582
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2572
2583
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2573
2584
|
withMigration(migration: MigrationConfig): this;
|
|
2574
2585
|
withUserAddress(address: Address): this;
|
|
@@ -2686,17 +2697,7 @@ declare class DynamicAuctionBuilder<C extends SupportedChainId> implements BaseA
|
|
|
2686
2697
|
* ```
|
|
2687
2698
|
*/
|
|
2688
2699
|
withMarketCapRange(params: DynamicAuctionMarketCapConfig): this;
|
|
2689
|
-
withVesting(params?:
|
|
2690
|
-
duration?: bigint;
|
|
2691
|
-
cliffDuration?: number;
|
|
2692
|
-
recipients?: Address[];
|
|
2693
|
-
amounts?: bigint[];
|
|
2694
|
-
schedules?: {
|
|
2695
|
-
duration?: bigint;
|
|
2696
|
-
cliffDuration?: number;
|
|
2697
|
-
}[];
|
|
2698
|
-
scheduleIds?: Array<number | bigint>;
|
|
2699
|
-
}): this;
|
|
2700
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2700
2701
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2701
2702
|
withMigration(migration: MigrationConfig): this;
|
|
2702
2703
|
withUserAddress(address: Address): this;
|
|
@@ -2868,17 +2869,7 @@ declare class MulticurveBuilder<C extends SupportedChainId> implements BaseAucti
|
|
|
2868
2869
|
private resolveRehypeFeeDistributionInfo;
|
|
2869
2870
|
private validateRehypeDistribution;
|
|
2870
2871
|
private resolveRehypeFeeSchedule;
|
|
2871
|
-
withVesting(params?:
|
|
2872
|
-
duration?: bigint;
|
|
2873
|
-
cliffDuration?: number;
|
|
2874
|
-
recipients?: Address[];
|
|
2875
|
-
amounts?: bigint[];
|
|
2876
|
-
schedules?: {
|
|
2877
|
-
duration?: bigint;
|
|
2878
|
-
cliffDuration?: number;
|
|
2879
|
-
}[];
|
|
2880
|
-
scheduleIds?: Array<number | bigint>;
|
|
2881
|
-
}): this;
|
|
2872
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2882
2873
|
private parseStartTimeSeconds;
|
|
2883
2874
|
private assertCanSetInitializer;
|
|
2884
2875
|
/**
|
|
@@ -3011,17 +3002,7 @@ declare class OpeningAuctionBuilder<C extends SupportedChainId> implements BaseA
|
|
|
3011
3002
|
}): this;
|
|
3012
3003
|
openingAuctionConfig(params: OpeningAuctionConfig): this;
|
|
3013
3004
|
dopplerConfig(params: OpeningAuctionDopplerConfig): this;
|
|
3014
|
-
withVesting(params?:
|
|
3015
|
-
duration?: bigint;
|
|
3016
|
-
cliffDuration?: number;
|
|
3017
|
-
recipients?: Address[];
|
|
3018
|
-
amounts?: bigint[];
|
|
3019
|
-
schedules?: {
|
|
3020
|
-
duration?: bigint;
|
|
3021
|
-
cliffDuration?: number;
|
|
3022
|
-
}[];
|
|
3023
|
-
scheduleIds?: Array<number | bigint>;
|
|
3024
|
-
}): this;
|
|
3005
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
3025
3006
|
withGovernance(params: GovernanceOption<C>): this;
|
|
3026
3007
|
withMigration(migration: MigrationConfig): this;
|
|
3027
3008
|
withUserAddress(address: Address): this;
|
|
@@ -9196,4 +9177,4 @@ declare const rehypeDopplerHookMigratorAbi: readonly [{
|
|
|
9196
9177
|
|
|
9197
9178
|
declare const VERSION = "1.0.0";
|
|
9198
9179
|
|
|
9199
|
-
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, 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, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, MulticurvePool, type MulticurvePoolState, 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, 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 SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, V3_FEE_TIERS, type V4PoolKey, V4_MAX_FEE, VALID_FEE_TIERS, VERSION, type VestingConfig, WAD, ZERO_ADDRESS, airlockAbi, applyTickOffsets, bundlerAbi, calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, computeOptimalGamma, computePoolId, createAirlockBeneficiary, decayMulticurveInitializerHookAbi, decodeBalanceDelta, derc20Abi, derc20V2Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, 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, tickToMarketCap, tickToPrice, tokenPriceToRatio, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
|
|
9180
|
+
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, 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, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, MulticurvePool, type MulticurvePoolState, 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, 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 SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, 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, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, 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, tickToMarketCap, tickToPrice, tokenPriceToRatio, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
|
package/dist/evm/index.d.ts
CHANGED
|
@@ -139,14 +139,24 @@ interface VestingScheduleConfig {
|
|
|
139
139
|
duration: number;
|
|
140
140
|
cliffDuration: number;
|
|
141
141
|
}
|
|
142
|
-
interface
|
|
142
|
+
interface VestingAllocationConfig {
|
|
143
|
+
recipient: Address;
|
|
144
|
+
amount: bigint;
|
|
145
|
+
schedule: VestingScheduleConfig;
|
|
146
|
+
}
|
|
147
|
+
type VestingConfig = {
|
|
143
148
|
duration: number;
|
|
144
149
|
cliffDuration: number;
|
|
145
150
|
recipients?: Address[];
|
|
146
151
|
amounts?: bigint[];
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
allocations?: never;
|
|
153
|
+
} | {
|
|
154
|
+
duration?: never;
|
|
155
|
+
cliffDuration?: never;
|
|
156
|
+
recipients?: never;
|
|
157
|
+
amounts?: never;
|
|
158
|
+
allocations: VestingAllocationConfig[];
|
|
159
|
+
};
|
|
150
160
|
declare const NO_OP_ENABLED_CHAIN_IDS: readonly [1, 11155111, 8453, 84532, 130, 1301, 10143, 143];
|
|
151
161
|
type NoOpEnabledChainId = (typeof NO_OP_ENABLED_CHAIN_IDS)[number];
|
|
152
162
|
/**
|
|
@@ -773,7 +783,6 @@ declare class DopplerFactory<C extends SupportedChainId = SupportedChainId> {
|
|
|
773
783
|
private hasCustomV2Schedules;
|
|
774
784
|
private usesDerc20V2Vesting;
|
|
775
785
|
private resolveVestingAllocations;
|
|
776
|
-
private normalizeV2ScheduleId;
|
|
777
786
|
private validateUint64LikeNumber;
|
|
778
787
|
private resolveV2VestingSchedules;
|
|
779
788
|
private resolveStandardTokenFactoryMode;
|
|
@@ -2364,6 +2373,28 @@ declare class Eth {
|
|
|
2364
2373
|
getBalanceOf(account: Address): Promise<bigint>;
|
|
2365
2374
|
}
|
|
2366
2375
|
|
|
2376
|
+
type BuilderVestingScheduleInput = {
|
|
2377
|
+
duration?: bigint;
|
|
2378
|
+
cliffDuration?: number;
|
|
2379
|
+
};
|
|
2380
|
+
type BuilderVestingAllocationInput = {
|
|
2381
|
+
recipient: Address;
|
|
2382
|
+
amount: bigint;
|
|
2383
|
+
schedule: BuilderVestingScheduleInput;
|
|
2384
|
+
};
|
|
2385
|
+
type BuilderVestingInput = {
|
|
2386
|
+
duration?: bigint;
|
|
2387
|
+
cliffDuration?: number;
|
|
2388
|
+
recipients?: Address[];
|
|
2389
|
+
amounts?: bigint[];
|
|
2390
|
+
allocations?: never;
|
|
2391
|
+
} | {
|
|
2392
|
+
duration?: never;
|
|
2393
|
+
cliffDuration?: never;
|
|
2394
|
+
recipients?: never;
|
|
2395
|
+
amounts?: never;
|
|
2396
|
+
allocations: BuilderVestingAllocationInput[];
|
|
2397
|
+
};
|
|
2367
2398
|
/**
|
|
2368
2399
|
* Common interface shared by all auction builders.
|
|
2369
2400
|
*
|
|
@@ -2407,17 +2438,7 @@ interface BaseAuctionBuilder<C extends SupportedChainId> {
|
|
|
2407
2438
|
* Configure token vesting for team/investor allocations.
|
|
2408
2439
|
* Pass undefined or omit to disable vesting.
|
|
2409
2440
|
*/
|
|
2410
|
-
withVesting(params?:
|
|
2411
|
-
duration?: bigint;
|
|
2412
|
-
cliffDuration?: number;
|
|
2413
|
-
recipients?: Address[];
|
|
2414
|
-
amounts?: bigint[];
|
|
2415
|
-
schedules?: {
|
|
2416
|
-
duration?: bigint;
|
|
2417
|
-
cliffDuration?: number;
|
|
2418
|
-
}[];
|
|
2419
|
-
scheduleIds?: Array<number | bigint>;
|
|
2420
|
-
}): this;
|
|
2441
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2421
2442
|
/**
|
|
2422
2443
|
* Configure governance for the token.
|
|
2423
2444
|
* @param params - Use { type: 'default' }, { type: 'noOp' }, { type: 'launchpad', multisig: '0x...' }, or { type: 'custom', ... }
|
|
@@ -2558,17 +2579,7 @@ declare class StaticAuctionBuilder<C extends SupportedChainId> implements BaseAu
|
|
|
2558
2579
|
beneficiary: Address;
|
|
2559
2580
|
shares: bigint;
|
|
2560
2581
|
}[]): this;
|
|
2561
|
-
withVesting(params?:
|
|
2562
|
-
duration?: bigint;
|
|
2563
|
-
cliffDuration?: number;
|
|
2564
|
-
recipients?: Address[];
|
|
2565
|
-
amounts?: bigint[];
|
|
2566
|
-
schedules?: {
|
|
2567
|
-
duration?: bigint;
|
|
2568
|
-
cliffDuration?: number;
|
|
2569
|
-
}[];
|
|
2570
|
-
scheduleIds?: Array<number | bigint>;
|
|
2571
|
-
}): this;
|
|
2582
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2572
2583
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2573
2584
|
withMigration(migration: MigrationConfig): this;
|
|
2574
2585
|
withUserAddress(address: Address): this;
|
|
@@ -2686,17 +2697,7 @@ declare class DynamicAuctionBuilder<C extends SupportedChainId> implements BaseA
|
|
|
2686
2697
|
* ```
|
|
2687
2698
|
*/
|
|
2688
2699
|
withMarketCapRange(params: DynamicAuctionMarketCapConfig): this;
|
|
2689
|
-
withVesting(params?:
|
|
2690
|
-
duration?: bigint;
|
|
2691
|
-
cliffDuration?: number;
|
|
2692
|
-
recipients?: Address[];
|
|
2693
|
-
amounts?: bigint[];
|
|
2694
|
-
schedules?: {
|
|
2695
|
-
duration?: bigint;
|
|
2696
|
-
cliffDuration?: number;
|
|
2697
|
-
}[];
|
|
2698
|
-
scheduleIds?: Array<number | bigint>;
|
|
2699
|
-
}): this;
|
|
2700
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2700
2701
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2701
2702
|
withMigration(migration: MigrationConfig): this;
|
|
2702
2703
|
withUserAddress(address: Address): this;
|
|
@@ -2868,17 +2869,7 @@ declare class MulticurveBuilder<C extends SupportedChainId> implements BaseAucti
|
|
|
2868
2869
|
private resolveRehypeFeeDistributionInfo;
|
|
2869
2870
|
private validateRehypeDistribution;
|
|
2870
2871
|
private resolveRehypeFeeSchedule;
|
|
2871
|
-
withVesting(params?:
|
|
2872
|
-
duration?: bigint;
|
|
2873
|
-
cliffDuration?: number;
|
|
2874
|
-
recipients?: Address[];
|
|
2875
|
-
amounts?: bigint[];
|
|
2876
|
-
schedules?: {
|
|
2877
|
-
duration?: bigint;
|
|
2878
|
-
cliffDuration?: number;
|
|
2879
|
-
}[];
|
|
2880
|
-
scheduleIds?: Array<number | bigint>;
|
|
2881
|
-
}): this;
|
|
2872
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
2882
2873
|
private parseStartTimeSeconds;
|
|
2883
2874
|
private assertCanSetInitializer;
|
|
2884
2875
|
/**
|
|
@@ -3011,17 +3002,7 @@ declare class OpeningAuctionBuilder<C extends SupportedChainId> implements BaseA
|
|
|
3011
3002
|
}): this;
|
|
3012
3003
|
openingAuctionConfig(params: OpeningAuctionConfig): this;
|
|
3013
3004
|
dopplerConfig(params: OpeningAuctionDopplerConfig): this;
|
|
3014
|
-
withVesting(params?:
|
|
3015
|
-
duration?: bigint;
|
|
3016
|
-
cliffDuration?: number;
|
|
3017
|
-
recipients?: Address[];
|
|
3018
|
-
amounts?: bigint[];
|
|
3019
|
-
schedules?: {
|
|
3020
|
-
duration?: bigint;
|
|
3021
|
-
cliffDuration?: number;
|
|
3022
|
-
}[];
|
|
3023
|
-
scheduleIds?: Array<number | bigint>;
|
|
3024
|
-
}): this;
|
|
3005
|
+
withVesting(params?: BuilderVestingInput): this;
|
|
3025
3006
|
withGovernance(params: GovernanceOption<C>): this;
|
|
3026
3007
|
withMigration(migration: MigrationConfig): this;
|
|
3027
3008
|
withUserAddress(address: Address): this;
|
|
@@ -9196,4 +9177,4 @@ declare const rehypeDopplerHookMigratorAbi: readonly [{
|
|
|
9196
9177
|
|
|
9197
9178
|
declare const VERSION = "1.0.0";
|
|
9198
9179
|
|
|
9199
|
-
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, 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, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, MulticurvePool, type MulticurvePoolState, 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, 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 SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, V3_FEE_TIERS, type V4PoolKey, V4_MAX_FEE, VALID_FEE_TIERS, VERSION, type VestingConfig, WAD, ZERO_ADDRESS, airlockAbi, applyTickOffsets, bundlerAbi, calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, computeOptimalGamma, computePoolId, createAirlockBeneficiary, decayMulticurveInitializerHookAbi, decodeBalanceDelta, derc20Abi, derc20V2Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, 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, tickToMarketCap, tickToPrice, tokenPriceToRatio, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
|
|
9180
|
+
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, 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, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, MulticurvePool, type MulticurvePoolState, 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, 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 SupportedChain, type SupportedChainId, type SupportedChainKey, type SupportedPublicClient, TICK_SPACINGS, type TokenAddressHookConfig, type TokenAddressMiningParams, type TokenAddressMiningResult, type TokenConfig, type TokenVariant, 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, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, encodeRehypeDopplerHookMigratorCalldata, estimatePriceAtEpoch, estimateSlippage, 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, tickToMarketCap, tickToPrice, tokenPriceToRatio, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, validateMarketCapParameters, weth9Abi };
|