@logswap/sdk 0.5.99 → 0.5.101
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/README.md +104 -36
- package/dist/actions.d.ts +8 -8
- package/dist/actions.js +8 -8
- package/dist/admin.d.ts +16 -36
- package/dist/admin.js +26 -57
- package/dist/chains.d.ts +1 -1
- package/dist/client.d.ts +5 -5
- package/dist/client.js +19 -3
- package/dist/fees.js +2 -24
- package/dist/fpool.d.ts +10 -6
- package/dist/fpool.js +15 -25
- package/dist/generated.d.ts +1611 -2189
- package/dist/generated.js +947 -1224
- package/dist/history.d.ts +1 -1
- package/dist/history.js +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/indexer.d.ts +1 -1
- package/dist/indexer.js +5 -12
- package/dist/keys.d.ts +39 -52
- package/dist/keys.js +59 -38
- package/dist/liquidity.d.ts +2 -24
- package/dist/liquidity.js +7 -33
- package/dist/pools.d.ts +23 -14
- package/dist/pools.js +36 -28
- package/dist/positions.d.ts +2 -7
- package/dist/positions.js +6 -25
- package/package.json +1 -1
- package/src/actions.ts +12 -12
- package/src/admin.ts +42 -85
- package/src/chains.ts +1 -1
- package/src/client.ts +21 -5
- package/src/fees.ts +2 -22
- package/src/fpool.ts +19 -26
- package/src/generated.ts +951 -1228
- package/src/history.ts +2 -2
- package/src/index.ts +1 -2
- package/src/indexer.ts +6 -13
- package/src/keys.ts +80 -74
- package/src/liquidity.ts +7 -47
- package/src/pools.ts +45 -33
- package/src/positions.ts +7 -27
- package/dist/views.d.ts +0 -281
- package/dist/views.js +0 -188
- package/src/views.ts +0 -480
package/dist/generated.d.ts
CHANGED
|
@@ -90,10 +90,6 @@ export declare const lensCAbi: readonly [{
|
|
|
90
90
|
readonly name: "initialized";
|
|
91
91
|
readonly internalType: "bool";
|
|
92
92
|
readonly type: "bool";
|
|
93
|
-
}, {
|
|
94
|
-
readonly name: "backstopSeeded";
|
|
95
|
-
readonly internalType: "bool";
|
|
96
|
-
readonly type: "bool";
|
|
97
93
|
}, {
|
|
98
94
|
readonly name: "logPrice";
|
|
99
95
|
readonly internalType: "int256";
|
|
@@ -376,17 +372,13 @@ export declare const lensCAbi: readonly [{
|
|
|
376
372
|
readonly inputs: readonly [];
|
|
377
373
|
readonly name: "params";
|
|
378
374
|
readonly outputs: readonly [{
|
|
379
|
-
readonly name: "
|
|
380
|
-
readonly internalType: "uint256";
|
|
381
|
-
readonly type: "uint256";
|
|
382
|
-
}, {
|
|
383
|
-
readonly name: "feeMin";
|
|
384
|
-
readonly internalType: "uint256";
|
|
385
|
-
readonly type: "uint256";
|
|
375
|
+
readonly name: "feeList";
|
|
376
|
+
readonly internalType: "uint256[]";
|
|
377
|
+
readonly type: "uint256[]";
|
|
386
378
|
}, {
|
|
387
|
-
readonly name: "
|
|
388
|
-
readonly internalType: "int256";
|
|
389
|
-
readonly type: "int256";
|
|
379
|
+
readonly name: "spacingList";
|
|
380
|
+
readonly internalType: "int256[]";
|
|
381
|
+
readonly type: "int256[]";
|
|
390
382
|
}, {
|
|
391
383
|
readonly name: "noCap";
|
|
392
384
|
readonly internalType: "int256";
|
|
@@ -836,6 +828,20 @@ export declare const lensFAbi: readonly [{
|
|
|
836
828
|
}];
|
|
837
829
|
}];
|
|
838
830
|
readonly stateMutability: "view";
|
|
831
|
+
}, {
|
|
832
|
+
readonly type: "function";
|
|
833
|
+
readonly inputs: readonly [];
|
|
834
|
+
readonly name: "params";
|
|
835
|
+
readonly outputs: readonly [{
|
|
836
|
+
readonly name: "feeList";
|
|
837
|
+
readonly internalType: "uint256[]";
|
|
838
|
+
readonly type: "uint256[]";
|
|
839
|
+
}, {
|
|
840
|
+
readonly name: "fVersion";
|
|
841
|
+
readonly internalType: "uint256";
|
|
842
|
+
readonly type: "uint256";
|
|
843
|
+
}];
|
|
844
|
+
readonly stateMutability: "view";
|
|
839
845
|
}, {
|
|
840
846
|
readonly type: "function";
|
|
841
847
|
readonly inputs: readonly [{
|
|
@@ -1206,6 +1212,10 @@ export declare const managerCAbi: readonly [{
|
|
|
1206
1212
|
readonly name: "id";
|
|
1207
1213
|
readonly internalType: "uint256";
|
|
1208
1214
|
readonly type: "uint256";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly name: "owner";
|
|
1217
|
+
readonly internalType: "address";
|
|
1218
|
+
readonly type: "address";
|
|
1209
1219
|
}, {
|
|
1210
1220
|
readonly name: "to";
|
|
1211
1221
|
readonly internalType: "address";
|
|
@@ -1411,37 +1421,29 @@ export declare const managerCAbi: readonly [{
|
|
|
1411
1421
|
readonly internalType: "struct PoolKeyC";
|
|
1412
1422
|
readonly type: "tuple";
|
|
1413
1423
|
readonly components: readonly [{
|
|
1414
|
-
readonly name: "
|
|
1424
|
+
readonly name: "quote";
|
|
1415
1425
|
readonly internalType: "address";
|
|
1416
1426
|
readonly type: "address";
|
|
1417
1427
|
}, {
|
|
1418
|
-
readonly name: "
|
|
1428
|
+
readonly name: "base";
|
|
1419
1429
|
readonly internalType: "address";
|
|
1420
1430
|
readonly type: "address";
|
|
1421
1431
|
}, {
|
|
1422
|
-
readonly name: "
|
|
1423
|
-
readonly internalType: "
|
|
1424
|
-
readonly type: "
|
|
1432
|
+
readonly name: "swapFeeIdx";
|
|
1433
|
+
readonly internalType: "uint8";
|
|
1434
|
+
readonly type: "uint8";
|
|
1425
1435
|
}, {
|
|
1426
|
-
readonly name: "
|
|
1427
|
-
readonly internalType: "
|
|
1428
|
-
readonly type: "
|
|
1436
|
+
readonly name: "spacingIdx";
|
|
1437
|
+
readonly internalType: "uint8";
|
|
1438
|
+
readonly type: "uint8";
|
|
1429
1439
|
}, {
|
|
1430
|
-
readonly name: "
|
|
1440
|
+
readonly name: "policy";
|
|
1431
1441
|
readonly internalType: "address";
|
|
1432
1442
|
readonly type: "address";
|
|
1433
1443
|
}, {
|
|
1434
1444
|
readonly name: "salt";
|
|
1435
1445
|
readonly internalType: "bytes32";
|
|
1436
1446
|
readonly type: "bytes32";
|
|
1437
|
-
}, {
|
|
1438
|
-
readonly name: "swapFee";
|
|
1439
|
-
readonly internalType: "uint256";
|
|
1440
|
-
readonly type: "uint256";
|
|
1441
|
-
}, {
|
|
1442
|
-
readonly name: "mintFee";
|
|
1443
|
-
readonly internalType: "uint256";
|
|
1444
|
-
readonly type: "uint256";
|
|
1445
1447
|
}];
|
|
1446
1448
|
}, {
|
|
1447
1449
|
readonly name: "initialLogPrice";
|
|
@@ -1489,6 +1491,10 @@ export declare const managerCAbi: readonly [{
|
|
|
1489
1491
|
readonly name: "poolId";
|
|
1490
1492
|
readonly internalType: "bytes32";
|
|
1491
1493
|
readonly type: "bytes32";
|
|
1494
|
+
}, {
|
|
1495
|
+
readonly name: "payer";
|
|
1496
|
+
readonly internalType: "address";
|
|
1497
|
+
readonly type: "address";
|
|
1492
1498
|
}, {
|
|
1493
1499
|
readonly name: "to";
|
|
1494
1500
|
readonly internalType: "address";
|
|
@@ -1911,15 +1917,15 @@ export declare const managerCAbi: readonly [{
|
|
|
1911
1917
|
readonly type: "event";
|
|
1912
1918
|
readonly anonymous: false;
|
|
1913
1919
|
readonly inputs: readonly [{
|
|
1914
|
-
readonly name: "id";
|
|
1915
|
-
readonly internalType: "uint256";
|
|
1916
|
-
readonly type: "uint256";
|
|
1917
|
-
readonly indexed: true;
|
|
1918
|
-
}, {
|
|
1919
1920
|
readonly name: "poolId";
|
|
1920
1921
|
readonly internalType: "bytes32";
|
|
1921
1922
|
readonly type: "bytes32";
|
|
1922
1923
|
readonly indexed: true;
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly name: "id";
|
|
1926
|
+
readonly internalType: "uint256";
|
|
1927
|
+
readonly type: "uint256";
|
|
1928
|
+
readonly indexed: true;
|
|
1923
1929
|
}, {
|
|
1924
1930
|
readonly name: "floor";
|
|
1925
1931
|
readonly internalType: "int256";
|
|
@@ -1946,7 +1952,7 @@ export declare const managerCAbi: readonly [{
|
|
|
1946
1952
|
readonly type: "bytes32";
|
|
1947
1953
|
readonly indexed: true;
|
|
1948
1954
|
}, {
|
|
1949
|
-
readonly name: "
|
|
1955
|
+
readonly name: "owner";
|
|
1950
1956
|
readonly internalType: "address";
|
|
1951
1957
|
readonly type: "address";
|
|
1952
1958
|
readonly indexed: true;
|
|
@@ -1955,6 +1961,11 @@ export declare const managerCAbi: readonly [{
|
|
|
1955
1961
|
readonly internalType: "uint256";
|
|
1956
1962
|
readonly type: "uint256";
|
|
1957
1963
|
readonly indexed: true;
|
|
1964
|
+
}, {
|
|
1965
|
+
readonly name: "to";
|
|
1966
|
+
readonly internalType: "address";
|
|
1967
|
+
readonly type: "address";
|
|
1968
|
+
readonly indexed: false;
|
|
1958
1969
|
}, {
|
|
1959
1970
|
readonly name: "fees";
|
|
1960
1971
|
readonly internalType: "uint256";
|
|
@@ -2019,6 +2030,11 @@ export declare const managerCAbi: readonly [{
|
|
|
2019
2030
|
readonly name: "creator";
|
|
2020
2031
|
readonly internalType: "address";
|
|
2021
2032
|
readonly type: "address";
|
|
2033
|
+
readonly indexed: false;
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly name: "policy";
|
|
2036
|
+
readonly internalType: "address";
|
|
2037
|
+
readonly type: "address";
|
|
2022
2038
|
readonly indexed: true;
|
|
2023
2039
|
}, {
|
|
2024
2040
|
readonly name: "base";
|
|
@@ -2026,24 +2042,19 @@ export declare const managerCAbi: readonly [{
|
|
|
2026
2042
|
readonly type: "address";
|
|
2027
2043
|
readonly indexed: false;
|
|
2028
2044
|
}, {
|
|
2029
|
-
readonly name: "
|
|
2030
|
-
readonly internalType: "
|
|
2031
|
-
readonly type: "
|
|
2032
|
-
readonly indexed: false;
|
|
2033
|
-
}, {
|
|
2034
|
-
readonly name: "policy";
|
|
2035
|
-
readonly internalType: "address";
|
|
2036
|
-
readonly type: "address";
|
|
2045
|
+
readonly name: "swapFeeIdx";
|
|
2046
|
+
readonly internalType: "uint8";
|
|
2047
|
+
readonly type: "uint8";
|
|
2037
2048
|
readonly indexed: false;
|
|
2038
2049
|
}, {
|
|
2039
|
-
readonly name: "
|
|
2040
|
-
readonly internalType: "
|
|
2041
|
-
readonly type: "
|
|
2050
|
+
readonly name: "spacingIdx";
|
|
2051
|
+
readonly internalType: "uint8";
|
|
2052
|
+
readonly type: "uint8";
|
|
2042
2053
|
readonly indexed: false;
|
|
2043
2054
|
}, {
|
|
2044
|
-
readonly name: "
|
|
2045
|
-
readonly internalType: "
|
|
2046
|
-
readonly type: "
|
|
2055
|
+
readonly name: "salt";
|
|
2056
|
+
readonly internalType: "bytes32";
|
|
2057
|
+
readonly type: "bytes32";
|
|
2047
2058
|
readonly indexed: false;
|
|
2048
2059
|
}, {
|
|
2049
2060
|
readonly name: "initialLogPrice";
|
|
@@ -2055,11 +2066,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2055
2066
|
readonly internalType: "uint256";
|
|
2056
2067
|
readonly type: "uint256";
|
|
2057
2068
|
readonly indexed: false;
|
|
2058
|
-
}, {
|
|
2059
|
-
readonly name: "salt";
|
|
2060
|
-
readonly internalType: "bytes32";
|
|
2061
|
-
readonly type: "bytes32";
|
|
2062
|
-
readonly indexed: false;
|
|
2063
2069
|
}];
|
|
2064
2070
|
readonly name: "PoolCreated";
|
|
2065
2071
|
}, {
|
|
@@ -2071,7 +2077,7 @@ export declare const managerCAbi: readonly [{
|
|
|
2071
2077
|
readonly type: "bytes32";
|
|
2072
2078
|
readonly indexed: true;
|
|
2073
2079
|
}, {
|
|
2074
|
-
readonly name: "
|
|
2080
|
+
readonly name: "owner";
|
|
2075
2081
|
readonly internalType: "address";
|
|
2076
2082
|
readonly type: "address";
|
|
2077
2083
|
readonly indexed: true;
|
|
@@ -2120,6 +2126,16 @@ export declare const managerCAbi: readonly [{
|
|
|
2120
2126
|
readonly internalType: "uint256";
|
|
2121
2127
|
readonly type: "uint256";
|
|
2122
2128
|
readonly indexed: true;
|
|
2129
|
+
}, {
|
|
2130
|
+
readonly name: "sender";
|
|
2131
|
+
readonly internalType: "address";
|
|
2132
|
+
readonly type: "address";
|
|
2133
|
+
readonly indexed: false;
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly name: "payer";
|
|
2136
|
+
readonly internalType: "address";
|
|
2137
|
+
readonly type: "address";
|
|
2138
|
+
readonly indexed: false;
|
|
2123
2139
|
}, {
|
|
2124
2140
|
readonly name: "shares";
|
|
2125
2141
|
readonly internalType: "uint256";
|
|
@@ -2146,7 +2162,7 @@ export declare const managerCAbi: readonly [{
|
|
|
2146
2162
|
readonly type: "bytes32";
|
|
2147
2163
|
readonly indexed: true;
|
|
2148
2164
|
}, {
|
|
2149
|
-
readonly name: "
|
|
2165
|
+
readonly name: "owner";
|
|
2150
2166
|
readonly internalType: "address";
|
|
2151
2167
|
readonly type: "address";
|
|
2152
2168
|
readonly indexed: true;
|
|
@@ -2195,6 +2211,11 @@ export declare const managerCAbi: readonly [{
|
|
|
2195
2211
|
readonly internalType: "bytes32";
|
|
2196
2212
|
readonly type: "bytes32";
|
|
2197
2213
|
readonly indexed: true;
|
|
2214
|
+
}, {
|
|
2215
|
+
readonly name: "sender";
|
|
2216
|
+
readonly internalType: "address";
|
|
2217
|
+
readonly type: "address";
|
|
2218
|
+
readonly indexed: true;
|
|
2198
2219
|
}, {
|
|
2199
2220
|
readonly name: "to";
|
|
2200
2221
|
readonly internalType: "address";
|
|
@@ -2351,14 +2372,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2351
2372
|
readonly type: "error";
|
|
2352
2373
|
readonly inputs: readonly [];
|
|
2353
2374
|
readonly name: "AlreadyUnlocked";
|
|
2354
|
-
}, {
|
|
2355
|
-
readonly type: "error";
|
|
2356
|
-
readonly inputs: readonly [];
|
|
2357
|
-
readonly name: "BackstopMustBeUncapped";
|
|
2358
|
-
}, {
|
|
2359
|
-
readonly type: "error";
|
|
2360
|
-
readonly inputs: readonly [];
|
|
2361
|
-
readonly name: "BackstopTooSmall";
|
|
2362
2375
|
}, {
|
|
2363
2376
|
readonly type: "error";
|
|
2364
2377
|
readonly inputs: readonly [];
|
|
@@ -2391,10 +2404,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2391
2404
|
readonly type: "error";
|
|
2392
2405
|
readonly inputs: readonly [];
|
|
2393
2406
|
readonly name: "DrainsBase";
|
|
2394
|
-
}, {
|
|
2395
|
-
readonly type: "error";
|
|
2396
|
-
readonly inputs: readonly [];
|
|
2397
|
-
readonly name: "IdenticalTokens";
|
|
2398
2407
|
}, {
|
|
2399
2408
|
readonly type: "error";
|
|
2400
2409
|
readonly inputs: readonly [];
|
|
@@ -2423,10 +2432,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2423
2432
|
readonly type: "error";
|
|
2424
2433
|
readonly inputs: readonly [];
|
|
2425
2434
|
readonly name: "NotAuthorized";
|
|
2426
|
-
}, {
|
|
2427
|
-
readonly type: "error";
|
|
2428
|
-
readonly inputs: readonly [];
|
|
2429
|
-
readonly name: "NotCreator";
|
|
2430
2435
|
}, {
|
|
2431
2436
|
readonly type: "error";
|
|
2432
2437
|
readonly inputs: readonly [];
|
|
@@ -2443,6 +2448,10 @@ export declare const managerCAbi: readonly [{
|
|
|
2443
2448
|
readonly type: "error";
|
|
2444
2449
|
readonly inputs: readonly [];
|
|
2445
2450
|
readonly name: "OffGrid";
|
|
2451
|
+
}, {
|
|
2452
|
+
readonly type: "error";
|
|
2453
|
+
readonly inputs: readonly [];
|
|
2454
|
+
readonly name: "PolicyNotApproved";
|
|
2446
2455
|
}, {
|
|
2447
2456
|
readonly type: "error";
|
|
2448
2457
|
readonly inputs: readonly [];
|
|
@@ -2478,11 +2487,11 @@ export declare const managerCAbi: readonly [{
|
|
|
2478
2487
|
}, {
|
|
2479
2488
|
readonly type: "error";
|
|
2480
2489
|
readonly inputs: readonly [];
|
|
2481
|
-
readonly name: "
|
|
2490
|
+
readonly name: "SameAsset";
|
|
2482
2491
|
}, {
|
|
2483
2492
|
readonly type: "error";
|
|
2484
2493
|
readonly inputs: readonly [];
|
|
2485
|
-
readonly name: "
|
|
2494
|
+
readonly name: "Slippage";
|
|
2486
2495
|
}, {
|
|
2487
2496
|
readonly type: "error";
|
|
2488
2497
|
readonly inputs: readonly [];
|
|
@@ -2507,10 +2516,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2507
2516
|
readonly type: "error";
|
|
2508
2517
|
readonly inputs: readonly [];
|
|
2509
2518
|
readonly name: "ZeroExposure";
|
|
2510
|
-
}, {
|
|
2511
|
-
readonly type: "error";
|
|
2512
|
-
readonly inputs: readonly [];
|
|
2513
|
-
readonly name: "ZeroShares";
|
|
2514
2519
|
}];
|
|
2515
2520
|
export declare const managerFAbi: readonly [{
|
|
2516
2521
|
readonly type: "constructor";
|
|
@@ -2652,6 +2657,10 @@ export declare const managerFAbi: readonly [{
|
|
|
2652
2657
|
readonly name: "gen";
|
|
2653
2658
|
readonly internalType: "uint256";
|
|
2654
2659
|
readonly type: "uint256";
|
|
2660
|
+
}, {
|
|
2661
|
+
readonly name: "owner";
|
|
2662
|
+
readonly internalType: "address";
|
|
2663
|
+
readonly type: "address";
|
|
2655
2664
|
}, {
|
|
2656
2665
|
readonly name: "to";
|
|
2657
2666
|
readonly internalType: "address";
|
|
@@ -2777,20 +2786,6 @@ export declare const managerFAbi: readonly [{
|
|
|
2777
2786
|
readonly type: "uint256";
|
|
2778
2787
|
}];
|
|
2779
2788
|
readonly stateMutability: "nonpayable";
|
|
2780
|
-
}, {
|
|
2781
|
-
readonly type: "function";
|
|
2782
|
-
readonly inputs: readonly [{
|
|
2783
|
-
readonly name: "";
|
|
2784
|
-
readonly internalType: "uint256";
|
|
2785
|
-
readonly type: "uint256";
|
|
2786
|
-
}];
|
|
2787
|
-
readonly name: "dps";
|
|
2788
|
-
readonly outputs: readonly [{
|
|
2789
|
-
readonly name: "";
|
|
2790
|
-
readonly internalType: "uint256";
|
|
2791
|
-
readonly type: "uint256";
|
|
2792
|
-
}];
|
|
2793
|
-
readonly stateMutability: "view";
|
|
2794
2789
|
}, {
|
|
2795
2790
|
readonly type: "function";
|
|
2796
2791
|
readonly inputs: readonly [{
|
|
@@ -2855,20 +2850,6 @@ export declare const managerFAbi: readonly [{
|
|
|
2855
2850
|
readonly name: "harvest";
|
|
2856
2851
|
readonly outputs: readonly [];
|
|
2857
2852
|
readonly stateMutability: "nonpayable";
|
|
2858
|
-
}, {
|
|
2859
|
-
readonly type: "function";
|
|
2860
|
-
readonly inputs: readonly [{
|
|
2861
|
-
readonly name: "";
|
|
2862
|
-
readonly internalType: "uint256";
|
|
2863
|
-
readonly type: "uint256";
|
|
2864
|
-
}];
|
|
2865
|
-
readonly name: "incomeHeld";
|
|
2866
|
-
readonly outputs: readonly [{
|
|
2867
|
-
readonly name: "";
|
|
2868
|
-
readonly internalType: "uint256";
|
|
2869
|
-
readonly type: "uint256";
|
|
2870
|
-
}];
|
|
2871
|
-
readonly stateMutability: "view";
|
|
2872
2853
|
}, {
|
|
2873
2854
|
readonly type: "function";
|
|
2874
2855
|
readonly inputs: readonly [{
|
|
@@ -2978,6 +2959,10 @@ export declare const managerFAbi: readonly [{
|
|
|
2978
2959
|
readonly name: "poolId";
|
|
2979
2960
|
readonly internalType: "bytes32";
|
|
2980
2961
|
readonly type: "bytes32";
|
|
2962
|
+
}, {
|
|
2963
|
+
readonly name: "payer";
|
|
2964
|
+
readonly internalType: "address";
|
|
2965
|
+
readonly type: "address";
|
|
2981
2966
|
}, {
|
|
2982
2967
|
readonly name: "to";
|
|
2983
2968
|
readonly internalType: "address";
|
|
@@ -3019,7 +3004,7 @@ export declare const managerFAbi: readonly [{
|
|
|
3019
3004
|
}, {
|
|
3020
3005
|
readonly type: "function";
|
|
3021
3006
|
readonly inputs: readonly [{
|
|
3022
|
-
readonly name: "
|
|
3007
|
+
readonly name: "data";
|
|
3023
3008
|
readonly internalType: "bytes[]";
|
|
3024
3009
|
readonly type: "bytes[]";
|
|
3025
3010
|
}];
|
|
@@ -3463,16 +3448,16 @@ export declare const managerFAbi: readonly [{
|
|
|
3463
3448
|
readonly internalType: "bytes32";
|
|
3464
3449
|
readonly type: "bytes32";
|
|
3465
3450
|
readonly indexed: true;
|
|
3451
|
+
}, {
|
|
3452
|
+
readonly name: "owner";
|
|
3453
|
+
readonly internalType: "address";
|
|
3454
|
+
readonly type: "address";
|
|
3455
|
+
readonly indexed: true;
|
|
3466
3456
|
}, {
|
|
3467
3457
|
readonly name: "gen";
|
|
3468
3458
|
readonly internalType: "uint256";
|
|
3469
3459
|
readonly type: "uint256";
|
|
3470
3460
|
readonly indexed: true;
|
|
3471
|
-
}, {
|
|
3472
|
-
readonly name: "holder";
|
|
3473
|
-
readonly internalType: "address";
|
|
3474
|
-
readonly type: "address";
|
|
3475
|
-
readonly indexed: true;
|
|
3476
3461
|
}, {
|
|
3477
3462
|
readonly name: "to";
|
|
3478
3463
|
readonly internalType: "address";
|
|
@@ -3518,6 +3503,11 @@ export declare const managerFAbi: readonly [{
|
|
|
3518
3503
|
readonly internalType: "uint256";
|
|
3519
3504
|
readonly type: "uint256";
|
|
3520
3505
|
readonly indexed: true;
|
|
3506
|
+
}, {
|
|
3507
|
+
readonly name: "operator";
|
|
3508
|
+
readonly internalType: "address";
|
|
3509
|
+
readonly type: "address";
|
|
3510
|
+
readonly indexed: true;
|
|
3521
3511
|
}, {
|
|
3522
3512
|
readonly name: "supply";
|
|
3523
3513
|
readonly internalType: "uint256";
|
|
@@ -3543,6 +3533,11 @@ export declare const managerFAbi: readonly [{
|
|
|
3543
3533
|
readonly internalType: "address";
|
|
3544
3534
|
readonly type: "address";
|
|
3545
3535
|
readonly indexed: true;
|
|
3536
|
+
}, {
|
|
3537
|
+
readonly name: "operator";
|
|
3538
|
+
readonly internalType: "address";
|
|
3539
|
+
readonly type: "address";
|
|
3540
|
+
readonly indexed: true;
|
|
3546
3541
|
}, {
|
|
3547
3542
|
readonly name: "gen";
|
|
3548
3543
|
readonly internalType: "uint256";
|
|
@@ -3653,6 +3648,11 @@ export declare const managerFAbi: readonly [{
|
|
|
3653
3648
|
readonly internalType: "uint256";
|
|
3654
3649
|
readonly type: "uint256";
|
|
3655
3650
|
readonly indexed: true;
|
|
3651
|
+
}, {
|
|
3652
|
+
readonly name: "operator";
|
|
3653
|
+
readonly internalType: "address";
|
|
3654
|
+
readonly type: "address";
|
|
3655
|
+
readonly indexed: true;
|
|
3656
3656
|
}, {
|
|
3657
3657
|
readonly name: "quoteAmount";
|
|
3658
3658
|
readonly internalType: "uint256";
|
|
@@ -3716,6 +3716,11 @@ export declare const managerFAbi: readonly [{
|
|
|
3716
3716
|
readonly internalType: "address";
|
|
3717
3717
|
readonly type: "address";
|
|
3718
3718
|
readonly indexed: true;
|
|
3719
|
+
}, {
|
|
3720
|
+
readonly name: "creator";
|
|
3721
|
+
readonly internalType: "address";
|
|
3722
|
+
readonly type: "address";
|
|
3723
|
+
readonly indexed: false;
|
|
3719
3724
|
}, {
|
|
3720
3725
|
readonly name: "policy";
|
|
3721
3726
|
readonly internalType: "address";
|
|
@@ -3767,7 +3772,7 @@ export declare const managerFAbi: readonly [{
|
|
|
3767
3772
|
readonly type: "bytes32";
|
|
3768
3773
|
readonly indexed: true;
|
|
3769
3774
|
}, {
|
|
3770
|
-
readonly name: "
|
|
3775
|
+
readonly name: "owner";
|
|
3771
3776
|
readonly internalType: "address";
|
|
3772
3777
|
readonly type: "address";
|
|
3773
3778
|
readonly indexed: true;
|
|
@@ -3775,7 +3780,7 @@ export declare const managerFAbi: readonly [{
|
|
|
3775
3780
|
readonly name: "gen";
|
|
3776
3781
|
readonly internalType: "uint256";
|
|
3777
3782
|
readonly type: "uint256";
|
|
3778
|
-
readonly indexed:
|
|
3783
|
+
readonly indexed: true;
|
|
3779
3784
|
}, {
|
|
3780
3785
|
readonly name: "L";
|
|
3781
3786
|
readonly internalType: "uint256";
|
|
@@ -3820,6 +3825,16 @@ export declare const managerFAbi: readonly [{
|
|
|
3820
3825
|
readonly name: "gen";
|
|
3821
3826
|
readonly internalType: "uint256";
|
|
3822
3827
|
readonly type: "uint256";
|
|
3828
|
+
readonly indexed: true;
|
|
3829
|
+
}, {
|
|
3830
|
+
readonly name: "sender";
|
|
3831
|
+
readonly internalType: "address";
|
|
3832
|
+
readonly type: "address";
|
|
3833
|
+
readonly indexed: false;
|
|
3834
|
+
}, {
|
|
3835
|
+
readonly name: "payer";
|
|
3836
|
+
readonly internalType: "address";
|
|
3837
|
+
readonly type: "address";
|
|
3823
3838
|
readonly indexed: false;
|
|
3824
3839
|
}, {
|
|
3825
3840
|
readonly name: "L";
|
|
@@ -3856,16 +3871,16 @@ export declare const managerFAbi: readonly [{
|
|
|
3856
3871
|
readonly internalType: "bytes32";
|
|
3857
3872
|
readonly type: "bytes32";
|
|
3858
3873
|
readonly indexed: true;
|
|
3859
|
-
}, {
|
|
3860
|
-
readonly name: "gen";
|
|
3861
|
-
readonly internalType: "uint256";
|
|
3862
|
-
readonly type: "uint256";
|
|
3863
|
-
readonly indexed: true;
|
|
3864
3874
|
}, {
|
|
3865
3875
|
readonly name: "owner";
|
|
3866
3876
|
readonly internalType: "address";
|
|
3867
3877
|
readonly type: "address";
|
|
3868
3878
|
readonly indexed: true;
|
|
3879
|
+
}, {
|
|
3880
|
+
readonly name: "gen";
|
|
3881
|
+
readonly internalType: "uint256";
|
|
3882
|
+
readonly type: "uint256";
|
|
3883
|
+
readonly indexed: true;
|
|
3869
3884
|
}, {
|
|
3870
3885
|
readonly name: "shares";
|
|
3871
3886
|
readonly internalType: "uint256";
|
|
@@ -4093,10 +4108,6 @@ export declare const managerFAbi: readonly [{
|
|
|
4093
4108
|
readonly type: "error";
|
|
4094
4109
|
readonly inputs: readonly [];
|
|
4095
4110
|
readonly name: "NotAuthorized";
|
|
4096
|
-
}, {
|
|
4097
|
-
readonly type: "error";
|
|
4098
|
-
readonly inputs: readonly [];
|
|
4099
|
-
readonly name: "NotCreator";
|
|
4100
4111
|
}, {
|
|
4101
4112
|
readonly type: "error";
|
|
4102
4113
|
readonly inputs: readonly [];
|
|
@@ -4194,7 +4205,7 @@ export declare const managerFAbi: readonly [{
|
|
|
4194
4205
|
readonly inputs: readonly [];
|
|
4195
4206
|
readonly name: "ZeroAmount";
|
|
4196
4207
|
}];
|
|
4197
|
-
export declare const
|
|
4208
|
+
export declare const policyCAbi: readonly [{
|
|
4198
4209
|
readonly type: "constructor";
|
|
4199
4210
|
readonly inputs: readonly [{
|
|
4200
4211
|
readonly name: "manager_";
|
|
@@ -4202,7 +4213,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4202
4213
|
readonly type: "address";
|
|
4203
4214
|
}, {
|
|
4204
4215
|
readonly name: "p";
|
|
4205
|
-
readonly internalType: "struct
|
|
4216
|
+
readonly internalType: "struct PolicyCParams";
|
|
4206
4217
|
readonly type: "tuple";
|
|
4207
4218
|
readonly components: readonly [{
|
|
4208
4219
|
readonly name: "authority";
|
|
@@ -4212,34 +4223,14 @@ export declare const policyFAbi: readonly [{
|
|
|
4212
4223
|
readonly name: "open";
|
|
4213
4224
|
readonly internalType: "bool";
|
|
4214
4225
|
readonly type: "bool";
|
|
4215
|
-
}, {
|
|
4216
|
-
readonly name: "seedToDead";
|
|
4217
|
-
readonly internalType: "bool";
|
|
4218
|
-
readonly type: "bool";
|
|
4219
|
-
}, {
|
|
4220
|
-
readonly name: "incomeHarvestOnly";
|
|
4221
|
-
readonly internalType: "bool";
|
|
4222
|
-
readonly type: "bool";
|
|
4223
|
-
}, {
|
|
4224
|
-
readonly name: "incomeTaxRate";
|
|
4225
|
-
readonly internalType: "uint256";
|
|
4226
|
-
readonly type: "uint256";
|
|
4227
4226
|
}, {
|
|
4228
4227
|
readonly name: "feeMask";
|
|
4229
4228
|
readonly internalType: "uint8";
|
|
4230
4229
|
readonly type: "uint8";
|
|
4231
4230
|
}, {
|
|
4232
|
-
readonly name: "
|
|
4233
|
-
readonly internalType: "
|
|
4234
|
-
readonly type: "
|
|
4235
|
-
}, {
|
|
4236
|
-
readonly name: "lnCapMin";
|
|
4237
|
-
readonly internalType: "uint24";
|
|
4238
|
-
readonly type: "uint24";
|
|
4239
|
-
}, {
|
|
4240
|
-
readonly name: "quoteBuffer";
|
|
4241
|
-
readonly internalType: "uint256";
|
|
4242
|
-
readonly type: "uint256";
|
|
4231
|
+
readonly name: "swapFeeTax";
|
|
4232
|
+
readonly internalType: "uint256";
|
|
4233
|
+
readonly type: "uint256";
|
|
4243
4234
|
}, {
|
|
4244
4235
|
readonly name: "quotes";
|
|
4245
4236
|
readonly internalType: "address[]";
|
|
@@ -4339,26 +4330,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4339
4330
|
readonly type: "address";
|
|
4340
4331
|
}];
|
|
4341
4332
|
readonly stateMutability: "view";
|
|
4342
|
-
}, {
|
|
4343
|
-
readonly type: "function";
|
|
4344
|
-
readonly inputs: readonly [];
|
|
4345
|
-
readonly name: "incomeHarvestOnly";
|
|
4346
|
-
readonly outputs: readonly [{
|
|
4347
|
-
readonly name: "";
|
|
4348
|
-
readonly internalType: "bool";
|
|
4349
|
-
readonly type: "bool";
|
|
4350
|
-
}];
|
|
4351
|
-
readonly stateMutability: "view";
|
|
4352
|
-
}, {
|
|
4353
|
-
readonly type: "function";
|
|
4354
|
-
readonly inputs: readonly [];
|
|
4355
|
-
readonly name: "incomeTaxRate";
|
|
4356
|
-
readonly outputs: readonly [{
|
|
4357
|
-
readonly name: "";
|
|
4358
|
-
readonly internalType: "uint256";
|
|
4359
|
-
readonly type: "uint256";
|
|
4360
|
-
}];
|
|
4361
|
-
readonly stateMutability: "view";
|
|
4362
4333
|
}, {
|
|
4363
4334
|
readonly type: "function";
|
|
4364
4335
|
readonly inputs: readonly [];
|
|
@@ -4369,26 +4340,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4369
4340
|
readonly type: "bytes32";
|
|
4370
4341
|
}];
|
|
4371
4342
|
readonly stateMutability: "pure";
|
|
4372
|
-
}, {
|
|
4373
|
-
readonly type: "function";
|
|
4374
|
-
readonly inputs: readonly [];
|
|
4375
|
-
readonly name: "lenMax";
|
|
4376
|
-
readonly outputs: readonly [{
|
|
4377
|
-
readonly name: "";
|
|
4378
|
-
readonly internalType: "uint8";
|
|
4379
|
-
readonly type: "uint8";
|
|
4380
|
-
}];
|
|
4381
|
-
readonly stateMutability: "view";
|
|
4382
|
-
}, {
|
|
4383
|
-
readonly type: "function";
|
|
4384
|
-
readonly inputs: readonly [];
|
|
4385
|
-
readonly name: "lnCapMin";
|
|
4386
|
-
readonly outputs: readonly [{
|
|
4387
|
-
readonly name: "";
|
|
4388
|
-
readonly internalType: "uint24";
|
|
4389
|
-
readonly type: "uint24";
|
|
4390
|
-
}];
|
|
4391
|
-
readonly stateMutability: "view";
|
|
4392
4343
|
}, {
|
|
4393
4344
|
readonly type: "function";
|
|
4394
4345
|
readonly inputs: readonly [];
|
|
@@ -4407,7 +4358,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4407
4358
|
readonly type: "bytes32";
|
|
4408
4359
|
}, {
|
|
4409
4360
|
readonly name: "action";
|
|
4410
|
-
readonly internalType: "enum
|
|
4361
|
+
readonly internalType: "enum IPolicyBase.Action";
|
|
4411
4362
|
readonly type: "uint8";
|
|
4412
4363
|
}, {
|
|
4413
4364
|
readonly name: "who";
|
|
@@ -4421,66 +4372,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4421
4372
|
readonly type: "bytes4";
|
|
4422
4373
|
}];
|
|
4423
4374
|
readonly stateMutability: "view";
|
|
4424
|
-
}, {
|
|
4425
|
-
readonly type: "function";
|
|
4426
|
-
readonly inputs: readonly [{
|
|
4427
|
-
readonly name: "";
|
|
4428
|
-
readonly internalType: "bytes32";
|
|
4429
|
-
readonly type: "bytes32";
|
|
4430
|
-
}, {
|
|
4431
|
-
readonly name: "n";
|
|
4432
|
-
readonly internalType: "uint256";
|
|
4433
|
-
readonly type: "uint256";
|
|
4434
|
-
}, {
|
|
4435
|
-
readonly name: "quoteAmount";
|
|
4436
|
-
readonly internalType: "uint256";
|
|
4437
|
-
readonly type: "uint256";
|
|
4438
|
-
}, {
|
|
4439
|
-
readonly name: "lnCapOverSeed";
|
|
4440
|
-
readonly internalType: "uint24";
|
|
4441
|
-
readonly type: "uint24";
|
|
4442
|
-
}, {
|
|
4443
|
-
readonly name: "L";
|
|
4444
|
-
readonly internalType: "uint256";
|
|
4445
|
-
readonly type: "uint256";
|
|
4446
|
-
}];
|
|
4447
|
-
readonly name: "mayDeploy";
|
|
4448
|
-
readonly outputs: readonly [{
|
|
4449
|
-
readonly name: "";
|
|
4450
|
-
readonly internalType: "bytes4";
|
|
4451
|
-
readonly type: "bytes4";
|
|
4452
|
-
}];
|
|
4453
|
-
readonly stateMutability: "view";
|
|
4454
|
-
}, {
|
|
4455
|
-
readonly type: "function";
|
|
4456
|
-
readonly inputs: readonly [{
|
|
4457
|
-
readonly name: "";
|
|
4458
|
-
readonly internalType: "bytes32";
|
|
4459
|
-
readonly type: "bytes32";
|
|
4460
|
-
}, {
|
|
4461
|
-
readonly name: "income";
|
|
4462
|
-
readonly internalType: "uint256";
|
|
4463
|
-
readonly type: "uint256";
|
|
4464
|
-
}, {
|
|
4465
|
-
readonly name: "extra";
|
|
4466
|
-
readonly internalType: "uint256";
|
|
4467
|
-
readonly type: "uint256";
|
|
4468
|
-
}, {
|
|
4469
|
-
readonly name: "Q";
|
|
4470
|
-
readonly internalType: "uint256";
|
|
4471
|
-
readonly type: "uint256";
|
|
4472
|
-
}, {
|
|
4473
|
-
readonly name: "L";
|
|
4474
|
-
readonly internalType: "uint256";
|
|
4475
|
-
readonly type: "uint256";
|
|
4476
|
-
}];
|
|
4477
|
-
readonly name: "mayHarvest";
|
|
4478
|
-
readonly outputs: readonly [{
|
|
4479
|
-
readonly name: "";
|
|
4480
|
-
readonly internalType: "bytes4";
|
|
4481
|
-
readonly type: "bytes4";
|
|
4482
|
-
}];
|
|
4483
|
-
readonly stateMutability: "view";
|
|
4484
4375
|
}, {
|
|
4485
4376
|
readonly type: "function";
|
|
4486
4377
|
readonly inputs: readonly [{
|
|
@@ -4496,9 +4387,9 @@ export declare const policyFAbi: readonly [{
|
|
|
4496
4387
|
readonly internalType: "address";
|
|
4497
4388
|
readonly type: "address";
|
|
4498
4389
|
}, {
|
|
4499
|
-
readonly name: "
|
|
4500
|
-
readonly internalType: "address
|
|
4501
|
-
readonly type: "address
|
|
4390
|
+
readonly name: "base";
|
|
4391
|
+
readonly internalType: "address";
|
|
4392
|
+
readonly type: "address";
|
|
4502
4393
|
}, {
|
|
4503
4394
|
readonly name: "swapFeeIdx";
|
|
4504
4395
|
readonly internalType: "uint8";
|
|
@@ -4517,6 +4408,10 @@ export declare const policyFAbi: readonly [{
|
|
|
4517
4408
|
readonly name: "op";
|
|
4518
4409
|
readonly internalType: "address";
|
|
4519
4410
|
readonly type: "address";
|
|
4411
|
+
}, {
|
|
4412
|
+
readonly name: "tax";
|
|
4413
|
+
readonly internalType: "uint256";
|
|
4414
|
+
readonly type: "uint256";
|
|
4520
4415
|
}];
|
|
4521
4416
|
readonly stateMutability: "nonpayable";
|
|
4522
4417
|
}, {
|
|
@@ -4529,7 +4424,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4529
4424
|
readonly name: "mintMode";
|
|
4530
4425
|
readonly outputs: readonly [{
|
|
4531
4426
|
readonly name: "";
|
|
4532
|
-
readonly internalType: "enum
|
|
4427
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4533
4428
|
readonly type: "uint8";
|
|
4534
4429
|
}];
|
|
4535
4430
|
readonly stateMutability: "view";
|
|
@@ -4557,16 +4452,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4557
4452
|
readonly type: "address";
|
|
4558
4453
|
}];
|
|
4559
4454
|
readonly stateMutability: "view";
|
|
4560
|
-
}, {
|
|
4561
|
-
readonly type: "function";
|
|
4562
|
-
readonly inputs: readonly [];
|
|
4563
|
-
readonly name: "quoteBuffer";
|
|
4564
|
-
readonly outputs: readonly [{
|
|
4565
|
-
readonly name: "";
|
|
4566
|
-
readonly internalType: "uint256";
|
|
4567
|
-
readonly type: "uint256";
|
|
4568
|
-
}];
|
|
4569
|
-
readonly stateMutability: "view";
|
|
4570
4455
|
}, {
|
|
4571
4456
|
readonly type: "function";
|
|
4572
4457
|
readonly inputs: readonly [];
|
|
@@ -4605,16 +4490,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4605
4490
|
readonly type: "uint8";
|
|
4606
4491
|
}];
|
|
4607
4492
|
readonly stateMutability: "view";
|
|
4608
|
-
}, {
|
|
4609
|
-
readonly type: "function";
|
|
4610
|
-
readonly inputs: readonly [];
|
|
4611
|
-
readonly name: "seedToDead";
|
|
4612
|
-
readonly outputs: readonly [{
|
|
4613
|
-
readonly name: "";
|
|
4614
|
-
readonly internalType: "bool";
|
|
4615
|
-
readonly type: "bool";
|
|
4616
|
-
}];
|
|
4617
|
-
readonly stateMutability: "view";
|
|
4618
4493
|
}, {
|
|
4619
4494
|
readonly type: "function";
|
|
4620
4495
|
readonly inputs: readonly [{
|
|
@@ -4623,7 +4498,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4623
4498
|
readonly type: "bytes32";
|
|
4624
4499
|
}, {
|
|
4625
4500
|
readonly name: "mode";
|
|
4626
|
-
readonly internalType: "enum
|
|
4501
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4627
4502
|
readonly type: "uint8";
|
|
4628
4503
|
}];
|
|
4629
4504
|
readonly name: "setMintMode";
|
|
@@ -4665,7 +4540,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4665
4540
|
readonly type: "bytes32";
|
|
4666
4541
|
}, {
|
|
4667
4542
|
readonly name: "mode";
|
|
4668
|
-
readonly internalType: "enum
|
|
4543
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4669
4544
|
readonly type: "uint8";
|
|
4670
4545
|
}];
|
|
4671
4546
|
readonly name: "setSwapMode";
|
|
@@ -4673,34 +4548,26 @@ export declare const policyFAbi: readonly [{
|
|
|
4673
4548
|
readonly stateMutability: "nonpayable";
|
|
4674
4549
|
}, {
|
|
4675
4550
|
readonly type: "function";
|
|
4676
|
-
readonly inputs: readonly [
|
|
4677
|
-
|
|
4678
|
-
readonly internalType: "bytes32";
|
|
4679
|
-
readonly type: "bytes32";
|
|
4680
|
-
}];
|
|
4681
|
-
readonly name: "swapMode";
|
|
4551
|
+
readonly inputs: readonly [];
|
|
4552
|
+
readonly name: "swapFeeTax";
|
|
4682
4553
|
readonly outputs: readonly [{
|
|
4683
4554
|
readonly name: "";
|
|
4684
|
-
readonly internalType: "
|
|
4685
|
-
readonly type: "
|
|
4555
|
+
readonly internalType: "uint256";
|
|
4556
|
+
readonly type: "uint256";
|
|
4686
4557
|
}];
|
|
4687
4558
|
readonly stateMutability: "view";
|
|
4688
4559
|
}, {
|
|
4689
4560
|
readonly type: "function";
|
|
4690
4561
|
readonly inputs: readonly [{
|
|
4691
|
-
readonly name: "
|
|
4562
|
+
readonly name: "";
|
|
4692
4563
|
readonly internalType: "bytes32";
|
|
4693
4564
|
readonly type: "bytes32";
|
|
4694
4565
|
}];
|
|
4695
|
-
readonly name: "
|
|
4566
|
+
readonly name: "swapMode";
|
|
4696
4567
|
readonly outputs: readonly [{
|
|
4697
|
-
readonly name: "
|
|
4698
|
-
readonly internalType: "
|
|
4699
|
-
readonly type: "
|
|
4700
|
-
}, {
|
|
4701
|
-
readonly name: "rate";
|
|
4702
|
-
readonly internalType: "uint256";
|
|
4703
|
-
readonly type: "uint256";
|
|
4568
|
+
readonly name: "";
|
|
4569
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4570
|
+
readonly type: "uint8";
|
|
4704
4571
|
}];
|
|
4705
4572
|
readonly stateMutability: "view";
|
|
4706
4573
|
}, {
|
|
@@ -4713,7 +4580,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4713
4580
|
readonly indexed: true;
|
|
4714
4581
|
}, {
|
|
4715
4582
|
readonly name: "mode";
|
|
4716
|
-
readonly internalType: "enum
|
|
4583
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4717
4584
|
readonly type: "uint8";
|
|
4718
4585
|
readonly indexed: false;
|
|
4719
4586
|
}];
|
|
@@ -4778,7 +4645,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4778
4645
|
readonly indexed: true;
|
|
4779
4646
|
}, {
|
|
4780
4647
|
readonly name: "mode";
|
|
4781
|
-
readonly internalType: "enum
|
|
4648
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4782
4649
|
readonly type: "uint8";
|
|
4783
4650
|
readonly indexed: false;
|
|
4784
4651
|
}];
|
|
@@ -4803,10 +4670,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4803
4670
|
readonly type: "address";
|
|
4804
4671
|
}];
|
|
4805
4672
|
readonly name: "BaseNotListed";
|
|
4806
|
-
}, {
|
|
4807
|
-
readonly type: "error";
|
|
4808
|
-
readonly inputs: readonly [];
|
|
4809
|
-
readonly name: "CapTooClose";
|
|
4810
4673
|
}, {
|
|
4811
4674
|
readonly type: "error";
|
|
4812
4675
|
readonly inputs: readonly [{
|
|
@@ -4823,10 +4686,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4823
4686
|
readonly type: "error";
|
|
4824
4687
|
readonly inputs: readonly [];
|
|
4825
4688
|
readonly name: "InactivePool";
|
|
4826
|
-
}, {
|
|
4827
|
-
readonly type: "error";
|
|
4828
|
-
readonly inputs: readonly [];
|
|
4829
|
-
readonly name: "IncomeOnly";
|
|
4830
4689
|
}, {
|
|
4831
4690
|
readonly type: "error";
|
|
4832
4691
|
readonly inputs: readonly [];
|
|
@@ -4855,81 +4714,120 @@ export declare const policyFAbi: readonly [{
|
|
|
4855
4714
|
readonly type: "address";
|
|
4856
4715
|
}];
|
|
4857
4716
|
readonly name: "QuoteNotListed";
|
|
4858
|
-
}, {
|
|
4859
|
-
readonly type: "error";
|
|
4860
|
-
readonly inputs: readonly [];
|
|
4861
|
-
readonly name: "QuoteTooThin";
|
|
4862
4717
|
}, {
|
|
4863
4718
|
readonly type: "error";
|
|
4864
4719
|
readonly inputs: readonly [];
|
|
4865
4720
|
readonly name: "Refused";
|
|
4866
|
-
}, {
|
|
4867
|
-
readonly type: "error";
|
|
4868
|
-
readonly inputs: readonly [];
|
|
4869
|
-
readonly name: "TooManyLegs";
|
|
4870
4721
|
}];
|
|
4871
|
-
export declare const
|
|
4722
|
+
export declare const policyFAbi: readonly [{
|
|
4872
4723
|
readonly type: "constructor";
|
|
4873
4724
|
readonly inputs: readonly [{
|
|
4874
|
-
readonly name: "
|
|
4725
|
+
readonly name: "manager_";
|
|
4875
4726
|
readonly internalType: "address";
|
|
4876
4727
|
readonly type: "address";
|
|
4728
|
+
}, {
|
|
4729
|
+
readonly name: "p";
|
|
4730
|
+
readonly internalType: "struct PolicyParams";
|
|
4731
|
+
readonly type: "tuple";
|
|
4732
|
+
readonly components: readonly [{
|
|
4733
|
+
readonly name: "authority";
|
|
4734
|
+
readonly internalType: "address";
|
|
4735
|
+
readonly type: "address";
|
|
4736
|
+
}, {
|
|
4737
|
+
readonly name: "open";
|
|
4738
|
+
readonly internalType: "bool";
|
|
4739
|
+
readonly type: "bool";
|
|
4740
|
+
}, {
|
|
4741
|
+
readonly name: "seedToDead";
|
|
4742
|
+
readonly internalType: "bool";
|
|
4743
|
+
readonly type: "bool";
|
|
4744
|
+
}, {
|
|
4745
|
+
readonly name: "incomeHarvestOnly";
|
|
4746
|
+
readonly internalType: "bool";
|
|
4747
|
+
readonly type: "bool";
|
|
4748
|
+
}, {
|
|
4749
|
+
readonly name: "incomeTaxRate";
|
|
4750
|
+
readonly internalType: "uint256";
|
|
4751
|
+
readonly type: "uint256";
|
|
4752
|
+
}, {
|
|
4753
|
+
readonly name: "feeMask";
|
|
4754
|
+
readonly internalType: "uint8";
|
|
4755
|
+
readonly type: "uint8";
|
|
4756
|
+
}, {
|
|
4757
|
+
readonly name: "lenMax";
|
|
4758
|
+
readonly internalType: "uint8";
|
|
4759
|
+
readonly type: "uint8";
|
|
4760
|
+
}, {
|
|
4761
|
+
readonly name: "lnCapMin";
|
|
4762
|
+
readonly internalType: "uint24";
|
|
4763
|
+
readonly type: "uint24";
|
|
4764
|
+
}, {
|
|
4765
|
+
readonly name: "quoteBuffer";
|
|
4766
|
+
readonly internalType: "uint256";
|
|
4767
|
+
readonly type: "uint256";
|
|
4768
|
+
}, {
|
|
4769
|
+
readonly name: "quotes";
|
|
4770
|
+
readonly internalType: "address[]";
|
|
4771
|
+
readonly type: "address[]";
|
|
4772
|
+
}, {
|
|
4773
|
+
readonly name: "bases";
|
|
4774
|
+
readonly internalType: "address[]";
|
|
4775
|
+
readonly type: "address[]";
|
|
4776
|
+
}];
|
|
4877
4777
|
}];
|
|
4878
4778
|
readonly stateMutability: "nonpayable";
|
|
4879
4779
|
}, {
|
|
4880
4780
|
readonly type: "function";
|
|
4881
4781
|
readonly inputs: readonly [];
|
|
4882
|
-
readonly name: "
|
|
4883
|
-
readonly outputs: readonly [];
|
|
4884
|
-
readonly stateMutability: "nonpayable";
|
|
4885
|
-
}, {
|
|
4886
|
-
readonly type: "function";
|
|
4887
|
-
readonly inputs: readonly [{
|
|
4888
|
-
readonly name: "policy";
|
|
4889
|
-
readonly internalType: "address";
|
|
4890
|
-
readonly type: "address";
|
|
4891
|
-
}, {
|
|
4892
|
-
readonly name: "caller";
|
|
4893
|
-
readonly internalType: "address";
|
|
4894
|
-
readonly type: "address";
|
|
4895
|
-
}, {
|
|
4896
|
-
readonly name: "creator";
|
|
4897
|
-
readonly internalType: "address";
|
|
4898
|
-
readonly type: "address";
|
|
4899
|
-
}];
|
|
4900
|
-
readonly name: "admit";
|
|
4782
|
+
readonly name: "MINT";
|
|
4901
4783
|
readonly outputs: readonly [{
|
|
4902
|
-
readonly name: "
|
|
4903
|
-
readonly internalType: "
|
|
4904
|
-
readonly type: "
|
|
4784
|
+
readonly name: "";
|
|
4785
|
+
readonly internalType: "uint8";
|
|
4786
|
+
readonly type: "uint8";
|
|
4787
|
+
}];
|
|
4788
|
+
readonly stateMutability: "view";
|
|
4789
|
+
}, {
|
|
4790
|
+
readonly type: "function";
|
|
4791
|
+
readonly inputs: readonly [];
|
|
4792
|
+
readonly name: "SWAP";
|
|
4793
|
+
readonly outputs: readonly [{
|
|
4794
|
+
readonly name: "";
|
|
4795
|
+
readonly internalType: "uint8";
|
|
4796
|
+
readonly type: "uint8";
|
|
4905
4797
|
}];
|
|
4906
4798
|
readonly stateMutability: "view";
|
|
4907
4799
|
}, {
|
|
4908
4800
|
readonly type: "function";
|
|
4909
4801
|
readonly inputs: readonly [{
|
|
4910
|
-
readonly name: "
|
|
4911
|
-
readonly internalType: "address";
|
|
4912
|
-
readonly type: "address";
|
|
4913
|
-
}, {
|
|
4914
|
-
readonly name: "name";
|
|
4802
|
+
readonly name: "poolId";
|
|
4915
4803
|
readonly internalType: "bytes32";
|
|
4916
4804
|
readonly type: "bytes32";
|
|
4805
|
+
}, {
|
|
4806
|
+
readonly name: "who";
|
|
4807
|
+
readonly internalType: "address";
|
|
4808
|
+
readonly type: "address";
|
|
4917
4809
|
}];
|
|
4918
|
-
readonly name: "
|
|
4810
|
+
readonly name: "appointOperator";
|
|
4919
4811
|
readonly outputs: readonly [];
|
|
4920
4812
|
readonly stateMutability: "nonpayable";
|
|
4921
4813
|
}, {
|
|
4922
4814
|
readonly type: "function";
|
|
4923
|
-
readonly inputs: readonly [
|
|
4815
|
+
readonly inputs: readonly [];
|
|
4816
|
+
readonly name: "authority";
|
|
4817
|
+
readonly outputs: readonly [{
|
|
4924
4818
|
readonly name: "";
|
|
4925
4819
|
readonly internalType: "address";
|
|
4926
4820
|
readonly type: "address";
|
|
4927
4821
|
}];
|
|
4928
|
-
readonly
|
|
4822
|
+
readonly stateMutability: "view";
|
|
4823
|
+
}, {
|
|
4824
|
+
readonly type: "function";
|
|
4825
|
+
readonly inputs: readonly [];
|
|
4826
|
+
readonly name: "baseCurated";
|
|
4929
4827
|
readonly outputs: readonly [{
|
|
4930
4828
|
readonly name: "";
|
|
4931
|
-
readonly internalType: "
|
|
4932
|
-
readonly type: "
|
|
4829
|
+
readonly internalType: "bool";
|
|
4830
|
+
readonly type: "bool";
|
|
4933
4831
|
}];
|
|
4934
4832
|
readonly stateMutability: "view";
|
|
4935
4833
|
}, {
|
|
@@ -4939,47 +4837,37 @@ export declare const policyRegistryAbi: readonly [{
|
|
|
4939
4837
|
readonly internalType: "address";
|
|
4940
4838
|
readonly type: "address";
|
|
4941
4839
|
}];
|
|
4942
|
-
readonly name: "
|
|
4840
|
+
readonly name: "baseListed";
|
|
4943
4841
|
readonly outputs: readonly [{
|
|
4944
|
-
readonly name: "
|
|
4842
|
+
readonly name: "";
|
|
4945
4843
|
readonly internalType: "bool";
|
|
4946
4844
|
readonly type: "bool";
|
|
4947
|
-
}, {
|
|
4948
|
-
readonly name: "until";
|
|
4949
|
-
readonly internalType: "uint64";
|
|
4950
|
-
readonly type: "uint64";
|
|
4951
|
-
}, {
|
|
4952
|
-
readonly name: "index";
|
|
4953
|
-
readonly internalType: "uint32";
|
|
4954
|
-
readonly type: "uint32";
|
|
4955
|
-
}, {
|
|
4956
|
-
readonly name: "name";
|
|
4957
|
-
readonly internalType: "bytes32";
|
|
4958
|
-
readonly type: "bytes32";
|
|
4959
4845
|
}];
|
|
4960
4846
|
readonly stateMutability: "view";
|
|
4961
4847
|
}, {
|
|
4962
4848
|
readonly type: "function";
|
|
4963
|
-
readonly inputs: readonly [
|
|
4964
|
-
|
|
4965
|
-
readonly internalType: "address";
|
|
4966
|
-
readonly type: "address";
|
|
4967
|
-
}];
|
|
4968
|
-
readonly name: "forwarderTrusted";
|
|
4849
|
+
readonly inputs: readonly [];
|
|
4850
|
+
readonly name: "feeMask";
|
|
4969
4851
|
readonly outputs: readonly [{
|
|
4970
4852
|
readonly name: "";
|
|
4971
|
-
readonly internalType: "
|
|
4972
|
-
readonly type: "
|
|
4853
|
+
readonly internalType: "uint8";
|
|
4854
|
+
readonly type: "uint8";
|
|
4973
4855
|
}];
|
|
4974
4856
|
readonly stateMutability: "view";
|
|
4975
4857
|
}, {
|
|
4976
4858
|
readonly type: "function";
|
|
4977
|
-
readonly inputs: readonly [
|
|
4978
|
-
|
|
4859
|
+
readonly inputs: readonly [];
|
|
4860
|
+
readonly name: "fixedAuthority";
|
|
4861
|
+
readonly outputs: readonly [{
|
|
4862
|
+
readonly name: "";
|
|
4979
4863
|
readonly internalType: "address";
|
|
4980
4864
|
readonly type: "address";
|
|
4981
4865
|
}];
|
|
4982
|
-
readonly
|
|
4866
|
+
readonly stateMutability: "view";
|
|
4867
|
+
}, {
|
|
4868
|
+
readonly type: "function";
|
|
4869
|
+
readonly inputs: readonly [];
|
|
4870
|
+
readonly name: "incomeHarvestOnly";
|
|
4983
4871
|
readonly outputs: readonly [{
|
|
4984
4872
|
readonly name: "";
|
|
4985
4873
|
readonly internalType: "bool";
|
|
@@ -4988,215 +4876,397 @@ export declare const policyRegistryAbi: readonly [{
|
|
|
4988
4876
|
readonly stateMutability: "view";
|
|
4989
4877
|
}, {
|
|
4990
4878
|
readonly type: "function";
|
|
4991
|
-
readonly inputs: readonly [
|
|
4879
|
+
readonly inputs: readonly [];
|
|
4880
|
+
readonly name: "incomeTaxRate";
|
|
4881
|
+
readonly outputs: readonly [{
|
|
4992
4882
|
readonly name: "";
|
|
4993
|
-
readonly internalType: "
|
|
4994
|
-
readonly type: "
|
|
4883
|
+
readonly internalType: "uint256";
|
|
4884
|
+
readonly type: "uint256";
|
|
4995
4885
|
}];
|
|
4996
|
-
readonly
|
|
4886
|
+
readonly stateMutability: "view";
|
|
4887
|
+
}, {
|
|
4888
|
+
readonly type: "function";
|
|
4889
|
+
readonly inputs: readonly [];
|
|
4890
|
+
readonly name: "kind";
|
|
4997
4891
|
readonly outputs: readonly [{
|
|
4998
4892
|
readonly name: "";
|
|
4999
4893
|
readonly internalType: "bytes32";
|
|
5000
4894
|
readonly type: "bytes32";
|
|
5001
4895
|
}];
|
|
5002
|
-
readonly stateMutability: "
|
|
4896
|
+
readonly stateMutability: "pure";
|
|
5003
4897
|
}, {
|
|
5004
4898
|
readonly type: "function";
|
|
5005
4899
|
readonly inputs: readonly [];
|
|
5006
|
-
readonly name: "
|
|
4900
|
+
readonly name: "lenMax";
|
|
5007
4901
|
readonly outputs: readonly [{
|
|
5008
4902
|
readonly name: "";
|
|
5009
|
-
readonly internalType: "
|
|
5010
|
-
readonly type: "
|
|
4903
|
+
readonly internalType: "uint8";
|
|
4904
|
+
readonly type: "uint8";
|
|
5011
4905
|
}];
|
|
5012
4906
|
readonly stateMutability: "view";
|
|
5013
4907
|
}, {
|
|
5014
4908
|
readonly type: "function";
|
|
5015
4909
|
readonly inputs: readonly [];
|
|
5016
|
-
readonly name: "
|
|
4910
|
+
readonly name: "lnCapMin";
|
|
5017
4911
|
readonly outputs: readonly [{
|
|
5018
4912
|
readonly name: "";
|
|
5019
|
-
readonly internalType: "
|
|
5020
|
-
readonly type: "
|
|
4913
|
+
readonly internalType: "uint24";
|
|
4914
|
+
readonly type: "uint24";
|
|
5021
4915
|
}];
|
|
5022
4916
|
readonly stateMutability: "view";
|
|
5023
4917
|
}, {
|
|
5024
4918
|
readonly type: "function";
|
|
5025
4919
|
readonly inputs: readonly [];
|
|
5026
|
-
readonly name: "
|
|
4920
|
+
readonly name: "manager";
|
|
5027
4921
|
readonly outputs: readonly [{
|
|
5028
4922
|
readonly name: "";
|
|
5029
|
-
readonly internalType: "address
|
|
5030
|
-
readonly type: "address
|
|
4923
|
+
readonly internalType: "address";
|
|
4924
|
+
readonly type: "address";
|
|
5031
4925
|
}];
|
|
5032
4926
|
readonly stateMutability: "view";
|
|
5033
4927
|
}, {
|
|
5034
4928
|
readonly type: "function";
|
|
5035
4929
|
readonly inputs: readonly [{
|
|
5036
|
-
readonly name: "
|
|
4930
|
+
readonly name: "poolId";
|
|
4931
|
+
readonly internalType: "bytes32";
|
|
4932
|
+
readonly type: "bytes32";
|
|
4933
|
+
}, {
|
|
4934
|
+
readonly name: "action";
|
|
4935
|
+
readonly internalType: "enum IPolicyBase.Action";
|
|
4936
|
+
readonly type: "uint8";
|
|
4937
|
+
}, {
|
|
4938
|
+
readonly name: "who";
|
|
5037
4939
|
readonly internalType: "address";
|
|
5038
4940
|
readonly type: "address";
|
|
5039
4941
|
}];
|
|
5040
|
-
readonly name: "
|
|
5041
|
-
readonly outputs: readonly [
|
|
5042
|
-
|
|
4942
|
+
readonly name: "may";
|
|
4943
|
+
readonly outputs: readonly [{
|
|
4944
|
+
readonly name: "";
|
|
4945
|
+
readonly internalType: "bytes4";
|
|
4946
|
+
readonly type: "bytes4";
|
|
4947
|
+
}];
|
|
4948
|
+
readonly stateMutability: "view";
|
|
5043
4949
|
}, {
|
|
5044
4950
|
readonly type: "function";
|
|
5045
4951
|
readonly inputs: readonly [{
|
|
5046
|
-
readonly name: "
|
|
5047
|
-
readonly internalType: "
|
|
5048
|
-
readonly type: "
|
|
4952
|
+
readonly name: "";
|
|
4953
|
+
readonly internalType: "bytes32";
|
|
4954
|
+
readonly type: "bytes32";
|
|
4955
|
+
}, {
|
|
4956
|
+
readonly name: "n";
|
|
4957
|
+
readonly internalType: "uint256";
|
|
4958
|
+
readonly type: "uint256";
|
|
4959
|
+
}, {
|
|
4960
|
+
readonly name: "quoteAmount";
|
|
4961
|
+
readonly internalType: "uint256";
|
|
4962
|
+
readonly type: "uint256";
|
|
4963
|
+
}, {
|
|
4964
|
+
readonly name: "lnCapOverSeed";
|
|
4965
|
+
readonly internalType: "uint24";
|
|
4966
|
+
readonly type: "uint24";
|
|
4967
|
+
}, {
|
|
4968
|
+
readonly name: "L";
|
|
4969
|
+
readonly internalType: "uint256";
|
|
4970
|
+
readonly type: "uint256";
|
|
5049
4971
|
}];
|
|
5050
|
-
readonly name: "
|
|
5051
|
-
readonly outputs: readonly [
|
|
5052
|
-
|
|
4972
|
+
readonly name: "mayDeploy";
|
|
4973
|
+
readonly outputs: readonly [{
|
|
4974
|
+
readonly name: "";
|
|
4975
|
+
readonly internalType: "bytes4";
|
|
4976
|
+
readonly type: "bytes4";
|
|
4977
|
+
}];
|
|
4978
|
+
readonly stateMutability: "view";
|
|
5053
4979
|
}, {
|
|
5054
4980
|
readonly type: "function";
|
|
5055
4981
|
readonly inputs: readonly [{
|
|
5056
|
-
readonly name: "
|
|
5057
|
-
readonly internalType: "
|
|
5058
|
-
readonly type: "
|
|
4982
|
+
readonly name: "";
|
|
4983
|
+
readonly internalType: "bytes32";
|
|
4984
|
+
readonly type: "bytes32";
|
|
5059
4985
|
}, {
|
|
5060
|
-
readonly name: "
|
|
5061
|
-
readonly internalType: "
|
|
5062
|
-
readonly type: "
|
|
4986
|
+
readonly name: "income";
|
|
4987
|
+
readonly internalType: "uint256";
|
|
4988
|
+
readonly type: "uint256";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly name: "extra";
|
|
4991
|
+
readonly internalType: "uint256";
|
|
4992
|
+
readonly type: "uint256";
|
|
4993
|
+
}, {
|
|
4994
|
+
readonly name: "Q";
|
|
4995
|
+
readonly internalType: "uint256";
|
|
4996
|
+
readonly type: "uint256";
|
|
4997
|
+
}, {
|
|
4998
|
+
readonly name: "L";
|
|
4999
|
+
readonly internalType: "uint256";
|
|
5000
|
+
readonly type: "uint256";
|
|
5063
5001
|
}];
|
|
5064
|
-
readonly name: "
|
|
5065
|
-
readonly outputs: readonly [
|
|
5066
|
-
|
|
5002
|
+
readonly name: "mayHarvest";
|
|
5003
|
+
readonly outputs: readonly [{
|
|
5004
|
+
readonly name: "";
|
|
5005
|
+
readonly internalType: "bytes4";
|
|
5006
|
+
readonly type: "bytes4";
|
|
5007
|
+
}];
|
|
5008
|
+
readonly stateMutability: "view";
|
|
5067
5009
|
}, {
|
|
5068
5010
|
readonly type: "function";
|
|
5069
5011
|
readonly inputs: readonly [{
|
|
5070
|
-
readonly name: "
|
|
5012
|
+
readonly name: "poolId";
|
|
5013
|
+
readonly internalType: "bytes32";
|
|
5014
|
+
readonly type: "bytes32";
|
|
5015
|
+
}, {
|
|
5016
|
+
readonly name: "caller";
|
|
5071
5017
|
readonly internalType: "address";
|
|
5072
5018
|
readonly type: "address";
|
|
5073
5019
|
}, {
|
|
5074
|
-
readonly name: "
|
|
5075
|
-
readonly internalType: "bool";
|
|
5076
|
-
readonly type: "bool";
|
|
5077
|
-
}];
|
|
5078
|
-
readonly name: "setForwarderTrusted";
|
|
5079
|
-
readonly outputs: readonly [];
|
|
5080
|
-
readonly stateMutability: "nonpayable";
|
|
5081
|
-
}, {
|
|
5082
|
-
readonly type: "function";
|
|
5083
|
-
readonly inputs: readonly [{
|
|
5084
|
-
readonly name: "who";
|
|
5020
|
+
readonly name: "quote";
|
|
5085
5021
|
readonly internalType: "address";
|
|
5086
5022
|
readonly type: "address";
|
|
5087
5023
|
}, {
|
|
5088
|
-
readonly name: "
|
|
5024
|
+
readonly name: "bases";
|
|
5025
|
+
readonly internalType: "address[]";
|
|
5026
|
+
readonly type: "address[]";
|
|
5027
|
+
}, {
|
|
5028
|
+
readonly name: "swapFeeIdx";
|
|
5029
|
+
readonly internalType: "uint8";
|
|
5030
|
+
readonly type: "uint8";
|
|
5031
|
+
}, {
|
|
5032
|
+
readonly name: "salt";
|
|
5089
5033
|
readonly internalType: "bytes32";
|
|
5090
5034
|
readonly type: "bytes32";
|
|
5091
5035
|
}];
|
|
5092
|
-
readonly name: "
|
|
5093
|
-
readonly outputs: readonly [
|
|
5036
|
+
readonly name: "mayInit";
|
|
5037
|
+
readonly outputs: readonly [{
|
|
5038
|
+
readonly name: "flags";
|
|
5039
|
+
readonly internalType: "uint8";
|
|
5040
|
+
readonly type: "uint8";
|
|
5041
|
+
}, {
|
|
5042
|
+
readonly name: "op";
|
|
5043
|
+
readonly internalType: "address";
|
|
5044
|
+
readonly type: "address";
|
|
5045
|
+
}];
|
|
5094
5046
|
readonly stateMutability: "nonpayable";
|
|
5095
5047
|
}, {
|
|
5096
5048
|
readonly type: "function";
|
|
5097
5049
|
readonly inputs: readonly [{
|
|
5098
5050
|
readonly name: "";
|
|
5099
|
-
readonly internalType: "
|
|
5100
|
-
readonly type: "
|
|
5051
|
+
readonly internalType: "bytes32";
|
|
5052
|
+
readonly type: "bytes32";
|
|
5101
5053
|
}];
|
|
5102
|
-
readonly name: "
|
|
5054
|
+
readonly name: "mintMode";
|
|
5103
5055
|
readonly outputs: readonly [{
|
|
5104
5056
|
readonly name: "";
|
|
5105
|
-
readonly internalType: "
|
|
5106
|
-
readonly type: "
|
|
5057
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5058
|
+
readonly type: "uint8";
|
|
5107
5059
|
}];
|
|
5108
5060
|
readonly stateMutability: "view";
|
|
5109
5061
|
}, {
|
|
5110
5062
|
readonly type: "function";
|
|
5111
|
-
readonly inputs: readonly [
|
|
5112
|
-
|
|
5113
|
-
readonly internalType: "address";
|
|
5114
|
-
readonly type: "address";
|
|
5115
|
-
}];
|
|
5116
|
-
readonly name: "sponsorOf";
|
|
5063
|
+
readonly inputs: readonly [];
|
|
5064
|
+
readonly name: "open";
|
|
5117
5065
|
readonly outputs: readonly [{
|
|
5118
5066
|
readonly name: "";
|
|
5119
|
-
readonly internalType: "
|
|
5120
|
-
readonly type: "
|
|
5067
|
+
readonly internalType: "bool";
|
|
5068
|
+
readonly type: "bool";
|
|
5121
5069
|
}];
|
|
5122
5070
|
readonly stateMutability: "view";
|
|
5123
5071
|
}, {
|
|
5124
5072
|
readonly type: "function";
|
|
5125
5073
|
readonly inputs: readonly [{
|
|
5126
|
-
readonly name: "
|
|
5127
|
-
readonly internalType: "
|
|
5128
|
-
readonly type: "
|
|
5129
|
-
}, {
|
|
5130
|
-
readonly name: "untilTime";
|
|
5131
|
-
readonly internalType: "uint64";
|
|
5132
|
-
readonly type: "uint64";
|
|
5074
|
+
readonly name: "";
|
|
5075
|
+
readonly internalType: "bytes32";
|
|
5076
|
+
readonly type: "bytes32";
|
|
5133
5077
|
}];
|
|
5134
|
-
readonly name: "
|
|
5135
|
-
readonly outputs: readonly [
|
|
5136
|
-
|
|
5078
|
+
readonly name: "operator";
|
|
5079
|
+
readonly outputs: readonly [{
|
|
5080
|
+
readonly name: "";
|
|
5081
|
+
readonly internalType: "address";
|
|
5082
|
+
readonly type: "address";
|
|
5083
|
+
}];
|
|
5084
|
+
readonly stateMutability: "view";
|
|
5085
|
+
}, {
|
|
5086
|
+
readonly type: "function";
|
|
5087
|
+
readonly inputs: readonly [];
|
|
5088
|
+
readonly name: "quoteBuffer";
|
|
5089
|
+
readonly outputs: readonly [{
|
|
5090
|
+
readonly name: "";
|
|
5091
|
+
readonly internalType: "uint256";
|
|
5092
|
+
readonly type: "uint256";
|
|
5093
|
+
}];
|
|
5094
|
+
readonly stateMutability: "view";
|
|
5095
|
+
}, {
|
|
5096
|
+
readonly type: "function";
|
|
5097
|
+
readonly inputs: readonly [];
|
|
5098
|
+
readonly name: "quoteCurated";
|
|
5099
|
+
readonly outputs: readonly [{
|
|
5100
|
+
readonly name: "";
|
|
5101
|
+
readonly internalType: "bool";
|
|
5102
|
+
readonly type: "bool";
|
|
5103
|
+
}];
|
|
5104
|
+
readonly stateMutability: "view";
|
|
5137
5105
|
}, {
|
|
5138
5106
|
readonly type: "function";
|
|
5139
5107
|
readonly inputs: readonly [{
|
|
5140
|
-
readonly name: "
|
|
5108
|
+
readonly name: "";
|
|
5141
5109
|
readonly internalType: "address";
|
|
5142
5110
|
readonly type: "address";
|
|
5143
5111
|
}];
|
|
5144
|
-
readonly name: "
|
|
5112
|
+
readonly name: "quoteListed";
|
|
5145
5113
|
readonly outputs: readonly [{
|
|
5146
5114
|
readonly name: "";
|
|
5147
|
-
readonly internalType: "
|
|
5148
|
-
readonly type: "
|
|
5115
|
+
readonly internalType: "bool";
|
|
5116
|
+
readonly type: "bool";
|
|
5149
5117
|
}];
|
|
5150
5118
|
readonly stateMutability: "view";
|
|
5151
5119
|
}, {
|
|
5152
|
-
readonly type: "
|
|
5153
|
-
readonly anonymous: false;
|
|
5120
|
+
readonly type: "function";
|
|
5154
5121
|
readonly inputs: readonly [{
|
|
5155
|
-
readonly name: "
|
|
5122
|
+
readonly name: "";
|
|
5156
5123
|
readonly internalType: "address";
|
|
5157
5124
|
readonly type: "address";
|
|
5158
|
-
|
|
5125
|
+
}];
|
|
5126
|
+
readonly name: "rights";
|
|
5127
|
+
readonly outputs: readonly [{
|
|
5128
|
+
readonly name: "";
|
|
5129
|
+
readonly internalType: "uint8";
|
|
5130
|
+
readonly type: "uint8";
|
|
5131
|
+
}];
|
|
5132
|
+
readonly stateMutability: "view";
|
|
5133
|
+
}, {
|
|
5134
|
+
readonly type: "function";
|
|
5135
|
+
readonly inputs: readonly [];
|
|
5136
|
+
readonly name: "seedToDead";
|
|
5137
|
+
readonly outputs: readonly [{
|
|
5138
|
+
readonly name: "";
|
|
5139
|
+
readonly internalType: "bool";
|
|
5140
|
+
readonly type: "bool";
|
|
5141
|
+
}];
|
|
5142
|
+
readonly stateMutability: "view";
|
|
5143
|
+
}, {
|
|
5144
|
+
readonly type: "function";
|
|
5145
|
+
readonly inputs: readonly [{
|
|
5146
|
+
readonly name: "poolId";
|
|
5147
|
+
readonly internalType: "bytes32";
|
|
5148
|
+
readonly type: "bytes32";
|
|
5149
|
+
}, {
|
|
5150
|
+
readonly name: "mode";
|
|
5151
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5152
|
+
readonly type: "uint8";
|
|
5153
|
+
}];
|
|
5154
|
+
readonly name: "setMintMode";
|
|
5155
|
+
readonly outputs: readonly [];
|
|
5156
|
+
readonly stateMutability: "nonpayable";
|
|
5157
|
+
}, {
|
|
5158
|
+
readonly type: "function";
|
|
5159
|
+
readonly inputs: readonly [{
|
|
5160
|
+
readonly name: "poolId";
|
|
5161
|
+
readonly internalType: "bytes32";
|
|
5162
|
+
readonly type: "bytes32";
|
|
5159
5163
|
}, {
|
|
5160
5164
|
readonly name: "name";
|
|
5161
5165
|
readonly internalType: "bytes32";
|
|
5162
5166
|
readonly type: "bytes32";
|
|
5163
|
-
readonly indexed: false;
|
|
5164
5167
|
}];
|
|
5165
|
-
readonly name: "
|
|
5168
|
+
readonly name: "setName";
|
|
5169
|
+
readonly outputs: readonly [];
|
|
5170
|
+
readonly stateMutability: "nonpayable";
|
|
5166
5171
|
}, {
|
|
5167
|
-
readonly type: "
|
|
5168
|
-
readonly anonymous: false;
|
|
5172
|
+
readonly type: "function";
|
|
5169
5173
|
readonly inputs: readonly [{
|
|
5170
|
-
readonly name: "
|
|
5174
|
+
readonly name: "who";
|
|
5175
|
+
readonly internalType: "address[]";
|
|
5176
|
+
readonly type: "address[]";
|
|
5177
|
+
}, {
|
|
5178
|
+
readonly name: "bits";
|
|
5179
|
+
readonly internalType: "uint8";
|
|
5180
|
+
readonly type: "uint8";
|
|
5181
|
+
}];
|
|
5182
|
+
readonly name: "setRights";
|
|
5183
|
+
readonly outputs: readonly [];
|
|
5184
|
+
readonly stateMutability: "nonpayable";
|
|
5185
|
+
}, {
|
|
5186
|
+
readonly type: "function";
|
|
5187
|
+
readonly inputs: readonly [{
|
|
5188
|
+
readonly name: "poolId";
|
|
5189
|
+
readonly internalType: "bytes32";
|
|
5190
|
+
readonly type: "bytes32";
|
|
5191
|
+
}, {
|
|
5192
|
+
readonly name: "mode";
|
|
5193
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5194
|
+
readonly type: "uint8";
|
|
5195
|
+
}];
|
|
5196
|
+
readonly name: "setSwapMode";
|
|
5197
|
+
readonly outputs: readonly [];
|
|
5198
|
+
readonly stateMutability: "nonpayable";
|
|
5199
|
+
}, {
|
|
5200
|
+
readonly type: "function";
|
|
5201
|
+
readonly inputs: readonly [{
|
|
5202
|
+
readonly name: "";
|
|
5203
|
+
readonly internalType: "bytes32";
|
|
5204
|
+
readonly type: "bytes32";
|
|
5205
|
+
}];
|
|
5206
|
+
readonly name: "swapMode";
|
|
5207
|
+
readonly outputs: readonly [{
|
|
5208
|
+
readonly name: "";
|
|
5209
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5210
|
+
readonly type: "uint8";
|
|
5211
|
+
}];
|
|
5212
|
+
readonly stateMutability: "view";
|
|
5213
|
+
}, {
|
|
5214
|
+
readonly type: "function";
|
|
5215
|
+
readonly inputs: readonly [{
|
|
5216
|
+
readonly name: "poolId";
|
|
5217
|
+
readonly internalType: "bytes32";
|
|
5218
|
+
readonly type: "bytes32";
|
|
5219
|
+
}];
|
|
5220
|
+
readonly name: "taxOf";
|
|
5221
|
+
readonly outputs: readonly [{
|
|
5222
|
+
readonly name: "payer";
|
|
5171
5223
|
readonly internalType: "address";
|
|
5172
5224
|
readonly type: "address";
|
|
5225
|
+
}, {
|
|
5226
|
+
readonly name: "rate";
|
|
5227
|
+
readonly internalType: "uint256";
|
|
5228
|
+
readonly type: "uint256";
|
|
5229
|
+
}];
|
|
5230
|
+
readonly stateMutability: "view";
|
|
5231
|
+
}, {
|
|
5232
|
+
readonly type: "event";
|
|
5233
|
+
readonly anonymous: false;
|
|
5234
|
+
readonly inputs: readonly [{
|
|
5235
|
+
readonly name: "poolId";
|
|
5236
|
+
readonly internalType: "bytes32";
|
|
5237
|
+
readonly type: "bytes32";
|
|
5173
5238
|
readonly indexed: true;
|
|
5174
5239
|
}, {
|
|
5175
5240
|
readonly name: "mode";
|
|
5176
|
-
readonly internalType: "enum
|
|
5241
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5177
5242
|
readonly type: "uint8";
|
|
5178
5243
|
readonly indexed: false;
|
|
5179
5244
|
}];
|
|
5180
|
-
readonly name: "
|
|
5245
|
+
readonly name: "MintModeSet";
|
|
5181
5246
|
}, {
|
|
5182
5247
|
readonly type: "event";
|
|
5183
5248
|
readonly anonymous: false;
|
|
5184
5249
|
readonly inputs: readonly [{
|
|
5185
|
-
readonly name: "
|
|
5186
|
-
readonly internalType: "
|
|
5187
|
-
readonly type: "
|
|
5250
|
+
readonly name: "poolId";
|
|
5251
|
+
readonly internalType: "bytes32";
|
|
5252
|
+
readonly type: "bytes32";
|
|
5188
5253
|
readonly indexed: true;
|
|
5189
5254
|
}, {
|
|
5190
|
-
readonly name: "
|
|
5191
|
-
readonly internalType: "
|
|
5192
|
-
readonly type: "
|
|
5255
|
+
readonly name: "name";
|
|
5256
|
+
readonly internalType: "bytes32";
|
|
5257
|
+
readonly type: "bytes32";
|
|
5193
5258
|
readonly indexed: false;
|
|
5194
5259
|
}];
|
|
5195
|
-
readonly name: "
|
|
5260
|
+
readonly name: "NameSet";
|
|
5196
5261
|
}, {
|
|
5197
5262
|
readonly type: "event";
|
|
5198
5263
|
readonly anonymous: false;
|
|
5199
5264
|
readonly inputs: readonly [{
|
|
5265
|
+
readonly name: "poolId";
|
|
5266
|
+
readonly internalType: "bytes32";
|
|
5267
|
+
readonly type: "bytes32";
|
|
5268
|
+
readonly indexed: true;
|
|
5269
|
+
}, {
|
|
5200
5270
|
readonly name: "prev";
|
|
5201
5271
|
readonly internalType: "address";
|
|
5202
5272
|
readonly type: "address";
|
|
@@ -5207,1087 +5277,648 @@ export declare const policyRegistryAbi: readonly [{
|
|
|
5207
5277
|
readonly type: "address";
|
|
5208
5278
|
readonly indexed: true;
|
|
5209
5279
|
}];
|
|
5210
|
-
readonly name: "
|
|
5280
|
+
readonly name: "OperatorAppointed";
|
|
5211
5281
|
}, {
|
|
5212
5282
|
readonly type: "event";
|
|
5213
5283
|
readonly anonymous: false;
|
|
5214
5284
|
readonly inputs: readonly [{
|
|
5215
|
-
readonly name: "
|
|
5285
|
+
readonly name: "who";
|
|
5216
5286
|
readonly internalType: "address";
|
|
5217
5287
|
readonly type: "address";
|
|
5218
5288
|
readonly indexed: true;
|
|
5219
5289
|
}, {
|
|
5220
|
-
readonly name: "
|
|
5221
|
-
readonly internalType: "
|
|
5222
|
-
readonly type: "
|
|
5223
|
-
readonly indexed:
|
|
5290
|
+
readonly name: "bits";
|
|
5291
|
+
readonly internalType: "uint8";
|
|
5292
|
+
readonly type: "uint8";
|
|
5293
|
+
readonly indexed: false;
|
|
5224
5294
|
}];
|
|
5225
|
-
readonly name: "
|
|
5295
|
+
readonly name: "RightsSet";
|
|
5226
5296
|
}, {
|
|
5227
5297
|
readonly type: "event";
|
|
5228
5298
|
readonly anonymous: false;
|
|
5229
5299
|
readonly inputs: readonly [{
|
|
5230
|
-
readonly name: "
|
|
5231
|
-
readonly internalType: "
|
|
5232
|
-
readonly type: "
|
|
5300
|
+
readonly name: "poolId";
|
|
5301
|
+
readonly internalType: "bytes32";
|
|
5302
|
+
readonly type: "bytes32";
|
|
5233
5303
|
readonly indexed: true;
|
|
5304
|
+
}, {
|
|
5305
|
+
readonly name: "mode";
|
|
5306
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5307
|
+
readonly type: "uint8";
|
|
5308
|
+
readonly indexed: false;
|
|
5234
5309
|
}];
|
|
5235
|
-
readonly name: "
|
|
5310
|
+
readonly name: "SwapModeSet";
|
|
5236
5311
|
}, {
|
|
5237
|
-
readonly type: "
|
|
5238
|
-
readonly
|
|
5312
|
+
readonly type: "error";
|
|
5313
|
+
readonly inputs: readonly [];
|
|
5314
|
+
readonly name: "AlreadyHeld";
|
|
5315
|
+
}, {
|
|
5316
|
+
readonly type: "error";
|
|
5317
|
+
readonly inputs: readonly [];
|
|
5318
|
+
readonly name: "BadParams";
|
|
5319
|
+
}, {
|
|
5320
|
+
readonly type: "error";
|
|
5321
|
+
readonly inputs: readonly [];
|
|
5322
|
+
readonly name: "BadRights";
|
|
5323
|
+
}, {
|
|
5324
|
+
readonly type: "error";
|
|
5239
5325
|
readonly inputs: readonly [{
|
|
5240
|
-
readonly name: "
|
|
5326
|
+
readonly name: "base";
|
|
5241
5327
|
readonly internalType: "address";
|
|
5242
5328
|
readonly type: "address";
|
|
5243
|
-
readonly indexed: true;
|
|
5244
|
-
}, {
|
|
5245
|
-
readonly name: "name";
|
|
5246
|
-
readonly internalType: "bytes32";
|
|
5247
|
-
readonly type: "bytes32";
|
|
5248
|
-
readonly indexed: false;
|
|
5249
5329
|
}];
|
|
5250
|
-
readonly name: "
|
|
5330
|
+
readonly name: "BaseNotListed";
|
|
5251
5331
|
}, {
|
|
5252
|
-
readonly type: "
|
|
5253
|
-
readonly
|
|
5332
|
+
readonly type: "error";
|
|
5333
|
+
readonly inputs: readonly [];
|
|
5334
|
+
readonly name: "CapTooClose";
|
|
5335
|
+
}, {
|
|
5336
|
+
readonly type: "error";
|
|
5254
5337
|
readonly inputs: readonly [{
|
|
5255
|
-
readonly name: "
|
|
5256
|
-
readonly internalType: "
|
|
5257
|
-
readonly type: "
|
|
5258
|
-
readonly indexed: true;
|
|
5259
|
-
}, {
|
|
5260
|
-
readonly name: "untilTime";
|
|
5261
|
-
readonly internalType: "uint64";
|
|
5262
|
-
readonly type: "uint64";
|
|
5263
|
-
readonly indexed: false;
|
|
5338
|
+
readonly name: "idx";
|
|
5339
|
+
readonly internalType: "uint256";
|
|
5340
|
+
readonly type: "uint256";
|
|
5264
5341
|
}];
|
|
5265
|
-
readonly name: "
|
|
5342
|
+
readonly name: "FeeNotListed";
|
|
5266
5343
|
}, {
|
|
5267
5344
|
readonly type: "error";
|
|
5268
5345
|
readonly inputs: readonly [];
|
|
5269
|
-
readonly name: "
|
|
5346
|
+
readonly name: "GatesUnavailable";
|
|
5270
5347
|
}, {
|
|
5271
5348
|
readonly type: "error";
|
|
5272
5349
|
readonly inputs: readonly [];
|
|
5273
|
-
readonly name: "
|
|
5350
|
+
readonly name: "InactivePool";
|
|
5274
5351
|
}, {
|
|
5275
5352
|
readonly type: "error";
|
|
5276
5353
|
readonly inputs: readonly [];
|
|
5277
|
-
readonly name: "
|
|
5354
|
+
readonly name: "IncomeOnly";
|
|
5278
5355
|
}, {
|
|
5279
5356
|
readonly type: "error";
|
|
5280
5357
|
readonly inputs: readonly [];
|
|
5281
|
-
readonly name: "
|
|
5358
|
+
readonly name: "ModeOrder";
|
|
5282
5359
|
}, {
|
|
5283
5360
|
readonly type: "error";
|
|
5284
5361
|
readonly inputs: readonly [];
|
|
5285
|
-
readonly name: "
|
|
5362
|
+
readonly name: "NotAuthority";
|
|
5286
5363
|
}, {
|
|
5287
5364
|
readonly type: "error";
|
|
5288
5365
|
readonly inputs: readonly [];
|
|
5289
|
-
readonly name: "
|
|
5290
|
-
}];
|
|
5291
|
-
export declare const routerActionsAbi: readonly [{
|
|
5292
|
-
readonly type: "function";
|
|
5293
|
-
readonly inputs: readonly [{
|
|
5294
|
-
readonly name: "a";
|
|
5295
|
-
readonly internalType: "struct BurnAct";
|
|
5296
|
-
readonly type: "tuple";
|
|
5297
|
-
readonly components: readonly [{
|
|
5298
|
-
readonly name: "poolId";
|
|
5299
|
-
readonly internalType: "bytes32";
|
|
5300
|
-
readonly type: "bytes32";
|
|
5301
|
-
}, {
|
|
5302
|
-
readonly name: "ids";
|
|
5303
|
-
readonly internalType: "uint256[]";
|
|
5304
|
-
readonly type: "uint256[]";
|
|
5305
|
-
}, {
|
|
5306
|
-
readonly name: "shares";
|
|
5307
|
-
readonly internalType: "uint256[]";
|
|
5308
|
-
readonly type: "uint256[]";
|
|
5309
|
-
}];
|
|
5310
|
-
}];
|
|
5311
|
-
readonly name: "encodeBurn";
|
|
5312
|
-
readonly outputs: readonly [{
|
|
5313
|
-
readonly name: "";
|
|
5314
|
-
readonly internalType: "bytes";
|
|
5315
|
-
readonly type: "bytes";
|
|
5316
|
-
}];
|
|
5317
|
-
readonly stateMutability: "pure";
|
|
5318
|
-
}, {
|
|
5319
|
-
readonly type: "function";
|
|
5320
|
-
readonly inputs: readonly [{
|
|
5321
|
-
readonly name: "a";
|
|
5322
|
-
readonly internalType: "struct ClaimAct";
|
|
5323
|
-
readonly type: "tuple";
|
|
5324
|
-
readonly components: readonly [{
|
|
5325
|
-
readonly name: "poolId";
|
|
5326
|
-
readonly internalType: "bytes32";
|
|
5327
|
-
readonly type: "bytes32";
|
|
5328
|
-
}, {
|
|
5329
|
-
readonly name: "ids";
|
|
5330
|
-
readonly internalType: "uint256[]";
|
|
5331
|
-
readonly type: "uint256[]";
|
|
5332
|
-
}];
|
|
5333
|
-
}];
|
|
5334
|
-
readonly name: "encodeClaim";
|
|
5335
|
-
readonly outputs: readonly [{
|
|
5336
|
-
readonly name: "";
|
|
5337
|
-
readonly internalType: "bytes";
|
|
5338
|
-
readonly type: "bytes";
|
|
5339
|
-
}];
|
|
5340
|
-
readonly stateMutability: "pure";
|
|
5341
|
-
}, {
|
|
5342
|
-
readonly type: "function";
|
|
5343
|
-
readonly inputs: readonly [{
|
|
5344
|
-
readonly name: "a";
|
|
5345
|
-
readonly internalType: "struct MintAct";
|
|
5346
|
-
readonly type: "tuple";
|
|
5347
|
-
readonly components: readonly [{
|
|
5348
|
-
readonly name: "poolId";
|
|
5349
|
-
readonly internalType: "bytes32";
|
|
5350
|
-
readonly type: "bytes32";
|
|
5351
|
-
}, {
|
|
5352
|
-
readonly name: "targetFloor";
|
|
5353
|
-
readonly internalType: "int256";
|
|
5354
|
-
readonly type: "int256";
|
|
5355
|
-
}, {
|
|
5356
|
-
readonly name: "cap";
|
|
5357
|
-
readonly internalType: "int256";
|
|
5358
|
-
readonly type: "int256";
|
|
5359
|
-
}, {
|
|
5360
|
-
readonly name: "L";
|
|
5361
|
-
readonly internalType: "uint256";
|
|
5362
|
-
readonly type: "uint256";
|
|
5363
|
-
}];
|
|
5364
|
-
}];
|
|
5365
|
-
readonly name: "encodeMint";
|
|
5366
|
-
readonly outputs: readonly [{
|
|
5367
|
-
readonly name: "";
|
|
5368
|
-
readonly internalType: "bytes";
|
|
5369
|
-
readonly type: "bytes";
|
|
5370
|
-
}];
|
|
5371
|
-
readonly stateMutability: "pure";
|
|
5372
|
-
}, {
|
|
5373
|
-
readonly type: "function";
|
|
5374
|
-
readonly inputs: readonly [{
|
|
5375
|
-
readonly name: "a";
|
|
5376
|
-
readonly internalType: "struct PathAct";
|
|
5377
|
-
readonly type: "tuple";
|
|
5378
|
-
readonly components: readonly [{
|
|
5379
|
-
readonly name: "hops";
|
|
5380
|
-
readonly internalType: "struct Hop[]";
|
|
5381
|
-
readonly type: "tuple[]";
|
|
5382
|
-
readonly components: readonly [{
|
|
5383
|
-
readonly name: "poolId";
|
|
5384
|
-
readonly internalType: "bytes32";
|
|
5385
|
-
readonly type: "bytes32";
|
|
5386
|
-
}, {
|
|
5387
|
-
readonly name: "baseIn";
|
|
5388
|
-
readonly internalType: "bool";
|
|
5389
|
-
readonly type: "bool";
|
|
5390
|
-
}];
|
|
5391
|
-
}, {
|
|
5392
|
-
readonly name: "amountIn";
|
|
5393
|
-
readonly internalType: "uint256";
|
|
5394
|
-
readonly type: "uint256";
|
|
5395
|
-
}, {
|
|
5396
|
-
readonly name: "minOut";
|
|
5397
|
-
readonly internalType: "uint256";
|
|
5398
|
-
readonly type: "uint256";
|
|
5399
|
-
}];
|
|
5400
|
-
}];
|
|
5401
|
-
readonly name: "encodePath";
|
|
5402
|
-
readonly outputs: readonly [{
|
|
5403
|
-
readonly name: "";
|
|
5404
|
-
readonly internalType: "bytes";
|
|
5405
|
-
readonly type: "bytes";
|
|
5406
|
-
}];
|
|
5407
|
-
readonly stateMutability: "pure";
|
|
5408
|
-
}, {
|
|
5409
|
-
readonly type: "function";
|
|
5410
|
-
readonly inputs: readonly [{
|
|
5411
|
-
readonly name: "a";
|
|
5412
|
-
readonly internalType: "struct SwapAct";
|
|
5413
|
-
readonly type: "tuple";
|
|
5414
|
-
readonly components: readonly [{
|
|
5415
|
-
readonly name: "poolId";
|
|
5416
|
-
readonly internalType: "bytes32";
|
|
5417
|
-
readonly type: "bytes32";
|
|
5418
|
-
}, {
|
|
5419
|
-
readonly name: "baseSide";
|
|
5420
|
-
readonly internalType: "bool";
|
|
5421
|
-
readonly type: "bool";
|
|
5422
|
-
}, {
|
|
5423
|
-
readonly name: "amount";
|
|
5424
|
-
readonly internalType: "uint256";
|
|
5425
|
-
readonly type: "uint256";
|
|
5426
|
-
}, {
|
|
5427
|
-
readonly name: "limit";
|
|
5428
|
-
readonly internalType: "uint256";
|
|
5429
|
-
readonly type: "uint256";
|
|
5430
|
-
}];
|
|
5431
|
-
}];
|
|
5432
|
-
readonly name: "encodeSwap";
|
|
5433
|
-
readonly outputs: readonly [{
|
|
5434
|
-
readonly name: "";
|
|
5435
|
-
readonly internalType: "bytes";
|
|
5436
|
-
readonly type: "bytes";
|
|
5437
|
-
}];
|
|
5438
|
-
readonly stateMutability: "pure";
|
|
5439
|
-
}, {
|
|
5440
|
-
readonly type: "function";
|
|
5441
|
-
readonly inputs: readonly [{
|
|
5442
|
-
readonly name: "a";
|
|
5443
|
-
readonly internalType: "struct UpdateAct";
|
|
5444
|
-
readonly type: "tuple";
|
|
5445
|
-
readonly components: readonly [{
|
|
5446
|
-
readonly name: "poolId";
|
|
5447
|
-
readonly internalType: "bytes32";
|
|
5448
|
-
readonly type: "bytes32";
|
|
5449
|
-
}, {
|
|
5450
|
-
readonly name: "fromId";
|
|
5451
|
-
readonly internalType: "uint256";
|
|
5452
|
-
readonly type: "uint256";
|
|
5453
|
-
}, {
|
|
5454
|
-
readonly name: "shares";
|
|
5455
|
-
readonly internalType: "uint256";
|
|
5456
|
-
readonly type: "uint256";
|
|
5457
|
-
}, {
|
|
5458
|
-
readonly name: "toFloor";
|
|
5459
|
-
readonly internalType: "int256";
|
|
5460
|
-
readonly type: "int256";
|
|
5461
|
-
}, {
|
|
5462
|
-
readonly name: "toCap";
|
|
5463
|
-
readonly internalType: "int256";
|
|
5464
|
-
readonly type: "int256";
|
|
5465
|
-
}, {
|
|
5466
|
-
readonly name: "newL";
|
|
5467
|
-
readonly internalType: "uint256";
|
|
5468
|
-
readonly type: "uint256";
|
|
5469
|
-
}];
|
|
5470
|
-
}];
|
|
5471
|
-
readonly name: "encodeUpdate";
|
|
5472
|
-
readonly outputs: readonly [{
|
|
5473
|
-
readonly name: "";
|
|
5474
|
-
readonly internalType: "bytes";
|
|
5475
|
-
readonly type: "bytes";
|
|
5476
|
-
}];
|
|
5477
|
-
readonly stateMutability: "pure";
|
|
5478
|
-
}];
|
|
5479
|
-
export declare const routerCAbi: readonly [{
|
|
5480
|
-
readonly type: "constructor";
|
|
5481
|
-
readonly inputs: readonly [{
|
|
5482
|
-
readonly name: "_mgr";
|
|
5483
|
-
readonly internalType: "contract ManagerC";
|
|
5484
|
-
readonly type: "address";
|
|
5485
|
-
}, {
|
|
5486
|
-
readonly name: "_permit2";
|
|
5487
|
-
readonly internalType: "address";
|
|
5488
|
-
readonly type: "address";
|
|
5489
|
-
}];
|
|
5490
|
-
readonly stateMutability: "nonpayable";
|
|
5366
|
+
readonly name: "NotCanonical";
|
|
5491
5367
|
}, {
|
|
5492
|
-
readonly type: "
|
|
5368
|
+
readonly type: "error";
|
|
5493
5369
|
readonly inputs: readonly [];
|
|
5494
|
-
readonly name: "
|
|
5495
|
-
readonly outputs: readonly [{
|
|
5496
|
-
readonly name: "";
|
|
5497
|
-
readonly internalType: "int256";
|
|
5498
|
-
readonly type: "int256";
|
|
5499
|
-
}];
|
|
5500
|
-
readonly stateMutability: "view";
|
|
5501
|
-
}, {
|
|
5502
|
-
readonly type: "function";
|
|
5503
|
-
readonly inputs: readonly [{
|
|
5504
|
-
readonly name: "owner";
|
|
5505
|
-
readonly internalType: "address";
|
|
5506
|
-
readonly type: "address";
|
|
5507
|
-
}, {
|
|
5508
|
-
readonly name: "permitSingle";
|
|
5509
|
-
readonly internalType: "struct IPermit2.PermitSingle";
|
|
5510
|
-
readonly type: "tuple";
|
|
5511
|
-
readonly components: readonly [{
|
|
5512
|
-
readonly name: "details";
|
|
5513
|
-
readonly internalType: "struct IPermit2.PermitDetails";
|
|
5514
|
-
readonly type: "tuple";
|
|
5515
|
-
readonly components: readonly [{
|
|
5516
|
-
readonly name: "token";
|
|
5517
|
-
readonly internalType: "address";
|
|
5518
|
-
readonly type: "address";
|
|
5519
|
-
}, {
|
|
5520
|
-
readonly name: "amount";
|
|
5521
|
-
readonly internalType: "uint160";
|
|
5522
|
-
readonly type: "uint160";
|
|
5523
|
-
}, {
|
|
5524
|
-
readonly name: "expiration";
|
|
5525
|
-
readonly internalType: "uint48";
|
|
5526
|
-
readonly type: "uint48";
|
|
5527
|
-
}, {
|
|
5528
|
-
readonly name: "nonce";
|
|
5529
|
-
readonly internalType: "uint48";
|
|
5530
|
-
readonly type: "uint48";
|
|
5531
|
-
}];
|
|
5532
|
-
}, {
|
|
5533
|
-
readonly name: "spender";
|
|
5534
|
-
readonly internalType: "address";
|
|
5535
|
-
readonly type: "address";
|
|
5536
|
-
}, {
|
|
5537
|
-
readonly name: "sigDeadline";
|
|
5538
|
-
readonly internalType: "uint256";
|
|
5539
|
-
readonly type: "uint256";
|
|
5540
|
-
}];
|
|
5541
|
-
}, {
|
|
5542
|
-
readonly name: "signature";
|
|
5543
|
-
readonly internalType: "bytes";
|
|
5544
|
-
readonly type: "bytes";
|
|
5545
|
-
}];
|
|
5546
|
-
readonly name: "applyPermit2";
|
|
5547
|
-
readonly outputs: readonly [];
|
|
5548
|
-
readonly stateMutability: "nonpayable";
|
|
5370
|
+
readonly name: "NotManager";
|
|
5549
5371
|
}, {
|
|
5550
|
-
readonly type: "
|
|
5551
|
-
readonly inputs: readonly [
|
|
5552
|
-
|
|
5553
|
-
readonly internalType: "bytes32";
|
|
5554
|
-
readonly type: "bytes32";
|
|
5555
|
-
}, {
|
|
5556
|
-
readonly name: "base";
|
|
5557
|
-
readonly internalType: "address";
|
|
5558
|
-
readonly type: "address";
|
|
5559
|
-
}, {
|
|
5560
|
-
readonly name: "quote";
|
|
5561
|
-
readonly internalType: "address";
|
|
5562
|
-
readonly type: "address";
|
|
5563
|
-
}, {
|
|
5564
|
-
readonly name: "ids";
|
|
5565
|
-
readonly internalType: "uint256[]";
|
|
5566
|
-
readonly type: "uint256[]";
|
|
5567
|
-
}, {
|
|
5568
|
-
readonly name: "shares";
|
|
5569
|
-
readonly internalType: "uint256[]";
|
|
5570
|
-
readonly type: "uint256[]";
|
|
5571
|
-
}, {
|
|
5572
|
-
readonly name: "minBaseOut";
|
|
5573
|
-
readonly internalType: "uint256";
|
|
5574
|
-
readonly type: "uint256";
|
|
5575
|
-
}, {
|
|
5576
|
-
readonly name: "minQuoteOut";
|
|
5577
|
-
readonly internalType: "uint256";
|
|
5578
|
-
readonly type: "uint256";
|
|
5579
|
-
}, {
|
|
5580
|
-
readonly name: "recipient";
|
|
5581
|
-
readonly internalType: "address";
|
|
5582
|
-
readonly type: "address";
|
|
5583
|
-
}, {
|
|
5584
|
-
readonly name: "deadline";
|
|
5585
|
-
readonly internalType: "uint256";
|
|
5586
|
-
readonly type: "uint256";
|
|
5587
|
-
}];
|
|
5588
|
-
readonly name: "burn";
|
|
5589
|
-
readonly outputs: readonly [{
|
|
5590
|
-
readonly name: "baseOut";
|
|
5591
|
-
readonly internalType: "uint256";
|
|
5592
|
-
readonly type: "uint256";
|
|
5593
|
-
}, {
|
|
5594
|
-
readonly name: "quoteOut";
|
|
5595
|
-
readonly internalType: "uint256";
|
|
5596
|
-
readonly type: "uint256";
|
|
5597
|
-
}];
|
|
5598
|
-
readonly stateMutability: "nonpayable";
|
|
5372
|
+
readonly type: "error";
|
|
5373
|
+
readonly inputs: readonly [];
|
|
5374
|
+
readonly name: "NotOperator";
|
|
5599
5375
|
}, {
|
|
5600
|
-
readonly type: "
|
|
5601
|
-
readonly inputs: readonly [{
|
|
5602
|
-
readonly name: "poolId";
|
|
5603
|
-
readonly internalType: "bytes32";
|
|
5604
|
-
readonly type: "bytes32";
|
|
5605
|
-
}, {
|
|
5376
|
+
readonly type: "error";
|
|
5377
|
+
readonly inputs: readonly [{
|
|
5606
5378
|
readonly name: "quote";
|
|
5607
5379
|
readonly internalType: "address";
|
|
5608
5380
|
readonly type: "address";
|
|
5609
|
-
}, {
|
|
5610
|
-
readonly name: "ids";
|
|
5611
|
-
readonly internalType: "uint256[]";
|
|
5612
|
-
readonly type: "uint256[]";
|
|
5613
|
-
}, {
|
|
5614
|
-
readonly name: "recipient";
|
|
5615
|
-
readonly internalType: "address";
|
|
5616
|
-
readonly type: "address";
|
|
5617
|
-
}, {
|
|
5618
|
-
readonly name: "deadline";
|
|
5619
|
-
readonly internalType: "uint256";
|
|
5620
|
-
readonly type: "uint256";
|
|
5621
|
-
}];
|
|
5622
|
-
readonly name: "claim";
|
|
5623
|
-
readonly outputs: readonly [{
|
|
5624
|
-
readonly name: "total";
|
|
5625
|
-
readonly internalType: "uint256";
|
|
5626
|
-
readonly type: "uint256";
|
|
5627
5381
|
}];
|
|
5628
|
-
readonly
|
|
5382
|
+
readonly name: "QuoteNotListed";
|
|
5629
5383
|
}, {
|
|
5630
|
-
readonly type: "
|
|
5384
|
+
readonly type: "error";
|
|
5385
|
+
readonly inputs: readonly [];
|
|
5386
|
+
readonly name: "QuoteTooThin";
|
|
5387
|
+
}, {
|
|
5388
|
+
readonly type: "error";
|
|
5389
|
+
readonly inputs: readonly [];
|
|
5390
|
+
readonly name: "Refused";
|
|
5391
|
+
}, {
|
|
5392
|
+
readonly type: "error";
|
|
5393
|
+
readonly inputs: readonly [];
|
|
5394
|
+
readonly name: "TooManyLegs";
|
|
5395
|
+
}];
|
|
5396
|
+
export declare const policyRegistryAbi: readonly [{
|
|
5397
|
+
readonly type: "constructor";
|
|
5631
5398
|
readonly inputs: readonly [{
|
|
5632
|
-
readonly name: "
|
|
5633
|
-
readonly internalType: "struct PoolKeyC";
|
|
5634
|
-
readonly type: "tuple";
|
|
5635
|
-
readonly components: readonly [{
|
|
5636
|
-
readonly name: "base";
|
|
5637
|
-
readonly internalType: "address";
|
|
5638
|
-
readonly type: "address";
|
|
5639
|
-
}, {
|
|
5640
|
-
readonly name: "quote";
|
|
5641
|
-
readonly internalType: "address";
|
|
5642
|
-
readonly type: "address";
|
|
5643
|
-
}, {
|
|
5644
|
-
readonly name: "tickSpacing";
|
|
5645
|
-
readonly internalType: "int256";
|
|
5646
|
-
readonly type: "int256";
|
|
5647
|
-
}, {
|
|
5648
|
-
readonly name: "policy";
|
|
5649
|
-
readonly internalType: "address";
|
|
5650
|
-
readonly type: "address";
|
|
5651
|
-
}, {
|
|
5652
|
-
readonly name: "creator";
|
|
5653
|
-
readonly internalType: "address";
|
|
5654
|
-
readonly type: "address";
|
|
5655
|
-
}, {
|
|
5656
|
-
readonly name: "salt";
|
|
5657
|
-
readonly internalType: "bytes32";
|
|
5658
|
-
readonly type: "bytes32";
|
|
5659
|
-
}, {
|
|
5660
|
-
readonly name: "swapFee";
|
|
5661
|
-
readonly internalType: "uint256";
|
|
5662
|
-
readonly type: "uint256";
|
|
5663
|
-
}, {
|
|
5664
|
-
readonly name: "mintFee";
|
|
5665
|
-
readonly internalType: "uint256";
|
|
5666
|
-
readonly type: "uint256";
|
|
5667
|
-
}];
|
|
5668
|
-
}, {
|
|
5669
|
-
readonly name: "initialLogPrice";
|
|
5670
|
-
readonly internalType: "int256";
|
|
5671
|
-
readonly type: "int256";
|
|
5672
|
-
}, {
|
|
5673
|
-
readonly name: "targetFloor";
|
|
5674
|
-
readonly internalType: "int256";
|
|
5675
|
-
readonly type: "int256";
|
|
5676
|
-
}, {
|
|
5677
|
-
readonly name: "L";
|
|
5678
|
-
readonly internalType: "uint256";
|
|
5679
|
-
readonly type: "uint256";
|
|
5680
|
-
}, {
|
|
5681
|
-
readonly name: "maxBaseIn";
|
|
5682
|
-
readonly internalType: "uint256";
|
|
5683
|
-
readonly type: "uint256";
|
|
5684
|
-
}, {
|
|
5685
|
-
readonly name: "maxQuoteIn";
|
|
5686
|
-
readonly internalType: "uint256";
|
|
5687
|
-
readonly type: "uint256";
|
|
5688
|
-
}, {
|
|
5689
|
-
readonly name: "recipient";
|
|
5399
|
+
readonly name: "_logAuthority";
|
|
5690
5400
|
readonly internalType: "address";
|
|
5691
5401
|
readonly type: "address";
|
|
5692
|
-
}, {
|
|
5693
|
-
readonly name: "deadline";
|
|
5694
|
-
readonly internalType: "uint256";
|
|
5695
|
-
readonly type: "uint256";
|
|
5696
|
-
}];
|
|
5697
|
-
readonly name: "createMarket";
|
|
5698
|
-
readonly outputs: readonly [{
|
|
5699
|
-
readonly name: "poolId";
|
|
5700
|
-
readonly internalType: "bytes32";
|
|
5701
|
-
readonly type: "bytes32";
|
|
5702
|
-
}, {
|
|
5703
|
-
readonly name: "baseIn";
|
|
5704
|
-
readonly internalType: "uint256";
|
|
5705
|
-
readonly type: "uint256";
|
|
5706
|
-
}, {
|
|
5707
|
-
readonly name: "quoteIn";
|
|
5708
|
-
readonly internalType: "uint256";
|
|
5709
|
-
readonly type: "uint256";
|
|
5710
|
-
}];
|
|
5711
|
-
readonly stateMutability: "nonpayable";
|
|
5712
|
-
}, {
|
|
5713
|
-
readonly type: "function";
|
|
5714
|
-
readonly inputs: readonly [{
|
|
5715
|
-
readonly name: "actions";
|
|
5716
|
-
readonly internalType: "struct Action[]";
|
|
5717
|
-
readonly type: "tuple[]";
|
|
5718
|
-
readonly components: readonly [{
|
|
5719
|
-
readonly name: "op";
|
|
5720
|
-
readonly internalType: "enum OpType";
|
|
5721
|
-
readonly type: "uint8";
|
|
5722
|
-
}, {
|
|
5723
|
-
readonly name: "data";
|
|
5724
|
-
readonly internalType: "bytes";
|
|
5725
|
-
readonly type: "bytes";
|
|
5726
|
-
}];
|
|
5727
|
-
}, {
|
|
5728
|
-
readonly name: "settle";
|
|
5729
|
-
readonly internalType: "struct Settle";
|
|
5730
|
-
readonly type: "tuple";
|
|
5731
|
-
readonly components: readonly [{
|
|
5732
|
-
readonly name: "tokens";
|
|
5733
|
-
readonly internalType: "address[]";
|
|
5734
|
-
readonly type: "address[]";
|
|
5735
|
-
}, {
|
|
5736
|
-
readonly name: "maxIn";
|
|
5737
|
-
readonly internalType: "uint256[]";
|
|
5738
|
-
readonly type: "uint256[]";
|
|
5739
|
-
}, {
|
|
5740
|
-
readonly name: "minOut";
|
|
5741
|
-
readonly internalType: "uint256[]";
|
|
5742
|
-
readonly type: "uint256[]";
|
|
5743
|
-
}, {
|
|
5744
|
-
readonly name: "recipient";
|
|
5745
|
-
readonly internalType: "address";
|
|
5746
|
-
readonly type: "address";
|
|
5747
|
-
}];
|
|
5748
|
-
}, {
|
|
5749
|
-
readonly name: "deadline";
|
|
5750
|
-
readonly internalType: "uint256";
|
|
5751
|
-
readonly type: "uint256";
|
|
5752
|
-
}];
|
|
5753
|
-
readonly name: "execute";
|
|
5754
|
-
readonly outputs: readonly [{
|
|
5755
|
-
readonly name: "results";
|
|
5756
|
-
readonly internalType: "bytes[]";
|
|
5757
|
-
readonly type: "bytes[]";
|
|
5758
|
-
}, {
|
|
5759
|
-
readonly name: "flows";
|
|
5760
|
-
readonly internalType: "int256[]";
|
|
5761
|
-
readonly type: "int256[]";
|
|
5762
5402
|
}];
|
|
5763
5403
|
readonly stateMutability: "nonpayable";
|
|
5764
5404
|
}, {
|
|
5765
5405
|
readonly type: "function";
|
|
5766
5406
|
readonly inputs: readonly [];
|
|
5767
|
-
readonly name: "
|
|
5768
|
-
readonly outputs: readonly [
|
|
5769
|
-
|
|
5770
|
-
readonly internalType: "contract ManagerC";
|
|
5771
|
-
readonly type: "address";
|
|
5772
|
-
}];
|
|
5773
|
-
readonly stateMutability: "view";
|
|
5407
|
+
readonly name: "acceptLogAuthority";
|
|
5408
|
+
readonly outputs: readonly [];
|
|
5409
|
+
readonly stateMutability: "nonpayable";
|
|
5774
5410
|
}, {
|
|
5775
5411
|
readonly type: "function";
|
|
5776
5412
|
readonly inputs: readonly [{
|
|
5777
|
-
readonly name: "
|
|
5778
|
-
readonly internalType: "bytes32";
|
|
5779
|
-
readonly type: "bytes32";
|
|
5780
|
-
}, {
|
|
5781
|
-
readonly name: "base";
|
|
5782
|
-
readonly internalType: "address";
|
|
5783
|
-
readonly type: "address";
|
|
5784
|
-
}, {
|
|
5785
|
-
readonly name: "quote";
|
|
5786
|
-
readonly internalType: "address";
|
|
5787
|
-
readonly type: "address";
|
|
5788
|
-
}, {
|
|
5789
|
-
readonly name: "targetFloor";
|
|
5790
|
-
readonly internalType: "int256";
|
|
5791
|
-
readonly type: "int256";
|
|
5792
|
-
}, {
|
|
5793
|
-
readonly name: "cap";
|
|
5794
|
-
readonly internalType: "int256";
|
|
5795
|
-
readonly type: "int256";
|
|
5796
|
-
}, {
|
|
5797
|
-
readonly name: "L";
|
|
5798
|
-
readonly internalType: "uint256";
|
|
5799
|
-
readonly type: "uint256";
|
|
5800
|
-
}, {
|
|
5801
|
-
readonly name: "maxBaseIn";
|
|
5802
|
-
readonly internalType: "uint256";
|
|
5803
|
-
readonly type: "uint256";
|
|
5804
|
-
}, {
|
|
5805
|
-
readonly name: "maxQuoteIn";
|
|
5806
|
-
readonly internalType: "uint256";
|
|
5807
|
-
readonly type: "uint256";
|
|
5808
|
-
}, {
|
|
5809
|
-
readonly name: "recipient";
|
|
5413
|
+
readonly name: "policy";
|
|
5810
5414
|
readonly internalType: "address";
|
|
5811
5415
|
readonly type: "address";
|
|
5812
5416
|
}, {
|
|
5813
|
-
readonly name: "
|
|
5814
|
-
readonly internalType: "
|
|
5815
|
-
readonly type: "
|
|
5816
|
-
}];
|
|
5817
|
-
readonly name: "mintBlended";
|
|
5818
|
-
readonly outputs: readonly [{
|
|
5819
|
-
readonly name: "baseIn";
|
|
5820
|
-
readonly internalType: "uint256";
|
|
5821
|
-
readonly type: "uint256";
|
|
5822
|
-
}, {
|
|
5823
|
-
readonly name: "quoteIn";
|
|
5824
|
-
readonly internalType: "uint256";
|
|
5825
|
-
readonly type: "uint256";
|
|
5417
|
+
readonly name: "name";
|
|
5418
|
+
readonly internalType: "bytes32";
|
|
5419
|
+
readonly type: "bytes32";
|
|
5826
5420
|
}];
|
|
5421
|
+
readonly name: "approve";
|
|
5422
|
+
readonly outputs: readonly [];
|
|
5827
5423
|
readonly stateMutability: "nonpayable";
|
|
5828
5424
|
}, {
|
|
5829
5425
|
readonly type: "function";
|
|
5830
5426
|
readonly inputs: readonly [{
|
|
5831
|
-
readonly name: "
|
|
5832
|
-
readonly internalType: "bytes32";
|
|
5833
|
-
readonly type: "bytes32";
|
|
5834
|
-
}, {
|
|
5835
|
-
readonly name: "base";
|
|
5836
|
-
readonly internalType: "address";
|
|
5837
|
-
readonly type: "address";
|
|
5838
|
-
}, {
|
|
5839
|
-
readonly name: "quote";
|
|
5427
|
+
readonly name: "";
|
|
5840
5428
|
readonly internalType: "address";
|
|
5841
5429
|
readonly type: "address";
|
|
5430
|
+
}];
|
|
5431
|
+
readonly name: "entries";
|
|
5432
|
+
readonly outputs: readonly [{
|
|
5433
|
+
readonly name: "listed";
|
|
5434
|
+
readonly internalType: "bool";
|
|
5435
|
+
readonly type: "bool";
|
|
5842
5436
|
}, {
|
|
5843
|
-
readonly name: "
|
|
5844
|
-
readonly internalType: "
|
|
5845
|
-
readonly type: "
|
|
5846
|
-
}, {
|
|
5847
|
-
readonly name: "shares";
|
|
5848
|
-
readonly internalType: "uint256";
|
|
5849
|
-
readonly type: "uint256";
|
|
5850
|
-
}, {
|
|
5851
|
-
readonly name: "toFloor";
|
|
5852
|
-
readonly internalType: "int256";
|
|
5853
|
-
readonly type: "int256";
|
|
5854
|
-
}, {
|
|
5855
|
-
readonly name: "toCap";
|
|
5856
|
-
readonly internalType: "int256";
|
|
5857
|
-
readonly type: "int256";
|
|
5858
|
-
}, {
|
|
5859
|
-
readonly name: "maxBaseIn";
|
|
5860
|
-
readonly internalType: "uint256";
|
|
5861
|
-
readonly type: "uint256";
|
|
5437
|
+
readonly name: "until";
|
|
5438
|
+
readonly internalType: "uint64";
|
|
5439
|
+
readonly type: "uint64";
|
|
5862
5440
|
}, {
|
|
5863
|
-
readonly name: "
|
|
5864
|
-
readonly internalType: "
|
|
5865
|
-
readonly type: "
|
|
5441
|
+
readonly name: "index";
|
|
5442
|
+
readonly internalType: "uint32";
|
|
5443
|
+
readonly type: "uint32";
|
|
5866
5444
|
}, {
|
|
5867
|
-
readonly name: "
|
|
5445
|
+
readonly name: "name";
|
|
5446
|
+
readonly internalType: "bytes32";
|
|
5447
|
+
readonly type: "bytes32";
|
|
5448
|
+
}];
|
|
5449
|
+
readonly stateMutability: "view";
|
|
5450
|
+
}, {
|
|
5451
|
+
readonly type: "function";
|
|
5452
|
+
readonly inputs: readonly [{
|
|
5453
|
+
readonly name: "";
|
|
5868
5454
|
readonly internalType: "address";
|
|
5869
5455
|
readonly type: "address";
|
|
5870
|
-
}, {
|
|
5871
|
-
readonly name: "deadline";
|
|
5872
|
-
readonly internalType: "uint256";
|
|
5873
|
-
readonly type: "uint256";
|
|
5874
5456
|
}];
|
|
5875
|
-
readonly name: "
|
|
5457
|
+
readonly name: "forwarderTrusted";
|
|
5876
5458
|
readonly outputs: readonly [{
|
|
5877
|
-
readonly name: "
|
|
5878
|
-
readonly internalType: "
|
|
5879
|
-
readonly type: "
|
|
5880
|
-
}, {
|
|
5881
|
-
readonly name: "dQuote";
|
|
5882
|
-
readonly internalType: "int256";
|
|
5883
|
-
readonly type: "int256";
|
|
5884
|
-
}, {
|
|
5885
|
-
readonly name: "newShares";
|
|
5886
|
-
readonly internalType: "uint256";
|
|
5887
|
-
readonly type: "uint256";
|
|
5459
|
+
readonly name: "";
|
|
5460
|
+
readonly internalType: "bool";
|
|
5461
|
+
readonly type: "bool";
|
|
5888
5462
|
}];
|
|
5889
|
-
readonly stateMutability: "
|
|
5463
|
+
readonly stateMutability: "view";
|
|
5890
5464
|
}, {
|
|
5891
5465
|
readonly type: "function";
|
|
5892
5466
|
readonly inputs: readonly [{
|
|
5893
|
-
readonly name: "
|
|
5894
|
-
readonly internalType: "
|
|
5895
|
-
readonly type: "
|
|
5467
|
+
readonly name: "policy";
|
|
5468
|
+
readonly internalType: "address";
|
|
5469
|
+
readonly type: "address";
|
|
5896
5470
|
}];
|
|
5897
|
-
readonly name: "
|
|
5471
|
+
readonly name: "isApproved";
|
|
5898
5472
|
readonly outputs: readonly [{
|
|
5899
|
-
readonly name: "
|
|
5900
|
-
readonly internalType: "
|
|
5901
|
-
readonly type: "
|
|
5473
|
+
readonly name: "";
|
|
5474
|
+
readonly internalType: "bool";
|
|
5475
|
+
readonly type: "bool";
|
|
5902
5476
|
}];
|
|
5903
|
-
readonly stateMutability: "
|
|
5477
|
+
readonly stateMutability: "view";
|
|
5478
|
+
}, {
|
|
5479
|
+
readonly type: "function";
|
|
5480
|
+
readonly inputs: readonly [{
|
|
5481
|
+
readonly name: "";
|
|
5482
|
+
readonly internalType: "address";
|
|
5483
|
+
readonly type: "address";
|
|
5484
|
+
}];
|
|
5485
|
+
readonly name: "kindOf";
|
|
5486
|
+
readonly outputs: readonly [{
|
|
5487
|
+
readonly name: "";
|
|
5488
|
+
readonly internalType: "bytes32";
|
|
5489
|
+
readonly type: "bytes32";
|
|
5490
|
+
}];
|
|
5491
|
+
readonly stateMutability: "view";
|
|
5904
5492
|
}, {
|
|
5905
5493
|
readonly type: "function";
|
|
5906
5494
|
readonly inputs: readonly [];
|
|
5907
|
-
readonly name: "
|
|
5495
|
+
readonly name: "logAuthority";
|
|
5908
5496
|
readonly outputs: readonly [{
|
|
5909
5497
|
readonly name: "";
|
|
5910
|
-
readonly internalType: "
|
|
5498
|
+
readonly internalType: "address";
|
|
5499
|
+
readonly type: "address";
|
|
5500
|
+
}];
|
|
5501
|
+
readonly stateMutability: "view";
|
|
5502
|
+
}, {
|
|
5503
|
+
readonly type: "function";
|
|
5504
|
+
readonly inputs: readonly [];
|
|
5505
|
+
readonly name: "pendingLogAuthority";
|
|
5506
|
+
readonly outputs: readonly [{
|
|
5507
|
+
readonly name: "";
|
|
5508
|
+
readonly internalType: "address";
|
|
5911
5509
|
readonly type: "address";
|
|
5912
5510
|
}];
|
|
5913
5511
|
readonly stateMutability: "view";
|
|
5512
|
+
}, {
|
|
5513
|
+
readonly type: "function";
|
|
5514
|
+
readonly inputs: readonly [];
|
|
5515
|
+
readonly name: "policies";
|
|
5516
|
+
readonly outputs: readonly [{
|
|
5517
|
+
readonly name: "";
|
|
5518
|
+
readonly internalType: "address[]";
|
|
5519
|
+
readonly type: "address[]";
|
|
5520
|
+
}];
|
|
5521
|
+
readonly stateMutability: "view";
|
|
5914
5522
|
}, {
|
|
5915
5523
|
readonly type: "function";
|
|
5916
5524
|
readonly inputs: readonly [{
|
|
5917
|
-
readonly name: "
|
|
5918
|
-
readonly internalType: "bytes32";
|
|
5919
|
-
readonly type: "bytes32";
|
|
5920
|
-
}, {
|
|
5921
|
-
readonly name: "exactIn";
|
|
5922
|
-
readonly internalType: "bool";
|
|
5923
|
-
readonly type: "bool";
|
|
5924
|
-
}, {
|
|
5925
|
-
readonly name: "baseSide";
|
|
5926
|
-
readonly internalType: "bool";
|
|
5927
|
-
readonly type: "bool";
|
|
5928
|
-
}, {
|
|
5929
|
-
readonly name: "amount";
|
|
5930
|
-
readonly internalType: "uint256";
|
|
5931
|
-
readonly type: "uint256";
|
|
5932
|
-
}, {
|
|
5933
|
-
readonly name: "taker";
|
|
5525
|
+
readonly name: "next";
|
|
5934
5526
|
readonly internalType: "address";
|
|
5935
5527
|
readonly type: "address";
|
|
5936
5528
|
}];
|
|
5937
|
-
readonly name: "
|
|
5529
|
+
readonly name: "proposeLogAuthority";
|
|
5938
5530
|
readonly outputs: readonly [];
|
|
5939
5531
|
readonly stateMutability: "nonpayable";
|
|
5940
5532
|
}, {
|
|
5941
5533
|
readonly type: "function";
|
|
5942
5534
|
readonly inputs: readonly [{
|
|
5943
|
-
readonly name: "
|
|
5944
|
-
readonly internalType: "bytes32";
|
|
5945
|
-
readonly type: "bytes32";
|
|
5946
|
-
}, {
|
|
5947
|
-
readonly name: "tokenIn";
|
|
5535
|
+
readonly name: "policy";
|
|
5948
5536
|
readonly internalType: "address";
|
|
5949
5537
|
readonly type: "address";
|
|
5950
|
-
}
|
|
5951
|
-
|
|
5538
|
+
}];
|
|
5539
|
+
readonly name: "revoke";
|
|
5540
|
+
readonly outputs: readonly [];
|
|
5541
|
+
readonly stateMutability: "nonpayable";
|
|
5542
|
+
}, {
|
|
5543
|
+
readonly type: "function";
|
|
5544
|
+
readonly inputs: readonly [{
|
|
5545
|
+
readonly name: "forwarder";
|
|
5952
5546
|
readonly internalType: "address";
|
|
5953
5547
|
readonly type: "address";
|
|
5954
5548
|
}, {
|
|
5955
|
-
readonly name: "
|
|
5549
|
+
readonly name: "trusted";
|
|
5956
5550
|
readonly internalType: "bool";
|
|
5957
5551
|
readonly type: "bool";
|
|
5958
|
-
}
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
readonly
|
|
5966
|
-
}, {
|
|
5967
|
-
readonly name: "recipient";
|
|
5552
|
+
}];
|
|
5553
|
+
readonly name: "setForwarderTrusted";
|
|
5554
|
+
readonly outputs: readonly [];
|
|
5555
|
+
readonly stateMutability: "nonpayable";
|
|
5556
|
+
}, {
|
|
5557
|
+
readonly type: "function";
|
|
5558
|
+
readonly inputs: readonly [{
|
|
5559
|
+
readonly name: "who";
|
|
5968
5560
|
readonly internalType: "address";
|
|
5969
5561
|
readonly type: "address";
|
|
5970
5562
|
}, {
|
|
5971
|
-
readonly name: "
|
|
5972
|
-
readonly internalType: "
|
|
5973
|
-
readonly type: "
|
|
5563
|
+
readonly name: "name";
|
|
5564
|
+
readonly internalType: "bytes32";
|
|
5565
|
+
readonly type: "bytes32";
|
|
5974
5566
|
}];
|
|
5975
|
-
readonly name: "
|
|
5567
|
+
readonly name: "setSponsorName";
|
|
5568
|
+
readonly outputs: readonly [];
|
|
5569
|
+
readonly stateMutability: "nonpayable";
|
|
5570
|
+
}, {
|
|
5571
|
+
readonly type: "function";
|
|
5572
|
+
readonly inputs: readonly [{
|
|
5573
|
+
readonly name: "";
|
|
5574
|
+
readonly internalType: "address";
|
|
5575
|
+
readonly type: "address";
|
|
5576
|
+
}];
|
|
5577
|
+
readonly name: "sponsorName";
|
|
5976
5578
|
readonly outputs: readonly [{
|
|
5977
|
-
readonly name: "
|
|
5978
|
-
readonly internalType: "
|
|
5979
|
-
readonly type: "
|
|
5579
|
+
readonly name: "";
|
|
5580
|
+
readonly internalType: "bytes32";
|
|
5581
|
+
readonly type: "bytes32";
|
|
5582
|
+
}];
|
|
5583
|
+
readonly stateMutability: "view";
|
|
5584
|
+
}, {
|
|
5585
|
+
readonly type: "function";
|
|
5586
|
+
readonly inputs: readonly [{
|
|
5587
|
+
readonly name: "policy";
|
|
5588
|
+
readonly internalType: "address";
|
|
5589
|
+
readonly type: "address";
|
|
5590
|
+
}, {
|
|
5591
|
+
readonly name: "untilTime";
|
|
5592
|
+
readonly internalType: "uint64";
|
|
5593
|
+
readonly type: "uint64";
|
|
5980
5594
|
}];
|
|
5595
|
+
readonly name: "sunset";
|
|
5596
|
+
readonly outputs: readonly [];
|
|
5981
5597
|
readonly stateMutability: "nonpayable";
|
|
5982
5598
|
}, {
|
|
5983
5599
|
readonly type: "function";
|
|
5984
5600
|
readonly inputs: readonly [{
|
|
5985
|
-
readonly name: "
|
|
5986
|
-
readonly internalType: "
|
|
5987
|
-
readonly type: "
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5601
|
+
readonly name: "caller";
|
|
5602
|
+
readonly internalType: "address";
|
|
5603
|
+
readonly type: "address";
|
|
5604
|
+
}];
|
|
5605
|
+
readonly name: "userOf";
|
|
5606
|
+
readonly outputs: readonly [{
|
|
5607
|
+
readonly name: "";
|
|
5608
|
+
readonly internalType: "address";
|
|
5609
|
+
readonly type: "address";
|
|
5610
|
+
}];
|
|
5611
|
+
readonly stateMutability: "view";
|
|
5612
|
+
}, {
|
|
5613
|
+
readonly type: "event";
|
|
5614
|
+
readonly anonymous: false;
|
|
5615
|
+
readonly inputs: readonly [{
|
|
5616
|
+
readonly name: "policy";
|
|
5617
|
+
readonly internalType: "address";
|
|
5618
|
+
readonly type: "address";
|
|
5619
|
+
readonly indexed: true;
|
|
5997
5620
|
}, {
|
|
5998
|
-
readonly name: "
|
|
5621
|
+
readonly name: "name";
|
|
5622
|
+
readonly internalType: "bytes32";
|
|
5623
|
+
readonly type: "bytes32";
|
|
5624
|
+
readonly indexed: false;
|
|
5625
|
+
}];
|
|
5626
|
+
readonly name: "Approved";
|
|
5627
|
+
}, {
|
|
5628
|
+
readonly type: "event";
|
|
5629
|
+
readonly anonymous: false;
|
|
5630
|
+
readonly inputs: readonly [{
|
|
5631
|
+
readonly name: "forwarder";
|
|
5999
5632
|
readonly internalType: "address";
|
|
6000
5633
|
readonly type: "address";
|
|
5634
|
+
readonly indexed: true;
|
|
6001
5635
|
}, {
|
|
6002
|
-
readonly name: "
|
|
5636
|
+
readonly name: "trusted";
|
|
5637
|
+
readonly internalType: "bool";
|
|
5638
|
+
readonly type: "bool";
|
|
5639
|
+
readonly indexed: false;
|
|
5640
|
+
}];
|
|
5641
|
+
readonly name: "ForwarderTrusted";
|
|
5642
|
+
}, {
|
|
5643
|
+
readonly type: "event";
|
|
5644
|
+
readonly anonymous: false;
|
|
5645
|
+
readonly inputs: readonly [{
|
|
5646
|
+
readonly name: "prev";
|
|
5647
|
+
readonly internalType: "address";
|
|
5648
|
+
readonly type: "address";
|
|
5649
|
+
readonly indexed: true;
|
|
5650
|
+
}, {
|
|
5651
|
+
readonly name: "next";
|
|
5652
|
+
readonly internalType: "address";
|
|
5653
|
+
readonly type: "address";
|
|
5654
|
+
readonly indexed: true;
|
|
5655
|
+
}];
|
|
5656
|
+
readonly name: "LogAuthorityAccepted";
|
|
5657
|
+
}, {
|
|
5658
|
+
readonly type: "event";
|
|
5659
|
+
readonly anonymous: false;
|
|
5660
|
+
readonly inputs: readonly [{
|
|
5661
|
+
readonly name: "current";
|
|
6003
5662
|
readonly internalType: "address";
|
|
6004
5663
|
readonly type: "address";
|
|
5664
|
+
readonly indexed: true;
|
|
6005
5665
|
}, {
|
|
6006
|
-
readonly name: "
|
|
6007
|
-
readonly internalType: "uint256";
|
|
6008
|
-
readonly type: "uint256";
|
|
6009
|
-
}, {
|
|
6010
|
-
readonly name: "minOut";
|
|
6011
|
-
readonly internalType: "uint256";
|
|
6012
|
-
readonly type: "uint256";
|
|
6013
|
-
}, {
|
|
6014
|
-
readonly name: "recipient";
|
|
5666
|
+
readonly name: "proposed";
|
|
6015
5667
|
readonly internalType: "address";
|
|
6016
5668
|
readonly type: "address";
|
|
6017
|
-
|
|
6018
|
-
readonly name: "deadline";
|
|
6019
|
-
readonly internalType: "uint256";
|
|
6020
|
-
readonly type: "uint256";
|
|
6021
|
-
}];
|
|
6022
|
-
readonly name: "swapExactInPath";
|
|
6023
|
-
readonly outputs: readonly [{
|
|
6024
|
-
readonly name: "amountOut";
|
|
6025
|
-
readonly internalType: "uint256";
|
|
6026
|
-
readonly type: "uint256";
|
|
5669
|
+
readonly indexed: true;
|
|
6027
5670
|
}];
|
|
6028
|
-
readonly
|
|
5671
|
+
readonly name: "LogAuthorityProposed";
|
|
6029
5672
|
}, {
|
|
6030
|
-
readonly type: "
|
|
5673
|
+
readonly type: "event";
|
|
5674
|
+
readonly anonymous: false;
|
|
6031
5675
|
readonly inputs: readonly [{
|
|
6032
|
-
readonly name: "
|
|
6033
|
-
readonly internalType: "bytes32";
|
|
6034
|
-
readonly type: "bytes32";
|
|
6035
|
-
}, {
|
|
6036
|
-
readonly name: "tokenIn";
|
|
5676
|
+
readonly name: "policy";
|
|
6037
5677
|
readonly internalType: "address";
|
|
6038
5678
|
readonly type: "address";
|
|
6039
|
-
|
|
6040
|
-
|
|
5679
|
+
readonly indexed: true;
|
|
5680
|
+
}];
|
|
5681
|
+
readonly name: "Revoked";
|
|
5682
|
+
}, {
|
|
5683
|
+
readonly type: "event";
|
|
5684
|
+
readonly anonymous: false;
|
|
5685
|
+
readonly inputs: readonly [{
|
|
5686
|
+
readonly name: "who";
|
|
6041
5687
|
readonly internalType: "address";
|
|
6042
5688
|
readonly type: "address";
|
|
5689
|
+
readonly indexed: true;
|
|
6043
5690
|
}, {
|
|
6044
|
-
readonly name: "
|
|
6045
|
-
readonly internalType: "
|
|
6046
|
-
readonly type: "
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
readonly
|
|
6055
|
-
}, {
|
|
6056
|
-
readonly name: "recipient";
|
|
5691
|
+
readonly name: "name";
|
|
5692
|
+
readonly internalType: "bytes32";
|
|
5693
|
+
readonly type: "bytes32";
|
|
5694
|
+
readonly indexed: false;
|
|
5695
|
+
}];
|
|
5696
|
+
readonly name: "SponsorNamed";
|
|
5697
|
+
}, {
|
|
5698
|
+
readonly type: "event";
|
|
5699
|
+
readonly anonymous: false;
|
|
5700
|
+
readonly inputs: readonly [{
|
|
5701
|
+
readonly name: "policy";
|
|
6057
5702
|
readonly internalType: "address";
|
|
6058
5703
|
readonly type: "address";
|
|
5704
|
+
readonly indexed: true;
|
|
6059
5705
|
}, {
|
|
6060
|
-
readonly name: "
|
|
6061
|
-
readonly internalType: "
|
|
6062
|
-
readonly type: "
|
|
6063
|
-
|
|
6064
|
-
readonly name: "swapExactOut";
|
|
6065
|
-
readonly outputs: readonly [{
|
|
6066
|
-
readonly name: "amountIn";
|
|
6067
|
-
readonly internalType: "uint256";
|
|
6068
|
-
readonly type: "uint256";
|
|
5706
|
+
readonly name: "untilTime";
|
|
5707
|
+
readonly internalType: "uint64";
|
|
5708
|
+
readonly type: "uint64";
|
|
5709
|
+
readonly indexed: false;
|
|
6069
5710
|
}];
|
|
6070
|
-
readonly
|
|
5711
|
+
readonly name: "SunsetSet";
|
|
5712
|
+
}, {
|
|
5713
|
+
readonly type: "error";
|
|
5714
|
+
readonly inputs: readonly [];
|
|
5715
|
+
readonly name: "BadSunset";
|
|
5716
|
+
}, {
|
|
5717
|
+
readonly type: "error";
|
|
5718
|
+
readonly inputs: readonly [];
|
|
5719
|
+
readonly name: "NotAPolicy";
|
|
5720
|
+
}, {
|
|
5721
|
+
readonly type: "error";
|
|
5722
|
+
readonly inputs: readonly [];
|
|
5723
|
+
readonly name: "NotListed";
|
|
6071
5724
|
}, {
|
|
5725
|
+
readonly type: "error";
|
|
5726
|
+
readonly inputs: readonly [];
|
|
5727
|
+
readonly name: "NotLogAuthority";
|
|
5728
|
+
}];
|
|
5729
|
+
export declare const routerActionsAbi: readonly [{
|
|
6072
5730
|
readonly type: "function";
|
|
6073
5731
|
readonly inputs: readonly [{
|
|
6074
|
-
readonly name: "
|
|
5732
|
+
readonly name: "a";
|
|
5733
|
+
readonly internalType: "struct BurnAct";
|
|
5734
|
+
readonly type: "tuple";
|
|
5735
|
+
readonly components: readonly [{
|
|
5736
|
+
readonly name: "poolId";
|
|
5737
|
+
readonly internalType: "bytes32";
|
|
5738
|
+
readonly type: "bytes32";
|
|
5739
|
+
}, {
|
|
5740
|
+
readonly name: "ids";
|
|
5741
|
+
readonly internalType: "uint256[]";
|
|
5742
|
+
readonly type: "uint256[]";
|
|
5743
|
+
}, {
|
|
5744
|
+
readonly name: "shares";
|
|
5745
|
+
readonly internalType: "uint256[]";
|
|
5746
|
+
readonly type: "uint256[]";
|
|
5747
|
+
}];
|
|
5748
|
+
}];
|
|
5749
|
+
readonly name: "encodeBurn";
|
|
5750
|
+
readonly outputs: readonly [{
|
|
5751
|
+
readonly name: "";
|
|
6075
5752
|
readonly internalType: "bytes";
|
|
6076
5753
|
readonly type: "bytes";
|
|
6077
5754
|
}];
|
|
6078
|
-
readonly
|
|
5755
|
+
readonly stateMutability: "pure";
|
|
5756
|
+
}, {
|
|
5757
|
+
readonly type: "function";
|
|
5758
|
+
readonly inputs: readonly [{
|
|
5759
|
+
readonly name: "a";
|
|
5760
|
+
readonly internalType: "struct ClaimAct";
|
|
5761
|
+
readonly type: "tuple";
|
|
5762
|
+
readonly components: readonly [{
|
|
5763
|
+
readonly name: "poolId";
|
|
5764
|
+
readonly internalType: "bytes32";
|
|
5765
|
+
readonly type: "bytes32";
|
|
5766
|
+
}, {
|
|
5767
|
+
readonly name: "ids";
|
|
5768
|
+
readonly internalType: "uint256[]";
|
|
5769
|
+
readonly type: "uint256[]";
|
|
5770
|
+
}];
|
|
5771
|
+
}];
|
|
5772
|
+
readonly name: "encodeClaim";
|
|
6079
5773
|
readonly outputs: readonly [{
|
|
6080
5774
|
readonly name: "";
|
|
6081
5775
|
readonly internalType: "bytes";
|
|
6082
5776
|
readonly type: "bytes";
|
|
6083
5777
|
}];
|
|
6084
|
-
readonly stateMutability: "
|
|
5778
|
+
readonly stateMutability: "pure";
|
|
6085
5779
|
}, {
|
|
6086
5780
|
readonly type: "function";
|
|
6087
5781
|
readonly inputs: readonly [{
|
|
6088
|
-
readonly name: "
|
|
6089
|
-
readonly internalType: "
|
|
6090
|
-
readonly type: "
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
readonly name: "toFloor";
|
|
6109
|
-
readonly internalType: "int256";
|
|
6110
|
-
readonly type: "int256";
|
|
6111
|
-
}, {
|
|
6112
|
-
readonly name: "toCap";
|
|
6113
|
-
readonly internalType: "int256";
|
|
6114
|
-
readonly type: "int256";
|
|
6115
|
-
}, {
|
|
6116
|
-
readonly name: "newL";
|
|
6117
|
-
readonly internalType: "uint256";
|
|
6118
|
-
readonly type: "uint256";
|
|
6119
|
-
}, {
|
|
6120
|
-
readonly name: "maxBaseIn";
|
|
6121
|
-
readonly internalType: "uint256";
|
|
6122
|
-
readonly type: "uint256";
|
|
6123
|
-
}, {
|
|
6124
|
-
readonly name: "maxQuoteIn";
|
|
6125
|
-
readonly internalType: "uint256";
|
|
6126
|
-
readonly type: "uint256";
|
|
6127
|
-
}, {
|
|
6128
|
-
readonly name: "recipient";
|
|
6129
|
-
readonly internalType: "address";
|
|
6130
|
-
readonly type: "address";
|
|
6131
|
-
}, {
|
|
6132
|
-
readonly name: "deadline";
|
|
6133
|
-
readonly internalType: "uint256";
|
|
6134
|
-
readonly type: "uint256";
|
|
5782
|
+
readonly name: "a";
|
|
5783
|
+
readonly internalType: "struct MintAct";
|
|
5784
|
+
readonly type: "tuple";
|
|
5785
|
+
readonly components: readonly [{
|
|
5786
|
+
readonly name: "poolId";
|
|
5787
|
+
readonly internalType: "bytes32";
|
|
5788
|
+
readonly type: "bytes32";
|
|
5789
|
+
}, {
|
|
5790
|
+
readonly name: "targetFloor";
|
|
5791
|
+
readonly internalType: "int256";
|
|
5792
|
+
readonly type: "int256";
|
|
5793
|
+
}, {
|
|
5794
|
+
readonly name: "cap";
|
|
5795
|
+
readonly internalType: "int256";
|
|
5796
|
+
readonly type: "int256";
|
|
5797
|
+
}, {
|
|
5798
|
+
readonly name: "L";
|
|
5799
|
+
readonly internalType: "uint256";
|
|
5800
|
+
readonly type: "uint256";
|
|
5801
|
+
}];
|
|
6135
5802
|
}];
|
|
6136
|
-
readonly name: "
|
|
5803
|
+
readonly name: "encodeMint";
|
|
6137
5804
|
readonly outputs: readonly [{
|
|
6138
|
-
readonly name: "
|
|
6139
|
-
readonly internalType: "
|
|
6140
|
-
readonly type: "
|
|
6141
|
-
}, {
|
|
6142
|
-
readonly name: "dQuote";
|
|
6143
|
-
readonly internalType: "int256";
|
|
6144
|
-
readonly type: "int256";
|
|
6145
|
-
}, {
|
|
6146
|
-
readonly name: "newShares";
|
|
6147
|
-
readonly internalType: "uint256";
|
|
6148
|
-
readonly type: "uint256";
|
|
5805
|
+
readonly name: "";
|
|
5806
|
+
readonly internalType: "bytes";
|
|
5807
|
+
readonly type: "bytes";
|
|
6149
5808
|
}];
|
|
6150
|
-
readonly stateMutability: "
|
|
5809
|
+
readonly stateMutability: "pure";
|
|
6151
5810
|
}, {
|
|
6152
5811
|
readonly type: "function";
|
|
6153
|
-
readonly inputs: readonly [
|
|
6154
|
-
|
|
5812
|
+
readonly inputs: readonly [{
|
|
5813
|
+
readonly name: "a";
|
|
5814
|
+
readonly internalType: "struct PathAct";
|
|
5815
|
+
readonly type: "tuple";
|
|
5816
|
+
readonly components: readonly [{
|
|
5817
|
+
readonly name: "hops";
|
|
5818
|
+
readonly internalType: "struct Hop[]";
|
|
5819
|
+
readonly type: "tuple[]";
|
|
5820
|
+
readonly components: readonly [{
|
|
5821
|
+
readonly name: "poolId";
|
|
5822
|
+
readonly internalType: "bytes32";
|
|
5823
|
+
readonly type: "bytes32";
|
|
5824
|
+
}, {
|
|
5825
|
+
readonly name: "baseIn";
|
|
5826
|
+
readonly internalType: "bool";
|
|
5827
|
+
readonly type: "bool";
|
|
5828
|
+
}];
|
|
5829
|
+
}, {
|
|
5830
|
+
readonly name: "amountIn";
|
|
5831
|
+
readonly internalType: "uint256";
|
|
5832
|
+
readonly type: "uint256";
|
|
5833
|
+
}, {
|
|
5834
|
+
readonly name: "minOut";
|
|
5835
|
+
readonly internalType: "uint256";
|
|
5836
|
+
readonly type: "uint256";
|
|
5837
|
+
}];
|
|
5838
|
+
}];
|
|
5839
|
+
readonly name: "encodePath";
|
|
6155
5840
|
readonly outputs: readonly [{
|
|
6156
|
-
readonly name: "
|
|
6157
|
-
readonly internalType: "
|
|
6158
|
-
readonly type: "
|
|
5841
|
+
readonly name: "";
|
|
5842
|
+
readonly internalType: "bytes";
|
|
5843
|
+
readonly type: "bytes";
|
|
6159
5844
|
}];
|
|
6160
|
-
readonly stateMutability: "
|
|
5845
|
+
readonly stateMutability: "pure";
|
|
6161
5846
|
}, {
|
|
6162
5847
|
readonly type: "function";
|
|
6163
5848
|
readonly inputs: readonly [{
|
|
6164
|
-
readonly name: "
|
|
6165
|
-
readonly internalType: "
|
|
6166
|
-
readonly type: "
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
readonly name: "minSwapOut";
|
|
6185
|
-
readonly internalType: "uint256";
|
|
6186
|
-
readonly type: "uint256";
|
|
6187
|
-
}, {
|
|
6188
|
-
readonly name: "targetFloor";
|
|
6189
|
-
readonly internalType: "int256";
|
|
6190
|
-
readonly type: "int256";
|
|
6191
|
-
}, {
|
|
6192
|
-
readonly name: "cap";
|
|
6193
|
-
readonly internalType: "int256";
|
|
6194
|
-
readonly type: "int256";
|
|
6195
|
-
}, {
|
|
6196
|
-
readonly name: "L";
|
|
6197
|
-
readonly internalType: "uint256";
|
|
6198
|
-
readonly type: "uint256";
|
|
6199
|
-
}, {
|
|
6200
|
-
readonly name: "maxIn";
|
|
6201
|
-
readonly internalType: "uint256";
|
|
6202
|
-
readonly type: "uint256";
|
|
6203
|
-
}, {
|
|
6204
|
-
readonly name: "recipient";
|
|
6205
|
-
readonly internalType: "address";
|
|
6206
|
-
readonly type: "address";
|
|
6207
|
-
}, {
|
|
6208
|
-
readonly name: "deadline";
|
|
6209
|
-
readonly internalType: "uint256";
|
|
6210
|
-
readonly type: "uint256";
|
|
5849
|
+
readonly name: "a";
|
|
5850
|
+
readonly internalType: "struct SwapAct";
|
|
5851
|
+
readonly type: "tuple";
|
|
5852
|
+
readonly components: readonly [{
|
|
5853
|
+
readonly name: "poolId";
|
|
5854
|
+
readonly internalType: "bytes32";
|
|
5855
|
+
readonly type: "bytes32";
|
|
5856
|
+
}, {
|
|
5857
|
+
readonly name: "baseSide";
|
|
5858
|
+
readonly internalType: "bool";
|
|
5859
|
+
readonly type: "bool";
|
|
5860
|
+
}, {
|
|
5861
|
+
readonly name: "amount";
|
|
5862
|
+
readonly internalType: "uint256";
|
|
5863
|
+
readonly type: "uint256";
|
|
5864
|
+
}, {
|
|
5865
|
+
readonly name: "limit";
|
|
5866
|
+
readonly internalType: "uint256";
|
|
5867
|
+
readonly type: "uint256";
|
|
5868
|
+
}];
|
|
6211
5869
|
}];
|
|
6212
|
-
readonly name: "
|
|
5870
|
+
readonly name: "encodeSwap";
|
|
6213
5871
|
readonly outputs: readonly [{
|
|
6214
|
-
readonly name: "
|
|
6215
|
-
readonly internalType: "
|
|
6216
|
-
readonly type: "
|
|
6217
|
-
}, {
|
|
6218
|
-
readonly name: "quoteIn";
|
|
6219
|
-
readonly internalType: "uint256";
|
|
6220
|
-
readonly type: "uint256";
|
|
5872
|
+
readonly name: "";
|
|
5873
|
+
readonly internalType: "bytes";
|
|
5874
|
+
readonly type: "bytes";
|
|
6221
5875
|
}];
|
|
6222
|
-
readonly stateMutability: "
|
|
5876
|
+
readonly stateMutability: "pure";
|
|
6223
5877
|
}, {
|
|
6224
|
-
readonly type: "
|
|
6225
|
-
readonly anonymous: false;
|
|
5878
|
+
readonly type: "function";
|
|
6226
5879
|
readonly inputs: readonly [{
|
|
6227
|
-
readonly name: "
|
|
6228
|
-
readonly internalType: "
|
|
6229
|
-
readonly type: "
|
|
6230
|
-
readonly
|
|
5880
|
+
readonly name: "a";
|
|
5881
|
+
readonly internalType: "struct UpdateAct";
|
|
5882
|
+
readonly type: "tuple";
|
|
5883
|
+
readonly components: readonly [{
|
|
5884
|
+
readonly name: "poolId";
|
|
5885
|
+
readonly internalType: "bytes32";
|
|
5886
|
+
readonly type: "bytes32";
|
|
5887
|
+
}, {
|
|
5888
|
+
readonly name: "fromId";
|
|
5889
|
+
readonly internalType: "uint256";
|
|
5890
|
+
readonly type: "uint256";
|
|
5891
|
+
}, {
|
|
5892
|
+
readonly name: "shares";
|
|
5893
|
+
readonly internalType: "uint256";
|
|
5894
|
+
readonly type: "uint256";
|
|
5895
|
+
}, {
|
|
5896
|
+
readonly name: "toFloor";
|
|
5897
|
+
readonly internalType: "int256";
|
|
5898
|
+
readonly type: "int256";
|
|
5899
|
+
}, {
|
|
5900
|
+
readonly name: "toCap";
|
|
5901
|
+
readonly internalType: "int256";
|
|
5902
|
+
readonly type: "int256";
|
|
5903
|
+
}, {
|
|
5904
|
+
readonly name: "newL";
|
|
5905
|
+
readonly internalType: "uint256";
|
|
5906
|
+
readonly type: "uint256";
|
|
5907
|
+
}];
|
|
6231
5908
|
}];
|
|
6232
|
-
readonly name: "
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
}, {
|
|
6238
|
-
readonly type: "error";
|
|
6239
|
-
readonly inputs: readonly [];
|
|
6240
|
-
readonly name: "BadRecipient";
|
|
6241
|
-
}, {
|
|
6242
|
-
readonly type: "error";
|
|
6243
|
-
readonly inputs: readonly [];
|
|
6244
|
-
readonly name: "DeadlineExceeded";
|
|
6245
|
-
}, {
|
|
6246
|
-
readonly type: "error";
|
|
6247
|
-
readonly inputs: readonly [];
|
|
6248
|
-
readonly name: "EmptyPath";
|
|
6249
|
-
}, {
|
|
6250
|
-
readonly type: "error";
|
|
6251
|
-
readonly inputs: readonly [];
|
|
6252
|
-
readonly name: "LengthMismatch";
|
|
6253
|
-
}, {
|
|
6254
|
-
readonly type: "error";
|
|
6255
|
-
readonly inputs: readonly [];
|
|
6256
|
-
readonly name: "NotManager";
|
|
6257
|
-
}, {
|
|
6258
|
-
readonly type: "error";
|
|
6259
|
-
readonly inputs: readonly [{
|
|
6260
|
-
readonly name: "amount";
|
|
6261
|
-
readonly internalType: "uint256";
|
|
6262
|
-
readonly type: "uint256";
|
|
5909
|
+
readonly name: "encodeUpdate";
|
|
5910
|
+
readonly outputs: readonly [{
|
|
5911
|
+
readonly name: "";
|
|
5912
|
+
readonly internalType: "bytes";
|
|
5913
|
+
readonly type: "bytes";
|
|
6263
5914
|
}];
|
|
6264
|
-
readonly
|
|
6265
|
-
}, {
|
|
6266
|
-
readonly type: "error";
|
|
6267
|
-
readonly inputs: readonly [];
|
|
6268
|
-
readonly name: "SlippageIn";
|
|
6269
|
-
}, {
|
|
6270
|
-
readonly type: "error";
|
|
6271
|
-
readonly inputs: readonly [];
|
|
6272
|
-
readonly name: "SlippageOut";
|
|
6273
|
-
}, {
|
|
6274
|
-
readonly type: "error";
|
|
6275
|
-
readonly inputs: readonly [];
|
|
6276
|
-
readonly name: "UnsupportedOp";
|
|
6277
|
-
}, {
|
|
6278
|
-
readonly type: "error";
|
|
6279
|
-
readonly inputs: readonly [];
|
|
6280
|
-
readonly name: "WrongToken";
|
|
6281
|
-
}, {
|
|
6282
|
-
readonly type: "error";
|
|
6283
|
-
readonly inputs: readonly [];
|
|
6284
|
-
readonly name: "ZeroAmount";
|
|
5915
|
+
readonly stateMutability: "pure";
|
|
6285
5916
|
}];
|
|
6286
|
-
export declare const
|
|
5917
|
+
export declare const routerCAbi: readonly [{
|
|
6287
5918
|
readonly type: "constructor";
|
|
6288
5919
|
readonly inputs: readonly [{
|
|
6289
5920
|
readonly name: "_mgr";
|
|
6290
|
-
readonly internalType: "contract
|
|
5921
|
+
readonly internalType: "contract ManagerC";
|
|
6291
5922
|
readonly type: "address";
|
|
6292
5923
|
}, {
|
|
6293
5924
|
readonly name: "_permit2";
|
|
@@ -6295,6 +5926,16 @@ export declare const routerFAbi: readonly [{
|
|
|
6295
5926
|
readonly type: "address";
|
|
6296
5927
|
}];
|
|
6297
5928
|
readonly stateMutability: "nonpayable";
|
|
5929
|
+
}, {
|
|
5930
|
+
readonly type: "function";
|
|
5931
|
+
readonly inputs: readonly [];
|
|
5932
|
+
readonly name: "NO_CAP";
|
|
5933
|
+
readonly outputs: readonly [{
|
|
5934
|
+
readonly name: "";
|
|
5935
|
+
readonly internalType: "int256";
|
|
5936
|
+
readonly type: "int256";
|
|
5937
|
+
}];
|
|
5938
|
+
readonly stateMutability: "view";
|
|
6298
5939
|
}, {
|
|
6299
5940
|
readonly type: "function";
|
|
6300
5941
|
readonly inputs: readonly [{
|
|
@@ -6343,40 +5984,6 @@ export declare const routerFAbi: readonly [{
|
|
|
6343
5984
|
readonly name: "applyPermit2";
|
|
6344
5985
|
readonly outputs: readonly [];
|
|
6345
5986
|
readonly stateMutability: "nonpayable";
|
|
6346
|
-
}, {
|
|
6347
|
-
readonly type: "function";
|
|
6348
|
-
readonly inputs: readonly [];
|
|
6349
|
-
readonly name: "mgr";
|
|
6350
|
-
readonly outputs: readonly [{
|
|
6351
|
-
readonly name: "";
|
|
6352
|
-
readonly internalType: "contract ManagerF";
|
|
6353
|
-
readonly type: "address";
|
|
6354
|
-
}];
|
|
6355
|
-
readonly stateMutability: "view";
|
|
6356
|
-
}, {
|
|
6357
|
-
readonly type: "function";
|
|
6358
|
-
readonly inputs: readonly [{
|
|
6359
|
-
readonly name: "data";
|
|
6360
|
-
readonly internalType: "bytes[]";
|
|
6361
|
-
readonly type: "bytes[]";
|
|
6362
|
-
}];
|
|
6363
|
-
readonly name: "multicall";
|
|
6364
|
-
readonly outputs: readonly [{
|
|
6365
|
-
readonly name: "results";
|
|
6366
|
-
readonly internalType: "bytes[]";
|
|
6367
|
-
readonly type: "bytes[]";
|
|
6368
|
-
}];
|
|
6369
|
-
readonly stateMutability: "nonpayable";
|
|
6370
|
-
}, {
|
|
6371
|
-
readonly type: "function";
|
|
6372
|
-
readonly inputs: readonly [];
|
|
6373
|
-
readonly name: "permit2";
|
|
6374
|
-
readonly outputs: readonly [{
|
|
6375
|
-
readonly name: "";
|
|
6376
|
-
readonly internalType: "contract IPermit2";
|
|
6377
|
-
readonly type: "address";
|
|
6378
|
-
}];
|
|
6379
|
-
readonly stateMutability: "view";
|
|
6380
5987
|
}, {
|
|
6381
5988
|
readonly type: "function";
|
|
6382
5989
|
readonly inputs: readonly [{
|
|
@@ -6384,53 +5991,27 @@ export declare const routerFAbi: readonly [{
|
|
|
6384
5991
|
readonly internalType: "bytes32";
|
|
6385
5992
|
readonly type: "bytes32";
|
|
6386
5993
|
}, {
|
|
6387
|
-
readonly name: "
|
|
6388
|
-
readonly internalType: "
|
|
6389
|
-
readonly type: "
|
|
6390
|
-
}, {
|
|
6391
|
-
readonly name: "j";
|
|
6392
|
-
readonly internalType: "uint256";
|
|
6393
|
-
readonly type: "uint256";
|
|
6394
|
-
}, {
|
|
6395
|
-
readonly name: "k";
|
|
6396
|
-
readonly internalType: "uint256";
|
|
6397
|
-
readonly type: "uint256";
|
|
6398
|
-
}, {
|
|
6399
|
-
readonly name: "amountIn";
|
|
6400
|
-
readonly internalType: "uint256";
|
|
6401
|
-
readonly type: "uint256";
|
|
6402
|
-
}, {
|
|
6403
|
-
readonly name: "taker";
|
|
6404
|
-
readonly internalType: "address";
|
|
6405
|
-
readonly type: "address";
|
|
6406
|
-
}];
|
|
6407
|
-
readonly name: "quoteSwap";
|
|
6408
|
-
readonly outputs: readonly [];
|
|
6409
|
-
readonly stateMutability: "nonpayable";
|
|
6410
|
-
}, {
|
|
6411
|
-
readonly type: "function";
|
|
6412
|
-
readonly inputs: readonly [{
|
|
6413
|
-
readonly name: "poolId";
|
|
6414
|
-
readonly internalType: "bytes32";
|
|
6415
|
-
readonly type: "bytes32";
|
|
5994
|
+
readonly name: "base";
|
|
5995
|
+
readonly internalType: "address";
|
|
5996
|
+
readonly type: "address";
|
|
6416
5997
|
}, {
|
|
6417
|
-
readonly name: "
|
|
6418
|
-
readonly internalType: "
|
|
6419
|
-
readonly type: "
|
|
5998
|
+
readonly name: "quote";
|
|
5999
|
+
readonly internalType: "address";
|
|
6000
|
+
readonly type: "address";
|
|
6420
6001
|
}, {
|
|
6421
|
-
readonly name: "
|
|
6422
|
-
readonly internalType: "uint256";
|
|
6423
|
-
readonly type: "uint256";
|
|
6002
|
+
readonly name: "ids";
|
|
6003
|
+
readonly internalType: "uint256[]";
|
|
6004
|
+
readonly type: "uint256[]";
|
|
6424
6005
|
}, {
|
|
6425
|
-
readonly name: "
|
|
6426
|
-
readonly internalType: "uint256";
|
|
6427
|
-
readonly type: "uint256";
|
|
6006
|
+
readonly name: "shares";
|
|
6007
|
+
readonly internalType: "uint256[]";
|
|
6008
|
+
readonly type: "uint256[]";
|
|
6428
6009
|
}, {
|
|
6429
|
-
readonly name: "
|
|
6010
|
+
readonly name: "minBaseOut";
|
|
6430
6011
|
readonly internalType: "uint256";
|
|
6431
6012
|
readonly type: "uint256";
|
|
6432
6013
|
}, {
|
|
6433
|
-
readonly name: "
|
|
6014
|
+
readonly name: "minQuoteOut";
|
|
6434
6015
|
readonly internalType: "uint256";
|
|
6435
6016
|
readonly type: "uint256";
|
|
6436
6017
|
}, {
|
|
@@ -6442,9 +6023,13 @@ export declare const routerFAbi: readonly [{
|
|
|
6442
6023
|
readonly internalType: "uint256";
|
|
6443
6024
|
readonly type: "uint256";
|
|
6444
6025
|
}];
|
|
6445
|
-
readonly name: "
|
|
6026
|
+
readonly name: "burn";
|
|
6446
6027
|
readonly outputs: readonly [{
|
|
6447
|
-
readonly name: "
|
|
6028
|
+
readonly name: "baseOut";
|
|
6029
|
+
readonly internalType: "uint256";
|
|
6030
|
+
readonly type: "uint256";
|
|
6031
|
+
}, {
|
|
6032
|
+
readonly name: "quoteOut";
|
|
6448
6033
|
readonly internalType: "uint256";
|
|
6449
6034
|
readonly type: "uint256";
|
|
6450
6035
|
}];
|
|
@@ -6456,25 +6041,13 @@ export declare const routerFAbi: readonly [{
|
|
|
6456
6041
|
readonly internalType: "bytes32";
|
|
6457
6042
|
readonly type: "bytes32";
|
|
6458
6043
|
}, {
|
|
6459
|
-
readonly name: "
|
|
6460
|
-
readonly internalType: "
|
|
6461
|
-
readonly type: "
|
|
6462
|
-
}, {
|
|
6463
|
-
readonly name: "j";
|
|
6464
|
-
readonly internalType: "uint256";
|
|
6465
|
-
readonly type: "uint256";
|
|
6466
|
-
}, {
|
|
6467
|
-
readonly name: "k";
|
|
6468
|
-
readonly internalType: "uint256";
|
|
6469
|
-
readonly type: "uint256";
|
|
6470
|
-
}, {
|
|
6471
|
-
readonly name: "amountIn";
|
|
6472
|
-
readonly internalType: "uint256";
|
|
6473
|
-
readonly type: "uint256";
|
|
6044
|
+
readonly name: "quote";
|
|
6045
|
+
readonly internalType: "address";
|
|
6046
|
+
readonly type: "address";
|
|
6474
6047
|
}, {
|
|
6475
|
-
readonly name: "
|
|
6476
|
-
readonly internalType: "uint256";
|
|
6477
|
-
readonly type: "uint256";
|
|
6048
|
+
readonly name: "ids";
|
|
6049
|
+
readonly internalType: "uint256[]";
|
|
6050
|
+
readonly type: "uint256[]";
|
|
6478
6051
|
}, {
|
|
6479
6052
|
readonly name: "to";
|
|
6480
6053
|
readonly internalType: "address";
|
|
@@ -6484,9 +6057,9 @@ export declare const routerFAbi: readonly [{
|
|
|
6484
6057
|
readonly internalType: "uint256";
|
|
6485
6058
|
readonly type: "uint256";
|
|
6486
6059
|
}];
|
|
6487
|
-
readonly name: "
|
|
6060
|
+
readonly name: "claim";
|
|
6488
6061
|
readonly outputs: readonly [{
|
|
6489
|
-
readonly name: "
|
|
6062
|
+
readonly name: "total";
|
|
6490
6063
|
readonly internalType: "uint256";
|
|
6491
6064
|
readonly type: "uint256";
|
|
6492
6065
|
}];
|
|
@@ -6494,33 +6067,97 @@ export declare const routerFAbi: readonly [{
|
|
|
6494
6067
|
}, {
|
|
6495
6068
|
readonly type: "function";
|
|
6496
6069
|
readonly inputs: readonly [{
|
|
6497
|
-
readonly name: "
|
|
6498
|
-
readonly internalType: "
|
|
6499
|
-
readonly type: "
|
|
6070
|
+
readonly name: "actions";
|
|
6071
|
+
readonly internalType: "struct Action[]";
|
|
6072
|
+
readonly type: "tuple[]";
|
|
6073
|
+
readonly components: readonly [{
|
|
6074
|
+
readonly name: "op";
|
|
6075
|
+
readonly internalType: "enum OpType";
|
|
6076
|
+
readonly type: "uint8";
|
|
6077
|
+
}, {
|
|
6078
|
+
readonly name: "data";
|
|
6079
|
+
readonly internalType: "bytes";
|
|
6080
|
+
readonly type: "bytes";
|
|
6081
|
+
}];
|
|
6082
|
+
}, {
|
|
6083
|
+
readonly name: "settle";
|
|
6084
|
+
readonly internalType: "struct Settle";
|
|
6085
|
+
readonly type: "tuple";
|
|
6086
|
+
readonly components: readonly [{
|
|
6087
|
+
readonly name: "tokens";
|
|
6088
|
+
readonly internalType: "address[]";
|
|
6089
|
+
readonly type: "address[]";
|
|
6090
|
+
}, {
|
|
6091
|
+
readonly name: "maxIn";
|
|
6092
|
+
readonly internalType: "uint256[]";
|
|
6093
|
+
readonly type: "uint256[]";
|
|
6094
|
+
}, {
|
|
6095
|
+
readonly name: "minOut";
|
|
6096
|
+
readonly internalType: "uint256[]";
|
|
6097
|
+
readonly type: "uint256[]";
|
|
6098
|
+
}, {
|
|
6099
|
+
readonly name: "to";
|
|
6100
|
+
readonly internalType: "address";
|
|
6101
|
+
readonly type: "address";
|
|
6102
|
+
}];
|
|
6103
|
+
}, {
|
|
6104
|
+
readonly name: "deadline";
|
|
6105
|
+
readonly internalType: "uint256";
|
|
6106
|
+
readonly type: "uint256";
|
|
6500
6107
|
}];
|
|
6501
|
-
readonly name: "
|
|
6108
|
+
readonly name: "execute";
|
|
6502
6109
|
readonly outputs: readonly [{
|
|
6503
|
-
readonly name: "";
|
|
6504
|
-
readonly internalType: "bytes";
|
|
6505
|
-
readonly type: "bytes";
|
|
6110
|
+
readonly name: "results";
|
|
6111
|
+
readonly internalType: "bytes[]";
|
|
6112
|
+
readonly type: "bytes[]";
|
|
6113
|
+
}, {
|
|
6114
|
+
readonly name: "flows";
|
|
6115
|
+
readonly internalType: "int256[]";
|
|
6116
|
+
readonly type: "int256[]";
|
|
6506
6117
|
}];
|
|
6507
6118
|
readonly stateMutability: "nonpayable";
|
|
6119
|
+
}, {
|
|
6120
|
+
readonly type: "function";
|
|
6121
|
+
readonly inputs: readonly [];
|
|
6122
|
+
readonly name: "mgr";
|
|
6123
|
+
readonly outputs: readonly [{
|
|
6124
|
+
readonly name: "";
|
|
6125
|
+
readonly internalType: "contract ManagerC";
|
|
6126
|
+
readonly type: "address";
|
|
6127
|
+
}];
|
|
6128
|
+
readonly stateMutability: "view";
|
|
6508
6129
|
}, {
|
|
6509
6130
|
readonly type: "function";
|
|
6510
6131
|
readonly inputs: readonly [{
|
|
6511
6132
|
readonly name: "poolId";
|
|
6512
6133
|
readonly internalType: "bytes32";
|
|
6513
6134
|
readonly type: "bytes32";
|
|
6135
|
+
}, {
|
|
6136
|
+
readonly name: "base";
|
|
6137
|
+
readonly internalType: "address";
|
|
6138
|
+
readonly type: "address";
|
|
6139
|
+
}, {
|
|
6140
|
+
readonly name: "quote";
|
|
6141
|
+
readonly internalType: "address";
|
|
6142
|
+
readonly type: "address";
|
|
6143
|
+
}, {
|
|
6144
|
+
readonly name: "targetFloor";
|
|
6145
|
+
readonly internalType: "int256";
|
|
6146
|
+
readonly type: "int256";
|
|
6147
|
+
}, {
|
|
6148
|
+
readonly name: "cap";
|
|
6149
|
+
readonly internalType: "int256";
|
|
6150
|
+
readonly type: "int256";
|
|
6514
6151
|
}, {
|
|
6515
6152
|
readonly name: "L";
|
|
6516
6153
|
readonly internalType: "uint256";
|
|
6517
6154
|
readonly type: "uint256";
|
|
6518
6155
|
}, {
|
|
6519
|
-
readonly name: "
|
|
6156
|
+
readonly name: "maxBaseIn";
|
|
6520
6157
|
readonly internalType: "uint256";
|
|
6521
6158
|
readonly type: "uint256";
|
|
6522
6159
|
}, {
|
|
6523
|
-
readonly name: "
|
|
6160
|
+
readonly name: "maxQuoteIn";
|
|
6524
6161
|
readonly internalType: "uint256";
|
|
6525
6162
|
readonly type: "uint256";
|
|
6526
6163
|
}, {
|
|
@@ -6532,9 +6169,13 @@ export declare const routerFAbi: readonly [{
|
|
|
6532
6169
|
readonly internalType: "uint256";
|
|
6533
6170
|
readonly type: "uint256";
|
|
6534
6171
|
}];
|
|
6535
|
-
readonly name: "
|
|
6172
|
+
readonly name: "mintBlended";
|
|
6536
6173
|
readonly outputs: readonly [{
|
|
6537
|
-
readonly name: "
|
|
6174
|
+
readonly name: "baseIn";
|
|
6175
|
+
readonly internalType: "uint256";
|
|
6176
|
+
readonly type: "uint256";
|
|
6177
|
+
}, {
|
|
6178
|
+
readonly name: "quoteIn";
|
|
6538
6179
|
readonly internalType: "uint256";
|
|
6539
6180
|
readonly type: "uint256";
|
|
6540
6181
|
}];
|
|
@@ -6546,193 +6187,83 @@ export declare const routerFAbi: readonly [{
|
|
|
6546
6187
|
readonly internalType: "bytes32";
|
|
6547
6188
|
readonly type: "bytes32";
|
|
6548
6189
|
}, {
|
|
6549
|
-
readonly name: "
|
|
6550
|
-
readonly internalType: "uint256";
|
|
6551
|
-
readonly type: "uint256";
|
|
6552
|
-
}, {
|
|
6553
|
-
readonly name: "tokenOut";
|
|
6190
|
+
readonly name: "base";
|
|
6554
6191
|
readonly internalType: "address";
|
|
6555
6192
|
readonly type: "address";
|
|
6556
6193
|
}, {
|
|
6557
|
-
readonly name: "
|
|
6558
|
-
readonly internalType: "uint256";
|
|
6559
|
-
readonly type: "uint256";
|
|
6560
|
-
}, {
|
|
6561
|
-
readonly name: "to";
|
|
6194
|
+
readonly name: "quote";
|
|
6562
6195
|
readonly internalType: "address";
|
|
6563
6196
|
readonly type: "address";
|
|
6564
6197
|
}, {
|
|
6565
|
-
readonly name: "
|
|
6566
|
-
readonly internalType: "uint256";
|
|
6567
|
-
readonly type: "uint256";
|
|
6568
|
-
}];
|
|
6569
|
-
readonly name: "zapOut";
|
|
6570
|
-
readonly outputs: readonly [{
|
|
6571
|
-
readonly name: "amountOut";
|
|
6198
|
+
readonly name: "fromId";
|
|
6572
6199
|
readonly internalType: "uint256";
|
|
6573
6200
|
readonly type: "uint256";
|
|
6574
|
-
}
|
|
6575
|
-
|
|
6576
|
-
}, {
|
|
6577
|
-
readonly type: "event";
|
|
6578
|
-
readonly anonymous: false;
|
|
6579
|
-
readonly inputs: readonly [{
|
|
6580
|
-
readonly name: "user";
|
|
6581
|
-
readonly internalType: "address";
|
|
6582
|
-
readonly type: "address";
|
|
6583
|
-
readonly indexed: true;
|
|
6584
|
-
}];
|
|
6585
|
-
readonly name: "RouterCall";
|
|
6586
|
-
}, {
|
|
6587
|
-
readonly type: "error";
|
|
6588
|
-
readonly inputs: readonly [];
|
|
6589
|
-
readonly name: "BadRecipient";
|
|
6590
|
-
}, {
|
|
6591
|
-
readonly type: "error";
|
|
6592
|
-
readonly inputs: readonly [];
|
|
6593
|
-
readonly name: "BadToken";
|
|
6594
|
-
}, {
|
|
6595
|
-
readonly type: "error";
|
|
6596
|
-
readonly inputs: readonly [];
|
|
6597
|
-
readonly name: "DeadlineExceeded";
|
|
6598
|
-
}, {
|
|
6599
|
-
readonly type: "error";
|
|
6600
|
-
readonly inputs: readonly [];
|
|
6601
|
-
readonly name: "DrainsBase";
|
|
6602
|
-
}, {
|
|
6603
|
-
readonly type: "error";
|
|
6604
|
-
readonly inputs: readonly [];
|
|
6605
|
-
readonly name: "NotManager";
|
|
6606
|
-
}, {
|
|
6607
|
-
readonly type: "error";
|
|
6608
|
-
readonly inputs: readonly [{
|
|
6609
|
-
readonly name: "amount";
|
|
6201
|
+
}, {
|
|
6202
|
+
readonly name: "shares";
|
|
6610
6203
|
readonly internalType: "uint256";
|
|
6611
6204
|
readonly type: "uint256";
|
|
6612
|
-
}];
|
|
6613
|
-
readonly name: "QuoteResult";
|
|
6614
|
-
}, {
|
|
6615
|
-
readonly type: "error";
|
|
6616
|
-
readonly inputs: readonly [];
|
|
6617
|
-
readonly name: "SlippageIn";
|
|
6618
|
-
}, {
|
|
6619
|
-
readonly type: "error";
|
|
6620
|
-
readonly inputs: readonly [];
|
|
6621
|
-
readonly name: "SlippageOut";
|
|
6622
|
-
}, {
|
|
6623
|
-
readonly type: "error";
|
|
6624
|
-
readonly inputs: readonly [];
|
|
6625
|
-
readonly name: "UnsupportedOp";
|
|
6626
|
-
}, {
|
|
6627
|
-
readonly type: "error";
|
|
6628
|
-
readonly inputs: readonly [];
|
|
6629
|
-
readonly name: "ZeroAmount";
|
|
6630
|
-
}];
|
|
6631
|
-
export declare const sponsorPolicyCAbi: readonly [{
|
|
6632
|
-
readonly type: "constructor";
|
|
6633
|
-
readonly inputs: readonly [{
|
|
6634
|
-
readonly name: "manager_";
|
|
6635
|
-
readonly internalType: "contract ManagerC";
|
|
6636
|
-
readonly type: "address";
|
|
6637
6205
|
}, {
|
|
6638
|
-
readonly name: "
|
|
6639
|
-
readonly internalType: "
|
|
6640
|
-
readonly type: "
|
|
6641
|
-
readonly components: readonly [{
|
|
6642
|
-
readonly name: "sponsor";
|
|
6643
|
-
readonly internalType: "address";
|
|
6644
|
-
readonly type: "address";
|
|
6645
|
-
}, {
|
|
6646
|
-
readonly name: "swapTiers";
|
|
6647
|
-
readonly internalType: "uint256";
|
|
6648
|
-
readonly type: "uint256";
|
|
6649
|
-
}, {
|
|
6650
|
-
readonly name: "mintTiers";
|
|
6651
|
-
readonly internalType: "uint256";
|
|
6652
|
-
readonly type: "uint256";
|
|
6653
|
-
}, {
|
|
6654
|
-
readonly name: "canonical";
|
|
6655
|
-
readonly internalType: "bool";
|
|
6656
|
-
readonly type: "bool";
|
|
6657
|
-
}, {
|
|
6658
|
-
readonly name: "gatesAvailable";
|
|
6659
|
-
readonly internalType: "bool";
|
|
6660
|
-
readonly type: "bool";
|
|
6661
|
-
}, {
|
|
6662
|
-
readonly name: "bornGated";
|
|
6663
|
-
readonly internalType: "bool";
|
|
6664
|
-
readonly type: "bool";
|
|
6665
|
-
}, {
|
|
6666
|
-
readonly name: "quotes";
|
|
6667
|
-
readonly internalType: "address[]";
|
|
6668
|
-
readonly type: "address[]";
|
|
6669
|
-
}];
|
|
6206
|
+
readonly name: "toFloor";
|
|
6207
|
+
readonly internalType: "int256";
|
|
6208
|
+
readonly type: "int256";
|
|
6670
6209
|
}, {
|
|
6671
|
-
readonly name: "
|
|
6210
|
+
readonly name: "toCap";
|
|
6211
|
+
readonly internalType: "int256";
|
|
6212
|
+
readonly type: "int256";
|
|
6213
|
+
}, {
|
|
6214
|
+
readonly name: "maxBaseIn";
|
|
6672
6215
|
readonly internalType: "uint256";
|
|
6673
6216
|
readonly type: "uint256";
|
|
6674
6217
|
}, {
|
|
6675
|
-
readonly name: "
|
|
6676
|
-
readonly internalType: "int256[]";
|
|
6677
|
-
readonly type: "int256[]";
|
|
6678
|
-
}];
|
|
6679
|
-
readonly stateMutability: "nonpayable";
|
|
6680
|
-
}, {
|
|
6681
|
-
readonly type: "function";
|
|
6682
|
-
readonly inputs: readonly [];
|
|
6683
|
-
readonly name: "SWAP_FEE_TAX_MAX";
|
|
6684
|
-
readonly outputs: readonly [{
|
|
6685
|
-
readonly name: "";
|
|
6218
|
+
readonly name: "maxQuoteIn";
|
|
6686
6219
|
readonly internalType: "uint256";
|
|
6687
6220
|
readonly type: "uint256";
|
|
6688
|
-
}];
|
|
6689
|
-
readonly stateMutability: "view";
|
|
6690
|
-
}, {
|
|
6691
|
-
readonly type: "function";
|
|
6692
|
-
readonly inputs: readonly [{
|
|
6693
|
-
readonly name: "poolId";
|
|
6694
|
-
readonly internalType: "bytes32";
|
|
6695
|
-
readonly type: "bytes32";
|
|
6696
6221
|
}, {
|
|
6697
|
-
readonly name: "
|
|
6222
|
+
readonly name: "to";
|
|
6698
6223
|
readonly internalType: "address";
|
|
6699
6224
|
readonly type: "address";
|
|
6225
|
+
}, {
|
|
6226
|
+
readonly name: "deadline";
|
|
6227
|
+
readonly internalType: "uint256";
|
|
6228
|
+
readonly type: "uint256";
|
|
6229
|
+
}];
|
|
6230
|
+
readonly name: "move";
|
|
6231
|
+
readonly outputs: readonly [{
|
|
6232
|
+
readonly name: "dBase";
|
|
6233
|
+
readonly internalType: "int256";
|
|
6234
|
+
readonly type: "int256";
|
|
6235
|
+
}, {
|
|
6236
|
+
readonly name: "dQuote";
|
|
6237
|
+
readonly internalType: "int256";
|
|
6238
|
+
readonly type: "int256";
|
|
6239
|
+
}, {
|
|
6240
|
+
readonly name: "newShares";
|
|
6241
|
+
readonly internalType: "uint256";
|
|
6242
|
+
readonly type: "uint256";
|
|
6700
6243
|
}];
|
|
6701
|
-
readonly name: "appointOperator";
|
|
6702
|
-
readonly outputs: readonly [];
|
|
6703
6244
|
readonly stateMutability: "nonpayable";
|
|
6704
6245
|
}, {
|
|
6705
6246
|
readonly type: "function";
|
|
6706
6247
|
readonly inputs: readonly [{
|
|
6707
|
-
readonly name: "";
|
|
6708
|
-
readonly internalType: "
|
|
6709
|
-
readonly type: "
|
|
6710
|
-
}];
|
|
6711
|
-
readonly name: "authority";
|
|
6712
|
-
readonly outputs: readonly [{
|
|
6713
|
-
readonly name: "";
|
|
6714
|
-
readonly internalType: "address";
|
|
6715
|
-
readonly type: "address";
|
|
6248
|
+
readonly name: "data";
|
|
6249
|
+
readonly internalType: "bytes[]";
|
|
6250
|
+
readonly type: "bytes[]";
|
|
6716
6251
|
}];
|
|
6717
|
-
readonly
|
|
6718
|
-
}, {
|
|
6719
|
-
readonly type: "function";
|
|
6720
|
-
readonly inputs: readonly [];
|
|
6721
|
-
readonly name: "bornGated";
|
|
6252
|
+
readonly name: "multicall";
|
|
6722
6253
|
readonly outputs: readonly [{
|
|
6723
|
-
readonly name: "";
|
|
6724
|
-
readonly internalType: "
|
|
6725
|
-
readonly type: "
|
|
6254
|
+
readonly name: "results";
|
|
6255
|
+
readonly internalType: "bytes[]";
|
|
6256
|
+
readonly type: "bytes[]";
|
|
6726
6257
|
}];
|
|
6727
|
-
readonly stateMutability: "
|
|
6258
|
+
readonly stateMutability: "nonpayable";
|
|
6728
6259
|
}, {
|
|
6729
6260
|
readonly type: "function";
|
|
6730
6261
|
readonly inputs: readonly [];
|
|
6731
|
-
readonly name: "
|
|
6262
|
+
readonly name: "permit2";
|
|
6732
6263
|
readonly outputs: readonly [{
|
|
6733
6264
|
readonly name: "";
|
|
6734
|
-
readonly internalType: "
|
|
6735
|
-
readonly type: "
|
|
6265
|
+
readonly internalType: "contract IPermit2";
|
|
6266
|
+
readonly type: "address";
|
|
6736
6267
|
}];
|
|
6737
6268
|
readonly stateMutability: "view";
|
|
6738
6269
|
}, {
|
|
@@ -6742,199 +6273,170 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
6742
6273
|
readonly internalType: "bytes32";
|
|
6743
6274
|
readonly type: "bytes32";
|
|
6744
6275
|
}, {
|
|
6745
|
-
readonly name: "
|
|
6746
|
-
readonly internalType: "struct ISponsorMigration.Permissions";
|
|
6747
|
-
readonly type: "tuple";
|
|
6748
|
-
readonly components: readonly [{
|
|
6749
|
-
readonly name: "swapMode";
|
|
6750
|
-
readonly internalType: "uint8";
|
|
6751
|
-
readonly type: "uint8";
|
|
6752
|
-
}, {
|
|
6753
|
-
readonly name: "operator";
|
|
6754
|
-
readonly internalType: "address";
|
|
6755
|
-
readonly type: "address";
|
|
6756
|
-
}, {
|
|
6757
|
-
readonly name: "mintGated";
|
|
6758
|
-
readonly internalType: "bool";
|
|
6759
|
-
readonly type: "bool";
|
|
6760
|
-
}, {
|
|
6761
|
-
readonly name: "listed";
|
|
6762
|
-
readonly internalType: "address[]";
|
|
6763
|
-
readonly type: "address[]";
|
|
6764
|
-
}];
|
|
6765
|
-
}];
|
|
6766
|
-
readonly name: "configureMigration";
|
|
6767
|
-
readonly outputs: readonly [];
|
|
6768
|
-
readonly stateMutability: "nonpayable";
|
|
6769
|
-
}, {
|
|
6770
|
-
readonly type: "function";
|
|
6771
|
-
readonly inputs: readonly [{
|
|
6772
|
-
readonly name: "";
|
|
6773
|
-
readonly internalType: "bytes32";
|
|
6774
|
-
readonly type: "bytes32";
|
|
6775
|
-
}];
|
|
6776
|
-
readonly name: "gateMint";
|
|
6777
|
-
readonly outputs: readonly [{
|
|
6778
|
-
readonly name: "";
|
|
6276
|
+
readonly name: "exactIn";
|
|
6779
6277
|
readonly internalType: "bool";
|
|
6780
6278
|
readonly type: "bool";
|
|
6781
|
-
}
|
|
6782
|
-
|
|
6783
|
-
}, {
|
|
6784
|
-
readonly type: "function";
|
|
6785
|
-
readonly inputs: readonly [];
|
|
6786
|
-
readonly name: "gatesAvailable";
|
|
6787
|
-
readonly outputs: readonly [{
|
|
6788
|
-
readonly name: "";
|
|
6279
|
+
}, {
|
|
6280
|
+
readonly name: "baseSide";
|
|
6789
6281
|
readonly internalType: "bool";
|
|
6790
6282
|
readonly type: "bool";
|
|
6791
|
-
}];
|
|
6792
|
-
readonly stateMutability: "view";
|
|
6793
|
-
}, {
|
|
6794
|
-
readonly type: "function";
|
|
6795
|
-
readonly inputs: readonly [{
|
|
6796
|
-
readonly name: "";
|
|
6797
|
-
readonly internalType: "bytes32";
|
|
6798
|
-
readonly type: "bytes32";
|
|
6799
|
-
}];
|
|
6800
|
-
readonly name: "incomeTax";
|
|
6801
|
-
readonly outputs: readonly [{
|
|
6802
|
-
readonly name: "";
|
|
6803
|
-
readonly internalType: "address";
|
|
6804
|
-
readonly type: "address";
|
|
6805
6283
|
}, {
|
|
6806
|
-
readonly name: "";
|
|
6284
|
+
readonly name: "amount";
|
|
6807
6285
|
readonly internalType: "uint256";
|
|
6808
6286
|
readonly type: "uint256";
|
|
6287
|
+
}, {
|
|
6288
|
+
readonly name: "taker";
|
|
6289
|
+
readonly internalType: "address";
|
|
6290
|
+
readonly type: "address";
|
|
6809
6291
|
}];
|
|
6810
|
-
readonly
|
|
6811
|
-
|
|
6812
|
-
readonly
|
|
6813
|
-
readonly inputs: readonly [];
|
|
6814
|
-
readonly name: "kind";
|
|
6815
|
-
readonly outputs: readonly [{
|
|
6816
|
-
readonly name: "";
|
|
6817
|
-
readonly internalType: "bytes32";
|
|
6818
|
-
readonly type: "bytes32";
|
|
6819
|
-
}];
|
|
6820
|
-
readonly stateMutability: "pure";
|
|
6292
|
+
readonly name: "quoteSwap";
|
|
6293
|
+
readonly outputs: readonly [];
|
|
6294
|
+
readonly stateMutability: "nonpayable";
|
|
6821
6295
|
}, {
|
|
6822
6296
|
readonly type: "function";
|
|
6823
6297
|
readonly inputs: readonly [{
|
|
6824
|
-
readonly name: "";
|
|
6298
|
+
readonly name: "poolId";
|
|
6825
6299
|
readonly internalType: "bytes32";
|
|
6826
6300
|
readonly type: "bytes32";
|
|
6827
6301
|
}, {
|
|
6828
|
-
readonly name: "";
|
|
6302
|
+
readonly name: "tokenIn";
|
|
6829
6303
|
readonly internalType: "address";
|
|
6830
6304
|
readonly type: "address";
|
|
6831
|
-
}
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
readonly
|
|
6305
|
+
}, {
|
|
6306
|
+
readonly name: "tokenOut";
|
|
6307
|
+
readonly internalType: "address";
|
|
6308
|
+
readonly type: "address";
|
|
6309
|
+
}, {
|
|
6310
|
+
readonly name: "baseIn";
|
|
6835
6311
|
readonly internalType: "bool";
|
|
6836
6312
|
readonly type: "bool";
|
|
6837
|
-
}
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
readonly
|
|
6313
|
+
}, {
|
|
6314
|
+
readonly name: "amountIn";
|
|
6315
|
+
readonly internalType: "uint256";
|
|
6316
|
+
readonly type: "uint256";
|
|
6317
|
+
}, {
|
|
6318
|
+
readonly name: "minOut";
|
|
6319
|
+
readonly internalType: "uint256";
|
|
6320
|
+
readonly type: "uint256";
|
|
6321
|
+
}, {
|
|
6322
|
+
readonly name: "to";
|
|
6845
6323
|
readonly internalType: "address";
|
|
6846
6324
|
readonly type: "address";
|
|
6325
|
+
}, {
|
|
6326
|
+
readonly name: "deadline";
|
|
6327
|
+
readonly internalType: "uint256";
|
|
6328
|
+
readonly type: "uint256";
|
|
6847
6329
|
}];
|
|
6848
|
-
readonly
|
|
6330
|
+
readonly name: "swapExactIn";
|
|
6331
|
+
readonly outputs: readonly [{
|
|
6332
|
+
readonly name: "amountOut";
|
|
6333
|
+
readonly internalType: "uint256";
|
|
6334
|
+
readonly type: "uint256";
|
|
6335
|
+
}];
|
|
6336
|
+
readonly stateMutability: "nonpayable";
|
|
6849
6337
|
}, {
|
|
6850
6338
|
readonly type: "function";
|
|
6851
6339
|
readonly inputs: readonly [{
|
|
6852
|
-
readonly name: "
|
|
6853
|
-
readonly internalType: "struct
|
|
6854
|
-
readonly type: "tuple";
|
|
6340
|
+
readonly name: "hops";
|
|
6341
|
+
readonly internalType: "struct Hop[]";
|
|
6342
|
+
readonly type: "tuple[]";
|
|
6855
6343
|
readonly components: readonly [{
|
|
6856
6344
|
readonly name: "poolId";
|
|
6857
6345
|
readonly internalType: "bytes32";
|
|
6858
6346
|
readonly type: "bytes32";
|
|
6859
6347
|
}, {
|
|
6860
|
-
readonly name: "
|
|
6861
|
-
readonly internalType: "
|
|
6862
|
-
readonly type: "
|
|
6863
|
-
}, {
|
|
6864
|
-
readonly name: "action";
|
|
6865
|
-
readonly internalType: "enum IPolicy.Action";
|
|
6866
|
-
readonly type: "uint8";
|
|
6867
|
-
}, {
|
|
6868
|
-
readonly name: "who";
|
|
6869
|
-
readonly internalType: "address";
|
|
6870
|
-
readonly type: "address";
|
|
6871
|
-
}, {
|
|
6872
|
-
readonly name: "amount";
|
|
6873
|
-
readonly internalType: "uint256";
|
|
6874
|
-
readonly type: "uint256";
|
|
6875
|
-
}, {
|
|
6876
|
-
readonly name: "income";
|
|
6877
|
-
readonly internalType: "uint256";
|
|
6878
|
-
readonly type: "uint256";
|
|
6879
|
-
}, {
|
|
6880
|
-
readonly name: "Q";
|
|
6881
|
-
readonly internalType: "uint256";
|
|
6882
|
-
readonly type: "uint256";
|
|
6883
|
-
}, {
|
|
6884
|
-
readonly name: "L";
|
|
6885
|
-
readonly internalType: "uint256";
|
|
6886
|
-
readonly type: "uint256";
|
|
6887
|
-
}, {
|
|
6888
|
-
readonly name: "n";
|
|
6889
|
-
readonly internalType: "uint256";
|
|
6890
|
-
readonly type: "uint256";
|
|
6348
|
+
readonly name: "baseIn";
|
|
6349
|
+
readonly internalType: "bool";
|
|
6350
|
+
readonly type: "bool";
|
|
6891
6351
|
}];
|
|
6352
|
+
}, {
|
|
6353
|
+
readonly name: "tokenIn";
|
|
6354
|
+
readonly internalType: "address";
|
|
6355
|
+
readonly type: "address";
|
|
6356
|
+
}, {
|
|
6357
|
+
readonly name: "tokenOut";
|
|
6358
|
+
readonly internalType: "address";
|
|
6359
|
+
readonly type: "address";
|
|
6360
|
+
}, {
|
|
6361
|
+
readonly name: "amountIn";
|
|
6362
|
+
readonly internalType: "uint256";
|
|
6363
|
+
readonly type: "uint256";
|
|
6364
|
+
}, {
|
|
6365
|
+
readonly name: "minOut";
|
|
6366
|
+
readonly internalType: "uint256";
|
|
6367
|
+
readonly type: "uint256";
|
|
6368
|
+
}, {
|
|
6369
|
+
readonly name: "to";
|
|
6370
|
+
readonly internalType: "address";
|
|
6371
|
+
readonly type: "address";
|
|
6372
|
+
}, {
|
|
6373
|
+
readonly name: "deadline";
|
|
6374
|
+
readonly internalType: "uint256";
|
|
6375
|
+
readonly type: "uint256";
|
|
6892
6376
|
}];
|
|
6893
|
-
readonly name: "
|
|
6377
|
+
readonly name: "swapExactInPath";
|
|
6894
6378
|
readonly outputs: readonly [{
|
|
6895
|
-
readonly name: "";
|
|
6896
|
-
readonly internalType: "
|
|
6897
|
-
readonly type: "
|
|
6379
|
+
readonly name: "amountOut";
|
|
6380
|
+
readonly internalType: "uint256";
|
|
6381
|
+
readonly type: "uint256";
|
|
6898
6382
|
}];
|
|
6899
|
-
readonly stateMutability: "
|
|
6383
|
+
readonly stateMutability: "nonpayable";
|
|
6900
6384
|
}, {
|
|
6901
6385
|
readonly type: "function";
|
|
6902
6386
|
readonly inputs: readonly [{
|
|
6903
|
-
readonly name: "
|
|
6904
|
-
readonly internalType: "
|
|
6905
|
-
readonly type: "
|
|
6906
|
-
}
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
readonly
|
|
6387
|
+
readonly name: "poolId";
|
|
6388
|
+
readonly internalType: "bytes32";
|
|
6389
|
+
readonly type: "bytes32";
|
|
6390
|
+
}, {
|
|
6391
|
+
readonly name: "tokenIn";
|
|
6392
|
+
readonly internalType: "address";
|
|
6393
|
+
readonly type: "address";
|
|
6394
|
+
}, {
|
|
6395
|
+
readonly name: "tokenOut";
|
|
6396
|
+
readonly internalType: "address";
|
|
6397
|
+
readonly type: "address";
|
|
6398
|
+
}, {
|
|
6399
|
+
readonly name: "baseOut";
|
|
6910
6400
|
readonly internalType: "bool";
|
|
6911
6401
|
readonly type: "bool";
|
|
6402
|
+
}, {
|
|
6403
|
+
readonly name: "amountOut";
|
|
6404
|
+
readonly internalType: "uint256";
|
|
6405
|
+
readonly type: "uint256";
|
|
6406
|
+
}, {
|
|
6407
|
+
readonly name: "maxIn";
|
|
6408
|
+
readonly internalType: "uint256";
|
|
6409
|
+
readonly type: "uint256";
|
|
6410
|
+
}, {
|
|
6411
|
+
readonly name: "to";
|
|
6412
|
+
readonly internalType: "address";
|
|
6413
|
+
readonly type: "address";
|
|
6414
|
+
}, {
|
|
6415
|
+
readonly name: "deadline";
|
|
6416
|
+
readonly internalType: "uint256";
|
|
6417
|
+
readonly type: "uint256";
|
|
6912
6418
|
}];
|
|
6913
|
-
readonly
|
|
6914
|
-
}, {
|
|
6915
|
-
readonly type: "function";
|
|
6916
|
-
readonly inputs: readonly [];
|
|
6917
|
-
readonly name: "mintTiers";
|
|
6419
|
+
readonly name: "swapExactOut";
|
|
6918
6420
|
readonly outputs: readonly [{
|
|
6919
|
-
readonly name: "";
|
|
6421
|
+
readonly name: "amountIn";
|
|
6920
6422
|
readonly internalType: "uint256";
|
|
6921
6423
|
readonly type: "uint256";
|
|
6922
6424
|
}];
|
|
6923
|
-
readonly stateMutability: "
|
|
6425
|
+
readonly stateMutability: "nonpayable";
|
|
6924
6426
|
}, {
|
|
6925
6427
|
readonly type: "function";
|
|
6926
6428
|
readonly inputs: readonly [{
|
|
6927
|
-
readonly name: "";
|
|
6928
|
-
readonly internalType: "
|
|
6929
|
-
readonly type: "
|
|
6429
|
+
readonly name: "data";
|
|
6430
|
+
readonly internalType: "bytes";
|
|
6431
|
+
readonly type: "bytes";
|
|
6930
6432
|
}];
|
|
6931
|
-
readonly name: "
|
|
6433
|
+
readonly name: "unlockCallback";
|
|
6932
6434
|
readonly outputs: readonly [{
|
|
6933
6435
|
readonly name: "";
|
|
6934
|
-
readonly internalType: "
|
|
6935
|
-
readonly type: "
|
|
6436
|
+
readonly internalType: "bytes";
|
|
6437
|
+
readonly type: "bytes";
|
|
6936
6438
|
}];
|
|
6937
|
-
readonly stateMutability: "
|
|
6439
|
+
readonly stateMutability: "nonpayable";
|
|
6938
6440
|
}, {
|
|
6939
6441
|
readonly type: "function";
|
|
6940
6442
|
readonly inputs: readonly [{
|
|
@@ -6942,256 +6444,271 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
6942
6444
|
readonly internalType: "bytes32";
|
|
6943
6445
|
readonly type: "bytes32";
|
|
6944
6446
|
}, {
|
|
6945
|
-
readonly name: "";
|
|
6447
|
+
readonly name: "base";
|
|
6946
6448
|
readonly internalType: "address";
|
|
6947
6449
|
readonly type: "address";
|
|
6948
6450
|
}, {
|
|
6949
|
-
readonly name: "
|
|
6950
|
-
readonly internalType: "
|
|
6951
|
-
readonly type: "
|
|
6952
|
-
readonly components: readonly [{
|
|
6953
|
-
readonly name: "base";
|
|
6954
|
-
readonly internalType: "address";
|
|
6955
|
-
readonly type: "address";
|
|
6956
|
-
}, {
|
|
6957
|
-
readonly name: "quote";
|
|
6958
|
-
readonly internalType: "address";
|
|
6959
|
-
readonly type: "address";
|
|
6960
|
-
}, {
|
|
6961
|
-
readonly name: "tickSpacing";
|
|
6962
|
-
readonly internalType: "int256";
|
|
6963
|
-
readonly type: "int256";
|
|
6964
|
-
}, {
|
|
6965
|
-
readonly name: "policy";
|
|
6966
|
-
readonly internalType: "address";
|
|
6967
|
-
readonly type: "address";
|
|
6968
|
-
}, {
|
|
6969
|
-
readonly name: "creator";
|
|
6970
|
-
readonly internalType: "address";
|
|
6971
|
-
readonly type: "address";
|
|
6972
|
-
}, {
|
|
6973
|
-
readonly name: "salt";
|
|
6974
|
-
readonly internalType: "bytes32";
|
|
6975
|
-
readonly type: "bytes32";
|
|
6976
|
-
}, {
|
|
6977
|
-
readonly name: "swapFee";
|
|
6978
|
-
readonly internalType: "uint256";
|
|
6979
|
-
readonly type: "uint256";
|
|
6980
|
-
}, {
|
|
6981
|
-
readonly name: "mintFee";
|
|
6982
|
-
readonly internalType: "uint256";
|
|
6983
|
-
readonly type: "uint256";
|
|
6984
|
-
}];
|
|
6985
|
-
}];
|
|
6986
|
-
readonly name: "onInitialize";
|
|
6987
|
-
readonly outputs: readonly [{
|
|
6988
|
-
readonly name: "";
|
|
6989
|
-
readonly internalType: "uint8";
|
|
6990
|
-
readonly type: "uint8";
|
|
6451
|
+
readonly name: "quote";
|
|
6452
|
+
readonly internalType: "address";
|
|
6453
|
+
readonly type: "address";
|
|
6991
6454
|
}, {
|
|
6992
|
-
readonly name: "";
|
|
6455
|
+
readonly name: "fromId";
|
|
6993
6456
|
readonly internalType: "uint256";
|
|
6994
6457
|
readonly type: "uint256";
|
|
6995
6458
|
}, {
|
|
6996
|
-
readonly name: "";
|
|
6459
|
+
readonly name: "shares";
|
|
6460
|
+
readonly internalType: "uint256";
|
|
6461
|
+
readonly type: "uint256";
|
|
6462
|
+
}, {
|
|
6463
|
+
readonly name: "toFloor";
|
|
6464
|
+
readonly internalType: "int256";
|
|
6465
|
+
readonly type: "int256";
|
|
6466
|
+
}, {
|
|
6467
|
+
readonly name: "toCap";
|
|
6468
|
+
readonly internalType: "int256";
|
|
6469
|
+
readonly type: "int256";
|
|
6470
|
+
}, {
|
|
6471
|
+
readonly name: "newL";
|
|
6472
|
+
readonly internalType: "uint256";
|
|
6473
|
+
readonly type: "uint256";
|
|
6474
|
+
}, {
|
|
6475
|
+
readonly name: "maxBaseIn";
|
|
6476
|
+
readonly internalType: "uint256";
|
|
6477
|
+
readonly type: "uint256";
|
|
6478
|
+
}, {
|
|
6479
|
+
readonly name: "maxQuoteIn";
|
|
6480
|
+
readonly internalType: "uint256";
|
|
6481
|
+
readonly type: "uint256";
|
|
6482
|
+
}, {
|
|
6483
|
+
readonly name: "to";
|
|
6997
6484
|
readonly internalType: "address";
|
|
6998
6485
|
readonly type: "address";
|
|
6486
|
+
}, {
|
|
6487
|
+
readonly name: "deadline";
|
|
6488
|
+
readonly internalType: "uint256";
|
|
6489
|
+
readonly type: "uint256";
|
|
6490
|
+
}];
|
|
6491
|
+
readonly name: "update";
|
|
6492
|
+
readonly outputs: readonly [{
|
|
6493
|
+
readonly name: "dBase";
|
|
6494
|
+
readonly internalType: "int256";
|
|
6495
|
+
readonly type: "int256";
|
|
6496
|
+
}, {
|
|
6497
|
+
readonly name: "dQuote";
|
|
6498
|
+
readonly internalType: "int256";
|
|
6499
|
+
readonly type: "int256";
|
|
6500
|
+
}, {
|
|
6501
|
+
readonly name: "newShares";
|
|
6502
|
+
readonly internalType: "uint256";
|
|
6503
|
+
readonly type: "uint256";
|
|
6999
6504
|
}];
|
|
7000
6505
|
readonly stateMutability: "nonpayable";
|
|
7001
6506
|
}, {
|
|
7002
6507
|
readonly type: "function";
|
|
7003
6508
|
readonly inputs: readonly [{
|
|
7004
|
-
readonly name: "";
|
|
6509
|
+
readonly name: "poolId";
|
|
7005
6510
|
readonly internalType: "bytes32";
|
|
7006
6511
|
readonly type: "bytes32";
|
|
7007
6512
|
}, {
|
|
7008
|
-
readonly name: "";
|
|
6513
|
+
readonly name: "base";
|
|
7009
6514
|
readonly internalType: "address";
|
|
7010
6515
|
readonly type: "address";
|
|
7011
6516
|
}, {
|
|
7012
|
-
readonly name: "";
|
|
7013
|
-
readonly internalType: "
|
|
7014
|
-
readonly type: "
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
6517
|
+
readonly name: "quote";
|
|
6518
|
+
readonly internalType: "address";
|
|
6519
|
+
readonly type: "address";
|
|
6520
|
+
}, {
|
|
6521
|
+
readonly name: "fundWithBase";
|
|
6522
|
+
readonly internalType: "bool";
|
|
6523
|
+
readonly type: "bool";
|
|
6524
|
+
}, {
|
|
6525
|
+
readonly name: "amountIn";
|
|
6526
|
+
readonly internalType: "uint256";
|
|
6527
|
+
readonly type: "uint256";
|
|
6528
|
+
}, {
|
|
6529
|
+
readonly name: "minSwapOut";
|
|
6530
|
+
readonly internalType: "uint256";
|
|
6531
|
+
readonly type: "uint256";
|
|
6532
|
+
}, {
|
|
6533
|
+
readonly name: "targetFloor";
|
|
6534
|
+
readonly internalType: "int256";
|
|
6535
|
+
readonly type: "int256";
|
|
6536
|
+
}, {
|
|
6537
|
+
readonly name: "cap";
|
|
6538
|
+
readonly internalType: "int256";
|
|
6539
|
+
readonly type: "int256";
|
|
6540
|
+
}, {
|
|
6541
|
+
readonly name: "L";
|
|
6542
|
+
readonly internalType: "uint256";
|
|
6543
|
+
readonly type: "uint256";
|
|
6544
|
+
}, {
|
|
6545
|
+
readonly name: "maxIn";
|
|
6546
|
+
readonly internalType: "uint256";
|
|
6547
|
+
readonly type: "uint256";
|
|
6548
|
+
}, {
|
|
6549
|
+
readonly name: "to";
|
|
6550
|
+
readonly internalType: "address";
|
|
6551
|
+
readonly type: "address";
|
|
6552
|
+
}, {
|
|
6553
|
+
readonly name: "deadline";
|
|
6554
|
+
readonly internalType: "uint256";
|
|
6555
|
+
readonly type: "uint256";
|
|
7036
6556
|
}];
|
|
7037
|
-
readonly name: "
|
|
6557
|
+
readonly name: "zapIn";
|
|
7038
6558
|
readonly outputs: readonly [{
|
|
7039
|
-
readonly name: "";
|
|
7040
|
-
readonly internalType: "
|
|
7041
|
-
readonly type: "
|
|
6559
|
+
readonly name: "baseIn";
|
|
6560
|
+
readonly internalType: "uint256";
|
|
6561
|
+
readonly type: "uint256";
|
|
7042
6562
|
}, {
|
|
7043
|
-
readonly name: "";
|
|
6563
|
+
readonly name: "quoteIn";
|
|
6564
|
+
readonly internalType: "uint256";
|
|
6565
|
+
readonly type: "uint256";
|
|
6566
|
+
}];
|
|
6567
|
+
readonly stateMutability: "nonpayable";
|
|
6568
|
+
}, {
|
|
6569
|
+
readonly type: "error";
|
|
6570
|
+
readonly inputs: readonly [];
|
|
6571
|
+
readonly name: "BadFloor";
|
|
6572
|
+
}, {
|
|
6573
|
+
readonly type: "error";
|
|
6574
|
+
readonly inputs: readonly [];
|
|
6575
|
+
readonly name: "BadRecipient";
|
|
6576
|
+
}, {
|
|
6577
|
+
readonly type: "error";
|
|
6578
|
+
readonly inputs: readonly [];
|
|
6579
|
+
readonly name: "DeadlineExceeded";
|
|
6580
|
+
}, {
|
|
6581
|
+
readonly type: "error";
|
|
6582
|
+
readonly inputs: readonly [];
|
|
6583
|
+
readonly name: "EmptyPath";
|
|
6584
|
+
}, {
|
|
6585
|
+
readonly type: "error";
|
|
6586
|
+
readonly inputs: readonly [];
|
|
6587
|
+
readonly name: "LengthMismatch";
|
|
6588
|
+
}, {
|
|
6589
|
+
readonly type: "error";
|
|
6590
|
+
readonly inputs: readonly [];
|
|
6591
|
+
readonly name: "NotManager";
|
|
6592
|
+
}, {
|
|
6593
|
+
readonly type: "error";
|
|
6594
|
+
readonly inputs: readonly [{
|
|
6595
|
+
readonly name: "amount";
|
|
7044
6596
|
readonly internalType: "uint256";
|
|
7045
6597
|
readonly type: "uint256";
|
|
7046
|
-
}, {
|
|
7047
|
-
readonly name: "";
|
|
7048
|
-
readonly internalType: "address";
|
|
7049
|
-
readonly type: "address";
|
|
7050
6598
|
}];
|
|
7051
|
-
readonly
|
|
6599
|
+
readonly name: "QuoteResult";
|
|
7052
6600
|
}, {
|
|
7053
|
-
readonly type: "
|
|
6601
|
+
readonly type: "error";
|
|
6602
|
+
readonly inputs: readonly [];
|
|
6603
|
+
readonly name: "SlippageIn";
|
|
6604
|
+
}, {
|
|
6605
|
+
readonly type: "error";
|
|
6606
|
+
readonly inputs: readonly [];
|
|
6607
|
+
readonly name: "SlippageOut";
|
|
6608
|
+
}, {
|
|
6609
|
+
readonly type: "error";
|
|
6610
|
+
readonly inputs: readonly [];
|
|
6611
|
+
readonly name: "UnsupportedOp";
|
|
6612
|
+
}, {
|
|
6613
|
+
readonly type: "error";
|
|
6614
|
+
readonly inputs: readonly [];
|
|
6615
|
+
readonly name: "WrongToken";
|
|
6616
|
+
}, {
|
|
6617
|
+
readonly type: "error";
|
|
6618
|
+
readonly inputs: readonly [];
|
|
6619
|
+
readonly name: "ZeroAmount";
|
|
6620
|
+
}];
|
|
6621
|
+
export declare const routerFAbi: readonly [{
|
|
6622
|
+
readonly type: "constructor";
|
|
7054
6623
|
readonly inputs: readonly [{
|
|
7055
|
-
readonly name: "
|
|
7056
|
-
readonly internalType: "
|
|
7057
|
-
readonly type: "bytes32";
|
|
7058
|
-
}, {
|
|
7059
|
-
readonly name: "from";
|
|
7060
|
-
readonly internalType: "address";
|
|
7061
|
-
readonly type: "address";
|
|
7062
|
-
}, {
|
|
7063
|
-
readonly name: "";
|
|
7064
|
-
readonly internalType: "address";
|
|
6624
|
+
readonly name: "_mgr";
|
|
6625
|
+
readonly internalType: "contract ManagerF";
|
|
7065
6626
|
readonly type: "address";
|
|
7066
6627
|
}, {
|
|
7067
|
-
readonly name: "
|
|
6628
|
+
readonly name: "_permit2";
|
|
7068
6629
|
readonly internalType: "address";
|
|
7069
6630
|
readonly type: "address";
|
|
7070
|
-
}, {
|
|
7071
|
-
readonly name: "name_";
|
|
7072
|
-
readonly internalType: "bytes32";
|
|
7073
|
-
readonly type: "bytes32";
|
|
7074
|
-
}];
|
|
7075
|
-
readonly name: "onMigrate";
|
|
7076
|
-
readonly outputs: readonly [{
|
|
7077
|
-
readonly name: "";
|
|
7078
|
-
readonly internalType: "uint8";
|
|
7079
|
-
readonly type: "uint8";
|
|
7080
6631
|
}];
|
|
7081
6632
|
readonly stateMutability: "nonpayable";
|
|
7082
6633
|
}, {
|
|
7083
6634
|
readonly type: "function";
|
|
7084
6635
|
readonly inputs: readonly [{
|
|
7085
|
-
readonly name: "
|
|
7086
|
-
readonly internalType: "
|
|
6636
|
+
readonly name: "owner";
|
|
6637
|
+
readonly internalType: "address";
|
|
6638
|
+
readonly type: "address";
|
|
6639
|
+
}, {
|
|
6640
|
+
readonly name: "permitSingle";
|
|
6641
|
+
readonly internalType: "struct IPermit2.PermitSingle";
|
|
7087
6642
|
readonly type: "tuple";
|
|
7088
6643
|
readonly components: readonly [{
|
|
7089
|
-
readonly name: "
|
|
7090
|
-
readonly internalType: "
|
|
7091
|
-
readonly type: "
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
readonly name: "income";
|
|
7110
|
-
readonly internalType: "uint256";
|
|
7111
|
-
readonly type: "uint256";
|
|
7112
|
-
}, {
|
|
7113
|
-
readonly name: "Q";
|
|
7114
|
-
readonly internalType: "uint256";
|
|
7115
|
-
readonly type: "uint256";
|
|
7116
|
-
}, {
|
|
7117
|
-
readonly name: "L";
|
|
7118
|
-
readonly internalType: "uint256";
|
|
7119
|
-
readonly type: "uint256";
|
|
6644
|
+
readonly name: "details";
|
|
6645
|
+
readonly internalType: "struct IPermit2.PermitDetails";
|
|
6646
|
+
readonly type: "tuple";
|
|
6647
|
+
readonly components: readonly [{
|
|
6648
|
+
readonly name: "token";
|
|
6649
|
+
readonly internalType: "address";
|
|
6650
|
+
readonly type: "address";
|
|
6651
|
+
}, {
|
|
6652
|
+
readonly name: "amount";
|
|
6653
|
+
readonly internalType: "uint160";
|
|
6654
|
+
readonly type: "uint160";
|
|
6655
|
+
}, {
|
|
6656
|
+
readonly name: "expiration";
|
|
6657
|
+
readonly internalType: "uint48";
|
|
6658
|
+
readonly type: "uint48";
|
|
6659
|
+
}, {
|
|
6660
|
+
readonly name: "nonce";
|
|
6661
|
+
readonly internalType: "uint48";
|
|
6662
|
+
readonly type: "uint48";
|
|
6663
|
+
}];
|
|
7120
6664
|
}, {
|
|
7121
|
-
readonly name: "
|
|
7122
|
-
readonly internalType: "uint256";
|
|
7123
|
-
readonly type: "uint256";
|
|
7124
|
-
}];
|
|
7125
|
-
}];
|
|
7126
|
-
readonly name: "onRegenerate";
|
|
7127
|
-
readonly outputs: readonly [{
|
|
7128
|
-
readonly name: "t";
|
|
7129
|
-
readonly internalType: "struct IPolicy.Terms";
|
|
7130
|
-
readonly type: "tuple";
|
|
7131
|
-
readonly components: readonly [{
|
|
7132
|
-
readonly name: "payee";
|
|
6665
|
+
readonly name: "spender";
|
|
7133
6666
|
readonly internalType: "address";
|
|
7134
6667
|
readonly type: "address";
|
|
7135
6668
|
}, {
|
|
7136
|
-
readonly name: "
|
|
7137
|
-
readonly internalType: "uint256";
|
|
7138
|
-
readonly type: "uint256";
|
|
7139
|
-
}, {
|
|
7140
|
-
readonly name: "minQuoteRatio";
|
|
6669
|
+
readonly name: "sigDeadline";
|
|
7141
6670
|
readonly internalType: "uint256";
|
|
7142
6671
|
readonly type: "uint256";
|
|
7143
|
-
}, {
|
|
7144
|
-
readonly name: "carried";
|
|
7145
|
-
readonly internalType: "address";
|
|
7146
|
-
readonly type: "address";
|
|
7147
6672
|
}];
|
|
6673
|
+
}, {
|
|
6674
|
+
readonly name: "signature";
|
|
6675
|
+
readonly internalType: "bytes";
|
|
6676
|
+
readonly type: "bytes";
|
|
7148
6677
|
}];
|
|
6678
|
+
readonly name: "applyPermit2";
|
|
6679
|
+
readonly outputs: readonly [];
|
|
7149
6680
|
readonly stateMutability: "nonpayable";
|
|
7150
|
-
}, {
|
|
7151
|
-
readonly type: "function";
|
|
7152
|
-
readonly inputs: readonly [{
|
|
7153
|
-
readonly name: "";
|
|
7154
|
-
readonly internalType: "bytes32";
|
|
7155
|
-
readonly type: "bytes32";
|
|
7156
|
-
}];
|
|
7157
|
-
readonly name: "operator";
|
|
7158
|
-
readonly outputs: readonly [{
|
|
7159
|
-
readonly name: "";
|
|
7160
|
-
readonly internalType: "address";
|
|
7161
|
-
readonly type: "address";
|
|
7162
|
-
}];
|
|
7163
|
-
readonly stateMutability: "view";
|
|
7164
6681
|
}, {
|
|
7165
6682
|
readonly type: "function";
|
|
7166
6683
|
readonly inputs: readonly [];
|
|
7167
|
-
readonly name: "
|
|
6684
|
+
readonly name: "mgr";
|
|
7168
6685
|
readonly outputs: readonly [{
|
|
7169
6686
|
readonly name: "";
|
|
7170
|
-
readonly internalType: "
|
|
7171
|
-
readonly type: "
|
|
6687
|
+
readonly internalType: "contract ManagerF";
|
|
6688
|
+
readonly type: "address";
|
|
7172
6689
|
}];
|
|
7173
6690
|
readonly stateMutability: "view";
|
|
7174
6691
|
}, {
|
|
7175
6692
|
readonly type: "function";
|
|
7176
6693
|
readonly inputs: readonly [{
|
|
7177
|
-
readonly name: "";
|
|
7178
|
-
readonly internalType: "
|
|
7179
|
-
readonly type: "
|
|
6694
|
+
readonly name: "data";
|
|
6695
|
+
readonly internalType: "bytes[]";
|
|
6696
|
+
readonly type: "bytes[]";
|
|
7180
6697
|
}];
|
|
7181
|
-
readonly name: "
|
|
6698
|
+
readonly name: "multicall";
|
|
7182
6699
|
readonly outputs: readonly [{
|
|
7183
|
-
readonly name: "";
|
|
7184
|
-
readonly internalType: "
|
|
7185
|
-
readonly type: "
|
|
6700
|
+
readonly name: "results";
|
|
6701
|
+
readonly internalType: "bytes[]";
|
|
6702
|
+
readonly type: "bytes[]";
|
|
7186
6703
|
}];
|
|
7187
|
-
readonly stateMutability: "
|
|
6704
|
+
readonly stateMutability: "nonpayable";
|
|
7188
6705
|
}, {
|
|
7189
6706
|
readonly type: "function";
|
|
7190
6707
|
readonly inputs: readonly [];
|
|
7191
|
-
readonly name: "
|
|
6708
|
+
readonly name: "permit2";
|
|
7192
6709
|
readonly outputs: readonly [{
|
|
7193
6710
|
readonly name: "";
|
|
7194
|
-
readonly internalType: "
|
|
6711
|
+
readonly internalType: "contract IPermit2";
|
|
7195
6712
|
readonly type: "address";
|
|
7196
6713
|
}];
|
|
7197
6714
|
readonly stateMutability: "view";
|
|
@@ -7202,43 +6719,27 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
7202
6719
|
readonly internalType: "bytes32";
|
|
7203
6720
|
readonly type: "bytes32";
|
|
7204
6721
|
}, {
|
|
7205
|
-
readonly name: "
|
|
7206
|
-
readonly internalType: "
|
|
7207
|
-
readonly type: "
|
|
6722
|
+
readonly name: "kind";
|
|
6723
|
+
readonly internalType: "enum QuoteKind";
|
|
6724
|
+
readonly type: "uint8";
|
|
7208
6725
|
}, {
|
|
7209
|
-
readonly name: "
|
|
7210
|
-
readonly internalType: "
|
|
7211
|
-
readonly type: "
|
|
7212
|
-
}];
|
|
7213
|
-
readonly name: "setListed";
|
|
7214
|
-
readonly outputs: readonly [];
|
|
7215
|
-
readonly stateMutability: "nonpayable";
|
|
7216
|
-
}, {
|
|
7217
|
-
readonly type: "function";
|
|
7218
|
-
readonly inputs: readonly [{
|
|
7219
|
-
readonly name: "poolId";
|
|
7220
|
-
readonly internalType: "bytes32";
|
|
7221
|
-
readonly type: "bytes32";
|
|
6726
|
+
readonly name: "j";
|
|
6727
|
+
readonly internalType: "uint256";
|
|
6728
|
+
readonly type: "uint256";
|
|
7222
6729
|
}, {
|
|
7223
|
-
readonly name: "
|
|
7224
|
-
readonly internalType: "
|
|
7225
|
-
readonly type: "
|
|
7226
|
-
}];
|
|
7227
|
-
readonly name: "setMintGate";
|
|
7228
|
-
readonly outputs: readonly [];
|
|
7229
|
-
readonly stateMutability: "nonpayable";
|
|
7230
|
-
}, {
|
|
7231
|
-
readonly type: "function";
|
|
7232
|
-
readonly inputs: readonly [{
|
|
7233
|
-
readonly name: "poolId";
|
|
7234
|
-
readonly internalType: "bytes32";
|
|
7235
|
-
readonly type: "bytes32";
|
|
6730
|
+
readonly name: "k";
|
|
6731
|
+
readonly internalType: "uint256";
|
|
6732
|
+
readonly type: "uint256";
|
|
7236
6733
|
}, {
|
|
7237
|
-
readonly name: "
|
|
7238
|
-
readonly internalType: "
|
|
7239
|
-
readonly type: "
|
|
6734
|
+
readonly name: "amountIn";
|
|
6735
|
+
readonly internalType: "uint256";
|
|
6736
|
+
readonly type: "uint256";
|
|
6737
|
+
}, {
|
|
6738
|
+
readonly name: "taker";
|
|
6739
|
+
readonly internalType: "address";
|
|
6740
|
+
readonly type: "address";
|
|
7240
6741
|
}];
|
|
7241
|
-
readonly name: "
|
|
6742
|
+
readonly name: "quoteSwap";
|
|
7242
6743
|
readonly outputs: readonly [];
|
|
7243
6744
|
readonly stateMutability: "nonpayable";
|
|
7244
6745
|
}, {
|
|
@@ -7248,286 +6749,207 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
7248
6749
|
readonly internalType: "bytes32";
|
|
7249
6750
|
readonly type: "bytes32";
|
|
7250
6751
|
}, {
|
|
7251
|
-
readonly name: "
|
|
7252
|
-
readonly internalType: "
|
|
7253
|
-
readonly type: "
|
|
7254
|
-
}
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
}, {
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
readonly name: "";
|
|
7264
|
-
readonly internalType: "
|
|
7265
|
-
readonly type: "
|
|
7266
|
-
}
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
readonly name: "";
|
|
7272
|
-
readonly internalType: "int256";
|
|
7273
|
-
readonly type: "int256";
|
|
7274
|
-
}];
|
|
7275
|
-
readonly name: "spacingListed";
|
|
7276
|
-
readonly outputs: readonly [{
|
|
7277
|
-
readonly name: "";
|
|
7278
|
-
readonly internalType: "bool";
|
|
7279
|
-
readonly type: "bool";
|
|
7280
|
-
}];
|
|
7281
|
-
readonly stateMutability: "view";
|
|
7282
|
-
}, {
|
|
7283
|
-
readonly type: "function";
|
|
7284
|
-
readonly inputs: readonly [];
|
|
7285
|
-
readonly name: "sponsor";
|
|
7286
|
-
readonly outputs: readonly [{
|
|
7287
|
-
readonly name: "";
|
|
6752
|
+
readonly name: "gen";
|
|
6753
|
+
readonly internalType: "uint256";
|
|
6754
|
+
readonly type: "uint256";
|
|
6755
|
+
}, {
|
|
6756
|
+
readonly name: "shares";
|
|
6757
|
+
readonly internalType: "uint256";
|
|
6758
|
+
readonly type: "uint256";
|
|
6759
|
+
}, {
|
|
6760
|
+
readonly name: "L";
|
|
6761
|
+
readonly internalType: "uint256";
|
|
6762
|
+
readonly type: "uint256";
|
|
6763
|
+
}, {
|
|
6764
|
+
readonly name: "maxQuoteIn";
|
|
6765
|
+
readonly internalType: "uint256";
|
|
6766
|
+
readonly type: "uint256";
|
|
6767
|
+
}, {
|
|
6768
|
+
readonly name: "minShares";
|
|
6769
|
+
readonly internalType: "uint256";
|
|
6770
|
+
readonly type: "uint256";
|
|
6771
|
+
}, {
|
|
6772
|
+
readonly name: "to";
|
|
7288
6773
|
readonly internalType: "address";
|
|
7289
6774
|
readonly type: "address";
|
|
7290
|
-
}
|
|
7291
|
-
|
|
7292
|
-
}, {
|
|
7293
|
-
readonly type: "function";
|
|
7294
|
-
readonly inputs: readonly [{
|
|
7295
|
-
readonly name: "fee";
|
|
6775
|
+
}, {
|
|
6776
|
+
readonly name: "deadline";
|
|
7296
6777
|
readonly internalType: "uint256";
|
|
7297
6778
|
readonly type: "uint256";
|
|
7298
6779
|
}];
|
|
7299
|
-
readonly name: "
|
|
7300
|
-
readonly outputs: readonly [{
|
|
7301
|
-
readonly name: "";
|
|
7302
|
-
readonly internalType: "bool";
|
|
7303
|
-
readonly type: "bool";
|
|
7304
|
-
}];
|
|
7305
|
-
readonly stateMutability: "view";
|
|
7306
|
-
}, {
|
|
7307
|
-
readonly type: "function";
|
|
7308
|
-
readonly inputs: readonly [];
|
|
7309
|
-
readonly name: "swapFeeTax";
|
|
6780
|
+
readonly name: "rollIn";
|
|
7310
6781
|
readonly outputs: readonly [{
|
|
7311
|
-
readonly name: "";
|
|
6782
|
+
readonly name: "sharesOut";
|
|
7312
6783
|
readonly internalType: "uint256";
|
|
7313
6784
|
readonly type: "uint256";
|
|
7314
6785
|
}];
|
|
7315
|
-
readonly stateMutability: "
|
|
6786
|
+
readonly stateMutability: "nonpayable";
|
|
7316
6787
|
}, {
|
|
7317
6788
|
readonly type: "function";
|
|
7318
6789
|
readonly inputs: readonly [{
|
|
7319
|
-
readonly name: "";
|
|
6790
|
+
readonly name: "poolId";
|
|
7320
6791
|
readonly internalType: "bytes32";
|
|
7321
6792
|
readonly type: "bytes32";
|
|
6793
|
+
}, {
|
|
6794
|
+
readonly name: "kind";
|
|
6795
|
+
readonly internalType: "enum QuoteKind";
|
|
6796
|
+
readonly type: "uint8";
|
|
6797
|
+
}, {
|
|
6798
|
+
readonly name: "j";
|
|
6799
|
+
readonly internalType: "uint256";
|
|
6800
|
+
readonly type: "uint256";
|
|
6801
|
+
}, {
|
|
6802
|
+
readonly name: "k";
|
|
6803
|
+
readonly internalType: "uint256";
|
|
6804
|
+
readonly type: "uint256";
|
|
6805
|
+
}, {
|
|
6806
|
+
readonly name: "amountIn";
|
|
6807
|
+
readonly internalType: "uint256";
|
|
6808
|
+
readonly type: "uint256";
|
|
6809
|
+
}, {
|
|
6810
|
+
readonly name: "minOut";
|
|
6811
|
+
readonly internalType: "uint256";
|
|
6812
|
+
readonly type: "uint256";
|
|
6813
|
+
}, {
|
|
6814
|
+
readonly name: "to";
|
|
6815
|
+
readonly internalType: "address";
|
|
6816
|
+
readonly type: "address";
|
|
6817
|
+
}, {
|
|
6818
|
+
readonly name: "deadline";
|
|
6819
|
+
readonly internalType: "uint256";
|
|
6820
|
+
readonly type: "uint256";
|
|
7322
6821
|
}];
|
|
7323
|
-
readonly name: "
|
|
6822
|
+
readonly name: "swapExactIn";
|
|
7324
6823
|
readonly outputs: readonly [{
|
|
7325
|
-
readonly name: "";
|
|
7326
|
-
readonly internalType: "
|
|
7327
|
-
readonly type: "
|
|
6824
|
+
readonly name: "amountOut";
|
|
6825
|
+
readonly internalType: "uint256";
|
|
6826
|
+
readonly type: "uint256";
|
|
7328
6827
|
}];
|
|
7329
|
-
readonly stateMutability: "
|
|
6828
|
+
readonly stateMutability: "nonpayable";
|
|
7330
6829
|
}, {
|
|
7331
6830
|
readonly type: "function";
|
|
7332
|
-
readonly inputs: readonly [
|
|
7333
|
-
|
|
6831
|
+
readonly inputs: readonly [{
|
|
6832
|
+
readonly name: "data";
|
|
6833
|
+
readonly internalType: "bytes";
|
|
6834
|
+
readonly type: "bytes";
|
|
6835
|
+
}];
|
|
6836
|
+
readonly name: "unlockCallback";
|
|
7334
6837
|
readonly outputs: readonly [{
|
|
7335
6838
|
readonly name: "";
|
|
7336
|
-
readonly internalType: "
|
|
7337
|
-
readonly type: "
|
|
6839
|
+
readonly internalType: "bytes";
|
|
6840
|
+
readonly type: "bytes";
|
|
7338
6841
|
}];
|
|
7339
|
-
readonly stateMutability: "
|
|
6842
|
+
readonly stateMutability: "nonpayable";
|
|
7340
6843
|
}, {
|
|
7341
|
-
readonly type: "
|
|
7342
|
-
readonly anonymous: false;
|
|
6844
|
+
readonly type: "function";
|
|
7343
6845
|
readonly inputs: readonly [{
|
|
7344
6846
|
readonly name: "poolId";
|
|
7345
6847
|
readonly internalType: "bytes32";
|
|
7346
6848
|
readonly type: "bytes32";
|
|
7347
|
-
readonly indexed: true;
|
|
7348
6849
|
}, {
|
|
7349
|
-
readonly name: "
|
|
7350
|
-
readonly internalType: "
|
|
7351
|
-
readonly type: "
|
|
7352
|
-
readonly indexed: true;
|
|
6850
|
+
readonly name: "L";
|
|
6851
|
+
readonly internalType: "uint256";
|
|
6852
|
+
readonly type: "uint256";
|
|
7353
6853
|
}, {
|
|
7354
|
-
readonly name: "
|
|
7355
|
-
readonly internalType: "
|
|
7356
|
-
readonly type: "
|
|
7357
|
-
readonly indexed: true;
|
|
7358
|
-
}];
|
|
7359
|
-
readonly name: "AuthoritySet";
|
|
7360
|
-
}, {
|
|
7361
|
-
readonly type: "event";
|
|
7362
|
-
readonly anonymous: false;
|
|
7363
|
-
readonly inputs: readonly [{
|
|
7364
|
-
readonly name: "poolId";
|
|
7365
|
-
readonly internalType: "bytes32";
|
|
7366
|
-
readonly type: "bytes32";
|
|
7367
|
-
readonly indexed: true;
|
|
6854
|
+
readonly name: "maxQuoteIn";
|
|
6855
|
+
readonly internalType: "uint256";
|
|
6856
|
+
readonly type: "uint256";
|
|
7368
6857
|
}, {
|
|
7369
|
-
readonly name: "
|
|
6858
|
+
readonly name: "minShares";
|
|
6859
|
+
readonly internalType: "uint256";
|
|
6860
|
+
readonly type: "uint256";
|
|
6861
|
+
}, {
|
|
6862
|
+
readonly name: "to";
|
|
7370
6863
|
readonly internalType: "address";
|
|
7371
6864
|
readonly type: "address";
|
|
7372
|
-
readonly indexed: true;
|
|
7373
6865
|
}, {
|
|
7374
|
-
readonly name: "
|
|
7375
|
-
readonly internalType: "
|
|
7376
|
-
readonly type: "
|
|
7377
|
-
readonly indexed: false;
|
|
6866
|
+
readonly name: "deadline";
|
|
6867
|
+
readonly internalType: "uint256";
|
|
6868
|
+
readonly type: "uint256";
|
|
7378
6869
|
}];
|
|
7379
|
-
readonly name: "
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
readonly name: "poolId";
|
|
7385
|
-
readonly internalType: "bytes32";
|
|
7386
|
-
readonly type: "bytes32";
|
|
7387
|
-
readonly indexed: true;
|
|
7388
|
-
}, {
|
|
7389
|
-
readonly name: "gated";
|
|
7390
|
-
readonly internalType: "bool";
|
|
7391
|
-
readonly type: "bool";
|
|
7392
|
-
readonly indexed: false;
|
|
6870
|
+
readonly name: "zapIn";
|
|
6871
|
+
readonly outputs: readonly [{
|
|
6872
|
+
readonly name: "shares";
|
|
6873
|
+
readonly internalType: "uint256";
|
|
6874
|
+
readonly type: "uint256";
|
|
7393
6875
|
}];
|
|
7394
|
-
readonly
|
|
6876
|
+
readonly stateMutability: "nonpayable";
|
|
7395
6877
|
}, {
|
|
7396
|
-
readonly type: "
|
|
7397
|
-
readonly anonymous: false;
|
|
6878
|
+
readonly type: "function";
|
|
7398
6879
|
readonly inputs: readonly [{
|
|
7399
6880
|
readonly name: "poolId";
|
|
7400
6881
|
readonly internalType: "bytes32";
|
|
7401
6882
|
readonly type: "bytes32";
|
|
7402
|
-
readonly indexed: true;
|
|
7403
6883
|
}, {
|
|
7404
|
-
readonly name: "
|
|
7405
|
-
readonly internalType: "
|
|
7406
|
-
readonly type: "
|
|
7407
|
-
readonly indexed: false;
|
|
7408
|
-
}];
|
|
7409
|
-
readonly name: "NameSet";
|
|
7410
|
-
}, {
|
|
7411
|
-
readonly type: "event";
|
|
7412
|
-
readonly anonymous: false;
|
|
7413
|
-
readonly inputs: readonly [{
|
|
7414
|
-
readonly name: "poolId";
|
|
7415
|
-
readonly internalType: "bytes32";
|
|
7416
|
-
readonly type: "bytes32";
|
|
7417
|
-
readonly indexed: true;
|
|
6884
|
+
readonly name: "shares";
|
|
6885
|
+
readonly internalType: "uint256";
|
|
6886
|
+
readonly type: "uint256";
|
|
7418
6887
|
}, {
|
|
7419
|
-
readonly name: "
|
|
6888
|
+
readonly name: "tokenOut";
|
|
7420
6889
|
readonly internalType: "address";
|
|
7421
6890
|
readonly type: "address";
|
|
7422
|
-
readonly indexed: true;
|
|
7423
6891
|
}, {
|
|
7424
|
-
readonly name: "
|
|
6892
|
+
readonly name: "minOut";
|
|
6893
|
+
readonly internalType: "uint256";
|
|
6894
|
+
readonly type: "uint256";
|
|
6895
|
+
}, {
|
|
6896
|
+
readonly name: "to";
|
|
7425
6897
|
readonly internalType: "address";
|
|
7426
6898
|
readonly type: "address";
|
|
7427
|
-
readonly indexed: true;
|
|
7428
|
-
}];
|
|
7429
|
-
readonly name: "OperatorAppointed";
|
|
7430
|
-
}, {
|
|
7431
|
-
readonly type: "event";
|
|
7432
|
-
readonly anonymous: false;
|
|
7433
|
-
readonly inputs: readonly [{
|
|
7434
|
-
readonly name: "poolId";
|
|
7435
|
-
readonly internalType: "bytes32";
|
|
7436
|
-
readonly type: "bytes32";
|
|
7437
|
-
readonly indexed: true;
|
|
7438
6899
|
}, {
|
|
7439
|
-
readonly name: "
|
|
7440
|
-
readonly internalType: "
|
|
7441
|
-
readonly type: "
|
|
7442
|
-
readonly indexed: false;
|
|
6900
|
+
readonly name: "deadline";
|
|
6901
|
+
readonly internalType: "uint256";
|
|
6902
|
+
readonly type: "uint256";
|
|
7443
6903
|
}];
|
|
7444
|
-
readonly name: "
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
}
|
|
7450
|
-
readonly
|
|
7451
|
-
readonly inputs: readonly [];
|
|
7452
|
-
readonly name: "BadParams";
|
|
7453
|
-
}, {
|
|
7454
|
-
readonly type: "error";
|
|
7455
|
-
readonly inputs: readonly [];
|
|
7456
|
-
readonly name: "BadRate";
|
|
6904
|
+
readonly name: "zapOut";
|
|
6905
|
+
readonly outputs: readonly [{
|
|
6906
|
+
readonly name: "amountOut";
|
|
6907
|
+
readonly internalType: "uint256";
|
|
6908
|
+
readonly type: "uint256";
|
|
6909
|
+
}];
|
|
6910
|
+
readonly stateMutability: "nonpayable";
|
|
7457
6911
|
}, {
|
|
7458
6912
|
readonly type: "error";
|
|
7459
6913
|
readonly inputs: readonly [];
|
|
7460
|
-
readonly name: "
|
|
6914
|
+
readonly name: "BadRecipient";
|
|
7461
6915
|
}, {
|
|
7462
6916
|
readonly type: "error";
|
|
7463
6917
|
readonly inputs: readonly [];
|
|
7464
|
-
readonly name: "
|
|
7465
|
-
}, {
|
|
7466
|
-
readonly type: "error";
|
|
7467
|
-
readonly inputs: readonly [{
|
|
7468
|
-
readonly name: "fee";
|
|
7469
|
-
readonly internalType: "uint256";
|
|
7470
|
-
readonly type: "uint256";
|
|
7471
|
-
}];
|
|
7472
|
-
readonly name: "FeeNotListed";
|
|
6918
|
+
readonly name: "DeadlineExceeded";
|
|
7473
6919
|
}, {
|
|
7474
6920
|
readonly type: "error";
|
|
7475
6921
|
readonly inputs: readonly [];
|
|
7476
|
-
readonly name: "
|
|
6922
|
+
readonly name: "DrainsBase";
|
|
7477
6923
|
}, {
|
|
7478
6924
|
readonly type: "error";
|
|
7479
6925
|
readonly inputs: readonly [];
|
|
7480
|
-
readonly name: "
|
|
6926
|
+
readonly name: "NotManager";
|
|
7481
6927
|
}, {
|
|
7482
6928
|
readonly type: "error";
|
|
7483
6929
|
readonly inputs: readonly [{
|
|
7484
|
-
readonly name: "
|
|
6930
|
+
readonly name: "amount";
|
|
7485
6931
|
readonly internalType: "uint256";
|
|
7486
6932
|
readonly type: "uint256";
|
|
7487
6933
|
}];
|
|
7488
|
-
readonly name: "
|
|
7489
|
-
}, {
|
|
7490
|
-
readonly type: "error";
|
|
7491
|
-
readonly inputs: readonly [];
|
|
7492
|
-
readonly name: "NoCreator";
|
|
7493
|
-
}, {
|
|
7494
|
-
readonly type: "error";
|
|
7495
|
-
readonly inputs: readonly [];
|
|
7496
|
-
readonly name: "NotAuthority";
|
|
6934
|
+
readonly name: "QuoteResult";
|
|
7497
6935
|
}, {
|
|
7498
6936
|
readonly type: "error";
|
|
7499
6937
|
readonly inputs: readonly [];
|
|
7500
|
-
readonly name: "
|
|
6938
|
+
readonly name: "SlippageIn";
|
|
7501
6939
|
}, {
|
|
7502
6940
|
readonly type: "error";
|
|
7503
6941
|
readonly inputs: readonly [];
|
|
7504
|
-
readonly name: "
|
|
6942
|
+
readonly name: "SlippageOut";
|
|
7505
6943
|
}, {
|
|
7506
6944
|
readonly type: "error";
|
|
7507
6945
|
readonly inputs: readonly [];
|
|
7508
|
-
readonly name: "
|
|
6946
|
+
readonly name: "UnsupportedOp";
|
|
7509
6947
|
}, {
|
|
7510
6948
|
readonly type: "error";
|
|
7511
6949
|
readonly inputs: readonly [];
|
|
7512
|
-
readonly name: "
|
|
7513
|
-
}, {
|
|
7514
|
-
readonly type: "error";
|
|
7515
|
-
readonly inputs: readonly [{
|
|
7516
|
-
readonly name: "quote";
|
|
7517
|
-
readonly internalType: "address";
|
|
7518
|
-
readonly type: "address";
|
|
7519
|
-
}];
|
|
7520
|
-
readonly name: "QuoteNotListed";
|
|
6950
|
+
readonly name: "WrongToken";
|
|
7521
6951
|
}, {
|
|
7522
6952
|
readonly type: "error";
|
|
7523
6953
|
readonly inputs: readonly [];
|
|
7524
|
-
readonly name: "
|
|
7525
|
-
}, {
|
|
7526
|
-
readonly type: "error";
|
|
7527
|
-
readonly inputs: readonly [{
|
|
7528
|
-
readonly name: "tickSpacing";
|
|
7529
|
-
readonly internalType: "int256";
|
|
7530
|
-
readonly type: "int256";
|
|
7531
|
-
}];
|
|
7532
|
-
readonly name: "SpacingNotListed";
|
|
6954
|
+
readonly name: "ZeroAmount";
|
|
7533
6955
|
}];
|