@whetstone-research/doppler-sdk 1.0.4 → 1.0.6
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 +11 -0
- package/dist/evm/index.cjs +917 -354
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +674 -8
- package/dist/evm/index.d.ts +674 -8
- package/dist/evm/index.js +917 -356
- package/dist/evm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/evm/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Address, WalletClient, Hex, Hash, Account } from 'viem';
|
|
1
|
+
import { Address, WalletClient, Hex, Hash, Account, PublicClient } from 'viem';
|
|
2
2
|
import { mainnet, sepolia, base, baseSepolia, ink, unichain } from 'viem/chains';
|
|
3
3
|
|
|
4
4
|
declare const CHAIN_IDS: {
|
|
@@ -17,6 +17,8 @@ type SupportedChainKey = keyof typeof CHAIN_IDS;
|
|
|
17
17
|
interface ChainAddresses {
|
|
18
18
|
airlock: Address;
|
|
19
19
|
tokenFactory: Address;
|
|
20
|
+
derc20V2Factory?: Address;
|
|
21
|
+
derc20V2Implementation?: Address;
|
|
20
22
|
v3Initializer: Address;
|
|
21
23
|
v3Quoter: Address;
|
|
22
24
|
lockableV3Initializer?: Address;
|
|
@@ -133,11 +135,17 @@ interface OpeningAuctionDopplerConfig$1 {
|
|
|
133
135
|
startTimeOffset?: number;
|
|
134
136
|
startingTime?: number;
|
|
135
137
|
}
|
|
138
|
+
interface VestingScheduleConfig {
|
|
139
|
+
duration: number;
|
|
140
|
+
cliffDuration: number;
|
|
141
|
+
}
|
|
136
142
|
interface VestingConfig {
|
|
137
143
|
duration: number;
|
|
138
144
|
cliffDuration: number;
|
|
139
145
|
recipients?: Address[];
|
|
140
146
|
amounts?: bigint[];
|
|
147
|
+
schedules?: VestingScheduleConfig[];
|
|
148
|
+
scheduleIds?: number[];
|
|
141
149
|
}
|
|
142
150
|
declare const NO_OP_ENABLED_CHAIN_IDS: readonly [1, 11155111, 8453, 84532, 130, 1301, 10143, 143];
|
|
143
151
|
type NoOpEnabledChainId = (typeof NO_OP_ENABLED_CHAIN_IDS)[number];
|
|
@@ -762,6 +770,18 @@ declare class DopplerFactory<C extends SupportedChainId = SupportedChainId> {
|
|
|
762
770
|
private customMigrationEncoder?;
|
|
763
771
|
private multicurveBundlerSupport;
|
|
764
772
|
constructor(publicClient: SupportedPublicClient, walletClient: WalletClient | undefined, chainId: C);
|
|
773
|
+
private hasCustomV2Schedules;
|
|
774
|
+
private usesDerc20V2Vesting;
|
|
775
|
+
private resolveVestingAllocations;
|
|
776
|
+
private normalizeV2ScheduleId;
|
|
777
|
+
private validateUint64LikeNumber;
|
|
778
|
+
private resolveV2VestingSchedules;
|
|
779
|
+
private resolveStandardTokenFactoryMode;
|
|
780
|
+
private assertStandardTokenFactoryCompatibility;
|
|
781
|
+
private buildStandardTokenFactoryData;
|
|
782
|
+
private encodeStandardTokenFactoryData;
|
|
783
|
+
private computeSoladyCloneInitCodeHash;
|
|
784
|
+
private computeStandardTokenInitHash;
|
|
765
785
|
/**
|
|
766
786
|
* Set a custom migration data encoder function
|
|
767
787
|
* @param encoder Custom function to encode migration data
|
|
@@ -959,6 +979,7 @@ declare class DopplerFactory<C extends SupportedChainId = SupportedChainId> {
|
|
|
959
979
|
*/
|
|
960
980
|
private normalizeMulticurveCurves;
|
|
961
981
|
private roundMaxTickDown;
|
|
982
|
+
private validateVestingConfig;
|
|
962
983
|
private validateStaticAuctionParams;
|
|
963
984
|
/**
|
|
964
985
|
* Validate dynamic auction parameters
|
|
@@ -2180,11 +2201,15 @@ declare class Quoter {
|
|
|
2180
2201
|
* and minting-related state information.
|
|
2181
2202
|
*/
|
|
2182
2203
|
declare class Derc20 {
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2204
|
+
protected publicClient: SupportedPublicClient;
|
|
2205
|
+
protected walletClient?: WalletClient;
|
|
2206
|
+
protected address: Address;
|
|
2207
|
+
protected get rpc(): PublicClient;
|
|
2208
|
+
protected static splitSignature(signature: `0x${string}`): {
|
|
2209
|
+
v: number;
|
|
2210
|
+
r: `0x${string}`;
|
|
2211
|
+
s: `0x${string}`;
|
|
2212
|
+
};
|
|
2188
2213
|
constructor(publicClient: SupportedPublicClient, walletClient: WalletClient | undefined, address: Address);
|
|
2189
2214
|
/** Get the human-readable name of the token */
|
|
2190
2215
|
getName(): Promise<string>;
|
|
@@ -2270,6 +2295,27 @@ declare class Derc20 {
|
|
|
2270
2295
|
}): Promise<`0x${string}`>;
|
|
2271
2296
|
}
|
|
2272
2297
|
|
|
2298
|
+
declare class Derc20V2 extends Derc20 {
|
|
2299
|
+
getVestingScheduleCount(): Promise<bigint>;
|
|
2300
|
+
getVestingSchedule(scheduleId: bigint): Promise<{
|
|
2301
|
+
cliffDuration: bigint;
|
|
2302
|
+
duration: bigint;
|
|
2303
|
+
}>;
|
|
2304
|
+
getScheduleIdsOf(beneficiary: Address): Promise<bigint[]>;
|
|
2305
|
+
getTotalAllocatedOf(beneficiary: Address): Promise<bigint>;
|
|
2306
|
+
getAvailableVestedAmountForSchedule(beneficiary: Address, scheduleId: bigint): Promise<bigint>;
|
|
2307
|
+
getVestingDataForSchedule(beneficiary: Address, scheduleId: bigint): Promise<{
|
|
2308
|
+
totalAmount: bigint;
|
|
2309
|
+
releasedAmount: bigint;
|
|
2310
|
+
}>;
|
|
2311
|
+
releaseSchedule(scheduleId: bigint, options?: {
|
|
2312
|
+
gas?: bigint;
|
|
2313
|
+
}): Promise<`0x${string}`>;
|
|
2314
|
+
releaseFor(beneficiary: Address, scheduleId?: bigint, options?: {
|
|
2315
|
+
gas?: bigint;
|
|
2316
|
+
}): Promise<`0x${string}`>;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2273
2319
|
/**
|
|
2274
2320
|
* A class providing read-only access to Ethereum (ETH) token information and balances.
|
|
2275
2321
|
*
|
|
@@ -2366,6 +2412,11 @@ interface BaseAuctionBuilder<C extends SupportedChainId> {
|
|
|
2366
2412
|
cliffDuration?: number;
|
|
2367
2413
|
recipients?: Address[];
|
|
2368
2414
|
amounts?: bigint[];
|
|
2415
|
+
schedules?: {
|
|
2416
|
+
duration?: bigint;
|
|
2417
|
+
cliffDuration?: number;
|
|
2418
|
+
}[];
|
|
2419
|
+
scheduleIds?: Array<number | bigint>;
|
|
2369
2420
|
}): this;
|
|
2370
2421
|
/**
|
|
2371
2422
|
* Configure governance for the token.
|
|
@@ -2512,6 +2563,11 @@ declare class StaticAuctionBuilder<C extends SupportedChainId> implements BaseAu
|
|
|
2512
2563
|
cliffDuration?: number;
|
|
2513
2564
|
recipients?: Address[];
|
|
2514
2565
|
amounts?: bigint[];
|
|
2566
|
+
schedules?: {
|
|
2567
|
+
duration?: bigint;
|
|
2568
|
+
cliffDuration?: number;
|
|
2569
|
+
}[];
|
|
2570
|
+
scheduleIds?: Array<number | bigint>;
|
|
2515
2571
|
}): this;
|
|
2516
2572
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2517
2573
|
withMigration(migration: MigrationConfig): this;
|
|
@@ -2635,6 +2691,11 @@ declare class DynamicAuctionBuilder<C extends SupportedChainId> implements BaseA
|
|
|
2635
2691
|
cliffDuration?: number;
|
|
2636
2692
|
recipients?: Address[];
|
|
2637
2693
|
amounts?: bigint[];
|
|
2694
|
+
schedules?: {
|
|
2695
|
+
duration?: bigint;
|
|
2696
|
+
cliffDuration?: number;
|
|
2697
|
+
}[];
|
|
2698
|
+
scheduleIds?: Array<number | bigint>;
|
|
2638
2699
|
}): this;
|
|
2639
2700
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2640
2701
|
withMigration(migration: MigrationConfig): this;
|
|
@@ -2812,6 +2873,11 @@ declare class MulticurveBuilder<C extends SupportedChainId> implements BaseAucti
|
|
|
2812
2873
|
cliffDuration?: number;
|
|
2813
2874
|
recipients?: Address[];
|
|
2814
2875
|
amounts?: bigint[];
|
|
2876
|
+
schedules?: {
|
|
2877
|
+
duration?: bigint;
|
|
2878
|
+
cliffDuration?: number;
|
|
2879
|
+
}[];
|
|
2880
|
+
scheduleIds?: Array<number | bigint>;
|
|
2815
2881
|
}): this;
|
|
2816
2882
|
private parseStartTimeSeconds;
|
|
2817
2883
|
private assertCanSetInitializer;
|
|
@@ -2950,6 +3016,11 @@ declare class OpeningAuctionBuilder<C extends SupportedChainId> implements BaseA
|
|
|
2950
3016
|
cliffDuration?: number;
|
|
2951
3017
|
recipients?: Address[];
|
|
2952
3018
|
amounts?: bigint[];
|
|
3019
|
+
schedules?: {
|
|
3020
|
+
duration?: bigint;
|
|
3021
|
+
cliffDuration?: number;
|
|
3022
|
+
}[];
|
|
3023
|
+
scheduleIds?: Array<number | bigint>;
|
|
2953
3024
|
}): this;
|
|
2954
3025
|
withGovernance(params: GovernanceOption<C>): this;
|
|
2955
3026
|
withMigration(migration: MigrationConfig): this;
|
|
@@ -3048,6 +3119,11 @@ declare class DopplerSDK<C extends SupportedChainId = SupportedChainId> {
|
|
|
3048
3119
|
* @param tokenAddress The address of the DERC20 token
|
|
3049
3120
|
*/
|
|
3050
3121
|
getDerc20(tokenAddress: Address): Derc20;
|
|
3122
|
+
/**
|
|
3123
|
+
* Get a DERC20 V2 token instance for interacting with cliffed / multi-schedule vesting tokens
|
|
3124
|
+
* @param tokenAddress The address of the DERC20 V2 token
|
|
3125
|
+
*/
|
|
3126
|
+
getDerc20V2(tokenAddress: Address): Derc20V2;
|
|
3051
3127
|
/**
|
|
3052
3128
|
* Get information about a static auction pool
|
|
3053
3129
|
* @param poolAddress The address of the pool
|
|
@@ -3352,7 +3428,7 @@ declare function calculateFDV(totalSupply: bigint, pricePerToken: number, ethPri
|
|
|
3352
3428
|
*/
|
|
3353
3429
|
declare function estimateSlippage(amountIn: bigint, liquidity: bigint, currentTick: number, fee: number): number;
|
|
3354
3430
|
|
|
3355
|
-
type TokenVariant = 'standard' | 'doppler404';
|
|
3431
|
+
type TokenVariant = 'standard' | 'standard-v2' | 'doppler404';
|
|
3356
3432
|
interface TokenAddressHookConfig {
|
|
3357
3433
|
deployer: Address;
|
|
3358
3434
|
initCodeHash: Hash;
|
|
@@ -3374,6 +3450,7 @@ interface TokenAddressMiningParams {
|
|
|
3374
3450
|
tokenData: Hex;
|
|
3375
3451
|
tokenVariant?: TokenVariant;
|
|
3376
3452
|
customBytecode?: Hex;
|
|
3453
|
+
v2Implementation?: Address;
|
|
3377
3454
|
maxIterations?: number;
|
|
3378
3455
|
startSalt?: bigint;
|
|
3379
3456
|
hook?: TokenAddressHookConfig;
|
|
@@ -4851,6 +4928,595 @@ declare const derc20Abi: readonly [{
|
|
|
4851
4928
|
readonly internalType: "uint256";
|
|
4852
4929
|
}];
|
|
4853
4930
|
}];
|
|
4931
|
+
declare const derc20V2Abi: readonly [{
|
|
4932
|
+
readonly type: "function";
|
|
4933
|
+
readonly name: "allowance";
|
|
4934
|
+
readonly inputs: readonly [{
|
|
4935
|
+
readonly name: "owner";
|
|
4936
|
+
readonly type: "address";
|
|
4937
|
+
readonly internalType: "address";
|
|
4938
|
+
}, {
|
|
4939
|
+
readonly name: "spender";
|
|
4940
|
+
readonly type: "address";
|
|
4941
|
+
readonly internalType: "address";
|
|
4942
|
+
}];
|
|
4943
|
+
readonly outputs: readonly [{
|
|
4944
|
+
readonly name: "";
|
|
4945
|
+
readonly type: "uint256";
|
|
4946
|
+
readonly internalType: "uint256";
|
|
4947
|
+
}];
|
|
4948
|
+
readonly stateMutability: "view";
|
|
4949
|
+
}, {
|
|
4950
|
+
readonly type: "function";
|
|
4951
|
+
readonly name: "approve";
|
|
4952
|
+
readonly inputs: readonly [{
|
|
4953
|
+
readonly name: "spender";
|
|
4954
|
+
readonly type: "address";
|
|
4955
|
+
readonly internalType: "address";
|
|
4956
|
+
}, {
|
|
4957
|
+
readonly name: "value";
|
|
4958
|
+
readonly type: "uint256";
|
|
4959
|
+
readonly internalType: "uint256";
|
|
4960
|
+
}];
|
|
4961
|
+
readonly outputs: readonly [{
|
|
4962
|
+
readonly name: "";
|
|
4963
|
+
readonly type: "bool";
|
|
4964
|
+
readonly internalType: "bool";
|
|
4965
|
+
}];
|
|
4966
|
+
readonly stateMutability: "nonpayable";
|
|
4967
|
+
}, {
|
|
4968
|
+
readonly type: "function";
|
|
4969
|
+
readonly name: "delegate";
|
|
4970
|
+
readonly inputs: readonly [{
|
|
4971
|
+
readonly name: "delegatee";
|
|
4972
|
+
readonly type: "address";
|
|
4973
|
+
readonly internalType: "address";
|
|
4974
|
+
}];
|
|
4975
|
+
readonly outputs: readonly [];
|
|
4976
|
+
readonly stateMutability: "nonpayable";
|
|
4977
|
+
}, {
|
|
4978
|
+
readonly type: "function";
|
|
4979
|
+
readonly name: "delegateBySig";
|
|
4980
|
+
readonly inputs: readonly [{
|
|
4981
|
+
readonly name: "delegatee";
|
|
4982
|
+
readonly type: "address";
|
|
4983
|
+
readonly internalType: "address";
|
|
4984
|
+
}, {
|
|
4985
|
+
readonly name: "nonce";
|
|
4986
|
+
readonly type: "uint256";
|
|
4987
|
+
readonly internalType: "uint256";
|
|
4988
|
+
}, {
|
|
4989
|
+
readonly name: "expiry";
|
|
4990
|
+
readonly type: "uint256";
|
|
4991
|
+
readonly internalType: "uint256";
|
|
4992
|
+
}, {
|
|
4993
|
+
readonly name: "v";
|
|
4994
|
+
readonly type: "uint8";
|
|
4995
|
+
readonly internalType: "uint8";
|
|
4996
|
+
}, {
|
|
4997
|
+
readonly name: "r";
|
|
4998
|
+
readonly type: "bytes32";
|
|
4999
|
+
readonly internalType: "bytes32";
|
|
5000
|
+
}, {
|
|
5001
|
+
readonly name: "s";
|
|
5002
|
+
readonly type: "bytes32";
|
|
5003
|
+
readonly internalType: "bytes32";
|
|
5004
|
+
}];
|
|
5005
|
+
readonly outputs: readonly [];
|
|
5006
|
+
readonly stateMutability: "nonpayable";
|
|
5007
|
+
}, {
|
|
5008
|
+
readonly type: "function";
|
|
5009
|
+
readonly name: "delegates";
|
|
5010
|
+
readonly inputs: readonly [{
|
|
5011
|
+
readonly name: "account";
|
|
5012
|
+
readonly type: "address";
|
|
5013
|
+
readonly internalType: "address";
|
|
5014
|
+
}];
|
|
5015
|
+
readonly outputs: readonly [{
|
|
5016
|
+
readonly name: "";
|
|
5017
|
+
readonly type: "address";
|
|
5018
|
+
readonly internalType: "address";
|
|
5019
|
+
}];
|
|
5020
|
+
readonly stateMutability: "view";
|
|
5021
|
+
}, {
|
|
5022
|
+
readonly type: "function";
|
|
5023
|
+
readonly name: "getVotes";
|
|
5024
|
+
readonly inputs: readonly [{
|
|
5025
|
+
readonly name: "account";
|
|
5026
|
+
readonly type: "address";
|
|
5027
|
+
readonly internalType: "address";
|
|
5028
|
+
}];
|
|
5029
|
+
readonly outputs: readonly [{
|
|
5030
|
+
readonly name: "";
|
|
5031
|
+
readonly type: "uint256";
|
|
5032
|
+
readonly internalType: "uint256";
|
|
5033
|
+
}];
|
|
5034
|
+
readonly stateMutability: "view";
|
|
5035
|
+
}, {
|
|
5036
|
+
readonly type: "function";
|
|
5037
|
+
readonly name: "getPastVotes";
|
|
5038
|
+
readonly inputs: readonly [{
|
|
5039
|
+
readonly name: "account";
|
|
5040
|
+
readonly type: "address";
|
|
5041
|
+
readonly internalType: "address";
|
|
5042
|
+
}, {
|
|
5043
|
+
readonly name: "timepoint";
|
|
5044
|
+
readonly type: "uint256";
|
|
5045
|
+
readonly internalType: "uint256";
|
|
5046
|
+
}];
|
|
5047
|
+
readonly outputs: readonly [{
|
|
5048
|
+
readonly name: "";
|
|
5049
|
+
readonly type: "uint256";
|
|
5050
|
+
readonly internalType: "uint256";
|
|
5051
|
+
}];
|
|
5052
|
+
readonly stateMutability: "view";
|
|
5053
|
+
}, {
|
|
5054
|
+
readonly type: "function";
|
|
5055
|
+
readonly name: "getPastTotalSupply";
|
|
5056
|
+
readonly inputs: readonly [{
|
|
5057
|
+
readonly name: "timepoint";
|
|
5058
|
+
readonly type: "uint256";
|
|
5059
|
+
readonly internalType: "uint256";
|
|
5060
|
+
}];
|
|
5061
|
+
readonly outputs: readonly [{
|
|
5062
|
+
readonly name: "";
|
|
5063
|
+
readonly type: "uint256";
|
|
5064
|
+
readonly internalType: "uint256";
|
|
5065
|
+
}];
|
|
5066
|
+
readonly stateMutability: "view";
|
|
5067
|
+
}, {
|
|
5068
|
+
readonly type: "function";
|
|
5069
|
+
readonly name: "nonces";
|
|
5070
|
+
readonly inputs: readonly [{
|
|
5071
|
+
readonly name: "owner";
|
|
5072
|
+
readonly type: "address";
|
|
5073
|
+
readonly internalType: "address";
|
|
5074
|
+
}];
|
|
5075
|
+
readonly outputs: readonly [{
|
|
5076
|
+
readonly name: "";
|
|
5077
|
+
readonly type: "uint256";
|
|
5078
|
+
readonly internalType: "uint256";
|
|
5079
|
+
}];
|
|
5080
|
+
readonly stateMutability: "view";
|
|
5081
|
+
}, {
|
|
5082
|
+
readonly type: "function";
|
|
5083
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
5084
|
+
readonly inputs: readonly [];
|
|
5085
|
+
readonly outputs: readonly [{
|
|
5086
|
+
readonly name: "";
|
|
5087
|
+
readonly type: "bytes32";
|
|
5088
|
+
readonly internalType: "bytes32";
|
|
5089
|
+
}];
|
|
5090
|
+
readonly stateMutability: "view";
|
|
5091
|
+
}, {
|
|
5092
|
+
readonly type: "function";
|
|
5093
|
+
readonly name: "balanceOf";
|
|
5094
|
+
readonly inputs: readonly [{
|
|
5095
|
+
readonly name: "account";
|
|
5096
|
+
readonly type: "address";
|
|
5097
|
+
readonly internalType: "address";
|
|
5098
|
+
}];
|
|
5099
|
+
readonly outputs: readonly [{
|
|
5100
|
+
readonly name: "";
|
|
5101
|
+
readonly type: "uint256";
|
|
5102
|
+
readonly internalType: "uint256";
|
|
5103
|
+
}];
|
|
5104
|
+
readonly stateMutability: "view";
|
|
5105
|
+
}, {
|
|
5106
|
+
readonly type: "function";
|
|
5107
|
+
readonly name: "computeAvailableVestedAmount";
|
|
5108
|
+
readonly inputs: readonly [{
|
|
5109
|
+
readonly name: "account";
|
|
5110
|
+
readonly type: "address";
|
|
5111
|
+
readonly internalType: "address";
|
|
5112
|
+
}];
|
|
5113
|
+
readonly outputs: readonly [{
|
|
5114
|
+
readonly name: "";
|
|
5115
|
+
readonly type: "uint256";
|
|
5116
|
+
readonly internalType: "uint256";
|
|
5117
|
+
}];
|
|
5118
|
+
readonly stateMutability: "view";
|
|
5119
|
+
}, {
|
|
5120
|
+
readonly type: "function";
|
|
5121
|
+
readonly name: "currentYearStart";
|
|
5122
|
+
readonly inputs: readonly [];
|
|
5123
|
+
readonly outputs: readonly [{
|
|
5124
|
+
readonly name: "";
|
|
5125
|
+
readonly type: "uint256";
|
|
5126
|
+
readonly internalType: "uint256";
|
|
5127
|
+
}];
|
|
5128
|
+
readonly stateMutability: "view";
|
|
5129
|
+
}, {
|
|
5130
|
+
readonly type: "function";
|
|
5131
|
+
readonly name: "decimals";
|
|
5132
|
+
readonly inputs: readonly [];
|
|
5133
|
+
readonly outputs: readonly [{
|
|
5134
|
+
readonly name: "";
|
|
5135
|
+
readonly type: "uint8";
|
|
5136
|
+
readonly internalType: "uint8";
|
|
5137
|
+
}];
|
|
5138
|
+
readonly stateMutability: "view";
|
|
5139
|
+
}, {
|
|
5140
|
+
readonly type: "function";
|
|
5141
|
+
readonly name: "getVestingDataOf";
|
|
5142
|
+
readonly inputs: readonly [{
|
|
5143
|
+
readonly name: "account";
|
|
5144
|
+
readonly type: "address";
|
|
5145
|
+
readonly internalType: "address";
|
|
5146
|
+
}];
|
|
5147
|
+
readonly outputs: readonly [{
|
|
5148
|
+
readonly name: "totalAmount";
|
|
5149
|
+
readonly type: "uint256";
|
|
5150
|
+
readonly internalType: "uint256";
|
|
5151
|
+
}, {
|
|
5152
|
+
readonly name: "releasedAmount";
|
|
5153
|
+
readonly type: "uint256";
|
|
5154
|
+
readonly internalType: "uint256";
|
|
5155
|
+
}];
|
|
5156
|
+
readonly stateMutability: "view";
|
|
5157
|
+
}, {
|
|
5158
|
+
readonly type: "function";
|
|
5159
|
+
readonly name: "isPoolUnlocked";
|
|
5160
|
+
readonly inputs: readonly [];
|
|
5161
|
+
readonly outputs: readonly [{
|
|
5162
|
+
readonly name: "";
|
|
5163
|
+
readonly type: "bool";
|
|
5164
|
+
readonly internalType: "bool";
|
|
5165
|
+
}];
|
|
5166
|
+
readonly stateMutability: "view";
|
|
5167
|
+
}, {
|
|
5168
|
+
readonly type: "function";
|
|
5169
|
+
readonly name: "lastMintTimestamp";
|
|
5170
|
+
readonly inputs: readonly [];
|
|
5171
|
+
readonly outputs: readonly [{
|
|
5172
|
+
readonly name: "";
|
|
5173
|
+
readonly type: "uint256";
|
|
5174
|
+
readonly internalType: "uint256";
|
|
5175
|
+
}];
|
|
5176
|
+
readonly stateMutability: "view";
|
|
5177
|
+
}, {
|
|
5178
|
+
readonly type: "function";
|
|
5179
|
+
readonly name: "name";
|
|
5180
|
+
readonly inputs: readonly [];
|
|
5181
|
+
readonly outputs: readonly [{
|
|
5182
|
+
readonly name: "";
|
|
5183
|
+
readonly type: "string";
|
|
5184
|
+
readonly internalType: "string";
|
|
5185
|
+
}];
|
|
5186
|
+
readonly stateMutability: "view";
|
|
5187
|
+
}, {
|
|
5188
|
+
readonly type: "function";
|
|
5189
|
+
readonly name: "pool";
|
|
5190
|
+
readonly inputs: readonly [];
|
|
5191
|
+
readonly outputs: readonly [{
|
|
5192
|
+
readonly name: "";
|
|
5193
|
+
readonly type: "address";
|
|
5194
|
+
readonly internalType: "address";
|
|
5195
|
+
}];
|
|
5196
|
+
readonly stateMutability: "view";
|
|
5197
|
+
}, {
|
|
5198
|
+
readonly type: "function";
|
|
5199
|
+
readonly name: "release";
|
|
5200
|
+
readonly inputs: readonly [];
|
|
5201
|
+
readonly outputs: readonly [];
|
|
5202
|
+
readonly stateMutability: "nonpayable";
|
|
5203
|
+
}, {
|
|
5204
|
+
readonly type: "function";
|
|
5205
|
+
readonly name: "symbol";
|
|
5206
|
+
readonly inputs: readonly [];
|
|
5207
|
+
readonly outputs: readonly [{
|
|
5208
|
+
readonly name: "";
|
|
5209
|
+
readonly type: "string";
|
|
5210
|
+
readonly internalType: "string";
|
|
5211
|
+
}];
|
|
5212
|
+
readonly stateMutability: "view";
|
|
5213
|
+
}, {
|
|
5214
|
+
readonly type: "function";
|
|
5215
|
+
readonly name: "tokenURI";
|
|
5216
|
+
readonly inputs: readonly [];
|
|
5217
|
+
readonly outputs: readonly [{
|
|
5218
|
+
readonly name: "";
|
|
5219
|
+
readonly type: "string";
|
|
5220
|
+
readonly internalType: "string";
|
|
5221
|
+
}];
|
|
5222
|
+
readonly stateMutability: "view";
|
|
5223
|
+
}, {
|
|
5224
|
+
readonly type: "function";
|
|
5225
|
+
readonly name: "totalSupply";
|
|
5226
|
+
readonly inputs: readonly [];
|
|
5227
|
+
readonly outputs: readonly [{
|
|
5228
|
+
readonly name: "";
|
|
5229
|
+
readonly type: "uint256";
|
|
5230
|
+
readonly internalType: "uint256";
|
|
5231
|
+
}];
|
|
5232
|
+
readonly stateMutability: "view";
|
|
5233
|
+
}, {
|
|
5234
|
+
readonly type: "function";
|
|
5235
|
+
readonly name: "transfer";
|
|
5236
|
+
readonly inputs: readonly [{
|
|
5237
|
+
readonly name: "to";
|
|
5238
|
+
readonly type: "address";
|
|
5239
|
+
readonly internalType: "address";
|
|
5240
|
+
}, {
|
|
5241
|
+
readonly name: "value";
|
|
5242
|
+
readonly type: "uint256";
|
|
5243
|
+
readonly internalType: "uint256";
|
|
5244
|
+
}];
|
|
5245
|
+
readonly outputs: readonly [{
|
|
5246
|
+
readonly name: "";
|
|
5247
|
+
readonly type: "bool";
|
|
5248
|
+
readonly internalType: "bool";
|
|
5249
|
+
}];
|
|
5250
|
+
readonly stateMutability: "nonpayable";
|
|
5251
|
+
}, {
|
|
5252
|
+
readonly type: "function";
|
|
5253
|
+
readonly name: "transferFrom";
|
|
5254
|
+
readonly inputs: readonly [{
|
|
5255
|
+
readonly name: "from";
|
|
5256
|
+
readonly type: "address";
|
|
5257
|
+
readonly internalType: "address";
|
|
5258
|
+
}, {
|
|
5259
|
+
readonly name: "to";
|
|
5260
|
+
readonly type: "address";
|
|
5261
|
+
readonly internalType: "address";
|
|
5262
|
+
}, {
|
|
5263
|
+
readonly name: "value";
|
|
5264
|
+
readonly type: "uint256";
|
|
5265
|
+
readonly internalType: "uint256";
|
|
5266
|
+
}];
|
|
5267
|
+
readonly outputs: readonly [{
|
|
5268
|
+
readonly name: "";
|
|
5269
|
+
readonly type: "bool";
|
|
5270
|
+
readonly internalType: "bool";
|
|
5271
|
+
}];
|
|
5272
|
+
readonly stateMutability: "nonpayable";
|
|
5273
|
+
}, {
|
|
5274
|
+
readonly type: "function";
|
|
5275
|
+
readonly name: "vestedTotalAmount";
|
|
5276
|
+
readonly inputs: readonly [];
|
|
5277
|
+
readonly outputs: readonly [{
|
|
5278
|
+
readonly name: "";
|
|
5279
|
+
readonly type: "uint256";
|
|
5280
|
+
readonly internalType: "uint256";
|
|
5281
|
+
}];
|
|
5282
|
+
readonly stateMutability: "view";
|
|
5283
|
+
}, {
|
|
5284
|
+
readonly type: "function";
|
|
5285
|
+
readonly name: "vestingDuration";
|
|
5286
|
+
readonly inputs: readonly [];
|
|
5287
|
+
readonly outputs: readonly [{
|
|
5288
|
+
readonly name: "";
|
|
5289
|
+
readonly type: "uint256";
|
|
5290
|
+
readonly internalType: "uint256";
|
|
5291
|
+
}];
|
|
5292
|
+
readonly stateMutability: "view";
|
|
5293
|
+
}, {
|
|
5294
|
+
readonly type: "function";
|
|
5295
|
+
readonly name: "vestingStart";
|
|
5296
|
+
readonly inputs: readonly [];
|
|
5297
|
+
readonly outputs: readonly [{
|
|
5298
|
+
readonly name: "";
|
|
5299
|
+
readonly type: "uint256";
|
|
5300
|
+
readonly internalType: "uint256";
|
|
5301
|
+
}];
|
|
5302
|
+
readonly stateMutability: "view";
|
|
5303
|
+
}, {
|
|
5304
|
+
readonly type: "function";
|
|
5305
|
+
readonly name: "yearlyMintRate";
|
|
5306
|
+
readonly inputs: readonly [];
|
|
5307
|
+
readonly outputs: readonly [{
|
|
5308
|
+
readonly name: "";
|
|
5309
|
+
readonly type: "uint256";
|
|
5310
|
+
readonly internalType: "uint256";
|
|
5311
|
+
}];
|
|
5312
|
+
readonly stateMutability: "view";
|
|
5313
|
+
}, {
|
|
5314
|
+
readonly type: "error";
|
|
5315
|
+
readonly name: "MintingNotStartedYet";
|
|
5316
|
+
readonly inputs: readonly [];
|
|
5317
|
+
}, {
|
|
5318
|
+
readonly type: "error";
|
|
5319
|
+
readonly name: "ExceedsYearlyMintCap";
|
|
5320
|
+
readonly inputs: readonly [];
|
|
5321
|
+
}, {
|
|
5322
|
+
readonly type: "error";
|
|
5323
|
+
readonly name: "NoMintableAmount";
|
|
5324
|
+
readonly inputs: readonly [];
|
|
5325
|
+
}, {
|
|
5326
|
+
readonly type: "error";
|
|
5327
|
+
readonly name: "PoolLocked";
|
|
5328
|
+
readonly inputs: readonly [];
|
|
5329
|
+
}, {
|
|
5330
|
+
readonly type: "error";
|
|
5331
|
+
readonly name: "ArrayLengthsMismatch";
|
|
5332
|
+
readonly inputs: readonly [];
|
|
5333
|
+
}, {
|
|
5334
|
+
readonly type: "error";
|
|
5335
|
+
readonly name: "ReleaseAmountInvalid";
|
|
5336
|
+
readonly inputs: readonly [];
|
|
5337
|
+
}, {
|
|
5338
|
+
readonly type: "error";
|
|
5339
|
+
readonly name: "MaxPreMintPerAddressExceeded";
|
|
5340
|
+
readonly inputs: readonly [{
|
|
5341
|
+
readonly name: "amount";
|
|
5342
|
+
readonly type: "uint256";
|
|
5343
|
+
readonly internalType: "uint256";
|
|
5344
|
+
}, {
|
|
5345
|
+
readonly name: "limit";
|
|
5346
|
+
readonly type: "uint256";
|
|
5347
|
+
readonly internalType: "uint256";
|
|
5348
|
+
}];
|
|
5349
|
+
}, {
|
|
5350
|
+
readonly type: "error";
|
|
5351
|
+
readonly name: "MaxTotalPreMintExceeded";
|
|
5352
|
+
readonly inputs: readonly [{
|
|
5353
|
+
readonly name: "amount";
|
|
5354
|
+
readonly type: "uint256";
|
|
5355
|
+
readonly internalType: "uint256";
|
|
5356
|
+
}, {
|
|
5357
|
+
readonly name: "limit";
|
|
5358
|
+
readonly type: "uint256";
|
|
5359
|
+
readonly internalType: "uint256";
|
|
5360
|
+
}];
|
|
5361
|
+
}, {
|
|
5362
|
+
readonly type: "error";
|
|
5363
|
+
readonly name: "MaxTotalVestedExceeded";
|
|
5364
|
+
readonly inputs: readonly [{
|
|
5365
|
+
readonly name: "amount";
|
|
5366
|
+
readonly type: "uint256";
|
|
5367
|
+
readonly internalType: "uint256";
|
|
5368
|
+
}, {
|
|
5369
|
+
readonly name: "limit";
|
|
5370
|
+
readonly type: "uint256";
|
|
5371
|
+
readonly internalType: "uint256";
|
|
5372
|
+
}];
|
|
5373
|
+
}, {
|
|
5374
|
+
readonly type: "error";
|
|
5375
|
+
readonly name: "VestingNotStartedYet";
|
|
5376
|
+
readonly inputs: readonly [];
|
|
5377
|
+
}, {
|
|
5378
|
+
readonly type: "error";
|
|
5379
|
+
readonly name: "MaxYearlyMintRateExceeded";
|
|
5380
|
+
readonly inputs: readonly [{
|
|
5381
|
+
readonly name: "amount";
|
|
5382
|
+
readonly type: "uint256";
|
|
5383
|
+
readonly internalType: "uint256";
|
|
5384
|
+
}, {
|
|
5385
|
+
readonly name: "limit";
|
|
5386
|
+
readonly type: "uint256";
|
|
5387
|
+
readonly internalType: "uint256";
|
|
5388
|
+
}];
|
|
5389
|
+
}, {
|
|
5390
|
+
readonly type: "function";
|
|
5391
|
+
readonly name: "computeAvailableVestedAmount";
|
|
5392
|
+
readonly inputs: readonly [{
|
|
5393
|
+
readonly name: "beneficiary";
|
|
5394
|
+
readonly type: "address";
|
|
5395
|
+
readonly internalType: "address";
|
|
5396
|
+
}, {
|
|
5397
|
+
readonly name: "scheduleId";
|
|
5398
|
+
readonly type: "uint256";
|
|
5399
|
+
readonly internalType: "uint256";
|
|
5400
|
+
}];
|
|
5401
|
+
readonly outputs: readonly [{
|
|
5402
|
+
readonly name: "";
|
|
5403
|
+
readonly type: "uint256";
|
|
5404
|
+
readonly internalType: "uint256";
|
|
5405
|
+
}];
|
|
5406
|
+
readonly stateMutability: "view";
|
|
5407
|
+
}, {
|
|
5408
|
+
readonly type: "function";
|
|
5409
|
+
readonly name: "getScheduleIdsOf";
|
|
5410
|
+
readonly inputs: readonly [{
|
|
5411
|
+
readonly name: "beneficiary";
|
|
5412
|
+
readonly type: "address";
|
|
5413
|
+
readonly internalType: "address";
|
|
5414
|
+
}];
|
|
5415
|
+
readonly outputs: readonly [{
|
|
5416
|
+
readonly name: "";
|
|
5417
|
+
readonly type: "uint256[]";
|
|
5418
|
+
readonly internalType: "uint256[]";
|
|
5419
|
+
}];
|
|
5420
|
+
readonly stateMutability: "view";
|
|
5421
|
+
}, {
|
|
5422
|
+
readonly type: "function";
|
|
5423
|
+
readonly name: "release";
|
|
5424
|
+
readonly inputs: readonly [{
|
|
5425
|
+
readonly name: "scheduleId";
|
|
5426
|
+
readonly type: "uint256";
|
|
5427
|
+
readonly internalType: "uint256";
|
|
5428
|
+
}];
|
|
5429
|
+
readonly outputs: readonly [];
|
|
5430
|
+
readonly stateMutability: "nonpayable";
|
|
5431
|
+
}, {
|
|
5432
|
+
readonly type: "function";
|
|
5433
|
+
readonly name: "releaseFor";
|
|
5434
|
+
readonly inputs: readonly [{
|
|
5435
|
+
readonly name: "beneficiary";
|
|
5436
|
+
readonly type: "address";
|
|
5437
|
+
readonly internalType: "address";
|
|
5438
|
+
}, {
|
|
5439
|
+
readonly name: "scheduleId";
|
|
5440
|
+
readonly type: "uint256";
|
|
5441
|
+
readonly internalType: "uint256";
|
|
5442
|
+
}];
|
|
5443
|
+
readonly outputs: readonly [];
|
|
5444
|
+
readonly stateMutability: "nonpayable";
|
|
5445
|
+
}, {
|
|
5446
|
+
readonly type: "function";
|
|
5447
|
+
readonly name: "releaseFor";
|
|
5448
|
+
readonly inputs: readonly [{
|
|
5449
|
+
readonly name: "beneficiary";
|
|
5450
|
+
readonly type: "address";
|
|
5451
|
+
readonly internalType: "address";
|
|
5452
|
+
}];
|
|
5453
|
+
readonly outputs: readonly [];
|
|
5454
|
+
readonly stateMutability: "nonpayable";
|
|
5455
|
+
}, {
|
|
5456
|
+
readonly type: "function";
|
|
5457
|
+
readonly name: "totalAllocatedOf";
|
|
5458
|
+
readonly inputs: readonly [{
|
|
5459
|
+
readonly name: "beneficiary";
|
|
5460
|
+
readonly type: "address";
|
|
5461
|
+
readonly internalType: "address";
|
|
5462
|
+
}];
|
|
5463
|
+
readonly outputs: readonly [{
|
|
5464
|
+
readonly name: "";
|
|
5465
|
+
readonly type: "uint256";
|
|
5466
|
+
readonly internalType: "uint256";
|
|
5467
|
+
}];
|
|
5468
|
+
readonly stateMutability: "view";
|
|
5469
|
+
}, {
|
|
5470
|
+
readonly type: "function";
|
|
5471
|
+
readonly name: "vestingOf";
|
|
5472
|
+
readonly inputs: readonly [{
|
|
5473
|
+
readonly name: "beneficiary";
|
|
5474
|
+
readonly type: "address";
|
|
5475
|
+
readonly internalType: "address";
|
|
5476
|
+
}, {
|
|
5477
|
+
readonly name: "scheduleId";
|
|
5478
|
+
readonly type: "uint256";
|
|
5479
|
+
readonly internalType: "uint256";
|
|
5480
|
+
}];
|
|
5481
|
+
readonly outputs: readonly [{
|
|
5482
|
+
readonly name: "totalAmount";
|
|
5483
|
+
readonly type: "uint256";
|
|
5484
|
+
readonly internalType: "uint256";
|
|
5485
|
+
}, {
|
|
5486
|
+
readonly name: "releasedAmount";
|
|
5487
|
+
readonly type: "uint256";
|
|
5488
|
+
readonly internalType: "uint256";
|
|
5489
|
+
}];
|
|
5490
|
+
readonly stateMutability: "view";
|
|
5491
|
+
}, {
|
|
5492
|
+
readonly type: "function";
|
|
5493
|
+
readonly name: "vestingScheduleCount";
|
|
5494
|
+
readonly inputs: readonly [];
|
|
5495
|
+
readonly outputs: readonly [{
|
|
5496
|
+
readonly name: "";
|
|
5497
|
+
readonly type: "uint256";
|
|
5498
|
+
readonly internalType: "uint256";
|
|
5499
|
+
}];
|
|
5500
|
+
readonly stateMutability: "view";
|
|
5501
|
+
}, {
|
|
5502
|
+
readonly type: "function";
|
|
5503
|
+
readonly name: "vestingSchedules";
|
|
5504
|
+
readonly inputs: readonly [{
|
|
5505
|
+
readonly name: "";
|
|
5506
|
+
readonly type: "uint256";
|
|
5507
|
+
readonly internalType: "uint256";
|
|
5508
|
+
}];
|
|
5509
|
+
readonly outputs: readonly [{
|
|
5510
|
+
readonly name: "cliff";
|
|
5511
|
+
readonly type: "uint64";
|
|
5512
|
+
readonly internalType: "uint64";
|
|
5513
|
+
}, {
|
|
5514
|
+
readonly name: "duration";
|
|
5515
|
+
readonly type: "uint64";
|
|
5516
|
+
readonly internalType: "uint64";
|
|
5517
|
+
}];
|
|
5518
|
+
readonly stateMutability: "view";
|
|
5519
|
+
}];
|
|
4854
5520
|
declare const uniswapV4InitializerAbi: readonly [{
|
|
4855
5521
|
readonly type: "function";
|
|
4856
5522
|
readonly name: "encodePoolInitializerData";
|
|
@@ -8530,4 +9196,4 @@ declare const rehypeDopplerHookMigratorAbi: readonly [{
|
|
|
8530
9196
|
|
|
8531
9197
|
declare const VERSION = "1.0.0";
|
|
8532
9198
|
|
|
8533
|
-
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, _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, 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 };
|
|
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 };
|