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