@gearbox-protocol/sdk 18.4.1 → 18.4.2
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/types/dev/AccountOpener.d.ts +109 -0
- package/dist/types/dev/EthCallSpy.d.ts +28 -0
- package/dist/types/dev/RevolverTransport.d.ts +212 -0
- package/dist/types/dev/calcLiquidatableLTs.d.ts +10 -0
- package/dist/types/dev/claimFromFaucet.d.ts +28 -0
- package/dist/types/dev/create2.d.ts +62 -0
- package/dist/types/dev/index.d.ts +30 -0
- package/dist/types/dev/kycUtils.d.ts +129 -0
- package/dist/types/dev/lowerHealthFactor.d.ts +32 -0
- package/dist/types/dev/ltUtils.d.ts +13 -0
- package/dist/types/dev/midasUtils.d.ts +63 -0
- package/dist/types/dev/migrateFaucet.d.ts +10 -0
- package/dist/types/dev/mint/AbstractMinter.d.ts +17 -0
- package/dist/types/dev/mint/DealMinter.d.ts +6 -0
- package/dist/types/dev/mint/DirectMinter.d.ts +6 -0
- package/dist/types/dev/mint/FallbackMinter.d.ts +11 -0
- package/dist/types/dev/mint/TransferMinter.d.ts +6 -0
- package/dist/types/dev/mint/factory.d.ts +6 -0
- package/dist/types/dev/mint/index.d.ts +3 -0
- package/dist/types/dev/mode-parity/compareOpportunities.d.ts +99 -0
- package/dist/types/dev/mode-parity/comparePositions.d.ts +144 -0
- package/dist/types/dev/mode-parity/compareRules.d.ts +30 -0
- package/dist/types/dev/mode-parity/fieldDiff.d.ts +209 -0
- package/dist/types/dev/mode-parity/scriptUtils.d.ts +69 -0
- package/dist/types/dev/providers.d.ts +63 -0
- package/dist/types/dev/replaceStorage.d.ts +23 -0
- package/dist/types/dev/securitizeUtils.d.ts +59 -0
- package/dist/types/dev/withdrawalUtils.d.ts +24 -0
- package/dist/types/history/assembleOperations.d.ts +33 -0
- package/dist/types/history/classifyMulticallOperations.d.ts +53 -0
- package/dist/types/history/index.d.ts +13 -0
- package/dist/types/history/mapOperations.d.ts +26 -0
- package/dist/types/history/parseCreditAccountTransaction.d.ts +28 -0
- package/dist/types/history/populateContractsRegister.d.ts +23 -0
- package/dist/types/history/toLegacyOperation.d.ts +18 -0
- package/dist/types/history/trace/extractAdapterCallTraces.d.ts +23 -0
- package/dist/types/history/trace/extractTransfers.d.ts +52 -0
- package/dist/types/history/trace/findFacadeCalls.d.ts +11 -0
- package/dist/types/history/trace/index.d.ts +6 -0
- package/dist/types/history/trace/types.d.ts +22 -0
- package/dist/types/history/types.d.ts +30 -0
- package/dist/types/model/analytics.d.ts +154 -0
- package/dist/types/model/analytics.schema.d.ts +464 -0
- package/dist/types/model/charts.d.ts +365 -0
- package/dist/types/model/charts.schema.d.ts +365 -0
- package/dist/types/model/errors/index.d.ts +7 -0
- package/dist/types/model/errors/liquidation-errors.d.ts +59 -0
- package/dist/types/model/errors/operation-errors.d.ts +349 -0
- package/dist/types/model/errors/oracle-errors.d.ts +16 -0
- package/dist/types/model/errors/prepare-errors.d.ts +119 -0
- package/dist/types/model/errors/preview-errors.d.ts +69 -0
- package/dist/types/model/filters.d.ts +33 -0
- package/dist/types/model/filters.schema.d.ts +23 -0
- package/dist/types/model/index.d.ts +35 -0
- package/dist/types/model/liquidations.d.ts +261 -0
- package/dist/types/model/opportunities.d.ts +671 -0
- package/dist/types/model/positions.d.ts +545 -0
- package/dist/types/model/previews.d.ts +592 -0
- package/dist/types/model/response.d.ts +102 -0
- package/dist/types/model/response.schema.d.ts +95 -0
- package/dist/types/model/result.d.ts +56 -0
- package/dist/types/model/rewards.d.ts +33 -0
- package/dist/types/model/rwa.d.ts +184 -0
- package/dist/types/model/withdrawals.d.ts +103 -0
- package/dist/types/offchain/AbstractOffchainNamespace.d.ts +73 -0
- package/dist/types/offchain/GearboxAPI.d.ts +42 -0
- package/dist/types/offchain/analytics/OffchainAnalytics.d.ts +20 -0
- package/dist/types/offchain/analytics/OffchainAnalyticsPositions.d.ts +14 -0
- package/dist/types/offchain/analytics/index.d.ts +4 -0
- package/dist/types/offchain/analytics/types.d.ts +38 -0
- package/dist/types/offchain/errors/OffchainInvalidJsonError.d.ts +13 -0
- package/dist/types/offchain/errors/OffchainRequestFailedError.d.ts +9 -0
- package/dist/types/offchain/errors/OffchainStatusError.d.ts +13 -0
- package/dist/types/offchain/errors/index.d.ts +15 -0
- package/dist/types/offchain/index.d.ts +31 -0
- package/dist/types/offchain/opportunities/OffchainOpportunities.d.ts +33 -0
- package/dist/types/offchain/opportunities/index.d.ts +3 -0
- package/dist/types/offchain/opportunities/types.d.ts +33 -0
- package/dist/types/offchain/positions/OffchainPositions.d.ts +31 -0
- package/dist/types/offchain/positions/index.d.ts +3 -0
- package/dist/types/offchain/positions/types.d.ts +33 -0
- package/dist/types/offchain/types.d.ts +25 -0
- package/dist/types/onchain/MultichainSDK.d.ts +157 -0
- package/dist/types/onchain/OnchainSDK.d.ts +309 -0
- package/dist/types/onchain/abi/index.d.ts +2 -0
- package/dist/types/onchain/accounts/CreditAccountsServiceV310.d.ts +151 -0
- package/dist/types/onchain/accounts/bots/AccountBotsService.d.ts +35 -0
- package/dist/types/onchain/accounts/bots/PeripheryCompressorV310Contract.d.ts +234 -0
- package/dist/types/onchain/accounts/bots/index.d.ts +4 -0
- package/dist/types/onchain/accounts/bots/types.d.ts +140 -0
- package/dist/types/onchain/accounts/credit-account-compressor/CreditAccountCompressor.d.ts +48 -0
- package/dist/types/onchain/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.d.ts +877 -0
- package/dist/types/onchain/accounts/credit-account-compressor/index.d.ts +4 -0
- package/dist/types/onchain/accounts/credit-account-compressor/types.d.ts +147 -0
- package/dist/types/onchain/accounts/index.d.ts +37 -0
- package/dist/types/onchain/accounts/intents/borrow.d.ts +143 -0
- package/dist/types/onchain/accounts/intents/collateral-valuation.d.ts +41 -0
- package/dist/types/onchain/accounts/intents/guards.d.ts +103 -0
- package/dist/types/onchain/accounts/intents/index.d.ts +287 -0
- package/dist/types/onchain/accounts/intents/leverage-band.d.ts +57 -0
- package/dist/types/onchain/accounts/intents/math.d.ts +56 -0
- package/dist/types/onchain/accounts/intents/maxBorrow.d.ts +53 -0
- package/dist/types/onchain/accounts/intents/maxBorrowAndWithdraw.d.ts +10 -0
- package/dist/types/onchain/accounts/intents/maxWithdrawCollateral.d.ts +31 -0
- package/dist/types/onchain/accounts/intents/open-strategy.d.ts +86 -0
- package/dist/types/onchain/accounts/intents/operations.d.ts +221 -0
- package/dist/types/onchain/accounts/intents/plan.d.ts +227 -0
- package/dist/types/onchain/accounts/intents/realize.d.ts +47 -0
- package/dist/types/onchain/accounts/intents/resolveQuotaUpdate.d.ts +36 -0
- package/dist/types/onchain/accounts/intents/strategyLimits.d.ts +31 -0
- package/dist/types/onchain/accounts/intents/tail.d.ts +64 -0
- package/dist/types/onchain/accounts/intents/testing/delayed.d.ts +4 -4
- package/dist/types/onchain/accounts/intents/testing/expect.d.ts +6 -6
- package/dist/types/onchain/accounts/intents/testing/market.d.ts +3 -3
- package/dist/types/onchain/accounts/intents/testing/sdk-mock.d.ts +6 -6
- package/dist/types/onchain/accounts/intents/tests/add-collateral.fixtures.d.ts +42 -0
- package/dist/types/onchain/accounts/intents/tests/adjust-leverage.fixtures.d.ts +53 -0
- package/dist/types/onchain/accounts/intents/tests/deposit.fixtures.d.ts +61 -0
- package/dist/types/onchain/accounts/intents/tests/finish-decrease-leverage.fixtures.d.ts +107 -0
- package/dist/types/onchain/accounts/intents/tests/finish-withdraw.fixtures.d.ts +135 -0
- package/dist/types/onchain/accounts/intents/tests/open-strategy.fixtures.d.ts +53 -0
- package/dist/types/onchain/accounts/intents/tests/update-quota.fixtures.d.ts +46 -0
- package/dist/types/onchain/accounts/intents/tests/withdraw-asset.fixtures.d.ts +57 -0
- package/dist/types/onchain/accounts/intents/tests/withdraw.fixtures.d.ts +76 -0
- package/dist/types/onchain/accounts/intents/types.d.ts +584 -0
- package/dist/types/onchain/accounts/intents/utils/adjust-state-to-snapshot.d.ts +10 -0
- package/dist/types/onchain/accounts/intents/utils/assemble-operation-calls.d.ts +8 -0
- package/dist/types/onchain/accounts/intents/utils/common.d.ts +30 -0
- package/dist/types/onchain/accounts/intents/utils/credit-account-slice.d.ts +39 -0
- package/dist/types/onchain/accounts/intents/utils/index.d.ts +11 -0
- package/dist/types/onchain/accounts/intents/utils/ledger.d.ts +38 -0
- package/dist/types/onchain/accounts/intents/utils/pick-token.d.ts +52 -0
- package/dist/types/onchain/accounts/intents/utils/price-impact.d.ts +50 -0
- package/dist/types/onchain/accounts/intents/utils/quotas-for-update.d.ts +92 -0
- package/dist/types/onchain/accounts/intents/utils/router-path.d.ts +87 -0
- package/dist/types/onchain/accounts/intents/view.d.ts +12 -0
- package/dist/types/onchain/accounts/intents/withdraw-limits.d.ts +84 -0
- package/dist/types/onchain/accounts/liquidations/LiquidationsService.d.ts +89 -0
- package/dist/types/onchain/accounts/liquidations/MultichainLiquidationsService.d.ts +55 -0
- package/dist/types/onchain/accounts/liquidations/index.d.ts +6 -0
- package/dist/types/onchain/accounts/liquidations/partialLiquidation.d.ts +86 -0
- package/dist/types/onchain/accounts/liquidations/skipLiquidatableAccount.d.ts +8 -0
- package/dist/types/onchain/accounts/liquidations/types.d.ts +248 -0
- package/dist/types/onchain/accounts/multicall-utils.d.ts +40 -0
- package/dist/types/onchain/accounts/quota-utils.d.ts +96 -0
- package/dist/types/onchain/accounts/types.d.ts +575 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/AbstractWithdrawalCompressorContract.d.ts +118 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/RedemptionLoggerV310Contract.d.ts +154 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV310Contract.d.ts +334 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV311Contract.d.ts +338 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV313Contract.d.ts +653 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/addresses.d.ts +20 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/createRedemptionLogger.d.ts +10 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/createWithdrawalCompressor.d.ts +10 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/index.d.ts +11 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/intent-codec.d.ts +27 -0
- package/dist/types/onchain/accounts/withdrawal-compressor/types.d.ts +409 -0
- package/dist/types/onchain/base/BaseContract.d.ts +190 -0
- package/dist/types/onchain/base/ChainContractsRegister.d.ts +131 -0
- package/dist/types/onchain/base/Construct.d.ts +71 -0
- package/dist/types/onchain/base/MultichainConstruct.d.ts +103 -0
- package/dist/types/onchain/base/SDKConstruct.d.ts +18 -0
- package/dist/types/onchain/base/TokensMeta.d.ts +211 -0
- package/dist/types/onchain/base/index.d.ts +10 -0
- package/dist/types/onchain/base/token-types.d.ts +77 -0
- package/dist/types/onchain/base/types.d.ts +490 -0
- package/dist/types/onchain/chain/chains.d.ts +242 -0
- package/dist/types/onchain/chain/detectNetwork.d.ts +10 -0
- package/dist/types/onchain/chain/index.d.ts +3 -0
- package/dist/types/onchain/constants/index.d.ts +8 -0
- package/dist/types/onchain/constants/networks.d.ts +4 -0
- package/dist/types/onchain/core/AbstractAddressProviderContract.d.ts +42 -0
- package/dist/types/onchain/core/AddressProviderV310Contract.d.ts +262 -0
- package/dist/types/onchain/core/createAddressProvider.d.ts +5 -0
- package/dist/types/onchain/core/errors.d.ts +72 -0
- package/dist/types/onchain/core/index.d.ts +5 -0
- package/dist/types/onchain/core/types.d.ts +79 -0
- package/dist/types/onchain/index.d.ts +357 -0
- package/dist/types/onchain/market/MarketConfiguratorContract.d.ts +1552 -0
- package/dist/types/onchain/market/MarketRegister.d.ts +143 -0
- package/dist/types/onchain/market/MarketSuite.d.ts +208 -0
- package/dist/types/onchain/market/ZapperRegister.d.ts +60 -0
- package/dist/types/onchain/market/adapters/abi/actionAbi.d.ts +22 -0
- package/dist/types/onchain/market/adapters/abi/adapters/index.d.ts +39 -0
- package/dist/types/onchain/market/adapters/abi/conctructorAbi.d.ts +7 -0
- package/dist/types/onchain/market/adapters/abi/index.d.ts +54 -0
- package/dist/types/onchain/market/adapters/abi/midas/index.d.ts +2 -0
- package/dist/types/onchain/market/adapters/abi/securitize/index.d.ts +4 -0
- package/dist/types/onchain/market/adapters/abi/treehouse/index.d.ts +4 -0
- package/dist/types/onchain/market/adapters/abi/utils.d.ts +30 -0
- package/dist/types/onchain/market/adapters/contracts/AbstractAdapter.d.ts +138 -0
- package/dist/types/onchain/market/adapters/contracts/AbstractCurveAdapter.d.ts +20 -0
- package/dist/types/onchain/market/adapters/contracts/AccountMigratorAdapterContract.d.ts +482 -0
- package/dist/types/onchain/market/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +457 -0
- package/dist/types/onchain/market/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +170 -0
- package/dist/types/onchain/market/adapters/contracts/CamelotV3AdapterContract.d.ts +661 -0
- package/dist/types/onchain/market/adapters/contracts/ConvexV1BaseRewardPoolAdapterContract.d.ts +698 -0
- package/dist/types/onchain/market/adapters/contracts/ConvexV1BoosterAdapterContract.d.ts +429 -0
- package/dist/types/onchain/market/adapters/contracts/Curve2AssetsAdapterContract.d.ts +1778 -0
- package/dist/types/onchain/market/adapters/contracts/Curve3AssetsAdapterContract.d.ts +1778 -0
- package/dist/types/onchain/market/adapters/contracts/Curve4AssetsAdapterContract.d.ts +1778 -0
- package/dist/types/onchain/market/adapters/contracts/CurveV1AdapterStETHContract.d.ts +1765 -0
- package/dist/types/onchain/market/adapters/contracts/CurveV1StableNGAdapterContract.d.ts +1748 -0
- package/dist/types/onchain/market/adapters/contracts/DaiUsdsAdapterContract.d.ts +213 -0
- package/dist/types/onchain/market/adapters/contracts/ERC4626AdapterContract.d.ts +693 -0
- package/dist/types/onchain/market/adapters/contracts/ERC4626ReferralAdapterContract.d.ts +307 -0
- package/dist/types/onchain/market/adapters/contracts/FluidDexAdapterContract.d.ts +258 -0
- package/dist/types/onchain/market/adapters/contracts/InfinifiGatewayAdapterContract.d.ts +489 -0
- package/dist/types/onchain/market/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.d.ts +365 -0
- package/dist/types/onchain/market/adapters/contracts/KelpLRTDepositPoolAdapterContract.d.ts +255 -0
- package/dist/types/onchain/market/adapters/contracts/KelpLRTWithdrawalManagerAdapterContract.d.ts +374 -0
- package/dist/types/onchain/market/adapters/contracts/LidoV1AdapterContract.d.ts +222 -0
- package/dist/types/onchain/market/adapters/contracts/MellowClaimerAdapterContract.d.ts +300 -0
- package/dist/types/onchain/market/adapters/contracts/MellowDVVAdapterContract.d.ts +718 -0
- package/dist/types/onchain/market/adapters/contracts/MellowERC4626VaultAdapterContract.d.ts +698 -0
- package/dist/types/onchain/market/adapters/contracts/MellowWrapperAdapterContract.d.ts +214 -0
- package/dist/types/onchain/market/adapters/contracts/MidasGatewayAdapterContract.d.ts +676 -0
- package/dist/types/onchain/market/adapters/contracts/MidasIssuanceVaultAdapterContract.d.ts +248 -0
- package/dist/types/onchain/market/adapters/contracts/MidasRedemptionVaultAdapterContract.d.ts +488 -0
- package/dist/types/onchain/market/adapters/contracts/PendleRouterAdapterContract.d.ts +2413 -0
- package/dist/types/onchain/market/adapters/contracts/SecuritizeOnRampAdapterContract.d.ts +452 -0
- package/dist/types/onchain/market/adapters/contracts/SecuritizeRedemptionGatewayAdapterContract.d.ts +512 -0
- package/dist/types/onchain/market/adapters/contracts/StakingRewardsAdapterContract.d.ts +286 -0
- package/dist/types/onchain/market/adapters/contracts/TraderJoeRouterAdapterContract.d.ts +489 -0
- package/dist/types/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.d.ts +154 -0
- package/dist/types/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.d.ts +479 -0
- package/dist/types/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.d.ts +191 -0
- package/dist/types/onchain/market/adapters/contracts/UniswapV2AdapterContract.d.ts +973 -0
- package/dist/types/onchain/market/adapters/contracts/UniswapV3AdapterContract.d.ts +565 -0
- package/dist/types/onchain/market/adapters/contracts/UniswapV4AdapterContract.d.ts +429 -0
- package/dist/types/onchain/market/adapters/contracts/UpshiftVaultAdapterContract.d.ts +362 -0
- package/dist/types/onchain/market/adapters/contracts/VelodromeV2AdapterContract.d.ts +367 -0
- package/dist/types/onchain/market/adapters/contracts/WstETHV1AdapterContract.d.ts +401 -0
- package/dist/types/onchain/market/adapters/contracts/index.d.ts +43 -0
- package/dist/types/onchain/market/adapters/createAdapter.d.ts +8 -0
- package/dist/types/onchain/market/adapters/index.d.ts +99 -0
- package/dist/types/onchain/market/adapters/transferHelpers.d.ts +60 -0
- package/dist/types/onchain/market/adapters/types.d.ts +116 -0
- package/dist/types/onchain/market/credit/CreditConfiguratorV310Contract.d.ts +499 -0
- package/dist/types/onchain/market/credit/CreditFacadeV310BaseContract.d.ts +856 -0
- package/dist/types/onchain/market/credit/CreditFacadeV310Contract.d.ts +74 -0
- package/dist/types/onchain/market/credit/CreditManagerV310Contract.d.ts +1013 -0
- package/dist/types/onchain/market/credit/CreditSuite.d.ts +254 -0
- package/dist/types/onchain/market/credit/CreditSuiteStrategy.d.ts +75 -0
- package/dist/types/onchain/market/credit/collateralUtils.d.ts +94 -0
- package/dist/types/onchain/market/credit/createCreditConfigurator.d.ts +5 -0
- package/dist/types/onchain/market/credit/createCreditFacade.d.ts +5 -0
- package/dist/types/onchain/market/credit/createCreditManager.d.ts +5 -0
- package/dist/types/onchain/market/credit/expectedBalanceDeltas.d.ts +36 -0
- package/dist/types/onchain/market/credit/index.d.ts +10 -0
- package/dist/types/onchain/market/credit/types.d.ts +296 -0
- package/dist/types/onchain/market/index.d.ts +170 -0
- package/dist/types/onchain/market/loss-policy/AliasLossPolicyV310Contract.d.ts +295 -0
- package/dist/types/onchain/market/loss-policy/LossPolicyContract.d.ts +138 -0
- package/dist/types/onchain/market/loss-policy/createLossPolicy.d.ts +5 -0
- package/dist/types/onchain/market/loss-policy/index.d.ts +5 -0
- package/dist/types/onchain/market/loss-policy/types.d.ts +15 -0
- package/dist/types/onchain/market/math.d.ts +270 -0
- package/dist/types/onchain/market/oracle/PriceFeedAnswerMap.d.ts +8 -0
- package/dist/types/onchain/market/oracle/PriceOracleBaseContract.d.ts +146 -0
- package/dist/types/onchain/market/oracle/PriceOracleV310Contract.d.ts +350 -0
- package/dist/types/onchain/market/oracle/collateralPriceInUnderlying.d.ts +16 -0
- package/dist/types/onchain/market/oracle/createPriceOracle.d.ts +5 -0
- package/dist/types/onchain/market/oracle/index.d.ts +5 -0
- package/dist/types/onchain/market/oracle/types.d.ts +257 -0
- package/dist/types/onchain/market/pool/GaugeContract.d.ts +403 -0
- package/dist/types/onchain/market/pool/LinearInterestRateModelContract.d.ts +143 -0
- package/dist/types/onchain/market/pool/PoolQuotaKeeperV310Contract.d.ts +510 -0
- package/dist/types/onchain/market/pool/PoolSuite.d.ts +123 -0
- package/dist/types/onchain/market/pool/PoolV310Contract.d.ts +1186 -0
- package/dist/types/onchain/market/pool/TumblerContract.d.ts +193 -0
- package/dist/types/onchain/market/pool/createInterestRateModel.d.ts +5 -0
- package/dist/types/onchain/market/pool/createPool.d.ts +5 -0
- package/dist/types/onchain/market/pool/createPoolQuotaKeeper.d.ts +5 -0
- package/dist/types/onchain/market/pool/createRateKeeper.d.ts +5 -0
- package/dist/types/onchain/market/pool/index.d.ts +6 -0
- package/dist/types/onchain/market/pool/math.d.ts +64 -0
- package/dist/types/onchain/market/pool/types.d.ts +174 -0
- package/dist/types/onchain/market/pricefeeds/AbstractLPPriceFeed.d.ts +16 -0
- package/dist/types/onchain/market/pricefeeds/AbstractPriceFeed.d.ts +42 -0
- package/dist/types/onchain/market/pricefeeds/PriceFeedRef.d.ts +37 -0
- package/dist/types/onchain/market/pricefeeds/PriceFeedRegistry.d.ts +57 -0
- package/dist/types/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/BalancerWeightedPriceFeed.d.ts +16 -0
- package/dist/types/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts +13 -0
- package/dist/types/onchain/market/pricefeeds/feeds/CompositePriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/ConstantPriceFeed.d.ts +12 -0
- package/dist/types/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts +9 -0
- package/dist/types/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/PendleTWAPPTPriceFeed.d.ts +215 -0
- package/dist/types/onchain/market/pricefeeds/feeds/PythPriceFeed.d.ts +224 -0
- package/dist/types/onchain/market/pricefeeds/feeds/RedstonePriceFeed.d.ts +20 -0
- package/dist/types/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts +10 -0
- package/dist/types/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts +9 -0
- package/dist/types/onchain/market/pricefeeds/feeds/index.d.ts +18 -0
- package/dist/types/onchain/market/pricefeeds/index.d.ts +31 -0
- package/dist/types/onchain/market/pricefeeds/types.d.ts +97 -0
- package/dist/types/onchain/market/pricefeeds/updates/PriceUpdateTx.d.ts +14 -0
- package/dist/types/onchain/market/pricefeeds/updates/PriceUpdatesCache.d.ts +17 -0
- package/dist/types/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.d.ts +109 -0
- package/dist/types/onchain/market/pricefeeds/updates/getRawPriceUpdates.d.ts +3 -0
- package/dist/types/onchain/market/pricefeeds/updates/index.d.ts +7 -0
- package/dist/types/onchain/market/pricefeeds/updates/isUpdatablePriceFeed.d.ts +3 -0
- package/dist/types/onchain/market/pricefeeds/updates/types.d.ts +70 -0
- package/dist/types/onchain/market/pricefeeds/updates/updatableDependencies.d.ts +7 -0
- package/dist/types/onchain/market/rwa/RWARegistry.d.ts +70 -0
- package/dist/types/onchain/market/rwa/createDegenNFT.d.ts +9 -0
- package/dist/types/onchain/market/rwa/index.d.ts +13 -0
- package/dist/types/onchain/market/rwa/midas/MidasDegenNFT.d.ts +111 -0
- package/dist/types/onchain/market/rwa/midas/MidasLiquidatorContract.d.ts +91 -0
- package/dist/types/onchain/market/rwa/midas/index.d.ts +4 -0
- package/dist/types/onchain/market/rwa/securitize/SecuritizeDegenNFT.d.ts +439 -0
- package/dist/types/onchain/market/rwa/securitize/SecuritizeLiquidatorContract.d.ts +102 -0
- package/dist/types/onchain/market/rwa/securitize/SecuritizeRWAFactory.d.ts +505 -0
- package/dist/types/onchain/market/rwa/securitize/index.d.ts +6 -0
- package/dist/types/onchain/market/rwa/securitize/types.d.ts +62 -0
- package/dist/types/onchain/market/rwa/types.d.ts +214 -0
- package/dist/types/onchain/market/strategyName.d.ts +13 -0
- package/dist/types/onchain/market/types.d.ts +14 -0
- package/dist/types/onchain/market/zapper/IERC20ZapperContract.d.ts +405 -0
- package/dist/types/onchain/market/zapper/IETHZapperContract.d.ts +241 -0
- package/dist/types/onchain/market/zapper/ZapperContract.d.ts +41 -0
- package/dist/types/onchain/market/zapper/createZapper.d.ts +4 -0
- package/dist/types/onchain/market/zapper/index.d.ts +6 -0
- package/dist/types/onchain/market/zapper/types.d.ts +69 -0
- package/dist/types/onchain/opportunities/MultichainOpportunitiesService.d.ts +42 -0
- package/dist/types/onchain/opportunities/OpportunitiesService.d.ts +50 -0
- package/dist/types/onchain/opportunities/index.d.ts +4 -0
- package/dist/types/onchain/opportunities/types.d.ts +35 -0
- package/dist/types/onchain/options.d.ts +40 -0
- package/dist/types/onchain/plugins/BasePlugin.d.ts +65 -0
- package/dist/types/onchain/plugins/errors.d.ts +4 -0
- package/dist/types/onchain/plugins/index.d.ts +4 -0
- package/dist/types/onchain/plugins/types.d.ts +120 -0
- package/dist/types/onchain/pools/PoolService.d.ts +62 -0
- package/dist/types/onchain/pools/index.d.ts +3 -0
- package/dist/types/onchain/pools/types.d.ts +288 -0
- package/dist/types/onchain/positions/MultichainPositionsService.d.ts +26 -0
- package/dist/types/onchain/positions/PositionsService.d.ts +112 -0
- package/dist/types/onchain/positions/calcBorrowRate.d.ts +43 -0
- package/dist/types/onchain/positions/calcHealthFactor.d.ts +56 -0
- package/dist/types/onchain/positions/calcLiquidationPrice.d.ts +18 -0
- package/dist/types/onchain/positions/calcLiquidationPriceForTarget.d.ts +40 -0
- package/dist/types/onchain/positions/calcTimeToLiquidationMs.d.ts +13 -0
- package/dist/types/onchain/positions/index.d.ts +9 -0
- package/dist/types/onchain/positions/types.d.ts +130 -0
- package/dist/types/onchain/preview/index.d.ts +25 -0
- package/dist/types/onchain/preview/parse/classifyInnerOperations.d.ts +22 -0
- package/dist/types/onchain/preview/parse/index.d.ts +11 -0
- package/dist/types/onchain/preview/parse/parseFacadeOperationCalldata.d.ts +21 -0
- package/dist/types/onchain/preview/parse/parseOperationCalldata.d.ts +15 -0
- package/dist/types/onchain/preview/parse/parsePoolOperationCalldata.d.ts +18 -0
- package/dist/types/onchain/preview/parse/parseRWAFactoryOperationCalldata.d.ts +15 -0
- package/dist/types/onchain/preview/parse/types-adapters.d.ts +63 -0
- package/dist/types/onchain/preview/parse/types-facades.d.ts +148 -0
- package/dist/types/onchain/preview/parse/types-rwa.d.ts +37 -0
- package/dist/types/onchain/preview/parse/types.d.ts +22 -0
- package/dist/types/onchain/preview/preview/CreditAccountState.d.ts +92 -0
- package/dist/types/onchain/preview/preview/buildDelayedStrategyPositionOperationPreview.d.ts +30 -0
- package/dist/types/onchain/preview/preview/detectCloseOrRepay.d.ts +23 -0
- package/dist/types/onchain/preview/preview/detectDelayedClaim.d.ts +50 -0
- package/dist/types/onchain/preview/preview/detectDelayedOperation.d.ts +36 -0
- package/dist/types/onchain/preview/preview/estimateClaimableAt.d.ts +16 -0
- package/dist/types/onchain/preview/preview/index.d.ts +13 -0
- package/dist/types/onchain/preview/preview/midasGreenlistsAccount.d.ts +10 -0
- package/dist/types/onchain/preview/preview/previewAdjustStrategyPosition.d.ts +17 -0
- package/dist/types/onchain/preview/preview/previewExitOrRepayStrategyPosition.d.ts +18 -0
- package/dist/types/onchain/preview/preview/previewOpenStrategyPosition.d.ts +14 -0
- package/dist/types/onchain/preview/preview/previewOperation.d.ts +29 -0
- package/dist/types/onchain/preview/preview/previewPoolPositionOperation.d.ts +10 -0
- package/dist/types/onchain/preview/preview/replayInnerOperations.d.ts +48 -0
- package/dist/types/onchain/preview/preview/replayMulticall.d.ts +42 -0
- package/dist/types/onchain/preview/preview/unwrapNativeCollateral.d.ts +26 -0
- package/dist/types/onchain/router/AbstractRouterContract.d.ts +45 -0
- package/dist/types/onchain/router/RouterV310Contract.d.ts +934 -0
- package/dist/types/onchain/router/createRouter.d.ts +4 -0
- package/dist/types/onchain/router/helpers.d.ts +12 -0
- package/dist/types/onchain/router/index.d.ts +5 -0
- package/dist/types/onchain/router/types.d.ts +282 -0
- package/dist/types/onchain/types/index.d.ts +6 -0
- package/dist/types/onchain/types/multichain.d.ts +42 -0
- package/dist/types/onchain/types/state-human.d.ts +226 -0
- package/dist/types/onchain/types/state.d.ts +89 -0
- package/dist/types/onchain/utils/AssetsMap.d.ts +44 -0
- package/dist/types/onchain/utils/childLogger.d.ts +3 -0
- package/dist/types/onchain/utils/createRawTx.d.ts +11 -0
- package/dist/types/onchain/utils/etherscan.d.ts +14 -0
- package/dist/types/onchain/utils/filterDust.d.ts +19 -0
- package/dist/types/onchain/utils/index.d.ts +21 -0
- package/dist/types/onchain/utils/internal/index.d.ts +2 -0
- package/dist/types/onchain/utils/isDust.d.ts +18 -0
- package/dist/types/onchain/utils/toAddress.d.ts +4 -0
- package/dist/types/onchain/utils/viem/executeDelegatedMulticalls.d.ts +29 -0
- package/dist/types/onchain/utils/viem/index.d.ts +9 -0
- package/dist/types/onchain/utils/viem/sendRawTx.d.ts +12 -0
- package/dist/types/onchain/utils/viem/simulateWithPriceUpdates.d.ts +42 -0
- package/dist/types/onchain/validation/bundles/checkAccountQuotas.d.ts +13 -0
- package/dist/types/onchain/validation/bundles/checkCollateralFunding.d.ts +19 -0
- package/dist/types/onchain/validation/bundles/checkCreditOperation.d.ts +29 -0
- package/dist/types/onchain/validation/bundles/checkHealthFactors.d.ts +36 -0
- package/dist/types/onchain/validation/bundles/checkIncreaseDebt.d.ts +17 -0
- package/dist/types/onchain/validation/bundles/checkIncreaseQuota.d.ts +7 -0
- package/dist/types/onchain/validation/bundles/checkLiquidationEligibility.d.ts +18 -0
- package/dist/types/onchain/validation/bundles/checkLiquidationFunding.d.ts +16 -0
- package/dist/types/onchain/validation/bundles/checkMarket.d.ts +12 -0
- package/dist/types/onchain/validation/bundles/checkMidasAccountGreenlist.d.ts +19 -0
- package/dist/types/onchain/validation/bundles/checkObtained.d.ts +6 -0
- package/dist/types/onchain/validation/bundles/checkPoolFunding.d.ts +16 -0
- package/dist/types/onchain/validation/bundles/checkPoolOperation.d.ts +22 -0
- package/dist/types/onchain/validation/bundles/checkQuotaUpdates.d.ts +13 -0
- package/dist/types/onchain/validation/bundles/checkRWAOpenRequirements.d.ts +18 -0
- package/dist/types/onchain/validation/bundles/checkRWAOpening.d.ts +18 -0
- package/dist/types/onchain/validation/bundles/checkWallet.d.ts +20 -0
- package/dist/types/onchain/validation/bundles/checkWalletAllowance.d.ts +15 -0
- package/dist/types/onchain/validation/bundles/checkWalletBalance.d.ts +14 -0
- package/dist/types/onchain/validation/bundles/index.d.ts +20 -0
- package/dist/types/onchain/validation/checkLiquidation.d.ts +21 -0
- package/dist/types/onchain/validation/checkOperation.d.ts +29 -0
- package/dist/types/onchain/validation/checkSimulation.d.ts +42 -0
- package/dist/types/onchain/validation/checks/checkBorrowLimit.d.ts +18 -0
- package/dist/types/onchain/validation/checks/checkCollateralised.d.ts +22 -0
- package/dist/types/onchain/validation/checks/checkCreditAccountFrozen.d.ts +9 -0
- package/dist/types/onchain/validation/checks/checkCreditManagerPaused.d.ts +9 -0
- package/dist/types/onchain/validation/checks/checkDebtLimits.d.ts +22 -0
- package/dist/types/onchain/validation/checks/checkEmergencyLiquidator.d.ts +14 -0
- package/dist/types/onchain/validation/checks/checkForbiddenToken.d.ts +9 -0
- package/dist/types/onchain/validation/checks/checkLeverage.d.ts +9 -0
- package/dist/types/onchain/validation/checks/checkLiquidatorEligible.d.ts +10 -0
- package/dist/types/onchain/validation/checks/checkMarketExpired.d.ts +11 -0
- package/dist/types/onchain/validation/checks/checkMaxQuota.d.ts +13 -0
- package/dist/types/onchain/validation/checks/checkPartiallyLiquidatable.d.ts +14 -0
- package/dist/types/onchain/validation/checks/checkPoolLiquidity.d.ts +10 -0
- package/dist/types/onchain/validation/checks/checkPoolPaused.d.ts +9 -0
- package/dist/types/onchain/validation/checks/checkPoolSunset.d.ts +10 -0
- package/dist/types/onchain/validation/checks/checkQuotaActive.d.ts +10 -0
- package/dist/types/onchain/validation/checks/checkQuotaChange.d.ts +14 -0
- package/dist/types/onchain/validation/checks/checkQuotaCount.d.ts +8 -0
- package/dist/types/onchain/validation/checks/checkQuotaLimit.d.ts +15 -0
- package/dist/types/onchain/validation/checks/checkReservePriceLimited.d.ts +28 -0
- package/dist/types/onchain/validation/checks/index.d.ts +21 -0
- package/dist/types/onchain/validation/helpers/amount.d.ts +4 -0
- package/dist/types/onchain/validation/helpers/index.d.ts +4 -0
- package/dist/types/onchain/validation/helpers/token.d.ts +14 -0
- package/dist/types/onchain/validation/index.d.ts +50 -0
- package/dist/types/onchain/validation/raise.d.ts +30 -0
- package/dist/types/permissionless/api/GearboxPermissionless.d.ts +74 -0
- package/dist/types/permissionless/api/analytics/PermissionlessAnalytics.d.ts +36 -0
- package/dist/types/permissionless/api/analytics/index.d.ts +3 -0
- package/dist/types/permissionless/api/analytics/types.d.ts +36 -0
- package/dist/types/permissionless/api/chains/ChainsNamespace.d.ts +96 -0
- package/dist/types/permissionless/api/chains/index.d.ts +3 -0
- package/dist/types/permissionless/api/deploy/PermissionlessDeploy.d.ts +66 -0
- package/dist/types/permissionless/api/deploy/index.d.ts +4 -0
- package/dist/types/permissionless/api/deploy/types.d.ts +84 -0
- package/dist/types/permissionless/api/index.d.ts +32 -0
- package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +342 -0
- package/dist/types/permissionless/api/oracles/enrich.d.ts +57 -0
- package/dist/types/permissionless/api/oracles/index.d.ts +13 -0
- package/dist/types/permissionless/api/oracles/onchain-feed.d.ts +13 -0
- package/dist/types/permissionless/api/oracles/score/formula.d.ts +34 -0
- package/dist/types/permissionless/api/oracles/score/index.d.ts +4 -0
- package/dist/types/permissionless/api/oracles/score/run.d.ts +40 -0
- package/dist/types/permissionless/api/oracles/stress/classify.d.ts +55 -0
- package/dist/types/permissionless/api/oracles/stress/index.d.ts +6 -0
- package/dist/types/permissionless/api/oracles/stress/override.d.ts +57 -0
- package/dist/types/permissionless/api/oracles/stress/run.d.ts +98 -0
- package/dist/types/permissionless/api/oracles/stress/score.d.ts +55 -0
- package/dist/types/permissionless/api/oracles/types.d.ts +494 -0
- package/dist/types/permissionless/api/transactions/InstanceOwnerTransactions.d.ts +65 -0
- package/dist/types/permissionless/api/transactions/index.d.ts +3 -0
- package/dist/types/permissionless/api/transactions/lp-price-feeds.d.ts +22 -0
- package/dist/types/permissionless/api/transactions/types.d.ts +55 -0
- package/dist/types/permissionless/api/types.d.ts +24 -0
- package/dist/types/permissionless/bindings/address-provider.d.ts +9 -0
- package/dist/types/permissionless/bindings/bytecode-repository.d.ts +1364 -0
- package/dist/types/permissionless/bindings/compressors/index.d.ts +3 -0
- package/dist/types/permissionless/bindings/compressors/token-compressor.d.ts +119 -0
- package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +784 -0
- package/dist/types/permissionless/bindings/cross-chain-multisig.d.ts +838 -0
- package/dist/types/permissionless/bindings/factory/credit-factory.d.ts +224 -0
- package/dist/types/permissionless/bindings/factory/loss-policy-factory.d.ts +143 -0
- package/dist/types/permissionless/bindings/factory/pool-factory.d.ts +86 -0
- package/dist/types/permissionless/bindings/factory/price-oracle-factory.d.ts +38 -0
- package/dist/types/permissionless/bindings/factory/rate-keeper-factory.d.ts +179 -0
- package/dist/types/permissionless/bindings/governance/batches-chain.d.ts +40 -0
- package/dist/types/permissionless/bindings/governance/governor.d.ts +618 -0
- package/dist/types/permissionless/bindings/governance/index.d.ts +4 -0
- package/dist/types/permissionless/bindings/governance/timelock.d.ts +11 -0
- package/dist/types/permissionless/bindings/governance/types.d.ts +43 -0
- package/dist/types/permissionless/bindings/index.d.ts +21 -0
- package/dist/types/permissionless/bindings/instance-manager.d.ts +365 -0
- package/dist/types/permissionless/bindings/kill-switch-proxy.d.ts +203 -0
- package/dist/types/permissionless/bindings/market-configurator-factory.d.ts +275 -0
- package/dist/types/permissionless/bindings/market-configurator.d.ts +1699 -0
- package/dist/types/permissionless/bindings/price-feed-store.d.ts +608 -0
- package/dist/types/permissionless/bindings/pricefeeds/balancer-stable.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/balancer-weighted.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/bounded.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/composite.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/constant.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/curve-crypto.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/curve-stable.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/curve-twap.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/curve-usd.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/erc4626.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/external.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/index.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/kodiak.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/mellow-lrt.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/pendle-pt-twap.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/pyth.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/redstone.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/wsteth.d.ts +3 -0
- package/dist/types/permissionless/bindings/pricefeeds/zero.d.ts +3 -0
- package/dist/types/permissionless/bindings/router/index.d.ts +2 -0
- package/dist/types/permissionless/bindings/router/routing-manager.d.ts +503 -0
- package/dist/types/permissionless/bindings/treasury-splitter.d.ts +394 -0
- package/dist/types/permissionless/core/index.d.ts +7 -0
- package/dist/types/permissionless/core/proposal.d.ts +28 -0
- package/dist/types/permissionless/index.d.ts +66 -0
- package/dist/types/permissionless/plugins/index.d.ts +4 -0
- package/dist/types/permissionless/utils/create2.d.ts +18 -0
- package/dist/types/permissionless/utils/governance/batch.d.ts +19 -0
- package/dist/types/permissionless/utils/governance/index.d.ts +4 -0
- package/dist/types/permissionless/utils/governance/timelock-txs.d.ts +3 -0
- package/dist/types/permissionless/utils/governance/types.d.ts +21 -0
- package/dist/types/permissionless/utils/index.d.ts +15 -0
- package/dist/types/permissionless/utils/price-update/get-price-update-tx.d.ts +14 -0
- package/dist/types/permissionless/utils/price-update/get-updatable-feeds.d.ts +16 -0
- package/dist/types/permissionless/utils/price-update/index.d.ts +4 -0
- package/dist/types/plugins/accounts/AccountsPlugin.d.ts +23 -0
- package/dist/types/plugins/accounts/index.d.ts +2 -0
- package/dist/types/plugins/accounts-counter/AccountsCounterPlugin.d.ts +21 -0
- package/dist/types/plugins/accounts-counter/index.d.ts +2 -0
- package/dist/types/plugins/bots/BotsPlugin.d.ts +15 -0
- package/dist/types/plugins/bots/PartialLiquidationBotV310Contract.d.ts +214 -0
- package/dist/types/plugins/bots/abi/index.d.ts +2 -0
- package/dist/types/plugins/bots/config.d.ts +9 -0
- package/dist/types/plugins/bots/deserializePartialLiquidationBotParams.d.ts +4 -0
- package/dist/types/plugins/bots/index.d.ts +7 -0
- package/dist/types/plugins/bots/types.d.ts +50 -0
- package/dist/types/sdk/AbstractNamespace.d.ts +64 -0
- package/dist/types/sdk/GearboxSDK.d.ts +97 -0
- package/dist/types/sdk/analytics/AnalyticsNamespace.d.ts +14 -0
- package/dist/types/sdk/analytics/index.d.ts +3 -0
- package/dist/types/sdk/analytics/types.d.ts +28 -0
- package/dist/types/sdk/errors/AllSourcesFailedError.d.ts +8 -0
- package/dist/types/sdk/errors/MissingSourceError.d.ts +20 -0
- package/dist/types/sdk/errors/NoSourceServedError.d.ts +14 -0
- package/dist/types/sdk/errors/SourceChainMismatchError.d.ts +32 -0
- package/dist/types/sdk/errors/SourceUnavailableError.d.ts +19 -0
- package/dist/types/sdk/errors/assertSameChains.d.ts +8 -0
- package/dist/types/sdk/errors/everyChainFailed.d.ts +7 -0
- package/dist/types/sdk/errors/index.d.ts +11 -0
- package/dist/types/sdk/execute/ExecuteApi.d.ts +16 -0
- package/dist/types/sdk/execute/index.d.ts +3 -0
- package/dist/types/sdk/execute/types.d.ts +130 -0
- package/dist/types/sdk/index.d.ts +48 -0
- package/dist/types/sdk/liquidations/LiquidationsNamespace.d.ts +49 -0
- package/dist/types/sdk/liquidations/index.d.ts +3 -0
- package/dist/types/sdk/liquidations/types.d.ts +75 -0
- package/dist/types/sdk/opportunities/OpportunitiesNamespace.d.ts +69 -0
- package/dist/types/sdk/opportunities/index.d.ts +3 -0
- package/dist/types/sdk/opportunities/types.d.ts +140 -0
- package/dist/types/sdk/positions/PositionsNamespace.d.ts +52 -0
- package/dist/types/sdk/positions/index.d.ts +3 -0
- package/dist/types/sdk/positions/mergePositionList.d.ts +21 -0
- package/dist/types/sdk/positions/types.d.ts +112 -0
- package/dist/types/sdk/prepare/PrepareApi.d.ts +140 -0
- package/dist/types/sdk/prepare/index.d.ts +9 -0
- package/dist/types/sdk/prepare/types.d.ts +899 -0
- package/dist/types/sdk/prepare/withdrawable-collaterals.d.ts +8 -0
- package/dist/types/sdk/preview/PreviewNamespace.d.ts +30 -0
- package/dist/types/sdk/preview/index.d.ts +3 -0
- package/dist/types/sdk/preview/types.d.ts +48 -0
- package/dist/types/sdk/rewards/RewardsNamespace.d.ts +21 -0
- package/dist/types/sdk/rewards/errors.d.ts +20 -0
- package/dist/types/sdk/rewards/helpers.d.ts +42 -0
- package/dist/types/sdk/rewards/index.d.ts +6 -0
- package/dist/types/sdk/rewards/merkl-api.d.ts +57 -0
- package/dist/types/sdk/rewards/toMerklRewards.d.ts +10 -0
- package/dist/types/sdk/rewards/toTurtleRewards.d.ts +9 -0
- package/dist/types/sdk/rewards/turtle-api.d.ts +63 -0
- package/dist/types/sdk/rewards/types.d.ts +32 -0
- package/dist/types/sdk/types.d.ts +176 -0
- package/dist/types/sdk/utils/filterResponse.d.ts +16 -0
- package/dist/types/sdk/utils/index.d.ts +4 -0
- package/dist/types/sdk/utils/mergeChains.d.ts +19 -0
- package/dist/types/sdk/utils/types.d.ts +41 -0
- package/dist/types/testnets/TestnetsAPI.d.ts +106 -0
- package/dist/types/testnets/errors/TestnetNotFoundError.d.ts +10 -0
- package/dist/types/testnets/errors/TestnetRequestFailedError.d.ts +9 -0
- package/dist/types/testnets/errors/TestnetStatusError.d.ts +13 -0
- package/dist/types/testnets/errors/TestnetValidationError.d.ts +14 -0
- package/dist/types/testnets/errors/TestnetWaitTimeoutError.d.ts +19 -0
- package/dist/types/testnets/errors/index.d.ts +7 -0
- package/dist/types/testnets/index.d.ts +17 -0
- package/dist/types/testnets/types.d.ts +715 -0
- package/package.json +1 -1
- package/dist/types/dev/AccountOpener.d.mts +0 -109
- package/dist/types/dev/EthCallSpy.d.mts +0 -28
- package/dist/types/dev/RevolverTransport.d.mts +0 -212
- package/dist/types/dev/calcLiquidatableLTs.d.mts +0 -10
- package/dist/types/dev/claimFromFaucet.d.mts +0 -28
- package/dist/types/dev/create2.d.mts +0 -62
- package/dist/types/dev/index.d.mts +0 -30
- package/dist/types/dev/kycUtils.d.mts +0 -129
- package/dist/types/dev/lowerHealthFactor.d.mts +0 -32
- package/dist/types/dev/ltUtils.d.mts +0 -13
- package/dist/types/dev/midasUtils.d.mts +0 -63
- package/dist/types/dev/migrateFaucet.d.mts +0 -10
- package/dist/types/dev/mint/AbstractMinter.d.mts +0 -17
- package/dist/types/dev/mint/DealMinter.d.mts +0 -6
- package/dist/types/dev/mint/DirectMinter.d.mts +0 -6
- package/dist/types/dev/mint/FallbackMinter.d.mts +0 -11
- package/dist/types/dev/mint/TransferMinter.d.mts +0 -6
- package/dist/types/dev/mint/factory.d.mts +0 -6
- package/dist/types/dev/mint/index.d.mts +0 -3
- package/dist/types/dev/mode-parity/compareOpportunities.d.mts +0 -99
- package/dist/types/dev/mode-parity/comparePositions.d.mts +0 -144
- package/dist/types/dev/mode-parity/compareRules.d.mts +0 -30
- package/dist/types/dev/mode-parity/fieldDiff.d.mts +0 -209
- package/dist/types/dev/mode-parity/scriptUtils.d.mts +0 -69
- package/dist/types/dev/providers.d.mts +0 -63
- package/dist/types/dev/replaceStorage.d.mts +0 -23
- package/dist/types/dev/securitizeUtils.d.mts +0 -59
- package/dist/types/dev/withdrawalUtils.d.mts +0 -24
- package/dist/types/history/assembleOperations.d.mts +0 -33
- package/dist/types/history/classifyMulticallOperations.d.mts +0 -53
- package/dist/types/history/index.d.mts +0 -13
- package/dist/types/history/mapOperations.d.mts +0 -26
- package/dist/types/history/parseCreditAccountTransaction.d.mts +0 -28
- package/dist/types/history/populateContractsRegister.d.mts +0 -23
- package/dist/types/history/toLegacyOperation.d.mts +0 -18
- package/dist/types/history/trace/extractAdapterCallTraces.d.mts +0 -23
- package/dist/types/history/trace/extractTransfers.d.mts +0 -52
- package/dist/types/history/trace/findFacadeCalls.d.mts +0 -11
- package/dist/types/history/trace/index.d.mts +0 -6
- package/dist/types/history/trace/types.d.mts +0 -22
- package/dist/types/history/types.d.mts +0 -30
- package/dist/types/model/analytics.d.mts +0 -154
- package/dist/types/model/analytics.schema.d.mts +0 -464
- package/dist/types/model/charts.d.mts +0 -365
- package/dist/types/model/charts.schema.d.mts +0 -365
- package/dist/types/model/errors/index.d.mts +0 -7
- package/dist/types/model/errors/liquidation-errors.d.mts +0 -59
- package/dist/types/model/errors/operation-errors.d.mts +0 -349
- package/dist/types/model/errors/oracle-errors.d.mts +0 -16
- package/dist/types/model/errors/prepare-errors.d.mts +0 -119
- package/dist/types/model/errors/preview-errors.d.mts +0 -69
- package/dist/types/model/filters.d.mts +0 -33
- package/dist/types/model/filters.schema.d.mts +0 -23
- package/dist/types/model/index.d.mts +0 -35
- package/dist/types/model/liquidations.d.mts +0 -261
- package/dist/types/model/opportunities.d.mts +0 -671
- package/dist/types/model/positions.d.mts +0 -545
- package/dist/types/model/previews.d.mts +0 -592
- package/dist/types/model/response.d.mts +0 -102
- package/dist/types/model/response.schema.d.mts +0 -95
- package/dist/types/model/result.d.mts +0 -56
- package/dist/types/model/rewards.d.mts +0 -33
- package/dist/types/model/rwa.d.mts +0 -184
- package/dist/types/model/withdrawals.d.mts +0 -103
- package/dist/types/offchain/AbstractOffchainNamespace.d.mts +0 -73
- package/dist/types/offchain/GearboxAPI.d.mts +0 -42
- package/dist/types/offchain/analytics/OffchainAnalytics.d.mts +0 -20
- package/dist/types/offchain/analytics/OffchainAnalyticsPositions.d.mts +0 -14
- package/dist/types/offchain/analytics/index.d.mts +0 -4
- package/dist/types/offchain/analytics/types.d.mts +0 -38
- package/dist/types/offchain/errors/OffchainInvalidJsonError.d.mts +0 -13
- package/dist/types/offchain/errors/OffchainRequestFailedError.d.mts +0 -9
- package/dist/types/offchain/errors/OffchainStatusError.d.mts +0 -13
- package/dist/types/offchain/errors/index.d.mts +0 -15
- package/dist/types/offchain/index.d.mts +0 -31
- package/dist/types/offchain/opportunities/OffchainOpportunities.d.mts +0 -33
- package/dist/types/offchain/opportunities/index.d.mts +0 -3
- package/dist/types/offchain/opportunities/types.d.mts +0 -33
- package/dist/types/offchain/positions/OffchainPositions.d.mts +0 -31
- package/dist/types/offchain/positions/index.d.mts +0 -3
- package/dist/types/offchain/positions/types.d.mts +0 -33
- package/dist/types/offchain/types.d.mts +0 -25
- package/dist/types/onchain/MultichainSDK.d.mts +0 -157
- package/dist/types/onchain/OnchainSDK.d.mts +0 -309
- package/dist/types/onchain/abi/index.d.mts +0 -2
- package/dist/types/onchain/accounts/CreditAccountsServiceV310.d.mts +0 -151
- package/dist/types/onchain/accounts/bots/AccountBotsService.d.mts +0 -35
- package/dist/types/onchain/accounts/bots/PeripheryCompressorV310Contract.d.mts +0 -234
- package/dist/types/onchain/accounts/bots/index.d.mts +0 -4
- package/dist/types/onchain/accounts/bots/types.d.mts +0 -140
- package/dist/types/onchain/accounts/credit-account-compressor/CreditAccountCompressor.d.mts +0 -48
- package/dist/types/onchain/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.d.mts +0 -877
- package/dist/types/onchain/accounts/credit-account-compressor/index.d.mts +0 -4
- package/dist/types/onchain/accounts/credit-account-compressor/types.d.mts +0 -147
- package/dist/types/onchain/accounts/index.d.mts +0 -37
- package/dist/types/onchain/accounts/intents/borrow.d.mts +0 -143
- package/dist/types/onchain/accounts/intents/collateral-valuation.d.mts +0 -41
- package/dist/types/onchain/accounts/intents/guards.d.mts +0 -103
- package/dist/types/onchain/accounts/intents/index.d.mts +0 -287
- package/dist/types/onchain/accounts/intents/leverage-band.d.mts +0 -57
- package/dist/types/onchain/accounts/intents/math.d.mts +0 -56
- package/dist/types/onchain/accounts/intents/maxBorrow.d.mts +0 -53
- package/dist/types/onchain/accounts/intents/maxBorrowAndWithdraw.d.mts +0 -10
- package/dist/types/onchain/accounts/intents/maxWithdrawCollateral.d.mts +0 -31
- package/dist/types/onchain/accounts/intents/open-strategy.d.mts +0 -86
- package/dist/types/onchain/accounts/intents/operations.d.mts +0 -221
- package/dist/types/onchain/accounts/intents/plan.d.mts +0 -227
- package/dist/types/onchain/accounts/intents/realize.d.mts +0 -47
- package/dist/types/onchain/accounts/intents/resolveQuotaUpdate.d.mts +0 -36
- package/dist/types/onchain/accounts/intents/strategyLimits.d.mts +0 -31
- package/dist/types/onchain/accounts/intents/tail.d.mts +0 -64
- package/dist/types/onchain/accounts/intents/tests/add-collateral.fixtures.d.mts +0 -42
- package/dist/types/onchain/accounts/intents/tests/adjust-leverage.fixtures.d.mts +0 -53
- package/dist/types/onchain/accounts/intents/tests/deposit.fixtures.d.mts +0 -61
- package/dist/types/onchain/accounts/intents/tests/finish-decrease-leverage.fixtures.d.mts +0 -107
- package/dist/types/onchain/accounts/intents/tests/finish-withdraw.fixtures.d.mts +0 -135
- package/dist/types/onchain/accounts/intents/tests/open-strategy.fixtures.d.mts +0 -53
- package/dist/types/onchain/accounts/intents/tests/update-quota.fixtures.d.mts +0 -46
- package/dist/types/onchain/accounts/intents/tests/withdraw-asset.fixtures.d.mts +0 -57
- package/dist/types/onchain/accounts/intents/tests/withdraw.fixtures.d.mts +0 -76
- package/dist/types/onchain/accounts/intents/types.d.mts +0 -584
- package/dist/types/onchain/accounts/intents/utils/adjust-state-to-snapshot.d.mts +0 -10
- package/dist/types/onchain/accounts/intents/utils/assemble-operation-calls.d.mts +0 -8
- package/dist/types/onchain/accounts/intents/utils/common.d.mts +0 -30
- package/dist/types/onchain/accounts/intents/utils/credit-account-slice.d.mts +0 -39
- package/dist/types/onchain/accounts/intents/utils/index.d.mts +0 -11
- package/dist/types/onchain/accounts/intents/utils/ledger.d.mts +0 -38
- package/dist/types/onchain/accounts/intents/utils/pick-token.d.mts +0 -52
- package/dist/types/onchain/accounts/intents/utils/price-impact.d.mts +0 -50
- package/dist/types/onchain/accounts/intents/utils/quotas-for-update.d.mts +0 -92
- package/dist/types/onchain/accounts/intents/utils/router-path.d.mts +0 -87
- package/dist/types/onchain/accounts/intents/view.d.mts +0 -12
- package/dist/types/onchain/accounts/intents/withdraw-limits.d.mts +0 -84
- package/dist/types/onchain/accounts/liquidations/LiquidationsService.d.mts +0 -89
- package/dist/types/onchain/accounts/liquidations/MultichainLiquidationsService.d.mts +0 -55
- package/dist/types/onchain/accounts/liquidations/index.d.mts +0 -6
- package/dist/types/onchain/accounts/liquidations/partialLiquidation.d.mts +0 -86
- package/dist/types/onchain/accounts/liquidations/skipLiquidatableAccount.d.mts +0 -8
- package/dist/types/onchain/accounts/liquidations/types.d.mts +0 -248
- package/dist/types/onchain/accounts/multicall-utils.d.mts +0 -40
- package/dist/types/onchain/accounts/quota-utils.d.mts +0 -96
- package/dist/types/onchain/accounts/types.d.mts +0 -575
- package/dist/types/onchain/accounts/withdrawal-compressor/AbstractWithdrawalCompressorContract.d.mts +0 -118
- package/dist/types/onchain/accounts/withdrawal-compressor/RedemptionLoggerV310Contract.d.mts +0 -154
- package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV310Contract.d.mts +0 -334
- package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV311Contract.d.mts +0 -338
- package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV313Contract.d.mts +0 -653
- package/dist/types/onchain/accounts/withdrawal-compressor/addresses.d.mts +0 -20
- package/dist/types/onchain/accounts/withdrawal-compressor/createRedemptionLogger.d.mts +0 -10
- package/dist/types/onchain/accounts/withdrawal-compressor/createWithdrawalCompressor.d.mts +0 -10
- package/dist/types/onchain/accounts/withdrawal-compressor/index.d.mts +0 -11
- package/dist/types/onchain/accounts/withdrawal-compressor/intent-codec.d.mts +0 -27
- package/dist/types/onchain/accounts/withdrawal-compressor/types.d.mts +0 -409
- package/dist/types/onchain/base/BaseContract.d.mts +0 -190
- package/dist/types/onchain/base/ChainContractsRegister.d.mts +0 -131
- package/dist/types/onchain/base/Construct.d.mts +0 -71
- package/dist/types/onchain/base/MultichainConstruct.d.mts +0 -103
- package/dist/types/onchain/base/SDKConstruct.d.mts +0 -18
- package/dist/types/onchain/base/TokensMeta.d.mts +0 -211
- package/dist/types/onchain/base/index.d.mts +0 -10
- package/dist/types/onchain/base/token-types.d.mts +0 -77
- package/dist/types/onchain/base/types.d.mts +0 -490
- package/dist/types/onchain/chain/chains.d.mts +0 -242
- package/dist/types/onchain/chain/detectNetwork.d.mts +0 -10
- package/dist/types/onchain/chain/index.d.mts +0 -3
- package/dist/types/onchain/constants/index.d.mts +0 -8
- package/dist/types/onchain/constants/networks.d.mts +0 -4
- package/dist/types/onchain/core/AbstractAddressProviderContract.d.mts +0 -42
- package/dist/types/onchain/core/AddressProviderV310Contract.d.mts +0 -262
- package/dist/types/onchain/core/createAddressProvider.d.mts +0 -5
- package/dist/types/onchain/core/errors.d.mts +0 -72
- package/dist/types/onchain/core/index.d.mts +0 -5
- package/dist/types/onchain/core/types.d.mts +0 -79
- package/dist/types/onchain/index.d.mts +0 -357
- package/dist/types/onchain/market/MarketConfiguratorContract.d.mts +0 -1552
- package/dist/types/onchain/market/MarketRegister.d.mts +0 -143
- package/dist/types/onchain/market/MarketSuite.d.mts +0 -208
- package/dist/types/onchain/market/ZapperRegister.d.mts +0 -60
- package/dist/types/onchain/market/adapters/abi/actionAbi.d.mts +0 -22
- package/dist/types/onchain/market/adapters/abi/adapters/index.d.mts +0 -39
- package/dist/types/onchain/market/adapters/abi/conctructorAbi.d.mts +0 -7
- package/dist/types/onchain/market/adapters/abi/index.d.mts +0 -54
- package/dist/types/onchain/market/adapters/abi/midas/index.d.mts +0 -2
- package/dist/types/onchain/market/adapters/abi/securitize/index.d.mts +0 -4
- package/dist/types/onchain/market/adapters/abi/treehouse/index.d.mts +0 -4
- package/dist/types/onchain/market/adapters/abi/utils.d.mts +0 -30
- package/dist/types/onchain/market/adapters/contracts/AbstractAdapter.d.mts +0 -138
- package/dist/types/onchain/market/adapters/contracts/AbstractCurveAdapter.d.mts +0 -20
- package/dist/types/onchain/market/adapters/contracts/AccountMigratorAdapterContract.d.mts +0 -482
- package/dist/types/onchain/market/adapters/contracts/BalancerV3RouterAdapterContract.d.mts +0 -457
- package/dist/types/onchain/market/adapters/contracts/BalancerV3WrapperAdapterContract.d.mts +0 -170
- package/dist/types/onchain/market/adapters/contracts/CamelotV3AdapterContract.d.mts +0 -661
- package/dist/types/onchain/market/adapters/contracts/ConvexV1BaseRewardPoolAdapterContract.d.mts +0 -698
- package/dist/types/onchain/market/adapters/contracts/ConvexV1BoosterAdapterContract.d.mts +0 -429
- package/dist/types/onchain/market/adapters/contracts/Curve2AssetsAdapterContract.d.mts +0 -1778
- package/dist/types/onchain/market/adapters/contracts/Curve3AssetsAdapterContract.d.mts +0 -1778
- package/dist/types/onchain/market/adapters/contracts/Curve4AssetsAdapterContract.d.mts +0 -1778
- package/dist/types/onchain/market/adapters/contracts/CurveV1AdapterStETHContract.d.mts +0 -1765
- package/dist/types/onchain/market/adapters/contracts/CurveV1StableNGAdapterContract.d.mts +0 -1748
- package/dist/types/onchain/market/adapters/contracts/DaiUsdsAdapterContract.d.mts +0 -213
- package/dist/types/onchain/market/adapters/contracts/ERC4626AdapterContract.d.mts +0 -693
- package/dist/types/onchain/market/adapters/contracts/ERC4626ReferralAdapterContract.d.mts +0 -307
- package/dist/types/onchain/market/adapters/contracts/FluidDexAdapterContract.d.mts +0 -258
- package/dist/types/onchain/market/adapters/contracts/InfinifiGatewayAdapterContract.d.mts +0 -489
- package/dist/types/onchain/market/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.d.mts +0 -365
- package/dist/types/onchain/market/adapters/contracts/KelpLRTDepositPoolAdapterContract.d.mts +0 -255
- package/dist/types/onchain/market/adapters/contracts/KelpLRTWithdrawalManagerAdapterContract.d.mts +0 -374
- package/dist/types/onchain/market/adapters/contracts/LidoV1AdapterContract.d.mts +0 -222
- package/dist/types/onchain/market/adapters/contracts/MellowClaimerAdapterContract.d.mts +0 -300
- package/dist/types/onchain/market/adapters/contracts/MellowDVVAdapterContract.d.mts +0 -718
- package/dist/types/onchain/market/adapters/contracts/MellowERC4626VaultAdapterContract.d.mts +0 -698
- package/dist/types/onchain/market/adapters/contracts/MellowWrapperAdapterContract.d.mts +0 -214
- package/dist/types/onchain/market/adapters/contracts/MidasGatewayAdapterContract.d.mts +0 -676
- package/dist/types/onchain/market/adapters/contracts/MidasIssuanceVaultAdapterContract.d.mts +0 -248
- package/dist/types/onchain/market/adapters/contracts/MidasRedemptionVaultAdapterContract.d.mts +0 -488
- package/dist/types/onchain/market/adapters/contracts/PendleRouterAdapterContract.d.mts +0 -2413
- package/dist/types/onchain/market/adapters/contracts/SecuritizeOnRampAdapterContract.d.mts +0 -452
- package/dist/types/onchain/market/adapters/contracts/SecuritizeRedemptionGatewayAdapterContract.d.mts +0 -512
- package/dist/types/onchain/market/adapters/contracts/StakingRewardsAdapterContract.d.mts +0 -286
- package/dist/types/onchain/market/adapters/contracts/TraderJoeRouterAdapterContract.d.mts +0 -489
- package/dist/types/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.d.mts +0 -154
- package/dist/types/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.d.mts +0 -479
- package/dist/types/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.d.mts +0 -191
- package/dist/types/onchain/market/adapters/contracts/UniswapV2AdapterContract.d.mts +0 -973
- package/dist/types/onchain/market/adapters/contracts/UniswapV3AdapterContract.d.mts +0 -565
- package/dist/types/onchain/market/adapters/contracts/UniswapV4AdapterContract.d.mts +0 -429
- package/dist/types/onchain/market/adapters/contracts/UpshiftVaultAdapterContract.d.mts +0 -362
- package/dist/types/onchain/market/adapters/contracts/VelodromeV2AdapterContract.d.mts +0 -367
- package/dist/types/onchain/market/adapters/contracts/WstETHV1AdapterContract.d.mts +0 -401
- package/dist/types/onchain/market/adapters/contracts/index.d.mts +0 -43
- package/dist/types/onchain/market/adapters/createAdapter.d.mts +0 -8
- package/dist/types/onchain/market/adapters/index.d.mts +0 -99
- package/dist/types/onchain/market/adapters/transferHelpers.d.mts +0 -60
- package/dist/types/onchain/market/adapters/types.d.mts +0 -116
- package/dist/types/onchain/market/credit/CreditConfiguratorV310Contract.d.mts +0 -499
- package/dist/types/onchain/market/credit/CreditFacadeV310BaseContract.d.mts +0 -856
- package/dist/types/onchain/market/credit/CreditFacadeV310Contract.d.mts +0 -74
- package/dist/types/onchain/market/credit/CreditManagerV310Contract.d.mts +0 -1013
- package/dist/types/onchain/market/credit/CreditSuite.d.mts +0 -254
- package/dist/types/onchain/market/credit/CreditSuiteStrategy.d.mts +0 -75
- package/dist/types/onchain/market/credit/collateralUtils.d.mts +0 -94
- package/dist/types/onchain/market/credit/createCreditConfigurator.d.mts +0 -5
- package/dist/types/onchain/market/credit/createCreditFacade.d.mts +0 -5
- package/dist/types/onchain/market/credit/createCreditManager.d.mts +0 -5
- package/dist/types/onchain/market/credit/expectedBalanceDeltas.d.mts +0 -36
- package/dist/types/onchain/market/credit/index.d.mts +0 -10
- package/dist/types/onchain/market/credit/types.d.mts +0 -296
- package/dist/types/onchain/market/index.d.mts +0 -170
- package/dist/types/onchain/market/loss-policy/AliasLossPolicyV310Contract.d.mts +0 -295
- package/dist/types/onchain/market/loss-policy/LossPolicyContract.d.mts +0 -138
- package/dist/types/onchain/market/loss-policy/createLossPolicy.d.mts +0 -5
- package/dist/types/onchain/market/loss-policy/index.d.mts +0 -5
- package/dist/types/onchain/market/loss-policy/types.d.mts +0 -15
- package/dist/types/onchain/market/math.d.mts +0 -270
- package/dist/types/onchain/market/oracle/PriceFeedAnswerMap.d.mts +0 -8
- package/dist/types/onchain/market/oracle/PriceOracleBaseContract.d.mts +0 -146
- package/dist/types/onchain/market/oracle/PriceOracleV310Contract.d.mts +0 -350
- package/dist/types/onchain/market/oracle/collateralPriceInUnderlying.d.mts +0 -16
- package/dist/types/onchain/market/oracle/createPriceOracle.d.mts +0 -5
- package/dist/types/onchain/market/oracle/index.d.mts +0 -5
- package/dist/types/onchain/market/oracle/types.d.mts +0 -257
- package/dist/types/onchain/market/pool/GaugeContract.d.mts +0 -403
- package/dist/types/onchain/market/pool/LinearInterestRateModelContract.d.mts +0 -143
- package/dist/types/onchain/market/pool/PoolQuotaKeeperV310Contract.d.mts +0 -510
- package/dist/types/onchain/market/pool/PoolSuite.d.mts +0 -123
- package/dist/types/onchain/market/pool/PoolV310Contract.d.mts +0 -1186
- package/dist/types/onchain/market/pool/TumblerContract.d.mts +0 -193
- package/dist/types/onchain/market/pool/createInterestRateModel.d.mts +0 -5
- package/dist/types/onchain/market/pool/createPool.d.mts +0 -5
- package/dist/types/onchain/market/pool/createPoolQuotaKeeper.d.mts +0 -5
- package/dist/types/onchain/market/pool/createRateKeeper.d.mts +0 -5
- package/dist/types/onchain/market/pool/index.d.mts +0 -6
- package/dist/types/onchain/market/pool/math.d.mts +0 -64
- package/dist/types/onchain/market/pool/types.d.mts +0 -174
- package/dist/types/onchain/market/pricefeeds/AbstractLPPriceFeed.d.mts +0 -16
- package/dist/types/onchain/market/pricefeeds/AbstractPriceFeed.d.mts +0 -42
- package/dist/types/onchain/market/pricefeeds/PriceFeedRef.d.mts +0 -37
- package/dist/types/onchain/market/pricefeeds/PriceFeedRegistry.d.mts +0 -57
- package/dist/types/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/BalancerWeightedPriceFeed.d.mts +0 -16
- package/dist/types/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.mts +0 -13
- package/dist/types/onchain/market/pricefeeds/feeds/CompositePriceFeed.d.mts +0 -12
- package/dist/types/onchain/market/pricefeeds/feeds/ConstantPriceFeed.d.mts +0 -12
- package/dist/types/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.mts +0 -9
- package/dist/types/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/PendleTWAPPTPriceFeed.d.mts +0 -215
- package/dist/types/onchain/market/pricefeeds/feeds/PythPriceFeed.d.mts +0 -224
- package/dist/types/onchain/market/pricefeeds/feeds/RedstonePriceFeed.d.mts +0 -20
- package/dist/types/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.mts +0 -10
- package/dist/types/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.mts +0 -9
- package/dist/types/onchain/market/pricefeeds/feeds/index.d.mts +0 -18
- package/dist/types/onchain/market/pricefeeds/index.d.mts +0 -31
- package/dist/types/onchain/market/pricefeeds/types.d.mts +0 -97
- package/dist/types/onchain/market/pricefeeds/updates/PriceUpdateTx.d.mts +0 -14
- package/dist/types/onchain/market/pricefeeds/updates/PriceUpdatesCache.d.mts +0 -17
- package/dist/types/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.d.mts +0 -109
- package/dist/types/onchain/market/pricefeeds/updates/getRawPriceUpdates.d.mts +0 -3
- package/dist/types/onchain/market/pricefeeds/updates/index.d.mts +0 -7
- package/dist/types/onchain/market/pricefeeds/updates/isUpdatablePriceFeed.d.mts +0 -3
- package/dist/types/onchain/market/pricefeeds/updates/types.d.mts +0 -70
- package/dist/types/onchain/market/pricefeeds/updates/updatableDependencies.d.mts +0 -7
- package/dist/types/onchain/market/rwa/RWARegistry.d.mts +0 -70
- package/dist/types/onchain/market/rwa/createDegenNFT.d.mts +0 -9
- package/dist/types/onchain/market/rwa/index.d.mts +0 -13
- package/dist/types/onchain/market/rwa/midas/MidasDegenNFT.d.mts +0 -111
- package/dist/types/onchain/market/rwa/midas/MidasLiquidatorContract.d.mts +0 -91
- package/dist/types/onchain/market/rwa/midas/index.d.mts +0 -4
- package/dist/types/onchain/market/rwa/securitize/SecuritizeDegenNFT.d.mts +0 -439
- package/dist/types/onchain/market/rwa/securitize/SecuritizeLiquidatorContract.d.mts +0 -102
- package/dist/types/onchain/market/rwa/securitize/SecuritizeRWAFactory.d.mts +0 -505
- package/dist/types/onchain/market/rwa/securitize/index.d.mts +0 -6
- package/dist/types/onchain/market/rwa/securitize/types.d.mts +0 -62
- package/dist/types/onchain/market/rwa/types.d.mts +0 -214
- package/dist/types/onchain/market/strategyName.d.mts +0 -13
- package/dist/types/onchain/market/types.d.mts +0 -14
- package/dist/types/onchain/market/zapper/IERC20ZapperContract.d.mts +0 -405
- package/dist/types/onchain/market/zapper/IETHZapperContract.d.mts +0 -241
- package/dist/types/onchain/market/zapper/ZapperContract.d.mts +0 -41
- package/dist/types/onchain/market/zapper/createZapper.d.mts +0 -4
- package/dist/types/onchain/market/zapper/index.d.mts +0 -6
- package/dist/types/onchain/market/zapper/types.d.mts +0 -69
- package/dist/types/onchain/opportunities/MultichainOpportunitiesService.d.mts +0 -42
- package/dist/types/onchain/opportunities/OpportunitiesService.d.mts +0 -50
- package/dist/types/onchain/opportunities/index.d.mts +0 -4
- package/dist/types/onchain/opportunities/types.d.mts +0 -35
- package/dist/types/onchain/options.d.mts +0 -40
- package/dist/types/onchain/plugins/BasePlugin.d.mts +0 -65
- package/dist/types/onchain/plugins/errors.d.mts +0 -4
- package/dist/types/onchain/plugins/index.d.mts +0 -4
- package/dist/types/onchain/plugins/types.d.mts +0 -120
- package/dist/types/onchain/pools/PoolService.d.mts +0 -62
- package/dist/types/onchain/pools/index.d.mts +0 -3
- package/dist/types/onchain/pools/types.d.mts +0 -288
- package/dist/types/onchain/positions/MultichainPositionsService.d.mts +0 -26
- package/dist/types/onchain/positions/PositionsService.d.mts +0 -112
- package/dist/types/onchain/positions/calcBorrowRate.d.mts +0 -43
- package/dist/types/onchain/positions/calcHealthFactor.d.mts +0 -56
- package/dist/types/onchain/positions/calcLiquidationPrice.d.mts +0 -18
- package/dist/types/onchain/positions/calcLiquidationPriceForTarget.d.mts +0 -40
- package/dist/types/onchain/positions/calcTimeToLiquidationMs.d.mts +0 -13
- package/dist/types/onchain/positions/index.d.mts +0 -9
- package/dist/types/onchain/positions/types.d.mts +0 -130
- package/dist/types/onchain/preview/index.d.mts +0 -25
- package/dist/types/onchain/preview/parse/classifyInnerOperations.d.mts +0 -22
- package/dist/types/onchain/preview/parse/index.d.mts +0 -11
- package/dist/types/onchain/preview/parse/parseFacadeOperationCalldata.d.mts +0 -21
- package/dist/types/onchain/preview/parse/parseOperationCalldata.d.mts +0 -15
- package/dist/types/onchain/preview/parse/parsePoolOperationCalldata.d.mts +0 -18
- package/dist/types/onchain/preview/parse/parseRWAFactoryOperationCalldata.d.mts +0 -15
- package/dist/types/onchain/preview/parse/types-adapters.d.mts +0 -63
- package/dist/types/onchain/preview/parse/types-facades.d.mts +0 -148
- package/dist/types/onchain/preview/parse/types-rwa.d.mts +0 -37
- package/dist/types/onchain/preview/parse/types.d.mts +0 -22
- package/dist/types/onchain/preview/preview/CreditAccountState.d.mts +0 -92
- package/dist/types/onchain/preview/preview/buildDelayedStrategyPositionOperationPreview.d.mts +0 -30
- package/dist/types/onchain/preview/preview/detectCloseOrRepay.d.mts +0 -23
- package/dist/types/onchain/preview/preview/detectDelayedClaim.d.mts +0 -50
- package/dist/types/onchain/preview/preview/detectDelayedOperation.d.mts +0 -36
- package/dist/types/onchain/preview/preview/estimateClaimableAt.d.mts +0 -16
- package/dist/types/onchain/preview/preview/index.d.mts +0 -13
- package/dist/types/onchain/preview/preview/midasGreenlistsAccount.d.mts +0 -10
- package/dist/types/onchain/preview/preview/previewAdjustStrategyPosition.d.mts +0 -17
- package/dist/types/onchain/preview/preview/previewExitOrRepayStrategyPosition.d.mts +0 -18
- package/dist/types/onchain/preview/preview/previewOpenStrategyPosition.d.mts +0 -14
- package/dist/types/onchain/preview/preview/previewOperation.d.mts +0 -29
- package/dist/types/onchain/preview/preview/previewPoolPositionOperation.d.mts +0 -10
- package/dist/types/onchain/preview/preview/replayInnerOperations.d.mts +0 -48
- package/dist/types/onchain/preview/preview/replayMulticall.d.mts +0 -42
- package/dist/types/onchain/preview/preview/unwrapNativeCollateral.d.mts +0 -26
- package/dist/types/onchain/router/AbstractRouterContract.d.mts +0 -45
- package/dist/types/onchain/router/RouterV310Contract.d.mts +0 -934
- package/dist/types/onchain/router/createRouter.d.mts +0 -4
- package/dist/types/onchain/router/helpers.d.mts +0 -12
- package/dist/types/onchain/router/index.d.mts +0 -5
- package/dist/types/onchain/router/types.d.mts +0 -282
- package/dist/types/onchain/types/index.d.mts +0 -6
- package/dist/types/onchain/types/multichain.d.mts +0 -42
- package/dist/types/onchain/types/state-human.d.mts +0 -226
- package/dist/types/onchain/types/state.d.mts +0 -89
- package/dist/types/onchain/utils/AssetsMap.d.mts +0 -44
- package/dist/types/onchain/utils/childLogger.d.mts +0 -3
- package/dist/types/onchain/utils/createRawTx.d.mts +0 -11
- package/dist/types/onchain/utils/etherscan.d.mts +0 -14
- package/dist/types/onchain/utils/filterDust.d.mts +0 -19
- package/dist/types/onchain/utils/index.d.mts +0 -21
- package/dist/types/onchain/utils/internal/index.d.mts +0 -2
- package/dist/types/onchain/utils/isDust.d.mts +0 -18
- package/dist/types/onchain/utils/toAddress.d.mts +0 -4
- package/dist/types/onchain/utils/viem/executeDelegatedMulticalls.d.mts +0 -29
- package/dist/types/onchain/utils/viem/index.d.mts +0 -9
- package/dist/types/onchain/utils/viem/sendRawTx.d.mts +0 -12
- package/dist/types/onchain/utils/viem/simulateWithPriceUpdates.d.mts +0 -42
- package/dist/types/onchain/validation/bundles/checkAccountQuotas.d.mts +0 -13
- package/dist/types/onchain/validation/bundles/checkCollateralFunding.d.mts +0 -19
- package/dist/types/onchain/validation/bundles/checkCreditOperation.d.mts +0 -29
- package/dist/types/onchain/validation/bundles/checkHealthFactors.d.mts +0 -36
- package/dist/types/onchain/validation/bundles/checkIncreaseDebt.d.mts +0 -17
- package/dist/types/onchain/validation/bundles/checkIncreaseQuota.d.mts +0 -7
- package/dist/types/onchain/validation/bundles/checkLiquidationEligibility.d.mts +0 -18
- package/dist/types/onchain/validation/bundles/checkLiquidationFunding.d.mts +0 -16
- package/dist/types/onchain/validation/bundles/checkMarket.d.mts +0 -12
- package/dist/types/onchain/validation/bundles/checkMidasAccountGreenlist.d.mts +0 -19
- package/dist/types/onchain/validation/bundles/checkObtained.d.mts +0 -6
- package/dist/types/onchain/validation/bundles/checkPoolFunding.d.mts +0 -16
- package/dist/types/onchain/validation/bundles/checkPoolOperation.d.mts +0 -22
- package/dist/types/onchain/validation/bundles/checkQuotaUpdates.d.mts +0 -13
- package/dist/types/onchain/validation/bundles/checkRWAOpenRequirements.d.mts +0 -18
- package/dist/types/onchain/validation/bundles/checkRWAOpening.d.mts +0 -18
- package/dist/types/onchain/validation/bundles/checkWallet.d.mts +0 -20
- package/dist/types/onchain/validation/bundles/checkWalletAllowance.d.mts +0 -15
- package/dist/types/onchain/validation/bundles/checkWalletBalance.d.mts +0 -14
- package/dist/types/onchain/validation/bundles/index.d.mts +0 -20
- package/dist/types/onchain/validation/checkLiquidation.d.mts +0 -21
- package/dist/types/onchain/validation/checkOperation.d.mts +0 -29
- package/dist/types/onchain/validation/checkSimulation.d.mts +0 -42
- package/dist/types/onchain/validation/checks/checkBorrowLimit.d.mts +0 -18
- package/dist/types/onchain/validation/checks/checkCollateralised.d.mts +0 -22
- package/dist/types/onchain/validation/checks/checkCreditAccountFrozen.d.mts +0 -9
- package/dist/types/onchain/validation/checks/checkCreditManagerPaused.d.mts +0 -9
- package/dist/types/onchain/validation/checks/checkDebtLimits.d.mts +0 -22
- package/dist/types/onchain/validation/checks/checkEmergencyLiquidator.d.mts +0 -14
- package/dist/types/onchain/validation/checks/checkForbiddenToken.d.mts +0 -9
- package/dist/types/onchain/validation/checks/checkLeverage.d.mts +0 -9
- package/dist/types/onchain/validation/checks/checkLiquidatorEligible.d.mts +0 -10
- package/dist/types/onchain/validation/checks/checkMarketExpired.d.mts +0 -11
- package/dist/types/onchain/validation/checks/checkMaxQuota.d.mts +0 -13
- package/dist/types/onchain/validation/checks/checkPartiallyLiquidatable.d.mts +0 -14
- package/dist/types/onchain/validation/checks/checkPoolLiquidity.d.mts +0 -10
- package/dist/types/onchain/validation/checks/checkPoolPaused.d.mts +0 -9
- package/dist/types/onchain/validation/checks/checkPoolSunset.d.mts +0 -10
- package/dist/types/onchain/validation/checks/checkQuotaActive.d.mts +0 -10
- package/dist/types/onchain/validation/checks/checkQuotaChange.d.mts +0 -14
- package/dist/types/onchain/validation/checks/checkQuotaCount.d.mts +0 -8
- package/dist/types/onchain/validation/checks/checkQuotaLimit.d.mts +0 -15
- package/dist/types/onchain/validation/checks/checkReservePriceLimited.d.mts +0 -28
- package/dist/types/onchain/validation/checks/index.d.mts +0 -21
- package/dist/types/onchain/validation/helpers/amount.d.mts +0 -4
- package/dist/types/onchain/validation/helpers/index.d.mts +0 -4
- package/dist/types/onchain/validation/helpers/token.d.mts +0 -14
- package/dist/types/onchain/validation/index.d.mts +0 -50
- package/dist/types/onchain/validation/raise.d.mts +0 -30
- package/dist/types/permissionless/api/GearboxPermissionless.d.mts +0 -74
- package/dist/types/permissionless/api/analytics/PermissionlessAnalytics.d.mts +0 -36
- package/dist/types/permissionless/api/analytics/index.d.mts +0 -3
- package/dist/types/permissionless/api/analytics/types.d.mts +0 -36
- package/dist/types/permissionless/api/chains/ChainsNamespace.d.mts +0 -96
- package/dist/types/permissionless/api/chains/index.d.mts +0 -3
- package/dist/types/permissionless/api/deploy/PermissionlessDeploy.d.mts +0 -66
- package/dist/types/permissionless/api/deploy/index.d.mts +0 -4
- package/dist/types/permissionless/api/deploy/types.d.mts +0 -84
- package/dist/types/permissionless/api/index.d.mts +0 -32
- package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.mts +0 -342
- package/dist/types/permissionless/api/oracles/enrich.d.mts +0 -57
- package/dist/types/permissionless/api/oracles/index.d.mts +0 -13
- package/dist/types/permissionless/api/oracles/onchain-feed.d.mts +0 -13
- package/dist/types/permissionless/api/oracles/score/formula.d.mts +0 -34
- package/dist/types/permissionless/api/oracles/score/index.d.mts +0 -4
- package/dist/types/permissionless/api/oracles/score/run.d.mts +0 -40
- package/dist/types/permissionless/api/oracles/stress/classify.d.mts +0 -55
- package/dist/types/permissionless/api/oracles/stress/index.d.mts +0 -6
- package/dist/types/permissionless/api/oracles/stress/override.d.mts +0 -57
- package/dist/types/permissionless/api/oracles/stress/run.d.mts +0 -98
- package/dist/types/permissionless/api/oracles/stress/score.d.mts +0 -55
- package/dist/types/permissionless/api/oracles/types.d.mts +0 -494
- package/dist/types/permissionless/api/transactions/InstanceOwnerTransactions.d.mts +0 -65
- package/dist/types/permissionless/api/transactions/index.d.mts +0 -3
- package/dist/types/permissionless/api/transactions/lp-price-feeds.d.mts +0 -22
- package/dist/types/permissionless/api/transactions/types.d.mts +0 -55
- package/dist/types/permissionless/api/types.d.mts +0 -24
- package/dist/types/permissionless/bindings/address-provider.d.mts +0 -9
- package/dist/types/permissionless/bindings/bytecode-repository.d.mts +0 -1364
- package/dist/types/permissionless/bindings/compressors/index.d.mts +0 -3
- package/dist/types/permissionless/bindings/compressors/token-compressor.d.mts +0 -119
- package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.mts +0 -784
- package/dist/types/permissionless/bindings/cross-chain-multisig.d.mts +0 -838
- package/dist/types/permissionless/bindings/factory/credit-factory.d.mts +0 -224
- package/dist/types/permissionless/bindings/factory/loss-policy-factory.d.mts +0 -143
- package/dist/types/permissionless/bindings/factory/pool-factory.d.mts +0 -86
- package/dist/types/permissionless/bindings/factory/price-oracle-factory.d.mts +0 -38
- package/dist/types/permissionless/bindings/factory/rate-keeper-factory.d.mts +0 -179
- package/dist/types/permissionless/bindings/governance/batches-chain.d.mts +0 -40
- package/dist/types/permissionless/bindings/governance/governor.d.mts +0 -618
- package/dist/types/permissionless/bindings/governance/index.d.mts +0 -4
- package/dist/types/permissionless/bindings/governance/timelock.d.mts +0 -11
- package/dist/types/permissionless/bindings/governance/types.d.mts +0 -43
- package/dist/types/permissionless/bindings/index.d.mts +0 -21
- package/dist/types/permissionless/bindings/instance-manager.d.mts +0 -365
- package/dist/types/permissionless/bindings/kill-switch-proxy.d.mts +0 -203
- package/dist/types/permissionless/bindings/market-configurator-factory.d.mts +0 -275
- package/dist/types/permissionless/bindings/market-configurator.d.mts +0 -1699
- package/dist/types/permissionless/bindings/price-feed-store.d.mts +0 -608
- package/dist/types/permissionless/bindings/pricefeeds/balancer-stable.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/balancer-weighted.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/bounded.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/composite.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/constant.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/curve-crypto.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/curve-stable.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/curve-twap.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/curve-usd.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/erc4626.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/external.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/index.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/kodiak.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/mellow-lrt.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/pendle-pt-twap.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/pyth.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/redstone.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/wsteth.d.mts +0 -3
- package/dist/types/permissionless/bindings/pricefeeds/zero.d.mts +0 -3
- package/dist/types/permissionless/bindings/router/index.d.mts +0 -2
- package/dist/types/permissionless/bindings/router/routing-manager.d.mts +0 -503
- package/dist/types/permissionless/bindings/treasury-splitter.d.mts +0 -394
- package/dist/types/permissionless/core/index.d.mts +0 -7
- package/dist/types/permissionless/core/proposal.d.mts +0 -28
- package/dist/types/permissionless/index.d.mts +0 -66
- package/dist/types/permissionless/plugins/index.d.mts +0 -4
- package/dist/types/permissionless/utils/create2.d.mts +0 -18
- package/dist/types/permissionless/utils/governance/batch.d.mts +0 -19
- package/dist/types/permissionless/utils/governance/index.d.mts +0 -4
- package/dist/types/permissionless/utils/governance/timelock-txs.d.mts +0 -3
- package/dist/types/permissionless/utils/governance/types.d.mts +0 -21
- package/dist/types/permissionless/utils/index.d.mts +0 -15
- package/dist/types/permissionless/utils/price-update/get-price-update-tx.d.mts +0 -14
- package/dist/types/permissionless/utils/price-update/get-updatable-feeds.d.mts +0 -16
- package/dist/types/permissionless/utils/price-update/index.d.mts +0 -4
- package/dist/types/plugins/accounts/AccountsPlugin.d.mts +0 -23
- package/dist/types/plugins/accounts/index.d.mts +0 -2
- package/dist/types/plugins/accounts-counter/AccountsCounterPlugin.d.mts +0 -21
- package/dist/types/plugins/accounts-counter/index.d.mts +0 -2
- package/dist/types/plugins/bots/BotsPlugin.d.mts +0 -15
- package/dist/types/plugins/bots/PartialLiquidationBotV310Contract.d.mts +0 -214
- package/dist/types/plugins/bots/abi/index.d.mts +0 -2
- package/dist/types/plugins/bots/config.d.mts +0 -9
- package/dist/types/plugins/bots/deserializePartialLiquidationBotParams.d.mts +0 -4
- package/dist/types/plugins/bots/index.d.mts +0 -7
- package/dist/types/plugins/bots/types.d.mts +0 -50
- package/dist/types/sdk/AbstractNamespace.d.mts +0 -64
- package/dist/types/sdk/GearboxSDK.d.mts +0 -97
- package/dist/types/sdk/analytics/AnalyticsNamespace.d.mts +0 -14
- package/dist/types/sdk/analytics/index.d.mts +0 -3
- package/dist/types/sdk/analytics/types.d.mts +0 -28
- package/dist/types/sdk/errors/AllSourcesFailedError.d.mts +0 -8
- package/dist/types/sdk/errors/MissingSourceError.d.mts +0 -20
- package/dist/types/sdk/errors/NoSourceServedError.d.mts +0 -14
- package/dist/types/sdk/errors/SourceChainMismatchError.d.mts +0 -32
- package/dist/types/sdk/errors/SourceUnavailableError.d.mts +0 -19
- package/dist/types/sdk/errors/assertSameChains.d.mts +0 -8
- package/dist/types/sdk/errors/everyChainFailed.d.mts +0 -7
- package/dist/types/sdk/errors/index.d.mts +0 -11
- package/dist/types/sdk/execute/ExecuteApi.d.mts +0 -16
- package/dist/types/sdk/execute/index.d.mts +0 -3
- package/dist/types/sdk/execute/types.d.mts +0 -130
- package/dist/types/sdk/index.d.mts +0 -48
- package/dist/types/sdk/liquidations/LiquidationsNamespace.d.mts +0 -49
- package/dist/types/sdk/liquidations/index.d.mts +0 -3
- package/dist/types/sdk/liquidations/types.d.mts +0 -75
- package/dist/types/sdk/opportunities/OpportunitiesNamespace.d.mts +0 -69
- package/dist/types/sdk/opportunities/index.d.mts +0 -3
- package/dist/types/sdk/opportunities/types.d.mts +0 -140
- package/dist/types/sdk/positions/PositionsNamespace.d.mts +0 -52
- package/dist/types/sdk/positions/index.d.mts +0 -3
- package/dist/types/sdk/positions/mergePositionList.d.mts +0 -21
- package/dist/types/sdk/positions/types.d.mts +0 -112
- package/dist/types/sdk/prepare/PrepareApi.d.mts +0 -140
- package/dist/types/sdk/prepare/index.d.mts +0 -9
- package/dist/types/sdk/prepare/types.d.mts +0 -899
- package/dist/types/sdk/prepare/withdrawable-collaterals.d.mts +0 -8
- package/dist/types/sdk/preview/PreviewNamespace.d.mts +0 -30
- package/dist/types/sdk/preview/index.d.mts +0 -3
- package/dist/types/sdk/preview/types.d.mts +0 -48
- package/dist/types/sdk/rewards/RewardsNamespace.d.mts +0 -21
- package/dist/types/sdk/rewards/errors.d.mts +0 -20
- package/dist/types/sdk/rewards/helpers.d.mts +0 -42
- package/dist/types/sdk/rewards/index.d.mts +0 -6
- package/dist/types/sdk/rewards/merkl-api.d.mts +0 -57
- package/dist/types/sdk/rewards/toMerklRewards.d.mts +0 -10
- package/dist/types/sdk/rewards/toTurtleRewards.d.mts +0 -9
- package/dist/types/sdk/rewards/turtle-api.d.mts +0 -63
- package/dist/types/sdk/rewards/types.d.mts +0 -32
- package/dist/types/sdk/types.d.mts +0 -176
- package/dist/types/sdk/utils/filterResponse.d.mts +0 -16
- package/dist/types/sdk/utils/index.d.mts +0 -4
- package/dist/types/sdk/utils/mergeChains.d.mts +0 -19
- package/dist/types/sdk/utils/types.d.mts +0 -41
- package/dist/types/testnets/TestnetsAPI.d.mts +0 -106
- package/dist/types/testnets/errors/TestnetNotFoundError.d.mts +0 -10
- package/dist/types/testnets/errors/TestnetRequestFailedError.d.mts +0 -9
- package/dist/types/testnets/errors/TestnetStatusError.d.mts +0 -13
- package/dist/types/testnets/errors/TestnetValidationError.d.mts +0 -14
- package/dist/types/testnets/errors/TestnetWaitTimeoutError.d.mts +0 -19
- package/dist/types/testnets/errors/index.d.mts +0 -7
- package/dist/types/testnets/index.d.mts +0 -17
- package/dist/types/testnets/types.d.mts +0 -715
- /package/dist/types/abi/310/configure/{creditSuiteParams.d.mts → creditSuiteParams.d.ts} +0 -0
- /package/dist/types/abi/310/configure/{iCreditConfigureActions.d.mts → iCreditConfigureActions.d.ts} +0 -0
- /package/dist/types/abi/310/configure/{iPoolConfigureActions.d.mts → iPoolConfigureActions.d.ts} +0 -0
- /package/dist/types/abi/310/configure/{iPriceOracleConfigureActions.d.mts → iPriceOracleConfigureActions.d.ts} +0 -0
- /package/dist/types/abi/310/{crossChainMultisig.d.mts → crossChainMultisig.d.ts} +0 -0
- /package/dist/types/abi/310/{generated.d.mts → generated.d.ts} +0 -0
- /package/dist/types/abi/310/{iBytecodeRepository.d.mts → iBytecodeRepository.d.ts} +0 -0
- /package/dist/types/abi/310/{iKillSwitchProxy.d.mts → iKillSwitchProxy.d.ts} +0 -0
- /package/dist/types/abi/310/{iLinearInterestRateModelV310.d.mts → iLinearInterestRateModelV310.d.ts} +0 -0
- /package/dist/types/abi/310/{iMarketConfiguratorFactory.d.mts → iMarketConfiguratorFactory.d.ts} +0 -0
- /package/dist/types/abi/310/{iPriceFeedStore.d.mts → iPriceFeedStore.d.ts} +0 -0
- /package/dist/types/abi/310/{iTreasurySplitter.d.mts → iTreasurySplitter.d.ts} +0 -0
- /package/dist/types/abi/310/{instanceManager.d.mts → instanceManager.d.ts} +0 -0
- /package/dist/types/abi/{AccountMigrator.d.mts → AccountMigrator.d.ts} +0 -0
- /package/dist/types/abi/{ILiquidationCompressorV313.d.mts → ILiquidationCompressorV313.d.ts} +0 -0
- /package/dist/types/abi/{IWithdrawalCompressorV310.d.mts → IWithdrawalCompressorV310.d.ts} +0 -0
- /package/dist/types/abi/{IWithdrawalCompressorV311.d.mts → IWithdrawalCompressorV311.d.ts} +0 -0
- /package/dist/types/abi/{IWithdrawalCompressorV313.d.mts → IWithdrawalCompressorV313.d.ts} +0 -0
- /package/dist/types/abi/compressors/{creditAccountCompressor.d.mts → creditAccountCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{creditSuiteCompressor.d.mts → creditSuiteCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{defillamaCompressor.d.mts → defillamaCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{gaugeCompressor.d.mts → gaugeCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{liquidationCompressor.d.mts → liquidationCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{marketCompressor.d.mts → marketCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{peripheryCompressor.d.mts → peripheryCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{priceFeedCompressor.d.mts → priceFeedCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{rewardsCompressor.d.mts → rewardsCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{rwaCompressor.d.mts → rwaCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/liquidation/{midasLiquidationSubcompressor.d.mts → midasLiquidationSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/liquidation/{securitizeLiquidationSubcompressor.d.mts → securitizeLiquidationSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/liquidation/{treehouseLiquidationSubcompressor.d.mts → treehouseLiquidationSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/rwa/{onDemandRWAUnderlyingSubcompressor.d.mts → onDemandRWAUnderlyingSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/rwa/{securitizeRWAFactorySubcompressor.d.mts → securitizeRWAFactorySubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{infinifiWithdrawalSubcompressor.d.mts → infinifiWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{kelpLRTWithdrawalSubcompressor.d.mts → kelpLRTWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{mellowFlexibleDepositSubcompressor.d.mts → mellowFlexibleDepositSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{mellowFlexibleRedeemSubcompressor.d.mts → mellowFlexibleRedeemSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{mellowWithdrawalSubcompressor.d.mts → mellowWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{midasWithdrawalSubcompressor.d.mts → midasWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{securitizeRedemptionSubcompressor.d.mts → securitizeRedemptionSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{treehouseWithdrawalSubcompressor.d.mts → treehouseWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/subcompressors/withdrawal/{upshiftWithdrawalSubcompressor.d.mts → upshiftWithdrawalSubcompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{tokenCompressor.d.mts → tokenCompressor.d.ts} +0 -0
- /package/dist/types/abi/compressors/{withdrawalCompressor.d.mts → withdrawalCompressor.d.ts} +0 -0
- /package/dist/types/abi/{errors.d.mts → errors.d.ts} +0 -0
- /package/dist/types/abi/governance/{batchesChain.d.mts → batchesChain.d.ts} +0 -0
- /package/dist/types/abi/governance/{governor.d.mts → governor.d.ts} +0 -0
- /package/dist/types/abi/governance/{iTimeLock.d.mts → iTimeLock.d.ts} +0 -0
- /package/dist/types/abi/helpers/{redemptionLogger.d.mts → redemptionLogger.d.ts} +0 -0
- /package/dist/types/abi/{iAirdropDistributor.d.mts → iAirdropDistributor.d.ts} +0 -0
- /package/dist/types/abi/{iBaseRewardPool.d.mts → iBaseRewardPool.d.ts} +0 -0
- /package/dist/types/abi/{iCurvePool.d.mts → iCurvePool.d.ts} +0 -0
- /package/dist/types/abi/{iDefaultAccountFactoryV3.d.mts → iDefaultAccountFactoryV3.d.ts} +0 -0
- /package/dist/types/abi/{iDegenNFTV2.d.mts → iDegenNFTV2.d.ts} +0 -0
- /package/dist/types/abi/{iERC20.d.mts → iERC20.d.ts} +0 -0
- /package/dist/types/abi/{iERC20Permit.d.mts → iERC20Permit.d.ts} +0 -0
- /package/dist/types/abi/{iERC20Zapper.d.mts → iERC20Zapper.d.ts} +0 -0
- /package/dist/types/abi/{iERC20ZapperDeposits.d.mts → iERC20ZapperDeposits.d.ts} +0 -0
- /package/dist/types/abi/{iETHZapper.d.mts → iETHZapper.d.ts} +0 -0
- /package/dist/types/abi/{iETHZapperDeposits.d.mts → iETHZapperDeposits.d.ts} +0 -0
- /package/dist/types/abi/{iExpirable.d.mts → iExpirable.d.ts} +0 -0
- /package/dist/types/abi/{iFarmingPool.d.mts → iFarmingPool.d.ts} +0 -0
- /package/dist/types/abi/{iInterestRateModel.d.mts → iInterestRateModel.d.ts} +0 -0
- /package/dist/types/abi/{iMulticall3.d.mts → iMulticall3.d.ts} +0 -0
- /package/dist/types/abi/{iOffchainOracle.d.mts → iOffchainOracle.d.ts} +0 -0
- /package/dist/types/abi/{iPausable.d.mts → iPausable.d.ts} +0 -0
- /package/dist/types/abi/{iPhantomToken.d.mts → iPhantomToken.d.ts} +0 -0
- /package/dist/types/abi/{iPriceFeed.d.mts → iPriceFeed.d.ts} +0 -0
- /package/dist/types/abi/{iRedemptionLoggerV310.d.mts → iRedemptionLoggerV310.d.ts} +0 -0
- /package/dist/types/abi/{iStateSerializer.d.mts → iStateSerializer.d.ts} +0 -0
- /package/dist/types/abi/{iUpdatablePriceFeed.d.mts → iUpdatablePriceFeed.d.ts} +0 -0
- /package/dist/types/abi/{iVersion.d.mts → iVersion.d.ts} +0 -0
- /package/dist/types/abi/{iZapper.d.mts → iZapper.d.ts} +0 -0
- /package/dist/types/abi/{ierc4626Adapter.d.mts → ierc4626Adapter.d.ts} +0 -0
- /package/dist/types/abi/{mellow.d.mts → mellow.d.ts} +0 -0
- /package/dist/types/abi/{migration.d.mts → migration.d.ts} +0 -0
- /package/dist/types/abi/router/{balancerV2Worker.d.mts → balancerV2Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{balancerV3Worker.d.mts → balancerV3Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{balancerV3WrapperWorker.d.mts → balancerV3WrapperWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{camelotV3Worker.d.mts → camelotV3Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{convexWorker.d.mts → convexWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{curveWorker.d.mts → curveWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{daiUsdsWorker.d.mts → daiUsdsWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{equalizerRouterWorker.d.mts → equalizerRouterWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{erc4626Worker.d.mts → erc4626Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{fluidDexWorker.d.mts → fluidDexWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{gearboxRouter.d.mts → gearboxRouter.d.ts} +0 -0
- /package/dist/types/abi/router/{infinifiWorker.d.mts → infinifiWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{infraredVaultWorker.d.mts → infraredVaultWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{kelpLRTDepositPoolWorker.d.mts → kelpLRTDepositPoolWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{kodiakWorker.d.mts → kodiakWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{lidoWorker.d.mts → lidoWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{mellow4626Worker.d.mts → mellow4626Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{mellowDVVWorker.d.mts → mellowDVVWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{mellowVaultWorker.d.mts → mellowVaultWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{midasWorker.d.mts → midasWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{pendleRouterWorker.d.mts → pendleRouterWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{routingManager.d.mts → routingManager.d.ts} +0 -0
- /package/dist/types/abi/router/{securitizeOnrampWorker.d.mts → securitizeOnrampWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{stakingRewardsWorker.d.mts → stakingRewardsWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{traderJoeWorker.d.mts → traderJoeWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{treehouseWorker.d.mts → treehouseWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{uniswapV2Worker.d.mts → uniswapV2Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{uniswapV3Worker.d.mts → uniswapV3Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{uniswapV4Worker.d.mts → uniswapV4Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{upshiftWorker.d.mts → upshiftWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{velodromeV2Worker.d.mts → velodromeV2Worker.d.ts} +0 -0
- /package/dist/types/abi/router/{wstETHWorker.d.mts → wstETHWorker.d.ts} +0 -0
- /package/dist/types/abi/router/{yearnV2Worker.d.mts → yearnV2Worker.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iDSRegistryService.d.mts → iDSRegistryService.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iDSToken.d.mts → iDSToken.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iMidasAccessControl.d.mts → iMidasAccessControl.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iMidasDegenNFT.d.mts → iMidasDegenNFT.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iMidasLiquidatorV311.d.mts → iMidasLiquidatorV311.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iRWACompressor.d.mts → iRWACompressor.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iRWAFactory.d.mts → iRWAFactory.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iRWAGateway.d.mts → iRWAGateway.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iRWAUnderlying.d.mts → iRWAUnderlying.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iSecuritizeDegenNFT.d.mts → iSecuritizeDegenNFT.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iSecuritizeLiquidatorV311.d.mts → iSecuritizeLiquidatorV311.d.ts} +0 -0
- /package/dist/types/abi/rwa/{iSecuritizeRWAFactory.d.mts → iSecuritizeRWAFactory.d.ts} +0 -0
- /package/dist/types/dev/{abi.d.mts → abi.d.ts} +0 -0
- /package/dist/types/dev/{createAnvilClient.d.mts → createAnvilClient.d.ts} +0 -0
- /package/dist/types/dev/{detectChain.d.mts → detectChain.d.ts} +0 -0
- /package/dist/types/dev/{isOutOfSyncError.d.mts → isOutOfSyncError.d.ts} +0 -0
- /package/dist/types/dev/{isRateLimitError.d.mts → isRateLimitError.d.ts} +0 -0
- /package/dist/types/dev/{isTransientError.d.mts → isTransientError.d.ts} +0 -0
- /package/dist/types/dev/{logSplitterTransport.d.mts → logSplitterTransport.d.ts} +0 -0
- /package/dist/types/dev/mint/{types.d.mts → types.d.ts} +0 -0
- /package/dist/types/dev/{resilientTransport.d.mts → resilientTransport.d.ts} +0 -0
- /package/dist/types/dev/{transports.d.mts → transports.d.ts} +0 -0
- /package/dist/types/dev/{types.d.mts → types.d.ts} +0 -0
- /package/dist/types/dev/{verifyTestnet.d.mts → verifyTestnet.d.ts} +0 -0
- /package/dist/types/dev/{withdrawalAbi.d.mts → withdrawalAbi.d.ts} +0 -0
- /package/dist/types/history/trace/{errors.d.mts → errors.d.ts} +0 -0
- /package/dist/types/model/{compare.schema.d.mts → compare.schema.d.ts} +0 -0
- /package/dist/types/model/{curators.d.mts → curators.d.ts} +0 -0
- /package/dist/types/model/{curators.schema.d.mts → curators.schema.d.ts} +0 -0
- /package/dist/types/model/{delayed-intent.schema.d.mts → delayed-intent.schema.d.ts} +0 -0
- /package/dist/types/model/{delayed-intents.d.mts → delayed-intents.d.ts} +0 -0
- /package/dist/types/model/errors/{base.d.mts → base.d.ts} +0 -0
- /package/dist/types/model/{liquidations.schema.d.mts → liquidations.schema.d.ts} +0 -0
- /package/dist/types/model/{opportunities.schema.d.mts → opportunities.schema.d.ts} +0 -0
- /package/dist/types/model/{positions.schema.d.mts → positions.schema.d.ts} +0 -0
- /package/dist/types/model/{primitives.d.mts → primitives.d.ts} +0 -0
- /package/dist/types/model/{primitives.schema.d.mts → primitives.schema.d.ts} +0 -0
- /package/dist/types/model/{rwa.schema.d.mts → rwa.schema.d.ts} +0 -0
- /package/dist/types/model/{withdrawals.schema.d.mts → withdrawals.schema.d.ts} +0 -0
- /package/dist/types/offchain/errors/{OffchainNotConfiguredError.d.mts → OffchainNotConfiguredError.d.ts} +0 -0
- /package/dist/types/offchain/errors/{OffchainNotImplementedError.d.mts → OffchainNotImplementedError.d.ts} +0 -0
- /package/dist/types/offchain/errors/{OffchainTransportError.d.mts → OffchainTransportError.d.ts} +0 -0
- /package/dist/types/offchain/errors/{OffchainValidationError.d.mts → OffchainValidationError.d.ts} +0 -0
- /package/dist/types/offchain/errors/{backendMessage.d.mts → backendMessage.d.ts} +0 -0
- /package/dist/types/offchain/errors/{errorCause.d.mts → errorCause.d.ts} +0 -0
- /package/dist/types/offchain/errors/{readResponseBody.d.mts → readResponseBody.d.ts} +0 -0
- /package/dist/types/onchain/abi/{oracles.d.mts → oracles.d.ts} +0 -0
- /package/dist/types/onchain/accounts/bots/{abi.d.mts → abi.d.ts} +0 -0
- /package/dist/types/onchain/accounts/intents/utils/{borrowed-amount-plus-interest-and-fees.d.mts → borrowed-amount-plus-interest-and-fees.d.ts} +0 -0
- /package/dist/types/onchain/accounts/liquidations/{constants.d.mts → constants.d.ts} +0 -0
- /package/dist/types/onchain/base/{errors.d.mts → errors.d.ts} +0 -0
- /package/dist/types/onchain/constants/{address-provider.d.mts → address-provider.d.ts} +0 -0
- /package/dist/types/onchain/constants/{addresses.d.mts → addresses.d.ts} +0 -0
- /package/dist/types/onchain/constants/{bot-permissions.d.mts → bot-permissions.d.ts} +0 -0
- /package/dist/types/onchain/constants/{math.d.mts → math.d.ts} +0 -0
- /package/dist/types/onchain/constants/{periphery.d.mts → periphery.d.ts} +0 -0
- /package/dist/types/onchain/constants/{versions.d.mts → versions.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{erc4626ReferralAdapter.d.mts → erc4626ReferralAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iBalancerV3RouterAdapter.d.mts → iBalancerV3RouterAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iBalancerV3WrapperAdapter.d.mts → iBalancerV3WrapperAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iCamelotV3Adapter.d.mts → iCamelotV3Adapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iConvexV1BaseRewardPoolAdapter.d.mts → iConvexV1BaseRewardPoolAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iConvexV1BoosterAdapter.d.mts → iConvexV1BoosterAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iCurveV1StableNgAdapter.d.mts → iCurveV1StableNgAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iCurveV1_2AssetsAdapter.d.mts → iCurveV1_2AssetsAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iCurveV1_3AssetsAdapter.d.mts → iCurveV1_3AssetsAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iCurveV1_4AssetsAdapter.d.mts → iCurveV1_4AssetsAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iDaiUsdsAdapter.d.mts → iDaiUsdsAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iFluidDexAdapter.d.mts → iFluidDexAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iInfinifiGatewayAdapter.d.mts → iInfinifiGatewayAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iInfinifiUnwindingGateway.d.mts → iInfinifiUnwindingGateway.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iKelpLrtDepositPool.d.mts → iKelpLrtDepositPool.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iKelpLrtWithdrawalManager.d.mts → iKelpLrtWithdrawalManager.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iLidoV1Adapter.d.mts → iLidoV1Adapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iMellow4626VaultAdapter.d.mts → iMellow4626VaultAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iMellowClaimerAdapter.d.mts → iMellowClaimerAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iMellowWrapperAdapter.d.mts → iMellowWrapperAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iMidasGatewayAdapterV311.d.mts → iMidasGatewayAdapterV311.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iMidasIssuanceVaultAdapterV310.d.mts → iMidasIssuanceVaultAdapterV310.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iMidasRedemptionVaultAdapterV310.d.mts → iMidasRedemptionVaultAdapterV310.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iPendleRouterAdapter.d.mts → iPendleRouterAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iSecuritizeOnRampAdapterV310.d.mts → iSecuritizeOnRampAdapterV310.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iSecuritizeRedemptionGatewayAdapterV311.d.mts → iSecuritizeRedemptionGatewayAdapterV311.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iStakingRewardsAdapter.d.mts → iStakingRewardsAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iTraderJoeRouterAdapter.d.mts → iTraderJoeRouterAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iTreehouseFastlaneAdapter.d.mts → iTreehouseFastlaneAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iTreehouseRedemptionGatewayAdapter.d.mts → iTreehouseRedemptionGatewayAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iTreehouseRouterAdapter.d.mts → iTreehouseRouterAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iUniswapV2Adapter.d.mts → iUniswapV2Adapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iUniswapV3Adapter.d.mts → iUniswapV3Adapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iUniswapV4Adapter.d.mts → iUniswapV4Adapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iUpshiftVaultAdapter.d.mts → iUpshiftVaultAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iVelodromeV2RouterAdapter.d.mts → iVelodromeV2RouterAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{iwstEthv1Adapter.d.mts → iwstEthv1Adapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/adapters/{mellowDvvAdapter.d.mts → mellowDvvAdapter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/{conctructorAbiPatterns.d.mts → conctructorAbiPatterns.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/midas/{iMidasGatewayV311.d.mts → iMidasGatewayV311.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/securitize/{iBaseOnRamp.d.mts → iBaseOnRamp.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/securitize/{iSecuritizeOnRamp.d.mts → iSecuritizeOnRamp.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/securitize/{iSecuritizeRedemptionGatewayV311.d.mts → iSecuritizeRedemptionGatewayV311.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/{targetContractAbi.d.mts → targetContractAbi.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/treehouse/{iTreehouseFastlane.d.mts → iTreehouseFastlane.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/treehouse/{iTreehouseRedemptionGateway.d.mts → iTreehouseRedemptionGateway.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/abi/treehouse/{iTreehouseRouter.d.mts → iTreehouseRouter.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/{legacyAdapterOperations.d.mts → legacyAdapterOperations.d.ts} +0 -0
- /package/dist/types/onchain/market/adapters/{transfers.d.mts → transfers.d.ts} +0 -0
- /package/dist/types/onchain/market/loss-policy/{constants.d.mts → constants.d.ts} +0 -0
- /package/dist/types/onchain/market/rwa/midas/{constants.d.mts → constants.d.ts} +0 -0
- /package/dist/types/onchain/market/rwa/securitize/{constants.d.mts → constants.d.ts} +0 -0
- /package/dist/types/onchain/preview/parse/{types-pools.d.mts → types-pools.d.ts} +0 -0
- /package/dist/types/onchain/types/{logger.d.mts → logger.d.ts} +0 -0
- /package/dist/types/onchain/types/{transactions.d.mts → transactions.d.ts} +0 -0
- /package/dist/types/onchain/utils/{AddressMap.d.mts → AddressMap.d.ts} +0 -0
- /package/dist/types/onchain/utils/{AddressSet.d.mts → AddressSet.d.ts} +0 -0
- /package/dist/types/onchain/utils/{abi-decode.d.mts → abi-decode.d.ts} +0 -0
- /package/dist/types/onchain/utils/{bigint-math.d.mts → bigint-math.d.ts} +0 -0
- /package/dist/types/onchain/utils/{bytes32ToString.d.mts → bytes32ToString.d.ts} +0 -0
- /package/dist/types/onchain/utils/{formatter.d.mts → formatter.d.ts} +0 -0
- /package/dist/types/onchain/utils/{hex.d.mts → hex.d.ts} +0 -0
- /package/dist/types/onchain/utils/internal/{Hooks.d.mts → Hooks.d.ts} +0 -0
- /package/dist/types/onchain/utils/{json.d.mts → json.d.ts} +0 -0
- /package/dist/types/onchain/utils/{mappers.d.mts → mappers.d.ts} +0 -0
- /package/dist/types/onchain/utils/{retry.d.mts → retry.d.ts} +0 -0
- /package/dist/types/onchain/utils/{trace.d.mts → trace.d.ts} +0 -0
- /package/dist/types/onchain/utils/{type-utils.d.mts → type-utils.d.ts} +0 -0
- /package/dist/types/onchain/utils/viem/{cast.d.mts → cast.d.ts} +0 -0
- /package/dist/types/onchain/utils/viem/{executeMulticallBatches.d.mts → executeMulticallBatches.d.ts} +0 -0
- /package/dist/types/onchain/utils/viem/{simulateCall.d.mts → simulateCall.d.ts} +0 -0
- /package/dist/types/onchain/utils/viem/{simulateMulticall.d.mts → simulateMulticall.d.ts} +0 -0
- /package/dist/types/onchain/utils/viem/{watchBlocksAsync.d.mts → watchBlocksAsync.d.ts} +0 -0
- /package/dist/types/onchain/utils/{zod.d.mts → zod.d.ts} +0 -0
- /package/dist/types/onchain/validation/helpers/{health-factor-limits.d.mts → health-factor-limits.d.ts} +0 -0
- /package/dist/types/permissionless/api/analytics/{schemas.d.mts → schemas.d.ts} +0 -0
- /package/dist/types/permissionless/api/chains/{schemas.d.mts → schemas.d.ts} +0 -0
- /package/dist/types/permissionless/api/chains/{types.d.mts → types.d.ts} +0 -0
- /package/dist/types/permissionless/api/deploy/{effective-staleness.d.mts → effective-staleness.d.ts} +0 -0
- /package/dist/types/permissionless/api/{errors.d.mts → errors.d.ts} +0 -0
- /package/dist/types/permissionless/api/oracles/{schemas.d.mts → schemas.d.ts} +0 -0
- /package/dist/types/permissionless/api/oracles/score/{types.d.mts → types.d.ts} +0 -0
- /package/dist/types/permissionless/api/oracles/stress/{types.d.mts → types.d.ts} +0 -0
- /package/dist/types/permissionless/api/{schemas.d.mts → schemas.d.ts} +0 -0
- /package/dist/types/permissionless/bindings/factory/{abstract-factory.d.mts → abstract-factory.d.ts} +0 -0
- /package/dist/types/permissionless/bindings/{types.d.mts → types.d.ts} +0 -0
- /package/dist/types/permissionless/chains/{archive-transport.d.mts → archive-transport.d.ts} +0 -0
- /package/dist/types/permissionless/chains/{chunked-log-transport.d.mts → chunked-log-transport.d.ts} +0 -0
- /package/dist/types/permissionless/core/{auditor.d.mts → auditor.d.ts} +0 -0
- /package/dist/types/permissionless/core/{bytecode.d.mts → bytecode.d.ts} +0 -0
- /package/dist/types/permissionless/core/{pricefeed-builder.d.mts → pricefeed-builder.d.ts} +0 -0
- /package/dist/types/permissionless/core/{pricefeed.d.mts → pricefeed.d.ts} +0 -0
- /package/dist/types/permissionless/core/{raw-tx.d.mts → raw-tx.d.ts} +0 -0
- /package/dist/types/permissionless/deployment/{addresses.d.mts → addresses.d.ts} +0 -0
- /package/dist/types/permissionless/deployment/{mainnet.d.mts → mainnet.d.ts} +0 -0
- /package/dist/types/permissionless/plugins/irm/{constructor-params-abi.d.mts → constructor-params-abi.d.ts} +0 -0
- /package/dist/types/permissionless/plugins/loss-policies/{constructor-params-abi.d.mts → constructor-params-abi.d.ts} +0 -0
- /package/dist/types/permissionless/plugins/rate-keepers/{constructor-params-abi.d.mts → constructor-params-abi.d.ts} +0 -0
- /package/dist/types/permissionless/utils/{abi-encoder.d.mts → abi-encoder.d.ts} +0 -0
- /package/dist/types/permissionless/utils/{block-utils.d.mts → block-utils.d.ts} +0 -0
- /package/dist/types/permissionless/utils/{format.d.mts → format.d.ts} +0 -0
- /package/dist/types/permissionless/utils/{literals.d.mts → literals.d.ts} +0 -0
- /package/dist/types/permissionless/utils/price-update/{get-prices.d.mts → get-prices.d.ts} +0 -0
- /package/dist/types/permissionless/utils/{signature.d.mts → signature.d.ts} +0 -0
- /package/dist/types/plugins/bots/abi/{iPartialLiquidationBotV310.d.mts → iPartialLiquidationBotV310.d.ts} +0 -0
- /package/dist/types/testnets/errors/{TestnetsError.d.mts → TestnetsError.d.ts} +0 -0
- /package/dist/types/testnets/{schemas.d.mts → schemas.d.ts} +0 -0
|
@@ -0,0 +1,1699 @@
|
|
|
1
|
+
import { ParsedCallArgs } from "../../onchain/base/types.js";
|
|
2
|
+
import { RawTx } from "../../onchain/types/transactions.js";
|
|
3
|
+
import { BaseContract } from "../../onchain/base/BaseContract.js";
|
|
4
|
+
import "../../onchain/index.js";
|
|
5
|
+
import { AddressProviderContract } from "./address-provider.js";
|
|
6
|
+
import { CreditFactory } from "./factory/credit-factory.js";
|
|
7
|
+
import { LossPolicyFactory } from "./factory/loss-policy-factory.js";
|
|
8
|
+
import { PoolFactory } from "./factory/pool-factory.js";
|
|
9
|
+
import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
|
|
10
|
+
import { RateKeeperFactory } from "./factory/rate-keeper-factory.js";
|
|
11
|
+
import { AddAssetParams, AllowTokenParams, DeployParams, EmergencyAdmin, ForbidAdapterParams, ForbidTokenParams, Market, PauseCreditManagerParams, PeripheryDomain, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, UnpauseCreditManagerParams } from "./types.js";
|
|
12
|
+
import { Address, Chain, DecodeFunctionDataReturnType, Hex, PublicClient, Transport } from "viem";
|
|
13
|
+
declare const abi: readonly [{
|
|
14
|
+
readonly type: "function";
|
|
15
|
+
readonly inputs: readonly [];
|
|
16
|
+
readonly name: "acl";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly name: "";
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly stateMutability: "view";
|
|
23
|
+
}, {
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly name: "peripheryContract";
|
|
27
|
+
readonly internalType: "address";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}];
|
|
30
|
+
readonly name: "addPeripheryContract";
|
|
31
|
+
readonly outputs: readonly [];
|
|
32
|
+
readonly stateMutability: "nonpayable";
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
readonly inputs: readonly [{
|
|
36
|
+
readonly name: "pool";
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "token";
|
|
41
|
+
readonly internalType: "address";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "priceFeed";
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "addToken";
|
|
49
|
+
readonly outputs: readonly [];
|
|
50
|
+
readonly stateMutability: "nonpayable";
|
|
51
|
+
}, {
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "addressProvider";
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "admin";
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly name: "";
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "view";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly name: "factory";
|
|
75
|
+
readonly internalType: "address";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "suite";
|
|
79
|
+
readonly internalType: "address";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "target";
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
}];
|
|
86
|
+
readonly name: "authorizeFactory";
|
|
87
|
+
readonly outputs: readonly [];
|
|
88
|
+
readonly stateMutability: "nonpayable";
|
|
89
|
+
}, {
|
|
90
|
+
readonly type: "function";
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly name: "bytecodeRepository";
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly internalType: "address";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
}];
|
|
98
|
+
readonly stateMutability: "view";
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly inputs: readonly [{
|
|
102
|
+
readonly name: "creditManager";
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "data";
|
|
107
|
+
readonly internalType: "bytes";
|
|
108
|
+
readonly type: "bytes";
|
|
109
|
+
}];
|
|
110
|
+
readonly name: "configureCreditSuite";
|
|
111
|
+
readonly outputs: readonly [];
|
|
112
|
+
readonly stateMutability: "nonpayable";
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "function";
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly name: "pool";
|
|
117
|
+
readonly internalType: "address";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "data";
|
|
121
|
+
readonly internalType: "bytes";
|
|
122
|
+
readonly type: "bytes";
|
|
123
|
+
}];
|
|
124
|
+
readonly name: "configureInterestRateModel";
|
|
125
|
+
readonly outputs: readonly [];
|
|
126
|
+
readonly stateMutability: "nonpayable";
|
|
127
|
+
}, {
|
|
128
|
+
readonly type: "function";
|
|
129
|
+
readonly inputs: readonly [{
|
|
130
|
+
readonly name: "pool";
|
|
131
|
+
readonly internalType: "address";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "data";
|
|
135
|
+
readonly internalType: "bytes";
|
|
136
|
+
readonly type: "bytes";
|
|
137
|
+
}];
|
|
138
|
+
readonly name: "configureLossPolicy";
|
|
139
|
+
readonly outputs: readonly [];
|
|
140
|
+
readonly stateMutability: "nonpayable";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly name: "pool";
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "data";
|
|
149
|
+
readonly internalType: "bytes";
|
|
150
|
+
readonly type: "bytes";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "configurePool";
|
|
153
|
+
readonly outputs: readonly [];
|
|
154
|
+
readonly stateMutability: "nonpayable";
|
|
155
|
+
}, {
|
|
156
|
+
readonly type: "function";
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly name: "pool";
|
|
159
|
+
readonly internalType: "address";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly name: "data";
|
|
163
|
+
readonly internalType: "bytes";
|
|
164
|
+
readonly type: "bytes";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "configurePriceOracle";
|
|
167
|
+
readonly outputs: readonly [];
|
|
168
|
+
readonly stateMutability: "nonpayable";
|
|
169
|
+
}, {
|
|
170
|
+
readonly type: "function";
|
|
171
|
+
readonly inputs: readonly [{
|
|
172
|
+
readonly name: "pool";
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
readonly type: "address";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "data";
|
|
177
|
+
readonly internalType: "bytes";
|
|
178
|
+
readonly type: "bytes";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "configureRateKeeper";
|
|
181
|
+
readonly outputs: readonly [];
|
|
182
|
+
readonly stateMutability: "nonpayable";
|
|
183
|
+
}, {
|
|
184
|
+
readonly type: "function";
|
|
185
|
+
readonly inputs: readonly [];
|
|
186
|
+
readonly name: "contractType";
|
|
187
|
+
readonly outputs: readonly [{
|
|
188
|
+
readonly name: "";
|
|
189
|
+
readonly internalType: "bytes32";
|
|
190
|
+
readonly type: "bytes32";
|
|
191
|
+
}];
|
|
192
|
+
readonly stateMutability: "view";
|
|
193
|
+
}, {
|
|
194
|
+
readonly type: "function";
|
|
195
|
+
readonly inputs: readonly [];
|
|
196
|
+
readonly name: "contractsRegister";
|
|
197
|
+
readonly outputs: readonly [{
|
|
198
|
+
readonly name: "";
|
|
199
|
+
readonly internalType: "address";
|
|
200
|
+
readonly type: "address";
|
|
201
|
+
}];
|
|
202
|
+
readonly stateMutability: "view";
|
|
203
|
+
}, {
|
|
204
|
+
readonly type: "function";
|
|
205
|
+
readonly inputs: readonly [{
|
|
206
|
+
readonly name: "minorVersion";
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
readonly type: "uint256";
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "pool";
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
readonly type: "address";
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "encdodedParams";
|
|
215
|
+
readonly internalType: "bytes";
|
|
216
|
+
readonly type: "bytes";
|
|
217
|
+
}];
|
|
218
|
+
readonly name: "createCreditSuite";
|
|
219
|
+
readonly outputs: readonly [{
|
|
220
|
+
readonly name: "creditManager";
|
|
221
|
+
readonly internalType: "address";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}];
|
|
224
|
+
readonly stateMutability: "nonpayable";
|
|
225
|
+
}, {
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
readonly inputs: readonly [{
|
|
228
|
+
readonly name: "minorVersion";
|
|
229
|
+
readonly internalType: "uint256";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "underlying";
|
|
233
|
+
readonly internalType: "address";
|
|
234
|
+
readonly type: "address";
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "name";
|
|
237
|
+
readonly internalType: "string";
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "symbol";
|
|
241
|
+
readonly internalType: "string";
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "interestRateModelParams";
|
|
245
|
+
readonly internalType: "struct DeployParams";
|
|
246
|
+
readonly type: "tuple";
|
|
247
|
+
readonly components: readonly [{
|
|
248
|
+
readonly name: "postfix";
|
|
249
|
+
readonly internalType: "bytes32";
|
|
250
|
+
readonly type: "bytes32";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "salt";
|
|
253
|
+
readonly internalType: "bytes32";
|
|
254
|
+
readonly type: "bytes32";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "constructorParams";
|
|
257
|
+
readonly internalType: "bytes";
|
|
258
|
+
readonly type: "bytes";
|
|
259
|
+
}];
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "rateKeeperParams";
|
|
262
|
+
readonly internalType: "struct DeployParams";
|
|
263
|
+
readonly type: "tuple";
|
|
264
|
+
readonly components: readonly [{
|
|
265
|
+
readonly name: "postfix";
|
|
266
|
+
readonly internalType: "bytes32";
|
|
267
|
+
readonly type: "bytes32";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "salt";
|
|
270
|
+
readonly internalType: "bytes32";
|
|
271
|
+
readonly type: "bytes32";
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "constructorParams";
|
|
274
|
+
readonly internalType: "bytes";
|
|
275
|
+
readonly type: "bytes";
|
|
276
|
+
}];
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "lossPolicyParams";
|
|
279
|
+
readonly internalType: "struct DeployParams";
|
|
280
|
+
readonly type: "tuple";
|
|
281
|
+
readonly components: readonly [{
|
|
282
|
+
readonly name: "postfix";
|
|
283
|
+
readonly internalType: "bytes32";
|
|
284
|
+
readonly type: "bytes32";
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "salt";
|
|
287
|
+
readonly internalType: "bytes32";
|
|
288
|
+
readonly type: "bytes32";
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "constructorParams";
|
|
291
|
+
readonly internalType: "bytes";
|
|
292
|
+
readonly type: "bytes";
|
|
293
|
+
}];
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "underlyingPriceFeed";
|
|
296
|
+
readonly internalType: "address";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}];
|
|
299
|
+
readonly name: "createMarket";
|
|
300
|
+
readonly outputs: readonly [{
|
|
301
|
+
readonly name: "pool";
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly type: "address";
|
|
304
|
+
}];
|
|
305
|
+
readonly stateMutability: "nonpayable";
|
|
306
|
+
}, {
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
readonly inputs: readonly [];
|
|
309
|
+
readonly name: "curatorName";
|
|
310
|
+
readonly outputs: readonly [{
|
|
311
|
+
readonly name: "";
|
|
312
|
+
readonly internalType: "string";
|
|
313
|
+
readonly type: "string";
|
|
314
|
+
}];
|
|
315
|
+
readonly stateMutability: "view";
|
|
316
|
+
}, {
|
|
317
|
+
readonly type: "function";
|
|
318
|
+
readonly inputs: readonly [];
|
|
319
|
+
readonly name: "emergencyAdmin";
|
|
320
|
+
readonly outputs: readonly [{
|
|
321
|
+
readonly name: "";
|
|
322
|
+
readonly internalType: "address";
|
|
323
|
+
readonly type: "address";
|
|
324
|
+
}];
|
|
325
|
+
readonly stateMutability: "view";
|
|
326
|
+
}, {
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
readonly inputs: readonly [{
|
|
329
|
+
readonly name: "creditManager";
|
|
330
|
+
readonly internalType: "address";
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "data";
|
|
334
|
+
readonly internalType: "bytes";
|
|
335
|
+
readonly type: "bytes";
|
|
336
|
+
}];
|
|
337
|
+
readonly name: "emergencyConfigureCreditSuite";
|
|
338
|
+
readonly outputs: readonly [];
|
|
339
|
+
readonly stateMutability: "nonpayable";
|
|
340
|
+
}, {
|
|
341
|
+
readonly type: "function";
|
|
342
|
+
readonly inputs: readonly [{
|
|
343
|
+
readonly name: "pool";
|
|
344
|
+
readonly internalType: "address";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}, {
|
|
347
|
+
readonly name: "data";
|
|
348
|
+
readonly internalType: "bytes";
|
|
349
|
+
readonly type: "bytes";
|
|
350
|
+
}];
|
|
351
|
+
readonly name: "emergencyConfigureInterestRateModel";
|
|
352
|
+
readonly outputs: readonly [];
|
|
353
|
+
readonly stateMutability: "nonpayable";
|
|
354
|
+
}, {
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly name: "pool";
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "data";
|
|
362
|
+
readonly internalType: "bytes";
|
|
363
|
+
readonly type: "bytes";
|
|
364
|
+
}];
|
|
365
|
+
readonly name: "emergencyConfigureLossPolicy";
|
|
366
|
+
readonly outputs: readonly [];
|
|
367
|
+
readonly stateMutability: "nonpayable";
|
|
368
|
+
}, {
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
readonly inputs: readonly [{
|
|
371
|
+
readonly name: "pool";
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "data";
|
|
376
|
+
readonly internalType: "bytes";
|
|
377
|
+
readonly type: "bytes";
|
|
378
|
+
}];
|
|
379
|
+
readonly name: "emergencyConfigurePool";
|
|
380
|
+
readonly outputs: readonly [];
|
|
381
|
+
readonly stateMutability: "nonpayable";
|
|
382
|
+
}, {
|
|
383
|
+
readonly type: "function";
|
|
384
|
+
readonly inputs: readonly [{
|
|
385
|
+
readonly name: "pool";
|
|
386
|
+
readonly internalType: "address";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: "data";
|
|
390
|
+
readonly internalType: "bytes";
|
|
391
|
+
readonly type: "bytes";
|
|
392
|
+
}];
|
|
393
|
+
readonly name: "emergencyConfigurePriceOracle";
|
|
394
|
+
readonly outputs: readonly [];
|
|
395
|
+
readonly stateMutability: "nonpayable";
|
|
396
|
+
}, {
|
|
397
|
+
readonly type: "function";
|
|
398
|
+
readonly inputs: readonly [{
|
|
399
|
+
readonly name: "pool";
|
|
400
|
+
readonly internalType: "address";
|
|
401
|
+
readonly type: "address";
|
|
402
|
+
}, {
|
|
403
|
+
readonly name: "data";
|
|
404
|
+
readonly internalType: "bytes";
|
|
405
|
+
readonly type: "bytes";
|
|
406
|
+
}];
|
|
407
|
+
readonly name: "emergencyConfigureRateKeeper";
|
|
408
|
+
readonly outputs: readonly [];
|
|
409
|
+
readonly stateMutability: "nonpayable";
|
|
410
|
+
}, {
|
|
411
|
+
readonly type: "function";
|
|
412
|
+
readonly inputs: readonly [{
|
|
413
|
+
readonly name: "role";
|
|
414
|
+
readonly internalType: "bytes32";
|
|
415
|
+
readonly type: "bytes32";
|
|
416
|
+
}, {
|
|
417
|
+
readonly name: "account";
|
|
418
|
+
readonly internalType: "address";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
}];
|
|
421
|
+
readonly name: "emergencyRevokeRole";
|
|
422
|
+
readonly outputs: readonly [];
|
|
423
|
+
readonly stateMutability: "nonpayable";
|
|
424
|
+
}, {
|
|
425
|
+
readonly type: "function";
|
|
426
|
+
readonly inputs: readonly [{
|
|
427
|
+
readonly name: "target";
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
readonly type: "address";
|
|
430
|
+
}];
|
|
431
|
+
readonly name: "getAuthorizedFactory";
|
|
432
|
+
readonly outputs: readonly [{
|
|
433
|
+
readonly name: "";
|
|
434
|
+
readonly internalType: "address";
|
|
435
|
+
readonly type: "address";
|
|
436
|
+
}];
|
|
437
|
+
readonly stateMutability: "view";
|
|
438
|
+
}, {
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly name: "creditManager";
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
}];
|
|
445
|
+
readonly name: "getCreditFactory";
|
|
446
|
+
readonly outputs: readonly [{
|
|
447
|
+
readonly name: "";
|
|
448
|
+
readonly internalType: "address";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
}];
|
|
451
|
+
readonly stateMutability: "view";
|
|
452
|
+
}, {
|
|
453
|
+
readonly type: "function";
|
|
454
|
+
readonly inputs: readonly [{
|
|
455
|
+
readonly name: "factory";
|
|
456
|
+
readonly internalType: "address";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "suite";
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
}];
|
|
463
|
+
readonly name: "getFactoryTargets";
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly name: "";
|
|
466
|
+
readonly internalType: "address[]";
|
|
467
|
+
readonly type: "address[]";
|
|
468
|
+
}];
|
|
469
|
+
readonly stateMutability: "view";
|
|
470
|
+
}, {
|
|
471
|
+
readonly type: "function";
|
|
472
|
+
readonly inputs: readonly [{
|
|
473
|
+
readonly name: "pool";
|
|
474
|
+
readonly internalType: "address";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}];
|
|
477
|
+
readonly name: "getMarketFactories";
|
|
478
|
+
readonly outputs: readonly [{
|
|
479
|
+
readonly name: "";
|
|
480
|
+
readonly internalType: "struct MarketFactories";
|
|
481
|
+
readonly type: "tuple";
|
|
482
|
+
readonly components: readonly [{
|
|
483
|
+
readonly name: "poolFactory";
|
|
484
|
+
readonly internalType: "address";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "priceOracleFactory";
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
readonly type: "address";
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "interestRateModelFactory";
|
|
492
|
+
readonly internalType: "address";
|
|
493
|
+
readonly type: "address";
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "rateKeeperFactory";
|
|
496
|
+
readonly internalType: "address";
|
|
497
|
+
readonly type: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "lossPolicyFactory";
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
readonly type: "address";
|
|
502
|
+
}];
|
|
503
|
+
}];
|
|
504
|
+
readonly stateMutability: "view";
|
|
505
|
+
}, {
|
|
506
|
+
readonly type: "function";
|
|
507
|
+
readonly inputs: readonly [{
|
|
508
|
+
readonly name: "domain";
|
|
509
|
+
readonly internalType: "bytes32";
|
|
510
|
+
readonly type: "bytes32";
|
|
511
|
+
}];
|
|
512
|
+
readonly name: "getPeripheryContracts";
|
|
513
|
+
readonly outputs: readonly [{
|
|
514
|
+
readonly name: "";
|
|
515
|
+
readonly internalType: "address[]";
|
|
516
|
+
readonly type: "address[]";
|
|
517
|
+
}];
|
|
518
|
+
readonly stateMutability: "view";
|
|
519
|
+
}, {
|
|
520
|
+
readonly type: "function";
|
|
521
|
+
readonly inputs: readonly [{
|
|
522
|
+
readonly name: "role";
|
|
523
|
+
readonly internalType: "bytes32";
|
|
524
|
+
readonly type: "bytes32";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "account";
|
|
527
|
+
readonly internalType: "address";
|
|
528
|
+
readonly type: "address";
|
|
529
|
+
}];
|
|
530
|
+
readonly name: "grantRole";
|
|
531
|
+
readonly outputs: readonly [];
|
|
532
|
+
readonly stateMutability: "nonpayable";
|
|
533
|
+
}, {
|
|
534
|
+
readonly type: "function";
|
|
535
|
+
readonly inputs: readonly [{
|
|
536
|
+
readonly name: "domain";
|
|
537
|
+
readonly internalType: "bytes32";
|
|
538
|
+
readonly type: "bytes32";
|
|
539
|
+
}, {
|
|
540
|
+
readonly name: "peripheryContract";
|
|
541
|
+
readonly internalType: "address";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
}];
|
|
544
|
+
readonly name: "isPeripheryContract";
|
|
545
|
+
readonly outputs: readonly [{
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly internalType: "bool";
|
|
548
|
+
readonly type: "bool";
|
|
549
|
+
}];
|
|
550
|
+
readonly stateMutability: "view";
|
|
551
|
+
}, {
|
|
552
|
+
readonly type: "function";
|
|
553
|
+
readonly inputs: readonly [{
|
|
554
|
+
readonly name: "marketMinorVersion";
|
|
555
|
+
readonly internalType: "uint256";
|
|
556
|
+
readonly type: "uint256";
|
|
557
|
+
}, {
|
|
558
|
+
readonly name: "creditSuiteMinorVersion";
|
|
559
|
+
readonly internalType: "uint256";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
}, {
|
|
562
|
+
readonly name: "underlying";
|
|
563
|
+
readonly internalType: "address";
|
|
564
|
+
readonly type: "address";
|
|
565
|
+
}, {
|
|
566
|
+
readonly name: "name";
|
|
567
|
+
readonly internalType: "string";
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
}, {
|
|
570
|
+
readonly name: "symbol";
|
|
571
|
+
readonly internalType: "string";
|
|
572
|
+
readonly type: "string";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "encodedParams";
|
|
575
|
+
readonly internalType: "bytes";
|
|
576
|
+
readonly type: "bytes";
|
|
577
|
+
}];
|
|
578
|
+
readonly name: "previewCreateCreditSuite";
|
|
579
|
+
readonly outputs: readonly [{
|
|
580
|
+
readonly name: "creditManager";
|
|
581
|
+
readonly internalType: "address";
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
}];
|
|
584
|
+
readonly stateMutability: "view";
|
|
585
|
+
}, {
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
readonly inputs: readonly [{
|
|
588
|
+
readonly name: "minorVersion";
|
|
589
|
+
readonly internalType: "uint256";
|
|
590
|
+
readonly type: "uint256";
|
|
591
|
+
}, {
|
|
592
|
+
readonly name: "pool";
|
|
593
|
+
readonly internalType: "address";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "encodedParams";
|
|
597
|
+
readonly internalType: "bytes";
|
|
598
|
+
readonly type: "bytes";
|
|
599
|
+
}];
|
|
600
|
+
readonly name: "previewCreateCreditSuite";
|
|
601
|
+
readonly outputs: readonly [{
|
|
602
|
+
readonly name: "creditManager";
|
|
603
|
+
readonly internalType: "address";
|
|
604
|
+
readonly type: "address";
|
|
605
|
+
}];
|
|
606
|
+
readonly stateMutability: "view";
|
|
607
|
+
}, {
|
|
608
|
+
readonly type: "function";
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly name: "minorVersion";
|
|
611
|
+
readonly internalType: "uint256";
|
|
612
|
+
readonly type: "uint256";
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "underlying";
|
|
615
|
+
readonly internalType: "address";
|
|
616
|
+
readonly type: "address";
|
|
617
|
+
}, {
|
|
618
|
+
readonly name: "name";
|
|
619
|
+
readonly internalType: "string";
|
|
620
|
+
readonly type: "string";
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "symbol";
|
|
623
|
+
readonly internalType: "string";
|
|
624
|
+
readonly type: "string";
|
|
625
|
+
}];
|
|
626
|
+
readonly name: "previewCreateMarket";
|
|
627
|
+
readonly outputs: readonly [{
|
|
628
|
+
readonly name: "pool";
|
|
629
|
+
readonly internalType: "address";
|
|
630
|
+
readonly type: "address";
|
|
631
|
+
}];
|
|
632
|
+
readonly stateMutability: "view";
|
|
633
|
+
}, {
|
|
634
|
+
readonly type: "function";
|
|
635
|
+
readonly inputs: readonly [{
|
|
636
|
+
readonly name: "peripheryContract";
|
|
637
|
+
readonly internalType: "address";
|
|
638
|
+
readonly type: "address";
|
|
639
|
+
}];
|
|
640
|
+
readonly name: "removePeripheryContract";
|
|
641
|
+
readonly outputs: readonly [];
|
|
642
|
+
readonly stateMutability: "nonpayable";
|
|
643
|
+
}, {
|
|
644
|
+
readonly type: "function";
|
|
645
|
+
readonly inputs: readonly [{
|
|
646
|
+
readonly name: "role";
|
|
647
|
+
readonly internalType: "bytes32";
|
|
648
|
+
readonly type: "bytes32";
|
|
649
|
+
}, {
|
|
650
|
+
readonly name: "account";
|
|
651
|
+
readonly internalType: "address";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
}];
|
|
654
|
+
readonly name: "revokeRole";
|
|
655
|
+
readonly outputs: readonly [];
|
|
656
|
+
readonly stateMutability: "nonpayable";
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "function";
|
|
659
|
+
readonly inputs: readonly [{
|
|
660
|
+
readonly name: "newEmergencyAdmin";
|
|
661
|
+
readonly internalType: "address";
|
|
662
|
+
readonly type: "address";
|
|
663
|
+
}];
|
|
664
|
+
readonly name: "setEmergencyAdmin";
|
|
665
|
+
readonly outputs: readonly [];
|
|
666
|
+
readonly stateMutability: "nonpayable";
|
|
667
|
+
}, {
|
|
668
|
+
readonly type: "function";
|
|
669
|
+
readonly inputs: readonly [{
|
|
670
|
+
readonly name: "creditManager";
|
|
671
|
+
readonly internalType: "address";
|
|
672
|
+
readonly type: "address";
|
|
673
|
+
}];
|
|
674
|
+
readonly name: "shutdownCreditSuite";
|
|
675
|
+
readonly outputs: readonly [];
|
|
676
|
+
readonly stateMutability: "nonpayable";
|
|
677
|
+
}, {
|
|
678
|
+
readonly type: "function";
|
|
679
|
+
readonly inputs: readonly [{
|
|
680
|
+
readonly name: "pool";
|
|
681
|
+
readonly internalType: "address";
|
|
682
|
+
readonly type: "address";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "shutdownMarket";
|
|
685
|
+
readonly outputs: readonly [];
|
|
686
|
+
readonly stateMutability: "nonpayable";
|
|
687
|
+
}, {
|
|
688
|
+
readonly type: "function";
|
|
689
|
+
readonly inputs: readonly [];
|
|
690
|
+
readonly name: "treasury";
|
|
691
|
+
readonly outputs: readonly [{
|
|
692
|
+
readonly name: "";
|
|
693
|
+
readonly internalType: "address";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}];
|
|
696
|
+
readonly stateMutability: "view";
|
|
697
|
+
}, {
|
|
698
|
+
readonly type: "function";
|
|
699
|
+
readonly inputs: readonly [{
|
|
700
|
+
readonly name: "factory";
|
|
701
|
+
readonly internalType: "address";
|
|
702
|
+
readonly type: "address";
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "suite";
|
|
705
|
+
readonly internalType: "address";
|
|
706
|
+
readonly type: "address";
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "target";
|
|
709
|
+
readonly internalType: "address";
|
|
710
|
+
readonly type: "address";
|
|
711
|
+
}];
|
|
712
|
+
readonly name: "unauthorizeFactory";
|
|
713
|
+
readonly outputs: readonly [];
|
|
714
|
+
readonly stateMutability: "nonpayable";
|
|
715
|
+
}, {
|
|
716
|
+
readonly type: "function";
|
|
717
|
+
readonly inputs: readonly [{
|
|
718
|
+
readonly name: "pool";
|
|
719
|
+
readonly internalType: "address";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
}, {
|
|
722
|
+
readonly name: "params";
|
|
723
|
+
readonly internalType: "struct DeployParams";
|
|
724
|
+
readonly type: "tuple";
|
|
725
|
+
readonly components: readonly [{
|
|
726
|
+
readonly name: "postfix";
|
|
727
|
+
readonly internalType: "bytes32";
|
|
728
|
+
readonly type: "bytes32";
|
|
729
|
+
}, {
|
|
730
|
+
readonly name: "salt";
|
|
731
|
+
readonly internalType: "bytes32";
|
|
732
|
+
readonly type: "bytes32";
|
|
733
|
+
}, {
|
|
734
|
+
readonly name: "constructorParams";
|
|
735
|
+
readonly internalType: "bytes";
|
|
736
|
+
readonly type: "bytes";
|
|
737
|
+
}];
|
|
738
|
+
}];
|
|
739
|
+
readonly name: "updateInterestRateModel";
|
|
740
|
+
readonly outputs: readonly [{
|
|
741
|
+
readonly name: "irm";
|
|
742
|
+
readonly internalType: "address";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
}];
|
|
745
|
+
readonly stateMutability: "nonpayable";
|
|
746
|
+
}, {
|
|
747
|
+
readonly type: "function";
|
|
748
|
+
readonly inputs: readonly [{
|
|
749
|
+
readonly name: "pool";
|
|
750
|
+
readonly internalType: "address";
|
|
751
|
+
readonly type: "address";
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "params";
|
|
754
|
+
readonly internalType: "struct DeployParams";
|
|
755
|
+
readonly type: "tuple";
|
|
756
|
+
readonly components: readonly [{
|
|
757
|
+
readonly name: "postfix";
|
|
758
|
+
readonly internalType: "bytes32";
|
|
759
|
+
readonly type: "bytes32";
|
|
760
|
+
}, {
|
|
761
|
+
readonly name: "salt";
|
|
762
|
+
readonly internalType: "bytes32";
|
|
763
|
+
readonly type: "bytes32";
|
|
764
|
+
}, {
|
|
765
|
+
readonly name: "constructorParams";
|
|
766
|
+
readonly internalType: "bytes";
|
|
767
|
+
readonly type: "bytes";
|
|
768
|
+
}];
|
|
769
|
+
}];
|
|
770
|
+
readonly name: "updateLossPolicy";
|
|
771
|
+
readonly outputs: readonly [{
|
|
772
|
+
readonly name: "lossPolicy";
|
|
773
|
+
readonly internalType: "address";
|
|
774
|
+
readonly type: "address";
|
|
775
|
+
}];
|
|
776
|
+
readonly stateMutability: "nonpayable";
|
|
777
|
+
}, {
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
readonly inputs: readonly [{
|
|
780
|
+
readonly name: "pool";
|
|
781
|
+
readonly internalType: "address";
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
}];
|
|
784
|
+
readonly name: "updatePriceOracle";
|
|
785
|
+
readonly outputs: readonly [{
|
|
786
|
+
readonly name: "priceOracle";
|
|
787
|
+
readonly internalType: "address";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
}];
|
|
790
|
+
readonly stateMutability: "nonpayable";
|
|
791
|
+
}, {
|
|
792
|
+
readonly type: "function";
|
|
793
|
+
readonly inputs: readonly [{
|
|
794
|
+
readonly name: "pool";
|
|
795
|
+
readonly internalType: "address";
|
|
796
|
+
readonly type: "address";
|
|
797
|
+
}, {
|
|
798
|
+
readonly name: "params";
|
|
799
|
+
readonly internalType: "struct DeployParams";
|
|
800
|
+
readonly type: "tuple";
|
|
801
|
+
readonly components: readonly [{
|
|
802
|
+
readonly name: "postfix";
|
|
803
|
+
readonly internalType: "bytes32";
|
|
804
|
+
readonly type: "bytes32";
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "salt";
|
|
807
|
+
readonly internalType: "bytes32";
|
|
808
|
+
readonly type: "bytes32";
|
|
809
|
+
}, {
|
|
810
|
+
readonly name: "constructorParams";
|
|
811
|
+
readonly internalType: "bytes";
|
|
812
|
+
readonly type: "bytes";
|
|
813
|
+
}];
|
|
814
|
+
}];
|
|
815
|
+
readonly name: "updateRateKeeper";
|
|
816
|
+
readonly outputs: readonly [{
|
|
817
|
+
readonly name: "rateKeeper";
|
|
818
|
+
readonly internalType: "address";
|
|
819
|
+
readonly type: "address";
|
|
820
|
+
}];
|
|
821
|
+
readonly stateMutability: "nonpayable";
|
|
822
|
+
}, {
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
readonly inputs: readonly [{
|
|
825
|
+
readonly name: "creditManager";
|
|
826
|
+
readonly internalType: "address";
|
|
827
|
+
readonly type: "address";
|
|
828
|
+
}];
|
|
829
|
+
readonly name: "upgradeCreditFactory";
|
|
830
|
+
readonly outputs: readonly [];
|
|
831
|
+
readonly stateMutability: "nonpayable";
|
|
832
|
+
}, {
|
|
833
|
+
readonly type: "function";
|
|
834
|
+
readonly inputs: readonly [{
|
|
835
|
+
readonly name: "pool";
|
|
836
|
+
readonly internalType: "address";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}];
|
|
839
|
+
readonly name: "upgradeInterestRateModelFactory";
|
|
840
|
+
readonly outputs: readonly [];
|
|
841
|
+
readonly stateMutability: "nonpayable";
|
|
842
|
+
}, {
|
|
843
|
+
readonly type: "function";
|
|
844
|
+
readonly inputs: readonly [{
|
|
845
|
+
readonly name: "pool";
|
|
846
|
+
readonly internalType: "address";
|
|
847
|
+
readonly type: "address";
|
|
848
|
+
}];
|
|
849
|
+
readonly name: "upgradeLossPolicyFactory";
|
|
850
|
+
readonly outputs: readonly [];
|
|
851
|
+
readonly stateMutability: "nonpayable";
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "function";
|
|
854
|
+
readonly inputs: readonly [{
|
|
855
|
+
readonly name: "pool";
|
|
856
|
+
readonly internalType: "address";
|
|
857
|
+
readonly type: "address";
|
|
858
|
+
}];
|
|
859
|
+
readonly name: "upgradePoolFactory";
|
|
860
|
+
readonly outputs: readonly [];
|
|
861
|
+
readonly stateMutability: "nonpayable";
|
|
862
|
+
}, {
|
|
863
|
+
readonly type: "function";
|
|
864
|
+
readonly inputs: readonly [{
|
|
865
|
+
readonly name: "pool";
|
|
866
|
+
readonly internalType: "address";
|
|
867
|
+
readonly type: "address";
|
|
868
|
+
}];
|
|
869
|
+
readonly name: "upgradePriceOracleFactory";
|
|
870
|
+
readonly outputs: readonly [];
|
|
871
|
+
readonly stateMutability: "nonpayable";
|
|
872
|
+
}, {
|
|
873
|
+
readonly type: "function";
|
|
874
|
+
readonly inputs: readonly [{
|
|
875
|
+
readonly name: "pool";
|
|
876
|
+
readonly internalType: "address";
|
|
877
|
+
readonly type: "address";
|
|
878
|
+
}];
|
|
879
|
+
readonly name: "upgradeRateKeeperFactory";
|
|
880
|
+
readonly outputs: readonly [];
|
|
881
|
+
readonly stateMutability: "nonpayable";
|
|
882
|
+
}, {
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
readonly inputs: readonly [];
|
|
885
|
+
readonly name: "version";
|
|
886
|
+
readonly outputs: readonly [{
|
|
887
|
+
readonly name: "";
|
|
888
|
+
readonly internalType: "uint256";
|
|
889
|
+
readonly type: "uint256";
|
|
890
|
+
}];
|
|
891
|
+
readonly stateMutability: "view";
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "event";
|
|
894
|
+
readonly anonymous: false;
|
|
895
|
+
readonly inputs: readonly [{
|
|
896
|
+
readonly name: "domain";
|
|
897
|
+
readonly internalType: "bytes32";
|
|
898
|
+
readonly type: "bytes32";
|
|
899
|
+
readonly indexed: true;
|
|
900
|
+
}, {
|
|
901
|
+
readonly name: "peripheryContract";
|
|
902
|
+
readonly internalType: "address";
|
|
903
|
+
readonly type: "address";
|
|
904
|
+
readonly indexed: true;
|
|
905
|
+
}];
|
|
906
|
+
readonly name: "AddPeripheryContract";
|
|
907
|
+
}, {
|
|
908
|
+
readonly type: "event";
|
|
909
|
+
readonly anonymous: false;
|
|
910
|
+
readonly inputs: readonly [{
|
|
911
|
+
readonly name: "pool";
|
|
912
|
+
readonly internalType: "address";
|
|
913
|
+
readonly type: "address";
|
|
914
|
+
readonly indexed: true;
|
|
915
|
+
}, {
|
|
916
|
+
readonly name: "token";
|
|
917
|
+
readonly internalType: "address";
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
readonly indexed: true;
|
|
920
|
+
}];
|
|
921
|
+
readonly name: "AddToken";
|
|
922
|
+
}, {
|
|
923
|
+
readonly type: "event";
|
|
924
|
+
readonly anonymous: false;
|
|
925
|
+
readonly inputs: readonly [{
|
|
926
|
+
readonly name: "factory";
|
|
927
|
+
readonly internalType: "address";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
readonly indexed: true;
|
|
930
|
+
}, {
|
|
931
|
+
readonly name: "suite";
|
|
932
|
+
readonly internalType: "address";
|
|
933
|
+
readonly type: "address";
|
|
934
|
+
readonly indexed: true;
|
|
935
|
+
}, {
|
|
936
|
+
readonly name: "target";
|
|
937
|
+
readonly internalType: "address";
|
|
938
|
+
readonly type: "address";
|
|
939
|
+
readonly indexed: true;
|
|
940
|
+
}];
|
|
941
|
+
readonly name: "AuthorizeFactory";
|
|
942
|
+
}, {
|
|
943
|
+
readonly type: "event";
|
|
944
|
+
readonly anonymous: false;
|
|
945
|
+
readonly inputs: readonly [{
|
|
946
|
+
readonly name: "creditManager";
|
|
947
|
+
readonly internalType: "address";
|
|
948
|
+
readonly type: "address";
|
|
949
|
+
readonly indexed: true;
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "data";
|
|
952
|
+
readonly internalType: "bytes";
|
|
953
|
+
readonly type: "bytes";
|
|
954
|
+
readonly indexed: false;
|
|
955
|
+
}];
|
|
956
|
+
readonly name: "ConfigureCreditSuite";
|
|
957
|
+
}, {
|
|
958
|
+
readonly type: "event";
|
|
959
|
+
readonly anonymous: false;
|
|
960
|
+
readonly inputs: readonly [{
|
|
961
|
+
readonly name: "pool";
|
|
962
|
+
readonly internalType: "address";
|
|
963
|
+
readonly type: "address";
|
|
964
|
+
readonly indexed: true;
|
|
965
|
+
}, {
|
|
966
|
+
readonly name: "data";
|
|
967
|
+
readonly internalType: "bytes";
|
|
968
|
+
readonly type: "bytes";
|
|
969
|
+
readonly indexed: false;
|
|
970
|
+
}];
|
|
971
|
+
readonly name: "ConfigureInterestRateModel";
|
|
972
|
+
}, {
|
|
973
|
+
readonly type: "event";
|
|
974
|
+
readonly anonymous: false;
|
|
975
|
+
readonly inputs: readonly [{
|
|
976
|
+
readonly name: "pool";
|
|
977
|
+
readonly internalType: "address";
|
|
978
|
+
readonly type: "address";
|
|
979
|
+
readonly indexed: true;
|
|
980
|
+
}, {
|
|
981
|
+
readonly name: "data";
|
|
982
|
+
readonly internalType: "bytes";
|
|
983
|
+
readonly type: "bytes";
|
|
984
|
+
readonly indexed: false;
|
|
985
|
+
}];
|
|
986
|
+
readonly name: "ConfigureLossPolicy";
|
|
987
|
+
}, {
|
|
988
|
+
readonly type: "event";
|
|
989
|
+
readonly anonymous: false;
|
|
990
|
+
readonly inputs: readonly [{
|
|
991
|
+
readonly name: "pool";
|
|
992
|
+
readonly internalType: "address";
|
|
993
|
+
readonly type: "address";
|
|
994
|
+
readonly indexed: true;
|
|
995
|
+
}, {
|
|
996
|
+
readonly name: "data";
|
|
997
|
+
readonly internalType: "bytes";
|
|
998
|
+
readonly type: "bytes";
|
|
999
|
+
readonly indexed: false;
|
|
1000
|
+
}];
|
|
1001
|
+
readonly name: "ConfigurePool";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly type: "event";
|
|
1004
|
+
readonly anonymous: false;
|
|
1005
|
+
readonly inputs: readonly [{
|
|
1006
|
+
readonly name: "pool";
|
|
1007
|
+
readonly internalType: "address";
|
|
1008
|
+
readonly type: "address";
|
|
1009
|
+
readonly indexed: true;
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly name: "data";
|
|
1012
|
+
readonly internalType: "bytes";
|
|
1013
|
+
readonly type: "bytes";
|
|
1014
|
+
readonly indexed: false;
|
|
1015
|
+
}];
|
|
1016
|
+
readonly name: "ConfigurePriceOracle";
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly type: "event";
|
|
1019
|
+
readonly anonymous: false;
|
|
1020
|
+
readonly inputs: readonly [{
|
|
1021
|
+
readonly name: "pool";
|
|
1022
|
+
readonly internalType: "address";
|
|
1023
|
+
readonly type: "address";
|
|
1024
|
+
readonly indexed: true;
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly name: "data";
|
|
1027
|
+
readonly internalType: "bytes";
|
|
1028
|
+
readonly type: "bytes";
|
|
1029
|
+
readonly indexed: false;
|
|
1030
|
+
}];
|
|
1031
|
+
readonly name: "ConfigureRateKeeper";
|
|
1032
|
+
}, {
|
|
1033
|
+
readonly type: "event";
|
|
1034
|
+
readonly anonymous: false;
|
|
1035
|
+
readonly inputs: readonly [{
|
|
1036
|
+
readonly name: "creditManager";
|
|
1037
|
+
readonly internalType: "address";
|
|
1038
|
+
readonly type: "address";
|
|
1039
|
+
readonly indexed: true;
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly name: "factory";
|
|
1042
|
+
readonly internalType: "address";
|
|
1043
|
+
readonly type: "address";
|
|
1044
|
+
readonly indexed: false;
|
|
1045
|
+
}];
|
|
1046
|
+
readonly name: "CreateCreditSuite";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly type: "event";
|
|
1049
|
+
readonly anonymous: false;
|
|
1050
|
+
readonly inputs: readonly [{
|
|
1051
|
+
readonly name: "pool";
|
|
1052
|
+
readonly internalType: "address";
|
|
1053
|
+
readonly type: "address";
|
|
1054
|
+
readonly indexed: true;
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly name: "priceOracle";
|
|
1057
|
+
readonly internalType: "address";
|
|
1058
|
+
readonly type: "address";
|
|
1059
|
+
readonly indexed: false;
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "interestRateModel";
|
|
1062
|
+
readonly internalType: "address";
|
|
1063
|
+
readonly type: "address";
|
|
1064
|
+
readonly indexed: false;
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly name: "rateKeeper";
|
|
1067
|
+
readonly internalType: "address";
|
|
1068
|
+
readonly type: "address";
|
|
1069
|
+
readonly indexed: false;
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly name: "lossPolicy";
|
|
1072
|
+
readonly internalType: "address";
|
|
1073
|
+
readonly type: "address";
|
|
1074
|
+
readonly indexed: false;
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly name: "factories";
|
|
1077
|
+
readonly internalType: "struct MarketFactories";
|
|
1078
|
+
readonly type: "tuple";
|
|
1079
|
+
readonly components: readonly [{
|
|
1080
|
+
readonly name: "poolFactory";
|
|
1081
|
+
readonly internalType: "address";
|
|
1082
|
+
readonly type: "address";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly name: "priceOracleFactory";
|
|
1085
|
+
readonly internalType: "address";
|
|
1086
|
+
readonly type: "address";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly name: "interestRateModelFactory";
|
|
1089
|
+
readonly internalType: "address";
|
|
1090
|
+
readonly type: "address";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly name: "rateKeeperFactory";
|
|
1093
|
+
readonly internalType: "address";
|
|
1094
|
+
readonly type: "address";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly name: "lossPolicyFactory";
|
|
1097
|
+
readonly internalType: "address";
|
|
1098
|
+
readonly type: "address";
|
|
1099
|
+
}];
|
|
1100
|
+
readonly indexed: false;
|
|
1101
|
+
}];
|
|
1102
|
+
readonly name: "CreateMarket";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly type: "event";
|
|
1105
|
+
readonly anonymous: false;
|
|
1106
|
+
readonly inputs: readonly [{
|
|
1107
|
+
readonly name: "creditManager";
|
|
1108
|
+
readonly internalType: "address";
|
|
1109
|
+
readonly type: "address";
|
|
1110
|
+
readonly indexed: true;
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly name: "data";
|
|
1113
|
+
readonly internalType: "bytes";
|
|
1114
|
+
readonly type: "bytes";
|
|
1115
|
+
readonly indexed: false;
|
|
1116
|
+
}];
|
|
1117
|
+
readonly name: "EmergencyConfigureCreditSuite";
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly type: "event";
|
|
1120
|
+
readonly anonymous: false;
|
|
1121
|
+
readonly inputs: readonly [{
|
|
1122
|
+
readonly name: "pool";
|
|
1123
|
+
readonly internalType: "address";
|
|
1124
|
+
readonly type: "address";
|
|
1125
|
+
readonly indexed: true;
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly name: "data";
|
|
1128
|
+
readonly internalType: "bytes";
|
|
1129
|
+
readonly type: "bytes";
|
|
1130
|
+
readonly indexed: false;
|
|
1131
|
+
}];
|
|
1132
|
+
readonly name: "EmergencyConfigureInterestRateModel";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly type: "event";
|
|
1135
|
+
readonly anonymous: false;
|
|
1136
|
+
readonly inputs: readonly [{
|
|
1137
|
+
readonly name: "pool";
|
|
1138
|
+
readonly internalType: "address";
|
|
1139
|
+
readonly type: "address";
|
|
1140
|
+
readonly indexed: true;
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly name: "data";
|
|
1143
|
+
readonly internalType: "bytes";
|
|
1144
|
+
readonly type: "bytes";
|
|
1145
|
+
readonly indexed: false;
|
|
1146
|
+
}];
|
|
1147
|
+
readonly name: "EmergencyConfigureLossPolicy";
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly type: "event";
|
|
1150
|
+
readonly anonymous: false;
|
|
1151
|
+
readonly inputs: readonly [{
|
|
1152
|
+
readonly name: "pool";
|
|
1153
|
+
readonly internalType: "address";
|
|
1154
|
+
readonly type: "address";
|
|
1155
|
+
readonly indexed: true;
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly name: "data";
|
|
1158
|
+
readonly internalType: "bytes";
|
|
1159
|
+
readonly type: "bytes";
|
|
1160
|
+
readonly indexed: false;
|
|
1161
|
+
}];
|
|
1162
|
+
readonly name: "EmergencyConfigurePool";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly type: "event";
|
|
1165
|
+
readonly anonymous: false;
|
|
1166
|
+
readonly inputs: readonly [{
|
|
1167
|
+
readonly name: "pool";
|
|
1168
|
+
readonly internalType: "address";
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
readonly indexed: true;
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly name: "data";
|
|
1173
|
+
readonly internalType: "bytes";
|
|
1174
|
+
readonly type: "bytes";
|
|
1175
|
+
readonly indexed: false;
|
|
1176
|
+
}];
|
|
1177
|
+
readonly name: "EmergencyConfigurePriceOracle";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly type: "event";
|
|
1180
|
+
readonly anonymous: false;
|
|
1181
|
+
readonly inputs: readonly [{
|
|
1182
|
+
readonly name: "pool";
|
|
1183
|
+
readonly internalType: "address";
|
|
1184
|
+
readonly type: "address";
|
|
1185
|
+
readonly indexed: true;
|
|
1186
|
+
}, {
|
|
1187
|
+
readonly name: "data";
|
|
1188
|
+
readonly internalType: "bytes";
|
|
1189
|
+
readonly type: "bytes";
|
|
1190
|
+
readonly indexed: false;
|
|
1191
|
+
}];
|
|
1192
|
+
readonly name: "EmergencyConfigureRateKeeper";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly type: "event";
|
|
1195
|
+
readonly anonymous: false;
|
|
1196
|
+
readonly inputs: readonly [{
|
|
1197
|
+
readonly name: "role";
|
|
1198
|
+
readonly internalType: "bytes32";
|
|
1199
|
+
readonly type: "bytes32";
|
|
1200
|
+
readonly indexed: true;
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly name: "account";
|
|
1203
|
+
readonly internalType: "address";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
readonly indexed: true;
|
|
1206
|
+
}];
|
|
1207
|
+
readonly name: "EmergencyRevokeRole";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly type: "event";
|
|
1210
|
+
readonly anonymous: false;
|
|
1211
|
+
readonly inputs: readonly [{
|
|
1212
|
+
readonly name: "target";
|
|
1213
|
+
readonly internalType: "address";
|
|
1214
|
+
readonly type: "address";
|
|
1215
|
+
readonly indexed: true;
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly name: "callData";
|
|
1218
|
+
readonly internalType: "bytes";
|
|
1219
|
+
readonly type: "bytes";
|
|
1220
|
+
readonly indexed: false;
|
|
1221
|
+
}];
|
|
1222
|
+
readonly name: "ExecuteHook";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly type: "event";
|
|
1225
|
+
readonly anonymous: false;
|
|
1226
|
+
readonly inputs: readonly [{
|
|
1227
|
+
readonly name: "role";
|
|
1228
|
+
readonly internalType: "bytes32";
|
|
1229
|
+
readonly type: "bytes32";
|
|
1230
|
+
readonly indexed: true;
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "account";
|
|
1233
|
+
readonly internalType: "address";
|
|
1234
|
+
readonly type: "address";
|
|
1235
|
+
readonly indexed: true;
|
|
1236
|
+
}];
|
|
1237
|
+
readonly name: "GrantRole";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly type: "event";
|
|
1240
|
+
readonly anonymous: false;
|
|
1241
|
+
readonly inputs: readonly [{
|
|
1242
|
+
readonly name: "domain";
|
|
1243
|
+
readonly internalType: "bytes32";
|
|
1244
|
+
readonly type: "bytes32";
|
|
1245
|
+
readonly indexed: true;
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly name: "peripheryContract";
|
|
1248
|
+
readonly internalType: "address";
|
|
1249
|
+
readonly type: "address";
|
|
1250
|
+
readonly indexed: true;
|
|
1251
|
+
}];
|
|
1252
|
+
readonly name: "RemovePeripheryContract";
|
|
1253
|
+
}, {
|
|
1254
|
+
readonly type: "event";
|
|
1255
|
+
readonly anonymous: false;
|
|
1256
|
+
readonly inputs: readonly [{
|
|
1257
|
+
readonly name: "role";
|
|
1258
|
+
readonly internalType: "bytes32";
|
|
1259
|
+
readonly type: "bytes32";
|
|
1260
|
+
readonly indexed: true;
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly name: "account";
|
|
1263
|
+
readonly internalType: "address";
|
|
1264
|
+
readonly type: "address";
|
|
1265
|
+
readonly indexed: true;
|
|
1266
|
+
}];
|
|
1267
|
+
readonly name: "RevokeRole";
|
|
1268
|
+
}, {
|
|
1269
|
+
readonly type: "event";
|
|
1270
|
+
readonly anonymous: false;
|
|
1271
|
+
readonly inputs: readonly [{
|
|
1272
|
+
readonly name: "newEmergencyAdmin";
|
|
1273
|
+
readonly internalType: "address";
|
|
1274
|
+
readonly type: "address";
|
|
1275
|
+
readonly indexed: true;
|
|
1276
|
+
}];
|
|
1277
|
+
readonly name: "SetEmergencyAdmin";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly type: "event";
|
|
1280
|
+
readonly anonymous: false;
|
|
1281
|
+
readonly inputs: readonly [{
|
|
1282
|
+
readonly name: "creditManager";
|
|
1283
|
+
readonly internalType: "address";
|
|
1284
|
+
readonly type: "address";
|
|
1285
|
+
readonly indexed: true;
|
|
1286
|
+
}];
|
|
1287
|
+
readonly name: "ShutdownCreditSuite";
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly type: "event";
|
|
1290
|
+
readonly anonymous: false;
|
|
1291
|
+
readonly inputs: readonly [{
|
|
1292
|
+
readonly name: "pool";
|
|
1293
|
+
readonly internalType: "address";
|
|
1294
|
+
readonly type: "address";
|
|
1295
|
+
readonly indexed: true;
|
|
1296
|
+
}];
|
|
1297
|
+
readonly name: "ShutdownMarket";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly type: "event";
|
|
1300
|
+
readonly anonymous: false;
|
|
1301
|
+
readonly inputs: readonly [{
|
|
1302
|
+
readonly name: "factory";
|
|
1303
|
+
readonly internalType: "address";
|
|
1304
|
+
readonly type: "address";
|
|
1305
|
+
readonly indexed: true;
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly name: "suite";
|
|
1308
|
+
readonly internalType: "address";
|
|
1309
|
+
readonly type: "address";
|
|
1310
|
+
readonly indexed: true;
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly name: "target";
|
|
1313
|
+
readonly internalType: "address";
|
|
1314
|
+
readonly type: "address";
|
|
1315
|
+
readonly indexed: true;
|
|
1316
|
+
}];
|
|
1317
|
+
readonly name: "UnauthorizeFactory";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly type: "event";
|
|
1320
|
+
readonly anonymous: false;
|
|
1321
|
+
readonly inputs: readonly [{
|
|
1322
|
+
readonly name: "pool";
|
|
1323
|
+
readonly internalType: "address";
|
|
1324
|
+
readonly type: "address";
|
|
1325
|
+
readonly indexed: true;
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly name: "interestRateModel";
|
|
1328
|
+
readonly internalType: "address";
|
|
1329
|
+
readonly type: "address";
|
|
1330
|
+
readonly indexed: false;
|
|
1331
|
+
}];
|
|
1332
|
+
readonly name: "UpdateInterestRateModel";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly type: "event";
|
|
1335
|
+
readonly anonymous: false;
|
|
1336
|
+
readonly inputs: readonly [{
|
|
1337
|
+
readonly name: "pool";
|
|
1338
|
+
readonly internalType: "address";
|
|
1339
|
+
readonly type: "address";
|
|
1340
|
+
readonly indexed: true;
|
|
1341
|
+
}, {
|
|
1342
|
+
readonly name: "lossPolicy";
|
|
1343
|
+
readonly internalType: "address";
|
|
1344
|
+
readonly type: "address";
|
|
1345
|
+
readonly indexed: false;
|
|
1346
|
+
}];
|
|
1347
|
+
readonly name: "UpdateLossPolicy";
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly type: "event";
|
|
1350
|
+
readonly anonymous: false;
|
|
1351
|
+
readonly inputs: readonly [{
|
|
1352
|
+
readonly name: "pool";
|
|
1353
|
+
readonly internalType: "address";
|
|
1354
|
+
readonly type: "address";
|
|
1355
|
+
readonly indexed: true;
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly name: "priceOracle";
|
|
1358
|
+
readonly internalType: "address";
|
|
1359
|
+
readonly type: "address";
|
|
1360
|
+
readonly indexed: false;
|
|
1361
|
+
}];
|
|
1362
|
+
readonly name: "UpdatePriceOracle";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly type: "event";
|
|
1365
|
+
readonly anonymous: false;
|
|
1366
|
+
readonly inputs: readonly [{
|
|
1367
|
+
readonly name: "pool";
|
|
1368
|
+
readonly internalType: "address";
|
|
1369
|
+
readonly type: "address";
|
|
1370
|
+
readonly indexed: true;
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly name: "rateKeeper";
|
|
1373
|
+
readonly internalType: "address";
|
|
1374
|
+
readonly type: "address";
|
|
1375
|
+
readonly indexed: false;
|
|
1376
|
+
}];
|
|
1377
|
+
readonly name: "UpdateRateKeeper";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly type: "event";
|
|
1380
|
+
readonly anonymous: false;
|
|
1381
|
+
readonly inputs: readonly [{
|
|
1382
|
+
readonly name: "creditManager";
|
|
1383
|
+
readonly internalType: "address";
|
|
1384
|
+
readonly type: "address";
|
|
1385
|
+
readonly indexed: true;
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly name: "factory";
|
|
1388
|
+
readonly internalType: "address";
|
|
1389
|
+
readonly type: "address";
|
|
1390
|
+
readonly indexed: false;
|
|
1391
|
+
}];
|
|
1392
|
+
readonly name: "UpgradeCreditFactory";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly type: "event";
|
|
1395
|
+
readonly anonymous: false;
|
|
1396
|
+
readonly inputs: readonly [{
|
|
1397
|
+
readonly name: "pool";
|
|
1398
|
+
readonly internalType: "address";
|
|
1399
|
+
readonly type: "address";
|
|
1400
|
+
readonly indexed: true;
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly name: "factory";
|
|
1403
|
+
readonly internalType: "address";
|
|
1404
|
+
readonly type: "address";
|
|
1405
|
+
readonly indexed: false;
|
|
1406
|
+
}];
|
|
1407
|
+
readonly name: "UpgradeInterestRateModelFactory";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly type: "event";
|
|
1410
|
+
readonly anonymous: false;
|
|
1411
|
+
readonly inputs: readonly [{
|
|
1412
|
+
readonly name: "pool";
|
|
1413
|
+
readonly internalType: "address";
|
|
1414
|
+
readonly type: "address";
|
|
1415
|
+
readonly indexed: true;
|
|
1416
|
+
}, {
|
|
1417
|
+
readonly name: "factory";
|
|
1418
|
+
readonly internalType: "address";
|
|
1419
|
+
readonly type: "address";
|
|
1420
|
+
readonly indexed: false;
|
|
1421
|
+
}];
|
|
1422
|
+
readonly name: "UpgradeLossPolicyFactory";
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly type: "event";
|
|
1425
|
+
readonly anonymous: false;
|
|
1426
|
+
readonly inputs: readonly [{
|
|
1427
|
+
readonly name: "pool";
|
|
1428
|
+
readonly internalType: "address";
|
|
1429
|
+
readonly type: "address";
|
|
1430
|
+
readonly indexed: true;
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly name: "factory";
|
|
1433
|
+
readonly internalType: "address";
|
|
1434
|
+
readonly type: "address";
|
|
1435
|
+
readonly indexed: false;
|
|
1436
|
+
}];
|
|
1437
|
+
readonly name: "UpgradePoolFactory";
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly type: "event";
|
|
1440
|
+
readonly anonymous: false;
|
|
1441
|
+
readonly inputs: readonly [{
|
|
1442
|
+
readonly name: "pool";
|
|
1443
|
+
readonly internalType: "address";
|
|
1444
|
+
readonly type: "address";
|
|
1445
|
+
readonly indexed: true;
|
|
1446
|
+
}, {
|
|
1447
|
+
readonly name: "factory";
|
|
1448
|
+
readonly internalType: "address";
|
|
1449
|
+
readonly type: "address";
|
|
1450
|
+
readonly indexed: false;
|
|
1451
|
+
}];
|
|
1452
|
+
readonly name: "UpgradePriceOracleFactory";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly type: "event";
|
|
1455
|
+
readonly anonymous: false;
|
|
1456
|
+
readonly inputs: readonly [{
|
|
1457
|
+
readonly name: "pool";
|
|
1458
|
+
readonly internalType: "address";
|
|
1459
|
+
readonly type: "address";
|
|
1460
|
+
readonly indexed: true;
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly name: "factory";
|
|
1463
|
+
readonly internalType: "address";
|
|
1464
|
+
readonly type: "address";
|
|
1465
|
+
readonly indexed: false;
|
|
1466
|
+
}];
|
|
1467
|
+
readonly name: "UpgradeRateKeeperFactory";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly type: "error";
|
|
1470
|
+
readonly inputs: readonly [{
|
|
1471
|
+
readonly name: "caller";
|
|
1472
|
+
readonly internalType: "address";
|
|
1473
|
+
readonly type: "address";
|
|
1474
|
+
}];
|
|
1475
|
+
readonly name: "CallerIsNotAdminException";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly type: "error";
|
|
1478
|
+
readonly inputs: readonly [{
|
|
1479
|
+
readonly name: "caller";
|
|
1480
|
+
readonly internalType: "address";
|
|
1481
|
+
readonly type: "address";
|
|
1482
|
+
}];
|
|
1483
|
+
readonly name: "CallerIsNotEmergencyAdminException";
|
|
1484
|
+
}, {
|
|
1485
|
+
readonly type: "error";
|
|
1486
|
+
readonly inputs: readonly [{
|
|
1487
|
+
readonly name: "caller";
|
|
1488
|
+
readonly internalType: "address";
|
|
1489
|
+
readonly type: "address";
|
|
1490
|
+
}];
|
|
1491
|
+
readonly name: "CallerIsNotSelfException";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly type: "error";
|
|
1494
|
+
readonly inputs: readonly [{
|
|
1495
|
+
readonly name: "creditManager";
|
|
1496
|
+
readonly internalType: "address";
|
|
1497
|
+
readonly type: "address";
|
|
1498
|
+
}];
|
|
1499
|
+
readonly name: "CreditSuiteNotRegisteredException";
|
|
1500
|
+
}, {
|
|
1501
|
+
readonly type: "error";
|
|
1502
|
+
readonly inputs: readonly [{
|
|
1503
|
+
readonly name: "version";
|
|
1504
|
+
readonly internalType: "uint256";
|
|
1505
|
+
readonly type: "uint256";
|
|
1506
|
+
}];
|
|
1507
|
+
readonly name: "IncorrectMinorVersionException";
|
|
1508
|
+
}, {
|
|
1509
|
+
readonly type: "error";
|
|
1510
|
+
readonly inputs: readonly [{
|
|
1511
|
+
readonly name: "peripheryContract";
|
|
1512
|
+
readonly internalType: "address";
|
|
1513
|
+
readonly type: "address";
|
|
1514
|
+
}];
|
|
1515
|
+
readonly name: "IncorrectPeripheryContractException";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly type: "error";
|
|
1518
|
+
readonly inputs: readonly [{
|
|
1519
|
+
readonly name: "pool";
|
|
1520
|
+
readonly internalType: "address";
|
|
1521
|
+
readonly type: "address";
|
|
1522
|
+
}];
|
|
1523
|
+
readonly name: "MarketNotRegisteredException";
|
|
1524
|
+
}, {
|
|
1525
|
+
readonly type: "error";
|
|
1526
|
+
readonly inputs: readonly [{
|
|
1527
|
+
readonly name: "factory";
|
|
1528
|
+
readonly internalType: "address";
|
|
1529
|
+
readonly type: "address";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly name: "target";
|
|
1532
|
+
readonly internalType: "address";
|
|
1533
|
+
readonly type: "address";
|
|
1534
|
+
}];
|
|
1535
|
+
readonly name: "UnauthorizedFactoryException";
|
|
1536
|
+
}];
|
|
1537
|
+
export declare class MarketConfiguratorContract extends BaseContract<typeof abi> {
|
|
1538
|
+
#private;
|
|
1539
|
+
readonly creditFactory: CreditFactory;
|
|
1540
|
+
readonly poolFactory: PoolFactory;
|
|
1541
|
+
readonly priceOracleFactory: PriceOracleFactory;
|
|
1542
|
+
readonly lossPolicyFactory: LossPolicyFactory;
|
|
1543
|
+
readonly rateKeeperFactory: RateKeeperFactory;
|
|
1544
|
+
constructor(addr: Address, client: PublicClient<Transport, Chain>);
|
|
1545
|
+
getAddressProvider(): Promise<AddressProviderContract>;
|
|
1546
|
+
previewCreateMarket(params: {
|
|
1547
|
+
minorVersion: number;
|
|
1548
|
+
underlying: Address;
|
|
1549
|
+
name: string;
|
|
1550
|
+
symbol: string;
|
|
1551
|
+
}): Promise<Address>;
|
|
1552
|
+
createMarket(params: {
|
|
1553
|
+
minorVersion: number;
|
|
1554
|
+
underlying: Address;
|
|
1555
|
+
name: string;
|
|
1556
|
+
symbol: string;
|
|
1557
|
+
interestRateModelParams: DeployParams;
|
|
1558
|
+
rateKeeperParams: DeployParams;
|
|
1559
|
+
lossPolicyParams: DeployParams;
|
|
1560
|
+
underlyingPriceFeed: Address;
|
|
1561
|
+
}): Promise<{
|
|
1562
|
+
tx: RawTx;
|
|
1563
|
+
pool: Address;
|
|
1564
|
+
}>;
|
|
1565
|
+
addAsset(pool: Address, args: AddAssetParams): RawTx;
|
|
1566
|
+
configurePriceOracle(pool: Address, config: Hex): RawTx;
|
|
1567
|
+
setPriceFeed(pool: Address, params: SetPriceFeedParams): RawTx;
|
|
1568
|
+
setReservePriceFeed(pool: Address, params: SetReservePriceFeedParams): RawTx;
|
|
1569
|
+
configurePool(pool: Address, calldata: Hex): RawTx;
|
|
1570
|
+
setTokenLimit(pool: Address, params: {
|
|
1571
|
+
token: Address;
|
|
1572
|
+
limit: bigint;
|
|
1573
|
+
}): RawTx;
|
|
1574
|
+
setTokenQuotaIncreaseFee(pool: Address, params: SetTokenQuotaIncreaseFeeParams): RawTx;
|
|
1575
|
+
setTotalDebtLimit(pool: Address, params: {
|
|
1576
|
+
limit: bigint;
|
|
1577
|
+
}): RawTx;
|
|
1578
|
+
setCreditManagerDebtLimit(pool: Address, args: {
|
|
1579
|
+
creditManager: Address;
|
|
1580
|
+
limit: bigint;
|
|
1581
|
+
}): RawTx;
|
|
1582
|
+
updateInterestRateModel(pool: Address, args: {
|
|
1583
|
+
deployParams: DeployParams;
|
|
1584
|
+
}): RawTx;
|
|
1585
|
+
createCreditSuite(marketInfo: {
|
|
1586
|
+
pool: Address;
|
|
1587
|
+
name: string;
|
|
1588
|
+
symbol: string;
|
|
1589
|
+
underlyingAsset: Address;
|
|
1590
|
+
minorVersion: number;
|
|
1591
|
+
}, args: {
|
|
1592
|
+
params: {
|
|
1593
|
+
minorVersion: number;
|
|
1594
|
+
maxEnabledTokens: number;
|
|
1595
|
+
feeInterest: number;
|
|
1596
|
+
feeLiquidation: number;
|
|
1597
|
+
feeLiquidationPremium: number;
|
|
1598
|
+
feeLiquidationExpired: number;
|
|
1599
|
+
feeLiquidationPremiumExpired: number;
|
|
1600
|
+
minDebt: bigint;
|
|
1601
|
+
maxDebt: bigint;
|
|
1602
|
+
name: string;
|
|
1603
|
+
accountFactoryType: string;
|
|
1604
|
+
accountFactorySalt?: string;
|
|
1605
|
+
whitelistPolicy: Address;
|
|
1606
|
+
isExpired: boolean;
|
|
1607
|
+
};
|
|
1608
|
+
}): Promise<{
|
|
1609
|
+
tx: RawTx;
|
|
1610
|
+
creditManager: Address;
|
|
1611
|
+
}>;
|
|
1612
|
+
configureCreditManager(creditManager: Address, calldata: Hex): RawTx;
|
|
1613
|
+
configureAdapterFor(creditManager: Address, targetContract: Address, data: `0x${string}`): RawTx;
|
|
1614
|
+
addCollateralToken(creditManager: Address, args: {
|
|
1615
|
+
token: Address;
|
|
1616
|
+
liquidationThreshold: number;
|
|
1617
|
+
}): RawTx;
|
|
1618
|
+
setFees(params: SetFeesParams): RawTx;
|
|
1619
|
+
rampLiquidationThreshold(creditManager: Address, args: {
|
|
1620
|
+
token: Address;
|
|
1621
|
+
liquidationThresholdFinal: number;
|
|
1622
|
+
rampStart: number;
|
|
1623
|
+
rampDuration: number;
|
|
1624
|
+
}): RawTx;
|
|
1625
|
+
forbidToken(params: ForbidTokenParams): RawTx;
|
|
1626
|
+
allowToken(params: AllowTokenParams): RawTx;
|
|
1627
|
+
setExpirationDate(params: SetExpirationDateParams): RawTx;
|
|
1628
|
+
pauseCreditManager(params: PauseCreditManagerParams): RawTx;
|
|
1629
|
+
unpauseCreditManager(params: UnpauseCreditManagerParams): RawTx;
|
|
1630
|
+
forbidAdapter(params: ForbidAdapterParams): RawTx;
|
|
1631
|
+
updateRateKeeper(pool: Address, args: {
|
|
1632
|
+
deployParams: DeployParams;
|
|
1633
|
+
}): Promise<RawTx>;
|
|
1634
|
+
configureRateKeeper(pool: Address, calldata: Hex): RawTx;
|
|
1635
|
+
configureLossPolicy(pool: Address, calldata: Hex): RawTx;
|
|
1636
|
+
updateLossPolicy(pool: Address, deployParams: DeployParams): RawTx;
|
|
1637
|
+
enableLossPolicy(pool: Address): RawTx;
|
|
1638
|
+
disableLossPolicy(pool: Address): RawTx;
|
|
1639
|
+
treasury(): Promise<Address>;
|
|
1640
|
+
admins(): Promise<{
|
|
1641
|
+
admin: Address;
|
|
1642
|
+
emergencyAdmin: Address;
|
|
1643
|
+
treasury: Address;
|
|
1644
|
+
pausableAdmins: Address[];
|
|
1645
|
+
unpausableAdmins: Address[];
|
|
1646
|
+
lossLiquidators: Address[];
|
|
1647
|
+
emergencyLiquidators: Address[];
|
|
1648
|
+
}>;
|
|
1649
|
+
multipause(): Promise<Address | undefined>;
|
|
1650
|
+
/**
|
|
1651
|
+
* Returns emergency admin of the market configurator.
|
|
1652
|
+
* If it is a `KILL_SWITCH_PROXY`, emergency transactions must be sent by proxy's caller via `proxyCall`,
|
|
1653
|
+
* otherwise directly by emergency admin itself
|
|
1654
|
+
* @param emergencyAdmin - emergency admin address, read from the market configurator if not provided
|
|
1655
|
+
*/
|
|
1656
|
+
getEmergencyAdmin(emergencyAdmin?: Address): Promise<EmergencyAdmin>;
|
|
1657
|
+
/**
|
|
1658
|
+
* Routes emergency transaction to the market configurator through its emergency admin:
|
|
1659
|
+
* returns transaction as is for direct emergency admin, or wraps it into `proxyCall` of kill switch proxy
|
|
1660
|
+
* @param tx - emergency transaction to the market configurator, e.g. built by `emergencyConfigurePool`
|
|
1661
|
+
* @param emergencyAdmin - result of {@link getEmergencyAdmin}
|
|
1662
|
+
* @throws if transaction is not addressed to this market configurator or kill switch proxy is killed
|
|
1663
|
+
*/
|
|
1664
|
+
wrapEmergencyTx(tx: RawTx, emergencyAdmin: EmergencyAdmin): RawTx;
|
|
1665
|
+
/**
|
|
1666
|
+
* Reads emergency admin and routes emergency transaction through it, see {@link wrapEmergencyTx}
|
|
1667
|
+
* @param tx - emergency transaction to the market configurator, e.g. built by `emergencyConfigurePool`
|
|
1668
|
+
*/
|
|
1669
|
+
emergencyTx(tx: RawTx): Promise<RawTx>;
|
|
1670
|
+
grantRole(role: string, address: Address): RawTx;
|
|
1671
|
+
revokeRole(role: string, address: Address): RawTx;
|
|
1672
|
+
setEmergencyAdmin(newEmergencyAdmin: Address): RawTx;
|
|
1673
|
+
addPeripheryContract(peripheryContract: Address): RawTx;
|
|
1674
|
+
removePeripheryContract(peripheryContract: Address): RawTx;
|
|
1675
|
+
getPeripheryDomains(): readonly PeripheryDomain[];
|
|
1676
|
+
getPeripheryContracts(): Promise<{ [key in PeripheryDomain]: Address[]; }>;
|
|
1677
|
+
syncSetEmergencyAdmin(fromBlock: bigint, toBlock: bigint): Promise<Array<{
|
|
1678
|
+
emergencyAdmin: Address;
|
|
1679
|
+
atBlock: number;
|
|
1680
|
+
}>>;
|
|
1681
|
+
syncMarkets({ fromBlock, toBlock }: {
|
|
1682
|
+
fromBlock: bigint;
|
|
1683
|
+
toBlock: bigint;
|
|
1684
|
+
}): Promise<Market[]>;
|
|
1685
|
+
protected parseFunctionParams(params: DecodeFunctionDataReturnType<typeof abi>): ParsedCallArgs;
|
|
1686
|
+
emergencyConfigurePool(pool: Address, calldata: Hex): RawTx;
|
|
1687
|
+
emergencyConfigureCreditSuite(creditManager: Address, calldata: Hex): RawTx;
|
|
1688
|
+
emergencyConfigurePriceOracle(pool: Address, calldata: Hex): RawTx;
|
|
1689
|
+
emergencyConfigureLossPolicy(pool: Address, calldata: Hex): RawTx;
|
|
1690
|
+
/**
|
|
1691
|
+
* Note: current interest rate model factory forbids all emergency configuration calls
|
|
1692
|
+
*/
|
|
1693
|
+
emergencyConfigureInterestRateModel(pool: Address, calldata: Hex): RawTx;
|
|
1694
|
+
/**
|
|
1695
|
+
* Note: current rate keeper factory forbids all emergency configuration calls
|
|
1696
|
+
*/
|
|
1697
|
+
emergencyConfigureRateKeeper(pool: Address, calldata: Hex): RawTx;
|
|
1698
|
+
}
|
|
1699
|
+
export {};
|