@logswap/sdk 0.5.49 → 0.5.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin.d.ts +72 -14
- package/dist/admin.js +116 -19
- package/dist/client.d.ts +7 -1
- package/dist/client.js +8 -2
- package/dist/fpool.d.ts +234 -46
- package/dist/fpool.js +122 -66
- package/dist/generated.d.ts +1328 -288
- package/dist/generated.js +866 -158
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/admin.ts +139 -19
- package/src/client.ts +14 -2
- package/src/fpool.ts +171 -105
- package/src/generated.ts +872 -160
- package/src/index.ts +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -1685,6 +1685,10 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
1685
1685
|
readonly name: "_feeCollector";
|
|
1686
1686
|
readonly internalType: "address";
|
|
1687
1687
|
readonly type: "address";
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly name: "_registry";
|
|
1690
|
+
readonly internalType: "address";
|
|
1691
|
+
readonly type: "address";
|
|
1688
1692
|
}];
|
|
1689
1693
|
readonly stateMutability: "nonpayable";
|
|
1690
1694
|
}, {
|
|
@@ -1825,16 +1829,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
1825
1829
|
readonly type: "uint256";
|
|
1826
1830
|
}];
|
|
1827
1831
|
readonly stateMutability: "view";
|
|
1828
|
-
}, {
|
|
1829
|
-
readonly type: "function";
|
|
1830
|
-
readonly inputs: readonly [];
|
|
1831
|
-
readonly name: "boundary";
|
|
1832
|
-
readonly outputs: readonly [{
|
|
1833
|
-
readonly name: "";
|
|
1834
|
-
readonly internalType: "contract FPoolBoundary";
|
|
1835
|
-
readonly type: "address";
|
|
1836
|
-
}];
|
|
1837
|
-
readonly stateMutability: "view";
|
|
1838
1832
|
}, {
|
|
1839
1833
|
readonly type: "function";
|
|
1840
1834
|
readonly inputs: readonly [{
|
|
@@ -2067,10 +2061,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2067
2061
|
readonly name: "policy";
|
|
2068
2062
|
readonly internalType: "address";
|
|
2069
2063
|
readonly type: "address";
|
|
2070
|
-
}, {
|
|
2071
|
-
readonly name: "kind";
|
|
2072
|
-
readonly internalType: "enum Kind";
|
|
2073
|
-
readonly type: "uint8";
|
|
2074
2064
|
}, {
|
|
2075
2065
|
readonly name: "seeded";
|
|
2076
2066
|
readonly internalType: "bool";
|
|
@@ -2111,10 +2101,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2111
2101
|
readonly name: "theta0";
|
|
2112
2102
|
readonly internalType: "int256";
|
|
2113
2103
|
readonly type: "int256";
|
|
2114
|
-
}, {
|
|
2115
|
-
readonly name: "name";
|
|
2116
|
-
readonly internalType: "bytes32";
|
|
2117
|
-
readonly type: "bytes32";
|
|
2118
2104
|
}];
|
|
2119
2105
|
}];
|
|
2120
2106
|
readonly stateMutability: "view";
|
|
@@ -2145,7 +2131,7 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2145
2131
|
}];
|
|
2146
2132
|
readonly name: "harvestable";
|
|
2147
2133
|
readonly outputs: readonly [{
|
|
2148
|
-
readonly name: "
|
|
2134
|
+
readonly name: "";
|
|
2149
2135
|
readonly internalType: "uint256";
|
|
2150
2136
|
readonly type: "uint256";
|
|
2151
2137
|
}];
|
|
@@ -2172,10 +2158,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2172
2158
|
readonly name: "phi";
|
|
2173
2159
|
readonly internalType: "uint256";
|
|
2174
2160
|
readonly type: "uint256";
|
|
2175
|
-
}, {
|
|
2176
|
-
readonly name: "kind";
|
|
2177
|
-
readonly internalType: "enum Kind";
|
|
2178
|
-
readonly type: "uint8";
|
|
2179
2161
|
}, {
|
|
2180
2162
|
readonly name: "policy";
|
|
2181
2163
|
readonly internalType: "address";
|
|
@@ -2219,10 +2201,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2219
2201
|
readonly name: "phi";
|
|
2220
2202
|
readonly internalType: "uint256";
|
|
2221
2203
|
readonly type: "uint256";
|
|
2222
|
-
}, {
|
|
2223
|
-
readonly name: "kind";
|
|
2224
|
-
readonly internalType: "enum Kind";
|
|
2225
|
-
readonly type: "uint8";
|
|
2226
2204
|
}, {
|
|
2227
2205
|
readonly name: "policy";
|
|
2228
2206
|
readonly internalType: "address";
|
|
@@ -2408,24 +2386,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2408
2386
|
readonly type: "uint256";
|
|
2409
2387
|
}];
|
|
2410
2388
|
readonly stateMutability: "view";
|
|
2411
|
-
}, {
|
|
2412
|
-
readonly type: "function";
|
|
2413
|
-
readonly inputs: readonly [{
|
|
2414
|
-
readonly name: "";
|
|
2415
|
-
readonly internalType: "enum Kind";
|
|
2416
|
-
readonly type: "uint8";
|
|
2417
|
-
}, {
|
|
2418
|
-
readonly name: "";
|
|
2419
|
-
readonly internalType: "address";
|
|
2420
|
-
readonly type: "address";
|
|
2421
|
-
}];
|
|
2422
|
-
readonly name: "policyApproved";
|
|
2423
|
-
readonly outputs: readonly [{
|
|
2424
|
-
readonly name: "";
|
|
2425
|
-
readonly internalType: "bool";
|
|
2426
|
-
readonly type: "bool";
|
|
2427
|
-
}];
|
|
2428
|
-
readonly stateMutability: "view";
|
|
2429
2389
|
}, {
|
|
2430
2390
|
readonly type: "function";
|
|
2431
2391
|
readonly inputs: readonly [{
|
|
@@ -2450,36 +2410,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2450
2410
|
readonly name: "proposeCollector";
|
|
2451
2411
|
readonly outputs: readonly [];
|
|
2452
2412
|
readonly stateMutability: "nonpayable";
|
|
2453
|
-
}, {
|
|
2454
|
-
readonly type: "function";
|
|
2455
|
-
readonly inputs: readonly [{
|
|
2456
|
-
readonly name: "poolId";
|
|
2457
|
-
readonly internalType: "bytes32";
|
|
2458
|
-
readonly type: "bytes32";
|
|
2459
|
-
}, {
|
|
2460
|
-
readonly name: "kind";
|
|
2461
|
-
readonly internalType: "enum FPoolManager.QuoteKind";
|
|
2462
|
-
readonly type: "uint8";
|
|
2463
|
-
}, {
|
|
2464
|
-
readonly name: "j";
|
|
2465
|
-
readonly internalType: "uint256";
|
|
2466
|
-
readonly type: "uint256";
|
|
2467
|
-
}, {
|
|
2468
|
-
readonly name: "k";
|
|
2469
|
-
readonly internalType: "uint256";
|
|
2470
|
-
readonly type: "uint256";
|
|
2471
|
-
}, {
|
|
2472
|
-
readonly name: "amountIn";
|
|
2473
|
-
readonly internalType: "uint256";
|
|
2474
|
-
readonly type: "uint256";
|
|
2475
|
-
}, {
|
|
2476
|
-
readonly name: "taker";
|
|
2477
|
-
readonly internalType: "address";
|
|
2478
|
-
readonly type: "address";
|
|
2479
|
-
}];
|
|
2480
|
-
readonly name: "quoteSwap";
|
|
2481
|
-
readonly outputs: readonly [];
|
|
2482
|
-
readonly stateMutability: "nonpayable";
|
|
2483
2413
|
}, {
|
|
2484
2414
|
readonly type: "function";
|
|
2485
2415
|
readonly inputs: readonly [{
|
|
@@ -2520,6 +2450,16 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2520
2450
|
readonly name: "regenerate";
|
|
2521
2451
|
readonly outputs: readonly [];
|
|
2522
2452
|
readonly stateMutability: "nonpayable";
|
|
2453
|
+
}, {
|
|
2454
|
+
readonly type: "function";
|
|
2455
|
+
readonly inputs: readonly [];
|
|
2456
|
+
readonly name: "registry";
|
|
2457
|
+
readonly outputs: readonly [{
|
|
2458
|
+
readonly name: "";
|
|
2459
|
+
readonly internalType: "contract PolicyRegistry";
|
|
2460
|
+
readonly type: "address";
|
|
2461
|
+
}];
|
|
2462
|
+
readonly stateMutability: "view";
|
|
2523
2463
|
}, {
|
|
2524
2464
|
readonly type: "function";
|
|
2525
2465
|
readonly inputs: readonly [{
|
|
@@ -2577,11 +2517,15 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2577
2517
|
}, {
|
|
2578
2518
|
readonly type: "function";
|
|
2579
2519
|
readonly inputs: readonly [{
|
|
2580
|
-
readonly name: "
|
|
2581
|
-
readonly internalType: "
|
|
2582
|
-
readonly type: "
|
|
2520
|
+
readonly name: "poolId";
|
|
2521
|
+
readonly internalType: "bytes32";
|
|
2522
|
+
readonly type: "bytes32";
|
|
2523
|
+
}, {
|
|
2524
|
+
readonly name: "asks";
|
|
2525
|
+
readonly internalType: "uint8";
|
|
2526
|
+
readonly type: "uint8";
|
|
2583
2527
|
}];
|
|
2584
|
-
readonly name: "
|
|
2528
|
+
readonly name: "setAsks";
|
|
2585
2529
|
readonly outputs: readonly [];
|
|
2586
2530
|
readonly stateMutability: "nonpayable";
|
|
2587
2531
|
}, {
|
|
@@ -2602,20 +2546,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2602
2546
|
readonly name: "setLegs";
|
|
2603
2547
|
readonly outputs: readonly [];
|
|
2604
2548
|
readonly stateMutability: "nonpayable";
|
|
2605
|
-
}, {
|
|
2606
|
-
readonly type: "function";
|
|
2607
|
-
readonly inputs: readonly [{
|
|
2608
|
-
readonly name: "poolId";
|
|
2609
|
-
readonly internalType: "bytes32";
|
|
2610
|
-
readonly type: "bytes32";
|
|
2611
|
-
}, {
|
|
2612
|
-
readonly name: "name_";
|
|
2613
|
-
readonly internalType: "bytes32";
|
|
2614
|
-
readonly type: "bytes32";
|
|
2615
|
-
}];
|
|
2616
|
-
readonly name: "setName";
|
|
2617
|
-
readonly outputs: readonly [];
|
|
2618
|
-
readonly stateMutability: "nonpayable";
|
|
2619
2549
|
}, {
|
|
2620
2550
|
readonly type: "function";
|
|
2621
2551
|
readonly inputs: readonly [{
|
|
@@ -2637,33 +2567,19 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2637
2567
|
}, {
|
|
2638
2568
|
readonly type: "function";
|
|
2639
2569
|
readonly inputs: readonly [{
|
|
2640
|
-
readonly name: "
|
|
2641
|
-
readonly internalType: "
|
|
2642
|
-
readonly type: "
|
|
2643
|
-
}, {
|
|
2644
|
-
readonly name: "policy";
|
|
2645
|
-
readonly internalType: "address";
|
|
2646
|
-
readonly type: "address";
|
|
2570
|
+
readonly name: "poolId";
|
|
2571
|
+
readonly internalType: "bytes32";
|
|
2572
|
+
readonly type: "bytes32";
|
|
2647
2573
|
}, {
|
|
2648
|
-
readonly name: "
|
|
2649
|
-
readonly internalType: "bool";
|
|
2650
|
-
readonly type: "bool";
|
|
2651
|
-
}];
|
|
2652
|
-
readonly name: "setPolicyApproved";
|
|
2653
|
-
readonly outputs: readonly [];
|
|
2654
|
-
readonly stateMutability: "nonpayable";
|
|
2655
|
-
}, {
|
|
2656
|
-
readonly type: "function";
|
|
2657
|
-
readonly inputs: readonly [{
|
|
2658
|
-
readonly name: "who";
|
|
2574
|
+
readonly name: "to";
|
|
2659
2575
|
readonly internalType: "address";
|
|
2660
2576
|
readonly type: "address";
|
|
2661
2577
|
}, {
|
|
2662
|
-
readonly name: "
|
|
2663
|
-
readonly internalType: "
|
|
2664
|
-
readonly type: "
|
|
2578
|
+
readonly name: "asks";
|
|
2579
|
+
readonly internalType: "uint8";
|
|
2580
|
+
readonly type: "uint8";
|
|
2665
2581
|
}];
|
|
2666
|
-
readonly name: "
|
|
2582
|
+
readonly name: "setPolicy";
|
|
2667
2583
|
readonly outputs: readonly [];
|
|
2668
2584
|
readonly stateMutability: "nonpayable";
|
|
2669
2585
|
}, {
|
|
@@ -2697,17 +2613,13 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2697
2613
|
}, {
|
|
2698
2614
|
readonly type: "function";
|
|
2699
2615
|
readonly inputs: readonly [{
|
|
2700
|
-
readonly name: "";
|
|
2701
|
-
readonly internalType: "address";
|
|
2702
|
-
readonly type: "address";
|
|
2703
|
-
}];
|
|
2704
|
-
readonly name: "sponsorName";
|
|
2705
|
-
readonly outputs: readonly [{
|
|
2706
|
-
readonly name: "";
|
|
2616
|
+
readonly name: "poolId";
|
|
2707
2617
|
readonly internalType: "bytes32";
|
|
2708
2618
|
readonly type: "bytes32";
|
|
2709
2619
|
}];
|
|
2710
|
-
readonly
|
|
2620
|
+
readonly name: "stamp";
|
|
2621
|
+
readonly outputs: readonly [];
|
|
2622
|
+
readonly stateMutability: "nonpayable";
|
|
2711
2623
|
}, {
|
|
2712
2624
|
readonly type: "function";
|
|
2713
2625
|
readonly inputs: readonly [{
|
|
@@ -2997,6 +2909,21 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
2997
2909
|
readonly indexed: false;
|
|
2998
2910
|
}];
|
|
2999
2911
|
readonly name: "Approval";
|
|
2912
|
+
}, {
|
|
2913
|
+
readonly type: "event";
|
|
2914
|
+
readonly anonymous: false;
|
|
2915
|
+
readonly inputs: readonly [{
|
|
2916
|
+
readonly name: "poolId";
|
|
2917
|
+
readonly internalType: "bytes32";
|
|
2918
|
+
readonly type: "bytes32";
|
|
2919
|
+
readonly indexed: true;
|
|
2920
|
+
}, {
|
|
2921
|
+
readonly name: "asks";
|
|
2922
|
+
readonly internalType: "uint8";
|
|
2923
|
+
readonly type: "uint8";
|
|
2924
|
+
readonly indexed: false;
|
|
2925
|
+
}];
|
|
2926
|
+
readonly name: "AsksSet";
|
|
3000
2927
|
}, {
|
|
3001
2928
|
readonly type: "event";
|
|
3002
2929
|
readonly anonymous: false;
|
|
@@ -3082,16 +3009,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3082
3009
|
readonly indexed: false;
|
|
3083
3010
|
}];
|
|
3084
3011
|
readonly name: "DividendClaimed";
|
|
3085
|
-
}, {
|
|
3086
|
-
readonly type: "event";
|
|
3087
|
-
readonly anonymous: false;
|
|
3088
|
-
readonly inputs: readonly [{
|
|
3089
|
-
readonly name: "mintFeeProtocolCut";
|
|
3090
|
-
readonly internalType: "uint256";
|
|
3091
|
-
readonly type: "uint256";
|
|
3092
|
-
readonly indexed: false;
|
|
3093
|
-
}];
|
|
3094
|
-
readonly name: "FeeParamsSet";
|
|
3095
3012
|
}, {
|
|
3096
3013
|
readonly type: "event";
|
|
3097
3014
|
readonly anonymous: false;
|
|
@@ -3155,11 +3072,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3155
3072
|
readonly internalType: "uint256";
|
|
3156
3073
|
readonly type: "uint256";
|
|
3157
3074
|
readonly indexed: false;
|
|
3158
|
-
}, {
|
|
3159
|
-
readonly name: "kind";
|
|
3160
|
-
readonly internalType: "enum Kind";
|
|
3161
|
-
readonly type: "uint8";
|
|
3162
|
-
readonly indexed: false;
|
|
3163
3075
|
}, {
|
|
3164
3076
|
readonly name: "policy";
|
|
3165
3077
|
readonly internalType: "address";
|
|
@@ -3222,21 +3134,6 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3222
3134
|
readonly indexed: false;
|
|
3223
3135
|
}];
|
|
3224
3136
|
readonly name: "Mint";
|
|
3225
|
-
}, {
|
|
3226
|
-
readonly type: "event";
|
|
3227
|
-
readonly anonymous: false;
|
|
3228
|
-
readonly inputs: readonly [{
|
|
3229
|
-
readonly name: "poolId";
|
|
3230
|
-
readonly internalType: "bytes32";
|
|
3231
|
-
readonly type: "bytes32";
|
|
3232
|
-
readonly indexed: true;
|
|
3233
|
-
}, {
|
|
3234
|
-
readonly name: "name";
|
|
3235
|
-
readonly internalType: "bytes32";
|
|
3236
|
-
readonly type: "bytes32";
|
|
3237
|
-
readonly indexed: false;
|
|
3238
|
-
}];
|
|
3239
|
-
readonly name: "NameSet";
|
|
3240
3137
|
}, {
|
|
3241
3138
|
readonly type: "event";
|
|
3242
3139
|
readonly anonymous: false;
|
|
@@ -3261,22 +3158,27 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3261
3158
|
readonly type: "event";
|
|
3262
3159
|
readonly anonymous: false;
|
|
3263
3160
|
readonly inputs: readonly [{
|
|
3264
|
-
readonly name: "
|
|
3265
|
-
readonly internalType: "
|
|
3266
|
-
readonly type: "
|
|
3161
|
+
readonly name: "poolId";
|
|
3162
|
+
readonly internalType: "bytes32";
|
|
3163
|
+
readonly type: "bytes32";
|
|
3267
3164
|
readonly indexed: true;
|
|
3268
3165
|
}, {
|
|
3269
|
-
readonly name: "
|
|
3166
|
+
readonly name: "from";
|
|
3270
3167
|
readonly internalType: "address";
|
|
3271
3168
|
readonly type: "address";
|
|
3272
3169
|
readonly indexed: true;
|
|
3273
3170
|
}, {
|
|
3274
|
-
readonly name: "
|
|
3275
|
-
readonly internalType: "
|
|
3276
|
-
readonly type: "
|
|
3171
|
+
readonly name: "to";
|
|
3172
|
+
readonly internalType: "address";
|
|
3173
|
+
readonly type: "address";
|
|
3174
|
+
readonly indexed: true;
|
|
3175
|
+
}, {
|
|
3176
|
+
readonly name: "asks";
|
|
3177
|
+
readonly internalType: "uint8";
|
|
3178
|
+
readonly type: "uint8";
|
|
3277
3179
|
readonly indexed: false;
|
|
3278
3180
|
}];
|
|
3279
|
-
readonly name: "
|
|
3181
|
+
readonly name: "PolicyMigrated";
|
|
3280
3182
|
}, {
|
|
3281
3183
|
readonly type: "event";
|
|
3282
3184
|
readonly anonymous: false;
|
|
@@ -3431,17 +3333,12 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3431
3333
|
readonly type: "event";
|
|
3432
3334
|
readonly anonymous: false;
|
|
3433
3335
|
readonly inputs: readonly [{
|
|
3434
|
-
readonly name: "
|
|
3435
|
-
readonly internalType: "address";
|
|
3436
|
-
readonly type: "address";
|
|
3437
|
-
readonly indexed: true;
|
|
3438
|
-
}, {
|
|
3439
|
-
readonly name: "name";
|
|
3336
|
+
readonly name: "poolId";
|
|
3440
3337
|
readonly internalType: "bytes32";
|
|
3441
3338
|
readonly type: "bytes32";
|
|
3442
|
-
readonly indexed:
|
|
3339
|
+
readonly indexed: true;
|
|
3443
3340
|
}];
|
|
3444
|
-
readonly name: "
|
|
3341
|
+
readonly name: "Stamped";
|
|
3445
3342
|
}, {
|
|
3446
3343
|
readonly type: "event";
|
|
3447
3344
|
readonly anonymous: false;
|
|
@@ -3596,7 +3493,11 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3596
3493
|
}, {
|
|
3597
3494
|
readonly type: "error";
|
|
3598
3495
|
readonly inputs: readonly [];
|
|
3599
|
-
readonly name: "
|
|
3496
|
+
readonly name: "NotPolicy";
|
|
3497
|
+
}, {
|
|
3498
|
+
readonly type: "error";
|
|
3499
|
+
readonly inputs: readonly [];
|
|
3500
|
+
readonly name: "NotRegistry";
|
|
3600
3501
|
}, {
|
|
3601
3502
|
readonly type: "error";
|
|
3602
3503
|
readonly inputs: readonly [];
|
|
@@ -3674,55 +3575,141 @@ export declare const fPoolManagerAbi: readonly [{
|
|
|
3674
3575
|
readonly inputs: readonly [];
|
|
3675
3576
|
readonly name: "ZeroAmount";
|
|
3676
3577
|
}];
|
|
3677
|
-
export declare const
|
|
3678
|
-
readonly type: "
|
|
3578
|
+
export declare const ifPoolManagerMoveAbi: readonly [{
|
|
3579
|
+
readonly type: "function";
|
|
3679
3580
|
readonly inputs: readonly [{
|
|
3680
|
-
readonly name: "
|
|
3681
|
-
readonly internalType: "
|
|
3682
|
-
readonly type: "
|
|
3683
|
-
}, {
|
|
3684
|
-
readonly name: "_fmgr";
|
|
3685
|
-
readonly internalType: "contract FPoolManager";
|
|
3686
|
-
readonly type: "address";
|
|
3581
|
+
readonly name: "poolId";
|
|
3582
|
+
readonly internalType: "bytes32";
|
|
3583
|
+
readonly type: "bytes32";
|
|
3687
3584
|
}];
|
|
3688
|
-
readonly
|
|
3689
|
-
}, {
|
|
3690
|
-
readonly type: "function";
|
|
3691
|
-
readonly inputs: readonly [];
|
|
3692
|
-
readonly name: "cParams";
|
|
3585
|
+
readonly name: "getPool";
|
|
3693
3586
|
readonly outputs: readonly [{
|
|
3694
|
-
readonly name: "
|
|
3695
|
-
readonly internalType: "
|
|
3696
|
-
readonly type: "
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3587
|
+
readonly name: "";
|
|
3588
|
+
readonly internalType: "struct FPoolBase.Pool";
|
|
3589
|
+
readonly type: "tuple";
|
|
3590
|
+
readonly components: readonly [{
|
|
3591
|
+
readonly name: "quote";
|
|
3592
|
+
readonly internalType: "address";
|
|
3593
|
+
readonly type: "address";
|
|
3594
|
+
}, {
|
|
3595
|
+
readonly name: "phi";
|
|
3596
|
+
readonly internalType: "uint96";
|
|
3597
|
+
readonly type: "uint96";
|
|
3598
|
+
}, {
|
|
3599
|
+
readonly name: "policy";
|
|
3600
|
+
readonly internalType: "address";
|
|
3601
|
+
readonly type: "address";
|
|
3602
|
+
}, {
|
|
3603
|
+
readonly name: "seeded";
|
|
3604
|
+
readonly internalType: "bool";
|
|
3605
|
+
readonly type: "bool";
|
|
3606
|
+
}, {
|
|
3607
|
+
readonly name: "gen";
|
|
3608
|
+
readonly internalType: "uint16";
|
|
3609
|
+
readonly type: "uint16";
|
|
3610
|
+
}, {
|
|
3611
|
+
readonly name: "n";
|
|
3612
|
+
readonly internalType: "uint8";
|
|
3613
|
+
readonly type: "uint8";
|
|
3614
|
+
}, {
|
|
3615
|
+
readonly name: "restructureBlock";
|
|
3616
|
+
readonly internalType: "uint32";
|
|
3617
|
+
readonly type: "uint32";
|
|
3618
|
+
}, {
|
|
3619
|
+
readonly name: "asks";
|
|
3620
|
+
readonly internalType: "uint8";
|
|
3621
|
+
readonly type: "uint8";
|
|
3622
|
+
}, {
|
|
3623
|
+
readonly name: "Q";
|
|
3624
|
+
readonly internalType: "uint128";
|
|
3625
|
+
readonly type: "uint128";
|
|
3626
|
+
}, {
|
|
3627
|
+
readonly name: "bigSigma";
|
|
3628
|
+
readonly internalType: "uint128";
|
|
3629
|
+
readonly type: "uint128";
|
|
3630
|
+
}, {
|
|
3631
|
+
readonly name: "L";
|
|
3632
|
+
readonly internalType: "uint256";
|
|
3633
|
+
readonly type: "uint256";
|
|
3634
|
+
}, {
|
|
3635
|
+
readonly name: "shares";
|
|
3636
|
+
readonly internalType: "uint256";
|
|
3637
|
+
readonly type: "uint256";
|
|
3638
|
+
}, {
|
|
3639
|
+
readonly name: "theta0";
|
|
3640
|
+
readonly internalType: "int256";
|
|
3641
|
+
readonly type: "int256";
|
|
3642
|
+
}];
|
|
3643
|
+
}];
|
|
3644
|
+
readonly stateMutability: "view";
|
|
3645
|
+
}, {
|
|
3646
|
+
readonly type: "function";
|
|
3647
|
+
readonly inputs: readonly [{
|
|
3648
|
+
readonly name: "poolId";
|
|
3649
|
+
readonly internalType: "bytes32";
|
|
3650
|
+
readonly type: "bytes32";
|
|
3651
|
+
}, {
|
|
3652
|
+
readonly name: "to";
|
|
3653
|
+
readonly internalType: "address";
|
|
3654
|
+
readonly type: "address";
|
|
3655
|
+
}, {
|
|
3656
|
+
readonly name: "asks";
|
|
3657
|
+
readonly internalType: "uint8";
|
|
3658
|
+
readonly type: "uint8";
|
|
3659
|
+
}];
|
|
3660
|
+
readonly name: "setPolicy";
|
|
3661
|
+
readonly outputs: readonly [];
|
|
3662
|
+
readonly stateMutability: "nonpayable";
|
|
3663
|
+
}];
|
|
3664
|
+
export declare const logswapLensAbi: readonly [{
|
|
3665
|
+
readonly type: "constructor";
|
|
3666
|
+
readonly inputs: readonly [{
|
|
3667
|
+
readonly name: "_mgr";
|
|
3668
|
+
readonly internalType: "contract CPoolManager";
|
|
3669
|
+
readonly type: "address";
|
|
3670
|
+
}, {
|
|
3671
|
+
readonly name: "_fmgr";
|
|
3672
|
+
readonly internalType: "contract FPoolManager";
|
|
3673
|
+
readonly type: "address";
|
|
3674
|
+
}];
|
|
3675
|
+
readonly stateMutability: "nonpayable";
|
|
3676
|
+
}, {
|
|
3677
|
+
readonly type: "function";
|
|
3678
|
+
readonly inputs: readonly [];
|
|
3679
|
+
readonly name: "cParams";
|
|
3680
|
+
readonly outputs: readonly [{
|
|
3681
|
+
readonly name: "feeMax";
|
|
3682
|
+
readonly internalType: "uint256";
|
|
3683
|
+
readonly type: "uint256";
|
|
3684
|
+
}, {
|
|
3685
|
+
readonly name: "feeMin";
|
|
3686
|
+
readonly internalType: "uint256";
|
|
3687
|
+
readonly type: "uint256";
|
|
3688
|
+
}, {
|
|
3689
|
+
readonly name: "defaultFee";
|
|
3690
|
+
readonly internalType: "uint256";
|
|
3691
|
+
readonly type: "uint256";
|
|
3692
|
+
}, {
|
|
3693
|
+
readonly name: "mintFee";
|
|
3694
|
+
readonly internalType: "uint256";
|
|
3695
|
+
readonly type: "uint256";
|
|
3696
|
+
}, {
|
|
3697
|
+
readonly name: "minTickSpacing";
|
|
3698
|
+
readonly internalType: "int256";
|
|
3699
|
+
readonly type: "int256";
|
|
3700
|
+
}, {
|
|
3701
|
+
readonly name: "noCap";
|
|
3702
|
+
readonly internalType: "int256";
|
|
3703
|
+
readonly type: "int256";
|
|
3704
|
+
}, {
|
|
3705
|
+
readonly name: "cVersion";
|
|
3706
|
+
readonly internalType: "uint256";
|
|
3707
|
+
readonly type: "uint256";
|
|
3708
|
+
}];
|
|
3709
|
+
readonly stateMutability: "pure";
|
|
3710
|
+
}, {
|
|
3711
|
+
readonly type: "function";
|
|
3712
|
+
readonly inputs: readonly [{
|
|
3726
3713
|
readonly name: "key";
|
|
3727
3714
|
readonly internalType: "struct PoolKey";
|
|
3728
3715
|
readonly type: "tuple";
|
|
@@ -3951,10 +3938,6 @@ export declare const logswapLensAbi: readonly [{
|
|
|
3951
3938
|
readonly name: "policy";
|
|
3952
3939
|
readonly internalType: "address";
|
|
3953
3940
|
readonly type: "address";
|
|
3954
|
-
}, {
|
|
3955
|
-
readonly name: "kind";
|
|
3956
|
-
readonly internalType: "enum Kind";
|
|
3957
|
-
readonly type: "uint8";
|
|
3958
3941
|
}, {
|
|
3959
3942
|
readonly name: "seeded";
|
|
3960
3943
|
readonly internalType: "bool";
|
|
@@ -3995,10 +3978,6 @@ export declare const logswapLensAbi: readonly [{
|
|
|
3995
3978
|
readonly name: "theta0";
|
|
3996
3979
|
readonly internalType: "int256";
|
|
3997
3980
|
readonly type: "int256";
|
|
3998
|
-
}, {
|
|
3999
|
-
readonly name: "name";
|
|
4000
|
-
readonly internalType: "bytes32";
|
|
4001
|
-
readonly type: "bytes32";
|
|
4002
3981
|
}];
|
|
4003
3982
|
}];
|
|
4004
3983
|
readonly stateMutability: "view";
|
|
@@ -5658,6 +5637,36 @@ export declare const logswapRouterAbi: readonly [{
|
|
|
5658
5637
|
readonly type: "address";
|
|
5659
5638
|
}];
|
|
5660
5639
|
readonly stateMutability: "view";
|
|
5640
|
+
}, {
|
|
5641
|
+
readonly type: "function";
|
|
5642
|
+
readonly inputs: readonly [{
|
|
5643
|
+
readonly name: "";
|
|
5644
|
+
readonly internalType: "bytes32";
|
|
5645
|
+
readonly type: "bytes32";
|
|
5646
|
+
}, {
|
|
5647
|
+
readonly name: "";
|
|
5648
|
+
readonly internalType: "enum FPoolManager.QuoteKind";
|
|
5649
|
+
readonly type: "uint8";
|
|
5650
|
+
}, {
|
|
5651
|
+
readonly name: "";
|
|
5652
|
+
readonly internalType: "uint256";
|
|
5653
|
+
readonly type: "uint256";
|
|
5654
|
+
}, {
|
|
5655
|
+
readonly name: "";
|
|
5656
|
+
readonly internalType: "uint256";
|
|
5657
|
+
readonly type: "uint256";
|
|
5658
|
+
}, {
|
|
5659
|
+
readonly name: "";
|
|
5660
|
+
readonly internalType: "uint256";
|
|
5661
|
+
readonly type: "uint256";
|
|
5662
|
+
}, {
|
|
5663
|
+
readonly name: "";
|
|
5664
|
+
readonly internalType: "address";
|
|
5665
|
+
readonly type: "address";
|
|
5666
|
+
}];
|
|
5667
|
+
readonly name: "quoteSwap";
|
|
5668
|
+
readonly outputs: readonly [];
|
|
5669
|
+
readonly stateMutability: "nonpayable";
|
|
5661
5670
|
}, {
|
|
5662
5671
|
readonly type: "function";
|
|
5663
5672
|
readonly inputs: readonly [{
|
|
@@ -6166,6 +6175,14 @@ export declare const logswapRouterAbi: readonly [{
|
|
|
6166
6175
|
readonly type: "error";
|
|
6167
6176
|
readonly inputs: readonly [];
|
|
6168
6177
|
readonly name: "NotManager";
|
|
6178
|
+
}, {
|
|
6179
|
+
readonly type: "error";
|
|
6180
|
+
readonly inputs: readonly [{
|
|
6181
|
+
readonly name: "amount";
|
|
6182
|
+
readonly internalType: "uint256";
|
|
6183
|
+
readonly type: "uint256";
|
|
6184
|
+
}];
|
|
6185
|
+
readonly name: "QuoteResult";
|
|
6169
6186
|
}, {
|
|
6170
6187
|
readonly type: "error";
|
|
6171
6188
|
readonly inputs: readonly [];
|
|
@@ -6263,6 +6280,16 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6263
6280
|
readonly type: "uint256";
|
|
6264
6281
|
}];
|
|
6265
6282
|
readonly stateMutability: "view";
|
|
6283
|
+
}, {
|
|
6284
|
+
readonly type: "function";
|
|
6285
|
+
readonly inputs: readonly [];
|
|
6286
|
+
readonly name: "kind";
|
|
6287
|
+
readonly outputs: readonly [{
|
|
6288
|
+
readonly name: "";
|
|
6289
|
+
readonly internalType: "bytes32";
|
|
6290
|
+
readonly type: "bytes32";
|
|
6291
|
+
}];
|
|
6292
|
+
readonly stateMutability: "pure";
|
|
6266
6293
|
}, {
|
|
6267
6294
|
readonly type: "function";
|
|
6268
6295
|
readonly inputs: readonly [];
|
|
@@ -6338,6 +6365,20 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6338
6365
|
readonly type: "bytes4";
|
|
6339
6366
|
}];
|
|
6340
6367
|
readonly stateMutability: "view";
|
|
6368
|
+
}, {
|
|
6369
|
+
readonly type: "function";
|
|
6370
|
+
readonly inputs: readonly [{
|
|
6371
|
+
readonly name: "";
|
|
6372
|
+
readonly internalType: "bytes32";
|
|
6373
|
+
readonly type: "bytes32";
|
|
6374
|
+
}];
|
|
6375
|
+
readonly name: "nameOf";
|
|
6376
|
+
readonly outputs: readonly [{
|
|
6377
|
+
readonly name: "";
|
|
6378
|
+
readonly internalType: "bytes32";
|
|
6379
|
+
readonly type: "bytes32";
|
|
6380
|
+
}];
|
|
6381
|
+
readonly stateMutability: "view";
|
|
6341
6382
|
}, {
|
|
6342
6383
|
readonly type: "function";
|
|
6343
6384
|
readonly inputs: readonly [{
|
|
@@ -6419,10 +6460,6 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6419
6460
|
readonly name: "phi";
|
|
6420
6461
|
readonly internalType: "uint256";
|
|
6421
6462
|
readonly type: "uint256";
|
|
6422
|
-
}, {
|
|
6423
|
-
readonly name: "kind";
|
|
6424
|
-
readonly internalType: "enum Kind";
|
|
6425
|
-
readonly type: "uint8";
|
|
6426
6463
|
}, {
|
|
6427
6464
|
readonly name: "policy";
|
|
6428
6465
|
readonly internalType: "address";
|
|
@@ -6444,6 +6481,24 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6444
6481
|
readonly type: "uint8";
|
|
6445
6482
|
}];
|
|
6446
6483
|
readonly stateMutability: "nonpayable";
|
|
6484
|
+
}, {
|
|
6485
|
+
readonly type: "function";
|
|
6486
|
+
readonly inputs: readonly [{
|
|
6487
|
+
readonly name: "poolId";
|
|
6488
|
+
readonly internalType: "bytes32";
|
|
6489
|
+
readonly type: "bytes32";
|
|
6490
|
+
}, {
|
|
6491
|
+
readonly name: "from";
|
|
6492
|
+
readonly internalType: "address";
|
|
6493
|
+
readonly type: "address";
|
|
6494
|
+
}];
|
|
6495
|
+
readonly name: "onMigrate";
|
|
6496
|
+
readonly outputs: readonly [{
|
|
6497
|
+
readonly name: "";
|
|
6498
|
+
readonly internalType: "uint8";
|
|
6499
|
+
readonly type: "uint8";
|
|
6500
|
+
}];
|
|
6501
|
+
readonly stateMutability: "nonpayable";
|
|
6447
6502
|
}, {
|
|
6448
6503
|
readonly type: "function";
|
|
6449
6504
|
readonly inputs: readonly [{
|
|
@@ -6550,6 +6605,30 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6550
6605
|
readonly type: "uint256";
|
|
6551
6606
|
}];
|
|
6552
6607
|
readonly stateMutability: "view";
|
|
6608
|
+
}, {
|
|
6609
|
+
readonly type: "function";
|
|
6610
|
+
readonly inputs: readonly [];
|
|
6611
|
+
readonly name: "quoteCurated";
|
|
6612
|
+
readonly outputs: readonly [{
|
|
6613
|
+
readonly name: "";
|
|
6614
|
+
readonly internalType: "bool";
|
|
6615
|
+
readonly type: "bool";
|
|
6616
|
+
}];
|
|
6617
|
+
readonly stateMutability: "view";
|
|
6618
|
+
}, {
|
|
6619
|
+
readonly type: "function";
|
|
6620
|
+
readonly inputs: readonly [{
|
|
6621
|
+
readonly name: "";
|
|
6622
|
+
readonly internalType: "address";
|
|
6623
|
+
readonly type: "address";
|
|
6624
|
+
}];
|
|
6625
|
+
readonly name: "quoteListed";
|
|
6626
|
+
readonly outputs: readonly [{
|
|
6627
|
+
readonly name: "";
|
|
6628
|
+
readonly internalType: "bool";
|
|
6629
|
+
readonly type: "bool";
|
|
6630
|
+
}];
|
|
6631
|
+
readonly stateMutability: "view";
|
|
6553
6632
|
}, {
|
|
6554
6633
|
readonly type: "function";
|
|
6555
6634
|
readonly inputs: readonly [{
|
|
@@ -6577,27 +6656,65 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6577
6656
|
}, {
|
|
6578
6657
|
readonly type: "function";
|
|
6579
6658
|
readonly inputs: readonly [{
|
|
6580
|
-
readonly name: "
|
|
6581
|
-
readonly internalType: "
|
|
6582
|
-
readonly type: "
|
|
6583
|
-
}, {
|
|
6584
|
-
readonly name: "_thresholdGrowth";
|
|
6585
|
-
readonly internalType: "uint256";
|
|
6586
|
-
readonly type: "uint256";
|
|
6587
|
-
}, {
|
|
6588
|
-
readonly name: "_creatorShare";
|
|
6589
|
-
readonly internalType: "uint256";
|
|
6590
|
-
readonly type: "uint256";
|
|
6591
|
-
}, {
|
|
6592
|
-
readonly name: "_protocolShare";
|
|
6593
|
-
readonly internalType: "uint256";
|
|
6594
|
-
readonly type: "uint256";
|
|
6659
|
+
readonly name: "poolId";
|
|
6660
|
+
readonly internalType: "bytes32";
|
|
6661
|
+
readonly type: "bytes32";
|
|
6595
6662
|
}, {
|
|
6596
|
-
readonly name: "
|
|
6597
|
-
readonly internalType: "
|
|
6598
|
-
readonly type: "
|
|
6663
|
+
readonly name: "name_";
|
|
6664
|
+
readonly internalType: "bytes32";
|
|
6665
|
+
readonly type: "bytes32";
|
|
6599
6666
|
}];
|
|
6600
|
-
readonly name: "
|
|
6667
|
+
readonly name: "setName";
|
|
6668
|
+
readonly outputs: readonly [];
|
|
6669
|
+
readonly stateMutability: "nonpayable";
|
|
6670
|
+
}, {
|
|
6671
|
+
readonly type: "function";
|
|
6672
|
+
readonly inputs: readonly [{
|
|
6673
|
+
readonly name: "curated";
|
|
6674
|
+
readonly internalType: "bool";
|
|
6675
|
+
readonly type: "bool";
|
|
6676
|
+
}];
|
|
6677
|
+
readonly name: "setQuoteCurated";
|
|
6678
|
+
readonly outputs: readonly [];
|
|
6679
|
+
readonly stateMutability: "nonpayable";
|
|
6680
|
+
}, {
|
|
6681
|
+
readonly type: "function";
|
|
6682
|
+
readonly inputs: readonly [{
|
|
6683
|
+
readonly name: "quote";
|
|
6684
|
+
readonly internalType: "address";
|
|
6685
|
+
readonly type: "address";
|
|
6686
|
+
}, {
|
|
6687
|
+
readonly name: "listed";
|
|
6688
|
+
readonly internalType: "bool";
|
|
6689
|
+
readonly type: "bool";
|
|
6690
|
+
}];
|
|
6691
|
+
readonly name: "setQuoteListed";
|
|
6692
|
+
readonly outputs: readonly [];
|
|
6693
|
+
readonly stateMutability: "nonpayable";
|
|
6694
|
+
}, {
|
|
6695
|
+
readonly type: "function";
|
|
6696
|
+
readonly inputs: readonly [{
|
|
6697
|
+
readonly name: "_thresholdBase";
|
|
6698
|
+
readonly internalType: "uint256";
|
|
6699
|
+
readonly type: "uint256";
|
|
6700
|
+
}, {
|
|
6701
|
+
readonly name: "_thresholdGrowth";
|
|
6702
|
+
readonly internalType: "uint256";
|
|
6703
|
+
readonly type: "uint256";
|
|
6704
|
+
}, {
|
|
6705
|
+
readonly name: "_creatorShare";
|
|
6706
|
+
readonly internalType: "uint256";
|
|
6707
|
+
readonly type: "uint256";
|
|
6708
|
+
}, {
|
|
6709
|
+
readonly name: "_protocolShare";
|
|
6710
|
+
readonly internalType: "uint256";
|
|
6711
|
+
readonly type: "uint256";
|
|
6712
|
+
}, {
|
|
6713
|
+
readonly name: "_burnPerRung";
|
|
6714
|
+
readonly internalType: "uint256";
|
|
6715
|
+
readonly type: "uint256";
|
|
6716
|
+
}];
|
|
6717
|
+
readonly name: "setSchedule";
|
|
6601
6718
|
readonly outputs: readonly [];
|
|
6602
6719
|
readonly stateMutability: "nonpayable";
|
|
6603
6720
|
}, {
|
|
@@ -6704,6 +6821,46 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6704
6821
|
readonly indexed: false;
|
|
6705
6822
|
}];
|
|
6706
6823
|
readonly name: "HarvestCutSet";
|
|
6824
|
+
}, {
|
|
6825
|
+
readonly type: "event";
|
|
6826
|
+
readonly anonymous: false;
|
|
6827
|
+
readonly inputs: readonly [{
|
|
6828
|
+
readonly name: "poolId";
|
|
6829
|
+
readonly internalType: "bytes32";
|
|
6830
|
+
readonly type: "bytes32";
|
|
6831
|
+
readonly indexed: true;
|
|
6832
|
+
}, {
|
|
6833
|
+
readonly name: "name";
|
|
6834
|
+
readonly internalType: "bytes32";
|
|
6835
|
+
readonly type: "bytes32";
|
|
6836
|
+
readonly indexed: false;
|
|
6837
|
+
}];
|
|
6838
|
+
readonly name: "NameSet";
|
|
6839
|
+
}, {
|
|
6840
|
+
readonly type: "event";
|
|
6841
|
+
readonly anonymous: false;
|
|
6842
|
+
readonly inputs: readonly [{
|
|
6843
|
+
readonly name: "curated";
|
|
6844
|
+
readonly internalType: "bool";
|
|
6845
|
+
readonly type: "bool";
|
|
6846
|
+
readonly indexed: false;
|
|
6847
|
+
}];
|
|
6848
|
+
readonly name: "QuoteCuratedSet";
|
|
6849
|
+
}, {
|
|
6850
|
+
readonly type: "event";
|
|
6851
|
+
readonly anonymous: false;
|
|
6852
|
+
readonly inputs: readonly [{
|
|
6853
|
+
readonly name: "quote";
|
|
6854
|
+
readonly internalType: "address";
|
|
6855
|
+
readonly type: "address";
|
|
6856
|
+
readonly indexed: true;
|
|
6857
|
+
}, {
|
|
6858
|
+
readonly name: "listed";
|
|
6859
|
+
readonly internalType: "bool";
|
|
6860
|
+
readonly type: "bool";
|
|
6861
|
+
readonly indexed: false;
|
|
6862
|
+
}];
|
|
6863
|
+
readonly name: "QuoteListed";
|
|
6707
6864
|
}, {
|
|
6708
6865
|
readonly type: "event";
|
|
6709
6866
|
readonly anonymous: false;
|
|
@@ -6734,10 +6891,18 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6734
6891
|
readonly indexed: false;
|
|
6735
6892
|
}];
|
|
6736
6893
|
readonly name: "ScheduleSet";
|
|
6894
|
+
}, {
|
|
6895
|
+
readonly type: "error";
|
|
6896
|
+
readonly inputs: readonly [];
|
|
6897
|
+
readonly name: "BadFee";
|
|
6737
6898
|
}, {
|
|
6738
6899
|
readonly type: "error";
|
|
6739
6900
|
readonly inputs: readonly [];
|
|
6740
6901
|
readonly name: "BadRate";
|
|
6902
|
+
}, {
|
|
6903
|
+
readonly type: "error";
|
|
6904
|
+
readonly inputs: readonly [];
|
|
6905
|
+
readonly name: "NoCreator";
|
|
6741
6906
|
}, {
|
|
6742
6907
|
readonly type: "error";
|
|
6743
6908
|
readonly inputs: readonly [];
|
|
@@ -6754,6 +6919,22 @@ export declare const padPolicyAbi: readonly [{
|
|
|
6754
6919
|
readonly type: "error";
|
|
6755
6920
|
readonly inputs: readonly [];
|
|
6756
6921
|
readonly name: "NotManager";
|
|
6922
|
+
}, {
|
|
6923
|
+
readonly type: "error";
|
|
6924
|
+
readonly inputs: readonly [];
|
|
6925
|
+
readonly name: "NotRegistry";
|
|
6926
|
+
}, {
|
|
6927
|
+
readonly type: "error";
|
|
6928
|
+
readonly inputs: readonly [];
|
|
6929
|
+
readonly name: "OneBase";
|
|
6930
|
+
}, {
|
|
6931
|
+
readonly type: "error";
|
|
6932
|
+
readonly inputs: readonly [{
|
|
6933
|
+
readonly name: "quote";
|
|
6934
|
+
readonly internalType: "address";
|
|
6935
|
+
readonly type: "address";
|
|
6936
|
+
}];
|
|
6937
|
+
readonly name: "QuoteNotListed";
|
|
6757
6938
|
}, {
|
|
6758
6939
|
readonly type: "error";
|
|
6759
6940
|
readonly inputs: readonly [];
|
|
@@ -6825,6 +7006,16 @@ export declare const polPolicyAbi: readonly [{
|
|
|
6825
7006
|
readonly type: "uint256";
|
|
6826
7007
|
}];
|
|
6827
7008
|
readonly stateMutability: "view";
|
|
7009
|
+
}, {
|
|
7010
|
+
readonly type: "function";
|
|
7011
|
+
readonly inputs: readonly [];
|
|
7012
|
+
readonly name: "kind";
|
|
7013
|
+
readonly outputs: readonly [{
|
|
7014
|
+
readonly name: "";
|
|
7015
|
+
readonly internalType: "bytes32";
|
|
7016
|
+
readonly type: "bytes32";
|
|
7017
|
+
}];
|
|
7018
|
+
readonly stateMutability: "pure";
|
|
6828
7019
|
}, {
|
|
6829
7020
|
readonly type: "function";
|
|
6830
7021
|
readonly inputs: readonly [];
|
|
@@ -6910,6 +7101,20 @@ export declare const polPolicyAbi: readonly [{
|
|
|
6910
7101
|
readonly type: "uint256";
|
|
6911
7102
|
}];
|
|
6912
7103
|
readonly stateMutability: "view";
|
|
7104
|
+
}, {
|
|
7105
|
+
readonly type: "function";
|
|
7106
|
+
readonly inputs: readonly [{
|
|
7107
|
+
readonly name: "";
|
|
7108
|
+
readonly internalType: "bytes32";
|
|
7109
|
+
readonly type: "bytes32";
|
|
7110
|
+
}];
|
|
7111
|
+
readonly name: "nameOf";
|
|
7112
|
+
readonly outputs: readonly [{
|
|
7113
|
+
readonly name: "";
|
|
7114
|
+
readonly internalType: "bytes32";
|
|
7115
|
+
readonly type: "bytes32";
|
|
7116
|
+
}];
|
|
7117
|
+
readonly stateMutability: "view";
|
|
6913
7118
|
}, {
|
|
6914
7119
|
readonly type: "function";
|
|
6915
7120
|
readonly inputs: readonly [{
|
|
@@ -6991,10 +7196,6 @@ export declare const polPolicyAbi: readonly [{
|
|
|
6991
7196
|
readonly name: "phi";
|
|
6992
7197
|
readonly internalType: "uint256";
|
|
6993
7198
|
readonly type: "uint256";
|
|
6994
|
-
}, {
|
|
6995
|
-
readonly name: "kind";
|
|
6996
|
-
readonly internalType: "enum Kind";
|
|
6997
|
-
readonly type: "uint8";
|
|
6998
7199
|
}, {
|
|
6999
7200
|
readonly name: "policy";
|
|
7000
7201
|
readonly internalType: "address";
|
|
@@ -7016,6 +7217,24 @@ export declare const polPolicyAbi: readonly [{
|
|
|
7016
7217
|
readonly type: "uint8";
|
|
7017
7218
|
}];
|
|
7018
7219
|
readonly stateMutability: "nonpayable";
|
|
7220
|
+
}, {
|
|
7221
|
+
readonly type: "function";
|
|
7222
|
+
readonly inputs: readonly [{
|
|
7223
|
+
readonly name: "poolId";
|
|
7224
|
+
readonly internalType: "bytes32";
|
|
7225
|
+
readonly type: "bytes32";
|
|
7226
|
+
}, {
|
|
7227
|
+
readonly name: "from";
|
|
7228
|
+
readonly internalType: "address";
|
|
7229
|
+
readonly type: "address";
|
|
7230
|
+
}];
|
|
7231
|
+
readonly name: "onMigrate";
|
|
7232
|
+
readonly outputs: readonly [{
|
|
7233
|
+
readonly name: "";
|
|
7234
|
+
readonly internalType: "uint8";
|
|
7235
|
+
readonly type: "uint8";
|
|
7236
|
+
}];
|
|
7237
|
+
readonly stateMutability: "nonpayable";
|
|
7019
7238
|
}, {
|
|
7020
7239
|
readonly type: "function";
|
|
7021
7240
|
readonly inputs: readonly [{
|
|
@@ -7112,6 +7331,30 @@ export declare const polPolicyAbi: readonly [{
|
|
|
7112
7331
|
readonly name: "proposeAuthority";
|
|
7113
7332
|
readonly outputs: readonly [];
|
|
7114
7333
|
readonly stateMutability: "nonpayable";
|
|
7334
|
+
}, {
|
|
7335
|
+
readonly type: "function";
|
|
7336
|
+
readonly inputs: readonly [];
|
|
7337
|
+
readonly name: "quoteCurated";
|
|
7338
|
+
readonly outputs: readonly [{
|
|
7339
|
+
readonly name: "";
|
|
7340
|
+
readonly internalType: "bool";
|
|
7341
|
+
readonly type: "bool";
|
|
7342
|
+
}];
|
|
7343
|
+
readonly stateMutability: "view";
|
|
7344
|
+
}, {
|
|
7345
|
+
readonly type: "function";
|
|
7346
|
+
readonly inputs: readonly [{
|
|
7347
|
+
readonly name: "";
|
|
7348
|
+
readonly internalType: "address";
|
|
7349
|
+
readonly type: "address";
|
|
7350
|
+
}];
|
|
7351
|
+
readonly name: "quoteListed";
|
|
7352
|
+
readonly outputs: readonly [{
|
|
7353
|
+
readonly name: "";
|
|
7354
|
+
readonly internalType: "bool";
|
|
7355
|
+
readonly type: "bool";
|
|
7356
|
+
}];
|
|
7357
|
+
readonly stateMutability: "view";
|
|
7115
7358
|
}, {
|
|
7116
7359
|
readonly type: "function";
|
|
7117
7360
|
readonly inputs: readonly [{
|
|
@@ -7122,6 +7365,44 @@ export declare const polPolicyAbi: readonly [{
|
|
|
7122
7365
|
readonly name: "setHarvestCut";
|
|
7123
7366
|
readonly outputs: readonly [];
|
|
7124
7367
|
readonly stateMutability: "nonpayable";
|
|
7368
|
+
}, {
|
|
7369
|
+
readonly type: "function";
|
|
7370
|
+
readonly inputs: readonly [{
|
|
7371
|
+
readonly name: "poolId";
|
|
7372
|
+
readonly internalType: "bytes32";
|
|
7373
|
+
readonly type: "bytes32";
|
|
7374
|
+
}, {
|
|
7375
|
+
readonly name: "name_";
|
|
7376
|
+
readonly internalType: "bytes32";
|
|
7377
|
+
readonly type: "bytes32";
|
|
7378
|
+
}];
|
|
7379
|
+
readonly name: "setName";
|
|
7380
|
+
readonly outputs: readonly [];
|
|
7381
|
+
readonly stateMutability: "nonpayable";
|
|
7382
|
+
}, {
|
|
7383
|
+
readonly type: "function";
|
|
7384
|
+
readonly inputs: readonly [{
|
|
7385
|
+
readonly name: "curated";
|
|
7386
|
+
readonly internalType: "bool";
|
|
7387
|
+
readonly type: "bool";
|
|
7388
|
+
}];
|
|
7389
|
+
readonly name: "setQuoteCurated";
|
|
7390
|
+
readonly outputs: readonly [];
|
|
7391
|
+
readonly stateMutability: "nonpayable";
|
|
7392
|
+
}, {
|
|
7393
|
+
readonly type: "function";
|
|
7394
|
+
readonly inputs: readonly [{
|
|
7395
|
+
readonly name: "quote";
|
|
7396
|
+
readonly internalType: "address";
|
|
7397
|
+
readonly type: "address";
|
|
7398
|
+
}, {
|
|
7399
|
+
readonly name: "listed";
|
|
7400
|
+
readonly internalType: "bool";
|
|
7401
|
+
readonly type: "bool";
|
|
7402
|
+
}];
|
|
7403
|
+
readonly name: "setQuoteListed";
|
|
7404
|
+
readonly outputs: readonly [];
|
|
7405
|
+
readonly stateMutability: "nonpayable";
|
|
7125
7406
|
}, {
|
|
7126
7407
|
readonly type: "function";
|
|
7127
7408
|
readonly inputs: readonly [{
|
|
@@ -7186,6 +7467,46 @@ export declare const polPolicyAbi: readonly [{
|
|
|
7186
7467
|
readonly indexed: false;
|
|
7187
7468
|
}];
|
|
7188
7469
|
readonly name: "HarvestCutSet";
|
|
7470
|
+
}, {
|
|
7471
|
+
readonly type: "event";
|
|
7472
|
+
readonly anonymous: false;
|
|
7473
|
+
readonly inputs: readonly [{
|
|
7474
|
+
readonly name: "poolId";
|
|
7475
|
+
readonly internalType: "bytes32";
|
|
7476
|
+
readonly type: "bytes32";
|
|
7477
|
+
readonly indexed: true;
|
|
7478
|
+
}, {
|
|
7479
|
+
readonly name: "name";
|
|
7480
|
+
readonly internalType: "bytes32";
|
|
7481
|
+
readonly type: "bytes32";
|
|
7482
|
+
readonly indexed: false;
|
|
7483
|
+
}];
|
|
7484
|
+
readonly name: "NameSet";
|
|
7485
|
+
}, {
|
|
7486
|
+
readonly type: "event";
|
|
7487
|
+
readonly anonymous: false;
|
|
7488
|
+
readonly inputs: readonly [{
|
|
7489
|
+
readonly name: "curated";
|
|
7490
|
+
readonly internalType: "bool";
|
|
7491
|
+
readonly type: "bool";
|
|
7492
|
+
readonly indexed: false;
|
|
7493
|
+
}];
|
|
7494
|
+
readonly name: "QuoteCuratedSet";
|
|
7495
|
+
}, {
|
|
7496
|
+
readonly type: "event";
|
|
7497
|
+
readonly anonymous: false;
|
|
7498
|
+
readonly inputs: readonly [{
|
|
7499
|
+
readonly name: "quote";
|
|
7500
|
+
readonly internalType: "address";
|
|
7501
|
+
readonly type: "address";
|
|
7502
|
+
readonly indexed: true;
|
|
7503
|
+
}, {
|
|
7504
|
+
readonly name: "listed";
|
|
7505
|
+
readonly internalType: "bool";
|
|
7506
|
+
readonly type: "bool";
|
|
7507
|
+
readonly indexed: false;
|
|
7508
|
+
}];
|
|
7509
|
+
readonly name: "QuoteListed";
|
|
7189
7510
|
}, {
|
|
7190
7511
|
readonly type: "event";
|
|
7191
7512
|
readonly anonymous: false;
|
|
@@ -7201,10 +7522,18 @@ export declare const polPolicyAbi: readonly [{
|
|
|
7201
7522
|
readonly indexed: false;
|
|
7202
7523
|
}];
|
|
7203
7524
|
readonly name: "RulesSet";
|
|
7525
|
+
}, {
|
|
7526
|
+
readonly type: "error";
|
|
7527
|
+
readonly inputs: readonly [];
|
|
7528
|
+
readonly name: "BadFee";
|
|
7204
7529
|
}, {
|
|
7205
7530
|
readonly type: "error";
|
|
7206
7531
|
readonly inputs: readonly [];
|
|
7207
7532
|
readonly name: "BadRate";
|
|
7533
|
+
}, {
|
|
7534
|
+
readonly type: "error";
|
|
7535
|
+
readonly inputs: readonly [];
|
|
7536
|
+
readonly name: "NoCreator";
|
|
7208
7537
|
}, {
|
|
7209
7538
|
readonly type: "error";
|
|
7210
7539
|
readonly inputs: readonly [];
|
|
@@ -7220,20 +7549,344 @@ export declare const polPolicyAbi: readonly [{
|
|
|
7220
7549
|
}, {
|
|
7221
7550
|
readonly type: "error";
|
|
7222
7551
|
readonly inputs: readonly [];
|
|
7223
|
-
readonly name: "
|
|
7552
|
+
readonly name: "NotRegistry";
|
|
7224
7553
|
}, {
|
|
7225
7554
|
readonly type: "error";
|
|
7226
7555
|
readonly inputs: readonly [];
|
|
7227
|
-
readonly name: "
|
|
7228
|
-
}
|
|
7229
|
-
|
|
7230
|
-
readonly type: "constructor";
|
|
7556
|
+
readonly name: "OneBase";
|
|
7557
|
+
}, {
|
|
7558
|
+
readonly type: "error";
|
|
7231
7559
|
readonly inputs: readonly [{
|
|
7232
|
-
readonly name: "
|
|
7560
|
+
readonly name: "quote";
|
|
7561
|
+
readonly internalType: "address";
|
|
7562
|
+
readonly type: "address";
|
|
7563
|
+
}];
|
|
7564
|
+
readonly name: "QuoteNotListed";
|
|
7565
|
+
}, {
|
|
7566
|
+
readonly type: "error";
|
|
7567
|
+
readonly inputs: readonly [];
|
|
7568
|
+
readonly name: "QuoteTooThin";
|
|
7569
|
+
}, {
|
|
7570
|
+
readonly type: "error";
|
|
7571
|
+
readonly inputs: readonly [];
|
|
7572
|
+
readonly name: "Refused";
|
|
7573
|
+
}];
|
|
7574
|
+
export declare const policyRegistryAbi: readonly [{
|
|
7575
|
+
readonly type: "constructor";
|
|
7576
|
+
readonly inputs: readonly [{
|
|
7577
|
+
readonly name: "_owner";
|
|
7578
|
+
readonly internalType: "address";
|
|
7579
|
+
readonly type: "address";
|
|
7580
|
+
}];
|
|
7581
|
+
readonly stateMutability: "nonpayable";
|
|
7582
|
+
}, {
|
|
7583
|
+
readonly type: "function";
|
|
7584
|
+
readonly inputs: readonly [];
|
|
7585
|
+
readonly name: "acceptOwner";
|
|
7586
|
+
readonly outputs: readonly [];
|
|
7587
|
+
readonly stateMutability: "nonpayable";
|
|
7588
|
+
}, {
|
|
7589
|
+
readonly type: "function";
|
|
7590
|
+
readonly inputs: readonly [{
|
|
7591
|
+
readonly name: "policy";
|
|
7592
|
+
readonly internalType: "address";
|
|
7593
|
+
readonly type: "address";
|
|
7594
|
+
}, {
|
|
7595
|
+
readonly name: "name";
|
|
7596
|
+
readonly internalType: "bytes32";
|
|
7597
|
+
readonly type: "bytes32";
|
|
7598
|
+
}];
|
|
7599
|
+
readonly name: "approve";
|
|
7600
|
+
readonly outputs: readonly [];
|
|
7601
|
+
readonly stateMutability: "nonpayable";
|
|
7602
|
+
}, {
|
|
7603
|
+
readonly type: "function";
|
|
7604
|
+
readonly inputs: readonly [{
|
|
7605
|
+
readonly name: "";
|
|
7606
|
+
readonly internalType: "address";
|
|
7607
|
+
readonly type: "address";
|
|
7608
|
+
}];
|
|
7609
|
+
readonly name: "entries";
|
|
7610
|
+
readonly outputs: readonly [{
|
|
7611
|
+
readonly name: "listed";
|
|
7612
|
+
readonly internalType: "bool";
|
|
7613
|
+
readonly type: "bool";
|
|
7614
|
+
}, {
|
|
7615
|
+
readonly name: "until";
|
|
7616
|
+
readonly internalType: "uint64";
|
|
7617
|
+
readonly type: "uint64";
|
|
7618
|
+
}, {
|
|
7619
|
+
readonly name: "index";
|
|
7620
|
+
readonly internalType: "uint32";
|
|
7621
|
+
readonly type: "uint32";
|
|
7622
|
+
}, {
|
|
7623
|
+
readonly name: "name";
|
|
7624
|
+
readonly internalType: "bytes32";
|
|
7625
|
+
readonly type: "bytes32";
|
|
7626
|
+
}];
|
|
7627
|
+
readonly stateMutability: "view";
|
|
7628
|
+
}, {
|
|
7629
|
+
readonly type: "function";
|
|
7630
|
+
readonly inputs: readonly [{
|
|
7631
|
+
readonly name: "policy";
|
|
7632
|
+
readonly internalType: "address";
|
|
7633
|
+
readonly type: "address";
|
|
7634
|
+
}];
|
|
7635
|
+
readonly name: "isApproved";
|
|
7636
|
+
readonly outputs: readonly [{
|
|
7637
|
+
readonly name: "";
|
|
7638
|
+
readonly internalType: "bool";
|
|
7639
|
+
readonly type: "bool";
|
|
7640
|
+
}];
|
|
7641
|
+
readonly stateMutability: "view";
|
|
7642
|
+
}, {
|
|
7643
|
+
readonly type: "function";
|
|
7644
|
+
readonly inputs: readonly [{
|
|
7645
|
+
readonly name: "manager";
|
|
7646
|
+
readonly internalType: "address";
|
|
7647
|
+
readonly type: "address";
|
|
7648
|
+
}, {
|
|
7649
|
+
readonly name: "poolId";
|
|
7650
|
+
readonly internalType: "bytes32";
|
|
7651
|
+
readonly type: "bytes32";
|
|
7652
|
+
}, {
|
|
7653
|
+
readonly name: "to";
|
|
7654
|
+
readonly internalType: "address";
|
|
7655
|
+
readonly type: "address";
|
|
7656
|
+
}];
|
|
7657
|
+
readonly name: "migrate";
|
|
7658
|
+
readonly outputs: readonly [];
|
|
7659
|
+
readonly stateMutability: "nonpayable";
|
|
7660
|
+
}, {
|
|
7661
|
+
readonly type: "function";
|
|
7662
|
+
readonly inputs: readonly [];
|
|
7663
|
+
readonly name: "owner";
|
|
7664
|
+
readonly outputs: readonly [{
|
|
7665
|
+
readonly name: "";
|
|
7666
|
+
readonly internalType: "address";
|
|
7667
|
+
readonly type: "address";
|
|
7668
|
+
}];
|
|
7669
|
+
readonly stateMutability: "view";
|
|
7670
|
+
}, {
|
|
7671
|
+
readonly type: "function";
|
|
7672
|
+
readonly inputs: readonly [];
|
|
7673
|
+
readonly name: "pendingOwner";
|
|
7674
|
+
readonly outputs: readonly [{
|
|
7675
|
+
readonly name: "";
|
|
7676
|
+
readonly internalType: "address";
|
|
7677
|
+
readonly type: "address";
|
|
7678
|
+
}];
|
|
7679
|
+
readonly stateMutability: "view";
|
|
7680
|
+
}, {
|
|
7681
|
+
readonly type: "function";
|
|
7682
|
+
readonly inputs: readonly [];
|
|
7683
|
+
readonly name: "policies";
|
|
7684
|
+
readonly outputs: readonly [{
|
|
7685
|
+
readonly name: "";
|
|
7686
|
+
readonly internalType: "address[]";
|
|
7687
|
+
readonly type: "address[]";
|
|
7688
|
+
}];
|
|
7689
|
+
readonly stateMutability: "view";
|
|
7690
|
+
}, {
|
|
7691
|
+
readonly type: "function";
|
|
7692
|
+
readonly inputs: readonly [{
|
|
7693
|
+
readonly name: "next";
|
|
7694
|
+
readonly internalType: "address";
|
|
7695
|
+
readonly type: "address";
|
|
7696
|
+
}];
|
|
7697
|
+
readonly name: "proposeOwner";
|
|
7698
|
+
readonly outputs: readonly [];
|
|
7699
|
+
readonly stateMutability: "nonpayable";
|
|
7700
|
+
}, {
|
|
7701
|
+
readonly type: "function";
|
|
7702
|
+
readonly inputs: readonly [{
|
|
7703
|
+
readonly name: "policy";
|
|
7704
|
+
readonly internalType: "address";
|
|
7705
|
+
readonly type: "address";
|
|
7706
|
+
}];
|
|
7707
|
+
readonly name: "revoke";
|
|
7708
|
+
readonly outputs: readonly [];
|
|
7709
|
+
readonly stateMutability: "nonpayable";
|
|
7710
|
+
}, {
|
|
7711
|
+
readonly type: "function";
|
|
7712
|
+
readonly inputs: readonly [{
|
|
7713
|
+
readonly name: "who";
|
|
7714
|
+
readonly internalType: "address";
|
|
7715
|
+
readonly type: "address";
|
|
7716
|
+
}, {
|
|
7717
|
+
readonly name: "name";
|
|
7718
|
+
readonly internalType: "bytes32";
|
|
7719
|
+
readonly type: "bytes32";
|
|
7720
|
+
}];
|
|
7721
|
+
readonly name: "setSponsorName";
|
|
7722
|
+
readonly outputs: readonly [];
|
|
7723
|
+
readonly stateMutability: "nonpayable";
|
|
7724
|
+
}, {
|
|
7725
|
+
readonly type: "function";
|
|
7726
|
+
readonly inputs: readonly [{
|
|
7727
|
+
readonly name: "";
|
|
7728
|
+
readonly internalType: "address";
|
|
7729
|
+
readonly type: "address";
|
|
7730
|
+
}];
|
|
7731
|
+
readonly name: "sponsorName";
|
|
7732
|
+
readonly outputs: readonly [{
|
|
7733
|
+
readonly name: "";
|
|
7734
|
+
readonly internalType: "bytes32";
|
|
7735
|
+
readonly type: "bytes32";
|
|
7736
|
+
}];
|
|
7737
|
+
readonly stateMutability: "view";
|
|
7738
|
+
}, {
|
|
7739
|
+
readonly type: "function";
|
|
7740
|
+
readonly inputs: readonly [{
|
|
7741
|
+
readonly name: "policy";
|
|
7742
|
+
readonly internalType: "address";
|
|
7743
|
+
readonly type: "address";
|
|
7744
|
+
}, {
|
|
7745
|
+
readonly name: "untilBlock";
|
|
7746
|
+
readonly internalType: "uint64";
|
|
7747
|
+
readonly type: "uint64";
|
|
7748
|
+
}];
|
|
7749
|
+
readonly name: "sunset";
|
|
7750
|
+
readonly outputs: readonly [];
|
|
7751
|
+
readonly stateMutability: "nonpayable";
|
|
7752
|
+
}, {
|
|
7753
|
+
readonly type: "event";
|
|
7754
|
+
readonly anonymous: false;
|
|
7755
|
+
readonly inputs: readonly [{
|
|
7756
|
+
readonly name: "policy";
|
|
7757
|
+
readonly internalType: "address";
|
|
7758
|
+
readonly type: "address";
|
|
7759
|
+
readonly indexed: true;
|
|
7760
|
+
}, {
|
|
7761
|
+
readonly name: "name";
|
|
7762
|
+
readonly internalType: "bytes32";
|
|
7763
|
+
readonly type: "bytes32";
|
|
7764
|
+
readonly indexed: false;
|
|
7765
|
+
}];
|
|
7766
|
+
readonly name: "Approved";
|
|
7767
|
+
}, {
|
|
7768
|
+
readonly type: "event";
|
|
7769
|
+
readonly anonymous: false;
|
|
7770
|
+
readonly inputs: readonly [{
|
|
7771
|
+
readonly name: "prev";
|
|
7772
|
+
readonly internalType: "address";
|
|
7773
|
+
readonly type: "address";
|
|
7774
|
+
readonly indexed: true;
|
|
7775
|
+
}, {
|
|
7776
|
+
readonly name: "next";
|
|
7777
|
+
readonly internalType: "address";
|
|
7778
|
+
readonly type: "address";
|
|
7779
|
+
readonly indexed: true;
|
|
7780
|
+
}];
|
|
7781
|
+
readonly name: "OwnerAccepted";
|
|
7782
|
+
}, {
|
|
7783
|
+
readonly type: "event";
|
|
7784
|
+
readonly anonymous: false;
|
|
7785
|
+
readonly inputs: readonly [{
|
|
7786
|
+
readonly name: "current";
|
|
7787
|
+
readonly internalType: "address";
|
|
7788
|
+
readonly type: "address";
|
|
7789
|
+
readonly indexed: true;
|
|
7790
|
+
}, {
|
|
7791
|
+
readonly name: "proposed";
|
|
7792
|
+
readonly internalType: "address";
|
|
7793
|
+
readonly type: "address";
|
|
7794
|
+
readonly indexed: true;
|
|
7795
|
+
}];
|
|
7796
|
+
readonly name: "OwnerProposed";
|
|
7797
|
+
}, {
|
|
7798
|
+
readonly type: "event";
|
|
7799
|
+
readonly anonymous: false;
|
|
7800
|
+
readonly inputs: readonly [{
|
|
7801
|
+
readonly name: "policy";
|
|
7802
|
+
readonly internalType: "address";
|
|
7803
|
+
readonly type: "address";
|
|
7804
|
+
readonly indexed: true;
|
|
7805
|
+
}];
|
|
7806
|
+
readonly name: "Revoked";
|
|
7807
|
+
}, {
|
|
7808
|
+
readonly type: "event";
|
|
7809
|
+
readonly anonymous: false;
|
|
7810
|
+
readonly inputs: readonly [{
|
|
7811
|
+
readonly name: "who";
|
|
7812
|
+
readonly internalType: "address";
|
|
7813
|
+
readonly type: "address";
|
|
7814
|
+
readonly indexed: true;
|
|
7815
|
+
}, {
|
|
7816
|
+
readonly name: "name";
|
|
7817
|
+
readonly internalType: "bytes32";
|
|
7818
|
+
readonly type: "bytes32";
|
|
7819
|
+
readonly indexed: false;
|
|
7820
|
+
}];
|
|
7821
|
+
readonly name: "SponsorNamed";
|
|
7822
|
+
}, {
|
|
7823
|
+
readonly type: "event";
|
|
7824
|
+
readonly anonymous: false;
|
|
7825
|
+
readonly inputs: readonly [{
|
|
7826
|
+
readonly name: "policy";
|
|
7827
|
+
readonly internalType: "address";
|
|
7828
|
+
readonly type: "address";
|
|
7829
|
+
readonly indexed: true;
|
|
7830
|
+
}, {
|
|
7831
|
+
readonly name: "untilBlock";
|
|
7832
|
+
readonly internalType: "uint64";
|
|
7833
|
+
readonly type: "uint64";
|
|
7834
|
+
readonly indexed: false;
|
|
7835
|
+
}];
|
|
7836
|
+
readonly name: "SunsetSet";
|
|
7837
|
+
}, {
|
|
7838
|
+
readonly type: "error";
|
|
7839
|
+
readonly inputs: readonly [];
|
|
7840
|
+
readonly name: "BadSunset";
|
|
7841
|
+
}, {
|
|
7842
|
+
readonly type: "error";
|
|
7843
|
+
readonly inputs: readonly [];
|
|
7844
|
+
readonly name: "KindMismatch";
|
|
7845
|
+
}, {
|
|
7846
|
+
readonly type: "error";
|
|
7847
|
+
readonly inputs: readonly [];
|
|
7848
|
+
readonly name: "NotAPolicy";
|
|
7849
|
+
}, {
|
|
7850
|
+
readonly type: "error";
|
|
7851
|
+
readonly inputs: readonly [];
|
|
7852
|
+
readonly name: "NotListed";
|
|
7853
|
+
}, {
|
|
7854
|
+
readonly type: "error";
|
|
7855
|
+
readonly inputs: readonly [];
|
|
7856
|
+
readonly name: "NotOwner";
|
|
7857
|
+
}, {
|
|
7858
|
+
readonly type: "error";
|
|
7859
|
+
readonly inputs: readonly [];
|
|
7860
|
+
readonly name: "SamePolicy";
|
|
7861
|
+
}];
|
|
7862
|
+
export declare const privatePolicyAbi: readonly [{
|
|
7863
|
+
readonly type: "constructor";
|
|
7864
|
+
readonly inputs: readonly [{
|
|
7865
|
+
readonly name: "_manager";
|
|
7233
7866
|
readonly internalType: "contract FPoolManager";
|
|
7234
7867
|
readonly type: "address";
|
|
7235
7868
|
}];
|
|
7236
7869
|
readonly stateMutability: "nonpayable";
|
|
7870
|
+
}, {
|
|
7871
|
+
readonly type: "function";
|
|
7872
|
+
readonly inputs: readonly [];
|
|
7873
|
+
readonly name: "MINTER";
|
|
7874
|
+
readonly outputs: readonly [{
|
|
7875
|
+
readonly name: "";
|
|
7876
|
+
readonly internalType: "uint8";
|
|
7877
|
+
readonly type: "uint8";
|
|
7878
|
+
}];
|
|
7879
|
+
readonly stateMutability: "view";
|
|
7880
|
+
}, {
|
|
7881
|
+
readonly type: "function";
|
|
7882
|
+
readonly inputs: readonly [];
|
|
7883
|
+
readonly name: "TAKER";
|
|
7884
|
+
readonly outputs: readonly [{
|
|
7885
|
+
readonly name: "";
|
|
7886
|
+
readonly internalType: "uint8";
|
|
7887
|
+
readonly type: "uint8";
|
|
7888
|
+
}];
|
|
7889
|
+
readonly stateMutability: "view";
|
|
7237
7890
|
}, {
|
|
7238
7891
|
readonly type: "function";
|
|
7239
7892
|
readonly inputs: readonly [{
|
|
@@ -7352,6 +8005,52 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7352
8005
|
readonly type: "bool";
|
|
7353
8006
|
}];
|
|
7354
8007
|
readonly stateMutability: "view";
|
|
8008
|
+
}, {
|
|
8009
|
+
readonly type: "function";
|
|
8010
|
+
readonly inputs: readonly [{
|
|
8011
|
+
readonly name: "poolId";
|
|
8012
|
+
readonly internalType: "bytes32";
|
|
8013
|
+
readonly type: "bytes32";
|
|
8014
|
+
}, {
|
|
8015
|
+
readonly name: "who";
|
|
8016
|
+
readonly internalType: "address";
|
|
8017
|
+
readonly type: "address";
|
|
8018
|
+
}];
|
|
8019
|
+
readonly name: "isMinter";
|
|
8020
|
+
readonly outputs: readonly [{
|
|
8021
|
+
readonly name: "";
|
|
8022
|
+
readonly internalType: "bool";
|
|
8023
|
+
readonly type: "bool";
|
|
8024
|
+
}];
|
|
8025
|
+
readonly stateMutability: "view";
|
|
8026
|
+
}, {
|
|
8027
|
+
readonly type: "function";
|
|
8028
|
+
readonly inputs: readonly [{
|
|
8029
|
+
readonly name: "poolId";
|
|
8030
|
+
readonly internalType: "bytes32";
|
|
8031
|
+
readonly type: "bytes32";
|
|
8032
|
+
}, {
|
|
8033
|
+
readonly name: "who";
|
|
8034
|
+
readonly internalType: "address";
|
|
8035
|
+
readonly type: "address";
|
|
8036
|
+
}];
|
|
8037
|
+
readonly name: "isTaker";
|
|
8038
|
+
readonly outputs: readonly [{
|
|
8039
|
+
readonly name: "";
|
|
8040
|
+
readonly internalType: "bool";
|
|
8041
|
+
readonly type: "bool";
|
|
8042
|
+
}];
|
|
8043
|
+
readonly stateMutability: "view";
|
|
8044
|
+
}, {
|
|
8045
|
+
readonly type: "function";
|
|
8046
|
+
readonly inputs: readonly [];
|
|
8047
|
+
readonly name: "kind";
|
|
8048
|
+
readonly outputs: readonly [{
|
|
8049
|
+
readonly name: "";
|
|
8050
|
+
readonly internalType: "bytes32";
|
|
8051
|
+
readonly type: "bytes32";
|
|
8052
|
+
}];
|
|
8053
|
+
readonly stateMutability: "pure";
|
|
7355
8054
|
}, {
|
|
7356
8055
|
readonly type: "function";
|
|
7357
8056
|
readonly inputs: readonly [];
|
|
@@ -7427,6 +8126,20 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7427
8126
|
readonly type: "bytes4";
|
|
7428
8127
|
}];
|
|
7429
8128
|
readonly stateMutability: "view";
|
|
8129
|
+
}, {
|
|
8130
|
+
readonly type: "function";
|
|
8131
|
+
readonly inputs: readonly [{
|
|
8132
|
+
readonly name: "";
|
|
8133
|
+
readonly internalType: "bytes32";
|
|
8134
|
+
readonly type: "bytes32";
|
|
8135
|
+
}];
|
|
8136
|
+
readonly name: "nameOf";
|
|
8137
|
+
readonly outputs: readonly [{
|
|
8138
|
+
readonly name: "";
|
|
8139
|
+
readonly internalType: "bytes32";
|
|
8140
|
+
readonly type: "bytes32";
|
|
8141
|
+
}];
|
|
8142
|
+
readonly stateMutability: "view";
|
|
7430
8143
|
}, {
|
|
7431
8144
|
readonly type: "function";
|
|
7432
8145
|
readonly inputs: readonly [{
|
|
@@ -7508,10 +8221,6 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7508
8221
|
readonly name: "phi";
|
|
7509
8222
|
readonly internalType: "uint256";
|
|
7510
8223
|
readonly type: "uint256";
|
|
7511
|
-
}, {
|
|
7512
|
-
readonly name: "kind";
|
|
7513
|
-
readonly internalType: "enum Kind";
|
|
7514
|
-
readonly type: "uint8";
|
|
7515
8224
|
}, {
|
|
7516
8225
|
readonly name: "policy";
|
|
7517
8226
|
readonly internalType: "address";
|
|
@@ -7533,6 +8242,24 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7533
8242
|
readonly type: "uint8";
|
|
7534
8243
|
}];
|
|
7535
8244
|
readonly stateMutability: "nonpayable";
|
|
8245
|
+
}, {
|
|
8246
|
+
readonly type: "function";
|
|
8247
|
+
readonly inputs: readonly [{
|
|
8248
|
+
readonly name: "poolId";
|
|
8249
|
+
readonly internalType: "bytes32";
|
|
8250
|
+
readonly type: "bytes32";
|
|
8251
|
+
}, {
|
|
8252
|
+
readonly name: "from";
|
|
8253
|
+
readonly internalType: "address";
|
|
8254
|
+
readonly type: "address";
|
|
8255
|
+
}];
|
|
8256
|
+
readonly name: "onMigrate";
|
|
8257
|
+
readonly outputs: readonly [{
|
|
8258
|
+
readonly name: "";
|
|
8259
|
+
readonly internalType: "uint8";
|
|
8260
|
+
readonly type: "uint8";
|
|
8261
|
+
}];
|
|
8262
|
+
readonly stateMutability: "nonpayable";
|
|
7536
8263
|
}, {
|
|
7537
8264
|
readonly type: "function";
|
|
7538
8265
|
readonly inputs: readonly [{
|
|
@@ -7671,24 +8398,30 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7671
8398
|
readonly name: "proposeAuthority";
|
|
7672
8399
|
readonly outputs: readonly [];
|
|
7673
8400
|
readonly stateMutability: "nonpayable";
|
|
8401
|
+
}, {
|
|
8402
|
+
readonly type: "function";
|
|
8403
|
+
readonly inputs: readonly [];
|
|
8404
|
+
readonly name: "quoteCurated";
|
|
8405
|
+
readonly outputs: readonly [{
|
|
8406
|
+
readonly name: "";
|
|
8407
|
+
readonly internalType: "bool";
|
|
8408
|
+
readonly type: "bool";
|
|
8409
|
+
}];
|
|
8410
|
+
readonly stateMutability: "view";
|
|
7674
8411
|
}, {
|
|
7675
8412
|
readonly type: "function";
|
|
7676
8413
|
readonly inputs: readonly [{
|
|
7677
|
-
readonly name: "
|
|
7678
|
-
readonly internalType: "
|
|
7679
|
-
readonly type: "
|
|
7680
|
-
}
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
readonly
|
|
7684
|
-
}, {
|
|
7685
|
-
readonly name: "yes";
|
|
8414
|
+
readonly name: "";
|
|
8415
|
+
readonly internalType: "address";
|
|
8416
|
+
readonly type: "address";
|
|
8417
|
+
}];
|
|
8418
|
+
readonly name: "quoteListed";
|
|
8419
|
+
readonly outputs: readonly [{
|
|
8420
|
+
readonly name: "";
|
|
7686
8421
|
readonly internalType: "bool";
|
|
7687
8422
|
readonly type: "bool";
|
|
7688
8423
|
}];
|
|
7689
|
-
readonly
|
|
7690
|
-
readonly outputs: readonly [];
|
|
7691
|
-
readonly stateMutability: "nonpayable";
|
|
8424
|
+
readonly stateMutability: "view";
|
|
7692
8425
|
}, {
|
|
7693
8426
|
readonly type: "function";
|
|
7694
8427
|
readonly inputs: readonly [{
|
|
@@ -7718,30 +8451,79 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7718
8451
|
readonly outputs: readonly [];
|
|
7719
8452
|
readonly stateMutability: "nonpayable";
|
|
7720
8453
|
}, {
|
|
7721
|
-
readonly type: "
|
|
7722
|
-
readonly anonymous: false;
|
|
8454
|
+
readonly type: "function";
|
|
7723
8455
|
readonly inputs: readonly [{
|
|
7724
8456
|
readonly name: "poolId";
|
|
7725
8457
|
readonly internalType: "bytes32";
|
|
7726
8458
|
readonly type: "bytes32";
|
|
7727
|
-
readonly indexed: true;
|
|
7728
8459
|
}, {
|
|
7729
|
-
readonly name: "
|
|
8460
|
+
readonly name: "who";
|
|
8461
|
+
readonly internalType: "address[]";
|
|
8462
|
+
readonly type: "address[]";
|
|
8463
|
+
}, {
|
|
8464
|
+
readonly name: "yes";
|
|
8465
|
+
readonly internalType: "bool";
|
|
8466
|
+
readonly type: "bool";
|
|
8467
|
+
}];
|
|
8468
|
+
readonly name: "setMinters";
|
|
8469
|
+
readonly outputs: readonly [];
|
|
8470
|
+
readonly stateMutability: "nonpayable";
|
|
8471
|
+
}, {
|
|
8472
|
+
readonly type: "function";
|
|
8473
|
+
readonly inputs: readonly [{
|
|
8474
|
+
readonly name: "poolId";
|
|
8475
|
+
readonly internalType: "bytes32";
|
|
8476
|
+
readonly type: "bytes32";
|
|
8477
|
+
}, {
|
|
8478
|
+
readonly name: "name_";
|
|
8479
|
+
readonly internalType: "bytes32";
|
|
8480
|
+
readonly type: "bytes32";
|
|
8481
|
+
}];
|
|
8482
|
+
readonly name: "setName";
|
|
8483
|
+
readonly outputs: readonly [];
|
|
8484
|
+
readonly stateMutability: "nonpayable";
|
|
8485
|
+
}, {
|
|
8486
|
+
readonly type: "function";
|
|
8487
|
+
readonly inputs: readonly [{
|
|
8488
|
+
readonly name: "curated";
|
|
8489
|
+
readonly internalType: "bool";
|
|
8490
|
+
readonly type: "bool";
|
|
8491
|
+
}];
|
|
8492
|
+
readonly name: "setQuoteCurated";
|
|
8493
|
+
readonly outputs: readonly [];
|
|
8494
|
+
readonly stateMutability: "nonpayable";
|
|
8495
|
+
}, {
|
|
8496
|
+
readonly type: "function";
|
|
8497
|
+
readonly inputs: readonly [{
|
|
8498
|
+
readonly name: "quote";
|
|
7730
8499
|
readonly internalType: "address";
|
|
7731
8500
|
readonly type: "address";
|
|
7732
|
-
|
|
8501
|
+
}, {
|
|
8502
|
+
readonly name: "listed";
|
|
8503
|
+
readonly internalType: "bool";
|
|
8504
|
+
readonly type: "bool";
|
|
8505
|
+
}];
|
|
8506
|
+
readonly name: "setQuoteListed";
|
|
8507
|
+
readonly outputs: readonly [];
|
|
8508
|
+
readonly stateMutability: "nonpayable";
|
|
8509
|
+
}, {
|
|
8510
|
+
readonly type: "function";
|
|
8511
|
+
readonly inputs: readonly [{
|
|
8512
|
+
readonly name: "poolId";
|
|
8513
|
+
readonly internalType: "bytes32";
|
|
8514
|
+
readonly type: "bytes32";
|
|
7733
8515
|
}, {
|
|
7734
8516
|
readonly name: "who";
|
|
7735
|
-
readonly internalType: "address";
|
|
7736
|
-
readonly type: "address";
|
|
7737
|
-
readonly indexed: true;
|
|
8517
|
+
readonly internalType: "address[]";
|
|
8518
|
+
readonly type: "address[]";
|
|
7738
8519
|
}, {
|
|
7739
|
-
readonly name: "
|
|
8520
|
+
readonly name: "yes";
|
|
7740
8521
|
readonly internalType: "bool";
|
|
7741
8522
|
readonly type: "bool";
|
|
7742
|
-
readonly indexed: false;
|
|
7743
8523
|
}];
|
|
7744
|
-
readonly name: "
|
|
8524
|
+
readonly name: "setTakers";
|
|
8525
|
+
readonly outputs: readonly [];
|
|
8526
|
+
readonly stateMutability: "nonpayable";
|
|
7745
8527
|
}, {
|
|
7746
8528
|
readonly type: "event";
|
|
7747
8529
|
readonly anonymous: false;
|
|
@@ -7812,6 +8594,51 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7812
8594
|
readonly indexed: false;
|
|
7813
8595
|
}];
|
|
7814
8596
|
readonly name: "HarvestCutSet";
|
|
8597
|
+
}, {
|
|
8598
|
+
readonly type: "event";
|
|
8599
|
+
readonly anonymous: false;
|
|
8600
|
+
readonly inputs: readonly [{
|
|
8601
|
+
readonly name: "poolId";
|
|
8602
|
+
readonly internalType: "bytes32";
|
|
8603
|
+
readonly type: "bytes32";
|
|
8604
|
+
readonly indexed: true;
|
|
8605
|
+
}, {
|
|
8606
|
+
readonly name: "authority";
|
|
8607
|
+
readonly internalType: "address";
|
|
8608
|
+
readonly type: "address";
|
|
8609
|
+
readonly indexed: true;
|
|
8610
|
+
}, {
|
|
8611
|
+
readonly name: "who";
|
|
8612
|
+
readonly internalType: "address";
|
|
8613
|
+
readonly type: "address";
|
|
8614
|
+
readonly indexed: true;
|
|
8615
|
+
}, {
|
|
8616
|
+
readonly name: "role";
|
|
8617
|
+
readonly internalType: "uint8";
|
|
8618
|
+
readonly type: "uint8";
|
|
8619
|
+
readonly indexed: false;
|
|
8620
|
+
}, {
|
|
8621
|
+
readonly name: "listed";
|
|
8622
|
+
readonly internalType: "bool";
|
|
8623
|
+
readonly type: "bool";
|
|
8624
|
+
readonly indexed: false;
|
|
8625
|
+
}];
|
|
8626
|
+
readonly name: "Listed";
|
|
8627
|
+
}, {
|
|
8628
|
+
readonly type: "event";
|
|
8629
|
+
readonly anonymous: false;
|
|
8630
|
+
readonly inputs: readonly [{
|
|
8631
|
+
readonly name: "poolId";
|
|
8632
|
+
readonly internalType: "bytes32";
|
|
8633
|
+
readonly type: "bytes32";
|
|
8634
|
+
readonly indexed: true;
|
|
8635
|
+
}, {
|
|
8636
|
+
readonly name: "name";
|
|
8637
|
+
readonly internalType: "bytes32";
|
|
8638
|
+
readonly type: "bytes32";
|
|
8639
|
+
readonly indexed: false;
|
|
8640
|
+
}];
|
|
8641
|
+
readonly name: "NameSet";
|
|
7815
8642
|
}, {
|
|
7816
8643
|
readonly type: "event";
|
|
7817
8644
|
readonly anonymous: false;
|
|
@@ -7852,10 +8679,43 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7852
8679
|
readonly indexed: true;
|
|
7853
8680
|
}];
|
|
7854
8681
|
readonly name: "OperatorSet";
|
|
8682
|
+
}, {
|
|
8683
|
+
readonly type: "event";
|
|
8684
|
+
readonly anonymous: false;
|
|
8685
|
+
readonly inputs: readonly [{
|
|
8686
|
+
readonly name: "curated";
|
|
8687
|
+
readonly internalType: "bool";
|
|
8688
|
+
readonly type: "bool";
|
|
8689
|
+
readonly indexed: false;
|
|
8690
|
+
}];
|
|
8691
|
+
readonly name: "QuoteCuratedSet";
|
|
8692
|
+
}, {
|
|
8693
|
+
readonly type: "event";
|
|
8694
|
+
readonly anonymous: false;
|
|
8695
|
+
readonly inputs: readonly [{
|
|
8696
|
+
readonly name: "quote";
|
|
8697
|
+
readonly internalType: "address";
|
|
8698
|
+
readonly type: "address";
|
|
8699
|
+
readonly indexed: true;
|
|
8700
|
+
}, {
|
|
8701
|
+
readonly name: "listed";
|
|
8702
|
+
readonly internalType: "bool";
|
|
8703
|
+
readonly type: "bool";
|
|
8704
|
+
readonly indexed: false;
|
|
8705
|
+
}];
|
|
8706
|
+
readonly name: "QuoteListed";
|
|
8707
|
+
}, {
|
|
8708
|
+
readonly type: "error";
|
|
8709
|
+
readonly inputs: readonly [];
|
|
8710
|
+
readonly name: "BadFee";
|
|
7855
8711
|
}, {
|
|
7856
8712
|
readonly type: "error";
|
|
7857
8713
|
readonly inputs: readonly [];
|
|
7858
8714
|
readonly name: "BadRate";
|
|
8715
|
+
}, {
|
|
8716
|
+
readonly type: "error";
|
|
8717
|
+
readonly inputs: readonly [];
|
|
8718
|
+
readonly name: "NoCreator";
|
|
7859
8719
|
}, {
|
|
7860
8720
|
readonly type: "error";
|
|
7861
8721
|
readonly inputs: readonly [];
|
|
@@ -7872,6 +8732,22 @@ export declare const privatePolicyAbi: readonly [{
|
|
|
7872
8732
|
readonly type: "error";
|
|
7873
8733
|
readonly inputs: readonly [];
|
|
7874
8734
|
readonly name: "NotOperator";
|
|
8735
|
+
}, {
|
|
8736
|
+
readonly type: "error";
|
|
8737
|
+
readonly inputs: readonly [];
|
|
8738
|
+
readonly name: "NotRegistry";
|
|
8739
|
+
}, {
|
|
8740
|
+
readonly type: "error";
|
|
8741
|
+
readonly inputs: readonly [];
|
|
8742
|
+
readonly name: "OneBase";
|
|
8743
|
+
}, {
|
|
8744
|
+
readonly type: "error";
|
|
8745
|
+
readonly inputs: readonly [{
|
|
8746
|
+
readonly name: "quote";
|
|
8747
|
+
readonly internalType: "address";
|
|
8748
|
+
readonly type: "address";
|
|
8749
|
+
}];
|
|
8750
|
+
readonly name: "QuoteNotListed";
|
|
7875
8751
|
}, {
|
|
7876
8752
|
readonly type: "error";
|
|
7877
8753
|
readonly inputs: readonly [];
|
|
@@ -7943,6 +8819,16 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
7943
8819
|
readonly type: "uint256";
|
|
7944
8820
|
}];
|
|
7945
8821
|
readonly stateMutability: "view";
|
|
8822
|
+
}, {
|
|
8823
|
+
readonly type: "function";
|
|
8824
|
+
readonly inputs: readonly [];
|
|
8825
|
+
readonly name: "kind";
|
|
8826
|
+
readonly outputs: readonly [{
|
|
8827
|
+
readonly name: "";
|
|
8828
|
+
readonly internalType: "bytes32";
|
|
8829
|
+
readonly type: "bytes32";
|
|
8830
|
+
}];
|
|
8831
|
+
readonly stateMutability: "pure";
|
|
7946
8832
|
}, {
|
|
7947
8833
|
readonly type: "function";
|
|
7948
8834
|
readonly inputs: readonly [{
|
|
@@ -8032,6 +8918,20 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8032
8918
|
readonly type: "bytes4";
|
|
8033
8919
|
}];
|
|
8034
8920
|
readonly stateMutability: "view";
|
|
8921
|
+
}, {
|
|
8922
|
+
readonly type: "function";
|
|
8923
|
+
readonly inputs: readonly [{
|
|
8924
|
+
readonly name: "";
|
|
8925
|
+
readonly internalType: "bytes32";
|
|
8926
|
+
readonly type: "bytes32";
|
|
8927
|
+
}];
|
|
8928
|
+
readonly name: "nameOf";
|
|
8929
|
+
readonly outputs: readonly [{
|
|
8930
|
+
readonly name: "";
|
|
8931
|
+
readonly internalType: "bytes32";
|
|
8932
|
+
readonly type: "bytes32";
|
|
8933
|
+
}];
|
|
8934
|
+
readonly stateMutability: "view";
|
|
8035
8935
|
}, {
|
|
8036
8936
|
readonly type: "function";
|
|
8037
8937
|
readonly inputs: readonly [{
|
|
@@ -8113,10 +9013,6 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8113
9013
|
readonly name: "phi";
|
|
8114
9014
|
readonly internalType: "uint256";
|
|
8115
9015
|
readonly type: "uint256";
|
|
8116
|
-
}, {
|
|
8117
|
-
readonly name: "kind";
|
|
8118
|
-
readonly internalType: "enum Kind";
|
|
8119
|
-
readonly type: "uint8";
|
|
8120
9016
|
}, {
|
|
8121
9017
|
readonly name: "policy";
|
|
8122
9018
|
readonly internalType: "address";
|
|
@@ -8138,6 +9034,24 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8138
9034
|
readonly type: "uint8";
|
|
8139
9035
|
}];
|
|
8140
9036
|
readonly stateMutability: "nonpayable";
|
|
9037
|
+
}, {
|
|
9038
|
+
readonly type: "function";
|
|
9039
|
+
readonly inputs: readonly [{
|
|
9040
|
+
readonly name: "poolId";
|
|
9041
|
+
readonly internalType: "bytes32";
|
|
9042
|
+
readonly type: "bytes32";
|
|
9043
|
+
}, {
|
|
9044
|
+
readonly name: "from";
|
|
9045
|
+
readonly internalType: "address";
|
|
9046
|
+
readonly type: "address";
|
|
9047
|
+
}];
|
|
9048
|
+
readonly name: "onMigrate";
|
|
9049
|
+
readonly outputs: readonly [{
|
|
9050
|
+
readonly name: "";
|
|
9051
|
+
readonly internalType: "uint8";
|
|
9052
|
+
readonly type: "uint8";
|
|
9053
|
+
}];
|
|
9054
|
+
readonly stateMutability: "nonpayable";
|
|
8141
9055
|
}, {
|
|
8142
9056
|
readonly type: "function";
|
|
8143
9057
|
readonly inputs: readonly [{
|
|
@@ -8234,6 +9148,30 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8234
9148
|
readonly name: "proposeAuthority";
|
|
8235
9149
|
readonly outputs: readonly [];
|
|
8236
9150
|
readonly stateMutability: "nonpayable";
|
|
9151
|
+
}, {
|
|
9152
|
+
readonly type: "function";
|
|
9153
|
+
readonly inputs: readonly [];
|
|
9154
|
+
readonly name: "quoteCurated";
|
|
9155
|
+
readonly outputs: readonly [{
|
|
9156
|
+
readonly name: "";
|
|
9157
|
+
readonly internalType: "bool";
|
|
9158
|
+
readonly type: "bool";
|
|
9159
|
+
}];
|
|
9160
|
+
readonly stateMutability: "view";
|
|
9161
|
+
}, {
|
|
9162
|
+
readonly type: "function";
|
|
9163
|
+
readonly inputs: readonly [{
|
|
9164
|
+
readonly name: "";
|
|
9165
|
+
readonly internalType: "address";
|
|
9166
|
+
readonly type: "address";
|
|
9167
|
+
}];
|
|
9168
|
+
readonly name: "quoteListed";
|
|
9169
|
+
readonly outputs: readonly [{
|
|
9170
|
+
readonly name: "";
|
|
9171
|
+
readonly internalType: "bool";
|
|
9172
|
+
readonly type: "bool";
|
|
9173
|
+
}];
|
|
9174
|
+
readonly stateMutability: "view";
|
|
8237
9175
|
}, {
|
|
8238
9176
|
readonly type: "function";
|
|
8239
9177
|
readonly inputs: readonly [{
|
|
@@ -8268,6 +9206,44 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8268
9206
|
readonly name: "setListed";
|
|
8269
9207
|
readonly outputs: readonly [];
|
|
8270
9208
|
readonly stateMutability: "nonpayable";
|
|
9209
|
+
}, {
|
|
9210
|
+
readonly type: "function";
|
|
9211
|
+
readonly inputs: readonly [{
|
|
9212
|
+
readonly name: "poolId";
|
|
9213
|
+
readonly internalType: "bytes32";
|
|
9214
|
+
readonly type: "bytes32";
|
|
9215
|
+
}, {
|
|
9216
|
+
readonly name: "name_";
|
|
9217
|
+
readonly internalType: "bytes32";
|
|
9218
|
+
readonly type: "bytes32";
|
|
9219
|
+
}];
|
|
9220
|
+
readonly name: "setName";
|
|
9221
|
+
readonly outputs: readonly [];
|
|
9222
|
+
readonly stateMutability: "nonpayable";
|
|
9223
|
+
}, {
|
|
9224
|
+
readonly type: "function";
|
|
9225
|
+
readonly inputs: readonly [{
|
|
9226
|
+
readonly name: "curated";
|
|
9227
|
+
readonly internalType: "bool";
|
|
9228
|
+
readonly type: "bool";
|
|
9229
|
+
}];
|
|
9230
|
+
readonly name: "setQuoteCurated";
|
|
9231
|
+
readonly outputs: readonly [];
|
|
9232
|
+
readonly stateMutability: "nonpayable";
|
|
9233
|
+
}, {
|
|
9234
|
+
readonly type: "function";
|
|
9235
|
+
readonly inputs: readonly [{
|
|
9236
|
+
readonly name: "quote";
|
|
9237
|
+
readonly internalType: "address";
|
|
9238
|
+
readonly type: "address";
|
|
9239
|
+
}, {
|
|
9240
|
+
readonly name: "listed";
|
|
9241
|
+
readonly internalType: "bool";
|
|
9242
|
+
readonly type: "bool";
|
|
9243
|
+
}];
|
|
9244
|
+
readonly name: "setQuoteListed";
|
|
9245
|
+
readonly outputs: readonly [];
|
|
9246
|
+
readonly stateMutability: "nonpayable";
|
|
8271
9247
|
}, {
|
|
8272
9248
|
readonly type: "event";
|
|
8273
9249
|
readonly anonymous: false;
|
|
@@ -8343,10 +9319,58 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8343
9319
|
readonly indexed: false;
|
|
8344
9320
|
}];
|
|
8345
9321
|
readonly name: "Listed";
|
|
9322
|
+
}, {
|
|
9323
|
+
readonly type: "event";
|
|
9324
|
+
readonly anonymous: false;
|
|
9325
|
+
readonly inputs: readonly [{
|
|
9326
|
+
readonly name: "poolId";
|
|
9327
|
+
readonly internalType: "bytes32";
|
|
9328
|
+
readonly type: "bytes32";
|
|
9329
|
+
readonly indexed: true;
|
|
9330
|
+
}, {
|
|
9331
|
+
readonly name: "name";
|
|
9332
|
+
readonly internalType: "bytes32";
|
|
9333
|
+
readonly type: "bytes32";
|
|
9334
|
+
readonly indexed: false;
|
|
9335
|
+
}];
|
|
9336
|
+
readonly name: "NameSet";
|
|
9337
|
+
}, {
|
|
9338
|
+
readonly type: "event";
|
|
9339
|
+
readonly anonymous: false;
|
|
9340
|
+
readonly inputs: readonly [{
|
|
9341
|
+
readonly name: "curated";
|
|
9342
|
+
readonly internalType: "bool";
|
|
9343
|
+
readonly type: "bool";
|
|
9344
|
+
readonly indexed: false;
|
|
9345
|
+
}];
|
|
9346
|
+
readonly name: "QuoteCuratedSet";
|
|
9347
|
+
}, {
|
|
9348
|
+
readonly type: "event";
|
|
9349
|
+
readonly anonymous: false;
|
|
9350
|
+
readonly inputs: readonly [{
|
|
9351
|
+
readonly name: "quote";
|
|
9352
|
+
readonly internalType: "address";
|
|
9353
|
+
readonly type: "address";
|
|
9354
|
+
readonly indexed: true;
|
|
9355
|
+
}, {
|
|
9356
|
+
readonly name: "listed";
|
|
9357
|
+
readonly internalType: "bool";
|
|
9358
|
+
readonly type: "bool";
|
|
9359
|
+
readonly indexed: false;
|
|
9360
|
+
}];
|
|
9361
|
+
readonly name: "QuoteListed";
|
|
9362
|
+
}, {
|
|
9363
|
+
readonly type: "error";
|
|
9364
|
+
readonly inputs: readonly [];
|
|
9365
|
+
readonly name: "BadFee";
|
|
8346
9366
|
}, {
|
|
8347
9367
|
readonly type: "error";
|
|
8348
9368
|
readonly inputs: readonly [];
|
|
8349
9369
|
readonly name: "BadRate";
|
|
9370
|
+
}, {
|
|
9371
|
+
readonly type: "error";
|
|
9372
|
+
readonly inputs: readonly [];
|
|
9373
|
+
readonly name: "NoCreator";
|
|
8350
9374
|
}, {
|
|
8351
9375
|
readonly type: "error";
|
|
8352
9376
|
readonly inputs: readonly [];
|
|
@@ -8367,6 +9391,22 @@ export declare const publicPolicyAbi: readonly [{
|
|
|
8367
9391
|
readonly type: "error";
|
|
8368
9392
|
readonly inputs: readonly [];
|
|
8369
9393
|
readonly name: "NotManager";
|
|
9394
|
+
}, {
|
|
9395
|
+
readonly type: "error";
|
|
9396
|
+
readonly inputs: readonly [];
|
|
9397
|
+
readonly name: "NotRegistry";
|
|
9398
|
+
}, {
|
|
9399
|
+
readonly type: "error";
|
|
9400
|
+
readonly inputs: readonly [];
|
|
9401
|
+
readonly name: "OneBase";
|
|
9402
|
+
}, {
|
|
9403
|
+
readonly type: "error";
|
|
9404
|
+
readonly inputs: readonly [{
|
|
9405
|
+
readonly name: "quote";
|
|
9406
|
+
readonly internalType: "address";
|
|
9407
|
+
readonly type: "address";
|
|
9408
|
+
}];
|
|
9409
|
+
readonly name: "QuoteNotListed";
|
|
8370
9410
|
}, {
|
|
8371
9411
|
readonly type: "error";
|
|
8372
9412
|
readonly inputs: readonly [];
|