base-meme-v4-configs 0.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/index.js ADDED
@@ -0,0 +1,2566 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // package/index.ts
21
+ var package_exports = {};
22
+ __export(package_exports, {
23
+ basememeFactoryABI: () => basememeFactoryABI,
24
+ basememeFactoryAddress: () => basememeFactoryAddress,
25
+ basememeFactoryConfig: () => basememeFactoryConfig,
26
+ basememeFactoryImplABI: () => basememeFactoryImplABI,
27
+ basememeFactoryImplAddress: () => basememeFactoryImplAddress,
28
+ basememeFactoryImplConfig: () => basememeFactoryImplConfig,
29
+ basememeTokenABI: () => basememeTokenABI,
30
+ basememeTokenAddress: () => basememeTokenAddress,
31
+ basememeTokenConfig: () => basememeTokenConfig,
32
+ bondingCurveABI: () => bondingCurveABI,
33
+ bondingCurveAddress: () => bondingCurveAddress,
34
+ bondingCurveConfig: () => bondingCurveConfig,
35
+ chainConfigs: () => chainConfigs,
36
+ protocolRewardsABI: () => protocolRewardsABI,
37
+ protocolRewardsAddress: () => protocolRewardsAddress,
38
+ protocolRewardsConfig: () => protocolRewardsConfig
39
+ });
40
+ module.exports = __toCommonJS(package_exports);
41
+
42
+ // package/wagmiGenerated.ts
43
+ var basememeFactoryABI = [
44
+ {
45
+ stateMutability: "nonpayable",
46
+ type: "constructor",
47
+ inputs: [{ name: "_logic", internalType: "address", type: "address" }]
48
+ },
49
+ { stateMutability: "payable", type: "fallback" },
50
+ {
51
+ type: "event",
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ name: "implementation",
56
+ internalType: "address",
57
+ type: "address",
58
+ indexed: true
59
+ }
60
+ ],
61
+ name: "Upgraded"
62
+ },
63
+ {
64
+ type: "error",
65
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
66
+ name: "AddressEmptyCode"
67
+ },
68
+ {
69
+ type: "error",
70
+ inputs: [
71
+ { name: "implementation", internalType: "address", type: "address" }
72
+ ],
73
+ name: "ERC1967InvalidImplementation"
74
+ },
75
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
76
+ { type: "error", inputs: [], name: "FailedCall" }
77
+ ];
78
+ var basememeFactoryAddress = {
79
+ 8453: "0xC0599137dbF994d238f68e96CA0AfaddeE57Af1B",
80
+ 84532: "0xF8B83Da32D7722613A055005C8e4A8e98F8ED755"
81
+ };
82
+ var basememeFactoryConfig = {
83
+ address: basememeFactoryAddress,
84
+ abi: basememeFactoryABI
85
+ };
86
+ var basememeFactoryImplABI = [
87
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
88
+ { stateMutability: "payable", type: "receive" },
89
+ {
90
+ stateMutability: "view",
91
+ type: "function",
92
+ inputs: [],
93
+ name: "UPGRADE_INTERFACE_VERSION",
94
+ outputs: [{ name: "", internalType: "string", type: "string" }]
95
+ },
96
+ {
97
+ stateMutability: "view",
98
+ type: "function",
99
+ inputs: [],
100
+ name: "bondingCurveImplementation",
101
+ outputs: [{ name: "", internalType: "address", type: "address" }]
102
+ },
103
+ {
104
+ stateMutability: "payable",
105
+ type: "function",
106
+ inputs: [
107
+ { name: "_token", internalType: "address", type: "address" },
108
+ { name: "_amountOutMin", internalType: "uint256", type: "uint256" },
109
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
110
+ ],
111
+ name: "buyExactIn",
112
+ outputs: []
113
+ },
114
+ {
115
+ stateMutability: "payable",
116
+ type: "function",
117
+ inputs: [
118
+ { name: "_token", internalType: "address", type: "address" },
119
+ { name: "_tokenAmount", internalType: "uint256", type: "uint256" },
120
+ {
121
+ name: "_maxCollateralAmount",
122
+ internalType: "uint256",
123
+ type: "uint256"
124
+ },
125
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
126
+ ],
127
+ name: "buyExactOut",
128
+ outputs: []
129
+ },
130
+ {
131
+ stateMutability: "view",
132
+ type: "function",
133
+ inputs: [],
134
+ name: "chainV4ConfigVersion",
135
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
136
+ },
137
+ {
138
+ stateMutability: "view",
139
+ type: "function",
140
+ inputs: [],
141
+ name: "chainV4LiquidityConfig",
142
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }]
143
+ },
144
+ {
145
+ stateMutability: "pure",
146
+ type: "function",
147
+ inputs: [],
148
+ name: "contractVersion",
149
+ outputs: [{ name: "", internalType: "string", type: "string" }]
150
+ },
151
+ {
152
+ stateMutability: "nonpayable",
153
+ type: "function",
154
+ inputs: [
155
+ { name: "_name", internalType: "string", type: "string" },
156
+ { name: "_symbol", internalType: "string", type: "string" },
157
+ { name: "_tokenURI", internalType: "string", type: "string" },
158
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
159
+ { name: "_signature", internalType: "bytes", type: "bytes" },
160
+ { name: "_platformReferrer", internalType: "address", type: "address" },
161
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
162
+ { name: "_tokenSalt", internalType: "bytes32", type: "bytes32" }
163
+ ],
164
+ name: "createBasememeToken",
165
+ outputs: [{ name: "", internalType: "address", type: "address" }]
166
+ },
167
+ {
168
+ stateMutability: "nonpayable",
169
+ type: "function",
170
+ inputs: [
171
+ { name: "_name", internalType: "string", type: "string" },
172
+ { name: "_symbol", internalType: "string", type: "string" },
173
+ { name: "_tokenURI", internalType: "string", type: "string" },
174
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
175
+ { name: "_signature", internalType: "bytes", type: "bytes" },
176
+ { name: "_platformReferrer", internalType: "address", type: "address" },
177
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
178
+ { name: "_owner", internalType: "address", type: "address" }
179
+ ],
180
+ name: "createBasememeToken",
181
+ outputs: [{ name: "", internalType: "address", type: "address" }]
182
+ },
183
+ {
184
+ stateMutability: "payable",
185
+ type: "function",
186
+ inputs: [
187
+ { name: "_name", internalType: "string", type: "string" },
188
+ { name: "_symbol", internalType: "string", type: "string" },
189
+ { name: "_tokenURI", internalType: "string", type: "string" },
190
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
191
+ { name: "_tokenAmountMin", internalType: "uint256", type: "uint256" },
192
+ { name: "_signature", internalType: "bytes", type: "bytes" },
193
+ { name: "_platformReferrer", internalType: "address", type: "address" },
194
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
195
+ { name: "_tokenSalt", internalType: "bytes32", type: "bytes32" }
196
+ ],
197
+ name: "createBasememeTokenAndBuy",
198
+ outputs: [{ name: "", internalType: "address", type: "address" }]
199
+ },
200
+ {
201
+ stateMutability: "payable",
202
+ type: "function",
203
+ inputs: [
204
+ { name: "_name", internalType: "string", type: "string" },
205
+ { name: "_symbol", internalType: "string", type: "string" },
206
+ { name: "_tokenURI", internalType: "string", type: "string" },
207
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
208
+ { name: "_tokenAmountMin", internalType: "uint256", type: "uint256" },
209
+ { name: "_signature", internalType: "bytes", type: "bytes" },
210
+ { name: "_platformReferrer", internalType: "address", type: "address" },
211
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
212
+ { name: "_owner", internalType: "address", type: "address" }
213
+ ],
214
+ name: "createBasememeTokenAndBuy",
215
+ outputs: [{ name: "", internalType: "address", type: "address" }]
216
+ },
217
+ {
218
+ stateMutability: "view",
219
+ type: "function",
220
+ inputs: [],
221
+ name: "getV4LiquidityConfig",
222
+ outputs: [
223
+ { name: "cfg", internalType: "bytes", type: "bytes" },
224
+ { name: "version", internalType: "uint8", type: "uint8" }
225
+ ]
226
+ },
227
+ {
228
+ stateMutability: "nonpayable",
229
+ type: "function",
230
+ inputs: [
231
+ { name: "_factoryOwner", internalType: "address", type: "address" },
232
+ { name: "_signer", internalType: "address", type: "address" },
233
+ {
234
+ name: "_bondingCurveImplementation",
235
+ internalType: "address",
236
+ type: "address"
237
+ },
238
+ { name: "_chainV4LiquidityConfig", internalType: "bytes", type: "bytes" },
239
+ { name: "_chainV4ConfigVersion", internalType: "uint8", type: "uint8" }
240
+ ],
241
+ name: "initialize",
242
+ outputs: []
243
+ },
244
+ {
245
+ stateMutability: "view",
246
+ type: "function",
247
+ inputs: [],
248
+ name: "isSignatureEnabled",
249
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
250
+ },
251
+ {
252
+ stateMutability: "nonpayable",
253
+ type: "function",
254
+ inputs: [{ name: "_token", internalType: "address", type: "address" }],
255
+ name: "migrate",
256
+ outputs: []
257
+ },
258
+ {
259
+ stateMutability: "view",
260
+ type: "function",
261
+ inputs: [{ name: "", internalType: "address", type: "address" }],
262
+ name: "nonces",
263
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
264
+ },
265
+ {
266
+ stateMutability: "view",
267
+ type: "function",
268
+ inputs: [],
269
+ name: "owner",
270
+ outputs: [{ name: "", internalType: "address", type: "address" }]
271
+ },
272
+ {
273
+ stateMutability: "view",
274
+ type: "function",
275
+ inputs: [],
276
+ name: "proxiableUUID",
277
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
278
+ },
279
+ {
280
+ stateMutability: "view",
281
+ type: "function",
282
+ inputs: [{ name: "", internalType: "address", type: "address" }],
283
+ name: "readyForMigration",
284
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
285
+ },
286
+ {
287
+ stateMutability: "nonpayable",
288
+ type: "function",
289
+ inputs: [],
290
+ name: "renounceOwnership",
291
+ outputs: []
292
+ },
293
+ {
294
+ stateMutability: "nonpayable",
295
+ type: "function",
296
+ inputs: [
297
+ { name: "_token", internalType: "address", type: "address" },
298
+ { name: "_tokenAmount", internalType: "uint256", type: "uint256" },
299
+ {
300
+ name: "_amountCollateralMin",
301
+ internalType: "uint256",
302
+ type: "uint256"
303
+ },
304
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
305
+ ],
306
+ name: "sellExactIn",
307
+ outputs: []
308
+ },
309
+ {
310
+ stateMutability: "nonpayable",
311
+ type: "function",
312
+ inputs: [
313
+ { name: "_token", internalType: "address", type: "address" },
314
+ { name: "_tokenAmountMax", internalType: "uint256", type: "uint256" },
315
+ { name: "_amountCollateral", internalType: "uint256", type: "uint256" },
316
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
317
+ ],
318
+ name: "sellExactOut",
319
+ outputs: []
320
+ },
321
+ {
322
+ stateMutability: "nonpayable",
323
+ type: "function",
324
+ inputs: [
325
+ {
326
+ name: "_bondingCurveImplementation",
327
+ internalType: "address",
328
+ type: "address"
329
+ }
330
+ ],
331
+ name: "setBondingCurveImplementation",
332
+ outputs: []
333
+ },
334
+ {
335
+ stateMutability: "nonpayable",
336
+ type: "function",
337
+ inputs: [
338
+ { name: "_isSignatureEnabled", internalType: "bool", type: "bool" }
339
+ ],
340
+ name: "setIsSignatureEnabled",
341
+ outputs: []
342
+ },
343
+ {
344
+ stateMutability: "nonpayable",
345
+ type: "function",
346
+ inputs: [{ name: "_signer", internalType: "address", type: "address" }],
347
+ name: "setSigner",
348
+ outputs: []
349
+ },
350
+ {
351
+ stateMutability: "nonpayable",
352
+ type: "function",
353
+ inputs: [
354
+ { name: "cfg", internalType: "bytes", type: "bytes" },
355
+ { name: "version", internalType: "uint8", type: "uint8" }
356
+ ],
357
+ name: "setV4LiquidityConfig",
358
+ outputs: []
359
+ },
360
+ {
361
+ stateMutability: "view",
362
+ type: "function",
363
+ inputs: [],
364
+ name: "signer",
365
+ outputs: [{ name: "", internalType: "address", type: "address" }]
366
+ },
367
+ {
368
+ stateMutability: "view",
369
+ type: "function",
370
+ inputs: [{ name: "", internalType: "address", type: "address" }],
371
+ name: "tokenToBondingCurve",
372
+ outputs: [{ name: "", internalType: "address", type: "address" }]
373
+ },
374
+ {
375
+ stateMutability: "nonpayable",
376
+ type: "function",
377
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
378
+ name: "transferOwnership",
379
+ outputs: []
380
+ },
381
+ {
382
+ stateMutability: "payable",
383
+ type: "function",
384
+ inputs: [
385
+ { name: "newImplementation", internalType: "address", type: "address" },
386
+ { name: "data", internalType: "bytes", type: "bytes" }
387
+ ],
388
+ name: "upgradeToAndCall",
389
+ outputs: []
390
+ },
391
+ {
392
+ type: "event",
393
+ anonymous: false,
394
+ inputs: [
395
+ {
396
+ name: "buyer",
397
+ internalType: "address",
398
+ type: "address",
399
+ indexed: true
400
+ },
401
+ {
402
+ name: "token",
403
+ internalType: "address",
404
+ type: "address",
405
+ indexed: true
406
+ },
407
+ {
408
+ name: "tokenAmount",
409
+ internalType: "uint256",
410
+ type: "uint256",
411
+ indexed: false
412
+ },
413
+ {
414
+ name: "collateralAmount",
415
+ internalType: "uint256",
416
+ type: "uint256",
417
+ indexed: false
418
+ },
419
+ {
420
+ name: "refund",
421
+ internalType: "uint256",
422
+ type: "uint256",
423
+ indexed: false
424
+ },
425
+ {
426
+ name: "tradeFee",
427
+ internalType: "uint256",
428
+ type: "uint256",
429
+ indexed: false
430
+ },
431
+ {
432
+ name: "curveProgressBps",
433
+ internalType: "uint256",
434
+ type: "uint256",
435
+ indexed: false
436
+ },
437
+ {
438
+ name: "virtualCollateralReserves",
439
+ internalType: "uint256",
440
+ type: "uint256",
441
+ indexed: false
442
+ },
443
+ {
444
+ name: "virtualTokenReserves",
445
+ internalType: "uint256",
446
+ type: "uint256",
447
+ indexed: false
448
+ },
449
+ {
450
+ name: "collateralReserves",
451
+ internalType: "uint256",
452
+ type: "uint256",
453
+ indexed: false
454
+ },
455
+ {
456
+ name: "tokenReserves",
457
+ internalType: "uint256",
458
+ type: "uint256",
459
+ indexed: false
460
+ }
461
+ ],
462
+ name: "Buy"
463
+ },
464
+ {
465
+ type: "event",
466
+ anonymous: false,
467
+ inputs: [
468
+ {
469
+ name: "version",
470
+ internalType: "uint64",
471
+ type: "uint64",
472
+ indexed: false
473
+ }
474
+ ],
475
+ name: "Initialized"
476
+ },
477
+ {
478
+ type: "event",
479
+ anonymous: false,
480
+ inputs: [
481
+ {
482
+ name: "token",
483
+ internalType: "address",
484
+ type: "address",
485
+ indexed: false
486
+ }
487
+ ],
488
+ name: "MarketcapReached"
489
+ },
490
+ {
491
+ type: "event",
492
+ anonymous: false,
493
+ inputs: [
494
+ {
495
+ name: "token",
496
+ internalType: "address",
497
+ type: "address",
498
+ indexed: false
499
+ },
500
+ {
501
+ name: "tokenId",
502
+ internalType: "uint256",
503
+ type: "uint256",
504
+ indexed: false
505
+ },
506
+ {
507
+ name: "liquidity",
508
+ internalType: "uint128",
509
+ type: "uint128",
510
+ indexed: false
511
+ },
512
+ {
513
+ name: "amount0",
514
+ internalType: "uint256",
515
+ type: "uint256",
516
+ indexed: false
517
+ },
518
+ {
519
+ name: "amount1",
520
+ internalType: "uint256",
521
+ type: "uint256",
522
+ indexed: false
523
+ },
524
+ {
525
+ name: "migrationFee",
526
+ internalType: "uint256",
527
+ type: "uint256",
528
+ indexed: false
529
+ }
530
+ ],
531
+ name: "Migrated"
532
+ },
533
+ {
534
+ type: "event",
535
+ anonymous: false,
536
+ inputs: [
537
+ {
538
+ name: "addr",
539
+ internalType: "address",
540
+ type: "address",
541
+ indexed: false
542
+ },
543
+ {
544
+ name: "bondingCurve",
545
+ internalType: "address",
546
+ type: "address",
547
+ indexed: false
548
+ },
549
+ {
550
+ name: "creator",
551
+ internalType: "address",
552
+ type: "address",
553
+ indexed: false
554
+ },
555
+ {
556
+ name: "signature",
557
+ internalType: "bytes",
558
+ type: "bytes",
559
+ indexed: false
560
+ },
561
+ {
562
+ name: "platformReferrer",
563
+ internalType: "address",
564
+ type: "address",
565
+ indexed: false
566
+ },
567
+ {
568
+ name: "payoutRecipient",
569
+ internalType: "address",
570
+ type: "address",
571
+ indexed: false
572
+ },
573
+ {
574
+ name: "owner",
575
+ internalType: "address",
576
+ type: "address",
577
+ indexed: false
578
+ },
579
+ {
580
+ name: "nonce",
581
+ internalType: "uint256",
582
+ type: "uint256",
583
+ indexed: false
584
+ },
585
+ { name: "name", internalType: "string", type: "string", indexed: false },
586
+ {
587
+ name: "symbol",
588
+ internalType: "string",
589
+ type: "string",
590
+ indexed: false
591
+ },
592
+ {
593
+ name: "tokenURI",
594
+ internalType: "string",
595
+ type: "string",
596
+ indexed: false
597
+ },
598
+ {
599
+ name: "version",
600
+ internalType: "string",
601
+ type: "string",
602
+ indexed: false
603
+ }
604
+ ],
605
+ name: "NewBasememeToken"
606
+ },
607
+ {
608
+ type: "event",
609
+ anonymous: false,
610
+ inputs: [
611
+ {
612
+ name: "previousOwner",
613
+ internalType: "address",
614
+ type: "address",
615
+ indexed: true
616
+ },
617
+ {
618
+ name: "newOwner",
619
+ internalType: "address",
620
+ type: "address",
621
+ indexed: true
622
+ }
623
+ ],
624
+ name: "OwnershipTransferred"
625
+ },
626
+ {
627
+ type: "event",
628
+ anonymous: false,
629
+ inputs: [
630
+ {
631
+ name: "seller",
632
+ internalType: "address",
633
+ type: "address",
634
+ indexed: true
635
+ },
636
+ {
637
+ name: "token",
638
+ internalType: "address",
639
+ type: "address",
640
+ indexed: true
641
+ },
642
+ {
643
+ name: "tokenAmount",
644
+ internalType: "uint256",
645
+ type: "uint256",
646
+ indexed: false
647
+ },
648
+ {
649
+ name: "collateralAmount",
650
+ internalType: "uint256",
651
+ type: "uint256",
652
+ indexed: false
653
+ },
654
+ {
655
+ name: "tradeFee",
656
+ internalType: "uint256",
657
+ type: "uint256",
658
+ indexed: false
659
+ },
660
+ {
661
+ name: "curveProgressBps",
662
+ internalType: "uint256",
663
+ type: "uint256",
664
+ indexed: false
665
+ },
666
+ {
667
+ name: "virtualCollateralReserves",
668
+ internalType: "uint256",
669
+ type: "uint256",
670
+ indexed: false
671
+ },
672
+ {
673
+ name: "virtualTokenReserves",
674
+ internalType: "uint256",
675
+ type: "uint256",
676
+ indexed: false
677
+ },
678
+ {
679
+ name: "collateralReserves",
680
+ internalType: "uint256",
681
+ type: "uint256",
682
+ indexed: false
683
+ },
684
+ {
685
+ name: "tokenReserves",
686
+ internalType: "uint256",
687
+ type: "uint256",
688
+ indexed: false
689
+ }
690
+ ],
691
+ name: "Sell"
692
+ },
693
+ {
694
+ type: "event",
695
+ anonymous: false,
696
+ inputs: [
697
+ {
698
+ name: "implementation",
699
+ internalType: "address",
700
+ type: "address",
701
+ indexed: true
702
+ }
703
+ ],
704
+ name: "Upgraded"
705
+ },
706
+ {
707
+ type: "event",
708
+ anonymous: false,
709
+ inputs: [
710
+ {
711
+ name: "cfgHash",
712
+ internalType: "bytes32",
713
+ type: "bytes32",
714
+ indexed: false
715
+ },
716
+ { name: "version", internalType: "uint8", type: "uint8", indexed: false }
717
+ ],
718
+ name: "V4ChainConfigUpdated"
719
+ },
720
+ {
721
+ type: "event",
722
+ anonymous: false,
723
+ inputs: [
724
+ {
725
+ name: "token",
726
+ internalType: "address",
727
+ type: "address",
728
+ indexed: false
729
+ },
730
+ {
731
+ name: "pairedToken",
732
+ internalType: "address",
733
+ type: "address",
734
+ indexed: false
735
+ },
736
+ {
737
+ name: "tokensToMigrate",
738
+ internalType: "uint256",
739
+ type: "uint256",
740
+ indexed: false
741
+ },
742
+ {
743
+ name: "tokensToBurn",
744
+ internalType: "uint256",
745
+ type: "uint256",
746
+ indexed: false
747
+ },
748
+ {
749
+ name: "collateralAmount",
750
+ internalType: "uint256",
751
+ type: "uint256",
752
+ indexed: false
753
+ },
754
+ {
755
+ name: "positionId",
756
+ internalType: "uint256",
757
+ type: "uint256",
758
+ indexed: false
759
+ },
760
+ {
761
+ name: "poolkey",
762
+ internalType: "struct PoolKey",
763
+ type: "tuple",
764
+ components: [
765
+ { name: "currency0", internalType: "Currency", type: "address" },
766
+ { name: "currency1", internalType: "Currency", type: "address" },
767
+ { name: "fee", internalType: "uint24", type: "uint24" },
768
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
769
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
770
+ ],
771
+ indexed: false
772
+ }
773
+ ],
774
+ name: "V4Migrated"
775
+ },
776
+ {
777
+ type: "error",
778
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
779
+ name: "AddressEmptyCode"
780
+ },
781
+ { type: "error", inputs: [], name: "DexTreasuryZeroValue" },
782
+ {
783
+ type: "error",
784
+ inputs: [
785
+ { name: "implementation", internalType: "address", type: "address" }
786
+ ],
787
+ name: "ERC1967InvalidImplementation"
788
+ },
789
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
790
+ { type: "error", inputs: [], name: "FailedCall" },
791
+ { type: "error", inputs: [], name: "FailedDeployment" },
792
+ { type: "error", inputs: [], name: "FailedToSendETH" },
793
+ { type: "error", inputs: [], name: "FeeBPSCheckFailed" },
794
+ {
795
+ type: "error",
796
+ inputs: [
797
+ { name: "balance", internalType: "uint256", type: "uint256" },
798
+ { name: "needed", internalType: "uint256", type: "uint256" }
799
+ ],
800
+ name: "InsufficientBalance"
801
+ },
802
+ { type: "error", inputs: [], name: "InvalidInitialization" },
803
+ { type: "error", inputs: [], name: "InvalidNonce" },
804
+ { type: "error", inputs: [], name: "InvalidSignature" },
805
+ { type: "error", inputs: [], name: "InvalidV4Contracts" },
806
+ { type: "error", inputs: [], name: "McLowerLimitGreaterThanUpperLimit" },
807
+ { type: "error", inputs: [], name: "McLowerLimitZeroValue" },
808
+ { type: "error", inputs: [], name: "McUpperLimitZeroValue" },
809
+ { type: "error", inputs: [], name: "MigrationFeeTooHigh" },
810
+ { type: "error", inputs: [], name: "NotBasememeToken" },
811
+ { type: "error", inputs: [], name: "NotInitializing" },
812
+ { type: "error", inputs: [], name: "NotReadyForMigration" },
813
+ {
814
+ type: "error",
815
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
816
+ name: "OwnableInvalidOwner"
817
+ },
818
+ {
819
+ type: "error",
820
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
821
+ name: "OwnableUnauthorizedAccount"
822
+ },
823
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
824
+ { type: "error", inputs: [], name: "SignerZeroValue" },
825
+ { type: "error", inputs: [], name: "TokensMigrationThresholdZeroValue" },
826
+ { type: "error", inputs: [], name: "TotalSupplyWrongValue" },
827
+ { type: "error", inputs: [], name: "TotalSupplyZeroValue" },
828
+ { type: "error", inputs: [], name: "TreasuryZeroValue" },
829
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
830
+ {
831
+ type: "error",
832
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
833
+ name: "UUPSUnsupportedProxiableUUID"
834
+ },
835
+ { type: "error", inputs: [], name: "V4ConfigNotSet" },
836
+ { type: "error", inputs: [], name: "VirtualCollateralReservesZeroValue" },
837
+ { type: "error", inputs: [], name: "VirtualTokenReservesZeroValue" }
838
+ ];
839
+ var basememeFactoryImplAddress = {
840
+ 8453: "0x2Dd4ce9819A8300bC7a51B3D0F93eFE33D1ECc1d",
841
+ 84532: "0x9fB2eb6C1D01E146b26Ca258C765644BC17c7DC3"
842
+ };
843
+ var basememeFactoryImplConfig = {
844
+ address: basememeFactoryImplAddress,
845
+ abi: basememeFactoryImplABI
846
+ };
847
+ var basememeTokenABI = [
848
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
849
+ {
850
+ stateMutability: "view",
851
+ type: "function",
852
+ inputs: [
853
+ { name: "owner", internalType: "address", type: "address" },
854
+ { name: "spender", internalType: "address", type: "address" }
855
+ ],
856
+ name: "allowance",
857
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
858
+ },
859
+ {
860
+ stateMutability: "nonpayable",
861
+ type: "function",
862
+ inputs: [
863
+ { name: "spender", internalType: "address", type: "address" },
864
+ { name: "value", internalType: "uint256", type: "uint256" }
865
+ ],
866
+ name: "approve",
867
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
868
+ },
869
+ {
870
+ stateMutability: "view",
871
+ type: "function",
872
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
873
+ name: "balanceOf",
874
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
875
+ },
876
+ {
877
+ stateMutability: "nonpayable",
878
+ type: "function",
879
+ inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
880
+ name: "burn",
881
+ outputs: []
882
+ },
883
+ {
884
+ stateMutability: "nonpayable",
885
+ type: "function",
886
+ inputs: [
887
+ { name: "account", internalType: "address", type: "address" },
888
+ { name: "value", internalType: "uint256", type: "uint256" }
889
+ ],
890
+ name: "burnFrom",
891
+ outputs: []
892
+ },
893
+ {
894
+ stateMutability: "view",
895
+ type: "function",
896
+ inputs: [],
897
+ name: "contractURI",
898
+ outputs: [{ name: "", internalType: "string", type: "string" }]
899
+ },
900
+ {
901
+ stateMutability: "pure",
902
+ type: "function",
903
+ inputs: [],
904
+ name: "contractVersion",
905
+ outputs: [{ name: "", internalType: "string", type: "string" }]
906
+ },
907
+ {
908
+ stateMutability: "view",
909
+ type: "function",
910
+ inputs: [],
911
+ name: "decimals",
912
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
913
+ },
914
+ {
915
+ stateMutability: "view",
916
+ type: "function",
917
+ inputs: [],
918
+ name: "factory",
919
+ outputs: [{ name: "", internalType: "address", type: "address" }]
920
+ },
921
+ {
922
+ stateMutability: "nonpayable",
923
+ type: "function",
924
+ inputs: [
925
+ {
926
+ name: "_params",
927
+ internalType: "struct IBasememeToken.ConstructorParams",
928
+ type: "tuple",
929
+ components: [
930
+ { name: "name", internalType: "string", type: "string" },
931
+ { name: "symbol", internalType: "string", type: "string" },
932
+ { name: "tokenURI", internalType: "string", type: "string" },
933
+ { name: "factory", internalType: "address", type: "address" },
934
+ { name: "bondingCurve", internalType: "address", type: "address" },
935
+ {
936
+ name: "initialTokenSupply",
937
+ internalType: "uint256",
938
+ type: "uint256"
939
+ }
940
+ ]
941
+ }
942
+ ],
943
+ name: "initialize",
944
+ outputs: []
945
+ },
946
+ {
947
+ stateMutability: "view",
948
+ type: "function",
949
+ inputs: [],
950
+ name: "name",
951
+ outputs: [{ name: "", internalType: "string", type: "string" }]
952
+ },
953
+ {
954
+ stateMutability: "view",
955
+ type: "function",
956
+ inputs: [],
957
+ name: "owner",
958
+ outputs: [{ name: "", internalType: "address", type: "address" }]
959
+ },
960
+ {
961
+ stateMutability: "nonpayable",
962
+ type: "function",
963
+ inputs: [],
964
+ name: "renounceOwnership",
965
+ outputs: []
966
+ },
967
+ {
968
+ stateMutability: "nonpayable",
969
+ type: "function",
970
+ inputs: [
971
+ {
972
+ name: "mode",
973
+ internalType: "enum IBasememeToken.TransferMode",
974
+ type: "uint8"
975
+ }
976
+ ],
977
+ name: "setTransferMode",
978
+ outputs: []
979
+ },
980
+ {
981
+ stateMutability: "pure",
982
+ type: "function",
983
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
984
+ name: "supportsInterface",
985
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
986
+ },
987
+ {
988
+ stateMutability: "view",
989
+ type: "function",
990
+ inputs: [],
991
+ name: "symbol",
992
+ outputs: [{ name: "", internalType: "string", type: "string" }]
993
+ },
994
+ {
995
+ stateMutability: "view",
996
+ type: "function",
997
+ inputs: [],
998
+ name: "tokenURI",
999
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1000
+ },
1001
+ {
1002
+ stateMutability: "view",
1003
+ type: "function",
1004
+ inputs: [],
1005
+ name: "totalSupply",
1006
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1007
+ },
1008
+ {
1009
+ stateMutability: "nonpayable",
1010
+ type: "function",
1011
+ inputs: [
1012
+ { name: "to", internalType: "address", type: "address" },
1013
+ { name: "value", internalType: "uint256", type: "uint256" }
1014
+ ],
1015
+ name: "transfer",
1016
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1017
+ },
1018
+ {
1019
+ stateMutability: "nonpayable",
1020
+ type: "function",
1021
+ inputs: [
1022
+ { name: "from", internalType: "address", type: "address" },
1023
+ { name: "to", internalType: "address", type: "address" },
1024
+ { name: "value", internalType: "uint256", type: "uint256" }
1025
+ ],
1026
+ name: "transferFrom",
1027
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1028
+ },
1029
+ {
1030
+ stateMutability: "view",
1031
+ type: "function",
1032
+ inputs: [],
1033
+ name: "transferMode",
1034
+ outputs: [
1035
+ {
1036
+ name: "",
1037
+ internalType: "enum IBasememeToken.TransferMode",
1038
+ type: "uint8"
1039
+ }
1040
+ ]
1041
+ },
1042
+ {
1043
+ stateMutability: "nonpayable",
1044
+ type: "function",
1045
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1046
+ name: "transferOwnership",
1047
+ outputs: []
1048
+ },
1049
+ {
1050
+ type: "event",
1051
+ anonymous: false,
1052
+ inputs: [
1053
+ {
1054
+ name: "owner",
1055
+ internalType: "address",
1056
+ type: "address",
1057
+ indexed: true
1058
+ },
1059
+ {
1060
+ name: "spender",
1061
+ internalType: "address",
1062
+ type: "address",
1063
+ indexed: true
1064
+ },
1065
+ {
1066
+ name: "value",
1067
+ internalType: "uint256",
1068
+ type: "uint256",
1069
+ indexed: false
1070
+ }
1071
+ ],
1072
+ name: "Approval"
1073
+ },
1074
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1075
+ {
1076
+ type: "event",
1077
+ anonymous: false,
1078
+ inputs: [
1079
+ {
1080
+ name: "version",
1081
+ internalType: "uint64",
1082
+ type: "uint64",
1083
+ indexed: false
1084
+ }
1085
+ ],
1086
+ name: "Initialized"
1087
+ },
1088
+ {
1089
+ type: "event",
1090
+ anonymous: false,
1091
+ inputs: [
1092
+ {
1093
+ name: "previousOwner",
1094
+ internalType: "address",
1095
+ type: "address",
1096
+ indexed: true
1097
+ },
1098
+ {
1099
+ name: "newOwner",
1100
+ internalType: "address",
1101
+ type: "address",
1102
+ indexed: true
1103
+ }
1104
+ ],
1105
+ name: "OwnershipTransferred"
1106
+ },
1107
+ {
1108
+ type: "event",
1109
+ anonymous: false,
1110
+ inputs: [
1111
+ {
1112
+ name: "sender",
1113
+ internalType: "address",
1114
+ type: "address",
1115
+ indexed: true
1116
+ },
1117
+ {
1118
+ name: "recipient",
1119
+ internalType: "address",
1120
+ type: "address",
1121
+ indexed: true
1122
+ },
1123
+ {
1124
+ name: "amount",
1125
+ internalType: "uint256",
1126
+ type: "uint256",
1127
+ indexed: false
1128
+ },
1129
+ {
1130
+ name: "senderBalance",
1131
+ internalType: "uint256",
1132
+ type: "uint256",
1133
+ indexed: false
1134
+ },
1135
+ {
1136
+ name: "recipientBalance",
1137
+ internalType: "uint256",
1138
+ type: "uint256",
1139
+ indexed: false
1140
+ }
1141
+ ],
1142
+ name: "TokensTransferred"
1143
+ },
1144
+ {
1145
+ type: "event",
1146
+ anonymous: false,
1147
+ inputs: [
1148
+ { name: "from", internalType: "address", type: "address", indexed: true },
1149
+ { name: "to", internalType: "address", type: "address", indexed: true },
1150
+ {
1151
+ name: "value",
1152
+ internalType: "uint256",
1153
+ type: "uint256",
1154
+ indexed: false
1155
+ }
1156
+ ],
1157
+ name: "Transfer"
1158
+ },
1159
+ {
1160
+ type: "error",
1161
+ inputs: [
1162
+ { name: "spender", internalType: "address", type: "address" },
1163
+ { name: "allowance", internalType: "uint256", type: "uint256" },
1164
+ { name: "needed", internalType: "uint256", type: "uint256" }
1165
+ ],
1166
+ name: "ERC20InsufficientAllowance"
1167
+ },
1168
+ {
1169
+ type: "error",
1170
+ inputs: [
1171
+ { name: "sender", internalType: "address", type: "address" },
1172
+ { name: "balance", internalType: "uint256", type: "uint256" },
1173
+ { name: "needed", internalType: "uint256", type: "uint256" }
1174
+ ],
1175
+ name: "ERC20InsufficientBalance"
1176
+ },
1177
+ {
1178
+ type: "error",
1179
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
1180
+ name: "ERC20InvalidApprover"
1181
+ },
1182
+ {
1183
+ type: "error",
1184
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
1185
+ name: "ERC20InvalidReceiver"
1186
+ },
1187
+ {
1188
+ type: "error",
1189
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
1190
+ name: "ERC20InvalidSender"
1191
+ },
1192
+ {
1193
+ type: "error",
1194
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
1195
+ name: "ERC20InvalidSpender"
1196
+ },
1197
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1198
+ { type: "error", inputs: [], name: "NotInitializing" },
1199
+ {
1200
+ type: "error",
1201
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1202
+ name: "OwnableInvalidOwner"
1203
+ },
1204
+ {
1205
+ type: "error",
1206
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1207
+ name: "OwnableUnauthorizedAccount"
1208
+ },
1209
+ { type: "error", inputs: [], name: "TransfersControlled" },
1210
+ { type: "error", inputs: [], name: "TransfersRestricted" }
1211
+ ];
1212
+ var basememeTokenAddress = {
1213
+ 8453: "0xBbD5C86CcFAD9914B269647f80aD829D2cfA406e",
1214
+ 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
1215
+ };
1216
+ var basememeTokenConfig = {
1217
+ address: basememeTokenAddress,
1218
+ abi: basememeTokenABI
1219
+ };
1220
+ var bondingCurveABI = [
1221
+ {
1222
+ stateMutability: "nonpayable",
1223
+ type: "constructor",
1224
+ inputs: [
1225
+ {
1226
+ name: "_protocolRewardRecipient",
1227
+ internalType: "address",
1228
+ type: "address"
1229
+ },
1230
+ { name: "_protocolRewards", internalType: "address", type: "address" },
1231
+ { name: "_initialTokenSupply", internalType: "uint256", type: "uint256" },
1232
+ {
1233
+ name: "_virtualCollateralReservesInitial",
1234
+ internalType: "uint256",
1235
+ type: "uint256"
1236
+ },
1237
+ {
1238
+ name: "_virtualTokenReservesInitial",
1239
+ internalType: "uint256",
1240
+ type: "uint256"
1241
+ },
1242
+ { name: "_feeBasisPoints", internalType: "uint256", type: "uint256" },
1243
+ { name: "_fixedMigrationFee", internalType: "uint256", type: "uint256" },
1244
+ { name: "_poolCreationFee", internalType: "uint256", type: "uint256" },
1245
+ { name: "_firstBuyFee", internalType: "uint256", type: "uint256" },
1246
+ { name: "_mcLowerLimit", internalType: "uint256", type: "uint256" },
1247
+ { name: "_mcUpperLimit", internalType: "uint256", type: "uint256" },
1248
+ {
1249
+ name: "_tokensMigrationThreshold",
1250
+ internalType: "uint256",
1251
+ type: "uint256"
1252
+ },
1253
+ { name: "_weth", internalType: "address", type: "address" },
1254
+ { name: "_v4LpFee", internalType: "uint24", type: "uint24" },
1255
+ {
1256
+ name: "_tokenImplementation",
1257
+ internalType: "address",
1258
+ type: "address"
1259
+ },
1260
+ { name: "_v4PoolManager", internalType: "address", type: "address" },
1261
+ { name: "_v4PositionManager", internalType: "address", type: "address" },
1262
+ { name: "_basememeLpManager", internalType: "address", type: "address" },
1263
+ { name: "_basememeHook", internalType: "address", type: "address" }
1264
+ ]
1265
+ },
1266
+ { stateMutability: "payable", type: "receive" },
1267
+ {
1268
+ stateMutability: "view",
1269
+ type: "function",
1270
+ inputs: [],
1271
+ name: "LIQUIDITY_PLATFORM_REFERRER_FEE_BPS",
1272
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1273
+ },
1274
+ {
1275
+ stateMutability: "view",
1276
+ type: "function",
1277
+ inputs: [],
1278
+ name: "LIQUIDITY_PROTOCOL_FEE_BPS",
1279
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1280
+ },
1281
+ {
1282
+ stateMutability: "view",
1283
+ type: "function",
1284
+ inputs: [],
1285
+ name: "LIQUIDITY_TOKEN_CREATOR_FEE_BPS",
1286
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1287
+ },
1288
+ {
1289
+ stateMutability: "view",
1290
+ type: "function",
1291
+ inputs: [],
1292
+ name: "LIQUIDITY_TRADE_REFERRER_FEE_BPS",
1293
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1294
+ },
1295
+ {
1296
+ stateMutability: "view",
1297
+ type: "function",
1298
+ inputs: [],
1299
+ name: "MAX_BPS",
1300
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1301
+ },
1302
+ {
1303
+ stateMutability: "view",
1304
+ type: "function",
1305
+ inputs: [],
1306
+ name: "MAX_LP_FEE",
1307
+ outputs: [{ name: "", internalType: "uint24", type: "uint24" }]
1308
+ },
1309
+ {
1310
+ stateMutability: "view",
1311
+ type: "function",
1312
+ inputs: [],
1313
+ name: "TRADE_PLATFORM_REFERRER_FEE_BPS",
1314
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1315
+ },
1316
+ {
1317
+ stateMutability: "view",
1318
+ type: "function",
1319
+ inputs: [],
1320
+ name: "TRADE_PROTOCOL_FEE_BPS",
1321
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1322
+ },
1323
+ {
1324
+ stateMutability: "view",
1325
+ type: "function",
1326
+ inputs: [],
1327
+ name: "TRADE_REFERRER_FEE_BPS",
1328
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1329
+ },
1330
+ {
1331
+ stateMutability: "view",
1332
+ type: "function",
1333
+ inputs: [],
1334
+ name: "TRADE_TOKEN_CREATOR_FEE_BPS",
1335
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1336
+ },
1337
+ {
1338
+ stateMutability: "view",
1339
+ type: "function",
1340
+ inputs: [],
1341
+ name: "V4_MAX_POSITIONS",
1342
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1343
+ },
1344
+ {
1345
+ stateMutability: "nonpayable",
1346
+ type: "function",
1347
+ inputs: [],
1348
+ name: "allowTransfer",
1349
+ outputs: []
1350
+ },
1351
+ {
1352
+ stateMutability: "nonpayable",
1353
+ type: "function",
1354
+ inputs: [
1355
+ { name: "amountToken", internalType: "uint256", type: "uint256" },
1356
+ { name: "amountPairedToken", internalType: "uint256", type: "uint256" },
1357
+ { name: "pairedToken", internalType: "address", type: "address" }
1358
+ ],
1359
+ name: "approveV4Liquidity",
1360
+ outputs: []
1361
+ },
1362
+ {
1363
+ stateMutability: "view",
1364
+ type: "function",
1365
+ inputs: [],
1366
+ name: "basememeHook",
1367
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1368
+ },
1369
+ {
1370
+ stateMutability: "view",
1371
+ type: "function",
1372
+ inputs: [],
1373
+ name: "basememeLpManager",
1374
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1375
+ },
1376
+ {
1377
+ stateMutability: "nonpayable",
1378
+ type: "function",
1379
+ inputs: [
1380
+ { name: "cfg", internalType: "bytes", type: "bytes" },
1381
+ { name: "version", internalType: "uint8", type: "uint8" }
1382
+ ],
1383
+ name: "bindV4LiquidityConfig",
1384
+ outputs: []
1385
+ },
1386
+ {
1387
+ stateMutability: "payable",
1388
+ type: "function",
1389
+ inputs: [
1390
+ { name: "_amountOutMin", internalType: "uint256", type: "uint256" },
1391
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
1392
+ ],
1393
+ name: "buyExactIn",
1394
+ outputs: [
1395
+ {
1396
+ name: "collateralToPayWithFee",
1397
+ internalType: "uint256",
1398
+ type: "uint256"
1399
+ },
1400
+ { name: "tradeFee", internalType: "uint256", type: "uint256" }
1401
+ ]
1402
+ },
1403
+ {
1404
+ stateMutability: "payable",
1405
+ type: "function",
1406
+ inputs: [
1407
+ { name: "_tokenAmount", internalType: "uint256", type: "uint256" },
1408
+ {
1409
+ name: "_maxCollateralAmount",
1410
+ internalType: "uint256",
1411
+ type: "uint256"
1412
+ },
1413
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
1414
+ ],
1415
+ name: "buyExactOut",
1416
+ outputs: [
1417
+ {
1418
+ name: "collateralToPayWithFee",
1419
+ internalType: "uint256",
1420
+ type: "uint256"
1421
+ },
1422
+ { name: "tradeFee", internalType: "uint256", type: "uint256" },
1423
+ { name: "firstFee", internalType: "uint256", type: "uint256" }
1424
+ ]
1425
+ },
1426
+ {
1427
+ stateMutability: "nonpayable",
1428
+ type: "function",
1429
+ inputs: [
1430
+ {
1431
+ name: "expectedTokenBalance",
1432
+ internalType: "uint256",
1433
+ type: "uint256"
1434
+ },
1435
+ {
1436
+ name: "expectedPairedTokenBalance",
1437
+ internalType: "uint256",
1438
+ type: "uint256"
1439
+ },
1440
+ { name: "pairedToken", internalType: "address", type: "address" }
1441
+ ],
1442
+ name: "collectV4Dust",
1443
+ outputs: [
1444
+ { name: "tokenDust", internalType: "uint256", type: "uint256" },
1445
+ { name: "pairedTokenDust", internalType: "uint256", type: "uint256" }
1446
+ ]
1447
+ },
1448
+ {
1449
+ stateMutability: "pure",
1450
+ type: "function",
1451
+ inputs: [],
1452
+ name: "contractVersion",
1453
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1454
+ },
1455
+ {
1456
+ stateMutability: "view",
1457
+ type: "function",
1458
+ inputs: [],
1459
+ name: "factory",
1460
+ outputs: [{ name: "", internalType: "address payable", type: "address" }]
1461
+ },
1462
+ {
1463
+ stateMutability: "view",
1464
+ type: "function",
1465
+ inputs: [],
1466
+ name: "feeBPS",
1467
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1468
+ },
1469
+ {
1470
+ stateMutability: "view",
1471
+ type: "function",
1472
+ inputs: [],
1473
+ name: "firstBuyCompleted",
1474
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1475
+ },
1476
+ {
1477
+ stateMutability: "view",
1478
+ type: "function",
1479
+ inputs: [],
1480
+ name: "firstBuyFee",
1481
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1482
+ },
1483
+ {
1484
+ stateMutability: "view",
1485
+ type: "function",
1486
+ inputs: [],
1487
+ name: "fixedMigrationFee",
1488
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1489
+ },
1490
+ {
1491
+ stateMutability: "view",
1492
+ type: "function",
1493
+ inputs: [
1494
+ { name: "_amountOut", internalType: "uint256", type: "uint256" },
1495
+ { name: "_reserveIn", internalType: "uint256", type: "uint256" },
1496
+ { name: "_reserveOut", internalType: "uint256", type: "uint256" },
1497
+ { name: "_paymentTokenIsOut", internalType: "bool", type: "bool" }
1498
+ ],
1499
+ name: "getAmountInAndFee",
1500
+ outputs: [
1501
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
1502
+ { name: "fee", internalType: "uint256", type: "uint256" }
1503
+ ]
1504
+ },
1505
+ {
1506
+ stateMutability: "view",
1507
+ type: "function",
1508
+ inputs: [
1509
+ { name: "_amountIn", internalType: "uint256", type: "uint256" },
1510
+ { name: "_reserveIn", internalType: "uint256", type: "uint256" },
1511
+ { name: "_reserveOut", internalType: "uint256", type: "uint256" },
1512
+ { name: "_paymentTokenIsIn", internalType: "bool", type: "bool" }
1513
+ ],
1514
+ name: "getAmountOutAndFee",
1515
+ outputs: [
1516
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
1517
+ { name: "fee", internalType: "uint256", type: "uint256" }
1518
+ ]
1519
+ },
1520
+ {
1521
+ stateMutability: "view",
1522
+ type: "function",
1523
+ inputs: [],
1524
+ name: "getCurveProgressBps",
1525
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1526
+ },
1527
+ {
1528
+ stateMutability: "view",
1529
+ type: "function",
1530
+ inputs: [],
1531
+ name: "getMarketCap",
1532
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1533
+ },
1534
+ {
1535
+ stateMutability: "view",
1536
+ type: "function",
1537
+ inputs: [],
1538
+ name: "getV4FeeCollectionConfig",
1539
+ outputs: [
1540
+ { name: "", internalType: "address[]", type: "address[]" },
1541
+ { name: "", internalType: "uint16[]", type: "uint16[]" },
1542
+ { name: "", internalType: "bytes4[]", type: "bytes4[]" }
1543
+ ]
1544
+ },
1545
+ {
1546
+ stateMutability: "view",
1547
+ type: "function",
1548
+ inputs: [],
1549
+ name: "getV4LiquidityConfig",
1550
+ outputs: [
1551
+ { name: "tickLowerBase", internalType: "int24[]", type: "int24[]" },
1552
+ { name: "tickUpperBase", internalType: "int24[]", type: "int24[]" },
1553
+ { name: "positionTokenBps", internalType: "uint16[]", type: "uint16[]" },
1554
+ {
1555
+ name: "positionPairedTokenBps",
1556
+ internalType: "uint16[]",
1557
+ type: "uint16[]"
1558
+ }
1559
+ ]
1560
+ },
1561
+ {
1562
+ stateMutability: "view",
1563
+ type: "function",
1564
+ inputs: [],
1565
+ name: "initialTokenSupply",
1566
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1567
+ },
1568
+ {
1569
+ stateMutability: "nonpayable",
1570
+ type: "function",
1571
+ inputs: [
1572
+ { name: "_platformReferrer", internalType: "address", type: "address" },
1573
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
1574
+ { name: "_token", internalType: "address", type: "address" }
1575
+ ],
1576
+ name: "initialize",
1577
+ outputs: []
1578
+ },
1579
+ {
1580
+ stateMutability: "nonpayable",
1581
+ type: "function",
1582
+ inputs: [],
1583
+ name: "initiateV4Migration",
1584
+ outputs: [
1585
+ { name: "tokensToMigrate", internalType: "uint256", type: "uint256" },
1586
+ { name: "tokensToBurn", internalType: "uint256", type: "uint256" },
1587
+ { name: "collateralAmount", internalType: "uint256", type: "uint256" },
1588
+ { name: "graduationPoolPrice", internalType: "uint160", type: "uint160" },
1589
+ { name: "lpFee", internalType: "uint24", type: "uint24" },
1590
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1591
+ { name: "pairedToken", internalType: "address", type: "address" },
1592
+ { name: "lpManager", internalType: "address", type: "address" },
1593
+ { name: "hook", internalType: "address", type: "address" }
1594
+ ]
1595
+ },
1596
+ {
1597
+ stateMutability: "view",
1598
+ type: "function",
1599
+ inputs: [],
1600
+ name: "mcLowerLimit",
1601
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1602
+ },
1603
+ {
1604
+ stateMutability: "view",
1605
+ type: "function",
1606
+ inputs: [],
1607
+ name: "mcUpperLimit",
1608
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1609
+ },
1610
+ {
1611
+ stateMutability: "nonpayable",
1612
+ type: "function",
1613
+ inputs: [],
1614
+ name: "migrate",
1615
+ outputs: [
1616
+ { name: "", internalType: "uint256", type: "uint256" },
1617
+ { name: "", internalType: "uint128", type: "uint128" },
1618
+ { name: "", internalType: "uint256", type: "uint256" },
1619
+ { name: "", internalType: "uint256", type: "uint256" }
1620
+ ]
1621
+ },
1622
+ {
1623
+ stateMutability: "view",
1624
+ type: "function",
1625
+ inputs: [],
1626
+ name: "owner",
1627
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1628
+ },
1629
+ {
1630
+ stateMutability: "view",
1631
+ type: "function",
1632
+ inputs: [],
1633
+ name: "payoutRecipient",
1634
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1635
+ },
1636
+ {
1637
+ stateMutability: "view",
1638
+ type: "function",
1639
+ inputs: [],
1640
+ name: "platformReferrer",
1641
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1642
+ },
1643
+ {
1644
+ stateMutability: "view",
1645
+ type: "function",
1646
+ inputs: [],
1647
+ name: "poolCreationFee",
1648
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1649
+ },
1650
+ {
1651
+ stateMutability: "view",
1652
+ type: "function",
1653
+ inputs: [],
1654
+ name: "protocolRewardRecipient",
1655
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1656
+ },
1657
+ {
1658
+ stateMutability: "view",
1659
+ type: "function",
1660
+ inputs: [],
1661
+ name: "protocolRewards",
1662
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1663
+ },
1664
+ {
1665
+ stateMutability: "nonpayable",
1666
+ type: "function",
1667
+ inputs: [],
1668
+ name: "renounceOwnership",
1669
+ outputs: []
1670
+ },
1671
+ {
1672
+ stateMutability: "nonpayable",
1673
+ type: "function",
1674
+ inputs: [],
1675
+ name: "renounceTokenOwnership",
1676
+ outputs: []
1677
+ },
1678
+ {
1679
+ stateMutability: "nonpayable",
1680
+ type: "function",
1681
+ inputs: [],
1682
+ name: "restrictTransfer",
1683
+ outputs: []
1684
+ },
1685
+ {
1686
+ stateMutability: "nonpayable",
1687
+ type: "function",
1688
+ inputs: [
1689
+ { name: "_tokenAmount", internalType: "uint256", type: "uint256" },
1690
+ {
1691
+ name: "_amountCollateralMin",
1692
+ internalType: "uint256",
1693
+ type: "uint256"
1694
+ },
1695
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
1696
+ ],
1697
+ name: "sellExactIn",
1698
+ outputs: [
1699
+ {
1700
+ name: "collateralToReceiveMinusFee",
1701
+ internalType: "uint256",
1702
+ type: "uint256"
1703
+ },
1704
+ { name: "tradeFee", internalType: "uint256", type: "uint256" }
1705
+ ]
1706
+ },
1707
+ {
1708
+ stateMutability: "nonpayable",
1709
+ type: "function",
1710
+ inputs: [
1711
+ { name: "_tokenAmountMax", internalType: "uint256", type: "uint256" },
1712
+ { name: "_amountCollateral", internalType: "uint256", type: "uint256" },
1713
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
1714
+ ],
1715
+ name: "sellExactOut",
1716
+ outputs: [
1717
+ {
1718
+ name: "collateralToReceiveMinusFee",
1719
+ internalType: "uint256",
1720
+ type: "uint256"
1721
+ },
1722
+ { name: "tokensOut", internalType: "uint256", type: "uint256" },
1723
+ { name: "tradeFee", internalType: "uint256", type: "uint256" }
1724
+ ]
1725
+ },
1726
+ {
1727
+ stateMutability: "view",
1728
+ type: "function",
1729
+ inputs: [],
1730
+ name: "sendingToPairForbidden",
1731
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1732
+ },
1733
+ {
1734
+ stateMutability: "view",
1735
+ type: "function",
1736
+ inputs: [],
1737
+ name: "token",
1738
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1739
+ },
1740
+ {
1741
+ stateMutability: "view",
1742
+ type: "function",
1743
+ inputs: [],
1744
+ name: "tokenImplementation",
1745
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1746
+ },
1747
+ {
1748
+ stateMutability: "view",
1749
+ type: "function",
1750
+ inputs: [],
1751
+ name: "tokensMigrationThreshold",
1752
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1753
+ },
1754
+ {
1755
+ stateMutability: "view",
1756
+ type: "function",
1757
+ inputs: [],
1758
+ name: "tradingStopped",
1759
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1760
+ },
1761
+ {
1762
+ stateMutability: "nonpayable",
1763
+ type: "function",
1764
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1765
+ name: "transferOwnership",
1766
+ outputs: []
1767
+ },
1768
+ {
1769
+ stateMutability: "view",
1770
+ type: "function",
1771
+ inputs: [],
1772
+ name: "v4ConfigVersion",
1773
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
1774
+ },
1775
+ {
1776
+ stateMutability: "view",
1777
+ type: "function",
1778
+ inputs: [],
1779
+ name: "v4LpConfigBound",
1780
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1781
+ },
1782
+ {
1783
+ stateMutability: "view",
1784
+ type: "function",
1785
+ inputs: [],
1786
+ name: "v4LpFee",
1787
+ outputs: [{ name: "", internalType: "uint24", type: "uint24" }]
1788
+ },
1789
+ {
1790
+ stateMutability: "view",
1791
+ type: "function",
1792
+ inputs: [],
1793
+ name: "v4PoolManager",
1794
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1795
+ },
1796
+ {
1797
+ stateMutability: "view",
1798
+ type: "function",
1799
+ inputs: [],
1800
+ name: "v4PositionManager",
1801
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1802
+ },
1803
+ {
1804
+ stateMutability: "view",
1805
+ type: "function",
1806
+ inputs: [],
1807
+ name: "v4TickSpacing",
1808
+ outputs: [{ name: "", internalType: "int24", type: "int24" }]
1809
+ },
1810
+ {
1811
+ stateMutability: "view",
1812
+ type: "function",
1813
+ inputs: [],
1814
+ name: "virtualCollateralReserves",
1815
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1816
+ },
1817
+ {
1818
+ stateMutability: "view",
1819
+ type: "function",
1820
+ inputs: [],
1821
+ name: "virtualCollateralReservesInitial",
1822
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1823
+ },
1824
+ {
1825
+ stateMutability: "view",
1826
+ type: "function",
1827
+ inputs: [],
1828
+ name: "virtualTokenReserves",
1829
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1830
+ },
1831
+ {
1832
+ stateMutability: "view",
1833
+ type: "function",
1834
+ inputs: [],
1835
+ name: "virtualTokenReservesInitial",
1836
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1837
+ },
1838
+ {
1839
+ stateMutability: "view",
1840
+ type: "function",
1841
+ inputs: [],
1842
+ name: "wethAddress",
1843
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1844
+ },
1845
+ {
1846
+ type: "event",
1847
+ anonymous: false,
1848
+ inputs: [
1849
+ {
1850
+ name: "tokenDust",
1851
+ internalType: "uint256",
1852
+ type: "uint256",
1853
+ indexed: false
1854
+ },
1855
+ {
1856
+ name: "pairedTokenDust",
1857
+ internalType: "uint256",
1858
+ type: "uint256",
1859
+ indexed: false
1860
+ }
1861
+ ],
1862
+ name: "DustCollected"
1863
+ },
1864
+ {
1865
+ type: "event",
1866
+ anonymous: false,
1867
+ inputs: [
1868
+ {
1869
+ name: "version",
1870
+ internalType: "uint64",
1871
+ type: "uint64",
1872
+ indexed: false
1873
+ }
1874
+ ],
1875
+ name: "Initialized"
1876
+ },
1877
+ {
1878
+ type: "event",
1879
+ anonymous: false,
1880
+ inputs: [
1881
+ {
1882
+ name: "previousOwner",
1883
+ internalType: "address",
1884
+ type: "address",
1885
+ indexed: true
1886
+ },
1887
+ {
1888
+ name: "newOwner",
1889
+ internalType: "address",
1890
+ type: "address",
1891
+ indexed: true
1892
+ }
1893
+ ],
1894
+ name: "OwnershipTransferred"
1895
+ },
1896
+ {
1897
+ type: "event",
1898
+ anonymous: false,
1899
+ inputs: [
1900
+ {
1901
+ name: "payoutRecipient",
1902
+ internalType: "address",
1903
+ type: "address",
1904
+ indexed: true
1905
+ },
1906
+ {
1907
+ name: "platformReferrer",
1908
+ internalType: "address",
1909
+ type: "address",
1910
+ indexed: true
1911
+ },
1912
+ {
1913
+ name: "tradeReferrer",
1914
+ internalType: "address",
1915
+ type: "address",
1916
+ indexed: true
1917
+ },
1918
+ {
1919
+ name: "protocolRewardRecipient",
1920
+ internalType: "address",
1921
+ type: "address",
1922
+ indexed: false
1923
+ },
1924
+ {
1925
+ name: "creatorReward",
1926
+ internalType: "uint256",
1927
+ type: "uint256",
1928
+ indexed: false
1929
+ },
1930
+ {
1931
+ name: "platformReferrerReward",
1932
+ internalType: "uint256",
1933
+ type: "uint256",
1934
+ indexed: false
1935
+ },
1936
+ {
1937
+ name: "traderReferrerReward",
1938
+ internalType: "uint256",
1939
+ type: "uint256",
1940
+ indexed: false
1941
+ },
1942
+ {
1943
+ name: "protocolReward",
1944
+ internalType: "uint256",
1945
+ type: "uint256",
1946
+ indexed: false
1947
+ }
1948
+ ],
1949
+ name: "TradeRewardsDistributed"
1950
+ },
1951
+ {
1952
+ type: "event",
1953
+ anonymous: false,
1954
+ inputs: [
1955
+ {
1956
+ name: "token",
1957
+ internalType: "address",
1958
+ type: "address",
1959
+ indexed: true
1960
+ },
1961
+ {
1962
+ name: "cfgHash",
1963
+ internalType: "bytes32",
1964
+ type: "bytes32",
1965
+ indexed: false
1966
+ },
1967
+ { name: "version", internalType: "uint8", type: "uint8", indexed: false },
1968
+ { name: "spacing", internalType: "int24", type: "int24", indexed: false },
1969
+ {
1970
+ name: "tickCount",
1971
+ internalType: "uint256",
1972
+ type: "uint256",
1973
+ indexed: false
1974
+ }
1975
+ ],
1976
+ name: "V4LiquidityConfigBound"
1977
+ },
1978
+ { type: "error", inputs: [], name: "AlreadyMigrated" },
1979
+ { type: "error", inputs: [], name: "AmountInZero" },
1980
+ { type: "error", inputs: [], name: "AmountOutZero" },
1981
+ { type: "error", inputs: [], name: "FailedCall" },
1982
+ { type: "error", inputs: [], name: "FailedToSendETH" },
1983
+ { type: "error", inputs: [], name: "InitialTokenSupplyNotSet" },
1984
+ {
1985
+ type: "error",
1986
+ inputs: [
1987
+ { name: "balance", internalType: "uint256", type: "uint256" },
1988
+ { name: "needed", internalType: "uint256", type: "uint256" }
1989
+ ],
1990
+ name: "InsufficientBalance"
1991
+ },
1992
+ { type: "error", inputs: [], name: "InsufficientCollateral" },
1993
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
1994
+ { type: "error", inputs: [], name: "InsufficientTokenReserves" },
1995
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1996
+ { type: "error", inputs: [], name: "InvalidLiquidity" },
1997
+ { type: "error", inputs: [], name: "InvalidPairedToken" },
1998
+ { type: "error", inputs: [], name: "LegacyMigrationDisabled" },
1999
+ { type: "error", inputs: [], name: "MarketCapNotAvailableAfterMigration" },
2000
+ {
2001
+ type: "error",
2002
+ inputs: [
2003
+ { name: "currentMarketCap", internalType: "uint256", type: "uint256" },
2004
+ { name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
2005
+ { name: "mcUpperLimit", internalType: "uint256", type: "uint256" }
2006
+ ],
2007
+ name: "MarketcapThresholdReached"
2008
+ },
2009
+ { type: "error", inputs: [], name: "McLowerLimitNotSet" },
2010
+ { type: "error", inputs: [], name: "McUpperLimitNotSet" },
2011
+ { type: "error", inputs: [], name: "NotEnoughETHReserves" },
2012
+ { type: "error", inputs: [], name: "NotEnoughForFirstBuyFee" },
2013
+ { type: "error", inputs: [], name: "NotEnoughtETHToBuyTokens" },
2014
+ { type: "error", inputs: [], name: "NotInitializing" },
2015
+ { type: "error", inputs: [], name: "OnlyFactory" },
2016
+ { type: "error", inputs: [], name: "OnlyWeth" },
2017
+ {
2018
+ type: "error",
2019
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2020
+ name: "OwnableInvalidOwner"
2021
+ },
2022
+ {
2023
+ type: "error",
2024
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2025
+ name: "OwnableUnauthorizedAccount"
2026
+ },
2027
+ { type: "error", inputs: [], name: "PairedTokenConversionRequired" },
2028
+ { type: "error", inputs: [], name: "PoolAlreadyCreated" },
2029
+ { type: "error", inputs: [], name: "PoolNotCreated" },
2030
+ { type: "error", inputs: [], name: "PoolNotDeployed" },
2031
+ { type: "error", inputs: [], name: "PoolNotPreCreated" },
2032
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2033
+ { type: "error", inputs: [], name: "SlippageCheckFailed" },
2034
+ { type: "error", inputs: [], name: "TokenNotInitialized" },
2035
+ { type: "error", inputs: [], name: "TradingStopped" },
2036
+ { type: "error", inputs: [], name: "TransfersRestricted" },
2037
+ { type: "error", inputs: [], name: "V4ConfigAlreadyBound" },
2038
+ {
2039
+ type: "error",
2040
+ inputs: [
2041
+ { name: "expected", internalType: "uint8", type: "uint8" },
2042
+ { name: "actual", internalType: "uint8", type: "uint8" }
2043
+ ],
2044
+ name: "V4ConfigVersionMismatch"
2045
+ },
2046
+ { type: "error", inputs: [], name: "V4GraduationNotSingleSided" },
2047
+ { type: "error", inputs: [], name: "V4InvalidPositionBps" },
2048
+ { type: "error", inputs: [], name: "V4InvalidTickSpacing" },
2049
+ { type: "error", inputs: [], name: "V4MismatchedPositionInfos" },
2050
+ { type: "error", inputs: [], name: "V4NoPositions" },
2051
+ { type: "error", inputs: [], name: "V4TicksBackwards" },
2052
+ { type: "error", inputs: [], name: "V4TicksNotMultipleOfTickSpacing" },
2053
+ { type: "error", inputs: [], name: "V4TicksOutOfTickBounds" },
2054
+ { type: "error", inputs: [], name: "V4TooManyPositions" }
2055
+ ];
2056
+ var bondingCurveAddress = {
2057
+ 8453: "0x3Af9745CeF866D69bB99f74D2d0B5025805878a4",
2058
+ 84532: "0x4F5CE506fa0A8bF06b3A5e3e61061e863B04FC65"
2059
+ };
2060
+ var bondingCurveConfig = {
2061
+ address: bondingCurveAddress,
2062
+ abi: bondingCurveABI
2063
+ };
2064
+ var protocolRewardsABI = [
2065
+ { stateMutability: "payable", type: "constructor", inputs: [] },
2066
+ {
2067
+ stateMutability: "view",
2068
+ type: "function",
2069
+ inputs: [],
2070
+ name: "WITHDRAW_TYPEHASH",
2071
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2072
+ },
2073
+ {
2074
+ stateMutability: "view",
2075
+ type: "function",
2076
+ inputs: [{ name: "", internalType: "address", type: "address" }],
2077
+ name: "balanceOf",
2078
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2079
+ },
2080
+ {
2081
+ stateMutability: "payable",
2082
+ type: "function",
2083
+ inputs: [
2084
+ { name: "to", internalType: "address", type: "address" },
2085
+ { name: "reason", internalType: "bytes4", type: "bytes4" },
2086
+ { name: "comment", internalType: "string", type: "string" }
2087
+ ],
2088
+ name: "deposit",
2089
+ outputs: []
2090
+ },
2091
+ {
2092
+ stateMutability: "payable",
2093
+ type: "function",
2094
+ inputs: [
2095
+ { name: "recipients", internalType: "address[]", type: "address[]" },
2096
+ { name: "amounts", internalType: "uint256[]", type: "uint256[]" },
2097
+ { name: "reasons", internalType: "bytes4[]", type: "bytes4[]" },
2098
+ { name: "comment", internalType: "string", type: "string" }
2099
+ ],
2100
+ name: "depositBatch",
2101
+ outputs: []
2102
+ },
2103
+ {
2104
+ stateMutability: "payable",
2105
+ type: "function",
2106
+ inputs: [
2107
+ { name: "creator", internalType: "address", type: "address" },
2108
+ { name: "creatorReward", internalType: "uint256", type: "uint256" },
2109
+ { name: "createReferral", internalType: "address", type: "address" },
2110
+ {
2111
+ name: "createReferralReward",
2112
+ internalType: "uint256",
2113
+ type: "uint256"
2114
+ },
2115
+ { name: "mintReferral", internalType: "address", type: "address" },
2116
+ { name: "mintReferralReward", internalType: "uint256", type: "uint256" },
2117
+ { name: "firstMinter", internalType: "address", type: "address" },
2118
+ { name: "firstMinterReward", internalType: "uint256", type: "uint256" },
2119
+ { name: "freee", internalType: "address", type: "address" },
2120
+ { name: "freeeReward", internalType: "uint256", type: "uint256" }
2121
+ ],
2122
+ name: "depositRewards",
2123
+ outputs: []
2124
+ },
2125
+ {
2126
+ stateMutability: "view",
2127
+ type: "function",
2128
+ inputs: [],
2129
+ name: "eip712Domain",
2130
+ outputs: [
2131
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
2132
+ { name: "name", internalType: "string", type: "string" },
2133
+ { name: "version", internalType: "string", type: "string" },
2134
+ { name: "chainId", internalType: "uint256", type: "uint256" },
2135
+ { name: "verifyingContract", internalType: "address", type: "address" },
2136
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
2137
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
2138
+ ]
2139
+ },
2140
+ {
2141
+ stateMutability: "view",
2142
+ type: "function",
2143
+ inputs: [{ name: "", internalType: "address", type: "address" }],
2144
+ name: "nonces",
2145
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2146
+ },
2147
+ {
2148
+ stateMutability: "view",
2149
+ type: "function",
2150
+ inputs: [],
2151
+ name: "totalSupply",
2152
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2153
+ },
2154
+ {
2155
+ stateMutability: "nonpayable",
2156
+ type: "function",
2157
+ inputs: [
2158
+ { name: "to", internalType: "address", type: "address" },
2159
+ { name: "amount", internalType: "uint256", type: "uint256" }
2160
+ ],
2161
+ name: "withdraw",
2162
+ outputs: []
2163
+ },
2164
+ {
2165
+ stateMutability: "nonpayable",
2166
+ type: "function",
2167
+ inputs: [
2168
+ { name: "to", internalType: "address", type: "address" },
2169
+ { name: "amount", internalType: "uint256", type: "uint256" }
2170
+ ],
2171
+ name: "withdrawFor",
2172
+ outputs: []
2173
+ },
2174
+ {
2175
+ stateMutability: "nonpayable",
2176
+ type: "function",
2177
+ inputs: [
2178
+ { name: "from", internalType: "address", type: "address" },
2179
+ { name: "to", internalType: "address", type: "address" },
2180
+ { name: "amount", internalType: "uint256", type: "uint256" },
2181
+ { name: "deadline", internalType: "uint256", type: "uint256" },
2182
+ { name: "v", internalType: "uint8", type: "uint8" },
2183
+ { name: "r", internalType: "bytes32", type: "bytes32" },
2184
+ { name: "s", internalType: "bytes32", type: "bytes32" }
2185
+ ],
2186
+ name: "withdrawWithSig",
2187
+ outputs: []
2188
+ },
2189
+ {
2190
+ type: "event",
2191
+ anonymous: false,
2192
+ inputs: [
2193
+ { name: "from", internalType: "address", type: "address", indexed: true },
2194
+ { name: "to", internalType: "address", type: "address", indexed: true },
2195
+ { name: "reason", internalType: "bytes4", type: "bytes4", indexed: true },
2196
+ {
2197
+ name: "amount",
2198
+ internalType: "uint256",
2199
+ type: "uint256",
2200
+ indexed: false
2201
+ },
2202
+ {
2203
+ name: "comment",
2204
+ internalType: "string",
2205
+ type: "string",
2206
+ indexed: false
2207
+ }
2208
+ ],
2209
+ name: "Deposit"
2210
+ },
2211
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
2212
+ {
2213
+ type: "event",
2214
+ anonymous: false,
2215
+ inputs: [
2216
+ {
2217
+ name: "creator",
2218
+ internalType: "address",
2219
+ type: "address",
2220
+ indexed: true
2221
+ },
2222
+ {
2223
+ name: "createReferral",
2224
+ internalType: "address",
2225
+ type: "address",
2226
+ indexed: true
2227
+ },
2228
+ {
2229
+ name: "mintReferral",
2230
+ internalType: "address",
2231
+ type: "address",
2232
+ indexed: true
2233
+ },
2234
+ {
2235
+ name: "firstMinter",
2236
+ internalType: "address",
2237
+ type: "address",
2238
+ indexed: false
2239
+ },
2240
+ {
2241
+ name: "freee",
2242
+ internalType: "address",
2243
+ type: "address",
2244
+ indexed: false
2245
+ },
2246
+ {
2247
+ name: "from",
2248
+ internalType: "address",
2249
+ type: "address",
2250
+ indexed: false
2251
+ },
2252
+ {
2253
+ name: "creatorReward",
2254
+ internalType: "uint256",
2255
+ type: "uint256",
2256
+ indexed: false
2257
+ },
2258
+ {
2259
+ name: "createReferralReward",
2260
+ internalType: "uint256",
2261
+ type: "uint256",
2262
+ indexed: false
2263
+ },
2264
+ {
2265
+ name: "mintReferralReward",
2266
+ internalType: "uint256",
2267
+ type: "uint256",
2268
+ indexed: false
2269
+ },
2270
+ {
2271
+ name: "firstMinterReward",
2272
+ internalType: "uint256",
2273
+ type: "uint256",
2274
+ indexed: false
2275
+ },
2276
+ {
2277
+ name: "freeeReward",
2278
+ internalType: "uint256",
2279
+ type: "uint256",
2280
+ indexed: false
2281
+ }
2282
+ ],
2283
+ name: "RewardsDeposit"
2284
+ },
2285
+ {
2286
+ type: "event",
2287
+ anonymous: false,
2288
+ inputs: [
2289
+ { name: "from", internalType: "address", type: "address", indexed: true },
2290
+ { name: "to", internalType: "address", type: "address", indexed: true },
2291
+ {
2292
+ name: "amount",
2293
+ internalType: "uint256",
2294
+ type: "uint256",
2295
+ indexed: false
2296
+ }
2297
+ ],
2298
+ name: "Withdraw"
2299
+ },
2300
+ { type: "error", inputs: [], name: "ADDRESS_ZERO" },
2301
+ { type: "error", inputs: [], name: "ARRAY_LENGTH_MISMATCH" },
2302
+ { type: "error", inputs: [], name: "INVALID_DEPOSIT" },
2303
+ { type: "error", inputs: [], name: "INVALID_SIGNATURE" },
2304
+ { type: "error", inputs: [], name: "INVALID_WITHDRAW" },
2305
+ { type: "error", inputs: [], name: "InvalidShortString" },
2306
+ { type: "error", inputs: [], name: "SIGNATURE_DEADLINE_EXPIRED" },
2307
+ {
2308
+ type: "error",
2309
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
2310
+ name: "StringTooLong"
2311
+ },
2312
+ { type: "error", inputs: [], name: "TRANSFER_FAILED" }
2313
+ ];
2314
+ var protocolRewardsAddress = {
2315
+ 8453: "0xdA6Fc394054553C1A954967281b88874297807c3",
2316
+ 84532: "0x3Ce39C0136A557799D0f7f25d70ba8863510D986"
2317
+ };
2318
+ var protocolRewardsConfig = {
2319
+ address: protocolRewardsAddress,
2320
+ abi: protocolRewardsABI
2321
+ };
2322
+
2323
+ // package/chainConfigs.ts
2324
+ var chainConfigs = {
2325
+ [8453]: {
2326
+ current: {
2327
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2328
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
2329
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
2330
+ "FEE_BASIS_POINTS": "200",
2331
+ "DEX_FEE_BASIS_POINTS": "5000",
2332
+ "FIXED_MIGRATION_FEE": "100000000000000000",
2333
+ "POOL_CREATION_FEE": "50000000000000000",
2334
+ "FIRST_BUY_FEE": "1500000000000000",
2335
+ "MC_UPPER_LIMIT": "11835000000000000000",
2336
+ "MC_LOWER_LIMIT": "11795000000000000000",
2337
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2338
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
2339
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2340
+ "DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
2341
+ "FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
2342
+ "PROTOCOL_REWARD_RECIPIENT": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
2343
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
2344
+ "QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
2345
+ "SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
2346
+ "UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
2347
+ "WETH": "0x4200000000000000000000000000000000000006",
2348
+ "V3_POOL_FEE": "10000",
2349
+ "TRADE_REFERRER_FEE_BPS": "1000",
2350
+ "CONTRACT_VERSION": "2.0.0",
2351
+ "V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
2352
+ "V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
2353
+ "QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
2354
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2355
+ "UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
2356
+ "V4_LP_FEE": "20000",
2357
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
2358
+ },
2359
+ "1.0.12": {
2360
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2361
+ "VIRTUAL_TOKEN_RESERVES": "1060000000000000000000000000",
2362
+ "VIRTUAL_COLLATERAL_RESERVES": "1600000000000000000",
2363
+ "FEE_BASIS_POINTS": "200",
2364
+ "DEX_FEE_BASIS_POINTS": "5000",
2365
+ "FIXED_MIGRATION_FEE": "100000000000000000",
2366
+ "POOL_CREATION_FEE": "50000000000000000",
2367
+ "FIRST_BUY_FEE": "1500000000000000",
2368
+ "MC_UPPER_LIMIT": "27000000000000000000",
2369
+ "MC_LOWER_LIMIT": "25000000000000000000",
2370
+ "TOKENS_MIGRATION_THRESHOLD": "799538870462404697804703491",
2371
+ "TARGET_ETH_COLLECTION_AMOUNT": "4911528238439880951",
2372
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2373
+ "DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
2374
+ "FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
2375
+ "PROTOCOL_REWARD_RECIPIENT": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
2376
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
2377
+ "QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
2378
+ "SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
2379
+ "UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
2380
+ "WETH": "0x4200000000000000000000000000000000000006",
2381
+ "V3_POOL_FEE": "10000",
2382
+ "TRADE_REFERRER_FEE_BPS": "1000",
2383
+ "CONTRACT_VERSION": "1.0.12"
2384
+ },
2385
+ "1.0.8": {
2386
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2387
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
2388
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
2389
+ "FEE_BASIS_POINTS": "200",
2390
+ "DEX_FEE_BASIS_POINTS": "5000",
2391
+ "FIXED_MIGRATION_FEE": "100000000000000000",
2392
+ "POOL_CREATION_FEE": "50000000000000000",
2393
+ "FIRST_BUY_FEE": "1500000000000000",
2394
+ "MC_UPPER_LIMIT": "11835000000000000000",
2395
+ "MC_LOWER_LIMIT": "11795000000000000000",
2396
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2397
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
2398
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2399
+ "DEPLOYER": "0x30d197dd771d8f75378aad9428ed9d5e24bdbbbb",
2400
+ "FACTORY_OWNER": "0x2730B29aCbBCD34A59B720338e8d06619Fd71ACa",
2401
+ "PROTOCOL_REWARD_RECIPIENT": "0x2730B29aCbBCD34A59B720338e8d06619Fd71ACa",
2402
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
2403
+ "QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
2404
+ "SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
2405
+ "UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
2406
+ "WETH": "0x4200000000000000000000000000000000000006",
2407
+ "V3_POOL_FEE": "10000",
2408
+ "TRADE_REFERRER_FEE_BPS": "1000",
2409
+ "CONTRACT_VERSION": "1.0.8",
2410
+ "V4_POOL_MANAGER": "0x498581ff718922c3f8e6a244956af099b2652b2b",
2411
+ "V4_POSITION_MANAGER": "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
2412
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2413
+ "UNIVERSAL_ROUTER": "0x6ff5693b99212da76ad316178a184ab56d299b43",
2414
+ "V4_LP_FEE": "20000",
2415
+ "V4_TICK_SPACING": "60",
2416
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
2417
+ },
2418
+ "2.0.0": {
2419
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2420
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
2421
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
2422
+ "FEE_BASIS_POINTS": "200",
2423
+ "DEX_FEE_BASIS_POINTS": "5000",
2424
+ "FIXED_MIGRATION_FEE": "100000000000000000",
2425
+ "POOL_CREATION_FEE": "50000000000000000",
2426
+ "FIRST_BUY_FEE": "1500000000000000",
2427
+ "MC_UPPER_LIMIT": "11835000000000000000",
2428
+ "MC_LOWER_LIMIT": "11795000000000000000",
2429
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2430
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
2431
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2432
+ "DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
2433
+ "FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
2434
+ "PROTOCOL_REWARD_RECIPIENT": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
2435
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
2436
+ "QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
2437
+ "SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
2438
+ "UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
2439
+ "WETH": "0x4200000000000000000000000000000000000006",
2440
+ "V3_POOL_FEE": "10000",
2441
+ "TRADE_REFERRER_FEE_BPS": "1000",
2442
+ "CONTRACT_VERSION": "2.0.0",
2443
+ "V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
2444
+ "V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
2445
+ "QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
2446
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2447
+ "UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
2448
+ "V4_LP_FEE": "20000",
2449
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
2450
+ }
2451
+ },
2452
+ [84532]: {
2453
+ current: {
2454
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2455
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
2456
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
2457
+ "FEE_BASIS_POINTS": "200",
2458
+ "DEX_FEE_BASIS_POINTS": "5000",
2459
+ "FIXED_MIGRATION_FEE": "100000000000000000",
2460
+ "POOL_CREATION_FEE": "50000000000000000",
2461
+ "FIRST_BUY_FEE": "1500000000000000",
2462
+ "MC_UPPER_LIMIT": "11835000000000000000",
2463
+ "MC_LOWER_LIMIT": "11795000000000000000",
2464
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2465
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
2466
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2467
+ "DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2468
+ "FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2469
+ "PROTOCOL_REWARD_RECIPIENT": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2470
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
2471
+ "QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
2472
+ "SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
2473
+ "UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
2474
+ "WETH": "0x4200000000000000000000000000000000000006",
2475
+ "V3_POOL_FEE": "10000",
2476
+ "TRADE_REFERRER_FEE_BPS": "1000",
2477
+ "CONTRACT_VERSION": "2.0.0",
2478
+ "V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
2479
+ "V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
2480
+ "QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
2481
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2482
+ "UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
2483
+ "V4_LP_FEE": "20000",
2484
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
2485
+ },
2486
+ "1.0.12": {
2487
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2488
+ "VIRTUAL_TOKEN_RESERVES": "1060000000000000000000000000",
2489
+ "VIRTUAL_COLLATERAL_RESERVES": "3250000000000000",
2490
+ "FEE_BASIS_POINTS": "200",
2491
+ "DEX_FEE_BASIS_POINTS": "5000",
2492
+ "FIXED_MIGRATION_FEE": "100000000000000",
2493
+ "POOL_CREATION_FEE": "100000000000000",
2494
+ "FIRST_BUY_FEE": "100000000000000",
2495
+ "MC_UPPER_LIMIT": "50961538461538464",
2496
+ "MC_LOWER_LIMIT": "45865384615384616",
2497
+ "TOKENS_MIGRATION_THRESHOLD": "793245628457859931534326380",
2498
+ "TARGET_ETH_COLLECTION_AMOUNT": "9320053699169239",
2499
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2500
+ "DEPLOYER": "0x9575B2D4EEb082F777Af9DaE93702aEa6d2769d3",
2501
+ "FACTORY_OWNER": "0x9575B2D4EEb082F777Af9DaE93702aEa6d2769d3",
2502
+ "PROTOCOL_REWARD_RECIPIENT": "0x9575B2D4EEb082F777Af9DaE93702aEa6d2769d3",
2503
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
2504
+ "QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
2505
+ "SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
2506
+ "UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
2507
+ "WETH": "0x4200000000000000000000000000000000000006",
2508
+ "V3_POOL_FEE": "10000",
2509
+ "TRADE_REFERRER_FEE_BPS": "1000",
2510
+ "CONTRACT_VERSION": "1.0.12"
2511
+ },
2512
+ "2.0.0": {
2513
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
2514
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
2515
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
2516
+ "FEE_BASIS_POINTS": "200",
2517
+ "DEX_FEE_BASIS_POINTS": "5000",
2518
+ "FIXED_MIGRATION_FEE": "100000000000000000",
2519
+ "POOL_CREATION_FEE": "50000000000000000",
2520
+ "FIRST_BUY_FEE": "1500000000000000",
2521
+ "MC_UPPER_LIMIT": "11835000000000000000",
2522
+ "MC_LOWER_LIMIT": "11795000000000000000",
2523
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2524
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
2525
+ "SIGNER": "0x0000000000000000000000000000000000000000",
2526
+ "DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2527
+ "FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2528
+ "PROTOCOL_REWARD_RECIPIENT": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2529
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
2530
+ "QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
2531
+ "SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
2532
+ "UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
2533
+ "WETH": "0x4200000000000000000000000000000000000006",
2534
+ "V3_POOL_FEE": "10000",
2535
+ "TRADE_REFERRER_FEE_BPS": "1000",
2536
+ "CONTRACT_VERSION": "2.0.0",
2537
+ "V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
2538
+ "V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
2539
+ "QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
2540
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2541
+ "UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
2542
+ "V4_LP_FEE": "20000",
2543
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
2544
+ }
2545
+ }
2546
+ };
2547
+ // Annotate the CommonJS export names for ESM import in node:
2548
+ 0 && (module.exports = {
2549
+ basememeFactoryABI,
2550
+ basememeFactoryAddress,
2551
+ basememeFactoryConfig,
2552
+ basememeFactoryImplABI,
2553
+ basememeFactoryImplAddress,
2554
+ basememeFactoryImplConfig,
2555
+ basememeTokenABI,
2556
+ basememeTokenAddress,
2557
+ basememeTokenConfig,
2558
+ bondingCurveABI,
2559
+ bondingCurveAddress,
2560
+ bondingCurveConfig,
2561
+ chainConfigs,
2562
+ protocolRewardsABI,
2563
+ protocolRewardsAddress,
2564
+ protocolRewardsConfig
2565
+ });
2566
+ //# sourceMappingURL=index.js.map