@logswap/sdk 0.5.80 → 0.5.82

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
@@ -61,7 +61,7 @@ export const cPoolManagerAbi = [
61
61
  inputs: [
62
62
  {
63
63
  name: 'key',
64
- internalType: 'struct PoolKey',
64
+ internalType: 'struct CPoolKey',
65
65
  type: 'tuple',
66
66
  components: [
67
67
  { name: 'base', internalType: 'address', type: 'address' },
@@ -69,6 +69,7 @@ export const cPoolManagerAbi = [
69
69
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
70
70
  { name: 'policy', internalType: 'address', type: 'address' },
71
71
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
72
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
72
73
  ],
73
74
  },
74
75
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -98,7 +99,7 @@ export const cPoolManagerAbi = [
98
99
  inputs: [
99
100
  {
100
101
  name: 'key',
101
- internalType: 'struct PoolKey',
102
+ internalType: 'struct CPoolKey',
102
103
  type: 'tuple',
103
104
  components: [
104
105
  { name: 'base', internalType: 'address', type: 'address' },
@@ -106,6 +107,7 @@ export const cPoolManagerAbi = [
106
107
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
107
108
  { name: 'policy', internalType: 'address', type: 'address' },
108
109
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
110
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
109
111
  ],
110
112
  },
111
113
  { name: 'id', internalType: 'uint256', type: 'uint256' },
@@ -127,7 +129,7 @@ export const cPoolManagerAbi = [
127
129
  inputs: [
128
130
  {
129
131
  name: 'key',
130
- internalType: 'struct PoolKey',
132
+ internalType: 'struct CPoolKey',
131
133
  type: 'tuple',
132
134
  components: [
133
135
  { name: 'base', internalType: 'address', type: 'address' },
@@ -135,6 +137,7 @@ export const cPoolManagerAbi = [
135
137
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
136
138
  { name: 'policy', internalType: 'address', type: 'address' },
137
139
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
140
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
138
141
  ],
139
142
  },
140
143
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -157,7 +160,7 @@ export const cPoolManagerAbi = [
157
160
  inputs: [
158
161
  {
159
162
  name: 'key',
160
- internalType: 'struct PoolKey',
163
+ internalType: 'struct CPoolKey',
161
164
  type: 'tuple',
162
165
  components: [
163
166
  { name: 'base', internalType: 'address', type: 'address' },
@@ -165,6 +168,7 @@ export const cPoolManagerAbi = [
165
168
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
166
169
  { name: 'policy', internalType: 'address', type: 'address' },
167
170
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
171
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
168
172
  ],
169
173
  },
170
174
  ],
@@ -218,7 +222,7 @@ export const cPoolManagerAbi = [
218
222
  inputs: [
219
223
  {
220
224
  name: 'key',
221
- internalType: 'struct PoolKey',
225
+ internalType: 'struct CPoolKey',
222
226
  type: 'tuple',
223
227
  components: [
224
228
  { name: 'base', internalType: 'address', type: 'address' },
@@ -226,6 +230,7 @@ export const cPoolManagerAbi = [
226
230
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
227
231
  { name: 'policy', internalType: 'address', type: 'address' },
228
232
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
233
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
229
234
  ],
230
235
  },
231
236
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -239,7 +244,7 @@ export const cPoolManagerAbi = [
239
244
  inputs: [
240
245
  {
241
246
  name: 'key',
242
- internalType: 'struct PoolKey',
247
+ internalType: 'struct CPoolKey',
243
248
  type: 'tuple',
244
249
  components: [
245
250
  { name: 'base', internalType: 'address', type: 'address' },
@@ -247,6 +252,7 @@ export const cPoolManagerAbi = [
247
252
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
248
253
  { name: 'policy', internalType: 'address', type: 'address' },
249
254
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
255
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
250
256
  ],
251
257
  },
252
258
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -261,7 +267,7 @@ export const cPoolManagerAbi = [
261
267
  inputs: [
262
268
  {
263
269
  name: 'key',
264
- internalType: 'struct PoolKey',
270
+ internalType: 'struct CPoolKey',
265
271
  type: 'tuple',
266
272
  components: [
267
273
  { name: 'base', internalType: 'address', type: 'address' },
@@ -269,10 +275,10 @@ export const cPoolManagerAbi = [
269
275
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
270
276
  { name: 'policy', internalType: 'address', type: 'address' },
271
277
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
278
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
272
279
  ],
273
280
  },
274
281
  { name: 'x0', internalType: 'int256', type: 'int256' },
275
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
276
282
  ],
277
283
  name: 'initialize',
278
284
  outputs: [{ name: 'pid', internalType: 'bytes32', type: 'bytes32' }],
@@ -300,7 +306,7 @@ export const cPoolManagerAbi = [
300
306
  inputs: [
301
307
  {
302
308
  name: 'key',
303
- internalType: 'struct PoolKey',
309
+ internalType: 'struct CPoolKey',
304
310
  type: 'tuple',
305
311
  components: [
306
312
  { name: 'base', internalType: 'address', type: 'address' },
@@ -308,6 +314,7 @@ export const cPoolManagerAbi = [
308
314
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
309
315
  { name: 'policy', internalType: 'address', type: 'address' },
310
316
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
317
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
311
318
  ],
312
319
  },
313
320
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -363,7 +370,7 @@ export const cPoolManagerAbi = [
363
370
  inputs: [
364
371
  {
365
372
  name: 'key',
366
- internalType: 'struct PoolKey',
373
+ internalType: 'struct CPoolKey',
367
374
  type: 'tuple',
368
375
  components: [
369
376
  { name: 'base', internalType: 'address', type: 'address' },
@@ -371,6 +378,7 @@ export const cPoolManagerAbi = [
371
378
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
372
379
  { name: 'policy', internalType: 'address', type: 'address' },
373
380
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
381
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
374
382
  ],
375
383
  },
376
384
  { name: 'exactIn', internalType: 'bool', type: 'bool' },
@@ -435,7 +443,7 @@ export const cPoolManagerAbi = [
435
443
  inputs: [
436
444
  {
437
445
  name: 'key',
438
- internalType: 'struct PoolKey',
446
+ internalType: 'struct CPoolKey',
439
447
  type: 'tuple',
440
448
  components: [
441
449
  { name: 'base', internalType: 'address', type: 'address' },
@@ -443,6 +451,7 @@ export const cPoolManagerAbi = [
443
451
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
444
452
  { name: 'policy', internalType: 'address', type: 'address' },
445
453
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
454
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
446
455
  ],
447
456
  },
448
457
  {
@@ -538,7 +547,7 @@ export const cPoolManagerAbi = [
538
547
  inputs: [
539
548
  {
540
549
  name: 'key',
541
- internalType: 'struct PoolKey',
550
+ internalType: 'struct CPoolKey',
542
551
  type: 'tuple',
543
552
  components: [
544
553
  { name: 'base', internalType: 'address', type: 'address' },
@@ -546,6 +555,7 @@ export const cPoolManagerAbi = [
546
555
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
547
556
  { name: 'policy', internalType: 'address', type: 'address' },
548
557
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
558
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
549
559
  ],
550
560
  },
551
561
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -1132,7 +1142,7 @@ export const fPoolManagerAbi = [
1132
1142
  {
1133
1143
  type: 'function',
1134
1144
  inputs: [],
1135
- name: 'INCOME_FEE_MAX',
1145
+ name: 'INCOME_TAX_MAX',
1136
1146
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1137
1147
  stateMutability: 'view',
1138
1148
  },
@@ -1229,6 +1239,16 @@ export const fPoolManagerAbi = [
1229
1239
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1230
1240
  stateMutability: 'view',
1231
1241
  },
1242
+ {
1243
+ type: 'function',
1244
+ inputs: [
1245
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1246
+ { name: 'to', internalType: 'address', type: 'address' },
1247
+ ],
1248
+ name: 'close',
1249
+ outputs: [],
1250
+ stateMutability: 'nonpayable',
1251
+ },
1232
1252
  {
1233
1253
  type: 'function',
1234
1254
  inputs: [{ name: 'id', internalType: 'uint256', type: 'uint256' }],
@@ -1246,6 +1266,28 @@ export const fPoolManagerAbi = [
1246
1266
  outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1247
1267
  stateMutability: 'view',
1248
1268
  },
1269
+ {
1270
+ type: 'function',
1271
+ inputs: [
1272
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1273
+ {
1274
+ name: 'baseAssets',
1275
+ internalType: 'struct BaseAsset[]',
1276
+ type: 'tuple[]',
1277
+ components: [
1278
+ { name: 'base', internalType: 'address', type: 'address' },
1279
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1280
+ { name: 'priceX36', internalType: 'uint256', type: 'uint256' },
1281
+ ],
1282
+ },
1283
+ { name: 'quoteAmount', internalType: 'uint256', type: 'uint256' },
1284
+ { name: 'lnCapOverSeed', internalType: 'uint24', type: 'uint24' },
1285
+ { name: 'to', internalType: 'address', type: 'address' },
1286
+ ],
1287
+ name: 'deployLiquidity',
1288
+ outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1289
+ stateMutability: 'nonpayable',
1290
+ },
1249
1291
  {
1250
1292
  type: 'function',
1251
1293
  inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
@@ -1277,6 +1319,16 @@ export const fPoolManagerAbi = [
1277
1319
  outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
1278
1320
  stateMutability: 'view',
1279
1321
  },
1322
+ {
1323
+ type: 'function',
1324
+ inputs: [
1325
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1326
+ { name: 'to', internalType: 'address', type: 'address' },
1327
+ ],
1328
+ name: 'harvest',
1329
+ outputs: [],
1330
+ stateMutability: 'nonpayable',
1331
+ },
1280
1332
  {
1281
1333
  type: 'function',
1282
1334
  inputs: [
@@ -1288,6 +1340,13 @@ export const fPoolManagerAbi = [
1288
1340
  outputs: [],
1289
1341
  stateMutability: 'nonpayable',
1290
1342
  },
1343
+ {
1344
+ type: 'function',
1345
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1346
+ name: 'incomeHeld',
1347
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1348
+ stateMutability: 'view',
1349
+ },
1291
1350
  {
1292
1351
  type: 'function',
1293
1352
  inputs: [
@@ -1298,15 +1357,13 @@ export const fPoolManagerAbi = [
1298
1357
  components: [
1299
1358
  { name: 'quote', internalType: 'address', type: 'address' },
1300
1359
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
1301
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1302
1360
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
1303
1361
  { name: 'policy', internalType: 'address', type: 'address' },
1304
1362
  { name: 'creator', internalType: 'address', type: 'address' },
1305
1363
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1306
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
1364
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
1307
1365
  ],
1308
1366
  },
1309
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
1310
1367
  ],
1311
1368
  name: 'initialize',
1312
1369
  outputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
@@ -1403,13 +1460,6 @@ export const fPoolManagerAbi = [
1403
1460
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
1404
1461
  stateMutability: 'view',
1405
1462
  },
1406
- {
1407
- type: 'function',
1408
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1409
- name: 'pot',
1410
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1411
- stateMutability: 'view',
1412
- },
1413
1463
  {
1414
1464
  type: 'function',
1415
1465
  inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
@@ -1446,36 +1496,6 @@ export const fPoolManagerAbi = [
1446
1496
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
1447
1497
  stateMutability: 'view',
1448
1498
  },
1449
- {
1450
- type: 'function',
1451
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1452
- name: 'retire',
1453
- outputs: [],
1454
- stateMutability: 'nonpayable',
1455
- },
1456
- {
1457
- type: 'function',
1458
- inputs: [
1459
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1460
- { name: 'L0', internalType: 'uint256', type: 'uint256' },
1461
- { name: 'r0', internalType: 'uint256[]', type: 'uint256[]' },
1462
- { name: 'Q0', internalType: 'uint256', type: 'uint256' },
1463
- ],
1464
- name: 'seed',
1465
- outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1466
- stateMutability: 'nonpayable',
1467
- },
1468
- {
1469
- type: 'function',
1470
- inputs: [
1471
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1472
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1473
- { name: 'newBases', internalType: 'address[]', type: 'address[]' },
1474
- ],
1475
- name: 'setLegs',
1476
- outputs: [],
1477
- stateMutability: 'nonpayable',
1478
- },
1479
1499
  {
1480
1500
  type: 'function',
1481
1501
  inputs: [
@@ -1805,28 +1825,6 @@ export const fPoolManagerAbi = [
1805
1825
  ],
1806
1826
  name: 'GenerationRetired',
1807
1827
  },
1808
- {
1809
- type: 'event',
1810
- anonymous: false,
1811
- inputs: [
1812
- {
1813
- name: 'poolId',
1814
- internalType: 'bytes32',
1815
- type: 'bytes32',
1816
- indexed: true,
1817
- },
1818
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1819
- { name: 'L0', internalType: 'uint256', type: 'uint256', indexed: false },
1820
- { name: 'Q0', internalType: 'uint256', type: 'uint256', indexed: false },
1821
- {
1822
- name: 'r0',
1823
- internalType: 'uint256[]',
1824
- type: 'uint256[]',
1825
- indexed: false,
1826
- },
1827
- ],
1828
- name: 'GenerationSeeded',
1829
- },
1830
1828
  {
1831
1829
  type: 'event',
1832
1830
  anonymous: false,
@@ -1845,7 +1843,7 @@ export const fPoolManagerAbi = [
1845
1843
  type: 'uint256',
1846
1844
  indexed: false,
1847
1845
  },
1848
- { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
1846
+ { name: 'tax', internalType: 'uint256', type: 'uint256', indexed: false },
1849
1847
  {
1850
1848
  name: 'toOperator',
1851
1849
  internalType: 'uint256',
@@ -1866,21 +1864,32 @@ export const fPoolManagerAbi = [
1866
1864
  type: 'bytes32',
1867
1865
  indexed: true,
1868
1866
  },
1869
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1870
1867
  {
1871
- name: 'bases',
1872
- internalType: 'address[]',
1873
- type: 'address[]',
1868
+ name: 'income',
1869
+ internalType: 'uint256',
1870
+ type: 'uint256',
1871
+ indexed: false,
1872
+ },
1873
+ {
1874
+ name: 'payee',
1875
+ internalType: 'address',
1876
+ type: 'address',
1874
1877
  indexed: false,
1875
1878
  },
1876
1879
  {
1877
- name: 'weights',
1878
- internalType: 'uint256[]',
1879
- type: 'uint256[]',
1880
+ name: 'toPayee',
1881
+ internalType: 'uint256',
1882
+ type: 'uint256',
1883
+ indexed: false,
1884
+ },
1885
+ {
1886
+ name: 'deepened',
1887
+ internalType: 'uint256',
1888
+ type: 'uint256',
1880
1889
  indexed: false,
1881
1890
  },
1882
1891
  ],
1883
- name: 'LegsSet',
1892
+ name: 'IncomeReleased',
1884
1893
  },
1885
1894
  {
1886
1895
  type: 'event',
@@ -1947,6 +1956,43 @@ export const fPoolManagerAbi = [
1947
1956
  ],
1948
1957
  name: 'LienUnlocked',
1949
1958
  },
1959
+ {
1960
+ type: 'event',
1961
+ anonymous: false,
1962
+ inputs: [
1963
+ {
1964
+ name: 'poolId',
1965
+ internalType: 'bytes32',
1966
+ type: 'bytes32',
1967
+ indexed: true,
1968
+ },
1969
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1970
+ {
1971
+ name: 'quoteAmount',
1972
+ internalType: 'uint256',
1973
+ type: 'uint256',
1974
+ indexed: false,
1975
+ },
1976
+ {
1977
+ name: 'baseAssets',
1978
+ internalType: 'struct BaseAsset[]',
1979
+ type: 'tuple[]',
1980
+ components: [
1981
+ { name: 'base', internalType: 'address', type: 'address' },
1982
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1983
+ { name: 'priceX36', internalType: 'uint256', type: 'uint256' },
1984
+ ],
1985
+ indexed: false,
1986
+ },
1987
+ {
1988
+ name: 'lnCapOverSeed',
1989
+ internalType: 'uint24',
1990
+ type: 'uint24',
1991
+ indexed: false,
1992
+ },
1993
+ ],
1994
+ name: 'LiquidityDeployed',
1995
+ },
1950
1996
  {
1951
1997
  type: 'event',
1952
1998
  anonymous: false,
@@ -2031,12 +2077,6 @@ export const fPoolManagerAbi = [
2031
2077
  type: 'address[]',
2032
2078
  indexed: false,
2033
2079
  },
2034
- {
2035
- name: 'weights',
2036
- internalType: 'uint256[]',
2037
- type: 'uint256[]',
2038
- indexed: false,
2039
- },
2040
2080
  {
2041
2081
  name: 'swapFee',
2042
2082
  internalType: 'uint256',
@@ -2049,12 +2089,6 @@ export const fPoolManagerAbi = [
2049
2089
  type: 'address',
2050
2090
  indexed: false,
2051
2091
  },
2052
- {
2053
- name: 'lnCapOverFloor',
2054
- internalType: 'uint24',
2055
- type: 'uint24',
2056
- indexed: false,
2057
- },
2058
2092
  {
2059
2093
  name: 'mintFee',
2060
2094
  internalType: 'uint256',
@@ -2064,39 +2098,6 @@ export const fPoolManagerAbi = [
2064
2098
  ],
2065
2099
  name: 'PoolCreated',
2066
2100
  },
2067
- {
2068
- type: 'event',
2069
- anonymous: false,
2070
- inputs: [
2071
- {
2072
- name: 'poolId',
2073
- internalType: 'bytes32',
2074
- type: 'bytes32',
2075
- indexed: true,
2076
- },
2077
- { name: 'pot', internalType: 'uint256', type: 'uint256', indexed: false },
2078
- {
2079
- name: 'payee',
2080
- internalType: 'address',
2081
- type: 'address',
2082
- indexed: false,
2083
- },
2084
- {
2085
- name: 'toPayee',
2086
- internalType: 'uint256',
2087
- type: 'uint256',
2088
- indexed: false,
2089
- },
2090
- { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
2091
- {
2092
- name: 'deepened',
2093
- internalType: 'uint256',
2094
- type: 'uint256',
2095
- indexed: false,
2096
- },
2097
- ],
2098
- name: 'PotReleased',
2099
- },
2100
2101
  {
2101
2102
  type: 'event',
2102
2103
  anonymous: false,
@@ -2348,7 +2349,6 @@ export const fPoolManagerAbi = [
2348
2349
  { type: 'error', inputs: [], name: 'BadLeg' },
2349
2350
  { type: 'error', inputs: [], name: 'BadParam' },
2350
2351
  { type: 'error', inputs: [], name: 'BadTerms' },
2351
- { type: 'error', inputs: [], name: 'BadWeights' },
2352
2352
  { type: 'error', inputs: [], name: 'BalanceOverflow' },
2353
2353
  { type: 'error', inputs: [], name: 'BidNotEmpty' },
2354
2354
  { type: 'error', inputs: [], name: 'CapReached' },
@@ -2357,7 +2357,6 @@ export const fPoolManagerAbi = [
2357
2357
  { type: 'error', inputs: [], name: 'InsufficientPermission' },
2358
2358
  { type: 'error', inputs: [], name: 'InsufficientQuote' },
2359
2359
  { type: 'error', inputs: [], name: 'InvalidToken' },
2360
- { type: 'error', inputs: [], name: 'LegHeld' },
2361
2360
  { type: 'error', inputs: [], name: 'Locked' },
2362
2361
  {
2363
2362
  type: 'error',
@@ -2371,6 +2370,7 @@ export const fPoolManagerAbi = [
2371
2370
  { type: 'error', inputs: [], name: 'NotRetired' },
2372
2371
  { type: 'error', inputs: [], name: 'NotSeeded' },
2373
2372
  { type: 'error', inputs: [], name: 'NotTreasury' },
2373
+ { type: 'error', inputs: [], name: 'PadForwardOnly' },
2374
2374
  { type: 'error', inputs: [], name: 'PadNeverRetires' },
2375
2375
  { type: 'error', inputs: [], name: 'PolicyNotApproved' },
2376
2376
  { type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
@@ -2389,7 +2389,6 @@ export const fPoolManagerAbi = [
2389
2389
  { type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
2390
2390
  { type: 'error', inputs: [], name: 'TokensNotSettled' },
2391
2391
  { type: 'error', inputs: [], name: 'TooManyGenerations' },
2392
- { type: 'error', inputs: [], name: 'TooManyLegs' },
2393
2392
  { type: 'error', inputs: [], name: 'TransferShortfall' },
2394
2393
  { type: 'error', inputs: [], name: 'ZeroAmount' },
2395
2394
  ];
@@ -2446,7 +2445,7 @@ export const logswapLensAbi = [
2446
2445
  inputs: [
2447
2446
  {
2448
2447
  name: 'key',
2449
- internalType: 'struct PoolKey',
2448
+ internalType: 'struct CPoolKey',
2450
2449
  type: 'tuple',
2451
2450
  components: [
2452
2451
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2454,6 +2453,7 @@ export const logswapLensAbi = [
2454
2453
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2455
2454
  { name: 'policy', internalType: 'address', type: 'address' },
2456
2455
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2456
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2457
2457
  ],
2458
2458
  },
2459
2459
  ],
@@ -2466,7 +2466,7 @@ export const logswapLensAbi = [
2466
2466
  inputs: [
2467
2467
  {
2468
2468
  name: 'key',
2469
- internalType: 'struct PoolKey',
2469
+ internalType: 'struct CPoolKey',
2470
2470
  type: 'tuple',
2471
2471
  components: [
2472
2472
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2474,6 +2474,7 @@ export const logswapLensAbi = [
2474
2474
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2475
2475
  { name: 'policy', internalType: 'address', type: 'address' },
2476
2476
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2477
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2477
2478
  ],
2478
2479
  },
2479
2480
  ],
@@ -2593,11 +2594,7 @@ export const logswapLensAbi = [
2593
2594
  type: 'uint32',
2594
2595
  },
2595
2596
  { name: 'asks', internalType: 'uint8', type: 'uint8' },
2596
- {
2597
- name: 'lnCapOverFloor',
2598
- internalType: 'uint24',
2599
- type: 'uint24',
2600
- },
2597
+ { name: 'lnCapOverSeed', internalType: 'uint24', type: 'uint24' },
2601
2598
  { name: 'Q', internalType: 'uint128', type: 'uint128' },
2602
2599
  {
2603
2600
  name: 'realizedVariance',
@@ -2615,7 +2612,7 @@ export const logswapLensAbi = [
2615
2612
  { name: 'compositeX', internalType: 'int256', type: 'int256' },
2616
2613
  { name: 'unharvested', internalType: 'uint256', type: 'uint256' },
2617
2614
  {
2618
- name: 'legs',
2615
+ name: 'baseLegs',
2619
2616
  internalType: 'struct LogswapLens.FLeg[]',
2620
2617
  type: 'tuple[]',
2621
2618
  components: [
@@ -2641,7 +2638,7 @@ export const logswapLensAbi = [
2641
2638
  inputs: [
2642
2639
  {
2643
2640
  name: 'key',
2644
- internalType: 'struct PoolKey',
2641
+ internalType: 'struct CPoolKey',
2645
2642
  type: 'tuple',
2646
2643
  components: [
2647
2644
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2649,6 +2646,7 @@ export const logswapLensAbi = [
2649
2646
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2650
2647
  { name: 'policy', internalType: 'address', type: 'address' },
2651
2648
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2649
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2652
2650
  ],
2653
2651
  },
2654
2652
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -2695,7 +2693,7 @@ export const logswapLensAbi = [
2695
2693
  { name: 'n', internalType: 'uint8', type: 'uint8' },
2696
2694
  { name: 'restructureTime', internalType: 'uint32', type: 'uint32' },
2697
2695
  { name: 'asks', internalType: 'uint8', type: 'uint8' },
2698
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
2696
+ { name: 'lnCapOverSeed', internalType: 'uint24', type: 'uint24' },
2699
2697
  { name: 'Q', internalType: 'uint128', type: 'uint128' },
2700
2698
  {
2701
2699
  name: 'realizedVariance',
@@ -2738,7 +2736,6 @@ export const logswapLensAbi = [
2738
2736
  { name: 'protocolOwed', internalType: 'uint256', type: 'uint256' },
2739
2737
  { name: 'minBackstopL', internalType: 'uint256', type: 'uint256' },
2740
2738
  { name: 'backstopFloor', internalType: 'int256', type: 'int256' },
2741
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2742
2739
  { name: 'policy', internalType: 'address', type: 'address' },
2743
2740
  { name: 'executor', internalType: 'address', type: 'address' },
2744
2741
  { name: 'restructureTime', internalType: 'uint32', type: 'uint32' },
@@ -2754,7 +2751,7 @@ export const logswapLensAbi = [
2754
2751
  inputs: [
2755
2752
  {
2756
2753
  name: 'key',
2757
- internalType: 'struct PoolKey',
2754
+ internalType: 'struct CPoolKey',
2758
2755
  type: 'tuple',
2759
2756
  components: [
2760
2757
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2762,6 +2759,7 @@ export const logswapLensAbi = [
2762
2759
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2763
2760
  { name: 'policy', internalType: 'address', type: 'address' },
2764
2761
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2762
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2765
2763
  ],
2766
2764
  },
2767
2765
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -2791,7 +2789,7 @@ export const logswapLensAbi = [
2791
2789
  inputs: [
2792
2790
  {
2793
2791
  name: 'key',
2794
- internalType: 'struct PoolKey',
2792
+ internalType: 'struct CPoolKey',
2795
2793
  type: 'tuple',
2796
2794
  components: [
2797
2795
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2799,6 +2797,7 @@ export const logswapLensAbi = [
2799
2797
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2800
2798
  { name: 'policy', internalType: 'address', type: 'address' },
2801
2799
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2800
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2802
2801
  ],
2803
2802
  },
2804
2803
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -2812,7 +2811,7 @@ export const logswapLensAbi = [
2812
2811
  inputs: [
2813
2812
  {
2814
2813
  name: 'key',
2815
- internalType: 'struct PoolKey',
2814
+ internalType: 'struct CPoolKey',
2816
2815
  type: 'tuple',
2817
2816
  components: [
2818
2817
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2820,6 +2819,7 @@ export const logswapLensAbi = [
2820
2819
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2821
2820
  { name: 'policy', internalType: 'address', type: 'address' },
2822
2821
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2822
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2823
2823
  ],
2824
2824
  },
2825
2825
  ],
@@ -2832,7 +2832,7 @@ export const logswapLensAbi = [
2832
2832
  inputs: [
2833
2833
  {
2834
2834
  name: 'key',
2835
- internalType: 'struct PoolKey',
2835
+ internalType: 'struct CPoolKey',
2836
2836
  type: 'tuple',
2837
2837
  components: [
2838
2838
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2840,6 +2840,7 @@ export const logswapLensAbi = [
2840
2840
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2841
2841
  { name: 'policy', internalType: 'address', type: 'address' },
2842
2842
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2843
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2843
2844
  ],
2844
2845
  },
2845
2846
  ],
@@ -2852,7 +2853,7 @@ export const logswapLensAbi = [
2852
2853
  inputs: [
2853
2854
  {
2854
2855
  name: 'key',
2855
- internalType: 'struct PoolKey',
2856
+ internalType: 'struct CPoolKey',
2856
2857
  type: 'tuple',
2857
2858
  components: [
2858
2859
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2860,6 +2861,7 @@ export const logswapLensAbi = [
2860
2861
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2861
2862
  { name: 'policy', internalType: 'address', type: 'address' },
2862
2863
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2864
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2863
2865
  ],
2864
2866
  },
2865
2867
  { name: 'id', internalType: 'uint256', type: 'uint256' },
@@ -2879,7 +2881,7 @@ export const logswapLensAbi = [
2879
2881
  inputs: [
2880
2882
  {
2881
2883
  name: 'key',
2882
- internalType: 'struct PoolKey',
2884
+ internalType: 'struct CPoolKey',
2883
2885
  type: 'tuple',
2884
2886
  components: [
2885
2887
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2887,6 +2889,7 @@ export const logswapLensAbi = [
2887
2889
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2888
2890
  { name: 'policy', internalType: 'address', type: 'address' },
2889
2891
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2892
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2890
2893
  ],
2891
2894
  },
2892
2895
  ],
@@ -2908,7 +2911,7 @@ export const logswapLensAbi = [
2908
2911
  inputs: [
2909
2912
  {
2910
2913
  name: 'key',
2911
- internalType: 'struct PoolKey',
2914
+ internalType: 'struct CPoolKey',
2912
2915
  type: 'tuple',
2913
2916
  components: [
2914
2917
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2916,6 +2919,7 @@ export const logswapLensAbi = [
2916
2919
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2917
2920
  { name: 'policy', internalType: 'address', type: 'address' },
2918
2921
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2922
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2919
2923
  ],
2920
2924
  },
2921
2925
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -2947,7 +2951,7 @@ export const logswapLensAbi = [
2947
2951
  inputs: [
2948
2952
  {
2949
2953
  name: 'key',
2950
- internalType: 'struct PoolKey',
2954
+ internalType: 'struct CPoolKey',
2951
2955
  type: 'tuple',
2952
2956
  components: [
2953
2957
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2955,6 +2959,7 @@ export const logswapLensAbi = [
2955
2959
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2956
2960
  { name: 'policy', internalType: 'address', type: 'address' },
2957
2961
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2962
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2958
2963
  ],
2959
2964
  },
2960
2965
  ],
@@ -2967,7 +2972,7 @@ export const logswapLensAbi = [
2967
2972
  inputs: [
2968
2973
  {
2969
2974
  name: 'key',
2970
- internalType: 'struct PoolKey',
2975
+ internalType: 'struct CPoolKey',
2971
2976
  type: 'tuple',
2972
2977
  components: [
2973
2978
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2975,6 +2980,7 @@ export const logswapLensAbi = [
2975
2980
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2976
2981
  { name: 'policy', internalType: 'address', type: 'address' },
2977
2982
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2983
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2978
2984
  ],
2979
2985
  },
2980
2986
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -3001,7 +3007,7 @@ export const logswapLensAbi = [
3001
3007
  inputs: [
3002
3008
  {
3003
3009
  name: 'key',
3004
- internalType: 'struct PoolKey',
3010
+ internalType: 'struct CPoolKey',
3005
3011
  type: 'tuple',
3006
3012
  components: [
3007
3013
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3009,6 +3015,7 @@ export const logswapLensAbi = [
3009
3015
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3010
3016
  { name: 'policy', internalType: 'address', type: 'address' },
3011
3017
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3018
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3012
3019
  ],
3013
3020
  },
3014
3021
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
@@ -3044,7 +3051,7 @@ export const logswapLensAbi = [
3044
3051
  inputs: [
3045
3052
  {
3046
3053
  name: 'key',
3047
- internalType: 'struct PoolKey',
3054
+ internalType: 'struct CPoolKey',
3048
3055
  type: 'tuple',
3049
3056
  components: [
3050
3057
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3052,6 +3059,7 @@ export const logswapLensAbi = [
3052
3059
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3053
3060
  { name: 'policy', internalType: 'address', type: 'address' },
3054
3061
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3062
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3055
3063
  ],
3056
3064
  },
3057
3065
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3066,7 +3074,7 @@ export const logswapLensAbi = [
3066
3074
  inputs: [
3067
3075
  {
3068
3076
  name: 'key',
3069
- internalType: 'struct PoolKey',
3077
+ internalType: 'struct CPoolKey',
3070
3078
  type: 'tuple',
3071
3079
  components: [
3072
3080
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3074,6 +3082,7 @@ export const logswapLensAbi = [
3074
3082
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3075
3083
  { name: 'policy', internalType: 'address', type: 'address' },
3076
3084
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3085
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3077
3086
  ],
3078
3087
  },
3079
3088
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3088,7 +3097,7 @@ export const logswapLensAbi = [
3088
3097
  inputs: [
3089
3098
  {
3090
3099
  name: 'key',
3091
- internalType: 'struct PoolKey',
3100
+ internalType: 'struct CPoolKey',
3092
3101
  type: 'tuple',
3093
3102
  components: [
3094
3103
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3096,6 +3105,7 @@ export const logswapLensAbi = [
3096
3105
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3097
3106
  { name: 'policy', internalType: 'address', type: 'address' },
3098
3107
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3108
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3099
3109
  ],
3100
3110
  },
3101
3111
  { name: 'baseOut', internalType: 'bool', type: 'bool' },
@@ -3110,7 +3120,7 @@ export const logswapLensAbi = [
3110
3120
  inputs: [
3111
3121
  {
3112
3122
  name: 'key',
3113
- internalType: 'struct PoolKey',
3123
+ internalType: 'struct CPoolKey',
3114
3124
  type: 'tuple',
3115
3125
  components: [
3116
3126
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3118,6 +3128,7 @@ export const logswapLensAbi = [
3118
3128
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3119
3129
  { name: 'policy', internalType: 'address', type: 'address' },
3120
3130
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3131
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3121
3132
  ],
3122
3133
  },
3123
3134
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3168,7 +3179,7 @@ export const logswapLensAbi = [
3168
3179
  inputs: [
3169
3180
  {
3170
3181
  name: 'key',
3171
- internalType: 'struct PoolKey',
3182
+ internalType: 'struct CPoolKey',
3172
3183
  type: 'tuple',
3173
3184
  components: [
3174
3185
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3176,6 +3187,7 @@ export const logswapLensAbi = [
3176
3187
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3177
3188
  { name: 'policy', internalType: 'address', type: 'address' },
3178
3189
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3190
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3179
3191
  ],
3180
3192
  },
3181
3193
  ],
@@ -3258,7 +3270,7 @@ export const logswapRouterAbi = [
3258
3270
  inputs: [
3259
3271
  {
3260
3272
  name: 'key',
3261
- internalType: 'struct PoolKey',
3273
+ internalType: 'struct CPoolKey',
3262
3274
  type: 'tuple',
3263
3275
  components: [
3264
3276
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3266,6 +3278,7 @@ export const logswapRouterAbi = [
3266
3278
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3267
3279
  { name: 'policy', internalType: 'address', type: 'address' },
3268
3280
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3281
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3269
3282
  ],
3270
3283
  },
3271
3284
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3287,7 +3300,7 @@ export const logswapRouterAbi = [
3287
3300
  inputs: [
3288
3301
  {
3289
3302
  name: 'key',
3290
- internalType: 'struct PoolKey',
3303
+ internalType: 'struct CPoolKey',
3291
3304
  type: 'tuple',
3292
3305
  components: [
3293
3306
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3295,6 +3308,7 @@ export const logswapRouterAbi = [
3295
3308
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3296
3309
  { name: 'policy', internalType: 'address', type: 'address' },
3297
3310
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3311
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3298
3312
  ],
3299
3313
  },
3300
3314
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3310,7 +3324,7 @@ export const logswapRouterAbi = [
3310
3324
  inputs: [
3311
3325
  {
3312
3326
  name: 'key',
3313
- internalType: 'struct PoolKey',
3327
+ internalType: 'struct CPoolKey',
3314
3328
  type: 'tuple',
3315
3329
  components: [
3316
3330
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3318,10 +3332,10 @@ export const logswapRouterAbi = [
3318
3332
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3319
3333
  { name: 'policy', internalType: 'address', type: 'address' },
3320
3334
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3335
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3321
3336
  ],
3322
3337
  },
3323
3338
  { name: 'x0', internalType: 'int256', type: 'int256' },
3324
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3325
3339
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
3326
3340
  { name: 'L', internalType: 'uint256', type: 'uint256' },
3327
3341
  { name: 'maxBaseIn', internalType: 'uint256', type: 'uint256' },
@@ -3347,7 +3361,7 @@ export const logswapRouterAbi = [
3347
3361
  components: [
3348
3362
  {
3349
3363
  name: 'key',
3350
- internalType: 'struct PoolKey',
3364
+ internalType: 'struct CPoolKey',
3351
3365
  type: 'tuple',
3352
3366
  components: [
3353
3367
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3355,6 +3369,7 @@ export const logswapRouterAbi = [
3355
3369
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3356
3370
  { name: 'policy', internalType: 'address', type: 'address' },
3357
3371
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3372
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3358
3373
  ],
3359
3374
  },
3360
3375
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3376,7 +3391,7 @@ export const logswapRouterAbi = [
3376
3391
  components: [
3377
3392
  {
3378
3393
  name: 'key',
3379
- internalType: 'struct PoolKey',
3394
+ internalType: 'struct CPoolKey',
3380
3395
  type: 'tuple',
3381
3396
  components: [
3382
3397
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3384,6 +3399,7 @@ export const logswapRouterAbi = [
3384
3399
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3385
3400
  { name: 'policy', internalType: 'address', type: 'address' },
3386
3401
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3402
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3387
3403
  ],
3388
3404
  },
3389
3405
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3404,7 +3420,7 @@ export const logswapRouterAbi = [
3404
3420
  components: [
3405
3421
  {
3406
3422
  name: 'key',
3407
- internalType: 'struct PoolKey',
3423
+ internalType: 'struct CPoolKey',
3408
3424
  type: 'tuple',
3409
3425
  components: [
3410
3426
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3412,6 +3428,7 @@ export const logswapRouterAbi = [
3412
3428
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3413
3429
  { name: 'policy', internalType: 'address', type: 'address' },
3414
3430
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3431
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3415
3432
  ],
3416
3433
  },
3417
3434
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
@@ -3439,7 +3456,7 @@ export const logswapRouterAbi = [
3439
3456
  components: [
3440
3457
  {
3441
3458
  name: 'key',
3442
- internalType: 'struct PoolKey',
3459
+ internalType: 'struct CPoolKey',
3443
3460
  type: 'tuple',
3444
3461
  components: [
3445
3462
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3451,6 +3468,7 @@ export const logswapRouterAbi = [
3451
3468
  },
3452
3469
  { name: 'policy', internalType: 'address', type: 'address' },
3453
3470
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3471
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3454
3472
  ],
3455
3473
  },
3456
3474
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3475,7 +3493,7 @@ export const logswapRouterAbi = [
3475
3493
  components: [
3476
3494
  {
3477
3495
  name: 'key',
3478
- internalType: 'struct PoolKey',
3496
+ internalType: 'struct CPoolKey',
3479
3497
  type: 'tuple',
3480
3498
  components: [
3481
3499
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3483,6 +3501,7 @@ export const logswapRouterAbi = [
3483
3501
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3484
3502
  { name: 'policy', internalType: 'address', type: 'address' },
3485
3503
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3504
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3486
3505
  ],
3487
3506
  },
3488
3507
  { name: 'baseSide', internalType: 'bool', type: 'bool' },
@@ -3505,7 +3524,7 @@ export const logswapRouterAbi = [
3505
3524
  components: [
3506
3525
  {
3507
3526
  name: 'key',
3508
- internalType: 'struct PoolKey',
3527
+ internalType: 'struct CPoolKey',
3509
3528
  type: 'tuple',
3510
3529
  components: [
3511
3530
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3513,6 +3532,7 @@ export const logswapRouterAbi = [
3513
3532
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3514
3533
  { name: 'policy', internalType: 'address', type: 'address' },
3515
3534
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3535
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3516
3536
  ],
3517
3537
  },
3518
3538
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3591,7 +3611,7 @@ export const logswapRouterAbi = [
3591
3611
  inputs: [
3592
3612
  {
3593
3613
  name: 'key',
3594
- internalType: 'struct PoolKey',
3614
+ internalType: 'struct CPoolKey',
3595
3615
  type: 'tuple',
3596
3616
  components: [
3597
3617
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3599,6 +3619,7 @@ export const logswapRouterAbi = [
3599
3619
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3600
3620
  { name: 'policy', internalType: 'address', type: 'address' },
3601
3621
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3622
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3602
3623
  ],
3603
3624
  },
3604
3625
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
@@ -3621,7 +3642,7 @@ export const logswapRouterAbi = [
3621
3642
  inputs: [
3622
3643
  {
3623
3644
  name: 'key',
3624
- internalType: 'struct PoolKey',
3645
+ internalType: 'struct CPoolKey',
3625
3646
  type: 'tuple',
3626
3647
  components: [
3627
3648
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3629,6 +3650,7 @@ export const logswapRouterAbi = [
3629
3650
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3630
3651
  { name: 'policy', internalType: 'address', type: 'address' },
3631
3652
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3653
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3632
3654
  ],
3633
3655
  },
3634
3656
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3692,12 +3714,28 @@ export const logswapRouterAbi = [
3692
3714
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3693
3715
  stateMutability: 'nonpayable',
3694
3716
  },
3717
+ {
3718
+ type: 'function',
3719
+ inputs: [
3720
+ { name: '', internalType: 'bytes32', type: 'bytes32' },
3721
+ { name: '', internalType: 'enum FPoolManager.QuoteKind', type: 'uint8' },
3722
+ { name: '', internalType: 'uint256', type: 'uint256' },
3723
+ { name: '', internalType: 'uint256', type: 'uint256' },
3724
+ { name: '', internalType: 'uint256', type: 'uint256' },
3725
+ { name: '', internalType: 'uint256', type: 'uint256' },
3726
+ { name: '', internalType: 'address', type: 'address' },
3727
+ { name: '', internalType: 'uint256', type: 'uint256' },
3728
+ ],
3729
+ name: 'swapExactIn',
3730
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3731
+ stateMutability: 'nonpayable',
3732
+ },
3695
3733
  {
3696
3734
  type: 'function',
3697
3735
  inputs: [
3698
3736
  {
3699
3737
  name: 'key',
3700
- internalType: 'struct PoolKey',
3738
+ internalType: 'struct CPoolKey',
3701
3739
  type: 'tuple',
3702
3740
  components: [
3703
3741
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3705,6 +3743,7 @@ export const logswapRouterAbi = [
3705
3743
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3706
3744
  { name: 'policy', internalType: 'address', type: 'address' },
3707
3745
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3746
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3708
3747
  ],
3709
3748
  },
3710
3749
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3717,22 +3756,6 @@ export const logswapRouterAbi = [
3717
3756
  outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
3718
3757
  stateMutability: 'nonpayable',
3719
3758
  },
3720
- {
3721
- type: 'function',
3722
- inputs: [
3723
- { name: '', internalType: 'bytes32', type: 'bytes32' },
3724
- { name: '', internalType: 'enum FPoolManager.QuoteKind', type: 'uint8' },
3725
- { name: '', internalType: 'uint256', type: 'uint256' },
3726
- { name: '', internalType: 'uint256', type: 'uint256' },
3727
- { name: '', internalType: 'uint256', type: 'uint256' },
3728
- { name: '', internalType: 'uint256', type: 'uint256' },
3729
- { name: '', internalType: 'address', type: 'address' },
3730
- { name: '', internalType: 'uint256', type: 'uint256' },
3731
- ],
3732
- name: 'swapExactIn',
3733
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3734
- stateMutability: 'nonpayable',
3735
- },
3736
3759
  {
3737
3760
  type: 'function',
3738
3761
  inputs: [
@@ -3743,7 +3766,7 @@ export const logswapRouterAbi = [
3743
3766
  components: [
3744
3767
  {
3745
3768
  name: 'key',
3746
- internalType: 'struct PoolKey',
3769
+ internalType: 'struct CPoolKey',
3747
3770
  type: 'tuple',
3748
3771
  components: [
3749
3772
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3751,6 +3774,7 @@ export const logswapRouterAbi = [
3751
3774
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3752
3775
  { name: 'policy', internalType: 'address', type: 'address' },
3753
3776
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3777
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3754
3778
  ],
3755
3779
  },
3756
3780
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3770,7 +3794,7 @@ export const logswapRouterAbi = [
3770
3794
  inputs: [
3771
3795
  {
3772
3796
  name: 'key',
3773
- internalType: 'struct PoolKey',
3797
+ internalType: 'struct CPoolKey',
3774
3798
  type: 'tuple',
3775
3799
  components: [
3776
3800
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3778,6 +3802,7 @@ export const logswapRouterAbi = [
3778
3802
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3779
3803
  { name: 'policy', internalType: 'address', type: 'address' },
3780
3804
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3805
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3781
3806
  ],
3782
3807
  },
3783
3808
  { name: 'baseOut', internalType: 'bool', type: 'bool' },
@@ -3802,7 +3827,7 @@ export const logswapRouterAbi = [
3802
3827
  inputs: [
3803
3828
  {
3804
3829
  name: 'key',
3805
- internalType: 'struct PoolKey',
3830
+ internalType: 'struct CPoolKey',
3806
3831
  type: 'tuple',
3807
3832
  components: [
3808
3833
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3810,6 +3835,7 @@ export const logswapRouterAbi = [
3810
3835
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3811
3836
  { name: 'policy', internalType: 'address', type: 'address' },
3812
3837
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3838
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3813
3839
  ],
3814
3840
  },
3815
3841
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3842,7 +3868,7 @@ export const logswapRouterAbi = [
3842
3868
  inputs: [
3843
3869
  {
3844
3870
  name: 'key',
3845
- internalType: 'struct PoolKey',
3871
+ internalType: 'struct CPoolKey',
3846
3872
  type: 'tuple',
3847
3873
  components: [
3848
3874
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3850,6 +3876,7 @@ export const logswapRouterAbi = [
3850
3876
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3851
3877
  { name: 'policy', internalType: 'address', type: 'address' },
3852
3878
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3879
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3853
3880
  ],
3854
3881
  },
3855
3882
  { name: 'fundWithBase', internalType: 'bool', type: 'bool' },
@@ -4005,7 +4032,7 @@ export const padPolicyAbi = [
4005
4032
  {
4006
4033
  type: 'function',
4007
4034
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
4008
- name: 'incomeFee',
4035
+ name: 'incomeTax',
4009
4036
  outputs: [
4010
4037
  { name: '', internalType: 'address', type: 'address' },
4011
4038
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -4015,7 +4042,7 @@ export const padPolicyAbi = [
4015
4042
  {
4016
4043
  type: 'function',
4017
4044
  inputs: [],
4018
- name: 'incomeFeeRate',
4045
+ name: 'incomeTaxRate',
4019
4046
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4020
4047
  stateMutability: 'view',
4021
4048
  },
@@ -4077,20 +4104,6 @@ export const padPolicyAbi = [
4077
4104
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
4078
4105
  stateMutability: 'view',
4079
4106
  },
4080
- {
4081
- type: 'function',
4082
- inputs: [],
4083
- name: 'mintFeeCurated',
4084
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4085
- stateMutability: 'view',
4086
- },
4087
- {
4088
- type: 'function',
4089
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4090
- name: 'mintFeeListed',
4091
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4092
- stateMutability: 'view',
4093
- },
4094
4107
  {
4095
4108
  type: 'function',
4096
4109
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -4104,7 +4117,7 @@ export const padPolicyAbi = [
4104
4117
  { name: '', internalType: 'address', type: 'address' },
4105
4118
  {
4106
4119
  name: '',
4107
- internalType: 'struct PoolKey',
4120
+ internalType: 'struct CPoolKey',
4108
4121
  type: 'tuple',
4109
4122
  components: [
4110
4123
  { name: 'base', internalType: 'address', type: 'address' },
@@ -4112,15 +4125,14 @@ export const padPolicyAbi = [
4112
4125
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
4113
4126
  { name: 'policy', internalType: 'address', type: 'address' },
4114
4127
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4128
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4115
4129
  ],
4116
4130
  },
4117
- { name: '', internalType: 'uint256', type: 'uint256' },
4118
4131
  ],
4119
4132
  name: 'onCInitialize',
4120
4133
  outputs: [
4121
4134
  { name: '', internalType: 'uint8', type: 'uint8' },
4122
4135
  { name: '', internalType: 'uint256', type: 'uint256' },
4123
- { name: '', internalType: 'uint256', type: 'uint256' },
4124
4136
  ],
4125
4137
  stateMutability: 'pure',
4126
4138
  },
@@ -4135,21 +4147,16 @@ export const padPolicyAbi = [
4135
4147
  components: [
4136
4148
  { name: 'quote', internalType: 'address', type: 'address' },
4137
4149
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
4138
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
4139
4150
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4140
4151
  { name: 'policy', internalType: 'address', type: 'address' },
4141
4152
  { name: 'creator', internalType: 'address', type: 'address' },
4142
4153
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
4143
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
4154
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4144
4155
  ],
4145
4156
  },
4146
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4147
4157
  ],
4148
4158
  name: 'onInitialize',
4149
- outputs: [
4150
- { name: '', internalType: 'uint8', type: 'uint8' },
4151
- { name: '', internalType: 'uint256', type: 'uint256' },
4152
- ],
4159
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
4153
4160
  stateMutability: 'nonpayable',
4154
4161
  },
4155
4162
  {
@@ -4280,24 +4287,7 @@ export const padPolicyAbi = [
4280
4287
  {
4281
4288
  type: 'function',
4282
4289
  inputs: [{ name: 'rate', internalType: 'uint256', type: 'uint256' }],
4283
- name: 'setIncomeFeeRate',
4284
- outputs: [],
4285
- stateMutability: 'nonpayable',
4286
- },
4287
- {
4288
- type: 'function',
4289
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
4290
- name: 'setMintFeeCurated',
4291
- outputs: [],
4292
- stateMutability: 'nonpayable',
4293
- },
4294
- {
4295
- type: 'function',
4296
- inputs: [
4297
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4298
- { name: 'listed', internalType: 'bool', type: 'bool' },
4299
- ],
4300
- name: 'setMintFeeListed',
4290
+ name: 'setIncomeTaxRate',
4301
4291
  outputs: [],
4302
4292
  stateMutability: 'nonpayable',
4303
4293
  },
@@ -4478,44 +4468,27 @@ export const padPolicyAbi = [
4478
4468
  indexed: true,
4479
4469
  },
4480
4470
  { name: 'rung', internalType: 'uint256', type: 'uint256', indexed: true },
4481
- { name: 'pot', internalType: 'uint256', type: 'uint256', indexed: false },
4482
- ],
4483
- name: 'Graduated',
4484
- },
4485
- {
4486
- type: 'event',
4487
- anonymous: false,
4488
- inputs: [
4489
4471
  {
4490
- name: 'rate',
4472
+ name: 'income',
4491
4473
  internalType: 'uint256',
4492
4474
  type: 'uint256',
4493
4475
  indexed: false,
4494
4476
  },
4495
4477
  ],
4496
- name: 'IncomeFeeRateSet',
4497
- },
4498
- {
4499
- type: 'event',
4500
- anonymous: false,
4501
- inputs: [
4502
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
4503
- ],
4504
- name: 'MintFeeCuratedSet',
4478
+ name: 'Graduated',
4505
4479
  },
4506
4480
  {
4507
4481
  type: 'event',
4508
4482
  anonymous: false,
4509
4483
  inputs: [
4510
4484
  {
4511
- name: 'mintFee',
4485
+ name: 'rate',
4512
4486
  internalType: 'uint256',
4513
4487
  type: 'uint256',
4514
- indexed: true,
4488
+ indexed: false,
4515
4489
  },
4516
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
4517
4490
  ],
4518
- name: 'MintFeeListed',
4491
+ name: 'IncomeTaxRateSet',
4519
4492
  },
4520
4493
  {
4521
4494
  type: 'event',
@@ -4628,11 +4601,6 @@ export const padPolicyAbi = [
4628
4601
  inputs: [{ name: 'fee', internalType: 'uint256', type: 'uint256' }],
4629
4602
  name: 'FeeNotListed',
4630
4603
  },
4631
- {
4632
- type: 'error',
4633
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
4634
- name: 'MintFeeNotListed',
4635
- },
4636
4604
  { type: 'error', inputs: [], name: 'NoCreator' },
4637
4605
  {
4638
4606
  type: 'error',
@@ -4655,6 +4623,7 @@ export const padPolicyAbi = [
4655
4623
  ],
4656
4624
  name: 'PadExists',
4657
4625
  },
4626
+ { type: 'error', inputs: [], name: 'PadUncapped' },
4658
4627
  {
4659
4628
  type: 'error',
4660
4629
  inputs: [{ name: 'quote', internalType: 'address', type: 'address' }],
@@ -4722,7 +4691,7 @@ export const polPolicyAbi = [
4722
4691
  {
4723
4692
  type: 'function',
4724
4693
  inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
4725
- name: 'incomeFee',
4694
+ name: 'incomeTax',
4726
4695
  outputs: [
4727
4696
  { name: '', internalType: 'address', type: 'address' },
4728
4697
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -4732,7 +4701,7 @@ export const polPolicyAbi = [
4732
4701
  {
4733
4702
  type: 'function',
4734
4703
  inputs: [],
4735
- name: 'incomeFeeRate',
4704
+ name: 'incomeTaxRate',
4736
4705
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4737
4706
  stateMutability: 'view',
4738
4707
  },
@@ -4801,20 +4770,6 @@ export const polPolicyAbi = [
4801
4770
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4802
4771
  stateMutability: 'view',
4803
4772
  },
4804
- {
4805
- type: 'function',
4806
- inputs: [],
4807
- name: 'mintFeeCurated',
4808
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4809
- stateMutability: 'view',
4810
- },
4811
- {
4812
- type: 'function',
4813
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4814
- name: 'mintFeeListed',
4815
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4816
- stateMutability: 'view',
4817
- },
4818
4773
  {
4819
4774
  type: 'function',
4820
4775
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -4828,7 +4783,7 @@ export const polPolicyAbi = [
4828
4783
  { name: '', internalType: 'address', type: 'address' },
4829
4784
  {
4830
4785
  name: '',
4831
- internalType: 'struct PoolKey',
4786
+ internalType: 'struct CPoolKey',
4832
4787
  type: 'tuple',
4833
4788
  components: [
4834
4789
  { name: 'base', internalType: 'address', type: 'address' },
@@ -4836,15 +4791,14 @@ export const polPolicyAbi = [
4836
4791
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
4837
4792
  { name: 'policy', internalType: 'address', type: 'address' },
4838
4793
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4794
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4839
4795
  ],
4840
4796
  },
4841
- { name: '', internalType: 'uint256', type: 'uint256' },
4842
4797
  ],
4843
4798
  name: 'onCInitialize',
4844
4799
  outputs: [
4845
4800
  { name: '', internalType: 'uint8', type: 'uint8' },
4846
4801
  { name: '', internalType: 'uint256', type: 'uint256' },
4847
- { name: '', internalType: 'uint256', type: 'uint256' },
4848
4802
  ],
4849
4803
  stateMutability: 'pure',
4850
4804
  },
@@ -4859,21 +4813,16 @@ export const polPolicyAbi = [
4859
4813
  components: [
4860
4814
  { name: 'quote', internalType: 'address', type: 'address' },
4861
4815
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
4862
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
4863
4816
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4864
4817
  { name: 'policy', internalType: 'address', type: 'address' },
4865
4818
  { name: 'creator', internalType: 'address', type: 'address' },
4866
4819
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
4867
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
4820
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4868
4821
  ],
4869
4822
  },
4870
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4871
4823
  ],
4872
4824
  name: 'onInitialize',
4873
- outputs: [
4874
- { name: '', internalType: 'uint8', type: 'uint8' },
4875
- { name: '', internalType: 'uint256', type: 'uint256' },
4876
- ],
4825
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
4877
4826
  stateMutability: 'nonpayable',
4878
4827
  },
4879
4828
  {
@@ -4987,7 +4936,7 @@ export const polPolicyAbi = [
4987
4936
  {
4988
4937
  type: 'function',
4989
4938
  inputs: [{ name: 'rate', internalType: 'uint256', type: 'uint256' }],
4990
- name: 'setIncomeFeeRate',
4939
+ name: 'setIncomeTaxRate',
4991
4940
  outputs: [],
4992
4941
  stateMutability: 'nonpayable',
4993
4942
  },
@@ -4998,23 +4947,6 @@ export const polPolicyAbi = [
4998
4947
  outputs: [],
4999
4948
  stateMutability: 'nonpayable',
5000
4949
  },
5001
- {
5002
- type: 'function',
5003
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
5004
- name: 'setMintFeeCurated',
5005
- outputs: [],
5006
- stateMutability: 'nonpayable',
5007
- },
5008
- {
5009
- type: 'function',
5010
- inputs: [
5011
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5012
- { name: 'listed', internalType: 'bool', type: 'bool' },
5013
- ],
5014
- name: 'setMintFeeListed',
5015
- outputs: [],
5016
- stateMutability: 'nonpayable',
5017
- },
5018
4950
  {
5019
4951
  type: 'function',
5020
4952
  inputs: [
@@ -5130,7 +5062,7 @@ export const polPolicyAbi = [
5130
5062
  indexed: false,
5131
5063
  },
5132
5064
  ],
5133
- name: 'IncomeFeeRateSet',
5065
+ name: 'IncomeTaxRateSet',
5134
5066
  },
5135
5067
  {
5136
5068
  type: 'event',
@@ -5145,28 +5077,6 @@ export const polPolicyAbi = [
5145
5077
  ],
5146
5078
  name: 'MinQuoteRatioSet',
5147
5079
  },
5148
- {
5149
- type: 'event',
5150
- anonymous: false,
5151
- inputs: [
5152
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
5153
- ],
5154
- name: 'MintFeeCuratedSet',
5155
- },
5156
- {
5157
- type: 'event',
5158
- anonymous: false,
5159
- inputs: [
5160
- {
5161
- name: 'mintFee',
5162
- internalType: 'uint256',
5163
- type: 'uint256',
5164
- indexed: true,
5165
- },
5166
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
5167
- ],
5168
- name: 'MintFeeListed',
5169
- },
5170
5080
  {
5171
5081
  type: 'event',
5172
5082
  anonymous: false,
@@ -5215,11 +5125,6 @@ export const polPolicyAbi = [
5215
5125
  inputs: [{ name: 'fee', internalType: 'uint256', type: 'uint256' }],
5216
5126
  name: 'FeeNotListed',
5217
5127
  },
5218
- {
5219
- type: 'error',
5220
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
5221
- name: 'MintFeeNotListed',
5222
- },
5223
5128
  { type: 'error', inputs: [], name: 'NoCreator' },
5224
5129
  { type: 'error', inputs: [], name: 'NotAuthority' },
5225
5130
  { type: 'error', inputs: [], name: 'NotLogAuthority' },
@@ -5358,12 +5263,11 @@ export const policyRegistryAbi = [
5358
5263
  components: [
5359
5264
  { name: 'quote', internalType: 'address', type: 'address' },
5360
5265
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
5361
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
5362
5266
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5363
5267
  { name: 'policy', internalType: 'address', type: 'address' },
5364
5268
  { name: 'creator', internalType: 'address', type: 'address' },
5365
5269
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5366
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5270
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5367
5271
  ],
5368
5272
  },
5369
5273
  { name: 'to', internalType: 'address', type: 'address' },
@@ -5383,12 +5287,11 @@ export const policyRegistryAbi = [
5383
5287
  components: [
5384
5288
  { name: 'quote', internalType: 'address', type: 'address' },
5385
5289
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
5386
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
5387
5290
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5388
5291
  { name: 'policy', internalType: 'address', type: 'address' },
5389
5292
  { name: 'creator', internalType: 'address', type: 'address' },
5390
5293
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5391
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5294
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5392
5295
  ],
5393
5296
  },
5394
5297
  { name: 'to', internalType: 'address', type: 'address' },
@@ -5813,7 +5716,7 @@ export const privatePolicyAbi = [
5813
5716
  {
5814
5717
  type: 'function',
5815
5718
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
5816
- name: 'incomeFee',
5719
+ name: 'incomeTax',
5817
5720
  outputs: [
5818
5721
  { name: '', internalType: 'address', type: 'address' },
5819
5722
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -5915,20 +5818,6 @@ export const privatePolicyAbi = [
5915
5818
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
5916
5819
  stateMutability: 'view',
5917
5820
  },
5918
- {
5919
- type: 'function',
5920
- inputs: [],
5921
- name: 'mintFeeCurated',
5922
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5923
- stateMutability: 'view',
5924
- },
5925
- {
5926
- type: 'function',
5927
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
5928
- name: 'mintFeeListed',
5929
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5930
- stateMutability: 'view',
5931
- },
5932
5821
  {
5933
5822
  type: 'function',
5934
5823
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -5942,7 +5831,7 @@ export const privatePolicyAbi = [
5942
5831
  { name: 'initializer', internalType: 'address', type: 'address' },
5943
5832
  {
5944
5833
  name: 'key',
5945
- internalType: 'struct PoolKey',
5834
+ internalType: 'struct CPoolKey',
5946
5835
  type: 'tuple',
5947
5836
  components: [
5948
5837
  { name: 'base', internalType: 'address', type: 'address' },
@@ -5950,15 +5839,14 @@ export const privatePolicyAbi = [
5950
5839
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
5951
5840
  { name: 'policy', internalType: 'address', type: 'address' },
5952
5841
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5842
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5953
5843
  ],
5954
5844
  },
5955
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5956
5845
  ],
5957
5846
  name: 'onCInitialize',
5958
5847
  outputs: [
5959
5848
  { name: '', internalType: 'uint8', type: 'uint8' },
5960
5849
  { name: '', internalType: 'uint256', type: 'uint256' },
5961
- { name: '', internalType: 'uint256', type: 'uint256' },
5962
5850
  ],
5963
5851
  stateMutability: 'nonpayable',
5964
5852
  },
@@ -5973,21 +5861,16 @@ export const privatePolicyAbi = [
5973
5861
  components: [
5974
5862
  { name: 'quote', internalType: 'address', type: 'address' },
5975
5863
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
5976
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
5977
5864
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5978
5865
  { name: 'policy', internalType: 'address', type: 'address' },
5979
5866
  { name: 'creator', internalType: 'address', type: 'address' },
5980
5867
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5981
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5868
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5982
5869
  ],
5983
5870
  },
5984
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5985
5871
  ],
5986
5872
  name: 'onInitialize',
5987
- outputs: [
5988
- { name: '', internalType: 'uint8', type: 'uint8' },
5989
- { name: '', internalType: 'uint256', type: 'uint256' },
5990
- ],
5873
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
5991
5874
  stateMutability: 'nonpayable',
5992
5875
  },
5993
5876
  {
@@ -6122,23 +6005,6 @@ export const privatePolicyAbi = [
6122
6005
  outputs: [],
6123
6006
  stateMutability: 'nonpayable',
6124
6007
  },
6125
- {
6126
- type: 'function',
6127
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
6128
- name: 'setMintFeeCurated',
6129
- outputs: [],
6130
- stateMutability: 'nonpayable',
6131
- },
6132
- {
6133
- type: 'function',
6134
- inputs: [
6135
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6136
- { name: 'listed', internalType: 'bool', type: 'bool' },
6137
- ],
6138
- name: 'setMintFeeListed',
6139
- outputs: [],
6140
- stateMutability: 'nonpayable',
6141
- },
6142
6008
  {
6143
6009
  type: 'function',
6144
6010
  inputs: [
@@ -6336,28 +6202,6 @@ export const privatePolicyAbi = [
6336
6202
  ],
6337
6203
  name: 'Listed',
6338
6204
  },
6339
- {
6340
- type: 'event',
6341
- anonymous: false,
6342
- inputs: [
6343
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
6344
- ],
6345
- name: 'MintFeeCuratedSet',
6346
- },
6347
- {
6348
- type: 'event',
6349
- anonymous: false,
6350
- inputs: [
6351
- {
6352
- name: 'mintFee',
6353
- internalType: 'uint256',
6354
- type: 'uint256',
6355
- indexed: true,
6356
- },
6357
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
6358
- ],
6359
- name: 'MintFeeListed',
6360
- },
6361
6205
  {
6362
6206
  type: 'event',
6363
6207
  anonymous: false,
@@ -6462,11 +6306,6 @@ export const privatePolicyAbi = [
6462
6306
  name: 'FeeNotListed',
6463
6307
  },
6464
6308
  { type: 'error', inputs: [], name: 'InactivePool' },
6465
- {
6466
- type: 'error',
6467
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
6468
- name: 'MintFeeNotListed',
6469
- },
6470
6309
  { type: 'error', inputs: [], name: 'NoCreator' },
6471
6310
  { type: 'error', inputs: [], name: 'NotAuthority' },
6472
6311
  { type: 'error', inputs: [], name: 'NotLogAuthority' },
@@ -6560,7 +6399,7 @@ export const publicPolicyAbi = [
6560
6399
  {
6561
6400
  type: 'function',
6562
6401
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
6563
- name: 'incomeFee',
6402
+ name: 'incomeTax',
6564
6403
  outputs: [
6565
6404
  { name: '', internalType: 'address', type: 'address' },
6566
6405
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -6625,20 +6464,6 @@ export const publicPolicyAbi = [
6625
6464
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
6626
6465
  stateMutability: 'view',
6627
6466
  },
6628
- {
6629
- type: 'function',
6630
- inputs: [],
6631
- name: 'mintFeeCurated',
6632
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6633
- stateMutability: 'view',
6634
- },
6635
- {
6636
- type: 'function',
6637
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6638
- name: 'mintFeeListed',
6639
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6640
- stateMutability: 'view',
6641
- },
6642
6467
  {
6643
6468
  type: 'function',
6644
6469
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -6652,7 +6477,7 @@ export const publicPolicyAbi = [
6652
6477
  { name: 'creator_', internalType: 'address', type: 'address' },
6653
6478
  {
6654
6479
  name: 'key',
6655
- internalType: 'struct PoolKey',
6480
+ internalType: 'struct CPoolKey',
6656
6481
  type: 'tuple',
6657
6482
  components: [
6658
6483
  { name: 'base', internalType: 'address', type: 'address' },
@@ -6660,15 +6485,14 @@ export const publicPolicyAbi = [
6660
6485
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
6661
6486
  { name: 'policy', internalType: 'address', type: 'address' },
6662
6487
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
6488
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6663
6489
  ],
6664
6490
  },
6665
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6666
6491
  ],
6667
6492
  name: 'onCInitialize',
6668
6493
  outputs: [
6669
6494
  { name: '', internalType: 'uint8', type: 'uint8' },
6670
6495
  { name: '', internalType: 'uint256', type: 'uint256' },
6671
- { name: '', internalType: 'uint256', type: 'uint256' },
6672
6496
  ],
6673
6497
  stateMutability: 'nonpayable',
6674
6498
  },
@@ -6683,21 +6507,16 @@ export const publicPolicyAbi = [
6683
6507
  components: [
6684
6508
  { name: 'quote', internalType: 'address', type: 'address' },
6685
6509
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
6686
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
6687
6510
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
6688
6511
  { name: 'policy', internalType: 'address', type: 'address' },
6689
6512
  { name: 'creator', internalType: 'address', type: 'address' },
6690
6513
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
6691
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
6514
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6692
6515
  ],
6693
6516
  },
6694
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6695
6517
  ],
6696
6518
  name: 'onInitialize',
6697
- outputs: [
6698
- { name: '', internalType: 'uint8', type: 'uint8' },
6699
- { name: '', internalType: 'uint256', type: 'uint256' },
6700
- ],
6519
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
6701
6520
  stateMutability: 'nonpayable',
6702
6521
  },
6703
6522
  {
@@ -6825,23 +6644,6 @@ export const publicPolicyAbi = [
6825
6644
  outputs: [],
6826
6645
  stateMutability: 'nonpayable',
6827
6646
  },
6828
- {
6829
- type: 'function',
6830
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
6831
- name: 'setMintFeeCurated',
6832
- outputs: [],
6833
- stateMutability: 'nonpayable',
6834
- },
6835
- {
6836
- type: 'function',
6837
- inputs: [
6838
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6839
- { name: 'listed', internalType: 'bool', type: 'bool' },
6840
- ],
6841
- name: 'setMintFeeListed',
6842
- outputs: [],
6843
- stateMutability: 'nonpayable',
6844
- },
6845
6647
  {
6846
6648
  type: 'function',
6847
6649
  inputs: [
@@ -6995,28 +6797,6 @@ export const publicPolicyAbi = [
6995
6797
  ],
6996
6798
  name: 'FeeListed',
6997
6799
  },
6998
- {
6999
- type: 'event',
7000
- anonymous: false,
7001
- inputs: [
7002
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
7003
- ],
7004
- name: 'MintFeeCuratedSet',
7005
- },
7006
- {
7007
- type: 'event',
7008
- anonymous: false,
7009
- inputs: [
7010
- {
7011
- name: 'mintFee',
7012
- internalType: 'uint256',
7013
- type: 'uint256',
7014
- indexed: true,
7015
- },
7016
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
7017
- ],
7018
- name: 'MintFeeListed',
7019
- },
7020
6800
  {
7021
6801
  type: 'event',
7022
6802
  anonymous: false,
@@ -7119,11 +6899,6 @@ export const publicPolicyAbi = [
7119
6899
  ],
7120
6900
  name: 'MarketExists',
7121
6901
  },
7122
- {
7123
- type: 'error',
7124
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
7125
- name: 'MintFeeNotListed',
7126
- },
7127
6902
  { type: 'error', inputs: [], name: 'NoCreator' },
7128
6903
  { type: 'error', inputs: [], name: 'NotAuthority' },
7129
6904
  { type: 'error', inputs: [], name: 'NotCanonical' },