@gearbox-protocol/sdk 18.5.0-next.5 → 18.5.0-next.7
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/dev/providers.js +0 -6
- package/dist/cjs/onchain/chain/chains.js +0 -13
- package/dist/cjs/onchain/constants/networks.js +0 -1
- package/dist/cjs/permissionless/bindings/market-configurator.js +55 -28
- package/dist/cjs/permissionless/curator/configurator-actions/addAdminActionData.js +3 -3
- package/dist/cjs/permissionless/curator/configurator-actions/configuratorActionDefinitions.js +4 -0
- package/dist/cjs/permissionless/curator/configurator-actions/configuratorActionHelpers.js +35 -16
- package/dist/cjs/permissionless/curator/configurator-actions/grantRoleActionData.js +31 -0
- package/dist/cjs/permissionless/curator/configurator-actions/index.js +4 -0
- package/dist/cjs/permissionless/curator/configurator-actions/removeAdminActionData.js +3 -3
- package/dist/cjs/permissionless/curator/configurator-actions/revokeRoleActionData.js +38 -0
- package/dist/cjs/permissionless/curator/index.js +4 -0
- package/dist/cjs/permissionless/curator/state/configurator/compareConfiguratorStates.js +9 -0
- package/dist/cjs/permissionless/curator/state/configurator/getConfiguratorState.js +2 -1
- package/dist/cjs/permissionless/curator/state/configurator/types.js +27 -1
- package/dist/cjs/permissionless/curator/utils/objectUtils.js +5 -0
- package/dist/cjs/permissionless/index.js +4 -0
- package/dist/esm/dev/AccountOpener.js +1 -1
- package/dist/esm/dev/index.js +1 -1
- package/dist/esm/dev/providers.js +0 -6
- package/dist/esm/onchain/chain/chains.js +1 -14
- package/dist/esm/onchain/constants/networks.js +0 -1
- package/dist/esm/permissionless/bindings/market-configurator.js +55 -28
- package/dist/esm/permissionless/curator/configurator-actions/addAdminActionData.js +4 -4
- package/dist/esm/permissionless/curator/configurator-actions/configuratorActionDefinitions.js +4 -0
- package/dist/esm/permissionless/curator/configurator-actions/configuratorActionHelpers.js +31 -14
- package/dist/esm/permissionless/curator/configurator-actions/grantRoleActionData.js +30 -0
- package/dist/esm/permissionless/curator/configurator-actions/index.js +3 -1
- package/dist/esm/permissionless/curator/configurator-actions/removeAdminActionData.js +4 -4
- package/dist/esm/permissionless/curator/configurator-actions/revokeRoleActionData.js +37 -0
- package/dist/esm/permissionless/curator/index.js +3 -1
- package/dist/esm/permissionless/curator/state/configurator/compareConfiguratorStates.js +10 -1
- package/dist/esm/permissionless/curator/state/configurator/getConfiguratorState.js +2 -1
- package/dist/esm/permissionless/curator/state/configurator/types.js +24 -1
- package/dist/esm/permissionless/curator/utils/objectUtils.js +5 -1
- package/dist/esm/permissionless/index.js +3 -1
- package/dist/types/dev/providers.d.ts +0 -2
- package/dist/types/onchain/accounts/liquidations/types.d.ts +3 -3
- package/dist/types/onchain/accounts/withdrawal-compressor/AbstractWithdrawalCompressorContract.d.ts +2 -2
- package/dist/types/onchain/chain/chains.d.ts +1 -2
- package/dist/types/permissionless/api/configurators/types.d.ts +2 -0
- package/dist/types/permissionless/bindings/market-configurator.d.ts +10 -0
- package/dist/types/permissionless/curator/configurator-actions/configuratorActionDefinitions.d.ts +3 -1
- package/dist/types/permissionless/curator/configurator-actions/configuratorActionHelpers.d.ts +16 -6
- package/dist/types/permissionless/curator/configurator-actions/grantRoleActionData.d.ts +15 -0
- package/dist/types/permissionless/curator/configurator-actions/index.d.ts +3 -1
- package/dist/types/permissionless/curator/configurator-actions/revokeRoleActionData.d.ts +15 -0
- package/dist/types/permissionless/curator/index.d.ts +3 -1
- package/dist/types/permissionless/curator/state/configurator/compareConfiguratorStates.d.ts +2 -0
- package/dist/types/permissionless/curator/state/configurator/types.d.ts +29 -1
- package/dist/types/permissionless/curator/utils/objectUtils.d.ts +2 -0
- package/dist/types/permissionless/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { LiquidatableAccountFilter } from "../../../model/liquidations.js";
|
|
2
1
|
import { iLiquidationCompressorV313Abi } from "../../../abi/ILiquidationCompressorV313.js";
|
|
2
|
+
import { LiquidatableAccountFilter } from "../../../model/liquidations.js";
|
|
3
|
+
import "../../../model/index.js";
|
|
3
4
|
import { MultichainChainIdsProps, MultichainNetworkProps, WithBlock, WithMultichain } from "../../types/multichain.js";
|
|
4
5
|
import { RouterCASlice, RouterCloseResult } from "../../router/types.js";
|
|
5
|
-
import "../../../model/index.js";
|
|
6
|
-
import { MultiCall, RawTx } from "../../types/transactions.js";
|
|
7
6
|
import "../../router/index.js";
|
|
7
|
+
import { MultiCall, RawTx } from "../../types/transactions.js";
|
|
8
8
|
import "../../types/index.js";
|
|
9
9
|
import { Address, ContractFunctionReturnType } from "viem";
|
|
10
10
|
/**
|
package/dist/types/onchain/accounts/withdrawal-compressor/AbstractWithdrawalCompressorContract.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MulticallBatch } from "../../utils/viem/executeMulticallBatches.js";
|
|
2
1
|
import { iWithdrawalCompressorV313Abi } from "../../../abi/IWithdrawalCompressorV313.js";
|
|
2
|
+
import { MulticallBatch } from "../../utils/viem/executeMulticallBatches.js";
|
|
3
3
|
import "../../base/index.js";
|
|
4
4
|
import { OnchainSDK } from "../../OnchainSDK.js";
|
|
5
|
-
import { BaseContract, BaseContractArgs } from "../../base/BaseContract.js";
|
|
6
5
|
import "../../utils/viem/index.js";
|
|
6
|
+
import { BaseContract, BaseContractArgs } from "../../base/BaseContract.js";
|
|
7
7
|
import { ClaimableWithdrawal, CurrentWithdrawals, GetExternalAccountCurrentWithdrawalsProps, GetWithdrawalRequestResultProps, IWithdrawalCompressorContract, PendingWithdrawal, RequestableWithdrawal, WithdrawableAsset, WithdrawalStatus, WithdrawalsState } from "./types.js";
|
|
8
8
|
import { Abi, Address, ContractFunctionReturnType } from "viem";
|
|
9
9
|
export declare const iCreditAccountAbi: readonly [{
|
|
@@ -100,7 +100,7 @@ export interface GearboxChain extends Chain {
|
|
|
100
100
|
/**
|
|
101
101
|
* Tuple of all network labels the SDK can work with.
|
|
102
102
|
**/
|
|
103
|
-
export declare const SUPPORTED_NETWORKS: readonly ["Mainnet", "Arbitrum", "Optimism", "Base", "Sonic", "MegaETH", "Monad", "Berachain", "Avalanche", "BNB", "WorldChain", "Etherlink", "Hemi", "
|
|
103
|
+
export declare const SUPPORTED_NETWORKS: readonly ["Mainnet", "Arbitrum", "Optimism", "Base", "Sonic", "MegaETH", "Monad", "Berachain", "Avalanche", "BNB", "WorldChain", "Etherlink", "Hemi", "Plasma", "Somnia"];
|
|
104
104
|
/**
|
|
105
105
|
* Zod schema for validating/parsing network type strings.
|
|
106
106
|
**/
|
|
@@ -112,7 +112,6 @@ export declare const NetworkType: z.ZodEnum<{
|
|
|
112
112
|
Berachain: "Berachain";
|
|
113
113
|
Etherlink: "Etherlink";
|
|
114
114
|
Hemi: "Hemi";
|
|
115
|
-
Lisk: "Lisk";
|
|
116
115
|
Mainnet: "Mainnet";
|
|
117
116
|
MegaETH: "MegaETH";
|
|
118
117
|
Monad: "Monad";
|
|
@@ -79,6 +79,8 @@ export interface PermissionlessConfiguratorRoles {
|
|
|
79
79
|
unpausableAdmins: Address[];
|
|
80
80
|
lossLiquidators: Address[];
|
|
81
81
|
emergencyLiquidators: Address[];
|
|
82
|
+
/** Holders of every other ACL role, by role name (e.g. `OPENING_SIGNER`). **/
|
|
83
|
+
otherRoles: Record<string, Address[]>;
|
|
82
84
|
}
|
|
83
85
|
/**
|
|
84
86
|
* The TimeLock of a configurator and the two windows that bound a queued
|
|
@@ -1642,6 +1642,10 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
|
|
|
1642
1642
|
enableLossPolicy(pool: Address): RawTx;
|
|
1643
1643
|
disableLossPolicy(pool: Address): RawTx;
|
|
1644
1644
|
treasury(): Promise<Address>;
|
|
1645
|
+
/**
|
|
1646
|
+
* Who holds each role of the configurator's ACL: the four admin roles in
|
|
1647
|
+
* their own fields, every other role in `otherRoles`, by role name.
|
|
1648
|
+
**/
|
|
1645
1649
|
admins(): Promise<{
|
|
1646
1650
|
admin: Address;
|
|
1647
1651
|
emergencyAdmin: Address;
|
|
@@ -1650,6 +1654,7 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
|
|
|
1650
1654
|
unpausableAdmins: Address[];
|
|
1651
1655
|
lossLiquidators: Address[];
|
|
1652
1656
|
emergencyLiquidators: Address[];
|
|
1657
|
+
otherRoles: Record<string, Address[]>;
|
|
1653
1658
|
}>;
|
|
1654
1659
|
multipause(): Promise<Address | undefined>;
|
|
1655
1660
|
/**
|
|
@@ -1688,6 +1693,11 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
|
|
|
1688
1693
|
toBlock: bigint;
|
|
1689
1694
|
}): Promise<Market[]>;
|
|
1690
1695
|
protected parseFunctionParams(params: DecodeFunctionDataReturnType<typeof abi>): ParsedCallArgs;
|
|
1696
|
+
/**
|
|
1697
|
+
* Revokes `role` from `account` at once, without the timelock that
|
|
1698
|
+
* `revokeRole` goes through
|
|
1699
|
+
*/
|
|
1700
|
+
emergencyRevokeRole(role: string, account: Address): RawTx;
|
|
1691
1701
|
emergencyConfigurePool(pool: Address, calldata: Hex): RawTx;
|
|
1692
1702
|
emergencyConfigureCreditSuite(creditManager: Address, calldata: Hex): RawTx;
|
|
1693
1703
|
emergencyConfigurePriceOracle(pool: Address, calldata: Hex): RawTx;
|
package/dist/types/permissionless/curator/configurator-actions/configuratorActionDefinitions.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { AddAdminAction } from "./addAdminActionData.js";
|
|
2
2
|
import { ConfiguratorScopedDefinition } from "./defineConfiguratorAction.js";
|
|
3
|
+
import { GrantRoleAction } from "./grantRoleActionData.js";
|
|
3
4
|
import { RemoveAdminAction } from "./removeAdminActionData.js";
|
|
5
|
+
import { RevokeRoleAction } from "./revokeRoleActionData.js";
|
|
4
6
|
import { SetEmergencyAdminAction } from "./setEmergencyAdminActionData.js";
|
|
5
7
|
import { CancelConfigureAction } from "./cancelConfigureActionData.js";
|
|
6
8
|
import { TreasurySplitterResolution } from "./configuratorActionHelpers.js";
|
|
7
9
|
import { DistributeAction } from "./distributeActionData.js";
|
|
8
10
|
import { SetDefaultSplitAction } from "./setDefaultSplitActionData.js";
|
|
9
11
|
/** Every configurator action type, in registration order. **/
|
|
10
|
-
export declare const configuratorActionDefinitions: (ConfiguratorScopedDefinition<AddAdminAction> | ConfiguratorScopedDefinition<RemoveAdminAction> | ConfiguratorScopedDefinition<SetEmergencyAdminAction> | ConfiguratorScopedDefinition<CancelConfigureAction, TreasurySplitterResolution> | ConfiguratorScopedDefinition<DistributeAction, TreasurySplitterResolution> | ConfiguratorScopedDefinition<SetDefaultSplitAction, TreasurySplitterResolution>)[];
|
|
12
|
+
export declare const configuratorActionDefinitions: (ConfiguratorScopedDefinition<AddAdminAction> | ConfiguratorScopedDefinition<GrantRoleAction> | ConfiguratorScopedDefinition<RemoveAdminAction> | ConfiguratorScopedDefinition<RevokeRoleAction> | ConfiguratorScopedDefinition<SetEmergencyAdminAction> | ConfiguratorScopedDefinition<CancelConfigureAction, TreasurySplitterResolution> | ConfiguratorScopedDefinition<DistributeAction, TreasurySplitterResolution> | ConfiguratorScopedDefinition<SetDefaultSplitAction, TreasurySplitterResolution>)[];
|
package/dist/types/permissionless/curator/configurator-actions/configuratorActionHelpers.d.ts
CHANGED
|
@@ -11,13 +11,23 @@ export declare function resolveTreasurySplitter(args: {
|
|
|
11
11
|
ctx: GipBuilderContext;
|
|
12
12
|
}): Promise<TreasurySplitterResolution>;
|
|
13
13
|
export declare function treasurySplitter(ctx: GipBuilderContext, resolved: TreasurySplitterResolution): TreasurySplitterContract;
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Who holds `role`: its own list for the four admin roles, `otherRoles` for
|
|
16
|
+
* any other.
|
|
17
|
+
**/
|
|
18
|
+
export declare function roleHolders(state: ConfiguratorState, role: string): readonly Address[];
|
|
19
|
+
/** Whether `account` holds `role`. **/
|
|
20
|
+
export declare function holdsRole(state: ConfiguratorState, role: string, account: Address): boolean;
|
|
21
|
+
/** How diagnostics name the holders of `role`. **/
|
|
22
|
+
export declare function roleLabel(role: string): string;
|
|
23
|
+
/** Rewrites the holders of `role`: `update` maps the holders to the new ones. **/
|
|
24
|
+
export declare function updateRoleHolders(state: ConfiguratorState, role: string, update: (holders: Address[]) => Address[]): ConfiguratorState;
|
|
20
25
|
export declare const byRoleAndAdmin: (params: {
|
|
21
26
|
role: AdminRole;
|
|
22
27
|
admin: Address;
|
|
28
|
+
}) => string;
|
|
29
|
+
/** Merges `CONFIGURATOR::grantRole` and `revokeRole` per role and account. **/
|
|
30
|
+
export declare const byRoleAndAccount: (params: {
|
|
31
|
+
role: string;
|
|
32
|
+
account: Address;
|
|
23
33
|
}) => string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseMarketAction } from "../actions/actionTypes.js";
|
|
2
|
+
import { ConfiguratorScopedDefinition } from "./defineConfiguratorAction.js";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
export interface GrantRoleParams {
|
|
5
|
+
/** Role name, e.g. `PAUSABLE_ADMIN` or `OPENING_SIGNER`; encoded as `bytes32`. **/
|
|
6
|
+
role: string;
|
|
7
|
+
account: Address;
|
|
8
|
+
}
|
|
9
|
+
export type GrantRoleAction = BaseMarketAction<"CONFIGURATOR::grantRole", GrantRoleParams>;
|
|
10
|
+
/**
|
|
11
|
+
* Grants any role in the configurator's ACL. Covers what
|
|
12
|
+
* `CONFIGURATOR::addAdmin` does and the roles it does not take, such as
|
|
13
|
+
* `OPENING_SIGNER`.
|
|
14
|
+
**/
|
|
15
|
+
export declare const grantRoleActionData: ConfiguratorScopedDefinition<GrantRoleAction>;
|
|
@@ -3,8 +3,10 @@ import { ConfiguratorTx } from "./ConfiguratorTx.js";
|
|
|
3
3
|
import { CancelConfigureAction, cancelConfigureActionData } from "./cancelConfigureActionData.js";
|
|
4
4
|
import { ConfiguratorActionDefinition, ConfiguratorActionInput, ConfiguratorScopedDefinition, defineConfiguratorAction } from "./defineConfiguratorAction.js";
|
|
5
5
|
import { DistributeAction, distributeActionData } from "./distributeActionData.js";
|
|
6
|
+
import { GrantRoleAction, GrantRoleParams, grantRoleActionData } from "./grantRoleActionData.js";
|
|
6
7
|
import { RemoveAdminAction, removeAdminActionData } from "./removeAdminActionData.js";
|
|
8
|
+
import { RevokeRoleAction, RevokeRoleParams, revokeRoleActionData } from "./revokeRoleActionData.js";
|
|
7
9
|
import { SetDefaultSplitAction, setDefaultSplitActionData } from "./setDefaultSplitActionData.js";
|
|
8
10
|
import { SetEmergencyAdminAction, setEmergencyAdminActionData } from "./setEmergencyAdminActionData.js";
|
|
9
11
|
import { ConfiguratorActionType, ConfiguratorActions } from "./types.js";
|
|
10
|
-
export { AddAdminAction, CancelConfigureAction, type ConfiguratorActionDefinition, type ConfiguratorActionInput, type ConfiguratorActionType, type ConfiguratorActions, type ConfiguratorScopedDefinition, type ConfiguratorTx, DistributeAction, RemoveAdminAction, SetDefaultSplitAction, SetEmergencyAdminAction, addAdminActionData, cancelConfigureActionData, defineConfiguratorAction, distributeActionData, removeAdminActionData, setDefaultSplitActionData, setEmergencyAdminActionData };
|
|
12
|
+
export { AddAdminAction, CancelConfigureAction, type ConfiguratorActionDefinition, type ConfiguratorActionInput, type ConfiguratorActionType, type ConfiguratorActions, type ConfiguratorScopedDefinition, type ConfiguratorTx, DistributeAction, GrantRoleAction, GrantRoleParams, RemoveAdminAction, RevokeRoleAction, RevokeRoleParams, SetDefaultSplitAction, SetEmergencyAdminAction, addAdminActionData, cancelConfigureActionData, defineConfiguratorAction, distributeActionData, grantRoleActionData, removeAdminActionData, revokeRoleActionData, setDefaultSplitActionData, setEmergencyAdminActionData };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseMarketAction } from "../actions/actionTypes.js";
|
|
2
|
+
import { ConfiguratorScopedDefinition } from "./defineConfiguratorAction.js";
|
|
3
|
+
import { Address } from "viem";
|
|
4
|
+
export interface RevokeRoleParams {
|
|
5
|
+
/** Role name, e.g. `PAUSABLE_ADMIN` or `OPENING_SIGNER`; encoded as `bytes32`. **/
|
|
6
|
+
role: string;
|
|
7
|
+
account: Address;
|
|
8
|
+
}
|
|
9
|
+
export type RevokeRoleAction = BaseMarketAction<"CONFIGURATOR::revokeRole", RevokeRoleParams>;
|
|
10
|
+
/**
|
|
11
|
+
* Revokes any role in the configurator's ACL. Covers what
|
|
12
|
+
* `CONFIGURATOR::removeAdmin` does and the roles it does not take, such as
|
|
13
|
+
* `OPENING_SIGNER`.
|
|
14
|
+
**/
|
|
15
|
+
export declare const revokeRoleActionData: ConfiguratorScopedDefinition<RevokeRoleAction>;
|
|
@@ -50,7 +50,9 @@ import { Bundle } from "./bundles/Bundle.js";
|
|
|
50
50
|
import { AdminRole, ConfiguratorState, GovernorState, SetDefaultSplitProposal, Split, TreasurySplitterState, TreasuryTokenBalance, TwoAdminProposal, adminRoleLabelMap, adminRoleSchema } from "./state/configurator/types.js";
|
|
51
51
|
import { ConfiguratorActionDefinition, ConfiguratorActionInput, ConfiguratorScopedDefinition, defineConfiguratorAction } from "./configurator-actions/defineConfiguratorAction.js";
|
|
52
52
|
import { AddAdminAction, addAdminActionData } from "./configurator-actions/addAdminActionData.js";
|
|
53
|
+
import { GrantRoleAction, GrantRoleParams, grantRoleActionData } from "./configurator-actions/grantRoleActionData.js";
|
|
53
54
|
import { RemoveAdminAction, removeAdminActionData } from "./configurator-actions/removeAdminActionData.js";
|
|
55
|
+
import { RevokeRoleAction, RevokeRoleParams, revokeRoleActionData } from "./configurator-actions/revokeRoleActionData.js";
|
|
54
56
|
import { SetEmergencyAdminAction, setEmergencyAdminActionData } from "./configurator-actions/setEmergencyAdminActionData.js";
|
|
55
57
|
import { CancelConfigureAction, cancelConfigureActionData } from "./configurator-actions/cancelConfigureActionData.js";
|
|
56
58
|
import { DistributeAction, distributeActionData } from "./configurator-actions/distributeActionData.js";
|
|
@@ -142,4 +144,4 @@ import { ActionFootprintArgs, ActionOf, AnyMarketAction, ApplyArgs, CheckArgs, E
|
|
|
142
144
|
import "./utils/index.js";
|
|
143
145
|
import { AccountFactoryType, AccountFactoryTypes, ActionEnv, BaseMarketAction, BasicParams, CreateMarketParams, DeployCreateSuiteParams } from "./actions/actionTypes.js";
|
|
144
146
|
import { CuratorSession, CuratorSessionArgs, CuratorSessionOptions } from "./session/CuratorSession.js";
|
|
145
|
-
export { ABSTRACT_ADAPTER_TYPES, type AbstractAdapterDeployParams, type AbstractAdapterState, type AbstractAdapterTypes, AbstractLossPolicyState, type AccountFactoryType, AccountFactoryTypes, type ActionDefinitionsOf, type ActionDiagnostic, type ActionDiagnosticPath, type ActionDiagnosticSeverity, type ActionEnv, type ActionFootprintArgs, type ActionOf, type ActionScope, type AdapterActionContext, type AdapterActions, AdapterDeployParams, type AdapterDeployParamsBase, AdapterMarketActionDefinition, type AdapterPluginDefinition, AdapterState, type AdapterStateBase, type AdapterStateOf, AdapterType, type AdapterValidation, AddAdminAction, type AddAssetAction, type AddCollateralTokenAction, type AddCollateralTokenContext, type AddPeripheryContractAction, type AdminRole, AliasLossPolicyParams, AliasLossPolicyState, type AliasedLossPolicyParams, type AliasedLossPolicyState, type AliasedLossPolicyType, type AllowAdapterAction, type AllowAdapterResolution, type AllowTokenAction, type AnvilSimulationOptions, type AnyMarketAction, type ApplyArgs, BUNDLE_TARGET, type BalancerV3AdapterDeployParams, type BalancerV3AdapterState, type BaseMarketAction, type BasicParams, type BatchTxs, type Bundle, type BundleApplication, type BundleCustomization, type CamelotV3AdapterDeployParams, type CamelotV3AdapterState, CancelConfigureAction, type Canon, type CanonTree, type CheckArgs, type CollateralResolution, type CollateralToken, type ComparisonVerdict, ConfigurationExecutor, type ConfiguratorActionDefinition, type ConfiguratorActionInput, type ConfiguratorActionType, type ConfiguratorActions, ConfiguratorBuilder, type ConfiguratorGipPlan, type ConfiguratorPreview, type ConfiguratorScopedAction, type ConfiguratorScopedDefinition, type ConfiguratorSimulationComparison, type ConfiguratorState, type ConfiguratorStateChanges, type ConfiguratorStateDiff, type ConfiguratorTx, ContractReader, type ConvexV1BaseRewardPoolAdapterDeployParams, type ConvexV1BaseRewardPoolAdapterState, type ConvexV1BoosterAdapterDeployParams, type ConvexV1BoosterAdapterState, type CreateCreditSuiteAction, type CreateCreditSuiteResolution, type CreateMarketAction, type CreateMarketParams, type CreateMarketResolution, type CreditManagerTarget, type CreditSuiteRef, CuratorSession, type CuratorSessionArgs, type CuratorSessionOptions, type CurveV1Adapter310DeployParams, type CurveV1Adapter311DeployParams, type CurveV1AdapterDeployParams, type CurveV1AdapterState, type CurveV1AdapterTypes, type CurveV1StETHAdapterDeployParams, type CurveV1StETHAdapterState, DEFAULT_INTEREST_RATE_MODEL_PARAMS, DEFAULT_LOSS_POLICY_PARAMS, DEFAULT_RATE_KEEPER_PARAMS, DEFAULT_RWA_UNDERLYING_TYPE, type DaiUsdsAdapterDeployParams, type DaiUsdsAdapterState, type DeployContractAction, type DeployContractResolution, type DeployCreateSuiteParams, type DeployParamsOf, type DiagnosticMarket, type DiffDiagnostic, type DiffOptions, type DiffSkipped, DistributeAction, type EncodeArgs, type Erc4626Adapter312DeployParams, type Erc4626AdapterDeployParams, type Erc4626AdapterState, type Erc4626ReferralAdapterDeployParams, type Erc4626ReferralAdapterState, type ExecutorOptions, type ExpectedMarketState, type ExternalAdapterAction, type Fields, type ForbidAdapterAction, type ForbidTokenAction, type ForkExecutionCall, type ForkExecutionReceipt, GaugeRateKeeperParams, GaugeRateKeeperState, type GipActionDiagnostic, GipActionError, type GipAnvilForkOptions, type GipBuilderContext, GipBuilderError, type GipBuilderErrorCode, type GipDiagnostic, type GipExpectedState, type GipForkSession, type GipForkSessionBase, type GipForkSimulationResult, type GipMarketAction, type GipPayloadForkSession, type GipPayloadSimulationRequest, type GipPlan, type GipPlanBase, type GipPlanGas, type GipPreview, GipRegistry, GipScopeError, type GipScopeErrorCode, type GipSimulationComparison, GipSimulationError, type GipSimulationFailure, type GipSimulationOptions, type GipSimulationOutcome, type GipSimulationPlan, type GipSimulationTarget, type GipSourceSnapshot, GipTargetResolutionError, type GovernorState, IRMPlugin, type IncompleteCheck, IncompleteRwaPeripherySetup, InterestRateModelParams, InterestRateModelState, InterestRateModelType, type InvalidActionParam, type ItemOf, type LeafNode, LinearInterestRateModelParams, LinearInterestRateModelState, type ListNode, LossPolicyDeployParams, LossPolicyPlugin, LossPolicyState, LossPolicyType, type MarketActionDefinition, type MarketActionInput, type MarketActionOf, type MarketActionType, type MarketActions, type MarketAsset, MarketBuilder, type MarketBundleOptions, type MarketCreditManagerState, type MarketDiagnostic, type MarketExecution, MarketExecutor, type MarketExecutorOptions, type MarketGipPlan, type MarketIntent, type MarketPreview, type MarketProjection, type MarketReadOptions, type MarketScopedAction, type MarketScopedDefinition, type MarketSimulationComparison, type MarketState, type MarketStateChanges, type MarketTx, type MellowClaimerAdapterDeployParams, type MellowClaimerAdapterState, type MellowErc4626Adapter312DeployParams, type MellowErc4626AdapterDeployParams, type MellowErc4626AdapterState, type MellowWrapperAdapterDeployParams, type MellowWrapperAdapterState, type MergePolicy, MergedGip, type MergedGipPlan, type MergedGipPreview, MidasAliasLossPolicyParams, MidasAliasLossPolicyState, type MidasGatewayAdapterDeployParams, type MidasGatewayAdapterState, type MidasIssuanceAdapterDeployParams, type MidasIssuanceAdapterState, type MidasRedemptionAdapterDeployParams, type MidasRedemptionAdapterState, NO_LIMIT, ON_DEMAND_RWA_UNDERLYING_TYPE, type ObjectNode, type ParsedMarketTx, type PauseCreditManagerAction, type PausePoolAction, type PendleAdapterDeployParams, type PendleAdapterState, type PeripheryContractDomain, type PeripheryRegistryEntry, type PeripheryResolution, type PeripheryState, type PeripheryStatus, type PredictedDeployment, RWA_UNDERLYING_TYPE_PREFIX, RWA_ZAPPER_CONTRACT_TYPE, RWA_ZAPPER_VERSION, type RampLiquidationThresholdAction, type RampLiquidationThresholdContext, type RampStartRequest, RateKeeperDeployParams, RateKeeperPlugin, RateKeeperState, RateKeeperType, type RecordNode, type RegisteredMarketActionDefinition, RemoveAdminAction, type ResolveAdapterValidationArgs, type ResolveArgs, ResolveCache, type ResolvedParams, type Role, RwaPeripheryLookups, RwaPeripheryRequirement, RwaPeripheryRequirementKind, RwaPeripherySetupPlan, RwaZapperDeployParams, SECURITIZE_RWA_FACTORY_TYPE, type SchemaNode, type SecuritizeRedemptionAdapterDeployParams, type SecuritizeRedemptionAdapterState, SecuritizeRwaSetup, type SetCreditManagerDebtLimitAction, SetDefaultSplitAction, type SetDefaultSplitProposal, SetEmergencyAdminAction, type SetExpirationDateAction, type SetFeesAction, type SetMaxDebtPerBlockMultiplierAction, type SetPriceFeedAction, type SetReservePriceFeedAction, type SetTokenLimitAction, type SetTokenLimitContext, type SetTokenQuotaIncreaseFeeAction, type SetTotalDebtLimitAction, type Side, type SignedTimelockTxs, type SignedTimelockTxsWithHashes, type Split, type StakingRewardsAdapter311DeployParams, type StakingRewardsAdapterDeployParams, type StakingRewardsAdapterState, type StateChange, type StateDiff, type StatePath, type StateProvenance, type SuppressRule, type TimelockTxsIpfs, type TraderJoeAdapterDeployParams, type TraderJoeAdapterState, type TreasurySplitterState, type TreasuryState, type TreasuryTokenBalance, type TreehouseRouterAdapterDeployParams, type TreehouseRouterAdapterState, TumblerRateKeeperParams, TumblerRateKeeperState, type TwoAdminProposal, type UnionNode, type UniswapV2AdapterDeployParams, type UniswapV2AdapterState, type UniswapV3AdapterDeployParams, type UniswapV3AdapterState, type UniswapV4AdapterDeployParams, type UniswapV4AdapterState, type UnpauseCreditManagerAction, type UnpausePoolAction, type UpdateInterestRateModelAction, type UpdateLossPolicyAction, type UpdateRateKeeperAction, type UpdateRateKeeperResolution, type UpgradeCreditFacadeAction, type ValidMarketAction, type ValidateAdapterParamsArgs, type VelodromeV2AdapterDeployParams, type VelodromeV2AdapterState, actionEnv, actionError, actionWarning, adapterPluginKit, adapterPlugins, addAdminActionData, addAssetActionData, addCollateralTokenActionData, addConfiguratorAction, addConfiguratorActions, addMarketAction, addMarketActions, addPeripheryContractActionData, adminRoleLabelMap, adminRoleSchema, aliasDeployParamsSchema, aliasPlugin, allowAdapterActionData, allowTokenActionData, applyBundle, applyChanges, assertNotBlocked, batchMarketTransactions, bindBundleTarget, buildMarketStateSchema, builtinAdapterPlugins, bundleActions, bundleSuiteId, cancelConfigureActionData, canonicalize, compareConfiguratorStates, compareGipForkState, completeRwaPeripheryActions, contractReaderFromClient, convertTokenAmount, copyCmActions, copyCmActionsForMarket, createAction, createCreditSuite, createCreditSuiteActionData, createCreditSuiteSchema, createMarketActionData, creditManagerFeesSchema, creditManagerTargetSchema, creditSuiteId, creditSuiteRef, creditSuiteRefSchema, customizeBundle, defineConfiguratorAction, defineMarketAction, deployContractActionData, deserializeGipPlan, diffMarketStates, diffStates, distributeActionData, findIncompleteRwaPeripherySetups, forbidAdapterActionData, forbidTokenActionData, formatMarketStateDiff, formatStateDiff, gaugeDeployParamsSchema, gaugeMarketActionsData, gaugePlugin, getAbstractAdapterPlugin, getActionScope, getConfiguratorState, getGipDiagnostics, getGovernorContract, getInitialMarketState, getMarketState, getRawTxHash, getRwaZapperDeployAction, getRwaZapperDeployParams, getTimelockTransactions, getTimelockTransactionsForExecution, hasErrors, insertRwaZapperDeployment, irmDeployParamsSchema, irmPlugins, isAliasedLossPolicy, isContractDeploymentQueued, isCreditSuiteRef, isPeripheryContractAdded, isRwaZapperRegistration, isSameTarget, isZeroFeed, linearInterestRateModelDeployParamsSchema, linearPlugin, locateDiagnostics, lossPolicyDeployParamsSchema, lossPolicyMarketActionsData, lossPolicyPlugins, marketIdentity, marketStateSchema, midasAliasDeployParamsSchema, midasAliasPlugin, normalizeBundleTarget, numberToDecimalString, parseConfiguratorScopedAction, parseContractType, parseMarketScopedAction, pauseCreditManagerActionData, pausePoolActionData, peripheryContractDomains, peripheryDomainOf, peripheryStatus, planRwaPeripheryActions, previewCreditSuiteAddress, rampLiquidationThresholdActionData, rateKeeperDeployParamsSchema, rateKeeperMarketActionsData, rateKeeperPlugins, readContractType, reconcileRwaPeripheryActions, removeAdapterActions, removeAdminActionData, replaceCmActions, resolveSecuritizeRwaSetup, retargetCreditManager, revertTo, sameTree, selectMarketDegenNfts, serializeGipPlan, setCreditManagerDebtLimitActionData, setDefaultSplitActionData, setEmergencyAdminActionData, setExpirationDateActionData, setFeesActionData, setMaxDebtPerBlockMultiplierActionData, setPriceFeedActionData, setReservePriceFeedActionData, setTokenLimitActionData, setTokenQuotaIncreaseFeeActionData, setTotalDebtLimitActionData, simulateGipOnFork, simulateGipPayloadOnFork, simulateOnAnvil, stateSchema, targetKey, targetOf, tumblerDeployParamsSchema, tumblerDiagnostics, tumblerMarketActionsData, tumblerPlugin, unpauseCreditManagerActionData, unpausePoolActionData, updateInterestRateModelActionData, updateLossPolicyActionData, updateRateKeeperActionData, upgradeCreditFacadeActionData, usesBundleTarget, validateForkExecutionCalls };
|
|
147
|
+
export { ABSTRACT_ADAPTER_TYPES, type AbstractAdapterDeployParams, type AbstractAdapterState, type AbstractAdapterTypes, AbstractLossPolicyState, type AccountFactoryType, AccountFactoryTypes, type ActionDefinitionsOf, type ActionDiagnostic, type ActionDiagnosticPath, type ActionDiagnosticSeverity, type ActionEnv, type ActionFootprintArgs, type ActionOf, type ActionScope, type AdapterActionContext, type AdapterActions, AdapterDeployParams, type AdapterDeployParamsBase, AdapterMarketActionDefinition, type AdapterPluginDefinition, AdapterState, type AdapterStateBase, type AdapterStateOf, AdapterType, type AdapterValidation, AddAdminAction, type AddAssetAction, type AddCollateralTokenAction, type AddCollateralTokenContext, type AddPeripheryContractAction, type AdminRole, AliasLossPolicyParams, AliasLossPolicyState, type AliasedLossPolicyParams, type AliasedLossPolicyState, type AliasedLossPolicyType, type AllowAdapterAction, type AllowAdapterResolution, type AllowTokenAction, type AnvilSimulationOptions, type AnyMarketAction, type ApplyArgs, BUNDLE_TARGET, type BalancerV3AdapterDeployParams, type BalancerV3AdapterState, type BaseMarketAction, type BasicParams, type BatchTxs, type Bundle, type BundleApplication, type BundleCustomization, type CamelotV3AdapterDeployParams, type CamelotV3AdapterState, CancelConfigureAction, type Canon, type CanonTree, type CheckArgs, type CollateralResolution, type CollateralToken, type ComparisonVerdict, ConfigurationExecutor, type ConfiguratorActionDefinition, type ConfiguratorActionInput, type ConfiguratorActionType, type ConfiguratorActions, ConfiguratorBuilder, type ConfiguratorGipPlan, type ConfiguratorPreview, type ConfiguratorScopedAction, type ConfiguratorScopedDefinition, type ConfiguratorSimulationComparison, type ConfiguratorState, type ConfiguratorStateChanges, type ConfiguratorStateDiff, type ConfiguratorTx, ContractReader, type ConvexV1BaseRewardPoolAdapterDeployParams, type ConvexV1BaseRewardPoolAdapterState, type ConvexV1BoosterAdapterDeployParams, type ConvexV1BoosterAdapterState, type CreateCreditSuiteAction, type CreateCreditSuiteResolution, type CreateMarketAction, type CreateMarketParams, type CreateMarketResolution, type CreditManagerTarget, type CreditSuiteRef, CuratorSession, type CuratorSessionArgs, type CuratorSessionOptions, type CurveV1Adapter310DeployParams, type CurveV1Adapter311DeployParams, type CurveV1AdapterDeployParams, type CurveV1AdapterState, type CurveV1AdapterTypes, type CurveV1StETHAdapterDeployParams, type CurveV1StETHAdapterState, DEFAULT_INTEREST_RATE_MODEL_PARAMS, DEFAULT_LOSS_POLICY_PARAMS, DEFAULT_RATE_KEEPER_PARAMS, DEFAULT_RWA_UNDERLYING_TYPE, type DaiUsdsAdapterDeployParams, type DaiUsdsAdapterState, type DeployContractAction, type DeployContractResolution, type DeployCreateSuiteParams, type DeployParamsOf, type DiagnosticMarket, type DiffDiagnostic, type DiffOptions, type DiffSkipped, DistributeAction, type EncodeArgs, type Erc4626Adapter312DeployParams, type Erc4626AdapterDeployParams, type Erc4626AdapterState, type Erc4626ReferralAdapterDeployParams, type Erc4626ReferralAdapterState, type ExecutorOptions, type ExpectedMarketState, type ExternalAdapterAction, type Fields, type ForbidAdapterAction, type ForbidTokenAction, type ForkExecutionCall, type ForkExecutionReceipt, GaugeRateKeeperParams, GaugeRateKeeperState, type GipActionDiagnostic, GipActionError, type GipAnvilForkOptions, type GipBuilderContext, GipBuilderError, type GipBuilderErrorCode, type GipDiagnostic, type GipExpectedState, type GipForkSession, type GipForkSessionBase, type GipForkSimulationResult, type GipMarketAction, type GipPayloadForkSession, type GipPayloadSimulationRequest, type GipPlan, type GipPlanBase, type GipPlanGas, type GipPreview, GipRegistry, GipScopeError, type GipScopeErrorCode, type GipSimulationComparison, GipSimulationError, type GipSimulationFailure, type GipSimulationOptions, type GipSimulationOutcome, type GipSimulationPlan, type GipSimulationTarget, type GipSourceSnapshot, GipTargetResolutionError, type GovernorState, GrantRoleAction, GrantRoleParams, IRMPlugin, type IncompleteCheck, IncompleteRwaPeripherySetup, InterestRateModelParams, InterestRateModelState, InterestRateModelType, type InvalidActionParam, type ItemOf, type LeafNode, LinearInterestRateModelParams, LinearInterestRateModelState, type ListNode, LossPolicyDeployParams, LossPolicyPlugin, LossPolicyState, LossPolicyType, type MarketActionDefinition, type MarketActionInput, type MarketActionOf, type MarketActionType, type MarketActions, type MarketAsset, MarketBuilder, type MarketBundleOptions, type MarketCreditManagerState, type MarketDiagnostic, type MarketExecution, MarketExecutor, type MarketExecutorOptions, type MarketGipPlan, type MarketIntent, type MarketPreview, type MarketProjection, type MarketReadOptions, type MarketScopedAction, type MarketScopedDefinition, type MarketSimulationComparison, type MarketState, type MarketStateChanges, type MarketTx, type MellowClaimerAdapterDeployParams, type MellowClaimerAdapterState, type MellowErc4626Adapter312DeployParams, type MellowErc4626AdapterDeployParams, type MellowErc4626AdapterState, type MellowWrapperAdapterDeployParams, type MellowWrapperAdapterState, type MergePolicy, MergedGip, type MergedGipPlan, type MergedGipPreview, MidasAliasLossPolicyParams, MidasAliasLossPolicyState, type MidasGatewayAdapterDeployParams, type MidasGatewayAdapterState, type MidasIssuanceAdapterDeployParams, type MidasIssuanceAdapterState, type MidasRedemptionAdapterDeployParams, type MidasRedemptionAdapterState, NO_LIMIT, ON_DEMAND_RWA_UNDERLYING_TYPE, type ObjectNode, type ParsedMarketTx, type PauseCreditManagerAction, type PausePoolAction, type PendleAdapterDeployParams, type PendleAdapterState, type PeripheryContractDomain, type PeripheryRegistryEntry, type PeripheryResolution, type PeripheryState, type PeripheryStatus, type PredictedDeployment, RWA_UNDERLYING_TYPE_PREFIX, RWA_ZAPPER_CONTRACT_TYPE, RWA_ZAPPER_VERSION, type RampLiquidationThresholdAction, type RampLiquidationThresholdContext, type RampStartRequest, RateKeeperDeployParams, RateKeeperPlugin, RateKeeperState, RateKeeperType, type RecordNode, type RegisteredMarketActionDefinition, RemoveAdminAction, type ResolveAdapterValidationArgs, type ResolveArgs, ResolveCache, type ResolvedParams, RevokeRoleAction, RevokeRoleParams, type Role, RwaPeripheryLookups, RwaPeripheryRequirement, RwaPeripheryRequirementKind, RwaPeripherySetupPlan, RwaZapperDeployParams, SECURITIZE_RWA_FACTORY_TYPE, type SchemaNode, type SecuritizeRedemptionAdapterDeployParams, type SecuritizeRedemptionAdapterState, SecuritizeRwaSetup, type SetCreditManagerDebtLimitAction, SetDefaultSplitAction, type SetDefaultSplitProposal, SetEmergencyAdminAction, type SetExpirationDateAction, type SetFeesAction, type SetMaxDebtPerBlockMultiplierAction, type SetPriceFeedAction, type SetReservePriceFeedAction, type SetTokenLimitAction, type SetTokenLimitContext, type SetTokenQuotaIncreaseFeeAction, type SetTotalDebtLimitAction, type Side, type SignedTimelockTxs, type SignedTimelockTxsWithHashes, type Split, type StakingRewardsAdapter311DeployParams, type StakingRewardsAdapterDeployParams, type StakingRewardsAdapterState, type StateChange, type StateDiff, type StatePath, type StateProvenance, type SuppressRule, type TimelockTxsIpfs, type TraderJoeAdapterDeployParams, type TraderJoeAdapterState, type TreasurySplitterState, type TreasuryState, type TreasuryTokenBalance, type TreehouseRouterAdapterDeployParams, type TreehouseRouterAdapterState, TumblerRateKeeperParams, TumblerRateKeeperState, type TwoAdminProposal, type UnionNode, type UniswapV2AdapterDeployParams, type UniswapV2AdapterState, type UniswapV3AdapterDeployParams, type UniswapV3AdapterState, type UniswapV4AdapterDeployParams, type UniswapV4AdapterState, type UnpauseCreditManagerAction, type UnpausePoolAction, type UpdateInterestRateModelAction, type UpdateLossPolicyAction, type UpdateRateKeeperAction, type UpdateRateKeeperResolution, type UpgradeCreditFacadeAction, type ValidMarketAction, type ValidateAdapterParamsArgs, type VelodromeV2AdapterDeployParams, type VelodromeV2AdapterState, actionEnv, actionError, actionWarning, adapterPluginKit, adapterPlugins, addAdminActionData, addAssetActionData, addCollateralTokenActionData, addConfiguratorAction, addConfiguratorActions, addMarketAction, addMarketActions, addPeripheryContractActionData, adminRoleLabelMap, adminRoleSchema, aliasDeployParamsSchema, aliasPlugin, allowAdapterActionData, allowTokenActionData, applyBundle, applyChanges, assertNotBlocked, batchMarketTransactions, bindBundleTarget, buildMarketStateSchema, builtinAdapterPlugins, bundleActions, bundleSuiteId, cancelConfigureActionData, canonicalize, compareConfiguratorStates, compareGipForkState, completeRwaPeripheryActions, contractReaderFromClient, convertTokenAmount, copyCmActions, copyCmActionsForMarket, createAction, createCreditSuite, createCreditSuiteActionData, createCreditSuiteSchema, createMarketActionData, creditManagerFeesSchema, creditManagerTargetSchema, creditSuiteId, creditSuiteRef, creditSuiteRefSchema, customizeBundle, defineConfiguratorAction, defineMarketAction, deployContractActionData, deserializeGipPlan, diffMarketStates, diffStates, distributeActionData, findIncompleteRwaPeripherySetups, forbidAdapterActionData, forbidTokenActionData, formatMarketStateDiff, formatStateDiff, gaugeDeployParamsSchema, gaugeMarketActionsData, gaugePlugin, getAbstractAdapterPlugin, getActionScope, getConfiguratorState, getGipDiagnostics, getGovernorContract, getInitialMarketState, getMarketState, getRawTxHash, getRwaZapperDeployAction, getRwaZapperDeployParams, getTimelockTransactions, getTimelockTransactionsForExecution, grantRoleActionData, hasErrors, insertRwaZapperDeployment, irmDeployParamsSchema, irmPlugins, isAliasedLossPolicy, isContractDeploymentQueued, isCreditSuiteRef, isPeripheryContractAdded, isRwaZapperRegistration, isSameTarget, isZeroFeed, linearInterestRateModelDeployParamsSchema, linearPlugin, locateDiagnostics, lossPolicyDeployParamsSchema, lossPolicyMarketActionsData, lossPolicyPlugins, marketIdentity, marketStateSchema, midasAliasDeployParamsSchema, midasAliasPlugin, normalizeBundleTarget, numberToDecimalString, parseConfiguratorScopedAction, parseContractType, parseMarketScopedAction, pauseCreditManagerActionData, pausePoolActionData, peripheryContractDomains, peripheryDomainOf, peripheryStatus, planRwaPeripheryActions, previewCreditSuiteAddress, rampLiquidationThresholdActionData, rateKeeperDeployParamsSchema, rateKeeperMarketActionsData, rateKeeperPlugins, readContractType, reconcileRwaPeripheryActions, removeAdapterActions, removeAdminActionData, replaceCmActions, resolveSecuritizeRwaSetup, retargetCreditManager, revertTo, revokeRoleActionData, sameTree, selectMarketDegenNfts, serializeGipPlan, setCreditManagerDebtLimitActionData, setDefaultSplitActionData, setEmergencyAdminActionData, setExpirationDateActionData, setFeesActionData, setMaxDebtPerBlockMultiplierActionData, setPriceFeedActionData, setReservePriceFeedActionData, setTokenLimitActionData, setTokenQuotaIncreaseFeeActionData, setTotalDebtLimitActionData, simulateGipOnFork, simulateGipPayloadOnFork, simulateOnAnvil, stateSchema, targetKey, targetOf, tumblerDeployParamsSchema, tumblerDiagnostics, tumblerMarketActionsData, tumblerPlugin, unpauseCreditManagerActionData, unpausePoolActionData, updateInterestRateModelActionData, updateLossPolicyActionData, updateRateKeeperActionData, upgradeCreditFacadeActionData, usesBundleTarget, validateForkExecutionCalls };
|
|
@@ -25,6 +25,8 @@ export interface ConfiguratorStateDiff {
|
|
|
25
25
|
unpausableAdmins?: ListChange<Address>;
|
|
26
26
|
lossLiquidators?: ListChange<Address>;
|
|
27
27
|
emergencyLiquidators?: ListChange<Address>;
|
|
28
|
+
/** Per role of `otherRoles` whose holders differ. **/
|
|
29
|
+
otherRoles?: Record<string, ListChange<Address>>;
|
|
28
30
|
governor?: {
|
|
29
31
|
address?: Changed<Address>;
|
|
30
32
|
vetoAdmin?: Changed<Address>;
|
|
@@ -53,6 +53,14 @@ export interface ConfiguratorState {
|
|
|
53
53
|
unpausableAdmins: Address[];
|
|
54
54
|
lossLiquidators: Address[];
|
|
55
55
|
emergencyLiquidators: Address[];
|
|
56
|
+
/**
|
|
57
|
+
* Holders of every other role in the configurator's ACL, by role name (for
|
|
58
|
+
* example `OPENING_SIGNER`): the roles without a field of their own above.
|
|
59
|
+
* A role whose holders were all revoked stays, with no holders, as it does
|
|
60
|
+
* in the ACL. States persisted before these roles were tracked have no such
|
|
61
|
+
* field.
|
|
62
|
+
**/
|
|
63
|
+
otherRoles?: Record<string, Address[]>;
|
|
56
64
|
governor: GovernorState;
|
|
57
65
|
treasury: TreasurySplitterState;
|
|
58
66
|
shutdown: boolean;
|
|
@@ -67,4 +75,24 @@ export declare const adminRoleSchema: z.ZodEnum<{
|
|
|
67
75
|
UNPAUSABLE_ADMIN: "UNPAUSABLE_ADMIN";
|
|
68
76
|
}>;
|
|
69
77
|
export type AdminRole = z.infer<typeof adminRoleSchema>;
|
|
70
|
-
export declare const adminRoleLabelMap: Record<AdminRole, string>;
|
|
78
|
+
export declare const adminRoleLabelMap: Record<AdminRole, string>;
|
|
79
|
+
/**
|
|
80
|
+
* Every role a Gearbox contract checks in the configurator's ACL, by name:
|
|
81
|
+
* - `PAUSABLE_ADMIN`, `UNPAUSABLE_ADMIN`: pause and unpause market contracts
|
|
82
|
+
* (core-v3 `ACLTrait`);
|
|
83
|
+
* - `EMERGENCY_LIQUIDATOR`: liquidates while a credit facade is paused
|
|
84
|
+
* (`CreditFacadeV3`);
|
|
85
|
+
* - `LOSS_LIQUIDATOR`: liquidates with loss under a permissioned aliased loss
|
|
86
|
+
* policy (`AliasedLossPolicyV3`);
|
|
87
|
+
* - `OPENING_SIGNER`: signs credit account openings for a signature degen NFT
|
|
88
|
+
* (`SignatureDegenNFT`).
|
|
89
|
+
**/
|
|
90
|
+
export declare const knownRoleLabelMap: Record<AdminRole | "OPENING_SIGNER", string>;
|
|
91
|
+
export type KnownRole = keyof typeof knownRoleLabelMap;
|
|
92
|
+
/**
|
|
93
|
+
* Schema for a role name, as `CONFIGURATOR::grantRole` and `revokeRole` take
|
|
94
|
+
* it: the configurator passes any `bytes32` role to its ACL, so any name
|
|
95
|
+
* fits. It must fit in 32 bytes and consist of printable ASCII without spaces,
|
|
96
|
+
* so that it reads back from the chain as it was written.
|
|
97
|
+
**/
|
|
98
|
+
export declare const roleNameSchema: z.ZodString;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** Looks up an entry without treating inherited object properties as entries. **/
|
|
2
|
+
export declare function ownEntry<T>(record: Record<string, T> | undefined, key: string): T | undefined;
|
|
1
3
|
/** `T` without the keys whose value is `undefined`. **/
|
|
2
4
|
type Compact<T> = { [K in keyof T]?: Exclude<T[K], undefined>; };
|
|
3
5
|
/** Drops `undefined` values, keeping the remaining keys in their order. **/
|
|
@@ -77,7 +77,9 @@ import { Bundle } from "./curator/bundles/Bundle.js";
|
|
|
77
77
|
import { AdminRole, ConfiguratorState, GovernorState, SetDefaultSplitProposal, Split, TreasurySplitterState, TreasuryTokenBalance, TwoAdminProposal, adminRoleLabelMap, adminRoleSchema } from "./curator/state/configurator/types.js";
|
|
78
78
|
import { ConfiguratorActionDefinition, ConfiguratorActionInput, ConfiguratorScopedDefinition, defineConfiguratorAction } from "./curator/configurator-actions/defineConfiguratorAction.js";
|
|
79
79
|
import { AddAdminAction, addAdminActionData } from "./curator/configurator-actions/addAdminActionData.js";
|
|
80
|
+
import { GrantRoleAction, GrantRoleParams, grantRoleActionData } from "./curator/configurator-actions/grantRoleActionData.js";
|
|
80
81
|
import { RemoveAdminAction, removeAdminActionData } from "./curator/configurator-actions/removeAdminActionData.js";
|
|
82
|
+
import { RevokeRoleAction, RevokeRoleParams, revokeRoleActionData } from "./curator/configurator-actions/revokeRoleActionData.js";
|
|
81
83
|
import { SetEmergencyAdminAction, setEmergencyAdminActionData } from "./curator/configurator-actions/setEmergencyAdminActionData.js";
|
|
82
84
|
import { CancelConfigureAction, cancelConfigureActionData } from "./curator/configurator-actions/cancelConfigureActionData.js";
|
|
83
85
|
import { DistributeAction, distributeActionData } from "./curator/configurator-actions/distributeActionData.js";
|
|
@@ -194,4 +196,4 @@ import { getFeedDecimals, getLatestPrices, getPrices } from "./utils/price-updat
|
|
|
194
196
|
import { GetUpdatablePriceFeedsArgs, getUpdatablePriceFeeds } from "./utils/price-update/get-updatable-feeds.js";
|
|
195
197
|
import { normalizeSignature } from "./utils/signature.js";
|
|
196
198
|
import "./utils/index.js";
|
|
197
|
-
export { ABSTRACT_ADAPTER_TYPES, type AbstractAdapterDeployParams, type AbstractAdapterState, type AbstractAdapterTypes, AbstractLossPolicyState, AccessMode, type AccountFactoryType, AccountFactoryTypes, type ActionDefinitionsOf, type ActionDiagnostic, type ActionDiagnosticPath, type ActionDiagnosticSeverity, type ActionEnv, type ActionFootprintArgs, type ActionOf, type ActionScope, type AdapterActionContext, type AdapterActions, AdapterDeployParams, type AdapterDeployParamsBase, AdapterMarketActionDefinition, type AdapterPluginDefinition, AdapterState, type AdapterStateBase, type AdapterStateOf, AdapterType, type AdapterValidation, AddAdminAction, type AddAssetAction, AddAssetParams, type AddCollateralTokenAction, type AddCollateralTokenContext, AddFeedsArgs, type AddPeripheryContractAction, AddressProviderContract, Addresses, type AdminRole, AliasLossPolicyParams, AliasLossPolicyState, type AliasedLossPolicyParams, type AliasedLossPolicyState, type AliasedLossPolicyType, type AllowAdapterAction, type AllowAdapterResolution, type AllowTokenAction, AllowTokenParams, type AnvilSimulationOptions, type AnyMarketAction, type ApplyArgs, ArchiveTransport, ArchiveTransportConfig, AssetArgs, AssetCap, AssetScore, AssetScoresArgs, AssetsArgs, AttachChainsArgs, AuditEvent, Auditor, BUNDLE_TARGET, BYTECODE_REPOSITORY, type BalancerV3AdapterDeployParams, type BalancerV3AdapterState, type BaseMarketAction, type BasicParams, Batch, type BatchTxs, BreakingPoint, type Bundle, type BundleApplication, type BundleCustomization, Bytecode, BytecodeRepositoryContract, CCMConstructorParams, CROSS_CHAIN_GOVERNANCE, CROSS_CHAIN_MULTISIG, type CamelotV3AdapterDeployParams, type CamelotV3AdapterState, CancelConfigureAction, type Canon, type CanonTree, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, type CheckArgs, type CollateralResolution, type CollateralToken, type ComparisonVerdict, ComputeAddressArgs, ConfigurationExecutor, type ConfiguratorActionDefinition, type ConfiguratorActionInput, type ConfiguratorActionType, type ConfiguratorActions, ConfiguratorArgs, ConfiguratorBuilder, type ConfiguratorGipPlan, type ConfiguratorPreview, type ConfiguratorScopedAction, type ConfiguratorScopedDefinition, type ConfiguratorSimulationComparison, type ConfiguratorState, type ConfiguratorStateChanges, type ConfiguratorStateDiff, type ConfiguratorTx, ConstructorParams, ContractReader, type ConvexV1BaseRewardPoolAdapterDeployParams, type ConvexV1BaseRewardPoolAdapterState, type ConvexV1BoosterAdapterDeployParams, type ConvexV1BoosterAdapterState, type CreateCreditSuiteAction, type CreateCreditSuiteResolution, type CreateMarketAction, type CreateMarketParams, type CreateMarketResolution, CreditManagerFees, type CreditManagerTarget, type CreditSuiteRef, CrossChainCall, CrossChainMultisigContract, CuratorSession, type CuratorSessionArgs, type CuratorSessionOptions, type CurveV1Adapter310DeployParams, type CurveV1Adapter311DeployParams, type CurveV1AdapterDeployParams, type CurveV1AdapterState, type CurveV1AdapterTypes, type CurveV1StETHAdapterDeployParams, type CurveV1StETHAdapterState, DEFAULT_DEPLOY_SALT, DEFAULT_INTEREST_RATE_MODEL_PARAMS, DEFAULT_LOSS_POLICY_PARAMS, DEFAULT_RATE_KEEPER_PARAMS, DEFAULT_RWA_UNDERLYING_TYPE, DEFAULT_SCENARIOS, type DaiUsdsAdapterDeployParams, type DaiUsdsAdapterState, DeployArgs, type DeployContractAction, DeployContractArgs, type DeployContractResolution, type DeployCreateSuiteParams, DeployParams, type DeployParamsOf, DeployPriceFeedArgs, Deployment, DeploymentExtended, type DiagnosticMarket, type DiffDiagnostic, type DiffOptions, type DiffSkipped, DistributeAction, EmergencyAdmin, type EncodeArgs, type Erc4626Adapter312DeployParams, type Erc4626AdapterDeployParams, type Erc4626AdapterState, type Erc4626ReferralAdapterDeployParams, type Erc4626ReferralAdapterState, type ExecutorOptions, type ExpectedMarketState, type ExternalAdapterAction, FeedCap, FeedOutcome, FeedPairScore, FeedPairScoreArgs, type Fields, type ForbidAdapterAction, ForbidAdapterParams, ForbidFeedsArgs, type ForbidTokenAction, ForbidTokenParams, type ForkExecutionCall, type ForkExecutionReceipt, FunctionParams, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GaugeRateKeeperParams, GaugeRateKeeperState, GearboxPermissionless, GearboxPermissionlessOptions, GetUpdatablePriceFeedsArgs, type GipActionDiagnostic, GipActionError, type GipAnvilForkOptions, type GipBuilderContext, GipBuilderError, type GipBuilderErrorCode, type GipDiagnostic, type GipExpectedState, type GipForkSession, type GipForkSessionBase, type GipForkSimulationResult, type GipMarketAction, type GipPayloadForkSession, type GipPayloadSimulationRequest, type GipPlan, type GipPlanBase, type GipPlanGas, type GipPreview, GipRegistry, GipScopeError, type GipScopeErrorCode, type GipSimulationComparison, GipSimulationError, type GipSimulationFailure, type GipSimulationOptions, type GipSimulationOutcome, type GipSimulationPlan, type GipSimulationTarget, type GipSourceSnapshot, GipTargetResolutionError, GovernorContract, type GovernorState, GroupImpact, GroupReport, GroupScenarioOutcome, INSTANCE_MANAGER, IRMPlugin, type IncompleteCheck, IncompleteRwaPeripherySetup, InputValueParams, InstanceManagerContract, InstanceOwnerTransactions, InstanceTxs, InstanceTxsArgs, InterestRateModelParams, InterestRateModelState, InterestRateModelType, type InvalidActionParam, type ItemOf, KILL_SWITCH_PROXY, KILL_SWITCH_PROXY_MINOR_VERSION, KillSwitchProxyContract, KillSwitchProxyNotAllowedError, type LeafNode, LinearInterestRateModelParams, LinearInterestRateModelState, ListConfiguratorsArgs, type ListNode, LossPolicyDeployParams, LossPolicyPlugin, LossPolicyState, LossPolicyType, MAINNET_CCM_CONSTRUCTOR_PARAMS, MAINNET_DEPLOYMENT_BLOCK, MAINNET_DEPLOYMENT_CCM_SALT, MAINNET_DEPLOYMENT_IM_SALT, MARKET_CONFIGURATOR_FACTORY, Market, type MarketActionDefinition, type MarketActionInput, type MarketActionOf, type MarketActionType, type MarketActions, type MarketAsset, MarketBuilder, type MarketBundleOptions, MarketCap, MarketConfiguratorContract, MarketConfiguratorFactoryContract, type MarketCreditManagerState, type MarketDiagnostic, type MarketExecution, MarketExecutor, type MarketExecutorOptions, type MarketGipPlan, type MarketIntent, type MarketPreview, type MarketProjection, type MarketReadOptions, type MarketScopedAction, type MarketScopedDefinition, MarketScore, type MarketSimulationComparison, type MarketState, type MarketStateChanges, type MarketTx, type MellowClaimerAdapterDeployParams, type MellowClaimerAdapterState, type MellowErc4626Adapter312DeployParams, type MellowErc4626AdapterDeployParams, type MellowErc4626AdapterState, type MellowWrapperAdapterDeployParams, type MellowWrapperAdapterState, type MergePolicy, MergedGip, type MergedGipPlan, type MergedGipPreview, MidasAliasLossPolicyParams, MidasAliasLossPolicyState, type MidasGatewayAdapterDeployParams, type MidasGatewayAdapterState, type MidasIssuanceAdapterDeployParams, type MidasIssuanceAdapterState, type MidasRedemptionAdapterDeployParams, type MidasRedemptionAdapterState, NO_LIMIT, ON_DEMAND_RWA_UNDERLYING_TYPE, type ObjectNode, OpenCuratorSessionArgs, PRICE_FEED_STORE, PUBLIC_CREATE2_FACTORY, type ParsedMarketTx, type PauseCreditManagerAction, PauseCreditManagerParams, type PausePoolAction, type PendleAdapterDeployParams, type PendleAdapterState, type PeripheryContractDomain, PeripheryDomain, type PeripheryRegistryEntry, type PeripheryResolution, type PeripheryState, type PeripheryStatus, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetQuota, PermissionlessAssetSummary, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessConfigurator, PermissionlessConfiguratorMarket, PermissionlessConfiguratorRoles, PermissionlessConfiguratorTimelock, PermissionlessConfigurators, PermissionlessCurator, PermissionlessDeploy, PermissionlessIndexedAssetDetails, PermissionlessIndexedAssetSummary, PermissionlessIndexedPriceFeedDetails, PermissionlessIndexedPriceFeedMarket, PermissionlessLifecycle, PermissionlessMarket, PermissionlessMarketSlot, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedStore, PermissionlessQuotaTotals, PermissionlessTimelockEvent, PermissionlessTimelockEventStatus, type PredictedDeployment, 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, RWA_UNDERLYING_TYPE_PREFIX, RWA_ZAPPER_CONTRACT_TYPE, RWA_ZAPPER_VERSION, type RampLiquidationThresholdAction, type RampLiquidationThresholdContext, type RampStartRequest, RateKeeperDeployParams, RateKeeperPlugin, RateKeeperState, RateKeeperType, type RecordNode, RecoveryMessage, type RegisteredMarketActionDefinition, RemoveAdminAction, type ResolveAdapterValidationArgs, type ResolveArgs, ResolveCache, type ResolvedParams, type Role, RoutingManagerContract, RwaPeripheryLookups, RwaPeripheryRequirement, RwaPeripheryRequirementKind, RwaPeripherySetupPlan, RwaZapperDeployParams, SCORE_MULTIPLIER, SECURITIZE_RWA_FACTORY_TYPE, SafeBatch, SafeMeta, SafeTx, type SchemaNode, ScoredFeed, type SecuritizeRedemptionAdapterDeployParams, type SecuritizeRedemptionAdapterState, SecuritizeRwaSetup, type SetCreditManagerDebtLimitAction, SetDefaultSplitAction, type SetDefaultSplitProposal, SetEmergencyAdminAction, type SetExpirationDateAction, SetExpirationDateParams, type SetFeesAction, SetFeesParams, type SetMaxDebtPerBlockMultiplierAction, type SetPriceFeedAction, SetPriceFeedParams, type SetReservePriceFeedAction, SetReservePriceFeedParams, type SetTokenLimitAction, type SetTokenLimitContext, type SetTokenQuotaIncreaseFeeAction, SetTokenQuotaIncreaseFeeParams, type SetTotalDebtLimitAction, type Side, Signature, type SignedTimelockTxs, type SignedTimelockTxsWithHashes, SlotOutcome, type Split, type StakingRewardsAdapter311DeployParams, type StakingRewardsAdapterDeployParams, type StakingRewardsAdapterState, type StateChange, type StateDiff, type StatePath, type StateProvenance, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs, type SuppressRule, TIMELOCK_EVENTS_CHUNK_SIZE, TOKEN_COMPRESSOR, TimeLockContract, TimelockEventsArgs, TimelockTransaction, TimelockTxParams, TimelockTxs, type TimelockTxsIpfs, TokenCompressorContract, type TraderJoeAdapterDeployParams, type TraderJoeAdapterState, TreasurySplitterContract, type TreasurySplitterState, type TreasuryState, type TreasuryTokenBalance, TreeNode, type TreehouseRouterAdapterDeployParams, type TreehouseRouterAdapterState, TumblerRateKeeperParams, TumblerRateKeeperState, type TwoAdminProposal, UNBOUNDED_DOWN, UNBOUNDED_UP, type UnionNode, type UniswapV2AdapterDeployParams, type UniswapV2AdapterState, type UniswapV3AdapterDeployParams, type UniswapV3AdapterState, type UniswapV4AdapterDeployParams, type UniswapV4AdapterState, type UnpauseCreditManagerAction, UnpauseCreditManagerParams, type UnpausePoolAction, type UpdateInterestRateModelAction, type UpdateLossPolicyAction, type UpdateRateKeeperAction, type UpdateRateKeeperResolution, type UpgradeCreditFacadeAction, type ValidMarketAction, type ValidateAdapterParamsArgs, ValueParams, type VelodromeV2AdapterDeployParams, type VelodromeV2AdapterState, WithdrawalCompressorContract, actionEnv, actionError, actionWarning, adapterPluginKit, adapterPlugins, addAdminActionData, addAssetActionData, addCollateralTokenActionData, addConfiguratorAction, addConfiguratorActions, addMarketAction, addMarketActions, addPeripheryContractActionData, adminRoleLabelMap, adminRoleSchema, aliasDeployParamsSchema, aliasPlugin, allowAdapterActionData, allowTokenActionData, applyBundle, applyChanges, assertNotBlocked, batchMarketTransactions, bindBundleTarget, buildMarketStateSchema, builtinAdapterPlugins, bundleActions, bundleSuiteId, calculateChecksum, cancelConfigureActionData, canonicalize, checkCreate2Deployment, checkCreate2DeploymentAddress, chunkedLogsTransport, classifySources, compareConfiguratorStates, compareGipForkState, completeRwaPeripheryActions, contractReaderFromClient, convertPercent, convertQueueBatchToExecuteTx, convertRawTxToSafeMultisigTx, convertTokenAmount, copyCmActions, copyCmActionsForMarket, createAction, createCallData, createCreate2DeployRawTx, createCreditSuite, createCreditSuiteActionData, createCreditSuiteSchema, createExecuteBatchRawTx, createMarketActionData, creditManagerFeesSchema, creditManagerTargetSchema, creditSuiteId, creditSuiteRef, creditSuiteRefSchema, customizeBundle, deepJsonParse, defineConfiguratorAction, defineMarketAction, deployContractActionData, deployUsingPublicCreate2, deriveEffectiveStalenessPeriod, deserializeGipPlan, diffMarketStates, diffStates, distributeActionData, encodeFunctionParams, factorOf, finalPrice, findIncompleteRwaPeripherySetups, forbidAdapterActionData, forbidTokenActionData, formatBytecodeSize, formatBytecodeVersion, formatMarketStateDiff, formatStateDiff, gaugeDeployParamsSchema, gaugeMarketActionsData, gaugePlugin, getAbstractAdapterPlugin, getActionScope, getBlockNumberByTimestamp, getConfiguratorState, getCreate2AddressPublicFactory, getCreate2DeploymentAddress, getFeedDecimals, getGipDiagnostics, getGovernorContract, getInitialMarketState, getLatestPrices, getMarketState, getPriceUpdateTx, getPrices, getRawTxHash, getRwaZapperDeployAction, getRwaZapperDeployParams, getSafeBatch, getSafeBatches, getTimelockTransactions, getTimelockTransactionsForExecution, getUpdatablePriceFeeds, groupOverride, handleSalt, hasErrors, insertRwaZapperDeployment, irmDeployParamsSchema, irmPlugins, isAliasedLossPolicy, isContractDeploymentQueued, isCreditSuiteRef, isPeripheryContractAdded, isRwaZapperRegistration, isSameTarget, isZeroFeed, killSwitchProxySalt, linearInterestRateModelDeployParamsSchema, linearPlugin, locateDiagnostics, lossPolicyDeployParamsSchema, lossPolicyMarketActionsData, lossPolicyPlugins, marketIdentity, marketStateSchema, midasAliasDeployParamsSchema, midasAliasPlugin, normalizeBundleTarget, normalizeSignature, numberToDecimalString, parseConfiguratorScopedAction, parseContractType, parseMarketScopedAction, pauseCreditManagerActionData, pausePoolActionData, peripheryContractDomains, peripheryDomainOf, peripheryStatus, perturb, planRwaPeripheryActions, previewCreditSuiteAddress, priceFeedSalt, priceFeedSetupParams, rampLiquidationThresholdActionData, rateKeeperDeployParamsSchema, rateKeeperMarketActionsData, rateKeeperPlugins, rateStub, readContractType, readFeedTrees, readForest, readRateTargets, readUnder, reconcileRwaPeripheryActions, removeAdapterActions, removeAdminActionData, replaceCmActions, resolveSecuritizeRwaSetup, retargetCreditManager, revertTo, roundDataStub, runAssetScores, runFeedPairScore, runStressTest, sameTree, scoreGroup, scoreOfFactor, selectMarketDegenNfts, serializeGipPlan, setCreditManagerDebtLimitActionData, setDefaultSplitActionData, setEmergencyAdminActionData, setExpirationDateActionData, setFeesActionData, setMaxDebtPerBlockMultiplierActionData, setPriceFeedActionData, setReservePriceFeedActionData, setTokenLimitActionData, setTokenQuotaIncreaseFeeActionData, setTotalDebtLimitActionData, shortenHash, significantTrunc, simulateGipOnFork, simulateGipPayloadOnFork, simulateOnAnvil, slotHarm, sourcesByFeed, stateSchema, targetKey, targetOf, tumblerDeployParamsSchema, tumblerDiagnostics, tumblerMarketActionsData, tumblerPlugin, unpauseCreditManagerActionData, unpausePoolActionData, updateInterestRateModelActionData, updateLossPolicyActionData, updateRateKeeperActionData, upgradeCreditFacadeActionData, usesBundleTarget, validateForkExecutionCalls, verdictOf, worstOf };
|
|
199
|
+
export { ABSTRACT_ADAPTER_TYPES, type AbstractAdapterDeployParams, type AbstractAdapterState, type AbstractAdapterTypes, AbstractLossPolicyState, AccessMode, type AccountFactoryType, AccountFactoryTypes, type ActionDefinitionsOf, type ActionDiagnostic, type ActionDiagnosticPath, type ActionDiagnosticSeverity, type ActionEnv, type ActionFootprintArgs, type ActionOf, type ActionScope, type AdapterActionContext, type AdapterActions, AdapterDeployParams, type AdapterDeployParamsBase, AdapterMarketActionDefinition, type AdapterPluginDefinition, AdapterState, type AdapterStateBase, type AdapterStateOf, AdapterType, type AdapterValidation, AddAdminAction, type AddAssetAction, AddAssetParams, type AddCollateralTokenAction, type AddCollateralTokenContext, AddFeedsArgs, type AddPeripheryContractAction, AddressProviderContract, Addresses, type AdminRole, AliasLossPolicyParams, AliasLossPolicyState, type AliasedLossPolicyParams, type AliasedLossPolicyState, type AliasedLossPolicyType, type AllowAdapterAction, type AllowAdapterResolution, type AllowTokenAction, AllowTokenParams, type AnvilSimulationOptions, type AnyMarketAction, type ApplyArgs, ArchiveTransport, ArchiveTransportConfig, AssetArgs, AssetCap, AssetScore, AssetScoresArgs, AssetsArgs, AttachChainsArgs, AuditEvent, Auditor, BUNDLE_TARGET, BYTECODE_REPOSITORY, type BalancerV3AdapterDeployParams, type BalancerV3AdapterState, type BaseMarketAction, type BasicParams, Batch, type BatchTxs, BreakingPoint, type Bundle, type BundleApplication, type BundleCustomization, Bytecode, BytecodeRepositoryContract, CCMConstructorParams, CROSS_CHAIN_GOVERNANCE, CROSS_CHAIN_MULTISIG, type CamelotV3AdapterDeployParams, type CamelotV3AdapterState, CancelConfigureAction, type Canon, type CanonTree, ChainScope, ChainSummaryArgs, ChainsNamespace, ChangeNamesArgs, ChangeStalenessPeriodsArgs, type CheckArgs, type CollateralResolution, type CollateralToken, type ComparisonVerdict, ComputeAddressArgs, ConfigurationExecutor, type ConfiguratorActionDefinition, type ConfiguratorActionInput, type ConfiguratorActionType, type ConfiguratorActions, ConfiguratorArgs, ConfiguratorBuilder, type ConfiguratorGipPlan, type ConfiguratorPreview, type ConfiguratorScopedAction, type ConfiguratorScopedDefinition, type ConfiguratorSimulationComparison, type ConfiguratorState, type ConfiguratorStateChanges, type ConfiguratorStateDiff, type ConfiguratorTx, ConstructorParams, ContractReader, type ConvexV1BaseRewardPoolAdapterDeployParams, type ConvexV1BaseRewardPoolAdapterState, type ConvexV1BoosterAdapterDeployParams, type ConvexV1BoosterAdapterState, type CreateCreditSuiteAction, type CreateCreditSuiteResolution, type CreateMarketAction, type CreateMarketParams, type CreateMarketResolution, CreditManagerFees, type CreditManagerTarget, type CreditSuiteRef, CrossChainCall, CrossChainMultisigContract, CuratorSession, type CuratorSessionArgs, type CuratorSessionOptions, type CurveV1Adapter310DeployParams, type CurveV1Adapter311DeployParams, type CurveV1AdapterDeployParams, type CurveV1AdapterState, type CurveV1AdapterTypes, type CurveV1StETHAdapterDeployParams, type CurveV1StETHAdapterState, DEFAULT_DEPLOY_SALT, DEFAULT_INTEREST_RATE_MODEL_PARAMS, DEFAULT_LOSS_POLICY_PARAMS, DEFAULT_RATE_KEEPER_PARAMS, DEFAULT_RWA_UNDERLYING_TYPE, DEFAULT_SCENARIOS, type DaiUsdsAdapterDeployParams, type DaiUsdsAdapterState, DeployArgs, type DeployContractAction, DeployContractArgs, type DeployContractResolution, type DeployCreateSuiteParams, DeployParams, type DeployParamsOf, DeployPriceFeedArgs, Deployment, DeploymentExtended, type DiagnosticMarket, type DiffDiagnostic, type DiffOptions, type DiffSkipped, DistributeAction, EmergencyAdmin, type EncodeArgs, type Erc4626Adapter312DeployParams, type Erc4626AdapterDeployParams, type Erc4626AdapterState, type Erc4626ReferralAdapterDeployParams, type Erc4626ReferralAdapterState, type ExecutorOptions, type ExpectedMarketState, type ExternalAdapterAction, FeedCap, FeedOutcome, FeedPairScore, FeedPairScoreArgs, type Fields, type ForbidAdapterAction, ForbidAdapterParams, ForbidFeedsArgs, type ForbidTokenAction, ForbidTokenParams, type ForkExecutionCall, type ForkExecutionReceipt, FunctionParams, GET_PRICES_CHUNK_SIZE, GET_PRICES_GAS_LIMIT_BY_CHAIN_ID, GaugeRateKeeperParams, GaugeRateKeeperState, GearboxPermissionless, GearboxPermissionlessOptions, GetUpdatablePriceFeedsArgs, type GipActionDiagnostic, GipActionError, type GipAnvilForkOptions, type GipBuilderContext, GipBuilderError, type GipBuilderErrorCode, type GipDiagnostic, type GipExpectedState, type GipForkSession, type GipForkSessionBase, type GipForkSimulationResult, type GipMarketAction, type GipPayloadForkSession, type GipPayloadSimulationRequest, type GipPlan, type GipPlanBase, type GipPlanGas, type GipPreview, GipRegistry, GipScopeError, type GipScopeErrorCode, type GipSimulationComparison, GipSimulationError, type GipSimulationFailure, type GipSimulationOptions, type GipSimulationOutcome, type GipSimulationPlan, type GipSimulationTarget, type GipSourceSnapshot, GipTargetResolutionError, GovernorContract, type GovernorState, GrantRoleAction, GrantRoleParams, GroupImpact, GroupReport, GroupScenarioOutcome, INSTANCE_MANAGER, IRMPlugin, type IncompleteCheck, IncompleteRwaPeripherySetup, InputValueParams, InstanceManagerContract, InstanceOwnerTransactions, InstanceTxs, InstanceTxsArgs, InterestRateModelParams, InterestRateModelState, InterestRateModelType, type InvalidActionParam, type ItemOf, KILL_SWITCH_PROXY, KILL_SWITCH_PROXY_MINOR_VERSION, KillSwitchProxyContract, KillSwitchProxyNotAllowedError, type LeafNode, LinearInterestRateModelParams, LinearInterestRateModelState, ListConfiguratorsArgs, type ListNode, LossPolicyDeployParams, LossPolicyPlugin, LossPolicyState, LossPolicyType, MAINNET_CCM_CONSTRUCTOR_PARAMS, MAINNET_DEPLOYMENT_BLOCK, MAINNET_DEPLOYMENT_CCM_SALT, MAINNET_DEPLOYMENT_IM_SALT, MARKET_CONFIGURATOR_FACTORY, Market, type MarketActionDefinition, type MarketActionInput, type MarketActionOf, type MarketActionType, type MarketActions, type MarketAsset, MarketBuilder, type MarketBundleOptions, MarketCap, MarketConfiguratorContract, MarketConfiguratorFactoryContract, type MarketCreditManagerState, type MarketDiagnostic, type MarketExecution, MarketExecutor, type MarketExecutorOptions, type MarketGipPlan, type MarketIntent, type MarketPreview, type MarketProjection, type MarketReadOptions, type MarketScopedAction, type MarketScopedDefinition, MarketScore, type MarketSimulationComparison, type MarketState, type MarketStateChanges, type MarketTx, type MellowClaimerAdapterDeployParams, type MellowClaimerAdapterState, type MellowErc4626Adapter312DeployParams, type MellowErc4626AdapterDeployParams, type MellowErc4626AdapterState, type MellowWrapperAdapterDeployParams, type MellowWrapperAdapterState, type MergePolicy, MergedGip, type MergedGipPlan, type MergedGipPreview, MidasAliasLossPolicyParams, MidasAliasLossPolicyState, type MidasGatewayAdapterDeployParams, type MidasGatewayAdapterState, type MidasIssuanceAdapterDeployParams, type MidasIssuanceAdapterState, type MidasRedemptionAdapterDeployParams, type MidasRedemptionAdapterState, NO_LIMIT, ON_DEMAND_RWA_UNDERLYING_TYPE, type ObjectNode, OpenCuratorSessionArgs, PRICE_FEED_STORE, PUBLIC_CREATE2_FACTORY, type ParsedMarketTx, type PauseCreditManagerAction, PauseCreditManagerParams, type PausePoolAction, type PendleAdapterDeployParams, type PendleAdapterState, type PeripheryContractDomain, PeripheryDomain, type PeripheryRegistryEntry, type PeripheryResolution, type PeripheryState, type PeripheryStatus, PermissionlessAnalytics, PermissionlessAsset, PermissionlessAssetDetails, PermissionlessAssetMarket, PermissionlessAssetMarketFeed, PermissionlessAssetQuota, PermissionlessAssetSummary, PermissionlessChain, PermissionlessChainSummary, PermissionlessChainUnreachableError, PermissionlessConfigurator, PermissionlessConfiguratorMarket, PermissionlessConfiguratorRoles, PermissionlessConfiguratorTimelock, PermissionlessConfigurators, PermissionlessCurator, PermissionlessDeploy, PermissionlessIndexedAssetDetails, PermissionlessIndexedAssetSummary, PermissionlessIndexedPriceFeedDetails, PermissionlessIndexedPriceFeedMarket, PermissionlessLifecycle, PermissionlessMarket, PermissionlessMarketSlot, PermissionlessNotAttachedError, PermissionlessOracles, PermissionlessPriceFeedAsset, PermissionlessPriceFeedDetails, PermissionlessPriceFeedMarket, PermissionlessPriceFeedStore, PermissionlessQuotaTotals, PermissionlessTimelockEvent, PermissionlessTimelockEventStatus, type PredictedDeployment, 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, RWA_UNDERLYING_TYPE_PREFIX, RWA_ZAPPER_CONTRACT_TYPE, RWA_ZAPPER_VERSION, type RampLiquidationThresholdAction, type RampLiquidationThresholdContext, type RampStartRequest, RateKeeperDeployParams, RateKeeperPlugin, RateKeeperState, RateKeeperType, type RecordNode, RecoveryMessage, type RegisteredMarketActionDefinition, RemoveAdminAction, type ResolveAdapterValidationArgs, type ResolveArgs, ResolveCache, type ResolvedParams, RevokeRoleAction, RevokeRoleParams, type Role, RoutingManagerContract, RwaPeripheryLookups, RwaPeripheryRequirement, RwaPeripheryRequirementKind, RwaPeripherySetupPlan, RwaZapperDeployParams, SCORE_MULTIPLIER, SECURITIZE_RWA_FACTORY_TYPE, SafeBatch, SafeMeta, SafeTx, type SchemaNode, ScoredFeed, type SecuritizeRedemptionAdapterDeployParams, type SecuritizeRedemptionAdapterState, SecuritizeRwaSetup, type SetCreditManagerDebtLimitAction, SetDefaultSplitAction, type SetDefaultSplitProposal, SetEmergencyAdminAction, type SetExpirationDateAction, SetExpirationDateParams, type SetFeesAction, SetFeesParams, type SetMaxDebtPerBlockMultiplierAction, type SetPriceFeedAction, SetPriceFeedParams, type SetReservePriceFeedAction, SetReservePriceFeedParams, type SetTokenLimitAction, type SetTokenLimitContext, type SetTokenQuotaIncreaseFeeAction, SetTokenQuotaIncreaseFeeParams, type SetTotalDebtLimitAction, type Side, Signature, type SignedTimelockTxs, type SignedTimelockTxsWithHashes, SlotOutcome, type Split, type StakingRewardsAdapter311DeployParams, type StakingRewardsAdapterDeployParams, type StakingRewardsAdapterState, type StateChange, type StateDiff, type StatePath, type StateProvenance, StressReport, StressScenario, StressSource, StressSourceKind, StressTestArgs, type SuppressRule, TIMELOCK_EVENTS_CHUNK_SIZE, TOKEN_COMPRESSOR, TimeLockContract, TimelockEventsArgs, TimelockTransaction, TimelockTxParams, TimelockTxs, type TimelockTxsIpfs, TokenCompressorContract, type TraderJoeAdapterDeployParams, type TraderJoeAdapterState, TreasurySplitterContract, type TreasurySplitterState, type TreasuryState, type TreasuryTokenBalance, TreeNode, type TreehouseRouterAdapterDeployParams, type TreehouseRouterAdapterState, TumblerRateKeeperParams, TumblerRateKeeperState, type TwoAdminProposal, UNBOUNDED_DOWN, UNBOUNDED_UP, type UnionNode, type UniswapV2AdapterDeployParams, type UniswapV2AdapterState, type UniswapV3AdapterDeployParams, type UniswapV3AdapterState, type UniswapV4AdapterDeployParams, type UniswapV4AdapterState, type UnpauseCreditManagerAction, UnpauseCreditManagerParams, type UnpausePoolAction, type UpdateInterestRateModelAction, type UpdateLossPolicyAction, type UpdateRateKeeperAction, type UpdateRateKeeperResolution, type UpgradeCreditFacadeAction, type ValidMarketAction, type ValidateAdapterParamsArgs, ValueParams, type VelodromeV2AdapterDeployParams, type VelodromeV2AdapterState, WithdrawalCompressorContract, actionEnv, actionError, actionWarning, adapterPluginKit, adapterPlugins, addAdminActionData, addAssetActionData, addCollateralTokenActionData, addConfiguratorAction, addConfiguratorActions, addMarketAction, addMarketActions, addPeripheryContractActionData, adminRoleLabelMap, adminRoleSchema, aliasDeployParamsSchema, aliasPlugin, allowAdapterActionData, allowTokenActionData, applyBundle, applyChanges, assertNotBlocked, batchMarketTransactions, bindBundleTarget, buildMarketStateSchema, builtinAdapterPlugins, bundleActions, bundleSuiteId, calculateChecksum, cancelConfigureActionData, canonicalize, checkCreate2Deployment, checkCreate2DeploymentAddress, chunkedLogsTransport, classifySources, compareConfiguratorStates, compareGipForkState, completeRwaPeripheryActions, contractReaderFromClient, convertPercent, convertQueueBatchToExecuteTx, convertRawTxToSafeMultisigTx, convertTokenAmount, copyCmActions, copyCmActionsForMarket, createAction, createCallData, createCreate2DeployRawTx, createCreditSuite, createCreditSuiteActionData, createCreditSuiteSchema, createExecuteBatchRawTx, createMarketActionData, creditManagerFeesSchema, creditManagerTargetSchema, creditSuiteId, creditSuiteRef, creditSuiteRefSchema, customizeBundle, deepJsonParse, defineConfiguratorAction, defineMarketAction, deployContractActionData, deployUsingPublicCreate2, deriveEffectiveStalenessPeriod, deserializeGipPlan, diffMarketStates, diffStates, distributeActionData, encodeFunctionParams, factorOf, finalPrice, findIncompleteRwaPeripherySetups, forbidAdapterActionData, forbidTokenActionData, formatBytecodeSize, formatBytecodeVersion, formatMarketStateDiff, formatStateDiff, gaugeDeployParamsSchema, gaugeMarketActionsData, gaugePlugin, getAbstractAdapterPlugin, getActionScope, getBlockNumberByTimestamp, getConfiguratorState, getCreate2AddressPublicFactory, getCreate2DeploymentAddress, getFeedDecimals, getGipDiagnostics, getGovernorContract, getInitialMarketState, getLatestPrices, getMarketState, getPriceUpdateTx, getPrices, getRawTxHash, getRwaZapperDeployAction, getRwaZapperDeployParams, getSafeBatch, getSafeBatches, getTimelockTransactions, getTimelockTransactionsForExecution, getUpdatablePriceFeeds, grantRoleActionData, groupOverride, handleSalt, hasErrors, insertRwaZapperDeployment, irmDeployParamsSchema, irmPlugins, isAliasedLossPolicy, isContractDeploymentQueued, isCreditSuiteRef, isPeripheryContractAdded, isRwaZapperRegistration, isSameTarget, isZeroFeed, killSwitchProxySalt, linearInterestRateModelDeployParamsSchema, linearPlugin, locateDiagnostics, lossPolicyDeployParamsSchema, lossPolicyMarketActionsData, lossPolicyPlugins, marketIdentity, marketStateSchema, midasAliasDeployParamsSchema, midasAliasPlugin, normalizeBundleTarget, normalizeSignature, numberToDecimalString, parseConfiguratorScopedAction, parseContractType, parseMarketScopedAction, pauseCreditManagerActionData, pausePoolActionData, peripheryContractDomains, peripheryDomainOf, peripheryStatus, perturb, planRwaPeripheryActions, previewCreditSuiteAddress, priceFeedSalt, priceFeedSetupParams, rampLiquidationThresholdActionData, rateKeeperDeployParamsSchema, rateKeeperMarketActionsData, rateKeeperPlugins, rateStub, readContractType, readFeedTrees, readForest, readRateTargets, readUnder, reconcileRwaPeripheryActions, removeAdapterActions, removeAdminActionData, replaceCmActions, resolveSecuritizeRwaSetup, retargetCreditManager, revertTo, revokeRoleActionData, roundDataStub, runAssetScores, runFeedPairScore, runStressTest, sameTree, scoreGroup, scoreOfFactor, selectMarketDegenNfts, serializeGipPlan, setCreditManagerDebtLimitActionData, setDefaultSplitActionData, setEmergencyAdminActionData, setExpirationDateActionData, setFeesActionData, setMaxDebtPerBlockMultiplierActionData, setPriceFeedActionData, setReservePriceFeedActionData, setTokenLimitActionData, setTokenQuotaIncreaseFeeActionData, setTotalDebtLimitActionData, shortenHash, significantTrunc, simulateGipOnFork, simulateGipPayloadOnFork, simulateOnAnvil, slotHarm, sourcesByFeed, stateSchema, targetKey, targetOf, tumblerDeployParamsSchema, tumblerDiagnostics, tumblerMarketActionsData, tumblerPlugin, unpauseCreditManagerActionData, unpausePoolActionData, updateInterestRateModelActionData, updateLossPolicyActionData, updateRateKeeperActionData, upgradeCreditFacadeActionData, usesBundleTarget, validateForkExecutionCalls, verdictOf, worstOf };
|