@zoralabs/protocol-deployments 0.6.1 → 0.6.2
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/.turbo/turbo-build.log +19 -19
- package/CHANGELOG.md +6 -0
- package/dist/{_esm-AN6HMJZC.js → _esm-3RFC2XVO.js} +3 -3
- package/dist/_esm-3RFC2XVO.js.map +1 -0
- package/dist/generated/wagmi.d.ts +435 -497
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +295 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +295 -215
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +295 -215
- package/dist/_esm-AN6HMJZC.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1195,7 +1195,6 @@ var callerAndCommenterABI = [
|
|
|
1195
1195
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1196
1196
|
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
1197
1197
|
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
1198
|
-
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
1199
1198
|
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
1200
1199
|
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
1201
1200
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
@@ -1230,23 +1229,6 @@ var callerAndCommenterConfig = {
|
|
|
1230
1229
|
abi: callerAndCommenterABI
|
|
1231
1230
|
};
|
|
1232
1231
|
var coinABI = [
|
|
1233
|
-
{
|
|
1234
|
-
type: "constructor",
|
|
1235
|
-
inputs: [
|
|
1236
|
-
{
|
|
1237
|
-
name: "protocolRewardRecipient_",
|
|
1238
|
-
internalType: "address",
|
|
1239
|
-
type: "address"
|
|
1240
|
-
},
|
|
1241
|
-
{ name: "protocolRewards_", internalType: "address", type: "address" },
|
|
1242
|
-
{ name: "weth_", internalType: "address", type: "address" },
|
|
1243
|
-
{ name: "v3Factory_", internalType: "address", type: "address" },
|
|
1244
|
-
{ name: "swapRouter_", internalType: "address", type: "address" },
|
|
1245
|
-
{ name: "airlock_", internalType: "address", type: "address" }
|
|
1246
|
-
],
|
|
1247
|
-
stateMutability: "nonpayable"
|
|
1248
|
-
},
|
|
1249
|
-
{ type: "receive", stateMutability: "payable" },
|
|
1250
1232
|
{
|
|
1251
1233
|
type: "function",
|
|
1252
1234
|
inputs: [],
|
|
@@ -1254,13 +1236,6 @@ var coinABI = [
|
|
|
1254
1236
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
1255
1237
|
stateMutability: "view"
|
|
1256
1238
|
},
|
|
1257
|
-
{
|
|
1258
|
-
type: "function",
|
|
1259
|
-
inputs: [],
|
|
1260
|
-
name: "WETH",
|
|
1261
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1262
|
-
stateMutability: "view"
|
|
1263
|
-
},
|
|
1264
1239
|
{
|
|
1265
1240
|
type: "function",
|
|
1266
1241
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
@@ -1318,29 +1293,6 @@ var coinABI = [
|
|
|
1318
1293
|
outputs: [],
|
|
1319
1294
|
stateMutability: "nonpayable"
|
|
1320
1295
|
},
|
|
1321
|
-
{
|
|
1322
|
-
type: "function",
|
|
1323
|
-
inputs: [
|
|
1324
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
1325
|
-
{ name: "orderSize", internalType: "uint256", type: "uint256" },
|
|
1326
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" },
|
|
1327
|
-
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
1328
|
-
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
1329
|
-
],
|
|
1330
|
-
name: "buy",
|
|
1331
|
-
outputs: [
|
|
1332
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1333
|
-
{ name: "", internalType: "uint256", type: "uint256" }
|
|
1334
|
-
],
|
|
1335
|
-
stateMutability: "payable"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
type: "function",
|
|
1339
|
-
inputs: [{ name: "pushEthRewards", internalType: "bool", type: "bool" }],
|
|
1340
|
-
name: "claimSecondaryRewards",
|
|
1341
|
-
outputs: [],
|
|
1342
|
-
stateMutability: "nonpayable"
|
|
1343
|
-
},
|
|
1344
1296
|
{
|
|
1345
1297
|
type: "function",
|
|
1346
1298
|
inputs: [],
|
|
@@ -1391,6 +1343,48 @@ var coinABI = [
|
|
|
1391
1343
|
],
|
|
1392
1344
|
stateMutability: "view"
|
|
1393
1345
|
},
|
|
1346
|
+
{
|
|
1347
|
+
type: "function",
|
|
1348
|
+
inputs: [
|
|
1349
|
+
{
|
|
1350
|
+
name: "coinVersionLookup",
|
|
1351
|
+
internalType: "contract IDeployedCoinVersionLookup",
|
|
1352
|
+
type: "address"
|
|
1353
|
+
}
|
|
1354
|
+
],
|
|
1355
|
+
name: "getPayoutSwapPath",
|
|
1356
|
+
outputs: [
|
|
1357
|
+
{
|
|
1358
|
+
name: "payoutSwapPath",
|
|
1359
|
+
internalType: "struct IHasSwapPath.PayoutSwapPath",
|
|
1360
|
+
type: "tuple",
|
|
1361
|
+
components: [
|
|
1362
|
+
{
|
|
1363
|
+
name: "path",
|
|
1364
|
+
internalType: "struct PathKey[]",
|
|
1365
|
+
type: "tuple[]",
|
|
1366
|
+
components: [
|
|
1367
|
+
{
|
|
1368
|
+
name: "intermediateCurrency",
|
|
1369
|
+
internalType: "Currency",
|
|
1370
|
+
type: "address"
|
|
1371
|
+
},
|
|
1372
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
1373
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
1374
|
+
{
|
|
1375
|
+
name: "hooks",
|
|
1376
|
+
internalType: "contract IHooks",
|
|
1377
|
+
type: "address"
|
|
1378
|
+
},
|
|
1379
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
1380
|
+
]
|
|
1381
|
+
},
|
|
1382
|
+
{ name: "currencyIn", internalType: "Currency", type: "address" }
|
|
1383
|
+
]
|
|
1384
|
+
}
|
|
1385
|
+
],
|
|
1386
|
+
stateMutability: "view"
|
|
1387
|
+
},
|
|
1394
1388
|
{
|
|
1395
1389
|
type: "function",
|
|
1396
1390
|
inputs: [],
|
|
@@ -1422,6 +1416,33 @@ var coinABI = [
|
|
|
1422
1416
|
],
|
|
1423
1417
|
stateMutability: "view"
|
|
1424
1418
|
},
|
|
1419
|
+
{
|
|
1420
|
+
type: "function",
|
|
1421
|
+
inputs: [],
|
|
1422
|
+
name: "getPoolKey",
|
|
1423
|
+
outputs: [
|
|
1424
|
+
{
|
|
1425
|
+
name: "",
|
|
1426
|
+
internalType: "struct PoolKey",
|
|
1427
|
+
type: "tuple",
|
|
1428
|
+
components: [
|
|
1429
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
1430
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
1431
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
1432
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
1433
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
1434
|
+
]
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1437
|
+
stateMutability: "view"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
type: "function",
|
|
1441
|
+
inputs: [],
|
|
1442
|
+
name: "hooks",
|
|
1443
|
+
outputs: [{ name: "", internalType: "contract IHooks", type: "address" }],
|
|
1444
|
+
stateMutability: "view"
|
|
1445
|
+
},
|
|
1425
1446
|
{
|
|
1426
1447
|
type: "function",
|
|
1427
1448
|
inputs: [
|
|
@@ -1432,7 +1453,19 @@ var coinABI = [
|
|
|
1432
1453
|
{ name: "symbol_", internalType: "string", type: "string" },
|
|
1433
1454
|
{ name: "platformReferrer_", internalType: "address", type: "address" },
|
|
1434
1455
|
{ name: "currency_", internalType: "address", type: "address" },
|
|
1435
|
-
{
|
|
1456
|
+
{
|
|
1457
|
+
name: "poolKey_",
|
|
1458
|
+
internalType: "struct PoolKey",
|
|
1459
|
+
type: "tuple",
|
|
1460
|
+
components: [
|
|
1461
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
1462
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
1463
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
1464
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
1465
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1468
|
+
{ name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
|
|
1436
1469
|
{
|
|
1437
1470
|
name: "poolConfiguration_",
|
|
1438
1471
|
internalType: "struct PoolConfiguration",
|
|
@@ -1455,16 +1488,6 @@ var coinABI = [
|
|
|
1455
1488
|
type: "uint256[]"
|
|
1456
1489
|
}
|
|
1457
1490
|
]
|
|
1458
|
-
},
|
|
1459
|
-
{
|
|
1460
|
-
name: "positions_",
|
|
1461
|
-
internalType: "struct LpPosition[]",
|
|
1462
|
-
type: "tuple[]",
|
|
1463
|
-
components: [
|
|
1464
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
1465
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" },
|
|
1466
|
-
{ name: "liquidity", internalType: "uint128", type: "uint128" }
|
|
1467
|
-
]
|
|
1468
1491
|
}
|
|
1469
1492
|
],
|
|
1470
1493
|
name: "initialize",
|
|
@@ -1480,17 +1503,26 @@ var coinABI = [
|
|
|
1480
1503
|
},
|
|
1481
1504
|
{
|
|
1482
1505
|
type: "function",
|
|
1483
|
-
inputs: [
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1506
|
+
inputs: [
|
|
1507
|
+
{ name: "newHook", internalType: "address", type: "address" },
|
|
1508
|
+
{ name: "additionalData", internalType: "bytes", type: "bytes" }
|
|
1509
|
+
],
|
|
1510
|
+
name: "migrateLiquidity",
|
|
1511
|
+
outputs: [
|
|
1512
|
+
{
|
|
1513
|
+
name: "newPoolKey",
|
|
1514
|
+
internalType: "struct PoolKey",
|
|
1515
|
+
type: "tuple",
|
|
1516
|
+
components: [
|
|
1517
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
1518
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
1519
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
1520
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
1521
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
1522
|
+
]
|
|
1523
|
+
}
|
|
1524
|
+
],
|
|
1525
|
+
stateMutability: "nonpayable"
|
|
1494
1526
|
},
|
|
1495
1527
|
{
|
|
1496
1528
|
type: "function",
|
|
@@ -1545,30 +1577,9 @@ var coinABI = [
|
|
|
1545
1577
|
{
|
|
1546
1578
|
type: "function",
|
|
1547
1579
|
inputs: [],
|
|
1548
|
-
name: "
|
|
1549
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1550
|
-
stateMutability: "view"
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
type: "function",
|
|
1554
|
-
inputs: [],
|
|
1555
|
-
name: "poolConfiguration",
|
|
1556
|
-
outputs: [
|
|
1557
|
-
{ name: "version", internalType: "uint8", type: "uint8" },
|
|
1558
|
-
{ name: "numPositions", internalType: "uint16", type: "uint16" },
|
|
1559
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
1560
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" }
|
|
1561
|
-
],
|
|
1562
|
-
stateMutability: "view"
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
type: "function",
|
|
1566
|
-
inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1567
|
-
name: "positions",
|
|
1580
|
+
name: "poolManager",
|
|
1568
1581
|
outputs: [
|
|
1569
|
-
{ name: "
|
|
1570
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" },
|
|
1571
|
-
{ name: "liquidity", internalType: "uint128", type: "uint128" }
|
|
1582
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
1572
1583
|
],
|
|
1573
1584
|
stateMutability: "view"
|
|
1574
1585
|
},
|
|
@@ -1609,22 +1620,6 @@ var coinABI = [
|
|
|
1609
1620
|
outputs: [],
|
|
1610
1621
|
stateMutability: "nonpayable"
|
|
1611
1622
|
},
|
|
1612
|
-
{
|
|
1613
|
-
type: "function",
|
|
1614
|
-
inputs: [
|
|
1615
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
1616
|
-
{ name: "orderSize", internalType: "uint256", type: "uint256" },
|
|
1617
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" },
|
|
1618
|
-
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
1619
|
-
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
1620
|
-
],
|
|
1621
|
-
name: "sell",
|
|
1622
|
-
outputs: [
|
|
1623
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1624
|
-
{ name: "", internalType: "uint256", type: "uint256" }
|
|
1625
|
-
],
|
|
1626
|
-
stateMutability: "nonpayable"
|
|
1627
|
-
},
|
|
1628
1623
|
{
|
|
1629
1624
|
type: "function",
|
|
1630
1625
|
inputs: [{ name: "newURI", internalType: "string", type: "string" }],
|
|
@@ -1656,13 +1651,6 @@ var coinABI = [
|
|
|
1656
1651
|
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1657
1652
|
name: "supportsInterface",
|
|
1658
1653
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1659
|
-
stateMutability: "pure"
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
type: "function",
|
|
1663
|
-
inputs: [],
|
|
1664
|
-
name: "swapRouter",
|
|
1665
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1666
1654
|
stateMutability: "view"
|
|
1667
1655
|
},
|
|
1668
1656
|
{
|
|
@@ -1707,24 +1695,6 @@ var coinABI = [
|
|
|
1707
1695
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
1708
1696
|
stateMutability: "nonpayable"
|
|
1709
1697
|
},
|
|
1710
|
-
{
|
|
1711
|
-
type: "function",
|
|
1712
|
-
inputs: [
|
|
1713
|
-
{ name: "amount0Owed", internalType: "uint256", type: "uint256" },
|
|
1714
|
-
{ name: "amount1Owed", internalType: "uint256", type: "uint256" },
|
|
1715
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
1716
|
-
],
|
|
1717
|
-
name: "uniswapV3MintCallback",
|
|
1718
|
-
outputs: [],
|
|
1719
|
-
stateMutability: "nonpayable"
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
type: "function",
|
|
1723
|
-
inputs: [],
|
|
1724
|
-
name: "v3Factory",
|
|
1725
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1726
|
-
stateMutability: "view"
|
|
1727
|
-
},
|
|
1728
1698
|
{
|
|
1729
1699
|
type: "event",
|
|
1730
1700
|
anonymous: false,
|
|
@@ -2081,6 +2051,51 @@ var coinABI = [
|
|
|
2081
2051
|
],
|
|
2082
2052
|
name: "Initialized"
|
|
2083
2053
|
},
|
|
2054
|
+
{
|
|
2055
|
+
type: "event",
|
|
2056
|
+
anonymous: false,
|
|
2057
|
+
inputs: [
|
|
2058
|
+
{
|
|
2059
|
+
name: "fromPoolKey",
|
|
2060
|
+
internalType: "struct PoolKey",
|
|
2061
|
+
type: "tuple",
|
|
2062
|
+
components: [
|
|
2063
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
2064
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
2065
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
2066
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
2067
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
2068
|
+
],
|
|
2069
|
+
indexed: false
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
name: "fromPoolKeyHash",
|
|
2073
|
+
internalType: "bytes32",
|
|
2074
|
+
type: "bytes32",
|
|
2075
|
+
indexed: false
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
name: "toPoolKey",
|
|
2079
|
+
internalType: "struct PoolKey",
|
|
2080
|
+
type: "tuple",
|
|
2081
|
+
components: [
|
|
2082
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
2083
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
2084
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
2085
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
2086
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
2087
|
+
],
|
|
2088
|
+
indexed: false
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
name: "toPoolKeyHash",
|
|
2092
|
+
internalType: "bytes32",
|
|
2093
|
+
type: "bytes32",
|
|
2094
|
+
indexed: false
|
|
2095
|
+
}
|
|
2096
|
+
],
|
|
2097
|
+
name: "LiquidityMigrated"
|
|
2098
|
+
},
|
|
2084
2099
|
{
|
|
2085
2100
|
type: "event",
|
|
2086
2101
|
anonymous: false,
|
|
@@ -2146,17 +2161,6 @@ var coinABI = [
|
|
|
2146
2161
|
],
|
|
2147
2162
|
name: "Transfer"
|
|
2148
2163
|
},
|
|
2149
|
-
{
|
|
2150
|
-
type: "error",
|
|
2151
|
-
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2152
|
-
name: "AddressEmptyCode"
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
type: "error",
|
|
2156
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2157
|
-
name: "AddressInsufficientBalance"
|
|
2158
|
-
},
|
|
2159
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2160
2164
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2161
2165
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
2162
2166
|
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
@@ -2232,7 +2236,6 @@ var coinABI = [
|
|
|
2232
2236
|
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
2233
2237
|
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
2234
2238
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
2235
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2236
2239
|
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
2237
2240
|
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
2238
2241
|
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
@@ -2285,11 +2288,6 @@ var coinABI = [
|
|
|
2285
2288
|
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
2286
2289
|
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
2287
2290
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
2288
|
-
{
|
|
2289
|
-
type: "error",
|
|
2290
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2291
|
-
name: "SafeERC20FailedOperation"
|
|
2292
|
-
},
|
|
2293
2291
|
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
2294
2292
|
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
|
|
2295
2293
|
];
|
|
@@ -2297,7 +2295,6 @@ var coinFactoryABI = [
|
|
|
2297
2295
|
{
|
|
2298
2296
|
type: "constructor",
|
|
2299
2297
|
inputs: [
|
|
2300
|
-
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
2301
2298
|
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
2302
2299
|
{ name: "_creatorCoinImpl", internalType: "address", type: "address" },
|
|
2303
2300
|
{ name: "_contentCoinHook", internalType: "address", type: "address" },
|
|
@@ -2312,6 +2309,13 @@ var coinFactoryABI = [
|
|
|
2312
2309
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
2313
2310
|
stateMutability: "view"
|
|
2314
2311
|
},
|
|
2312
|
+
{
|
|
2313
|
+
type: "function",
|
|
2314
|
+
inputs: [],
|
|
2315
|
+
name: "acceptOwnership",
|
|
2316
|
+
outputs: [],
|
|
2317
|
+
stateMutability: "nonpayable"
|
|
2318
|
+
},
|
|
2315
2319
|
{
|
|
2316
2320
|
type: "function",
|
|
2317
2321
|
inputs: [
|
|
@@ -2326,13 +2330,6 @@ var coinFactoryABI = [
|
|
|
2326
2330
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2327
2331
|
stateMutability: "view"
|
|
2328
2332
|
},
|
|
2329
|
-
{
|
|
2330
|
-
type: "function",
|
|
2331
|
-
inputs: [],
|
|
2332
|
-
name: "coinImpl",
|
|
2333
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2334
|
-
stateMutability: "view"
|
|
2335
|
-
},
|
|
2336
2333
|
{
|
|
2337
2334
|
type: "function",
|
|
2338
2335
|
inputs: [],
|
|
@@ -2426,7 +2423,7 @@ var coinFactoryABI = [
|
|
|
2426
2423
|
{ name: "symbol", internalType: "string", type: "string" },
|
|
2427
2424
|
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
2428
2425
|
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
2429
|
-
{ name: "
|
|
2426
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
2430
2427
|
],
|
|
2431
2428
|
name: "deploy",
|
|
2432
2429
|
outputs: [
|
|
@@ -2501,6 +2498,13 @@ var coinFactoryABI = [
|
|
|
2501
2498
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2502
2499
|
stateMutability: "view"
|
|
2503
2500
|
},
|
|
2501
|
+
{
|
|
2502
|
+
type: "function",
|
|
2503
|
+
inputs: [],
|
|
2504
|
+
name: "pendingOwner",
|
|
2505
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2506
|
+
stateMutability: "view"
|
|
2507
|
+
},
|
|
2504
2508
|
{
|
|
2505
2509
|
type: "function",
|
|
2506
2510
|
inputs: [],
|
|
@@ -2742,6 +2746,25 @@ var coinFactoryABI = [
|
|
|
2742
2746
|
],
|
|
2743
2747
|
name: "Initialized"
|
|
2744
2748
|
},
|
|
2749
|
+
{
|
|
2750
|
+
type: "event",
|
|
2751
|
+
anonymous: false,
|
|
2752
|
+
inputs: [
|
|
2753
|
+
{
|
|
2754
|
+
name: "previousOwner",
|
|
2755
|
+
internalType: "address",
|
|
2756
|
+
type: "address",
|
|
2757
|
+
indexed: true
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
name: "newOwner",
|
|
2761
|
+
internalType: "address",
|
|
2762
|
+
type: "address",
|
|
2763
|
+
indexed: true
|
|
2764
|
+
}
|
|
2765
|
+
],
|
|
2766
|
+
name: "OwnershipTransferStarted"
|
|
2767
|
+
},
|
|
2745
2768
|
{
|
|
2746
2769
|
type: "event",
|
|
2747
2770
|
anonymous: false,
|
|
@@ -2779,13 +2802,7 @@ var coinFactoryABI = [
|
|
|
2779
2802
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2780
2803
|
name: "AddressEmptyCode"
|
|
2781
2804
|
},
|
|
2782
|
-
{
|
|
2783
|
-
type: "error",
|
|
2784
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2785
|
-
name: "AddressInsufficientBalance"
|
|
2786
|
-
},
|
|
2787
2805
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
2788
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
2789
2806
|
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
2790
2807
|
{ type: "error", inputs: [], name: "Deprecated" },
|
|
2791
2808
|
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
@@ -2797,7 +2814,6 @@ var coinFactoryABI = [
|
|
|
2797
2814
|
name: "ERC1967InvalidImplementation"
|
|
2798
2815
|
},
|
|
2799
2816
|
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2800
|
-
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
2801
2817
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
2802
2818
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2803
2819
|
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
@@ -2812,14 +2828,6 @@ var coinFactoryABI = [
|
|
|
2812
2828
|
],
|
|
2813
2829
|
name: "InvalidTickRangeMisordered"
|
|
2814
2830
|
},
|
|
2815
|
-
{
|
|
2816
|
-
type: "error",
|
|
2817
|
-
inputs: [
|
|
2818
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
2819
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
2820
|
-
],
|
|
2821
|
-
name: "InvalidTickRangeMisordered"
|
|
2822
|
-
},
|
|
2823
2831
|
{
|
|
2824
2832
|
type: "error",
|
|
2825
2833
|
inputs: [
|
|
@@ -2841,11 +2849,6 @@ var coinFactoryABI = [
|
|
|
2841
2849
|
name: "OwnableUnauthorizedAccount"
|
|
2842
2850
|
},
|
|
2843
2851
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
2844
|
-
{
|
|
2845
|
-
type: "error",
|
|
2846
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2847
|
-
name: "SafeERC20FailedOperation"
|
|
2848
|
-
},
|
|
2849
2852
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2850
2853
|
{
|
|
2851
2854
|
type: "error",
|
|
@@ -2876,17 +2879,17 @@ var coinV4ABI = [
|
|
|
2876
2879
|
type: "constructor",
|
|
2877
2880
|
inputs: [
|
|
2878
2881
|
{
|
|
2879
|
-
name: "
|
|
2882
|
+
name: "_protocolRewardRecipient",
|
|
2880
2883
|
internalType: "address",
|
|
2881
2884
|
type: "address"
|
|
2882
2885
|
},
|
|
2883
|
-
{ name: "
|
|
2886
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
2884
2887
|
{
|
|
2885
|
-
name: "
|
|
2888
|
+
name: "_poolManager",
|
|
2886
2889
|
internalType: "contract IPoolManager",
|
|
2887
2890
|
type: "address"
|
|
2888
2891
|
},
|
|
2889
|
-
{ name: "
|
|
2892
|
+
{ name: "_airlock", internalType: "address", type: "address" }
|
|
2890
2893
|
],
|
|
2891
2894
|
stateMutability: "nonpayable"
|
|
2892
2895
|
},
|
|
@@ -2954,6 +2957,13 @@ var coinV4ABI = [
|
|
|
2954
2957
|
outputs: [],
|
|
2955
2958
|
stateMutability: "nonpayable"
|
|
2956
2959
|
},
|
|
2960
|
+
{
|
|
2961
|
+
type: "function",
|
|
2962
|
+
inputs: [],
|
|
2963
|
+
name: "claimVesting",
|
|
2964
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
2965
|
+
stateMutability: "nonpayable"
|
|
2966
|
+
},
|
|
2957
2967
|
{
|
|
2958
2968
|
type: "function",
|
|
2959
2969
|
inputs: [],
|
|
@@ -3004,6 +3014,13 @@ var coinV4ABI = [
|
|
|
3004
3014
|
],
|
|
3005
3015
|
stateMutability: "view"
|
|
3006
3016
|
},
|
|
3017
|
+
{
|
|
3018
|
+
type: "function",
|
|
3019
|
+
inputs: [],
|
|
3020
|
+
name: "getClaimableAmount",
|
|
3021
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3022
|
+
stateMutability: "view"
|
|
3023
|
+
},
|
|
3007
3024
|
{
|
|
3008
3025
|
type: "function",
|
|
3009
3026
|
inputs: [
|
|
@@ -3312,7 +3329,7 @@ var coinV4ABI = [
|
|
|
3312
3329
|
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
3313
3330
|
name: "supportsInterface",
|
|
3314
3331
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3315
|
-
stateMutability: "
|
|
3332
|
+
stateMutability: "view"
|
|
3316
3333
|
},
|
|
3317
3334
|
{
|
|
3318
3335
|
type: "function",
|
|
@@ -3328,6 +3345,13 @@ var coinV4ABI = [
|
|
|
3328
3345
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
3329
3346
|
stateMutability: "view"
|
|
3330
3347
|
},
|
|
3348
|
+
{
|
|
3349
|
+
type: "function",
|
|
3350
|
+
inputs: [],
|
|
3351
|
+
name: "totalClaimed",
|
|
3352
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3353
|
+
stateMutability: "view"
|
|
3354
|
+
},
|
|
3331
3355
|
{
|
|
3332
3356
|
type: "function",
|
|
3333
3357
|
inputs: [],
|
|
@@ -3356,6 +3380,20 @@ var coinV4ABI = [
|
|
|
3356
3380
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3357
3381
|
stateMutability: "nonpayable"
|
|
3358
3382
|
},
|
|
3383
|
+
{
|
|
3384
|
+
type: "function",
|
|
3385
|
+
inputs: [],
|
|
3386
|
+
name: "vestingEndTime",
|
|
3387
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3388
|
+
stateMutability: "view"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
type: "function",
|
|
3392
|
+
inputs: [],
|
|
3393
|
+
name: "vestingStartTime",
|
|
3394
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3395
|
+
stateMutability: "view"
|
|
3396
|
+
},
|
|
3359
3397
|
{
|
|
3360
3398
|
type: "event",
|
|
3361
3399
|
anonymous: false,
|
|
@@ -3698,6 +3736,43 @@ var coinV4ABI = [
|
|
|
3698
3736
|
name: "ContractMetadataUpdated"
|
|
3699
3737
|
},
|
|
3700
3738
|
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
3739
|
+
{
|
|
3740
|
+
type: "event",
|
|
3741
|
+
anonymous: false,
|
|
3742
|
+
inputs: [
|
|
3743
|
+
{
|
|
3744
|
+
name: "recipient",
|
|
3745
|
+
internalType: "address",
|
|
3746
|
+
type: "address",
|
|
3747
|
+
indexed: true
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
name: "claimAmount",
|
|
3751
|
+
internalType: "uint256",
|
|
3752
|
+
type: "uint256",
|
|
3753
|
+
indexed: false
|
|
3754
|
+
},
|
|
3755
|
+
{
|
|
3756
|
+
name: "totalClaimed",
|
|
3757
|
+
internalType: "uint256",
|
|
3758
|
+
type: "uint256",
|
|
3759
|
+
indexed: false
|
|
3760
|
+
},
|
|
3761
|
+
{
|
|
3762
|
+
name: "vestingStartTime",
|
|
3763
|
+
internalType: "uint256",
|
|
3764
|
+
type: "uint256",
|
|
3765
|
+
indexed: false
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
name: "vestingEndTime",
|
|
3769
|
+
internalType: "uint256",
|
|
3770
|
+
type: "uint256",
|
|
3771
|
+
indexed: false
|
|
3772
|
+
}
|
|
3773
|
+
],
|
|
3774
|
+
name: "CreatorVestingClaimed"
|
|
3775
|
+
},
|
|
3701
3776
|
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
3702
3777
|
{
|
|
3703
3778
|
type: "event",
|
|
@@ -3908,6 +3983,7 @@ var coinV4ABI = [
|
|
|
3908
3983
|
],
|
|
3909
3984
|
name: "InvalidAccountNonce"
|
|
3910
3985
|
},
|
|
3986
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
3911
3987
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
3912
3988
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
3913
3989
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -5693,7 +5769,6 @@ var commentsABI = [
|
|
|
5693
5769
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
5694
5770
|
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
5695
5771
|
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
5696
|
-
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
5697
5772
|
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
5698
5773
|
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
5699
5774
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
@@ -5824,7 +5899,6 @@ var devCoinFactoryABI = [
|
|
|
5824
5899
|
{
|
|
5825
5900
|
type: "constructor",
|
|
5826
5901
|
inputs: [
|
|
5827
|
-
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
5828
5902
|
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
5829
5903
|
{ name: "_creatorCoinImpl", internalType: "address", type: "address" },
|
|
5830
5904
|
{ name: "_contentCoinHook", internalType: "address", type: "address" },
|
|
@@ -5839,6 +5913,13 @@ var devCoinFactoryABI = [
|
|
|
5839
5913
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
5840
5914
|
stateMutability: "view"
|
|
5841
5915
|
},
|
|
5916
|
+
{
|
|
5917
|
+
type: "function",
|
|
5918
|
+
inputs: [],
|
|
5919
|
+
name: "acceptOwnership",
|
|
5920
|
+
outputs: [],
|
|
5921
|
+
stateMutability: "nonpayable"
|
|
5922
|
+
},
|
|
5842
5923
|
{
|
|
5843
5924
|
type: "function",
|
|
5844
5925
|
inputs: [
|
|
@@ -5853,13 +5934,6 @@ var devCoinFactoryABI = [
|
|
|
5853
5934
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5854
5935
|
stateMutability: "view"
|
|
5855
5936
|
},
|
|
5856
|
-
{
|
|
5857
|
-
type: "function",
|
|
5858
|
-
inputs: [],
|
|
5859
|
-
name: "coinImpl",
|
|
5860
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5861
|
-
stateMutability: "view"
|
|
5862
|
-
},
|
|
5863
5937
|
{
|
|
5864
5938
|
type: "function",
|
|
5865
5939
|
inputs: [],
|
|
@@ -5953,7 +6027,7 @@ var devCoinFactoryABI = [
|
|
|
5953
6027
|
{ name: "symbol", internalType: "string", type: "string" },
|
|
5954
6028
|
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
5955
6029
|
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
5956
|
-
{ name: "
|
|
6030
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
5957
6031
|
],
|
|
5958
6032
|
name: "deploy",
|
|
5959
6033
|
outputs: [
|
|
@@ -6028,6 +6102,13 @@ var devCoinFactoryABI = [
|
|
|
6028
6102
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
6029
6103
|
stateMutability: "view"
|
|
6030
6104
|
},
|
|
6105
|
+
{
|
|
6106
|
+
type: "function",
|
|
6107
|
+
inputs: [],
|
|
6108
|
+
name: "pendingOwner",
|
|
6109
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
6110
|
+
stateMutability: "view"
|
|
6111
|
+
},
|
|
6031
6112
|
{
|
|
6032
6113
|
type: "function",
|
|
6033
6114
|
inputs: [],
|
|
@@ -6269,6 +6350,25 @@ var devCoinFactoryABI = [
|
|
|
6269
6350
|
],
|
|
6270
6351
|
name: "Initialized"
|
|
6271
6352
|
},
|
|
6353
|
+
{
|
|
6354
|
+
type: "event",
|
|
6355
|
+
anonymous: false,
|
|
6356
|
+
inputs: [
|
|
6357
|
+
{
|
|
6358
|
+
name: "previousOwner",
|
|
6359
|
+
internalType: "address",
|
|
6360
|
+
type: "address",
|
|
6361
|
+
indexed: true
|
|
6362
|
+
},
|
|
6363
|
+
{
|
|
6364
|
+
name: "newOwner",
|
|
6365
|
+
internalType: "address",
|
|
6366
|
+
type: "address",
|
|
6367
|
+
indexed: true
|
|
6368
|
+
}
|
|
6369
|
+
],
|
|
6370
|
+
name: "OwnershipTransferStarted"
|
|
6371
|
+
},
|
|
6272
6372
|
{
|
|
6273
6373
|
type: "event",
|
|
6274
6374
|
anonymous: false,
|
|
@@ -6306,13 +6406,7 @@ var devCoinFactoryABI = [
|
|
|
6306
6406
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
6307
6407
|
name: "AddressEmptyCode"
|
|
6308
6408
|
},
|
|
6309
|
-
{
|
|
6310
|
-
type: "error",
|
|
6311
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
6312
|
-
name: "AddressInsufficientBalance"
|
|
6313
|
-
},
|
|
6314
6409
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
6315
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
6316
6410
|
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
6317
6411
|
{ type: "error", inputs: [], name: "Deprecated" },
|
|
6318
6412
|
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
@@ -6324,7 +6418,6 @@ var devCoinFactoryABI = [
|
|
|
6324
6418
|
name: "ERC1967InvalidImplementation"
|
|
6325
6419
|
},
|
|
6326
6420
|
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
6327
|
-
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
6328
6421
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
6329
6422
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
6330
6423
|
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
@@ -6339,14 +6432,6 @@ var devCoinFactoryABI = [
|
|
|
6339
6432
|
],
|
|
6340
6433
|
name: "InvalidTickRangeMisordered"
|
|
6341
6434
|
},
|
|
6342
|
-
{
|
|
6343
|
-
type: "error",
|
|
6344
|
-
inputs: [
|
|
6345
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
6346
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
6347
|
-
],
|
|
6348
|
-
name: "InvalidTickRangeMisordered"
|
|
6349
|
-
},
|
|
6350
6435
|
{
|
|
6351
6436
|
type: "error",
|
|
6352
6437
|
inputs: [
|
|
@@ -6368,11 +6453,6 @@ var devCoinFactoryABI = [
|
|
|
6368
6453
|
name: "OwnableUnauthorizedAccount"
|
|
6369
6454
|
},
|
|
6370
6455
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
6371
|
-
{
|
|
6372
|
-
type: "error",
|
|
6373
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
6374
|
-
name: "SafeERC20FailedOperation"
|
|
6375
|
-
},
|
|
6376
6456
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
6377
6457
|
{
|
|
6378
6458
|
type: "error",
|