@gearbox-protocol/sdk 18.5.0-next.5 → 18.5.0-next.6

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.
Files changed (43) hide show
  1. package/dist/cjs/permissionless/bindings/market-configurator.js +55 -28
  2. package/dist/cjs/permissionless/curator/configurator-actions/addAdminActionData.js +3 -3
  3. package/dist/cjs/permissionless/curator/configurator-actions/configuratorActionDefinitions.js +4 -0
  4. package/dist/cjs/permissionless/curator/configurator-actions/configuratorActionHelpers.js +35 -16
  5. package/dist/cjs/permissionless/curator/configurator-actions/grantRoleActionData.js +31 -0
  6. package/dist/cjs/permissionless/curator/configurator-actions/index.js +4 -0
  7. package/dist/cjs/permissionless/curator/configurator-actions/removeAdminActionData.js +3 -3
  8. package/dist/cjs/permissionless/curator/configurator-actions/revokeRoleActionData.js +38 -0
  9. package/dist/cjs/permissionless/curator/index.js +4 -0
  10. package/dist/cjs/permissionless/curator/state/configurator/compareConfiguratorStates.js +9 -0
  11. package/dist/cjs/permissionless/curator/state/configurator/getConfiguratorState.js +2 -1
  12. package/dist/cjs/permissionless/curator/state/configurator/types.js +27 -1
  13. package/dist/cjs/permissionless/curator/utils/objectUtils.js +5 -0
  14. package/dist/cjs/permissionless/index.js +4 -0
  15. package/dist/esm/permissionless/bindings/market-configurator.js +55 -28
  16. package/dist/esm/permissionless/curator/configurator-actions/addAdminActionData.js +4 -4
  17. package/dist/esm/permissionless/curator/configurator-actions/configuratorActionDefinitions.js +4 -0
  18. package/dist/esm/permissionless/curator/configurator-actions/configuratorActionHelpers.js +31 -14
  19. package/dist/esm/permissionless/curator/configurator-actions/grantRoleActionData.js +30 -0
  20. package/dist/esm/permissionless/curator/configurator-actions/index.js +3 -1
  21. package/dist/esm/permissionless/curator/configurator-actions/removeAdminActionData.js +4 -4
  22. package/dist/esm/permissionless/curator/configurator-actions/revokeRoleActionData.js +37 -0
  23. package/dist/esm/permissionless/curator/index.js +3 -1
  24. package/dist/esm/permissionless/curator/state/configurator/compareConfiguratorStates.js +10 -1
  25. package/dist/esm/permissionless/curator/state/configurator/getConfiguratorState.js +2 -1
  26. package/dist/esm/permissionless/curator/state/configurator/types.js +24 -1
  27. package/dist/esm/permissionless/curator/utils/objectUtils.js +5 -1
  28. package/dist/esm/permissionless/index.js +3 -1
  29. package/dist/types/onchain/accounts/liquidations/types.d.ts +3 -3
  30. package/dist/types/onchain/accounts/withdrawal-compressor/AbstractWithdrawalCompressorContract.d.ts +2 -2
  31. package/dist/types/permissionless/api/configurators/types.d.ts +2 -0
  32. package/dist/types/permissionless/bindings/market-configurator.d.ts +10 -0
  33. package/dist/types/permissionless/curator/configurator-actions/configuratorActionDefinitions.d.ts +3 -1
  34. package/dist/types/permissionless/curator/configurator-actions/configuratorActionHelpers.d.ts +16 -6
  35. package/dist/types/permissionless/curator/configurator-actions/grantRoleActionData.d.ts +15 -0
  36. package/dist/types/permissionless/curator/configurator-actions/index.d.ts +3 -1
  37. package/dist/types/permissionless/curator/configurator-actions/revokeRoleActionData.d.ts +15 -0
  38. package/dist/types/permissionless/curator/index.d.ts +3 -1
  39. package/dist/types/permissionless/curator/state/configurator/compareConfiguratorStates.d.ts +2 -0
  40. package/dist/types/permissionless/curator/state/configurator/types.d.ts +29 -1
  41. package/dist/types/permissionless/curator/utils/objectUtils.d.ts +2 -0
  42. package/dist/types/permissionless/index.d.ts +3 -1
  43. package/package.json +1 -1
@@ -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
- /** Whether `admin` holds `role`. **/
15
- export declare function holdsAdminRole(state: ConfiguratorState, role: AdminRole, admin: Address): boolean;
16
- /** How diagnostics name the holder list of `role`. **/
17
- export declare function adminRoleLabel(role: AdminRole): string;
18
- /** Rewrites the holder list of `role`: `update` maps the holders to the new ones. **/
19
- export declare function updateAdminRole(state: ConfiguratorState, role: AdminRole, update: (holders: Address[]) => Address[]): ConfiguratorState;
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "18.5.0-next.5",
3
+ "version": "18.5.0-next.6",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "repository": {