auctionflow-sdk 2.1.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -47,6 +47,16 @@ interface SellQuote {
47
47
  netProceeds: bigint;
48
48
  spotPriceAfter: bigint;
49
49
  }
50
+ /** The protocol's standard launch for one payment token, as `launch` uses it. */
51
+ interface LaunchPreset {
52
+ paymentToken: Address;
53
+ maxSupply: bigint;
54
+ basePrice: bigint;
55
+ slope: bigint;
56
+ /** Graduation threshold, in payment-token units. */
57
+ maxRaise: bigint;
58
+ liquidityBps: bigint;
59
+ }
50
60
  interface MigrationInfo {
51
61
  /** The Uniswap v3 pool, or null if the auction unlocked without one. */
52
62
  pool: Address | null;
@@ -86,6 +96,7 @@ declare class AuctionBuilder {
86
96
  build(): AuctionConfig;
87
97
  }
88
98
 
99
+ /** Shape of the nested tuple returned by the on-chain `auctions(id)` getter. */
89
100
  declare class AuctionFlowSDK {
90
101
  readonly publicClient: PublicClient;
91
102
  readonly walletClient?: WalletClient;
@@ -102,9 +113,12 @@ declare class AuctionFlowSDK {
102
113
  createAuction(config: AuctionConfig): Promise<Hash>;
103
114
  /**
104
115
  * One-click launch: a token with the protocol's standard curve, threshold
105
- * and liquidity share. Trading starts immediately.
116
+ * and liquidity share for `paymentToken`. Trading starts immediately.
117
+ * Defaults to WETH, so the token trades in plain ETH (see `buyTokensWithETH`).
106
118
  */
107
- launch(name: string, symbol: string, metadataURI?: string): Promise<Hash>;
119
+ launch(name: string, symbol: string, metadataURI?: string, paymentToken?: Address): Promise<Hash>;
120
+ /** The standard launch for `paymentToken`, or null if none is configured. */
121
+ getLaunchPreset(paymentToken: Address): Promise<LaunchPreset | null>;
108
122
  /**
109
123
  * Sell `amount` tokens (in token wei) back to the curve before graduation.
110
124
  * The contract reverts if the price fell below the bound before the
@@ -115,6 +129,14 @@ declare class AuctionFlowSDK {
115
129
  minProceeds?: bigint;
116
130
  slippageBps?: number;
117
131
  }): Promise<Hash>;
132
+ /**
133
+ * `sellTokens` for an auction priced in WETH, paid out in plain ETH. Takes
134
+ * the same `minProceeds` / `slippageBps` options.
135
+ */
136
+ sellTokensForETH(auctionId: bigint, amount: bigint, options?: {
137
+ minProceeds?: bigint;
138
+ slippageBps?: number;
139
+ }): Promise<Hash>;
118
140
  /** What selling `amount` tokens back to the curve would pay right now. */
119
141
  getSellQuote(auctionId: bigint, amount: bigint): Promise<SellQuote>;
120
142
  /**
@@ -129,6 +151,18 @@ declare class AuctionFlowSDK {
129
151
  maxCost?: bigint;
130
152
  slippageBps?: number;
131
153
  }): Promise<Hash>;
154
+ /**
155
+ * `buyTokens` for an auction priced in WETH, paid in plain ETH, with no
156
+ * token approval. The ETH sent is the most the purchase may cost (`maxCost`,
157
+ * or a fresh quote plus `slippageBps`); whatever it doesn't use is refunded
158
+ * in the same transaction.
159
+ */
160
+ buyTokensWithETH(auctionId: bigint, amount: bigint, options?: {
161
+ maxCost?: bigint;
162
+ slippageBps?: number;
163
+ }): Promise<Hash>;
164
+ /** Is this auction priced in WETH, so it can be bought and sold with plain ETH? */
165
+ isPricedInETH(auctionId: bigint): Promise<boolean>;
132
166
  /**
133
167
  * Pay a completed auction's creator their share of the raise: everything
134
168
  * not reserved for Uniswap liquidity. Creator only, once, before or after
@@ -165,11 +199,12 @@ declare class AuctionFlowSDK {
165
199
  getAuction(auctionId: bigint): Promise<AuctionData>;
166
200
  getQuote(auctionId: bigint, amount: bigint): Promise<BuyQuote>;
167
201
  getSpotPrice(auctionId: bigint): Promise<bigint>;
168
- private parseAuctionResult;
169
202
  }
170
203
 
171
204
  declare const AUCTION_ADDRESSES: Record<SupportedChainId, Address>;
172
205
  declare const USDC_ADDRESSES: Record<SupportedChainId, Address>;
206
+ /** Wrapped ether: the same predeploy on Base and Base Sepolia. Auctions priced in it trade in plain ETH. */
207
+ declare const WETH_ADDRESSES: Record<SupportedChainId, Address>;
173
208
 
174
209
  /** Smallest share of the raise an auction may commit to Uniswap liquidity (20%). Mirrors TokenAuction.MIN_LIQUIDITY_BPS. */
175
210
  declare const MIN_LIQUIDITY_BPS = 2000;
@@ -229,4 +264,1239 @@ declare function fillPurchase(currentSupply: bigint, requested: bigint, basePric
229
264
  */
230
265
  declare function applySellSlippage(netProceeds: bigint, slippageBps: number): bigint;
231
266
 
232
- export { AUCTION_ADDRESSES, AuctionBuilder, type AuctionConfig, type AuctionData, AuctionFlowSDK, AuctionState, type BuyQuote, DEFAULT_LIQUIDITY_BPS, DEFAULT_SLIPPAGE_BPS, MIN_LIQUIDITY_BPS, type MigrationInfo, PRICE_SCALE, type SellQuote, type SupportedChainId, type TransactionResult, USDC_ADDRESSES, applySellSlippage, applySlippage, calculateBuyCost, calculateBuyQuote, calculateSellProceeds, fillPurchase, formatCurvePrice, maxBuyable, parseCurvePrice, spotPrice };
267
+ declare const tokenAuctionAbi: readonly [{
268
+ readonly type: "constructor";
269
+ readonly inputs: readonly [{
270
+ readonly name: "feeRecipient_";
271
+ readonly type: "address";
272
+ readonly internalType: "address";
273
+ }, {
274
+ readonly name: "defaultFeeBps_";
275
+ readonly type: "uint256";
276
+ readonly internalType: "uint256";
277
+ }, {
278
+ readonly name: "positionManager_";
279
+ readonly type: "address";
280
+ readonly internalType: "contract INonfungiblePositionManager";
281
+ }, {
282
+ readonly name: "weth_";
283
+ readonly type: "address";
284
+ readonly internalType: "contract IWETH9";
285
+ }];
286
+ readonly stateMutability: "nonpayable";
287
+ }, {
288
+ readonly type: "receive";
289
+ readonly stateMutability: "payable";
290
+ }, {
291
+ readonly type: "function";
292
+ readonly name: "MAX_FEE_BPS";
293
+ readonly inputs: readonly [];
294
+ readonly outputs: readonly [{
295
+ readonly name: "";
296
+ readonly type: "uint256";
297
+ readonly internalType: "uint256";
298
+ }];
299
+ readonly stateMutability: "view";
300
+ }, {
301
+ readonly type: "function";
302
+ readonly name: "MAX_LP_FEE_SHARE_BPS";
303
+ readonly inputs: readonly [];
304
+ readonly outputs: readonly [{
305
+ readonly name: "";
306
+ readonly type: "uint256";
307
+ readonly internalType: "uint256";
308
+ }];
309
+ readonly stateMutability: "view";
310
+ }, {
311
+ readonly type: "function";
312
+ readonly name: "MIN_LIQUIDITY_BPS";
313
+ readonly inputs: readonly [];
314
+ readonly outputs: readonly [{
315
+ readonly name: "";
316
+ readonly type: "uint256";
317
+ readonly internalType: "uint256";
318
+ }];
319
+ readonly stateMutability: "view";
320
+ }, {
321
+ readonly type: "function";
322
+ readonly name: "POOL_FEE";
323
+ readonly inputs: readonly [];
324
+ readonly outputs: readonly [{
325
+ readonly name: "";
326
+ readonly type: "uint24";
327
+ readonly internalType: "uint24";
328
+ }];
329
+ readonly stateMutability: "view";
330
+ }, {
331
+ readonly type: "function";
332
+ readonly name: "acceptOwnership";
333
+ readonly inputs: readonly [];
334
+ readonly outputs: readonly [];
335
+ readonly stateMutability: "nonpayable";
336
+ }, {
337
+ readonly type: "function";
338
+ readonly name: "auctionCount";
339
+ readonly inputs: readonly [];
340
+ readonly outputs: readonly [{
341
+ readonly name: "";
342
+ readonly type: "uint256";
343
+ readonly internalType: "uint256";
344
+ }];
345
+ readonly stateMutability: "view";
346
+ }, {
347
+ readonly type: "function";
348
+ readonly name: "auctions";
349
+ readonly inputs: readonly [{
350
+ readonly name: "";
351
+ readonly type: "uint256";
352
+ readonly internalType: "uint256";
353
+ }];
354
+ readonly outputs: readonly [{
355
+ readonly name: "config";
356
+ readonly type: "tuple";
357
+ readonly internalType: "struct TokenAuction.AuctionConfig";
358
+ readonly components: readonly [{
359
+ readonly name: "token";
360
+ readonly type: "address";
361
+ readonly internalType: "contract AuctionToken";
362
+ }, {
363
+ readonly name: "paymentToken";
364
+ readonly type: "address";
365
+ readonly internalType: "contract IERC20";
366
+ }, {
367
+ readonly name: "basePrice";
368
+ readonly type: "uint256";
369
+ readonly internalType: "uint256";
370
+ }, {
371
+ readonly name: "slope";
372
+ readonly type: "uint256";
373
+ readonly internalType: "uint256";
374
+ }, {
375
+ readonly name: "maxRaise";
376
+ readonly type: "uint256";
377
+ readonly internalType: "uint256";
378
+ }, {
379
+ readonly name: "creator";
380
+ readonly type: "address";
381
+ readonly internalType: "address";
382
+ }, {
383
+ readonly name: "protocolFeeBps";
384
+ readonly type: "uint256";
385
+ readonly internalType: "uint256";
386
+ }, {
387
+ readonly name: "liquidityBps";
388
+ readonly type: "uint256";
389
+ readonly internalType: "uint256";
390
+ }, {
391
+ readonly name: "lpFeeShareBps";
392
+ readonly type: "uint256";
393
+ readonly internalType: "uint256";
394
+ }];
395
+ }, {
396
+ readonly name: "state";
397
+ readonly type: "uint8";
398
+ readonly internalType: "enum TokenAuction.AuctionState";
399
+ }, {
400
+ readonly name: "totalRaised";
401
+ readonly type: "uint256";
402
+ readonly internalType: "uint256";
403
+ }, {
404
+ readonly name: "totalSold";
405
+ readonly type: "uint256";
406
+ readonly internalType: "uint256";
407
+ }];
408
+ readonly stateMutability: "view";
409
+ }, {
410
+ readonly type: "function";
411
+ readonly name: "buyTokens";
412
+ readonly inputs: readonly [{
413
+ readonly name: "auctionId";
414
+ readonly type: "uint256";
415
+ readonly internalType: "uint256";
416
+ }, {
417
+ readonly name: "amount";
418
+ readonly type: "uint256";
419
+ readonly internalType: "uint256";
420
+ }, {
421
+ readonly name: "maxCost";
422
+ readonly type: "uint256";
423
+ readonly internalType: "uint256";
424
+ }];
425
+ readonly outputs: readonly [];
426
+ readonly stateMutability: "nonpayable";
427
+ }, {
428
+ readonly type: "function";
429
+ readonly name: "buyTokensWithETH";
430
+ readonly inputs: readonly [{
431
+ readonly name: "auctionId";
432
+ readonly type: "uint256";
433
+ readonly internalType: "uint256";
434
+ }, {
435
+ readonly name: "amount";
436
+ readonly type: "uint256";
437
+ readonly internalType: "uint256";
438
+ }];
439
+ readonly outputs: readonly [];
440
+ readonly stateMutability: "payable";
441
+ }, {
442
+ readonly type: "function";
443
+ readonly name: "claim";
444
+ readonly inputs: readonly [{
445
+ readonly name: "token";
446
+ readonly type: "address";
447
+ readonly internalType: "contract IERC20";
448
+ }];
449
+ readonly outputs: readonly [{
450
+ readonly name: "amount";
451
+ readonly type: "uint256";
452
+ readonly internalType: "uint256";
453
+ }];
454
+ readonly stateMutability: "nonpayable";
455
+ }, {
456
+ readonly type: "function";
457
+ readonly name: "claimProtocolFees";
458
+ readonly inputs: readonly [{
459
+ readonly name: "token";
460
+ readonly type: "address";
461
+ readonly internalType: "contract IERC20";
462
+ }];
463
+ readonly outputs: readonly [{
464
+ readonly name: "amount";
465
+ readonly type: "uint256";
466
+ readonly internalType: "uint256";
467
+ }];
468
+ readonly stateMutability: "nonpayable";
469
+ }, {
470
+ readonly type: "function";
471
+ readonly name: "claimable";
472
+ readonly inputs: readonly [{
473
+ readonly name: "";
474
+ readonly type: "address";
475
+ readonly internalType: "address";
476
+ }, {
477
+ readonly name: "";
478
+ readonly type: "address";
479
+ readonly internalType: "address";
480
+ }];
481
+ readonly outputs: readonly [{
482
+ readonly name: "";
483
+ readonly type: "uint256";
484
+ readonly internalType: "uint256";
485
+ }];
486
+ readonly stateMutability: "view";
487
+ }, {
488
+ readonly type: "function";
489
+ readonly name: "collectFees";
490
+ readonly inputs: readonly [{
491
+ readonly name: "auctionId";
492
+ readonly type: "uint256";
493
+ readonly internalType: "uint256";
494
+ }];
495
+ readonly outputs: readonly [{
496
+ readonly name: "tokenFees";
497
+ readonly type: "uint256";
498
+ readonly internalType: "uint256";
499
+ }, {
500
+ readonly name: "paymentFees";
501
+ readonly type: "uint256";
502
+ readonly internalType: "uint256";
503
+ }];
504
+ readonly stateMutability: "nonpayable";
505
+ }, {
506
+ readonly type: "function";
507
+ readonly name: "createAuction";
508
+ readonly inputs: readonly [{
509
+ readonly name: "p";
510
+ readonly type: "tuple";
511
+ readonly internalType: "struct TokenAuction.AuctionParams";
512
+ readonly components: readonly [{
513
+ readonly name: "name";
514
+ readonly type: "string";
515
+ readonly internalType: "string";
516
+ }, {
517
+ readonly name: "symbol";
518
+ readonly type: "string";
519
+ readonly internalType: "string";
520
+ }, {
521
+ readonly name: "metadataURI";
522
+ readonly type: "string";
523
+ readonly internalType: "string";
524
+ }, {
525
+ readonly name: "maxSupply";
526
+ readonly type: "uint256";
527
+ readonly internalType: "uint256";
528
+ }, {
529
+ readonly name: "paymentToken";
530
+ readonly type: "address";
531
+ readonly internalType: "address";
532
+ }, {
533
+ readonly name: "basePrice";
534
+ readonly type: "uint256";
535
+ readonly internalType: "uint256";
536
+ }, {
537
+ readonly name: "slope";
538
+ readonly type: "uint256";
539
+ readonly internalType: "uint256";
540
+ }, {
541
+ readonly name: "maxRaise";
542
+ readonly type: "uint256";
543
+ readonly internalType: "uint256";
544
+ }, {
545
+ readonly name: "liquidityBps";
546
+ readonly type: "uint256";
547
+ readonly internalType: "uint256";
548
+ }];
549
+ }];
550
+ readonly outputs: readonly [{
551
+ readonly name: "auctionId";
552
+ readonly type: "uint256";
553
+ readonly internalType: "uint256";
554
+ }];
555
+ readonly stateMutability: "nonpayable";
556
+ }, {
557
+ readonly type: "function";
558
+ readonly name: "custodied";
559
+ readonly inputs: readonly [{
560
+ readonly name: "";
561
+ readonly type: "address";
562
+ readonly internalType: "address";
563
+ }];
564
+ readonly outputs: readonly [{
565
+ readonly name: "";
566
+ readonly type: "uint256";
567
+ readonly internalType: "uint256";
568
+ }];
569
+ readonly stateMutability: "view";
570
+ }, {
571
+ readonly type: "function";
572
+ readonly name: "defaultFeeBps";
573
+ readonly inputs: readonly [];
574
+ readonly outputs: readonly [{
575
+ readonly name: "";
576
+ readonly type: "uint256";
577
+ readonly internalType: "uint256";
578
+ }];
579
+ readonly stateMutability: "view";
580
+ }, {
581
+ readonly type: "function";
582
+ readonly name: "defaultLpFeeShareBps";
583
+ readonly inputs: readonly [];
584
+ readonly outputs: readonly [{
585
+ readonly name: "";
586
+ readonly type: "uint256";
587
+ readonly internalType: "uint256";
588
+ }];
589
+ readonly stateMutability: "view";
590
+ }, {
591
+ readonly type: "function";
592
+ readonly name: "getBuyCost";
593
+ readonly inputs: readonly [{
594
+ readonly name: "auctionId";
595
+ readonly type: "uint256";
596
+ readonly internalType: "uint256";
597
+ }, {
598
+ readonly name: "amount";
599
+ readonly type: "uint256";
600
+ readonly internalType: "uint256";
601
+ }];
602
+ readonly outputs: readonly [{
603
+ readonly name: "cost";
604
+ readonly type: "uint256";
605
+ readonly internalType: "uint256";
606
+ }, {
607
+ readonly name: "fee";
608
+ readonly type: "uint256";
609
+ readonly internalType: "uint256";
610
+ }];
611
+ readonly stateMutability: "view";
612
+ }, {
613
+ readonly type: "function";
614
+ readonly name: "getSpotPrice";
615
+ readonly inputs: readonly [{
616
+ readonly name: "auctionId";
617
+ readonly type: "uint256";
618
+ readonly internalType: "uint256";
619
+ }];
620
+ readonly outputs: readonly [{
621
+ readonly name: "";
622
+ readonly type: "uint256";
623
+ readonly internalType: "uint256";
624
+ }];
625
+ readonly stateMutability: "view";
626
+ }, {
627
+ readonly type: "function";
628
+ readonly name: "launch";
629
+ readonly inputs: readonly [{
630
+ readonly name: "name";
631
+ readonly type: "string";
632
+ readonly internalType: "string";
633
+ }, {
634
+ readonly name: "symbol";
635
+ readonly type: "string";
636
+ readonly internalType: "string";
637
+ }, {
638
+ readonly name: "metadataURI";
639
+ readonly type: "string";
640
+ readonly internalType: "string";
641
+ }, {
642
+ readonly name: "paymentToken";
643
+ readonly type: "address";
644
+ readonly internalType: "address";
645
+ }];
646
+ readonly outputs: readonly [{
647
+ readonly name: "auctionId";
648
+ readonly type: "uint256";
649
+ readonly internalType: "uint256";
650
+ }];
651
+ readonly stateMutability: "nonpayable";
652
+ }, {
653
+ readonly type: "function";
654
+ readonly name: "launchPresets";
655
+ readonly inputs: readonly [{
656
+ readonly name: "";
657
+ readonly type: "address";
658
+ readonly internalType: "address";
659
+ }];
660
+ readonly outputs: readonly [{
661
+ readonly name: "paymentToken";
662
+ readonly type: "address";
663
+ readonly internalType: "address";
664
+ }, {
665
+ readonly name: "maxSupply";
666
+ readonly type: "uint256";
667
+ readonly internalType: "uint256";
668
+ }, {
669
+ readonly name: "basePrice";
670
+ readonly type: "uint256";
671
+ readonly internalType: "uint256";
672
+ }, {
673
+ readonly name: "slope";
674
+ readonly type: "uint256";
675
+ readonly internalType: "uint256";
676
+ }, {
677
+ readonly name: "maxRaise";
678
+ readonly type: "uint256";
679
+ readonly internalType: "uint256";
680
+ }, {
681
+ readonly name: "liquidityBps";
682
+ readonly type: "uint256";
683
+ readonly internalType: "uint256";
684
+ }];
685
+ readonly stateMutability: "view";
686
+ }, {
687
+ readonly type: "function";
688
+ readonly name: "migrate";
689
+ readonly inputs: readonly [{
690
+ readonly name: "auctionId";
691
+ readonly type: "uint256";
692
+ readonly internalType: "uint256";
693
+ }];
694
+ readonly outputs: readonly [];
695
+ readonly stateMutability: "nonpayable";
696
+ }, {
697
+ readonly type: "function";
698
+ readonly name: "owner";
699
+ readonly inputs: readonly [];
700
+ readonly outputs: readonly [{
701
+ readonly name: "";
702
+ readonly type: "address";
703
+ readonly internalType: "address";
704
+ }];
705
+ readonly stateMutability: "view";
706
+ }, {
707
+ readonly type: "function";
708
+ readonly name: "pause";
709
+ readonly inputs: readonly [];
710
+ readonly outputs: readonly [];
711
+ readonly stateMutability: "nonpayable";
712
+ }, {
713
+ readonly type: "function";
714
+ readonly name: "paused";
715
+ readonly inputs: readonly [];
716
+ readonly outputs: readonly [{
717
+ readonly name: "";
718
+ readonly type: "bool";
719
+ readonly internalType: "bool";
720
+ }];
721
+ readonly stateMutability: "view";
722
+ }, {
723
+ readonly type: "function";
724
+ readonly name: "paymentTokenAllowed";
725
+ readonly inputs: readonly [{
726
+ readonly name: "";
727
+ readonly type: "address";
728
+ readonly internalType: "address";
729
+ }];
730
+ readonly outputs: readonly [{
731
+ readonly name: "";
732
+ readonly type: "bool";
733
+ readonly internalType: "bool";
734
+ }];
735
+ readonly stateMutability: "view";
736
+ }, {
737
+ readonly type: "function";
738
+ readonly name: "pendingOwner";
739
+ readonly inputs: readonly [];
740
+ readonly outputs: readonly [{
741
+ readonly name: "";
742
+ readonly type: "address";
743
+ readonly internalType: "address";
744
+ }];
745
+ readonly stateMutability: "view";
746
+ }, {
747
+ readonly type: "function";
748
+ readonly name: "poolOf";
749
+ readonly inputs: readonly [{
750
+ readonly name: "";
751
+ readonly type: "uint256";
752
+ readonly internalType: "uint256";
753
+ }];
754
+ readonly outputs: readonly [{
755
+ readonly name: "";
756
+ readonly type: "address";
757
+ readonly internalType: "address";
758
+ }];
759
+ readonly stateMutability: "view";
760
+ }, {
761
+ readonly type: "function";
762
+ readonly name: "positionId";
763
+ readonly inputs: readonly [{
764
+ readonly name: "";
765
+ readonly type: "uint256";
766
+ readonly internalType: "uint256";
767
+ }];
768
+ readonly outputs: readonly [{
769
+ readonly name: "";
770
+ readonly type: "uint256";
771
+ readonly internalType: "uint256";
772
+ }];
773
+ readonly stateMutability: "view";
774
+ }, {
775
+ readonly type: "function";
776
+ readonly name: "positionManager";
777
+ readonly inputs: readonly [];
778
+ readonly outputs: readonly [{
779
+ readonly name: "";
780
+ readonly type: "address";
781
+ readonly internalType: "contract INonfungiblePositionManager";
782
+ }];
783
+ readonly stateMutability: "view";
784
+ }, {
785
+ readonly type: "function";
786
+ readonly name: "proceedsWithdrawn";
787
+ readonly inputs: readonly [{
788
+ readonly name: "";
789
+ readonly type: "uint256";
790
+ readonly internalType: "uint256";
791
+ }];
792
+ readonly outputs: readonly [{
793
+ readonly name: "";
794
+ readonly type: "bool";
795
+ readonly internalType: "bool";
796
+ }];
797
+ readonly stateMutability: "view";
798
+ }, {
799
+ readonly type: "function";
800
+ readonly name: "protocolFeeRecipient";
801
+ readonly inputs: readonly [];
802
+ readonly outputs: readonly [{
803
+ readonly name: "";
804
+ readonly type: "address";
805
+ readonly internalType: "address";
806
+ }];
807
+ readonly stateMutability: "view";
808
+ }, {
809
+ readonly type: "function";
810
+ readonly name: "protocolFees";
811
+ readonly inputs: readonly [{
812
+ readonly name: "";
813
+ readonly type: "address";
814
+ readonly internalType: "address";
815
+ }];
816
+ readonly outputs: readonly [{
817
+ readonly name: "";
818
+ readonly type: "uint256";
819
+ readonly internalType: "uint256";
820
+ }];
821
+ readonly stateMutability: "view";
822
+ }, {
823
+ readonly type: "function";
824
+ readonly name: "renounceOwnership";
825
+ readonly inputs: readonly [];
826
+ readonly outputs: readonly [];
827
+ readonly stateMutability: "nonpayable";
828
+ }, {
829
+ readonly type: "function";
830
+ readonly name: "sellTokens";
831
+ readonly inputs: readonly [{
832
+ readonly name: "auctionId";
833
+ readonly type: "uint256";
834
+ readonly internalType: "uint256";
835
+ }, {
836
+ readonly name: "amount";
837
+ readonly type: "uint256";
838
+ readonly internalType: "uint256";
839
+ }, {
840
+ readonly name: "minProceeds";
841
+ readonly type: "uint256";
842
+ readonly internalType: "uint256";
843
+ }];
844
+ readonly outputs: readonly [];
845
+ readonly stateMutability: "nonpayable";
846
+ }, {
847
+ readonly type: "function";
848
+ readonly name: "sellTokensForETH";
849
+ readonly inputs: readonly [{
850
+ readonly name: "auctionId";
851
+ readonly type: "uint256";
852
+ readonly internalType: "uint256";
853
+ }, {
854
+ readonly name: "amount";
855
+ readonly type: "uint256";
856
+ readonly internalType: "uint256";
857
+ }, {
858
+ readonly name: "minProceeds";
859
+ readonly type: "uint256";
860
+ readonly internalType: "uint256";
861
+ }];
862
+ readonly outputs: readonly [];
863
+ readonly stateMutability: "nonpayable";
864
+ }, {
865
+ readonly type: "function";
866
+ readonly name: "setDefaultFeeBps";
867
+ readonly inputs: readonly [{
868
+ readonly name: "feeBps";
869
+ readonly type: "uint256";
870
+ readonly internalType: "uint256";
871
+ }];
872
+ readonly outputs: readonly [];
873
+ readonly stateMutability: "nonpayable";
874
+ }, {
875
+ readonly type: "function";
876
+ readonly name: "setDefaultLpFeeShareBps";
877
+ readonly inputs: readonly [{
878
+ readonly name: "shareBps";
879
+ readonly type: "uint256";
880
+ readonly internalType: "uint256";
881
+ }];
882
+ readonly outputs: readonly [];
883
+ readonly stateMutability: "nonpayable";
884
+ }, {
885
+ readonly type: "function";
886
+ readonly name: "setLaunchPreset";
887
+ readonly inputs: readonly [{
888
+ readonly name: "preset";
889
+ readonly type: "tuple";
890
+ readonly internalType: "struct TokenAuction.LaunchPreset";
891
+ readonly components: readonly [{
892
+ readonly name: "paymentToken";
893
+ readonly type: "address";
894
+ readonly internalType: "address";
895
+ }, {
896
+ readonly name: "maxSupply";
897
+ readonly type: "uint256";
898
+ readonly internalType: "uint256";
899
+ }, {
900
+ readonly name: "basePrice";
901
+ readonly type: "uint256";
902
+ readonly internalType: "uint256";
903
+ }, {
904
+ readonly name: "slope";
905
+ readonly type: "uint256";
906
+ readonly internalType: "uint256";
907
+ }, {
908
+ readonly name: "maxRaise";
909
+ readonly type: "uint256";
910
+ readonly internalType: "uint256";
911
+ }, {
912
+ readonly name: "liquidityBps";
913
+ readonly type: "uint256";
914
+ readonly internalType: "uint256";
915
+ }];
916
+ }];
917
+ readonly outputs: readonly [];
918
+ readonly stateMutability: "nonpayable";
919
+ }, {
920
+ readonly type: "function";
921
+ readonly name: "setPaymentTokenAllowed";
922
+ readonly inputs: readonly [{
923
+ readonly name: "token";
924
+ readonly type: "address";
925
+ readonly internalType: "address";
926
+ }, {
927
+ readonly name: "allowed";
928
+ readonly type: "bool";
929
+ readonly internalType: "bool";
930
+ }];
931
+ readonly outputs: readonly [];
932
+ readonly stateMutability: "nonpayable";
933
+ }, {
934
+ readonly type: "function";
935
+ readonly name: "setProtocolFeeRecipient";
936
+ readonly inputs: readonly [{
937
+ readonly name: "recipient";
938
+ readonly type: "address";
939
+ readonly internalType: "address";
940
+ }];
941
+ readonly outputs: readonly [];
942
+ readonly stateMutability: "nonpayable";
943
+ }, {
944
+ readonly type: "function";
945
+ readonly name: "sweep";
946
+ readonly inputs: readonly [{
947
+ readonly name: "token";
948
+ readonly type: "address";
949
+ readonly internalType: "contract IERC20";
950
+ }, {
951
+ readonly name: "to";
952
+ readonly type: "address";
953
+ readonly internalType: "address";
954
+ }];
955
+ readonly outputs: readonly [];
956
+ readonly stateMutability: "nonpayable";
957
+ }, {
958
+ readonly type: "function";
959
+ readonly name: "transferOwnership";
960
+ readonly inputs: readonly [{
961
+ readonly name: "newOwner";
962
+ readonly type: "address";
963
+ readonly internalType: "address";
964
+ }];
965
+ readonly outputs: readonly [];
966
+ readonly stateMutability: "nonpayable";
967
+ }, {
968
+ readonly type: "function";
969
+ readonly name: "uniswapV3SwapCallback";
970
+ readonly inputs: readonly [{
971
+ readonly name: "amount0Delta";
972
+ readonly type: "int256";
973
+ readonly internalType: "int256";
974
+ }, {
975
+ readonly name: "amount1Delta";
976
+ readonly type: "int256";
977
+ readonly internalType: "int256";
978
+ }, {
979
+ readonly name: "data";
980
+ readonly type: "bytes";
981
+ readonly internalType: "bytes";
982
+ }];
983
+ readonly outputs: readonly [];
984
+ readonly stateMutability: "nonpayable";
985
+ }, {
986
+ readonly type: "function";
987
+ readonly name: "unpause";
988
+ readonly inputs: readonly [];
989
+ readonly outputs: readonly [];
990
+ readonly stateMutability: "nonpayable";
991
+ }, {
992
+ readonly type: "function";
993
+ readonly name: "userPurchases";
994
+ readonly inputs: readonly [{
995
+ readonly name: "";
996
+ readonly type: "uint256";
997
+ readonly internalType: "uint256";
998
+ }, {
999
+ readonly name: "";
1000
+ readonly type: "address";
1001
+ readonly internalType: "address";
1002
+ }];
1003
+ readonly outputs: readonly [{
1004
+ readonly name: "";
1005
+ readonly type: "uint256";
1006
+ readonly internalType: "uint256";
1007
+ }];
1008
+ readonly stateMutability: "view";
1009
+ }, {
1010
+ readonly type: "function";
1011
+ readonly name: "weth";
1012
+ readonly inputs: readonly [];
1013
+ readonly outputs: readonly [{
1014
+ readonly name: "";
1015
+ readonly type: "address";
1016
+ readonly internalType: "contract IWETH9";
1017
+ }];
1018
+ readonly stateMutability: "view";
1019
+ }, {
1020
+ readonly type: "function";
1021
+ readonly name: "withdrawProceeds";
1022
+ readonly inputs: readonly [{
1023
+ readonly name: "auctionId";
1024
+ readonly type: "uint256";
1025
+ readonly internalType: "uint256";
1026
+ }];
1027
+ readonly outputs: readonly [];
1028
+ readonly stateMutability: "nonpayable";
1029
+ }, {
1030
+ readonly type: "event";
1031
+ readonly name: "AuctionCompleted";
1032
+ readonly inputs: readonly [{
1033
+ readonly name: "auctionId";
1034
+ readonly type: "uint256";
1035
+ readonly indexed: true;
1036
+ readonly internalType: "uint256";
1037
+ }, {
1038
+ readonly name: "totalRaised";
1039
+ readonly type: "uint256";
1040
+ readonly indexed: false;
1041
+ readonly internalType: "uint256";
1042
+ }, {
1043
+ readonly name: "totalSold";
1044
+ readonly type: "uint256";
1045
+ readonly indexed: false;
1046
+ readonly internalType: "uint256";
1047
+ }];
1048
+ readonly anonymous: false;
1049
+ }, {
1050
+ readonly type: "event";
1051
+ readonly name: "AuctionCreated";
1052
+ readonly inputs: readonly [{
1053
+ readonly name: "auctionId";
1054
+ readonly type: "uint256";
1055
+ readonly indexed: true;
1056
+ readonly internalType: "uint256";
1057
+ }, {
1058
+ readonly name: "creator";
1059
+ readonly type: "address";
1060
+ readonly indexed: true;
1061
+ readonly internalType: "address";
1062
+ }, {
1063
+ readonly name: "token";
1064
+ readonly type: "address";
1065
+ readonly indexed: false;
1066
+ readonly internalType: "address";
1067
+ }, {
1068
+ readonly name: "paymentToken";
1069
+ readonly type: "address";
1070
+ readonly indexed: false;
1071
+ readonly internalType: "address";
1072
+ }, {
1073
+ readonly name: "basePrice";
1074
+ readonly type: "uint256";
1075
+ readonly indexed: false;
1076
+ readonly internalType: "uint256";
1077
+ }, {
1078
+ readonly name: "slope";
1079
+ readonly type: "uint256";
1080
+ readonly indexed: false;
1081
+ readonly internalType: "uint256";
1082
+ }, {
1083
+ readonly name: "maxRaise";
1084
+ readonly type: "uint256";
1085
+ readonly indexed: false;
1086
+ readonly internalType: "uint256";
1087
+ }, {
1088
+ readonly name: "liquidityBps";
1089
+ readonly type: "uint256";
1090
+ readonly indexed: false;
1091
+ readonly internalType: "uint256";
1092
+ }, {
1093
+ readonly name: "metadataURI";
1094
+ readonly type: "string";
1095
+ readonly indexed: false;
1096
+ readonly internalType: "string";
1097
+ }];
1098
+ readonly anonymous: false;
1099
+ }, {
1100
+ readonly type: "event";
1101
+ readonly name: "AuctionMigrated";
1102
+ readonly inputs: readonly [{
1103
+ readonly name: "auctionId";
1104
+ readonly type: "uint256";
1105
+ readonly indexed: true;
1106
+ readonly internalType: "uint256";
1107
+ }, {
1108
+ readonly name: "pool";
1109
+ readonly type: "address";
1110
+ readonly indexed: false;
1111
+ readonly internalType: "address";
1112
+ }, {
1113
+ readonly name: "positionId";
1114
+ readonly type: "uint256";
1115
+ readonly indexed: false;
1116
+ readonly internalType: "uint256";
1117
+ }, {
1118
+ readonly name: "tokenLiquidity";
1119
+ readonly type: "uint256";
1120
+ readonly indexed: false;
1121
+ readonly internalType: "uint256";
1122
+ }, {
1123
+ readonly name: "paymentLiquidity";
1124
+ readonly type: "uint256";
1125
+ readonly indexed: false;
1126
+ readonly internalType: "uint256";
1127
+ }];
1128
+ readonly anonymous: false;
1129
+ }, {
1130
+ readonly type: "event";
1131
+ readonly name: "Claimed";
1132
+ readonly inputs: readonly [{
1133
+ readonly name: "token";
1134
+ readonly type: "address";
1135
+ readonly indexed: true;
1136
+ readonly internalType: "address";
1137
+ }, {
1138
+ readonly name: "account";
1139
+ readonly type: "address";
1140
+ readonly indexed: true;
1141
+ readonly internalType: "address";
1142
+ }, {
1143
+ readonly name: "amount";
1144
+ readonly type: "uint256";
1145
+ readonly indexed: false;
1146
+ readonly internalType: "uint256";
1147
+ }];
1148
+ readonly anonymous: false;
1149
+ }, {
1150
+ readonly type: "event";
1151
+ readonly name: "DefaultFeeBpsUpdated";
1152
+ readonly inputs: readonly [{
1153
+ readonly name: "previous";
1154
+ readonly type: "uint256";
1155
+ readonly indexed: false;
1156
+ readonly internalType: "uint256";
1157
+ }, {
1158
+ readonly name: "current";
1159
+ readonly type: "uint256";
1160
+ readonly indexed: false;
1161
+ readonly internalType: "uint256";
1162
+ }];
1163
+ readonly anonymous: false;
1164
+ }, {
1165
+ readonly type: "event";
1166
+ readonly name: "DefaultLpFeeShareBpsUpdated";
1167
+ readonly inputs: readonly [{
1168
+ readonly name: "previous";
1169
+ readonly type: "uint256";
1170
+ readonly indexed: false;
1171
+ readonly internalType: "uint256";
1172
+ }, {
1173
+ readonly name: "current";
1174
+ readonly type: "uint256";
1175
+ readonly indexed: false;
1176
+ readonly internalType: "uint256";
1177
+ }];
1178
+ readonly anonymous: false;
1179
+ }, {
1180
+ readonly type: "event";
1181
+ readonly name: "LaunchPresetUpdated";
1182
+ readonly inputs: readonly [{
1183
+ readonly name: "paymentToken";
1184
+ readonly type: "address";
1185
+ readonly indexed: false;
1186
+ readonly internalType: "address";
1187
+ }, {
1188
+ readonly name: "maxSupply";
1189
+ readonly type: "uint256";
1190
+ readonly indexed: false;
1191
+ readonly internalType: "uint256";
1192
+ }, {
1193
+ readonly name: "basePrice";
1194
+ readonly type: "uint256";
1195
+ readonly indexed: false;
1196
+ readonly internalType: "uint256";
1197
+ }, {
1198
+ readonly name: "slope";
1199
+ readonly type: "uint256";
1200
+ readonly indexed: false;
1201
+ readonly internalType: "uint256";
1202
+ }, {
1203
+ readonly name: "maxRaise";
1204
+ readonly type: "uint256";
1205
+ readonly indexed: false;
1206
+ readonly internalType: "uint256";
1207
+ }, {
1208
+ readonly name: "liquidityBps";
1209
+ readonly type: "uint256";
1210
+ readonly indexed: false;
1211
+ readonly internalType: "uint256";
1212
+ }];
1213
+ readonly anonymous: false;
1214
+ }, {
1215
+ readonly type: "event";
1216
+ readonly name: "LpFeesCollected";
1217
+ readonly inputs: readonly [{
1218
+ readonly name: "auctionId";
1219
+ readonly type: "uint256";
1220
+ readonly indexed: true;
1221
+ readonly internalType: "uint256";
1222
+ }, {
1223
+ readonly name: "creatorTokenFees";
1224
+ readonly type: "uint256";
1225
+ readonly indexed: false;
1226
+ readonly internalType: "uint256";
1227
+ }, {
1228
+ readonly name: "creatorPaymentFees";
1229
+ readonly type: "uint256";
1230
+ readonly indexed: false;
1231
+ readonly internalType: "uint256";
1232
+ }, {
1233
+ readonly name: "protocolTokenFees";
1234
+ readonly type: "uint256";
1235
+ readonly indexed: false;
1236
+ readonly internalType: "uint256";
1237
+ }, {
1238
+ readonly name: "protocolPaymentFees";
1239
+ readonly type: "uint256";
1240
+ readonly indexed: false;
1241
+ readonly internalType: "uint256";
1242
+ }];
1243
+ readonly anonymous: false;
1244
+ }, {
1245
+ readonly type: "event";
1246
+ readonly name: "OwnershipTransferStarted";
1247
+ readonly inputs: readonly [{
1248
+ readonly name: "previousOwner";
1249
+ readonly type: "address";
1250
+ readonly indexed: true;
1251
+ readonly internalType: "address";
1252
+ }, {
1253
+ readonly name: "newOwner";
1254
+ readonly type: "address";
1255
+ readonly indexed: true;
1256
+ readonly internalType: "address";
1257
+ }];
1258
+ readonly anonymous: false;
1259
+ }, {
1260
+ readonly type: "event";
1261
+ readonly name: "OwnershipTransferred";
1262
+ readonly inputs: readonly [{
1263
+ readonly name: "previousOwner";
1264
+ readonly type: "address";
1265
+ readonly indexed: true;
1266
+ readonly internalType: "address";
1267
+ }, {
1268
+ readonly name: "newOwner";
1269
+ readonly type: "address";
1270
+ readonly indexed: true;
1271
+ readonly internalType: "address";
1272
+ }];
1273
+ readonly anonymous: false;
1274
+ }, {
1275
+ readonly type: "event";
1276
+ readonly name: "Paused";
1277
+ readonly inputs: readonly [{
1278
+ readonly name: "account";
1279
+ readonly type: "address";
1280
+ readonly indexed: false;
1281
+ readonly internalType: "address";
1282
+ }];
1283
+ readonly anonymous: false;
1284
+ }, {
1285
+ readonly type: "event";
1286
+ readonly name: "PaymentTokenAllowedUpdated";
1287
+ readonly inputs: readonly [{
1288
+ readonly name: "token";
1289
+ readonly type: "address";
1290
+ readonly indexed: true;
1291
+ readonly internalType: "address";
1292
+ }, {
1293
+ readonly name: "allowed";
1294
+ readonly type: "bool";
1295
+ readonly indexed: false;
1296
+ readonly internalType: "bool";
1297
+ }];
1298
+ readonly anonymous: false;
1299
+ }, {
1300
+ readonly type: "event";
1301
+ readonly name: "ProceedsWithdrawn";
1302
+ readonly inputs: readonly [{
1303
+ readonly name: "auctionId";
1304
+ readonly type: "uint256";
1305
+ readonly indexed: true;
1306
+ readonly internalType: "uint256";
1307
+ }, {
1308
+ readonly name: "creator";
1309
+ readonly type: "address";
1310
+ readonly indexed: true;
1311
+ readonly internalType: "address";
1312
+ }, {
1313
+ readonly name: "amount";
1314
+ readonly type: "uint256";
1315
+ readonly indexed: false;
1316
+ readonly internalType: "uint256";
1317
+ }];
1318
+ readonly anonymous: false;
1319
+ }, {
1320
+ readonly type: "event";
1321
+ readonly name: "ProtocolFeeRecipientUpdated";
1322
+ readonly inputs: readonly [{
1323
+ readonly name: "previous";
1324
+ readonly type: "address";
1325
+ readonly indexed: true;
1326
+ readonly internalType: "address";
1327
+ }, {
1328
+ readonly name: "current";
1329
+ readonly type: "address";
1330
+ readonly indexed: true;
1331
+ readonly internalType: "address";
1332
+ }];
1333
+ readonly anonymous: false;
1334
+ }, {
1335
+ readonly type: "event";
1336
+ readonly name: "ProtocolFeesClaimed";
1337
+ readonly inputs: readonly [{
1338
+ readonly name: "token";
1339
+ readonly type: "address";
1340
+ readonly indexed: true;
1341
+ readonly internalType: "address";
1342
+ }, {
1343
+ readonly name: "recipient";
1344
+ readonly type: "address";
1345
+ readonly indexed: true;
1346
+ readonly internalType: "address";
1347
+ }, {
1348
+ readonly name: "amount";
1349
+ readonly type: "uint256";
1350
+ readonly indexed: false;
1351
+ readonly internalType: "uint256";
1352
+ }];
1353
+ readonly anonymous: false;
1354
+ }, {
1355
+ readonly type: "event";
1356
+ readonly name: "Swept";
1357
+ readonly inputs: readonly [{
1358
+ readonly name: "token";
1359
+ readonly type: "address";
1360
+ readonly indexed: true;
1361
+ readonly internalType: "address";
1362
+ }, {
1363
+ readonly name: "to";
1364
+ readonly type: "address";
1365
+ readonly indexed: true;
1366
+ readonly internalType: "address";
1367
+ }, {
1368
+ readonly name: "amount";
1369
+ readonly type: "uint256";
1370
+ readonly indexed: false;
1371
+ readonly internalType: "uint256";
1372
+ }];
1373
+ readonly anonymous: false;
1374
+ }, {
1375
+ readonly type: "event";
1376
+ readonly name: "TokensPurchased";
1377
+ readonly inputs: readonly [{
1378
+ readonly name: "auctionId";
1379
+ readonly type: "uint256";
1380
+ readonly indexed: true;
1381
+ readonly internalType: "uint256";
1382
+ }, {
1383
+ readonly name: "buyer";
1384
+ readonly type: "address";
1385
+ readonly indexed: true;
1386
+ readonly internalType: "address";
1387
+ }, {
1388
+ readonly name: "amount";
1389
+ readonly type: "uint256";
1390
+ readonly indexed: false;
1391
+ readonly internalType: "uint256";
1392
+ }, {
1393
+ readonly name: "cost";
1394
+ readonly type: "uint256";
1395
+ readonly indexed: false;
1396
+ readonly internalType: "uint256";
1397
+ }, {
1398
+ readonly name: "protocolFee";
1399
+ readonly type: "uint256";
1400
+ readonly indexed: false;
1401
+ readonly internalType: "uint256";
1402
+ }, {
1403
+ readonly name: "newTotalRaised";
1404
+ readonly type: "uint256";
1405
+ readonly indexed: false;
1406
+ readonly internalType: "uint256";
1407
+ }, {
1408
+ readonly name: "newTotalSold";
1409
+ readonly type: "uint256";
1410
+ readonly indexed: false;
1411
+ readonly internalType: "uint256";
1412
+ }];
1413
+ readonly anonymous: false;
1414
+ }, {
1415
+ readonly type: "event";
1416
+ readonly name: "TokensSold";
1417
+ readonly inputs: readonly [{
1418
+ readonly name: "auctionId";
1419
+ readonly type: "uint256";
1420
+ readonly indexed: true;
1421
+ readonly internalType: "uint256";
1422
+ }, {
1423
+ readonly name: "seller";
1424
+ readonly type: "address";
1425
+ readonly indexed: true;
1426
+ readonly internalType: "address";
1427
+ }, {
1428
+ readonly name: "amount";
1429
+ readonly type: "uint256";
1430
+ readonly indexed: false;
1431
+ readonly internalType: "uint256";
1432
+ }, {
1433
+ readonly name: "proceeds";
1434
+ readonly type: "uint256";
1435
+ readonly indexed: false;
1436
+ readonly internalType: "uint256";
1437
+ }, {
1438
+ readonly name: "protocolFee";
1439
+ readonly type: "uint256";
1440
+ readonly indexed: false;
1441
+ readonly internalType: "uint256";
1442
+ }, {
1443
+ readonly name: "newTotalRaised";
1444
+ readonly type: "uint256";
1445
+ readonly indexed: false;
1446
+ readonly internalType: "uint256";
1447
+ }, {
1448
+ readonly name: "newTotalSold";
1449
+ readonly type: "uint256";
1450
+ readonly indexed: false;
1451
+ readonly internalType: "uint256";
1452
+ }];
1453
+ readonly anonymous: false;
1454
+ }, {
1455
+ readonly type: "event";
1456
+ readonly name: "Unpaused";
1457
+ readonly inputs: readonly [{
1458
+ readonly name: "account";
1459
+ readonly type: "address";
1460
+ readonly indexed: false;
1461
+ readonly internalType: "address";
1462
+ }];
1463
+ readonly anonymous: false;
1464
+ }, {
1465
+ readonly type: "error";
1466
+ readonly name: "EnforcedPause";
1467
+ readonly inputs: readonly [];
1468
+ }, {
1469
+ readonly type: "error";
1470
+ readonly name: "ExpectedPause";
1471
+ readonly inputs: readonly [];
1472
+ }, {
1473
+ readonly type: "error";
1474
+ readonly name: "OwnableInvalidOwner";
1475
+ readonly inputs: readonly [{
1476
+ readonly name: "owner";
1477
+ readonly type: "address";
1478
+ readonly internalType: "address";
1479
+ }];
1480
+ }, {
1481
+ readonly type: "error";
1482
+ readonly name: "OwnableUnauthorizedAccount";
1483
+ readonly inputs: readonly [{
1484
+ readonly name: "account";
1485
+ readonly type: "address";
1486
+ readonly internalType: "address";
1487
+ }];
1488
+ }, {
1489
+ readonly type: "error";
1490
+ readonly name: "ReentrancyGuardReentrantCall";
1491
+ readonly inputs: readonly [];
1492
+ }, {
1493
+ readonly type: "error";
1494
+ readonly name: "SafeERC20FailedOperation";
1495
+ readonly inputs: readonly [{
1496
+ readonly name: "token";
1497
+ readonly type: "address";
1498
+ readonly internalType: "address";
1499
+ }];
1500
+ }];
1501
+
1502
+ export { AUCTION_ADDRESSES, AuctionBuilder, type AuctionConfig, type AuctionData, AuctionFlowSDK, AuctionState, type BuyQuote, DEFAULT_LIQUIDITY_BPS, DEFAULT_SLIPPAGE_BPS, type LaunchPreset, MIN_LIQUIDITY_BPS, type MigrationInfo, PRICE_SCALE, type SellQuote, type SupportedChainId, type TransactionResult, USDC_ADDRESSES, WETH_ADDRESSES, applySellSlippage, applySlippage, calculateBuyCost, calculateBuyQuote, calculateSellProceeds, fillPurchase, formatCurvePrice, maxBuyable, parseCurvePrice, spotPrice, tokenAuctionAbi };