basememe-v4-contracts-configs 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -26,9 +26,15 @@ __export(package_exports, {
26
26
  basememeFactoryImplABI: () => basememeFactoryImplABI,
27
27
  basememeFactoryImplAddress: () => basememeFactoryImplAddress,
28
28
  basememeFactoryImplConfig: () => basememeFactoryImplConfig,
29
+ basememeFactoryTradeHelperABI: () => basememeFactoryTradeHelperABI,
30
+ basememeFactoryTradeHelperAddress: () => basememeFactoryTradeHelperAddress,
31
+ basememeFactoryTradeHelperConfig: () => basememeFactoryTradeHelperConfig,
29
32
  basememeTokenABI: () => basememeTokenABI,
30
33
  basememeTokenAddress: () => basememeTokenAddress,
31
34
  basememeTokenConfig: () => basememeTokenConfig,
35
+ basememeTokenSwapABI: () => basememeTokenSwapABI,
36
+ basememeTokenSwapAddress: () => basememeTokenSwapAddress,
37
+ basememeTokenSwapConfig: () => basememeTokenSwapConfig,
32
38
  bondingCurveABI: () => bondingCurveABI,
33
39
  bondingCurveAddress: () => bondingCurveAddress,
34
40
  bondingCurveConfig: () => bondingCurveConfig,
@@ -1247,8 +1253,10 @@ var basememeFactoryImplABI = [
1247
1253
  name: "InsufficientBalance"
1248
1254
  },
1249
1255
  { type: "error", inputs: [], name: "InvalidExactInCollateralAmount" },
1256
+ { type: "error", inputs: [], name: "InvalidFrom" },
1250
1257
  { type: "error", inputs: [], name: "InvalidInitialization" },
1251
1258
  { type: "error", inputs: [], name: "InvalidNonce" },
1259
+ { type: "error", inputs: [], name: "InvalidRecipient" },
1252
1260
  { type: "error", inputs: [], name: "InvalidSignature" },
1253
1261
  { type: "error", inputs: [], name: "InvalidV4Contracts" },
1254
1262
  { type: "error", inputs: [], name: "McLowerLimitGreaterThanUpperLimit" },
@@ -1270,6 +1278,11 @@ var basememeFactoryImplABI = [
1270
1278
  name: "OwnableUnauthorizedAccount"
1271
1279
  },
1272
1280
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
1281
+ {
1282
+ type: "error",
1283
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1284
+ name: "SafeERC20FailedOperation"
1285
+ },
1273
1286
  { type: "error", inputs: [], name: "SignerZeroValue" },
1274
1287
  { type: "error", inputs: [], name: "TokensMigrationThresholdZeroValue" },
1275
1288
  { type: "error", inputs: [], name: "TotalSupplyWrongValue" },
@@ -1287,118 +1300,61 @@ var basememeFactoryImplABI = [
1287
1300
  ];
1288
1301
  var basememeFactoryImplAddress = {
1289
1302
  8453: "0x0000000000000000000000000000000000000000",
1290
- 84532: "0xA77f20116d3386b46105ea2623c50ffF53594ec7"
1303
+ 84532: "0xD5b632Eb60Ebf8a4E924890e4599557D3bFEa6BA"
1291
1304
  };
1292
1305
  var basememeFactoryImplConfig = {
1293
1306
  address: basememeFactoryImplAddress,
1294
1307
  abi: basememeFactoryImplABI
1295
1308
  };
1296
- var basememeTokenABI = [
1309
+ var basememeFactoryTradeHelperABI = [
1297
1310
  { stateMutability: "nonpayable", type: "constructor", inputs: [] },
1311
+ { stateMutability: "payable", type: "receive" },
1298
1312
  {
1299
1313
  stateMutability: "view",
1300
1314
  type: "function",
1301
- inputs: [
1302
- { name: "owner", internalType: "address", type: "address" },
1303
- { name: "spender", internalType: "address", type: "address" }
1304
- ],
1305
- name: "allowance",
1306
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1307
- },
1308
- {
1309
- stateMutability: "nonpayable",
1310
- type: "function",
1311
- inputs: [
1312
- { name: "spender", internalType: "address", type: "address" },
1313
- { name: "value", internalType: "uint256", type: "uint256" }
1314
- ],
1315
- name: "approve",
1316
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1317
- },
1318
- {
1319
- stateMutability: "view",
1320
- type: "function",
1321
- inputs: [{ name: "account", internalType: "address", type: "address" }],
1322
- name: "balanceOf",
1323
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1324
- },
1325
- {
1326
- stateMutability: "nonpayable",
1327
- type: "function",
1328
- inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
1329
- name: "burn",
1330
- outputs: []
1331
- },
1332
- {
1333
- stateMutability: "nonpayable",
1334
- type: "function",
1335
- inputs: [
1336
- { name: "account", internalType: "address", type: "address" },
1337
- { name: "value", internalType: "uint256", type: "uint256" }
1338
- ],
1339
- name: "burnFrom",
1340
- outputs: []
1341
- },
1342
- {
1343
- stateMutability: "view",
1344
- type: "function",
1345
- inputs: [],
1346
- name: "contractURI",
1347
- outputs: [{ name: "", internalType: "string", type: "string" }]
1348
- },
1349
- {
1350
- stateMutability: "pure",
1351
- type: "function",
1352
1315
  inputs: [],
1353
- name: "contractVersion",
1316
+ name: "UPGRADE_INTERFACE_VERSION",
1354
1317
  outputs: [{ name: "", internalType: "string", type: "string" }]
1355
1318
  },
1356
1319
  {
1357
- stateMutability: "view",
1320
+ stateMutability: "payable",
1358
1321
  type: "function",
1359
- inputs: [],
1360
- name: "decimals",
1361
- outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
1322
+ inputs: [
1323
+ { name: "token", internalType: "address", type: "address" },
1324
+ { name: "funds", internalType: "uint256", type: "uint256" },
1325
+ { name: "minTokenOut", internalType: "uint256", type: "uint256" },
1326
+ { name: "tradeReferrer", internalType: "address", type: "address" }
1327
+ ],
1328
+ name: "buyWithEth",
1329
+ outputs: [
1330
+ { name: "tokenOut", internalType: "uint256", type: "uint256" },
1331
+ { name: "refundOut", internalType: "uint256", type: "uint256" }
1332
+ ]
1362
1333
  },
1363
1334
  {
1364
1335
  stateMutability: "view",
1365
1336
  type: "function",
1366
1337
  inputs: [],
1367
1338
  name: "factory",
1368
- outputs: [{ name: "", internalType: "address", type: "address" }]
1339
+ outputs: [
1340
+ {
1341
+ name: "",
1342
+ internalType: "contract IBasememeFactoryImpl",
1343
+ type: "address"
1344
+ }
1345
+ ]
1369
1346
  },
1370
1347
  {
1371
1348
  stateMutability: "nonpayable",
1372
1349
  type: "function",
1373
1350
  inputs: [
1374
- {
1375
- name: "_params",
1376
- internalType: "struct IBasememeToken.ConstructorParams",
1377
- type: "tuple",
1378
- components: [
1379
- { name: "name", internalType: "string", type: "string" },
1380
- { name: "symbol", internalType: "string", type: "string" },
1381
- { name: "tokenURI", internalType: "string", type: "string" },
1382
- { name: "factory", internalType: "address", type: "address" },
1383
- { name: "bondingCurve", internalType: "address", type: "address" },
1384
- {
1385
- name: "initialTokenSupply",
1386
- internalType: "uint256",
1387
- type: "uint256"
1388
- }
1389
- ]
1390
- }
1351
+ { name: "owner_", internalType: "address", type: "address" },
1352
+ { name: "factory_", internalType: "address", type: "address" },
1353
+ { name: "tokenSwap_", internalType: "address", type: "address" }
1391
1354
  ],
1392
1355
  name: "initialize",
1393
1356
  outputs: []
1394
1357
  },
1395
- {
1396
- stateMutability: "view",
1397
- type: "function",
1398
- inputs: [],
1399
- name: "name",
1400
- outputs: [{ name: "", internalType: "string", type: "string" }]
1401
- },
1402
1358
  {
1403
1359
  stateMutability: "view",
1404
1360
  type: "function",
@@ -1407,84 +1363,74 @@ var basememeTokenABI = [
1407
1363
  outputs: [{ name: "", internalType: "address", type: "address" }]
1408
1364
  },
1409
1365
  {
1410
- stateMutability: "nonpayable",
1366
+ stateMutability: "view",
1411
1367
  type: "function",
1412
1368
  inputs: [],
1413
- name: "renounceOwnership",
1414
- outputs: []
1369
+ name: "proxiableUUID",
1370
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1415
1371
  },
1416
1372
  {
1417
1373
  stateMutability: "nonpayable",
1418
1374
  type: "function",
1419
1375
  inputs: [
1420
- {
1421
- name: "mode",
1422
- internalType: "enum IBasememeToken.TransferMode",
1423
- type: "uint8"
1424
- }
1376
+ { name: "token", internalType: "address", type: "address" },
1377
+ { name: "collateralIn", internalType: "uint256", type: "uint256" }
1425
1378
  ],
1426
- name: "setTransferMode",
1427
- outputs: []
1428
- },
1429
- {
1430
- stateMutability: "pure",
1431
- type: "function",
1432
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1433
- name: "supportsInterface",
1434
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1435
- },
1436
- {
1437
- stateMutability: "view",
1438
- type: "function",
1439
- inputs: [],
1440
- name: "symbol",
1441
- outputs: [{ name: "", internalType: "string", type: "string" }]
1379
+ name: "quoteCollateralToEthForToken",
1380
+ outputs: [
1381
+ { name: "collateralToken", internalType: "address", type: "address" },
1382
+ { name: "ethOut", internalType: "uint256", type: "uint256" }
1383
+ ]
1442
1384
  },
1443
1385
  {
1444
- stateMutability: "view",
1386
+ stateMutability: "nonpayable",
1445
1387
  type: "function",
1446
- inputs: [],
1447
- name: "tokenURI",
1448
- outputs: [{ name: "", internalType: "string", type: "string" }]
1388
+ inputs: [
1389
+ { name: "token", internalType: "address", type: "address" },
1390
+ { name: "ethIn", internalType: "uint256", type: "uint256" }
1391
+ ],
1392
+ name: "quoteEthToCollateralForToken",
1393
+ outputs: [
1394
+ { name: "collateralToken", internalType: "address", type: "address" },
1395
+ { name: "collateralOut", internalType: "uint256", type: "uint256" }
1396
+ ]
1449
1397
  },
1450
1398
  {
1451
- stateMutability: "view",
1399
+ stateMutability: "nonpayable",
1452
1400
  type: "function",
1453
1401
  inputs: [],
1454
- name: "totalSupply",
1455
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1402
+ name: "renounceOwnership",
1403
+ outputs: []
1456
1404
  },
1457
1405
  {
1458
1406
  stateMutability: "nonpayable",
1459
1407
  type: "function",
1460
1408
  inputs: [
1461
- { name: "to", internalType: "address", type: "address" },
1462
- { name: "value", internalType: "uint256", type: "uint256" }
1409
+ { name: "token", internalType: "address", type: "address" },
1410
+ { name: "tokenAmountIn", internalType: "uint256", type: "uint256" },
1411
+ { name: "minEthOut", internalType: "uint256", type: "uint256" },
1412
+ { name: "tradeReferrer", internalType: "address", type: "address" }
1463
1413
  ],
1464
- name: "transfer",
1465
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1414
+ name: "sellForEth",
1415
+ outputs: [{ name: "ethOut", internalType: "uint256", type: "uint256" }]
1466
1416
  },
1467
1417
  {
1468
1418
  stateMutability: "nonpayable",
1469
1419
  type: "function",
1470
- inputs: [
1471
- { name: "from", internalType: "address", type: "address" },
1472
- { name: "to", internalType: "address", type: "address" },
1473
- { name: "value", internalType: "uint256", type: "uint256" }
1474
- ],
1475
- name: "transferFrom",
1476
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1420
+ inputs: [{ name: "tokenSwap_", internalType: "address", type: "address" }],
1421
+ name: "setTokenSwap",
1422
+ outputs: []
1477
1423
  },
1478
1424
  {
1479
1425
  stateMutability: "view",
1480
1426
  type: "function",
1481
1427
  inputs: [],
1482
- name: "transferMode",
1428
+ name: "tokenSwap",
1483
1429
  outputs: [
1484
1430
  {
1485
1431
  name: "",
1486
- internalType: "enum IBasememeToken.TransferMode",
1487
- type: "uint8"
1432
+ internalType: "contract IBasememeTokenSwap",
1433
+ type: "address"
1488
1434
  }
1489
1435
  ]
1490
1436
  },
@@ -1495,32 +1441,77 @@ var basememeTokenABI = [
1495
1441
  name: "transferOwnership",
1496
1442
  outputs: []
1497
1443
  },
1444
+ {
1445
+ stateMutability: "payable",
1446
+ type: "function",
1447
+ inputs: [
1448
+ { name: "newImplementation", internalType: "address", type: "address" },
1449
+ { name: "data", internalType: "bytes", type: "bytes" }
1450
+ ],
1451
+ name: "upgradeToAndCall",
1452
+ outputs: []
1453
+ },
1498
1454
  {
1499
1455
  type: "event",
1500
1456
  anonymous: false,
1501
1457
  inputs: [
1502
1458
  {
1503
- name: "owner",
1459
+ name: "caller",
1504
1460
  internalType: "address",
1505
1461
  type: "address",
1506
1462
  indexed: true
1507
1463
  },
1508
1464
  {
1509
- name: "spender",
1465
+ name: "token",
1510
1466
  internalType: "address",
1511
1467
  type: "address",
1512
1468
  indexed: true
1513
1469
  },
1514
1470
  {
1515
- name: "value",
1471
+ name: "recipient",
1472
+ internalType: "address",
1473
+ type: "address",
1474
+ indexed: true
1475
+ },
1476
+ {
1477
+ name: "fundsIn",
1478
+ internalType: "uint256",
1479
+ type: "uint256",
1480
+ indexed: false
1481
+ },
1482
+ {
1483
+ name: "minTokenOut",
1484
+ internalType: "uint256",
1485
+ type: "uint256",
1486
+ indexed: false
1487
+ },
1488
+ {
1489
+ name: "tradeReferrer",
1490
+ internalType: "address",
1491
+ type: "address",
1492
+ indexed: false
1493
+ },
1494
+ {
1495
+ name: "collateralToken",
1496
+ internalType: "address",
1497
+ type: "address",
1498
+ indexed: false
1499
+ },
1500
+ {
1501
+ name: "tokenOut",
1502
+ internalType: "uint256",
1503
+ type: "uint256",
1504
+ indexed: false
1505
+ },
1506
+ {
1507
+ name: "refundOut",
1516
1508
  internalType: "uint256",
1517
1509
  type: "uint256",
1518
1510
  indexed: false
1519
1511
  }
1520
1512
  ],
1521
- name: "Approval"
1513
+ name: "BuyWithEth"
1522
1514
  },
1523
- { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1524
1515
  {
1525
1516
  type: "event",
1526
1517
  anonymous: false,
@@ -1558,113 +1549,949 @@ var basememeTokenABI = [
1558
1549
  anonymous: false,
1559
1550
  inputs: [
1560
1551
  {
1561
- name: "sender",
1552
+ name: "caller",
1562
1553
  internalType: "address",
1563
1554
  type: "address",
1564
1555
  indexed: true
1565
1556
  },
1566
1557
  {
1567
- name: "recipient",
1558
+ name: "token",
1568
1559
  internalType: "address",
1569
1560
  type: "address",
1570
1561
  indexed: true
1571
1562
  },
1572
1563
  {
1573
- name: "amount",
1564
+ name: "from",
1565
+ internalType: "address",
1566
+ type: "address",
1567
+ indexed: false
1568
+ },
1569
+ {
1570
+ name: "tokenIn",
1574
1571
  internalType: "uint256",
1575
1572
  type: "uint256",
1576
1573
  indexed: false
1577
1574
  },
1578
1575
  {
1579
- name: "senderBalance",
1576
+ name: "minEthOut",
1580
1577
  internalType: "uint256",
1581
1578
  type: "uint256",
1582
1579
  indexed: false
1583
1580
  },
1584
1581
  {
1585
- name: "recipientBalance",
1582
+ name: "tradeReferrer",
1583
+ internalType: "address",
1584
+ type: "address",
1585
+ indexed: false
1586
+ },
1587
+ {
1588
+ name: "collateralToken",
1589
+ internalType: "address",
1590
+ type: "address",
1591
+ indexed: false
1592
+ },
1593
+ {
1594
+ name: "collateralOut",
1595
+ internalType: "uint256",
1596
+ type: "uint256",
1597
+ indexed: false
1598
+ },
1599
+ {
1600
+ name: "ethOut",
1586
1601
  internalType: "uint256",
1587
1602
  type: "uint256",
1588
1603
  indexed: false
1589
1604
  }
1590
1605
  ],
1591
- name: "TokensTransferred"
1606
+ name: "SellForEth"
1592
1607
  },
1593
1608
  {
1594
1609
  type: "event",
1595
1610
  anonymous: false,
1596
1611
  inputs: [
1597
- { name: "from", internalType: "address", type: "address", indexed: true },
1598
- { name: "to", internalType: "address", type: "address", indexed: true },
1599
1612
  {
1600
- name: "value",
1601
- internalType: "uint256",
1602
- type: "uint256",
1603
- indexed: false
1613
+ name: "implementation",
1614
+ internalType: "address",
1615
+ type: "address",
1616
+ indexed: true
1604
1617
  }
1605
1618
  ],
1606
- name: "Transfer"
1619
+ name: "Upgraded"
1620
+ },
1621
+ {
1622
+ type: "error",
1623
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1624
+ name: "AddressEmptyCode"
1607
1625
  },
1608
1626
  {
1609
1627
  type: "error",
1610
1628
  inputs: [
1611
- { name: "spender", internalType: "address", type: "address" },
1612
- { name: "allowance", internalType: "uint256", type: "uint256" },
1613
- { name: "needed", internalType: "uint256", type: "uint256" }
1629
+ { name: "implementation", internalType: "address", type: "address" }
1614
1630
  ],
1615
- name: "ERC20InsufficientAllowance"
1631
+ name: "ERC1967InvalidImplementation"
1616
1632
  },
1633
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1634
+ { type: "error", inputs: [], name: "FailedCall" },
1617
1635
  {
1618
1636
  type: "error",
1619
1637
  inputs: [
1620
- { name: "sender", internalType: "address", type: "address" },
1621
1638
  { name: "balance", internalType: "uint256", type: "uint256" },
1622
1639
  { name: "needed", internalType: "uint256", type: "uint256" }
1623
1640
  ],
1624
- name: "ERC20InsufficientBalance"
1641
+ name: "InsufficientBalance"
1625
1642
  },
1643
+ { type: "error", inputs: [], name: "InvalidFunds" },
1644
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1645
+ { type: "error", inputs: [], name: "NotInitializing" },
1626
1646
  {
1627
1647
  type: "error",
1628
- inputs: [{ name: "approver", internalType: "address", type: "address" }],
1629
- name: "ERC20InvalidApprover"
1648
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1649
+ name: "OwnableInvalidOwner"
1630
1650
  },
1631
1651
  {
1632
1652
  type: "error",
1633
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
1634
- name: "ERC20InvalidReceiver"
1653
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1654
+ name: "OwnableUnauthorizedAccount"
1635
1655
  },
1656
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
1636
1657
  {
1637
1658
  type: "error",
1638
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
1639
- name: "ERC20InvalidSender"
1659
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1660
+ name: "SafeERC20FailedOperation"
1640
1661
  },
1662
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1641
1663
  {
1642
1664
  type: "error",
1643
- inputs: [{ name: "spender", internalType: "address", type: "address" }],
1644
- name: "ERC20InvalidSpender"
1665
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1666
+ name: "UUPSUnsupportedProxiableUUID"
1667
+ }
1668
+ ];
1669
+ var basememeFactoryTradeHelperAddress = {
1670
+ 84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9"
1671
+ };
1672
+ var basememeFactoryTradeHelperConfig = {
1673
+ address: basememeFactoryTradeHelperAddress,
1674
+ abi: basememeFactoryTradeHelperABI
1675
+ };
1676
+ var basememeTokenABI = [
1677
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
1678
+ {
1679
+ stateMutability: "view",
1680
+ type: "function",
1681
+ inputs: [
1682
+ { name: "owner", internalType: "address", type: "address" },
1683
+ { name: "spender", internalType: "address", type: "address" }
1684
+ ],
1685
+ name: "allowance",
1686
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1645
1687
  },
1646
- { type: "error", inputs: [], name: "InvalidInitialization" },
1647
- { type: "error", inputs: [], name: "NotInitializing" },
1688
+ {
1689
+ stateMutability: "nonpayable",
1690
+ type: "function",
1691
+ inputs: [
1692
+ { name: "spender", internalType: "address", type: "address" },
1693
+ { name: "value", internalType: "uint256", type: "uint256" }
1694
+ ],
1695
+ name: "approve",
1696
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1697
+ },
1698
+ {
1699
+ stateMutability: "view",
1700
+ type: "function",
1701
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1702
+ name: "balanceOf",
1703
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1704
+ },
1705
+ {
1706
+ stateMutability: "nonpayable",
1707
+ type: "function",
1708
+ inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
1709
+ name: "burn",
1710
+ outputs: []
1711
+ },
1712
+ {
1713
+ stateMutability: "nonpayable",
1714
+ type: "function",
1715
+ inputs: [
1716
+ { name: "account", internalType: "address", type: "address" },
1717
+ { name: "value", internalType: "uint256", type: "uint256" }
1718
+ ],
1719
+ name: "burnFrom",
1720
+ outputs: []
1721
+ },
1722
+ {
1723
+ stateMutability: "view",
1724
+ type: "function",
1725
+ inputs: [],
1726
+ name: "contractURI",
1727
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1728
+ },
1729
+ {
1730
+ stateMutability: "pure",
1731
+ type: "function",
1732
+ inputs: [],
1733
+ name: "contractVersion",
1734
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1735
+ },
1736
+ {
1737
+ stateMutability: "view",
1738
+ type: "function",
1739
+ inputs: [],
1740
+ name: "decimals",
1741
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
1742
+ },
1743
+ {
1744
+ stateMutability: "view",
1745
+ type: "function",
1746
+ inputs: [],
1747
+ name: "factory",
1748
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1749
+ },
1750
+ {
1751
+ stateMutability: "nonpayable",
1752
+ type: "function",
1753
+ inputs: [
1754
+ {
1755
+ name: "_params",
1756
+ internalType: "struct IBasememeToken.ConstructorParams",
1757
+ type: "tuple",
1758
+ components: [
1759
+ { name: "name", internalType: "string", type: "string" },
1760
+ { name: "symbol", internalType: "string", type: "string" },
1761
+ { name: "tokenURI", internalType: "string", type: "string" },
1762
+ { name: "factory", internalType: "address", type: "address" },
1763
+ { name: "bondingCurve", internalType: "address", type: "address" },
1764
+ {
1765
+ name: "initialTokenSupply",
1766
+ internalType: "uint256",
1767
+ type: "uint256"
1768
+ }
1769
+ ]
1770
+ }
1771
+ ],
1772
+ name: "initialize",
1773
+ outputs: []
1774
+ },
1775
+ {
1776
+ stateMutability: "view",
1777
+ type: "function",
1778
+ inputs: [],
1779
+ name: "name",
1780
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1781
+ },
1782
+ {
1783
+ stateMutability: "view",
1784
+ type: "function",
1785
+ inputs: [],
1786
+ name: "owner",
1787
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1788
+ },
1789
+ {
1790
+ stateMutability: "nonpayable",
1791
+ type: "function",
1792
+ inputs: [],
1793
+ name: "renounceOwnership",
1794
+ outputs: []
1795
+ },
1796
+ {
1797
+ stateMutability: "nonpayable",
1798
+ type: "function",
1799
+ inputs: [
1800
+ {
1801
+ name: "mode",
1802
+ internalType: "enum IBasememeToken.TransferMode",
1803
+ type: "uint8"
1804
+ }
1805
+ ],
1806
+ name: "setTransferMode",
1807
+ outputs: []
1808
+ },
1809
+ {
1810
+ stateMutability: "pure",
1811
+ type: "function",
1812
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1813
+ name: "supportsInterface",
1814
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1815
+ },
1816
+ {
1817
+ stateMutability: "view",
1818
+ type: "function",
1819
+ inputs: [],
1820
+ name: "symbol",
1821
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1822
+ },
1823
+ {
1824
+ stateMutability: "view",
1825
+ type: "function",
1826
+ inputs: [],
1827
+ name: "tokenURI",
1828
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1829
+ },
1830
+ {
1831
+ stateMutability: "view",
1832
+ type: "function",
1833
+ inputs: [],
1834
+ name: "totalSupply",
1835
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1836
+ },
1837
+ {
1838
+ stateMutability: "nonpayable",
1839
+ type: "function",
1840
+ inputs: [
1841
+ { name: "to", internalType: "address", type: "address" },
1842
+ { name: "value", internalType: "uint256", type: "uint256" }
1843
+ ],
1844
+ name: "transfer",
1845
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1846
+ },
1847
+ {
1848
+ stateMutability: "nonpayable",
1849
+ type: "function",
1850
+ inputs: [
1851
+ { name: "from", internalType: "address", type: "address" },
1852
+ { name: "to", internalType: "address", type: "address" },
1853
+ { name: "value", internalType: "uint256", type: "uint256" }
1854
+ ],
1855
+ name: "transferFrom",
1856
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1857
+ },
1858
+ {
1859
+ stateMutability: "view",
1860
+ type: "function",
1861
+ inputs: [],
1862
+ name: "transferMode",
1863
+ outputs: [
1864
+ {
1865
+ name: "",
1866
+ internalType: "enum IBasememeToken.TransferMode",
1867
+ type: "uint8"
1868
+ }
1869
+ ]
1870
+ },
1871
+ {
1872
+ stateMutability: "nonpayable",
1873
+ type: "function",
1874
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1875
+ name: "transferOwnership",
1876
+ outputs: []
1877
+ },
1878
+ {
1879
+ type: "event",
1880
+ anonymous: false,
1881
+ inputs: [
1882
+ {
1883
+ name: "owner",
1884
+ internalType: "address",
1885
+ type: "address",
1886
+ indexed: true
1887
+ },
1888
+ {
1889
+ name: "spender",
1890
+ internalType: "address",
1891
+ type: "address",
1892
+ indexed: true
1893
+ },
1894
+ {
1895
+ name: "value",
1896
+ internalType: "uint256",
1897
+ type: "uint256",
1898
+ indexed: false
1899
+ }
1900
+ ],
1901
+ name: "Approval"
1902
+ },
1903
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1904
+ {
1905
+ type: "event",
1906
+ anonymous: false,
1907
+ inputs: [
1908
+ {
1909
+ name: "version",
1910
+ internalType: "uint64",
1911
+ type: "uint64",
1912
+ indexed: false
1913
+ }
1914
+ ],
1915
+ name: "Initialized"
1916
+ },
1917
+ {
1918
+ type: "event",
1919
+ anonymous: false,
1920
+ inputs: [
1921
+ {
1922
+ name: "previousOwner",
1923
+ internalType: "address",
1924
+ type: "address",
1925
+ indexed: true
1926
+ },
1927
+ {
1928
+ name: "newOwner",
1929
+ internalType: "address",
1930
+ type: "address",
1931
+ indexed: true
1932
+ }
1933
+ ],
1934
+ name: "OwnershipTransferred"
1935
+ },
1936
+ {
1937
+ type: "event",
1938
+ anonymous: false,
1939
+ inputs: [
1940
+ {
1941
+ name: "sender",
1942
+ internalType: "address",
1943
+ type: "address",
1944
+ indexed: true
1945
+ },
1946
+ {
1947
+ name: "recipient",
1948
+ internalType: "address",
1949
+ type: "address",
1950
+ indexed: true
1951
+ },
1952
+ {
1953
+ name: "amount",
1954
+ internalType: "uint256",
1955
+ type: "uint256",
1956
+ indexed: false
1957
+ },
1958
+ {
1959
+ name: "senderBalance",
1960
+ internalType: "uint256",
1961
+ type: "uint256",
1962
+ indexed: false
1963
+ },
1964
+ {
1965
+ name: "recipientBalance",
1966
+ internalType: "uint256",
1967
+ type: "uint256",
1968
+ indexed: false
1969
+ }
1970
+ ],
1971
+ name: "TokensTransferred"
1972
+ },
1973
+ {
1974
+ type: "event",
1975
+ anonymous: false,
1976
+ inputs: [
1977
+ { name: "from", internalType: "address", type: "address", indexed: true },
1978
+ { name: "to", internalType: "address", type: "address", indexed: true },
1979
+ {
1980
+ name: "value",
1981
+ internalType: "uint256",
1982
+ type: "uint256",
1983
+ indexed: false
1984
+ }
1985
+ ],
1986
+ name: "Transfer"
1987
+ },
1988
+ {
1989
+ type: "error",
1990
+ inputs: [
1991
+ { name: "spender", internalType: "address", type: "address" },
1992
+ { name: "allowance", internalType: "uint256", type: "uint256" },
1993
+ { name: "needed", internalType: "uint256", type: "uint256" }
1994
+ ],
1995
+ name: "ERC20InsufficientAllowance"
1996
+ },
1997
+ {
1998
+ type: "error",
1999
+ inputs: [
2000
+ { name: "sender", internalType: "address", type: "address" },
2001
+ { name: "balance", internalType: "uint256", type: "uint256" },
2002
+ { name: "needed", internalType: "uint256", type: "uint256" }
2003
+ ],
2004
+ name: "ERC20InsufficientBalance"
2005
+ },
2006
+ {
2007
+ type: "error",
2008
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
2009
+ name: "ERC20InvalidApprover"
2010
+ },
2011
+ {
2012
+ type: "error",
2013
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
2014
+ name: "ERC20InvalidReceiver"
2015
+ },
2016
+ {
2017
+ type: "error",
2018
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
2019
+ name: "ERC20InvalidSender"
2020
+ },
2021
+ {
2022
+ type: "error",
2023
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
2024
+ name: "ERC20InvalidSpender"
2025
+ },
2026
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2027
+ { type: "error", inputs: [], name: "NotInitializing" },
2028
+ {
2029
+ type: "error",
2030
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2031
+ name: "OwnableInvalidOwner"
2032
+ },
2033
+ {
2034
+ type: "error",
2035
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2036
+ name: "OwnableUnauthorizedAccount"
2037
+ },
2038
+ { type: "error", inputs: [], name: "TransfersControlled" },
2039
+ { type: "error", inputs: [], name: "TransfersRestricted" }
2040
+ ];
2041
+ var basememeTokenAddress = {
2042
+ 8453: "0x0000000000000000000000000000000000000000",
2043
+ 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
2044
+ };
2045
+ var basememeTokenConfig = {
2046
+ address: basememeTokenAddress,
2047
+ abi: basememeTokenABI
2048
+ };
2049
+ var basememeTokenSwapABI = [
2050
+ { stateMutability: "nonpayable", type: "constructor", inputs: [] },
2051
+ { stateMutability: "payable", type: "receive" },
2052
+ {
2053
+ stateMutability: "view",
2054
+ type: "function",
2055
+ inputs: [],
2056
+ name: "UPGRADE_INTERFACE_VERSION",
2057
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2058
+ },
2059
+ {
2060
+ stateMutability: "view",
2061
+ type: "function",
2062
+ inputs: [
2063
+ { name: "collateralToken", internalType: "address", type: "address" }
2064
+ ],
2065
+ name: "getCollateralDex",
2066
+ outputs: [
2067
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2068
+ { name: "enabled", internalType: "bool", type: "bool" }
2069
+ ]
2070
+ },
2071
+ {
2072
+ stateMutability: "view",
2073
+ type: "function",
2074
+ inputs: [
2075
+ { name: "collateralToken", internalType: "address", type: "address" }
2076
+ ],
2077
+ name: "getCollateralV2Paths",
2078
+ outputs: [
2079
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2080
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2081
+ ]
2082
+ },
2083
+ {
2084
+ stateMutability: "view",
2085
+ type: "function",
2086
+ inputs: [
2087
+ { name: "collateralToken", internalType: "address", type: "address" }
2088
+ ],
2089
+ name: "getCollateralV3Paths",
2090
+ outputs: [
2091
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2092
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2093
+ ]
2094
+ },
2095
+ {
2096
+ stateMutability: "view",
2097
+ type: "function",
2098
+ inputs: [{ name: "dexId", internalType: "uint8", type: "uint8" }],
2099
+ name: "getDexConfig",
2100
+ outputs: [
2101
+ {
2102
+ name: "dexType",
2103
+ internalType: "enum IBasememeTokenSwap.DexType",
2104
+ type: "uint8"
2105
+ },
2106
+ { name: "enabled", internalType: "bool", type: "bool" },
2107
+ { name: "router", internalType: "address", type: "address" },
2108
+ { name: "quoter", internalType: "address", type: "address" },
2109
+ { name: "quoterKind", internalType: "uint8", type: "uint8" }
2110
+ ]
2111
+ },
2112
+ {
2113
+ stateMutability: "view",
2114
+ type: "function",
2115
+ inputs: [
2116
+ { name: "collateralToken", internalType: "address", type: "address" }
2117
+ ],
2118
+ name: "getRouteDexType",
2119
+ outputs: [
2120
+ {
2121
+ name: "",
2122
+ internalType: "enum IBasememeTokenSwap.DexType",
2123
+ type: "uint8"
2124
+ }
2125
+ ]
2126
+ },
2127
+ {
2128
+ stateMutability: "nonpayable",
2129
+ type: "function",
2130
+ inputs: [
2131
+ { name: "owner_", internalType: "address", type: "address" },
2132
+ { name: "weth_", internalType: "address", type: "address" }
2133
+ ],
2134
+ name: "initialize",
2135
+ outputs: []
2136
+ },
2137
+ {
2138
+ stateMutability: "view",
2139
+ type: "function",
2140
+ inputs: [],
2141
+ name: "owner",
2142
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2143
+ },
2144
+ {
2145
+ stateMutability: "view",
2146
+ type: "function",
2147
+ inputs: [],
2148
+ name: "proxiableUUID",
2149
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2150
+ },
2151
+ {
2152
+ stateMutability: "nonpayable",
2153
+ type: "function",
2154
+ inputs: [
2155
+ { name: "collateralToken", internalType: "address", type: "address" },
2156
+ { name: "amountInCollateral", internalType: "uint256", type: "uint256" }
2157
+ ],
2158
+ name: "quoteCollateralToEth",
2159
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2160
+ },
2161
+ {
2162
+ stateMutability: "nonpayable",
2163
+ type: "function",
2164
+ inputs: [
2165
+ { name: "collateralToken", internalType: "address", type: "address" },
2166
+ { name: "amountInEth", internalType: "uint256", type: "uint256" }
2167
+ ],
2168
+ name: "quoteEthToCollateral",
2169
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2170
+ },
2171
+ {
2172
+ stateMutability: "nonpayable",
2173
+ type: "function",
2174
+ inputs: [],
2175
+ name: "renounceOwnership",
2176
+ outputs: []
2177
+ },
2178
+ {
2179
+ stateMutability: "nonpayable",
2180
+ type: "function",
2181
+ inputs: [
2182
+ { name: "collateralToken", internalType: "address", type: "address" },
2183
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2184
+ { name: "enabled", internalType: "bool", type: "bool" },
2185
+ { name: "v2PathWethToCollateral", internalType: "bytes", type: "bytes" },
2186
+ { name: "v2PathCollateralToWeth", internalType: "bytes", type: "bytes" },
2187
+ { name: "v3PathWethToCollateral", internalType: "bytes", type: "bytes" },
2188
+ { name: "v3PathCollateralToWeth", internalType: "bytes", type: "bytes" }
2189
+ ],
2190
+ name: "setCollateralConfig",
2191
+ outputs: []
2192
+ },
2193
+ {
2194
+ stateMutability: "nonpayable",
2195
+ type: "function",
2196
+ inputs: [
2197
+ { name: "collateralToken", internalType: "address", type: "address" },
2198
+ { name: "dexId", internalType: "uint8", type: "uint8" }
2199
+ ],
2200
+ name: "setCollateralDex",
2201
+ outputs: []
2202
+ },
2203
+ {
2204
+ stateMutability: "nonpayable",
2205
+ type: "function",
2206
+ inputs: [
2207
+ { name: "collateralToken", internalType: "address", type: "address" },
2208
+ { name: "enabled", internalType: "bool", type: "bool" }
2209
+ ],
2210
+ name: "setCollateralEnabled",
2211
+ outputs: []
2212
+ },
2213
+ {
2214
+ stateMutability: "nonpayable",
2215
+ type: "function",
2216
+ inputs: [
2217
+ { name: "collateralToken", internalType: "address", type: "address" },
2218
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2219
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2220
+ ],
2221
+ name: "setCollateralV2Paths",
2222
+ outputs: []
2223
+ },
2224
+ {
2225
+ stateMutability: "nonpayable",
2226
+ type: "function",
2227
+ inputs: [
2228
+ { name: "collateralToken", internalType: "address", type: "address" },
2229
+ { name: "wethToCollateral", internalType: "bytes", type: "bytes" },
2230
+ { name: "collateralToWeth", internalType: "bytes", type: "bytes" }
2231
+ ],
2232
+ name: "setCollateralV3Paths",
2233
+ outputs: []
2234
+ },
2235
+ {
2236
+ stateMutability: "nonpayable",
2237
+ type: "function",
2238
+ inputs: [
2239
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2240
+ { name: "router", internalType: "address", type: "address" },
2241
+ { name: "enabled", internalType: "bool", type: "bool" }
2242
+ ],
2243
+ name: "setDexConfigV2",
2244
+ outputs: []
2245
+ },
2246
+ {
2247
+ stateMutability: "nonpayable",
2248
+ type: "function",
2249
+ inputs: [
2250
+ { name: "dexId", internalType: "uint8", type: "uint8" },
2251
+ { name: "swapRouter", internalType: "address", type: "address" },
2252
+ { name: "quoter", internalType: "address", type: "address" },
2253
+ { name: "enabled", internalType: "bool", type: "bool" },
2254
+ { name: "quoterKind", internalType: "uint8", type: "uint8" }
2255
+ ],
2256
+ name: "setDexConfigV3",
2257
+ outputs: []
2258
+ },
2259
+ {
2260
+ stateMutability: "nonpayable",
2261
+ type: "function",
2262
+ inputs: [
2263
+ { name: "collateralToken", internalType: "address", type: "address" },
2264
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
2265
+ { name: "amountOutMin", internalType: "uint256", type: "uint256" },
2266
+ { name: "deadline", internalType: "uint256", type: "uint256" },
2267
+ { name: "recipient", internalType: "address", type: "address" }
2268
+ ],
2269
+ name: "swapExactCollateralToEth",
2270
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2271
+ },
2272
+ {
2273
+ stateMutability: "payable",
2274
+ type: "function",
2275
+ inputs: [
2276
+ { name: "collateralToken", internalType: "address", type: "address" },
2277
+ { name: "amountOutMin", internalType: "uint256", type: "uint256" },
2278
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2279
+ ],
2280
+ name: "swapExactEthToCollateral",
2281
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
2282
+ },
2283
+ {
2284
+ stateMutability: "nonpayable",
2285
+ type: "function",
2286
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2287
+ name: "transferOwnership",
2288
+ outputs: []
2289
+ },
2290
+ {
2291
+ stateMutability: "payable",
2292
+ type: "function",
2293
+ inputs: [
2294
+ { name: "newImplementation", internalType: "address", type: "address" },
2295
+ { name: "data", internalType: "bytes", type: "bytes" }
2296
+ ],
2297
+ name: "upgradeToAndCall",
2298
+ outputs: []
2299
+ },
2300
+ {
2301
+ stateMutability: "view",
2302
+ type: "function",
2303
+ inputs: [],
2304
+ name: "weth",
2305
+ outputs: [{ name: "", internalType: "address", type: "address" }]
2306
+ },
2307
+ {
2308
+ type: "event",
2309
+ anonymous: false,
2310
+ inputs: [
2311
+ {
2312
+ name: "collateralToken",
2313
+ internalType: "address",
2314
+ type: "address",
2315
+ indexed: true
2316
+ },
2317
+ { name: "dexId", internalType: "uint8", type: "uint8", indexed: true }
2318
+ ],
2319
+ name: "CollateralDexSet"
2320
+ },
2321
+ {
2322
+ type: "event",
2323
+ anonymous: false,
2324
+ inputs: [
2325
+ {
2326
+ name: "collateralToken",
2327
+ internalType: "address",
2328
+ type: "address",
2329
+ indexed: true
2330
+ },
2331
+ { name: "enabled", internalType: "bool", type: "bool", indexed: false }
2332
+ ],
2333
+ name: "CollateralEnabled"
2334
+ },
2335
+ {
2336
+ type: "event",
2337
+ anonymous: false,
2338
+ inputs: [
2339
+ {
2340
+ name: "collateralToken",
2341
+ internalType: "address",
2342
+ type: "address",
2343
+ indexed: true
2344
+ }
2345
+ ],
2346
+ name: "CollateralV2PathsSet"
2347
+ },
2348
+ {
2349
+ type: "event",
2350
+ anonymous: false,
2351
+ inputs: [
2352
+ {
2353
+ name: "collateralToken",
2354
+ internalType: "address",
2355
+ type: "address",
2356
+ indexed: true
2357
+ }
2358
+ ],
2359
+ name: "CollateralV3PathsSet"
2360
+ },
2361
+ {
2362
+ type: "event",
2363
+ anonymous: false,
2364
+ inputs: [
2365
+ { name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
2366
+ {
2367
+ name: "dexType",
2368
+ internalType: "enum IBasememeTokenSwap.DexType",
2369
+ type: "uint8",
2370
+ indexed: false
2371
+ }
2372
+ ],
2373
+ name: "DexConfigured"
2374
+ },
2375
+ {
2376
+ type: "event",
2377
+ anonymous: false,
2378
+ inputs: [
2379
+ { name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
2380
+ { name: "enabled", internalType: "bool", type: "bool", indexed: false }
2381
+ ],
2382
+ name: "DexEnabled"
2383
+ },
2384
+ {
2385
+ type: "event",
2386
+ anonymous: false,
2387
+ inputs: [
2388
+ {
2389
+ name: "version",
2390
+ internalType: "uint64",
2391
+ type: "uint64",
2392
+ indexed: false
2393
+ }
2394
+ ],
2395
+ name: "Initialized"
2396
+ },
2397
+ {
2398
+ type: "event",
2399
+ anonymous: false,
2400
+ inputs: [
2401
+ {
2402
+ name: "previousOwner",
2403
+ internalType: "address",
2404
+ type: "address",
2405
+ indexed: true
2406
+ },
2407
+ {
2408
+ name: "newOwner",
2409
+ internalType: "address",
2410
+ type: "address",
2411
+ indexed: true
2412
+ }
2413
+ ],
2414
+ name: "OwnershipTransferred"
2415
+ },
2416
+ {
2417
+ type: "event",
2418
+ anonymous: false,
2419
+ inputs: [
2420
+ {
2421
+ name: "implementation",
2422
+ internalType: "address",
2423
+ type: "address",
2424
+ indexed: true
2425
+ }
2426
+ ],
2427
+ name: "Upgraded"
2428
+ },
2429
+ {
2430
+ type: "error",
2431
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2432
+ name: "AddressEmptyCode"
2433
+ },
2434
+ { type: "error", inputs: [], name: "CollateralMustBeDisabled" },
2435
+ { type: "error", inputs: [], name: "DeadlineExpired" },
2436
+ { type: "error", inputs: [], name: "DexDisabled" },
2437
+ { type: "error", inputs: [], name: "DexNotConfigured" },
2438
+ { type: "error", inputs: [], name: "DexTypeImmutable" },
2439
+ {
2440
+ type: "error",
2441
+ inputs: [
2442
+ { name: "implementation", internalType: "address", type: "address" }
2443
+ ],
2444
+ name: "ERC1967InvalidImplementation"
2445
+ },
2446
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2447
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
2448
+ { type: "error", inputs: [], name: "FailedCall" },
2449
+ {
2450
+ type: "error",
2451
+ inputs: [
2452
+ { name: "balance", internalType: "uint256", type: "uint256" },
2453
+ { name: "needed", internalType: "uint256", type: "uint256" }
2454
+ ],
2455
+ name: "InsufficientBalance"
2456
+ },
2457
+ { type: "error", inputs: [], name: "InvalidDexId" },
2458
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2459
+ { type: "error", inputs: [], name: "InvalidPath" },
2460
+ { type: "error", inputs: [], name: "InvalidRecipient" },
2461
+ { type: "error", inputs: [], name: "InvalidRouteConfig" },
2462
+ { type: "error", inputs: [], name: "NotInitializing" },
2463
+ {
2464
+ type: "error",
2465
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2466
+ name: "OwnableInvalidOwner"
2467
+ },
2468
+ {
2469
+ type: "error",
2470
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2471
+ name: "OwnableUnauthorizedAccount"
2472
+ },
2473
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2474
+ { type: "error", inputs: [], name: "RouteDisabled" },
2475
+ { type: "error", inputs: [], name: "RouteNotConfigured" },
1648
2476
  {
1649
2477
  type: "error",
1650
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
1651
- name: "OwnableInvalidOwner"
2478
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
2479
+ name: "SafeERC20FailedOperation"
1652
2480
  },
2481
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1653
2482
  {
1654
2483
  type: "error",
1655
- inputs: [{ name: "account", internalType: "address", type: "address" }],
1656
- name: "OwnableUnauthorizedAccount"
2484
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2485
+ name: "UUPSUnsupportedProxiableUUID"
1657
2486
  },
1658
- { type: "error", inputs: [], name: "TransfersControlled" },
1659
- { type: "error", inputs: [], name: "TransfersRestricted" }
2487
+ { type: "error", inputs: [], name: "UnsupportedDexType" }
1660
2488
  ];
1661
- var basememeTokenAddress = {
1662
- 8453: "0x0000000000000000000000000000000000000000",
1663
- 84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
2489
+ var basememeTokenSwapAddress = {
2490
+ 84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4"
1664
2491
  };
1665
- var basememeTokenConfig = {
1666
- address: basememeTokenAddress,
1667
- abi: basememeTokenABI
2492
+ var basememeTokenSwapConfig = {
2493
+ address: basememeTokenSwapAddress,
2494
+ abi: basememeTokenSwapABI
1668
2495
  };
1669
2496
  var bondingCurveABI = [
1670
2497
  {
@@ -2495,6 +3322,7 @@ var bondingCurveABI = [
2495
3322
  ],
2496
3323
  name: "CollectionTargetExceeded"
2497
3324
  },
3325
+ { type: "error", inputs: [], name: "ETHNotAllowedForERC20Market" },
2498
3326
  { type: "error", inputs: [], name: "FailedCall" },
2499
3327
  { type: "error", inputs: [], name: "FailedToSendETH" },
2500
3328
  { type: "error", inputs: [], name: "InitialTokenSupplyNotSet" },
@@ -2547,6 +3375,11 @@ var bondingCurveABI = [
2547
3375
  { type: "error", inputs: [], name: "PoolNotDeployed" },
2548
3376
  { type: "error", inputs: [], name: "PoolNotPreCreated" },
2549
3377
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3378
+ {
3379
+ type: "error",
3380
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3381
+ name: "SafeERC20FailedOperation"
3382
+ },
2550
3383
  { type: "error", inputs: [], name: "SlippageCheckFailed" },
2551
3384
  { type: "error", inputs: [], name: "TokenNotInitialized" },
2552
3385
  { type: "error", inputs: [], name: "TradingStopped" },
@@ -2572,7 +3405,7 @@ var bondingCurveABI = [
2572
3405
  ];
2573
3406
  var bondingCurveAddress = {
2574
3407
  8453: "0x0000000000000000000000000000000000000000",
2575
- 84532: "0x227F6D11D054a1F606dBC9D555fa58538208cc3c"
3408
+ 84532: "0xe891F626E5819a972F9263007807Bb4E70cA9522"
2576
3409
  };
2577
3410
  var bondingCurveConfig = {
2578
3411
  address: bondingCurveAddress,
@@ -2865,14 +3698,78 @@ var chainConfigs = {
2865
3698
  "WETH": "0x4200000000000000000000000000000000000006",
2866
3699
  "V3_POOL_FEE": "10000",
2867
3700
  "TRADE_REFERRER_FEE_BPS": "1000",
2868
- "CONTRACT_VERSION": "1.0.8",
3701
+ "CONTRACT_VERSION": "2.1.0",
2869
3702
  "V4_POOL_MANAGER": "0x498581ff718922c3f8e6a244956af099b2652b2b",
2870
3703
  "V4_POSITION_MANAGER": "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
2871
3704
  "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
2872
3705
  "UNIVERSAL_ROUTER": "0x6ff5693b99212da76ad316178a184ab56d299b43",
2873
3706
  "V4_LP_FEE": "20000",
2874
3707
  "V4_TICK_SPACING": "60",
2875
- "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3708
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
3709
+ "COLLATERAL_TEMPLATES": {
3710
+ "ETH": {
3711
+ "ID": "ETH_DEFAULT",
3712
+ "COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
3713
+ "SYMBOL": "ETH",
3714
+ "DECIMALS": 18,
3715
+ "ENABLED": true,
3716
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3717
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
3718
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
3719
+ "FEE_BASIS_POINTS": "200",
3720
+ "FIXED_MIGRATION_FEE": "100000000000000000",
3721
+ "POOL_CREATION_FEE": "50000000000000000",
3722
+ "FIRST_BUY_FEE": "1500000000000000",
3723
+ "MC_UPPER_LIMIT": "11835000000000000000",
3724
+ "MC_LOWER_LIMIT": "11795000000000000000",
3725
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
3726
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3727
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
3728
+ "V4_LP_FEE": "20000",
3729
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3730
+ },
3731
+ "USDC": {
3732
+ "ID": "USDC_DEFAULT",
3733
+ "COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
3734
+ "SYMBOL": "USDC",
3735
+ "DECIMALS": 6,
3736
+ "ENABLED": true,
3737
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3738
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
3739
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
3740
+ "FEE_BASIS_POINTS": "200",
3741
+ "FIXED_MIGRATION_FEE": "300000000",
3742
+ "POOL_CREATION_FEE": "200000000",
3743
+ "FIRST_BUY_FEE": "5000000",
3744
+ "MC_UPPER_LIMIT": "37560000000",
3745
+ "MC_LOWER_LIMIT": "37500000000",
3746
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3747
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
3748
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
3749
+ "V4_LP_FEE": "20000",
3750
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3751
+ },
3752
+ "SOL": {
3753
+ "ID": "SOL_DEFAULT",
3754
+ "COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
3755
+ "SYMBOL": "SOL",
3756
+ "DECIMALS": 9,
3757
+ "ENABLED": true,
3758
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3759
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
3760
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
3761
+ "FEE_BASIS_POINTS": "200",
3762
+ "FIXED_MIGRATION_FEE": "2400000000",
3763
+ "POOL_CREATION_FEE": "1600000000",
3764
+ "FIRST_BUY_FEE": "40000000",
3765
+ "MC_UPPER_LIMIT": "300480000003",
3766
+ "MC_LOWER_LIMIT": "300000000003",
3767
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3768
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
3769
+ "V4_LP_FEE": "20000",
3770
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3771
+ }
3772
+ }
2876
3773
  },
2877
3774
  "1.0.12": {
2878
3775
  "TOTAL_SUPPLY": "1000000000000000000000000000",
@@ -2933,6 +3830,104 @@ var chainConfigs = {
2933
3830
  "V4_LP_FEE": "20000",
2934
3831
  "V4_TICK_SPACING": "60",
2935
3832
  "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3833
+ },
3834
+ "2.1.0": {
3835
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3836
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
3837
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
3838
+ "FEE_BASIS_POINTS": "200",
3839
+ "DEX_FEE_BASIS_POINTS": "5000",
3840
+ "FIXED_MIGRATION_FEE": "100000000000000000",
3841
+ "POOL_CREATION_FEE": "50000000000000000",
3842
+ "FIRST_BUY_FEE": "1500000000000000",
3843
+ "MC_UPPER_LIMIT": "11835000000000000000",
3844
+ "MC_LOWER_LIMIT": "11795000000000000000",
3845
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
3846
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3847
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
3848
+ "SIGNER": "0x0000000000000000000000000000000000000000",
3849
+ "DEPLOYER": "0x30d197dd771d8f75378aad9428ed9d5e24bdbbbb",
3850
+ "FACTORY_OWNER": "0x2730B29aCbBCD34A59B720338e8d06619Fd71ACa",
3851
+ "PROTOCOL_REWARD_RECIPIENT": "0x2730B29aCbBCD34A59B720338e8d06619Fd71ACa",
3852
+ "UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
3853
+ "QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
3854
+ "SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
3855
+ "UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
3856
+ "WETH": "0x4200000000000000000000000000000000000006",
3857
+ "V3_POOL_FEE": "10000",
3858
+ "TRADE_REFERRER_FEE_BPS": "1000",
3859
+ "CONTRACT_VERSION": "2.1.0",
3860
+ "V4_POOL_MANAGER": "0x498581ff718922c3f8e6a244956af099b2652b2b",
3861
+ "V4_POSITION_MANAGER": "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
3862
+ "PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
3863
+ "UNIVERSAL_ROUTER": "0x6ff5693b99212da76ad316178a184ab56d299b43",
3864
+ "V4_LP_FEE": "20000",
3865
+ "V4_TICK_SPACING": "60",
3866
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
3867
+ "COLLATERAL_TEMPLATES": {
3868
+ "ETH": {
3869
+ "ID": "ETH_DEFAULT",
3870
+ "COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
3871
+ "SYMBOL": "ETH",
3872
+ "DECIMALS": 18,
3873
+ "ENABLED": true,
3874
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3875
+ "VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
3876
+ "VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
3877
+ "FEE_BASIS_POINTS": "200",
3878
+ "FIXED_MIGRATION_FEE": "100000000000000000",
3879
+ "POOL_CREATION_FEE": "50000000000000000",
3880
+ "FIRST_BUY_FEE": "1500000000000000",
3881
+ "MC_UPPER_LIMIT": "11835000000000000000",
3882
+ "MC_LOWER_LIMIT": "11795000000000000000",
3883
+ "TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
3884
+ "TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
3885
+ "TARGET_COLLECTION_AMOUNT": "2500759732077910169",
3886
+ "V4_LP_FEE": "20000",
3887
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3888
+ },
3889
+ "USDC": {
3890
+ "ID": "USDC_DEFAULT",
3891
+ "COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
3892
+ "SYMBOL": "USDC",
3893
+ "DECIMALS": 6,
3894
+ "ENABLED": true,
3895
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3896
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
3897
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
3898
+ "FEE_BASIS_POINTS": "200",
3899
+ "FIXED_MIGRATION_FEE": "300000000",
3900
+ "POOL_CREATION_FEE": "200000000",
3901
+ "FIRST_BUY_FEE": "5000000",
3902
+ "MC_UPPER_LIMIT": "37560000000",
3903
+ "MC_LOWER_LIMIT": "37500000000",
3904
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3905
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
3906
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
3907
+ "V4_LP_FEE": "20000",
3908
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3909
+ },
3910
+ "SOL": {
3911
+ "ID": "SOL_DEFAULT",
3912
+ "COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
3913
+ "SYMBOL": "SOL",
3914
+ "DECIMALS": 9,
3915
+ "ENABLED": true,
3916
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
3917
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
3918
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
3919
+ "FEE_BASIS_POINTS": "200",
3920
+ "FIXED_MIGRATION_FEE": "2400000000",
3921
+ "POOL_CREATION_FEE": "1600000000",
3922
+ "FIRST_BUY_FEE": "40000000",
3923
+ "MC_UPPER_LIMIT": "300480000003",
3924
+ "MC_LOWER_LIMIT": "300000000003",
3925
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
3926
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
3927
+ "V4_LP_FEE": "20000",
3928
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
3929
+ }
3930
+ }
2936
3931
  }
2937
3932
  },
2938
3933
  [84532]: {
@@ -2993,7 +3988,7 @@ var chainConfigs = {
2993
3988
  },
2994
3989
  "USDC": {
2995
3990
  "ID": "USDC_DEFAULT",
2996
- "COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
3991
+ "COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
2997
3992
  "SYMBOL": "USDC",
2998
3993
  "DECIMALS": 6,
2999
3994
  "ENABLED": true,
@@ -3014,7 +4009,48 @@ var chainConfigs = {
3014
4009
  },
3015
4010
  "SOL": {
3016
4011
  "ID": "SOL_DEFAULT",
3017
- "COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
4012
+ "COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
4013
+ "SYMBOL": "SOL",
4014
+ "DECIMALS": 9,
4015
+ "ENABLED": true,
4016
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4017
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
4018
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
4019
+ "FEE_BASIS_POINTS": "200",
4020
+ "FIXED_MIGRATION_FEE": "2400000000",
4021
+ "POOL_CREATION_FEE": "1600000000",
4022
+ "FIRST_BUY_FEE": "40000000",
4023
+ "MC_UPPER_LIMIT": "300480000003",
4024
+ "MC_LOWER_LIMIT": "300000000003",
4025
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4026
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
4027
+ "V4_LP_FEE": "20000",
4028
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4029
+ },
4030
+ "MUSDC": {
4031
+ "ID": "MUSDC_DEFAULT",
4032
+ "COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
4033
+ "SYMBOL": "USDC",
4034
+ "DECIMALS": 6,
4035
+ "ENABLED": true,
4036
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4037
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
4038
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
4039
+ "FEE_BASIS_POINTS": "200",
4040
+ "FIXED_MIGRATION_FEE": "300000000",
4041
+ "POOL_CREATION_FEE": "200000000",
4042
+ "FIRST_BUY_FEE": "5000000",
4043
+ "MC_UPPER_LIMIT": "37560000000",
4044
+ "MC_LOWER_LIMIT": "37500000000",
4045
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4046
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
4047
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
4048
+ "V4_LP_FEE": "20000",
4049
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4050
+ },
4051
+ "MSOL": {
4052
+ "ID": "MSOL_DEFAULT",
4053
+ "COLLATERAL_TOKEN": "0x86dBa4292D9c74D5115153DaBA47485Dfe00c228",
3018
4054
  "SYMBOL": "SOL",
3019
4055
  "DECIMALS": 9,
3020
4056
  "ENABLED": true,
@@ -3150,7 +4186,7 @@ var chainConfigs = {
3150
4186
  },
3151
4187
  "USDC": {
3152
4188
  "ID": "USDC_DEFAULT",
3153
- "COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
4189
+ "COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
3154
4190
  "SYMBOL": "USDC",
3155
4191
  "DECIMALS": 6,
3156
4192
  "ENABLED": true,
@@ -3171,7 +4207,48 @@ var chainConfigs = {
3171
4207
  },
3172
4208
  "SOL": {
3173
4209
  "ID": "SOL_DEFAULT",
3174
- "COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
4210
+ "COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
4211
+ "SYMBOL": "SOL",
4212
+ "DECIMALS": 9,
4213
+ "ENABLED": true,
4214
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4215
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
4216
+ "VIRTUAL_COLLATERAL_RESERVES": "23272727272",
4217
+ "FEE_BASIS_POINTS": "200",
4218
+ "FIXED_MIGRATION_FEE": "2400000000",
4219
+ "POOL_CREATION_FEE": "1600000000",
4220
+ "FIRST_BUY_FEE": "40000000",
4221
+ "MC_UPPER_LIMIT": "300480000003",
4222
+ "MC_LOWER_LIMIT": "300000000003",
4223
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4224
+ "TARGET_COLLECTION_AMOUNT": "64000000000",
4225
+ "V4_LP_FEE": "20000",
4226
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4227
+ },
4228
+ "MUSDC": {
4229
+ "ID": "MUSDC_DEFAULT",
4230
+ "COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
4231
+ "SYMBOL": "USDC",
4232
+ "DECIMALS": 6,
4233
+ "ENABLED": true,
4234
+ "TOTAL_SUPPLY": "1000000000000000000000000000",
4235
+ "VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
4236
+ "VIRTUAL_COLLATERAL_RESERVES": "2909090909",
4237
+ "FEE_BASIS_POINTS": "200",
4238
+ "FIXED_MIGRATION_FEE": "300000000",
4239
+ "POOL_CREATION_FEE": "200000000",
4240
+ "FIRST_BUY_FEE": "5000000",
4241
+ "MC_UPPER_LIMIT": "37560000000",
4242
+ "MC_LOWER_LIMIT": "37500000000",
4243
+ "TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
4244
+ "TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
4245
+ "TARGET_COLLECTION_AMOUNT": "8000000000",
4246
+ "V4_LP_FEE": "20000",
4247
+ "V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
4248
+ },
4249
+ "MSOL": {
4250
+ "ID": "MSOL_DEFAULT",
4251
+ "COLLATERAL_TOKEN": "0x86dBa4292D9c74D5115153DaBA47485Dfe00c228",
3175
4252
  "SYMBOL": "SOL",
3176
4253
  "DECIMALS": 9,
3177
4254
  "ENABLED": true,
@@ -3201,9 +4278,15 @@ var chainConfigs = {
3201
4278
  basememeFactoryImplABI,
3202
4279
  basememeFactoryImplAddress,
3203
4280
  basememeFactoryImplConfig,
4281
+ basememeFactoryTradeHelperABI,
4282
+ basememeFactoryTradeHelperAddress,
4283
+ basememeFactoryTradeHelperConfig,
3204
4284
  basememeTokenABI,
3205
4285
  basememeTokenAddress,
3206
4286
  basememeTokenConfig,
4287
+ basememeTokenSwapABI,
4288
+ basememeTokenSwapAddress,
4289
+ basememeTokenSwapConfig,
3207
4290
  bondingCurveABI,
3208
4291
  bondingCurveAddress,
3209
4292
  bondingCurveConfig,