@gearbox-protocol/sdk 18.2.0-next.13 → 18.2.0-next.14
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/cjs/permissionless/api/index.js +2 -1
- package/dist/cjs/permissionless/api/oracles/PermissionlessOracles.js +40 -5
- package/dist/cjs/permissionless/api/oracles/index.js +2 -1
- package/dist/cjs/permissionless/api/oracles/score/formula.js +19 -24
- package/dist/cjs/permissionless/api/oracles/score/index.js +1 -1
- package/dist/cjs/permissionless/api/oracles/score/run.js +186 -105
- package/dist/cjs/permissionless/api/oracles/stress/index.js +1 -0
- package/dist/cjs/permissionless/api/oracles/stress/run.js +63 -13
- package/dist/cjs/permissionless/index.js +2 -1
- package/dist/esm/permissionless/api/index.js +4 -4
- package/dist/esm/permissionless/api/oracles/PermissionlessOracles.js +41 -6
- package/dist/esm/permissionless/api/oracles/index.js +4 -4
- package/dist/esm/permissionless/api/oracles/score/formula.js +20 -24
- package/dist/esm/permissionless/api/oracles/score/index.js +3 -3
- package/dist/esm/permissionless/api/oracles/score/run.js +187 -107
- package/dist/esm/permissionless/api/oracles/stress/index.js +2 -2
- package/dist/esm/permissionless/api/oracles/stress/run.js +64 -15
- package/dist/esm/permissionless/index.js +4 -4
- package/dist/types/permissionless/api/index.d.ts +5 -5
- package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +30 -6
- package/dist/types/permissionless/api/oracles/index.d.ts +5 -5
- package/dist/types/permissionless/api/oracles/score/formula.d.ts +14 -17
- package/dist/types/permissionless/api/oracles/score/index.d.ts +4 -4
- package/dist/types/permissionless/api/oracles/score/run.d.ts +28 -10
- package/dist/types/permissionless/api/oracles/score/types.d.ts +33 -28
- package/dist/types/permissionless/api/oracles/stress/index.d.ts +2 -2
- package/dist/types/permissionless/api/oracles/stress/run.d.ts +11 -0
- package/dist/types/permissionless/index.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import { GroupImpact } from "./types.js";
|
|
2
2
|
//#region src/permissionless/api/oracles/score/formula.d.ts
|
|
3
3
|
/** What every source of a group is made to answer, as a multiple of now. */
|
|
4
|
-
export declare const SCORE_MULTIPLIER =
|
|
4
|
+
export declare const SCORE_MULTIPLIER = 10;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* How far the final price moved, as a multiple of where it was, either way:
|
|
7
|
+
* 1 for a price that did not move, 1.04 for one 4% off, and
|
|
8
|
+
* {@link SCORE_MULTIPLIER} for one that took the whole lie — the most it can
|
|
9
|
+
* take from one leg, and where a price over two legs of one group, moved
|
|
10
|
+
* further, is held too.
|
|
7
11
|
*
|
|
8
|
-
*
|
|
9
|
-
* liquidated either until the feed is replaced.
|
|
12
|
+
* `null` for a price that stopped answering, which is not a move.
|
|
10
13
|
*/
|
|
11
|
-
export declare
|
|
12
|
-
/**
|
|
13
|
-
* 0 to 10 by how far the final price moved, on a log scale against the lie
|
|
14
|
-
* itself: 10 for a price that did not move, 0 for one that moved by the full
|
|
15
|
-
* {@link SCORE_MULTIPLIER} or more, either way. Rounded to a half point.
|
|
16
|
-
*
|
|
17
|
-
* A bound holding a price within a few percent keeps a 10; a price that let
|
|
18
|
-
* half the lie through, ×√5, scores 5.
|
|
19
|
-
*/
|
|
20
|
-
export declare function scoreOfFactor(factor: number | null): number;
|
|
14
|
+
export declare function scoreOfFactor(factor: number | null): number | null;
|
|
21
15
|
/**
|
|
22
16
|
* The price a market settles on: the lower of main and reserve, or the main
|
|
23
17
|
* feed's alone where there is no reserve to compare it with. `null` where a
|
|
@@ -27,9 +21,12 @@ export declare function finalPrice(main: bigint | null, reserve: bigint | null |
|
|
|
27
21
|
/** `stressed / base` as a float, `null` where the stressed price is gone. */
|
|
28
22
|
export declare function factorOf(base: bigint, stressed: bigint | null): number | null;
|
|
29
23
|
/**
|
|
30
|
-
* The market's score and the group it comes from: the
|
|
31
|
-
*
|
|
32
|
-
* feeds the price at all
|
|
24
|
+
* The market's score and the group it comes from: the furthest any group
|
|
25
|
+
* moved its price. 1 where nothing moved it — no group did, or no source
|
|
26
|
+
* feeds the price at all.
|
|
27
|
+
*
|
|
28
|
+
* A group under which the price stops answering moves nothing and does not
|
|
29
|
+
* set the score; it is listed after those that do, for a reader to see.
|
|
33
30
|
*/
|
|
34
31
|
export declare function worstOf(impacts: GroupImpact[]): {
|
|
35
32
|
score: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetScore, AssetScoresArgs, GroupImpact, MarketScore, ScoredFeed } from "./types.js";
|
|
2
|
-
import {
|
|
3
|
-
import { runAssetScores } from "./run.js";
|
|
4
|
-
export { AssetScore, AssetScoresArgs, GroupImpact, MarketScore,
|
|
1
|
+
import { AssetScore, AssetScoresArgs, FeedPairScore, FeedPairScoreArgs, GroupImpact, MarketScore, ScoredFeed } from "./types.js";
|
|
2
|
+
import { SCORE_MULTIPLIER, factorOf, finalPrice, scoreOfFactor, worstOf } from "./formula.js";
|
|
3
|
+
import { runAssetScores, runFeedPairScore } from "./run.js";
|
|
4
|
+
export { AssetScore, AssetScoresArgs, FeedPairScore, FeedPairScoreArgs, GroupImpact, MarketScore, SCORE_MULTIPLIER, ScoredFeed, factorOf, finalPrice, runAssetScores, runFeedPairScore, scoreOfFactor, worstOf };
|
|
@@ -1,24 +1,42 @@
|
|
|
1
|
-
import { AssetScore } from "./types.js";
|
|
1
|
+
import { AssetScore, FeedPairScore } from "./types.js";
|
|
2
2
|
import { PermissionlessMarketSlot } from "../types.js";
|
|
3
3
|
import { Address, Chain, PublicClient, Transport } from "viem";
|
|
4
4
|
//#region src/permissionless/api/oracles/score/run.d.ts
|
|
5
|
+
type Logger = {
|
|
6
|
+
warn(message: string): void;
|
|
7
|
+
};
|
|
5
8
|
/**
|
|
6
9
|
* Every asset of one chain, scored by what each of its source groups can do
|
|
7
10
|
* to the price its running markets hold for it.
|
|
8
11
|
*
|
|
9
|
-
* One read of the oracles' feed trees,
|
|
10
|
-
*
|
|
11
|
-
* group, with the group's sources overridden to answer
|
|
12
|
-
* {@link SCORE_MULTIPLIER} times what they answer now and every market feed
|
|
13
|
-
* read under it.
|
|
12
|
+
* One read of the oracles' feed trees, then the simulation of every market's
|
|
13
|
+
* main and reserve pair at once — see {@link simulatePairs}.
|
|
14
14
|
**/
|
|
15
15
|
export declare function runAssetScores({ client, chainId, slots, compressor, logger }: {
|
|
16
16
|
client: PublicClient<Transport, Chain>;
|
|
17
17
|
chainId: number;
|
|
18
18
|
slots: PermissionlessMarketSlot[];
|
|
19
19
|
compressor: Address;
|
|
20
|
-
logger?:
|
|
21
|
-
warn(message: string): void;
|
|
22
|
-
};
|
|
20
|
+
logger?: Logger;
|
|
23
21
|
}): Promise<AssetScore[]>;
|
|
24
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Any main feed and reserve on a chain, scored the way a market holding them
|
|
24
|
+
* would be — whether or not any market does yet.
|
|
25
|
+
*
|
|
26
|
+
* The two trees are read off the compressor by feed rather than by oracle,
|
|
27
|
+
* so a feed the curator has only just deployed scores as well as one in use.
|
|
28
|
+
*
|
|
29
|
+
* @throws Where there is nothing to score: the compressor cannot read a
|
|
30
|
+
* feed, the main feed is a `ZeroPriceFeed`, or the final price does not
|
|
31
|
+
* answer even with every pull feed under it freshened.
|
|
32
|
+
**/
|
|
33
|
+
export declare function runFeedPairScore({ client, chainId, compressor, main, reserve, logger }: {
|
|
34
|
+
client: PublicClient<Transport, Chain>;
|
|
35
|
+
chainId: number;
|
|
36
|
+
compressor: Address;
|
|
37
|
+
main: Address;
|
|
38
|
+
reserve?: Address;
|
|
39
|
+
logger?: Logger;
|
|
40
|
+
}): Promise<FeedPairScore>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export {};
|
|
@@ -5,7 +5,10 @@ import { Address } from "viem";
|
|
|
5
5
|
**/
|
|
6
6
|
export interface ScoredFeed {
|
|
7
7
|
feed: Address;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The store's name for the feed, `null` where it has none or where the
|
|
10
|
+
* feed was named by address alone, as a pair to score is.
|
|
11
|
+
*/
|
|
9
12
|
name: string | null;
|
|
10
13
|
/** Gearbox contract type of the feed itself, `""` for one it never deployed. */
|
|
11
14
|
contractType: string;
|
|
@@ -35,30 +38,22 @@ export interface GroupImpact {
|
|
|
35
38
|
* a price that stopped answering.
|
|
36
39
|
*/
|
|
37
40
|
factor: number | null;
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
* valued by. A lie that moves collateral and underlying alike leaves it at
|
|
41
|
-
* 1. `null` where either price stopped answering.
|
|
42
|
-
*/
|
|
43
|
-
ratioFactor: number | null;
|
|
44
|
-
/** 0 to 10, by {@link scoreOfFactor}. */
|
|
45
|
-
score: number;
|
|
41
|
+
/** 1 to 10, by {@link scoreOfFactor}; `null` where the price stopped answering. */
|
|
42
|
+
score: number | null;
|
|
46
43
|
}
|
|
47
44
|
/**
|
|
48
|
-
* How
|
|
45
|
+
* How far the price a main and a reserve feed give together can be pushed:
|
|
46
|
+
* their manipulation resistance, from 1 (does not move) to 10 (takes the
|
|
47
|
+
* whole lie).
|
|
49
48
|
*
|
|
50
|
-
* Every source group behind the
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
49
|
+
* Every source group behind the two feeds is made, one group at a time, to
|
|
50
|
+
* answer {@link SCORE_MULTIPLIER} times what it answers now. The pair scores
|
|
51
|
+
* by the group that moves its final price — `min(main, reserve)` — the
|
|
52
|
+
* furthest, as a multiple either way.
|
|
54
53
|
**/
|
|
55
|
-
export interface
|
|
56
|
-
market: Address;
|
|
57
|
-
marketName: string | null;
|
|
58
|
-
marketConfigurator: Address;
|
|
59
|
-
curatorName: string | null;
|
|
54
|
+
export interface FeedPairScore {
|
|
60
55
|
main: ScoredFeed;
|
|
61
|
-
/** `null` where
|
|
56
|
+
/** `null` where there is no reserve at all. */
|
|
62
57
|
reserve: ScoredFeed | null;
|
|
63
58
|
/**
|
|
64
59
|
* The final price is `min(main, reserve)`: a reserve is present, is not a
|
|
@@ -70,7 +65,7 @@ export interface MarketScore {
|
|
|
70
65
|
price: number;
|
|
71
66
|
/** Every group behind the two feeds, the most damaging first. */
|
|
72
67
|
impacts: GroupImpact[];
|
|
73
|
-
/** The group the score comes from; `null` where no
|
|
68
|
+
/** The group the score comes from; `null` where no group moves the price. */
|
|
74
69
|
worst: GroupImpact | null;
|
|
75
70
|
/**
|
|
76
71
|
* The score rests on a source nothing could name.
|
|
@@ -81,23 +76,27 @@ export interface MarketScore {
|
|
|
81
76
|
*/
|
|
82
77
|
unverified: boolean;
|
|
83
78
|
score: number;
|
|
84
|
-
/** How the
|
|
79
|
+
/** How the pair is set up, where that explains its score. */
|
|
85
80
|
notes: string[];
|
|
86
81
|
}
|
|
82
|
+
/** One market's price for one asset, scored as the pair of feeds it holds. */
|
|
83
|
+
export interface MarketScore extends FeedPairScore {
|
|
84
|
+
market: Address;
|
|
85
|
+
marketName: string | null;
|
|
86
|
+
marketConfigurator: Address;
|
|
87
|
+
curatorName: string | null;
|
|
88
|
+
}
|
|
87
89
|
/**
|
|
88
90
|
* One asset's score: its worst market's.
|
|
89
91
|
*
|
|
90
|
-
* The
|
|
91
|
-
* the most exposed market that
|
|
92
|
+
* The maximum, not an average, because the asset is only as well guarded as
|
|
93
|
+
* the most exposed market that prices it.
|
|
92
94
|
**/
|
|
93
95
|
export interface AssetScore {
|
|
94
96
|
chainId: number;
|
|
95
97
|
asset: Address;
|
|
96
98
|
symbol: string | null;
|
|
97
|
-
/**
|
|
98
|
-
* `null` for an asset no running market accepts as collateral: every
|
|
99
|
-
* market has it switched off, or it is only ever a market's underlying.
|
|
100
|
-
*/
|
|
99
|
+
/** `null` for an asset no running market prices: it is switched off in all. */
|
|
101
100
|
score: number | null;
|
|
102
101
|
/** Some market's score rests on a source nothing could name. */
|
|
103
102
|
unverified: boolean;
|
|
@@ -110,4 +109,10 @@ export interface AssetScoresArgs {
|
|
|
110
109
|
/** Omitted scores every chain the backend serves markets for. */
|
|
111
110
|
chainId?: number;
|
|
112
111
|
}
|
|
112
|
+
export interface FeedPairScoreArgs {
|
|
113
|
+
chainId: number;
|
|
114
|
+
main: Address;
|
|
115
|
+
/** Omitted scores the main feed alone, as a market with no reserve. */
|
|
116
|
+
reserve?: Address;
|
|
117
|
+
}
|
|
113
118
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BreakingPoint, FeedOutcome, GroupReport, GroupScenarioOutcome, SlotOutcome, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs } from "./types.js";
|
|
2
2
|
import { TreeNode, classifySources, sourcesByFeed } from "./classify.js";
|
|
3
3
|
import { UNBOUNDED_DOWN, UNBOUNDED_UP, groupOverride, perturb, rateStub, roundDataStub } from "./override.js";
|
|
4
|
-
import { DEFAULT_SCENARIOS, RATE_FEED_TYPE, readForest, readRateTargets, readUnder, runStressTest } from "./run.js";
|
|
4
|
+
import { DEFAULT_SCENARIOS, RATE_FEED_TYPE, readFeedTrees, readForest, readRateTargets, readUnder, runStressTest } from "./run.js";
|
|
5
5
|
import { scoreGroup, slotHarm, verdictOf } from "./score.js";
|
|
6
|
-
export { BreakingPoint, DEFAULT_SCENARIOS, FeedOutcome, GroupReport, GroupScenarioOutcome, RATE_FEED_TYPE, SlotOutcome, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs, TreeNode, UNBOUNDED_DOWN, UNBOUNDED_UP, classifySources, groupOverride, perturb, rateStub, readForest, readRateTargets, readUnder, roundDataStub, runStressTest, scoreGroup, slotHarm, sourcesByFeed, verdictOf };
|
|
6
|
+
export { BreakingPoint, DEFAULT_SCENARIOS, FeedOutcome, GroupReport, GroupScenarioOutcome, RATE_FEED_TYPE, SlotOutcome, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs, TreeNode, UNBOUNDED_DOWN, UNBOUNDED_UP, classifySources, groupOverride, perturb, rateStub, readFeedTrees, readForest, readRateTargets, readUnder, roundDataStub, runStressTest, scoreGroup, slotHarm, sourcesByFeed, verdictOf };
|
|
@@ -27,6 +27,17 @@ export declare function readForest(client: PublicClient<Transport, Chain>, compr
|
|
|
27
27
|
answers: Map<Address, bigint | null>;
|
|
28
28
|
unreadableOracles: Address[];
|
|
29
29
|
}>;
|
|
30
|
+
/**
|
|
31
|
+
* The trees under a handful of feeds, flattened, whether or not any oracle
|
|
32
|
+
* holds them.
|
|
33
|
+
*
|
|
34
|
+
* One call for all of them: the compressor walks the feeds it is given the
|
|
35
|
+
* way it walks an oracle's, and answers with the same nodes.
|
|
36
|
+
*/
|
|
37
|
+
export declare function readFeedTrees(client: PublicClient<Transport, Chain>, compressor: Address, feeds: Address[]): Promise<{
|
|
38
|
+
nodes: Map<Address, TreeNode>;
|
|
39
|
+
answers: Map<Address, bigint | null>;
|
|
40
|
+
}>;
|
|
30
41
|
/**
|
|
31
42
|
* Where each rate-bearing feed reads its rate, and what it will accept.
|
|
32
43
|
*
|
|
@@ -13,7 +13,7 @@ import "./core/index.js";
|
|
|
13
13
|
import { FunctionParams, ValueParams, encodeFunctionParams } from "./utils/abi-encoder.js";
|
|
14
14
|
import { DeployArgs, DeployContractArgs, DeployPriceFeedArgs, PreparedDeployment, PreparedPriceFeedDeployment } from "./api/deploy/types.js";
|
|
15
15
|
import { DEFAULT_DEPLOY_SALT, PermissionlessDeploy, priceFeedSalt } from "./api/deploy/PermissionlessDeploy.js";
|
|
16
|
-
import { AssetScore, AssetScoresArgs, GroupImpact, MarketScore, ScoredFeed } from "./api/oracles/score/types.js";
|
|
16
|
+
import { AssetScore, AssetScoresArgs, FeedPairScore, FeedPairScoreArgs, GroupImpact, MarketScore, ScoredFeed } from "./api/oracles/score/types.js";
|
|
17
17
|
import { BreakingPoint, FeedOutcome, GroupReport, GroupScenarioOutcome, SlotOutcome, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs } from "./api/oracles/stress/types.js";
|
|
18
18
|
import { AssetArgs, AssetCap, AssetsArgs, FeedCap, MarketCap, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetQuota, PermissionlessAssetSummary, PermissionlessIndexedAssetDetails, PermissionlessIndexedAssetSummary, PermissionlessIndexedPriceFeedDetails, PermissionlessIndexedPriceFeedMarket, PermissionlessMarket, PermissionlessMarketSlot, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedStore, PermissionlessQuotaTotals, PriceFeedArgs, PriceFeedDecimals, PriceFeedPrice, PriceFeedRef } from "./api/oracles/types.js";
|
|
19
19
|
import { GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, PermissionlessOracles } from "./api/oracles/PermissionlessOracles.js";
|
|
@@ -41,11 +41,11 @@ import { InstanceOwnerTransactions } from "./api/transactions/InstanceOwnerTrans
|
|
|
41
41
|
import { GearboxPermissionless } from "./api/GearboxPermissionless.js";
|
|
42
42
|
import { deriveEffectiveStalenessPeriod } from "./api/deploy/effective-staleness.js";
|
|
43
43
|
import { PermissionlessChainUnreachableError, PermissionlessNotAttachedError, PriceFeedNotInStoreError, PriceFeedSaltMissingError, PriceFeedStalenessUnknownError } from "./api/errors.js";
|
|
44
|
-
import {
|
|
45
|
-
import { runAssetScores } from "./api/oracles/score/run.js";
|
|
44
|
+
import { SCORE_MULTIPLIER, factorOf, finalPrice, scoreOfFactor, worstOf } from "./api/oracles/score/formula.js";
|
|
45
|
+
import { runAssetScores, runFeedPairScore } from "./api/oracles/score/run.js";
|
|
46
46
|
import { TreeNode, classifySources, sourcesByFeed } from "./api/oracles/stress/classify.js";
|
|
47
47
|
import { UNBOUNDED_DOWN, UNBOUNDED_UP, groupOverride, perturb, rateStub, roundDataStub } from "./api/oracles/stress/override.js";
|
|
48
|
-
import { DEFAULT_SCENARIOS, RATE_FEED_TYPE, readForest, readRateTargets, readUnder, runStressTest } from "./api/oracles/stress/run.js";
|
|
48
|
+
import { DEFAULT_SCENARIOS, RATE_FEED_TYPE, readFeedTrees, readForest, readRateTargets, readUnder, runStressTest } from "./api/oracles/stress/run.js";
|
|
49
49
|
import { scoreGroup, slotHarm, verdictOf } from "./api/oracles/stress/score.js";
|
|
50
50
|
import "./api/index.js";
|
|
51
51
|
import { ArchiveTransport, ArchiveTransportConfig } from "./chains/archive-transport.js";
|
|
@@ -63,4 +63,4 @@ import { getFeedDecimals, getLatestPrices, getPrices } from "./utils/price-updat
|
|
|
63
63
|
import { GetUpdatablePriceFeedsArgs, getUpdatablePriceFeeds } from "./utils/price-update/get-updatable-feeds.js";
|
|
64
64
|
import { normalizeSignature } from "./utils/signature.js";
|
|
65
65
|
import "./utils/index.js";
|
|
66
|
-
export { AccessMode, AddAssetParams, AddFeedsArgs, AddressProviderContract, Addresses, AllowTokenParams, ArchiveTransport, ArchiveTransportConfig, AssetArgs, AssetCap, AssetScore, AssetScoresArgs, AssetsArgs, AttachChainsArgs, AuditEvent, Auditor, BYTECODE_REPOSITORY, Batch, BreakingPoint, Bytecode, BytecodeRepositoryContract, CCMConstructorParams, CROSS_CHAIN_GOVERNANCE, CROSS_CHAIN_MULTISIG, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, ComputeAddressArgs, ConstructorParams, CreditManagerFees, CrossChainCall, CrossChainMultisigContract, DEFAULT_DEPLOY_SALT, DEFAULT_SCENARIOS, DeployArgs, DeployContractArgs, DeployParams, DeployPriceFeedArgs, Deployment, DeploymentExtended, EmergencyAdmin, FeedCap, FeedOutcome, ForbidAdapterParams, ForbidFeedsArgs, ForbidTokenParams, FunctionParams, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GearboxPermissionless, GearboxPermissionlessOptions, GetUpdatablePriceFeedsArgs, GovernorContract, GroupImpact, GroupReport, GroupScenarioOutcome, INSTANCE_MANAGER, InputValueParams, InstanceManagerContract, InstanceOwnerTransactions, InstanceTxs, InstanceTxsArgs, KILL_SWITCH_PROXY, KILL_SWITCH_PROXY_MINOR_VERSION, KillSwitchProxyContract, KillSwitchProxyNotAllowedError, MAINNET_CCM_CONSTRUCTOR_PARAMS, MAINNET_DEPLOYMENT_BLOCK, MAINNET_DEPLOYMENT_CCM_SALT, MAINNET_DEPLOYMENT_IM_SALT, MARKET_CONFIGURATOR_FACTORY, Market, MarketCap, MarketConfiguratorContract, MarketConfiguratorFactoryContract, MarketScore, PRICE_FEED_STORE, PUBLIC_CREATE2_FACTORY, PauseCreditManagerParams, PeripheryDomain, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetQuota, PermissionlessAssetSummary, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessDeploy, PermissionlessIndexedAssetDetails, PermissionlessIndexedAssetSummary, PermissionlessIndexedPriceFeedDetails, PermissionlessIndexedPriceFeedMarket, PermissionlessMarket, PermissionlessMarketSlot, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedStore, PermissionlessQuotaTotals, PreparedDeployment, PreparedKillSwitchProxyDeployment, PreparedPriceFeedDeployment, PriceChartArgs, PriceFeed, PriceFeedArgs, PriceFeedChartPoint, PriceFeedConstructorParam, PriceFeedDecimals, PriceFeedNotInStoreError, PriceFeedPair, PriceFeedParamType, PriceFeedParams, PriceFeedPrice, PriceFeedPriceChart, PriceFeedRef, PriceFeedSaltMissingError, PriceFeedSetupParams, PriceFeedStalenessUnknownError, PriceFeedStoreContract, Proposal, QueuedAndExecutedTransaction, RATE_FEED_TYPE,
|
|
66
|
+
export { AccessMode, AddAssetParams, AddFeedsArgs, AddressProviderContract, Addresses, AllowTokenParams, ArchiveTransport, ArchiveTransportConfig, AssetArgs, AssetCap, AssetScore, AssetScoresArgs, AssetsArgs, AttachChainsArgs, AuditEvent, Auditor, BYTECODE_REPOSITORY, Batch, BreakingPoint, Bytecode, BytecodeRepositoryContract, CCMConstructorParams, CROSS_CHAIN_GOVERNANCE, CROSS_CHAIN_MULTISIG, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, ComputeAddressArgs, ConstructorParams, CreditManagerFees, CrossChainCall, CrossChainMultisigContract, DEFAULT_DEPLOY_SALT, DEFAULT_SCENARIOS, DeployArgs, DeployContractArgs, DeployParams, DeployPriceFeedArgs, Deployment, DeploymentExtended, EmergencyAdmin, FeedCap, FeedOutcome, FeedPairScore, FeedPairScoreArgs, ForbidAdapterParams, ForbidFeedsArgs, ForbidTokenParams, FunctionParams, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GearboxPermissionless, GearboxPermissionlessOptions, GetUpdatablePriceFeedsArgs, GovernorContract, GroupImpact, GroupReport, GroupScenarioOutcome, INSTANCE_MANAGER, InputValueParams, InstanceManagerContract, InstanceOwnerTransactions, InstanceTxs, InstanceTxsArgs, KILL_SWITCH_PROXY, KILL_SWITCH_PROXY_MINOR_VERSION, KillSwitchProxyContract, KillSwitchProxyNotAllowedError, MAINNET_CCM_CONSTRUCTOR_PARAMS, MAINNET_DEPLOYMENT_BLOCK, MAINNET_DEPLOYMENT_CCM_SALT, MAINNET_DEPLOYMENT_IM_SALT, MARKET_CONFIGURATOR_FACTORY, Market, MarketCap, MarketConfiguratorContract, MarketConfiguratorFactoryContract, MarketScore, PRICE_FEED_STORE, PUBLIC_CREATE2_FACTORY, PauseCreditManagerParams, PeripheryDomain, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetQuota, PermissionlessAssetSummary, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessDeploy, PermissionlessIndexedAssetDetails, PermissionlessIndexedAssetSummary, PermissionlessIndexedPriceFeedDetails, PermissionlessIndexedPriceFeedMarket, PermissionlessMarket, PermissionlessMarketSlot, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedStore, PermissionlessQuotaTotals, PreparedDeployment, PreparedKillSwitchProxyDeployment, PreparedPriceFeedDeployment, PriceChartArgs, PriceFeed, PriceFeedArgs, PriceFeedChartPoint, PriceFeedConstructorParam, PriceFeedDecimals, PriceFeedNotInStoreError, PriceFeedPair, PriceFeedParamType, PriceFeedParams, PriceFeedPrice, PriceFeedPriceChart, PriceFeedRef, PriceFeedSaltMissingError, PriceFeedSetupParams, PriceFeedStalenessUnknownError, PriceFeedStoreContract, Proposal, QueuedAndExecutedTransaction, RATE_FEED_TYPE, RecoveryMessage, RoutingManagerContract, SCORE_MULTIPLIER, SafeBatch, SafeMeta, SafeTx, ScoredFeed, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, Signature, SlotOutcome, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs, TOKEN_COMPRESSOR, TimeLockContract, TimelockTransaction, TimelockTxParams, TimelockTxs, TokenCompressorContract, TreasurySplitterContract, TreeNode, UNBOUNDED_DOWN, UNBOUNDED_UP, UnpauseCreditManagerParams, ValueParams, WithdrawalCompressorContract, calculateChecksum, checkCreate2Deployment, checkCreate2DeploymentAddress, chunkedLogsTransport, classifySources, convertPercent, convertQueueBatchToExecuteTx, convertRawTxToSafeMultisigTx, createCallData, createCreate2DeployRawTx, deepJsonParse, deployUsingPublicCreate2, deriveEffectiveStalenessPeriod, encodeFunctionParams, factorOf, finalPrice, formatBytecodeSize, formatBytecodeVersion, getBlockNumberByTimestamp, getCreate2AddressPublicFactory, getCreate2DeploymentAddress, getFeedDecimals, getLatestPrices, getPriceUpdateTx, getPrices, getSafeBatch, getSafeBatches, getUpdatablePriceFeeds, groupOverride, handleSalt, killSwitchProxySalt, normalizeSignature, perturb, priceFeedSalt, priceFeedSetupParams, rateStub, readFeedTrees, readForest, readRateTargets, readUnder, roundDataStub, runAssetScores, runFeedPairScore, runStressTest, scoreGroup, scoreOfFactor, shortenHash, significantTrunc, slotHarm, sourcesByFeed, verdictOf, worstOf };
|