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