basememe-v4-contracts-configs 0.0.5 → 0.0.7
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 +256 -128
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +1487 -244
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +3517 -555
- 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,18 @@ 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
|
+
},
|
|
114
132
|
{
|
|
115
133
|
stateMutability: "payable",
|
|
116
134
|
type: "function",
|
|
@@ -123,6 +141,19 @@ var basememeFactoryImplABI = [
|
|
|
123
141
|
name: "buyExactInWithCollateral",
|
|
124
142
|
outputs: []
|
|
125
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
|
+
},
|
|
126
157
|
{
|
|
127
158
|
stateMutability: "payable",
|
|
128
159
|
type: "function",
|
|
@@ -139,6 +170,23 @@ var basememeFactoryImplABI = [
|
|
|
139
170
|
name: "buyExactOut",
|
|
140
171
|
outputs: []
|
|
141
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
|
+
},
|
|
142
190
|
{
|
|
143
191
|
stateMutability: "view",
|
|
144
192
|
type: "function",
|
|
@@ -153,13 +201,6 @@ var basememeFactoryImplABI = [
|
|
|
153
201
|
name: "chainV4LiquidityConfig",
|
|
154
202
|
outputs: [{ name: "", internalType: "bytes", type: "bytes" }]
|
|
155
203
|
},
|
|
156
|
-
{
|
|
157
|
-
stateMutability: "view",
|
|
158
|
-
type: "function",
|
|
159
|
-
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
160
|
-
name: "collateralConfigSet",
|
|
161
|
-
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
162
|
-
},
|
|
163
204
|
{
|
|
164
205
|
stateMutability: "view",
|
|
165
206
|
type: "function",
|
|
@@ -214,6 +255,13 @@ var basememeFactoryImplABI = [
|
|
|
214
255
|
{ name: "v4ConfigVersion", internalType: "uint8", type: "uint8" }
|
|
215
256
|
]
|
|
216
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
|
+
},
|
|
217
265
|
{
|
|
218
266
|
stateMutability: "pure",
|
|
219
267
|
type: "function",
|
|
@@ -357,6 +405,13 @@ var basememeFactoryImplABI = [
|
|
|
357
405
|
name: "isSignatureEnabled",
|
|
358
406
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
359
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
|
+
},
|
|
360
415
|
{
|
|
361
416
|
stateMutability: "nonpayable",
|
|
362
417
|
type: "function",
|
|
@@ -415,6 +470,23 @@ var basememeFactoryImplABI = [
|
|
|
415
470
|
name: "sellExactIn",
|
|
416
471
|
outputs: []
|
|
417
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
|
+
},
|
|
418
490
|
{
|
|
419
491
|
stateMutability: "nonpayable",
|
|
420
492
|
type: "function",
|
|
@@ -427,6 +499,19 @@ var basememeFactoryImplABI = [
|
|
|
427
499
|
name: "sellExactOut",
|
|
428
500
|
outputs: []
|
|
429
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
|
+
},
|
|
430
515
|
{
|
|
431
516
|
stateMutability: "nonpayable",
|
|
432
517
|
type: "function",
|
|
@@ -495,6 +580,16 @@ var basememeFactoryImplABI = [
|
|
|
495
580
|
name: "setCollateralConfig",
|
|
496
581
|
outputs: []
|
|
497
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
|
+
},
|
|
498
593
|
{
|
|
499
594
|
stateMutability: "nonpayable",
|
|
500
595
|
type: "function",
|
|
@@ -511,6 +606,16 @@ var basememeFactoryImplABI = [
|
|
|
511
606
|
name: "setSigner",
|
|
512
607
|
outputs: []
|
|
513
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
|
+
},
|
|
514
619
|
{
|
|
515
620
|
stateMutability: "nonpayable",
|
|
516
621
|
type: "function",
|
|
@@ -632,6 +737,45 @@ var basememeFactoryImplABI = [
|
|
|
632
737
|
],
|
|
633
738
|
name: "Buy"
|
|
634
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
|
+
},
|
|
635
779
|
{
|
|
636
780
|
type: "event",
|
|
637
781
|
anonymous: false,
|
|
@@ -775,6 +919,98 @@ var basememeFactoryImplABI = [
|
|
|
775
919
|
],
|
|
776
920
|
name: "NewBasememeToken"
|
|
777
921
|
},
|
|
922
|
+
{
|
|
923
|
+
type: "event",
|
|
924
|
+
anonymous: false,
|
|
925
|
+
inputs: [
|
|
926
|
+
{ name: "addr", internalType: "address", type: "address", indexed: true },
|
|
927
|
+
{
|
|
928
|
+
name: "bondingCurve",
|
|
929
|
+
internalType: "address",
|
|
930
|
+
type: "address",
|
|
931
|
+
indexed: true
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
name: "initialTokenSupply",
|
|
935
|
+
internalType: "uint256",
|
|
936
|
+
type: "uint256",
|
|
937
|
+
indexed: false
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
name: "virtualCollateralReservesInitial",
|
|
941
|
+
internalType: "uint256",
|
|
942
|
+
type: "uint256",
|
|
943
|
+
indexed: false
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
name: "virtualTokenReservesInitial",
|
|
947
|
+
internalType: "uint256",
|
|
948
|
+
type: "uint256",
|
|
949
|
+
indexed: false
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
name: "feeBPS",
|
|
953
|
+
internalType: "uint256",
|
|
954
|
+
type: "uint256",
|
|
955
|
+
indexed: false
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
name: "mcLowerLimit",
|
|
959
|
+
internalType: "uint256",
|
|
960
|
+
type: "uint256",
|
|
961
|
+
indexed: false
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
name: "mcUpperLimit",
|
|
965
|
+
internalType: "uint256",
|
|
966
|
+
type: "uint256",
|
|
967
|
+
indexed: false
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
name: "tokensMigrationThreshold",
|
|
971
|
+
internalType: "uint256",
|
|
972
|
+
type: "uint256",
|
|
973
|
+
indexed: false
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
name: "fixedMigrationFee",
|
|
977
|
+
internalType: "uint256",
|
|
978
|
+
type: "uint256",
|
|
979
|
+
indexed: false
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
name: "poolCreationFee",
|
|
983
|
+
internalType: "uint256",
|
|
984
|
+
type: "uint256",
|
|
985
|
+
indexed: false
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
name: "firstBuyFee",
|
|
989
|
+
internalType: "uint256",
|
|
990
|
+
type: "uint256",
|
|
991
|
+
indexed: false
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
name: "targetCollectionAmount",
|
|
995
|
+
internalType: "uint256",
|
|
996
|
+
type: "uint256",
|
|
997
|
+
indexed: false
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
name: "collateralToken",
|
|
1001
|
+
internalType: "address",
|
|
1002
|
+
type: "address",
|
|
1003
|
+
indexed: false
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
name: "v4LpFee",
|
|
1007
|
+
internalType: "uint24",
|
|
1008
|
+
type: "uint24",
|
|
1009
|
+
indexed: false
|
|
1010
|
+
}
|
|
1011
|
+
],
|
|
1012
|
+
name: "NewBasememeTokenCurveParams"
|
|
1013
|
+
},
|
|
778
1014
|
{
|
|
779
1015
|
type: "event",
|
|
780
1016
|
anonymous: false,
|
|
@@ -861,6 +1097,45 @@ var basememeFactoryImplABI = [
|
|
|
861
1097
|
],
|
|
862
1098
|
name: "Sell"
|
|
863
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
|
+
},
|
|
864
1139
|
{
|
|
865
1140
|
type: "event",
|
|
866
1141
|
anonymous: false,
|
|
@@ -954,6 +1229,7 @@ var basememeFactoryImplABI = [
|
|
|
954
1229
|
inputs: [],
|
|
955
1230
|
name: "BuyExactInUnsupportedForErc20Collateral"
|
|
956
1231
|
},
|
|
1232
|
+
{ type: "error", inputs: [], name: "CollateralDisabled" },
|
|
957
1233
|
{ type: "error", inputs: [], name: "CurveParamsNotSet" },
|
|
958
1234
|
{ type: "error", inputs: [], name: "DexTreasuryZeroValue" },
|
|
959
1235
|
{
|
|
@@ -988,6 +1264,7 @@ var basememeFactoryImplABI = [
|
|
|
988
1264
|
{ type: "error", inputs: [], name: "NotBasememeToken" },
|
|
989
1265
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
990
1266
|
{ type: "error", inputs: [], name: "NotReadyForMigration" },
|
|
1267
|
+
{ type: "error", inputs: [], name: "NotTrustedCaller" },
|
|
991
1268
|
{
|
|
992
1269
|
type: "error",
|
|
993
1270
|
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
@@ -999,6 +1276,11 @@ var basememeFactoryImplABI = [
|
|
|
999
1276
|
name: "OwnableUnauthorizedAccount"
|
|
1000
1277
|
},
|
|
1001
1278
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
1279
|
+
{
|
|
1280
|
+
type: "error",
|
|
1281
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1282
|
+
name: "SafeERC20FailedOperation"
|
|
1283
|
+
},
|
|
1002
1284
|
{ type: "error", inputs: [], name: "SignerZeroValue" },
|
|
1003
1285
|
{ type: "error", inputs: [], name: "TokensMigrationThresholdZeroValue" },
|
|
1004
1286
|
{ type: "error", inputs: [], name: "TotalSupplyWrongValue" },
|
|
@@ -1016,107 +1298,836 @@ var basememeFactoryImplABI = [
|
|
|
1016
1298
|
];
|
|
1017
1299
|
var basememeFactoryImplAddress = {
|
|
1018
1300
|
8453: "0x0000000000000000000000000000000000000000",
|
|
1019
|
-
84532: "
|
|
1301
|
+
84532: "0x919ba5579C465f721785547baC86d39d112fae0F"
|
|
1020
1302
|
};
|
|
1021
1303
|
var basememeFactoryImplConfig = {
|
|
1022
1304
|
address: basememeFactoryImplAddress,
|
|
1023
1305
|
abi: basememeFactoryImplABI
|
|
1024
1306
|
};
|
|
1025
|
-
var
|
|
1307
|
+
var basememeFactoryTradeHelperABI = [
|
|
1026
1308
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1309
|
+
{ stateMutability: "payable", type: "receive" },
|
|
1027
1310
|
{
|
|
1028
1311
|
stateMutability: "view",
|
|
1029
1312
|
type: "function",
|
|
1030
|
-
inputs: [
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
],
|
|
1034
|
-
name: "allowance",
|
|
1035
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1313
|
+
inputs: [],
|
|
1314
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
1315
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1036
1316
|
},
|
|
1037
1317
|
{
|
|
1038
|
-
stateMutability: "
|
|
1318
|
+
stateMutability: "payable",
|
|
1039
1319
|
type: "function",
|
|
1040
1320
|
inputs: [
|
|
1041
|
-
{ name: "
|
|
1042
|
-
{ name: "
|
|
1321
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1322
|
+
{ name: "funds", internalType: "uint256", type: "uint256" },
|
|
1323
|
+
{ name: "minTokenOut", internalType: "uint256", type: "uint256" },
|
|
1324
|
+
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
1043
1325
|
],
|
|
1044
|
-
name: "
|
|
1045
|
-
outputs: [
|
|
1046
|
-
|
|
1326
|
+
name: "buyWithEth",
|
|
1327
|
+
outputs: [
|
|
1328
|
+
{ name: "tokenOut", internalType: "uint256", type: "uint256" },
|
|
1329
|
+
{ name: "refundOut", internalType: "uint256", type: "uint256" }
|
|
1330
|
+
]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
stateMutability: "view",
|
|
1334
|
+
type: "function",
|
|
1335
|
+
inputs: [],
|
|
1336
|
+
name: "factory",
|
|
1337
|
+
outputs: [
|
|
1338
|
+
{
|
|
1339
|
+
name: "",
|
|
1340
|
+
internalType: "contract IBasememeFactoryImpl",
|
|
1341
|
+
type: "address"
|
|
1342
|
+
}
|
|
1343
|
+
]
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
stateMutability: "nonpayable",
|
|
1347
|
+
type: "function",
|
|
1348
|
+
inputs: [
|
|
1349
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
1350
|
+
{ name: "factory_", internalType: "address", type: "address" },
|
|
1351
|
+
{ name: "tokenSwap_", internalType: "address", type: "address" }
|
|
1352
|
+
],
|
|
1353
|
+
name: "initialize",
|
|
1354
|
+
outputs: []
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
stateMutability: "view",
|
|
1358
|
+
type: "function",
|
|
1359
|
+
inputs: [],
|
|
1360
|
+
name: "owner",
|
|
1361
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
stateMutability: "view",
|
|
1365
|
+
type: "function",
|
|
1366
|
+
inputs: [],
|
|
1367
|
+
name: "proxiableUUID",
|
|
1368
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
stateMutability: "nonpayable",
|
|
1372
|
+
type: "function",
|
|
1373
|
+
inputs: [
|
|
1374
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1375
|
+
{ name: "collateralIn", internalType: "uint256", type: "uint256" }
|
|
1376
|
+
],
|
|
1377
|
+
name: "quoteCollateralToEthForToken",
|
|
1378
|
+
outputs: [
|
|
1379
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
1380
|
+
{ name: "ethOut", internalType: "uint256", type: "uint256" }
|
|
1381
|
+
]
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
stateMutability: "nonpayable",
|
|
1385
|
+
type: "function",
|
|
1386
|
+
inputs: [
|
|
1387
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1388
|
+
{ name: "ethIn", internalType: "uint256", type: "uint256" }
|
|
1389
|
+
],
|
|
1390
|
+
name: "quoteEthToCollateralForToken",
|
|
1391
|
+
outputs: [
|
|
1392
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
1393
|
+
{ name: "collateralOut", internalType: "uint256", type: "uint256" }
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
stateMutability: "nonpayable",
|
|
1398
|
+
type: "function",
|
|
1399
|
+
inputs: [],
|
|
1400
|
+
name: "renounceOwnership",
|
|
1401
|
+
outputs: []
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
stateMutability: "nonpayable",
|
|
1405
|
+
type: "function",
|
|
1406
|
+
inputs: [
|
|
1407
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1408
|
+
{ name: "tokenAmountIn", internalType: "uint256", type: "uint256" },
|
|
1409
|
+
{ name: "minEthOut", internalType: "uint256", type: "uint256" },
|
|
1410
|
+
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
1411
|
+
],
|
|
1412
|
+
name: "sellForEth",
|
|
1413
|
+
outputs: [{ name: "ethOut", internalType: "uint256", type: "uint256" }]
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
stateMutability: "nonpayable",
|
|
1417
|
+
type: "function",
|
|
1418
|
+
inputs: [{ name: "tokenSwap_", internalType: "address", type: "address" }],
|
|
1419
|
+
name: "setTokenSwap",
|
|
1420
|
+
outputs: []
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
stateMutability: "view",
|
|
1424
|
+
type: "function",
|
|
1425
|
+
inputs: [],
|
|
1426
|
+
name: "tokenSwap",
|
|
1427
|
+
outputs: [
|
|
1428
|
+
{
|
|
1429
|
+
name: "",
|
|
1430
|
+
internalType: "contract IBasememeTokenSwap",
|
|
1431
|
+
type: "address"
|
|
1432
|
+
}
|
|
1433
|
+
]
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
stateMutability: "nonpayable",
|
|
1437
|
+
type: "function",
|
|
1438
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1439
|
+
name: "transferOwnership",
|
|
1440
|
+
outputs: []
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
stateMutability: "payable",
|
|
1444
|
+
type: "function",
|
|
1445
|
+
inputs: [
|
|
1446
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
1447
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1448
|
+
],
|
|
1449
|
+
name: "upgradeToAndCall",
|
|
1450
|
+
outputs: []
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
type: "event",
|
|
1454
|
+
anonymous: false,
|
|
1455
|
+
inputs: [
|
|
1456
|
+
{
|
|
1457
|
+
name: "caller",
|
|
1458
|
+
internalType: "address",
|
|
1459
|
+
type: "address",
|
|
1460
|
+
indexed: true
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
name: "token",
|
|
1464
|
+
internalType: "address",
|
|
1465
|
+
type: "address",
|
|
1466
|
+
indexed: true
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
name: "recipient",
|
|
1470
|
+
internalType: "address",
|
|
1471
|
+
type: "address",
|
|
1472
|
+
indexed: true
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
name: "fundsIn",
|
|
1476
|
+
internalType: "uint256",
|
|
1477
|
+
type: "uint256",
|
|
1478
|
+
indexed: false
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
name: "minTokenOut",
|
|
1482
|
+
internalType: "uint256",
|
|
1483
|
+
type: "uint256",
|
|
1484
|
+
indexed: false
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
name: "tradeReferrer",
|
|
1488
|
+
internalType: "address",
|
|
1489
|
+
type: "address",
|
|
1490
|
+
indexed: false
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
name: "collateralToken",
|
|
1494
|
+
internalType: "address",
|
|
1495
|
+
type: "address",
|
|
1496
|
+
indexed: false
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
name: "tokenOut",
|
|
1500
|
+
internalType: "uint256",
|
|
1501
|
+
type: "uint256",
|
|
1502
|
+
indexed: false
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
name: "refundOut",
|
|
1506
|
+
internalType: "uint256",
|
|
1507
|
+
type: "uint256",
|
|
1508
|
+
indexed: false
|
|
1509
|
+
}
|
|
1510
|
+
],
|
|
1511
|
+
name: "BuyWithEth"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
type: "event",
|
|
1515
|
+
anonymous: false,
|
|
1516
|
+
inputs: [
|
|
1517
|
+
{
|
|
1518
|
+
name: "version",
|
|
1519
|
+
internalType: "uint64",
|
|
1520
|
+
type: "uint64",
|
|
1521
|
+
indexed: false
|
|
1522
|
+
}
|
|
1523
|
+
],
|
|
1524
|
+
name: "Initialized"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
type: "event",
|
|
1528
|
+
anonymous: false,
|
|
1529
|
+
inputs: [
|
|
1530
|
+
{
|
|
1531
|
+
name: "previousOwner",
|
|
1532
|
+
internalType: "address",
|
|
1533
|
+
type: "address",
|
|
1534
|
+
indexed: true
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
name: "newOwner",
|
|
1538
|
+
internalType: "address",
|
|
1539
|
+
type: "address",
|
|
1540
|
+
indexed: true
|
|
1541
|
+
}
|
|
1542
|
+
],
|
|
1543
|
+
name: "OwnershipTransferred"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
type: "event",
|
|
1547
|
+
anonymous: false,
|
|
1548
|
+
inputs: [
|
|
1549
|
+
{
|
|
1550
|
+
name: "caller",
|
|
1551
|
+
internalType: "address",
|
|
1552
|
+
type: "address",
|
|
1553
|
+
indexed: true
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
name: "token",
|
|
1557
|
+
internalType: "address",
|
|
1558
|
+
type: "address",
|
|
1559
|
+
indexed: true
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
name: "from",
|
|
1563
|
+
internalType: "address",
|
|
1564
|
+
type: "address",
|
|
1565
|
+
indexed: false
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
name: "tokenIn",
|
|
1569
|
+
internalType: "uint256",
|
|
1570
|
+
type: "uint256",
|
|
1571
|
+
indexed: false
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
name: "minEthOut",
|
|
1575
|
+
internalType: "uint256",
|
|
1576
|
+
type: "uint256",
|
|
1577
|
+
indexed: false
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
name: "tradeReferrer",
|
|
1581
|
+
internalType: "address",
|
|
1582
|
+
type: "address",
|
|
1583
|
+
indexed: false
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
name: "collateralToken",
|
|
1587
|
+
internalType: "address",
|
|
1588
|
+
type: "address",
|
|
1589
|
+
indexed: false
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
name: "collateralOut",
|
|
1593
|
+
internalType: "uint256",
|
|
1594
|
+
type: "uint256",
|
|
1595
|
+
indexed: false
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
name: "ethOut",
|
|
1599
|
+
internalType: "uint256",
|
|
1600
|
+
type: "uint256",
|
|
1601
|
+
indexed: false
|
|
1602
|
+
}
|
|
1603
|
+
],
|
|
1604
|
+
name: "SellForEth"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
type: "event",
|
|
1608
|
+
anonymous: false,
|
|
1609
|
+
inputs: [
|
|
1610
|
+
{
|
|
1611
|
+
name: "implementation",
|
|
1612
|
+
internalType: "address",
|
|
1613
|
+
type: "address",
|
|
1614
|
+
indexed: true
|
|
1615
|
+
}
|
|
1616
|
+
],
|
|
1617
|
+
name: "Upgraded"
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
type: "error",
|
|
1621
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
1622
|
+
name: "AddressEmptyCode"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
type: "error",
|
|
1626
|
+
inputs: [
|
|
1627
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
1628
|
+
],
|
|
1629
|
+
name: "ERC1967InvalidImplementation"
|
|
1630
|
+
},
|
|
1631
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
1632
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1633
|
+
{
|
|
1634
|
+
type: "error",
|
|
1635
|
+
inputs: [
|
|
1636
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
1637
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1638
|
+
],
|
|
1639
|
+
name: "InsufficientBalance"
|
|
1640
|
+
},
|
|
1641
|
+
{ type: "error", inputs: [], name: "InvalidFunds" },
|
|
1642
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1643
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1644
|
+
{
|
|
1645
|
+
type: "error",
|
|
1646
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
1647
|
+
name: "OwnableInvalidOwner"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
type: "error",
|
|
1651
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1652
|
+
name: "OwnableUnauthorizedAccount"
|
|
1653
|
+
},
|
|
1654
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
1655
|
+
{
|
|
1656
|
+
type: "error",
|
|
1657
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1658
|
+
name: "SafeERC20FailedOperation"
|
|
1659
|
+
},
|
|
1660
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
1661
|
+
{
|
|
1662
|
+
type: "error",
|
|
1663
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
1664
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
1665
|
+
}
|
|
1666
|
+
];
|
|
1667
|
+
var basememeFactoryTradeHelperAddress = {
|
|
1668
|
+
84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9"
|
|
1669
|
+
};
|
|
1670
|
+
var basememeFactoryTradeHelperConfig = {
|
|
1671
|
+
address: basememeFactoryTradeHelperAddress,
|
|
1672
|
+
abi: basememeFactoryTradeHelperABI
|
|
1673
|
+
};
|
|
1674
|
+
var basememeTokenABI = [
|
|
1675
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1676
|
+
{
|
|
1677
|
+
stateMutability: "view",
|
|
1678
|
+
type: "function",
|
|
1679
|
+
inputs: [
|
|
1680
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
1681
|
+
{ name: "spender", internalType: "address", type: "address" }
|
|
1682
|
+
],
|
|
1683
|
+
name: "allowance",
|
|
1684
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
stateMutability: "nonpayable",
|
|
1688
|
+
type: "function",
|
|
1689
|
+
inputs: [
|
|
1690
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
1691
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1692
|
+
],
|
|
1693
|
+
name: "approve",
|
|
1694
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
stateMutability: "view",
|
|
1698
|
+
type: "function",
|
|
1699
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1700
|
+
name: "balanceOf",
|
|
1701
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
stateMutability: "nonpayable",
|
|
1705
|
+
type: "function",
|
|
1706
|
+
inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
|
|
1707
|
+
name: "burn",
|
|
1708
|
+
outputs: []
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
stateMutability: "nonpayable",
|
|
1712
|
+
type: "function",
|
|
1713
|
+
inputs: [
|
|
1714
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
1715
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1716
|
+
],
|
|
1717
|
+
name: "burnFrom",
|
|
1718
|
+
outputs: []
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
stateMutability: "view",
|
|
1722
|
+
type: "function",
|
|
1723
|
+
inputs: [],
|
|
1724
|
+
name: "contractURI",
|
|
1725
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
stateMutability: "pure",
|
|
1729
|
+
type: "function",
|
|
1730
|
+
inputs: [],
|
|
1731
|
+
name: "contractVersion",
|
|
1732
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
stateMutability: "view",
|
|
1736
|
+
type: "function",
|
|
1737
|
+
inputs: [],
|
|
1738
|
+
name: "decimals",
|
|
1739
|
+
outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
stateMutability: "view",
|
|
1743
|
+
type: "function",
|
|
1744
|
+
inputs: [],
|
|
1745
|
+
name: "factory",
|
|
1746
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
stateMutability: "nonpayable",
|
|
1750
|
+
type: "function",
|
|
1751
|
+
inputs: [
|
|
1752
|
+
{
|
|
1753
|
+
name: "_params",
|
|
1754
|
+
internalType: "struct IBasememeToken.ConstructorParams",
|
|
1755
|
+
type: "tuple",
|
|
1756
|
+
components: [
|
|
1757
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
1758
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
1759
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
1760
|
+
{ name: "factory", internalType: "address", type: "address" },
|
|
1761
|
+
{ name: "bondingCurve", internalType: "address", type: "address" },
|
|
1762
|
+
{
|
|
1763
|
+
name: "initialTokenSupply",
|
|
1764
|
+
internalType: "uint256",
|
|
1765
|
+
type: "uint256"
|
|
1766
|
+
}
|
|
1767
|
+
]
|
|
1768
|
+
}
|
|
1769
|
+
],
|
|
1770
|
+
name: "initialize",
|
|
1771
|
+
outputs: []
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
stateMutability: "view",
|
|
1775
|
+
type: "function",
|
|
1776
|
+
inputs: [],
|
|
1777
|
+
name: "name",
|
|
1778
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
stateMutability: "view",
|
|
1782
|
+
type: "function",
|
|
1783
|
+
inputs: [],
|
|
1784
|
+
name: "owner",
|
|
1785
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
stateMutability: "nonpayable",
|
|
1789
|
+
type: "function",
|
|
1790
|
+
inputs: [],
|
|
1791
|
+
name: "renounceOwnership",
|
|
1792
|
+
outputs: []
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
stateMutability: "nonpayable",
|
|
1796
|
+
type: "function",
|
|
1797
|
+
inputs: [
|
|
1798
|
+
{
|
|
1799
|
+
name: "mode",
|
|
1800
|
+
internalType: "enum IBasememeToken.TransferMode",
|
|
1801
|
+
type: "uint8"
|
|
1802
|
+
}
|
|
1803
|
+
],
|
|
1804
|
+
name: "setTransferMode",
|
|
1805
|
+
outputs: []
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
stateMutability: "pure",
|
|
1809
|
+
type: "function",
|
|
1810
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1811
|
+
name: "supportsInterface",
|
|
1812
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
stateMutability: "view",
|
|
1816
|
+
type: "function",
|
|
1817
|
+
inputs: [],
|
|
1818
|
+
name: "symbol",
|
|
1819
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
stateMutability: "view",
|
|
1823
|
+
type: "function",
|
|
1824
|
+
inputs: [],
|
|
1825
|
+
name: "tokenURI",
|
|
1826
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
stateMutability: "view",
|
|
1830
|
+
type: "function",
|
|
1831
|
+
inputs: [],
|
|
1832
|
+
name: "totalSupply",
|
|
1833
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
stateMutability: "nonpayable",
|
|
1837
|
+
type: "function",
|
|
1838
|
+
inputs: [
|
|
1839
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
1840
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1841
|
+
],
|
|
1842
|
+
name: "transfer",
|
|
1843
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
stateMutability: "nonpayable",
|
|
1847
|
+
type: "function",
|
|
1848
|
+
inputs: [
|
|
1849
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
1850
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
1851
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1852
|
+
],
|
|
1853
|
+
name: "transferFrom",
|
|
1854
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
stateMutability: "view",
|
|
1858
|
+
type: "function",
|
|
1859
|
+
inputs: [],
|
|
1860
|
+
name: "transferMode",
|
|
1861
|
+
outputs: [
|
|
1862
|
+
{
|
|
1863
|
+
name: "",
|
|
1864
|
+
internalType: "enum IBasememeToken.TransferMode",
|
|
1865
|
+
type: "uint8"
|
|
1866
|
+
}
|
|
1867
|
+
]
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
stateMutability: "nonpayable",
|
|
1871
|
+
type: "function",
|
|
1872
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1873
|
+
name: "transferOwnership",
|
|
1874
|
+
outputs: []
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
type: "event",
|
|
1878
|
+
anonymous: false,
|
|
1879
|
+
inputs: [
|
|
1880
|
+
{
|
|
1881
|
+
name: "owner",
|
|
1882
|
+
internalType: "address",
|
|
1883
|
+
type: "address",
|
|
1884
|
+
indexed: true
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
name: "spender",
|
|
1888
|
+
internalType: "address",
|
|
1889
|
+
type: "address",
|
|
1890
|
+
indexed: true
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
name: "value",
|
|
1894
|
+
internalType: "uint256",
|
|
1895
|
+
type: "uint256",
|
|
1896
|
+
indexed: false
|
|
1897
|
+
}
|
|
1898
|
+
],
|
|
1899
|
+
name: "Approval"
|
|
1900
|
+
},
|
|
1901
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1902
|
+
{
|
|
1903
|
+
type: "event",
|
|
1904
|
+
anonymous: false,
|
|
1905
|
+
inputs: [
|
|
1906
|
+
{
|
|
1907
|
+
name: "version",
|
|
1908
|
+
internalType: "uint64",
|
|
1909
|
+
type: "uint64",
|
|
1910
|
+
indexed: false
|
|
1911
|
+
}
|
|
1912
|
+
],
|
|
1913
|
+
name: "Initialized"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
type: "event",
|
|
1917
|
+
anonymous: false,
|
|
1918
|
+
inputs: [
|
|
1919
|
+
{
|
|
1920
|
+
name: "previousOwner",
|
|
1921
|
+
internalType: "address",
|
|
1922
|
+
type: "address",
|
|
1923
|
+
indexed: true
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
name: "newOwner",
|
|
1927
|
+
internalType: "address",
|
|
1928
|
+
type: "address",
|
|
1929
|
+
indexed: true
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
name: "OwnershipTransferred"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
type: "event",
|
|
1936
|
+
anonymous: false,
|
|
1937
|
+
inputs: [
|
|
1938
|
+
{
|
|
1939
|
+
name: "sender",
|
|
1940
|
+
internalType: "address",
|
|
1941
|
+
type: "address",
|
|
1942
|
+
indexed: true
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
name: "recipient",
|
|
1946
|
+
internalType: "address",
|
|
1947
|
+
type: "address",
|
|
1948
|
+
indexed: true
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
name: "amount",
|
|
1952
|
+
internalType: "uint256",
|
|
1953
|
+
type: "uint256",
|
|
1954
|
+
indexed: false
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
name: "senderBalance",
|
|
1958
|
+
internalType: "uint256",
|
|
1959
|
+
type: "uint256",
|
|
1960
|
+
indexed: false
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
name: "recipientBalance",
|
|
1964
|
+
internalType: "uint256",
|
|
1965
|
+
type: "uint256",
|
|
1966
|
+
indexed: false
|
|
1967
|
+
}
|
|
1968
|
+
],
|
|
1969
|
+
name: "TokensTransferred"
|
|
1970
|
+
},
|
|
1047
1971
|
{
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
inputs: [
|
|
1051
|
-
|
|
1052
|
-
|
|
1972
|
+
type: "event",
|
|
1973
|
+
anonymous: false,
|
|
1974
|
+
inputs: [
|
|
1975
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1976
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1977
|
+
{
|
|
1978
|
+
name: "value",
|
|
1979
|
+
internalType: "uint256",
|
|
1980
|
+
type: "uint256",
|
|
1981
|
+
indexed: false
|
|
1982
|
+
}
|
|
1983
|
+
],
|
|
1984
|
+
name: "Transfer"
|
|
1053
1985
|
},
|
|
1054
1986
|
{
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1987
|
+
type: "error",
|
|
1988
|
+
inputs: [
|
|
1989
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
1990
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
1991
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1992
|
+
],
|
|
1993
|
+
name: "ERC20InsufficientAllowance"
|
|
1060
1994
|
},
|
|
1061
1995
|
{
|
|
1062
|
-
|
|
1063
|
-
type: "function",
|
|
1996
|
+
type: "error",
|
|
1064
1997
|
inputs: [
|
|
1065
|
-
{ name: "
|
|
1066
|
-
{ name: "
|
|
1998
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
1999
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
2000
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1067
2001
|
],
|
|
1068
|
-
name: "
|
|
1069
|
-
|
|
2002
|
+
name: "ERC20InsufficientBalance"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
type: "error",
|
|
2006
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
2007
|
+
name: "ERC20InvalidApprover"
|
|
1070
2008
|
},
|
|
2009
|
+
{
|
|
2010
|
+
type: "error",
|
|
2011
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
2012
|
+
name: "ERC20InvalidReceiver"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
type: "error",
|
|
2016
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
2017
|
+
name: "ERC20InvalidSender"
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
type: "error",
|
|
2021
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
2022
|
+
name: "ERC20InvalidSpender"
|
|
2023
|
+
},
|
|
2024
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2025
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2026
|
+
{
|
|
2027
|
+
type: "error",
|
|
2028
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
2029
|
+
name: "OwnableInvalidOwner"
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
type: "error",
|
|
2033
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2034
|
+
name: "OwnableUnauthorizedAccount"
|
|
2035
|
+
},
|
|
2036
|
+
{ type: "error", inputs: [], name: "TransfersControlled" },
|
|
2037
|
+
{ type: "error", inputs: [], name: "TransfersRestricted" }
|
|
2038
|
+
];
|
|
2039
|
+
var basememeTokenAddress = {
|
|
2040
|
+
8453: "0x0000000000000000000000000000000000000000",
|
|
2041
|
+
84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
|
|
2042
|
+
};
|
|
2043
|
+
var basememeTokenConfig = {
|
|
2044
|
+
address: basememeTokenAddress,
|
|
2045
|
+
abi: basememeTokenABI
|
|
2046
|
+
};
|
|
2047
|
+
var basememeTokenSwapABI = [
|
|
2048
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
2049
|
+
{ stateMutability: "payable", type: "receive" },
|
|
1071
2050
|
{
|
|
1072
2051
|
stateMutability: "view",
|
|
1073
2052
|
type: "function",
|
|
1074
2053
|
inputs: [],
|
|
1075
|
-
name: "
|
|
2054
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
1076
2055
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1077
2056
|
},
|
|
1078
2057
|
{
|
|
1079
|
-
stateMutability: "
|
|
2058
|
+
stateMutability: "view",
|
|
1080
2059
|
type: "function",
|
|
1081
|
-
inputs: [
|
|
1082
|
-
|
|
1083
|
-
|
|
2060
|
+
inputs: [
|
|
2061
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2062
|
+
],
|
|
2063
|
+
name: "getCollateralDex",
|
|
2064
|
+
outputs: [
|
|
2065
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2066
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
2067
|
+
]
|
|
1084
2068
|
},
|
|
1085
2069
|
{
|
|
1086
2070
|
stateMutability: "view",
|
|
1087
2071
|
type: "function",
|
|
1088
|
-
inputs: [
|
|
1089
|
-
|
|
1090
|
-
|
|
2072
|
+
inputs: [
|
|
2073
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2074
|
+
],
|
|
2075
|
+
name: "getCollateralV2Paths",
|
|
2076
|
+
outputs: [
|
|
2077
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2078
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2079
|
+
]
|
|
1091
2080
|
},
|
|
1092
2081
|
{
|
|
1093
2082
|
stateMutability: "view",
|
|
1094
2083
|
type: "function",
|
|
1095
|
-
inputs: [
|
|
1096
|
-
|
|
1097
|
-
|
|
2084
|
+
inputs: [
|
|
2085
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2086
|
+
],
|
|
2087
|
+
name: "getCollateralV3Paths",
|
|
2088
|
+
outputs: [
|
|
2089
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2090
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2091
|
+
]
|
|
1098
2092
|
},
|
|
1099
2093
|
{
|
|
1100
|
-
stateMutability: "
|
|
2094
|
+
stateMutability: "view",
|
|
2095
|
+
type: "function",
|
|
2096
|
+
inputs: [{ name: "dexId", internalType: "uint8", type: "uint8" }],
|
|
2097
|
+
name: "getDexConfig",
|
|
2098
|
+
outputs: [
|
|
2099
|
+
{
|
|
2100
|
+
name: "dexType",
|
|
2101
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2102
|
+
type: "uint8"
|
|
2103
|
+
},
|
|
2104
|
+
{ name: "enabled", internalType: "bool", type: "bool" },
|
|
2105
|
+
{ name: "router", internalType: "address", type: "address" },
|
|
2106
|
+
{ name: "quoter", internalType: "address", type: "address" },
|
|
2107
|
+
{ name: "quoterKind", internalType: "uint8", type: "uint8" }
|
|
2108
|
+
]
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
stateMutability: "view",
|
|
1101
2112
|
type: "function",
|
|
1102
2113
|
inputs: [
|
|
2114
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2115
|
+
],
|
|
2116
|
+
name: "getRouteDexType",
|
|
2117
|
+
outputs: [
|
|
1103
2118
|
{
|
|
1104
|
-
name: "
|
|
1105
|
-
internalType: "
|
|
1106
|
-
type: "
|
|
1107
|
-
components: [
|
|
1108
|
-
{ name: "name", internalType: "string", type: "string" },
|
|
1109
|
-
{ name: "symbol", internalType: "string", type: "string" },
|
|
1110
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
1111
|
-
{ name: "factory", internalType: "address", type: "address" },
|
|
1112
|
-
{ name: "bondingCurve", internalType: "address", type: "address" },
|
|
1113
|
-
{
|
|
1114
|
-
name: "initialTokenSupply",
|
|
1115
|
-
internalType: "uint256",
|
|
1116
|
-
type: "uint256"
|
|
1117
|
-
}
|
|
1118
|
-
]
|
|
2119
|
+
name: "",
|
|
2120
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2121
|
+
type: "uint8"
|
|
1119
2122
|
}
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
stateMutability: "nonpayable",
|
|
2127
|
+
type: "function",
|
|
2128
|
+
inputs: [
|
|
2129
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
2130
|
+
{ name: "weth_", internalType: "address", type: "address" }
|
|
1120
2131
|
],
|
|
1121
2132
|
name: "initialize",
|
|
1122
2133
|
outputs: []
|
|
@@ -1125,15 +2136,35 @@ var basememeTokenABI = [
|
|
|
1125
2136
|
stateMutability: "view",
|
|
1126
2137
|
type: "function",
|
|
1127
2138
|
inputs: [],
|
|
1128
|
-
name: "
|
|
1129
|
-
outputs: [{ name: "", internalType: "
|
|
2139
|
+
name: "owner",
|
|
2140
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1130
2141
|
},
|
|
1131
2142
|
{
|
|
1132
2143
|
stateMutability: "view",
|
|
1133
2144
|
type: "function",
|
|
1134
2145
|
inputs: [],
|
|
1135
|
-
name: "
|
|
1136
|
-
outputs: [{ name: "", internalType: "
|
|
2146
|
+
name: "proxiableUUID",
|
|
2147
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
stateMutability: "nonpayable",
|
|
2151
|
+
type: "function",
|
|
2152
|
+
inputs: [
|
|
2153
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2154
|
+
{ name: "amountInCollateral", internalType: "uint256", type: "uint256" }
|
|
2155
|
+
],
|
|
2156
|
+
name: "quoteCollateralToEth",
|
|
2157
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
stateMutability: "nonpayable",
|
|
2161
|
+
type: "function",
|
|
2162
|
+
inputs: [
|
|
2163
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2164
|
+
{ name: "amountInEth", internalType: "uint256", type: "uint256" }
|
|
2165
|
+
],
|
|
2166
|
+
name: "quoteEthToCollateral",
|
|
2167
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
1137
2168
|
},
|
|
1138
2169
|
{
|
|
1139
2170
|
stateMutability: "nonpayable",
|
|
@@ -1146,110 +2177,208 @@ var basememeTokenABI = [
|
|
|
1146
2177
|
stateMutability: "nonpayable",
|
|
1147
2178
|
type: "function",
|
|
1148
2179
|
inputs: [
|
|
1149
|
-
{
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}
|
|
2180
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2181
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2182
|
+
{ name: "enabled", internalType: "bool", type: "bool" },
|
|
2183
|
+
{ name: "v2PathWethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2184
|
+
{ name: "v2PathCollateralToWeth", internalType: "bytes", type: "bytes" },
|
|
2185
|
+
{ name: "v3PathWethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2186
|
+
{ name: "v3PathCollateralToWeth", internalType: "bytes", type: "bytes" }
|
|
1154
2187
|
],
|
|
1155
|
-
name: "
|
|
2188
|
+
name: "setCollateralConfig",
|
|
1156
2189
|
outputs: []
|
|
1157
2190
|
},
|
|
1158
2191
|
{
|
|
1159
|
-
stateMutability: "
|
|
2192
|
+
stateMutability: "nonpayable",
|
|
1160
2193
|
type: "function",
|
|
1161
|
-
inputs: [
|
|
1162
|
-
|
|
1163
|
-
|
|
2194
|
+
inputs: [
|
|
2195
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2196
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" }
|
|
2197
|
+
],
|
|
2198
|
+
name: "setCollateralDex",
|
|
2199
|
+
outputs: []
|
|
1164
2200
|
},
|
|
1165
2201
|
{
|
|
1166
|
-
stateMutability: "
|
|
2202
|
+
stateMutability: "nonpayable",
|
|
1167
2203
|
type: "function",
|
|
1168
|
-
inputs: [
|
|
1169
|
-
|
|
1170
|
-
|
|
2204
|
+
inputs: [
|
|
2205
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2206
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
2207
|
+
],
|
|
2208
|
+
name: "setCollateralEnabled",
|
|
2209
|
+
outputs: []
|
|
1171
2210
|
},
|
|
1172
2211
|
{
|
|
1173
|
-
stateMutability: "
|
|
2212
|
+
stateMutability: "nonpayable",
|
|
1174
2213
|
type: "function",
|
|
1175
|
-
inputs: [
|
|
1176
|
-
|
|
1177
|
-
|
|
2214
|
+
inputs: [
|
|
2215
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2216
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2217
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2218
|
+
],
|
|
2219
|
+
name: "setCollateralV2Paths",
|
|
2220
|
+
outputs: []
|
|
1178
2221
|
},
|
|
1179
2222
|
{
|
|
1180
|
-
stateMutability: "
|
|
2223
|
+
stateMutability: "nonpayable",
|
|
1181
2224
|
type: "function",
|
|
1182
|
-
inputs: [
|
|
1183
|
-
|
|
1184
|
-
|
|
2225
|
+
inputs: [
|
|
2226
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2227
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2228
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2229
|
+
],
|
|
2230
|
+
name: "setCollateralV3Paths",
|
|
2231
|
+
outputs: []
|
|
1185
2232
|
},
|
|
1186
2233
|
{
|
|
1187
2234
|
stateMutability: "nonpayable",
|
|
1188
2235
|
type: "function",
|
|
1189
2236
|
inputs: [
|
|
1190
|
-
{ name: "
|
|
1191
|
-
{ name: "
|
|
2237
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2238
|
+
{ name: "router", internalType: "address", type: "address" },
|
|
2239
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
1192
2240
|
],
|
|
1193
|
-
name: "
|
|
1194
|
-
outputs: [
|
|
2241
|
+
name: "setDexConfigV2",
|
|
2242
|
+
outputs: []
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
stateMutability: "nonpayable",
|
|
2246
|
+
type: "function",
|
|
2247
|
+
inputs: [
|
|
2248
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2249
|
+
{ name: "swapRouter", internalType: "address", type: "address" },
|
|
2250
|
+
{ name: "quoter", internalType: "address", type: "address" },
|
|
2251
|
+
{ name: "enabled", internalType: "bool", type: "bool" },
|
|
2252
|
+
{ name: "quoterKind", internalType: "uint8", type: "uint8" }
|
|
2253
|
+
],
|
|
2254
|
+
name: "setDexConfigV3",
|
|
2255
|
+
outputs: []
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
stateMutability: "nonpayable",
|
|
2259
|
+
type: "function",
|
|
2260
|
+
inputs: [
|
|
2261
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2262
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
2263
|
+
{ name: "amountOutMin", internalType: "uint256", type: "uint256" },
|
|
2264
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2265
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
2266
|
+
],
|
|
2267
|
+
name: "swapExactCollateralToEth",
|
|
2268
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
stateMutability: "payable",
|
|
2272
|
+
type: "function",
|
|
2273
|
+
inputs: [
|
|
2274
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2275
|
+
{ name: "amountOutMin", internalType: "uint256", type: "uint256" },
|
|
2276
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
2277
|
+
],
|
|
2278
|
+
name: "swapExactEthToCollateral",
|
|
2279
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
1195
2280
|
},
|
|
1196
2281
|
{
|
|
1197
2282
|
stateMutability: "nonpayable",
|
|
1198
2283
|
type: "function",
|
|
2284
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
2285
|
+
name: "transferOwnership",
|
|
2286
|
+
outputs: []
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
stateMutability: "payable",
|
|
2290
|
+
type: "function",
|
|
1199
2291
|
inputs: [
|
|
1200
|
-
{ name: "
|
|
1201
|
-
{ name: "
|
|
1202
|
-
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
2292
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
2293
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1203
2294
|
],
|
|
1204
|
-
name: "
|
|
1205
|
-
outputs: [
|
|
2295
|
+
name: "upgradeToAndCall",
|
|
2296
|
+
outputs: []
|
|
1206
2297
|
},
|
|
1207
2298
|
{
|
|
1208
2299
|
stateMutability: "view",
|
|
1209
2300
|
type: "function",
|
|
1210
2301
|
inputs: [],
|
|
1211
|
-
name: "
|
|
1212
|
-
outputs: [
|
|
1213
|
-
{
|
|
1214
|
-
name: "",
|
|
1215
|
-
internalType: "enum IBasememeToken.TransferMode",
|
|
1216
|
-
type: "uint8"
|
|
1217
|
-
}
|
|
1218
|
-
]
|
|
2302
|
+
name: "weth",
|
|
2303
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1219
2304
|
},
|
|
1220
2305
|
{
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
inputs: [
|
|
1224
|
-
|
|
1225
|
-
|
|
2306
|
+
type: "event",
|
|
2307
|
+
anonymous: false,
|
|
2308
|
+
inputs: [
|
|
2309
|
+
{
|
|
2310
|
+
name: "collateralToken",
|
|
2311
|
+
internalType: "address",
|
|
2312
|
+
type: "address",
|
|
2313
|
+
indexed: true
|
|
2314
|
+
},
|
|
2315
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true }
|
|
2316
|
+
],
|
|
2317
|
+
name: "CollateralDexSet"
|
|
1226
2318
|
},
|
|
1227
2319
|
{
|
|
1228
2320
|
type: "event",
|
|
1229
2321
|
anonymous: false,
|
|
1230
2322
|
inputs: [
|
|
1231
2323
|
{
|
|
1232
|
-
name: "
|
|
2324
|
+
name: "collateralToken",
|
|
1233
2325
|
internalType: "address",
|
|
1234
2326
|
type: "address",
|
|
1235
2327
|
indexed: true
|
|
1236
2328
|
},
|
|
2329
|
+
{ name: "enabled", internalType: "bool", type: "bool", indexed: false }
|
|
2330
|
+
],
|
|
2331
|
+
name: "CollateralEnabled"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
type: "event",
|
|
2335
|
+
anonymous: false,
|
|
2336
|
+
inputs: [
|
|
1237
2337
|
{
|
|
1238
|
-
name: "
|
|
2338
|
+
name: "collateralToken",
|
|
1239
2339
|
internalType: "address",
|
|
1240
2340
|
type: "address",
|
|
1241
2341
|
indexed: true
|
|
1242
|
-
}
|
|
2342
|
+
}
|
|
2343
|
+
],
|
|
2344
|
+
name: "CollateralV2PathsSet"
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
type: "event",
|
|
2348
|
+
anonymous: false,
|
|
2349
|
+
inputs: [
|
|
1243
2350
|
{
|
|
1244
|
-
name: "
|
|
1245
|
-
internalType: "
|
|
1246
|
-
type: "
|
|
2351
|
+
name: "collateralToken",
|
|
2352
|
+
internalType: "address",
|
|
2353
|
+
type: "address",
|
|
2354
|
+
indexed: true
|
|
2355
|
+
}
|
|
2356
|
+
],
|
|
2357
|
+
name: "CollateralV3PathsSet"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
type: "event",
|
|
2361
|
+
anonymous: false,
|
|
2362
|
+
inputs: [
|
|
2363
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
|
|
2364
|
+
{
|
|
2365
|
+
name: "dexType",
|
|
2366
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2367
|
+
type: "uint8",
|
|
1247
2368
|
indexed: false
|
|
1248
2369
|
}
|
|
1249
2370
|
],
|
|
1250
|
-
name: "
|
|
2371
|
+
name: "DexConfigured"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
type: "event",
|
|
2375
|
+
anonymous: false,
|
|
2376
|
+
inputs: [
|
|
2377
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
|
|
2378
|
+
{ name: "enabled", internalType: "bool", type: "bool", indexed: false }
|
|
2379
|
+
],
|
|
2380
|
+
name: "DexEnabled"
|
|
1251
2381
|
},
|
|
1252
|
-
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1253
2382
|
{
|
|
1254
2383
|
type: "event",
|
|
1255
2384
|
anonymous: false,
|
|
@@ -1287,92 +2416,47 @@ var basememeTokenABI = [
|
|
|
1287
2416
|
anonymous: false,
|
|
1288
2417
|
inputs: [
|
|
1289
2418
|
{
|
|
1290
|
-
name: "
|
|
1291
|
-
internalType: "address",
|
|
1292
|
-
type: "address",
|
|
1293
|
-
indexed: true
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
name: "recipient",
|
|
2419
|
+
name: "implementation",
|
|
1297
2420
|
internalType: "address",
|
|
1298
2421
|
type: "address",
|
|
1299
2422
|
indexed: true
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
name: "amount",
|
|
1303
|
-
internalType: "uint256",
|
|
1304
|
-
type: "uint256",
|
|
1305
|
-
indexed: false
|
|
1306
|
-
},
|
|
1307
|
-
{
|
|
1308
|
-
name: "senderBalance",
|
|
1309
|
-
internalType: "uint256",
|
|
1310
|
-
type: "uint256",
|
|
1311
|
-
indexed: false
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
name: "recipientBalance",
|
|
1315
|
-
internalType: "uint256",
|
|
1316
|
-
type: "uint256",
|
|
1317
|
-
indexed: false
|
|
1318
2423
|
}
|
|
1319
2424
|
],
|
|
1320
|
-
name: "
|
|
2425
|
+
name: "Upgraded"
|
|
1321
2426
|
},
|
|
1322
2427
|
{
|
|
1323
|
-
type: "
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1327
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1328
|
-
{
|
|
1329
|
-
name: "value",
|
|
1330
|
-
internalType: "uint256",
|
|
1331
|
-
type: "uint256",
|
|
1332
|
-
indexed: false
|
|
1333
|
-
}
|
|
1334
|
-
],
|
|
1335
|
-
name: "Transfer"
|
|
2428
|
+
type: "error",
|
|
2429
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2430
|
+
name: "AddressEmptyCode"
|
|
1336
2431
|
},
|
|
2432
|
+
{ type: "error", inputs: [], name: "CollateralMustBeDisabled" },
|
|
2433
|
+
{ type: "error", inputs: [], name: "DeadlineExpired" },
|
|
2434
|
+
{ type: "error", inputs: [], name: "DexDisabled" },
|
|
2435
|
+
{ type: "error", inputs: [], name: "DexNotConfigured" },
|
|
2436
|
+
{ type: "error", inputs: [], name: "DexTypeImmutable" },
|
|
1337
2437
|
{
|
|
1338
2438
|
type: "error",
|
|
1339
2439
|
inputs: [
|
|
1340
|
-
{ name: "
|
|
1341
|
-
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
1342
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
2440
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
1343
2441
|
],
|
|
1344
|
-
name: "
|
|
2442
|
+
name: "ERC1967InvalidImplementation"
|
|
1345
2443
|
},
|
|
2444
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2445
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
2446
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1346
2447
|
{
|
|
1347
2448
|
type: "error",
|
|
1348
2449
|
inputs: [
|
|
1349
|
-
{ name: "sender", internalType: "address", type: "address" },
|
|
1350
2450
|
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
1351
2451
|
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1352
2452
|
],
|
|
1353
|
-
name: "
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
type: "error",
|
|
1357
|
-
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
1358
|
-
name: "ERC20InvalidApprover"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
type: "error",
|
|
1362
|
-
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
1363
|
-
name: "ERC20InvalidReceiver"
|
|
1364
|
-
},
|
|
1365
|
-
{
|
|
1366
|
-
type: "error",
|
|
1367
|
-
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
1368
|
-
name: "ERC20InvalidSender"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
type: "error",
|
|
1372
|
-
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
1373
|
-
name: "ERC20InvalidSpender"
|
|
2453
|
+
name: "InsufficientBalance"
|
|
1374
2454
|
},
|
|
2455
|
+
{ type: "error", inputs: [], name: "InvalidDexId" },
|
|
1375
2456
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2457
|
+
{ type: "error", inputs: [], name: "InvalidPath" },
|
|
2458
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
2459
|
+
{ type: "error", inputs: [], name: "InvalidRouteConfig" },
|
|
1376
2460
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1377
2461
|
{
|
|
1378
2462
|
type: "error",
|
|
@@ -1384,16 +2468,28 @@ var basememeTokenABI = [
|
|
|
1384
2468
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1385
2469
|
name: "OwnableUnauthorizedAccount"
|
|
1386
2470
|
},
|
|
1387
|
-
{ type: "error", inputs: [], name: "
|
|
1388
|
-
{ type: "error", inputs: [], name: "
|
|
2471
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
2472
|
+
{ type: "error", inputs: [], name: "RouteDisabled" },
|
|
2473
|
+
{ type: "error", inputs: [], name: "RouteNotConfigured" },
|
|
2474
|
+
{
|
|
2475
|
+
type: "error",
|
|
2476
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2477
|
+
name: "SafeERC20FailedOperation"
|
|
2478
|
+
},
|
|
2479
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2480
|
+
{
|
|
2481
|
+
type: "error",
|
|
2482
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
2483
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
2484
|
+
},
|
|
2485
|
+
{ type: "error", inputs: [], name: "UnsupportedDexType" }
|
|
1389
2486
|
];
|
|
1390
|
-
var
|
|
1391
|
-
|
|
1392
|
-
84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
|
|
2487
|
+
var basememeTokenSwapAddress = {
|
|
2488
|
+
84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4"
|
|
1393
2489
|
};
|
|
1394
|
-
var
|
|
1395
|
-
address:
|
|
1396
|
-
abi:
|
|
2490
|
+
var basememeTokenSwapConfig = {
|
|
2491
|
+
address: basememeTokenSwapAddress,
|
|
2492
|
+
abi: basememeTokenSwapABI
|
|
1397
2493
|
};
|
|
1398
2494
|
var bondingCurveABI = [
|
|
1399
2495
|
{
|
|
@@ -2217,6 +3313,14 @@ var bondingCurveABI = [
|
|
|
2217
3313
|
{ type: "error", inputs: [], name: "AlreadyMigrated" },
|
|
2218
3314
|
{ type: "error", inputs: [], name: "AmountInZero" },
|
|
2219
3315
|
{ type: "error", inputs: [], name: "AmountOutZero" },
|
|
3316
|
+
{
|
|
3317
|
+
type: "error",
|
|
3318
|
+
inputs: [
|
|
3319
|
+
{ name: "recommendedTokenOut", internalType: "uint256", type: "uint256" }
|
|
3320
|
+
],
|
|
3321
|
+
name: "CollectionTargetExceeded"
|
|
3322
|
+
},
|
|
3323
|
+
{ type: "error", inputs: [], name: "ETHNotAllowedForERC20Market" },
|
|
2220
3324
|
{ type: "error", inputs: [], name: "FailedCall" },
|
|
2221
3325
|
{ type: "error", inputs: [], name: "FailedToSendETH" },
|
|
2222
3326
|
{ type: "error", inputs: [], name: "InitialTokenSupplyNotSet" },
|
|
@@ -2269,6 +3373,11 @@ var bondingCurveABI = [
|
|
|
2269
3373
|
{ type: "error", inputs: [], name: "PoolNotDeployed" },
|
|
2270
3374
|
{ type: "error", inputs: [], name: "PoolNotPreCreated" },
|
|
2271
3375
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
3376
|
+
{
|
|
3377
|
+
type: "error",
|
|
3378
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
3379
|
+
name: "SafeERC20FailedOperation"
|
|
3380
|
+
},
|
|
2272
3381
|
{ type: "error", inputs: [], name: "SlippageCheckFailed" },
|
|
2273
3382
|
{ type: "error", inputs: [], name: "TokenNotInitialized" },
|
|
2274
3383
|
{ type: "error", inputs: [], name: "TradingStopped" },
|
|
@@ -2294,7 +3403,7 @@ var bondingCurveABI = [
|
|
|
2294
3403
|
];
|
|
2295
3404
|
var bondingCurveAddress = {
|
|
2296
3405
|
8453: "0x0000000000000000000000000000000000000000",
|
|
2297
|
-
84532: "
|
|
3406
|
+
84532: "0x96c0b17Cf78Bc376c8186C1c0378c4b0e386AF39"
|
|
2298
3407
|
};
|
|
2299
3408
|
var bondingCurveConfig = {
|
|
2300
3409
|
address: bondingCurveAddress,
|
|
@@ -2594,7 +3703,71 @@ var chainConfigs = {
|
|
|
2594
3703
|
"UNIVERSAL_ROUTER": "0x6ff5693b99212da76ad316178a184ab56d299b43",
|
|
2595
3704
|
"V4_LP_FEE": "20000",
|
|
2596
3705
|
"V4_TICK_SPACING": "60",
|
|
2597
|
-
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3706
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
3707
|
+
"COLLATERAL_TEMPLATES": {
|
|
3708
|
+
"ETH": {
|
|
3709
|
+
"ID": "ETH_DEFAULT",
|
|
3710
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
3711
|
+
"SYMBOL": "ETH",
|
|
3712
|
+
"DECIMALS": 18,
|
|
3713
|
+
"ENABLED": true,
|
|
3714
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3715
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
3716
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
3717
|
+
"FEE_BASIS_POINTS": "200",
|
|
3718
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
3719
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
3720
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
3721
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
3722
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
3723
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
3724
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
|
|
3725
|
+
"TARGET_COLLECTION_AMOUNT": "2500759732077910169",
|
|
3726
|
+
"V4_LP_FEE": "20000",
|
|
3727
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3728
|
+
},
|
|
3729
|
+
"USDC": {
|
|
3730
|
+
"ID": "USDC_DEFAULT",
|
|
3731
|
+
"COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
3732
|
+
"SYMBOL": "USDC",
|
|
3733
|
+
"DECIMALS": 6,
|
|
3734
|
+
"ENABLED": true,
|
|
3735
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3736
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
3737
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
3738
|
+
"FEE_BASIS_POINTS": "200",
|
|
3739
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
3740
|
+
"POOL_CREATION_FEE": "200000000",
|
|
3741
|
+
"FIRST_BUY_FEE": "5000000",
|
|
3742
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
3743
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
3744
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3745
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
3746
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
3747
|
+
"V4_LP_FEE": "20000",
|
|
3748
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3749
|
+
},
|
|
3750
|
+
"SOL": {
|
|
3751
|
+
"ID": "SOL_DEFAULT",
|
|
3752
|
+
"COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
|
|
3753
|
+
"SYMBOL": "SOL",
|
|
3754
|
+
"DECIMALS": 9,
|
|
3755
|
+
"ENABLED": true,
|
|
3756
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3757
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
3758
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
3759
|
+
"FEE_BASIS_POINTS": "200",
|
|
3760
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
3761
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
3762
|
+
"FIRST_BUY_FEE": "40000000",
|
|
3763
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
3764
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
3765
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3766
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
3767
|
+
"V4_LP_FEE": "20000",
|
|
3768
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
2598
3771
|
},
|
|
2599
3772
|
"1.0.12": {
|
|
2600
3773
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
@@ -2654,7 +3827,71 @@ var chainConfigs = {
|
|
|
2654
3827
|
"UNIVERSAL_ROUTER": "0x6ff5693b99212da76ad316178a184ab56d299b43",
|
|
2655
3828
|
"V4_LP_FEE": "20000",
|
|
2656
3829
|
"V4_TICK_SPACING": "60",
|
|
2657
|
-
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3830
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
3831
|
+
"COLLATERAL_TEMPLATES": {
|
|
3832
|
+
"ETH": {
|
|
3833
|
+
"ID": "ETH_DEFAULT",
|
|
3834
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
3835
|
+
"SYMBOL": "ETH",
|
|
3836
|
+
"DECIMALS": 18,
|
|
3837
|
+
"ENABLED": true,
|
|
3838
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3839
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
3840
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
3841
|
+
"FEE_BASIS_POINTS": "200",
|
|
3842
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
3843
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
3844
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
3845
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
3846
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
3847
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
3848
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
|
|
3849
|
+
"TARGET_COLLECTION_AMOUNT": "2500759732077910169",
|
|
3850
|
+
"V4_LP_FEE": "20000",
|
|
3851
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3852
|
+
},
|
|
3853
|
+
"USDC": {
|
|
3854
|
+
"ID": "USDC_DEFAULT",
|
|
3855
|
+
"COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
3856
|
+
"SYMBOL": "USDC",
|
|
3857
|
+
"DECIMALS": 6,
|
|
3858
|
+
"ENABLED": true,
|
|
3859
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3860
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
3861
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
3862
|
+
"FEE_BASIS_POINTS": "200",
|
|
3863
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
3864
|
+
"POOL_CREATION_FEE": "200000000",
|
|
3865
|
+
"FIRST_BUY_FEE": "5000000",
|
|
3866
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
3867
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
3868
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3869
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
3870
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
3871
|
+
"V4_LP_FEE": "20000",
|
|
3872
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3873
|
+
},
|
|
3874
|
+
"SOL": {
|
|
3875
|
+
"ID": "SOL_DEFAULT",
|
|
3876
|
+
"COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
|
|
3877
|
+
"SYMBOL": "SOL",
|
|
3878
|
+
"DECIMALS": 9,
|
|
3879
|
+
"ENABLED": true,
|
|
3880
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3881
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
3882
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
3883
|
+
"FEE_BASIS_POINTS": "200",
|
|
3884
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
3885
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
3886
|
+
"FIRST_BUY_FEE": "40000000",
|
|
3887
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
3888
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
3889
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3890
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
3891
|
+
"V4_LP_FEE": "20000",
|
|
3892
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
2658
3895
|
}
|
|
2659
3896
|
},
|
|
2660
3897
|
[84532]: {
|
|
@@ -2691,8 +3928,8 @@ var chainConfigs = {
|
|
|
2691
3928
|
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
2692
3929
|
"V4_LP_FEE": "20000",
|
|
2693
3930
|
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
2694
|
-
"COLLATERAL_TEMPLATES":
|
|
2695
|
-
{
|
|
3931
|
+
"COLLATERAL_TEMPLATES": {
|
|
3932
|
+
"ETH": {
|
|
2696
3933
|
"ID": "ETH_DEFAULT",
|
|
2697
3934
|
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
2698
3935
|
"SYMBOL": "ETH",
|
|
@@ -2713,48 +3950,48 @@ var chainConfigs = {
|
|
|
2713
3950
|
"V4_LP_FEE": "20000",
|
|
2714
3951
|
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
2715
3952
|
},
|
|
2716
|
-
{
|
|
3953
|
+
"USDC": {
|
|
2717
3954
|
"ID": "USDC_DEFAULT",
|
|
2718
3955
|
"COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
|
|
2719
3956
|
"SYMBOL": "USDC",
|
|
2720
3957
|
"DECIMALS": 6,
|
|
2721
3958
|
"ENABLED": true,
|
|
2722
3959
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
2723
|
-
"VIRTUAL_TOKEN_RESERVES": "
|
|
2724
|
-
"VIRTUAL_COLLATERAL_RESERVES": "
|
|
3960
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
3961
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
2725
3962
|
"FEE_BASIS_POINTS": "200",
|
|
2726
|
-
"FIXED_MIGRATION_FEE": "
|
|
2727
|
-
"POOL_CREATION_FEE": "
|
|
2728
|
-
"FIRST_BUY_FEE": "
|
|
2729
|
-
"MC_UPPER_LIMIT": "
|
|
2730
|
-
"MC_LOWER_LIMIT": "
|
|
3963
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
3964
|
+
"POOL_CREATION_FEE": "200000000",
|
|
3965
|
+
"FIRST_BUY_FEE": "5000000",
|
|
3966
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
3967
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
2731
3968
|
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
2732
|
-
"TARGET_USDC_COLLECTION_AMOUNT": "
|
|
2733
|
-
"TARGET_COLLECTION_AMOUNT": "
|
|
3969
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
3970
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
2734
3971
|
"V4_LP_FEE": "20000",
|
|
2735
|
-
"V4_LIQUIDITY_CONFIG": "
|
|
3972
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
2736
3973
|
},
|
|
2737
|
-
{
|
|
3974
|
+
"SOL": {
|
|
2738
3975
|
"ID": "SOL_DEFAULT",
|
|
2739
3976
|
"COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
|
|
2740
3977
|
"SYMBOL": "SOL",
|
|
2741
3978
|
"DECIMALS": 9,
|
|
2742
3979
|
"ENABLED": true,
|
|
2743
3980
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
2744
|
-
"VIRTUAL_TOKEN_RESERVES": "
|
|
2745
|
-
"VIRTUAL_COLLATERAL_RESERVES": "
|
|
3981
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
3982
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
2746
3983
|
"FEE_BASIS_POINTS": "200",
|
|
2747
|
-
"FIXED_MIGRATION_FEE": "
|
|
2748
|
-
"POOL_CREATION_FEE": "
|
|
2749
|
-
"FIRST_BUY_FEE": "
|
|
2750
|
-
"MC_UPPER_LIMIT": "
|
|
2751
|
-
"MC_LOWER_LIMIT": "
|
|
3984
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
3985
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
3986
|
+
"FIRST_BUY_FEE": "40000000",
|
|
3987
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
3988
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
2752
3989
|
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
2753
|
-
"TARGET_COLLECTION_AMOUNT": "
|
|
3990
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
2754
3991
|
"V4_LP_FEE": "20000",
|
|
2755
|
-
"V4_LIQUIDITY_CONFIG": "
|
|
3992
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
2756
3993
|
}
|
|
2757
|
-
|
|
3994
|
+
}
|
|
2758
3995
|
},
|
|
2759
3996
|
"1.0.12": {
|
|
2760
3997
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
@@ -2848,8 +4085,8 @@ var chainConfigs = {
|
|
|
2848
4085
|
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
2849
4086
|
"V4_LP_FEE": "20000",
|
|
2850
4087
|
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
2851
|
-
"COLLATERAL_TEMPLATES":
|
|
2852
|
-
{
|
|
4088
|
+
"COLLATERAL_TEMPLATES": {
|
|
4089
|
+
"ETH": {
|
|
2853
4090
|
"ID": "ETH_DEFAULT",
|
|
2854
4091
|
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
2855
4092
|
"SYMBOL": "ETH",
|
|
@@ -2870,48 +4107,48 @@ var chainConfigs = {
|
|
|
2870
4107
|
"V4_LP_FEE": "20000",
|
|
2871
4108
|
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
2872
4109
|
},
|
|
2873
|
-
{
|
|
4110
|
+
"USDC": {
|
|
2874
4111
|
"ID": "USDC_DEFAULT",
|
|
2875
4112
|
"COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
|
|
2876
4113
|
"SYMBOL": "USDC",
|
|
2877
4114
|
"DECIMALS": 6,
|
|
2878
4115
|
"ENABLED": true,
|
|
2879
4116
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
2880
|
-
"VIRTUAL_TOKEN_RESERVES": "
|
|
2881
|
-
"VIRTUAL_COLLATERAL_RESERVES": "
|
|
4117
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4118
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
2882
4119
|
"FEE_BASIS_POINTS": "200",
|
|
2883
|
-
"FIXED_MIGRATION_FEE": "
|
|
2884
|
-
"POOL_CREATION_FEE": "
|
|
2885
|
-
"FIRST_BUY_FEE": "
|
|
2886
|
-
"MC_UPPER_LIMIT": "
|
|
2887
|
-
"MC_LOWER_LIMIT": "
|
|
4120
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4121
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4122
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4123
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4124
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
2888
4125
|
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
2889
|
-
"TARGET_USDC_COLLECTION_AMOUNT": "
|
|
2890
|
-
"TARGET_COLLECTION_AMOUNT": "
|
|
4126
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4127
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
2891
4128
|
"V4_LP_FEE": "20000",
|
|
2892
|
-
"V4_LIQUIDITY_CONFIG": "
|
|
4129
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
2893
4130
|
},
|
|
2894
|
-
{
|
|
4131
|
+
"SOL": {
|
|
2895
4132
|
"ID": "SOL_DEFAULT",
|
|
2896
4133
|
"COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
|
|
2897
4134
|
"SYMBOL": "SOL",
|
|
2898
4135
|
"DECIMALS": 9,
|
|
2899
4136
|
"ENABLED": true,
|
|
2900
4137
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
2901
|
-
"VIRTUAL_TOKEN_RESERVES": "
|
|
2902
|
-
"VIRTUAL_COLLATERAL_RESERVES": "
|
|
4138
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4139
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
2903
4140
|
"FEE_BASIS_POINTS": "200",
|
|
2904
|
-
"FIXED_MIGRATION_FEE": "
|
|
2905
|
-
"POOL_CREATION_FEE": "
|
|
2906
|
-
"FIRST_BUY_FEE": "
|
|
2907
|
-
"MC_UPPER_LIMIT": "
|
|
2908
|
-
"MC_LOWER_LIMIT": "
|
|
4141
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4142
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4143
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4144
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4145
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
2909
4146
|
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
2910
|
-
"TARGET_COLLECTION_AMOUNT": "
|
|
4147
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
2911
4148
|
"V4_LP_FEE": "20000",
|
|
2912
|
-
"V4_LIQUIDITY_CONFIG": "
|
|
4149
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
2913
4150
|
}
|
|
2914
|
-
|
|
4151
|
+
}
|
|
2915
4152
|
}
|
|
2916
4153
|
}
|
|
2917
4154
|
};
|
|
@@ -2923,9 +4160,15 @@ var chainConfigs = {
|
|
|
2923
4160
|
basememeFactoryImplABI,
|
|
2924
4161
|
basememeFactoryImplAddress,
|
|
2925
4162
|
basememeFactoryImplConfig,
|
|
4163
|
+
basememeFactoryTradeHelperABI,
|
|
4164
|
+
basememeFactoryTradeHelperAddress,
|
|
4165
|
+
basememeFactoryTradeHelperConfig,
|
|
2926
4166
|
basememeTokenABI,
|
|
2927
4167
|
basememeTokenAddress,
|
|
2928
4168
|
basememeTokenConfig,
|
|
4169
|
+
basememeTokenSwapABI,
|
|
4170
|
+
basememeTokenSwapAddress,
|
|
4171
|
+
basememeTokenSwapConfig,
|
|
2929
4172
|
bondingCurveABI,
|
|
2930
4173
|
bondingCurveAddress,
|
|
2931
4174
|
bondingCurveConfig,
|