base-meme-v4-configs 0.0.4 → 0.0.5

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 CHANGED
@@ -26,9 +26,15 @@ __export(package_exports, {
26
26
  basememeFactoryImplABI: () => basememeFactoryImplABI,
27
27
  basememeFactoryImplAddress: () => basememeFactoryImplAddress,
28
28
  basememeFactoryImplConfig: () => basememeFactoryImplConfig,
29
+ basememeFactoryTradeHelperABI: () => basememeFactoryTradeHelperABI,
30
+ basememeFactoryTradeHelperAddress: () => basememeFactoryTradeHelperAddress,
31
+ basememeFactoryTradeHelperConfig: () => basememeFactoryTradeHelperConfig,
29
32
  basememeTokenABI: () => basememeTokenABI,
30
33
  basememeTokenAddress: () => basememeTokenAddress,
31
34
  basememeTokenConfig: () => basememeTokenConfig,
35
+ basememeTokenSwapABI: () => basememeTokenSwapABI,
36
+ basememeTokenSwapAddress: () => basememeTokenSwapAddress,
37
+ basememeTokenSwapConfig: () => basememeTokenSwapConfig,
32
38
  bondingCurveABI: () => bondingCurveABI,
33
39
  bondingCurveAddress: () => bondingCurveAddress,
34
40
  bondingCurveConfig: () => bondingCurveConfig,
@@ -111,6 +117,43 @@ var basememeFactoryImplABI = [
111
117
  name: "buyExactIn",
112
118
  outputs: []
113
119
  },
120
+ {
121
+ stateMutability: "payable",
122
+ type: "function",
123
+ inputs: [
124
+ { name: "_token", internalType: "address", type: "address" },
125
+ { name: "_amountOutMin", internalType: "uint256", type: "uint256" },
126
+ { name: "_tradeReferrer", internalType: "address", type: "address" },
127
+ { name: "_to", internalType: "address", type: "address" }
128
+ ],
129
+ name: "buyExactInTo",
130
+ outputs: []
131
+ },
132
+ {
133
+ stateMutability: "payable",
134
+ type: "function",
135
+ inputs: [
136
+ { name: "_token", internalType: "address", type: "address" },
137
+ { name: "_collateralAmountIn", internalType: "uint256", type: "uint256" },
138
+ { name: "_amountOutMin", internalType: "uint256", type: "uint256" },
139
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
140
+ ],
141
+ name: "buyExactInWithCollateral",
142
+ outputs: []
143
+ },
144
+ {
145
+ stateMutability: "payable",
146
+ type: "function",
147
+ inputs: [
148
+ { name: "_token", internalType: "address", type: "address" },
149
+ { name: "_collateralAmountIn", internalType: "uint256", type: "uint256" },
150
+ { name: "_amountOutMin", internalType: "uint256", type: "uint256" },
151
+ { name: "_tradeReferrer", internalType: "address", type: "address" },
152
+ { name: "_to", internalType: "address", type: "address" }
153
+ ],
154
+ name: "buyExactInWithCollateralTo",
155
+ outputs: []
156
+ },
114
157
  {
115
158
  stateMutability: "payable",
116
159
  type: "function",
@@ -127,6 +170,23 @@ var basememeFactoryImplABI = [
127
170
  name: "buyExactOut",
128
171
  outputs: []
129
172
  },
173
+ {
174
+ stateMutability: "payable",
175
+ type: "function",
176
+ inputs: [
177
+ { name: "_token", internalType: "address", type: "address" },
178
+ { name: "_tokenAmount", internalType: "uint256", type: "uint256" },
179
+ {
180
+ name: "_maxCollateralAmount",
181
+ internalType: "uint256",
182
+ type: "uint256"
183
+ },
184
+ { name: "_tradeReferrer", internalType: "address", type: "address" },
185
+ { name: "_to", internalType: "address", type: "address" }
186
+ ],
187
+ name: "buyExactOutTo",
188
+ outputs: []
189
+ },
130
190
  {
131
191
  stateMutability: "view",
132
192
  type: "function",
@@ -141,6 +201,67 @@ var basememeFactoryImplABI = [
141
201
  name: "chainV4LiquidityConfig",
142
202
  outputs: [{ name: "", internalType: "bytes", type: "bytes" }]
143
203
  },
204
+ {
205
+ stateMutability: "view",
206
+ type: "function",
207
+ inputs: [{ name: "", internalType: "address", type: "address" }],
208
+ name: "collateralConfigs",
209
+ outputs: [
210
+ {
211
+ name: "curveParams",
212
+ internalType: "struct IBondingCurve.CurveParams",
213
+ type: "tuple",
214
+ components: [
215
+ {
216
+ name: "initialTokenSupply",
217
+ internalType: "uint256",
218
+ type: "uint256"
219
+ },
220
+ {
221
+ name: "virtualCollateralReservesInitial",
222
+ internalType: "uint256",
223
+ type: "uint256"
224
+ },
225
+ {
226
+ name: "virtualTokenReservesInitial",
227
+ internalType: "uint256",
228
+ type: "uint256"
229
+ },
230
+ { name: "feeBPS", internalType: "uint256", type: "uint256" },
231
+ { name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
232
+ { name: "mcUpperLimit", internalType: "uint256", type: "uint256" },
233
+ {
234
+ name: "tokensMigrationThreshold",
235
+ internalType: "uint256",
236
+ type: "uint256"
237
+ },
238
+ {
239
+ name: "fixedMigrationFee",
240
+ internalType: "uint256",
241
+ type: "uint256"
242
+ },
243
+ { name: "poolCreationFee", internalType: "uint256", type: "uint256" },
244
+ { name: "firstBuyFee", internalType: "uint256", type: "uint256" },
245
+ {
246
+ name: "targetCollectionAmount",
247
+ internalType: "uint256",
248
+ type: "uint256"
249
+ },
250
+ { name: "collateralToken", internalType: "address", type: "address" },
251
+ { name: "v4LpFee", internalType: "uint24", type: "uint24" }
252
+ ]
253
+ },
254
+ { name: "v4LiquidityConfig", internalType: "bytes", type: "bytes" },
255
+ { name: "v4ConfigVersion", internalType: "uint8", type: "uint8" }
256
+ ]
257
+ },
258
+ {
259
+ stateMutability: "view",
260
+ type: "function",
261
+ inputs: [{ name: "", internalType: "address", type: "address" }],
262
+ name: "collateralEnabled",
263
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
264
+ },
144
265
  {
145
266
  stateMutability: "pure",
146
267
  type: "function",
@@ -164,6 +285,22 @@ var basememeFactoryImplABI = [
164
285
  name: "createBasememeToken",
165
286
  outputs: [{ name: "", internalType: "address", type: "address" }]
166
287
  },
288
+ {
289
+ stateMutability: "nonpayable",
290
+ type: "function",
291
+ inputs: [
292
+ { name: "_name", internalType: "string", type: "string" },
293
+ { name: "_symbol", internalType: "string", type: "string" },
294
+ { name: "_tokenURI", internalType: "string", type: "string" },
295
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
296
+ { name: "_signature", internalType: "bytes", type: "bytes" },
297
+ { name: "_platformReferrer", internalType: "address", type: "address" },
298
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
299
+ { name: "_owner", internalType: "address", type: "address" }
300
+ ],
301
+ name: "createBasememeToken",
302
+ outputs: [{ name: "", internalType: "address", type: "address" }]
303
+ },
167
304
  {
168
305
  stateMutability: "payable",
169
306
  type: "function",
@@ -181,6 +318,59 @@ var basememeFactoryImplABI = [
181
318
  name: "createBasememeTokenAndBuy",
182
319
  outputs: [{ name: "", internalType: "address", type: "address" }]
183
320
  },
321
+ {
322
+ stateMutability: "payable",
323
+ type: "function",
324
+ inputs: [
325
+ { name: "_name", internalType: "string", type: "string" },
326
+ { name: "_symbol", internalType: "string", type: "string" },
327
+ { name: "_tokenURI", internalType: "string", type: "string" },
328
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
329
+ { name: "_tokenAmountMin", internalType: "uint256", type: "uint256" },
330
+ { name: "_signature", internalType: "bytes", type: "bytes" },
331
+ { name: "_platformReferrer", internalType: "address", type: "address" },
332
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
333
+ { name: "_owner", internalType: "address", type: "address" }
334
+ ],
335
+ name: "createBasememeTokenAndBuy",
336
+ outputs: [{ name: "", internalType: "address", type: "address" }]
337
+ },
338
+ {
339
+ stateMutability: "payable",
340
+ type: "function",
341
+ inputs: [
342
+ { name: "_name", internalType: "string", type: "string" },
343
+ { name: "_symbol", internalType: "string", type: "string" },
344
+ { name: "_tokenURI", internalType: "string", type: "string" },
345
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
346
+ { name: "_collateralAmountIn", internalType: "uint256", type: "uint256" },
347
+ { name: "_tokenAmountMin", internalType: "uint256", type: "uint256" },
348
+ { name: "_signature", internalType: "bytes", type: "bytes" },
349
+ { name: "_platformReferrer", internalType: "address", type: "address" },
350
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
351
+ { name: "_tokenSalt", internalType: "bytes32", type: "bytes32" },
352
+ { name: "_collateralToken", internalType: "address", type: "address" }
353
+ ],
354
+ name: "createBasememeTokenAndBuyWithCollateral",
355
+ outputs: [{ name: "", internalType: "address", type: "address" }]
356
+ },
357
+ {
358
+ stateMutability: "nonpayable",
359
+ type: "function",
360
+ inputs: [
361
+ { name: "_name", internalType: "string", type: "string" },
362
+ { name: "_symbol", internalType: "string", type: "string" },
363
+ { name: "_tokenURI", internalType: "string", type: "string" },
364
+ { name: "_nonce", internalType: "uint256", type: "uint256" },
365
+ { name: "_signature", internalType: "bytes", type: "bytes" },
366
+ { name: "_platformReferrer", internalType: "address", type: "address" },
367
+ { name: "_payoutRecipient", internalType: "address", type: "address" },
368
+ { name: "_tokenSalt", internalType: "bytes32", type: "bytes32" },
369
+ { name: "_collateralToken", internalType: "address", type: "address" }
370
+ ],
371
+ name: "createBasememeTokenWithCollateral",
372
+ outputs: [{ name: "", internalType: "address", type: "address" }]
373
+ },
184
374
  {
185
375
  stateMutability: "view",
186
376
  type: "function",
@@ -215,6 +405,13 @@ var basememeFactoryImplABI = [
215
405
  name: "isSignatureEnabled",
216
406
  outputs: [{ name: "", internalType: "bool", type: "bool" }]
217
407
  },
408
+ {
409
+ stateMutability: "view",
410
+ type: "function",
411
+ inputs: [{ name: "", internalType: "address", type: "address" }],
412
+ name: "isTrustedCaller",
413
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
414
+ },
218
415
  {
219
416
  stateMutability: "nonpayable",
220
417
  type: "function",
@@ -273,6 +470,23 @@ var basememeFactoryImplABI = [
273
470
  name: "sellExactIn",
274
471
  outputs: []
275
472
  },
473
+ {
474
+ stateMutability: "nonpayable",
475
+ type: "function",
476
+ inputs: [
477
+ { name: "_token", internalType: "address", type: "address" },
478
+ { name: "_from", internalType: "address", type: "address" },
479
+ { name: "_tokenAmount", internalType: "uint256", type: "uint256" },
480
+ {
481
+ name: "_amountCollateralMin",
482
+ internalType: "uint256",
483
+ type: "uint256"
484
+ },
485
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
486
+ ],
487
+ name: "sellExactInFrom",
488
+ outputs: []
489
+ },
276
490
  {
277
491
  stateMutability: "nonpayable",
278
492
  type: "function",
@@ -285,6 +499,19 @@ var basememeFactoryImplABI = [
285
499
  name: "sellExactOut",
286
500
  outputs: []
287
501
  },
502
+ {
503
+ stateMutability: "nonpayable",
504
+ type: "function",
505
+ inputs: [
506
+ { name: "_token", internalType: "address", type: "address" },
507
+ { name: "_from", internalType: "address", type: "address" },
508
+ { name: "_tokenAmountMax", internalType: "uint256", type: "uint256" },
509
+ { name: "_amountCollateral", internalType: "uint256", type: "uint256" },
510
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
511
+ ],
512
+ name: "sellExactOutFrom",
513
+ outputs: []
514
+ },
288
515
  {
289
516
  stateMutability: "nonpayable",
290
517
  type: "function",
@@ -298,6 +525,71 @@ var basememeFactoryImplABI = [
298
525
  name: "setBondingCurveImplementation",
299
526
  outputs: []
300
527
  },
528
+ {
529
+ stateMutability: "nonpayable",
530
+ type: "function",
531
+ inputs: [
532
+ { name: "_collateralToken", internalType: "address", type: "address" },
533
+ {
534
+ name: "params",
535
+ internalType: "struct IBondingCurve.CurveParams",
536
+ type: "tuple",
537
+ components: [
538
+ {
539
+ name: "initialTokenSupply",
540
+ internalType: "uint256",
541
+ type: "uint256"
542
+ },
543
+ {
544
+ name: "virtualCollateralReservesInitial",
545
+ internalType: "uint256",
546
+ type: "uint256"
547
+ },
548
+ {
549
+ name: "virtualTokenReservesInitial",
550
+ internalType: "uint256",
551
+ type: "uint256"
552
+ },
553
+ { name: "feeBPS", internalType: "uint256", type: "uint256" },
554
+ { name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
555
+ { name: "mcUpperLimit", internalType: "uint256", type: "uint256" },
556
+ {
557
+ name: "tokensMigrationThreshold",
558
+ internalType: "uint256",
559
+ type: "uint256"
560
+ },
561
+ {
562
+ name: "fixedMigrationFee",
563
+ internalType: "uint256",
564
+ type: "uint256"
565
+ },
566
+ { name: "poolCreationFee", internalType: "uint256", type: "uint256" },
567
+ { name: "firstBuyFee", internalType: "uint256", type: "uint256" },
568
+ {
569
+ name: "targetCollectionAmount",
570
+ internalType: "uint256",
571
+ type: "uint256"
572
+ },
573
+ { name: "collateralToken", internalType: "address", type: "address" },
574
+ { name: "v4LpFee", internalType: "uint24", type: "uint24" }
575
+ ]
576
+ },
577
+ { name: "v4LiquidityConfig", internalType: "bytes", type: "bytes" },
578
+ { name: "v4ConfigVersion", internalType: "uint8", type: "uint8" }
579
+ ],
580
+ name: "setCollateralConfig",
581
+ outputs: []
582
+ },
583
+ {
584
+ stateMutability: "nonpayable",
585
+ type: "function",
586
+ inputs: [
587
+ { name: "_collateralToken", internalType: "address", type: "address" },
588
+ { name: "enabled", internalType: "bool", type: "bool" }
589
+ ],
590
+ name: "setCollateralEnabled",
591
+ outputs: []
592
+ },
301
593
  {
302
594
  stateMutability: "nonpayable",
303
595
  type: "function",
@@ -314,6 +606,16 @@ var basememeFactoryImplABI = [
314
606
  name: "setSigner",
315
607
  outputs: []
316
608
  },
609
+ {
610
+ stateMutability: "nonpayable",
611
+ type: "function",
612
+ inputs: [
613
+ { name: "caller", internalType: "address", type: "address" },
614
+ { name: "allowed", internalType: "bool", type: "bool" }
615
+ ],
616
+ name: "setTrustedCaller",
617
+ outputs: []
618
+ },
317
619
  {
318
620
  stateMutability: "nonpayable",
319
621
  type: "function",
@@ -338,6 +640,13 @@ var basememeFactoryImplABI = [
338
640
  name: "tokenToBondingCurve",
339
641
  outputs: [{ name: "", internalType: "address", type: "address" }]
340
642
  },
643
+ {
644
+ stateMutability: "view",
645
+ type: "function",
646
+ inputs: [{ name: "", internalType: "address", type: "address" }],
647
+ name: "tokenToCollateralToken",
648
+ outputs: [{ name: "", internalType: "address", type: "address" }]
649
+ },
341
650
  {
342
651
  stateMutability: "nonpayable",
343
652
  type: "function",
@@ -428,6 +737,45 @@ var basememeFactoryImplABI = [
428
737
  ],
429
738
  name: "Buy"
430
739
  },
740
+ {
741
+ type: "event",
742
+ anonymous: false,
743
+ inputs: [
744
+ {
745
+ name: "caller",
746
+ internalType: "address",
747
+ type: "address",
748
+ indexed: true
749
+ },
750
+ {
751
+ name: "recipient",
752
+ internalType: "address",
753
+ type: "address",
754
+ indexed: true
755
+ },
756
+ {
757
+ name: "token",
758
+ internalType: "address",
759
+ type: "address",
760
+ indexed: true
761
+ }
762
+ ],
763
+ name: "BuyRecipient"
764
+ },
765
+ {
766
+ type: "event",
767
+ anonymous: false,
768
+ inputs: [
769
+ {
770
+ name: "collateralToken",
771
+ internalType: "address",
772
+ type: "address",
773
+ indexed: true
774
+ },
775
+ { name: "enabled", internalType: "bool", type: "bool", indexed: false }
776
+ ],
777
+ name: "CollateralEnabledUpdated"
778
+ },
431
779
  {
432
780
  type: "event",
433
781
  anonymous: false,
@@ -571,6 +919,98 @@ var basememeFactoryImplABI = [
571
919
  ],
572
920
  name: "NewBasememeToken"
573
921
  },
922
+ {
923
+ type: "event",
924
+ anonymous: false,
925
+ inputs: [
926
+ { name: "addr", internalType: "address", type: "address", indexed: true },
927
+ {
928
+ name: "bondingCurve",
929
+ internalType: "address",
930
+ type: "address",
931
+ indexed: true
932
+ },
933
+ {
934
+ name: "initialTokenSupply",
935
+ internalType: "uint256",
936
+ type: "uint256",
937
+ indexed: false
938
+ },
939
+ {
940
+ name: "virtualCollateralReservesInitial",
941
+ internalType: "uint256",
942
+ type: "uint256",
943
+ indexed: false
944
+ },
945
+ {
946
+ name: "virtualTokenReservesInitial",
947
+ internalType: "uint256",
948
+ type: "uint256",
949
+ indexed: false
950
+ },
951
+ {
952
+ name: "feeBPS",
953
+ internalType: "uint256",
954
+ type: "uint256",
955
+ indexed: false
956
+ },
957
+ {
958
+ name: "mcLowerLimit",
959
+ internalType: "uint256",
960
+ type: "uint256",
961
+ indexed: false
962
+ },
963
+ {
964
+ name: "mcUpperLimit",
965
+ internalType: "uint256",
966
+ type: "uint256",
967
+ indexed: false
968
+ },
969
+ {
970
+ name: "tokensMigrationThreshold",
971
+ internalType: "uint256",
972
+ type: "uint256",
973
+ indexed: false
974
+ },
975
+ {
976
+ name: "fixedMigrationFee",
977
+ internalType: "uint256",
978
+ type: "uint256",
979
+ indexed: false
980
+ },
981
+ {
982
+ name: "poolCreationFee",
983
+ internalType: "uint256",
984
+ type: "uint256",
985
+ indexed: false
986
+ },
987
+ {
988
+ name: "firstBuyFee",
989
+ internalType: "uint256",
990
+ type: "uint256",
991
+ indexed: false
992
+ },
993
+ {
994
+ name: "targetCollectionAmount",
995
+ internalType: "uint256",
996
+ type: "uint256",
997
+ indexed: false
998
+ },
999
+ {
1000
+ name: "collateralToken",
1001
+ internalType: "address",
1002
+ type: "address",
1003
+ indexed: false
1004
+ },
1005
+ {
1006
+ name: "v4LpFee",
1007
+ internalType: "uint24",
1008
+ type: "uint24",
1009
+ indexed: false
1010
+ }
1011
+ ],
1012
+ name: "NewBasememeTokenCurveParams"
1013
+ },
574
1014
  {
575
1015
  type: "event",
576
1016
  anonymous: false,
@@ -657,6 +1097,45 @@ var basememeFactoryImplABI = [
657
1097
  ],
658
1098
  name: "Sell"
659
1099
  },
1100
+ {
1101
+ type: "event",
1102
+ anonymous: false,
1103
+ inputs: [
1104
+ {
1105
+ name: "caller",
1106
+ internalType: "address",
1107
+ type: "address",
1108
+ indexed: true
1109
+ },
1110
+ {
1111
+ name: "recipient",
1112
+ internalType: "address",
1113
+ type: "address",
1114
+ indexed: true
1115
+ },
1116
+ {
1117
+ name: "token",
1118
+ internalType: "address",
1119
+ type: "address",
1120
+ indexed: true
1121
+ }
1122
+ ],
1123
+ name: "SellRecipient"
1124
+ },
1125
+ {
1126
+ type: "event",
1127
+ anonymous: false,
1128
+ inputs: [
1129
+ {
1130
+ name: "caller",
1131
+ internalType: "address",
1132
+ type: "address",
1133
+ indexed: true
1134
+ },
1135
+ { name: "allowed", internalType: "bool", type: "bool", indexed: false }
1136
+ ],
1137
+ name: "TrustedCallerUpdated"
1138
+ },
660
1139
  {
661
1140
  type: "event",
662
1141
  anonymous: false,
@@ -745,6 +1224,13 @@ var basememeFactoryImplABI = [
745
1224
  inputs: [{ name: "target", internalType: "address", type: "address" }],
746
1225
  name: "AddressEmptyCode"
747
1226
  },
1227
+ {
1228
+ type: "error",
1229
+ inputs: [],
1230
+ name: "BuyExactInUnsupportedForErc20Collateral"
1231
+ },
1232
+ { type: "error", inputs: [], name: "CollateralDisabled" },
1233
+ { type: "error", inputs: [], name: "CurveParamsNotSet" },
748
1234
  { type: "error", inputs: [], name: "DexTreasuryZeroValue" },
749
1235
  {
750
1236
  type: "error",
@@ -766,8 +1252,11 @@ var basememeFactoryImplABI = [
766
1252
  ],
767
1253
  name: "InsufficientBalance"
768
1254
  },
1255
+ { type: "error", inputs: [], name: "InvalidExactInCollateralAmount" },
1256
+ { type: "error", inputs: [], name: "InvalidFrom" },
769
1257
  { type: "error", inputs: [], name: "InvalidInitialization" },
770
1258
  { type: "error", inputs: [], name: "InvalidNonce" },
1259
+ { type: "error", inputs: [], name: "InvalidRecipient" },
771
1260
  { type: "error", inputs: [], name: "InvalidSignature" },
772
1261
  { type: "error", inputs: [], name: "InvalidV4Contracts" },
773
1262
  { type: "error", inputs: [], name: "McLowerLimitGreaterThanUpperLimit" },
@@ -777,6 +1266,7 @@ var basememeFactoryImplABI = [
777
1266
  { type: "error", inputs: [], name: "NotBasememeToken" },
778
1267
  { type: "error", inputs: [], name: "NotInitializing" },
779
1268
  { type: "error", inputs: [], name: "NotReadyForMigration" },
1269
+ { type: "error", inputs: [], name: "NotTrustedCaller" },
780
1270
  {
781
1271
  type: "error",
782
1272
  inputs: [{ name: "owner", internalType: "address", type: "address" }],
@@ -788,6 +1278,11 @@ var basememeFactoryImplABI = [
788
1278
  name: "OwnableUnauthorizedAccount"
789
1279
  },
790
1280
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
1281
+ {
1282
+ type: "error",
1283
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1284
+ name: "SafeERC20FailedOperation"
1285
+ },
791
1286
  { type: "error", inputs: [], name: "SignerZeroValue" },
792
1287
  { type: "error", inputs: [], name: "TokensMigrationThresholdZeroValue" },
793
1288
  { type: "error", inputs: [], name: "TotalSupplyWrongValue" },
@@ -804,125 +1299,101 @@ var basememeFactoryImplABI = [
804
1299
  { type: "error", inputs: [], name: "VirtualTokenReservesZeroValue" }
805
1300
  ];
806
1301
  var basememeFactoryImplAddress = {
807
- 8453: "0x2Dd4ce9819A8300bC7a51B3D0F93eFE33D1ECc1d",
808
- 84532: "0x9fB2eb6C1D01E146b26Ca258C765644BC17c7DC3"
1302
+ 8453: "0xcD0e09526341CA0D4961f7fD27Ab52a1A59f0f88",
1303
+ 84532: "0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA"
809
1304
  };
810
1305
  var basememeFactoryImplConfig = {
811
1306
  address: basememeFactoryImplAddress,
812
1307
  abi: basememeFactoryImplABI
813
1308
  };
814
- var basememeTokenABI = [
1309
+ var basememeFactoryTradeHelperABI = [
815
1310
  { stateMutability: "nonpayable", type: "constructor", inputs: [] },
1311
+ { stateMutability: "payable", type: "receive" },
816
1312
  {
817
1313
  stateMutability: "view",
818
1314
  type: "function",
819
- inputs: [
820
- { name: "owner", internalType: "address", type: "address" },
821
- { name: "spender", internalType: "address", type: "address" }
822
- ],
823
- name: "allowance",
824
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1315
+ inputs: [],
1316
+ name: "UPGRADE_INTERFACE_VERSION",
1317
+ outputs: [{ name: "", internalType: "string", type: "string" }]
825
1318
  },
826
1319
  {
827
- stateMutability: "nonpayable",
1320
+ stateMutability: "payable",
828
1321
  type: "function",
829
1322
  inputs: [
830
- { name: "spender", internalType: "address", type: "address" },
831
- { name: "value", internalType: "uint256", type: "uint256" }
1323
+ { name: "token", internalType: "address", type: "address" },
1324
+ { name: "funds", internalType: "uint256", type: "uint256" },
1325
+ { name: "minTokenOut", internalType: "uint256", type: "uint256" },
1326
+ { name: "tradeReferrer", internalType: "address", type: "address" }
832
1327
  ],
833
- name: "approve",
834
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1328
+ name: "buyWithEth",
1329
+ outputs: [
1330
+ { name: "tokenOut", internalType: "uint256", type: "uint256" },
1331
+ { name: "refundOut", internalType: "uint256", type: "uint256" }
1332
+ ]
835
1333
  },
836
1334
  {
837
1335
  stateMutability: "view",
838
1336
  type: "function",
839
- inputs: [{ name: "account", internalType: "address", type: "address" }],
840
- name: "balanceOf",
841
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
842
- },
843
- {
844
- stateMutability: "nonpayable",
845
- type: "function",
846
- inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
847
- name: "burn",
848
- outputs: []
1337
+ inputs: [],
1338
+ name: "factory",
1339
+ outputs: [
1340
+ {
1341
+ name: "",
1342
+ internalType: "contract IBasememeFactoryImpl",
1343
+ type: "address"
1344
+ }
1345
+ ]
849
1346
  },
850
1347
  {
851
1348
  stateMutability: "nonpayable",
852
1349
  type: "function",
853
1350
  inputs: [
854
- { name: "account", internalType: "address", type: "address" },
855
- { name: "value", internalType: "uint256", type: "uint256" }
1351
+ { name: "owner_", internalType: "address", type: "address" },
1352
+ { name: "factory_", internalType: "address", type: "address" },
1353
+ { name: "tokenSwap_", internalType: "address", type: "address" }
856
1354
  ],
857
- name: "burnFrom",
1355
+ name: "initialize",
858
1356
  outputs: []
859
1357
  },
860
1358
  {
861
1359
  stateMutability: "view",
862
1360
  type: "function",
863
1361
  inputs: [],
864
- name: "contractURI",
865
- outputs: [{ name: "", internalType: "string", type: "string" }]
866
- },
867
- {
868
- stateMutability: "pure",
869
- type: "function",
870
- inputs: [],
871
- name: "contractVersion",
872
- outputs: [{ name: "", internalType: "string", type: "string" }]
873
- },
874
- {
875
- stateMutability: "view",
876
- type: "function",
877
- inputs: [],
878
- name: "decimals",
879
- outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
1362
+ name: "owner",
1363
+ outputs: [{ name: "", internalType: "address", type: "address" }]
880
1364
  },
881
1365
  {
882
1366
  stateMutability: "view",
883
1367
  type: "function",
884
1368
  inputs: [],
885
- name: "factory",
886
- outputs: [{ name: "", internalType: "address", type: "address" }]
1369
+ name: "proxiableUUID",
1370
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
887
1371
  },
888
1372
  {
889
1373
  stateMutability: "nonpayable",
890
1374
  type: "function",
891
1375
  inputs: [
892
- {
893
- name: "_params",
894
- internalType: "struct IBasememeToken.ConstructorParams",
895
- type: "tuple",
896
- components: [
897
- { name: "name", internalType: "string", type: "string" },
898
- { name: "symbol", internalType: "string", type: "string" },
899
- { name: "tokenURI", internalType: "string", type: "string" },
900
- { name: "factory", internalType: "address", type: "address" },
901
- { name: "bondingCurve", internalType: "address", type: "address" },
902
- {
903
- name: "initialTokenSupply",
904
- internalType: "uint256",
905
- type: "uint256"
906
- }
907
- ]
908
- }
1376
+ { name: "token", internalType: "address", type: "address" },
1377
+ { name: "collateralIn", internalType: "uint256", type: "uint256" }
909
1378
  ],
910
- name: "initialize",
911
- outputs: []
912
- },
913
- {
914
- stateMutability: "view",
915
- type: "function",
916
- inputs: [],
917
- name: "name",
918
- outputs: [{ name: "", internalType: "string", type: "string" }]
1379
+ name: "quoteCollateralToEthForToken",
1380
+ outputs: [
1381
+ { name: "collateralToken", internalType: "address", type: "address" },
1382
+ { name: "ethOut", internalType: "uint256", type: "uint256" }
1383
+ ]
919
1384
  },
920
1385
  {
921
- stateMutability: "view",
1386
+ stateMutability: "nonpayable",
922
1387
  type: "function",
923
- inputs: [],
924
- name: "owner",
925
- outputs: [{ name: "", internalType: "address", type: "address" }]
1388
+ inputs: [
1389
+ { name: "token", internalType: "address", type: "address" },
1390
+ { name: "ethIn", internalType: "uint256", type: "uint256" }
1391
+ ],
1392
+ name: "quoteEthToCollateralForToken",
1393
+ outputs: [
1394
+ { name: "collateralToken", internalType: "address", type: "address" },
1395
+ { name: "collateralOut", internalType: "uint256", type: "uint256" }
1396
+ ]
926
1397
  },
927
1398
  {
928
1399
  stateMutability: "nonpayable",
@@ -935,77 +1406,881 @@ var basememeTokenABI = [
935
1406
  stateMutability: "nonpayable",
936
1407
  type: "function",
937
1408
  inputs: [
938
- {
939
- name: "mode",
940
- internalType: "enum IBasememeToken.TransferMode",
941
- type: "uint8"
942
- }
1409
+ { name: "token", internalType: "address", type: "address" },
1410
+ { name: "tokenAmountIn", internalType: "uint256", type: "uint256" },
1411
+ { name: "minEthOut", internalType: "uint256", type: "uint256" },
1412
+ { name: "tradeReferrer", internalType: "address", type: "address" }
943
1413
  ],
944
- name: "setTransferMode",
945
- outputs: []
1414
+ name: "sellForEth",
1415
+ outputs: [{ name: "ethOut", internalType: "uint256", type: "uint256" }]
946
1416
  },
947
1417
  {
948
- stateMutability: "pure",
1418
+ stateMutability: "nonpayable",
949
1419
  type: "function",
950
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
951
- name: "supportsInterface",
952
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1420
+ inputs: [{ name: "tokenSwap_", internalType: "address", type: "address" }],
1421
+ name: "setTokenSwap",
1422
+ outputs: []
953
1423
  },
954
1424
  {
955
1425
  stateMutability: "view",
956
1426
  type: "function",
957
1427
  inputs: [],
958
- name: "symbol",
959
- outputs: [{ name: "", internalType: "string", type: "string" }]
1428
+ name: "tokenSwap",
1429
+ outputs: [
1430
+ {
1431
+ name: "",
1432
+ internalType: "contract IBasememeTokenSwap",
1433
+ type: "address"
1434
+ }
1435
+ ]
960
1436
  },
961
1437
  {
962
- stateMutability: "view",
1438
+ stateMutability: "nonpayable",
963
1439
  type: "function",
964
- inputs: [],
965
- name: "tokenURI",
966
- outputs: [{ name: "", internalType: "string", type: "string" }]
1440
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1441
+ name: "transferOwnership",
1442
+ outputs: []
967
1443
  },
968
1444
  {
969
- stateMutability: "view",
1445
+ stateMutability: "payable",
970
1446
  type: "function",
971
- inputs: [],
972
- name: "totalSupply",
973
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1447
+ inputs: [
1448
+ { name: "newImplementation", internalType: "address", type: "address" },
1449
+ { name: "data", internalType: "bytes", type: "bytes" }
1450
+ ],
1451
+ name: "upgradeToAndCall",
1452
+ outputs: []
1453
+ },
1454
+ {
1455
+ type: "event",
1456
+ anonymous: false,
1457
+ inputs: [
1458
+ {
1459
+ name: "caller",
1460
+ internalType: "address",
1461
+ type: "address",
1462
+ indexed: true
1463
+ },
1464
+ {
1465
+ name: "token",
1466
+ internalType: "address",
1467
+ type: "address",
1468
+ indexed: true
1469
+ },
1470
+ {
1471
+ name: "recipient",
1472
+ internalType: "address",
1473
+ type: "address",
1474
+ indexed: true
1475
+ },
1476
+ {
1477
+ name: "fundsIn",
1478
+ internalType: "uint256",
1479
+ type: "uint256",
1480
+ indexed: false
1481
+ },
1482
+ {
1483
+ name: "minTokenOut",
1484
+ internalType: "uint256",
1485
+ type: "uint256",
1486
+ indexed: false
1487
+ },
1488
+ {
1489
+ name: "tradeReferrer",
1490
+ internalType: "address",
1491
+ type: "address",
1492
+ indexed: false
1493
+ },
1494
+ {
1495
+ name: "collateralToken",
1496
+ internalType: "address",
1497
+ type: "address",
1498
+ indexed: false
1499
+ },
1500
+ {
1501
+ name: "tokenOut",
1502
+ internalType: "uint256",
1503
+ type: "uint256",
1504
+ indexed: false
1505
+ },
1506
+ {
1507
+ name: "refundOut",
1508
+ internalType: "uint256",
1509
+ type: "uint256",
1510
+ indexed: false
1511
+ }
1512
+ ],
1513
+ name: "BuyWithEth"
1514
+ },
1515
+ {
1516
+ type: "event",
1517
+ anonymous: false,
1518
+ inputs: [
1519
+ {
1520
+ name: "version",
1521
+ internalType: "uint64",
1522
+ type: "uint64",
1523
+ indexed: false
1524
+ }
1525
+ ],
1526
+ name: "Initialized"
1527
+ },
1528
+ {
1529
+ type: "event",
1530
+ anonymous: false,
1531
+ inputs: [
1532
+ {
1533
+ name: "previousOwner",
1534
+ internalType: "address",
1535
+ type: "address",
1536
+ indexed: true
1537
+ },
1538
+ {
1539
+ name: "newOwner",
1540
+ internalType: "address",
1541
+ type: "address",
1542
+ indexed: true
1543
+ }
1544
+ ],
1545
+ name: "OwnershipTransferred"
1546
+ },
1547
+ {
1548
+ type: "event",
1549
+ anonymous: false,
1550
+ inputs: [
1551
+ {
1552
+ name: "caller",
1553
+ internalType: "address",
1554
+ type: "address",
1555
+ indexed: true
1556
+ },
1557
+ {
1558
+ name: "token",
1559
+ internalType: "address",
1560
+ type: "address",
1561
+ indexed: true
1562
+ },
1563
+ {
1564
+ name: "from",
1565
+ internalType: "address",
1566
+ type: "address",
1567
+ indexed: false
1568
+ },
1569
+ {
1570
+ name: "tokenIn",
1571
+ internalType: "uint256",
1572
+ type: "uint256",
1573
+ indexed: false
1574
+ },
1575
+ {
1576
+ name: "minEthOut",
1577
+ internalType: "uint256",
1578
+ type: "uint256",
1579
+ indexed: false
1580
+ },
1581
+ {
1582
+ name: "tradeReferrer",
1583
+ internalType: "address",
1584
+ type: "address",
1585
+ indexed: false
1586
+ },
1587
+ {
1588
+ name: "collateralToken",
1589
+ internalType: "address",
1590
+ type: "address",
1591
+ indexed: false
1592
+ },
1593
+ {
1594
+ name: "collateralOut",
1595
+ internalType: "uint256",
1596
+ type: "uint256",
1597
+ indexed: false
1598
+ },
1599
+ {
1600
+ name: "ethOut",
1601
+ internalType: "uint256",
1602
+ type: "uint256",
1603
+ indexed: false
1604
+ }
1605
+ ],
1606
+ name: "SellForEth"
1607
+ },
1608
+ {
1609
+ type: "event",
1610
+ anonymous: false,
1611
+ inputs: [
1612
+ {
1613
+ name: "implementation",
1614
+ internalType: "address",
1615
+ type: "address",
1616
+ indexed: true
1617
+ }
1618
+ ],
1619
+ name: "Upgraded"
1620
+ },
1621
+ {
1622
+ type: "error",
1623
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1624
+ name: "AddressEmptyCode"
1625
+ },
1626
+ {
1627
+ type: "error",
1628
+ inputs: [
1629
+ { name: "implementation", internalType: "address", type: "address" }
1630
+ ],
1631
+ name: "ERC1967InvalidImplementation"
1632
+ },
1633
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1634
+ { type: "error", inputs: [], name: "FailedCall" },
1635
+ {
1636
+ type: "error",
1637
+ inputs: [
1638
+ { name: "balance", internalType: "uint256", type: "uint256" },
1639
+ { name: "needed", internalType: "uint256", type: "uint256" }
1640
+ ],
1641
+ name: "InsufficientBalance"
1642
+ },
1643
+ { type: "error", inputs: [], name: "InvalidFunds" },
1644
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1645
+ { type: "error", inputs: [], name: "NotInitializing" },
1646
+ {
1647
+ type: "error",
1648
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1649
+ name: "OwnableInvalidOwner"
1650
+ },
1651
+ {
1652
+ type: "error",
1653
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1654
+ name: "OwnableUnauthorizedAccount"
1655
+ },
1656
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
1657
+ {
1658
+ type: "error",
1659
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1660
+ name: "SafeERC20FailedOperation"
1661
+ },
1662
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1663
+ {
1664
+ type: "error",
1665
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1666
+ name: "UUPSUnsupportedProxiableUUID"
1667
+ }
1668
+ ];
1669
+ var basememeFactoryTradeHelperAddress = {
1670
+ 8453: "0xBd6bc115a8c944305b341f294c57F4eB44C1E2F4",
1671
+ 84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9"
1672
+ };
1673
+ var basememeFactoryTradeHelperConfig = {
1674
+ address: basememeFactoryTradeHelperAddress,
1675
+ abi: basememeFactoryTradeHelperABI
1676
+ };
1677
+ var basememeTokenABI = [
1678
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
1679
+ {
1680
+ stateMutability: "view",
1681
+ type: "function",
1682
+ inputs: [
1683
+ { name: "owner", internalType: "address", type: "address" },
1684
+ { name: "spender", internalType: "address", type: "address" }
1685
+ ],
1686
+ name: "allowance",
1687
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1688
+ },
1689
+ {
1690
+ stateMutability: "nonpayable",
1691
+ type: "function",
1692
+ inputs: [
1693
+ { name: "spender", internalType: "address", type: "address" },
1694
+ { name: "value", internalType: "uint256", type: "uint256" }
1695
+ ],
1696
+ name: "approve",
1697
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1698
+ },
1699
+ {
1700
+ stateMutability: "view",
1701
+ type: "function",
1702
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1703
+ name: "balanceOf",
1704
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1705
+ },
1706
+ {
1707
+ stateMutability: "nonpayable",
1708
+ type: "function",
1709
+ inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
1710
+ name: "burn",
1711
+ outputs: []
1712
+ },
1713
+ {
1714
+ stateMutability: "nonpayable",
1715
+ type: "function",
1716
+ inputs: [
1717
+ { name: "account", internalType: "address", type: "address" },
1718
+ { name: "value", internalType: "uint256", type: "uint256" }
1719
+ ],
1720
+ name: "burnFrom",
1721
+ outputs: []
1722
+ },
1723
+ {
1724
+ stateMutability: "view",
1725
+ type: "function",
1726
+ inputs: [],
1727
+ name: "contractURI",
1728
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1729
+ },
1730
+ {
1731
+ stateMutability: "pure",
1732
+ type: "function",
1733
+ inputs: [],
1734
+ name: "contractVersion",
1735
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1736
+ },
1737
+ {
1738
+ stateMutability: "view",
1739
+ type: "function",
1740
+ inputs: [],
1741
+ name: "decimals",
1742
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
1743
+ },
1744
+ {
1745
+ stateMutability: "view",
1746
+ type: "function",
1747
+ inputs: [],
1748
+ name: "factory",
1749
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1750
+ },
1751
+ {
1752
+ stateMutability: "nonpayable",
1753
+ type: "function",
1754
+ inputs: [
1755
+ {
1756
+ name: "_params",
1757
+ internalType: "struct IBasememeToken.ConstructorParams",
1758
+ type: "tuple",
1759
+ components: [
1760
+ { name: "name", internalType: "string", type: "string" },
1761
+ { name: "symbol", internalType: "string", type: "string" },
1762
+ { name: "tokenURI", internalType: "string", type: "string" },
1763
+ { name: "factory", internalType: "address", type: "address" },
1764
+ { name: "bondingCurve", internalType: "address", type: "address" },
1765
+ {
1766
+ name: "initialTokenSupply",
1767
+ internalType: "uint256",
1768
+ type: "uint256"
1769
+ }
1770
+ ]
1771
+ }
1772
+ ],
1773
+ name: "initialize",
1774
+ outputs: []
1775
+ },
1776
+ {
1777
+ stateMutability: "view",
1778
+ type: "function",
1779
+ inputs: [],
1780
+ name: "name",
1781
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1782
+ },
1783
+ {
1784
+ stateMutability: "view",
1785
+ type: "function",
1786
+ inputs: [],
1787
+ name: "owner",
1788
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1789
+ },
1790
+ {
1791
+ stateMutability: "nonpayable",
1792
+ type: "function",
1793
+ inputs: [],
1794
+ name: "renounceOwnership",
1795
+ outputs: []
1796
+ },
1797
+ {
1798
+ stateMutability: "nonpayable",
1799
+ type: "function",
1800
+ inputs: [
1801
+ {
1802
+ name: "mode",
1803
+ internalType: "enum IBasememeToken.TransferMode",
1804
+ type: "uint8"
1805
+ }
1806
+ ],
1807
+ name: "setTransferMode",
1808
+ outputs: []
1809
+ },
1810
+ {
1811
+ stateMutability: "pure",
1812
+ type: "function",
1813
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1814
+ name: "supportsInterface",
1815
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1816
+ },
1817
+ {
1818
+ stateMutability: "view",
1819
+ type: "function",
1820
+ inputs: [],
1821
+ name: "symbol",
1822
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1823
+ },
1824
+ {
1825
+ stateMutability: "view",
1826
+ type: "function",
1827
+ inputs: [],
1828
+ name: "tokenURI",
1829
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1830
+ },
1831
+ {
1832
+ stateMutability: "view",
1833
+ type: "function",
1834
+ inputs: [],
1835
+ name: "totalSupply",
1836
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1837
+ },
1838
+ {
1839
+ stateMutability: "nonpayable",
1840
+ type: "function",
1841
+ inputs: [
1842
+ { name: "to", internalType: "address", type: "address" },
1843
+ { name: "value", internalType: "uint256", type: "uint256" }
1844
+ ],
1845
+ name: "transfer",
1846
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1847
+ },
1848
+ {
1849
+ stateMutability: "nonpayable",
1850
+ type: "function",
1851
+ inputs: [
1852
+ { name: "from", internalType: "address", type: "address" },
1853
+ { name: "to", internalType: "address", type: "address" },
1854
+ { name: "value", internalType: "uint256", type: "uint256" }
1855
+ ],
1856
+ name: "transferFrom",
1857
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1858
+ },
1859
+ {
1860
+ stateMutability: "view",
1861
+ type: "function",
1862
+ inputs: [],
1863
+ name: "transferMode",
1864
+ outputs: [
1865
+ {
1866
+ name: "",
1867
+ internalType: "enum IBasememeToken.TransferMode",
1868
+ type: "uint8"
1869
+ }
1870
+ ]
974
1871
  },
975
1872
  {
976
1873
  stateMutability: "nonpayable",
977
1874
  type: "function",
1875
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1876
+ name: "transferOwnership",
1877
+ outputs: []
1878
+ },
1879
+ {
1880
+ type: "event",
1881
+ anonymous: false,
1882
+ inputs: [
1883
+ {
1884
+ name: "owner",
1885
+ internalType: "address",
1886
+ type: "address",
1887
+ indexed: true
1888
+ },
1889
+ {
1890
+ name: "spender",
1891
+ internalType: "address",
1892
+ type: "address",
1893
+ indexed: true
1894
+ },
1895
+ {
1896
+ name: "value",
1897
+ internalType: "uint256",
1898
+ type: "uint256",
1899
+ indexed: false
1900
+ }
1901
+ ],
1902
+ name: "Approval"
1903
+ },
1904
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1905
+ {
1906
+ type: "event",
1907
+ anonymous: false,
1908
+ inputs: [
1909
+ {
1910
+ name: "version",
1911
+ internalType: "uint64",
1912
+ type: "uint64",
1913
+ indexed: false
1914
+ }
1915
+ ],
1916
+ name: "Initialized"
1917
+ },
1918
+ {
1919
+ type: "event",
1920
+ anonymous: false,
1921
+ inputs: [
1922
+ {
1923
+ name: "previousOwner",
1924
+ internalType: "address",
1925
+ type: "address",
1926
+ indexed: true
1927
+ },
1928
+ {
1929
+ name: "newOwner",
1930
+ internalType: "address",
1931
+ type: "address",
1932
+ indexed: true
1933
+ }
1934
+ ],
1935
+ name: "OwnershipTransferred"
1936
+ },
1937
+ {
1938
+ type: "event",
1939
+ anonymous: false,
1940
+ inputs: [
1941
+ {
1942
+ name: "sender",
1943
+ internalType: "address",
1944
+ type: "address",
1945
+ indexed: true
1946
+ },
1947
+ {
1948
+ name: "recipient",
1949
+ internalType: "address",
1950
+ type: "address",
1951
+ indexed: true
1952
+ },
1953
+ {
1954
+ name: "amount",
1955
+ internalType: "uint256",
1956
+ type: "uint256",
1957
+ indexed: false
1958
+ },
1959
+ {
1960
+ name: "senderBalance",
1961
+ internalType: "uint256",
1962
+ type: "uint256",
1963
+ indexed: false
1964
+ },
1965
+ {
1966
+ name: "recipientBalance",
1967
+ internalType: "uint256",
1968
+ type: "uint256",
1969
+ indexed: false
1970
+ }
1971
+ ],
1972
+ name: "TokensTransferred"
1973
+ },
1974
+ {
1975
+ type: "event",
1976
+ anonymous: false,
1977
+ inputs: [
1978
+ { name: "from", internalType: "address", type: "address", indexed: true },
1979
+ { name: "to", internalType: "address", type: "address", indexed: true },
1980
+ {
1981
+ name: "value",
1982
+ internalType: "uint256",
1983
+ type: "uint256",
1984
+ indexed: false
1985
+ }
1986
+ ],
1987
+ name: "Transfer"
1988
+ },
1989
+ {
1990
+ type: "error",
1991
+ inputs: [
1992
+ { name: "spender", internalType: "address", type: "address" },
1993
+ { name: "allowance", internalType: "uint256", type: "uint256" },
1994
+ { name: "needed", internalType: "uint256", type: "uint256" }
1995
+ ],
1996
+ name: "ERC20InsufficientAllowance"
1997
+ },
1998
+ {
1999
+ type: "error",
2000
+ inputs: [
2001
+ { name: "sender", internalType: "address", type: "address" },
2002
+ { name: "balance", internalType: "uint256", type: "uint256" },
2003
+ { name: "needed", internalType: "uint256", type: "uint256" }
2004
+ ],
2005
+ name: "ERC20InsufficientBalance"
2006
+ },
2007
+ {
2008
+ type: "error",
2009
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
2010
+ name: "ERC20InvalidApprover"
2011
+ },
2012
+ {
2013
+ type: "error",
2014
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
2015
+ name: "ERC20InvalidReceiver"
2016
+ },
2017
+ {
2018
+ type: "error",
2019
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
2020
+ name: "ERC20InvalidSender"
2021
+ },
2022
+ {
2023
+ type: "error",
2024
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
2025
+ name: "ERC20InvalidSpender"
2026
+ },
2027
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2028
+ { type: "error", inputs: [], name: "NotInitializing" },
2029
+ {
2030
+ type: "error",
2031
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2032
+ name: "OwnableInvalidOwner"
2033
+ },
2034
+ {
2035
+ type: "error",
2036
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2037
+ name: "OwnableUnauthorizedAccount"
2038
+ },
2039
+ { type: "error", inputs: [], name: "TransfersControlled" },
2040
+ { type: "error", inputs: [], name: "TransfersRestricted" }
2041
+ ];
2042
+ var basememeTokenAddress = {
2043
+ 8453: "0xBbD5C86CcFAD9914B269647f80aD829D2cfA406e",
2044
+ 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
2045
+ };
2046
+ var basememeTokenConfig = {
2047
+ address: basememeTokenAddress,
2048
+ abi: basememeTokenABI
2049
+ };
2050
+ var basememeTokenSwapABI = [
2051
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
2052
+ { stateMutability: "payable", type: "receive" },
2053
+ {
2054
+ stateMutability: "view",
2055
+ type: "function",
2056
+ inputs: [],
2057
+ name: "UPGRADE_INTERFACE_VERSION",
2058
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2059
+ },
2060
+ {
2061
+ stateMutability: "view",
2062
+ type: "function",
978
2063
  inputs: [
979
- { name: "to", internalType: "address", type: "address" },
980
- { name: "value", internalType: "uint256", type: "uint256" }
2064
+ { name: "collateralToken", internalType: "address", type: "address" }
981
2065
  ],
982
- name: "transfer",
983
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
2066
+ name: "getCollateralDex",
2067
+ outputs: [
2068
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2069
+ { name: "enabled", internalType: "bool", type: "bool" }
2070
+ ]
984
2071
  },
985
2072
  {
986
- stateMutability: "nonpayable",
2073
+ stateMutability: "view",
987
2074
  type: "function",
988
2075
  inputs: [
989
- { name: "from", internalType: "address", type: "address" },
990
- { name: "to", internalType: "address", type: "address" },
991
- { name: "value", internalType: "uint256", type: "uint256" }
2076
+ { name: "collateralToken", internalType: "address", type: "address" }
992
2077
  ],
993
- name: "transferFrom",
994
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
2078
+ name: "getCollateralV2Paths",
2079
+ outputs: [
2080
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2081
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2082
+ ]
995
2083
  },
996
2084
  {
997
2085
  stateMutability: "view",
998
2086
  type: "function",
999
- inputs: [],
1000
- name: "transferMode",
2087
+ inputs: [
2088
+ { name: "collateralToken", internalType: "address", type: "address" }
2089
+ ],
2090
+ name: "getCollateralV3Paths",
2091
+ outputs: [
2092
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2093
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2094
+ ]
2095
+ },
2096
+ {
2097
+ stateMutability: "view",
2098
+ type: "function",
2099
+ inputs: [{ name: "dexId", internalType: "uint8", type: "uint8" }],
2100
+ name: "getDexConfig",
2101
+ outputs: [
2102
+ {
2103
+ name: "dexType",
2104
+ internalType: "enum IBasememeTokenSwap.DexType",
2105
+ type: "uint8"
2106
+ },
2107
+ { name: "enabled", internalType: "bool", type: "bool" },
2108
+ { name: "router", internalType: "address", type: "address" },
2109
+ { name: "quoter", internalType: "address", type: "address" },
2110
+ { name: "quoterKind", internalType: "uint8", type: "uint8" }
2111
+ ]
2112
+ },
2113
+ {
2114
+ stateMutability: "view",
2115
+ type: "function",
2116
+ inputs: [
2117
+ { name: "collateralToken", internalType: "address", type: "address" }
2118
+ ],
2119
+ name: "getRouteDexType",
1001
2120
  outputs: [
1002
2121
  {
1003
2122
  name: "",
1004
- internalType: "enum IBasememeToken.TransferMode",
2123
+ internalType: "enum IBasememeTokenSwap.DexType",
1005
2124
  type: "uint8"
1006
2125
  }
1007
2126
  ]
1008
2127
  },
2128
+ {
2129
+ stateMutability: "nonpayable",
2130
+ type: "function",
2131
+ inputs: [
2132
+ { name: "owner_", internalType: "address", type: "address" },
2133
+ { name: "weth_", internalType: "address", type: "address" }
2134
+ ],
2135
+ name: "initialize",
2136
+ outputs: []
2137
+ },
2138
+ {
2139
+ stateMutability: "view",
2140
+ type: "function",
2141
+ inputs: [],
2142
+ name: "owner",
2143
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2144
+ },
2145
+ {
2146
+ stateMutability: "view",
2147
+ type: "function",
2148
+ inputs: [],
2149
+ name: "proxiableUUID",
2150
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2151
+ },
2152
+ {
2153
+ stateMutability: "nonpayable",
2154
+ type: "function",
2155
+ inputs: [
2156
+ { name: "collateralToken", internalType: "address", type: "address" },
2157
+ { name: "amountInCollateral", internalType: "uint256", type: "uint256" }
2158
+ ],
2159
+ name: "quoteCollateralToEth",
2160
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2161
+ },
2162
+ {
2163
+ stateMutability: "nonpayable",
2164
+ type: "function",
2165
+ inputs: [
2166
+ { name: "collateralToken", internalType: "address", type: "address" },
2167
+ { name: "amountInEth", internalType: "uint256", type: "uint256" }
2168
+ ],
2169
+ name: "quoteEthToCollateral",
2170
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2171
+ },
2172
+ {
2173
+ stateMutability: "nonpayable",
2174
+ type: "function",
2175
+ inputs: [],
2176
+ name: "renounceOwnership",
2177
+ outputs: []
2178
+ },
2179
+ {
2180
+ stateMutability: "nonpayable",
2181
+ type: "function",
2182
+ inputs: [
2183
+ { name: "collateralToken", internalType: "address", type: "address" },
2184
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2185
+ { name: "enabled", internalType: "bool", type: "bool" },
2186
+ { name: "v2PathWethToCollateral", internalType: "bytes", type: "bytes" },
2187
+ { name: "v2PathCollateralToWeth", internalType: "bytes", type: "bytes" },
2188
+ { name: "v3PathWethToCollateral", internalType: "bytes", type: "bytes" },
2189
+ { name: "v3PathCollateralToWeth", internalType: "bytes", type: "bytes" }
2190
+ ],
2191
+ name: "setCollateralConfig",
2192
+ outputs: []
2193
+ },
2194
+ {
2195
+ stateMutability: "nonpayable",
2196
+ type: "function",
2197
+ inputs: [
2198
+ { name: "collateralToken", internalType: "address", type: "address" },
2199
+ { name: "dexId", internalType: "uint8", type: "uint8" }
2200
+ ],
2201
+ name: "setCollateralDex",
2202
+ outputs: []
2203
+ },
2204
+ {
2205
+ stateMutability: "nonpayable",
2206
+ type: "function",
2207
+ inputs: [
2208
+ { name: "collateralToken", internalType: "address", type: "address" },
2209
+ { name: "enabled", internalType: "bool", type: "bool" }
2210
+ ],
2211
+ name: "setCollateralEnabled",
2212
+ outputs: []
2213
+ },
2214
+ {
2215
+ stateMutability: "nonpayable",
2216
+ type: "function",
2217
+ inputs: [
2218
+ { name: "collateralToken", internalType: "address", type: "address" },
2219
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2220
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2221
+ ],
2222
+ name: "setCollateralV2Paths",
2223
+ outputs: []
2224
+ },
2225
+ {
2226
+ stateMutability: "nonpayable",
2227
+ type: "function",
2228
+ inputs: [
2229
+ { name: "collateralToken", internalType: "address", type: "address" },
2230
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2231
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2232
+ ],
2233
+ name: "setCollateralV3Paths",
2234
+ outputs: []
2235
+ },
2236
+ {
2237
+ stateMutability: "nonpayable",
2238
+ type: "function",
2239
+ inputs: [
2240
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2241
+ { name: "router", internalType: "address", type: "address" },
2242
+ { name: "enabled", internalType: "bool", type: "bool" }
2243
+ ],
2244
+ name: "setDexConfigV2",
2245
+ outputs: []
2246
+ },
2247
+ {
2248
+ stateMutability: "nonpayable",
2249
+ type: "function",
2250
+ inputs: [
2251
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2252
+ { name: "swapRouter", internalType: "address", type: "address" },
2253
+ { name: "quoter", internalType: "address", type: "address" },
2254
+ { name: "enabled", internalType: "bool", type: "bool" },
2255
+ { name: "quoterKind", internalType: "uint8", type: "uint8" }
2256
+ ],
2257
+ name: "setDexConfigV3",
2258
+ outputs: []
2259
+ },
2260
+ {
2261
+ stateMutability: "nonpayable",
2262
+ type: "function",
2263
+ inputs: [
2264
+ { name: "collateralToken", internalType: "address", type: "address" },
2265
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
2266
+ { name: "amountOutMin", internalType: "uint256", type: "uint256" },
2267
+ { name: "deadline", internalType: "uint256", type: "uint256" },
2268
+ { name: "recipient", internalType: "address", type: "address" }
2269
+ ],
2270
+ name: "swapExactCollateralToEth",
2271
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2272
+ },
2273
+ {
2274
+ stateMutability: "payable",
2275
+ type: "function",
2276
+ inputs: [
2277
+ { name: "collateralToken", internalType: "address", type: "address" },
2278
+ { name: "amountOutMin", internalType: "uint256", type: "uint256" },
2279
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2280
+ ],
2281
+ name: "swapExactEthToCollateral",
2282
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2283
+ },
1009
2284
  {
1010
2285
  stateMutability: "nonpayable",
1011
2286
  type: "function",
@@ -1013,32 +2288,100 @@ var basememeTokenABI = [
1013
2288
  name: "transferOwnership",
1014
2289
  outputs: []
1015
2290
  },
2291
+ {
2292
+ stateMutability: "payable",
2293
+ type: "function",
2294
+ inputs: [
2295
+ { name: "newImplementation", internalType: "address", type: "address" },
2296
+ { name: "data", internalType: "bytes", type: "bytes" }
2297
+ ],
2298
+ name: "upgradeToAndCall",
2299
+ outputs: []
2300
+ },
2301
+ {
2302
+ stateMutability: "view",
2303
+ type: "function",
2304
+ inputs: [],
2305
+ name: "weth",
2306
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2307
+ },
1016
2308
  {
1017
2309
  type: "event",
1018
2310
  anonymous: false,
1019
2311
  inputs: [
1020
2312
  {
1021
- name: "owner",
2313
+ name: "collateralToken",
1022
2314
  internalType: "address",
1023
2315
  type: "address",
1024
2316
  indexed: true
1025
2317
  },
2318
+ { name: "dexId", internalType: "uint8", type: "uint8", indexed: true }
2319
+ ],
2320
+ name: "CollateralDexSet"
2321
+ },
2322
+ {
2323
+ type: "event",
2324
+ anonymous: false,
2325
+ inputs: [
1026
2326
  {
1027
- name: "spender",
2327
+ name: "collateralToken",
1028
2328
  internalType: "address",
1029
2329
  type: "address",
1030
2330
  indexed: true
1031
2331
  },
2332
+ { name: "enabled", internalType: "bool", type: "bool", indexed: false }
2333
+ ],
2334
+ name: "CollateralEnabled"
2335
+ },
2336
+ {
2337
+ type: "event",
2338
+ anonymous: false,
2339
+ inputs: [
2340
+ {
2341
+ name: "collateralToken",
2342
+ internalType: "address",
2343
+ type: "address",
2344
+ indexed: true
2345
+ }
2346
+ ],
2347
+ name: "CollateralV2PathsSet"
2348
+ },
2349
+ {
2350
+ type: "event",
2351
+ anonymous: false,
2352
+ inputs: [
2353
+ {
2354
+ name: "collateralToken",
2355
+ internalType: "address",
2356
+ type: "address",
2357
+ indexed: true
2358
+ }
2359
+ ],
2360
+ name: "CollateralV3PathsSet"
2361
+ },
2362
+ {
2363
+ type: "event",
2364
+ anonymous: false,
2365
+ inputs: [
2366
+ { name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
1032
2367
  {
1033
- name: "value",
1034
- internalType: "uint256",
1035
- type: "uint256",
2368
+ name: "dexType",
2369
+ internalType: "enum IBasememeTokenSwap.DexType",
2370
+ type: "uint8",
1036
2371
  indexed: false
1037
2372
  }
1038
2373
  ],
1039
- name: "Approval"
2374
+ name: "DexConfigured"
2375
+ },
2376
+ {
2377
+ type: "event",
2378
+ anonymous: false,
2379
+ inputs: [
2380
+ { name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
2381
+ { name: "enabled", internalType: "bool", type: "bool", indexed: false }
2382
+ ],
2383
+ name: "DexEnabled"
1040
2384
  },
1041
- { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1042
2385
  {
1043
2386
  type: "event",
1044
2387
  anonymous: false,
@@ -1076,92 +2419,47 @@ var basememeTokenABI = [
1076
2419
  anonymous: false,
1077
2420
  inputs: [
1078
2421
  {
1079
- name: "sender",
1080
- internalType: "address",
1081
- type: "address",
1082
- indexed: true
1083
- },
1084
- {
1085
- name: "recipient",
2422
+ name: "implementation",
1086
2423
  internalType: "address",
1087
2424
  type: "address",
1088
2425
  indexed: true
1089
- },
1090
- {
1091
- name: "amount",
1092
- internalType: "uint256",
1093
- type: "uint256",
1094
- indexed: false
1095
- },
1096
- {
1097
- name: "senderBalance",
1098
- internalType: "uint256",
1099
- type: "uint256",
1100
- indexed: false
1101
- },
1102
- {
1103
- name: "recipientBalance",
1104
- internalType: "uint256",
1105
- type: "uint256",
1106
- indexed: false
1107
2426
  }
1108
2427
  ],
1109
- name: "TokensTransferred"
2428
+ name: "Upgraded"
1110
2429
  },
1111
2430
  {
1112
- type: "event",
1113
- anonymous: false,
1114
- inputs: [
1115
- { name: "from", internalType: "address", type: "address", indexed: true },
1116
- { name: "to", internalType: "address", type: "address", indexed: true },
1117
- {
1118
- name: "value",
1119
- internalType: "uint256",
1120
- type: "uint256",
1121
- indexed: false
1122
- }
1123
- ],
1124
- name: "Transfer"
2431
+ type: "error",
2432
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2433
+ name: "AddressEmptyCode"
1125
2434
  },
2435
+ { type: "error", inputs: [], name: "CollateralMustBeDisabled" },
2436
+ { type: "error", inputs: [], name: "DeadlineExpired" },
2437
+ { type: "error", inputs: [], name: "DexDisabled" },
2438
+ { type: "error", inputs: [], name: "DexNotConfigured" },
2439
+ { type: "error", inputs: [], name: "DexTypeImmutable" },
1126
2440
  {
1127
2441
  type: "error",
1128
2442
  inputs: [
1129
- { name: "spender", internalType: "address", type: "address" },
1130
- { name: "allowance", internalType: "uint256", type: "uint256" },
1131
- { name: "needed", internalType: "uint256", type: "uint256" }
2443
+ { name: "implementation", internalType: "address", type: "address" }
1132
2444
  ],
1133
- name: "ERC20InsufficientAllowance"
2445
+ name: "ERC1967InvalidImplementation"
1134
2446
  },
2447
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2448
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
2449
+ { type: "error", inputs: [], name: "FailedCall" },
1135
2450
  {
1136
2451
  type: "error",
1137
2452
  inputs: [
1138
- { name: "sender", internalType: "address", type: "address" },
1139
2453
  { name: "balance", internalType: "uint256", type: "uint256" },
1140
2454
  { name: "needed", internalType: "uint256", type: "uint256" }
1141
2455
  ],
1142
- name: "ERC20InsufficientBalance"
1143
- },
1144
- {
1145
- type: "error",
1146
- inputs: [{ name: "approver", internalType: "address", type: "address" }],
1147
- name: "ERC20InvalidApprover"
1148
- },
1149
- {
1150
- type: "error",
1151
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
1152
- name: "ERC20InvalidReceiver"
1153
- },
1154
- {
1155
- type: "error",
1156
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
1157
- name: "ERC20InvalidSender"
1158
- },
1159
- {
1160
- type: "error",
1161
- inputs: [{ name: "spender", internalType: "address", type: "address" }],
1162
- name: "ERC20InvalidSpender"
2456
+ name: "InsufficientBalance"
1163
2457
  },
2458
+ { type: "error", inputs: [], name: "InvalidDexId" },
1164
2459
  { type: "error", inputs: [], name: "InvalidInitialization" },
2460
+ { type: "error", inputs: [], name: "InvalidPath" },
2461
+ { type: "error", inputs: [], name: "InvalidRecipient" },
2462
+ { type: "error", inputs: [], name: "InvalidRouteConfig" },
1165
2463
  { type: "error", inputs: [], name: "NotInitializing" },
1166
2464
  {
1167
2465
  type: "error",
@@ -1173,16 +2471,29 @@ var basememeTokenABI = [
1173
2471
  inputs: [{ name: "account", internalType: "address", type: "address" }],
1174
2472
  name: "OwnableUnauthorizedAccount"
1175
2473
  },
1176
- { type: "error", inputs: [], name: "TransfersControlled" },
1177
- { type: "error", inputs: [], name: "TransfersRestricted" }
2474
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2475
+ { type: "error", inputs: [], name: "RouteDisabled" },
2476
+ { type: "error", inputs: [], name: "RouteNotConfigured" },
2477
+ {
2478
+ type: "error",
2479
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
2480
+ name: "SafeERC20FailedOperation"
2481
+ },
2482
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2483
+ {
2484
+ type: "error",
2485
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2486
+ name: "UUPSUnsupportedProxiableUUID"
2487
+ },
2488
+ { type: "error", inputs: [], name: "UnsupportedDexType" }
1178
2489
  ];
1179
- var basememeTokenAddress = {
1180
- 8453: "0xBbD5C86CcFAD9914B269647f80aD829D2cfA406e",
1181
- 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
2490
+ var basememeTokenSwapAddress = {
2491
+ 8453: "0x2c8E47a09196505Dbc96229510A4B9ff91a8534b",
2492
+ 84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4"
1182
2493
  };
1183
- var basememeTokenConfig = {
1184
- address: basememeTokenAddress,
1185
- abi: basememeTokenABI
2494
+ var basememeTokenSwapConfig = {
2495
+ address: basememeTokenSwapAddress,
2496
+ abi: basememeTokenSwapABI
1186
2497
  };
1187
2498
  var bondingCurveABI = [
1188
2499
  {
@@ -1195,30 +2506,7 @@ var bondingCurveABI = [
1195
2506
  type: "address"
1196
2507
  },
1197
2508
  { name: "_protocolRewards", internalType: "address", type: "address" },
1198
- { name: "_initialTokenSupply", internalType: "uint256", type: "uint256" },
1199
- {
1200
- name: "_virtualCollateralReservesInitial",
1201
- internalType: "uint256",
1202
- type: "uint256"
1203
- },
1204
- {
1205
- name: "_virtualTokenReservesInitial",
1206
- internalType: "uint256",
1207
- type: "uint256"
1208
- },
1209
- { name: "_feeBasisPoints", internalType: "uint256", type: "uint256" },
1210
- { name: "_fixedMigrationFee", internalType: "uint256", type: "uint256" },
1211
- { name: "_poolCreationFee", internalType: "uint256", type: "uint256" },
1212
- { name: "_firstBuyFee", internalType: "uint256", type: "uint256" },
1213
- { name: "_mcLowerLimit", internalType: "uint256", type: "uint256" },
1214
- { name: "_mcUpperLimit", internalType: "uint256", type: "uint256" },
1215
- {
1216
- name: "_tokensMigrationThreshold",
1217
- internalType: "uint256",
1218
- type: "uint256"
1219
- },
1220
2509
  { name: "_weth", internalType: "address", type: "address" },
1221
- { name: "_v4LpFee", internalType: "uint24", type: "uint24" },
1222
2510
  {
1223
2511
  name: "_tokenImplementation",
1224
2512
  internalType: "address",
@@ -1367,6 +2655,25 @@ var bondingCurveABI = [
1367
2655
  { name: "tradeFee", internalType: "uint256", type: "uint256" }
1368
2656
  ]
1369
2657
  },
2658
+ {
2659
+ stateMutability: "payable",
2660
+ type: "function",
2661
+ inputs: [
2662
+ { name: "_collateralAmountIn", internalType: "uint256", type: "uint256" },
2663
+ { name: "_amountOutMin", internalType: "uint256", type: "uint256" },
2664
+ { name: "_tradeReferrer", internalType: "address", type: "address" }
2665
+ ],
2666
+ name: "buyExactInWithAmount",
2667
+ outputs: [
2668
+ {
2669
+ name: "collateralToPayWithFee",
2670
+ internalType: "uint256",
2671
+ type: "uint256"
2672
+ },
2673
+ { name: "tradeFee", internalType: "uint256", type: "uint256" },
2674
+ { name: "firstFee", internalType: "uint256", type: "uint256" }
2675
+ ]
2676
+ },
1370
2677
  {
1371
2678
  stateMutability: "payable",
1372
2679
  type: "function",
@@ -1390,6 +2697,13 @@ var bondingCurveABI = [
1390
2697
  { name: "firstFee", internalType: "uint256", type: "uint256" }
1391
2698
  ]
1392
2699
  },
2700
+ {
2701
+ stateMutability: "view",
2702
+ type: "function",
2703
+ inputs: [],
2704
+ name: "collateralToken",
2705
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2706
+ },
1393
2707
  {
1394
2708
  stateMutability: "nonpayable",
1395
2709
  type: "function",
@@ -1538,7 +2852,51 @@ var bondingCurveABI = [
1538
2852
  inputs: [
1539
2853
  { name: "_platformReferrer", internalType: "address", type: "address" },
1540
2854
  { name: "_payoutRecipient", internalType: "address", type: "address" },
1541
- { name: "_token", internalType: "address", type: "address" }
2855
+ { name: "_token", internalType: "address", type: "address" },
2856
+ {
2857
+ name: "_params",
2858
+ internalType: "struct IBondingCurve.CurveParams",
2859
+ type: "tuple",
2860
+ components: [
2861
+ {
2862
+ name: "initialTokenSupply",
2863
+ internalType: "uint256",
2864
+ type: "uint256"
2865
+ },
2866
+ {
2867
+ name: "virtualCollateralReservesInitial",
2868
+ internalType: "uint256",
2869
+ type: "uint256"
2870
+ },
2871
+ {
2872
+ name: "virtualTokenReservesInitial",
2873
+ internalType: "uint256",
2874
+ type: "uint256"
2875
+ },
2876
+ { name: "feeBPS", internalType: "uint256", type: "uint256" },
2877
+ { name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
2878
+ { name: "mcUpperLimit", internalType: "uint256", type: "uint256" },
2879
+ {
2880
+ name: "tokensMigrationThreshold",
2881
+ internalType: "uint256",
2882
+ type: "uint256"
2883
+ },
2884
+ {
2885
+ name: "fixedMigrationFee",
2886
+ internalType: "uint256",
2887
+ type: "uint256"
2888
+ },
2889
+ { name: "poolCreationFee", internalType: "uint256", type: "uint256" },
2890
+ { name: "firstBuyFee", internalType: "uint256", type: "uint256" },
2891
+ {
2892
+ name: "targetCollectionAmount",
2893
+ internalType: "uint256",
2894
+ type: "uint256"
2895
+ },
2896
+ { name: "collateralToken", internalType: "address", type: "address" },
2897
+ { name: "v4LpFee", internalType: "uint24", type: "uint24" }
2898
+ ]
2899
+ }
1542
2900
  ],
1543
2901
  name: "initialize",
1544
2902
  outputs: []
@@ -1697,6 +3055,13 @@ var bondingCurveABI = [
1697
3055
  name: "sendingToPairForbidden",
1698
3056
  outputs: [{ name: "", internalType: "bool", type: "bool" }]
1699
3057
  },
3058
+ {
3059
+ stateMutability: "view",
3060
+ type: "function",
3061
+ inputs: [],
3062
+ name: "targetCollectionAmount",
3063
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3064
+ },
1700
3065
  {
1701
3066
  stateMutability: "view",
1702
3067
  type: "function",
@@ -1788,6 +3153,13 @@ var bondingCurveABI = [
1788
3153
  name: "virtualCollateralReservesInitial",
1789
3154
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1790
3155
  },
3156
+ {
3157
+ stateMutability: "view",
3158
+ type: "function",
3159
+ inputs: [],
3160
+ name: "virtualCollateralReservesTarget",
3161
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
3162
+ },
1791
3163
  {
1792
3164
  stateMutability: "view",
1793
3165
  type: "function",
@@ -1945,6 +3317,14 @@ var bondingCurveABI = [
1945
3317
  { type: "error", inputs: [], name: "AlreadyMigrated" },
1946
3318
  { type: "error", inputs: [], name: "AmountInZero" },
1947
3319
  { type: "error", inputs: [], name: "AmountOutZero" },
3320
+ {
3321
+ type: "error",
3322
+ inputs: [
3323
+ { name: "recommendedTokenOut", internalType: "uint256", type: "uint256" }
3324
+ ],
3325
+ name: "CollectionTargetExceeded"
3326
+ },
3327
+ { type: "error", inputs: [], name: "ETHNotAllowedForERC20Market" },
1948
3328
  { type: "error", inputs: [], name: "FailedCall" },
1949
3329
  { type: "error", inputs: [], name: "FailedToSendETH" },
1950
3330
  { type: "error", inputs: [], name: "InitialTokenSupplyNotSet" },
@@ -1997,6 +3377,11 @@ var bondingCurveABI = [
1997
3377
  { type: "error", inputs: [], name: "PoolNotDeployed" },
1998
3378
  { type: "error", inputs: [], name: "PoolNotPreCreated" },
1999
3379
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3380
+ {
3381
+ type: "error",
3382
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3383
+ name: "SafeERC20FailedOperation"
3384
+ },
2000
3385
  { type: "error", inputs: [], name: "SlippageCheckFailed" },
2001
3386
  { type: "error", inputs: [], name: "TokenNotInitialized" },
2002
3387
  { type: "error", inputs: [], name: "TradingStopped" },
@@ -2021,8 +3406,8 @@ var bondingCurveABI = [
2021
3406
  { type: "error", inputs: [], name: "V4TooManyPositions" }
2022
3407
  ];
2023
3408
  var bondingCurveAddress = {
2024
- 8453: "0x3Af9745CeF866D69bB99f74D2d0B5025805878a4",
2025
- 84532: "0x4F5CE506fa0A8bF06b3A5e3e61061e863B04FC65"
3409
+ 8453: "0x800eCB34F8E19d9BB6984409fDf33f08e134cAd4",
3410
+ 84532: "0xe891F626E5819a972F9263007807Bb4E70cA9522"
2026
3411
  };
2027
3412
  var bondingCurveConfig = {
2028
3413
  address: bondingCurveAddress,
@@ -2303,6 +3688,7 @@ var chainConfigs = {
2303
3688
  "MC_LOWER_LIMIT": "11795000000000000000",
2304
3689
  "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2305
3690
  "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3691
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
2306
3692
  "SIGNER": "0x0000000000000000000000000000000000000000",
2307
3693
  "DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
2308
3694
  "FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
@@ -2314,14 +3700,78 @@ var chainConfigs = {
2314
3700
  "WETH": "0x4200000000000000000000000000000000000006",
2315
3701
  "V3_POOL_FEE": "10000",
2316
3702
  "TRADE_REFERRER_FEE_BPS": "1000",
2317
- "CONTRACT_VERSION": "2.0.0",
3703
+ "CONTRACT_VERSION": "2.1.0",
2318
3704
  "V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
2319
3705
  "V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
2320
3706
  "QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
2321
3707
  "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2322
3708
  "UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
2323
3709
  "V4_LP_FEE": "20000",
2324
- "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3710
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
3711
+ "COLLATERAL_TEMPLATES": {
3712
+ "ETH": {
3713
+ "ID": "ETH_DEFAULT",
3714
+ "COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
3715
+ "SYMBOL": "ETH",
3716
+ "DECIMALS": 18,
3717
+ "ENABLED": true,
3718
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3719
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
3720
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
3721
+ "FEE_BASIS_POINTS": "200",
3722
+ "FIXED_MIGRATION_FEE": "100000000000000000",
3723
+ "POOL_CREATION_FEE": "50000000000000000",
3724
+ "FIRST_BUY_FEE": "1500000000000000",
3725
+ "MC_UPPER_LIMIT": "11835000000000000000",
3726
+ "MC_LOWER_LIMIT": "11795000000000000000",
3727
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
3728
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3729
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
3730
+ "V4_LP_FEE": "20000",
3731
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3732
+ },
3733
+ "USDC": {
3734
+ "ID": "USDC_DEFAULT",
3735
+ "COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
3736
+ "SYMBOL": "USDC",
3737
+ "DECIMALS": 6,
3738
+ "ENABLED": true,
3739
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3740
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
3741
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
3742
+ "FEE_BASIS_POINTS": "200",
3743
+ "FIXED_MIGRATION_FEE": "300000000",
3744
+ "POOL_CREATION_FEE": "200000000",
3745
+ "FIRST_BUY_FEE": "5000000",
3746
+ "MC_UPPER_LIMIT": "37560000000",
3747
+ "MC_LOWER_LIMIT": "37500000000",
3748
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3749
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
3750
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
3751
+ "V4_LP_FEE": "20000",
3752
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3753
+ },
3754
+ "SOL": {
3755
+ "ID": "SOL_DEFAULT",
3756
+ "COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
3757
+ "SYMBOL": "SOL",
3758
+ "DECIMALS": 9,
3759
+ "ENABLED": true,
3760
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3761
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
3762
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
3763
+ "FEE_BASIS_POINTS": "200",
3764
+ "FIXED_MIGRATION_FEE": "2400000000",
3765
+ "POOL_CREATION_FEE": "1600000000",
3766
+ "FIRST_BUY_FEE": "40000000",
3767
+ "MC_UPPER_LIMIT": "300480000003",
3768
+ "MC_LOWER_LIMIT": "300000000003",
3769
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3770
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
3771
+ "V4_LP_FEE": "20000",
3772
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3773
+ }
3774
+ }
2325
3775
  },
2326
3776
  "1.0.12": {
2327
3777
  "TOTAL_SUPPLY": "1000000000000000000000000000",
@@ -2433,6 +3883,104 @@ var chainConfigs = {
2433
3883
  "UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
2434
3884
  "V4_LP_FEE": "20000",
2435
3885
  "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3886
+ },
3887
+ "2.1.0": {
3888
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3889
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
3890
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
3891
+ "FEE_BASIS_POINTS": "200",
3892
+ "DEX_FEE_BASIS_POINTS": "5000",
3893
+ "FIXED_MIGRATION_FEE": "100000000000000000",
3894
+ "POOL_CREATION_FEE": "50000000000000000",
3895
+ "FIRST_BUY_FEE": "1500000000000000",
3896
+ "MC_UPPER_LIMIT": "11835000000000000000",
3897
+ "MC_LOWER_LIMIT": "11795000000000000000",
3898
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
3899
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3900
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
3901
+ "SIGNER": "0x0000000000000000000000000000000000000000",
3902
+ "DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
3903
+ "FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
3904
+ "PROTOCOL_REWARD_RECIPIENT": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
3905
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
3906
+ "QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
3907
+ "SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
3908
+ "UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
3909
+ "WETH": "0x4200000000000000000000000000000000000006",
3910
+ "V3_POOL_FEE": "10000",
3911
+ "TRADE_REFERRER_FEE_BPS": "1000",
3912
+ "CONTRACT_VERSION": "2.1.0",
3913
+ "V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
3914
+ "V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
3915
+ "QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
3916
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
3917
+ "UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
3918
+ "V4_LP_FEE": "20000",
3919
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
3920
+ "COLLATERAL_TEMPLATES": {
3921
+ "ETH": {
3922
+ "ID": "ETH_DEFAULT",
3923
+ "COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
3924
+ "SYMBOL": "ETH",
3925
+ "DECIMALS": 18,
3926
+ "ENABLED": true,
3927
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3928
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
3929
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
3930
+ "FEE_BASIS_POINTS": "200",
3931
+ "FIXED_MIGRATION_FEE": "100000000000000000",
3932
+ "POOL_CREATION_FEE": "50000000000000000",
3933
+ "FIRST_BUY_FEE": "1500000000000000",
3934
+ "MC_UPPER_LIMIT": "11835000000000000000",
3935
+ "MC_LOWER_LIMIT": "11795000000000000000",
3936
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
3937
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3938
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
3939
+ "V4_LP_FEE": "20000",
3940
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3941
+ },
3942
+ "USDC": {
3943
+ "ID": "USDC_DEFAULT",
3944
+ "COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
3945
+ "SYMBOL": "USDC",
3946
+ "DECIMALS": 6,
3947
+ "ENABLED": true,
3948
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3949
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
3950
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
3951
+ "FEE_BASIS_POINTS": "200",
3952
+ "FIXED_MIGRATION_FEE": "300000000",
3953
+ "POOL_CREATION_FEE": "200000000",
3954
+ "FIRST_BUY_FEE": "5000000",
3955
+ "MC_UPPER_LIMIT": "37560000000",
3956
+ "MC_LOWER_LIMIT": "37500000000",
3957
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3958
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
3959
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
3960
+ "V4_LP_FEE": "20000",
3961
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3962
+ },
3963
+ "SOL": {
3964
+ "ID": "SOL_DEFAULT",
3965
+ "COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
3966
+ "SYMBOL": "SOL",
3967
+ "DECIMALS": 9,
3968
+ "ENABLED": true,
3969
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3970
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
3971
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
3972
+ "FEE_BASIS_POINTS": "200",
3973
+ "FIXED_MIGRATION_FEE": "2400000000",
3974
+ "POOL_CREATION_FEE": "1600000000",
3975
+ "FIRST_BUY_FEE": "40000000",
3976
+ "MC_UPPER_LIMIT": "300480000003",
3977
+ "MC_LOWER_LIMIT": "300000000003",
3978
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3979
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
3980
+ "V4_LP_FEE": "20000",
3981
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3982
+ }
3983
+ }
2436
3984
  }
2437
3985
  },
2438
3986
  [84532]: {
@@ -2449,6 +3997,7 @@ var chainConfigs = {
2449
3997
  "MC_LOWER_LIMIT": "11795000000000000000",
2450
3998
  "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
2451
3999
  "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
4000
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
2452
4001
  "SIGNER": "0x0000000000000000000000000000000000000000",
2453
4002
  "DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
2454
4003
  "FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
@@ -2460,14 +4009,119 @@ var chainConfigs = {
2460
4009
  "WETH": "0x4200000000000000000000000000000000000006",
2461
4010
  "V3_POOL_FEE": "10000",
2462
4011
  "TRADE_REFERRER_FEE_BPS": "1000",
2463
- "CONTRACT_VERSION": "2.0.0",
4012
+ "CONTRACT_VERSION": "2.1.0",
2464
4013
  "V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
2465
4014
  "V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
2466
4015
  "QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
2467
4016
  "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2468
4017
  "UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
2469
4018
  "V4_LP_FEE": "20000",
2470
- "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4019
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
4020
+ "COLLATERAL_TEMPLATES": {
4021
+ "ETH": {
4022
+ "ID": "ETH_DEFAULT",
4023
+ "COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
4024
+ "SYMBOL": "ETH",
4025
+ "DECIMALS": 18,
4026
+ "ENABLED": true,
4027
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4028
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
4029
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
4030
+ "FEE_BASIS_POINTS": "200",
4031
+ "FIXED_MIGRATION_FEE": "100000000000000000",
4032
+ "POOL_CREATION_FEE": "50000000000000000",
4033
+ "FIRST_BUY_FEE": "1500000000000000",
4034
+ "MC_UPPER_LIMIT": "11835000000000000000",
4035
+ "MC_LOWER_LIMIT": "11795000000000000000",
4036
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
4037
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
4038
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
4039
+ "V4_LP_FEE": "20000",
4040
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4041
+ },
4042
+ "USDC": {
4043
+ "ID": "USDC_DEFAULT",
4044
+ "COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
4045
+ "SYMBOL": "USDC",
4046
+ "DECIMALS": 6,
4047
+ "ENABLED": true,
4048
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4049
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
4050
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
4051
+ "FEE_BASIS_POINTS": "200",
4052
+ "FIXED_MIGRATION_FEE": "300000000",
4053
+ "POOL_CREATION_FEE": "200000000",
4054
+ "FIRST_BUY_FEE": "5000000",
4055
+ "MC_UPPER_LIMIT": "37560000000",
4056
+ "MC_LOWER_LIMIT": "37500000000",
4057
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4058
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
4059
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
4060
+ "V4_LP_FEE": "20000",
4061
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4062
+ },
4063
+ "SOL": {
4064
+ "ID": "SOL_DEFAULT",
4065
+ "COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
4066
+ "SYMBOL": "SOL",
4067
+ "DECIMALS": 9,
4068
+ "ENABLED": true,
4069
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4070
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
4071
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
4072
+ "FEE_BASIS_POINTS": "200",
4073
+ "FIXED_MIGRATION_FEE": "2400000000",
4074
+ "POOL_CREATION_FEE": "1600000000",
4075
+ "FIRST_BUY_FEE": "40000000",
4076
+ "MC_UPPER_LIMIT": "300480000003",
4077
+ "MC_LOWER_LIMIT": "300000000003",
4078
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4079
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
4080
+ "V4_LP_FEE": "20000",
4081
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4082
+ },
4083
+ "MUSDC": {
4084
+ "ID": "MUSDC_DEFAULT",
4085
+ "COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
4086
+ "SYMBOL": "USDC",
4087
+ "DECIMALS": 6,
4088
+ "ENABLED": true,
4089
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4090
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
4091
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
4092
+ "FEE_BASIS_POINTS": "200",
4093
+ "FIXED_MIGRATION_FEE": "300000000",
4094
+ "POOL_CREATION_FEE": "200000000",
4095
+ "FIRST_BUY_FEE": "5000000",
4096
+ "MC_UPPER_LIMIT": "37560000000",
4097
+ "MC_LOWER_LIMIT": "37500000000",
4098
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4099
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
4100
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
4101
+ "V4_LP_FEE": "20000",
4102
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4103
+ },
4104
+ "MSOL": {
4105
+ "ID": "MSOL_DEFAULT",
4106
+ "COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
4107
+ "SYMBOL": "SOL",
4108
+ "DECIMALS": 9,
4109
+ "ENABLED": true,
4110
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4111
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
4112
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
4113
+ "FEE_BASIS_POINTS": "200",
4114
+ "FIXED_MIGRATION_FEE": "2400000000",
4115
+ "POOL_CREATION_FEE": "1600000000",
4116
+ "FIRST_BUY_FEE": "40000000",
4117
+ "MC_UPPER_LIMIT": "300480000003",
4118
+ "MC_LOWER_LIMIT": "300000000003",
4119
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4120
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
4121
+ "V4_LP_FEE": "20000",
4122
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4123
+ }
4124
+ }
2471
4125
  },
2472
4126
  "1.0.12": {
2473
4127
  "TOTAL_SUPPLY": "1000000000000000000000000000",
@@ -2527,6 +4181,145 @@ var chainConfigs = {
2527
4181
  "UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
2528
4182
  "V4_LP_FEE": "20000",
2529
4183
  "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4184
+ },
4185
+ "2.1.0": {
4186
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4187
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
4188
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
4189
+ "FEE_BASIS_POINTS": "200",
4190
+ "DEX_FEE_BASIS_POINTS": "5000",
4191
+ "FIXED_MIGRATION_FEE": "100000000000000000",
4192
+ "POOL_CREATION_FEE": "50000000000000000",
4193
+ "FIRST_BUY_FEE": "1500000000000000",
4194
+ "MC_UPPER_LIMIT": "11835000000000000000",
4195
+ "MC_LOWER_LIMIT": "11795000000000000000",
4196
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
4197
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
4198
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
4199
+ "SIGNER": "0x0000000000000000000000000000000000000000",
4200
+ "DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
4201
+ "FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
4202
+ "PROTOCOL_REWARD_RECIPIENT": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
4203
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
4204
+ "QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
4205
+ "SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
4206
+ "UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
4207
+ "WETH": "0x4200000000000000000000000000000000000006",
4208
+ "V3_POOL_FEE": "10000",
4209
+ "TRADE_REFERRER_FEE_BPS": "1000",
4210
+ "CONTRACT_VERSION": "2.1.0",
4211
+ "V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
4212
+ "V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
4213
+ "QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
4214
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
4215
+ "UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
4216
+ "V4_LP_FEE": "20000",
4217
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
4218
+ "COLLATERAL_TEMPLATES": {
4219
+ "ETH": {
4220
+ "ID": "ETH_DEFAULT",
4221
+ "COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
4222
+ "SYMBOL": "ETH",
4223
+ "DECIMALS": 18,
4224
+ "ENABLED": true,
4225
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4226
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
4227
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
4228
+ "FEE_BASIS_POINTS": "200",
4229
+ "FIXED_MIGRATION_FEE": "100000000000000000",
4230
+ "POOL_CREATION_FEE": "50000000000000000",
4231
+ "FIRST_BUY_FEE": "1500000000000000",
4232
+ "MC_UPPER_LIMIT": "11835000000000000000",
4233
+ "MC_LOWER_LIMIT": "11795000000000000000",
4234
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
4235
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
4236
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
4237
+ "V4_LP_FEE": "20000",
4238
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4239
+ },
4240
+ "USDC": {
4241
+ "ID": "USDC_DEFAULT",
4242
+ "COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
4243
+ "SYMBOL": "USDC",
4244
+ "DECIMALS": 6,
4245
+ "ENABLED": true,
4246
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4247
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
4248
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
4249
+ "FEE_BASIS_POINTS": "200",
4250
+ "FIXED_MIGRATION_FEE": "300000000",
4251
+ "POOL_CREATION_FEE": "200000000",
4252
+ "FIRST_BUY_FEE": "5000000",
4253
+ "MC_UPPER_LIMIT": "37560000000",
4254
+ "MC_LOWER_LIMIT": "37500000000",
4255
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4256
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
4257
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
4258
+ "V4_LP_FEE": "20000",
4259
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4260
+ },
4261
+ "SOL": {
4262
+ "ID": "SOL_DEFAULT",
4263
+ "COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
4264
+ "SYMBOL": "SOL",
4265
+ "DECIMALS": 9,
4266
+ "ENABLED": true,
4267
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4268
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
4269
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
4270
+ "FEE_BASIS_POINTS": "200",
4271
+ "FIXED_MIGRATION_FEE": "2400000000",
4272
+ "POOL_CREATION_FEE": "1600000000",
4273
+ "FIRST_BUY_FEE": "40000000",
4274
+ "MC_UPPER_LIMIT": "300480000003",
4275
+ "MC_LOWER_LIMIT": "300000000003",
4276
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4277
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
4278
+ "V4_LP_FEE": "20000",
4279
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4280
+ },
4281
+ "MUSDC": {
4282
+ "ID": "MUSDC_DEFAULT",
4283
+ "COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
4284
+ "SYMBOL": "USDC",
4285
+ "DECIMALS": 6,
4286
+ "ENABLED": true,
4287
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4288
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
4289
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
4290
+ "FEE_BASIS_POINTS": "200",
4291
+ "FIXED_MIGRATION_FEE": "300000000",
4292
+ "POOL_CREATION_FEE": "200000000",
4293
+ "FIRST_BUY_FEE": "5000000",
4294
+ "MC_UPPER_LIMIT": "37560000000",
4295
+ "MC_LOWER_LIMIT": "37500000000",
4296
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4297
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
4298
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
4299
+ "V4_LP_FEE": "20000",
4300
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4301
+ },
4302
+ "MSOL": {
4303
+ "ID": "MSOL_DEFAULT",
4304
+ "COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
4305
+ "SYMBOL": "SOL",
4306
+ "DECIMALS": 9,
4307
+ "ENABLED": true,
4308
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4309
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
4310
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
4311
+ "FEE_BASIS_POINTS": "200",
4312
+ "FIXED_MIGRATION_FEE": "2400000000",
4313
+ "POOL_CREATION_FEE": "1600000000",
4314
+ "FIRST_BUY_FEE": "40000000",
4315
+ "MC_UPPER_LIMIT": "300480000003",
4316
+ "MC_LOWER_LIMIT": "300000000003",
4317
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4318
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
4319
+ "V4_LP_FEE": "20000",
4320
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4321
+ }
4322
+ }
2530
4323
  }
2531
4324
  }
2532
4325
  };
@@ -2538,9 +4331,15 @@ var chainConfigs = {
2538
4331
  basememeFactoryImplABI,
2539
4332
  basememeFactoryImplAddress,
2540
4333
  basememeFactoryImplConfig,
4334
+ basememeFactoryTradeHelperABI,
4335
+ basememeFactoryTradeHelperAddress,
4336
+ basememeFactoryTradeHelperConfig,
2541
4337
  basememeTokenABI,
2542
4338
  basememeTokenAddress,
2543
4339
  basememeTokenConfig,
4340
+ basememeTokenSwapABI,
4341
+ basememeTokenSwapAddress,
4342
+ basememeTokenSwapConfig,
2544
4343
  bondingCurveABI,
2545
4344
  bondingCurveAddress,
2546
4345
  bondingCurveConfig,