@logswap/sdk 0.5.80 → 0.5.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/generated.ts CHANGED
@@ -62,7 +62,7 @@ export const cPoolManagerAbi = [
62
62
  inputs: [
63
63
  {
64
64
  name: 'key',
65
- internalType: 'struct PoolKey',
65
+ internalType: 'struct CPoolKey',
66
66
  type: 'tuple',
67
67
  components: [
68
68
  { name: 'base', internalType: 'address', type: 'address' },
@@ -70,6 +70,7 @@ export const cPoolManagerAbi = [
70
70
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
71
71
  { name: 'policy', internalType: 'address', type: 'address' },
72
72
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
73
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
73
74
  ],
74
75
  },
75
76
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -99,7 +100,7 @@ export const cPoolManagerAbi = [
99
100
  inputs: [
100
101
  {
101
102
  name: 'key',
102
- internalType: 'struct PoolKey',
103
+ internalType: 'struct CPoolKey',
103
104
  type: 'tuple',
104
105
  components: [
105
106
  { name: 'base', internalType: 'address', type: 'address' },
@@ -107,6 +108,7 @@ export const cPoolManagerAbi = [
107
108
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
108
109
  { name: 'policy', internalType: 'address', type: 'address' },
109
110
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
111
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
110
112
  ],
111
113
  },
112
114
  { name: 'id', internalType: 'uint256', type: 'uint256' },
@@ -128,7 +130,7 @@ export const cPoolManagerAbi = [
128
130
  inputs: [
129
131
  {
130
132
  name: 'key',
131
- internalType: 'struct PoolKey',
133
+ internalType: 'struct CPoolKey',
132
134
  type: 'tuple',
133
135
  components: [
134
136
  { name: 'base', internalType: 'address', type: 'address' },
@@ -136,6 +138,7 @@ export const cPoolManagerAbi = [
136
138
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
137
139
  { name: 'policy', internalType: 'address', type: 'address' },
138
140
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
141
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
139
142
  ],
140
143
  },
141
144
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -158,7 +161,7 @@ export const cPoolManagerAbi = [
158
161
  inputs: [
159
162
  {
160
163
  name: 'key',
161
- internalType: 'struct PoolKey',
164
+ internalType: 'struct CPoolKey',
162
165
  type: 'tuple',
163
166
  components: [
164
167
  { name: 'base', internalType: 'address', type: 'address' },
@@ -166,6 +169,7 @@ export const cPoolManagerAbi = [
166
169
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
167
170
  { name: 'policy', internalType: 'address', type: 'address' },
168
171
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
172
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
169
173
  ],
170
174
  },
171
175
  ],
@@ -219,7 +223,7 @@ export const cPoolManagerAbi = [
219
223
  inputs: [
220
224
  {
221
225
  name: 'key',
222
- internalType: 'struct PoolKey',
226
+ internalType: 'struct CPoolKey',
223
227
  type: 'tuple',
224
228
  components: [
225
229
  { name: 'base', internalType: 'address', type: 'address' },
@@ -227,6 +231,7 @@ export const cPoolManagerAbi = [
227
231
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
228
232
  { name: 'policy', internalType: 'address', type: 'address' },
229
233
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
234
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
230
235
  ],
231
236
  },
232
237
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -240,7 +245,7 @@ export const cPoolManagerAbi = [
240
245
  inputs: [
241
246
  {
242
247
  name: 'key',
243
- internalType: 'struct PoolKey',
248
+ internalType: 'struct CPoolKey',
244
249
  type: 'tuple',
245
250
  components: [
246
251
  { name: 'base', internalType: 'address', type: 'address' },
@@ -248,6 +253,7 @@ export const cPoolManagerAbi = [
248
253
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
249
254
  { name: 'policy', internalType: 'address', type: 'address' },
250
255
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
256
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
251
257
  ],
252
258
  },
253
259
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -262,7 +268,7 @@ export const cPoolManagerAbi = [
262
268
  inputs: [
263
269
  {
264
270
  name: 'key',
265
- internalType: 'struct PoolKey',
271
+ internalType: 'struct CPoolKey',
266
272
  type: 'tuple',
267
273
  components: [
268
274
  { name: 'base', internalType: 'address', type: 'address' },
@@ -270,10 +276,10 @@ export const cPoolManagerAbi = [
270
276
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
271
277
  { name: 'policy', internalType: 'address', type: 'address' },
272
278
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
279
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
273
280
  ],
274
281
  },
275
282
  { name: 'x0', internalType: 'int256', type: 'int256' },
276
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
277
283
  ],
278
284
  name: 'initialize',
279
285
  outputs: [{ name: 'pid', internalType: 'bytes32', type: 'bytes32' }],
@@ -301,7 +307,7 @@ export const cPoolManagerAbi = [
301
307
  inputs: [
302
308
  {
303
309
  name: 'key',
304
- internalType: 'struct PoolKey',
310
+ internalType: 'struct CPoolKey',
305
311
  type: 'tuple',
306
312
  components: [
307
313
  { name: 'base', internalType: 'address', type: 'address' },
@@ -309,6 +315,7 @@ export const cPoolManagerAbi = [
309
315
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
310
316
  { name: 'policy', internalType: 'address', type: 'address' },
311
317
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
318
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
312
319
  ],
313
320
  },
314
321
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -364,7 +371,7 @@ export const cPoolManagerAbi = [
364
371
  inputs: [
365
372
  {
366
373
  name: 'key',
367
- internalType: 'struct PoolKey',
374
+ internalType: 'struct CPoolKey',
368
375
  type: 'tuple',
369
376
  components: [
370
377
  { name: 'base', internalType: 'address', type: 'address' },
@@ -372,6 +379,7 @@ export const cPoolManagerAbi = [
372
379
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
373
380
  { name: 'policy', internalType: 'address', type: 'address' },
374
381
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
382
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
375
383
  ],
376
384
  },
377
385
  { name: 'exactIn', internalType: 'bool', type: 'bool' },
@@ -436,7 +444,7 @@ export const cPoolManagerAbi = [
436
444
  inputs: [
437
445
  {
438
446
  name: 'key',
439
- internalType: 'struct PoolKey',
447
+ internalType: 'struct CPoolKey',
440
448
  type: 'tuple',
441
449
  components: [
442
450
  { name: 'base', internalType: 'address', type: 'address' },
@@ -444,6 +452,7 @@ export const cPoolManagerAbi = [
444
452
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
445
453
  { name: 'policy', internalType: 'address', type: 'address' },
446
454
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
455
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
447
456
  ],
448
457
  },
449
458
  {
@@ -539,7 +548,7 @@ export const cPoolManagerAbi = [
539
548
  inputs: [
540
549
  {
541
550
  name: 'key',
542
- internalType: 'struct PoolKey',
551
+ internalType: 'struct CPoolKey',
543
552
  type: 'tuple',
544
553
  components: [
545
554
  { name: 'base', internalType: 'address', type: 'address' },
@@ -547,6 +556,7 @@ export const cPoolManagerAbi = [
547
556
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
548
557
  { name: 'policy', internalType: 'address', type: 'address' },
549
558
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
559
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
550
560
  ],
551
561
  },
552
562
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -1135,7 +1145,7 @@ export const fPoolManagerAbi = [
1135
1145
  {
1136
1146
  type: 'function',
1137
1147
  inputs: [],
1138
- name: 'INCOME_FEE_MAX',
1148
+ name: 'INCOME_TAX_MAX',
1139
1149
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1140
1150
  stateMutability: 'view',
1141
1151
  },
@@ -1232,6 +1242,16 @@ export const fPoolManagerAbi = [
1232
1242
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1233
1243
  stateMutability: 'view',
1234
1244
  },
1245
+ {
1246
+ type: 'function',
1247
+ inputs: [
1248
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1249
+ { name: 'to', internalType: 'address', type: 'address' },
1250
+ ],
1251
+ name: 'close',
1252
+ outputs: [],
1253
+ stateMutability: 'nonpayable',
1254
+ },
1235
1255
  {
1236
1256
  type: 'function',
1237
1257
  inputs: [{ name: 'id', internalType: 'uint256', type: 'uint256' }],
@@ -1249,6 +1269,28 @@ export const fPoolManagerAbi = [
1249
1269
  outputs: [{ name: '', internalType: 'int256', type: 'int256' }],
1250
1270
  stateMutability: 'view',
1251
1271
  },
1272
+ {
1273
+ type: 'function',
1274
+ inputs: [
1275
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1276
+ {
1277
+ name: 'baseAssets',
1278
+ internalType: 'struct BaseAsset[]',
1279
+ type: 'tuple[]',
1280
+ components: [
1281
+ { name: 'base', internalType: 'address', type: 'address' },
1282
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1283
+ { name: 'priceX36', internalType: 'uint256', type: 'uint256' },
1284
+ ],
1285
+ },
1286
+ { name: 'quoteAmount', internalType: 'uint256', type: 'uint256' },
1287
+ { name: 'lnCapOverSeed', internalType: 'uint24', type: 'uint24' },
1288
+ { name: 'to', internalType: 'address', type: 'address' },
1289
+ ],
1290
+ name: 'deployLiquidity',
1291
+ outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1292
+ stateMutability: 'nonpayable',
1293
+ },
1252
1294
  {
1253
1295
  type: 'function',
1254
1296
  inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
@@ -1280,6 +1322,16 @@ export const fPoolManagerAbi = [
1280
1322
  outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
1281
1323
  stateMutability: 'view',
1282
1324
  },
1325
+ {
1326
+ type: 'function',
1327
+ inputs: [
1328
+ { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1329
+ { name: 'to', internalType: 'address', type: 'address' },
1330
+ ],
1331
+ name: 'harvest',
1332
+ outputs: [],
1333
+ stateMutability: 'nonpayable',
1334
+ },
1283
1335
  {
1284
1336
  type: 'function',
1285
1337
  inputs: [
@@ -1291,6 +1343,13 @@ export const fPoolManagerAbi = [
1291
1343
  outputs: [],
1292
1344
  stateMutability: 'nonpayable',
1293
1345
  },
1346
+ {
1347
+ type: 'function',
1348
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1349
+ name: 'incomeHeld',
1350
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1351
+ stateMutability: 'view',
1352
+ },
1294
1353
  {
1295
1354
  type: 'function',
1296
1355
  inputs: [
@@ -1301,15 +1360,13 @@ export const fPoolManagerAbi = [
1301
1360
  components: [
1302
1361
  { name: 'quote', internalType: 'address', type: 'address' },
1303
1362
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
1304
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1305
1363
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
1306
1364
  { name: 'policy', internalType: 'address', type: 'address' },
1307
1365
  { name: 'creator', internalType: 'address', type: 'address' },
1308
1366
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1309
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
1367
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
1310
1368
  ],
1311
1369
  },
1312
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
1313
1370
  ],
1314
1371
  name: 'initialize',
1315
1372
  outputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
@@ -1406,13 +1463,6 @@ export const fPoolManagerAbi = [
1406
1463
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
1407
1464
  stateMutability: 'view',
1408
1465
  },
1409
- {
1410
- type: 'function',
1411
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1412
- name: 'pot',
1413
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1414
- stateMutability: 'view',
1415
- },
1416
1466
  {
1417
1467
  type: 'function',
1418
1468
  inputs: [{ name: 'next', internalType: 'address', type: 'address' }],
@@ -1449,36 +1499,6 @@ export const fPoolManagerAbi = [
1449
1499
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
1450
1500
  stateMutability: 'view',
1451
1501
  },
1452
- {
1453
- type: 'function',
1454
- inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
1455
- name: 'retire',
1456
- outputs: [],
1457
- stateMutability: 'nonpayable',
1458
- },
1459
- {
1460
- type: 'function',
1461
- inputs: [
1462
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1463
- { name: 'L0', internalType: 'uint256', type: 'uint256' },
1464
- { name: 'r0', internalType: 'uint256[]', type: 'uint256[]' },
1465
- { name: 'Q0', internalType: 'uint256', type: 'uint256' },
1466
- ],
1467
- name: 'seed',
1468
- outputs: [{ name: 'shares', internalType: 'uint256', type: 'uint256' }],
1469
- stateMutability: 'nonpayable',
1470
- },
1471
- {
1472
- type: 'function',
1473
- inputs: [
1474
- { name: 'poolId', internalType: 'bytes32', type: 'bytes32' },
1475
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
1476
- { name: 'newBases', internalType: 'address[]', type: 'address[]' },
1477
- ],
1478
- name: 'setLegs',
1479
- outputs: [],
1480
- stateMutability: 'nonpayable',
1481
- },
1482
1502
  {
1483
1503
  type: 'function',
1484
1504
  inputs: [
@@ -1808,28 +1828,6 @@ export const fPoolManagerAbi = [
1808
1828
  ],
1809
1829
  name: 'GenerationRetired',
1810
1830
  },
1811
- {
1812
- type: 'event',
1813
- anonymous: false,
1814
- inputs: [
1815
- {
1816
- name: 'poolId',
1817
- internalType: 'bytes32',
1818
- type: 'bytes32',
1819
- indexed: true,
1820
- },
1821
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1822
- { name: 'L0', internalType: 'uint256', type: 'uint256', indexed: false },
1823
- { name: 'Q0', internalType: 'uint256', type: 'uint256', indexed: false },
1824
- {
1825
- name: 'r0',
1826
- internalType: 'uint256[]',
1827
- type: 'uint256[]',
1828
- indexed: false,
1829
- },
1830
- ],
1831
- name: 'GenerationSeeded',
1832
- },
1833
1831
  {
1834
1832
  type: 'event',
1835
1833
  anonymous: false,
@@ -1848,7 +1846,7 @@ export const fPoolManagerAbi = [
1848
1846
  type: 'uint256',
1849
1847
  indexed: false,
1850
1848
  },
1851
- { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
1849
+ { name: 'tax', internalType: 'uint256', type: 'uint256', indexed: false },
1852
1850
  {
1853
1851
  name: 'toOperator',
1854
1852
  internalType: 'uint256',
@@ -1869,21 +1867,32 @@ export const fPoolManagerAbi = [
1869
1867
  type: 'bytes32',
1870
1868
  indexed: true,
1871
1869
  },
1872
- { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1873
1870
  {
1874
- name: 'bases',
1875
- internalType: 'address[]',
1876
- type: 'address[]',
1871
+ name: 'income',
1872
+ internalType: 'uint256',
1873
+ type: 'uint256',
1874
+ indexed: false,
1875
+ },
1876
+ {
1877
+ name: 'payee',
1878
+ internalType: 'address',
1879
+ type: 'address',
1877
1880
  indexed: false,
1878
1881
  },
1879
1882
  {
1880
- name: 'weights',
1881
- internalType: 'uint256[]',
1882
- type: 'uint256[]',
1883
+ name: 'toPayee',
1884
+ internalType: 'uint256',
1885
+ type: 'uint256',
1886
+ indexed: false,
1887
+ },
1888
+ {
1889
+ name: 'deepened',
1890
+ internalType: 'uint256',
1891
+ type: 'uint256',
1883
1892
  indexed: false,
1884
1893
  },
1885
1894
  ],
1886
- name: 'LegsSet',
1895
+ name: 'IncomeReleased',
1887
1896
  },
1888
1897
  {
1889
1898
  type: 'event',
@@ -1950,6 +1959,43 @@ export const fPoolManagerAbi = [
1950
1959
  ],
1951
1960
  name: 'LienUnlocked',
1952
1961
  },
1962
+ {
1963
+ type: 'event',
1964
+ anonymous: false,
1965
+ inputs: [
1966
+ {
1967
+ name: 'poolId',
1968
+ internalType: 'bytes32',
1969
+ type: 'bytes32',
1970
+ indexed: true,
1971
+ },
1972
+ { name: 'gen', internalType: 'uint256', type: 'uint256', indexed: true },
1973
+ {
1974
+ name: 'quoteAmount',
1975
+ internalType: 'uint256',
1976
+ type: 'uint256',
1977
+ indexed: false,
1978
+ },
1979
+ {
1980
+ name: 'baseAssets',
1981
+ internalType: 'struct BaseAsset[]',
1982
+ type: 'tuple[]',
1983
+ components: [
1984
+ { name: 'base', internalType: 'address', type: 'address' },
1985
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
1986
+ { name: 'priceX36', internalType: 'uint256', type: 'uint256' },
1987
+ ],
1988
+ indexed: false,
1989
+ },
1990
+ {
1991
+ name: 'lnCapOverSeed',
1992
+ internalType: 'uint24',
1993
+ type: 'uint24',
1994
+ indexed: false,
1995
+ },
1996
+ ],
1997
+ name: 'LiquidityDeployed',
1998
+ },
1953
1999
  {
1954
2000
  type: 'event',
1955
2001
  anonymous: false,
@@ -2034,12 +2080,6 @@ export const fPoolManagerAbi = [
2034
2080
  type: 'address[]',
2035
2081
  indexed: false,
2036
2082
  },
2037
- {
2038
- name: 'weights',
2039
- internalType: 'uint256[]',
2040
- type: 'uint256[]',
2041
- indexed: false,
2042
- },
2043
2083
  {
2044
2084
  name: 'swapFee',
2045
2085
  internalType: 'uint256',
@@ -2052,12 +2092,6 @@ export const fPoolManagerAbi = [
2052
2092
  type: 'address',
2053
2093
  indexed: false,
2054
2094
  },
2055
- {
2056
- name: 'lnCapOverFloor',
2057
- internalType: 'uint24',
2058
- type: 'uint24',
2059
- indexed: false,
2060
- },
2061
2095
  {
2062
2096
  name: 'mintFee',
2063
2097
  internalType: 'uint256',
@@ -2067,39 +2101,6 @@ export const fPoolManagerAbi = [
2067
2101
  ],
2068
2102
  name: 'PoolCreated',
2069
2103
  },
2070
- {
2071
- type: 'event',
2072
- anonymous: false,
2073
- inputs: [
2074
- {
2075
- name: 'poolId',
2076
- internalType: 'bytes32',
2077
- type: 'bytes32',
2078
- indexed: true,
2079
- },
2080
- { name: 'pot', internalType: 'uint256', type: 'uint256', indexed: false },
2081
- {
2082
- name: 'payee',
2083
- internalType: 'address',
2084
- type: 'address',
2085
- indexed: false,
2086
- },
2087
- {
2088
- name: 'toPayee',
2089
- internalType: 'uint256',
2090
- type: 'uint256',
2091
- indexed: false,
2092
- },
2093
- { name: 'cut', internalType: 'uint256', type: 'uint256', indexed: false },
2094
- {
2095
- name: 'deepened',
2096
- internalType: 'uint256',
2097
- type: 'uint256',
2098
- indexed: false,
2099
- },
2100
- ],
2101
- name: 'PotReleased',
2102
- },
2103
2104
  {
2104
2105
  type: 'event',
2105
2106
  anonymous: false,
@@ -2351,7 +2352,6 @@ export const fPoolManagerAbi = [
2351
2352
  { type: 'error', inputs: [], name: 'BadLeg' },
2352
2353
  { type: 'error', inputs: [], name: 'BadParam' },
2353
2354
  { type: 'error', inputs: [], name: 'BadTerms' },
2354
- { type: 'error', inputs: [], name: 'BadWeights' },
2355
2355
  { type: 'error', inputs: [], name: 'BalanceOverflow' },
2356
2356
  { type: 'error', inputs: [], name: 'BidNotEmpty' },
2357
2357
  { type: 'error', inputs: [], name: 'CapReached' },
@@ -2360,7 +2360,6 @@ export const fPoolManagerAbi = [
2360
2360
  { type: 'error', inputs: [], name: 'InsufficientPermission' },
2361
2361
  { type: 'error', inputs: [], name: 'InsufficientQuote' },
2362
2362
  { type: 'error', inputs: [], name: 'InvalidToken' },
2363
- { type: 'error', inputs: [], name: 'LegHeld' },
2364
2363
  { type: 'error', inputs: [], name: 'Locked' },
2365
2364
  {
2366
2365
  type: 'error',
@@ -2374,6 +2373,7 @@ export const fPoolManagerAbi = [
2374
2373
  { type: 'error', inputs: [], name: 'NotRetired' },
2375
2374
  { type: 'error', inputs: [], name: 'NotSeeded' },
2376
2375
  { type: 'error', inputs: [], name: 'NotTreasury' },
2376
+ { type: 'error', inputs: [], name: 'PadForwardOnly' },
2377
2377
  { type: 'error', inputs: [], name: 'PadNeverRetires' },
2378
2378
  { type: 'error', inputs: [], name: 'PolicyNotApproved' },
2379
2379
  { type: 'error', inputs: [], name: 'PoolAlreadyInitialized' },
@@ -2392,7 +2392,6 @@ export const fPoolManagerAbi = [
2392
2392
  { type: 'error', inputs: [], name: 'SyncAlreadyOpen' },
2393
2393
  { type: 'error', inputs: [], name: 'TokensNotSettled' },
2394
2394
  { type: 'error', inputs: [], name: 'TooManyGenerations' },
2395
- { type: 'error', inputs: [], name: 'TooManyLegs' },
2396
2395
  { type: 'error', inputs: [], name: 'TransferShortfall' },
2397
2396
  { type: 'error', inputs: [], name: 'ZeroAmount' },
2398
2397
  ] as const
@@ -2453,7 +2452,7 @@ export const logswapLensAbi = [
2453
2452
  inputs: [
2454
2453
  {
2455
2454
  name: 'key',
2456
- internalType: 'struct PoolKey',
2455
+ internalType: 'struct CPoolKey',
2457
2456
  type: 'tuple',
2458
2457
  components: [
2459
2458
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2461,6 +2460,7 @@ export const logswapLensAbi = [
2461
2460
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2462
2461
  { name: 'policy', internalType: 'address', type: 'address' },
2463
2462
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2463
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2464
2464
  ],
2465
2465
  },
2466
2466
  ],
@@ -2473,7 +2473,7 @@ export const logswapLensAbi = [
2473
2473
  inputs: [
2474
2474
  {
2475
2475
  name: 'key',
2476
- internalType: 'struct PoolKey',
2476
+ internalType: 'struct CPoolKey',
2477
2477
  type: 'tuple',
2478
2478
  components: [
2479
2479
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2481,6 +2481,7 @@ export const logswapLensAbi = [
2481
2481
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2482
2482
  { name: 'policy', internalType: 'address', type: 'address' },
2483
2483
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2484
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2484
2485
  ],
2485
2486
  },
2486
2487
  ],
@@ -2600,11 +2601,7 @@ export const logswapLensAbi = [
2600
2601
  type: 'uint32',
2601
2602
  },
2602
2603
  { name: 'asks', internalType: 'uint8', type: 'uint8' },
2603
- {
2604
- name: 'lnCapOverFloor',
2605
- internalType: 'uint24',
2606
- type: 'uint24',
2607
- },
2604
+ { name: 'lnCapOverSeed', internalType: 'uint24', type: 'uint24' },
2608
2605
  { name: 'Q', internalType: 'uint128', type: 'uint128' },
2609
2606
  {
2610
2607
  name: 'realizedVariance',
@@ -2622,7 +2619,7 @@ export const logswapLensAbi = [
2622
2619
  { name: 'compositeX', internalType: 'int256', type: 'int256' },
2623
2620
  { name: 'unharvested', internalType: 'uint256', type: 'uint256' },
2624
2621
  {
2625
- name: 'legs',
2622
+ name: 'baseLegs',
2626
2623
  internalType: 'struct LogswapLens.FLeg[]',
2627
2624
  type: 'tuple[]',
2628
2625
  components: [
@@ -2648,7 +2645,7 @@ export const logswapLensAbi = [
2648
2645
  inputs: [
2649
2646
  {
2650
2647
  name: 'key',
2651
- internalType: 'struct PoolKey',
2648
+ internalType: 'struct CPoolKey',
2652
2649
  type: 'tuple',
2653
2650
  components: [
2654
2651
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2656,6 +2653,7 @@ export const logswapLensAbi = [
2656
2653
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2657
2654
  { name: 'policy', internalType: 'address', type: 'address' },
2658
2655
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2656
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2659
2657
  ],
2660
2658
  },
2661
2659
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -2702,7 +2700,7 @@ export const logswapLensAbi = [
2702
2700
  { name: 'n', internalType: 'uint8', type: 'uint8' },
2703
2701
  { name: 'restructureTime', internalType: 'uint32', type: 'uint32' },
2704
2702
  { name: 'asks', internalType: 'uint8', type: 'uint8' },
2705
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
2703
+ { name: 'lnCapOverSeed', internalType: 'uint24', type: 'uint24' },
2706
2704
  { name: 'Q', internalType: 'uint128', type: 'uint128' },
2707
2705
  {
2708
2706
  name: 'realizedVariance',
@@ -2745,7 +2743,6 @@ export const logswapLensAbi = [
2745
2743
  { name: 'protocolOwed', internalType: 'uint256', type: 'uint256' },
2746
2744
  { name: 'minBackstopL', internalType: 'uint256', type: 'uint256' },
2747
2745
  { name: 'backstopFloor', internalType: 'int256', type: 'int256' },
2748
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2749
2746
  { name: 'policy', internalType: 'address', type: 'address' },
2750
2747
  { name: 'executor', internalType: 'address', type: 'address' },
2751
2748
  { name: 'restructureTime', internalType: 'uint32', type: 'uint32' },
@@ -2761,7 +2758,7 @@ export const logswapLensAbi = [
2761
2758
  inputs: [
2762
2759
  {
2763
2760
  name: 'key',
2764
- internalType: 'struct PoolKey',
2761
+ internalType: 'struct CPoolKey',
2765
2762
  type: 'tuple',
2766
2763
  components: [
2767
2764
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2769,6 +2766,7 @@ export const logswapLensAbi = [
2769
2766
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2770
2767
  { name: 'policy', internalType: 'address', type: 'address' },
2771
2768
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2769
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2772
2770
  ],
2773
2771
  },
2774
2772
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -2798,7 +2796,7 @@ export const logswapLensAbi = [
2798
2796
  inputs: [
2799
2797
  {
2800
2798
  name: 'key',
2801
- internalType: 'struct PoolKey',
2799
+ internalType: 'struct CPoolKey',
2802
2800
  type: 'tuple',
2803
2801
  components: [
2804
2802
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2806,6 +2804,7 @@ export const logswapLensAbi = [
2806
2804
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2807
2805
  { name: 'policy', internalType: 'address', type: 'address' },
2808
2806
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2807
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2809
2808
  ],
2810
2809
  },
2811
2810
  { name: 'floor', internalType: 'int256', type: 'int256' },
@@ -2819,7 +2818,7 @@ export const logswapLensAbi = [
2819
2818
  inputs: [
2820
2819
  {
2821
2820
  name: 'key',
2822
- internalType: 'struct PoolKey',
2821
+ internalType: 'struct CPoolKey',
2823
2822
  type: 'tuple',
2824
2823
  components: [
2825
2824
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2827,6 +2826,7 @@ export const logswapLensAbi = [
2827
2826
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2828
2827
  { name: 'policy', internalType: 'address', type: 'address' },
2829
2828
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2829
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2830
2830
  ],
2831
2831
  },
2832
2832
  ],
@@ -2839,7 +2839,7 @@ export const logswapLensAbi = [
2839
2839
  inputs: [
2840
2840
  {
2841
2841
  name: 'key',
2842
- internalType: 'struct PoolKey',
2842
+ internalType: 'struct CPoolKey',
2843
2843
  type: 'tuple',
2844
2844
  components: [
2845
2845
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2847,6 +2847,7 @@ export const logswapLensAbi = [
2847
2847
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2848
2848
  { name: 'policy', internalType: 'address', type: 'address' },
2849
2849
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2850
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2850
2851
  ],
2851
2852
  },
2852
2853
  ],
@@ -2859,7 +2860,7 @@ export const logswapLensAbi = [
2859
2860
  inputs: [
2860
2861
  {
2861
2862
  name: 'key',
2862
- internalType: 'struct PoolKey',
2863
+ internalType: 'struct CPoolKey',
2863
2864
  type: 'tuple',
2864
2865
  components: [
2865
2866
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2867,6 +2868,7 @@ export const logswapLensAbi = [
2867
2868
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2868
2869
  { name: 'policy', internalType: 'address', type: 'address' },
2869
2870
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2871
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2870
2872
  ],
2871
2873
  },
2872
2874
  { name: 'id', internalType: 'uint256', type: 'uint256' },
@@ -2886,7 +2888,7 @@ export const logswapLensAbi = [
2886
2888
  inputs: [
2887
2889
  {
2888
2890
  name: 'key',
2889
- internalType: 'struct PoolKey',
2891
+ internalType: 'struct CPoolKey',
2890
2892
  type: 'tuple',
2891
2893
  components: [
2892
2894
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2894,6 +2896,7 @@ export const logswapLensAbi = [
2894
2896
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2895
2897
  { name: 'policy', internalType: 'address', type: 'address' },
2896
2898
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2899
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2897
2900
  ],
2898
2901
  },
2899
2902
  ],
@@ -2915,7 +2918,7 @@ export const logswapLensAbi = [
2915
2918
  inputs: [
2916
2919
  {
2917
2920
  name: 'key',
2918
- internalType: 'struct PoolKey',
2921
+ internalType: 'struct CPoolKey',
2919
2922
  type: 'tuple',
2920
2923
  components: [
2921
2924
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2923,6 +2926,7 @@ export const logswapLensAbi = [
2923
2926
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2924
2927
  { name: 'policy', internalType: 'address', type: 'address' },
2925
2928
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2929
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2926
2930
  ],
2927
2931
  },
2928
2932
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -2954,7 +2958,7 @@ export const logswapLensAbi = [
2954
2958
  inputs: [
2955
2959
  {
2956
2960
  name: 'key',
2957
- internalType: 'struct PoolKey',
2961
+ internalType: 'struct CPoolKey',
2958
2962
  type: 'tuple',
2959
2963
  components: [
2960
2964
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2962,6 +2966,7 @@ export const logswapLensAbi = [
2962
2966
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2963
2967
  { name: 'policy', internalType: 'address', type: 'address' },
2964
2968
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2969
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2965
2970
  ],
2966
2971
  },
2967
2972
  ],
@@ -2974,7 +2979,7 @@ export const logswapLensAbi = [
2974
2979
  inputs: [
2975
2980
  {
2976
2981
  name: 'key',
2977
- internalType: 'struct PoolKey',
2982
+ internalType: 'struct CPoolKey',
2978
2983
  type: 'tuple',
2979
2984
  components: [
2980
2985
  { name: 'base', internalType: 'address', type: 'address' },
@@ -2982,6 +2987,7 @@ export const logswapLensAbi = [
2982
2987
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
2983
2988
  { name: 'policy', internalType: 'address', type: 'address' },
2984
2989
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
2990
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
2985
2991
  ],
2986
2992
  },
2987
2993
  { name: 'owner', internalType: 'address', type: 'address' },
@@ -3008,7 +3014,7 @@ export const logswapLensAbi = [
3008
3014
  inputs: [
3009
3015
  {
3010
3016
  name: 'key',
3011
- internalType: 'struct PoolKey',
3017
+ internalType: 'struct CPoolKey',
3012
3018
  type: 'tuple',
3013
3019
  components: [
3014
3020
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3016,6 +3022,7 @@ export const logswapLensAbi = [
3016
3022
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3017
3023
  { name: 'policy', internalType: 'address', type: 'address' },
3018
3024
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3025
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3019
3026
  ],
3020
3027
  },
3021
3028
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
@@ -3051,7 +3058,7 @@ export const logswapLensAbi = [
3051
3058
  inputs: [
3052
3059
  {
3053
3060
  name: 'key',
3054
- internalType: 'struct PoolKey',
3061
+ internalType: 'struct CPoolKey',
3055
3062
  type: 'tuple',
3056
3063
  components: [
3057
3064
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3059,6 +3066,7 @@ export const logswapLensAbi = [
3059
3066
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3060
3067
  { name: 'policy', internalType: 'address', type: 'address' },
3061
3068
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3069
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3062
3070
  ],
3063
3071
  },
3064
3072
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3073,7 +3081,7 @@ export const logswapLensAbi = [
3073
3081
  inputs: [
3074
3082
  {
3075
3083
  name: 'key',
3076
- internalType: 'struct PoolKey',
3084
+ internalType: 'struct CPoolKey',
3077
3085
  type: 'tuple',
3078
3086
  components: [
3079
3087
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3081,6 +3089,7 @@ export const logswapLensAbi = [
3081
3089
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3082
3090
  { name: 'policy', internalType: 'address', type: 'address' },
3083
3091
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3092
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3084
3093
  ],
3085
3094
  },
3086
3095
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3095,7 +3104,7 @@ export const logswapLensAbi = [
3095
3104
  inputs: [
3096
3105
  {
3097
3106
  name: 'key',
3098
- internalType: 'struct PoolKey',
3107
+ internalType: 'struct CPoolKey',
3099
3108
  type: 'tuple',
3100
3109
  components: [
3101
3110
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3103,6 +3112,7 @@ export const logswapLensAbi = [
3103
3112
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3104
3113
  { name: 'policy', internalType: 'address', type: 'address' },
3105
3114
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3115
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3106
3116
  ],
3107
3117
  },
3108
3118
  { name: 'baseOut', internalType: 'bool', type: 'bool' },
@@ -3117,7 +3127,7 @@ export const logswapLensAbi = [
3117
3127
  inputs: [
3118
3128
  {
3119
3129
  name: 'key',
3120
- internalType: 'struct PoolKey',
3130
+ internalType: 'struct CPoolKey',
3121
3131
  type: 'tuple',
3122
3132
  components: [
3123
3133
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3125,6 +3135,7 @@ export const logswapLensAbi = [
3125
3135
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3126
3136
  { name: 'policy', internalType: 'address', type: 'address' },
3127
3137
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3138
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3128
3139
  ],
3129
3140
  },
3130
3141
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3175,7 +3186,7 @@ export const logswapLensAbi = [
3175
3186
  inputs: [
3176
3187
  {
3177
3188
  name: 'key',
3178
- internalType: 'struct PoolKey',
3189
+ internalType: 'struct CPoolKey',
3179
3190
  type: 'tuple',
3180
3191
  components: [
3181
3192
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3183,6 +3194,7 @@ export const logswapLensAbi = [
3183
3194
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3184
3195
  { name: 'policy', internalType: 'address', type: 'address' },
3185
3196
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3197
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3186
3198
  ],
3187
3199
  },
3188
3200
  ],
@@ -3267,7 +3279,7 @@ export const logswapRouterAbi = [
3267
3279
  inputs: [
3268
3280
  {
3269
3281
  name: 'key',
3270
- internalType: 'struct PoolKey',
3282
+ internalType: 'struct CPoolKey',
3271
3283
  type: 'tuple',
3272
3284
  components: [
3273
3285
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3275,6 +3287,7 @@ export const logswapRouterAbi = [
3275
3287
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3276
3288
  { name: 'policy', internalType: 'address', type: 'address' },
3277
3289
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3290
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3278
3291
  ],
3279
3292
  },
3280
3293
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3296,7 +3309,7 @@ export const logswapRouterAbi = [
3296
3309
  inputs: [
3297
3310
  {
3298
3311
  name: 'key',
3299
- internalType: 'struct PoolKey',
3312
+ internalType: 'struct CPoolKey',
3300
3313
  type: 'tuple',
3301
3314
  components: [
3302
3315
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3304,6 +3317,7 @@ export const logswapRouterAbi = [
3304
3317
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3305
3318
  { name: 'policy', internalType: 'address', type: 'address' },
3306
3319
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3320
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3307
3321
  ],
3308
3322
  },
3309
3323
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3319,7 +3333,7 @@ export const logswapRouterAbi = [
3319
3333
  inputs: [
3320
3334
  {
3321
3335
  name: 'key',
3322
- internalType: 'struct PoolKey',
3336
+ internalType: 'struct CPoolKey',
3323
3337
  type: 'tuple',
3324
3338
  components: [
3325
3339
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3327,10 +3341,10 @@ export const logswapRouterAbi = [
3327
3341
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3328
3342
  { name: 'policy', internalType: 'address', type: 'address' },
3329
3343
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3344
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3330
3345
  ],
3331
3346
  },
3332
3347
  { name: 'x0', internalType: 'int256', type: 'int256' },
3333
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3334
3348
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
3335
3349
  { name: 'L', internalType: 'uint256', type: 'uint256' },
3336
3350
  { name: 'maxBaseIn', internalType: 'uint256', type: 'uint256' },
@@ -3356,7 +3370,7 @@ export const logswapRouterAbi = [
3356
3370
  components: [
3357
3371
  {
3358
3372
  name: 'key',
3359
- internalType: 'struct PoolKey',
3373
+ internalType: 'struct CPoolKey',
3360
3374
  type: 'tuple',
3361
3375
  components: [
3362
3376
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3364,6 +3378,7 @@ export const logswapRouterAbi = [
3364
3378
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3365
3379
  { name: 'policy', internalType: 'address', type: 'address' },
3366
3380
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3381
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3367
3382
  ],
3368
3383
  },
3369
3384
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3385,7 +3400,7 @@ export const logswapRouterAbi = [
3385
3400
  components: [
3386
3401
  {
3387
3402
  name: 'key',
3388
- internalType: 'struct PoolKey',
3403
+ internalType: 'struct CPoolKey',
3389
3404
  type: 'tuple',
3390
3405
  components: [
3391
3406
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3393,6 +3408,7 @@ export const logswapRouterAbi = [
3393
3408
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3394
3409
  { name: 'policy', internalType: 'address', type: 'address' },
3395
3410
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3411
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3396
3412
  ],
3397
3413
  },
3398
3414
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
@@ -3413,7 +3429,7 @@ export const logswapRouterAbi = [
3413
3429
  components: [
3414
3430
  {
3415
3431
  name: 'key',
3416
- internalType: 'struct PoolKey',
3432
+ internalType: 'struct CPoolKey',
3417
3433
  type: 'tuple',
3418
3434
  components: [
3419
3435
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3421,6 +3437,7 @@ export const logswapRouterAbi = [
3421
3437
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3422
3438
  { name: 'policy', internalType: 'address', type: 'address' },
3423
3439
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3440
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3424
3441
  ],
3425
3442
  },
3426
3443
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
@@ -3448,7 +3465,7 @@ export const logswapRouterAbi = [
3448
3465
  components: [
3449
3466
  {
3450
3467
  name: 'key',
3451
- internalType: 'struct PoolKey',
3468
+ internalType: 'struct CPoolKey',
3452
3469
  type: 'tuple',
3453
3470
  components: [
3454
3471
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3460,6 +3477,7 @@ export const logswapRouterAbi = [
3460
3477
  },
3461
3478
  { name: 'policy', internalType: 'address', type: 'address' },
3462
3479
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3480
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3463
3481
  ],
3464
3482
  },
3465
3483
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3484,7 +3502,7 @@ export const logswapRouterAbi = [
3484
3502
  components: [
3485
3503
  {
3486
3504
  name: 'key',
3487
- internalType: 'struct PoolKey',
3505
+ internalType: 'struct CPoolKey',
3488
3506
  type: 'tuple',
3489
3507
  components: [
3490
3508
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3492,6 +3510,7 @@ export const logswapRouterAbi = [
3492
3510
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3493
3511
  { name: 'policy', internalType: 'address', type: 'address' },
3494
3512
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3513
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3495
3514
  ],
3496
3515
  },
3497
3516
  { name: 'baseSide', internalType: 'bool', type: 'bool' },
@@ -3514,7 +3533,7 @@ export const logswapRouterAbi = [
3514
3533
  components: [
3515
3534
  {
3516
3535
  name: 'key',
3517
- internalType: 'struct PoolKey',
3536
+ internalType: 'struct CPoolKey',
3518
3537
  type: 'tuple',
3519
3538
  components: [
3520
3539
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3522,6 +3541,7 @@ export const logswapRouterAbi = [
3522
3541
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3523
3542
  { name: 'policy', internalType: 'address', type: 'address' },
3524
3543
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3544
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3525
3545
  ],
3526
3546
  },
3527
3547
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3600,7 +3620,7 @@ export const logswapRouterAbi = [
3600
3620
  inputs: [
3601
3621
  {
3602
3622
  name: 'key',
3603
- internalType: 'struct PoolKey',
3623
+ internalType: 'struct CPoolKey',
3604
3624
  type: 'tuple',
3605
3625
  components: [
3606
3626
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3608,6 +3628,7 @@ export const logswapRouterAbi = [
3608
3628
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3609
3629
  { name: 'policy', internalType: 'address', type: 'address' },
3610
3630
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3631
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3611
3632
  ],
3612
3633
  },
3613
3634
  { name: 'targetFloor', internalType: 'int256', type: 'int256' },
@@ -3630,7 +3651,7 @@ export const logswapRouterAbi = [
3630
3651
  inputs: [
3631
3652
  {
3632
3653
  name: 'key',
3633
- internalType: 'struct PoolKey',
3654
+ internalType: 'struct CPoolKey',
3634
3655
  type: 'tuple',
3635
3656
  components: [
3636
3657
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3638,6 +3659,7 @@ export const logswapRouterAbi = [
3638
3659
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3639
3660
  { name: 'policy', internalType: 'address', type: 'address' },
3640
3661
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3662
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3641
3663
  ],
3642
3664
  },
3643
3665
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3701,12 +3723,28 @@ export const logswapRouterAbi = [
3701
3723
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3702
3724
  stateMutability: 'nonpayable',
3703
3725
  },
3726
+ {
3727
+ type: 'function',
3728
+ inputs: [
3729
+ { name: '', internalType: 'bytes32', type: 'bytes32' },
3730
+ { name: '', internalType: 'enum FPoolManager.QuoteKind', type: 'uint8' },
3731
+ { name: '', internalType: 'uint256', type: 'uint256' },
3732
+ { name: '', internalType: 'uint256', type: 'uint256' },
3733
+ { name: '', internalType: 'uint256', type: 'uint256' },
3734
+ { name: '', internalType: 'uint256', type: 'uint256' },
3735
+ { name: '', internalType: 'address', type: 'address' },
3736
+ { name: '', internalType: 'uint256', type: 'uint256' },
3737
+ ],
3738
+ name: 'swapExactIn',
3739
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3740
+ stateMutability: 'nonpayable',
3741
+ },
3704
3742
  {
3705
3743
  type: 'function',
3706
3744
  inputs: [
3707
3745
  {
3708
3746
  name: 'key',
3709
- internalType: 'struct PoolKey',
3747
+ internalType: 'struct CPoolKey',
3710
3748
  type: 'tuple',
3711
3749
  components: [
3712
3750
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3714,6 +3752,7 @@ export const logswapRouterAbi = [
3714
3752
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3715
3753
  { name: 'policy', internalType: 'address', type: 'address' },
3716
3754
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3755
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3717
3756
  ],
3718
3757
  },
3719
3758
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3726,22 +3765,6 @@ export const logswapRouterAbi = [
3726
3765
  outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
3727
3766
  stateMutability: 'nonpayable',
3728
3767
  },
3729
- {
3730
- type: 'function',
3731
- inputs: [
3732
- { name: '', internalType: 'bytes32', type: 'bytes32' },
3733
- { name: '', internalType: 'enum FPoolManager.QuoteKind', type: 'uint8' },
3734
- { name: '', internalType: 'uint256', type: 'uint256' },
3735
- { name: '', internalType: 'uint256', type: 'uint256' },
3736
- { name: '', internalType: 'uint256', type: 'uint256' },
3737
- { name: '', internalType: 'uint256', type: 'uint256' },
3738
- { name: '', internalType: 'address', type: 'address' },
3739
- { name: '', internalType: 'uint256', type: 'uint256' },
3740
- ],
3741
- name: 'swapExactIn',
3742
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3743
- stateMutability: 'nonpayable',
3744
- },
3745
3768
  {
3746
3769
  type: 'function',
3747
3770
  inputs: [
@@ -3752,7 +3775,7 @@ export const logswapRouterAbi = [
3752
3775
  components: [
3753
3776
  {
3754
3777
  name: 'key',
3755
- internalType: 'struct PoolKey',
3778
+ internalType: 'struct CPoolKey',
3756
3779
  type: 'tuple',
3757
3780
  components: [
3758
3781
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3760,6 +3783,7 @@ export const logswapRouterAbi = [
3760
3783
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3761
3784
  { name: 'policy', internalType: 'address', type: 'address' },
3762
3785
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3786
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3763
3787
  ],
3764
3788
  },
3765
3789
  { name: 'baseIn', internalType: 'bool', type: 'bool' },
@@ -3779,7 +3803,7 @@ export const logswapRouterAbi = [
3779
3803
  inputs: [
3780
3804
  {
3781
3805
  name: 'key',
3782
- internalType: 'struct PoolKey',
3806
+ internalType: 'struct CPoolKey',
3783
3807
  type: 'tuple',
3784
3808
  components: [
3785
3809
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3787,6 +3811,7 @@ export const logswapRouterAbi = [
3787
3811
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3788
3812
  { name: 'policy', internalType: 'address', type: 'address' },
3789
3813
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3814
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3790
3815
  ],
3791
3816
  },
3792
3817
  { name: 'baseOut', internalType: 'bool', type: 'bool' },
@@ -3811,7 +3836,7 @@ export const logswapRouterAbi = [
3811
3836
  inputs: [
3812
3837
  {
3813
3838
  name: 'key',
3814
- internalType: 'struct PoolKey',
3839
+ internalType: 'struct CPoolKey',
3815
3840
  type: 'tuple',
3816
3841
  components: [
3817
3842
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3819,6 +3844,7 @@ export const logswapRouterAbi = [
3819
3844
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3820
3845
  { name: 'policy', internalType: 'address', type: 'address' },
3821
3846
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3847
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3822
3848
  ],
3823
3849
  },
3824
3850
  { name: 'fromId', internalType: 'uint256', type: 'uint256' },
@@ -3851,7 +3877,7 @@ export const logswapRouterAbi = [
3851
3877
  inputs: [
3852
3878
  {
3853
3879
  name: 'key',
3854
- internalType: 'struct PoolKey',
3880
+ internalType: 'struct CPoolKey',
3855
3881
  type: 'tuple',
3856
3882
  components: [
3857
3883
  { name: 'base', internalType: 'address', type: 'address' },
@@ -3859,6 +3885,7 @@ export const logswapRouterAbi = [
3859
3885
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
3860
3886
  { name: 'policy', internalType: 'address', type: 'address' },
3861
3887
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
3888
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
3862
3889
  ],
3863
3890
  },
3864
3891
  { name: 'fundWithBase', internalType: 'bool', type: 'bool' },
@@ -4016,7 +4043,7 @@ export const padPolicyAbi = [
4016
4043
  {
4017
4044
  type: 'function',
4018
4045
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
4019
- name: 'incomeFee',
4046
+ name: 'incomeTax',
4020
4047
  outputs: [
4021
4048
  { name: '', internalType: 'address', type: 'address' },
4022
4049
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -4026,7 +4053,7 @@ export const padPolicyAbi = [
4026
4053
  {
4027
4054
  type: 'function',
4028
4055
  inputs: [],
4029
- name: 'incomeFeeRate',
4056
+ name: 'incomeTaxRate',
4030
4057
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4031
4058
  stateMutability: 'view',
4032
4059
  },
@@ -4088,20 +4115,6 @@ export const padPolicyAbi = [
4088
4115
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
4089
4116
  stateMutability: 'view',
4090
4117
  },
4091
- {
4092
- type: 'function',
4093
- inputs: [],
4094
- name: 'mintFeeCurated',
4095
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4096
- stateMutability: 'view',
4097
- },
4098
- {
4099
- type: 'function',
4100
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4101
- name: 'mintFeeListed',
4102
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4103
- stateMutability: 'view',
4104
- },
4105
4118
  {
4106
4119
  type: 'function',
4107
4120
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -4115,7 +4128,7 @@ export const padPolicyAbi = [
4115
4128
  { name: '', internalType: 'address', type: 'address' },
4116
4129
  {
4117
4130
  name: '',
4118
- internalType: 'struct PoolKey',
4131
+ internalType: 'struct CPoolKey',
4119
4132
  type: 'tuple',
4120
4133
  components: [
4121
4134
  { name: 'base', internalType: 'address', type: 'address' },
@@ -4123,15 +4136,14 @@ export const padPolicyAbi = [
4123
4136
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
4124
4137
  { name: 'policy', internalType: 'address', type: 'address' },
4125
4138
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4139
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4126
4140
  ],
4127
4141
  },
4128
- { name: '', internalType: 'uint256', type: 'uint256' },
4129
4142
  ],
4130
4143
  name: 'onCInitialize',
4131
4144
  outputs: [
4132
4145
  { name: '', internalType: 'uint8', type: 'uint8' },
4133
4146
  { name: '', internalType: 'uint256', type: 'uint256' },
4134
- { name: '', internalType: 'uint256', type: 'uint256' },
4135
4147
  ],
4136
4148
  stateMutability: 'pure',
4137
4149
  },
@@ -4146,21 +4158,16 @@ export const padPolicyAbi = [
4146
4158
  components: [
4147
4159
  { name: 'quote', internalType: 'address', type: 'address' },
4148
4160
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
4149
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
4150
4161
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4151
4162
  { name: 'policy', internalType: 'address', type: 'address' },
4152
4163
  { name: 'creator', internalType: 'address', type: 'address' },
4153
4164
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
4154
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
4165
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4155
4166
  ],
4156
4167
  },
4157
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4158
4168
  ],
4159
4169
  name: 'onInitialize',
4160
- outputs: [
4161
- { name: '', internalType: 'uint8', type: 'uint8' },
4162
- { name: '', internalType: 'uint256', type: 'uint256' },
4163
- ],
4170
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
4164
4171
  stateMutability: 'nonpayable',
4165
4172
  },
4166
4173
  {
@@ -4291,24 +4298,7 @@ export const padPolicyAbi = [
4291
4298
  {
4292
4299
  type: 'function',
4293
4300
  inputs: [{ name: 'rate', internalType: 'uint256', type: 'uint256' }],
4294
- name: 'setIncomeFeeRate',
4295
- outputs: [],
4296
- stateMutability: 'nonpayable',
4297
- },
4298
- {
4299
- type: 'function',
4300
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
4301
- name: 'setMintFeeCurated',
4302
- outputs: [],
4303
- stateMutability: 'nonpayable',
4304
- },
4305
- {
4306
- type: 'function',
4307
- inputs: [
4308
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4309
- { name: 'listed', internalType: 'bool', type: 'bool' },
4310
- ],
4311
- name: 'setMintFeeListed',
4301
+ name: 'setIncomeTaxRate',
4312
4302
  outputs: [],
4313
4303
  stateMutability: 'nonpayable',
4314
4304
  },
@@ -4489,44 +4479,27 @@ export const padPolicyAbi = [
4489
4479
  indexed: true,
4490
4480
  },
4491
4481
  { name: 'rung', internalType: 'uint256', type: 'uint256', indexed: true },
4492
- { name: 'pot', internalType: 'uint256', type: 'uint256', indexed: false },
4493
- ],
4494
- name: 'Graduated',
4495
- },
4496
- {
4497
- type: 'event',
4498
- anonymous: false,
4499
- inputs: [
4500
4482
  {
4501
- name: 'rate',
4483
+ name: 'income',
4502
4484
  internalType: 'uint256',
4503
4485
  type: 'uint256',
4504
4486
  indexed: false,
4505
4487
  },
4506
4488
  ],
4507
- name: 'IncomeFeeRateSet',
4508
- },
4509
- {
4510
- type: 'event',
4511
- anonymous: false,
4512
- inputs: [
4513
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
4514
- ],
4515
- name: 'MintFeeCuratedSet',
4489
+ name: 'Graduated',
4516
4490
  },
4517
4491
  {
4518
4492
  type: 'event',
4519
4493
  anonymous: false,
4520
4494
  inputs: [
4521
4495
  {
4522
- name: 'mintFee',
4496
+ name: 'rate',
4523
4497
  internalType: 'uint256',
4524
4498
  type: 'uint256',
4525
- indexed: true,
4499
+ indexed: false,
4526
4500
  },
4527
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
4528
4501
  ],
4529
- name: 'MintFeeListed',
4502
+ name: 'IncomeTaxRateSet',
4530
4503
  },
4531
4504
  {
4532
4505
  type: 'event',
@@ -4639,11 +4612,6 @@ export const padPolicyAbi = [
4639
4612
  inputs: [{ name: 'fee', internalType: 'uint256', type: 'uint256' }],
4640
4613
  name: 'FeeNotListed',
4641
4614
  },
4642
- {
4643
- type: 'error',
4644
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
4645
- name: 'MintFeeNotListed',
4646
- },
4647
4615
  { type: 'error', inputs: [], name: 'NoCreator' },
4648
4616
  {
4649
4617
  type: 'error',
@@ -4666,6 +4634,7 @@ export const padPolicyAbi = [
4666
4634
  ],
4667
4635
  name: 'PadExists',
4668
4636
  },
4637
+ { type: 'error', inputs: [], name: 'PadUncapped' },
4669
4638
  {
4670
4639
  type: 'error',
4671
4640
  inputs: [{ name: 'quote', internalType: 'address', type: 'address' }],
@@ -4735,7 +4704,7 @@ export const polPolicyAbi = [
4735
4704
  {
4736
4705
  type: 'function',
4737
4706
  inputs: [{ name: 'poolId', internalType: 'bytes32', type: 'bytes32' }],
4738
- name: 'incomeFee',
4707
+ name: 'incomeTax',
4739
4708
  outputs: [
4740
4709
  { name: '', internalType: 'address', type: 'address' },
4741
4710
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -4745,7 +4714,7 @@ export const polPolicyAbi = [
4745
4714
  {
4746
4715
  type: 'function',
4747
4716
  inputs: [],
4748
- name: 'incomeFeeRate',
4717
+ name: 'incomeTaxRate',
4749
4718
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4750
4719
  stateMutability: 'view',
4751
4720
  },
@@ -4814,20 +4783,6 @@ export const polPolicyAbi = [
4814
4783
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4815
4784
  stateMutability: 'view',
4816
4785
  },
4817
- {
4818
- type: 'function',
4819
- inputs: [],
4820
- name: 'mintFeeCurated',
4821
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4822
- stateMutability: 'view',
4823
- },
4824
- {
4825
- type: 'function',
4826
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
4827
- name: 'mintFeeListed',
4828
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
4829
- stateMutability: 'view',
4830
- },
4831
4786
  {
4832
4787
  type: 'function',
4833
4788
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -4841,7 +4796,7 @@ export const polPolicyAbi = [
4841
4796
  { name: '', internalType: 'address', type: 'address' },
4842
4797
  {
4843
4798
  name: '',
4844
- internalType: 'struct PoolKey',
4799
+ internalType: 'struct CPoolKey',
4845
4800
  type: 'tuple',
4846
4801
  components: [
4847
4802
  { name: 'base', internalType: 'address', type: 'address' },
@@ -4849,15 +4804,14 @@ export const polPolicyAbi = [
4849
4804
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
4850
4805
  { name: 'policy', internalType: 'address', type: 'address' },
4851
4806
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4807
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4852
4808
  ],
4853
4809
  },
4854
- { name: '', internalType: 'uint256', type: 'uint256' },
4855
4810
  ],
4856
4811
  name: 'onCInitialize',
4857
4812
  outputs: [
4858
4813
  { name: '', internalType: 'uint8', type: 'uint8' },
4859
4814
  { name: '', internalType: 'uint256', type: 'uint256' },
4860
- { name: '', internalType: 'uint256', type: 'uint256' },
4861
4815
  ],
4862
4816
  stateMutability: 'pure',
4863
4817
  },
@@ -4872,21 +4826,16 @@ export const polPolicyAbi = [
4872
4826
  components: [
4873
4827
  { name: 'quote', internalType: 'address', type: 'address' },
4874
4828
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
4875
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
4876
4829
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
4877
4830
  { name: 'policy', internalType: 'address', type: 'address' },
4878
4831
  { name: 'creator', internalType: 'address', type: 'address' },
4879
4832
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
4880
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
4833
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4881
4834
  ],
4882
4835
  },
4883
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
4884
4836
  ],
4885
4837
  name: 'onInitialize',
4886
- outputs: [
4887
- { name: '', internalType: 'uint8', type: 'uint8' },
4888
- { name: '', internalType: 'uint256', type: 'uint256' },
4889
- ],
4838
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
4890
4839
  stateMutability: 'nonpayable',
4891
4840
  },
4892
4841
  {
@@ -5000,7 +4949,7 @@ export const polPolicyAbi = [
5000
4949
  {
5001
4950
  type: 'function',
5002
4951
  inputs: [{ name: 'rate', internalType: 'uint256', type: 'uint256' }],
5003
- name: 'setIncomeFeeRate',
4952
+ name: 'setIncomeTaxRate',
5004
4953
  outputs: [],
5005
4954
  stateMutability: 'nonpayable',
5006
4955
  },
@@ -5011,23 +4960,6 @@ export const polPolicyAbi = [
5011
4960
  outputs: [],
5012
4961
  stateMutability: 'nonpayable',
5013
4962
  },
5014
- {
5015
- type: 'function',
5016
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
5017
- name: 'setMintFeeCurated',
5018
- outputs: [],
5019
- stateMutability: 'nonpayable',
5020
- },
5021
- {
5022
- type: 'function',
5023
- inputs: [
5024
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5025
- { name: 'listed', internalType: 'bool', type: 'bool' },
5026
- ],
5027
- name: 'setMintFeeListed',
5028
- outputs: [],
5029
- stateMutability: 'nonpayable',
5030
- },
5031
4963
  {
5032
4964
  type: 'function',
5033
4965
  inputs: [
@@ -5143,7 +5075,7 @@ export const polPolicyAbi = [
5143
5075
  indexed: false,
5144
5076
  },
5145
5077
  ],
5146
- name: 'IncomeFeeRateSet',
5078
+ name: 'IncomeTaxRateSet',
5147
5079
  },
5148
5080
  {
5149
5081
  type: 'event',
@@ -5158,28 +5090,6 @@ export const polPolicyAbi = [
5158
5090
  ],
5159
5091
  name: 'MinQuoteRatioSet',
5160
5092
  },
5161
- {
5162
- type: 'event',
5163
- anonymous: false,
5164
- inputs: [
5165
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
5166
- ],
5167
- name: 'MintFeeCuratedSet',
5168
- },
5169
- {
5170
- type: 'event',
5171
- anonymous: false,
5172
- inputs: [
5173
- {
5174
- name: 'mintFee',
5175
- internalType: 'uint256',
5176
- type: 'uint256',
5177
- indexed: true,
5178
- },
5179
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
5180
- ],
5181
- name: 'MintFeeListed',
5182
- },
5183
5093
  {
5184
5094
  type: 'event',
5185
5095
  anonymous: false,
@@ -5228,11 +5138,6 @@ export const polPolicyAbi = [
5228
5138
  inputs: [{ name: 'fee', internalType: 'uint256', type: 'uint256' }],
5229
5139
  name: 'FeeNotListed',
5230
5140
  },
5231
- {
5232
- type: 'error',
5233
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
5234
- name: 'MintFeeNotListed',
5235
- },
5236
5141
  { type: 'error', inputs: [], name: 'NoCreator' },
5237
5142
  { type: 'error', inputs: [], name: 'NotAuthority' },
5238
5143
  { type: 'error', inputs: [], name: 'NotLogAuthority' },
@@ -5373,12 +5278,11 @@ export const policyRegistryAbi = [
5373
5278
  components: [
5374
5279
  { name: 'quote', internalType: 'address', type: 'address' },
5375
5280
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
5376
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
5377
5281
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5378
5282
  { name: 'policy', internalType: 'address', type: 'address' },
5379
5283
  { name: 'creator', internalType: 'address', type: 'address' },
5380
5284
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5381
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5285
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5382
5286
  ],
5383
5287
  },
5384
5288
  { name: 'to', internalType: 'address', type: 'address' },
@@ -5398,12 +5302,11 @@ export const policyRegistryAbi = [
5398
5302
  components: [
5399
5303
  { name: 'quote', internalType: 'address', type: 'address' },
5400
5304
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
5401
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
5402
5305
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5403
5306
  { name: 'policy', internalType: 'address', type: 'address' },
5404
5307
  { name: 'creator', internalType: 'address', type: 'address' },
5405
5308
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5406
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5309
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5407
5310
  ],
5408
5311
  },
5409
5312
  { name: 'to', internalType: 'address', type: 'address' },
@@ -5830,7 +5733,7 @@ export const privatePolicyAbi = [
5830
5733
  {
5831
5734
  type: 'function',
5832
5735
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
5833
- name: 'incomeFee',
5736
+ name: 'incomeTax',
5834
5737
  outputs: [
5835
5738
  { name: '', internalType: 'address', type: 'address' },
5836
5739
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -5932,20 +5835,6 @@ export const privatePolicyAbi = [
5932
5835
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
5933
5836
  stateMutability: 'view',
5934
5837
  },
5935
- {
5936
- type: 'function',
5937
- inputs: [],
5938
- name: 'mintFeeCurated',
5939
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5940
- stateMutability: 'view',
5941
- },
5942
- {
5943
- type: 'function',
5944
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
5945
- name: 'mintFeeListed',
5946
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5947
- stateMutability: 'view',
5948
- },
5949
5838
  {
5950
5839
  type: 'function',
5951
5840
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -5959,7 +5848,7 @@ export const privatePolicyAbi = [
5959
5848
  { name: 'initializer', internalType: 'address', type: 'address' },
5960
5849
  {
5961
5850
  name: 'key',
5962
- internalType: 'struct PoolKey',
5851
+ internalType: 'struct CPoolKey',
5963
5852
  type: 'tuple',
5964
5853
  components: [
5965
5854
  { name: 'base', internalType: 'address', type: 'address' },
@@ -5967,15 +5856,14 @@ export const privatePolicyAbi = [
5967
5856
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
5968
5857
  { name: 'policy', internalType: 'address', type: 'address' },
5969
5858
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5859
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5970
5860
  ],
5971
5861
  },
5972
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5973
5862
  ],
5974
5863
  name: 'onCInitialize',
5975
5864
  outputs: [
5976
5865
  { name: '', internalType: 'uint8', type: 'uint8' },
5977
5866
  { name: '', internalType: 'uint256', type: 'uint256' },
5978
- { name: '', internalType: 'uint256', type: 'uint256' },
5979
5867
  ],
5980
5868
  stateMutability: 'nonpayable',
5981
5869
  },
@@ -5990,21 +5878,16 @@ export const privatePolicyAbi = [
5990
5878
  components: [
5991
5879
  { name: 'quote', internalType: 'address', type: 'address' },
5992
5880
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
5993
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
5994
5881
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
5995
5882
  { name: 'policy', internalType: 'address', type: 'address' },
5996
5883
  { name: 'creator', internalType: 'address', type: 'address' },
5997
5884
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
5998
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
5885
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
5999
5886
  ],
6000
5887
  },
6001
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6002
5888
  ],
6003
5889
  name: 'onInitialize',
6004
- outputs: [
6005
- { name: '', internalType: 'uint8', type: 'uint8' },
6006
- { name: '', internalType: 'uint256', type: 'uint256' },
6007
- ],
5890
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
6008
5891
  stateMutability: 'nonpayable',
6009
5892
  },
6010
5893
  {
@@ -6139,23 +6022,6 @@ export const privatePolicyAbi = [
6139
6022
  outputs: [],
6140
6023
  stateMutability: 'nonpayable',
6141
6024
  },
6142
- {
6143
- type: 'function',
6144
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
6145
- name: 'setMintFeeCurated',
6146
- outputs: [],
6147
- stateMutability: 'nonpayable',
6148
- },
6149
- {
6150
- type: 'function',
6151
- inputs: [
6152
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6153
- { name: 'listed', internalType: 'bool', type: 'bool' },
6154
- ],
6155
- name: 'setMintFeeListed',
6156
- outputs: [],
6157
- stateMutability: 'nonpayable',
6158
- },
6159
6025
  {
6160
6026
  type: 'function',
6161
6027
  inputs: [
@@ -6353,28 +6219,6 @@ export const privatePolicyAbi = [
6353
6219
  ],
6354
6220
  name: 'Listed',
6355
6221
  },
6356
- {
6357
- type: 'event',
6358
- anonymous: false,
6359
- inputs: [
6360
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
6361
- ],
6362
- name: 'MintFeeCuratedSet',
6363
- },
6364
- {
6365
- type: 'event',
6366
- anonymous: false,
6367
- inputs: [
6368
- {
6369
- name: 'mintFee',
6370
- internalType: 'uint256',
6371
- type: 'uint256',
6372
- indexed: true,
6373
- },
6374
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
6375
- ],
6376
- name: 'MintFeeListed',
6377
- },
6378
6222
  {
6379
6223
  type: 'event',
6380
6224
  anonymous: false,
@@ -6479,11 +6323,6 @@ export const privatePolicyAbi = [
6479
6323
  name: 'FeeNotListed',
6480
6324
  },
6481
6325
  { type: 'error', inputs: [], name: 'InactivePool' },
6482
- {
6483
- type: 'error',
6484
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
6485
- name: 'MintFeeNotListed',
6486
- },
6487
6326
  { type: 'error', inputs: [], name: 'NoCreator' },
6488
6327
  { type: 'error', inputs: [], name: 'NotAuthority' },
6489
6328
  { type: 'error', inputs: [], name: 'NotLogAuthority' },
@@ -6579,7 +6418,7 @@ export const publicPolicyAbi = [
6579
6418
  {
6580
6419
  type: 'function',
6581
6420
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
6582
- name: 'incomeFee',
6421
+ name: 'incomeTax',
6583
6422
  outputs: [
6584
6423
  { name: '', internalType: 'address', type: 'address' },
6585
6424
  { name: '', internalType: 'uint256', type: 'uint256' },
@@ -6644,20 +6483,6 @@ export const publicPolicyAbi = [
6644
6483
  outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
6645
6484
  stateMutability: 'view',
6646
6485
  },
6647
- {
6648
- type: 'function',
6649
- inputs: [],
6650
- name: 'mintFeeCurated',
6651
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6652
- stateMutability: 'view',
6653
- },
6654
- {
6655
- type: 'function',
6656
- inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6657
- name: 'mintFeeListed',
6658
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6659
- stateMutability: 'view',
6660
- },
6661
6486
  {
6662
6487
  type: 'function',
6663
6488
  inputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
@@ -6671,7 +6496,7 @@ export const publicPolicyAbi = [
6671
6496
  { name: 'creator_', internalType: 'address', type: 'address' },
6672
6497
  {
6673
6498
  name: 'key',
6674
- internalType: 'struct PoolKey',
6499
+ internalType: 'struct CPoolKey',
6675
6500
  type: 'tuple',
6676
6501
  components: [
6677
6502
  { name: 'base', internalType: 'address', type: 'address' },
@@ -6679,15 +6504,14 @@ export const publicPolicyAbi = [
6679
6504
  { name: 'tickSpacing', internalType: 'int256', type: 'int256' },
6680
6505
  { name: 'policy', internalType: 'address', type: 'address' },
6681
6506
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
6507
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6682
6508
  ],
6683
6509
  },
6684
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6685
6510
  ],
6686
6511
  name: 'onCInitialize',
6687
6512
  outputs: [
6688
6513
  { name: '', internalType: 'uint8', type: 'uint8' },
6689
6514
  { name: '', internalType: 'uint256', type: 'uint256' },
6690
- { name: '', internalType: 'uint256', type: 'uint256' },
6691
6515
  ],
6692
6516
  stateMutability: 'nonpayable',
6693
6517
  },
@@ -6702,21 +6526,16 @@ export const publicPolicyAbi = [
6702
6526
  components: [
6703
6527
  { name: 'quote', internalType: 'address', type: 'address' },
6704
6528
  { name: 'bases', internalType: 'address[]', type: 'address[]' },
6705
- { name: 'weights', internalType: 'uint256[]', type: 'uint256[]' },
6706
6529
  { name: 'swapFee', internalType: 'uint256', type: 'uint256' },
6707
6530
  { name: 'policy', internalType: 'address', type: 'address' },
6708
6531
  { name: 'creator', internalType: 'address', type: 'address' },
6709
6532
  { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
6710
- { name: 'lnCapOverFloor', internalType: 'uint24', type: 'uint24' },
6533
+ { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6711
6534
  ],
6712
6535
  },
6713
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6714
6536
  ],
6715
6537
  name: 'onInitialize',
6716
- outputs: [
6717
- { name: '', internalType: 'uint8', type: 'uint8' },
6718
- { name: '', internalType: 'uint256', type: 'uint256' },
6719
- ],
6538
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
6720
6539
  stateMutability: 'nonpayable',
6721
6540
  },
6722
6541
  {
@@ -6844,23 +6663,6 @@ export const publicPolicyAbi = [
6844
6663
  outputs: [],
6845
6664
  stateMutability: 'nonpayable',
6846
6665
  },
6847
- {
6848
- type: 'function',
6849
- inputs: [{ name: 'curated', internalType: 'bool', type: 'bool' }],
6850
- name: 'setMintFeeCurated',
6851
- outputs: [],
6852
- stateMutability: 'nonpayable',
6853
- },
6854
- {
6855
- type: 'function',
6856
- inputs: [
6857
- { name: 'mintFee', internalType: 'uint256', type: 'uint256' },
6858
- { name: 'listed', internalType: 'bool', type: 'bool' },
6859
- ],
6860
- name: 'setMintFeeListed',
6861
- outputs: [],
6862
- stateMutability: 'nonpayable',
6863
- },
6864
6666
  {
6865
6667
  type: 'function',
6866
6668
  inputs: [
@@ -7014,28 +6816,6 @@ export const publicPolicyAbi = [
7014
6816
  ],
7015
6817
  name: 'FeeListed',
7016
6818
  },
7017
- {
7018
- type: 'event',
7019
- anonymous: false,
7020
- inputs: [
7021
- { name: 'curated', internalType: 'bool', type: 'bool', indexed: false },
7022
- ],
7023
- name: 'MintFeeCuratedSet',
7024
- },
7025
- {
7026
- type: 'event',
7027
- anonymous: false,
7028
- inputs: [
7029
- {
7030
- name: 'mintFee',
7031
- internalType: 'uint256',
7032
- type: 'uint256',
7033
- indexed: true,
7034
- },
7035
- { name: 'listed', internalType: 'bool', type: 'bool', indexed: false },
7036
- ],
7037
- name: 'MintFeeListed',
7038
- },
7039
6819
  {
7040
6820
  type: 'event',
7041
6821
  anonymous: false,
@@ -7138,11 +6918,6 @@ export const publicPolicyAbi = [
7138
6918
  ],
7139
6919
  name: 'MarketExists',
7140
6920
  },
7141
- {
7142
- type: 'error',
7143
- inputs: [{ name: 'mintFee', internalType: 'uint256', type: 'uint256' }],
7144
- name: 'MintFeeNotListed',
7145
- },
7146
6921
  { type: 'error', inputs: [], name: 'NoCreator' },
7147
6922
  { type: 'error', inputs: [], name: 'NotAuthority' },
7148
6923
  { type: 'error', inputs: [], name: 'NotCanonical' },