@flaunch/sdk 0.8.1 → 0.8.2

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.cjs.js CHANGED
@@ -5325,10 +5325,35 @@ const FlaunchPositionManagerV1_1Address = {
5325
5325
  [baseSepolia.id]: "0x24347e0dd16357059abfc1b321df354873552fdc",
5326
5326
  };
5327
5327
  const AnyPositionManagerAddress = {
5328
- // TODO: update with actual address
5329
- [base.id]: viem.zeroAddress,
5328
+ [base.id]: "0x8DC3b85e1dc1C846ebf3971179a751896842e5dC",
5330
5329
  [baseSepolia.id]: "0xB4A535B9D35851972736495CC52FBfDaCF32e5dc",
5331
5330
  };
5331
+ /** Verifiers */
5332
+ const TokenImporterAddress = {
5333
+ [base.id]: "0xb47af90ae61bc916ea4b4bacffae4570e7435842",
5334
+ [baseSepolia.id]: "0xb4955a396ef07c124a59164c30d63e96a103a98b",
5335
+ };
5336
+ const ClankerWorldVerifierAddress = {
5337
+ [base.id]: "0xf6ddfcb093be0cd0c015590cb6c5127d9ff2a20b",
5338
+ [baseSepolia.id]: "0x2874f9a30348acaaad55d74b0bec9c18f04b471a",
5339
+ };
5340
+ const DopplerVerifierAddress = {
5341
+ [base.id]: "0xedd66b080b8e9425c39d349a3fb69f480580f993",
5342
+ [baseSepolia.id]: "0x6428b5C4da36ecB070aBdcB5E1939244A3cC7fb5",
5343
+ };
5344
+ const VirtualsVerifierAddress = {
5345
+ [base.id]: "0x06a089fa231aca48d2aa77365123ad9aca43d3a4",
5346
+ [baseSepolia.id]: "0x6582d2bc6a7eba3b40bdf46b3868fc7ec2ff96ec",
5347
+ };
5348
+ const WhitelistVerifierAddress = {
5349
+ [base.id]: "0x7a04367563a65db574d6b7d084fdbcf4a570c5a6",
5350
+ [baseSepolia.id]: "0xfde5b79e3e2814edd5f91e8694ae400954d9cfaa",
5351
+ };
5352
+ const ZoraVerifierAddress = {
5353
+ [base.id]: "0x656047fd43d2c3a121f2ef859d7171d7dd59f8b9",
5354
+ [baseSepolia.id]: "0x05a5763e9199b88bb591c6b112d0424b2cd7a99e",
5355
+ };
5356
+ /** ======== */
5332
5357
  const FeeEscrowAddress = {
5333
5358
  [base.id]: "0x72e6f7948b1B1A343B477F39aAbd2E35E6D27dde",
5334
5359
  [baseSepolia.id]: "0x73E27908b7d35A9251a54799A8ef4C17e4ED9FF9",
@@ -5364,8 +5389,7 @@ const FlaunchV1_1Address = {
5364
5389
  [baseSepolia.id]: "0x96be8ff5e244294a34bfa507a39190dc7a839baa",
5365
5390
  };
5366
5391
  const AnyFlaunchAddress = {
5367
- // FIXME: update with actual address
5368
- [base.id]: viem.zeroAddress,
5392
+ [base.id]: "0xc5B2E8F197407263F4B62a35C71bFc394ecF95D5",
5369
5393
  [baseSepolia.id]: "0x67Ee6C83956a75f67bD3Fc8Ca4080D95a145c7C9",
5370
5394
  };
5371
5395
  const BidWallAddress = {
@@ -5378,8 +5402,7 @@ const BidWallV1_1Address = {
5378
5402
  [baseSepolia.id]: "0x6f2fa01a05ff8b6efbfefd91a3b85aaf19265a00",
5379
5403
  };
5380
5404
  const AnyBidWallAddress = {
5381
- // FIXME: update with actual address
5382
- [base.id]: viem.zeroAddress,
5405
+ [base.id]: "0x2154c604df568A5285284D1c4918DC98C39240df",
5383
5406
  [baseSepolia.id]: "0xcfF222eA42E43F46A98755db237E4c9C2CA9B772",
5384
5407
  };
5385
5408
  const FastFlaunchZapAddress = {
@@ -12939,6 +12962,17 @@ class ReadWriteFlaunchZap extends ReadFlaunchZap {
12939
12962
  initialPriceParams,
12940
12963
  slippagePercent: 5,
12941
12964
  });
12965
+ const _treasuryManagerParams = params.treasuryManagerParams
12966
+ ? {
12967
+ manager: params.treasuryManagerParams.manager ?? viem.zeroAddress,
12968
+ initializeData: params.treasuryManagerParams.initializeData ?? "0x",
12969
+ depositData: params.treasuryManagerParams.depositData ?? "0x",
12970
+ }
12971
+ : {
12972
+ manager: viem.zeroAddress,
12973
+ initializeData: "0x",
12974
+ depositData: "0x",
12975
+ };
12942
12976
  return this.contract.write("flaunch", {
12943
12977
  _flaunchParams: {
12944
12978
  name: params.name,
@@ -12953,11 +12987,7 @@ class ReadWriteFlaunchZap extends ReadFlaunchZap {
12953
12987
  initialPriceParams,
12954
12988
  feeCalculatorParams: "0x",
12955
12989
  },
12956
- _treasuryManagerParams: {
12957
- manager: viem.zeroAddress,
12958
- initializeData: "0x",
12959
- depositData: "0x",
12960
- },
12990
+ _treasuryManagerParams,
12961
12991
  _whitelistParams: {
12962
12992
  merkleRoot: viem.zeroHash,
12963
12993
  merkleIPFSHash: "",
@@ -17115,6 +17145,382 @@ class ReadWriteAnyPositionManager extends ReadAnyPositionManager {
17115
17145
  }
17116
17146
  }
17117
17147
 
17148
+ const TokenImporterAbi = [
17149
+ {
17150
+ type: "constructor",
17151
+ inputs: [
17152
+ {
17153
+ name: "_anyPositionManager",
17154
+ type: "address",
17155
+ internalType: "address payable",
17156
+ },
17157
+ ],
17158
+ stateMutability: "nonpayable",
17159
+ },
17160
+ {
17161
+ type: "function",
17162
+ name: "addVerifier",
17163
+ inputs: [{ name: "_verifier", type: "address", internalType: "address" }],
17164
+ outputs: [],
17165
+ stateMutability: "nonpayable",
17166
+ },
17167
+ {
17168
+ type: "function",
17169
+ name: "anyPositionManager",
17170
+ inputs: [],
17171
+ outputs: [
17172
+ {
17173
+ name: "",
17174
+ type: "address",
17175
+ internalType: "contract AnyPositionManager",
17176
+ },
17177
+ ],
17178
+ stateMutability: "view",
17179
+ },
17180
+ {
17181
+ type: "function",
17182
+ name: "cancelOwnershipHandover",
17183
+ inputs: [],
17184
+ outputs: [],
17185
+ stateMutability: "payable",
17186
+ },
17187
+ {
17188
+ type: "function",
17189
+ name: "completeOwnershipHandover",
17190
+ inputs: [
17191
+ { name: "pendingOwner", type: "address", internalType: "address" },
17192
+ ],
17193
+ outputs: [],
17194
+ stateMutability: "payable",
17195
+ },
17196
+ {
17197
+ type: "function",
17198
+ name: "getAllVerifiers",
17199
+ inputs: [],
17200
+ outputs: [
17201
+ {
17202
+ name: "verifiers_",
17203
+ type: "address[]",
17204
+ internalType: "address[]",
17205
+ },
17206
+ ],
17207
+ stateMutability: "view",
17208
+ },
17209
+ {
17210
+ type: "function",
17211
+ name: "initialize",
17212
+ inputs: [
17213
+ { name: "_memecoin", type: "address", internalType: "address" },
17214
+ {
17215
+ name: "_creatorFeeAllocation",
17216
+ type: "uint24",
17217
+ internalType: "uint24",
17218
+ },
17219
+ {
17220
+ name: "_initialMarketCap",
17221
+ type: "uint256",
17222
+ internalType: "uint256",
17223
+ },
17224
+ { name: "_verifier", type: "address", internalType: "address" },
17225
+ ],
17226
+ outputs: [],
17227
+ stateMutability: "nonpayable",
17228
+ },
17229
+ {
17230
+ type: "function",
17231
+ name: "initialize",
17232
+ inputs: [
17233
+ { name: "_memecoin", type: "address", internalType: "address" },
17234
+ {
17235
+ name: "_creatorFeeAllocation",
17236
+ type: "uint24",
17237
+ internalType: "uint24",
17238
+ },
17239
+ {
17240
+ name: "_initialMarketCap",
17241
+ type: "uint256",
17242
+ internalType: "uint256",
17243
+ },
17244
+ ],
17245
+ outputs: [],
17246
+ stateMutability: "nonpayable",
17247
+ },
17248
+ {
17249
+ type: "function",
17250
+ name: "owner",
17251
+ inputs: [],
17252
+ outputs: [{ name: "result", type: "address", internalType: "address" }],
17253
+ stateMutability: "view",
17254
+ },
17255
+ {
17256
+ type: "function",
17257
+ name: "ownershipHandoverExpiresAt",
17258
+ inputs: [
17259
+ { name: "pendingOwner", type: "address", internalType: "address" },
17260
+ ],
17261
+ outputs: [{ name: "result", type: "uint256", internalType: "uint256" }],
17262
+ stateMutability: "view",
17263
+ },
17264
+ {
17265
+ type: "function",
17266
+ name: "removeVerifier",
17267
+ inputs: [{ name: "_verifier", type: "address", internalType: "address" }],
17268
+ outputs: [],
17269
+ stateMutability: "nonpayable",
17270
+ },
17271
+ {
17272
+ type: "function",
17273
+ name: "renounceOwnership",
17274
+ inputs: [],
17275
+ outputs: [],
17276
+ stateMutability: "payable",
17277
+ },
17278
+ {
17279
+ type: "function",
17280
+ name: "requestOwnershipHandover",
17281
+ inputs: [],
17282
+ outputs: [],
17283
+ stateMutability: "payable",
17284
+ },
17285
+ {
17286
+ type: "function",
17287
+ name: "setAnyPositionManager",
17288
+ inputs: [
17289
+ {
17290
+ name: "_anyPositionManager",
17291
+ type: "address",
17292
+ internalType: "address payable",
17293
+ },
17294
+ ],
17295
+ outputs: [],
17296
+ stateMutability: "nonpayable",
17297
+ },
17298
+ {
17299
+ type: "function",
17300
+ name: "transferOwnership",
17301
+ inputs: [{ name: "newOwner", type: "address", internalType: "address" }],
17302
+ outputs: [],
17303
+ stateMutability: "payable",
17304
+ },
17305
+ {
17306
+ type: "function",
17307
+ name: "verifyMemecoin",
17308
+ inputs: [{ name: "_memecoin", type: "address", internalType: "address" }],
17309
+ outputs: [{ name: "verifier_", type: "address", internalType: "address" }],
17310
+ stateMutability: "view",
17311
+ },
17312
+ {
17313
+ type: "event",
17314
+ name: "AnyPositionManagerSet",
17315
+ inputs: [
17316
+ {
17317
+ name: "_anyPositionManager",
17318
+ type: "address",
17319
+ indexed: true,
17320
+ internalType: "address",
17321
+ },
17322
+ ],
17323
+ anonymous: false,
17324
+ },
17325
+ {
17326
+ type: "event",
17327
+ name: "OwnershipHandoverCanceled",
17328
+ inputs: [
17329
+ {
17330
+ name: "pendingOwner",
17331
+ type: "address",
17332
+ indexed: true,
17333
+ internalType: "address",
17334
+ },
17335
+ ],
17336
+ anonymous: false,
17337
+ },
17338
+ {
17339
+ type: "event",
17340
+ name: "OwnershipHandoverRequested",
17341
+ inputs: [
17342
+ {
17343
+ name: "pendingOwner",
17344
+ type: "address",
17345
+ indexed: true,
17346
+ internalType: "address",
17347
+ },
17348
+ ],
17349
+ anonymous: false,
17350
+ },
17351
+ {
17352
+ type: "event",
17353
+ name: "OwnershipTransferred",
17354
+ inputs: [
17355
+ {
17356
+ name: "oldOwner",
17357
+ type: "address",
17358
+ indexed: true,
17359
+ internalType: "address",
17360
+ },
17361
+ {
17362
+ name: "newOwner",
17363
+ type: "address",
17364
+ indexed: true,
17365
+ internalType: "address",
17366
+ },
17367
+ ],
17368
+ anonymous: false,
17369
+ },
17370
+ {
17371
+ type: "event",
17372
+ name: "TokenImported",
17373
+ inputs: [
17374
+ {
17375
+ name: "_memecoin",
17376
+ type: "address",
17377
+ indexed: true,
17378
+ internalType: "address",
17379
+ },
17380
+ {
17381
+ name: "_verifier",
17382
+ type: "address",
17383
+ indexed: true,
17384
+ internalType: "address",
17385
+ },
17386
+ ],
17387
+ anonymous: false,
17388
+ },
17389
+ {
17390
+ type: "event",
17391
+ name: "VerifierAdded",
17392
+ inputs: [
17393
+ {
17394
+ name: "_verifier",
17395
+ type: "address",
17396
+ indexed: true,
17397
+ internalType: "address",
17398
+ },
17399
+ ],
17400
+ anonymous: false,
17401
+ },
17402
+ {
17403
+ type: "event",
17404
+ name: "VerifierRemoved",
17405
+ inputs: [
17406
+ {
17407
+ name: "_verifier",
17408
+ type: "address",
17409
+ indexed: true,
17410
+ internalType: "address",
17411
+ },
17412
+ ],
17413
+ anonymous: false,
17414
+ },
17415
+ { type: "error", name: "AlreadyInitialized", inputs: [] },
17416
+ { type: "error", name: "InvalidMemecoin", inputs: [] },
17417
+ { type: "error", name: "NewOwnerIsZeroAddress", inputs: [] },
17418
+ { type: "error", name: "NoHandoverRequest", inputs: [] },
17419
+ { type: "error", name: "Unauthorized", inputs: [] },
17420
+ { type: "error", name: "VerifierAlreadyAdded", inputs: [] },
17421
+ { type: "error", name: "VerifierNotAdded", inputs: [] },
17422
+ { type: "error", name: "ZeroAddress", inputs: [] },
17423
+ ];
17424
+
17425
+ /**
17426
+ * Enumeration of Flaunch contract versions
17427
+ */
17428
+ exports.FlaunchVersion = void 0;
17429
+ (function (FlaunchVersion) {
17430
+ FlaunchVersion["V1"] = "V1";
17431
+ FlaunchVersion["V1_1"] = "V1_1";
17432
+ FlaunchVersion["V1_1_1"] = "V1_1_1";
17433
+ FlaunchVersion["ANY"] = "ANY";
17434
+ })(exports.FlaunchVersion || (exports.FlaunchVersion = {}));
17435
+ /**
17436
+ * Enumeration of Verifiers for TokenImporter
17437
+ */
17438
+ exports.Verifier = void 0;
17439
+ (function (Verifier) {
17440
+ Verifier["CLANKER"] = "clanker";
17441
+ Verifier["DOPPLER"] = "doppler";
17442
+ Verifier["VIRTUALS"] = "virtuals";
17443
+ Verifier["WHITELIST"] = "whitelist";
17444
+ Verifier["ZORA"] = "zora";
17445
+ })(exports.Verifier || (exports.Verifier = {}));
17446
+
17447
+ /**
17448
+ * Base client for interacting with the TokenImporter contract in read-only mode
17449
+ * Provides basic contract initialization
17450
+ */
17451
+ class ReadTokenImporter {
17452
+ constructor(chainId, address, drift$1 = drift.createDrift()) {
17453
+ this.chainId = chainId;
17454
+ this.drift = drift$1;
17455
+ this.contract = drift$1.contract({
17456
+ abi: TokenImporterAbi,
17457
+ address,
17458
+ });
17459
+ }
17460
+ /**
17461
+ * Verifies if a memecoin is valid for importing
17462
+ * @param memecoin - The address of the memecoin to import
17463
+ * @returns Promise<{ isValid: boolean; verifier: Address }> - The result of the verification
17464
+ */
17465
+ async verifyMemecoin(memecoin) {
17466
+ const verifier = await this.contract.read("verifyMemecoin", {
17467
+ _memecoin: memecoin,
17468
+ });
17469
+ return {
17470
+ isValid: verifier !== viem.zeroAddress,
17471
+ verifier,
17472
+ };
17473
+ }
17474
+ /**
17475
+ * Returns the address of a verifier
17476
+ */
17477
+ verifierAddress(verifier) {
17478
+ switch (verifier) {
17479
+ case exports.Verifier.CLANKER:
17480
+ return ClankerWorldVerifierAddress[this.chainId];
17481
+ case exports.Verifier.DOPPLER:
17482
+ return DopplerVerifierAddress[this.chainId];
17483
+ case exports.Verifier.VIRTUALS:
17484
+ return VirtualsVerifierAddress[this.chainId];
17485
+ case exports.Verifier.WHITELIST:
17486
+ return WhitelistVerifierAddress[this.chainId];
17487
+ case exports.Verifier.ZORA:
17488
+ return ZoraVerifierAddress[this.chainId];
17489
+ default:
17490
+ throw new Error(`Unknown verifier: ${verifier}`);
17491
+ }
17492
+ }
17493
+ }
17494
+ /**
17495
+ * Extended client for interacting with the TokenImporter contract with write capabilities
17496
+ */
17497
+ class ReadWriteTokenImporter extends ReadTokenImporter {
17498
+ constructor(chainId, address, drift$1 = drift.createDrift()) {
17499
+ super(chainId, address, drift$1);
17500
+ }
17501
+ initialize({ memecoin, creatorFeeAllocationPercent, initialMarketCapUSD, verifier, }) {
17502
+ const initialMCapInUSDCWei = viem.parseUnits(initialMarketCapUSD.toString(), 6);
17503
+ const creatorFeeAllocationInBps = creatorFeeAllocationPercent * 100;
17504
+ // if the verifier is known then use that to save on gas
17505
+ if (verifier) {
17506
+ const verifierAddress = this.verifierAddress(verifier);
17507
+ return this.contract.write("initialize", {
17508
+ _memecoin: memecoin,
17509
+ _creatorFeeAllocation: creatorFeeAllocationInBps,
17510
+ _initialMarketCap: initialMCapInUSDCWei,
17511
+ _verifier: verifierAddress,
17512
+ });
17513
+ }
17514
+ else {
17515
+ return this.contract.write("initialize", {
17516
+ _memecoin: memecoin,
17517
+ _creatorFeeAllocation: creatorFeeAllocationInBps,
17518
+ _initialMarketCap: initialMCapInUSDCWei,
17519
+ });
17520
+ }
17521
+ }
17522
+ }
17523
+
17118
17524
  const FeeEscrowAbi = [
17119
17525
  {
17120
17526
  inputs: [
@@ -21008,17 +21414,6 @@ class ReadWriteRevenueManager extends ReadRevenueManager {
21008
21414
  }
21009
21415
  }
21010
21416
 
21011
- /**
21012
- * Enumeration of Flaunch contract versions
21013
- */
21014
- exports.FlaunchVersion = void 0;
21015
- (function (FlaunchVersion) {
21016
- FlaunchVersion["V1"] = "V1";
21017
- FlaunchVersion["V1_1"] = "V1_1";
21018
- FlaunchVersion["V1_1_1"] = "V1_1_1";
21019
- FlaunchVersion["ANY"] = "ANY";
21020
- })(exports.FlaunchVersion || (exports.FlaunchVersion = {}));
21021
-
21022
21417
  // our min/max tick range that is valid for the tick spacing (60)
21023
21418
  const TickFinder = {
21024
21419
  MIN_TICK: -887220,
@@ -21190,6 +21585,7 @@ class ReadFlaunchSDK {
21190
21585
  this.readPositionManager = new ReadFlaunchPositionManager(FlaunchPositionManagerAddress[this.chainId], drift$1);
21191
21586
  this.readPositionManagerV1_1 = new ReadFlaunchPositionManagerV1_1(FlaunchPositionManagerV1_1Address[this.chainId], drift$1);
21192
21587
  this.readAnyPositionManager = new ReadAnyPositionManager(AnyPositionManagerAddress[this.chainId], drift$1);
21588
+ this.readTokenImporter = new ReadTokenImporter(this.chainId, TokenImporterAddress[this.chainId], drift$1);
21193
21589
  this.readFeeEscrow = new ReadFeeEscrow(FeeEscrowAddress[this.chainId], drift$1);
21194
21590
  this.readReferralEscrow = new ReadReferralEscrow(ReferralEscrowAddress[this.chainId], drift$1);
21195
21591
  this.readFlaunchZap = new ReadFlaunchZap(this.chainId, FlaunchZapAddress[this.chainId], drift$1);
@@ -21232,7 +21628,7 @@ class ReadFlaunchSDK {
21232
21628
  }
21233
21629
  throw new Error(`Unknown coin version for address: ${coinAddress}`);
21234
21630
  }
21235
- // TODO: update these get functions to support V1.1.1 and new AnyPositionManager
21631
+ // TODO: update these get functions to support V1.1.1
21236
21632
  /**
21237
21633
  * Gets the position manager address for a given version
21238
21634
  * @param version - The version to get the position manager address for
@@ -21927,6 +22323,14 @@ class ReadFlaunchSDK {
21927
22323
  const positionManager = this.getPositionManager(params.version);
21928
22324
  return positionManager.parseSwapTx(params.txHash, params.flETHIsCurrencyZero);
21929
22325
  }
22326
+ /**
22327
+ * Verifies if a memecoin is valid for importing
22328
+ * @param memecoin - The address of the memecoin to import
22329
+ * @returns Promise<{ isValid: boolean; verifier: Address }> - The result of the verification
22330
+ */
22331
+ tokenImporterVerifyMemecoin(memecoin) {
22332
+ return this.readTokenImporter.verifyMemecoin(memecoin);
22333
+ }
21930
22334
  }
21931
22335
  class ReadWriteFlaunchSDK extends ReadFlaunchSDK {
21932
22336
  constructor(chainId, drift$1 = drift.createDrift()) {
@@ -21934,6 +22338,7 @@ class ReadWriteFlaunchSDK extends ReadFlaunchSDK {
21934
22338
  this.readWritePositionManager = new ReadWriteFlaunchPositionManager(FlaunchPositionManagerAddress[this.chainId], drift$1);
21935
22339
  this.readWritePositionManagerV1_1 = new ReadWriteFlaunchPositionManagerV1_1(FlaunchPositionManagerV1_1Address[this.chainId], drift$1);
21936
22340
  this.readWriteAnyPositionManager = new ReadWriteAnyPositionManager(AnyPositionManagerAddress[this.chainId], drift$1);
22341
+ this.readWriteTokenImporter = new ReadWriteTokenImporter(this.chainId, TokenImporterAddress[this.chainId], drift$1);
21937
22342
  this.readWriteFeeEscrow = new ReadWriteFeeEscrow(FeeEscrowAddress[this.chainId], drift$1);
21938
22343
  this.readWriteReferralEscrow = new ReadWriteReferralEscrow(ReferralEscrowAddress[this.chainId], drift$1);
21939
22344
  this.readWriteFlaunchZap = new ReadWriteFlaunchZap(this.chainId, FlaunchZapAddress[this.chainId], drift$1);
@@ -22224,6 +22629,17 @@ class ReadWriteFlaunchSDK extends ReadFlaunchSDK {
22224
22629
  const readWriteRevenueManager = new ReadWriteRevenueManager(params.revenueManagerAddress, this.drift);
22225
22630
  return readWriteRevenueManager.creatorClaimForTokens(params.flaunchTokens);
22226
22631
  }
22632
+ /**
22633
+ * Imports a memecoin into the TokenImporter
22634
+ * @param params.memecoin - The address of the memecoin to import
22635
+ * @param params.creatorFeeAllocationPercent - The creator fee allocation percentage
22636
+ * @param params.initialMarketCapUSD - The initial market cap in USD
22637
+ * @param params.verifier - Optional verifier to use for importing the memecoin
22638
+ * @returns Transaction response
22639
+ */
22640
+ importMemecoin(params) {
22641
+ return this.readWriteTokenImporter.initialize(params);
22642
+ }
22227
22643
  }
22228
22644
 
22229
22645
  /**
@@ -22278,6 +22694,8 @@ exports.BidWallAddress = BidWallAddress;
22278
22694
  exports.BidWallV1_1Abi = BidWallV1_1Abi;
22279
22695
  exports.BidWallV1_1Address = BidWallV1_1Address;
22280
22696
  exports.BidwallAbi = BidwallAbi;
22697
+ exports.ClankerWorldVerifierAddress = ClankerWorldVerifierAddress;
22698
+ exports.DopplerVerifierAddress = DopplerVerifierAddress;
22281
22699
  exports.FLETHAddress = FLETHAddress;
22282
22700
  exports.FLETHHooksAddress = FLETHHooksAddress;
22283
22701
  exports.FairLaunchAbi = FairLaunchAbi;
@@ -22302,6 +22720,8 @@ exports.FlaunchZapAddress = FlaunchZapAddress;
22302
22720
  exports.InitialPriceAbi = InitialPriceAbi;
22303
22721
  exports.MemecoinAbi = MemecoinAbi;
22304
22722
  exports.MulticallAbi = MulticallAbi;
22723
+ exports.PERMIT_DETAILS = PERMIT_DETAILS;
22724
+ exports.PERMIT_TYPES = PERMIT_TYPES;
22305
22725
  exports.Permit2Abi = Permit2Abi;
22306
22726
  exports.Permit2Address = Permit2Address;
22307
22727
  exports.PoolManagerAbi = PoolManagerAbi;
@@ -22318,20 +22738,28 @@ exports.StateViewAbi = StateViewAbi;
22318
22738
  exports.StateViewAddress = StateViewAddress;
22319
22739
  exports.TICK_SPACING = TICK_SPACING;
22320
22740
  exports.TickFinder = TickFinder;
22741
+ exports.TokenImporterAddress = TokenImporterAddress;
22321
22742
  exports.TreasuryManagerFactoryAbi = TreasuryManagerFactoryAbi;
22322
22743
  exports.TreasuryManagerFactoryAddress = TreasuryManagerFactoryAddress;
22323
22744
  exports.USDCETHPoolKeys = USDCETHPoolKeys;
22324
22745
  exports.UniversalRouterAbi = UniversalRouterAbi;
22325
22746
  exports.UniversalRouterAddress = UniversalRouterAddress;
22747
+ exports.VirtualsVerifierAddress = VirtualsVerifierAddress;
22748
+ exports.WhitelistVerifierAddress = WhitelistVerifierAddress;
22749
+ exports.ZoraVerifierAddress = ZoraVerifierAddress;
22326
22750
  exports.bytes32ToUint256 = bytes32ToUint256;
22327
22751
  exports.calculateUnderlyingTokenBalances = calculateUnderlyingTokenBalances;
22328
22752
  exports.chainIdToChain = chainIdToChain;
22329
22753
  exports.createDrift = createDrift;
22330
22754
  exports.createFlaunch = createFlaunch;
22755
+ exports.ethToMemecoin = ethToMemecoin;
22331
22756
  exports.generateTokenUri = generateTokenUri;
22757
+ exports.getAmountWithSlippage = getAmountWithSlippage;
22758
+ exports.getPermit2TypedData = getPermit2TypedData;
22332
22759
  exports.getPoolId = getPoolId;
22333
22760
  exports.getSqrtPriceX96FromTick = getSqrtPriceX96FromTick;
22334
22761
  exports.getValidTick = getValidTick;
22762
+ exports.memecoinToEthWithPermit2 = memecoinToEthWithPermit2;
22335
22763
  exports.orderPoolKey = orderPoolKey;
22336
22764
  exports.parseSwapData = parseSwapData;
22337
22765
  exports.resolveIPFS = resolveIPFS;