@logswap/sdk 0.5.100 → 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 +58 -5
- 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 +10 -3
- package/dist/fpool.js +3 -2
- package/dist/generated.d.ts +1569 -2184
- package/dist/generated.js +547 -875
- package/dist/history.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- 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 +0 -23
- package/dist/liquidity.js +5 -32
- package/dist/pools.d.ts +23 -14
- package/dist/pools.js +36 -28
- package/dist/positions.d.ts +2 -7
- package/dist/positions.js +4 -12
- package/package.json +1 -1
- package/src/admin.ts +42 -85
- package/src/chains.ts +1 -1
- package/src/client.ts +12 -5
- package/src/fpool.ts +3 -2
- package/src/generated.ts +549 -877
- package/src/history.ts +1 -1
- package/src/index.ts +1 -1
- package/src/indexer.ts +6 -13
- package/src/keys.ts +80 -74
- package/src/liquidity.ts +5 -46
- package/src/pools.ts +45 -33
- package/src/positions.ts +4 -13
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";
|
|
@@ -1959,6 +1961,11 @@ export declare const managerCAbi: readonly [{
|
|
|
1959
1961
|
readonly internalType: "uint256";
|
|
1960
1962
|
readonly type: "uint256";
|
|
1961
1963
|
readonly indexed: true;
|
|
1964
|
+
}, {
|
|
1965
|
+
readonly name: "to";
|
|
1966
|
+
readonly internalType: "address";
|
|
1967
|
+
readonly type: "address";
|
|
1968
|
+
readonly indexed: false;
|
|
1962
1969
|
}, {
|
|
1963
1970
|
readonly name: "fees";
|
|
1964
1971
|
readonly internalType: "uint256";
|
|
@@ -2023,6 +2030,11 @@ export declare const managerCAbi: readonly [{
|
|
|
2023
2030
|
readonly name: "creator";
|
|
2024
2031
|
readonly internalType: "address";
|
|
2025
2032
|
readonly type: "address";
|
|
2033
|
+
readonly indexed: false;
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly name: "policy";
|
|
2036
|
+
readonly internalType: "address";
|
|
2037
|
+
readonly type: "address";
|
|
2026
2038
|
readonly indexed: true;
|
|
2027
2039
|
}, {
|
|
2028
2040
|
readonly name: "base";
|
|
@@ -2030,24 +2042,19 @@ export declare const managerCAbi: readonly [{
|
|
|
2030
2042
|
readonly type: "address";
|
|
2031
2043
|
readonly indexed: false;
|
|
2032
2044
|
}, {
|
|
2033
|
-
readonly name: "
|
|
2034
|
-
readonly internalType: "
|
|
2035
|
-
readonly type: "
|
|
2036
|
-
readonly indexed: false;
|
|
2037
|
-
}, {
|
|
2038
|
-
readonly name: "policy";
|
|
2039
|
-
readonly internalType: "address";
|
|
2040
|
-
readonly type: "address";
|
|
2045
|
+
readonly name: "swapFeeIdx";
|
|
2046
|
+
readonly internalType: "uint8";
|
|
2047
|
+
readonly type: "uint8";
|
|
2041
2048
|
readonly indexed: false;
|
|
2042
2049
|
}, {
|
|
2043
|
-
readonly name: "
|
|
2044
|
-
readonly internalType: "
|
|
2045
|
-
readonly type: "
|
|
2050
|
+
readonly name: "spacingIdx";
|
|
2051
|
+
readonly internalType: "uint8";
|
|
2052
|
+
readonly type: "uint8";
|
|
2046
2053
|
readonly indexed: false;
|
|
2047
2054
|
}, {
|
|
2048
|
-
readonly name: "
|
|
2049
|
-
readonly internalType: "
|
|
2050
|
-
readonly type: "
|
|
2055
|
+
readonly name: "salt";
|
|
2056
|
+
readonly internalType: "bytes32";
|
|
2057
|
+
readonly type: "bytes32";
|
|
2051
2058
|
readonly indexed: false;
|
|
2052
2059
|
}, {
|
|
2053
2060
|
readonly name: "initialLogPrice";
|
|
@@ -2059,11 +2066,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2059
2066
|
readonly internalType: "uint256";
|
|
2060
2067
|
readonly type: "uint256";
|
|
2061
2068
|
readonly indexed: false;
|
|
2062
|
-
}, {
|
|
2063
|
-
readonly name: "salt";
|
|
2064
|
-
readonly internalType: "bytes32";
|
|
2065
|
-
readonly type: "bytes32";
|
|
2066
|
-
readonly indexed: false;
|
|
2067
2069
|
}];
|
|
2068
2070
|
readonly name: "PoolCreated";
|
|
2069
2071
|
}, {
|
|
@@ -2370,14 +2372,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2370
2372
|
readonly type: "error";
|
|
2371
2373
|
readonly inputs: readonly [];
|
|
2372
2374
|
readonly name: "AlreadyUnlocked";
|
|
2373
|
-
}, {
|
|
2374
|
-
readonly type: "error";
|
|
2375
|
-
readonly inputs: readonly [];
|
|
2376
|
-
readonly name: "BackstopMustBeUncapped";
|
|
2377
|
-
}, {
|
|
2378
|
-
readonly type: "error";
|
|
2379
|
-
readonly inputs: readonly [];
|
|
2380
|
-
readonly name: "BackstopTooSmall";
|
|
2381
2375
|
}, {
|
|
2382
2376
|
readonly type: "error";
|
|
2383
2377
|
readonly inputs: readonly [];
|
|
@@ -2410,10 +2404,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2410
2404
|
readonly type: "error";
|
|
2411
2405
|
readonly inputs: readonly [];
|
|
2412
2406
|
readonly name: "DrainsBase";
|
|
2413
|
-
}, {
|
|
2414
|
-
readonly type: "error";
|
|
2415
|
-
readonly inputs: readonly [];
|
|
2416
|
-
readonly name: "IdenticalTokens";
|
|
2417
2407
|
}, {
|
|
2418
2408
|
readonly type: "error";
|
|
2419
2409
|
readonly inputs: readonly [];
|
|
@@ -2442,10 +2432,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2442
2432
|
readonly type: "error";
|
|
2443
2433
|
readonly inputs: readonly [];
|
|
2444
2434
|
readonly name: "NotAuthorized";
|
|
2445
|
-
}, {
|
|
2446
|
-
readonly type: "error";
|
|
2447
|
-
readonly inputs: readonly [];
|
|
2448
|
-
readonly name: "NotCreator";
|
|
2449
2435
|
}, {
|
|
2450
2436
|
readonly type: "error";
|
|
2451
2437
|
readonly inputs: readonly [];
|
|
@@ -2462,6 +2448,10 @@ export declare const managerCAbi: readonly [{
|
|
|
2462
2448
|
readonly type: "error";
|
|
2463
2449
|
readonly inputs: readonly [];
|
|
2464
2450
|
readonly name: "OffGrid";
|
|
2451
|
+
}, {
|
|
2452
|
+
readonly type: "error";
|
|
2453
|
+
readonly inputs: readonly [];
|
|
2454
|
+
readonly name: "PolicyNotApproved";
|
|
2465
2455
|
}, {
|
|
2466
2456
|
readonly type: "error";
|
|
2467
2457
|
readonly inputs: readonly [];
|
|
@@ -2497,11 +2487,11 @@ export declare const managerCAbi: readonly [{
|
|
|
2497
2487
|
}, {
|
|
2498
2488
|
readonly type: "error";
|
|
2499
2489
|
readonly inputs: readonly [];
|
|
2500
|
-
readonly name: "
|
|
2490
|
+
readonly name: "SameAsset";
|
|
2501
2491
|
}, {
|
|
2502
2492
|
readonly type: "error";
|
|
2503
2493
|
readonly inputs: readonly [];
|
|
2504
|
-
readonly name: "
|
|
2494
|
+
readonly name: "Slippage";
|
|
2505
2495
|
}, {
|
|
2506
2496
|
readonly type: "error";
|
|
2507
2497
|
readonly inputs: readonly [];
|
|
@@ -2526,10 +2516,6 @@ export declare const managerCAbi: readonly [{
|
|
|
2526
2516
|
readonly type: "error";
|
|
2527
2517
|
readonly inputs: readonly [];
|
|
2528
2518
|
readonly name: "ZeroExposure";
|
|
2529
|
-
}, {
|
|
2530
|
-
readonly type: "error";
|
|
2531
|
-
readonly inputs: readonly [];
|
|
2532
|
-
readonly name: "ZeroShares";
|
|
2533
2519
|
}];
|
|
2534
2520
|
export declare const managerFAbi: readonly [{
|
|
2535
2521
|
readonly type: "constructor";
|
|
@@ -2800,20 +2786,6 @@ export declare const managerFAbi: readonly [{
|
|
|
2800
2786
|
readonly type: "uint256";
|
|
2801
2787
|
}];
|
|
2802
2788
|
readonly stateMutability: "nonpayable";
|
|
2803
|
-
}, {
|
|
2804
|
-
readonly type: "function";
|
|
2805
|
-
readonly inputs: readonly [{
|
|
2806
|
-
readonly name: "";
|
|
2807
|
-
readonly internalType: "uint256";
|
|
2808
|
-
readonly type: "uint256";
|
|
2809
|
-
}];
|
|
2810
|
-
readonly name: "dps";
|
|
2811
|
-
readonly outputs: readonly [{
|
|
2812
|
-
readonly name: "";
|
|
2813
|
-
readonly internalType: "uint256";
|
|
2814
|
-
readonly type: "uint256";
|
|
2815
|
-
}];
|
|
2816
|
-
readonly stateMutability: "view";
|
|
2817
2789
|
}, {
|
|
2818
2790
|
readonly type: "function";
|
|
2819
2791
|
readonly inputs: readonly [{
|
|
@@ -2878,20 +2850,6 @@ export declare const managerFAbi: readonly [{
|
|
|
2878
2850
|
readonly name: "harvest";
|
|
2879
2851
|
readonly outputs: readonly [];
|
|
2880
2852
|
readonly stateMutability: "nonpayable";
|
|
2881
|
-
}, {
|
|
2882
|
-
readonly type: "function";
|
|
2883
|
-
readonly inputs: readonly [{
|
|
2884
|
-
readonly name: "";
|
|
2885
|
-
readonly internalType: "uint256";
|
|
2886
|
-
readonly type: "uint256";
|
|
2887
|
-
}];
|
|
2888
|
-
readonly name: "incomeHeld";
|
|
2889
|
-
readonly outputs: readonly [{
|
|
2890
|
-
readonly name: "";
|
|
2891
|
-
readonly internalType: "uint256";
|
|
2892
|
-
readonly type: "uint256";
|
|
2893
|
-
}];
|
|
2894
|
-
readonly stateMutability: "view";
|
|
2895
2853
|
}, {
|
|
2896
2854
|
readonly type: "function";
|
|
2897
2855
|
readonly inputs: readonly [{
|
|
@@ -3046,7 +3004,7 @@ export declare const managerFAbi: readonly [{
|
|
|
3046
3004
|
}, {
|
|
3047
3005
|
readonly type: "function";
|
|
3048
3006
|
readonly inputs: readonly [{
|
|
3049
|
-
readonly name: "
|
|
3007
|
+
readonly name: "data";
|
|
3050
3008
|
readonly internalType: "bytes[]";
|
|
3051
3009
|
readonly type: "bytes[]";
|
|
3052
3010
|
}];
|
|
@@ -3490,16 +3448,16 @@ export declare const managerFAbi: readonly [{
|
|
|
3490
3448
|
readonly internalType: "bytes32";
|
|
3491
3449
|
readonly type: "bytes32";
|
|
3492
3450
|
readonly indexed: true;
|
|
3493
|
-
}, {
|
|
3494
|
-
readonly name: "gen";
|
|
3495
|
-
readonly internalType: "uint256";
|
|
3496
|
-
readonly type: "uint256";
|
|
3497
|
-
readonly indexed: true;
|
|
3498
3451
|
}, {
|
|
3499
3452
|
readonly name: "owner";
|
|
3500
3453
|
readonly internalType: "address";
|
|
3501
3454
|
readonly type: "address";
|
|
3502
3455
|
readonly indexed: true;
|
|
3456
|
+
}, {
|
|
3457
|
+
readonly name: "gen";
|
|
3458
|
+
readonly internalType: "uint256";
|
|
3459
|
+
readonly type: "uint256";
|
|
3460
|
+
readonly indexed: true;
|
|
3503
3461
|
}, {
|
|
3504
3462
|
readonly name: "to";
|
|
3505
3463
|
readonly internalType: "address";
|
|
@@ -3762,12 +3720,12 @@ export declare const managerFAbi: readonly [{
|
|
|
3762
3720
|
readonly name: "creator";
|
|
3763
3721
|
readonly internalType: "address";
|
|
3764
3722
|
readonly type: "address";
|
|
3765
|
-
readonly indexed:
|
|
3723
|
+
readonly indexed: false;
|
|
3766
3724
|
}, {
|
|
3767
3725
|
readonly name: "policy";
|
|
3768
3726
|
readonly internalType: "address";
|
|
3769
3727
|
readonly type: "address";
|
|
3770
|
-
readonly indexed:
|
|
3728
|
+
readonly indexed: true;
|
|
3771
3729
|
}, {
|
|
3772
3730
|
readonly name: "bases";
|
|
3773
3731
|
readonly internalType: "address[]";
|
|
@@ -3913,16 +3871,16 @@ export declare const managerFAbi: readonly [{
|
|
|
3913
3871
|
readonly internalType: "bytes32";
|
|
3914
3872
|
readonly type: "bytes32";
|
|
3915
3873
|
readonly indexed: true;
|
|
3916
|
-
}, {
|
|
3917
|
-
readonly name: "gen";
|
|
3918
|
-
readonly internalType: "uint256";
|
|
3919
|
-
readonly type: "uint256";
|
|
3920
|
-
readonly indexed: true;
|
|
3921
3874
|
}, {
|
|
3922
3875
|
readonly name: "owner";
|
|
3923
3876
|
readonly internalType: "address";
|
|
3924
3877
|
readonly type: "address";
|
|
3925
3878
|
readonly indexed: true;
|
|
3879
|
+
}, {
|
|
3880
|
+
readonly name: "gen";
|
|
3881
|
+
readonly internalType: "uint256";
|
|
3882
|
+
readonly type: "uint256";
|
|
3883
|
+
readonly indexed: true;
|
|
3926
3884
|
}, {
|
|
3927
3885
|
readonly name: "shares";
|
|
3928
3886
|
readonly internalType: "uint256";
|
|
@@ -4150,10 +4108,6 @@ export declare const managerFAbi: readonly [{
|
|
|
4150
4108
|
readonly type: "error";
|
|
4151
4109
|
readonly inputs: readonly [];
|
|
4152
4110
|
readonly name: "NotAuthorized";
|
|
4153
|
-
}, {
|
|
4154
|
-
readonly type: "error";
|
|
4155
|
-
readonly inputs: readonly [];
|
|
4156
|
-
readonly name: "NotCreator";
|
|
4157
4111
|
}, {
|
|
4158
4112
|
readonly type: "error";
|
|
4159
4113
|
readonly inputs: readonly [];
|
|
@@ -4251,7 +4205,7 @@ export declare const managerFAbi: readonly [{
|
|
|
4251
4205
|
readonly inputs: readonly [];
|
|
4252
4206
|
readonly name: "ZeroAmount";
|
|
4253
4207
|
}];
|
|
4254
|
-
export declare const
|
|
4208
|
+
export declare const policyCAbi: readonly [{
|
|
4255
4209
|
readonly type: "constructor";
|
|
4256
4210
|
readonly inputs: readonly [{
|
|
4257
4211
|
readonly name: "manager_";
|
|
@@ -4259,7 +4213,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4259
4213
|
readonly type: "address";
|
|
4260
4214
|
}, {
|
|
4261
4215
|
readonly name: "p";
|
|
4262
|
-
readonly internalType: "struct
|
|
4216
|
+
readonly internalType: "struct PolicyCParams";
|
|
4263
4217
|
readonly type: "tuple";
|
|
4264
4218
|
readonly components: readonly [{
|
|
4265
4219
|
readonly name: "authority";
|
|
@@ -4269,32 +4223,12 @@ export declare const policyFAbi: readonly [{
|
|
|
4269
4223
|
readonly name: "open";
|
|
4270
4224
|
readonly internalType: "bool";
|
|
4271
4225
|
readonly type: "bool";
|
|
4272
|
-
}, {
|
|
4273
|
-
readonly name: "seedToDead";
|
|
4274
|
-
readonly internalType: "bool";
|
|
4275
|
-
readonly type: "bool";
|
|
4276
|
-
}, {
|
|
4277
|
-
readonly name: "incomeHarvestOnly";
|
|
4278
|
-
readonly internalType: "bool";
|
|
4279
|
-
readonly type: "bool";
|
|
4280
|
-
}, {
|
|
4281
|
-
readonly name: "incomeTaxRate";
|
|
4282
|
-
readonly internalType: "uint256";
|
|
4283
|
-
readonly type: "uint256";
|
|
4284
4226
|
}, {
|
|
4285
4227
|
readonly name: "feeMask";
|
|
4286
4228
|
readonly internalType: "uint8";
|
|
4287
4229
|
readonly type: "uint8";
|
|
4288
4230
|
}, {
|
|
4289
|
-
readonly name: "
|
|
4290
|
-
readonly internalType: "uint8";
|
|
4291
|
-
readonly type: "uint8";
|
|
4292
|
-
}, {
|
|
4293
|
-
readonly name: "lnCapMin";
|
|
4294
|
-
readonly internalType: "uint24";
|
|
4295
|
-
readonly type: "uint24";
|
|
4296
|
-
}, {
|
|
4297
|
-
readonly name: "quoteBuffer";
|
|
4231
|
+
readonly name: "swapFeeTax";
|
|
4298
4232
|
readonly internalType: "uint256";
|
|
4299
4233
|
readonly type: "uint256";
|
|
4300
4234
|
}, {
|
|
@@ -4396,26 +4330,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4396
4330
|
readonly type: "address";
|
|
4397
4331
|
}];
|
|
4398
4332
|
readonly stateMutability: "view";
|
|
4399
|
-
}, {
|
|
4400
|
-
readonly type: "function";
|
|
4401
|
-
readonly inputs: readonly [];
|
|
4402
|
-
readonly name: "incomeHarvestOnly";
|
|
4403
|
-
readonly outputs: readonly [{
|
|
4404
|
-
readonly name: "";
|
|
4405
|
-
readonly internalType: "bool";
|
|
4406
|
-
readonly type: "bool";
|
|
4407
|
-
}];
|
|
4408
|
-
readonly stateMutability: "view";
|
|
4409
|
-
}, {
|
|
4410
|
-
readonly type: "function";
|
|
4411
|
-
readonly inputs: readonly [];
|
|
4412
|
-
readonly name: "incomeTaxRate";
|
|
4413
|
-
readonly outputs: readonly [{
|
|
4414
|
-
readonly name: "";
|
|
4415
|
-
readonly internalType: "uint256";
|
|
4416
|
-
readonly type: "uint256";
|
|
4417
|
-
}];
|
|
4418
|
-
readonly stateMutability: "view";
|
|
4419
4333
|
}, {
|
|
4420
4334
|
readonly type: "function";
|
|
4421
4335
|
readonly inputs: readonly [];
|
|
@@ -4426,26 +4340,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4426
4340
|
readonly type: "bytes32";
|
|
4427
4341
|
}];
|
|
4428
4342
|
readonly stateMutability: "pure";
|
|
4429
|
-
}, {
|
|
4430
|
-
readonly type: "function";
|
|
4431
|
-
readonly inputs: readonly [];
|
|
4432
|
-
readonly name: "lenMax";
|
|
4433
|
-
readonly outputs: readonly [{
|
|
4434
|
-
readonly name: "";
|
|
4435
|
-
readonly internalType: "uint8";
|
|
4436
|
-
readonly type: "uint8";
|
|
4437
|
-
}];
|
|
4438
|
-
readonly stateMutability: "view";
|
|
4439
|
-
}, {
|
|
4440
|
-
readonly type: "function";
|
|
4441
|
-
readonly inputs: readonly [];
|
|
4442
|
-
readonly name: "lnCapMin";
|
|
4443
|
-
readonly outputs: readonly [{
|
|
4444
|
-
readonly name: "";
|
|
4445
|
-
readonly internalType: "uint24";
|
|
4446
|
-
readonly type: "uint24";
|
|
4447
|
-
}];
|
|
4448
|
-
readonly stateMutability: "view";
|
|
4449
4343
|
}, {
|
|
4450
4344
|
readonly type: "function";
|
|
4451
4345
|
readonly inputs: readonly [];
|
|
@@ -4464,7 +4358,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4464
4358
|
readonly type: "bytes32";
|
|
4465
4359
|
}, {
|
|
4466
4360
|
readonly name: "action";
|
|
4467
|
-
readonly internalType: "enum
|
|
4361
|
+
readonly internalType: "enum IPolicyBase.Action";
|
|
4468
4362
|
readonly type: "uint8";
|
|
4469
4363
|
}, {
|
|
4470
4364
|
readonly name: "who";
|
|
@@ -4481,81 +4375,21 @@ export declare const policyFAbi: readonly [{
|
|
|
4481
4375
|
}, {
|
|
4482
4376
|
readonly type: "function";
|
|
4483
4377
|
readonly inputs: readonly [{
|
|
4484
|
-
readonly name: "";
|
|
4378
|
+
readonly name: "poolId";
|
|
4485
4379
|
readonly internalType: "bytes32";
|
|
4486
4380
|
readonly type: "bytes32";
|
|
4487
4381
|
}, {
|
|
4488
|
-
readonly name: "
|
|
4489
|
-
readonly internalType: "
|
|
4490
|
-
readonly type: "
|
|
4382
|
+
readonly name: "caller";
|
|
4383
|
+
readonly internalType: "address";
|
|
4384
|
+
readonly type: "address";
|
|
4491
4385
|
}, {
|
|
4492
|
-
readonly name: "
|
|
4493
|
-
readonly internalType: "
|
|
4494
|
-
readonly type: "
|
|
4386
|
+
readonly name: "quote";
|
|
4387
|
+
readonly internalType: "address";
|
|
4388
|
+
readonly type: "address";
|
|
4495
4389
|
}, {
|
|
4496
|
-
readonly name: "
|
|
4497
|
-
readonly internalType: "
|
|
4498
|
-
readonly type: "
|
|
4499
|
-
}, {
|
|
4500
|
-
readonly name: "L";
|
|
4501
|
-
readonly internalType: "uint256";
|
|
4502
|
-
readonly type: "uint256";
|
|
4503
|
-
}];
|
|
4504
|
-
readonly name: "mayDeploy";
|
|
4505
|
-
readonly outputs: readonly [{
|
|
4506
|
-
readonly name: "";
|
|
4507
|
-
readonly internalType: "bytes4";
|
|
4508
|
-
readonly type: "bytes4";
|
|
4509
|
-
}];
|
|
4510
|
-
readonly stateMutability: "view";
|
|
4511
|
-
}, {
|
|
4512
|
-
readonly type: "function";
|
|
4513
|
-
readonly inputs: readonly [{
|
|
4514
|
-
readonly name: "";
|
|
4515
|
-
readonly internalType: "bytes32";
|
|
4516
|
-
readonly type: "bytes32";
|
|
4517
|
-
}, {
|
|
4518
|
-
readonly name: "income";
|
|
4519
|
-
readonly internalType: "uint256";
|
|
4520
|
-
readonly type: "uint256";
|
|
4521
|
-
}, {
|
|
4522
|
-
readonly name: "extra";
|
|
4523
|
-
readonly internalType: "uint256";
|
|
4524
|
-
readonly type: "uint256";
|
|
4525
|
-
}, {
|
|
4526
|
-
readonly name: "Q";
|
|
4527
|
-
readonly internalType: "uint256";
|
|
4528
|
-
readonly type: "uint256";
|
|
4529
|
-
}, {
|
|
4530
|
-
readonly name: "L";
|
|
4531
|
-
readonly internalType: "uint256";
|
|
4532
|
-
readonly type: "uint256";
|
|
4533
|
-
}];
|
|
4534
|
-
readonly name: "mayHarvest";
|
|
4535
|
-
readonly outputs: readonly [{
|
|
4536
|
-
readonly name: "";
|
|
4537
|
-
readonly internalType: "bytes4";
|
|
4538
|
-
readonly type: "bytes4";
|
|
4539
|
-
}];
|
|
4540
|
-
readonly stateMutability: "view";
|
|
4541
|
-
}, {
|
|
4542
|
-
readonly type: "function";
|
|
4543
|
-
readonly inputs: readonly [{
|
|
4544
|
-
readonly name: "poolId";
|
|
4545
|
-
readonly internalType: "bytes32";
|
|
4546
|
-
readonly type: "bytes32";
|
|
4547
|
-
}, {
|
|
4548
|
-
readonly name: "caller";
|
|
4549
|
-
readonly internalType: "address";
|
|
4550
|
-
readonly type: "address";
|
|
4551
|
-
}, {
|
|
4552
|
-
readonly name: "quote";
|
|
4553
|
-
readonly internalType: "address";
|
|
4554
|
-
readonly type: "address";
|
|
4555
|
-
}, {
|
|
4556
|
-
readonly name: "bases";
|
|
4557
|
-
readonly internalType: "address[]";
|
|
4558
|
-
readonly type: "address[]";
|
|
4390
|
+
readonly name: "base";
|
|
4391
|
+
readonly internalType: "address";
|
|
4392
|
+
readonly type: "address";
|
|
4559
4393
|
}, {
|
|
4560
4394
|
readonly name: "swapFeeIdx";
|
|
4561
4395
|
readonly internalType: "uint8";
|
|
@@ -4574,6 +4408,10 @@ export declare const policyFAbi: readonly [{
|
|
|
4574
4408
|
readonly name: "op";
|
|
4575
4409
|
readonly internalType: "address";
|
|
4576
4410
|
readonly type: "address";
|
|
4411
|
+
}, {
|
|
4412
|
+
readonly name: "tax";
|
|
4413
|
+
readonly internalType: "uint256";
|
|
4414
|
+
readonly type: "uint256";
|
|
4577
4415
|
}];
|
|
4578
4416
|
readonly stateMutability: "nonpayable";
|
|
4579
4417
|
}, {
|
|
@@ -4586,7 +4424,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4586
4424
|
readonly name: "mintMode";
|
|
4587
4425
|
readonly outputs: readonly [{
|
|
4588
4426
|
readonly name: "";
|
|
4589
|
-
readonly internalType: "enum
|
|
4427
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4590
4428
|
readonly type: "uint8";
|
|
4591
4429
|
}];
|
|
4592
4430
|
readonly stateMutability: "view";
|
|
@@ -4614,16 +4452,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4614
4452
|
readonly type: "address";
|
|
4615
4453
|
}];
|
|
4616
4454
|
readonly stateMutability: "view";
|
|
4617
|
-
}, {
|
|
4618
|
-
readonly type: "function";
|
|
4619
|
-
readonly inputs: readonly [];
|
|
4620
|
-
readonly name: "quoteBuffer";
|
|
4621
|
-
readonly outputs: readonly [{
|
|
4622
|
-
readonly name: "";
|
|
4623
|
-
readonly internalType: "uint256";
|
|
4624
|
-
readonly type: "uint256";
|
|
4625
|
-
}];
|
|
4626
|
-
readonly stateMutability: "view";
|
|
4627
4455
|
}, {
|
|
4628
4456
|
readonly type: "function";
|
|
4629
4457
|
readonly inputs: readonly [];
|
|
@@ -4662,16 +4490,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4662
4490
|
readonly type: "uint8";
|
|
4663
4491
|
}];
|
|
4664
4492
|
readonly stateMutability: "view";
|
|
4665
|
-
}, {
|
|
4666
|
-
readonly type: "function";
|
|
4667
|
-
readonly inputs: readonly [];
|
|
4668
|
-
readonly name: "seedToDead";
|
|
4669
|
-
readonly outputs: readonly [{
|
|
4670
|
-
readonly name: "";
|
|
4671
|
-
readonly internalType: "bool";
|
|
4672
|
-
readonly type: "bool";
|
|
4673
|
-
}];
|
|
4674
|
-
readonly stateMutability: "view";
|
|
4675
4493
|
}, {
|
|
4676
4494
|
readonly type: "function";
|
|
4677
4495
|
readonly inputs: readonly [{
|
|
@@ -4680,7 +4498,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4680
4498
|
readonly type: "bytes32";
|
|
4681
4499
|
}, {
|
|
4682
4500
|
readonly name: "mode";
|
|
4683
|
-
readonly internalType: "enum
|
|
4501
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4684
4502
|
readonly type: "uint8";
|
|
4685
4503
|
}];
|
|
4686
4504
|
readonly name: "setMintMode";
|
|
@@ -4722,7 +4540,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4722
4540
|
readonly type: "bytes32";
|
|
4723
4541
|
}, {
|
|
4724
4542
|
readonly name: "mode";
|
|
4725
|
-
readonly internalType: "enum
|
|
4543
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4726
4544
|
readonly type: "uint8";
|
|
4727
4545
|
}];
|
|
4728
4546
|
readonly name: "setSwapMode";
|
|
@@ -4730,34 +4548,26 @@ export declare const policyFAbi: readonly [{
|
|
|
4730
4548
|
readonly stateMutability: "nonpayable";
|
|
4731
4549
|
}, {
|
|
4732
4550
|
readonly type: "function";
|
|
4733
|
-
readonly inputs: readonly [
|
|
4734
|
-
|
|
4735
|
-
readonly internalType: "bytes32";
|
|
4736
|
-
readonly type: "bytes32";
|
|
4737
|
-
}];
|
|
4738
|
-
readonly name: "swapMode";
|
|
4551
|
+
readonly inputs: readonly [];
|
|
4552
|
+
readonly name: "swapFeeTax";
|
|
4739
4553
|
readonly outputs: readonly [{
|
|
4740
4554
|
readonly name: "";
|
|
4741
|
-
readonly internalType: "
|
|
4742
|
-
readonly type: "
|
|
4555
|
+
readonly internalType: "uint256";
|
|
4556
|
+
readonly type: "uint256";
|
|
4743
4557
|
}];
|
|
4744
4558
|
readonly stateMutability: "view";
|
|
4745
4559
|
}, {
|
|
4746
4560
|
readonly type: "function";
|
|
4747
4561
|
readonly inputs: readonly [{
|
|
4748
|
-
readonly name: "
|
|
4562
|
+
readonly name: "";
|
|
4749
4563
|
readonly internalType: "bytes32";
|
|
4750
4564
|
readonly type: "bytes32";
|
|
4751
4565
|
}];
|
|
4752
|
-
readonly name: "
|
|
4566
|
+
readonly name: "swapMode";
|
|
4753
4567
|
readonly outputs: readonly [{
|
|
4754
|
-
readonly name: "
|
|
4755
|
-
readonly internalType: "
|
|
4756
|
-
readonly type: "
|
|
4757
|
-
}, {
|
|
4758
|
-
readonly name: "rate";
|
|
4759
|
-
readonly internalType: "uint256";
|
|
4760
|
-
readonly type: "uint256";
|
|
4568
|
+
readonly name: "";
|
|
4569
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4570
|
+
readonly type: "uint8";
|
|
4761
4571
|
}];
|
|
4762
4572
|
readonly stateMutability: "view";
|
|
4763
4573
|
}, {
|
|
@@ -4770,7 +4580,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4770
4580
|
readonly indexed: true;
|
|
4771
4581
|
}, {
|
|
4772
4582
|
readonly name: "mode";
|
|
4773
|
-
readonly internalType: "enum
|
|
4583
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4774
4584
|
readonly type: "uint8";
|
|
4775
4585
|
readonly indexed: false;
|
|
4776
4586
|
}];
|
|
@@ -4835,7 +4645,7 @@ export declare const policyFAbi: readonly [{
|
|
|
4835
4645
|
readonly indexed: true;
|
|
4836
4646
|
}, {
|
|
4837
4647
|
readonly name: "mode";
|
|
4838
|
-
readonly internalType: "enum
|
|
4648
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
4839
4649
|
readonly type: "uint8";
|
|
4840
4650
|
readonly indexed: false;
|
|
4841
4651
|
}];
|
|
@@ -4860,10 +4670,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4860
4670
|
readonly type: "address";
|
|
4861
4671
|
}];
|
|
4862
4672
|
readonly name: "BaseNotListed";
|
|
4863
|
-
}, {
|
|
4864
|
-
readonly type: "error";
|
|
4865
|
-
readonly inputs: readonly [];
|
|
4866
|
-
readonly name: "CapTooClose";
|
|
4867
4673
|
}, {
|
|
4868
4674
|
readonly type: "error";
|
|
4869
4675
|
readonly inputs: readonly [{
|
|
@@ -4880,10 +4686,6 @@ export declare const policyFAbi: readonly [{
|
|
|
4880
4686
|
readonly type: "error";
|
|
4881
4687
|
readonly inputs: readonly [];
|
|
4882
4688
|
readonly name: "InactivePool";
|
|
4883
|
-
}, {
|
|
4884
|
-
readonly type: "error";
|
|
4885
|
-
readonly inputs: readonly [];
|
|
4886
|
-
readonly name: "IncomeOnly";
|
|
4887
4689
|
}, {
|
|
4888
4690
|
readonly type: "error";
|
|
4889
4691
|
readonly inputs: readonly [];
|
|
@@ -4912,107 +4714,120 @@ export declare const policyFAbi: readonly [{
|
|
|
4912
4714
|
readonly type: "address";
|
|
4913
4715
|
}];
|
|
4914
4716
|
readonly name: "QuoteNotListed";
|
|
4915
|
-
}, {
|
|
4916
|
-
readonly type: "error";
|
|
4917
|
-
readonly inputs: readonly [];
|
|
4918
|
-
readonly name: "QuoteTooThin";
|
|
4919
4717
|
}, {
|
|
4920
4718
|
readonly type: "error";
|
|
4921
4719
|
readonly inputs: readonly [];
|
|
4922
4720
|
readonly name: "Refused";
|
|
4923
|
-
}, {
|
|
4924
|
-
readonly type: "error";
|
|
4925
|
-
readonly inputs: readonly [];
|
|
4926
|
-
readonly name: "TooManyLegs";
|
|
4927
4721
|
}];
|
|
4928
|
-
export declare const
|
|
4722
|
+
export declare const policyFAbi: readonly [{
|
|
4929
4723
|
readonly type: "constructor";
|
|
4930
4724
|
readonly inputs: readonly [{
|
|
4931
|
-
readonly name: "
|
|
4725
|
+
readonly name: "manager_";
|
|
4932
4726
|
readonly internalType: "address";
|
|
4933
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
|
+
}];
|
|
4934
4777
|
}];
|
|
4935
4778
|
readonly stateMutability: "nonpayable";
|
|
4936
4779
|
}, {
|
|
4937
4780
|
readonly type: "function";
|
|
4938
4781
|
readonly inputs: readonly [];
|
|
4939
|
-
readonly name: "
|
|
4940
|
-
readonly outputs: readonly [
|
|
4941
|
-
|
|
4782
|
+
readonly name: "MINT";
|
|
4783
|
+
readonly outputs: readonly [{
|
|
4784
|
+
readonly name: "";
|
|
4785
|
+
readonly internalType: "uint8";
|
|
4786
|
+
readonly type: "uint8";
|
|
4787
|
+
}];
|
|
4788
|
+
readonly stateMutability: "view";
|
|
4942
4789
|
}, {
|
|
4943
4790
|
readonly type: "function";
|
|
4944
|
-
readonly inputs: readonly [
|
|
4945
|
-
|
|
4946
|
-
readonly internalType: "address";
|
|
4947
|
-
readonly type: "address";
|
|
4948
|
-
}, {
|
|
4949
|
-
readonly name: "caller";
|
|
4950
|
-
readonly internalType: "address";
|
|
4951
|
-
readonly type: "address";
|
|
4952
|
-
}, {
|
|
4953
|
-
readonly name: "creator";
|
|
4954
|
-
readonly internalType: "address";
|
|
4955
|
-
readonly type: "address";
|
|
4956
|
-
}];
|
|
4957
|
-
readonly name: "admit";
|
|
4791
|
+
readonly inputs: readonly [];
|
|
4792
|
+
readonly name: "SWAP";
|
|
4958
4793
|
readonly outputs: readonly [{
|
|
4959
|
-
readonly name: "
|
|
4960
|
-
readonly internalType: "
|
|
4961
|
-
readonly type: "
|
|
4794
|
+
readonly name: "";
|
|
4795
|
+
readonly internalType: "uint8";
|
|
4796
|
+
readonly type: "uint8";
|
|
4962
4797
|
}];
|
|
4963
4798
|
readonly stateMutability: "view";
|
|
4964
4799
|
}, {
|
|
4965
4800
|
readonly type: "function";
|
|
4966
4801
|
readonly inputs: readonly [{
|
|
4967
|
-
readonly name: "
|
|
4968
|
-
readonly internalType: "address";
|
|
4969
|
-
readonly type: "address";
|
|
4970
|
-
}, {
|
|
4971
|
-
readonly name: "name";
|
|
4802
|
+
readonly name: "poolId";
|
|
4972
4803
|
readonly internalType: "bytes32";
|
|
4973
4804
|
readonly type: "bytes32";
|
|
4805
|
+
}, {
|
|
4806
|
+
readonly name: "who";
|
|
4807
|
+
readonly internalType: "address";
|
|
4808
|
+
readonly type: "address";
|
|
4974
4809
|
}];
|
|
4975
|
-
readonly name: "
|
|
4810
|
+
readonly name: "appointOperator";
|
|
4976
4811
|
readonly outputs: readonly [];
|
|
4977
4812
|
readonly stateMutability: "nonpayable";
|
|
4978
4813
|
}, {
|
|
4979
4814
|
readonly type: "function";
|
|
4980
|
-
readonly inputs: readonly [
|
|
4815
|
+
readonly inputs: readonly [];
|
|
4816
|
+
readonly name: "authority";
|
|
4817
|
+
readonly outputs: readonly [{
|
|
4981
4818
|
readonly name: "";
|
|
4982
4819
|
readonly internalType: "address";
|
|
4983
4820
|
readonly type: "address";
|
|
4984
4821
|
}];
|
|
4985
|
-
readonly name: "creationMode";
|
|
4986
|
-
readonly outputs: readonly [{
|
|
4987
|
-
readonly name: "";
|
|
4988
|
-
readonly internalType: "enum PolicyRegistry.CreationMode";
|
|
4989
|
-
readonly type: "uint8";
|
|
4990
|
-
}];
|
|
4991
4822
|
readonly stateMutability: "view";
|
|
4992
4823
|
}, {
|
|
4993
4824
|
readonly type: "function";
|
|
4994
|
-
readonly inputs: readonly [
|
|
4995
|
-
|
|
4996
|
-
readonly internalType: "address";
|
|
4997
|
-
readonly type: "address";
|
|
4998
|
-
}];
|
|
4999
|
-
readonly name: "entries";
|
|
4825
|
+
readonly inputs: readonly [];
|
|
4826
|
+
readonly name: "baseCurated";
|
|
5000
4827
|
readonly outputs: readonly [{
|
|
5001
|
-
readonly name: "
|
|
4828
|
+
readonly name: "";
|
|
5002
4829
|
readonly internalType: "bool";
|
|
5003
4830
|
readonly type: "bool";
|
|
5004
|
-
}, {
|
|
5005
|
-
readonly name: "until";
|
|
5006
|
-
readonly internalType: "uint64";
|
|
5007
|
-
readonly type: "uint64";
|
|
5008
|
-
}, {
|
|
5009
|
-
readonly name: "index";
|
|
5010
|
-
readonly internalType: "uint32";
|
|
5011
|
-
readonly type: "uint32";
|
|
5012
|
-
}, {
|
|
5013
|
-
readonly name: "name";
|
|
5014
|
-
readonly internalType: "bytes32";
|
|
5015
|
-
readonly type: "bytes32";
|
|
5016
4831
|
}];
|
|
5017
4832
|
readonly stateMutability: "view";
|
|
5018
4833
|
}, {
|
|
@@ -5022,7 +4837,7 @@ export declare const policyRegistryAbi: readonly [{
|
|
|
5022
4837
|
readonly internalType: "address";
|
|
5023
4838
|
readonly type: "address";
|
|
5024
4839
|
}];
|
|
5025
|
-
readonly name: "
|
|
4840
|
+
readonly name: "baseListed";
|
|
5026
4841
|
readonly outputs: readonly [{
|
|
5027
4842
|
readonly name: "";
|
|
5028
4843
|
readonly internalType: "bool";
|
|
@@ -5031,1310 +4846,1079 @@ export declare const policyRegistryAbi: readonly [{
|
|
|
5031
4846
|
readonly stateMutability: "view";
|
|
5032
4847
|
}, {
|
|
5033
4848
|
readonly type: "function";
|
|
5034
|
-
readonly inputs: readonly [
|
|
5035
|
-
|
|
5036
|
-
readonly internalType: "address";
|
|
5037
|
-
readonly type: "address";
|
|
5038
|
-
}];
|
|
5039
|
-
readonly name: "isApproved";
|
|
4849
|
+
readonly inputs: readonly [];
|
|
4850
|
+
readonly name: "feeMask";
|
|
5040
4851
|
readonly outputs: readonly [{
|
|
5041
4852
|
readonly name: "";
|
|
5042
|
-
readonly internalType: "
|
|
5043
|
-
readonly type: "
|
|
4853
|
+
readonly internalType: "uint8";
|
|
4854
|
+
readonly type: "uint8";
|
|
5044
4855
|
}];
|
|
5045
4856
|
readonly stateMutability: "view";
|
|
5046
4857
|
}, {
|
|
5047
4858
|
readonly type: "function";
|
|
5048
|
-
readonly inputs: readonly [
|
|
4859
|
+
readonly inputs: readonly [];
|
|
4860
|
+
readonly name: "fixedAuthority";
|
|
4861
|
+
readonly outputs: readonly [{
|
|
5049
4862
|
readonly name: "";
|
|
5050
4863
|
readonly internalType: "address";
|
|
5051
4864
|
readonly type: "address";
|
|
5052
4865
|
}];
|
|
5053
|
-
readonly
|
|
4866
|
+
readonly stateMutability: "view";
|
|
4867
|
+
}, {
|
|
4868
|
+
readonly type: "function";
|
|
4869
|
+
readonly inputs: readonly [];
|
|
4870
|
+
readonly name: "incomeHarvestOnly";
|
|
5054
4871
|
readonly outputs: readonly [{
|
|
5055
4872
|
readonly name: "";
|
|
5056
|
-
readonly internalType: "
|
|
5057
|
-
readonly type: "
|
|
4873
|
+
readonly internalType: "bool";
|
|
4874
|
+
readonly type: "bool";
|
|
5058
4875
|
}];
|
|
5059
4876
|
readonly stateMutability: "view";
|
|
5060
4877
|
}, {
|
|
5061
4878
|
readonly type: "function";
|
|
5062
4879
|
readonly inputs: readonly [];
|
|
5063
|
-
readonly name: "
|
|
4880
|
+
readonly name: "incomeTaxRate";
|
|
5064
4881
|
readonly outputs: readonly [{
|
|
5065
4882
|
readonly name: "";
|
|
5066
|
-
readonly internalType: "
|
|
5067
|
-
readonly type: "
|
|
4883
|
+
readonly internalType: "uint256";
|
|
4884
|
+
readonly type: "uint256";
|
|
5068
4885
|
}];
|
|
5069
4886
|
readonly stateMutability: "view";
|
|
5070
4887
|
}, {
|
|
5071
4888
|
readonly type: "function";
|
|
5072
4889
|
readonly inputs: readonly [];
|
|
5073
|
-
readonly name: "
|
|
4890
|
+
readonly name: "kind";
|
|
5074
4891
|
readonly outputs: readonly [{
|
|
5075
4892
|
readonly name: "";
|
|
5076
|
-
readonly internalType: "
|
|
5077
|
-
readonly type: "
|
|
4893
|
+
readonly internalType: "bytes32";
|
|
4894
|
+
readonly type: "bytes32";
|
|
4895
|
+
}];
|
|
4896
|
+
readonly stateMutability: "pure";
|
|
4897
|
+
}, {
|
|
4898
|
+
readonly type: "function";
|
|
4899
|
+
readonly inputs: readonly [];
|
|
4900
|
+
readonly name: "lenMax";
|
|
4901
|
+
readonly outputs: readonly [{
|
|
4902
|
+
readonly name: "";
|
|
4903
|
+
readonly internalType: "uint8";
|
|
4904
|
+
readonly type: "uint8";
|
|
5078
4905
|
}];
|
|
5079
4906
|
readonly stateMutability: "view";
|
|
5080
4907
|
}, {
|
|
5081
4908
|
readonly type: "function";
|
|
5082
4909
|
readonly inputs: readonly [];
|
|
5083
|
-
readonly name: "
|
|
4910
|
+
readonly name: "lnCapMin";
|
|
5084
4911
|
readonly outputs: readonly [{
|
|
5085
4912
|
readonly name: "";
|
|
5086
|
-
readonly internalType: "
|
|
5087
|
-
readonly type: "
|
|
4913
|
+
readonly internalType: "uint24";
|
|
4914
|
+
readonly type: "uint24";
|
|
5088
4915
|
}];
|
|
5089
4916
|
readonly stateMutability: "view";
|
|
5090
4917
|
}, {
|
|
5091
4918
|
readonly type: "function";
|
|
5092
|
-
readonly inputs: readonly [
|
|
5093
|
-
|
|
4919
|
+
readonly inputs: readonly [];
|
|
4920
|
+
readonly name: "manager";
|
|
4921
|
+
readonly outputs: readonly [{
|
|
4922
|
+
readonly name: "";
|
|
5094
4923
|
readonly internalType: "address";
|
|
5095
4924
|
readonly type: "address";
|
|
5096
4925
|
}];
|
|
5097
|
-
readonly
|
|
5098
|
-
readonly outputs: readonly [];
|
|
5099
|
-
readonly stateMutability: "nonpayable";
|
|
4926
|
+
readonly stateMutability: "view";
|
|
5100
4927
|
}, {
|
|
5101
4928
|
readonly type: "function";
|
|
5102
4929
|
readonly inputs: readonly [{
|
|
5103
|
-
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";
|
|
5104
4939
|
readonly internalType: "address";
|
|
5105
4940
|
readonly type: "address";
|
|
5106
4941
|
}];
|
|
5107
|
-
readonly name: "
|
|
5108
|
-
readonly outputs: readonly [
|
|
5109
|
-
|
|
4942
|
+
readonly name: "may";
|
|
4943
|
+
readonly outputs: readonly [{
|
|
4944
|
+
readonly name: "";
|
|
4945
|
+
readonly internalType: "bytes4";
|
|
4946
|
+
readonly type: "bytes4";
|
|
4947
|
+
}];
|
|
4948
|
+
readonly stateMutability: "view";
|
|
5110
4949
|
}, {
|
|
5111
4950
|
readonly type: "function";
|
|
5112
4951
|
readonly inputs: readonly [{
|
|
5113
|
-
readonly name: "
|
|
5114
|
-
readonly internalType: "
|
|
5115
|
-
readonly type: "
|
|
4952
|
+
readonly name: "";
|
|
4953
|
+
readonly internalType: "bytes32";
|
|
4954
|
+
readonly type: "bytes32";
|
|
5116
4955
|
}, {
|
|
5117
|
-
readonly name: "
|
|
5118
|
-
readonly internalType: "
|
|
5119
|
-
readonly type: "
|
|
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";
|
|
5120
4971
|
}];
|
|
5121
|
-
readonly name: "
|
|
5122
|
-
readonly outputs: readonly [
|
|
5123
|
-
|
|
4972
|
+
readonly name: "mayDeploy";
|
|
4973
|
+
readonly outputs: readonly [{
|
|
4974
|
+
readonly name: "";
|
|
4975
|
+
readonly internalType: "bytes4";
|
|
4976
|
+
readonly type: "bytes4";
|
|
4977
|
+
}];
|
|
4978
|
+
readonly stateMutability: "view";
|
|
5124
4979
|
}, {
|
|
5125
4980
|
readonly type: "function";
|
|
5126
4981
|
readonly inputs: readonly [{
|
|
5127
|
-
readonly name: "
|
|
5128
|
-
readonly internalType: "
|
|
5129
|
-
readonly type: "
|
|
4982
|
+
readonly name: "";
|
|
4983
|
+
readonly internalType: "bytes32";
|
|
4984
|
+
readonly type: "bytes32";
|
|
5130
4985
|
}, {
|
|
5131
|
-
readonly name: "
|
|
5132
|
-
readonly internalType: "
|
|
5133
|
-
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";
|
|
5134
5001
|
}];
|
|
5135
|
-
readonly name: "
|
|
5136
|
-
readonly outputs: readonly [
|
|
5137
|
-
|
|
5002
|
+
readonly name: "mayHarvest";
|
|
5003
|
+
readonly outputs: readonly [{
|
|
5004
|
+
readonly name: "";
|
|
5005
|
+
readonly internalType: "bytes4";
|
|
5006
|
+
readonly type: "bytes4";
|
|
5007
|
+
}];
|
|
5008
|
+
readonly stateMutability: "view";
|
|
5138
5009
|
}, {
|
|
5139
5010
|
readonly type: "function";
|
|
5140
5011
|
readonly inputs: readonly [{
|
|
5141
|
-
readonly name: "
|
|
5012
|
+
readonly name: "poolId";
|
|
5013
|
+
readonly internalType: "bytes32";
|
|
5014
|
+
readonly type: "bytes32";
|
|
5015
|
+
}, {
|
|
5016
|
+
readonly name: "caller";
|
|
5142
5017
|
readonly internalType: "address";
|
|
5143
5018
|
readonly type: "address";
|
|
5144
5019
|
}, {
|
|
5145
|
-
readonly name: "
|
|
5020
|
+
readonly name: "quote";
|
|
5021
|
+
readonly internalType: "address";
|
|
5022
|
+
readonly type: "address";
|
|
5023
|
+
}, {
|
|
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";
|
|
5146
5033
|
readonly internalType: "bytes32";
|
|
5147
5034
|
readonly type: "bytes32";
|
|
5148
5035
|
}];
|
|
5149
|
-
readonly name: "
|
|
5150
|
-
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
|
+
}];
|
|
5151
5046
|
readonly stateMutability: "nonpayable";
|
|
5152
5047
|
}, {
|
|
5153
5048
|
readonly type: "function";
|
|
5154
5049
|
readonly inputs: readonly [{
|
|
5155
5050
|
readonly name: "";
|
|
5156
|
-
readonly internalType: "
|
|
5157
|
-
readonly type: "
|
|
5051
|
+
readonly internalType: "bytes32";
|
|
5052
|
+
readonly type: "bytes32";
|
|
5158
5053
|
}];
|
|
5159
|
-
readonly name: "
|
|
5054
|
+
readonly name: "mintMode";
|
|
5160
5055
|
readonly outputs: readonly [{
|
|
5161
5056
|
readonly name: "";
|
|
5162
|
-
readonly internalType: "
|
|
5163
|
-
readonly type: "
|
|
5057
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5058
|
+
readonly type: "uint8";
|
|
5164
5059
|
}];
|
|
5165
5060
|
readonly stateMutability: "view";
|
|
5166
5061
|
}, {
|
|
5167
5062
|
readonly type: "function";
|
|
5168
|
-
readonly inputs: readonly [
|
|
5169
|
-
|
|
5170
|
-
readonly internalType: "address";
|
|
5171
|
-
readonly type: "address";
|
|
5172
|
-
}];
|
|
5173
|
-
readonly name: "sponsorOf";
|
|
5063
|
+
readonly inputs: readonly [];
|
|
5064
|
+
readonly name: "open";
|
|
5174
5065
|
readonly outputs: readonly [{
|
|
5175
5066
|
readonly name: "";
|
|
5176
|
-
readonly internalType: "
|
|
5177
|
-
readonly type: "
|
|
5067
|
+
readonly internalType: "bool";
|
|
5068
|
+
readonly type: "bool";
|
|
5178
5069
|
}];
|
|
5179
5070
|
readonly stateMutability: "view";
|
|
5180
5071
|
}, {
|
|
5181
5072
|
readonly type: "function";
|
|
5182
5073
|
readonly inputs: readonly [{
|
|
5183
|
-
readonly name: "
|
|
5074
|
+
readonly name: "";
|
|
5075
|
+
readonly internalType: "bytes32";
|
|
5076
|
+
readonly type: "bytes32";
|
|
5077
|
+
}];
|
|
5078
|
+
readonly name: "operator";
|
|
5079
|
+
readonly outputs: readonly [{
|
|
5080
|
+
readonly name: "";
|
|
5184
5081
|
readonly internalType: "address";
|
|
5185
5082
|
readonly type: "address";
|
|
5186
|
-
}, {
|
|
5187
|
-
readonly name: "untilTime";
|
|
5188
|
-
readonly internalType: "uint64";
|
|
5189
|
-
readonly type: "uint64";
|
|
5190
5083
|
}];
|
|
5191
|
-
readonly
|
|
5192
|
-
readonly outputs: readonly [];
|
|
5193
|
-
readonly stateMutability: "nonpayable";
|
|
5084
|
+
readonly stateMutability: "view";
|
|
5194
5085
|
}, {
|
|
5195
5086
|
readonly type: "function";
|
|
5196
|
-
readonly inputs: readonly [
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
readonly
|
|
5087
|
+
readonly inputs: readonly [];
|
|
5088
|
+
readonly name: "quoteBuffer";
|
|
5089
|
+
readonly outputs: readonly [{
|
|
5090
|
+
readonly name: "";
|
|
5091
|
+
readonly internalType: "uint256";
|
|
5092
|
+
readonly type: "uint256";
|
|
5200
5093
|
}];
|
|
5201
|
-
readonly
|
|
5094
|
+
readonly stateMutability: "view";
|
|
5095
|
+
}, {
|
|
5096
|
+
readonly type: "function";
|
|
5097
|
+
readonly inputs: readonly [];
|
|
5098
|
+
readonly name: "quoteCurated";
|
|
5202
5099
|
readonly outputs: readonly [{
|
|
5203
5100
|
readonly name: "";
|
|
5204
|
-
readonly internalType: "
|
|
5205
|
-
readonly type: "
|
|
5101
|
+
readonly internalType: "bool";
|
|
5102
|
+
readonly type: "bool";
|
|
5206
5103
|
}];
|
|
5207
5104
|
readonly stateMutability: "view";
|
|
5208
5105
|
}, {
|
|
5209
|
-
readonly type: "
|
|
5210
|
-
readonly anonymous: false;
|
|
5106
|
+
readonly type: "function";
|
|
5211
5107
|
readonly inputs: readonly [{
|
|
5212
|
-
readonly name: "
|
|
5108
|
+
readonly name: "";
|
|
5213
5109
|
readonly internalType: "address";
|
|
5214
5110
|
readonly type: "address";
|
|
5215
|
-
readonly indexed: true;
|
|
5216
|
-
}, {
|
|
5217
|
-
readonly name: "name";
|
|
5218
|
-
readonly internalType: "bytes32";
|
|
5219
|
-
readonly type: "bytes32";
|
|
5220
|
-
readonly indexed: false;
|
|
5221
5111
|
}];
|
|
5222
|
-
readonly name: "
|
|
5112
|
+
readonly name: "quoteListed";
|
|
5113
|
+
readonly outputs: readonly [{
|
|
5114
|
+
readonly name: "";
|
|
5115
|
+
readonly internalType: "bool";
|
|
5116
|
+
readonly type: "bool";
|
|
5117
|
+
}];
|
|
5118
|
+
readonly stateMutability: "view";
|
|
5223
5119
|
}, {
|
|
5224
|
-
readonly type: "
|
|
5225
|
-
readonly anonymous: false;
|
|
5120
|
+
readonly type: "function";
|
|
5226
5121
|
readonly inputs: readonly [{
|
|
5227
|
-
readonly name: "
|
|
5122
|
+
readonly name: "";
|
|
5228
5123
|
readonly internalType: "address";
|
|
5229
5124
|
readonly type: "address";
|
|
5230
|
-
readonly indexed: true;
|
|
5231
|
-
}, {
|
|
5232
|
-
readonly name: "mode";
|
|
5233
|
-
readonly internalType: "enum PolicyRegistry.CreationMode";
|
|
5234
|
-
readonly type: "uint8";
|
|
5235
|
-
readonly indexed: false;
|
|
5236
5125
|
}];
|
|
5237
|
-
readonly name: "
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
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";
|
|
5241
5145
|
readonly inputs: readonly [{
|
|
5242
|
-
readonly name: "
|
|
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";
|
|
5163
|
+
}, {
|
|
5164
|
+
readonly name: "name";
|
|
5165
|
+
readonly internalType: "bytes32";
|
|
5166
|
+
readonly type: "bytes32";
|
|
5167
|
+
}];
|
|
5168
|
+
readonly name: "setName";
|
|
5169
|
+
readonly outputs: readonly [];
|
|
5170
|
+
readonly stateMutability: "nonpayable";
|
|
5171
|
+
}, {
|
|
5172
|
+
readonly type: "function";
|
|
5173
|
+
readonly inputs: readonly [{
|
|
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";
|
|
5243
5223
|
readonly internalType: "address";
|
|
5244
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";
|
|
5245
5238
|
readonly indexed: true;
|
|
5246
5239
|
}, {
|
|
5247
|
-
readonly name: "
|
|
5248
|
-
readonly internalType: "
|
|
5249
|
-
readonly type: "
|
|
5240
|
+
readonly name: "mode";
|
|
5241
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5242
|
+
readonly type: "uint8";
|
|
5250
5243
|
readonly indexed: false;
|
|
5251
5244
|
}];
|
|
5252
|
-
readonly name: "
|
|
5245
|
+
readonly name: "MintModeSet";
|
|
5253
5246
|
}, {
|
|
5254
5247
|
readonly type: "event";
|
|
5255
5248
|
readonly anonymous: false;
|
|
5256
5249
|
readonly inputs: readonly [{
|
|
5257
|
-
readonly name: "
|
|
5258
|
-
readonly internalType: "
|
|
5259
|
-
readonly type: "
|
|
5250
|
+
readonly name: "poolId";
|
|
5251
|
+
readonly internalType: "bytes32";
|
|
5252
|
+
readonly type: "bytes32";
|
|
5260
5253
|
readonly indexed: true;
|
|
5261
5254
|
}, {
|
|
5262
|
-
readonly name: "
|
|
5263
|
-
readonly internalType: "
|
|
5264
|
-
readonly type: "
|
|
5265
|
-
readonly indexed:
|
|
5255
|
+
readonly name: "name";
|
|
5256
|
+
readonly internalType: "bytes32";
|
|
5257
|
+
readonly type: "bytes32";
|
|
5258
|
+
readonly indexed: false;
|
|
5266
5259
|
}];
|
|
5267
|
-
readonly name: "
|
|
5260
|
+
readonly name: "NameSet";
|
|
5268
5261
|
}, {
|
|
5269
5262
|
readonly type: "event";
|
|
5270
5263
|
readonly anonymous: false;
|
|
5271
5264
|
readonly inputs: readonly [{
|
|
5272
|
-
readonly name: "
|
|
5265
|
+
readonly name: "poolId";
|
|
5266
|
+
readonly internalType: "bytes32";
|
|
5267
|
+
readonly type: "bytes32";
|
|
5268
|
+
readonly indexed: true;
|
|
5269
|
+
}, {
|
|
5270
|
+
readonly name: "prev";
|
|
5273
5271
|
readonly internalType: "address";
|
|
5274
5272
|
readonly type: "address";
|
|
5275
5273
|
readonly indexed: true;
|
|
5276
5274
|
}, {
|
|
5277
|
-
readonly name: "
|
|
5275
|
+
readonly name: "next";
|
|
5278
5276
|
readonly internalType: "address";
|
|
5279
5277
|
readonly type: "address";
|
|
5280
5278
|
readonly indexed: true;
|
|
5281
5279
|
}];
|
|
5282
|
-
readonly name: "
|
|
5280
|
+
readonly name: "OperatorAppointed";
|
|
5283
5281
|
}, {
|
|
5284
5282
|
readonly type: "event";
|
|
5285
5283
|
readonly anonymous: false;
|
|
5286
5284
|
readonly inputs: readonly [{
|
|
5287
|
-
readonly name: "
|
|
5285
|
+
readonly name: "who";
|
|
5288
5286
|
readonly internalType: "address";
|
|
5289
5287
|
readonly type: "address";
|
|
5290
5288
|
readonly indexed: true;
|
|
5289
|
+
}, {
|
|
5290
|
+
readonly name: "bits";
|
|
5291
|
+
readonly internalType: "uint8";
|
|
5292
|
+
readonly type: "uint8";
|
|
5293
|
+
readonly indexed: false;
|
|
5291
5294
|
}];
|
|
5292
|
-
readonly name: "
|
|
5295
|
+
readonly name: "RightsSet";
|
|
5293
5296
|
}, {
|
|
5294
5297
|
readonly type: "event";
|
|
5295
5298
|
readonly anonymous: false;
|
|
5296
5299
|
readonly inputs: readonly [{
|
|
5297
|
-
readonly name: "
|
|
5298
|
-
readonly internalType: "address";
|
|
5299
|
-
readonly type: "address";
|
|
5300
|
-
readonly indexed: true;
|
|
5301
|
-
}, {
|
|
5302
|
-
readonly name: "name";
|
|
5300
|
+
readonly name: "poolId";
|
|
5303
5301
|
readonly internalType: "bytes32";
|
|
5304
5302
|
readonly type: "bytes32";
|
|
5303
|
+
readonly indexed: true;
|
|
5304
|
+
}, {
|
|
5305
|
+
readonly name: "mode";
|
|
5306
|
+
readonly internalType: "enum IPolicyBase.Mode";
|
|
5307
|
+
readonly type: "uint8";
|
|
5305
5308
|
readonly indexed: false;
|
|
5306
5309
|
}];
|
|
5307
|
-
readonly name: "
|
|
5310
|
+
readonly name: "SwapModeSet";
|
|
5308
5311
|
}, {
|
|
5309
|
-
readonly type: "
|
|
5310
|
-
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";
|
|
5311
5325
|
readonly inputs: readonly [{
|
|
5312
|
-
readonly name: "
|
|
5326
|
+
readonly name: "base";
|
|
5313
5327
|
readonly internalType: "address";
|
|
5314
5328
|
readonly type: "address";
|
|
5315
|
-
readonly indexed: true;
|
|
5316
|
-
}, {
|
|
5317
|
-
readonly name: "untilTime";
|
|
5318
|
-
readonly internalType: "uint64";
|
|
5319
|
-
readonly type: "uint64";
|
|
5320
|
-
readonly indexed: false;
|
|
5321
5329
|
}];
|
|
5322
|
-
readonly name: "
|
|
5330
|
+
readonly name: "BaseNotListed";
|
|
5323
5331
|
}, {
|
|
5324
5332
|
readonly type: "error";
|
|
5325
5333
|
readonly inputs: readonly [];
|
|
5326
|
-
readonly name: "
|
|
5334
|
+
readonly name: "CapTooClose";
|
|
5335
|
+
}, {
|
|
5336
|
+
readonly type: "error";
|
|
5337
|
+
readonly inputs: readonly [{
|
|
5338
|
+
readonly name: "idx";
|
|
5339
|
+
readonly internalType: "uint256";
|
|
5340
|
+
readonly type: "uint256";
|
|
5341
|
+
}];
|
|
5342
|
+
readonly name: "FeeNotListed";
|
|
5327
5343
|
}, {
|
|
5328
5344
|
readonly type: "error";
|
|
5329
5345
|
readonly inputs: readonly [];
|
|
5330
|
-
readonly name: "
|
|
5346
|
+
readonly name: "GatesUnavailable";
|
|
5331
5347
|
}, {
|
|
5332
5348
|
readonly type: "error";
|
|
5333
5349
|
readonly inputs: readonly [];
|
|
5334
|
-
readonly name: "
|
|
5350
|
+
readonly name: "InactivePool";
|
|
5335
5351
|
}, {
|
|
5336
5352
|
readonly type: "error";
|
|
5337
5353
|
readonly inputs: readonly [];
|
|
5338
|
-
readonly name: "
|
|
5354
|
+
readonly name: "IncomeOnly";
|
|
5339
5355
|
}, {
|
|
5340
5356
|
readonly type: "error";
|
|
5341
5357
|
readonly inputs: readonly [];
|
|
5342
|
-
readonly name: "
|
|
5358
|
+
readonly name: "ModeOrder";
|
|
5343
5359
|
}, {
|
|
5344
5360
|
readonly type: "error";
|
|
5345
5361
|
readonly inputs: readonly [];
|
|
5346
|
-
readonly name: "
|
|
5347
|
-
}
|
|
5348
|
-
|
|
5349
|
-
readonly
|
|
5362
|
+
readonly name: "NotAuthority";
|
|
5363
|
+
}, {
|
|
5364
|
+
readonly type: "error";
|
|
5365
|
+
readonly inputs: readonly [];
|
|
5366
|
+
readonly name: "NotCanonical";
|
|
5367
|
+
}, {
|
|
5368
|
+
readonly type: "error";
|
|
5369
|
+
readonly inputs: readonly [];
|
|
5370
|
+
readonly name: "NotManager";
|
|
5371
|
+
}, {
|
|
5372
|
+
readonly type: "error";
|
|
5373
|
+
readonly inputs: readonly [];
|
|
5374
|
+
readonly name: "NotOperator";
|
|
5375
|
+
}, {
|
|
5376
|
+
readonly type: "error";
|
|
5350
5377
|
readonly inputs: readonly [{
|
|
5351
|
-
readonly name: "
|
|
5352
|
-
readonly internalType: "
|
|
5353
|
-
readonly type: "
|
|
5354
|
-
readonly components: readonly [{
|
|
5355
|
-
readonly name: "poolId";
|
|
5356
|
-
readonly internalType: "bytes32";
|
|
5357
|
-
readonly type: "bytes32";
|
|
5358
|
-
}, {
|
|
5359
|
-
readonly name: "ids";
|
|
5360
|
-
readonly internalType: "uint256[]";
|
|
5361
|
-
readonly type: "uint256[]";
|
|
5362
|
-
}, {
|
|
5363
|
-
readonly name: "shares";
|
|
5364
|
-
readonly internalType: "uint256[]";
|
|
5365
|
-
readonly type: "uint256[]";
|
|
5366
|
-
}];
|
|
5367
|
-
}];
|
|
5368
|
-
readonly name: "encodeBurn";
|
|
5369
|
-
readonly outputs: readonly [{
|
|
5370
|
-
readonly name: "";
|
|
5371
|
-
readonly internalType: "bytes";
|
|
5372
|
-
readonly type: "bytes";
|
|
5378
|
+
readonly name: "quote";
|
|
5379
|
+
readonly internalType: "address";
|
|
5380
|
+
readonly type: "address";
|
|
5373
5381
|
}];
|
|
5374
|
-
readonly
|
|
5382
|
+
readonly name: "QuoteNotListed";
|
|
5375
5383
|
}, {
|
|
5376
|
-
readonly type: "
|
|
5377
|
-
readonly inputs: readonly [
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
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";
|
|
5398
|
+
readonly inputs: readonly [{
|
|
5399
|
+
readonly name: "_logAuthority";
|
|
5400
|
+
readonly internalType: "address";
|
|
5401
|
+
readonly type: "address";
|
|
5390
5402
|
}];
|
|
5391
|
-
readonly
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5403
|
+
readonly stateMutability: "nonpayable";
|
|
5404
|
+
}, {
|
|
5405
|
+
readonly type: "function";
|
|
5406
|
+
readonly inputs: readonly [];
|
|
5407
|
+
readonly name: "acceptLogAuthority";
|
|
5408
|
+
readonly outputs: readonly [];
|
|
5409
|
+
readonly stateMutability: "nonpayable";
|
|
5410
|
+
}, {
|
|
5411
|
+
readonly type: "function";
|
|
5412
|
+
readonly inputs: readonly [{
|
|
5413
|
+
readonly name: "policy";
|
|
5414
|
+
readonly internalType: "address";
|
|
5415
|
+
readonly type: "address";
|
|
5416
|
+
}, {
|
|
5417
|
+
readonly name: "name";
|
|
5418
|
+
readonly internalType: "bytes32";
|
|
5419
|
+
readonly type: "bytes32";
|
|
5396
5420
|
}];
|
|
5397
|
-
readonly
|
|
5421
|
+
readonly name: "approve";
|
|
5422
|
+
readonly outputs: readonly [];
|
|
5423
|
+
readonly stateMutability: "nonpayable";
|
|
5398
5424
|
}, {
|
|
5399
5425
|
readonly type: "function";
|
|
5400
5426
|
readonly inputs: readonly [{
|
|
5401
|
-
readonly name: "
|
|
5402
|
-
readonly internalType: "
|
|
5403
|
-
readonly type: "
|
|
5404
|
-
readonly components: readonly [{
|
|
5405
|
-
readonly name: "poolId";
|
|
5406
|
-
readonly internalType: "bytes32";
|
|
5407
|
-
readonly type: "bytes32";
|
|
5408
|
-
}, {
|
|
5409
|
-
readonly name: "targetFloor";
|
|
5410
|
-
readonly internalType: "int256";
|
|
5411
|
-
readonly type: "int256";
|
|
5412
|
-
}, {
|
|
5413
|
-
readonly name: "cap";
|
|
5414
|
-
readonly internalType: "int256";
|
|
5415
|
-
readonly type: "int256";
|
|
5416
|
-
}, {
|
|
5417
|
-
readonly name: "L";
|
|
5418
|
-
readonly internalType: "uint256";
|
|
5419
|
-
readonly type: "uint256";
|
|
5420
|
-
}];
|
|
5427
|
+
readonly name: "";
|
|
5428
|
+
readonly internalType: "address";
|
|
5429
|
+
readonly type: "address";
|
|
5421
5430
|
}];
|
|
5422
|
-
readonly name: "
|
|
5431
|
+
readonly name: "entries";
|
|
5423
5432
|
readonly outputs: readonly [{
|
|
5424
|
-
readonly name: "";
|
|
5425
|
-
readonly internalType: "
|
|
5426
|
-
readonly type: "
|
|
5433
|
+
readonly name: "listed";
|
|
5434
|
+
readonly internalType: "bool";
|
|
5435
|
+
readonly type: "bool";
|
|
5436
|
+
}, {
|
|
5437
|
+
readonly name: "until";
|
|
5438
|
+
readonly internalType: "uint64";
|
|
5439
|
+
readonly type: "uint64";
|
|
5440
|
+
}, {
|
|
5441
|
+
readonly name: "index";
|
|
5442
|
+
readonly internalType: "uint32";
|
|
5443
|
+
readonly type: "uint32";
|
|
5444
|
+
}, {
|
|
5445
|
+
readonly name: "name";
|
|
5446
|
+
readonly internalType: "bytes32";
|
|
5447
|
+
readonly type: "bytes32";
|
|
5427
5448
|
}];
|
|
5428
|
-
readonly stateMutability: "
|
|
5449
|
+
readonly stateMutability: "view";
|
|
5429
5450
|
}, {
|
|
5430
5451
|
readonly type: "function";
|
|
5431
5452
|
readonly inputs: readonly [{
|
|
5432
|
-
readonly name: "
|
|
5433
|
-
readonly internalType: "
|
|
5434
|
-
readonly type: "
|
|
5435
|
-
readonly components: readonly [{
|
|
5436
|
-
readonly name: "hops";
|
|
5437
|
-
readonly internalType: "struct Hop[]";
|
|
5438
|
-
readonly type: "tuple[]";
|
|
5439
|
-
readonly components: readonly [{
|
|
5440
|
-
readonly name: "poolId";
|
|
5441
|
-
readonly internalType: "bytes32";
|
|
5442
|
-
readonly type: "bytes32";
|
|
5443
|
-
}, {
|
|
5444
|
-
readonly name: "baseIn";
|
|
5445
|
-
readonly internalType: "bool";
|
|
5446
|
-
readonly type: "bool";
|
|
5447
|
-
}];
|
|
5448
|
-
}, {
|
|
5449
|
-
readonly name: "amountIn";
|
|
5450
|
-
readonly internalType: "uint256";
|
|
5451
|
-
readonly type: "uint256";
|
|
5452
|
-
}, {
|
|
5453
|
-
readonly name: "minOut";
|
|
5454
|
-
readonly internalType: "uint256";
|
|
5455
|
-
readonly type: "uint256";
|
|
5456
|
-
}];
|
|
5453
|
+
readonly name: "";
|
|
5454
|
+
readonly internalType: "address";
|
|
5455
|
+
readonly type: "address";
|
|
5457
5456
|
}];
|
|
5458
|
-
readonly name: "
|
|
5457
|
+
readonly name: "forwarderTrusted";
|
|
5459
5458
|
readonly outputs: readonly [{
|
|
5460
5459
|
readonly name: "";
|
|
5461
|
-
readonly internalType: "
|
|
5462
|
-
readonly type: "
|
|
5460
|
+
readonly internalType: "bool";
|
|
5461
|
+
readonly type: "bool";
|
|
5463
5462
|
}];
|
|
5464
|
-
readonly stateMutability: "
|
|
5463
|
+
readonly stateMutability: "view";
|
|
5465
5464
|
}, {
|
|
5466
5465
|
readonly type: "function";
|
|
5467
5466
|
readonly inputs: readonly [{
|
|
5468
|
-
readonly name: "
|
|
5469
|
-
readonly internalType: "
|
|
5470
|
-
readonly type: "
|
|
5471
|
-
readonly components: readonly [{
|
|
5472
|
-
readonly name: "poolId";
|
|
5473
|
-
readonly internalType: "bytes32";
|
|
5474
|
-
readonly type: "bytes32";
|
|
5475
|
-
}, {
|
|
5476
|
-
readonly name: "baseSide";
|
|
5477
|
-
readonly internalType: "bool";
|
|
5478
|
-
readonly type: "bool";
|
|
5479
|
-
}, {
|
|
5480
|
-
readonly name: "amount";
|
|
5481
|
-
readonly internalType: "uint256";
|
|
5482
|
-
readonly type: "uint256";
|
|
5483
|
-
}, {
|
|
5484
|
-
readonly name: "limit";
|
|
5485
|
-
readonly internalType: "uint256";
|
|
5486
|
-
readonly type: "uint256";
|
|
5487
|
-
}];
|
|
5467
|
+
readonly name: "policy";
|
|
5468
|
+
readonly internalType: "address";
|
|
5469
|
+
readonly type: "address";
|
|
5488
5470
|
}];
|
|
5489
|
-
readonly name: "
|
|
5471
|
+
readonly name: "isApproved";
|
|
5490
5472
|
readonly outputs: readonly [{
|
|
5491
5473
|
readonly name: "";
|
|
5492
|
-
readonly internalType: "
|
|
5493
|
-
readonly type: "
|
|
5474
|
+
readonly internalType: "bool";
|
|
5475
|
+
readonly type: "bool";
|
|
5494
5476
|
}];
|
|
5495
|
-
readonly stateMutability: "
|
|
5477
|
+
readonly stateMutability: "view";
|
|
5496
5478
|
}, {
|
|
5497
5479
|
readonly type: "function";
|
|
5498
5480
|
readonly inputs: readonly [{
|
|
5499
|
-
readonly name: "
|
|
5500
|
-
readonly internalType: "
|
|
5501
|
-
readonly type: "
|
|
5502
|
-
readonly components: readonly [{
|
|
5503
|
-
readonly name: "poolId";
|
|
5504
|
-
readonly internalType: "bytes32";
|
|
5505
|
-
readonly type: "bytes32";
|
|
5506
|
-
}, {
|
|
5507
|
-
readonly name: "fromId";
|
|
5508
|
-
readonly internalType: "uint256";
|
|
5509
|
-
readonly type: "uint256";
|
|
5510
|
-
}, {
|
|
5511
|
-
readonly name: "shares";
|
|
5512
|
-
readonly internalType: "uint256";
|
|
5513
|
-
readonly type: "uint256";
|
|
5514
|
-
}, {
|
|
5515
|
-
readonly name: "toFloor";
|
|
5516
|
-
readonly internalType: "int256";
|
|
5517
|
-
readonly type: "int256";
|
|
5518
|
-
}, {
|
|
5519
|
-
readonly name: "toCap";
|
|
5520
|
-
readonly internalType: "int256";
|
|
5521
|
-
readonly type: "int256";
|
|
5522
|
-
}, {
|
|
5523
|
-
readonly name: "newL";
|
|
5524
|
-
readonly internalType: "uint256";
|
|
5525
|
-
readonly type: "uint256";
|
|
5526
|
-
}];
|
|
5481
|
+
readonly name: "";
|
|
5482
|
+
readonly internalType: "address";
|
|
5483
|
+
readonly type: "address";
|
|
5527
5484
|
}];
|
|
5528
|
-
readonly name: "
|
|
5485
|
+
readonly name: "kindOf";
|
|
5529
5486
|
readonly outputs: readonly [{
|
|
5530
5487
|
readonly name: "";
|
|
5531
|
-
readonly internalType: "
|
|
5532
|
-
readonly type: "
|
|
5488
|
+
readonly internalType: "bytes32";
|
|
5489
|
+
readonly type: "bytes32";
|
|
5533
5490
|
}];
|
|
5534
|
-
readonly stateMutability: "
|
|
5535
|
-
}
|
|
5536
|
-
|
|
5537
|
-
readonly
|
|
5538
|
-
readonly
|
|
5539
|
-
|
|
5540
|
-
readonly
|
|
5491
|
+
readonly stateMutability: "view";
|
|
5492
|
+
}, {
|
|
5493
|
+
readonly type: "function";
|
|
5494
|
+
readonly inputs: readonly [];
|
|
5495
|
+
readonly name: "logAuthority";
|
|
5496
|
+
readonly outputs: readonly [{
|
|
5497
|
+
readonly name: "";
|
|
5498
|
+
readonly internalType: "address";
|
|
5541
5499
|
readonly type: "address";
|
|
5542
|
-
}
|
|
5543
|
-
|
|
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: "";
|
|
5544
5508
|
readonly internalType: "address";
|
|
5545
5509
|
readonly type: "address";
|
|
5546
5510
|
}];
|
|
5547
|
-
readonly stateMutability: "
|
|
5511
|
+
readonly stateMutability: "view";
|
|
5548
5512
|
}, {
|
|
5549
5513
|
readonly type: "function";
|
|
5550
5514
|
readonly inputs: readonly [];
|
|
5551
|
-
readonly name: "
|
|
5515
|
+
readonly name: "policies";
|
|
5552
5516
|
readonly outputs: readonly [{
|
|
5553
5517
|
readonly name: "";
|
|
5554
|
-
readonly internalType: "
|
|
5555
|
-
readonly type: "
|
|
5518
|
+
readonly internalType: "address[]";
|
|
5519
|
+
readonly type: "address[]";
|
|
5556
5520
|
}];
|
|
5557
5521
|
readonly stateMutability: "view";
|
|
5558
5522
|
}, {
|
|
5559
5523
|
readonly type: "function";
|
|
5560
5524
|
readonly inputs: readonly [{
|
|
5561
|
-
readonly name: "
|
|
5525
|
+
readonly name: "next";
|
|
5526
|
+
readonly internalType: "address";
|
|
5527
|
+
readonly type: "address";
|
|
5528
|
+
}];
|
|
5529
|
+
readonly name: "proposeLogAuthority";
|
|
5530
|
+
readonly outputs: readonly [];
|
|
5531
|
+
readonly stateMutability: "nonpayable";
|
|
5532
|
+
}, {
|
|
5533
|
+
readonly type: "function";
|
|
5534
|
+
readonly inputs: readonly [{
|
|
5535
|
+
readonly name: "policy";
|
|
5536
|
+
readonly internalType: "address";
|
|
5537
|
+
readonly type: "address";
|
|
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";
|
|
5562
5546
|
readonly internalType: "address";
|
|
5563
5547
|
readonly type: "address";
|
|
5564
5548
|
}, {
|
|
5565
|
-
readonly name: "
|
|
5566
|
-
readonly internalType: "
|
|
5567
|
-
readonly type: "
|
|
5568
|
-
readonly components: readonly [{
|
|
5569
|
-
readonly name: "details";
|
|
5570
|
-
readonly internalType: "struct IPermit2.PermitDetails";
|
|
5571
|
-
readonly type: "tuple";
|
|
5572
|
-
readonly components: readonly [{
|
|
5573
|
-
readonly name: "token";
|
|
5574
|
-
readonly internalType: "address";
|
|
5575
|
-
readonly type: "address";
|
|
5576
|
-
}, {
|
|
5577
|
-
readonly name: "amount";
|
|
5578
|
-
readonly internalType: "uint160";
|
|
5579
|
-
readonly type: "uint160";
|
|
5580
|
-
}, {
|
|
5581
|
-
readonly name: "expiration";
|
|
5582
|
-
readonly internalType: "uint48";
|
|
5583
|
-
readonly type: "uint48";
|
|
5584
|
-
}, {
|
|
5585
|
-
readonly name: "nonce";
|
|
5586
|
-
readonly internalType: "uint48";
|
|
5587
|
-
readonly type: "uint48";
|
|
5588
|
-
}];
|
|
5589
|
-
}, {
|
|
5590
|
-
readonly name: "spender";
|
|
5591
|
-
readonly internalType: "address";
|
|
5592
|
-
readonly type: "address";
|
|
5593
|
-
}, {
|
|
5594
|
-
readonly name: "sigDeadline";
|
|
5595
|
-
readonly internalType: "uint256";
|
|
5596
|
-
readonly type: "uint256";
|
|
5597
|
-
}];
|
|
5598
|
-
}, {
|
|
5599
|
-
readonly name: "signature";
|
|
5600
|
-
readonly internalType: "bytes";
|
|
5601
|
-
readonly type: "bytes";
|
|
5549
|
+
readonly name: "trusted";
|
|
5550
|
+
readonly internalType: "bool";
|
|
5551
|
+
readonly type: "bool";
|
|
5602
5552
|
}];
|
|
5603
|
-
readonly name: "
|
|
5553
|
+
readonly name: "setForwarderTrusted";
|
|
5604
5554
|
readonly outputs: readonly [];
|
|
5605
5555
|
readonly stateMutability: "nonpayable";
|
|
5606
5556
|
}, {
|
|
5607
5557
|
readonly type: "function";
|
|
5608
5558
|
readonly inputs: readonly [{
|
|
5609
|
-
readonly name: "
|
|
5559
|
+
readonly name: "who";
|
|
5560
|
+
readonly internalType: "address";
|
|
5561
|
+
readonly type: "address";
|
|
5562
|
+
}, {
|
|
5563
|
+
readonly name: "name";
|
|
5610
5564
|
readonly internalType: "bytes32";
|
|
5611
5565
|
readonly type: "bytes32";
|
|
5612
|
-
}
|
|
5613
|
-
|
|
5566
|
+
}];
|
|
5567
|
+
readonly name: "setSponsorName";
|
|
5568
|
+
readonly outputs: readonly [];
|
|
5569
|
+
readonly stateMutability: "nonpayable";
|
|
5570
|
+
}, {
|
|
5571
|
+
readonly type: "function";
|
|
5572
|
+
readonly inputs: readonly [{
|
|
5573
|
+
readonly name: "";
|
|
5614
5574
|
readonly internalType: "address";
|
|
5615
5575
|
readonly type: "address";
|
|
5616
|
-
}
|
|
5617
|
-
|
|
5576
|
+
}];
|
|
5577
|
+
readonly name: "sponsorName";
|
|
5578
|
+
readonly outputs: readonly [{
|
|
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";
|
|
5618
5588
|
readonly internalType: "address";
|
|
5619
5589
|
readonly type: "address";
|
|
5620
5590
|
}, {
|
|
5621
|
-
readonly name: "
|
|
5622
|
-
readonly internalType: "
|
|
5623
|
-
readonly type: "
|
|
5624
|
-
}
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
readonly
|
|
5632
|
-
}, {
|
|
5633
|
-
readonly name: "minQuoteOut";
|
|
5634
|
-
readonly internalType: "uint256";
|
|
5635
|
-
readonly type: "uint256";
|
|
5636
|
-
}, {
|
|
5637
|
-
readonly name: "to";
|
|
5591
|
+
readonly name: "untilTime";
|
|
5592
|
+
readonly internalType: "uint64";
|
|
5593
|
+
readonly type: "uint64";
|
|
5594
|
+
}];
|
|
5595
|
+
readonly name: "sunset";
|
|
5596
|
+
readonly outputs: readonly [];
|
|
5597
|
+
readonly stateMutability: "nonpayable";
|
|
5598
|
+
}, {
|
|
5599
|
+
readonly type: "function";
|
|
5600
|
+
readonly inputs: readonly [{
|
|
5601
|
+
readonly name: "caller";
|
|
5638
5602
|
readonly internalType: "address";
|
|
5639
5603
|
readonly type: "address";
|
|
5640
|
-
}, {
|
|
5641
|
-
readonly name: "deadline";
|
|
5642
|
-
readonly internalType: "uint256";
|
|
5643
|
-
readonly type: "uint256";
|
|
5644
5604
|
}];
|
|
5645
|
-
readonly name: "
|
|
5605
|
+
readonly name: "userOf";
|
|
5646
5606
|
readonly outputs: readonly [{
|
|
5647
|
-
readonly name: "
|
|
5648
|
-
readonly internalType: "
|
|
5649
|
-
readonly type: "
|
|
5650
|
-
}, {
|
|
5651
|
-
readonly name: "quoteOut";
|
|
5652
|
-
readonly internalType: "uint256";
|
|
5653
|
-
readonly type: "uint256";
|
|
5607
|
+
readonly name: "";
|
|
5608
|
+
readonly internalType: "address";
|
|
5609
|
+
readonly type: "address";
|
|
5654
5610
|
}];
|
|
5655
|
-
readonly stateMutability: "
|
|
5611
|
+
readonly stateMutability: "view";
|
|
5656
5612
|
}, {
|
|
5657
|
-
readonly type: "
|
|
5613
|
+
readonly type: "event";
|
|
5614
|
+
readonly anonymous: false;
|
|
5658
5615
|
readonly inputs: readonly [{
|
|
5659
|
-
readonly name: "
|
|
5616
|
+
readonly name: "policy";
|
|
5617
|
+
readonly internalType: "address";
|
|
5618
|
+
readonly type: "address";
|
|
5619
|
+
readonly indexed: true;
|
|
5620
|
+
}, {
|
|
5621
|
+
readonly name: "name";
|
|
5660
5622
|
readonly internalType: "bytes32";
|
|
5661
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";
|
|
5632
|
+
readonly internalType: "address";
|
|
5633
|
+
readonly type: "address";
|
|
5634
|
+
readonly indexed: true;
|
|
5662
5635
|
}, {
|
|
5663
|
-
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";
|
|
5664
5647
|
readonly internalType: "address";
|
|
5665
5648
|
readonly type: "address";
|
|
5649
|
+
readonly indexed: true;
|
|
5666
5650
|
}, {
|
|
5667
|
-
readonly name: "
|
|
5668
|
-
readonly internalType: "
|
|
5669
|
-
readonly type: "
|
|
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";
|
|
5662
|
+
readonly internalType: "address";
|
|
5663
|
+
readonly type: "address";
|
|
5664
|
+
readonly indexed: true;
|
|
5670
5665
|
}, {
|
|
5671
|
-
readonly name: "
|
|
5666
|
+
readonly name: "proposed";
|
|
5667
|
+
readonly internalType: "address";
|
|
5668
|
+
readonly type: "address";
|
|
5669
|
+
readonly indexed: true;
|
|
5670
|
+
}];
|
|
5671
|
+
readonly name: "LogAuthorityProposed";
|
|
5672
|
+
}, {
|
|
5673
|
+
readonly type: "event";
|
|
5674
|
+
readonly anonymous: false;
|
|
5675
|
+
readonly inputs: readonly [{
|
|
5676
|
+
readonly name: "policy";
|
|
5677
|
+
readonly internalType: "address";
|
|
5678
|
+
readonly type: "address";
|
|
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";
|
|
5672
5687
|
readonly internalType: "address";
|
|
5673
5688
|
readonly type: "address";
|
|
5689
|
+
readonly indexed: true;
|
|
5674
5690
|
}, {
|
|
5675
|
-
readonly name: "
|
|
5676
|
-
readonly internalType: "
|
|
5677
|
-
readonly type: "
|
|
5691
|
+
readonly name: "name";
|
|
5692
|
+
readonly internalType: "bytes32";
|
|
5693
|
+
readonly type: "bytes32";
|
|
5694
|
+
readonly indexed: false;
|
|
5678
5695
|
}];
|
|
5679
|
-
readonly name: "
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5696
|
+
readonly name: "SponsorNamed";
|
|
5697
|
+
}, {
|
|
5698
|
+
readonly type: "event";
|
|
5699
|
+
readonly anonymous: false;
|
|
5700
|
+
readonly inputs: readonly [{
|
|
5701
|
+
readonly name: "policy";
|
|
5702
|
+
readonly internalType: "address";
|
|
5703
|
+
readonly type: "address";
|
|
5704
|
+
readonly indexed: true;
|
|
5705
|
+
}, {
|
|
5706
|
+
readonly name: "untilTime";
|
|
5707
|
+
readonly internalType: "uint64";
|
|
5708
|
+
readonly type: "uint64";
|
|
5709
|
+
readonly indexed: false;
|
|
5684
5710
|
}];
|
|
5685
|
-
readonly
|
|
5711
|
+
readonly name: "SunsetSet";
|
|
5712
|
+
}, {
|
|
5713
|
+
readonly type: "error";
|
|
5714
|
+
readonly inputs: readonly [];
|
|
5715
|
+
readonly name: "BadSunset";
|
|
5686
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";
|
|
5724
|
+
}, {
|
|
5725
|
+
readonly type: "error";
|
|
5726
|
+
readonly inputs: readonly [];
|
|
5727
|
+
readonly name: "NotLogAuthority";
|
|
5728
|
+
}];
|
|
5729
|
+
export declare const routerActionsAbi: readonly [{
|
|
5687
5730
|
readonly type: "function";
|
|
5688
5731
|
readonly inputs: readonly [{
|
|
5689
|
-
readonly name: "
|
|
5690
|
-
readonly internalType: "struct
|
|
5732
|
+
readonly name: "a";
|
|
5733
|
+
readonly internalType: "struct BurnAct";
|
|
5691
5734
|
readonly type: "tuple";
|
|
5692
5735
|
readonly components: readonly [{
|
|
5693
|
-
readonly name: "
|
|
5694
|
-
readonly internalType: "
|
|
5695
|
-
readonly type: "
|
|
5696
|
-
}, {
|
|
5697
|
-
readonly name: "quote";
|
|
5698
|
-
readonly internalType: "address";
|
|
5699
|
-
readonly type: "address";
|
|
5736
|
+
readonly name: "poolId";
|
|
5737
|
+
readonly internalType: "bytes32";
|
|
5738
|
+
readonly type: "bytes32";
|
|
5700
5739
|
}, {
|
|
5701
|
-
readonly name: "
|
|
5702
|
-
readonly internalType: "
|
|
5703
|
-
readonly type: "
|
|
5740
|
+
readonly name: "ids";
|
|
5741
|
+
readonly internalType: "uint256[]";
|
|
5742
|
+
readonly type: "uint256[]";
|
|
5704
5743
|
}, {
|
|
5705
|
-
readonly name: "
|
|
5706
|
-
readonly internalType: "
|
|
5707
|
-
readonly type: "
|
|
5708
|
-
}
|
|
5709
|
-
readonly name: "creator";
|
|
5710
|
-
readonly internalType: "address";
|
|
5711
|
-
readonly type: "address";
|
|
5712
|
-
}, {
|
|
5713
|
-
readonly name: "salt";
|
|
5714
|
-
readonly internalType: "bytes32";
|
|
5715
|
-
readonly type: "bytes32";
|
|
5716
|
-
}, {
|
|
5717
|
-
readonly name: "swapFee";
|
|
5718
|
-
readonly internalType: "uint256";
|
|
5719
|
-
readonly type: "uint256";
|
|
5720
|
-
}, {
|
|
5721
|
-
readonly name: "mintFee";
|
|
5722
|
-
readonly internalType: "uint256";
|
|
5723
|
-
readonly type: "uint256";
|
|
5724
|
-
}];
|
|
5725
|
-
}, {
|
|
5726
|
-
readonly name: "initialLogPrice";
|
|
5727
|
-
readonly internalType: "int256";
|
|
5728
|
-
readonly type: "int256";
|
|
5729
|
-
}, {
|
|
5730
|
-
readonly name: "targetFloor";
|
|
5731
|
-
readonly internalType: "int256";
|
|
5732
|
-
readonly type: "int256";
|
|
5733
|
-
}, {
|
|
5734
|
-
readonly name: "L";
|
|
5735
|
-
readonly internalType: "uint256";
|
|
5736
|
-
readonly type: "uint256";
|
|
5737
|
-
}, {
|
|
5738
|
-
readonly name: "maxBaseIn";
|
|
5739
|
-
readonly internalType: "uint256";
|
|
5740
|
-
readonly type: "uint256";
|
|
5741
|
-
}, {
|
|
5742
|
-
readonly name: "maxQuoteIn";
|
|
5743
|
-
readonly internalType: "uint256";
|
|
5744
|
-
readonly type: "uint256";
|
|
5745
|
-
}, {
|
|
5746
|
-
readonly name: "to";
|
|
5747
|
-
readonly internalType: "address";
|
|
5748
|
-
readonly type: "address";
|
|
5749
|
-
}, {
|
|
5750
|
-
readonly name: "deadline";
|
|
5751
|
-
readonly internalType: "uint256";
|
|
5752
|
-
readonly type: "uint256";
|
|
5753
|
-
}];
|
|
5754
|
-
readonly name: "createMarket";
|
|
5755
|
-
readonly outputs: readonly [{
|
|
5756
|
-
readonly name: "poolId";
|
|
5757
|
-
readonly internalType: "bytes32";
|
|
5758
|
-
readonly type: "bytes32";
|
|
5759
|
-
}, {
|
|
5760
|
-
readonly name: "baseIn";
|
|
5761
|
-
readonly internalType: "uint256";
|
|
5762
|
-
readonly type: "uint256";
|
|
5763
|
-
}, {
|
|
5764
|
-
readonly name: "quoteIn";
|
|
5765
|
-
readonly internalType: "uint256";
|
|
5766
|
-
readonly type: "uint256";
|
|
5767
|
-
}];
|
|
5768
|
-
readonly stateMutability: "nonpayable";
|
|
5769
|
-
}, {
|
|
5770
|
-
readonly type: "function";
|
|
5771
|
-
readonly inputs: readonly [{
|
|
5772
|
-
readonly name: "actions";
|
|
5773
|
-
readonly internalType: "struct Action[]";
|
|
5774
|
-
readonly type: "tuple[]";
|
|
5775
|
-
readonly components: readonly [{
|
|
5776
|
-
readonly name: "op";
|
|
5777
|
-
readonly internalType: "enum OpType";
|
|
5778
|
-
readonly type: "uint8";
|
|
5779
|
-
}, {
|
|
5780
|
-
readonly name: "data";
|
|
5781
|
-
readonly internalType: "bytes";
|
|
5782
|
-
readonly type: "bytes";
|
|
5783
|
-
}];
|
|
5784
|
-
}, {
|
|
5785
|
-
readonly name: "settle";
|
|
5786
|
-
readonly internalType: "struct Settle";
|
|
5787
|
-
readonly type: "tuple";
|
|
5788
|
-
readonly components: readonly [{
|
|
5789
|
-
readonly name: "tokens";
|
|
5790
|
-
readonly internalType: "address[]";
|
|
5791
|
-
readonly type: "address[]";
|
|
5792
|
-
}, {
|
|
5793
|
-
readonly name: "maxIn";
|
|
5794
|
-
readonly internalType: "uint256[]";
|
|
5795
|
-
readonly type: "uint256[]";
|
|
5796
|
-
}, {
|
|
5797
|
-
readonly name: "minOut";
|
|
5798
|
-
readonly internalType: "uint256[]";
|
|
5799
|
-
readonly type: "uint256[]";
|
|
5800
|
-
}, {
|
|
5801
|
-
readonly name: "to";
|
|
5802
|
-
readonly internalType: "address";
|
|
5803
|
-
readonly type: "address";
|
|
5804
|
-
}];
|
|
5805
|
-
}, {
|
|
5806
|
-
readonly name: "deadline";
|
|
5807
|
-
readonly internalType: "uint256";
|
|
5808
|
-
readonly type: "uint256";
|
|
5809
|
-
}];
|
|
5810
|
-
readonly name: "execute";
|
|
5811
|
-
readonly outputs: readonly [{
|
|
5812
|
-
readonly name: "results";
|
|
5813
|
-
readonly internalType: "bytes[]";
|
|
5814
|
-
readonly type: "bytes[]";
|
|
5815
|
-
}, {
|
|
5816
|
-
readonly name: "flows";
|
|
5817
|
-
readonly internalType: "int256[]";
|
|
5818
|
-
readonly type: "int256[]";
|
|
5819
|
-
}];
|
|
5820
|
-
readonly stateMutability: "nonpayable";
|
|
5821
|
-
}, {
|
|
5822
|
-
readonly type: "function";
|
|
5823
|
-
readonly inputs: readonly [];
|
|
5824
|
-
readonly name: "mgr";
|
|
5825
|
-
readonly outputs: readonly [{
|
|
5826
|
-
readonly name: "";
|
|
5827
|
-
readonly internalType: "contract ManagerC";
|
|
5828
|
-
readonly type: "address";
|
|
5829
|
-
}];
|
|
5830
|
-
readonly stateMutability: "view";
|
|
5831
|
-
}, {
|
|
5832
|
-
readonly type: "function";
|
|
5833
|
-
readonly inputs: readonly [{
|
|
5834
|
-
readonly name: "poolId";
|
|
5835
|
-
readonly internalType: "bytes32";
|
|
5836
|
-
readonly type: "bytes32";
|
|
5837
|
-
}, {
|
|
5838
|
-
readonly name: "base";
|
|
5839
|
-
readonly internalType: "address";
|
|
5840
|
-
readonly type: "address";
|
|
5841
|
-
}, {
|
|
5842
|
-
readonly name: "quote";
|
|
5843
|
-
readonly internalType: "address";
|
|
5844
|
-
readonly type: "address";
|
|
5845
|
-
}, {
|
|
5846
|
-
readonly name: "targetFloor";
|
|
5847
|
-
readonly internalType: "int256";
|
|
5848
|
-
readonly type: "int256";
|
|
5849
|
-
}, {
|
|
5850
|
-
readonly name: "cap";
|
|
5851
|
-
readonly internalType: "int256";
|
|
5852
|
-
readonly type: "int256";
|
|
5853
|
-
}, {
|
|
5854
|
-
readonly name: "L";
|
|
5855
|
-
readonly internalType: "uint256";
|
|
5856
|
-
readonly type: "uint256";
|
|
5857
|
-
}, {
|
|
5858
|
-
readonly name: "maxBaseIn";
|
|
5859
|
-
readonly internalType: "uint256";
|
|
5860
|
-
readonly type: "uint256";
|
|
5861
|
-
}, {
|
|
5862
|
-
readonly name: "maxQuoteIn";
|
|
5863
|
-
readonly internalType: "uint256";
|
|
5864
|
-
readonly type: "uint256";
|
|
5865
|
-
}, {
|
|
5866
|
-
readonly name: "to";
|
|
5867
|
-
readonly internalType: "address";
|
|
5868
|
-
readonly type: "address";
|
|
5869
|
-
}, {
|
|
5870
|
-
readonly name: "deadline";
|
|
5871
|
-
readonly internalType: "uint256";
|
|
5872
|
-
readonly type: "uint256";
|
|
5873
|
-
}];
|
|
5874
|
-
readonly name: "mintBlended";
|
|
5875
|
-
readonly outputs: readonly [{
|
|
5876
|
-
readonly name: "baseIn";
|
|
5877
|
-
readonly internalType: "uint256";
|
|
5878
|
-
readonly type: "uint256";
|
|
5879
|
-
}, {
|
|
5880
|
-
readonly name: "quoteIn";
|
|
5881
|
-
readonly internalType: "uint256";
|
|
5882
|
-
readonly type: "uint256";
|
|
5883
|
-
}];
|
|
5884
|
-
readonly stateMutability: "nonpayable";
|
|
5885
|
-
}, {
|
|
5886
|
-
readonly type: "function";
|
|
5887
|
-
readonly inputs: readonly [{
|
|
5888
|
-
readonly name: "poolId";
|
|
5889
|
-
readonly internalType: "bytes32";
|
|
5890
|
-
readonly type: "bytes32";
|
|
5891
|
-
}, {
|
|
5892
|
-
readonly name: "base";
|
|
5893
|
-
readonly internalType: "address";
|
|
5894
|
-
readonly type: "address";
|
|
5895
|
-
}, {
|
|
5896
|
-
readonly name: "quote";
|
|
5897
|
-
readonly internalType: "address";
|
|
5898
|
-
readonly type: "address";
|
|
5899
|
-
}, {
|
|
5900
|
-
readonly name: "fromId";
|
|
5901
|
-
readonly internalType: "uint256";
|
|
5902
|
-
readonly type: "uint256";
|
|
5903
|
-
}, {
|
|
5904
|
-
readonly name: "shares";
|
|
5905
|
-
readonly internalType: "uint256";
|
|
5906
|
-
readonly type: "uint256";
|
|
5907
|
-
}, {
|
|
5908
|
-
readonly name: "toFloor";
|
|
5909
|
-
readonly internalType: "int256";
|
|
5910
|
-
readonly type: "int256";
|
|
5911
|
-
}, {
|
|
5912
|
-
readonly name: "toCap";
|
|
5913
|
-
readonly internalType: "int256";
|
|
5914
|
-
readonly type: "int256";
|
|
5915
|
-
}, {
|
|
5916
|
-
readonly name: "maxBaseIn";
|
|
5917
|
-
readonly internalType: "uint256";
|
|
5918
|
-
readonly type: "uint256";
|
|
5919
|
-
}, {
|
|
5920
|
-
readonly name: "maxQuoteIn";
|
|
5921
|
-
readonly internalType: "uint256";
|
|
5922
|
-
readonly type: "uint256";
|
|
5923
|
-
}, {
|
|
5924
|
-
readonly name: "to";
|
|
5925
|
-
readonly internalType: "address";
|
|
5926
|
-
readonly type: "address";
|
|
5927
|
-
}, {
|
|
5928
|
-
readonly name: "deadline";
|
|
5929
|
-
readonly internalType: "uint256";
|
|
5930
|
-
readonly type: "uint256";
|
|
5931
|
-
}];
|
|
5932
|
-
readonly name: "move";
|
|
5933
|
-
readonly outputs: readonly [{
|
|
5934
|
-
readonly name: "dBase";
|
|
5935
|
-
readonly internalType: "int256";
|
|
5936
|
-
readonly type: "int256";
|
|
5937
|
-
}, {
|
|
5938
|
-
readonly name: "dQuote";
|
|
5939
|
-
readonly internalType: "int256";
|
|
5940
|
-
readonly type: "int256";
|
|
5941
|
-
}, {
|
|
5942
|
-
readonly name: "newShares";
|
|
5943
|
-
readonly internalType: "uint256";
|
|
5944
|
-
readonly type: "uint256";
|
|
5945
|
-
}];
|
|
5946
|
-
readonly stateMutability: "nonpayable";
|
|
5947
|
-
}, {
|
|
5948
|
-
readonly type: "function";
|
|
5949
|
-
readonly inputs: readonly [{
|
|
5950
|
-
readonly name: "data";
|
|
5951
|
-
readonly internalType: "bytes[]";
|
|
5952
|
-
readonly type: "bytes[]";
|
|
5953
|
-
}];
|
|
5954
|
-
readonly name: "multicall";
|
|
5955
|
-
readonly outputs: readonly [{
|
|
5956
|
-
readonly name: "results";
|
|
5957
|
-
readonly internalType: "bytes[]";
|
|
5958
|
-
readonly type: "bytes[]";
|
|
5959
|
-
}];
|
|
5960
|
-
readonly stateMutability: "nonpayable";
|
|
5961
|
-
}, {
|
|
5962
|
-
readonly type: "function";
|
|
5963
|
-
readonly inputs: readonly [];
|
|
5964
|
-
readonly name: "permit2";
|
|
5965
|
-
readonly outputs: readonly [{
|
|
5966
|
-
readonly name: "";
|
|
5967
|
-
readonly internalType: "contract IPermit2";
|
|
5968
|
-
readonly type: "address";
|
|
5969
|
-
}];
|
|
5970
|
-
readonly stateMutability: "view";
|
|
5971
|
-
}, {
|
|
5972
|
-
readonly type: "function";
|
|
5973
|
-
readonly inputs: readonly [{
|
|
5974
|
-
readonly name: "poolId";
|
|
5975
|
-
readonly internalType: "bytes32";
|
|
5976
|
-
readonly type: "bytes32";
|
|
5977
|
-
}, {
|
|
5978
|
-
readonly name: "exactIn";
|
|
5979
|
-
readonly internalType: "bool";
|
|
5980
|
-
readonly type: "bool";
|
|
5981
|
-
}, {
|
|
5982
|
-
readonly name: "baseSide";
|
|
5983
|
-
readonly internalType: "bool";
|
|
5984
|
-
readonly type: "bool";
|
|
5985
|
-
}, {
|
|
5986
|
-
readonly name: "amount";
|
|
5987
|
-
readonly internalType: "uint256";
|
|
5988
|
-
readonly type: "uint256";
|
|
5989
|
-
}, {
|
|
5990
|
-
readonly name: "taker";
|
|
5991
|
-
readonly internalType: "address";
|
|
5992
|
-
readonly type: "address";
|
|
5993
|
-
}];
|
|
5994
|
-
readonly name: "quoteSwap";
|
|
5995
|
-
readonly outputs: readonly [];
|
|
5996
|
-
readonly stateMutability: "nonpayable";
|
|
5997
|
-
}, {
|
|
5998
|
-
readonly type: "function";
|
|
5999
|
-
readonly inputs: readonly [{
|
|
6000
|
-
readonly name: "poolId";
|
|
6001
|
-
readonly internalType: "bytes32";
|
|
6002
|
-
readonly type: "bytes32";
|
|
6003
|
-
}, {
|
|
6004
|
-
readonly name: "tokenIn";
|
|
6005
|
-
readonly internalType: "address";
|
|
6006
|
-
readonly type: "address";
|
|
6007
|
-
}, {
|
|
6008
|
-
readonly name: "tokenOut";
|
|
6009
|
-
readonly internalType: "address";
|
|
6010
|
-
readonly type: "address";
|
|
6011
|
-
}, {
|
|
6012
|
-
readonly name: "baseIn";
|
|
6013
|
-
readonly internalType: "bool";
|
|
6014
|
-
readonly type: "bool";
|
|
6015
|
-
}, {
|
|
6016
|
-
readonly name: "amountIn";
|
|
6017
|
-
readonly internalType: "uint256";
|
|
6018
|
-
readonly type: "uint256";
|
|
6019
|
-
}, {
|
|
6020
|
-
readonly name: "minOut";
|
|
6021
|
-
readonly internalType: "uint256";
|
|
6022
|
-
readonly type: "uint256";
|
|
6023
|
-
}, {
|
|
6024
|
-
readonly name: "to";
|
|
6025
|
-
readonly internalType: "address";
|
|
6026
|
-
readonly type: "address";
|
|
6027
|
-
}, {
|
|
6028
|
-
readonly name: "deadline";
|
|
6029
|
-
readonly internalType: "uint256";
|
|
6030
|
-
readonly type: "uint256";
|
|
5744
|
+
readonly name: "shares";
|
|
5745
|
+
readonly internalType: "uint256[]";
|
|
5746
|
+
readonly type: "uint256[]";
|
|
5747
|
+
}];
|
|
6031
5748
|
}];
|
|
6032
|
-
readonly name: "
|
|
5749
|
+
readonly name: "encodeBurn";
|
|
6033
5750
|
readonly outputs: readonly [{
|
|
6034
|
-
readonly name: "
|
|
6035
|
-
readonly internalType: "
|
|
6036
|
-
readonly type: "
|
|
5751
|
+
readonly name: "";
|
|
5752
|
+
readonly internalType: "bytes";
|
|
5753
|
+
readonly type: "bytes";
|
|
6037
5754
|
}];
|
|
6038
|
-
readonly stateMutability: "
|
|
5755
|
+
readonly stateMutability: "pure";
|
|
6039
5756
|
}, {
|
|
6040
5757
|
readonly type: "function";
|
|
6041
5758
|
readonly inputs: readonly [{
|
|
6042
|
-
readonly name: "
|
|
6043
|
-
readonly internalType: "struct
|
|
6044
|
-
readonly type: "tuple
|
|
5759
|
+
readonly name: "a";
|
|
5760
|
+
readonly internalType: "struct ClaimAct";
|
|
5761
|
+
readonly type: "tuple";
|
|
6045
5762
|
readonly components: readonly [{
|
|
6046
5763
|
readonly name: "poolId";
|
|
6047
5764
|
readonly internalType: "bytes32";
|
|
6048
5765
|
readonly type: "bytes32";
|
|
6049
5766
|
}, {
|
|
6050
|
-
readonly name: "
|
|
6051
|
-
readonly internalType: "
|
|
6052
|
-
readonly type: "
|
|
5767
|
+
readonly name: "ids";
|
|
5768
|
+
readonly internalType: "uint256[]";
|
|
5769
|
+
readonly type: "uint256[]";
|
|
6053
5770
|
}];
|
|
6054
|
-
}, {
|
|
6055
|
-
readonly name: "tokenIn";
|
|
6056
|
-
readonly internalType: "address";
|
|
6057
|
-
readonly type: "address";
|
|
6058
|
-
}, {
|
|
6059
|
-
readonly name: "tokenOut";
|
|
6060
|
-
readonly internalType: "address";
|
|
6061
|
-
readonly type: "address";
|
|
6062
|
-
}, {
|
|
6063
|
-
readonly name: "amountIn";
|
|
6064
|
-
readonly internalType: "uint256";
|
|
6065
|
-
readonly type: "uint256";
|
|
6066
|
-
}, {
|
|
6067
|
-
readonly name: "minOut";
|
|
6068
|
-
readonly internalType: "uint256";
|
|
6069
|
-
readonly type: "uint256";
|
|
6070
|
-
}, {
|
|
6071
|
-
readonly name: "to";
|
|
6072
|
-
readonly internalType: "address";
|
|
6073
|
-
readonly type: "address";
|
|
6074
|
-
}, {
|
|
6075
|
-
readonly name: "deadline";
|
|
6076
|
-
readonly internalType: "uint256";
|
|
6077
|
-
readonly type: "uint256";
|
|
6078
|
-
}];
|
|
6079
|
-
readonly name: "swapExactInPath";
|
|
6080
|
-
readonly outputs: readonly [{
|
|
6081
|
-
readonly name: "amountOut";
|
|
6082
|
-
readonly internalType: "uint256";
|
|
6083
|
-
readonly type: "uint256";
|
|
6084
|
-
}];
|
|
6085
|
-
readonly stateMutability: "nonpayable";
|
|
6086
|
-
}, {
|
|
6087
|
-
readonly type: "function";
|
|
6088
|
-
readonly inputs: readonly [{
|
|
6089
|
-
readonly name: "poolId";
|
|
6090
|
-
readonly internalType: "bytes32";
|
|
6091
|
-
readonly type: "bytes32";
|
|
6092
|
-
}, {
|
|
6093
|
-
readonly name: "tokenIn";
|
|
6094
|
-
readonly internalType: "address";
|
|
6095
|
-
readonly type: "address";
|
|
6096
|
-
}, {
|
|
6097
|
-
readonly name: "tokenOut";
|
|
6098
|
-
readonly internalType: "address";
|
|
6099
|
-
readonly type: "address";
|
|
6100
|
-
}, {
|
|
6101
|
-
readonly name: "baseOut";
|
|
6102
|
-
readonly internalType: "bool";
|
|
6103
|
-
readonly type: "bool";
|
|
6104
|
-
}, {
|
|
6105
|
-
readonly name: "amountOut";
|
|
6106
|
-
readonly internalType: "uint256";
|
|
6107
|
-
readonly type: "uint256";
|
|
6108
|
-
}, {
|
|
6109
|
-
readonly name: "maxIn";
|
|
6110
|
-
readonly internalType: "uint256";
|
|
6111
|
-
readonly type: "uint256";
|
|
6112
|
-
}, {
|
|
6113
|
-
readonly name: "to";
|
|
6114
|
-
readonly internalType: "address";
|
|
6115
|
-
readonly type: "address";
|
|
6116
|
-
}, {
|
|
6117
|
-
readonly name: "deadline";
|
|
6118
|
-
readonly internalType: "uint256";
|
|
6119
|
-
readonly type: "uint256";
|
|
6120
5771
|
}];
|
|
6121
|
-
readonly name: "
|
|
5772
|
+
readonly name: "encodeClaim";
|
|
6122
5773
|
readonly outputs: readonly [{
|
|
6123
|
-
readonly name: "
|
|
6124
|
-
readonly internalType: "
|
|
6125
|
-
readonly type: "
|
|
5774
|
+
readonly name: "";
|
|
5775
|
+
readonly internalType: "bytes";
|
|
5776
|
+
readonly type: "bytes";
|
|
6126
5777
|
}];
|
|
6127
|
-
readonly stateMutability: "
|
|
5778
|
+
readonly stateMutability: "pure";
|
|
6128
5779
|
}, {
|
|
6129
5780
|
readonly type: "function";
|
|
6130
5781
|
readonly inputs: readonly [{
|
|
6131
|
-
readonly name: "
|
|
6132
|
-
readonly internalType: "
|
|
6133
|
-
readonly type: "
|
|
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
|
+
}];
|
|
6134
5802
|
}];
|
|
6135
|
-
readonly name: "
|
|
5803
|
+
readonly name: "encodeMint";
|
|
6136
5804
|
readonly outputs: readonly [{
|
|
6137
5805
|
readonly name: "";
|
|
6138
5806
|
readonly internalType: "bytes";
|
|
6139
5807
|
readonly type: "bytes";
|
|
6140
5808
|
}];
|
|
6141
|
-
readonly stateMutability: "
|
|
5809
|
+
readonly stateMutability: "pure";
|
|
6142
5810
|
}, {
|
|
6143
5811
|
readonly type: "function";
|
|
6144
5812
|
readonly inputs: readonly [{
|
|
6145
|
-
readonly name: "
|
|
6146
|
-
readonly internalType: "
|
|
6147
|
-
readonly type: "
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
}, {
|
|
6173
|
-
readonly name: "newL";
|
|
6174
|
-
readonly internalType: "uint256";
|
|
6175
|
-
readonly type: "uint256";
|
|
6176
|
-
}, {
|
|
6177
|
-
readonly name: "maxBaseIn";
|
|
6178
|
-
readonly internalType: "uint256";
|
|
6179
|
-
readonly type: "uint256";
|
|
6180
|
-
}, {
|
|
6181
|
-
readonly name: "maxQuoteIn";
|
|
6182
|
-
readonly internalType: "uint256";
|
|
6183
|
-
readonly type: "uint256";
|
|
6184
|
-
}, {
|
|
6185
|
-
readonly name: "to";
|
|
6186
|
-
readonly internalType: "address";
|
|
6187
|
-
readonly type: "address";
|
|
6188
|
-
}, {
|
|
6189
|
-
readonly name: "deadline";
|
|
6190
|
-
readonly internalType: "uint256";
|
|
6191
|
-
readonly type: "uint256";
|
|
6192
|
-
}];
|
|
6193
|
-
readonly name: "update";
|
|
6194
|
-
readonly outputs: readonly [{
|
|
6195
|
-
readonly name: "dBase";
|
|
6196
|
-
readonly internalType: "int256";
|
|
6197
|
-
readonly type: "int256";
|
|
6198
|
-
}, {
|
|
6199
|
-
readonly name: "dQuote";
|
|
6200
|
-
readonly internalType: "int256";
|
|
6201
|
-
readonly type: "int256";
|
|
6202
|
-
}, {
|
|
6203
|
-
readonly name: "newShares";
|
|
6204
|
-
readonly internalType: "uint256";
|
|
6205
|
-
readonly type: "uint256";
|
|
6206
|
-
}];
|
|
6207
|
-
readonly stateMutability: "nonpayable";
|
|
6208
|
-
}, {
|
|
6209
|
-
readonly type: "function";
|
|
6210
|
-
readonly inputs: readonly [];
|
|
6211
|
-
readonly name: "user";
|
|
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";
|
|
6212
5840
|
readonly outputs: readonly [{
|
|
6213
|
-
readonly name: "
|
|
6214
|
-
readonly internalType: "
|
|
6215
|
-
readonly type: "
|
|
5841
|
+
readonly name: "";
|
|
5842
|
+
readonly internalType: "bytes";
|
|
5843
|
+
readonly type: "bytes";
|
|
6216
5844
|
}];
|
|
6217
|
-
readonly stateMutability: "
|
|
5845
|
+
readonly stateMutability: "pure";
|
|
6218
5846
|
}, {
|
|
6219
5847
|
readonly type: "function";
|
|
6220
5848
|
readonly inputs: readonly [{
|
|
6221
|
-
readonly name: "
|
|
6222
|
-
readonly internalType: "
|
|
6223
|
-
readonly type: "
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
readonly name: "minSwapOut";
|
|
6242
|
-
readonly internalType: "uint256";
|
|
6243
|
-
readonly type: "uint256";
|
|
6244
|
-
}, {
|
|
6245
|
-
readonly name: "targetFloor";
|
|
6246
|
-
readonly internalType: "int256";
|
|
6247
|
-
readonly type: "int256";
|
|
6248
|
-
}, {
|
|
6249
|
-
readonly name: "cap";
|
|
6250
|
-
readonly internalType: "int256";
|
|
6251
|
-
readonly type: "int256";
|
|
6252
|
-
}, {
|
|
6253
|
-
readonly name: "L";
|
|
6254
|
-
readonly internalType: "uint256";
|
|
6255
|
-
readonly type: "uint256";
|
|
6256
|
-
}, {
|
|
6257
|
-
readonly name: "maxIn";
|
|
6258
|
-
readonly internalType: "uint256";
|
|
6259
|
-
readonly type: "uint256";
|
|
6260
|
-
}, {
|
|
6261
|
-
readonly name: "to";
|
|
6262
|
-
readonly internalType: "address";
|
|
6263
|
-
readonly type: "address";
|
|
6264
|
-
}, {
|
|
6265
|
-
readonly name: "deadline";
|
|
6266
|
-
readonly internalType: "uint256";
|
|
6267
|
-
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
|
+
}];
|
|
6268
5869
|
}];
|
|
6269
|
-
readonly name: "
|
|
5870
|
+
readonly name: "encodeSwap";
|
|
6270
5871
|
readonly outputs: readonly [{
|
|
6271
|
-
readonly name: "
|
|
6272
|
-
readonly internalType: "
|
|
6273
|
-
readonly type: "
|
|
6274
|
-
}, {
|
|
6275
|
-
readonly name: "quoteIn";
|
|
6276
|
-
readonly internalType: "uint256";
|
|
6277
|
-
readonly type: "uint256";
|
|
5872
|
+
readonly name: "";
|
|
5873
|
+
readonly internalType: "bytes";
|
|
5874
|
+
readonly type: "bytes";
|
|
6278
5875
|
}];
|
|
6279
|
-
readonly stateMutability: "
|
|
6280
|
-
}, {
|
|
6281
|
-
readonly type: "error";
|
|
6282
|
-
readonly inputs: readonly [];
|
|
6283
|
-
readonly name: "BadFloor";
|
|
6284
|
-
}, {
|
|
6285
|
-
readonly type: "error";
|
|
6286
|
-
readonly inputs: readonly [];
|
|
6287
|
-
readonly name: "BadRecipient";
|
|
6288
|
-
}, {
|
|
6289
|
-
readonly type: "error";
|
|
6290
|
-
readonly inputs: readonly [];
|
|
6291
|
-
readonly name: "DeadlineExceeded";
|
|
6292
|
-
}, {
|
|
6293
|
-
readonly type: "error";
|
|
6294
|
-
readonly inputs: readonly [];
|
|
6295
|
-
readonly name: "EmptyPath";
|
|
6296
|
-
}, {
|
|
6297
|
-
readonly type: "error";
|
|
6298
|
-
readonly inputs: readonly [];
|
|
6299
|
-
readonly name: "LengthMismatch";
|
|
6300
|
-
}, {
|
|
6301
|
-
readonly type: "error";
|
|
6302
|
-
readonly inputs: readonly [];
|
|
6303
|
-
readonly name: "NotManager";
|
|
5876
|
+
readonly stateMutability: "pure";
|
|
6304
5877
|
}, {
|
|
6305
|
-
readonly type: "
|
|
5878
|
+
readonly type: "function";
|
|
6306
5879
|
readonly inputs: readonly [{
|
|
6307
|
-
readonly name: "
|
|
6308
|
-
readonly internalType: "
|
|
6309
|
-
readonly type: "
|
|
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
|
+
}];
|
|
6310
5908
|
}];
|
|
6311
|
-
readonly name: "
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
}
|
|
6317
|
-
readonly
|
|
6318
|
-
readonly inputs: readonly [];
|
|
6319
|
-
readonly name: "SlippageOut";
|
|
6320
|
-
}, {
|
|
6321
|
-
readonly type: "error";
|
|
6322
|
-
readonly inputs: readonly [];
|
|
6323
|
-
readonly name: "UnsupportedOp";
|
|
6324
|
-
}, {
|
|
6325
|
-
readonly type: "error";
|
|
6326
|
-
readonly inputs: readonly [];
|
|
6327
|
-
readonly name: "WrongToken";
|
|
6328
|
-
}, {
|
|
6329
|
-
readonly type: "error";
|
|
6330
|
-
readonly inputs: readonly [];
|
|
6331
|
-
readonly name: "ZeroAmount";
|
|
5909
|
+
readonly name: "encodeUpdate";
|
|
5910
|
+
readonly outputs: readonly [{
|
|
5911
|
+
readonly name: "";
|
|
5912
|
+
readonly internalType: "bytes";
|
|
5913
|
+
readonly type: "bytes";
|
|
5914
|
+
}];
|
|
5915
|
+
readonly stateMutability: "pure";
|
|
6332
5916
|
}];
|
|
6333
|
-
export declare const
|
|
5917
|
+
export declare const routerCAbi: readonly [{
|
|
6334
5918
|
readonly type: "constructor";
|
|
6335
5919
|
readonly inputs: readonly [{
|
|
6336
5920
|
readonly name: "_mgr";
|
|
6337
|
-
readonly internalType: "contract
|
|
5921
|
+
readonly internalType: "contract ManagerC";
|
|
6338
5922
|
readonly type: "address";
|
|
6339
5923
|
}, {
|
|
6340
5924
|
readonly name: "_permit2";
|
|
@@ -6342,6 +5926,16 @@ export declare const routerFAbi: readonly [{
|
|
|
6342
5926
|
readonly type: "address";
|
|
6343
5927
|
}];
|
|
6344
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";
|
|
6345
5939
|
}, {
|
|
6346
5940
|
readonly type: "function";
|
|
6347
5941
|
readonly inputs: readonly [{
|
|
@@ -6384,74 +5978,10 @@ export declare const routerFAbi: readonly [{
|
|
|
6384
5978
|
}];
|
|
6385
5979
|
}, {
|
|
6386
5980
|
readonly name: "signature";
|
|
6387
|
-
readonly internalType: "bytes";
|
|
6388
|
-
readonly type: "bytes";
|
|
6389
|
-
}];
|
|
6390
|
-
readonly name: "applyPermit2";
|
|
6391
|
-
readonly outputs: readonly [];
|
|
6392
|
-
readonly stateMutability: "nonpayable";
|
|
6393
|
-
}, {
|
|
6394
|
-
readonly type: "function";
|
|
6395
|
-
readonly inputs: readonly [];
|
|
6396
|
-
readonly name: "mgr";
|
|
6397
|
-
readonly outputs: readonly [{
|
|
6398
|
-
readonly name: "";
|
|
6399
|
-
readonly internalType: "contract ManagerF";
|
|
6400
|
-
readonly type: "address";
|
|
6401
|
-
}];
|
|
6402
|
-
readonly stateMutability: "view";
|
|
6403
|
-
}, {
|
|
6404
|
-
readonly type: "function";
|
|
6405
|
-
readonly inputs: readonly [{
|
|
6406
|
-
readonly name: "data";
|
|
6407
|
-
readonly internalType: "bytes[]";
|
|
6408
|
-
readonly type: "bytes[]";
|
|
6409
|
-
}];
|
|
6410
|
-
readonly name: "multicall";
|
|
6411
|
-
readonly outputs: readonly [{
|
|
6412
|
-
readonly name: "results";
|
|
6413
|
-
readonly internalType: "bytes[]";
|
|
6414
|
-
readonly type: "bytes[]";
|
|
6415
|
-
}];
|
|
6416
|
-
readonly stateMutability: "nonpayable";
|
|
6417
|
-
}, {
|
|
6418
|
-
readonly type: "function";
|
|
6419
|
-
readonly inputs: readonly [];
|
|
6420
|
-
readonly name: "permit2";
|
|
6421
|
-
readonly outputs: readonly [{
|
|
6422
|
-
readonly name: "";
|
|
6423
|
-
readonly internalType: "contract IPermit2";
|
|
6424
|
-
readonly type: "address";
|
|
6425
|
-
}];
|
|
6426
|
-
readonly stateMutability: "view";
|
|
6427
|
-
}, {
|
|
6428
|
-
readonly type: "function";
|
|
6429
|
-
readonly inputs: readonly [{
|
|
6430
|
-
readonly name: "poolId";
|
|
6431
|
-
readonly internalType: "bytes32";
|
|
6432
|
-
readonly type: "bytes32";
|
|
6433
|
-
}, {
|
|
6434
|
-
readonly name: "kind";
|
|
6435
|
-
readonly internalType: "enum QuoteKind";
|
|
6436
|
-
readonly type: "uint8";
|
|
6437
|
-
}, {
|
|
6438
|
-
readonly name: "j";
|
|
6439
|
-
readonly internalType: "uint256";
|
|
6440
|
-
readonly type: "uint256";
|
|
6441
|
-
}, {
|
|
6442
|
-
readonly name: "k";
|
|
6443
|
-
readonly internalType: "uint256";
|
|
6444
|
-
readonly type: "uint256";
|
|
6445
|
-
}, {
|
|
6446
|
-
readonly name: "amountIn";
|
|
6447
|
-
readonly internalType: "uint256";
|
|
6448
|
-
readonly type: "uint256";
|
|
6449
|
-
}, {
|
|
6450
|
-
readonly name: "taker";
|
|
6451
|
-
readonly internalType: "address";
|
|
6452
|
-
readonly type: "address";
|
|
5981
|
+
readonly internalType: "bytes";
|
|
5982
|
+
readonly type: "bytes";
|
|
6453
5983
|
}];
|
|
6454
|
-
readonly name: "
|
|
5984
|
+
readonly name: "applyPermit2";
|
|
6455
5985
|
readonly outputs: readonly [];
|
|
6456
5986
|
readonly stateMutability: "nonpayable";
|
|
6457
5987
|
}, {
|
|
@@ -6461,23 +5991,27 @@ export declare const routerFAbi: readonly [{
|
|
|
6461
5991
|
readonly internalType: "bytes32";
|
|
6462
5992
|
readonly type: "bytes32";
|
|
6463
5993
|
}, {
|
|
6464
|
-
readonly name: "
|
|
6465
|
-
readonly internalType: "
|
|
6466
|
-
readonly type: "
|
|
5994
|
+
readonly name: "base";
|
|
5995
|
+
readonly internalType: "address";
|
|
5996
|
+
readonly type: "address";
|
|
6467
5997
|
}, {
|
|
6468
|
-
readonly name: "
|
|
6469
|
-
readonly internalType: "
|
|
6470
|
-
readonly type: "
|
|
5998
|
+
readonly name: "quote";
|
|
5999
|
+
readonly internalType: "address";
|
|
6000
|
+
readonly type: "address";
|
|
6471
6001
|
}, {
|
|
6472
|
-
readonly name: "
|
|
6473
|
-
readonly internalType: "uint256";
|
|
6474
|
-
readonly type: "uint256";
|
|
6002
|
+
readonly name: "ids";
|
|
6003
|
+
readonly internalType: "uint256[]";
|
|
6004
|
+
readonly type: "uint256[]";
|
|
6475
6005
|
}, {
|
|
6476
|
-
readonly name: "
|
|
6006
|
+
readonly name: "shares";
|
|
6007
|
+
readonly internalType: "uint256[]";
|
|
6008
|
+
readonly type: "uint256[]";
|
|
6009
|
+
}, {
|
|
6010
|
+
readonly name: "minBaseOut";
|
|
6477
6011
|
readonly internalType: "uint256";
|
|
6478
6012
|
readonly type: "uint256";
|
|
6479
6013
|
}, {
|
|
6480
|
-
readonly name: "
|
|
6014
|
+
readonly name: "minQuoteOut";
|
|
6481
6015
|
readonly internalType: "uint256";
|
|
6482
6016
|
readonly type: "uint256";
|
|
6483
6017
|
}, {
|
|
@@ -6489,9 +6023,13 @@ export declare const routerFAbi: readonly [{
|
|
|
6489
6023
|
readonly internalType: "uint256";
|
|
6490
6024
|
readonly type: "uint256";
|
|
6491
6025
|
}];
|
|
6492
|
-
readonly name: "
|
|
6026
|
+
readonly name: "burn";
|
|
6493
6027
|
readonly outputs: readonly [{
|
|
6494
|
-
readonly name: "
|
|
6028
|
+
readonly name: "baseOut";
|
|
6029
|
+
readonly internalType: "uint256";
|
|
6030
|
+
readonly type: "uint256";
|
|
6031
|
+
}, {
|
|
6032
|
+
readonly name: "quoteOut";
|
|
6495
6033
|
readonly internalType: "uint256";
|
|
6496
6034
|
readonly type: "uint256";
|
|
6497
6035
|
}];
|
|
@@ -6503,25 +6041,13 @@ export declare const routerFAbi: readonly [{
|
|
|
6503
6041
|
readonly internalType: "bytes32";
|
|
6504
6042
|
readonly type: "bytes32";
|
|
6505
6043
|
}, {
|
|
6506
|
-
readonly name: "
|
|
6507
|
-
readonly internalType: "
|
|
6508
|
-
readonly type: "
|
|
6509
|
-
}, {
|
|
6510
|
-
readonly name: "j";
|
|
6511
|
-
readonly internalType: "uint256";
|
|
6512
|
-
readonly type: "uint256";
|
|
6513
|
-
}, {
|
|
6514
|
-
readonly name: "k";
|
|
6515
|
-
readonly internalType: "uint256";
|
|
6516
|
-
readonly type: "uint256";
|
|
6517
|
-
}, {
|
|
6518
|
-
readonly name: "amountIn";
|
|
6519
|
-
readonly internalType: "uint256";
|
|
6520
|
-
readonly type: "uint256";
|
|
6044
|
+
readonly name: "quote";
|
|
6045
|
+
readonly internalType: "address";
|
|
6046
|
+
readonly type: "address";
|
|
6521
6047
|
}, {
|
|
6522
|
-
readonly name: "
|
|
6523
|
-
readonly internalType: "uint256";
|
|
6524
|
-
readonly type: "uint256";
|
|
6048
|
+
readonly name: "ids";
|
|
6049
|
+
readonly internalType: "uint256[]";
|
|
6050
|
+
readonly type: "uint256[]";
|
|
6525
6051
|
}, {
|
|
6526
6052
|
readonly name: "to";
|
|
6527
6053
|
readonly internalType: "address";
|
|
@@ -6531,9 +6057,9 @@ export declare const routerFAbi: readonly [{
|
|
|
6531
6057
|
readonly internalType: "uint256";
|
|
6532
6058
|
readonly type: "uint256";
|
|
6533
6059
|
}];
|
|
6534
|
-
readonly name: "
|
|
6060
|
+
readonly name: "claim";
|
|
6535
6061
|
readonly outputs: readonly [{
|
|
6536
|
-
readonly name: "
|
|
6062
|
+
readonly name: "total";
|
|
6537
6063
|
readonly internalType: "uint256";
|
|
6538
6064
|
readonly type: "uint256";
|
|
6539
6065
|
}];
|
|
@@ -6541,33 +6067,97 @@ export declare const routerFAbi: readonly [{
|
|
|
6541
6067
|
}, {
|
|
6542
6068
|
readonly type: "function";
|
|
6543
6069
|
readonly inputs: readonly [{
|
|
6544
|
-
readonly name: "
|
|
6545
|
-
readonly internalType: "
|
|
6546
|
-
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";
|
|
6547
6107
|
}];
|
|
6548
|
-
readonly name: "
|
|
6108
|
+
readonly name: "execute";
|
|
6549
6109
|
readonly outputs: readonly [{
|
|
6550
|
-
readonly name: "";
|
|
6551
|
-
readonly internalType: "bytes";
|
|
6552
|
-
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[]";
|
|
6553
6117
|
}];
|
|
6554
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";
|
|
6555
6129
|
}, {
|
|
6556
6130
|
readonly type: "function";
|
|
6557
6131
|
readonly inputs: readonly [{
|
|
6558
6132
|
readonly name: "poolId";
|
|
6559
6133
|
readonly internalType: "bytes32";
|
|
6560
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";
|
|
6561
6151
|
}, {
|
|
6562
6152
|
readonly name: "L";
|
|
6563
6153
|
readonly internalType: "uint256";
|
|
6564
6154
|
readonly type: "uint256";
|
|
6565
6155
|
}, {
|
|
6566
|
-
readonly name: "
|
|
6156
|
+
readonly name: "maxBaseIn";
|
|
6567
6157
|
readonly internalType: "uint256";
|
|
6568
6158
|
readonly type: "uint256";
|
|
6569
6159
|
}, {
|
|
6570
|
-
readonly name: "
|
|
6160
|
+
readonly name: "maxQuoteIn";
|
|
6571
6161
|
readonly internalType: "uint256";
|
|
6572
6162
|
readonly type: "uint256";
|
|
6573
6163
|
}, {
|
|
@@ -6579,9 +6169,13 @@ export declare const routerFAbi: readonly [{
|
|
|
6579
6169
|
readonly internalType: "uint256";
|
|
6580
6170
|
readonly type: "uint256";
|
|
6581
6171
|
}];
|
|
6582
|
-
readonly name: "
|
|
6172
|
+
readonly name: "mintBlended";
|
|
6583
6173
|
readonly outputs: readonly [{
|
|
6584
|
-
readonly name: "
|
|
6174
|
+
readonly name: "baseIn";
|
|
6175
|
+
readonly internalType: "uint256";
|
|
6176
|
+
readonly type: "uint256";
|
|
6177
|
+
}, {
|
|
6178
|
+
readonly name: "quoteIn";
|
|
6585
6179
|
readonly internalType: "uint256";
|
|
6586
6180
|
readonly type: "uint256";
|
|
6587
6181
|
}];
|
|
@@ -6593,183 +6187,83 @@ export declare const routerFAbi: readonly [{
|
|
|
6593
6187
|
readonly internalType: "bytes32";
|
|
6594
6188
|
readonly type: "bytes32";
|
|
6595
6189
|
}, {
|
|
6596
|
-
readonly name: "
|
|
6597
|
-
readonly internalType: "uint256";
|
|
6598
|
-
readonly type: "uint256";
|
|
6599
|
-
}, {
|
|
6600
|
-
readonly name: "tokenOut";
|
|
6190
|
+
readonly name: "base";
|
|
6601
6191
|
readonly internalType: "address";
|
|
6602
6192
|
readonly type: "address";
|
|
6603
6193
|
}, {
|
|
6604
|
-
readonly name: "
|
|
6605
|
-
readonly internalType: "uint256";
|
|
6606
|
-
readonly type: "uint256";
|
|
6607
|
-
}, {
|
|
6608
|
-
readonly name: "to";
|
|
6194
|
+
readonly name: "quote";
|
|
6609
6195
|
readonly internalType: "address";
|
|
6610
6196
|
readonly type: "address";
|
|
6611
6197
|
}, {
|
|
6612
|
-
readonly name: "
|
|
6613
|
-
readonly internalType: "uint256";
|
|
6614
|
-
readonly type: "uint256";
|
|
6615
|
-
}];
|
|
6616
|
-
readonly name: "zapOut";
|
|
6617
|
-
readonly outputs: readonly [{
|
|
6618
|
-
readonly name: "amountOut";
|
|
6198
|
+
readonly name: "fromId";
|
|
6619
6199
|
readonly internalType: "uint256";
|
|
6620
6200
|
readonly type: "uint256";
|
|
6621
|
-
}
|
|
6622
|
-
|
|
6623
|
-
}, {
|
|
6624
|
-
readonly type: "error";
|
|
6625
|
-
readonly inputs: readonly [];
|
|
6626
|
-
readonly name: "BadRecipient";
|
|
6627
|
-
}, {
|
|
6628
|
-
readonly type: "error";
|
|
6629
|
-
readonly inputs: readonly [];
|
|
6630
|
-
readonly name: "DeadlineExceeded";
|
|
6631
|
-
}, {
|
|
6632
|
-
readonly type: "error";
|
|
6633
|
-
readonly inputs: readonly [];
|
|
6634
|
-
readonly name: "DrainsBase";
|
|
6635
|
-
}, {
|
|
6636
|
-
readonly type: "error";
|
|
6637
|
-
readonly inputs: readonly [];
|
|
6638
|
-
readonly name: "NotManager";
|
|
6639
|
-
}, {
|
|
6640
|
-
readonly type: "error";
|
|
6641
|
-
readonly inputs: readonly [{
|
|
6642
|
-
readonly name: "amount";
|
|
6201
|
+
}, {
|
|
6202
|
+
readonly name: "shares";
|
|
6643
6203
|
readonly internalType: "uint256";
|
|
6644
6204
|
readonly type: "uint256";
|
|
6645
|
-
}];
|
|
6646
|
-
readonly name: "QuoteResult";
|
|
6647
|
-
}, {
|
|
6648
|
-
readonly type: "error";
|
|
6649
|
-
readonly inputs: readonly [];
|
|
6650
|
-
readonly name: "SlippageIn";
|
|
6651
|
-
}, {
|
|
6652
|
-
readonly type: "error";
|
|
6653
|
-
readonly inputs: readonly [];
|
|
6654
|
-
readonly name: "SlippageOut";
|
|
6655
|
-
}, {
|
|
6656
|
-
readonly type: "error";
|
|
6657
|
-
readonly inputs: readonly [];
|
|
6658
|
-
readonly name: "UnsupportedOp";
|
|
6659
|
-
}, {
|
|
6660
|
-
readonly type: "error";
|
|
6661
|
-
readonly inputs: readonly [];
|
|
6662
|
-
readonly name: "WrongToken";
|
|
6663
|
-
}, {
|
|
6664
|
-
readonly type: "error";
|
|
6665
|
-
readonly inputs: readonly [];
|
|
6666
|
-
readonly name: "ZeroAmount";
|
|
6667
|
-
}];
|
|
6668
|
-
export declare const sponsorPolicyCAbi: readonly [{
|
|
6669
|
-
readonly type: "constructor";
|
|
6670
|
-
readonly inputs: readonly [{
|
|
6671
|
-
readonly name: "manager_";
|
|
6672
|
-
readonly internalType: "contract ManagerC";
|
|
6673
|
-
readonly type: "address";
|
|
6674
6205
|
}, {
|
|
6675
|
-
readonly name: "
|
|
6676
|
-
readonly internalType: "
|
|
6677
|
-
readonly type: "
|
|
6678
|
-
readonly components: readonly [{
|
|
6679
|
-
readonly name: "sponsor";
|
|
6680
|
-
readonly internalType: "address";
|
|
6681
|
-
readonly type: "address";
|
|
6682
|
-
}, {
|
|
6683
|
-
readonly name: "swapTiers";
|
|
6684
|
-
readonly internalType: "uint256";
|
|
6685
|
-
readonly type: "uint256";
|
|
6686
|
-
}, {
|
|
6687
|
-
readonly name: "mintTiers";
|
|
6688
|
-
readonly internalType: "uint256";
|
|
6689
|
-
readonly type: "uint256";
|
|
6690
|
-
}, {
|
|
6691
|
-
readonly name: "canonical";
|
|
6692
|
-
readonly internalType: "bool";
|
|
6693
|
-
readonly type: "bool";
|
|
6694
|
-
}, {
|
|
6695
|
-
readonly name: "gatesAvailable";
|
|
6696
|
-
readonly internalType: "bool";
|
|
6697
|
-
readonly type: "bool";
|
|
6698
|
-
}, {
|
|
6699
|
-
readonly name: "bornGated";
|
|
6700
|
-
readonly internalType: "bool";
|
|
6701
|
-
readonly type: "bool";
|
|
6702
|
-
}, {
|
|
6703
|
-
readonly name: "quotes";
|
|
6704
|
-
readonly internalType: "address[]";
|
|
6705
|
-
readonly type: "address[]";
|
|
6706
|
-
}];
|
|
6206
|
+
readonly name: "toFloor";
|
|
6207
|
+
readonly internalType: "int256";
|
|
6208
|
+
readonly type: "int256";
|
|
6707
6209
|
}, {
|
|
6708
|
-
readonly name: "
|
|
6210
|
+
readonly name: "toCap";
|
|
6211
|
+
readonly internalType: "int256";
|
|
6212
|
+
readonly type: "int256";
|
|
6213
|
+
}, {
|
|
6214
|
+
readonly name: "maxBaseIn";
|
|
6709
6215
|
readonly internalType: "uint256";
|
|
6710
6216
|
readonly type: "uint256";
|
|
6711
6217
|
}, {
|
|
6712
|
-
readonly name: "
|
|
6713
|
-
readonly internalType: "int256[]";
|
|
6714
|
-
readonly type: "int256[]";
|
|
6715
|
-
}];
|
|
6716
|
-
readonly stateMutability: "nonpayable";
|
|
6717
|
-
}, {
|
|
6718
|
-
readonly type: "function";
|
|
6719
|
-
readonly inputs: readonly [];
|
|
6720
|
-
readonly name: "SWAP_FEE_TAX_MAX";
|
|
6721
|
-
readonly outputs: readonly [{
|
|
6722
|
-
readonly name: "";
|
|
6218
|
+
readonly name: "maxQuoteIn";
|
|
6723
6219
|
readonly internalType: "uint256";
|
|
6724
6220
|
readonly type: "uint256";
|
|
6725
|
-
}];
|
|
6726
|
-
readonly stateMutability: "view";
|
|
6727
|
-
}, {
|
|
6728
|
-
readonly type: "function";
|
|
6729
|
-
readonly inputs: readonly [{
|
|
6730
|
-
readonly name: "poolId";
|
|
6731
|
-
readonly internalType: "bytes32";
|
|
6732
|
-
readonly type: "bytes32";
|
|
6733
6221
|
}, {
|
|
6734
|
-
readonly name: "
|
|
6222
|
+
readonly name: "to";
|
|
6735
6223
|
readonly internalType: "address";
|
|
6736
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";
|
|
6737
6243
|
}];
|
|
6738
|
-
readonly name: "appointOperator";
|
|
6739
|
-
readonly outputs: readonly [];
|
|
6740
6244
|
readonly stateMutability: "nonpayable";
|
|
6741
6245
|
}, {
|
|
6742
6246
|
readonly type: "function";
|
|
6743
6247
|
readonly inputs: readonly [{
|
|
6744
|
-
readonly name: "";
|
|
6745
|
-
readonly internalType: "
|
|
6746
|
-
readonly type: "
|
|
6747
|
-
}];
|
|
6748
|
-
readonly name: "authority";
|
|
6749
|
-
readonly outputs: readonly [{
|
|
6750
|
-
readonly name: "";
|
|
6751
|
-
readonly internalType: "address";
|
|
6752
|
-
readonly type: "address";
|
|
6248
|
+
readonly name: "data";
|
|
6249
|
+
readonly internalType: "bytes[]";
|
|
6250
|
+
readonly type: "bytes[]";
|
|
6753
6251
|
}];
|
|
6754
|
-
readonly
|
|
6755
|
-
}, {
|
|
6756
|
-
readonly type: "function";
|
|
6757
|
-
readonly inputs: readonly [];
|
|
6758
|
-
readonly name: "bornGated";
|
|
6252
|
+
readonly name: "multicall";
|
|
6759
6253
|
readonly outputs: readonly [{
|
|
6760
|
-
readonly name: "";
|
|
6761
|
-
readonly internalType: "
|
|
6762
|
-
readonly type: "
|
|
6254
|
+
readonly name: "results";
|
|
6255
|
+
readonly internalType: "bytes[]";
|
|
6256
|
+
readonly type: "bytes[]";
|
|
6763
6257
|
}];
|
|
6764
|
-
readonly stateMutability: "
|
|
6258
|
+
readonly stateMutability: "nonpayable";
|
|
6765
6259
|
}, {
|
|
6766
6260
|
readonly type: "function";
|
|
6767
6261
|
readonly inputs: readonly [];
|
|
6768
|
-
readonly name: "
|
|
6262
|
+
readonly name: "permit2";
|
|
6769
6263
|
readonly outputs: readonly [{
|
|
6770
6264
|
readonly name: "";
|
|
6771
|
-
readonly internalType: "
|
|
6772
|
-
readonly type: "
|
|
6265
|
+
readonly internalType: "contract IPermit2";
|
|
6266
|
+
readonly type: "address";
|
|
6773
6267
|
}];
|
|
6774
6268
|
readonly stateMutability: "view";
|
|
6775
6269
|
}, {
|
|
@@ -6779,199 +6273,170 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
6779
6273
|
readonly internalType: "bytes32";
|
|
6780
6274
|
readonly type: "bytes32";
|
|
6781
6275
|
}, {
|
|
6782
|
-
readonly name: "
|
|
6783
|
-
readonly internalType: "struct ISponsorMigration.Permissions";
|
|
6784
|
-
readonly type: "tuple";
|
|
6785
|
-
readonly components: readonly [{
|
|
6786
|
-
readonly name: "swapMode";
|
|
6787
|
-
readonly internalType: "uint8";
|
|
6788
|
-
readonly type: "uint8";
|
|
6789
|
-
}, {
|
|
6790
|
-
readonly name: "operator";
|
|
6791
|
-
readonly internalType: "address";
|
|
6792
|
-
readonly type: "address";
|
|
6793
|
-
}, {
|
|
6794
|
-
readonly name: "mintGated";
|
|
6795
|
-
readonly internalType: "bool";
|
|
6796
|
-
readonly type: "bool";
|
|
6797
|
-
}, {
|
|
6798
|
-
readonly name: "listed";
|
|
6799
|
-
readonly internalType: "address[]";
|
|
6800
|
-
readonly type: "address[]";
|
|
6801
|
-
}];
|
|
6802
|
-
}];
|
|
6803
|
-
readonly name: "configureMigration";
|
|
6804
|
-
readonly outputs: readonly [];
|
|
6805
|
-
readonly stateMutability: "nonpayable";
|
|
6806
|
-
}, {
|
|
6807
|
-
readonly type: "function";
|
|
6808
|
-
readonly inputs: readonly [{
|
|
6809
|
-
readonly name: "";
|
|
6810
|
-
readonly internalType: "bytes32";
|
|
6811
|
-
readonly type: "bytes32";
|
|
6812
|
-
}];
|
|
6813
|
-
readonly name: "gateMint";
|
|
6814
|
-
readonly outputs: readonly [{
|
|
6815
|
-
readonly name: "";
|
|
6276
|
+
readonly name: "exactIn";
|
|
6816
6277
|
readonly internalType: "bool";
|
|
6817
6278
|
readonly type: "bool";
|
|
6818
|
-
}
|
|
6819
|
-
|
|
6820
|
-
}, {
|
|
6821
|
-
readonly type: "function";
|
|
6822
|
-
readonly inputs: readonly [];
|
|
6823
|
-
readonly name: "gatesAvailable";
|
|
6824
|
-
readonly outputs: readonly [{
|
|
6825
|
-
readonly name: "";
|
|
6279
|
+
}, {
|
|
6280
|
+
readonly name: "baseSide";
|
|
6826
6281
|
readonly internalType: "bool";
|
|
6827
6282
|
readonly type: "bool";
|
|
6828
|
-
}];
|
|
6829
|
-
readonly stateMutability: "view";
|
|
6830
|
-
}, {
|
|
6831
|
-
readonly type: "function";
|
|
6832
|
-
readonly inputs: readonly [{
|
|
6833
|
-
readonly name: "";
|
|
6834
|
-
readonly internalType: "bytes32";
|
|
6835
|
-
readonly type: "bytes32";
|
|
6836
|
-
}];
|
|
6837
|
-
readonly name: "incomeTax";
|
|
6838
|
-
readonly outputs: readonly [{
|
|
6839
|
-
readonly name: "";
|
|
6840
|
-
readonly internalType: "address";
|
|
6841
|
-
readonly type: "address";
|
|
6842
6283
|
}, {
|
|
6843
|
-
readonly name: "";
|
|
6284
|
+
readonly name: "amount";
|
|
6844
6285
|
readonly internalType: "uint256";
|
|
6845
6286
|
readonly type: "uint256";
|
|
6287
|
+
}, {
|
|
6288
|
+
readonly name: "taker";
|
|
6289
|
+
readonly internalType: "address";
|
|
6290
|
+
readonly type: "address";
|
|
6846
6291
|
}];
|
|
6847
|
-
readonly
|
|
6848
|
-
|
|
6849
|
-
readonly
|
|
6850
|
-
readonly inputs: readonly [];
|
|
6851
|
-
readonly name: "kind";
|
|
6852
|
-
readonly outputs: readonly [{
|
|
6853
|
-
readonly name: "";
|
|
6854
|
-
readonly internalType: "bytes32";
|
|
6855
|
-
readonly type: "bytes32";
|
|
6856
|
-
}];
|
|
6857
|
-
readonly stateMutability: "pure";
|
|
6292
|
+
readonly name: "quoteSwap";
|
|
6293
|
+
readonly outputs: readonly [];
|
|
6294
|
+
readonly stateMutability: "nonpayable";
|
|
6858
6295
|
}, {
|
|
6859
6296
|
readonly type: "function";
|
|
6860
6297
|
readonly inputs: readonly [{
|
|
6861
|
-
readonly name: "";
|
|
6298
|
+
readonly name: "poolId";
|
|
6862
6299
|
readonly internalType: "bytes32";
|
|
6863
6300
|
readonly type: "bytes32";
|
|
6864
6301
|
}, {
|
|
6865
|
-
readonly name: "";
|
|
6302
|
+
readonly name: "tokenIn";
|
|
6866
6303
|
readonly internalType: "address";
|
|
6867
6304
|
readonly type: "address";
|
|
6868
|
-
}
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
readonly
|
|
6305
|
+
}, {
|
|
6306
|
+
readonly name: "tokenOut";
|
|
6307
|
+
readonly internalType: "address";
|
|
6308
|
+
readonly type: "address";
|
|
6309
|
+
}, {
|
|
6310
|
+
readonly name: "baseIn";
|
|
6872
6311
|
readonly internalType: "bool";
|
|
6873
6312
|
readonly type: "bool";
|
|
6874
|
-
}
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
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";
|
|
6882
6323
|
readonly internalType: "address";
|
|
6883
6324
|
readonly type: "address";
|
|
6325
|
+
}, {
|
|
6326
|
+
readonly name: "deadline";
|
|
6327
|
+
readonly internalType: "uint256";
|
|
6328
|
+
readonly type: "uint256";
|
|
6884
6329
|
}];
|
|
6885
|
-
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";
|
|
6886
6337
|
}, {
|
|
6887
6338
|
readonly type: "function";
|
|
6888
6339
|
readonly inputs: readonly [{
|
|
6889
|
-
readonly name: "
|
|
6890
|
-
readonly internalType: "struct
|
|
6891
|
-
readonly type: "tuple";
|
|
6340
|
+
readonly name: "hops";
|
|
6341
|
+
readonly internalType: "struct Hop[]";
|
|
6342
|
+
readonly type: "tuple[]";
|
|
6892
6343
|
readonly components: readonly [{
|
|
6893
6344
|
readonly name: "poolId";
|
|
6894
6345
|
readonly internalType: "bytes32";
|
|
6895
6346
|
readonly type: "bytes32";
|
|
6896
6347
|
}, {
|
|
6897
|
-
readonly name: "
|
|
6898
|
-
readonly internalType: "
|
|
6899
|
-
readonly type: "
|
|
6900
|
-
}, {
|
|
6901
|
-
readonly name: "action";
|
|
6902
|
-
readonly internalType: "enum IPolicy.Action";
|
|
6903
|
-
readonly type: "uint8";
|
|
6904
|
-
}, {
|
|
6905
|
-
readonly name: "who";
|
|
6906
|
-
readonly internalType: "address";
|
|
6907
|
-
readonly type: "address";
|
|
6908
|
-
}, {
|
|
6909
|
-
readonly name: "amount";
|
|
6910
|
-
readonly internalType: "uint256";
|
|
6911
|
-
readonly type: "uint256";
|
|
6912
|
-
}, {
|
|
6913
|
-
readonly name: "income";
|
|
6914
|
-
readonly internalType: "uint256";
|
|
6915
|
-
readonly type: "uint256";
|
|
6916
|
-
}, {
|
|
6917
|
-
readonly name: "Q";
|
|
6918
|
-
readonly internalType: "uint256";
|
|
6919
|
-
readonly type: "uint256";
|
|
6920
|
-
}, {
|
|
6921
|
-
readonly name: "L";
|
|
6922
|
-
readonly internalType: "uint256";
|
|
6923
|
-
readonly type: "uint256";
|
|
6924
|
-
}, {
|
|
6925
|
-
readonly name: "n";
|
|
6926
|
-
readonly internalType: "uint256";
|
|
6927
|
-
readonly type: "uint256";
|
|
6348
|
+
readonly name: "baseIn";
|
|
6349
|
+
readonly internalType: "bool";
|
|
6350
|
+
readonly type: "bool";
|
|
6928
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";
|
|
6929
6376
|
}];
|
|
6930
|
-
readonly name: "
|
|
6377
|
+
readonly name: "swapExactInPath";
|
|
6931
6378
|
readonly outputs: readonly [{
|
|
6932
|
-
readonly name: "";
|
|
6933
|
-
readonly internalType: "
|
|
6934
|
-
readonly type: "
|
|
6379
|
+
readonly name: "amountOut";
|
|
6380
|
+
readonly internalType: "uint256";
|
|
6381
|
+
readonly type: "uint256";
|
|
6935
6382
|
}];
|
|
6936
|
-
readonly stateMutability: "
|
|
6383
|
+
readonly stateMutability: "nonpayable";
|
|
6937
6384
|
}, {
|
|
6938
6385
|
readonly type: "function";
|
|
6939
6386
|
readonly inputs: readonly [{
|
|
6940
|
-
readonly name: "
|
|
6941
|
-
readonly internalType: "
|
|
6942
|
-
readonly type: "
|
|
6943
|
-
}
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
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";
|
|
6947
6400
|
readonly internalType: "bool";
|
|
6948
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";
|
|
6949
6418
|
}];
|
|
6950
|
-
readonly
|
|
6951
|
-
}, {
|
|
6952
|
-
readonly type: "function";
|
|
6953
|
-
readonly inputs: readonly [];
|
|
6954
|
-
readonly name: "mintTiers";
|
|
6419
|
+
readonly name: "swapExactOut";
|
|
6955
6420
|
readonly outputs: readonly [{
|
|
6956
|
-
readonly name: "";
|
|
6421
|
+
readonly name: "amountIn";
|
|
6957
6422
|
readonly internalType: "uint256";
|
|
6958
6423
|
readonly type: "uint256";
|
|
6959
6424
|
}];
|
|
6960
|
-
readonly stateMutability: "
|
|
6425
|
+
readonly stateMutability: "nonpayable";
|
|
6961
6426
|
}, {
|
|
6962
6427
|
readonly type: "function";
|
|
6963
6428
|
readonly inputs: readonly [{
|
|
6964
|
-
readonly name: "";
|
|
6965
|
-
readonly internalType: "
|
|
6966
|
-
readonly type: "
|
|
6429
|
+
readonly name: "data";
|
|
6430
|
+
readonly internalType: "bytes";
|
|
6431
|
+
readonly type: "bytes";
|
|
6967
6432
|
}];
|
|
6968
|
-
readonly name: "
|
|
6433
|
+
readonly name: "unlockCallback";
|
|
6969
6434
|
readonly outputs: readonly [{
|
|
6970
6435
|
readonly name: "";
|
|
6971
|
-
readonly internalType: "
|
|
6972
|
-
readonly type: "
|
|
6436
|
+
readonly internalType: "bytes";
|
|
6437
|
+
readonly type: "bytes";
|
|
6973
6438
|
}];
|
|
6974
|
-
readonly stateMutability: "
|
|
6439
|
+
readonly stateMutability: "nonpayable";
|
|
6975
6440
|
}, {
|
|
6976
6441
|
readonly type: "function";
|
|
6977
6442
|
readonly inputs: readonly [{
|
|
@@ -6979,256 +6444,271 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
6979
6444
|
readonly internalType: "bytes32";
|
|
6980
6445
|
readonly type: "bytes32";
|
|
6981
6446
|
}, {
|
|
6982
|
-
readonly name: "";
|
|
6447
|
+
readonly name: "base";
|
|
6983
6448
|
readonly internalType: "address";
|
|
6984
6449
|
readonly type: "address";
|
|
6985
6450
|
}, {
|
|
6986
|
-
readonly name: "
|
|
6987
|
-
readonly internalType: "
|
|
6988
|
-
readonly type: "
|
|
6989
|
-
readonly components: readonly [{
|
|
6990
|
-
readonly name: "base";
|
|
6991
|
-
readonly internalType: "address";
|
|
6992
|
-
readonly type: "address";
|
|
6993
|
-
}, {
|
|
6994
|
-
readonly name: "quote";
|
|
6995
|
-
readonly internalType: "address";
|
|
6996
|
-
readonly type: "address";
|
|
6997
|
-
}, {
|
|
6998
|
-
readonly name: "tickSpacing";
|
|
6999
|
-
readonly internalType: "int256";
|
|
7000
|
-
readonly type: "int256";
|
|
7001
|
-
}, {
|
|
7002
|
-
readonly name: "policy";
|
|
7003
|
-
readonly internalType: "address";
|
|
7004
|
-
readonly type: "address";
|
|
7005
|
-
}, {
|
|
7006
|
-
readonly name: "creator";
|
|
7007
|
-
readonly internalType: "address";
|
|
7008
|
-
readonly type: "address";
|
|
7009
|
-
}, {
|
|
7010
|
-
readonly name: "salt";
|
|
7011
|
-
readonly internalType: "bytes32";
|
|
7012
|
-
readonly type: "bytes32";
|
|
7013
|
-
}, {
|
|
7014
|
-
readonly name: "swapFee";
|
|
7015
|
-
readonly internalType: "uint256";
|
|
7016
|
-
readonly type: "uint256";
|
|
7017
|
-
}, {
|
|
7018
|
-
readonly name: "mintFee";
|
|
7019
|
-
readonly internalType: "uint256";
|
|
7020
|
-
readonly type: "uint256";
|
|
7021
|
-
}];
|
|
7022
|
-
}];
|
|
7023
|
-
readonly name: "onInitialize";
|
|
7024
|
-
readonly outputs: readonly [{
|
|
7025
|
-
readonly name: "";
|
|
7026
|
-
readonly internalType: "uint8";
|
|
7027
|
-
readonly type: "uint8";
|
|
6451
|
+
readonly name: "quote";
|
|
6452
|
+
readonly internalType: "address";
|
|
6453
|
+
readonly type: "address";
|
|
7028
6454
|
}, {
|
|
7029
|
-
readonly name: "";
|
|
6455
|
+
readonly name: "fromId";
|
|
7030
6456
|
readonly internalType: "uint256";
|
|
7031
6457
|
readonly type: "uint256";
|
|
7032
6458
|
}, {
|
|
7033
|
-
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";
|
|
7034
6484
|
readonly internalType: "address";
|
|
7035
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";
|
|
7036
6504
|
}];
|
|
7037
6505
|
readonly stateMutability: "nonpayable";
|
|
7038
6506
|
}, {
|
|
7039
6507
|
readonly type: "function";
|
|
7040
6508
|
readonly inputs: readonly [{
|
|
7041
|
-
readonly name: "";
|
|
6509
|
+
readonly name: "poolId";
|
|
7042
6510
|
readonly internalType: "bytes32";
|
|
7043
6511
|
readonly type: "bytes32";
|
|
7044
6512
|
}, {
|
|
7045
|
-
readonly name: "";
|
|
6513
|
+
readonly name: "base";
|
|
7046
6514
|
readonly internalType: "address";
|
|
7047
6515
|
readonly type: "address";
|
|
7048
6516
|
}, {
|
|
7049
|
-
readonly name: "";
|
|
7050
|
-
readonly internalType: "
|
|
7051
|
-
readonly type: "
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
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";
|
|
7073
6556
|
}];
|
|
7074
|
-
readonly name: "
|
|
6557
|
+
readonly name: "zapIn";
|
|
7075
6558
|
readonly outputs: readonly [{
|
|
7076
|
-
readonly name: "";
|
|
7077
|
-
readonly internalType: "
|
|
7078
|
-
readonly type: "
|
|
6559
|
+
readonly name: "baseIn";
|
|
6560
|
+
readonly internalType: "uint256";
|
|
6561
|
+
readonly type: "uint256";
|
|
7079
6562
|
}, {
|
|
7080
|
-
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";
|
|
7081
6596
|
readonly internalType: "uint256";
|
|
7082
6597
|
readonly type: "uint256";
|
|
7083
|
-
}, {
|
|
7084
|
-
readonly name: "";
|
|
7085
|
-
readonly internalType: "address";
|
|
7086
|
-
readonly type: "address";
|
|
7087
6598
|
}];
|
|
7088
|
-
readonly
|
|
6599
|
+
readonly name: "QuoteResult";
|
|
7089
6600
|
}, {
|
|
7090
|
-
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";
|
|
7091
6623
|
readonly inputs: readonly [{
|
|
7092
|
-
readonly name: "
|
|
7093
|
-
readonly internalType: "
|
|
7094
|
-
readonly type: "bytes32";
|
|
7095
|
-
}, {
|
|
7096
|
-
readonly name: "from";
|
|
7097
|
-
readonly internalType: "address";
|
|
7098
|
-
readonly type: "address";
|
|
7099
|
-
}, {
|
|
7100
|
-
readonly name: "";
|
|
7101
|
-
readonly internalType: "address";
|
|
6624
|
+
readonly name: "_mgr";
|
|
6625
|
+
readonly internalType: "contract ManagerF";
|
|
7102
6626
|
readonly type: "address";
|
|
7103
6627
|
}, {
|
|
7104
|
-
readonly name: "
|
|
6628
|
+
readonly name: "_permit2";
|
|
7105
6629
|
readonly internalType: "address";
|
|
7106
6630
|
readonly type: "address";
|
|
7107
|
-
}, {
|
|
7108
|
-
readonly name: "name_";
|
|
7109
|
-
readonly internalType: "bytes32";
|
|
7110
|
-
readonly type: "bytes32";
|
|
7111
|
-
}];
|
|
7112
|
-
readonly name: "onMigrate";
|
|
7113
|
-
readonly outputs: readonly [{
|
|
7114
|
-
readonly name: "";
|
|
7115
|
-
readonly internalType: "uint8";
|
|
7116
|
-
readonly type: "uint8";
|
|
7117
6631
|
}];
|
|
7118
6632
|
readonly stateMutability: "nonpayable";
|
|
7119
6633
|
}, {
|
|
7120
6634
|
readonly type: "function";
|
|
7121
6635
|
readonly inputs: readonly [{
|
|
7122
|
-
readonly name: "
|
|
7123
|
-
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";
|
|
7124
6642
|
readonly type: "tuple";
|
|
7125
6643
|
readonly components: readonly [{
|
|
7126
|
-
readonly name: "
|
|
7127
|
-
readonly internalType: "
|
|
7128
|
-
readonly type: "
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
readonly name: "income";
|
|
7147
|
-
readonly internalType: "uint256";
|
|
7148
|
-
readonly type: "uint256";
|
|
7149
|
-
}, {
|
|
7150
|
-
readonly name: "Q";
|
|
7151
|
-
readonly internalType: "uint256";
|
|
7152
|
-
readonly type: "uint256";
|
|
7153
|
-
}, {
|
|
7154
|
-
readonly name: "L";
|
|
7155
|
-
readonly internalType: "uint256";
|
|
7156
|
-
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
|
+
}];
|
|
7157
6664
|
}, {
|
|
7158
|
-
readonly name: "
|
|
7159
|
-
readonly internalType: "uint256";
|
|
7160
|
-
readonly type: "uint256";
|
|
7161
|
-
}];
|
|
7162
|
-
}];
|
|
7163
|
-
readonly name: "onRegenerate";
|
|
7164
|
-
readonly outputs: readonly [{
|
|
7165
|
-
readonly name: "t";
|
|
7166
|
-
readonly internalType: "struct IPolicy.Terms";
|
|
7167
|
-
readonly type: "tuple";
|
|
7168
|
-
readonly components: readonly [{
|
|
7169
|
-
readonly name: "payee";
|
|
6665
|
+
readonly name: "spender";
|
|
7170
6666
|
readonly internalType: "address";
|
|
7171
6667
|
readonly type: "address";
|
|
7172
6668
|
}, {
|
|
7173
|
-
readonly name: "
|
|
7174
|
-
readonly internalType: "uint256";
|
|
7175
|
-
readonly type: "uint256";
|
|
7176
|
-
}, {
|
|
7177
|
-
readonly name: "minQuoteRatio";
|
|
6669
|
+
readonly name: "sigDeadline";
|
|
7178
6670
|
readonly internalType: "uint256";
|
|
7179
6671
|
readonly type: "uint256";
|
|
7180
|
-
}, {
|
|
7181
|
-
readonly name: "carried";
|
|
7182
|
-
readonly internalType: "address";
|
|
7183
|
-
readonly type: "address";
|
|
7184
6672
|
}];
|
|
6673
|
+
}, {
|
|
6674
|
+
readonly name: "signature";
|
|
6675
|
+
readonly internalType: "bytes";
|
|
6676
|
+
readonly type: "bytes";
|
|
7185
6677
|
}];
|
|
6678
|
+
readonly name: "applyPermit2";
|
|
6679
|
+
readonly outputs: readonly [];
|
|
7186
6680
|
readonly stateMutability: "nonpayable";
|
|
7187
|
-
}, {
|
|
7188
|
-
readonly type: "function";
|
|
7189
|
-
readonly inputs: readonly [{
|
|
7190
|
-
readonly name: "";
|
|
7191
|
-
readonly internalType: "bytes32";
|
|
7192
|
-
readonly type: "bytes32";
|
|
7193
|
-
}];
|
|
7194
|
-
readonly name: "operator";
|
|
7195
|
-
readonly outputs: readonly [{
|
|
7196
|
-
readonly name: "";
|
|
7197
|
-
readonly internalType: "address";
|
|
7198
|
-
readonly type: "address";
|
|
7199
|
-
}];
|
|
7200
|
-
readonly stateMutability: "view";
|
|
7201
6681
|
}, {
|
|
7202
6682
|
readonly type: "function";
|
|
7203
6683
|
readonly inputs: readonly [];
|
|
7204
|
-
readonly name: "
|
|
6684
|
+
readonly name: "mgr";
|
|
7205
6685
|
readonly outputs: readonly [{
|
|
7206
6686
|
readonly name: "";
|
|
7207
|
-
readonly internalType: "
|
|
7208
|
-
readonly type: "
|
|
6687
|
+
readonly internalType: "contract ManagerF";
|
|
6688
|
+
readonly type: "address";
|
|
7209
6689
|
}];
|
|
7210
6690
|
readonly stateMutability: "view";
|
|
7211
6691
|
}, {
|
|
7212
6692
|
readonly type: "function";
|
|
7213
6693
|
readonly inputs: readonly [{
|
|
7214
|
-
readonly name: "";
|
|
7215
|
-
readonly internalType: "
|
|
7216
|
-
readonly type: "
|
|
6694
|
+
readonly name: "data";
|
|
6695
|
+
readonly internalType: "bytes[]";
|
|
6696
|
+
readonly type: "bytes[]";
|
|
7217
6697
|
}];
|
|
7218
|
-
readonly name: "
|
|
6698
|
+
readonly name: "multicall";
|
|
7219
6699
|
readonly outputs: readonly [{
|
|
7220
|
-
readonly name: "";
|
|
7221
|
-
readonly internalType: "
|
|
7222
|
-
readonly type: "
|
|
6700
|
+
readonly name: "results";
|
|
6701
|
+
readonly internalType: "bytes[]";
|
|
6702
|
+
readonly type: "bytes[]";
|
|
7223
6703
|
}];
|
|
7224
|
-
readonly stateMutability: "
|
|
6704
|
+
readonly stateMutability: "nonpayable";
|
|
7225
6705
|
}, {
|
|
7226
6706
|
readonly type: "function";
|
|
7227
6707
|
readonly inputs: readonly [];
|
|
7228
|
-
readonly name: "
|
|
6708
|
+
readonly name: "permit2";
|
|
7229
6709
|
readonly outputs: readonly [{
|
|
7230
6710
|
readonly name: "";
|
|
7231
|
-
readonly internalType: "
|
|
6711
|
+
readonly internalType: "contract IPermit2";
|
|
7232
6712
|
readonly type: "address";
|
|
7233
6713
|
}];
|
|
7234
6714
|
readonly stateMutability: "view";
|
|
@@ -7239,43 +6719,27 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
7239
6719
|
readonly internalType: "bytes32";
|
|
7240
6720
|
readonly type: "bytes32";
|
|
7241
6721
|
}, {
|
|
7242
|
-
readonly name: "
|
|
7243
|
-
readonly internalType: "
|
|
7244
|
-
readonly type: "
|
|
6722
|
+
readonly name: "kind";
|
|
6723
|
+
readonly internalType: "enum QuoteKind";
|
|
6724
|
+
readonly type: "uint8";
|
|
7245
6725
|
}, {
|
|
7246
|
-
readonly name: "
|
|
7247
|
-
readonly internalType: "
|
|
7248
|
-
readonly type: "
|
|
7249
|
-
}];
|
|
7250
|
-
readonly name: "setListed";
|
|
7251
|
-
readonly outputs: readonly [];
|
|
7252
|
-
readonly stateMutability: "nonpayable";
|
|
7253
|
-
}, {
|
|
7254
|
-
readonly type: "function";
|
|
7255
|
-
readonly inputs: readonly [{
|
|
7256
|
-
readonly name: "poolId";
|
|
7257
|
-
readonly internalType: "bytes32";
|
|
7258
|
-
readonly type: "bytes32";
|
|
6726
|
+
readonly name: "j";
|
|
6727
|
+
readonly internalType: "uint256";
|
|
6728
|
+
readonly type: "uint256";
|
|
7259
6729
|
}, {
|
|
7260
|
-
readonly name: "
|
|
7261
|
-
readonly internalType: "
|
|
7262
|
-
readonly type: "
|
|
7263
|
-
}];
|
|
7264
|
-
readonly name: "setMintGate";
|
|
7265
|
-
readonly outputs: readonly [];
|
|
7266
|
-
readonly stateMutability: "nonpayable";
|
|
7267
|
-
}, {
|
|
7268
|
-
readonly type: "function";
|
|
7269
|
-
readonly inputs: readonly [{
|
|
7270
|
-
readonly name: "poolId";
|
|
7271
|
-
readonly internalType: "bytes32";
|
|
7272
|
-
readonly type: "bytes32";
|
|
6730
|
+
readonly name: "k";
|
|
6731
|
+
readonly internalType: "uint256";
|
|
6732
|
+
readonly type: "uint256";
|
|
7273
6733
|
}, {
|
|
7274
|
-
readonly name: "
|
|
7275
|
-
readonly internalType: "
|
|
7276
|
-
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";
|
|
7277
6741
|
}];
|
|
7278
|
-
readonly name: "
|
|
6742
|
+
readonly name: "quoteSwap";
|
|
7279
6743
|
readonly outputs: readonly [];
|
|
7280
6744
|
readonly stateMutability: "nonpayable";
|
|
7281
6745
|
}, {
|
|
@@ -7285,286 +6749,207 @@ export declare const sponsorPolicyCAbi: readonly [{
|
|
|
7285
6749
|
readonly internalType: "bytes32";
|
|
7286
6750
|
readonly type: "bytes32";
|
|
7287
6751
|
}, {
|
|
7288
|
-
readonly name: "
|
|
7289
|
-
readonly internalType: "
|
|
7290
|
-
readonly type: "
|
|
7291
|
-
}
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
}, {
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
readonly name: "";
|
|
7301
|
-
readonly internalType: "
|
|
7302
|
-
readonly type: "
|
|
7303
|
-
}
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
readonly name: "";
|
|
7309
|
-
readonly internalType: "int256";
|
|
7310
|
-
readonly type: "int256";
|
|
7311
|
-
}];
|
|
7312
|
-
readonly name: "spacingListed";
|
|
7313
|
-
readonly outputs: readonly [{
|
|
7314
|
-
readonly name: "";
|
|
7315
|
-
readonly internalType: "bool";
|
|
7316
|
-
readonly type: "bool";
|
|
7317
|
-
}];
|
|
7318
|
-
readonly stateMutability: "view";
|
|
7319
|
-
}, {
|
|
7320
|
-
readonly type: "function";
|
|
7321
|
-
readonly inputs: readonly [];
|
|
7322
|
-
readonly name: "sponsor";
|
|
7323
|
-
readonly outputs: readonly [{
|
|
7324
|
-
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";
|
|
7325
6773
|
readonly internalType: "address";
|
|
7326
6774
|
readonly type: "address";
|
|
7327
|
-
}
|
|
7328
|
-
|
|
7329
|
-
}, {
|
|
7330
|
-
readonly type: "function";
|
|
7331
|
-
readonly inputs: readonly [{
|
|
7332
|
-
readonly name: "fee";
|
|
6775
|
+
}, {
|
|
6776
|
+
readonly name: "deadline";
|
|
7333
6777
|
readonly internalType: "uint256";
|
|
7334
6778
|
readonly type: "uint256";
|
|
7335
6779
|
}];
|
|
7336
|
-
readonly name: "
|
|
7337
|
-
readonly outputs: readonly [{
|
|
7338
|
-
readonly name: "";
|
|
7339
|
-
readonly internalType: "bool";
|
|
7340
|
-
readonly type: "bool";
|
|
7341
|
-
}];
|
|
7342
|
-
readonly stateMutability: "view";
|
|
7343
|
-
}, {
|
|
7344
|
-
readonly type: "function";
|
|
7345
|
-
readonly inputs: readonly [];
|
|
7346
|
-
readonly name: "swapFeeTax";
|
|
6780
|
+
readonly name: "rollIn";
|
|
7347
6781
|
readonly outputs: readonly [{
|
|
7348
|
-
readonly name: "";
|
|
6782
|
+
readonly name: "sharesOut";
|
|
7349
6783
|
readonly internalType: "uint256";
|
|
7350
6784
|
readonly type: "uint256";
|
|
7351
6785
|
}];
|
|
7352
|
-
readonly stateMutability: "
|
|
6786
|
+
readonly stateMutability: "nonpayable";
|
|
7353
6787
|
}, {
|
|
7354
6788
|
readonly type: "function";
|
|
7355
6789
|
readonly inputs: readonly [{
|
|
7356
|
-
readonly name: "";
|
|
6790
|
+
readonly name: "poolId";
|
|
7357
6791
|
readonly internalType: "bytes32";
|
|
7358
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";
|
|
7359
6821
|
}];
|
|
7360
|
-
readonly name: "
|
|
6822
|
+
readonly name: "swapExactIn";
|
|
7361
6823
|
readonly outputs: readonly [{
|
|
7362
|
-
readonly name: "";
|
|
7363
|
-
readonly internalType: "
|
|
7364
|
-
readonly type: "
|
|
6824
|
+
readonly name: "amountOut";
|
|
6825
|
+
readonly internalType: "uint256";
|
|
6826
|
+
readonly type: "uint256";
|
|
7365
6827
|
}];
|
|
7366
|
-
readonly stateMutability: "
|
|
6828
|
+
readonly stateMutability: "nonpayable";
|
|
7367
6829
|
}, {
|
|
7368
6830
|
readonly type: "function";
|
|
7369
|
-
readonly inputs: readonly [
|
|
7370
|
-
|
|
6831
|
+
readonly inputs: readonly [{
|
|
6832
|
+
readonly name: "data";
|
|
6833
|
+
readonly internalType: "bytes";
|
|
6834
|
+
readonly type: "bytes";
|
|
6835
|
+
}];
|
|
6836
|
+
readonly name: "unlockCallback";
|
|
7371
6837
|
readonly outputs: readonly [{
|
|
7372
6838
|
readonly name: "";
|
|
7373
|
-
readonly internalType: "
|
|
7374
|
-
readonly type: "
|
|
6839
|
+
readonly internalType: "bytes";
|
|
6840
|
+
readonly type: "bytes";
|
|
7375
6841
|
}];
|
|
7376
|
-
readonly stateMutability: "
|
|
6842
|
+
readonly stateMutability: "nonpayable";
|
|
7377
6843
|
}, {
|
|
7378
|
-
readonly type: "
|
|
7379
|
-
readonly anonymous: false;
|
|
6844
|
+
readonly type: "function";
|
|
7380
6845
|
readonly inputs: readonly [{
|
|
7381
6846
|
readonly name: "poolId";
|
|
7382
6847
|
readonly internalType: "bytes32";
|
|
7383
6848
|
readonly type: "bytes32";
|
|
7384
|
-
readonly indexed: true;
|
|
7385
6849
|
}, {
|
|
7386
|
-
readonly name: "
|
|
7387
|
-
readonly internalType: "
|
|
7388
|
-
readonly type: "
|
|
7389
|
-
readonly indexed: true;
|
|
6850
|
+
readonly name: "L";
|
|
6851
|
+
readonly internalType: "uint256";
|
|
6852
|
+
readonly type: "uint256";
|
|
7390
6853
|
}, {
|
|
7391
|
-
readonly name: "
|
|
7392
|
-
readonly internalType: "
|
|
7393
|
-
readonly type: "
|
|
7394
|
-
readonly indexed: true;
|
|
7395
|
-
}];
|
|
7396
|
-
readonly name: "AuthoritySet";
|
|
7397
|
-
}, {
|
|
7398
|
-
readonly type: "event";
|
|
7399
|
-
readonly anonymous: false;
|
|
7400
|
-
readonly inputs: readonly [{
|
|
7401
|
-
readonly name: "poolId";
|
|
7402
|
-
readonly internalType: "bytes32";
|
|
7403
|
-
readonly type: "bytes32";
|
|
7404
|
-
readonly indexed: true;
|
|
6854
|
+
readonly name: "maxQuoteIn";
|
|
6855
|
+
readonly internalType: "uint256";
|
|
6856
|
+
readonly type: "uint256";
|
|
7405
6857
|
}, {
|
|
7406
|
-
readonly name: "
|
|
6858
|
+
readonly name: "minShares";
|
|
6859
|
+
readonly internalType: "uint256";
|
|
6860
|
+
readonly type: "uint256";
|
|
6861
|
+
}, {
|
|
6862
|
+
readonly name: "to";
|
|
7407
6863
|
readonly internalType: "address";
|
|
7408
6864
|
readonly type: "address";
|
|
7409
|
-
readonly indexed: true;
|
|
7410
6865
|
}, {
|
|
7411
|
-
readonly name: "
|
|
7412
|
-
readonly internalType: "
|
|
7413
|
-
readonly type: "
|
|
7414
|
-
readonly indexed: false;
|
|
6866
|
+
readonly name: "deadline";
|
|
6867
|
+
readonly internalType: "uint256";
|
|
6868
|
+
readonly type: "uint256";
|
|
7415
6869
|
}];
|
|
7416
|
-
readonly name: "
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
readonly name: "poolId";
|
|
7422
|
-
readonly internalType: "bytes32";
|
|
7423
|
-
readonly type: "bytes32";
|
|
7424
|
-
readonly indexed: true;
|
|
7425
|
-
}, {
|
|
7426
|
-
readonly name: "gated";
|
|
7427
|
-
readonly internalType: "bool";
|
|
7428
|
-
readonly type: "bool";
|
|
7429
|
-
readonly indexed: false;
|
|
6870
|
+
readonly name: "zapIn";
|
|
6871
|
+
readonly outputs: readonly [{
|
|
6872
|
+
readonly name: "shares";
|
|
6873
|
+
readonly internalType: "uint256";
|
|
6874
|
+
readonly type: "uint256";
|
|
7430
6875
|
}];
|
|
7431
|
-
readonly
|
|
6876
|
+
readonly stateMutability: "nonpayable";
|
|
7432
6877
|
}, {
|
|
7433
|
-
readonly type: "
|
|
7434
|
-
readonly anonymous: false;
|
|
6878
|
+
readonly type: "function";
|
|
7435
6879
|
readonly inputs: readonly [{
|
|
7436
6880
|
readonly name: "poolId";
|
|
7437
6881
|
readonly internalType: "bytes32";
|
|
7438
6882
|
readonly type: "bytes32";
|
|
7439
|
-
readonly indexed: true;
|
|
7440
6883
|
}, {
|
|
7441
|
-
readonly name: "
|
|
7442
|
-
readonly internalType: "
|
|
7443
|
-
readonly type: "
|
|
7444
|
-
readonly indexed: false;
|
|
7445
|
-
}];
|
|
7446
|
-
readonly name: "NameSet";
|
|
7447
|
-
}, {
|
|
7448
|
-
readonly type: "event";
|
|
7449
|
-
readonly anonymous: false;
|
|
7450
|
-
readonly inputs: readonly [{
|
|
7451
|
-
readonly name: "poolId";
|
|
7452
|
-
readonly internalType: "bytes32";
|
|
7453
|
-
readonly type: "bytes32";
|
|
7454
|
-
readonly indexed: true;
|
|
6884
|
+
readonly name: "shares";
|
|
6885
|
+
readonly internalType: "uint256";
|
|
6886
|
+
readonly type: "uint256";
|
|
7455
6887
|
}, {
|
|
7456
|
-
readonly name: "
|
|
6888
|
+
readonly name: "tokenOut";
|
|
7457
6889
|
readonly internalType: "address";
|
|
7458
6890
|
readonly type: "address";
|
|
7459
|
-
readonly indexed: true;
|
|
7460
6891
|
}, {
|
|
7461
|
-
readonly name: "
|
|
6892
|
+
readonly name: "minOut";
|
|
6893
|
+
readonly internalType: "uint256";
|
|
6894
|
+
readonly type: "uint256";
|
|
6895
|
+
}, {
|
|
6896
|
+
readonly name: "to";
|
|
7462
6897
|
readonly internalType: "address";
|
|
7463
6898
|
readonly type: "address";
|
|
7464
|
-
readonly indexed: true;
|
|
7465
|
-
}];
|
|
7466
|
-
readonly name: "OperatorAppointed";
|
|
7467
|
-
}, {
|
|
7468
|
-
readonly type: "event";
|
|
7469
|
-
readonly anonymous: false;
|
|
7470
|
-
readonly inputs: readonly [{
|
|
7471
|
-
readonly name: "poolId";
|
|
7472
|
-
readonly internalType: "bytes32";
|
|
7473
|
-
readonly type: "bytes32";
|
|
7474
|
-
readonly indexed: true;
|
|
7475
6899
|
}, {
|
|
7476
|
-
readonly name: "
|
|
7477
|
-
readonly internalType: "
|
|
7478
|
-
readonly type: "
|
|
7479
|
-
readonly indexed: false;
|
|
6900
|
+
readonly name: "deadline";
|
|
6901
|
+
readonly internalType: "uint256";
|
|
6902
|
+
readonly type: "uint256";
|
|
7480
6903
|
}];
|
|
7481
|
-
readonly name: "
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
}
|
|
7487
|
-
readonly
|
|
7488
|
-
readonly inputs: readonly [];
|
|
7489
|
-
readonly name: "BadParams";
|
|
7490
|
-
}, {
|
|
7491
|
-
readonly type: "error";
|
|
7492
|
-
readonly inputs: readonly [];
|
|
7493
|
-
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";
|
|
7494
6911
|
}, {
|
|
7495
6912
|
readonly type: "error";
|
|
7496
6913
|
readonly inputs: readonly [];
|
|
7497
|
-
readonly name: "
|
|
6914
|
+
readonly name: "BadRecipient";
|
|
7498
6915
|
}, {
|
|
7499
6916
|
readonly type: "error";
|
|
7500
6917
|
readonly inputs: readonly [];
|
|
7501
|
-
readonly name: "
|
|
7502
|
-
}, {
|
|
7503
|
-
readonly type: "error";
|
|
7504
|
-
readonly inputs: readonly [{
|
|
7505
|
-
readonly name: "fee";
|
|
7506
|
-
readonly internalType: "uint256";
|
|
7507
|
-
readonly type: "uint256";
|
|
7508
|
-
}];
|
|
7509
|
-
readonly name: "FeeNotListed";
|
|
6918
|
+
readonly name: "DeadlineExceeded";
|
|
7510
6919
|
}, {
|
|
7511
6920
|
readonly type: "error";
|
|
7512
6921
|
readonly inputs: readonly [];
|
|
7513
|
-
readonly name: "
|
|
6922
|
+
readonly name: "DrainsBase";
|
|
7514
6923
|
}, {
|
|
7515
6924
|
readonly type: "error";
|
|
7516
6925
|
readonly inputs: readonly [];
|
|
7517
|
-
readonly name: "
|
|
6926
|
+
readonly name: "NotManager";
|
|
7518
6927
|
}, {
|
|
7519
6928
|
readonly type: "error";
|
|
7520
6929
|
readonly inputs: readonly [{
|
|
7521
|
-
readonly name: "
|
|
6930
|
+
readonly name: "amount";
|
|
7522
6931
|
readonly internalType: "uint256";
|
|
7523
6932
|
readonly type: "uint256";
|
|
7524
6933
|
}];
|
|
7525
|
-
readonly name: "
|
|
7526
|
-
}, {
|
|
7527
|
-
readonly type: "error";
|
|
7528
|
-
readonly inputs: readonly [];
|
|
7529
|
-
readonly name: "NoCreator";
|
|
7530
|
-
}, {
|
|
7531
|
-
readonly type: "error";
|
|
7532
|
-
readonly inputs: readonly [];
|
|
7533
|
-
readonly name: "NotAuthority";
|
|
6934
|
+
readonly name: "QuoteResult";
|
|
7534
6935
|
}, {
|
|
7535
6936
|
readonly type: "error";
|
|
7536
6937
|
readonly inputs: readonly [];
|
|
7537
|
-
readonly name: "
|
|
6938
|
+
readonly name: "SlippageIn";
|
|
7538
6939
|
}, {
|
|
7539
6940
|
readonly type: "error";
|
|
7540
6941
|
readonly inputs: readonly [];
|
|
7541
|
-
readonly name: "
|
|
6942
|
+
readonly name: "SlippageOut";
|
|
7542
6943
|
}, {
|
|
7543
6944
|
readonly type: "error";
|
|
7544
6945
|
readonly inputs: readonly [];
|
|
7545
|
-
readonly name: "
|
|
6946
|
+
readonly name: "UnsupportedOp";
|
|
7546
6947
|
}, {
|
|
7547
6948
|
readonly type: "error";
|
|
7548
6949
|
readonly inputs: readonly [];
|
|
7549
|
-
readonly name: "
|
|
7550
|
-
}, {
|
|
7551
|
-
readonly type: "error";
|
|
7552
|
-
readonly inputs: readonly [{
|
|
7553
|
-
readonly name: "quote";
|
|
7554
|
-
readonly internalType: "address";
|
|
7555
|
-
readonly type: "address";
|
|
7556
|
-
}];
|
|
7557
|
-
readonly name: "QuoteNotListed";
|
|
6950
|
+
readonly name: "WrongToken";
|
|
7558
6951
|
}, {
|
|
7559
6952
|
readonly type: "error";
|
|
7560
6953
|
readonly inputs: readonly [];
|
|
7561
|
-
readonly name: "
|
|
7562
|
-
}, {
|
|
7563
|
-
readonly type: "error";
|
|
7564
|
-
readonly inputs: readonly [{
|
|
7565
|
-
readonly name: "tickSpacing";
|
|
7566
|
-
readonly internalType: "int256";
|
|
7567
|
-
readonly type: "int256";
|
|
7568
|
-
}];
|
|
7569
|
-
readonly name: "SpacingNotListed";
|
|
6954
|
+
readonly name: "ZeroAmount";
|
|
7570
6955
|
}];
|