base-meme-v4-configs 0.0.3 → 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/chainConfigs.d.ts +408 -0
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +2007 -241
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +4506 -748
- package/wagmiGenerated.d.ts.map +1 -1
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",
|
|
@@ -214,6 +335,42 @@ var basememeFactoryImplABI = [
|
|
|
214
335
|
name: "createBasememeTokenAndBuy",
|
|
215
336
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
216
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
|
+
},
|
|
217
374
|
{
|
|
218
375
|
stateMutability: "view",
|
|
219
376
|
type: "function",
|
|
@@ -248,6 +405,13 @@ var basememeFactoryImplABI = [
|
|
|
248
405
|
name: "isSignatureEnabled",
|
|
249
406
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
250
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
|
+
},
|
|
251
415
|
{
|
|
252
416
|
stateMutability: "nonpayable",
|
|
253
417
|
type: "function",
|
|
@@ -306,6 +470,23 @@ var basememeFactoryImplABI = [
|
|
|
306
470
|
name: "sellExactIn",
|
|
307
471
|
outputs: []
|
|
308
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
|
+
},
|
|
309
490
|
{
|
|
310
491
|
stateMutability: "nonpayable",
|
|
311
492
|
type: "function",
|
|
@@ -318,6 +499,19 @@ var basememeFactoryImplABI = [
|
|
|
318
499
|
name: "sellExactOut",
|
|
319
500
|
outputs: []
|
|
320
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
|
+
},
|
|
321
515
|
{
|
|
322
516
|
stateMutability: "nonpayable",
|
|
323
517
|
type: "function",
|
|
@@ -331,6 +525,71 @@ var basememeFactoryImplABI = [
|
|
|
331
525
|
name: "setBondingCurveImplementation",
|
|
332
526
|
outputs: []
|
|
333
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
|
+
},
|
|
334
593
|
{
|
|
335
594
|
stateMutability: "nonpayable",
|
|
336
595
|
type: "function",
|
|
@@ -347,6 +606,16 @@ var basememeFactoryImplABI = [
|
|
|
347
606
|
name: "setSigner",
|
|
348
607
|
outputs: []
|
|
349
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
|
+
},
|
|
350
619
|
{
|
|
351
620
|
stateMutability: "nonpayable",
|
|
352
621
|
type: "function",
|
|
@@ -371,6 +640,13 @@ var basememeFactoryImplABI = [
|
|
|
371
640
|
name: "tokenToBondingCurve",
|
|
372
641
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
373
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
|
+
},
|
|
374
650
|
{
|
|
375
651
|
stateMutability: "nonpayable",
|
|
376
652
|
type: "function",
|
|
@@ -461,6 +737,45 @@ var basememeFactoryImplABI = [
|
|
|
461
737
|
],
|
|
462
738
|
name: "Buy"
|
|
463
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
|
+
},
|
|
464
779
|
{
|
|
465
780
|
type: "event",
|
|
466
781
|
anonymous: false,
|
|
@@ -608,57 +923,149 @@ var basememeFactoryImplABI = [
|
|
|
608
923
|
type: "event",
|
|
609
924
|
anonymous: false,
|
|
610
925
|
inputs: [
|
|
926
|
+
{ name: "addr", internalType: "address", type: "address", indexed: true },
|
|
611
927
|
{
|
|
612
|
-
name: "
|
|
613
|
-
internalType: "address",
|
|
614
|
-
type: "address",
|
|
615
|
-
indexed: true
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
name: "newOwner",
|
|
619
|
-
internalType: "address",
|
|
620
|
-
type: "address",
|
|
621
|
-
indexed: true
|
|
622
|
-
}
|
|
623
|
-
],
|
|
624
|
-
name: "OwnershipTransferred"
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
type: "event",
|
|
628
|
-
anonymous: false,
|
|
629
|
-
inputs: [
|
|
630
|
-
{
|
|
631
|
-
name: "seller",
|
|
632
|
-
internalType: "address",
|
|
633
|
-
type: "address",
|
|
634
|
-
indexed: true
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
name: "token",
|
|
928
|
+
name: "bondingCurve",
|
|
638
929
|
internalType: "address",
|
|
639
930
|
type: "address",
|
|
640
931
|
indexed: true
|
|
641
932
|
},
|
|
642
933
|
{
|
|
643
|
-
name: "
|
|
934
|
+
name: "initialTokenSupply",
|
|
644
935
|
internalType: "uint256",
|
|
645
936
|
type: "uint256",
|
|
646
937
|
indexed: false
|
|
647
938
|
},
|
|
648
939
|
{
|
|
649
|
-
name: "
|
|
940
|
+
name: "virtualCollateralReservesInitial",
|
|
650
941
|
internalType: "uint256",
|
|
651
942
|
type: "uint256",
|
|
652
943
|
indexed: false
|
|
653
944
|
},
|
|
654
945
|
{
|
|
655
|
-
name: "
|
|
946
|
+
name: "virtualTokenReservesInitial",
|
|
656
947
|
internalType: "uint256",
|
|
657
948
|
type: "uint256",
|
|
658
949
|
indexed: false
|
|
659
950
|
},
|
|
660
951
|
{
|
|
661
|
-
name: "
|
|
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
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
type: "event",
|
|
1016
|
+
anonymous: false,
|
|
1017
|
+
inputs: [
|
|
1018
|
+
{
|
|
1019
|
+
name: "previousOwner",
|
|
1020
|
+
internalType: "address",
|
|
1021
|
+
type: "address",
|
|
1022
|
+
indexed: true
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
name: "newOwner",
|
|
1026
|
+
internalType: "address",
|
|
1027
|
+
type: "address",
|
|
1028
|
+
indexed: true
|
|
1029
|
+
}
|
|
1030
|
+
],
|
|
1031
|
+
name: "OwnershipTransferred"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
type: "event",
|
|
1035
|
+
anonymous: false,
|
|
1036
|
+
inputs: [
|
|
1037
|
+
{
|
|
1038
|
+
name: "seller",
|
|
1039
|
+
internalType: "address",
|
|
1040
|
+
type: "address",
|
|
1041
|
+
indexed: true
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
name: "token",
|
|
1045
|
+
internalType: "address",
|
|
1046
|
+
type: "address",
|
|
1047
|
+
indexed: true
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
name: "tokenAmount",
|
|
1051
|
+
internalType: "uint256",
|
|
1052
|
+
type: "uint256",
|
|
1053
|
+
indexed: false
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
name: "collateralAmount",
|
|
1057
|
+
internalType: "uint256",
|
|
1058
|
+
type: "uint256",
|
|
1059
|
+
indexed: false
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
name: "tradeFee",
|
|
1063
|
+
internalType: "uint256",
|
|
1064
|
+
type: "uint256",
|
|
1065
|
+
indexed: false
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
name: "curveProgressBps",
|
|
662
1069
|
internalType: "uint256",
|
|
663
1070
|
type: "uint256",
|
|
664
1071
|
indexed: false
|
|
@@ -690,6 +1097,45 @@ var basememeFactoryImplABI = [
|
|
|
690
1097
|
],
|
|
691
1098
|
name: "Sell"
|
|
692
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
|
+
},
|
|
693
1139
|
{
|
|
694
1140
|
type: "event",
|
|
695
1141
|
anonymous: false,
|
|
@@ -778,6 +1224,13 @@ var basememeFactoryImplABI = [
|
|
|
778
1224
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
779
1225
|
name: "AddressEmptyCode"
|
|
780
1226
|
},
|
|
1227
|
+
{
|
|
1228
|
+
type: "error",
|
|
1229
|
+
inputs: [],
|
|
1230
|
+
name: "BuyExactInUnsupportedForErc20Collateral"
|
|
1231
|
+
},
|
|
1232
|
+
{ type: "error", inputs: [], name: "CollateralDisabled" },
|
|
1233
|
+
{ type: "error", inputs: [], name: "CurveParamsNotSet" },
|
|
781
1234
|
{ type: "error", inputs: [], name: "DexTreasuryZeroValue" },
|
|
782
1235
|
{
|
|
783
1236
|
type: "error",
|
|
@@ -799,8 +1252,11 @@ var basememeFactoryImplABI = [
|
|
|
799
1252
|
],
|
|
800
1253
|
name: "InsufficientBalance"
|
|
801
1254
|
},
|
|
1255
|
+
{ type: "error", inputs: [], name: "InvalidExactInCollateralAmount" },
|
|
1256
|
+
{ type: "error", inputs: [], name: "InvalidFrom" },
|
|
802
1257
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
803
1258
|
{ type: "error", inputs: [], name: "InvalidNonce" },
|
|
1259
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
804
1260
|
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
805
1261
|
{ type: "error", inputs: [], name: "InvalidV4Contracts" },
|
|
806
1262
|
{ type: "error", inputs: [], name: "McLowerLimitGreaterThanUpperLimit" },
|
|
@@ -810,6 +1266,7 @@ var basememeFactoryImplABI = [
|
|
|
810
1266
|
{ type: "error", inputs: [], name: "NotBasememeToken" },
|
|
811
1267
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
812
1268
|
{ type: "error", inputs: [], name: "NotReadyForMigration" },
|
|
1269
|
+
{ type: "error", inputs: [], name: "NotTrustedCaller" },
|
|
813
1270
|
{
|
|
814
1271
|
type: "error",
|
|
815
1272
|
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
@@ -821,6 +1278,11 @@ var basememeFactoryImplABI = [
|
|
|
821
1278
|
name: "OwnableUnauthorizedAccount"
|
|
822
1279
|
},
|
|
823
1280
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
1281
|
+
{
|
|
1282
|
+
type: "error",
|
|
1283
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1284
|
+
name: "SafeERC20FailedOperation"
|
|
1285
|
+
},
|
|
824
1286
|
{ type: "error", inputs: [], name: "SignerZeroValue" },
|
|
825
1287
|
{ type: "error", inputs: [], name: "TokensMigrationThresholdZeroValue" },
|
|
826
1288
|
{ type: "error", inputs: [], name: "TotalSupplyWrongValue" },
|
|
@@ -837,207 +1299,987 @@ var basememeFactoryImplABI = [
|
|
|
837
1299
|
{ type: "error", inputs: [], name: "VirtualTokenReservesZeroValue" }
|
|
838
1300
|
];
|
|
839
1301
|
var basememeFactoryImplAddress = {
|
|
840
|
-
8453: "
|
|
841
|
-
84532: "
|
|
1302
|
+
8453: "0xcD0e09526341CA0D4961f7fD27Ab52a1A59f0f88",
|
|
1303
|
+
84532: "0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA"
|
|
842
1304
|
};
|
|
843
1305
|
var basememeFactoryImplConfig = {
|
|
844
1306
|
address: basememeFactoryImplAddress,
|
|
845
1307
|
abi: basememeFactoryImplABI
|
|
846
1308
|
};
|
|
847
|
-
var
|
|
1309
|
+
var basememeFactoryTradeHelperABI = [
|
|
848
1310
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1311
|
+
{ stateMutability: "payable", type: "receive" },
|
|
849
1312
|
{
|
|
850
1313
|
stateMutability: "view",
|
|
851
1314
|
type: "function",
|
|
852
|
-
inputs: [
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
],
|
|
856
|
-
name: "allowance",
|
|
857
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1315
|
+
inputs: [],
|
|
1316
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
1317
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
858
1318
|
},
|
|
859
1319
|
{
|
|
860
|
-
stateMutability: "
|
|
1320
|
+
stateMutability: "payable",
|
|
861
1321
|
type: "function",
|
|
862
1322
|
inputs: [
|
|
863
|
-
{ name: "
|
|
864
|
-
{ name: "
|
|
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" }
|
|
865
1327
|
],
|
|
866
|
-
name: "
|
|
867
|
-
outputs: [
|
|
1328
|
+
name: "buyWithEth",
|
|
1329
|
+
outputs: [
|
|
1330
|
+
{ name: "tokenOut", internalType: "uint256", type: "uint256" },
|
|
1331
|
+
{ name: "refundOut", internalType: "uint256", type: "uint256" }
|
|
1332
|
+
]
|
|
868
1333
|
},
|
|
869
1334
|
{
|
|
870
1335
|
stateMutability: "view",
|
|
871
1336
|
type: "function",
|
|
872
|
-
inputs: [
|
|
873
|
-
name: "
|
|
874
|
-
outputs: [
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
outputs: []
|
|
1337
|
+
inputs: [],
|
|
1338
|
+
name: "factory",
|
|
1339
|
+
outputs: [
|
|
1340
|
+
{
|
|
1341
|
+
name: "",
|
|
1342
|
+
internalType: "contract IBasememeFactoryImpl",
|
|
1343
|
+
type: "address"
|
|
1344
|
+
}
|
|
1345
|
+
]
|
|
882
1346
|
},
|
|
883
1347
|
{
|
|
884
1348
|
stateMutability: "nonpayable",
|
|
885
1349
|
type: "function",
|
|
886
1350
|
inputs: [
|
|
887
|
-
{ name: "
|
|
888
|
-
{ name: "
|
|
1351
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
1352
|
+
{ name: "factory_", internalType: "address", type: "address" },
|
|
1353
|
+
{ name: "tokenSwap_", internalType: "address", type: "address" }
|
|
889
1354
|
],
|
|
890
|
-
name: "
|
|
1355
|
+
name: "initialize",
|
|
891
1356
|
outputs: []
|
|
892
1357
|
},
|
|
893
1358
|
{
|
|
894
1359
|
stateMutability: "view",
|
|
895
1360
|
type: "function",
|
|
896
1361
|
inputs: [],
|
|
897
|
-
name: "
|
|
898
|
-
outputs: [{ name: "", internalType: "
|
|
1362
|
+
name: "owner",
|
|
1363
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
899
1364
|
},
|
|
900
1365
|
{
|
|
901
|
-
stateMutability: "
|
|
1366
|
+
stateMutability: "view",
|
|
902
1367
|
type: "function",
|
|
903
1368
|
inputs: [],
|
|
904
|
-
name: "
|
|
905
|
-
outputs: [{ name: "", internalType: "
|
|
1369
|
+
name: "proxiableUUID",
|
|
1370
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
906
1371
|
},
|
|
907
1372
|
{
|
|
908
|
-
stateMutability: "
|
|
1373
|
+
stateMutability: "nonpayable",
|
|
909
1374
|
type: "function",
|
|
910
|
-
inputs: [
|
|
911
|
-
|
|
912
|
-
|
|
1375
|
+
inputs: [
|
|
1376
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1377
|
+
{ name: "collateralIn", internalType: "uint256", type: "uint256" }
|
|
1378
|
+
],
|
|
1379
|
+
name: "quoteCollateralToEthForToken",
|
|
1380
|
+
outputs: [
|
|
1381
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
1382
|
+
{ name: "ethOut", internalType: "uint256", type: "uint256" }
|
|
1383
|
+
]
|
|
913
1384
|
},
|
|
914
1385
|
{
|
|
915
|
-
stateMutability: "
|
|
1386
|
+
stateMutability: "nonpayable",
|
|
1387
|
+
type: "function",
|
|
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
|
+
]
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
stateMutability: "nonpayable",
|
|
916
1400
|
type: "function",
|
|
917
1401
|
inputs: [],
|
|
918
|
-
name: "
|
|
919
|
-
outputs: [
|
|
1402
|
+
name: "renounceOwnership",
|
|
1403
|
+
outputs: []
|
|
920
1404
|
},
|
|
921
1405
|
{
|
|
922
1406
|
stateMutability: "nonpayable",
|
|
923
1407
|
type: "function",
|
|
924
1408
|
inputs: [
|
|
925
|
-
{
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
components: [
|
|
930
|
-
{ name: "name", internalType: "string", type: "string" },
|
|
931
|
-
{ name: "symbol", internalType: "string", type: "string" },
|
|
932
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
933
|
-
{ name: "factory", internalType: "address", type: "address" },
|
|
934
|
-
{ name: "bondingCurve", internalType: "address", type: "address" },
|
|
935
|
-
{
|
|
936
|
-
name: "initialTokenSupply",
|
|
937
|
-
internalType: "uint256",
|
|
938
|
-
type: "uint256"
|
|
939
|
-
}
|
|
940
|
-
]
|
|
941
|
-
}
|
|
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" }
|
|
942
1413
|
],
|
|
943
|
-
name: "
|
|
944
|
-
outputs: []
|
|
1414
|
+
name: "sellForEth",
|
|
1415
|
+
outputs: [{ name: "ethOut", internalType: "uint256", type: "uint256" }]
|
|
945
1416
|
},
|
|
946
1417
|
{
|
|
947
|
-
stateMutability: "
|
|
1418
|
+
stateMutability: "nonpayable",
|
|
948
1419
|
type: "function",
|
|
949
|
-
inputs: [],
|
|
950
|
-
name: "
|
|
951
|
-
outputs: [
|
|
1420
|
+
inputs: [{ name: "tokenSwap_", internalType: "address", type: "address" }],
|
|
1421
|
+
name: "setTokenSwap",
|
|
1422
|
+
outputs: []
|
|
952
1423
|
},
|
|
953
1424
|
{
|
|
954
1425
|
stateMutability: "view",
|
|
955
1426
|
type: "function",
|
|
956
1427
|
inputs: [],
|
|
957
|
-
name: "
|
|
958
|
-
outputs: [
|
|
1428
|
+
name: "tokenSwap",
|
|
1429
|
+
outputs: [
|
|
1430
|
+
{
|
|
1431
|
+
name: "",
|
|
1432
|
+
internalType: "contract IBasememeTokenSwap",
|
|
1433
|
+
type: "address"
|
|
1434
|
+
}
|
|
1435
|
+
]
|
|
959
1436
|
},
|
|
960
1437
|
{
|
|
961
1438
|
stateMutability: "nonpayable",
|
|
962
1439
|
type: "function",
|
|
963
|
-
inputs: [],
|
|
964
|
-
name: "
|
|
1440
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1441
|
+
name: "transferOwnership",
|
|
965
1442
|
outputs: []
|
|
966
1443
|
},
|
|
1444
|
+
{
|
|
1445
|
+
stateMutability: "payable",
|
|
1446
|
+
type: "function",
|
|
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
|
+
]
|
|
1871
|
+
},
|
|
967
1872
|
{
|
|
968
1873
|
stateMutability: "nonpayable",
|
|
969
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",
|
|
2063
|
+
inputs: [
|
|
2064
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2065
|
+
],
|
|
2066
|
+
name: "getCollateralDex",
|
|
2067
|
+
outputs: [
|
|
2068
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2069
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
2070
|
+
]
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
stateMutability: "view",
|
|
2074
|
+
type: "function",
|
|
2075
|
+
inputs: [
|
|
2076
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2077
|
+
],
|
|
2078
|
+
name: "getCollateralV2Paths",
|
|
2079
|
+
outputs: [
|
|
2080
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2081
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2082
|
+
]
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
stateMutability: "view",
|
|
2086
|
+
type: "function",
|
|
970
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: [
|
|
971
2102
|
{
|
|
972
|
-
name: "
|
|
973
|
-
internalType: "enum
|
|
2103
|
+
name: "dexType",
|
|
2104
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
974
2105
|
type: "uint8"
|
|
975
|
-
}
|
|
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" }
|
|
976
2118
|
],
|
|
977
|
-
name: "
|
|
978
|
-
outputs: [
|
|
2119
|
+
name: "getRouteDexType",
|
|
2120
|
+
outputs: [
|
|
2121
|
+
{
|
|
2122
|
+
name: "",
|
|
2123
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2124
|
+
type: "uint8"
|
|
2125
|
+
}
|
|
2126
|
+
]
|
|
979
2127
|
},
|
|
980
2128
|
{
|
|
981
|
-
stateMutability: "
|
|
2129
|
+
stateMutability: "nonpayable",
|
|
982
2130
|
type: "function",
|
|
983
|
-
inputs: [
|
|
984
|
-
|
|
985
|
-
|
|
2131
|
+
inputs: [
|
|
2132
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
2133
|
+
{ name: "weth_", internalType: "address", type: "address" }
|
|
2134
|
+
],
|
|
2135
|
+
name: "initialize",
|
|
2136
|
+
outputs: []
|
|
986
2137
|
},
|
|
987
2138
|
{
|
|
988
2139
|
stateMutability: "view",
|
|
989
2140
|
type: "function",
|
|
990
2141
|
inputs: [],
|
|
991
|
-
name: "
|
|
992
|
-
outputs: [{ name: "", internalType: "
|
|
2142
|
+
name: "owner",
|
|
2143
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
993
2144
|
},
|
|
994
2145
|
{
|
|
995
2146
|
stateMutability: "view",
|
|
996
2147
|
type: "function",
|
|
997
2148
|
inputs: [],
|
|
998
|
-
name: "
|
|
999
|
-
outputs: [{ name: "", internalType: "
|
|
2149
|
+
name: "proxiableUUID",
|
|
2150
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1000
2151
|
},
|
|
1001
2152
|
{
|
|
1002
|
-
stateMutability: "
|
|
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",
|
|
1003
2174
|
type: "function",
|
|
1004
2175
|
inputs: [],
|
|
1005
|
-
name: "
|
|
1006
|
-
outputs: [
|
|
2176
|
+
name: "renounceOwnership",
|
|
2177
|
+
outputs: []
|
|
1007
2178
|
},
|
|
1008
2179
|
{
|
|
1009
2180
|
stateMutability: "nonpayable",
|
|
1010
2181
|
type: "function",
|
|
1011
2182
|
inputs: [
|
|
1012
|
-
{ name: "
|
|
1013
|
-
{ name: "
|
|
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" }
|
|
1014
2190
|
],
|
|
1015
|
-
name: "
|
|
1016
|
-
outputs: [
|
|
2191
|
+
name: "setCollateralConfig",
|
|
2192
|
+
outputs: []
|
|
1017
2193
|
},
|
|
1018
2194
|
{
|
|
1019
2195
|
stateMutability: "nonpayable",
|
|
1020
2196
|
type: "function",
|
|
1021
2197
|
inputs: [
|
|
1022
|
-
{ name: "
|
|
1023
|
-
{ name: "
|
|
1024
|
-
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
2198
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2199
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" }
|
|
1025
2200
|
],
|
|
1026
|
-
name: "
|
|
1027
|
-
outputs: [
|
|
2201
|
+
name: "setCollateralDex",
|
|
2202
|
+
outputs: []
|
|
1028
2203
|
},
|
|
1029
2204
|
{
|
|
1030
|
-
stateMutability: "
|
|
2205
|
+
stateMutability: "nonpayable",
|
|
1031
2206
|
type: "function",
|
|
1032
|
-
inputs: [
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
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" }]
|
|
1041
2283
|
},
|
|
1042
2284
|
{
|
|
1043
2285
|
stateMutability: "nonpayable",
|
|
@@ -1046,32 +2288,100 @@ var basememeTokenABI = [
|
|
|
1046
2288
|
name: "transferOwnership",
|
|
1047
2289
|
outputs: []
|
|
1048
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
|
+
},
|
|
1049
2308
|
{
|
|
1050
2309
|
type: "event",
|
|
1051
2310
|
anonymous: false,
|
|
1052
2311
|
inputs: [
|
|
1053
2312
|
{
|
|
1054
|
-
name: "
|
|
2313
|
+
name: "collateralToken",
|
|
1055
2314
|
internalType: "address",
|
|
1056
2315
|
type: "address",
|
|
1057
2316
|
indexed: true
|
|
1058
2317
|
},
|
|
2318
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true }
|
|
2319
|
+
],
|
|
2320
|
+
name: "CollateralDexSet"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
type: "event",
|
|
2324
|
+
anonymous: false,
|
|
2325
|
+
inputs: [
|
|
1059
2326
|
{
|
|
1060
|
-
name: "
|
|
2327
|
+
name: "collateralToken",
|
|
1061
2328
|
internalType: "address",
|
|
1062
2329
|
type: "address",
|
|
1063
2330
|
indexed: true
|
|
1064
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 },
|
|
1065
2367
|
{
|
|
1066
|
-
name: "
|
|
1067
|
-
internalType: "
|
|
1068
|
-
type: "
|
|
2368
|
+
name: "dexType",
|
|
2369
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2370
|
+
type: "uint8",
|
|
1069
2371
|
indexed: false
|
|
1070
2372
|
}
|
|
1071
2373
|
],
|
|
1072
|
-
name: "
|
|
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"
|
|
1073
2384
|
},
|
|
1074
|
-
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1075
2385
|
{
|
|
1076
2386
|
type: "event",
|
|
1077
2387
|
anonymous: false,
|
|
@@ -1109,92 +2419,47 @@ var basememeTokenABI = [
|
|
|
1109
2419
|
anonymous: false,
|
|
1110
2420
|
inputs: [
|
|
1111
2421
|
{
|
|
1112
|
-
name: "
|
|
1113
|
-
internalType: "address",
|
|
1114
|
-
type: "address",
|
|
1115
|
-
indexed: true
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
name: "recipient",
|
|
2422
|
+
name: "implementation",
|
|
1119
2423
|
internalType: "address",
|
|
1120
2424
|
type: "address",
|
|
1121
2425
|
indexed: true
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
name: "amount",
|
|
1125
|
-
internalType: "uint256",
|
|
1126
|
-
type: "uint256",
|
|
1127
|
-
indexed: false
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
name: "senderBalance",
|
|
1131
|
-
internalType: "uint256",
|
|
1132
|
-
type: "uint256",
|
|
1133
|
-
indexed: false
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
name: "recipientBalance",
|
|
1137
|
-
internalType: "uint256",
|
|
1138
|
-
type: "uint256",
|
|
1139
|
-
indexed: false
|
|
1140
2426
|
}
|
|
1141
2427
|
],
|
|
1142
|
-
name: "
|
|
2428
|
+
name: "Upgraded"
|
|
1143
2429
|
},
|
|
1144
2430
|
{
|
|
1145
|
-
type: "
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1149
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1150
|
-
{
|
|
1151
|
-
name: "value",
|
|
1152
|
-
internalType: "uint256",
|
|
1153
|
-
type: "uint256",
|
|
1154
|
-
indexed: false
|
|
1155
|
-
}
|
|
1156
|
-
],
|
|
1157
|
-
name: "Transfer"
|
|
2431
|
+
type: "error",
|
|
2432
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2433
|
+
name: "AddressEmptyCode"
|
|
1158
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" },
|
|
1159
2440
|
{
|
|
1160
2441
|
type: "error",
|
|
1161
2442
|
inputs: [
|
|
1162
|
-
{ name: "
|
|
1163
|
-
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
1164
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
2443
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
1165
2444
|
],
|
|
1166
|
-
name: "
|
|
2445
|
+
name: "ERC1967InvalidImplementation"
|
|
1167
2446
|
},
|
|
2447
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2448
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
2449
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1168
2450
|
{
|
|
1169
2451
|
type: "error",
|
|
1170
2452
|
inputs: [
|
|
1171
|
-
{ name: "sender", internalType: "address", type: "address" },
|
|
1172
2453
|
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
1173
2454
|
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1174
2455
|
],
|
|
1175
|
-
name: "
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
type: "error",
|
|
1179
|
-
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
1180
|
-
name: "ERC20InvalidApprover"
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
type: "error",
|
|
1184
|
-
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
1185
|
-
name: "ERC20InvalidReceiver"
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
type: "error",
|
|
1189
|
-
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
1190
|
-
name: "ERC20InvalidSender"
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
type: "error",
|
|
1194
|
-
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
1195
|
-
name: "ERC20InvalidSpender"
|
|
2456
|
+
name: "InsufficientBalance"
|
|
1196
2457
|
},
|
|
2458
|
+
{ type: "error", inputs: [], name: "InvalidDexId" },
|
|
1197
2459
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2460
|
+
{ type: "error", inputs: [], name: "InvalidPath" },
|
|
2461
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
2462
|
+
{ type: "error", inputs: [], name: "InvalidRouteConfig" },
|
|
1198
2463
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1199
2464
|
{
|
|
1200
2465
|
type: "error",
|
|
@@ -1206,16 +2471,29 @@ var basememeTokenABI = [
|
|
|
1206
2471
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1207
2472
|
name: "OwnableUnauthorizedAccount"
|
|
1208
2473
|
},
|
|
1209
|
-
{ type: "error", inputs: [], name: "
|
|
1210
|
-
{ type: "error", inputs: [], name: "
|
|
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" }
|
|
1211
2489
|
];
|
|
1212
|
-
var
|
|
1213
|
-
8453: "
|
|
1214
|
-
84532: "
|
|
2490
|
+
var basememeTokenSwapAddress = {
|
|
2491
|
+
8453: "0x2c8E47a09196505Dbc96229510A4B9ff91a8534b",
|
|
2492
|
+
84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4"
|
|
1215
2493
|
};
|
|
1216
|
-
var
|
|
1217
|
-
address:
|
|
1218
|
-
abi:
|
|
2494
|
+
var basememeTokenSwapConfig = {
|
|
2495
|
+
address: basememeTokenSwapAddress,
|
|
2496
|
+
abi: basememeTokenSwapABI
|
|
1219
2497
|
};
|
|
1220
2498
|
var bondingCurveABI = [
|
|
1221
2499
|
{
|
|
@@ -1228,30 +2506,7 @@ var bondingCurveABI = [
|
|
|
1228
2506
|
type: "address"
|
|
1229
2507
|
},
|
|
1230
2508
|
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
1231
|
-
{ name: "_initialTokenSupply", internalType: "uint256", type: "uint256" },
|
|
1232
|
-
{
|
|
1233
|
-
name: "_virtualCollateralReservesInitial",
|
|
1234
|
-
internalType: "uint256",
|
|
1235
|
-
type: "uint256"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
name: "_virtualTokenReservesInitial",
|
|
1239
|
-
internalType: "uint256",
|
|
1240
|
-
type: "uint256"
|
|
1241
|
-
},
|
|
1242
|
-
{ name: "_feeBasisPoints", internalType: "uint256", type: "uint256" },
|
|
1243
|
-
{ name: "_fixedMigrationFee", internalType: "uint256", type: "uint256" },
|
|
1244
|
-
{ name: "_poolCreationFee", internalType: "uint256", type: "uint256" },
|
|
1245
|
-
{ name: "_firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
1246
|
-
{ name: "_mcLowerLimit", internalType: "uint256", type: "uint256" },
|
|
1247
|
-
{ name: "_mcUpperLimit", internalType: "uint256", type: "uint256" },
|
|
1248
|
-
{
|
|
1249
|
-
name: "_tokensMigrationThreshold",
|
|
1250
|
-
internalType: "uint256",
|
|
1251
|
-
type: "uint256"
|
|
1252
|
-
},
|
|
1253
2509
|
{ name: "_weth", internalType: "address", type: "address" },
|
|
1254
|
-
{ name: "_v4LpFee", internalType: "uint24", type: "uint24" },
|
|
1255
2510
|
{
|
|
1256
2511
|
name: "_tokenImplementation",
|
|
1257
2512
|
internalType: "address",
|
|
@@ -1400,6 +2655,25 @@ var bondingCurveABI = [
|
|
|
1400
2655
|
{ name: "tradeFee", internalType: "uint256", type: "uint256" }
|
|
1401
2656
|
]
|
|
1402
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
|
+
},
|
|
1403
2677
|
{
|
|
1404
2678
|
stateMutability: "payable",
|
|
1405
2679
|
type: "function",
|
|
@@ -1423,6 +2697,13 @@ var bondingCurveABI = [
|
|
|
1423
2697
|
{ name: "firstFee", internalType: "uint256", type: "uint256" }
|
|
1424
2698
|
]
|
|
1425
2699
|
},
|
|
2700
|
+
{
|
|
2701
|
+
stateMutability: "view",
|
|
2702
|
+
type: "function",
|
|
2703
|
+
inputs: [],
|
|
2704
|
+
name: "collateralToken",
|
|
2705
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2706
|
+
},
|
|
1426
2707
|
{
|
|
1427
2708
|
stateMutability: "nonpayable",
|
|
1428
2709
|
type: "function",
|
|
@@ -1571,7 +2852,51 @@ var bondingCurveABI = [
|
|
|
1571
2852
|
inputs: [
|
|
1572
2853
|
{ name: "_platformReferrer", internalType: "address", type: "address" },
|
|
1573
2854
|
{ name: "_payoutRecipient", internalType: "address", type: "address" },
|
|
1574
|
-
{ 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
|
+
}
|
|
1575
2900
|
],
|
|
1576
2901
|
name: "initialize",
|
|
1577
2902
|
outputs: []
|
|
@@ -1730,6 +3055,13 @@ var bondingCurveABI = [
|
|
|
1730
3055
|
name: "sendingToPairForbidden",
|
|
1731
3056
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1732
3057
|
},
|
|
3058
|
+
{
|
|
3059
|
+
stateMutability: "view",
|
|
3060
|
+
type: "function",
|
|
3061
|
+
inputs: [],
|
|
3062
|
+
name: "targetCollectionAmount",
|
|
3063
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3064
|
+
},
|
|
1733
3065
|
{
|
|
1734
3066
|
stateMutability: "view",
|
|
1735
3067
|
type: "function",
|
|
@@ -1821,6 +3153,13 @@ var bondingCurveABI = [
|
|
|
1821
3153
|
name: "virtualCollateralReservesInitial",
|
|
1822
3154
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1823
3155
|
},
|
|
3156
|
+
{
|
|
3157
|
+
stateMutability: "view",
|
|
3158
|
+
type: "function",
|
|
3159
|
+
inputs: [],
|
|
3160
|
+
name: "virtualCollateralReservesTarget",
|
|
3161
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3162
|
+
},
|
|
1824
3163
|
{
|
|
1825
3164
|
stateMutability: "view",
|
|
1826
3165
|
type: "function",
|
|
@@ -1978,6 +3317,14 @@ var bondingCurveABI = [
|
|
|
1978
3317
|
{ type: "error", inputs: [], name: "AlreadyMigrated" },
|
|
1979
3318
|
{ type: "error", inputs: [], name: "AmountInZero" },
|
|
1980
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" },
|
|
1981
3328
|
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1982
3329
|
{ type: "error", inputs: [], name: "FailedToSendETH" },
|
|
1983
3330
|
{ type: "error", inputs: [], name: "InitialTokenSupplyNotSet" },
|
|
@@ -2030,6 +3377,11 @@ var bondingCurveABI = [
|
|
|
2030
3377
|
{ type: "error", inputs: [], name: "PoolNotDeployed" },
|
|
2031
3378
|
{ type: "error", inputs: [], name: "PoolNotPreCreated" },
|
|
2032
3379
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
3380
|
+
{
|
|
3381
|
+
type: "error",
|
|
3382
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
3383
|
+
name: "SafeERC20FailedOperation"
|
|
3384
|
+
},
|
|
2033
3385
|
{ type: "error", inputs: [], name: "SlippageCheckFailed" },
|
|
2034
3386
|
{ type: "error", inputs: [], name: "TokenNotInitialized" },
|
|
2035
3387
|
{ type: "error", inputs: [], name: "TradingStopped" },
|
|
@@ -2054,8 +3406,8 @@ var bondingCurveABI = [
|
|
|
2054
3406
|
{ type: "error", inputs: [], name: "V4TooManyPositions" }
|
|
2055
3407
|
];
|
|
2056
3408
|
var bondingCurveAddress = {
|
|
2057
|
-
8453: "
|
|
2058
|
-
84532: "
|
|
3409
|
+
8453: "0x800eCB34F8E19d9BB6984409fDf33f08e134cAd4",
|
|
3410
|
+
84532: "0xe891F626E5819a972F9263007807Bb4E70cA9522"
|
|
2059
3411
|
};
|
|
2060
3412
|
var bondingCurveConfig = {
|
|
2061
3413
|
address: bondingCurveAddress,
|
|
@@ -2336,6 +3688,7 @@ var chainConfigs = {
|
|
|
2336
3688
|
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
2337
3689
|
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
2338
3690
|
"TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
|
|
3691
|
+
"TARGET_COLLECTION_AMOUNT": "2500759732077910169",
|
|
2339
3692
|
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
2340
3693
|
"DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
|
|
2341
3694
|
"FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
|
|
@@ -2347,14 +3700,78 @@ var chainConfigs = {
|
|
|
2347
3700
|
"WETH": "0x4200000000000000000000000000000000000006",
|
|
2348
3701
|
"V3_POOL_FEE": "10000",
|
|
2349
3702
|
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
2350
|
-
"CONTRACT_VERSION": "2.
|
|
3703
|
+
"CONTRACT_VERSION": "2.1.0",
|
|
2351
3704
|
"V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
2352
3705
|
"V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
|
|
2353
3706
|
"QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
|
|
2354
3707
|
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2355
3708
|
"UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
2356
3709
|
"V4_LP_FEE": "20000",
|
|
2357
|
-
"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
|
+
}
|
|
2358
3775
|
},
|
|
2359
3776
|
"1.0.12": {
|
|
2360
3777
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
@@ -2466,6 +3883,104 @@ var chainConfigs = {
|
|
|
2466
3883
|
"UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
2467
3884
|
"V4_LP_FEE": "20000",
|
|
2468
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
|
+
}
|
|
2469
3984
|
}
|
|
2470
3985
|
},
|
|
2471
3986
|
[84532]: {
|
|
@@ -2482,6 +3997,7 @@ var chainConfigs = {
|
|
|
2482
3997
|
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
2483
3998
|
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
2484
3999
|
"TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
|
|
4000
|
+
"TARGET_COLLECTION_AMOUNT": "2500759732077910169",
|
|
2485
4001
|
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
2486
4002
|
"DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
2487
4003
|
"FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
@@ -2493,14 +4009,119 @@ var chainConfigs = {
|
|
|
2493
4009
|
"WETH": "0x4200000000000000000000000000000000000006",
|
|
2494
4010
|
"V3_POOL_FEE": "10000",
|
|
2495
4011
|
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
2496
|
-
"CONTRACT_VERSION": "2.
|
|
4012
|
+
"CONTRACT_VERSION": "2.1.0",
|
|
2497
4013
|
"V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
2498
4014
|
"V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
|
|
2499
4015
|
"QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
|
|
2500
4016
|
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2501
4017
|
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
2502
4018
|
"V4_LP_FEE": "20000",
|
|
2503
|
-
"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
|
+
}
|
|
2504
4125
|
},
|
|
2505
4126
|
"1.0.12": {
|
|
2506
4127
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
@@ -2560,6 +4181,145 @@ var chainConfigs = {
|
|
|
2560
4181
|
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
2561
4182
|
"V4_LP_FEE": "20000",
|
|
2562
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
|
+
}
|
|
2563
4323
|
}
|
|
2564
4324
|
}
|
|
2565
4325
|
};
|
|
@@ -2571,9 +4331,15 @@ var chainConfigs = {
|
|
|
2571
4331
|
basememeFactoryImplABI,
|
|
2572
4332
|
basememeFactoryImplAddress,
|
|
2573
4333
|
basememeFactoryImplConfig,
|
|
4334
|
+
basememeFactoryTradeHelperABI,
|
|
4335
|
+
basememeFactoryTradeHelperAddress,
|
|
4336
|
+
basememeFactoryTradeHelperConfig,
|
|
2574
4337
|
basememeTokenABI,
|
|
2575
4338
|
basememeTokenAddress,
|
|
2576
4339
|
basememeTokenConfig,
|
|
4340
|
+
basememeTokenSwapABI,
|
|
4341
|
+
basememeTokenSwapAddress,
|
|
4342
|
+
basememeTokenSwapConfig,
|
|
2577
4343
|
bondingCurveABI,
|
|
2578
4344
|
bondingCurveAddress,
|
|
2579
4345
|
bondingCurveConfig,
|