@logswap/sdk 0.5.36 → 0.5.37

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/dist/generated.js CHANGED
@@ -1076,6 +1076,7 @@ export const fPoolManagerAbi = [
1076
1076
  ],
1077
1077
  stateMutability: 'nonpayable',
1078
1078
  },
1079
+ { type: 'fallback', stateMutability: 'nonpayable' },
1079
1080
  {
1080
1081
  type: 'function',
1081
1082
  inputs: [],
@@ -1093,31 +1094,24 @@ export const fPoolManagerAbi = [
1093
1094
  {
1094
1095
  type: 'function',
1095
1096
  inputs: [],
1096
- name: 'MINT_FEE',
1097
+ name: 'LEVER_FLOOR',
1097
1098
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1098
1099
  stateMutability: 'view',
1099
1100
  },
1100
1101
  {
1101
1102
  type: 'function',
1102
1103
  inputs: [],
1103
- name: 'MINT_FEE_PROTOCOL_CUT',
1104
+ name: 'MINT_FEE',
1104
1105
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1105
1106
  stateMutability: 'view',
1106
1107
  },
1107
1108
  {
1108
1109
  type: 'function',
1109
1110
  inputs: [],
1110
- name: 'NO_X',
1111
- outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1111
+ name: 'MINT_FEE_PROTOCOL_CUT',
1112
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1112
1113
  stateMutability: 'view',
1113
1114
  },
1114
- {
1115
- type: 'function',
1116
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1117
- name: 'acceptAuthority',
1118
- outputs: [],
1119
- stateMutability: 'nonpayable',
1120
- },
1121
1115
  {
1122
1116
  type: 'function',
1123
1117
  inputs: [],
@@ -1125,21 +1119,6 @@ export const fPoolManagerAbi = [
1125
1119
  outputs: [],
1126
1120
  stateMutability: 'nonpayable',
1127
1121
  },
1128
- {
1129
- type: 'function',
1130
- inputs: [
1131
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1132
- { name: 'base', internalType: 'address', type: 'address' },
1133
- { name: 'Lj', internalType: 'uint256', type: 'uint256' },
1134
- { name: 'x', internalType: 'int256', type: 'int256' },
1135
- ],
1136
- name: 'admitLeg',
1137
- outputs: [
1138
- { name: 'dReserve', internalType: 'int256', type: 'int256' },
1139
- { name: 'dShares', internalType: 'int256', type: 'int256' },
1140
- ],
1141
- stateMutability: 'nonpayable',
1142
- },
1143
1122
  {
1144
1123
  type: 'function',
1145
1124
  inputs: [
@@ -1161,16 +1140,6 @@ export const fPoolManagerAbi = [
1161
1140
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1162
1141
  stateMutability: 'view',
1163
1142
  },
1164
- {
1165
- type: 'function',
1166
- inputs: [
1167
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1168
- { name: 'who', internalType: 'address', type: 'address' },
1169
- ],
1170
- name: 'appointOperator',
1171
- outputs: [],
1172
- stateMutability: 'nonpayable',
1173
- },
1174
1143
  {
1175
1144
  type: 'function',
1176
1145
  inputs: [
@@ -1245,29 +1214,29 @@ export const fPoolManagerAbi = [
1245
1214
  {
1246
1215
  type: 'function',
1247
1216
  inputs: [
1248
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1249
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
1217
+ { name: 'token', internalType: 'address', type: 'address' },
1218
+ { name: 'target', internalType: 'address', type: 'address' },
1250
1219
  ],
1251
- name: 'deepen',
1252
- outputs: [],
1253
- stateMutability: 'nonpayable',
1220
+ name: 'deltaOf',
1221
+ outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1222
+ stateMutability: 'view',
1254
1223
  },
1255
1224
  {
1256
1225
  type: 'function',
1257
1226
  inputs: [
1258
- { name: 'token', internalType: 'address', type: 'address' },
1259
- { name: 'target', internalType: 'address', type: 'address' },
1227
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1228
+ { name: 'holder', internalType: 'address', type: 'address' },
1260
1229
  ],
1261
- name: 'deltaOf',
1262
- outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1230
+ name: 'dividendOf',
1231
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1263
1232
  stateMutability: 'view',
1264
1233
  },
1265
1234
  {
1266
1235
  type: 'function',
1267
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1268
- name: 'dissolve',
1269
- outputs: [],
1270
- stateMutability: 'nonpayable',
1236
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1237
+ name: 'dps',
1238
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1239
+ stateMutability: 'view',
1271
1240
  },
1272
1241
  {
1273
1242
  type: 'function',
@@ -1297,13 +1266,13 @@ export const fPoolManagerAbi = [
1297
1266
  outputs: [
1298
1267
  {
1299
1268
  name: '',
1300
- internalType: 'struct FPoolManager.Pool',
1269
+ internalType: 'struct FPoolBase.Pool',
1301
1270
  type: 'tuple',
1302
1271
  components: [
1303
1272
  { name: 'quote', internalType: 'address', type: 'address' },
1304
1273
  { name: 'phi', internalType: 'uint96', type: 'uint96' },
1305
1274
  { name: 'authority', internalType: 'address', type: 'address' },
1306
- { name: 'feesOnly', internalType: 'bool', type: 'bool' },
1275
+ { name: 'lockStrike', internalType: 'bool', type: 'bool' },
1307
1276
  { name: 'seeded', internalType: 'bool', type: 'bool' },
1308
1277
  { name: 'dissolved', internalType: 'bool', type: 'bool' },
1309
1278
  { name: 'n', internalType: 'uint8', type: 'uint8' },
@@ -1325,9 +1294,1266 @@ export const fPoolManagerAbi = [
1325
1294
  { name: 'minBuffer', internalType: 'uint96', type: 'uint96' },
1326
1295
  { name: 'incomeTaken', internalType: 'uint256', type: 'uint256' },
1327
1296
  { name: 'name', internalType: 'bytes32', type: 'bytes32' },
1297
+ { name: 'successor', internalType: 'bytes32', type: 'bytes32' },
1298
+ ],
1299
+ },
1300
+ ],
1301
+ stateMutability: 'view',
1302
+ },
1303
+ {
1304
+ type: 'function',
1305
+ inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1306
+ name: 'harvestFeeExempt',
1307
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1308
+ stateMutability: 'view',
1309
+ },
1310
+ {
1311
+ type: 'function',
1312
+ inputs: [
1313
+ {
1314
+ name: 'key',
1315
+ internalType: 'struct FPoolKey',
1316
+ type: 'tuple',
1317
+ components: [
1318
+ { name: 'quote', internalType: 'address', type: 'address' },
1319
+ { name: 'bases', internalType: 'address[]', type: 'address[]' },
1320
+ { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1321
+ { name: 'phi', internalType: 'uint256', type: 'uint256' },
1322
+ { name: 'lockStrike', internalType: 'bool', type: 'bool' },
1323
+ { name: 'authority', internalType: 'address', type: 'address' },
1324
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1325
+ ],
1326
+ },
1327
+ ],
1328
+ name: 'idOf',
1329
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1330
+ stateMutability: 'pure',
1331
+ },
1332
+ {
1333
+ type: 'function',
1334
+ inputs: [
1335
+ {
1336
+ name: 'key',
1337
+ internalType: 'struct FPoolKey',
1338
+ type: 'tuple',
1339
+ components: [
1340
+ { name: 'quote', internalType: 'address', type: 'address' },
1341
+ { name: 'bases', internalType: 'address[]', type: 'address[]' },
1342
+ { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1343
+ { name: 'phi', internalType: 'uint256', type: 'uint256' },
1344
+ { name: 'lockStrike', internalType: 'bool', type: 'bool' },
1345
+ { name: 'authority', internalType: 'address', type: 'address' },
1346
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1328
1347
  ],
1329
1348
  },
1330
1349
  ],
1350
+ name: 'initialize',
1351
+ outputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1352
+ stateMutability: 'nonpayable',
1353
+ },
1354
+ {
1355
+ type: 'function',
1356
+ inputs: [
1357
+ { name: 'owner', internalType: 'address', type: 'address' },
1358
+ { name: 'spender', internalType: 'address', type: 'address' },
1359
+ ],
1360
+ name: 'isOperator',
1361
+ outputs: [{ name: 'status', internalType: 'bool', type: 'bool' }],
1362
+ stateMutability: 'view',
1363
+ },
1364
+ {
1365
+ type: 'function',
1366
+ inputs: [],
1367
+ name: 'isUnlocked',
1368
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1369
+ stateMutability: 'view',
1370
+ },
1371
+ {
1372
+ type: 'function',
1373
+ inputs: [
1374
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1375
+ { name: 'j', internalType: 'uint256', type: 'uint256' },
1376
+ ],
1377
+ name: 'legOf',
1378
+ outputs: [
1379
+ { name: 'base', internalType: 'address', type: 'address' },
1380
+ { name: 'weight', internalType: 'uint256', type: 'uint256' },
1381
+ { name: 'x', internalType: 'int256', type: 'int256' },
1382
+ { name: 'reserve', internalType: 'uint256', type: 'uint256' },
1383
+ ],
1384
+ stateMutability: 'view',
1385
+ },
1386
+ {
1387
+ type: 'function',
1388
+ inputs: [
1389
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1390
+ { name: 'to', internalType: 'address', type: 'address' },
1391
+ { name: 'dL', internalType: 'uint256', type: 'uint256' },
1392
+ { name: 'maxQuoteIn', internalType: 'uint256', type: 'uint256' },
1393
+ ],
1394
+ name: 'mint',
1395
+ outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1396
+ stateMutability: 'nonpayable',
1397
+ },
1398
+ {
1399
+ type: 'function',
1400
+ inputs: [
1401
+ { name: 'token', internalType: 'address', type: 'address' },
1402
+ { name: 'to', internalType: 'address', type: 'address' },
1403
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1404
+ ],
1405
+ name: 'mintClaims',
1406
+ outputs: [],
1407
+ stateMutability: 'nonpayable',
1408
+ },
1409
+ {
1410
+ type: 'function',
1411
+ inputs: [{ name: 'calls', internalType: 'bytes[]', type: 'bytes[]' }],
1412
+ name: 'multicall',
1413
+ outputs: [{ name: 'results', internalType: 'bytes[]', type: 'bytes[]' }],
1414
+ stateMutability: 'nonpayable',
1415
+ },
1416
+ {
1417
+ type: 'function',
1418
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1419
+ name: 'n',
1420
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1421
+ stateMutability: 'view',
1422
+ },
1423
+ {
1424
+ type: 'function',
1425
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1426
+ name: 'name',
1427
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1428
+ stateMutability: 'pure',
1429
+ },
1430
+ {
1431
+ type: 'function',
1432
+ inputs: [],
1433
+ name: 'nonzeroDeltaCount',
1434
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1435
+ stateMutability: 'view',
1436
+ },
1437
+ {
1438
+ type: 'function',
1439
+ inputs: [],
1440
+ name: 'pendingCollector',
1441
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1442
+ stateMutability: 'view',
1443
+ },
1444
+ {
1445
+ type: 'function',
1446
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1447
+ name: 'phiB4B',
1448
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1449
+ stateMutability: 'view',
1450
+ },
1451
+ {
1452
+ type: 'function',
1453
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1454
+ name: 'pot',
1455
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1456
+ stateMutability: 'view',
1457
+ },
1458
+ {
1459
+ type: 'function',
1460
+ inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
1461
+ name: 'proposeCollector',
1462
+ outputs: [],
1463
+ stateMutability: 'nonpayable',
1464
+ },
1465
+ {
1466
+ type: 'function',
1467
+ inputs: [
1468
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1469
+ {
1470
+ name: 'kind',
1471
+ internalType: 'enum FPoolManager.QuoteKind',
1472
+ type: 'uint8',
1473
+ },
1474
+ { name: 'j', internalType: 'uint256', type: 'uint256' },
1475
+ { name: 'k', internalType: 'uint256', type: 'uint256' },
1476
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1477
+ { name: 'taker', internalType: 'address', type: 'address' },
1478
+ ],
1479
+ name: 'quoteSwap',
1480
+ outputs: [],
1481
+ stateMutability: 'nonpayable',
1482
+ },
1483
+ {
1484
+ type: 'function',
1485
+ inputs: [
1486
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1487
+ { name: 'j', internalType: 'uint256', type: 'uint256' },
1488
+ ],
1489
+ name: 'reserveOf',
1490
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1491
+ stateMutability: 'view',
1492
+ },
1493
+ {
1494
+ type: 'function',
1495
+ inputs: [
1496
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1497
+ { name: 'L0', internalType: 'uint256', type: 'uint256' },
1498
+ { name: 'r0', internalType: 'uint256[]', type: 'uint256[]' },
1499
+ { name: 'Q0', internalType: 'uint256', type: 'uint256' },
1500
+ ],
1501
+ name: 'seed',
1502
+ outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1503
+ stateMutability: 'nonpayable',
1504
+ },
1505
+ {
1506
+ type: 'function',
1507
+ inputs: [
1508
+ { name: 'operator', internalType: 'address', type: 'address' },
1509
+ { name: 'approved', internalType: 'bool', type: 'bool' },
1510
+ ],
1511
+ name: 'setOperator',
1512
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1513
+ stateMutability: 'payable',
1514
+ },
1515
+ {
1516
+ type: 'function',
1517
+ inputs: [],
1518
+ name: 'settle',
1519
+ outputs: [{ name: 'paid', internalType: 'uint256', type: 'uint256' }],
1520
+ stateMutability: 'nonpayable',
1521
+ },
1522
+ {
1523
+ type: 'function',
1524
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1525
+ name: 'shareIdOf',
1526
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1527
+ stateMutability: 'pure',
1528
+ },
1529
+ {
1530
+ type: 'function',
1531
+ inputs: [],
1532
+ name: 'sponsor',
1533
+ outputs: [
1534
+ { name: '', internalType: 'contract FPoolSponsor', type: 'address' },
1535
+ ],
1536
+ stateMutability: 'view',
1537
+ },
1538
+ {
1539
+ type: 'function',
1540
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
1541
+ name: 'sponsorName',
1542
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1543
+ stateMutability: 'view',
1544
+ },
1545
+ {
1546
+ type: 'function',
1547
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
1548
+ name: 'supportsInterface',
1549
+ outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }],
1550
+ stateMutability: 'view',
1551
+ },
1552
+ {
1553
+ type: 'function',
1554
+ inputs: [
1555
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1556
+ { name: 'j', internalType: 'uint256', type: 'uint256' },
1557
+ { name: 'k', internalType: 'uint256', type: 'uint256' },
1558
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1559
+ { name: 'minOut', internalType: 'uint256', type: 'uint256' },
1560
+ { name: 'taker', internalType: 'address', type: 'address' },
1561
+ ],
1562
+ name: 'swapBaseForBase',
1563
+ outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
1564
+ stateMutability: 'nonpayable',
1565
+ },
1566
+ {
1567
+ type: 'function',
1568
+ inputs: [
1569
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1570
+ { name: 'j', internalType: 'uint256', type: 'uint256' },
1571
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1572
+ { name: 'minOut', internalType: 'uint256', type: 'uint256' },
1573
+ { name: 'taker', internalType: 'address', type: 'address' },
1574
+ ],
1575
+ name: 'swapBaseIn',
1576
+ outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
1577
+ stateMutability: 'nonpayable',
1578
+ },
1579
+ {
1580
+ type: 'function',
1581
+ inputs: [
1582
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1583
+ { name: 'j', internalType: 'uint256', type: 'uint256' },
1584
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1585
+ { name: 'minOut', internalType: 'uint256', type: 'uint256' },
1586
+ { name: 'taker', internalType: 'address', type: 'address' },
1587
+ ],
1588
+ name: 'swapQuoteIn',
1589
+ outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
1590
+ stateMutability: 'nonpayable',
1591
+ },
1592
+ {
1593
+ type: 'function',
1594
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1595
+ name: 'symbol',
1596
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1597
+ stateMutability: 'pure',
1598
+ },
1599
+ {
1600
+ type: 'function',
1601
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
1602
+ name: 'sync',
1603
+ outputs: [],
1604
+ stateMutability: 'nonpayable',
1605
+ },
1606
+ {
1607
+ type: 'function',
1608
+ inputs: [
1609
+ { name: 'token', internalType: 'address', type: 'address' },
1610
+ { name: 'to', internalType: 'address', type: 'address' },
1611
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1612
+ ],
1613
+ name: 'take',
1614
+ outputs: [],
1615
+ stateMutability: 'nonpayable',
1616
+ },
1617
+ {
1618
+ type: 'function',
1619
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1620
+ name: 'theta',
1621
+ outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1622
+ stateMutability: 'view',
1623
+ },
1624
+ {
1625
+ type: 'function',
1626
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1627
+ name: 'tokenURI',
1628
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1629
+ stateMutability: 'pure',
1630
+ },
1631
+ {
1632
+ type: 'function',
1633
+ inputs: [
1634
+ { name: 'to', internalType: 'address', type: 'address' },
1635
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
1636
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1637
+ ],
1638
+ name: 'transfer',
1639
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1640
+ stateMutability: 'payable',
1641
+ },
1642
+ {
1643
+ type: 'function',
1644
+ inputs: [
1645
+ { name: 'from', internalType: 'address', type: 'address' },
1646
+ { name: 'to', internalType: 'address', type: 'address' },
1647
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
1648
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1649
+ ],
1650
+ name: 'transferFrom',
1651
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1652
+ stateMutability: 'payable',
1653
+ },
1654
+ {
1655
+ type: 'function',
1656
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
1657
+ name: 'unlock',
1658
+ outputs: [{ name: 'result', internalType: 'bytes', type: 'bytes' }],
1659
+ stateMutability: 'nonpayable',
1660
+ },
1661
+ {
1662
+ type: 'function',
1663
+ inputs: [],
1664
+ name: 'version',
1665
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1666
+ stateMutability: 'pure',
1667
+ },
1668
+ {
1669
+ type: 'event',
1670
+ anonymous: false,
1671
+ inputs: [
1672
+ {
1673
+ name: 'poolId',
1674
+ internalType: 'bytes32',
1675
+ type: 'bytes32',
1676
+ indexed: true,
1677
+ },
1678
+ { name: 'who', internalType: 'address', type: 'address', indexed: true },
1679
+ { name: 'allowed', internalType: 'bool', type: 'bool', indexed: false },
1680
+ ],
1681
+ name: 'Allowed',
1682
+ },
1683
+ {
1684
+ type: 'event',
1685
+ anonymous: false,
1686
+ inputs: [
1687
+ {
1688
+ name: 'owner',
1689
+ internalType: 'address',
1690
+ type: 'address',
1691
+ indexed: true,
1692
+ },
1693
+ {
1694
+ name: 'spender',
1695
+ internalType: 'address',
1696
+ type: 'address',
1697
+ indexed: true,
1698
+ },
1699
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
1700
+ {
1701
+ name: 'amount',
1702
+ internalType: 'uint256',
1703
+ type: 'uint256',
1704
+ indexed: false,
1705
+ },
1706
+ ],
1707
+ name: 'Approval',
1708
+ },
1709
+ {
1710
+ type: 'event',
1711
+ anonymous: false,
1712
+ inputs: [
1713
+ {
1714
+ name: 'poolId',
1715
+ internalType: 'bytes32',
1716
+ type: 'bytes32',
1717
+ indexed: true,
1718
+ },
1719
+ {
1720
+ name: 'current',
1721
+ internalType: 'address',
1722
+ type: 'address',
1723
+ indexed: true,
1724
+ },
1725
+ {
1726
+ name: 'proposed',
1727
+ internalType: 'address',
1728
+ type: 'address',
1729
+ indexed: true,
1730
+ },
1731
+ ],
1732
+ name: 'AuthorityProposed',
1733
+ },
1734
+ {
1735
+ type: 'event',
1736
+ anonymous: false,
1737
+ inputs: [
1738
+ {
1739
+ name: 'poolId',
1740
+ internalType: 'bytes32',
1741
+ type: 'bytes32',
1742
+ indexed: true,
1743
+ },
1744
+ { name: 'prev', internalType: 'address', type: 'address', indexed: true },
1745
+ { name: 'next', internalType: 'address', type: 'address', indexed: true },
1746
+ ],
1747
+ name: 'AuthoritySet',
1748
+ },
1749
+ {
1750
+ type: 'event',
1751
+ anonymous: false,
1752
+ inputs: [
1753
+ {
1754
+ name: 'poolId',
1755
+ internalType: 'bytes32',
1756
+ type: 'bytes32',
1757
+ indexed: true,
1758
+ },
1759
+ {
1760
+ name: 'sender',
1761
+ internalType: 'address',
1762
+ type: 'address',
1763
+ indexed: true,
1764
+ },
1765
+ { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
1766
+ {
1767
+ name: 'shares',
1768
+ internalType: 'uint256',
1769
+ type: 'uint256',
1770
+ indexed: false,
1771
+ },
1772
+ {
1773
+ name: 'dQuote',
1774
+ internalType: 'uint256',
1775
+ type: 'uint256',
1776
+ indexed: false,
1777
+ },
1778
+ ],
1779
+ name: 'Burn',
1780
+ },
1781
+ {
1782
+ type: 'event',
1783
+ anonymous: false,
1784
+ inputs: [
1785
+ {
1786
+ name: 'previous',
1787
+ internalType: 'address',
1788
+ type: 'address',
1789
+ indexed: true,
1790
+ },
1791
+ {
1792
+ name: 'current',
1793
+ internalType: 'address',
1794
+ type: 'address',
1795
+ indexed: true,
1796
+ },
1797
+ ],
1798
+ name: 'CollectorAccepted',
1799
+ },
1800
+ {
1801
+ type: 'event',
1802
+ anonymous: false,
1803
+ inputs: [
1804
+ {
1805
+ name: 'current',
1806
+ internalType: 'address',
1807
+ type: 'address',
1808
+ indexed: true,
1809
+ },
1810
+ {
1811
+ name: 'proposed',
1812
+ internalType: 'address',
1813
+ type: 'address',
1814
+ indexed: true,
1815
+ },
1816
+ ],
1817
+ name: 'CollectorProposed',
1818
+ },
1819
+ {
1820
+ type: 'event',
1821
+ anonymous: false,
1822
+ inputs: [
1823
+ {
1824
+ name: 'poolId',
1825
+ internalType: 'bytes32',
1826
+ type: 'bytes32',
1827
+ indexed: true,
1828
+ },
1829
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
1830
+ {
1831
+ name: 'amount',
1832
+ internalType: 'uint256',
1833
+ type: 'uint256',
1834
+ indexed: false,
1835
+ },
1836
+ ],
1837
+ name: 'Deepen',
1838
+ },
1839
+ {
1840
+ type: 'event',
1841
+ anonymous: false,
1842
+ inputs: [
1843
+ {
1844
+ name: 'poolId',
1845
+ internalType: 'bytes32',
1846
+ type: 'bytes32',
1847
+ indexed: true,
1848
+ },
1849
+ {
1850
+ name: 'successor',
1851
+ internalType: 'bytes32',
1852
+ type: 'bytes32',
1853
+ indexed: true,
1854
+ },
1855
+ ],
1856
+ name: 'Dissolve',
1857
+ },
1858
+ {
1859
+ type: 'event',
1860
+ anonymous: false,
1861
+ inputs: [
1862
+ {
1863
+ name: 'poolId',
1864
+ internalType: 'bytes32',
1865
+ type: 'bytes32',
1866
+ indexed: true,
1867
+ },
1868
+ {
1869
+ name: 'holder',
1870
+ internalType: 'address',
1871
+ type: 'address',
1872
+ indexed: true,
1873
+ },
1874
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
1875
+ {
1876
+ name: 'amount',
1877
+ internalType: 'uint256',
1878
+ type: 'uint256',
1879
+ indexed: false,
1880
+ },
1881
+ ],
1882
+ name: 'DividendClaimed',
1883
+ },
1884
+ {
1885
+ type: 'event',
1886
+ anonymous: false,
1887
+ inputs: [
1888
+ {
1889
+ name: 'mintFeeProtocolCut',
1890
+ internalType: 'uint256',
1891
+ type: 'uint256',
1892
+ indexed: false,
1893
+ },
1894
+ {
1895
+ name: 'harvestFee',
1896
+ internalType: 'uint256',
1897
+ type: 'uint256',
1898
+ indexed: false,
1899
+ },
1900
+ ],
1901
+ name: 'FeeParamsSet',
1902
+ },
1903
+ {
1904
+ type: 'event',
1905
+ anonymous: false,
1906
+ inputs: [
1907
+ {
1908
+ name: 'poolId',
1909
+ internalType: 'bytes32',
1910
+ type: 'bytes32',
1911
+ indexed: true,
1912
+ },
1913
+ { name: 'gateMint', internalType: 'bool', type: 'bool', indexed: false },
1914
+ { name: 'gateSwap', internalType: 'bool', type: 'bool', indexed: false },
1915
+ ],
1916
+ name: 'GatesSet',
1917
+ },
1918
+ {
1919
+ type: 'event',
1920
+ anonymous: false,
1921
+ inputs: [
1922
+ {
1923
+ name: 'poolId',
1924
+ internalType: 'bytes32',
1925
+ type: 'bytes32',
1926
+ indexed: true,
1927
+ },
1928
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
1929
+ {
1930
+ name: 'amount',
1931
+ internalType: 'uint256',
1932
+ type: 'uint256',
1933
+ indexed: false,
1934
+ },
1935
+ {
1936
+ name: 'toSponsor',
1937
+ internalType: 'uint256',
1938
+ type: 'uint256',
1939
+ indexed: false,
1940
+ },
1941
+ ],
1942
+ name: 'Harvest',
1943
+ },
1944
+ {
1945
+ type: 'event',
1946
+ anonymous: false,
1947
+ inputs: [
1948
+ {
1949
+ name: 'poolId',
1950
+ internalType: 'bytes32',
1951
+ type: 'bytes32',
1952
+ indexed: true,
1953
+ },
1954
+ { name: 'exempt', internalType: 'bool', type: 'bool', indexed: false },
1955
+ ],
1956
+ name: 'HarvestFeeExemptSet',
1957
+ },
1958
+ {
1959
+ type: 'event',
1960
+ anonymous: false,
1961
+ inputs: [
1962
+ {
1963
+ name: 'poolId',
1964
+ internalType: 'bytes32',
1965
+ type: 'bytes32',
1966
+ indexed: true,
1967
+ },
1968
+ {
1969
+ name: 'quote',
1970
+ internalType: 'address',
1971
+ type: 'address',
1972
+ indexed: true,
1973
+ },
1974
+ {
1975
+ name: 'authority',
1976
+ internalType: 'address',
1977
+ type: 'address',
1978
+ indexed: true,
1979
+ },
1980
+ {
1981
+ name: 'bases',
1982
+ internalType: 'address[]',
1983
+ type: 'address[]',
1984
+ indexed: false,
1985
+ },
1986
+ {
1987
+ name: 'weights',
1988
+ internalType: 'uint256[]',
1989
+ type: 'uint256[]',
1990
+ indexed: false,
1991
+ },
1992
+ { name: 'phi', internalType: 'uint256', type: 'uint256', indexed: false },
1993
+ {
1994
+ name: 'lockStrike',
1995
+ internalType: 'bool',
1996
+ type: 'bool',
1997
+ indexed: false,
1998
+ },
1999
+ ],
2000
+ name: 'Initialize',
2001
+ },
2002
+ {
2003
+ type: 'event',
2004
+ anonymous: false,
2005
+ inputs: [
2006
+ {
2007
+ name: 'poolId',
2008
+ internalType: 'bytes32',
2009
+ type: 'bytes32',
2010
+ indexed: true,
2011
+ },
2012
+ { name: 'j', internalType: 'uint256', type: 'uint256', indexed: true },
2013
+ {
2014
+ name: 'base',
2015
+ internalType: 'address',
2016
+ type: 'address',
2017
+ indexed: false,
2018
+ },
2019
+ {
2020
+ name: 'newLj',
2021
+ internalType: 'uint256',
2022
+ type: 'uint256',
2023
+ indexed: false,
2024
+ },
2025
+ {
2026
+ name: 'reserve',
2027
+ internalType: 'uint256',
2028
+ type: 'uint256',
2029
+ indexed: false,
2030
+ },
2031
+ { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
2032
+ {
2033
+ name: 'theta0',
2034
+ internalType: 'int256',
2035
+ type: 'int256',
2036
+ indexed: false,
2037
+ },
2038
+ {
2039
+ name: 'dReserve',
2040
+ internalType: 'int256',
2041
+ type: 'int256',
2042
+ indexed: false,
2043
+ },
2044
+ {
2045
+ name: 'dShares',
2046
+ internalType: 'int256',
2047
+ type: 'int256',
2048
+ indexed: false,
2049
+ },
2050
+ ],
2051
+ name: 'LegSet',
2052
+ },
2053
+ {
2054
+ type: 'event',
2055
+ anonymous: false,
2056
+ inputs: [
2057
+ {
2058
+ name: 'poolId',
2059
+ internalType: 'bytes32',
2060
+ type: 'bytes32',
2061
+ indexed: true,
2062
+ },
2063
+ {
2064
+ name: 'minBuffer',
2065
+ internalType: 'uint256',
2066
+ type: 'uint256',
2067
+ indexed: false,
2068
+ },
2069
+ ],
2070
+ name: 'MinBufferRaised',
2071
+ },
2072
+ {
2073
+ type: 'event',
2074
+ anonymous: false,
2075
+ inputs: [
2076
+ {
2077
+ name: 'poolId',
2078
+ internalType: 'bytes32',
2079
+ type: 'bytes32',
2080
+ indexed: true,
2081
+ },
2082
+ {
2083
+ name: 'sender',
2084
+ internalType: 'address',
2085
+ type: 'address',
2086
+ indexed: true,
2087
+ },
2088
+ { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
2089
+ {
2090
+ name: 'shares',
2091
+ internalType: 'uint256',
2092
+ type: 'uint256',
2093
+ indexed: false,
2094
+ },
2095
+ {
2096
+ name: 'dQuote',
2097
+ internalType: 'uint256',
2098
+ type: 'uint256',
2099
+ indexed: false,
2100
+ },
2101
+ ],
2102
+ name: 'Mint',
2103
+ },
2104
+ {
2105
+ type: 'event',
2106
+ anonymous: false,
2107
+ inputs: [
2108
+ {
2109
+ name: 'poolId',
2110
+ internalType: 'bytes32',
2111
+ type: 'bytes32',
2112
+ indexed: true,
2113
+ },
2114
+ {
2115
+ name: 'name',
2116
+ internalType: 'bytes32',
2117
+ type: 'bytes32',
2118
+ indexed: false,
2119
+ },
2120
+ ],
2121
+ name: 'NameSet',
2122
+ },
2123
+ {
2124
+ type: 'event',
2125
+ anonymous: false,
2126
+ inputs: [
2127
+ {
2128
+ name: 'owner',
2129
+ internalType: 'address',
2130
+ type: 'address',
2131
+ indexed: true,
2132
+ },
2133
+ {
2134
+ name: 'operator',
2135
+ internalType: 'address',
2136
+ type: 'address',
2137
+ indexed: true,
2138
+ },
2139
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
2140
+ ],
2141
+ name: 'OperatorSet',
2142
+ },
2143
+ {
2144
+ type: 'event',
2145
+ anonymous: false,
2146
+ inputs: [
2147
+ {
2148
+ name: 'poolId',
2149
+ internalType: 'bytes32',
2150
+ type: 'bytes32',
2151
+ indexed: true,
2152
+ },
2153
+ { name: 'prev', internalType: 'address', type: 'address', indexed: true },
2154
+ { name: 'next', internalType: 'address', type: 'address', indexed: true },
2155
+ ],
2156
+ name: 'OperatorSet',
2157
+ },
2158
+ {
2159
+ type: 'event',
2160
+ anonymous: false,
2161
+ inputs: [
2162
+ {
2163
+ name: 'poolId',
2164
+ internalType: 'bytes32',
2165
+ type: 'bytes32',
2166
+ indexed: true,
2167
+ },
2168
+ { name: 'inShares', internalType: 'bool', type: 'bool', indexed: false },
2169
+ {
2170
+ name: 'amount',
2171
+ internalType: 'uint256',
2172
+ type: 'uint256',
2173
+ indexed: false,
2174
+ },
2175
+ ],
2176
+ name: 'ProtocolFee',
2177
+ },
2178
+ {
2179
+ type: 'event',
2180
+ anonymous: false,
2181
+ inputs: [
2182
+ {
2183
+ name: 'poolId',
2184
+ internalType: 'bytes32',
2185
+ type: 'bytes32',
2186
+ indexed: true,
2187
+ },
2188
+ { name: 'L0', internalType: 'uint256', type: 'uint256', indexed: false },
2189
+ { name: 'Q0', internalType: 'uint256', type: 'uint256', indexed: false },
2190
+ {
2191
+ name: 'theta0',
2192
+ internalType: 'int256',
2193
+ type: 'int256',
2194
+ indexed: false,
2195
+ },
2196
+ {
2197
+ name: 'r0',
2198
+ internalType: 'uint256[]',
2199
+ type: 'uint256[]',
2200
+ indexed: false,
2201
+ },
2202
+ ],
2203
+ name: 'Seeded',
2204
+ },
2205
+ {
2206
+ type: 'event',
2207
+ anonymous: false,
2208
+ inputs: [
2209
+ { name: 'who', internalType: 'address', type: 'address', indexed: true },
2210
+ {
2211
+ name: 'name',
2212
+ internalType: 'bytes32',
2213
+ type: 'bytes32',
2214
+ indexed: false,
2215
+ },
2216
+ ],
2217
+ name: 'SponsorNamed',
2218
+ },
2219
+ {
2220
+ type: 'event',
2221
+ anonymous: false,
2222
+ inputs: [
2223
+ {
2224
+ name: 'poolId',
2225
+ internalType: 'bytes32',
2226
+ type: 'bytes32',
2227
+ indexed: true,
2228
+ },
2229
+ {
2230
+ name: 'sender',
2231
+ internalType: 'address',
2232
+ type: 'address',
2233
+ indexed: true,
2234
+ },
2235
+ {
2236
+ name: 'tokenIn',
2237
+ internalType: 'address',
2238
+ type: 'address',
2239
+ indexed: false,
2240
+ },
2241
+ {
2242
+ name: 'tokenOut',
2243
+ internalType: 'address',
2244
+ type: 'address',
2245
+ indexed: false,
2246
+ },
2247
+ {
2248
+ name: 'amountIn',
2249
+ internalType: 'uint256',
2250
+ type: 'uint256',
2251
+ indexed: false,
2252
+ },
2253
+ {
2254
+ name: 'amountOut',
2255
+ internalType: 'uint256',
2256
+ type: 'uint256',
2257
+ indexed: false,
2258
+ },
2259
+ {
2260
+ name: 'reserveIn',
2261
+ internalType: 'uint256',
2262
+ type: 'uint256',
2263
+ indexed: false,
2264
+ },
2265
+ {
2266
+ name: 'reserveOut',
2267
+ internalType: 'uint256',
2268
+ type: 'uint256',
2269
+ indexed: false,
2270
+ },
2271
+ ],
2272
+ name: 'Swap',
2273
+ },
2274
+ {
2275
+ type: 'event',
2276
+ anonymous: false,
2277
+ inputs: [
2278
+ { name: 'by', internalType: 'address', type: 'address', indexed: false },
2279
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
2280
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
2281
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
2282
+ {
2283
+ name: 'amount',
2284
+ internalType: 'uint256',
2285
+ type: 'uint256',
2286
+ indexed: false,
2287
+ },
2288
+ ],
2289
+ name: 'Transfer',
2290
+ },
2291
+ { type: 'error', inputs: [], name: 'AlreadySeeded' },
2292
+ { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
2293
+ { type: 'error', inputs: [], name: 'BadLeg' },
2294
+ { type: 'error', inputs: [], name: 'BadParam' },
2295
+ { type: 'error', inputs: [], name: 'BadSuccessor' },
2296
+ { type: 'error', inputs: [], name: 'BalanceOverflow' },
2297
+ { type: 'error', inputs: [], name: 'Dissolved_' },
2298
+ { type: 'error', inputs: [], name: 'InsufficientBalance' },
2299
+ { type: 'error', inputs: [], name: 'InsufficientPermission' },
2300
+ { type: 'error', inputs: [], name: 'InsufficientQuote' },
2301
+ { type: 'error', inputs: [], name: 'InvalidToken' },
2302
+ { type: 'error', inputs: [], name: 'LegHeld' },
2303
+ { type: 'error', inputs: [], name: 'LegLive' },
2304
+ { type: 'error', inputs: [], name: 'MinBuffer' },
2305
+ {
2306
+ type: 'error',
2307
+ inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
2308
+ name: 'MulticallFailed',
2309
+ },
2310
+ { type: 'error', inputs: [], name: 'NonstandardToken' },
2311
+ { type: 'error', inputs: [], name: 'NotAllowed' },
2312
+ { type: 'error', inputs: [], name: 'NotAuthority' },
2313
+ { type: 'error', inputs: [], name: 'NotAuthorized' },
2314
+ { type: 'error', inputs: [], name: 'NotCollector' },
2315
+ { type: 'error', inputs: [], name: 'NotDissolvable' },
2316
+ { type: 'error', inputs: [], name: 'NotOperator' },
2317
+ { type: 'error', inputs: [], name: 'NotSeeded' },
2318
+ { type: 'error', inputs: [], name: 'NotSoleLP' },
2319
+ { type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
2320
+ { type: 'error', inputs: [], name: 'PoolLocked' },
2321
+ { type: 'error', inputs: [], name: 'PoolNotInitialized' },
2322
+ { type: 'error', inputs: [], name: 'PriceOutOfRange' },
2323
+ {
2324
+ type: 'error',
2325
+ inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2326
+ name: 'QuoteResult',
2327
+ },
2328
+ { type: 'error', inputs: [], name: 'ReserveNotRepresentable' },
2329
+ { type: 'error', inputs: [], name: 'Restructured' },
2330
+ { type: 'error', inputs: [], name: 'SameAsset' },
2331
+ { type: 'error', inputs: [], name: 'Slippage' },
2332
+ { type: 'error', inputs: [], name: 'StrikeLocked' },
2333
+ { type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
2334
+ { type: 'error', inputs: [], name: 'TokensNotSettled' },
2335
+ { type: 'error', inputs: [], name: 'TooManyLegs' },
2336
+ { type: 'error', inputs: [], name: 'TransferShortfall' },
2337
+ { type: 'error', inputs: [], name: 'ZeroAmount' },
2338
+ ];
2339
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2340
+ // FPoolSponsor
2341
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2342
+ export const fPoolSponsorAbi = [
2343
+ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
2344
+ {
2345
+ type: 'function',
2346
+ inputs: [],
2347
+ name: 'FEE_MIN',
2348
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2349
+ stateMutability: 'view',
2350
+ },
2351
+ {
2352
+ type: 'function',
2353
+ inputs: [],
2354
+ name: 'HARVEST_FEE',
2355
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2356
+ stateMutability: 'view',
2357
+ },
2358
+ {
2359
+ type: 'function',
2360
+ inputs: [],
2361
+ name: 'LEVER_FLOOR',
2362
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2363
+ stateMutability: 'view',
2364
+ },
2365
+ {
2366
+ type: 'function',
2367
+ inputs: [],
2368
+ name: 'MINT_FEE',
2369
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2370
+ stateMutability: 'view',
2371
+ },
2372
+ {
2373
+ type: 'function',
2374
+ inputs: [],
2375
+ name: 'MINT_FEE_PROTOCOL_CUT',
2376
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2377
+ stateMutability: 'view',
2378
+ },
2379
+ {
2380
+ type: 'function',
2381
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2382
+ name: 'acceptAuthority',
2383
+ outputs: [],
2384
+ stateMutability: 'nonpayable',
2385
+ },
2386
+ {
2387
+ type: 'function',
2388
+ inputs: [],
2389
+ name: 'acceptCollector',
2390
+ outputs: [],
2391
+ stateMutability: 'nonpayable',
2392
+ },
2393
+ {
2394
+ type: 'function',
2395
+ inputs: [
2396
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2397
+ { name: 'base', internalType: 'address', type: 'address' },
2398
+ { name: 'Lj', internalType: 'uint256', type: 'uint256' },
2399
+ { name: 'R', internalType: 'uint256', type: 'uint256' },
2400
+ ],
2401
+ name: 'admitLeg',
2402
+ outputs: [
2403
+ { name: 'dReserve', internalType: 'int256', type: 'int256' },
2404
+ { name: 'dShares', internalType: 'int256', type: 'int256' },
2405
+ ],
2406
+ stateMutability: 'nonpayable',
2407
+ },
2408
+ {
2409
+ type: 'function',
2410
+ inputs: [
2411
+ { name: 'owner', internalType: 'address', type: 'address' },
2412
+ { name: 'spender', internalType: 'address', type: 'address' },
2413
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
2414
+ ],
2415
+ name: 'allowance',
2416
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2417
+ stateMutability: 'view',
2418
+ },
2419
+ {
2420
+ type: 'function',
2421
+ inputs: [
2422
+ { name: '', internalType: 'bytes32', type: 'bytes32' },
2423
+ { name: '', internalType: 'address', type: 'address' },
2424
+ ],
2425
+ name: 'allowed',
2426
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2427
+ stateMutability: 'view',
2428
+ },
2429
+ {
2430
+ type: 'function',
2431
+ inputs: [
2432
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2433
+ { name: 'who', internalType: 'address', type: 'address' },
2434
+ ],
2435
+ name: 'appointOperator',
2436
+ outputs: [],
2437
+ stateMutability: 'nonpayable',
2438
+ },
2439
+ {
2440
+ type: 'function',
2441
+ inputs: [
2442
+ { name: 'spender', internalType: 'address', type: 'address' },
2443
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
2444
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
2445
+ ],
2446
+ name: 'approve',
2447
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2448
+ stateMutability: 'payable',
2449
+ },
2450
+ {
2451
+ type: 'function',
2452
+ inputs: [
2453
+ { name: 'owner', internalType: 'address', type: 'address' },
2454
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
2455
+ ],
2456
+ name: 'balanceOf',
2457
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2458
+ stateMutability: 'view',
2459
+ },
2460
+ {
2461
+ type: 'function',
2462
+ inputs: [
2463
+ { name: 'token', internalType: 'address', type: 'address' },
2464
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
2465
+ ],
2466
+ name: 'burnClaims',
2467
+ outputs: [],
2468
+ stateMutability: 'nonpayable',
2469
+ },
2470
+ {
2471
+ type: 'function',
2472
+ inputs: [
2473
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2474
+ { name: 'to', internalType: 'address', type: 'address' },
2475
+ ],
2476
+ name: 'claim',
2477
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2478
+ stateMutability: 'nonpayable',
2479
+ },
2480
+ {
2481
+ type: 'function',
2482
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2483
+ name: 'claimIdOf',
2484
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2485
+ stateMutability: 'pure',
2486
+ },
2487
+ {
2488
+ type: 'function',
2489
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
2490
+ name: 'claimsOutstanding',
2491
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2492
+ stateMutability: 'view',
2493
+ },
2494
+ {
2495
+ type: 'function',
2496
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2497
+ name: 'compositeX',
2498
+ outputs: [{ name: 'X', internalType: 'int256', type: 'int256' }],
2499
+ stateMutability: 'view',
2500
+ },
2501
+ {
2502
+ type: 'function',
2503
+ inputs: [{ name: 'id', internalType: 'uint256', type: 'uint256' }],
2504
+ name: 'decimals',
2505
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
2506
+ stateMutability: 'view',
2507
+ },
2508
+ {
2509
+ type: 'function',
2510
+ inputs: [
2511
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2512
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
2513
+ ],
2514
+ name: 'deepen',
2515
+ outputs: [],
2516
+ stateMutability: 'nonpayable',
2517
+ },
2518
+ {
2519
+ type: 'function',
2520
+ inputs: [
2521
+ { name: 'token', internalType: 'address', type: 'address' },
2522
+ { name: 'target', internalType: 'address', type: 'address' },
2523
+ ],
2524
+ name: 'deltaOf',
2525
+ outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
2526
+ stateMutability: 'view',
2527
+ },
2528
+ {
2529
+ type: 'function',
2530
+ inputs: [
2531
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2532
+ { name: 'successor', internalType: 'bytes32', type: 'bytes32' },
2533
+ ],
2534
+ name: 'dissolve',
2535
+ outputs: [],
2536
+ stateMutability: 'nonpayable',
2537
+ },
2538
+ {
2539
+ type: 'function',
2540
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2541
+ name: 'dps',
2542
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2543
+ stateMutability: 'view',
2544
+ },
2545
+ {
2546
+ type: 'function',
2547
+ inputs: [],
2548
+ name: 'feeCollector',
2549
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2550
+ stateMutability: 'view',
2551
+ },
2552
+ {
2553
+ type: 'function',
2554
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2555
+ name: 'feePerL',
2556
+ outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1331
2557
  stateMutability: 'view',
1332
2558
  },
1333
2559
  {
@@ -1348,50 +2574,6 @@ export const fPoolManagerAbi = [
1348
2574
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1349
2575
  stateMutability: 'view',
1350
2576
  },
1351
- {
1352
- type: 'function',
1353
- inputs: [
1354
- {
1355
- name: 'key',
1356
- internalType: 'struct FPoolKey',
1357
- type: 'tuple',
1358
- components: [
1359
- { name: 'quote', internalType: 'address', type: 'address' },
1360
- { name: 'bases', internalType: 'address[]', type: 'address[]' },
1361
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1362
- { name: 'phi', internalType: 'uint256', type: 'uint256' },
1363
- { name: 'feesOnly', internalType: 'bool', type: 'bool' },
1364
- { name: 'authority', internalType: 'address', type: 'address' },
1365
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1366
- ],
1367
- },
1368
- ],
1369
- name: 'idOf',
1370
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1371
- stateMutability: 'pure',
1372
- },
1373
- {
1374
- type: 'function',
1375
- inputs: [
1376
- {
1377
- name: 'key',
1378
- internalType: 'struct FPoolKey',
1379
- type: 'tuple',
1380
- components: [
1381
- { name: 'quote', internalType: 'address', type: 'address' },
1382
- { name: 'bases', internalType: 'address[]', type: 'address[]' },
1383
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1384
- { name: 'phi', internalType: 'uint256', type: 'uint256' },
1385
- { name: 'feesOnly', internalType: 'bool', type: 'bool' },
1386
- { name: 'authority', internalType: 'address', type: 'address' },
1387
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1388
- ],
1389
- },
1390
- ],
1391
- name: 'initialize',
1392
- outputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1393
- stateMutability: 'nonpayable',
1394
- },
1395
2577
  {
1396
2578
  type: 'function',
1397
2579
  inputs: [
@@ -1409,33 +2591,6 @@ export const fPoolManagerAbi = [
1409
2591
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1410
2592
  stateMutability: 'view',
1411
2593
  },
1412
- {
1413
- type: 'function',
1414
- inputs: [
1415
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1416
- { name: 'j', internalType: 'uint256', type: 'uint256' },
1417
- ],
1418
- name: 'legOf',
1419
- outputs: [
1420
- { name: 'base', internalType: 'address', type: 'address' },
1421
- { name: 'weight', internalType: 'uint256', type: 'uint256' },
1422
- { name: 'x', internalType: 'int256', type: 'int256' },
1423
- { name: 'reserve', internalType: 'uint256', type: 'uint256' },
1424
- ],
1425
- stateMutability: 'view',
1426
- },
1427
- {
1428
- type: 'function',
1429
- inputs: [
1430
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1431
- { name: 'to', internalType: 'address', type: 'address' },
1432
- { name: 'dL', internalType: 'uint256', type: 'uint256' },
1433
- { name: 'maxQuoteIn', internalType: 'uint256', type: 'uint256' },
1434
- ],
1435
- name: 'mint',
1436
- outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1437
- stateMutability: 'nonpayable',
1438
- },
1439
2594
  {
1440
2595
  type: 'function',
1441
2596
  inputs: [
@@ -1447,20 +2602,6 @@ export const fPoolManagerAbi = [
1447
2602
  outputs: [],
1448
2603
  stateMutability: 'nonpayable',
1449
2604
  },
1450
- {
1451
- type: 'function',
1452
- inputs: [{ name: 'calls', internalType: 'bytes[]', type: 'bytes[]' }],
1453
- name: 'multicall',
1454
- outputs: [{ name: 'results', internalType: 'bytes[]', type: 'bytes[]' }],
1455
- stateMutability: 'nonpayable',
1456
- },
1457
- {
1458
- type: 'function',
1459
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1460
- name: 'n',
1461
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1462
- stateMutability: 'view',
1463
- },
1464
2605
  {
1465
2606
  type: 'function',
1466
2607
  inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
@@ -1484,8 +2625,8 @@ export const fPoolManagerAbi = [
1484
2625
  },
1485
2626
  {
1486
2627
  type: 'function',
1487
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1488
- name: 'phiB4B',
2628
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2629
+ name: 'pot',
1489
2630
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1490
2631
  stateMutability: 'view',
1491
2632
  },
@@ -1506,24 +2647,6 @@ export const fPoolManagerAbi = [
1506
2647
  outputs: [],
1507
2648
  stateMutability: 'nonpayable',
1508
2649
  },
1509
- {
1510
- type: 'function',
1511
- inputs: [
1512
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1513
- {
1514
- name: 'kind',
1515
- internalType: 'enum FPoolManager.QuoteKind',
1516
- type: 'uint8',
1517
- },
1518
- { name: 'j', internalType: 'uint256', type: 'uint256' },
1519
- { name: 'k', internalType: 'uint256', type: 'uint256' },
1520
- { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1521
- { name: 'taker', internalType: 'address', type: 'address' },
1522
- ],
1523
- name: 'quoteSwap',
1524
- outputs: [],
1525
- stateMutability: 'nonpayable',
1526
- },
1527
2650
  {
1528
2651
  type: 'function',
1529
2652
  inputs: [
@@ -1534,28 +2657,6 @@ export const fPoolManagerAbi = [
1534
2657
  outputs: [],
1535
2658
  stateMutability: 'nonpayable',
1536
2659
  },
1537
- {
1538
- type: 'function',
1539
- inputs: [
1540
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1541
- { name: 'j', internalType: 'uint256', type: 'uint256' },
1542
- ],
1543
- name: 'reserveOf',
1544
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1545
- stateMutability: 'view',
1546
- },
1547
- {
1548
- type: 'function',
1549
- inputs: [
1550
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1551
- { name: 'L0', internalType: 'uint256', type: 'uint256' },
1552
- { name: 'x0', internalType: 'int256[]', type: 'int256[]' },
1553
- { name: 'Q0', internalType: 'uint256', type: 'uint256' },
1554
- ],
1555
- name: 'seed',
1556
- outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1557
- stateMutability: 'nonpayable',
1558
- },
1559
2660
  {
1560
2661
  type: 'function',
1561
2662
  inputs: [
@@ -1604,7 +2705,7 @@ export const fPoolManagerAbi = [
1604
2705
  { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1605
2706
  { name: 'j', internalType: 'uint256', type: 'uint256' },
1606
2707
  { name: 'newLj', internalType: 'uint256', type: 'uint256' },
1607
- { name: 'xIfNew', internalType: 'int256', type: 'int256' },
2708
+ { name: 'rIfNew', internalType: 'uint256', type: 'uint256' },
1608
2709
  ],
1609
2710
  name: 'setLegL',
1610
2711
  outputs: [
@@ -1671,46 +2772,6 @@ export const fPoolManagerAbi = [
1671
2772
  outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }],
1672
2773
  stateMutability: 'view',
1673
2774
  },
1674
- {
1675
- type: 'function',
1676
- inputs: [
1677
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1678
- { name: 'j', internalType: 'uint256', type: 'uint256' },
1679
- { name: 'k', internalType: 'uint256', type: 'uint256' },
1680
- { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1681
- { name: 'minOut', internalType: 'uint256', type: 'uint256' },
1682
- { name: 'taker', internalType: 'address', type: 'address' },
1683
- ],
1684
- name: 'swapBaseForBase',
1685
- outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
1686
- stateMutability: 'nonpayable',
1687
- },
1688
- {
1689
- type: 'function',
1690
- inputs: [
1691
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1692
- { name: 'j', internalType: 'uint256', type: 'uint256' },
1693
- { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1694
- { name: 'minOut', internalType: 'uint256', type: 'uint256' },
1695
- { name: 'taker', internalType: 'address', type: 'address' },
1696
- ],
1697
- name: 'swapBaseIn',
1698
- outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
1699
- stateMutability: 'nonpayable',
1700
- },
1701
- {
1702
- type: 'function',
1703
- inputs: [
1704
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1705
- { name: 'j', internalType: 'uint256', type: 'uint256' },
1706
- { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
1707
- { name: 'minOut', internalType: 'uint256', type: 'uint256' },
1708
- { name: 'taker', internalType: 'address', type: 'address' },
1709
- ],
1710
- name: 'swapQuoteIn',
1711
- outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
1712
- stateMutability: 'nonpayable',
1713
- },
1714
2775
  {
1715
2776
  type: 'function',
1716
2777
  inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
@@ -1968,9 +3029,41 @@ export const fPoolManagerAbi = [
1968
3029
  type: 'bytes32',
1969
3030
  indexed: true,
1970
3031
  },
3032
+ {
3033
+ name: 'successor',
3034
+ internalType: 'bytes32',
3035
+ type: 'bytes32',
3036
+ indexed: true,
3037
+ },
1971
3038
  ],
1972
3039
  name: 'Dissolve',
1973
3040
  },
3041
+ {
3042
+ type: 'event',
3043
+ anonymous: false,
3044
+ inputs: [
3045
+ {
3046
+ name: 'poolId',
3047
+ internalType: 'bytes32',
3048
+ type: 'bytes32',
3049
+ indexed: true,
3050
+ },
3051
+ {
3052
+ name: 'holder',
3053
+ internalType: 'address',
3054
+ type: 'address',
3055
+ indexed: true,
3056
+ },
3057
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
3058
+ {
3059
+ name: 'amount',
3060
+ internalType: 'uint256',
3061
+ type: 'uint256',
3062
+ indexed: false,
3063
+ },
3064
+ ],
3065
+ name: 'DividendClaimed',
3066
+ },
1974
3067
  {
1975
3068
  type: 'event',
1976
3069
  anonymous: false,
@@ -2022,6 +3115,12 @@ export const fPoolManagerAbi = [
2022
3115
  type: 'uint256',
2023
3116
  indexed: false,
2024
3117
  },
3118
+ {
3119
+ name: 'toSponsor',
3120
+ internalType: 'uint256',
3121
+ type: 'uint256',
3122
+ indexed: false,
3123
+ },
2025
3124
  ],
2026
3125
  name: 'Harvest',
2027
3126
  },
@@ -2074,7 +3173,12 @@ export const fPoolManagerAbi = [
2074
3173
  indexed: false,
2075
3174
  },
2076
3175
  { name: 'phi', internalType: 'uint256', type: 'uint256', indexed: false },
2077
- { name: 'feesOnly', internalType: 'bool', type: 'bool', indexed: false },
3176
+ {
3177
+ name: 'lockStrike',
3178
+ internalType: 'bool',
3179
+ type: 'bool',
3180
+ indexed: false,
3181
+ },
2078
3182
  ],
2079
3183
  name: 'Initialize',
2080
3184
  },
@@ -2101,7 +3205,12 @@ export const fPoolManagerAbi = [
2101
3205
  type: 'uint256',
2102
3206
  indexed: false,
2103
3207
  },
2104
- { name: 'x', internalType: 'int256', type: 'int256', indexed: false },
3208
+ {
3209
+ name: 'reserve',
3210
+ internalType: 'uint256',
3211
+ type: 'uint256',
3212
+ indexed: false,
3213
+ },
2105
3214
  { name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
2106
3215
  {
2107
3216
  name: 'theta0',
@@ -2268,9 +3377,9 @@ export const fPoolManagerAbi = [
2268
3377
  indexed: false,
2269
3378
  },
2270
3379
  {
2271
- name: 'x0',
2272
- internalType: 'int256[]',
2273
- type: 'int256[]',
3380
+ name: 'r0',
3381
+ internalType: 'uint256[]',
3382
+ type: 'uint256[]',
2274
3383
  indexed: false,
2275
3384
  },
2276
3385
  ],
@@ -2331,15 +3440,15 @@ export const fPoolManagerAbi = [
2331
3440
  indexed: false,
2332
3441
  },
2333
3442
  {
2334
- name: 'newXIn',
2335
- internalType: 'int256',
2336
- type: 'int256',
3443
+ name: 'reserveIn',
3444
+ internalType: 'uint256',
3445
+ type: 'uint256',
2337
3446
  indexed: false,
2338
3447
  },
2339
3448
  {
2340
- name: 'newXOut',
2341
- internalType: 'int256',
2342
- type: 'int256',
3449
+ name: 'reserveOut',
3450
+ internalType: 'uint256',
3451
+ type: 'uint256',
2343
3452
  indexed: false,
2344
3453
  },
2345
3454
  ],
@@ -2366,9 +3475,9 @@ export const fPoolManagerAbi = [
2366
3475
  { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
2367
3476
  { type: 'error', inputs: [], name: 'BadLeg' },
2368
3477
  { type: 'error', inputs: [], name: 'BadParam' },
3478
+ { type: 'error', inputs: [], name: 'BadSuccessor' },
2369
3479
  { type: 'error', inputs: [], name: 'BalanceOverflow' },
2370
3480
  { type: 'error', inputs: [], name: 'Dissolved_' },
2371
- { type: 'error', inputs: [], name: 'FeesOnly' },
2372
3481
  { type: 'error', inputs: [], name: 'InsufficientBalance' },
2373
3482
  { type: 'error', inputs: [], name: 'InsufficientPermission' },
2374
3483
  { type: 'error', inputs: [], name: 'InsufficientQuote' },
@@ -2376,16 +3485,12 @@ export const fPoolManagerAbi = [
2376
3485
  { type: 'error', inputs: [], name: 'LegHeld' },
2377
3486
  { type: 'error', inputs: [], name: 'LegLive' },
2378
3487
  { type: 'error', inputs: [], name: 'MinBuffer' },
2379
- {
2380
- type: 'error',
2381
- inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
2382
- name: 'MulticallFailed',
2383
- },
2384
3488
  { type: 'error', inputs: [], name: 'NonstandardToken' },
2385
3489
  { type: 'error', inputs: [], name: 'NotAllowed' },
2386
3490
  { type: 'error', inputs: [], name: 'NotAuthority' },
2387
3491
  { type: 'error', inputs: [], name: 'NotAuthorized' },
2388
3492
  { type: 'error', inputs: [], name: 'NotCollector' },
3493
+ { type: 'error', inputs: [], name: 'NotDelegated' },
2389
3494
  { type: 'error', inputs: [], name: 'NotDissolvable' },
2390
3495
  { type: 'error', inputs: [], name: 'NotOperator' },
2391
3496
  { type: 'error', inputs: [], name: 'NotSeeded' },
@@ -2403,6 +3508,7 @@ export const fPoolManagerAbi = [
2403
3508
  { type: 'error', inputs: [], name: 'Restructured' },
2404
3509
  { type: 'error', inputs: [], name: 'SameAsset' },
2405
3510
  { type: 'error', inputs: [], name: 'Slippage' },
3511
+ { type: 'error', inputs: [], name: 'StrikeLocked' },
2406
3512
  { type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
2407
3513
  { type: 'error', inputs: [], name: 'TokensNotSettled' },
2408
3514
  { type: 'error', inputs: [], name: 'TooManyLegs' },
@@ -2497,6 +3603,7 @@ export const logswapLensAbi = [
2497
3603
  { name: 'quote', internalType: 'address', type: 'address' },
2498
3604
  { name: 'shares', internalType: 'uint256', type: 'uint256' },
2499
3605
  { name: 'value', internalType: 'uint256', type: 'uint256' },
3606
+ { name: 'dividend', internalType: 'uint256', type: 'uint256' },
2500
3607
  ],
2501
3608
  },
2502
3609
  ],
@@ -2551,13 +3658,13 @@ export const logswapLensAbi = [
2551
3658
  outputs: [
2552
3659
  {
2553
3660
  name: 'out',
2554
- internalType: 'struct FPoolManager.Pool[]',
3661
+ internalType: 'struct FPoolBase.Pool[]',
2555
3662
  type: 'tuple[]',
2556
3663
  components: [
2557
3664
  { name: 'quote', internalType: 'address', type: 'address' },
2558
3665
  { name: 'phi', internalType: 'uint96', type: 'uint96' },
2559
3666
  { name: 'authority', internalType: 'address', type: 'address' },
2560
- { name: 'feesOnly', internalType: 'bool', type: 'bool' },
3667
+ { name: 'lockStrike', internalType: 'bool', type: 'bool' },
2561
3668
  { name: 'seeded', internalType: 'bool', type: 'bool' },
2562
3669
  { name: 'dissolved', internalType: 'bool', type: 'bool' },
2563
3670
  { name: 'n', internalType: 'uint8', type: 'uint8' },
@@ -2579,6 +3686,7 @@ export const logswapLensAbi = [
2579
3686
  { name: 'minBuffer', internalType: 'uint96', type: 'uint96' },
2580
3687
  { name: 'incomeTaken', internalType: 'uint256', type: 'uint256' },
2581
3688
  { name: 'name', internalType: 'bytes32', type: 'bytes32' },
3689
+ { name: 'successor', internalType: 'bytes32', type: 'bytes32' },
2582
3690
  ],
2583
3691
  },
2584
3692
  ],
@@ -2896,6 +4004,22 @@ export const logswapLensAbi = [
2896
4004
  ],
2897
4005
  stateMutability: 'pure',
2898
4006
  },
4007
+ {
4008
+ type: 'function',
4009
+ inputs: [
4010
+ { name: 'fromPool', internalType: 'bytes32', type: 'bytes32' },
4011
+ { name: 'toPool', internalType: 'bytes32', type: 'bytes32' },
4012
+ { name: 'holder', internalType: 'address', type: 'address' },
4013
+ { name: 'shares', internalType: 'uint256', type: 'uint256' },
4014
+ ],
4015
+ name: 'previewRollIn',
4016
+ outputs: [
4017
+ { name: 'dL', internalType: 'uint256', type: 'uint256' },
4018
+ { name: 'quoteShort', internalType: 'uint256', type: 'uint256' },
4019
+ { name: 'quoteExcess', internalType: 'uint256', type: 'uint256' },
4020
+ ],
4021
+ stateMutability: 'view',
4022
+ },
2899
4023
  {
2900
4024
  type: 'function',
2901
4025
  inputs: [
@@ -3531,6 +4655,22 @@ export const logswapRouterAbi = [
3531
4655
  outputs: [{ name: '', internalType: 'contract IPermit2', type: 'address' }],
3532
4656
  stateMutability: 'view',
3533
4657
  },
4658
+ {
4659
+ type: 'function',
4660
+ inputs: [
4661
+ { name: '', internalType: 'bytes32', type: 'bytes32' },
4662
+ { name: '', internalType: 'bytes32', type: 'bytes32' },
4663
+ { name: '', internalType: 'uint256', type: 'uint256' },
4664
+ { name: '', internalType: 'uint256', type: 'uint256' },
4665
+ { name: '', internalType: 'uint256', type: 'uint256' },
4666
+ { name: '', internalType: 'uint256', type: 'uint256' },
4667
+ { name: '', internalType: 'address', type: 'address' },
4668
+ { name: '', internalType: 'uint256', type: 'uint256' },
4669
+ ],
4670
+ name: 'rollIn',
4671
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4672
+ stateMutability: 'nonpayable',
4673
+ },
3534
4674
  {
3535
4675
  type: 'function',
3536
4676
  inputs: [