@logswap/sdk 0.5.42 → 0.5.44

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/src/generated.ts CHANGED
@@ -1079,7 +1079,6 @@ export const fPoolManagerAbi = [
1079
1079
  ],
1080
1080
  stateMutability: 'nonpayable',
1081
1081
  },
1082
- { type: 'fallback', stateMutability: 'nonpayable' },
1083
1082
  {
1084
1083
  type: 'function',
1085
1084
  inputs: [],
@@ -1090,7 +1089,7 @@ export const fPoolManagerAbi = [
1090
1089
  {
1091
1090
  type: 'function',
1092
1091
  inputs: [],
1093
- name: 'HARVEST_FEE',
1092
+ name: 'HARVEST_PROTOCOL_CUT',
1094
1093
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1095
1094
  stateMutability: 'view',
1096
1095
  },
@@ -1108,6 +1107,13 @@ export const fPoolManagerAbi = [
1108
1107
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1109
1108
  stateMutability: 'view',
1110
1109
  },
1110
+ {
1111
+ type: 'function',
1112
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1113
+ name: 'acceptAuthority',
1114
+ outputs: [],
1115
+ stateMutability: 'nonpayable',
1116
+ },
1111
1117
  {
1112
1118
  type: 'function',
1113
1119
  inputs: [],
@@ -1115,6 +1121,13 @@ export const fPoolManagerAbi = [
1115
1121
  outputs: [],
1116
1122
  stateMutability: 'nonpayable',
1117
1123
  },
1124
+ {
1125
+ type: 'function',
1126
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1127
+ name: 'acceptOperator',
1128
+ outputs: [],
1129
+ stateMutability: 'nonpayable',
1130
+ },
1118
1131
  {
1119
1132
  type: 'function',
1120
1133
  inputs: [
@@ -1136,6 +1149,16 @@ export const fPoolManagerAbi = [
1136
1149
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1137
1150
  stateMutability: 'view',
1138
1151
  },
1152
+ {
1153
+ type: 'function',
1154
+ inputs: [
1155
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1156
+ { name: 'who', internalType: 'address', type: 'address' },
1157
+ ],
1158
+ name: 'appointOperator',
1159
+ outputs: [],
1160
+ stateMutability: 'nonpayable',
1161
+ },
1139
1162
  {
1140
1163
  type: 'function',
1141
1164
  inputs: [
@@ -1193,6 +1216,17 @@ export const fPoolManagerAbi = [
1193
1216
  outputs: [],
1194
1217
  stateMutability: 'nonpayable',
1195
1218
  },
1219
+ {
1220
+ type: 'function',
1221
+ inputs: [
1222
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1223
+ { name: 'gen', internalType: 'uint256', type: 'uint256' },
1224
+ { name: 'to', internalType: 'address', type: 'address' },
1225
+ ],
1226
+ name: 'claim',
1227
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
1228
+ stateMutability: 'nonpayable',
1229
+ },
1196
1230
  {
1197
1231
  type: 'function',
1198
1232
  inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
@@ -1231,6 +1265,13 @@ export const fPoolManagerAbi = [
1231
1265
  outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1232
1266
  stateMutability: 'view',
1233
1267
  },
1268
+ {
1269
+ type: 'function',
1270
+ inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1271
+ name: 'dissolve',
1272
+ outputs: [],
1273
+ stateMutability: 'nonpayable',
1274
+ },
1234
1275
  {
1235
1276
  type: 'function',
1236
1277
  inputs: [
@@ -1310,10 +1351,21 @@ export const fPoolManagerAbi = [
1310
1351
  ],
1311
1352
  stateMutability: 'view',
1312
1353
  },
1354
+ {
1355
+ type: 'function',
1356
+ inputs: [
1357
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1358
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1359
+ { name: 'to', internalType: 'address', type: 'address' },
1360
+ ],
1361
+ name: 'harvest',
1362
+ outputs: [],
1363
+ stateMutability: 'nonpayable',
1364
+ },
1313
1365
  {
1314
1366
  type: 'function',
1315
1367
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1316
- name: 'harvestFeeExempt',
1368
+ name: 'harvestCutExempt',
1317
1369
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1318
1370
  stateMutability: 'view',
1319
1371
  },
@@ -1465,6 +1517,16 @@ export const fPoolManagerAbi = [
1465
1517
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1466
1518
  stateMutability: 'view',
1467
1519
  },
1520
+ {
1521
+ type: 'function',
1522
+ inputs: [
1523
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1524
+ { name: 'next', internalType: 'address', type: 'address' },
1525
+ ],
1526
+ name: 'proposeAuthority',
1527
+ outputs: [],
1528
+ stateMutability: 'nonpayable',
1529
+ },
1468
1530
  {
1469
1531
  type: 'function',
1470
1532
  inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
@@ -1524,6 +1586,69 @@ export const fPoolManagerAbi = [
1524
1586
  outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1525
1587
  stateMutability: 'nonpayable',
1526
1588
  },
1589
+ {
1590
+ type: 'function',
1591
+ inputs: [
1592
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1593
+ { name: 'who', internalType: 'address[]', type: 'address[]' },
1594
+ { name: 'yes', internalType: 'bool', type: 'bool' },
1595
+ ],
1596
+ name: 'setAllowed',
1597
+ outputs: [],
1598
+ stateMutability: 'nonpayable',
1599
+ },
1600
+ {
1601
+ type: 'function',
1602
+ inputs: [
1603
+ { name: 'mintFeeProtocolCut', internalType: 'uint256', type: 'uint256' },
1604
+ { name: 'harvestProtocolCut', internalType: 'uint256', type: 'uint256' },
1605
+ ],
1606
+ name: 'setFeeParams',
1607
+ outputs: [],
1608
+ stateMutability: 'nonpayable',
1609
+ },
1610
+ {
1611
+ type: 'function',
1612
+ inputs: [
1613
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1614
+ { name: 'gateMint', internalType: 'bool', type: 'bool' },
1615
+ { name: 'gateSwap', internalType: 'bool', type: 'bool' },
1616
+ ],
1617
+ name: 'setGates',
1618
+ outputs: [],
1619
+ stateMutability: 'nonpayable',
1620
+ },
1621
+ {
1622
+ type: 'function',
1623
+ inputs: [
1624
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1625
+ { name: 'exempt', internalType: 'bool', type: 'bool' },
1626
+ ],
1627
+ name: 'setHarvestCutExempt',
1628
+ outputs: [],
1629
+ stateMutability: 'nonpayable',
1630
+ },
1631
+ {
1632
+ type: 'function',
1633
+ inputs: [
1634
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1635
+ { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1636
+ { name: 'newBases', internalType: 'address[]', type: 'address[]' },
1637
+ ],
1638
+ name: 'setLegs',
1639
+ outputs: [],
1640
+ stateMutability: 'nonpayable',
1641
+ },
1642
+ {
1643
+ type: 'function',
1644
+ inputs: [
1645
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1646
+ { name: 'name_', internalType: 'bytes32', type: 'bytes32' },
1647
+ ],
1648
+ name: 'setName',
1649
+ outputs: [],
1650
+ stateMutability: 'nonpayable',
1651
+ },
1527
1652
  {
1528
1653
  type: 'function',
1529
1654
  inputs: [
@@ -1534,6 +1659,16 @@ export const fPoolManagerAbi = [
1534
1659
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1535
1660
  stateMutability: 'payable',
1536
1661
  },
1662
+ {
1663
+ type: 'function',
1664
+ inputs: [
1665
+ { name: 'who', internalType: 'address', type: 'address' },
1666
+ { name: 'name_', internalType: 'bytes32', type: 'bytes32' },
1667
+ ],
1668
+ name: 'setSponsorName',
1669
+ outputs: [],
1670
+ stateMutability: 'nonpayable',
1671
+ },
1537
1672
  {
1538
1673
  type: 'function',
1539
1674
  inputs: [],
@@ -1551,15 +1686,6 @@ export const fPoolManagerAbi = [
1551
1686
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1552
1687
  stateMutability: 'pure',
1553
1688
  },
1554
- {
1555
- type: 'function',
1556
- inputs: [],
1557
- name: 'sponsor',
1558
- outputs: [
1559
- { name: '', internalType: 'contract FPoolSponsor', type: 'address' },
1560
- ],
1561
- stateMutability: 'view',
1562
- },
1563
1689
  {
1564
1690
  type: 'function',
1565
1691
  inputs: [{ name: '', internalType: 'address', type: 'address' }],
@@ -1904,7 +2030,7 @@ export const fPoolManagerAbi = [
1904
2030
  indexed: false,
1905
2031
  },
1906
2032
  {
1907
- name: 'harvestFee',
2033
+ name: 'harvestProtocolCut',
1908
2034
  internalType: 'uint256',
1909
2035
  type: 'uint256',
1910
2036
  indexed: false,
@@ -1965,7 +2091,7 @@ export const fPoolManagerAbi = [
1965
2091
  },
1966
2092
  { name: 'exempt', internalType: 'bool', type: 'bool', indexed: false },
1967
2093
  ],
1968
- name: 'HarvestFeeExemptSet',
2094
+ name: 'HarvestCutExemptSet',
1969
2095
  },
1970
2096
  {
1971
2097
  type: 'event',
@@ -2362,1163 +2488,6 @@ export const fPoolManagerAbi = [
2362
2488
  { type: 'error', inputs: [], name: 'ZeroAmount' },
2363
2489
  ] as const
2364
2490
 
2365
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2366
- // FPoolSponsor
2367
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2368
-
2369
- export const fPoolSponsorAbi = [
2370
- { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
2371
- {
2372
- type: 'function',
2373
- inputs: [],
2374
- name: 'FEE_MIN',
2375
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2376
- stateMutability: 'view',
2377
- },
2378
- {
2379
- type: 'function',
2380
- inputs: [],
2381
- name: 'HARVEST_FEE',
2382
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2383
- stateMutability: 'view',
2384
- },
2385
- {
2386
- type: 'function',
2387
- inputs: [],
2388
- name: 'MINT_FEE',
2389
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2390
- stateMutability: 'view',
2391
- },
2392
- {
2393
- type: 'function',
2394
- inputs: [],
2395
- name: 'MINT_FEE_PROTOCOL_CUT',
2396
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2397
- stateMutability: 'view',
2398
- },
2399
- {
2400
- type: 'function',
2401
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2402
- name: 'acceptAuthority',
2403
- outputs: [],
2404
- stateMutability: 'nonpayable',
2405
- },
2406
- {
2407
- type: 'function',
2408
- inputs: [],
2409
- name: 'acceptCollector',
2410
- outputs: [],
2411
- stateMutability: 'nonpayable',
2412
- },
2413
- {
2414
- type: 'function',
2415
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2416
- name: 'acceptOperator',
2417
- outputs: [],
2418
- stateMutability: 'nonpayable',
2419
- },
2420
- {
2421
- type: 'function',
2422
- inputs: [
2423
- { name: 'owner', internalType: 'address', type: 'address' },
2424
- { name: 'spender', internalType: 'address', type: 'address' },
2425
- { name: 'id', internalType: 'uint256', type: 'uint256' },
2426
- ],
2427
- name: 'allowance',
2428
- outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2429
- stateMutability: 'view',
2430
- },
2431
- {
2432
- type: 'function',
2433
- inputs: [
2434
- { name: '', internalType: 'bytes32', type: 'bytes32' },
2435
- { name: '', internalType: 'address', type: 'address' },
2436
- ],
2437
- name: 'allowed',
2438
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2439
- stateMutability: 'view',
2440
- },
2441
- {
2442
- type: 'function',
2443
- inputs: [
2444
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2445
- { name: 'who', internalType: 'address', type: 'address' },
2446
- ],
2447
- name: 'appointOperator',
2448
- outputs: [],
2449
- stateMutability: 'nonpayable',
2450
- },
2451
- {
2452
- type: 'function',
2453
- inputs: [
2454
- { name: 'spender', internalType: 'address', type: 'address' },
2455
- { name: 'id', internalType: 'uint256', type: 'uint256' },
2456
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2457
- ],
2458
- name: 'approve',
2459
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2460
- stateMutability: 'payable',
2461
- },
2462
- {
2463
- type: 'function',
2464
- inputs: [
2465
- { name: 'owner', internalType: 'address', type: 'address' },
2466
- { name: 'id', internalType: 'uint256', type: 'uint256' },
2467
- ],
2468
- name: 'balanceOf',
2469
- outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2470
- stateMutability: 'view',
2471
- },
2472
- {
2473
- type: 'function',
2474
- inputs: [
2475
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2476
- { name: 'gen', internalType: 'uint256', type: 'uint256' },
2477
- ],
2478
- name: 'bundleOf',
2479
- outputs: [
2480
- { name: 'supply', internalType: 'uint256', type: 'uint256' },
2481
- { name: 'quote', internalType: 'uint256', type: 'uint256' },
2482
- { name: 'base', internalType: 'uint256[]', type: 'uint256[]' },
2483
- ],
2484
- stateMutability: 'view',
2485
- },
2486
- {
2487
- type: 'function',
2488
- inputs: [
2489
- { name: 'token', internalType: 'address', type: 'address' },
2490
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2491
- ],
2492
- name: 'burnClaims',
2493
- outputs: [],
2494
- stateMutability: 'nonpayable',
2495
- },
2496
- {
2497
- type: 'function',
2498
- inputs: [
2499
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2500
- { name: 'gen', internalType: 'uint256', type: 'uint256' },
2501
- { name: 'to', internalType: 'address', type: 'address' },
2502
- ],
2503
- name: 'claim',
2504
- outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
2505
- stateMutability: 'nonpayable',
2506
- },
2507
- {
2508
- type: 'function',
2509
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2510
- name: 'claimIdOf',
2511
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2512
- stateMutability: 'pure',
2513
- },
2514
- {
2515
- type: 'function',
2516
- inputs: [{ name: '', internalType: 'address', type: 'address' }],
2517
- name: 'claimsOutstanding',
2518
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2519
- stateMutability: 'view',
2520
- },
2521
- {
2522
- type: 'function',
2523
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2524
- name: 'compositeX',
2525
- outputs: [{ name: 'X', internalType: 'int256', type: 'int256' }],
2526
- stateMutability: 'view',
2527
- },
2528
- {
2529
- type: 'function',
2530
- inputs: [{ name: 'id', internalType: 'uint256', type: 'uint256' }],
2531
- name: 'decimals',
2532
- outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
2533
- stateMutability: 'view',
2534
- },
2535
- {
2536
- type: 'function',
2537
- inputs: [
2538
- { name: 'token', internalType: 'address', type: 'address' },
2539
- { name: 'target', internalType: 'address', type: 'address' },
2540
- ],
2541
- name: 'deltaOf',
2542
- outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
2543
- stateMutability: 'view',
2544
- },
2545
- {
2546
- type: 'function',
2547
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2548
- name: 'dissolve',
2549
- outputs: [],
2550
- stateMutability: 'nonpayable',
2551
- },
2552
- {
2553
- type: 'function',
2554
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2555
- name: 'dps',
2556
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2557
- stateMutability: 'view',
2558
- },
2559
- {
2560
- type: 'function',
2561
- inputs: [],
2562
- name: 'feeCollector',
2563
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2564
- stateMutability: 'view',
2565
- },
2566
- {
2567
- type: 'function',
2568
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2569
- name: 'feePerL',
2570
- outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
2571
- stateMutability: 'view',
2572
- },
2573
- {
2574
- type: 'function',
2575
- inputs: [
2576
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2577
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2578
- { name: 'to', internalType: 'address', type: 'address' },
2579
- ],
2580
- name: 'harvest',
2581
- outputs: [],
2582
- stateMutability: 'nonpayable',
2583
- },
2584
- {
2585
- type: 'function',
2586
- inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2587
- name: 'harvestFeeExempt',
2588
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2589
- stateMutability: 'view',
2590
- },
2591
- {
2592
- type: 'function',
2593
- inputs: [
2594
- { name: 'owner', internalType: 'address', type: 'address' },
2595
- { name: 'spender', internalType: 'address', type: 'address' },
2596
- ],
2597
- name: 'isOperator',
2598
- outputs: [{ name: 'status', internalType: 'bool', type: 'bool' }],
2599
- stateMutability: 'view',
2600
- },
2601
- {
2602
- type: 'function',
2603
- inputs: [],
2604
- name: 'isUnlocked',
2605
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2606
- stateMutability: 'view',
2607
- },
2608
- {
2609
- type: 'function',
2610
- inputs: [
2611
- { name: 'token', internalType: 'address', type: 'address' },
2612
- { name: 'to', internalType: 'address', type: 'address' },
2613
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2614
- ],
2615
- name: 'mintClaims',
2616
- outputs: [],
2617
- stateMutability: 'nonpayable',
2618
- },
2619
- {
2620
- type: 'function',
2621
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2622
- name: 'name',
2623
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
2624
- stateMutability: 'pure',
2625
- },
2626
- {
2627
- type: 'function',
2628
- inputs: [],
2629
- name: 'nonzeroDeltaCount',
2630
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2631
- stateMutability: 'view',
2632
- },
2633
- {
2634
- type: 'function',
2635
- inputs: [],
2636
- name: 'pendingCollector',
2637
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2638
- stateMutability: 'view',
2639
- },
2640
- {
2641
- type: 'function',
2642
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2643
- name: 'pot',
2644
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2645
- stateMutability: 'view',
2646
- },
2647
- {
2648
- type: 'function',
2649
- inputs: [
2650
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2651
- { name: 'next', internalType: 'address', type: 'address' },
2652
- ],
2653
- name: 'proposeAuthority',
2654
- outputs: [],
2655
- stateMutability: 'nonpayable',
2656
- },
2657
- {
2658
- type: 'function',
2659
- inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
2660
- name: 'proposeCollector',
2661
- outputs: [],
2662
- stateMutability: 'nonpayable',
2663
- },
2664
- {
2665
- type: 'function',
2666
- inputs: [
2667
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2668
- { name: 'who', internalType: 'address[]', type: 'address[]' },
2669
- { name: 'yes', internalType: 'bool', type: 'bool' },
2670
- ],
2671
- name: 'setAllowed',
2672
- outputs: [],
2673
- stateMutability: 'nonpayable',
2674
- },
2675
- {
2676
- type: 'function',
2677
- inputs: [
2678
- { name: 'mintFeeProtocolCut', internalType: 'uint256', type: 'uint256' },
2679
- { name: 'harvestFee', internalType: 'uint256', type: 'uint256' },
2680
- ],
2681
- name: 'setFeeParams',
2682
- outputs: [],
2683
- stateMutability: 'nonpayable',
2684
- },
2685
- {
2686
- type: 'function',
2687
- inputs: [
2688
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2689
- { name: 'gateMint', internalType: 'bool', type: 'bool' },
2690
- { name: 'gateSwap', internalType: 'bool', type: 'bool' },
2691
- ],
2692
- name: 'setGates',
2693
- outputs: [],
2694
- stateMutability: 'nonpayable',
2695
- },
2696
- {
2697
- type: 'function',
2698
- inputs: [
2699
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2700
- { name: 'exempt', internalType: 'bool', type: 'bool' },
2701
- ],
2702
- name: 'setHarvestFeeExempt',
2703
- outputs: [],
2704
- stateMutability: 'nonpayable',
2705
- },
2706
- {
2707
- type: 'function',
2708
- inputs: [
2709
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2710
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
2711
- { name: 'newBases', internalType: 'address[]', type: 'address[]' },
2712
- ],
2713
- name: 'setLegs',
2714
- outputs: [],
2715
- stateMutability: 'nonpayable',
2716
- },
2717
- {
2718
- type: 'function',
2719
- inputs: [
2720
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2721
- { name: 'name_', internalType: 'bytes32', type: 'bytes32' },
2722
- ],
2723
- name: 'setName',
2724
- outputs: [],
2725
- stateMutability: 'nonpayable',
2726
- },
2727
- {
2728
- type: 'function',
2729
- inputs: [
2730
- { name: 'operator', internalType: 'address', type: 'address' },
2731
- { name: 'approved', internalType: 'bool', type: 'bool' },
2732
- ],
2733
- name: 'setOperator',
2734
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2735
- stateMutability: 'payable',
2736
- },
2737
- {
2738
- type: 'function',
2739
- inputs: [
2740
- { name: 'who', internalType: 'address', type: 'address' },
2741
- { name: 'name_', internalType: 'bytes32', type: 'bytes32' },
2742
- ],
2743
- name: 'setSponsorName',
2744
- outputs: [],
2745
- stateMutability: 'nonpayable',
2746
- },
2747
- {
2748
- type: 'function',
2749
- inputs: [],
2750
- name: 'settle',
2751
- outputs: [{ name: 'paid', internalType: 'uint256', type: 'uint256' }],
2752
- stateMutability: 'nonpayable',
2753
- },
2754
- {
2755
- type: 'function',
2756
- inputs: [
2757
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
2758
- { name: 'gen', internalType: 'uint256', type: 'uint256' },
2759
- ],
2760
- name: 'shareIdOf',
2761
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2762
- stateMutability: 'pure',
2763
- },
2764
- {
2765
- type: 'function',
2766
- inputs: [{ name: '', internalType: 'address', type: 'address' }],
2767
- name: 'sponsorName',
2768
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2769
- stateMutability: 'view',
2770
- },
2771
- {
2772
- type: 'function',
2773
- inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
2774
- name: 'supportsInterface',
2775
- outputs: [{ name: 'result', internalType: 'bool', type: 'bool' }],
2776
- stateMutability: 'view',
2777
- },
2778
- {
2779
- type: 'function',
2780
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2781
- name: 'symbol',
2782
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
2783
- stateMutability: 'pure',
2784
- },
2785
- {
2786
- type: 'function',
2787
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2788
- name: 'sync',
2789
- outputs: [],
2790
- stateMutability: 'nonpayable',
2791
- },
2792
- {
2793
- type: 'function',
2794
- inputs: [
2795
- { name: 'token', internalType: 'address', type: 'address' },
2796
- { name: 'to', internalType: 'address', type: 'address' },
2797
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2798
- ],
2799
- name: 'take',
2800
- outputs: [],
2801
- stateMutability: 'nonpayable',
2802
- },
2803
- {
2804
- type: 'function',
2805
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
2806
- name: 'theta',
2807
- outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
2808
- stateMutability: 'view',
2809
- },
2810
- {
2811
- type: 'function',
2812
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2813
- name: 'tokenURI',
2814
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
2815
- stateMutability: 'pure',
2816
- },
2817
- {
2818
- type: 'function',
2819
- inputs: [
2820
- { name: 'to', internalType: 'address', type: 'address' },
2821
- { name: 'id', internalType: 'uint256', type: 'uint256' },
2822
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2823
- ],
2824
- name: 'transfer',
2825
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2826
- stateMutability: 'payable',
2827
- },
2828
- {
2829
- type: 'function',
2830
- inputs: [
2831
- { name: 'from', internalType: 'address', type: 'address' },
2832
- { name: 'to', internalType: 'address', type: 'address' },
2833
- { name: 'id', internalType: 'uint256', type: 'uint256' },
2834
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
2835
- ],
2836
- name: 'transferFrom',
2837
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
2838
- stateMutability: 'payable',
2839
- },
2840
- {
2841
- type: 'function',
2842
- inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
2843
- name: 'unlock',
2844
- outputs: [{ name: 'result', internalType: 'bytes', type: 'bytes' }],
2845
- stateMutability: 'nonpayable',
2846
- },
2847
- {
2848
- type: 'function',
2849
- inputs: [],
2850
- name: 'version',
2851
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
2852
- stateMutability: 'pure',
2853
- },
2854
- {
2855
- type: 'event',
2856
- anonymous: false,
2857
- inputs: [
2858
- {
2859
- name: 'poolId',
2860
- internalType: 'bytes32',
2861
- type: 'bytes32',
2862
- indexed: true,
2863
- },
2864
- { name: 'who', internalType: 'address', type: 'address', indexed: true },
2865
- { name: 'allowed', internalType: 'bool', type: 'bool', indexed: false },
2866
- ],
2867
- name: 'Allowed',
2868
- },
2869
- {
2870
- type: 'event',
2871
- anonymous: false,
2872
- inputs: [
2873
- {
2874
- name: 'owner',
2875
- internalType: 'address',
2876
- type: 'address',
2877
- indexed: true,
2878
- },
2879
- {
2880
- name: 'spender',
2881
- internalType: 'address',
2882
- type: 'address',
2883
- indexed: true,
2884
- },
2885
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
2886
- {
2887
- name: 'amount',
2888
- internalType: 'uint256',
2889
- type: 'uint256',
2890
- indexed: false,
2891
- },
2892
- ],
2893
- name: 'Approval',
2894
- },
2895
- {
2896
- type: 'event',
2897
- anonymous: false,
2898
- inputs: [
2899
- {
2900
- name: 'poolId',
2901
- internalType: 'bytes32',
2902
- type: 'bytes32',
2903
- indexed: true,
2904
- },
2905
- {
2906
- name: 'current',
2907
- internalType: 'address',
2908
- type: 'address',
2909
- indexed: true,
2910
- },
2911
- {
2912
- name: 'proposed',
2913
- internalType: 'address',
2914
- type: 'address',
2915
- indexed: true,
2916
- },
2917
- ],
2918
- name: 'AuthorityProposed',
2919
- },
2920
- {
2921
- type: 'event',
2922
- anonymous: false,
2923
- inputs: [
2924
- {
2925
- name: 'poolId',
2926
- internalType: 'bytes32',
2927
- type: 'bytes32',
2928
- indexed: true,
2929
- },
2930
- { name: 'prev', internalType: 'address', type: 'address', indexed: true },
2931
- { name: 'next', internalType: 'address', type: 'address', indexed: true },
2932
- ],
2933
- name: 'AuthoritySet',
2934
- },
2935
- {
2936
- type: 'event',
2937
- anonymous: false,
2938
- inputs: [
2939
- {
2940
- name: 'poolId',
2941
- internalType: 'bytes32',
2942
- type: 'bytes32',
2943
- indexed: true,
2944
- },
2945
- {
2946
- name: 'sender',
2947
- internalType: 'address',
2948
- type: 'address',
2949
- indexed: true,
2950
- },
2951
- { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
2952
- {
2953
- name: 'shares',
2954
- internalType: 'uint256',
2955
- type: 'uint256',
2956
- indexed: false,
2957
- },
2958
- {
2959
- name: 'dQuote',
2960
- internalType: 'uint256',
2961
- type: 'uint256',
2962
- indexed: false,
2963
- },
2964
- ],
2965
- name: 'Burn',
2966
- },
2967
- {
2968
- type: 'event',
2969
- anonymous: false,
2970
- inputs: [
2971
- {
2972
- name: 'previous',
2973
- internalType: 'address',
2974
- type: 'address',
2975
- indexed: true,
2976
- },
2977
- {
2978
- name: 'current',
2979
- internalType: 'address',
2980
- type: 'address',
2981
- indexed: true,
2982
- },
2983
- ],
2984
- name: 'CollectorAccepted',
2985
- },
2986
- {
2987
- type: 'event',
2988
- anonymous: false,
2989
- inputs: [
2990
- {
2991
- name: 'current',
2992
- internalType: 'address',
2993
- type: 'address',
2994
- indexed: true,
2995
- },
2996
- {
2997
- name: 'proposed',
2998
- internalType: 'address',
2999
- type: 'address',
3000
- indexed: true,
3001
- },
3002
- ],
3003
- name: 'CollectorProposed',
3004
- },
3005
- {
3006
- type: 'event',
3007
- anonymous: false,
3008
- inputs: [
3009
- {
3010
- name: 'poolId',
3011
- internalType: 'bytes32',
3012
- type: 'bytes32',
3013
- indexed: true,
3014
- },
3015
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
3016
- {
3017
- name: 'supply',
3018
- internalType: 'uint256',
3019
- type: 'uint256',
3020
- indexed: false,
3021
- },
3022
- {
3023
- name: 'quote',
3024
- internalType: 'uint256',
3025
- type: 'uint256',
3026
- indexed: false,
3027
- },
3028
- ],
3029
- name: 'Dissolve',
3030
- },
3031
- {
3032
- type: 'event',
3033
- anonymous: false,
3034
- inputs: [
3035
- {
3036
- name: 'poolId',
3037
- internalType: 'bytes32',
3038
- type: 'bytes32',
3039
- indexed: true,
3040
- },
3041
- {
3042
- name: 'holder',
3043
- internalType: 'address',
3044
- type: 'address',
3045
- indexed: true,
3046
- },
3047
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
3048
- {
3049
- name: 'amount',
3050
- internalType: 'uint256',
3051
- type: 'uint256',
3052
- indexed: false,
3053
- },
3054
- ],
3055
- name: 'DividendClaimed',
3056
- },
3057
- {
3058
- type: 'event',
3059
- anonymous: false,
3060
- inputs: [
3061
- {
3062
- name: 'mintFeeProtocolCut',
3063
- internalType: 'uint256',
3064
- type: 'uint256',
3065
- indexed: false,
3066
- },
3067
- {
3068
- name: 'harvestFee',
3069
- internalType: 'uint256',
3070
- type: 'uint256',
3071
- indexed: false,
3072
- },
3073
- ],
3074
- name: 'FeeParamsSet',
3075
- },
3076
- {
3077
- type: 'event',
3078
- anonymous: false,
3079
- inputs: [
3080
- {
3081
- name: 'poolId',
3082
- internalType: 'bytes32',
3083
- type: 'bytes32',
3084
- indexed: true,
3085
- },
3086
- { name: 'gateMint', internalType: 'bool', type: 'bool', indexed: false },
3087
- { name: 'gateSwap', internalType: 'bool', type: 'bool', indexed: false },
3088
- ],
3089
- name: 'GatesSet',
3090
- },
3091
- {
3092
- type: 'event',
3093
- anonymous: false,
3094
- inputs: [
3095
- {
3096
- name: 'poolId',
3097
- internalType: 'bytes32',
3098
- type: 'bytes32',
3099
- indexed: true,
3100
- },
3101
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
3102
- {
3103
- name: 'amount',
3104
- internalType: 'uint256',
3105
- type: 'uint256',
3106
- indexed: false,
3107
- },
3108
- {
3109
- name: 'toSponsor',
3110
- internalType: 'uint256',
3111
- type: 'uint256',
3112
- indexed: false,
3113
- },
3114
- ],
3115
- name: 'Harvest',
3116
- },
3117
- {
3118
- type: 'event',
3119
- anonymous: false,
3120
- inputs: [
3121
- {
3122
- name: 'poolId',
3123
- internalType: 'bytes32',
3124
- type: 'bytes32',
3125
- indexed: true,
3126
- },
3127
- { name: 'exempt', internalType: 'bool', type: 'bool', indexed: false },
3128
- ],
3129
- name: 'HarvestFeeExemptSet',
3130
- },
3131
- {
3132
- type: 'event',
3133
- anonymous: false,
3134
- inputs: [
3135
- {
3136
- name: 'poolId',
3137
- internalType: 'bytes32',
3138
- type: 'bytes32',
3139
- indexed: true,
3140
- },
3141
- {
3142
- name: 'quote',
3143
- internalType: 'address',
3144
- type: 'address',
3145
- indexed: true,
3146
- },
3147
- {
3148
- name: 'authority',
3149
- internalType: 'address',
3150
- type: 'address',
3151
- indexed: true,
3152
- },
3153
- {
3154
- name: 'bases',
3155
- internalType: 'address[]',
3156
- type: 'address[]',
3157
- indexed: false,
3158
- },
3159
- {
3160
- name: 'weights',
3161
- internalType: 'uint256[]',
3162
- type: 'uint256[]',
3163
- indexed: false,
3164
- },
3165
- { name: 'phi', internalType: 'uint256', type: 'uint256', indexed: false },
3166
- {
3167
- name: 'kind',
3168
- internalType: 'enum Kind',
3169
- type: 'uint8',
3170
- indexed: false,
3171
- },
3172
- ],
3173
- name: 'Initialize',
3174
- },
3175
- {
3176
- type: 'event',
3177
- anonymous: false,
3178
- inputs: [
3179
- {
3180
- name: 'poolId',
3181
- internalType: 'bytes32',
3182
- type: 'bytes32',
3183
- indexed: true,
3184
- },
3185
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
3186
- {
3187
- name: 'bases',
3188
- internalType: 'address[]',
3189
- type: 'address[]',
3190
- indexed: false,
3191
- },
3192
- {
3193
- name: 'weights',
3194
- internalType: 'uint256[]',
3195
- type: 'uint256[]',
3196
- indexed: false,
3197
- },
3198
- ],
3199
- name: 'LegsSet',
3200
- },
3201
- {
3202
- type: 'event',
3203
- anonymous: false,
3204
- inputs: [
3205
- {
3206
- name: 'poolId',
3207
- internalType: 'bytes32',
3208
- type: 'bytes32',
3209
- indexed: true,
3210
- },
3211
- {
3212
- name: 'sender',
3213
- internalType: 'address',
3214
- type: 'address',
3215
- indexed: true,
3216
- },
3217
- { name: 'dL', internalType: 'uint256', type: 'uint256', indexed: false },
3218
- {
3219
- name: 'shares',
3220
- internalType: 'uint256',
3221
- type: 'uint256',
3222
- indexed: false,
3223
- },
3224
- {
3225
- name: 'dQuote',
3226
- internalType: 'uint256',
3227
- type: 'uint256',
3228
- indexed: false,
3229
- },
3230
- ],
3231
- name: 'Mint',
3232
- },
3233
- {
3234
- type: 'event',
3235
- anonymous: false,
3236
- inputs: [
3237
- {
3238
- name: 'poolId',
3239
- internalType: 'bytes32',
3240
- type: 'bytes32',
3241
- indexed: true,
3242
- },
3243
- {
3244
- name: 'name',
3245
- internalType: 'bytes32',
3246
- type: 'bytes32',
3247
- indexed: false,
3248
- },
3249
- ],
3250
- name: 'NameSet',
3251
- },
3252
- {
3253
- type: 'event',
3254
- anonymous: false,
3255
- inputs: [
3256
- {
3257
- name: 'poolId',
3258
- internalType: 'bytes32',
3259
- type: 'bytes32',
3260
- indexed: true,
3261
- },
3262
- {
3263
- name: 'current',
3264
- internalType: 'address',
3265
- type: 'address',
3266
- indexed: true,
3267
- },
3268
- {
3269
- name: 'proposed',
3270
- internalType: 'address',
3271
- type: 'address',
3272
- indexed: true,
3273
- },
3274
- ],
3275
- name: 'OperatorProposed',
3276
- },
3277
- {
3278
- type: 'event',
3279
- anonymous: false,
3280
- inputs: [
3281
- {
3282
- name: 'owner',
3283
- internalType: 'address',
3284
- type: 'address',
3285
- indexed: true,
3286
- },
3287
- {
3288
- name: 'operator',
3289
- internalType: 'address',
3290
- type: 'address',
3291
- indexed: true,
3292
- },
3293
- { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
3294
- ],
3295
- name: 'OperatorSet',
3296
- },
3297
- {
3298
- type: 'event',
3299
- anonymous: false,
3300
- inputs: [
3301
- {
3302
- name: 'poolId',
3303
- internalType: 'bytes32',
3304
- type: 'bytes32',
3305
- indexed: true,
3306
- },
3307
- { name: 'prev', internalType: 'address', type: 'address', indexed: true },
3308
- { name: 'next', internalType: 'address', type: 'address', indexed: true },
3309
- ],
3310
- name: 'OperatorSet',
3311
- },
3312
- {
3313
- type: 'event',
3314
- anonymous: false,
3315
- inputs: [
3316
- {
3317
- name: 'poolId',
3318
- internalType: 'bytes32',
3319
- type: 'bytes32',
3320
- indexed: true,
3321
- },
3322
- { name: 'inShares', internalType: 'bool', type: 'bool', indexed: false },
3323
- {
3324
- name: 'amount',
3325
- internalType: 'uint256',
3326
- type: 'uint256',
3327
- indexed: false,
3328
- },
3329
- ],
3330
- name: 'ProtocolFee',
3331
- },
3332
- {
3333
- type: 'event',
3334
- anonymous: false,
3335
- inputs: [
3336
- {
3337
- name: 'poolId',
3338
- internalType: 'bytes32',
3339
- type: 'bytes32',
3340
- indexed: true,
3341
- },
3342
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
3343
- {
3344
- name: 'owner',
3345
- internalType: 'address',
3346
- type: 'address',
3347
- indexed: true,
3348
- },
3349
- {
3350
- name: 'shares',
3351
- internalType: 'uint256',
3352
- type: 'uint256',
3353
- indexed: false,
3354
- },
3355
- {
3356
- name: 'quoteOut',
3357
- internalType: 'uint256',
3358
- type: 'uint256',
3359
- indexed: false,
3360
- },
3361
- ],
3362
- name: 'Redeem',
3363
- },
3364
- {
3365
- type: 'event',
3366
- anonymous: false,
3367
- inputs: [
3368
- {
3369
- name: 'poolId',
3370
- internalType: 'bytes32',
3371
- type: 'bytes32',
3372
- indexed: true,
3373
- },
3374
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
3375
- { name: 'L0', internalType: 'uint256', type: 'uint256', indexed: false },
3376
- { name: 'Q0', internalType: 'uint256', type: 'uint256', indexed: false },
3377
- {
3378
- name: 'theta0',
3379
- internalType: 'int256',
3380
- type: 'int256',
3381
- indexed: false,
3382
- },
3383
- {
3384
- name: 'r0',
3385
- internalType: 'uint256[]',
3386
- type: 'uint256[]',
3387
- indexed: false,
3388
- },
3389
- ],
3390
- name: 'Seeded',
3391
- },
3392
- {
3393
- type: 'event',
3394
- anonymous: false,
3395
- inputs: [
3396
- { name: 'who', internalType: 'address', type: 'address', indexed: true },
3397
- {
3398
- name: 'name',
3399
- internalType: 'bytes32',
3400
- type: 'bytes32',
3401
- indexed: false,
3402
- },
3403
- ],
3404
- name: 'SponsorNamed',
3405
- },
3406
- {
3407
- type: 'event',
3408
- anonymous: false,
3409
- inputs: [
3410
- {
3411
- name: 'poolId',
3412
- internalType: 'bytes32',
3413
- type: 'bytes32',
3414
- indexed: true,
3415
- },
3416
- {
3417
- name: 'sender',
3418
- internalType: 'address',
3419
- type: 'address',
3420
- indexed: true,
3421
- },
3422
- {
3423
- name: 'tokenIn',
3424
- internalType: 'address',
3425
- type: 'address',
3426
- indexed: false,
3427
- },
3428
- {
3429
- name: 'tokenOut',
3430
- internalType: 'address',
3431
- type: 'address',
3432
- indexed: false,
3433
- },
3434
- {
3435
- name: 'amountIn',
3436
- internalType: 'uint256',
3437
- type: 'uint256',
3438
- indexed: false,
3439
- },
3440
- {
3441
- name: 'amountOut',
3442
- internalType: 'uint256',
3443
- type: 'uint256',
3444
- indexed: false,
3445
- },
3446
- {
3447
- name: 'reserveIn',
3448
- internalType: 'uint256',
3449
- type: 'uint256',
3450
- indexed: false,
3451
- },
3452
- {
3453
- name: 'reserveOut',
3454
- internalType: 'uint256',
3455
- type: 'uint256',
3456
- indexed: false,
3457
- },
3458
- ],
3459
- name: 'Swap',
3460
- },
3461
- {
3462
- type: 'event',
3463
- anonymous: false,
3464
- inputs: [
3465
- { name: 'by', internalType: 'address', type: 'address', indexed: false },
3466
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
3467
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
3468
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
3469
- {
3470
- name: 'amount',
3471
- internalType: 'uint256',
3472
- type: 'uint256',
3473
- indexed: false,
3474
- },
3475
- ],
3476
- name: 'Transfer',
3477
- },
3478
- { type: 'error', inputs: [], name: 'AlreadySeeded' },
3479
- { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
3480
- { type: 'error', inputs: [], name: 'BadLeg' },
3481
- { type: 'error', inputs: [], name: 'BadParam' },
3482
- { type: 'error', inputs: [], name: 'BadWeights' },
3483
- { type: 'error', inputs: [], name: 'BalanceOverflow' },
3484
- { type: 'error', inputs: [], name: 'FloorLocked' },
3485
- { type: 'error', inputs: [], name: 'InsufficientBalance' },
3486
- { type: 'error', inputs: [], name: 'InsufficientPermission' },
3487
- { type: 'error', inputs: [], name: 'InsufficientQuote' },
3488
- { type: 'error', inputs: [], name: 'InvalidToken' },
3489
- { type: 'error', inputs: [], name: 'LegHeld' },
3490
- { type: 'error', inputs: [], name: 'NonstandardToken' },
3491
- { type: 'error', inputs: [], name: 'NotAllowed' },
3492
- { type: 'error', inputs: [], name: 'NotAuthority' },
3493
- { type: 'error', inputs: [], name: 'NotAuthorized' },
3494
- { type: 'error', inputs: [], name: 'NotCollector' },
3495
- { type: 'error', inputs: [], name: 'NotDelegated' },
3496
- { type: 'error', inputs: [], name: 'NotDissolvable' },
3497
- { type: 'error', inputs: [], name: 'NotOperator' },
3498
- { type: 'error', inputs: [], name: 'NotPrivate' },
3499
- { type: 'error', inputs: [], name: 'NotRetired' },
3500
- { type: 'error', inputs: [], name: 'NotSeeded' },
3501
- { type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
3502
- { type: 'error', inputs: [], name: 'PoolLocked' },
3503
- { type: 'error', inputs: [], name: 'PoolNotInitialized' },
3504
- { type: 'error', inputs: [], name: 'PriceOutOfRange' },
3505
- {
3506
- type: 'error',
3507
- inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
3508
- name: 'QuoteResult',
3509
- },
3510
- { type: 'error', inputs: [], name: 'ReserveNotRepresentable' },
3511
- { type: 'error', inputs: [], name: 'Restructured' },
3512
- { type: 'error', inputs: [], name: 'SameAsset' },
3513
- { type: 'error', inputs: [], name: 'Slippage' },
3514
- { type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
3515
- { type: 'error', inputs: [], name: 'TokensNotSettled' },
3516
- { type: 'error', inputs: [], name: 'TooManyGenerations' },
3517
- { type: 'error', inputs: [], name: 'TooManyLegs' },
3518
- { type: 'error', inputs: [], name: 'TransferShortfall' },
3519
- { type: 'error', inputs: [], name: 'ZeroAmount' },
3520
- ] as const
3521
-
3522
2491
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3523
2492
  // LogswapLens
3524
2493
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////