@logswap/sdk 0.5.79 → 0.5.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -14
- package/dist/admin.d.ts +697 -75
- package/dist/admin.js +54 -65
- package/dist/client.d.ts +2 -2
- package/dist/client.js +13 -2
- package/dist/fpool.d.ts +309 -339
- package/dist/fpool.js +225 -210
- package/dist/generated.d.ts +1542 -1182
- package/dist/generated.js +938 -847
- package/dist/history.d.ts +1 -2
- package/dist/history.js +3 -5
- package/dist/indexer.d.ts +1 -1
- package/dist/indexer.js +4 -2
- package/dist/keys.d.ts +23 -1
- package/dist/keys.js +18 -0
- package/dist/liquidity.d.ts +0 -5
- package/dist/liquidity.js +1 -2
- package/dist/pools.d.ts +8 -11
- package/dist/pools.js +9 -8
- package/dist/positions.d.ts +4 -5
- package/dist/positions.js +6 -7
- package/dist/views.d.ts +6 -10
- package/dist/views.js +6 -6
- package/package.json +1 -1
- package/src/admin.ts +62 -74
- package/src/client.ts +13 -2
- package/src/fpool.ts +315 -289
- package/src/generated.ts +938 -847
- package/src/history.ts +3 -4
- package/src/indexer.ts +5 -3
- package/src/keys.ts +34 -1
- package/src/liquidity.ts +1 -7
- package/src/pools.ts +14 -15
- package/src/positions.ts +6 -7
- package/src/views.ts +12 -16
package/dist/admin.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* registry and the policies; no router.
|
|
8
8
|
*
|
|
9
9
|
* The mint fee has no cut to set since C version 6 / F version 24 (decisions 058): the whole fee
|
|
10
|
-
* is the protocol's on both managers. A harvest has no cut (056); a pad's protocol share of the
|
|
10
|
+
* is the protocol's on both managers. A harvest has no cut (056); a pad's protocol share of the income
|
|
11
11
|
* is the policy's (`PadPolicy.setSchedule`), capped by the manager at `POT_CUT_MAX`.
|
|
12
12
|
*/
|
|
13
13
|
import type { Address, Hash, Hex } from "viem";
|
|
@@ -123,10 +123,10 @@ export declare function fPoolMigrate(c: LogswapClient, a: {
|
|
|
123
123
|
*/
|
|
124
124
|
export declare function registryKindOf(c: LogswapClient, policy: Address): Promise<FPoolKind | "">;
|
|
125
125
|
/**
|
|
126
|
-
* `PadPolicy.setSchedule` (decisions 056, 067, 070): the rung's growth
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
126
|
+
* `PadPolicy.setSchedule` (decisions 056, 067, 070, 073): the rung's growth and the RANGE inside which a creator chooses their cut of the income
|
|
127
|
+
* at creation (its top ≤ the F manager's `PAYEE_CUT_MAX`). The rest of the income deepens the bid — nothing is bought or
|
|
128
|
+
* burnt since F version 28, and the protocol takes no cut of the income since F version 33 (its revenue is the income tax,
|
|
129
|
+
* {@link padSetIncomeTaxRate}). A change to the range applies to pads born after it; the growth moves every pad at its
|
|
130
130
|
* next rung. The rung is the pool's generation. `T(0)` is per quote since decision 070: {@link padSetThresholdBase}.
|
|
131
131
|
*/
|
|
132
132
|
export declare function padSetSchedule(c: LogswapClient, policy: Address, s: PadSchedule): Promise<Hash>;
|
|
@@ -145,24 +145,24 @@ export interface PadThresholdBase {
|
|
|
145
145
|
}
|
|
146
146
|
/** `PadPolicy.thresholdSet(quote)` and `thresholdBaseOf(quote)` for each quote asked (decision 070). */
|
|
147
147
|
export declare function padThresholdBases(c: LogswapClient, policy: Address, quotes: readonly Address[]): Promise<PadThresholdBase[]>;
|
|
148
|
-
/** `PadPolicy.thresholdOf(quote, rung)` (decision 070): the
|
|
148
|
+
/** `PadPolicy.thresholdOf(quote, rung)` (decision 070): the income a pad quoted in `quote` must bank to climb `rung` (0 reads `T(0)`). */
|
|
149
149
|
export declare function padThresholdOf(c: LogswapClient, policy: Address, quote: Address, rung?: bigint | number): Promise<bigint>;
|
|
150
|
-
/** `PadPolicy.threshold(poolId, rung)` (decision 070): the
|
|
150
|
+
/** `PadPolicy.threshold(poolId, rung)` (decision 070): the income pad `poolId` must bank to climb `rung`, in its own quote. */
|
|
151
151
|
export declare function padThreshold(c: LogswapClient, policy: Address, poolId: Hex, rung: bigint | number): Promise<bigint>;
|
|
152
152
|
/** A pad policy's schedule (decision 070: without `T(0)`, which is per quote — {@link padThresholdBases}). WAD numbers. */
|
|
153
153
|
export interface PadSchedule {
|
|
154
154
|
thresholdGrowth: bigint;
|
|
155
|
-
protocolShare: bigint;
|
|
156
155
|
creatorShareMin: bigint;
|
|
157
156
|
creatorShareMax: bigint;
|
|
158
157
|
}
|
|
159
158
|
/** Read {@link PadSchedule} off a pad policy. */
|
|
160
159
|
export declare function padScheduleOf(c: LogswapClient, policy: Address): Promise<PadSchedule>;
|
|
161
|
-
/** `PolPolicy.
|
|
162
|
-
export declare function
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
/** `PolPolicy.setMinQuoteRatio` (decision 073): the reserve a harvest must leave in the bid (`may(Harvest)` refuses less) and a relaunch's seed must bring, a multiple of the pool's L in WAD (at most 100e18). The policy sponsor's. */
|
|
161
|
+
export declare function polSetMinQuoteRatio(c: LogswapClient, policy: Address, ratio: bigint): Promise<Hash>;
|
|
162
|
+
/** `PadPolicy.setIncomeTaxRate` (decision 073): the share of its new income dividend the dead shares pay LOG Treasury as income tax, WAD, at most 50%. The policy sponsor's. */
|
|
163
|
+
export declare function padSetIncomeTaxRate(c: LogswapClient, policy: Address, rate: bigint): Promise<Hash>;
|
|
164
|
+
/** `PolPolicy.setIncomeTaxRate` (decision 073): the share of its new income dividend the pool's authority pays LOG Treasury, WAD, at most 50%. Paid on the authority's own shares only: an authority that holds through another address pays nothing. The policy sponsor's. */
|
|
165
|
+
export declare function polSetIncomeTaxRate(c: LogswapClient, policy: Address, rate: bigint): Promise<Hash>;
|
|
166
166
|
/** `setQuoteListed` on any protocol policy: a quote a pool of that kind may be born against while it curates quotes. The LOG Authority's. */
|
|
167
167
|
export declare function policySetQuoteListed(c: LogswapClient, policy: Address, quote: Address, listed: boolean): Promise<Hash>;
|
|
168
168
|
/** `setQuoteCurated` on any protocol policy: on, a birth against an unlisted quote is refused. The LOG Authority's. */
|
|
@@ -187,55 +187,46 @@ export declare function policyFeeAllowed(c: LogswapClient, policy: Address, fee:
|
|
|
187
187
|
listed: boolean;
|
|
188
188
|
allowed: boolean;
|
|
189
189
|
}>;
|
|
190
|
-
/** `
|
|
191
|
-
export
|
|
192
|
-
/** `
|
|
193
|
-
export declare function
|
|
194
|
-
/**
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
*/
|
|
199
|
-
export declare function
|
|
200
|
-
curated: boolean;
|
|
201
|
-
listed: bigint[];
|
|
202
|
-
}>;
|
|
203
|
-
/** `setCreatorListed` on any protocol policy (064): a creator onboarded under a service agreement. */
|
|
204
|
-
export declare function policySetCreatorListed(c: LogswapClient, policy: Address, who: Address, listed: boolean): Promise<Hash>;
|
|
205
|
-
/** `setCreatorCurated` on any protocol policy: on, only listed creators may create on that kind (C: the caller; F: `key.creator`). */
|
|
206
|
-
export declare function policySetCreatorCurated(c: LogswapClient, policy: Address, curated: boolean): Promise<Hash>;
|
|
190
|
+
/** `PolicyRegistry.CreationMode` (decision 073): who may create under a policy. Open = 0, Restricted = 1 (the initializer list), SponsorOnly = 2 (bound to a sponsor, permanent). */
|
|
191
|
+
export type CreationMode = "open" | "restricted" | "sponsorOnly";
|
|
192
|
+
/** `PolicyRegistry.setCreationMode(policy, mode)` (the LOG Authority): replaces the per-policy creator lists (064). A sponsor-bound policy cannot leave `sponsorOnly`. */
|
|
193
|
+
export declare function registrySetCreationMode(c: LogswapClient, policy: Address, mode: CreationMode): Promise<Hash>;
|
|
194
|
+
/** `PolicyRegistry.setInitializerListed(policy, who, allowed)` (the LOG Authority): who may create under a `restricted` policy, authenticated as the caller or a trusted forwarder's user. */
|
|
195
|
+
export declare function registrySetInitializerListed(c: LogswapClient, policy: Address, who: Address, allowed: boolean): Promise<Hash>;
|
|
196
|
+
/** `PolicyRegistry.setForwarderTrusted` (the LOG Authority): a router whose `user()` names the creator. Moved off the public policy in F version 33. */
|
|
197
|
+
export declare function registrySetForwarderTrusted(c: LogswapClient, forwarder: Address, trusted: boolean): Promise<Hash>;
|
|
198
|
+
/** `PolicyRegistry.creationMode(policy)`. */
|
|
199
|
+
export declare function registryCreationMode(c: LogswapClient, policy: Address): Promise<CreationMode>;
|
|
207
200
|
/** `PublicPolicy.setPairListed` (064): a C pair a market may be born on while pairs are curated. Directional (base, quote). */
|
|
208
201
|
export declare function gateSetPairListed(c: LogswapClient, policy: Address, base: Address, quote: Address, listed: boolean): Promise<Hash>;
|
|
209
202
|
/** `PublicPolicy.setPairCurated` (064). */
|
|
210
203
|
export declare function gateSetPairCurated(c: LogswapClient, policy: Address, curated: boolean): Promise<Hash>;
|
|
211
204
|
/** `PublicPolicy.setSpacingListed` (064): a C tick spacing, WAD (10 bp = 1e15, 100 bp = 1e16). Always consulted. */
|
|
212
205
|
export declare function gateSetSpacingListed(c: LogswapClient, policy: Address, tickSpacing: bigint, listed: boolean): Promise<Hash>;
|
|
213
|
-
/** `PublicPolicy.setForwarderTrusted` (064): a router whose `user()` the gate takes as the creator. */
|
|
214
|
-
export declare function gateSetForwarderTrusted(c: LogswapClient, policy: Address, forwarder: Address, trusted: boolean): Promise<Hash>;
|
|
215
206
|
/**
|
|
216
207
|
* @deprecated C version 8 fixes the gate at construction (066): there is no `setGate`. Open or close
|
|
217
|
-
* C through the gate's lists (`
|
|
208
|
+
* C through the gate's lists (`registrySetCreationMode`, `gateSetPairCurated`, `gateSetSpacingListed`, …).
|
|
218
209
|
*/
|
|
219
210
|
export declare function setCGate(_c: LogswapClient, _gate: Address): Promise<Hash>;
|
|
220
|
-
/** The C manager's gate (`address(0)`: permissionless, a fee-free market then refused). */
|
|
221
|
-
export declare function cGate(c: LogswapClient): Promise<Address>;
|
|
222
211
|
export interface CGateRules {
|
|
212
|
+
/** The registry admits `creator` to create under `key.policy` (creation mode, initializer list, sponsor binding; decision 073). */
|
|
223
213
|
creatorOk: boolean;
|
|
224
214
|
quoteOk: boolean;
|
|
225
215
|
pairOk: boolean;
|
|
226
216
|
feeOk: boolean;
|
|
227
217
|
spacingOk: boolean;
|
|
228
|
-
/** A market on (base, quote, fee) already exists, whatever its spacing: the
|
|
218
|
+
/** A market on (base, quote, fee) already exists, whatever its spacing: the policy refuses another (064 (b)). */
|
|
229
219
|
exists: boolean;
|
|
230
|
-
/** Whether `router` is a trusted forwarder — `createMarket` through it is then checked against `creator`. */
|
|
220
|
+
/** Whether `router` is a trusted forwarder on the registry — `createMarket` through it is then checked against `creator`. */
|
|
231
221
|
routerTrusted: boolean;
|
|
232
|
-
/** Every check passes: the
|
|
222
|
+
/** Every check passes: the policy would admit this market from this creator (the mint fee is a key field, checked by the manager). */
|
|
233
223
|
admitted: boolean;
|
|
234
224
|
}
|
|
235
225
|
/**
|
|
236
226
|
* The public policy's C checks for one candidate market and creator, in one round of reads — what
|
|
237
|
-
* the create form shows before a wallet is asked (064).
|
|
238
|
-
*
|
|
227
|
+
* the create form shows before a wallet is asked (064, 073). The policy is `key.policy`; the registry
|
|
228
|
+
* is asked `admit(policy, caller, 0)`, with the caller being the router when it is a trusted forwarder
|
|
229
|
+
* (it then names `creator` itself) and `creator` otherwise.
|
|
239
230
|
*/
|
|
240
231
|
export declare function cGateRules(c: LogswapClient, a: {
|
|
241
232
|
key: PoolKey;
|
|
@@ -269,21 +260,676 @@ export declare const gateErrorAbi: readonly ({
|
|
|
269
260
|
}];
|
|
270
261
|
readonly name: "PadExists";
|
|
271
262
|
} | {
|
|
272
|
-
readonly type: "
|
|
273
|
-
readonly inputs: readonly [
|
|
274
|
-
|
|
263
|
+
readonly type: "constructor";
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly name: "_logAuthority";
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}];
|
|
269
|
+
readonly stateMutability: "nonpayable";
|
|
275
270
|
} | {
|
|
276
|
-
readonly type: "
|
|
271
|
+
readonly type: "function";
|
|
277
272
|
readonly inputs: readonly [];
|
|
278
|
-
readonly name: "
|
|
273
|
+
readonly name: "acceptLogAuthority";
|
|
274
|
+
readonly outputs: readonly [];
|
|
275
|
+
readonly stateMutability: "nonpayable";
|
|
279
276
|
} | {
|
|
280
|
-
readonly type: "
|
|
277
|
+
readonly type: "function";
|
|
281
278
|
readonly inputs: readonly [{
|
|
279
|
+
readonly name: "policy";
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly type: "address";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "caller";
|
|
284
|
+
readonly internalType: "address";
|
|
285
|
+
readonly type: "address";
|
|
286
|
+
}, {
|
|
282
287
|
readonly name: "creator";
|
|
283
288
|
readonly internalType: "address";
|
|
284
289
|
readonly type: "address";
|
|
285
290
|
}];
|
|
286
|
-
readonly name: "
|
|
291
|
+
readonly name: "admit";
|
|
292
|
+
readonly outputs: readonly [{
|
|
293
|
+
readonly name: "who";
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
}];
|
|
297
|
+
readonly stateMutability: "view";
|
|
298
|
+
} | {
|
|
299
|
+
readonly type: "function";
|
|
300
|
+
readonly inputs: readonly [{
|
|
301
|
+
readonly name: "policy";
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly type: "address";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "name";
|
|
306
|
+
readonly internalType: "bytes32";
|
|
307
|
+
readonly type: "bytes32";
|
|
308
|
+
}];
|
|
309
|
+
readonly name: "approve";
|
|
310
|
+
readonly outputs: readonly [];
|
|
311
|
+
readonly stateMutability: "nonpayable";
|
|
312
|
+
} | {
|
|
313
|
+
readonly type: "function";
|
|
314
|
+
readonly inputs: readonly [{
|
|
315
|
+
readonly name: "policy";
|
|
316
|
+
readonly internalType: "address";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "sponsor";
|
|
320
|
+
readonly internalType: "address";
|
|
321
|
+
readonly type: "address";
|
|
322
|
+
}];
|
|
323
|
+
readonly name: "bindSponsor";
|
|
324
|
+
readonly outputs: readonly [];
|
|
325
|
+
readonly stateMutability: "nonpayable";
|
|
326
|
+
} | {
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
readonly inputs: readonly [{
|
|
329
|
+
readonly name: "";
|
|
330
|
+
readonly internalType: "address";
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
}];
|
|
333
|
+
readonly name: "creationMode";
|
|
334
|
+
readonly outputs: readonly [{
|
|
335
|
+
readonly name: "";
|
|
336
|
+
readonly internalType: "enum PolicyRegistry.CreationMode";
|
|
337
|
+
readonly type: "uint8";
|
|
338
|
+
}];
|
|
339
|
+
readonly stateMutability: "view";
|
|
340
|
+
} | {
|
|
341
|
+
readonly type: "function";
|
|
342
|
+
readonly inputs: readonly [{
|
|
343
|
+
readonly name: "";
|
|
344
|
+
readonly internalType: "address";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}];
|
|
347
|
+
readonly name: "entries";
|
|
348
|
+
readonly outputs: readonly [{
|
|
349
|
+
readonly name: "listed";
|
|
350
|
+
readonly internalType: "bool";
|
|
351
|
+
readonly type: "bool";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "until";
|
|
354
|
+
readonly internalType: "uint64";
|
|
355
|
+
readonly type: "uint64";
|
|
356
|
+
}, {
|
|
357
|
+
readonly name: "index";
|
|
358
|
+
readonly internalType: "uint32";
|
|
359
|
+
readonly type: "uint32";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "name";
|
|
362
|
+
readonly internalType: "bytes32";
|
|
363
|
+
readonly type: "bytes32";
|
|
364
|
+
}];
|
|
365
|
+
readonly stateMutability: "view";
|
|
366
|
+
} | {
|
|
367
|
+
readonly type: "function";
|
|
368
|
+
readonly inputs: readonly [{
|
|
369
|
+
readonly name: "";
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly type: "address";
|
|
372
|
+
}];
|
|
373
|
+
readonly name: "forwarderTrusted";
|
|
374
|
+
readonly outputs: readonly [{
|
|
375
|
+
readonly name: "";
|
|
376
|
+
readonly internalType: "bool";
|
|
377
|
+
readonly type: "bool";
|
|
378
|
+
}];
|
|
379
|
+
readonly stateMutability: "view";
|
|
380
|
+
} | {
|
|
381
|
+
readonly type: "function";
|
|
382
|
+
readonly inputs: readonly [{
|
|
383
|
+
readonly name: "";
|
|
384
|
+
readonly internalType: "address";
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "";
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
readonly type: "address";
|
|
390
|
+
}];
|
|
391
|
+
readonly name: "initializerListed";
|
|
392
|
+
readonly outputs: readonly [{
|
|
393
|
+
readonly name: "";
|
|
394
|
+
readonly internalType: "bool";
|
|
395
|
+
readonly type: "bool";
|
|
396
|
+
}];
|
|
397
|
+
readonly stateMutability: "view";
|
|
398
|
+
} | {
|
|
399
|
+
readonly type: "function";
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly name: "policy";
|
|
402
|
+
readonly internalType: "address";
|
|
403
|
+
readonly type: "address";
|
|
404
|
+
}];
|
|
405
|
+
readonly name: "isApproved";
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly name: "";
|
|
408
|
+
readonly internalType: "bool";
|
|
409
|
+
readonly type: "bool";
|
|
410
|
+
}];
|
|
411
|
+
readonly stateMutability: "view";
|
|
412
|
+
} | {
|
|
413
|
+
readonly type: "function";
|
|
414
|
+
readonly inputs: readonly [{
|
|
415
|
+
readonly name: "";
|
|
416
|
+
readonly internalType: "address";
|
|
417
|
+
readonly type: "address";
|
|
418
|
+
}];
|
|
419
|
+
readonly name: "kindOf";
|
|
420
|
+
readonly outputs: readonly [{
|
|
421
|
+
readonly name: "";
|
|
422
|
+
readonly internalType: "bytes32";
|
|
423
|
+
readonly type: "bytes32";
|
|
424
|
+
}];
|
|
425
|
+
readonly stateMutability: "view";
|
|
426
|
+
} | {
|
|
427
|
+
readonly type: "function";
|
|
428
|
+
readonly inputs: readonly [];
|
|
429
|
+
readonly name: "logAuthority";
|
|
430
|
+
readonly outputs: readonly [{
|
|
431
|
+
readonly name: "";
|
|
432
|
+
readonly internalType: "address";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
}];
|
|
435
|
+
readonly stateMutability: "view";
|
|
436
|
+
} | {
|
|
437
|
+
readonly type: "function";
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly name: "manager";
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "key";
|
|
444
|
+
readonly internalType: "struct FPoolKey";
|
|
445
|
+
readonly type: "tuple";
|
|
446
|
+
readonly components: readonly [{
|
|
447
|
+
readonly name: "quote";
|
|
448
|
+
readonly internalType: "address";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
}, {
|
|
451
|
+
readonly name: "bases";
|
|
452
|
+
readonly internalType: "address[]";
|
|
453
|
+
readonly type: "address[]";
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: "swapFee";
|
|
456
|
+
readonly internalType: "uint256";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "policy";
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "creator";
|
|
464
|
+
readonly internalType: "address";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
}, {
|
|
467
|
+
readonly name: "salt";
|
|
468
|
+
readonly internalType: "bytes32";
|
|
469
|
+
readonly type: "bytes32";
|
|
470
|
+
}, {
|
|
471
|
+
readonly name: "mintFee";
|
|
472
|
+
readonly internalType: "uint256";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
}];
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "to";
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly type: "address";
|
|
479
|
+
}];
|
|
480
|
+
readonly name: "migrate";
|
|
481
|
+
readonly outputs: readonly [];
|
|
482
|
+
readonly stateMutability: "nonpayable";
|
|
483
|
+
} | {
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
readonly inputs: readonly [{
|
|
486
|
+
readonly name: "manager";
|
|
487
|
+
readonly internalType: "address";
|
|
488
|
+
readonly type: "address";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "key";
|
|
491
|
+
readonly internalType: "struct FPoolKey";
|
|
492
|
+
readonly type: "tuple";
|
|
493
|
+
readonly components: readonly [{
|
|
494
|
+
readonly name: "quote";
|
|
495
|
+
readonly internalType: "address";
|
|
496
|
+
readonly type: "address";
|
|
497
|
+
}, {
|
|
498
|
+
readonly name: "bases";
|
|
499
|
+
readonly internalType: "address[]";
|
|
500
|
+
readonly type: "address[]";
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "swapFee";
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
readonly type: "uint256";
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "policy";
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
readonly type: "address";
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "creator";
|
|
511
|
+
readonly internalType: "address";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "salt";
|
|
515
|
+
readonly internalType: "bytes32";
|
|
516
|
+
readonly type: "bytes32";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "mintFee";
|
|
519
|
+
readonly internalType: "uint256";
|
|
520
|
+
readonly type: "uint256";
|
|
521
|
+
}];
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "to";
|
|
524
|
+
readonly internalType: "address";
|
|
525
|
+
readonly type: "address";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "permissions";
|
|
528
|
+
readonly internalType: "struct IPrivatePolicyMigration.Permissions";
|
|
529
|
+
readonly type: "tuple";
|
|
530
|
+
readonly components: readonly [{
|
|
531
|
+
readonly name: "swapMode";
|
|
532
|
+
readonly internalType: "uint8";
|
|
533
|
+
readonly type: "uint8";
|
|
534
|
+
}, {
|
|
535
|
+
readonly name: "executor";
|
|
536
|
+
readonly internalType: "address";
|
|
537
|
+
readonly type: "address";
|
|
538
|
+
}, {
|
|
539
|
+
readonly name: "mintGated";
|
|
540
|
+
readonly internalType: "bool";
|
|
541
|
+
readonly type: "bool";
|
|
542
|
+
}, {
|
|
543
|
+
readonly name: "minters";
|
|
544
|
+
readonly internalType: "address[]";
|
|
545
|
+
readonly type: "address[]";
|
|
546
|
+
}, {
|
|
547
|
+
readonly name: "takers";
|
|
548
|
+
readonly internalType: "address[]";
|
|
549
|
+
readonly type: "address[]";
|
|
550
|
+
}];
|
|
551
|
+
}];
|
|
552
|
+
readonly name: "migratePrivate";
|
|
553
|
+
readonly outputs: readonly [];
|
|
554
|
+
readonly stateMutability: "nonpayable";
|
|
555
|
+
} | {
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
readonly inputs: readonly [];
|
|
558
|
+
readonly name: "pendingLogAuthority";
|
|
559
|
+
readonly outputs: readonly [{
|
|
560
|
+
readonly name: "";
|
|
561
|
+
readonly internalType: "address";
|
|
562
|
+
readonly type: "address";
|
|
563
|
+
}];
|
|
564
|
+
readonly stateMutability: "view";
|
|
565
|
+
} | {
|
|
566
|
+
readonly type: "function";
|
|
567
|
+
readonly inputs: readonly [];
|
|
568
|
+
readonly name: "policies";
|
|
569
|
+
readonly outputs: readonly [{
|
|
570
|
+
readonly name: "";
|
|
571
|
+
readonly internalType: "address[]";
|
|
572
|
+
readonly type: "address[]";
|
|
573
|
+
}];
|
|
574
|
+
readonly stateMutability: "view";
|
|
575
|
+
} | {
|
|
576
|
+
readonly type: "function";
|
|
577
|
+
readonly inputs: readonly [{
|
|
578
|
+
readonly name: "next";
|
|
579
|
+
readonly internalType: "address";
|
|
580
|
+
readonly type: "address";
|
|
581
|
+
}];
|
|
582
|
+
readonly name: "proposeLogAuthority";
|
|
583
|
+
readonly outputs: readonly [];
|
|
584
|
+
readonly stateMutability: "nonpayable";
|
|
585
|
+
} | {
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
readonly inputs: readonly [{
|
|
588
|
+
readonly name: "policy";
|
|
589
|
+
readonly internalType: "address";
|
|
590
|
+
readonly type: "address";
|
|
591
|
+
}];
|
|
592
|
+
readonly name: "revoke";
|
|
593
|
+
readonly outputs: readonly [];
|
|
594
|
+
readonly stateMutability: "nonpayable";
|
|
595
|
+
} | {
|
|
596
|
+
readonly type: "function";
|
|
597
|
+
readonly inputs: readonly [{
|
|
598
|
+
readonly name: "policy";
|
|
599
|
+
readonly internalType: "address";
|
|
600
|
+
readonly type: "address";
|
|
601
|
+
}, {
|
|
602
|
+
readonly name: "mode";
|
|
603
|
+
readonly internalType: "enum PolicyRegistry.CreationMode";
|
|
604
|
+
readonly type: "uint8";
|
|
605
|
+
}];
|
|
606
|
+
readonly name: "setCreationMode";
|
|
607
|
+
readonly outputs: readonly [];
|
|
608
|
+
readonly stateMutability: "nonpayable";
|
|
609
|
+
} | {
|
|
610
|
+
readonly type: "function";
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly name: "forwarder";
|
|
613
|
+
readonly internalType: "address";
|
|
614
|
+
readonly type: "address";
|
|
615
|
+
}, {
|
|
616
|
+
readonly name: "trusted";
|
|
617
|
+
readonly internalType: "bool";
|
|
618
|
+
readonly type: "bool";
|
|
619
|
+
}];
|
|
620
|
+
readonly name: "setForwarderTrusted";
|
|
621
|
+
readonly outputs: readonly [];
|
|
622
|
+
readonly stateMutability: "nonpayable";
|
|
623
|
+
} | {
|
|
624
|
+
readonly type: "function";
|
|
625
|
+
readonly inputs: readonly [{
|
|
626
|
+
readonly name: "policy";
|
|
627
|
+
readonly internalType: "address";
|
|
628
|
+
readonly type: "address";
|
|
629
|
+
}, {
|
|
630
|
+
readonly name: "who";
|
|
631
|
+
readonly internalType: "address";
|
|
632
|
+
readonly type: "address";
|
|
633
|
+
}, {
|
|
634
|
+
readonly name: "allowed";
|
|
635
|
+
readonly internalType: "bool";
|
|
636
|
+
readonly type: "bool";
|
|
637
|
+
}];
|
|
638
|
+
readonly name: "setInitializerListed";
|
|
639
|
+
readonly outputs: readonly [];
|
|
640
|
+
readonly stateMutability: "nonpayable";
|
|
641
|
+
} | {
|
|
642
|
+
readonly type: "function";
|
|
643
|
+
readonly inputs: readonly [{
|
|
644
|
+
readonly name: "who";
|
|
645
|
+
readonly internalType: "address";
|
|
646
|
+
readonly type: "address";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "name";
|
|
649
|
+
readonly internalType: "bytes32";
|
|
650
|
+
readonly type: "bytes32";
|
|
651
|
+
}];
|
|
652
|
+
readonly name: "setSponsorName";
|
|
653
|
+
readonly outputs: readonly [];
|
|
654
|
+
readonly stateMutability: "nonpayable";
|
|
655
|
+
} | {
|
|
656
|
+
readonly type: "function";
|
|
657
|
+
readonly inputs: readonly [{
|
|
658
|
+
readonly name: "";
|
|
659
|
+
readonly internalType: "address";
|
|
660
|
+
readonly type: "address";
|
|
661
|
+
}];
|
|
662
|
+
readonly name: "sponsorName";
|
|
663
|
+
readonly outputs: readonly [{
|
|
664
|
+
readonly name: "";
|
|
665
|
+
readonly internalType: "bytes32";
|
|
666
|
+
readonly type: "bytes32";
|
|
667
|
+
}];
|
|
668
|
+
readonly stateMutability: "view";
|
|
669
|
+
} | {
|
|
670
|
+
readonly type: "function";
|
|
671
|
+
readonly inputs: readonly [{
|
|
672
|
+
readonly name: "policy";
|
|
673
|
+
readonly internalType: "address";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}];
|
|
676
|
+
readonly name: "sponsorOf";
|
|
677
|
+
readonly outputs: readonly [{
|
|
678
|
+
readonly name: "";
|
|
679
|
+
readonly internalType: "address";
|
|
680
|
+
readonly type: "address";
|
|
681
|
+
}];
|
|
682
|
+
readonly stateMutability: "view";
|
|
683
|
+
} | {
|
|
684
|
+
readonly type: "function";
|
|
685
|
+
readonly inputs: readonly [{
|
|
686
|
+
readonly name: "policy";
|
|
687
|
+
readonly internalType: "address";
|
|
688
|
+
readonly type: "address";
|
|
689
|
+
}, {
|
|
690
|
+
readonly name: "untilTime";
|
|
691
|
+
readonly internalType: "uint64";
|
|
692
|
+
readonly type: "uint64";
|
|
693
|
+
}];
|
|
694
|
+
readonly name: "sunset";
|
|
695
|
+
readonly outputs: readonly [];
|
|
696
|
+
readonly stateMutability: "nonpayable";
|
|
697
|
+
} | {
|
|
698
|
+
readonly type: "event";
|
|
699
|
+
readonly anonymous: false;
|
|
700
|
+
readonly inputs: readonly [{
|
|
701
|
+
readonly name: "policy";
|
|
702
|
+
readonly internalType: "address";
|
|
703
|
+
readonly type: "address";
|
|
704
|
+
readonly indexed: true;
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "name";
|
|
707
|
+
readonly internalType: "bytes32";
|
|
708
|
+
readonly type: "bytes32";
|
|
709
|
+
readonly indexed: false;
|
|
710
|
+
}];
|
|
711
|
+
readonly name: "Approved";
|
|
712
|
+
} | {
|
|
713
|
+
readonly type: "event";
|
|
714
|
+
readonly anonymous: false;
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly name: "policy";
|
|
717
|
+
readonly internalType: "address";
|
|
718
|
+
readonly type: "address";
|
|
719
|
+
readonly indexed: true;
|
|
720
|
+
}, {
|
|
721
|
+
readonly name: "mode";
|
|
722
|
+
readonly internalType: "enum PolicyRegistry.CreationMode";
|
|
723
|
+
readonly type: "uint8";
|
|
724
|
+
readonly indexed: false;
|
|
725
|
+
}];
|
|
726
|
+
readonly name: "CreationModeSet";
|
|
727
|
+
} | {
|
|
728
|
+
readonly type: "event";
|
|
729
|
+
readonly anonymous: false;
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly name: "forwarder";
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
readonly indexed: true;
|
|
735
|
+
}, {
|
|
736
|
+
readonly name: "trusted";
|
|
737
|
+
readonly internalType: "bool";
|
|
738
|
+
readonly type: "bool";
|
|
739
|
+
readonly indexed: false;
|
|
740
|
+
}];
|
|
741
|
+
readonly name: "ForwarderTrusted";
|
|
742
|
+
} | {
|
|
743
|
+
readonly type: "event";
|
|
744
|
+
readonly anonymous: false;
|
|
745
|
+
readonly inputs: readonly [{
|
|
746
|
+
readonly name: "policy";
|
|
747
|
+
readonly internalType: "address";
|
|
748
|
+
readonly type: "address";
|
|
749
|
+
readonly indexed: true;
|
|
750
|
+
}, {
|
|
751
|
+
readonly name: "who";
|
|
752
|
+
readonly internalType: "address";
|
|
753
|
+
readonly type: "address";
|
|
754
|
+
readonly indexed: true;
|
|
755
|
+
}, {
|
|
756
|
+
readonly name: "allowed";
|
|
757
|
+
readonly internalType: "bool";
|
|
758
|
+
readonly type: "bool";
|
|
759
|
+
readonly indexed: false;
|
|
760
|
+
}];
|
|
761
|
+
readonly name: "InitializerListed";
|
|
762
|
+
} | {
|
|
763
|
+
readonly type: "event";
|
|
764
|
+
readonly anonymous: false;
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly name: "prev";
|
|
767
|
+
readonly internalType: "address";
|
|
768
|
+
readonly type: "address";
|
|
769
|
+
readonly indexed: true;
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "next";
|
|
772
|
+
readonly internalType: "address";
|
|
773
|
+
readonly type: "address";
|
|
774
|
+
readonly indexed: true;
|
|
775
|
+
}];
|
|
776
|
+
readonly name: "LogAuthorityAccepted";
|
|
777
|
+
} | {
|
|
778
|
+
readonly type: "event";
|
|
779
|
+
readonly anonymous: false;
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly name: "current";
|
|
782
|
+
readonly internalType: "address";
|
|
783
|
+
readonly type: "address";
|
|
784
|
+
readonly indexed: true;
|
|
785
|
+
}, {
|
|
786
|
+
readonly name: "proposed";
|
|
787
|
+
readonly internalType: "address";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
readonly indexed: true;
|
|
790
|
+
}];
|
|
791
|
+
readonly name: "LogAuthorityProposed";
|
|
792
|
+
} | {
|
|
793
|
+
readonly type: "event";
|
|
794
|
+
readonly anonymous: false;
|
|
795
|
+
readonly inputs: readonly [{
|
|
796
|
+
readonly name: "manager";
|
|
797
|
+
readonly internalType: "address";
|
|
798
|
+
readonly type: "address";
|
|
799
|
+
readonly indexed: true;
|
|
800
|
+
}, {
|
|
801
|
+
readonly name: "poolId";
|
|
802
|
+
readonly internalType: "bytes32";
|
|
803
|
+
readonly type: "bytes32";
|
|
804
|
+
readonly indexed: true;
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "to";
|
|
807
|
+
readonly internalType: "address";
|
|
808
|
+
readonly type: "address";
|
|
809
|
+
readonly indexed: true;
|
|
810
|
+
}, {
|
|
811
|
+
readonly name: "from";
|
|
812
|
+
readonly internalType: "address";
|
|
813
|
+
readonly type: "address";
|
|
814
|
+
readonly indexed: false;
|
|
815
|
+
}, {
|
|
816
|
+
readonly name: "authority";
|
|
817
|
+
readonly internalType: "address";
|
|
818
|
+
readonly type: "address";
|
|
819
|
+
readonly indexed: false;
|
|
820
|
+
}];
|
|
821
|
+
readonly name: "Migrated";
|
|
822
|
+
} | {
|
|
823
|
+
readonly type: "event";
|
|
824
|
+
readonly anonymous: false;
|
|
825
|
+
readonly inputs: readonly [{
|
|
826
|
+
readonly name: "policy";
|
|
827
|
+
readonly internalType: "address";
|
|
828
|
+
readonly type: "address";
|
|
829
|
+
readonly indexed: true;
|
|
830
|
+
}];
|
|
831
|
+
readonly name: "Revoked";
|
|
832
|
+
} | {
|
|
833
|
+
readonly type: "event";
|
|
834
|
+
readonly anonymous: false;
|
|
835
|
+
readonly inputs: readonly [{
|
|
836
|
+
readonly name: "policy";
|
|
837
|
+
readonly internalType: "address";
|
|
838
|
+
readonly type: "address";
|
|
839
|
+
readonly indexed: true;
|
|
840
|
+
}, {
|
|
841
|
+
readonly name: "sponsor";
|
|
842
|
+
readonly internalType: "address";
|
|
843
|
+
readonly type: "address";
|
|
844
|
+
readonly indexed: true;
|
|
845
|
+
}];
|
|
846
|
+
readonly name: "SponsorBound";
|
|
847
|
+
} | {
|
|
848
|
+
readonly type: "event";
|
|
849
|
+
readonly anonymous: false;
|
|
850
|
+
readonly inputs: readonly [{
|
|
851
|
+
readonly name: "who";
|
|
852
|
+
readonly internalType: "address";
|
|
853
|
+
readonly type: "address";
|
|
854
|
+
readonly indexed: true;
|
|
855
|
+
}, {
|
|
856
|
+
readonly name: "name";
|
|
857
|
+
readonly internalType: "bytes32";
|
|
858
|
+
readonly type: "bytes32";
|
|
859
|
+
readonly indexed: false;
|
|
860
|
+
}];
|
|
861
|
+
readonly name: "SponsorNamed";
|
|
862
|
+
} | {
|
|
863
|
+
readonly type: "event";
|
|
864
|
+
readonly anonymous: false;
|
|
865
|
+
readonly inputs: readonly [{
|
|
866
|
+
readonly name: "policy";
|
|
867
|
+
readonly internalType: "address";
|
|
868
|
+
readonly type: "address";
|
|
869
|
+
readonly indexed: true;
|
|
870
|
+
}, {
|
|
871
|
+
readonly name: "untilTime";
|
|
872
|
+
readonly internalType: "uint64";
|
|
873
|
+
readonly type: "uint64";
|
|
874
|
+
readonly indexed: false;
|
|
875
|
+
}];
|
|
876
|
+
readonly name: "SunsetSet";
|
|
877
|
+
} | {
|
|
878
|
+
readonly type: "error";
|
|
879
|
+
readonly inputs: readonly [];
|
|
880
|
+
readonly name: "BadSunset";
|
|
881
|
+
} | {
|
|
882
|
+
readonly type: "error";
|
|
883
|
+
readonly inputs: readonly [];
|
|
884
|
+
readonly name: "InitializerNotListed";
|
|
885
|
+
} | {
|
|
886
|
+
readonly type: "error";
|
|
887
|
+
readonly inputs: readonly [];
|
|
888
|
+
readonly name: "InvalidForwardedUser";
|
|
889
|
+
} | {
|
|
890
|
+
readonly type: "error";
|
|
891
|
+
readonly inputs: readonly [];
|
|
892
|
+
readonly name: "KindMismatch";
|
|
893
|
+
} | {
|
|
894
|
+
readonly type: "error";
|
|
895
|
+
readonly inputs: readonly [];
|
|
896
|
+
readonly name: "NoPool";
|
|
897
|
+
} | {
|
|
898
|
+
readonly type: "error";
|
|
899
|
+
readonly inputs: readonly [];
|
|
900
|
+
readonly name: "NotAPolicy";
|
|
901
|
+
} | {
|
|
902
|
+
readonly type: "error";
|
|
903
|
+
readonly inputs: readonly [];
|
|
904
|
+
readonly name: "NotListed";
|
|
905
|
+
} | {
|
|
906
|
+
readonly type: "error";
|
|
907
|
+
readonly inputs: readonly [];
|
|
908
|
+
readonly name: "NotLogAuthority";
|
|
909
|
+
} | {
|
|
910
|
+
readonly type: "error";
|
|
911
|
+
readonly inputs: readonly [];
|
|
912
|
+
readonly name: "PrivatePermissionsRequired";
|
|
913
|
+
} | {
|
|
914
|
+
readonly type: "error";
|
|
915
|
+
readonly inputs: readonly [];
|
|
916
|
+
readonly name: "SamePolicy";
|
|
917
|
+
} | {
|
|
918
|
+
readonly type: "error";
|
|
919
|
+
readonly inputs: readonly [];
|
|
920
|
+
readonly name: "SponsorOnly";
|
|
921
|
+
} | {
|
|
922
|
+
readonly type: "error";
|
|
923
|
+
readonly inputs: readonly [];
|
|
924
|
+
readonly name: "WrongManager";
|
|
925
|
+
} | {
|
|
926
|
+
readonly type: "error";
|
|
927
|
+
readonly inputs: readonly [];
|
|
928
|
+
readonly name: "BadFee";
|
|
929
|
+
} | {
|
|
930
|
+
readonly type: "error";
|
|
931
|
+
readonly inputs: readonly [];
|
|
932
|
+
readonly name: "BadRate";
|
|
287
933
|
} | {
|
|
288
934
|
readonly type: "error";
|
|
289
935
|
readonly inputs: readonly [{
|
|
@@ -308,26 +954,10 @@ export declare const gateErrorAbi: readonly ({
|
|
|
308
954
|
readonly type: "uint256";
|
|
309
955
|
}];
|
|
310
956
|
readonly name: "MarketExists";
|
|
311
|
-
} | {
|
|
312
|
-
readonly type: "error";
|
|
313
|
-
readonly inputs: readonly [{
|
|
314
|
-
readonly name: "mintFee";
|
|
315
|
-
readonly internalType: "uint256";
|
|
316
|
-
readonly type: "uint256";
|
|
317
|
-
}];
|
|
318
|
-
readonly name: "MintFeeNotListed";
|
|
319
957
|
} | {
|
|
320
958
|
readonly type: "error";
|
|
321
959
|
readonly inputs: readonly [];
|
|
322
960
|
readonly name: "NoCreator";
|
|
323
|
-
} | {
|
|
324
|
-
readonly type: "error";
|
|
325
|
-
readonly inputs: readonly [{
|
|
326
|
-
readonly name: "forwarder";
|
|
327
|
-
readonly internalType: "address";
|
|
328
|
-
readonly type: "address";
|
|
329
|
-
}];
|
|
330
|
-
readonly name: "NoForwardedUser";
|
|
331
961
|
} | {
|
|
332
962
|
readonly type: "error";
|
|
333
963
|
readonly inputs: readonly [];
|
|
@@ -336,14 +966,6 @@ export declare const gateErrorAbi: readonly ({
|
|
|
336
966
|
readonly type: "error";
|
|
337
967
|
readonly inputs: readonly [];
|
|
338
968
|
readonly name: "NotCanonical";
|
|
339
|
-
} | {
|
|
340
|
-
readonly type: "error";
|
|
341
|
-
readonly inputs: readonly [{
|
|
342
|
-
readonly name: "token";
|
|
343
|
-
readonly internalType: "address";
|
|
344
|
-
readonly type: "address";
|
|
345
|
-
}];
|
|
346
|
-
readonly name: "NotListed";
|
|
347
969
|
} | {
|
|
348
970
|
readonly type: "error";
|
|
349
971
|
readonly inputs: readonly [];
|
|
@@ -356,6 +978,10 @@ export declare const gateErrorAbi: readonly ({
|
|
|
356
978
|
readonly type: "error";
|
|
357
979
|
readonly inputs: readonly [];
|
|
358
980
|
readonly name: "NotRegistry";
|
|
981
|
+
} | {
|
|
982
|
+
readonly type: "error";
|
|
983
|
+
readonly inputs: readonly [];
|
|
984
|
+
readonly name: "NotSponsor";
|
|
359
985
|
} | {
|
|
360
986
|
readonly type: "error";
|
|
361
987
|
readonly inputs: readonly [];
|
|
@@ -393,10 +1019,6 @@ export declare const gateErrorAbi: readonly ({
|
|
|
393
1019
|
}];
|
|
394
1020
|
readonly name: "SpacingNotListed";
|
|
395
1021
|
})[];
|
|
396
|
-
/** `PublicPolicy.setListed`: an asset a curated seed may hold. */
|
|
397
|
-
export declare function publicSetListed(c: LogswapClient, policy: Address, token: Address, listed: boolean): Promise<Hash>;
|
|
398
|
-
/** `PublicPolicy.setCurated`: whether every public seed is checked against the list. */
|
|
399
|
-
export declare function publicSetCurated(c: LogswapClient, policy: Address, curated: boolean): Promise<Hash>;
|
|
400
1022
|
/** A manager's treasury — where its protocol revenue goes — and the proposed next one. */
|
|
401
1023
|
export declare function logTreasury(c: LogswapClient, side: "C" | "F"): Promise<{
|
|
402
1024
|
treasury: Address;
|