@logswap/sdk 0.5.39 → 0.5.41
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/client.d.ts +1 -1
- package/dist/client.js +11 -1
- package/dist/fpool.d.ts +208 -349
- package/dist/fpool.js +125 -58
- package/dist/generated.d.ts +114 -282
- package/dist/generated.js +93 -219
- package/package.json +1 -1
- package/src/client.ts +11 -1
- package/src/fpool.ts +159 -92
- package/src/generated.ts +93 -219
package/src/generated.ts
CHANGED
|
@@ -1094,13 +1094,6 @@ export const fPoolManagerAbi = [
|
|
|
1094
1094
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1095
1095
|
stateMutability: 'view',
|
|
1096
1096
|
},
|
|
1097
|
-
{
|
|
1098
|
-
type: 'function',
|
|
1099
|
-
inputs: [],
|
|
1100
|
-
name: 'LEVER_FLOOR',
|
|
1101
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1102
|
-
stateMutability: 'view',
|
|
1103
|
-
},
|
|
1104
1097
|
{
|
|
1105
1098
|
type: 'function',
|
|
1106
1099
|
inputs: [],
|
|
@@ -1290,7 +1283,7 @@ export const fPoolManagerAbi = [
|
|
|
1290
1283
|
{ name: 'quote', internalType: 'address', type: 'address' },
|
|
1291
1284
|
{ name: 'phi', internalType: 'uint96', type: 'uint96' },
|
|
1292
1285
|
{ name: 'authority', internalType: 'address', type: 'address' },
|
|
1293
|
-
{ name: '
|
|
1286
|
+
{ name: 'kind', internalType: 'enum Kind', type: 'uint8' },
|
|
1294
1287
|
{ name: 'seeded', internalType: 'bool', type: 'bool' },
|
|
1295
1288
|
{ name: 'gen', internalType: 'uint16', type: 'uint16' },
|
|
1296
1289
|
{ name: 'n', internalType: 'uint8', type: 'uint8' },
|
|
@@ -1302,14 +1295,14 @@ export const fPoolManagerAbi = [
|
|
|
1302
1295
|
{ name: 'L', internalType: 'uint256', type: 'uint256' },
|
|
1303
1296
|
{ name: 'shares', internalType: 'uint256', type: 'uint256' },
|
|
1304
1297
|
{ name: 'theta0', internalType: 'int256', type: 'int256' },
|
|
1305
|
-
{ name: '
|
|
1298
|
+
{ name: 'harvestedTheta', internalType: 'int256', type: 'int256' },
|
|
1306
1299
|
{
|
|
1307
1300
|
name: 'pendingAuthority',
|
|
1308
1301
|
internalType: 'address',
|
|
1309
1302
|
type: 'address',
|
|
1310
1303
|
},
|
|
1311
1304
|
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
1312
|
-
{ name: '
|
|
1305
|
+
{ name: 'pendingOperator', internalType: 'address', type: 'address' },
|
|
1313
1306
|
{ name: 'incomeTaken', internalType: 'uint256', type: 'uint256' },
|
|
1314
1307
|
{ name: 'name', internalType: 'bytes32', type: 'bytes32' },
|
|
1315
1308
|
],
|
|
@@ -1336,7 +1329,7 @@ export const fPoolManagerAbi = [
|
|
|
1336
1329
|
{ name: 'bases', internalType: 'address[]', type: 'address[]' },
|
|
1337
1330
|
{ name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
|
|
1338
1331
|
{ name: 'phi', internalType: 'uint256', type: 'uint256' },
|
|
1339
|
-
{ name: '
|
|
1332
|
+
{ name: 'kind', internalType: 'enum Kind', type: 'uint8' },
|
|
1340
1333
|
{ name: 'authority', internalType: 'address', type: 'address' },
|
|
1341
1334
|
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
1342
1335
|
],
|
|
@@ -1358,7 +1351,7 @@ export const fPoolManagerAbi = [
|
|
|
1358
1351
|
{ name: 'bases', internalType: 'address[]', type: 'address[]' },
|
|
1359
1352
|
{ name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
|
|
1360
1353
|
{ name: 'phi', internalType: 'uint256', type: 'uint256' },
|
|
1361
|
-
{ name: '
|
|
1354
|
+
{ name: 'kind', internalType: 'enum Kind', type: 'uint8' },
|
|
1362
1355
|
{ name: 'authority', internalType: 'address', type: 'address' },
|
|
1363
1356
|
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
1364
1357
|
],
|
|
@@ -1848,26 +1841,6 @@ export const fPoolManagerAbi = [
|
|
|
1848
1841
|
],
|
|
1849
1842
|
name: 'CollectorProposed',
|
|
1850
1843
|
},
|
|
1851
|
-
{
|
|
1852
|
-
type: 'event',
|
|
1853
|
-
anonymous: false,
|
|
1854
|
-
inputs: [
|
|
1855
|
-
{
|
|
1856
|
-
name: 'poolId',
|
|
1857
|
-
internalType: 'bytes32',
|
|
1858
|
-
type: 'bytes32',
|
|
1859
|
-
indexed: true,
|
|
1860
|
-
},
|
|
1861
|
-
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
1862
|
-
{
|
|
1863
|
-
name: 'amount',
|
|
1864
|
-
internalType: 'uint256',
|
|
1865
|
-
type: 'uint256',
|
|
1866
|
-
indexed: false,
|
|
1867
|
-
},
|
|
1868
|
-
],
|
|
1869
|
-
name: 'Deepen',
|
|
1870
|
-
},
|
|
1871
1844
|
{
|
|
1872
1845
|
type: 'event',
|
|
1873
1846
|
anonymous: false,
|
|
@@ -2030,9 +2003,9 @@ export const fPoolManagerAbi = [
|
|
|
2030
2003
|
},
|
|
2031
2004
|
{ name: 'phi', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
2032
2005
|
{
|
|
2033
|
-
name: '
|
|
2034
|
-
internalType: '
|
|
2035
|
-
type: '
|
|
2006
|
+
name: 'kind',
|
|
2007
|
+
internalType: 'enum Kind',
|
|
2008
|
+
type: 'uint8',
|
|
2036
2009
|
indexed: false,
|
|
2037
2010
|
},
|
|
2038
2011
|
],
|
|
@@ -2048,65 +2021,21 @@ export const fPoolManagerAbi = [
|
|
|
2048
2021
|
type: 'bytes32',
|
|
2049
2022
|
indexed: true,
|
|
2050
2023
|
},
|
|
2051
|
-
{ name: '
|
|
2052
|
-
{
|
|
2053
|
-
name: 'base',
|
|
2054
|
-
internalType: 'address',
|
|
2055
|
-
type: 'address',
|
|
2056
|
-
indexed: false,
|
|
2057
|
-
},
|
|
2058
|
-
{
|
|
2059
|
-
name: 'newLj',
|
|
2060
|
-
internalType: 'uint256',
|
|
2061
|
-
type: 'uint256',
|
|
2062
|
-
indexed: false,
|
|
2063
|
-
},
|
|
2064
|
-
{
|
|
2065
|
-
name: 'reserve',
|
|
2066
|
-
internalType: 'uint256',
|
|
2067
|
-
type: 'uint256',
|
|
2068
|
-
indexed: false,
|
|
2069
|
-
},
|
|
2070
|
-
{ name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
2071
|
-
{
|
|
2072
|
-
name: 'theta0',
|
|
2073
|
-
internalType: 'int256',
|
|
2074
|
-
type: 'int256',
|
|
2075
|
-
indexed: false,
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
name: 'dReserve',
|
|
2079
|
-
internalType: 'int256',
|
|
2080
|
-
type: 'int256',
|
|
2081
|
-
indexed: false,
|
|
2082
|
-
},
|
|
2024
|
+
{ name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
2083
2025
|
{
|
|
2084
|
-
name: '
|
|
2085
|
-
internalType: '
|
|
2086
|
-
type: '
|
|
2026
|
+
name: 'bases',
|
|
2027
|
+
internalType: 'address[]',
|
|
2028
|
+
type: 'address[]',
|
|
2087
2029
|
indexed: false,
|
|
2088
2030
|
},
|
|
2089
|
-
],
|
|
2090
|
-
name: 'LegSet',
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
type: 'event',
|
|
2094
|
-
anonymous: false,
|
|
2095
|
-
inputs: [
|
|
2096
2031
|
{
|
|
2097
|
-
name: '
|
|
2098
|
-
internalType: '
|
|
2099
|
-
type: '
|
|
2100
|
-
indexed: true,
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
name: 'minBuffer',
|
|
2104
|
-
internalType: 'uint256',
|
|
2105
|
-
type: 'uint256',
|
|
2032
|
+
name: 'weights',
|
|
2033
|
+
internalType: 'uint256[]',
|
|
2034
|
+
type: 'uint256[]',
|
|
2106
2035
|
indexed: false,
|
|
2107
2036
|
},
|
|
2108
2037
|
],
|
|
2109
|
-
name: '
|
|
2038
|
+
name: 'LegsSet',
|
|
2110
2039
|
},
|
|
2111
2040
|
{
|
|
2112
2041
|
type: 'event',
|
|
@@ -2159,6 +2088,31 @@ export const fPoolManagerAbi = [
|
|
|
2159
2088
|
],
|
|
2160
2089
|
name: 'NameSet',
|
|
2161
2090
|
},
|
|
2091
|
+
{
|
|
2092
|
+
type: 'event',
|
|
2093
|
+
anonymous: false,
|
|
2094
|
+
inputs: [
|
|
2095
|
+
{
|
|
2096
|
+
name: 'poolId',
|
|
2097
|
+
internalType: 'bytes32',
|
|
2098
|
+
type: 'bytes32',
|
|
2099
|
+
indexed: true,
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
name: 'current',
|
|
2103
|
+
internalType: 'address',
|
|
2104
|
+
type: 'address',
|
|
2105
|
+
indexed: true,
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
name: 'proposed',
|
|
2109
|
+
internalType: 'address',
|
|
2110
|
+
type: 'address',
|
|
2111
|
+
indexed: true,
|
|
2112
|
+
},
|
|
2113
|
+
],
|
|
2114
|
+
name: 'OperatorProposed',
|
|
2115
|
+
},
|
|
2162
2116
|
{
|
|
2163
2117
|
type: 'event',
|
|
2164
2118
|
anonymous: false,
|
|
@@ -2364,14 +2318,14 @@ export const fPoolManagerAbi = [
|
|
|
2364
2318
|
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
2365
2319
|
{ type: 'error', inputs: [], name: 'BadLeg' },
|
|
2366
2320
|
{ type: 'error', inputs: [], name: 'BadParam' },
|
|
2321
|
+
{ type: 'error', inputs: [], name: 'BadWeights' },
|
|
2367
2322
|
{ type: 'error', inputs: [], name: 'BalanceOverflow' },
|
|
2323
|
+
{ type: 'error', inputs: [], name: 'FloorLocked' },
|
|
2368
2324
|
{ type: 'error', inputs: [], name: 'InsufficientBalance' },
|
|
2369
2325
|
{ type: 'error', inputs: [], name: 'InsufficientPermission' },
|
|
2370
2326
|
{ type: 'error', inputs: [], name: 'InsufficientQuote' },
|
|
2371
2327
|
{ type: 'error', inputs: [], name: 'InvalidToken' },
|
|
2372
2328
|
{ type: 'error', inputs: [], name: 'LegHeld' },
|
|
2373
|
-
{ type: 'error', inputs: [], name: 'LegLive' },
|
|
2374
|
-
{ type: 'error', inputs: [], name: 'MinBuffer' },
|
|
2375
2329
|
{
|
|
2376
2330
|
type: 'error',
|
|
2377
2331
|
inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
|
|
@@ -2384,9 +2338,9 @@ export const fPoolManagerAbi = [
|
|
|
2384
2338
|
{ type: 'error', inputs: [], name: 'NotCollector' },
|
|
2385
2339
|
{ type: 'error', inputs: [], name: 'NotDissolvable' },
|
|
2386
2340
|
{ type: 'error', inputs: [], name: 'NotOperator' },
|
|
2341
|
+
{ type: 'error', inputs: [], name: 'NotPrivate' },
|
|
2387
2342
|
{ type: 'error', inputs: [], name: 'NotRetired' },
|
|
2388
2343
|
{ type: 'error', inputs: [], name: 'NotSeeded' },
|
|
2389
|
-
{ type: 'error', inputs: [], name: 'NotSoleLP' },
|
|
2390
2344
|
{ type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
|
|
2391
2345
|
{ type: 'error', inputs: [], name: 'PoolLocked' },
|
|
2392
2346
|
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
@@ -2400,7 +2354,6 @@ export const fPoolManagerAbi = [
|
|
|
2400
2354
|
{ type: 'error', inputs: [], name: 'Restructured' },
|
|
2401
2355
|
{ type: 'error', inputs: [], name: 'SameAsset' },
|
|
2402
2356
|
{ type: 'error', inputs: [], name: 'Slippage' },
|
|
2403
|
-
{ type: 'error', inputs: [], name: 'StrikeLocked' },
|
|
2404
2357
|
{ type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
|
|
2405
2358
|
{ type: 'error', inputs: [], name: 'TokensNotSettled' },
|
|
2406
2359
|
{ type: 'error', inputs: [], name: 'TooManyGenerations' },
|
|
@@ -2429,13 +2382,6 @@ export const fPoolSponsorAbi = [
|
|
|
2429
2382
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
2430
2383
|
stateMutability: 'view',
|
|
2431
2384
|
},
|
|
2432
|
-
{
|
|
2433
|
-
type: 'function',
|
|
2434
|
-
inputs: [],
|
|
2435
|
-
name: 'LEVER_FLOOR',
|
|
2436
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
2437
|
-
stateMutability: 'view',
|
|
2438
|
-
},
|
|
2439
2385
|
{
|
|
2440
2386
|
type: 'function',
|
|
2441
2387
|
inputs: [],
|
|
@@ -2466,17 +2412,9 @@ export const fPoolSponsorAbi = [
|
|
|
2466
2412
|
},
|
|
2467
2413
|
{
|
|
2468
2414
|
type: 'function',
|
|
2469
|
-
inputs: [
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
{ name: 'Lj', internalType: 'uint256', type: 'uint256' },
|
|
2473
|
-
{ name: 'R', internalType: 'uint256', type: 'uint256' },
|
|
2474
|
-
],
|
|
2475
|
-
name: 'admitLeg',
|
|
2476
|
-
outputs: [
|
|
2477
|
-
{ name: 'dReserve', internalType: 'int256', type: 'int256' },
|
|
2478
|
-
{ name: 'dShares', internalType: 'int256', type: 'int256' },
|
|
2479
|
-
],
|
|
2415
|
+
inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
|
|
2416
|
+
name: 'acceptOperator',
|
|
2417
|
+
outputs: [],
|
|
2480
2418
|
stateMutability: 'nonpayable',
|
|
2481
2419
|
},
|
|
2482
2420
|
{
|
|
@@ -2594,16 +2532,6 @@ export const fPoolSponsorAbi = [
|
|
|
2594
2532
|
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
2595
2533
|
stateMutability: 'view',
|
|
2596
2534
|
},
|
|
2597
|
-
{
|
|
2598
|
-
type: 'function',
|
|
2599
|
-
inputs: [
|
|
2600
|
-
{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
|
|
2601
|
-
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
2602
|
-
],
|
|
2603
|
-
name: 'deepen',
|
|
2604
|
-
outputs: [],
|
|
2605
|
-
stateMutability: 'nonpayable',
|
|
2606
|
-
},
|
|
2607
2535
|
{
|
|
2608
2536
|
type: 'function',
|
|
2609
2537
|
inputs: [
|
|
@@ -2733,16 +2661,6 @@ export const fPoolSponsorAbi = [
|
|
|
2733
2661
|
outputs: [],
|
|
2734
2662
|
stateMutability: 'nonpayable',
|
|
2735
2663
|
},
|
|
2736
|
-
{
|
|
2737
|
-
type: 'function',
|
|
2738
|
-
inputs: [
|
|
2739
|
-
{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
|
|
2740
|
-
{ name: 'minBuffer', internalType: 'uint256', type: 'uint256' },
|
|
2741
|
-
],
|
|
2742
|
-
name: 'raiseMinBuffer',
|
|
2743
|
-
outputs: [],
|
|
2744
|
-
stateMutability: 'nonpayable',
|
|
2745
|
-
},
|
|
2746
2664
|
{
|
|
2747
2665
|
type: 'function',
|
|
2748
2666
|
inputs: [
|
|
@@ -2789,15 +2707,11 @@ export const fPoolSponsorAbi = [
|
|
|
2789
2707
|
type: 'function',
|
|
2790
2708
|
inputs: [
|
|
2791
2709
|
{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
|
|
2792
|
-
{ name: '
|
|
2793
|
-
{ name: '
|
|
2794
|
-
{ name: 'rIfNew', internalType: 'uint256', type: 'uint256' },
|
|
2795
|
-
],
|
|
2796
|
-
name: 'setLegL',
|
|
2797
|
-
outputs: [
|
|
2798
|
-
{ name: 'dReserve', internalType: 'int256', type: 'int256' },
|
|
2799
|
-
{ name: 'dShares', internalType: 'int256', type: 'int256' },
|
|
2710
|
+
{ name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
|
|
2711
|
+
{ name: 'newBases', internalType: 'address[]', type: 'address[]' },
|
|
2800
2712
|
],
|
|
2713
|
+
name: 'setLegs',
|
|
2714
|
+
outputs: [],
|
|
2801
2715
|
stateMutability: 'nonpayable',
|
|
2802
2716
|
},
|
|
2803
2717
|
{
|
|
@@ -3088,26 +3002,6 @@ export const fPoolSponsorAbi = [
|
|
|
3088
3002
|
],
|
|
3089
3003
|
name: 'CollectorProposed',
|
|
3090
3004
|
},
|
|
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: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
3102
|
-
{
|
|
3103
|
-
name: 'amount',
|
|
3104
|
-
internalType: 'uint256',
|
|
3105
|
-
type: 'uint256',
|
|
3106
|
-
indexed: false,
|
|
3107
|
-
},
|
|
3108
|
-
],
|
|
3109
|
-
name: 'Deepen',
|
|
3110
|
-
},
|
|
3111
3005
|
{
|
|
3112
3006
|
type: 'event',
|
|
3113
3007
|
anonymous: false,
|
|
@@ -3270,9 +3164,9 @@ export const fPoolSponsorAbi = [
|
|
|
3270
3164
|
},
|
|
3271
3165
|
{ name: 'phi', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
3272
3166
|
{
|
|
3273
|
-
name: '
|
|
3274
|
-
internalType: '
|
|
3275
|
-
type: '
|
|
3167
|
+
name: 'kind',
|
|
3168
|
+
internalType: 'enum Kind',
|
|
3169
|
+
type: 'uint8',
|
|
3276
3170
|
indexed: false,
|
|
3277
3171
|
},
|
|
3278
3172
|
],
|
|
@@ -3288,65 +3182,21 @@ export const fPoolSponsorAbi = [
|
|
|
3288
3182
|
type: 'bytes32',
|
|
3289
3183
|
indexed: true,
|
|
3290
3184
|
},
|
|
3291
|
-
{ name: '
|
|
3292
|
-
{
|
|
3293
|
-
name: 'base',
|
|
3294
|
-
internalType: 'address',
|
|
3295
|
-
type: 'address',
|
|
3296
|
-
indexed: false,
|
|
3297
|
-
},
|
|
3298
|
-
{
|
|
3299
|
-
name: 'newLj',
|
|
3300
|
-
internalType: 'uint256',
|
|
3301
|
-
type: 'uint256',
|
|
3302
|
-
indexed: false,
|
|
3303
|
-
},
|
|
3304
|
-
{
|
|
3305
|
-
name: 'reserve',
|
|
3306
|
-
internalType: 'uint256',
|
|
3307
|
-
type: 'uint256',
|
|
3308
|
-
indexed: false,
|
|
3309
|
-
},
|
|
3310
|
-
{ name: 'L', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
3311
|
-
{
|
|
3312
|
-
name: 'theta0',
|
|
3313
|
-
internalType: 'int256',
|
|
3314
|
-
type: 'int256',
|
|
3315
|
-
indexed: false,
|
|
3316
|
-
},
|
|
3317
|
-
{
|
|
3318
|
-
name: 'dReserve',
|
|
3319
|
-
internalType: 'int256',
|
|
3320
|
-
type: 'int256',
|
|
3321
|
-
indexed: false,
|
|
3322
|
-
},
|
|
3185
|
+
{ name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
3323
3186
|
{
|
|
3324
|
-
name: '
|
|
3325
|
-
internalType: '
|
|
3326
|
-
type: '
|
|
3187
|
+
name: 'bases',
|
|
3188
|
+
internalType: 'address[]',
|
|
3189
|
+
type: 'address[]',
|
|
3327
3190
|
indexed: false,
|
|
3328
3191
|
},
|
|
3329
|
-
],
|
|
3330
|
-
name: 'LegSet',
|
|
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
3192
|
{
|
|
3343
|
-
name: '
|
|
3344
|
-
internalType: 'uint256',
|
|
3345
|
-
type: 'uint256',
|
|
3193
|
+
name: 'weights',
|
|
3194
|
+
internalType: 'uint256[]',
|
|
3195
|
+
type: 'uint256[]',
|
|
3346
3196
|
indexed: false,
|
|
3347
3197
|
},
|
|
3348
3198
|
],
|
|
3349
|
-
name: '
|
|
3199
|
+
name: 'LegsSet',
|
|
3350
3200
|
},
|
|
3351
3201
|
{
|
|
3352
3202
|
type: 'event',
|
|
@@ -3399,6 +3249,31 @@ export const fPoolSponsorAbi = [
|
|
|
3399
3249
|
],
|
|
3400
3250
|
name: 'NameSet',
|
|
3401
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
|
+
},
|
|
3402
3277
|
{
|
|
3403
3278
|
type: 'event',
|
|
3404
3279
|
anonymous: false,
|
|
@@ -3604,14 +3479,14 @@ export const fPoolSponsorAbi = [
|
|
|
3604
3479
|
{ type: 'error', inputs: [], name: 'AlreadyUnlocked' },
|
|
3605
3480
|
{ type: 'error', inputs: [], name: 'BadLeg' },
|
|
3606
3481
|
{ type: 'error', inputs: [], name: 'BadParam' },
|
|
3482
|
+
{ type: 'error', inputs: [], name: 'BadWeights' },
|
|
3607
3483
|
{ type: 'error', inputs: [], name: 'BalanceOverflow' },
|
|
3484
|
+
{ type: 'error', inputs: [], name: 'FloorLocked' },
|
|
3608
3485
|
{ type: 'error', inputs: [], name: 'InsufficientBalance' },
|
|
3609
3486
|
{ type: 'error', inputs: [], name: 'InsufficientPermission' },
|
|
3610
3487
|
{ type: 'error', inputs: [], name: 'InsufficientQuote' },
|
|
3611
3488
|
{ type: 'error', inputs: [], name: 'InvalidToken' },
|
|
3612
3489
|
{ type: 'error', inputs: [], name: 'LegHeld' },
|
|
3613
|
-
{ type: 'error', inputs: [], name: 'LegLive' },
|
|
3614
|
-
{ type: 'error', inputs: [], name: 'MinBuffer' },
|
|
3615
3490
|
{ type: 'error', inputs: [], name: 'NonstandardToken' },
|
|
3616
3491
|
{ type: 'error', inputs: [], name: 'NotAllowed' },
|
|
3617
3492
|
{ type: 'error', inputs: [], name: 'NotAuthority' },
|
|
@@ -3620,9 +3495,9 @@ export const fPoolSponsorAbi = [
|
|
|
3620
3495
|
{ type: 'error', inputs: [], name: 'NotDelegated' },
|
|
3621
3496
|
{ type: 'error', inputs: [], name: 'NotDissolvable' },
|
|
3622
3497
|
{ type: 'error', inputs: [], name: 'NotOperator' },
|
|
3498
|
+
{ type: 'error', inputs: [], name: 'NotPrivate' },
|
|
3623
3499
|
{ type: 'error', inputs: [], name: 'NotRetired' },
|
|
3624
3500
|
{ type: 'error', inputs: [], name: 'NotSeeded' },
|
|
3625
|
-
{ type: 'error', inputs: [], name: 'NotSoleLP' },
|
|
3626
3501
|
{ type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
|
|
3627
3502
|
{ type: 'error', inputs: [], name: 'PoolLocked' },
|
|
3628
3503
|
{ type: 'error', inputs: [], name: 'PoolNotInitialized' },
|
|
@@ -3636,7 +3511,6 @@ export const fPoolSponsorAbi = [
|
|
|
3636
3511
|
{ type: 'error', inputs: [], name: 'Restructured' },
|
|
3637
3512
|
{ type: 'error', inputs: [], name: 'SameAsset' },
|
|
3638
3513
|
{ type: 'error', inputs: [], name: 'Slippage' },
|
|
3639
|
-
{ type: 'error', inputs: [], name: 'StrikeLocked' },
|
|
3640
3514
|
{ type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
|
|
3641
3515
|
{ type: 'error', inputs: [], name: 'TokensNotSettled' },
|
|
3642
3516
|
{ type: 'error', inputs: [], name: 'TooManyGenerations' },
|
|
@@ -3818,7 +3692,7 @@ export const logswapLensAbi = [
|
|
|
3818
3692
|
{ name: 'quote', internalType: 'address', type: 'address' },
|
|
3819
3693
|
{ name: 'phi', internalType: 'uint96', type: 'uint96' },
|
|
3820
3694
|
{ name: 'authority', internalType: 'address', type: 'address' },
|
|
3821
|
-
{ name: '
|
|
3695
|
+
{ name: 'kind', internalType: 'enum Kind', type: 'uint8' },
|
|
3822
3696
|
{ name: 'seeded', internalType: 'bool', type: 'bool' },
|
|
3823
3697
|
{ name: 'gen', internalType: 'uint16', type: 'uint16' },
|
|
3824
3698
|
{ name: 'n', internalType: 'uint8', type: 'uint8' },
|
|
@@ -3830,14 +3704,14 @@ export const logswapLensAbi = [
|
|
|
3830
3704
|
{ name: 'L', internalType: 'uint256', type: 'uint256' },
|
|
3831
3705
|
{ name: 'shares', internalType: 'uint256', type: 'uint256' },
|
|
3832
3706
|
{ name: 'theta0', internalType: 'int256', type: 'int256' },
|
|
3833
|
-
{ name: '
|
|
3707
|
+
{ name: 'harvestedTheta', internalType: 'int256', type: 'int256' },
|
|
3834
3708
|
{
|
|
3835
3709
|
name: 'pendingAuthority',
|
|
3836
3710
|
internalType: 'address',
|
|
3837
3711
|
type: 'address',
|
|
3838
3712
|
},
|
|
3839
3713
|
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
3840
|
-
{ name: '
|
|
3714
|
+
{ name: 'pendingOperator', internalType: 'address', type: 'address' },
|
|
3841
3715
|
{ name: 'incomeTaken', internalType: 'uint256', type: 'uint256' },
|
|
3842
3716
|
{ name: 'name', internalType: 'bytes32', type: 'bytes32' },
|
|
3843
3717
|
],
|