@gearbox-protocol/sdk 3.0.0-vfour.255 → 3.0.0-vfour.256

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.
@@ -3146,17 +3146,58 @@ var iPeripheryCompressorAbi = [
3146
3146
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3147
3147
  stateMutability: "view"
3148
3148
  },
3149
+ {
3150
+ type: "function",
3151
+ inputs: [
3152
+ { name: "marketConfigurator", internalType: "address", type: "address" }
3153
+ ],
3154
+ name: "getBots",
3155
+ outputs: [
3156
+ {
3157
+ name: "",
3158
+ internalType: "struct BotState[]",
3159
+ type: "tuple[]",
3160
+ components: [
3161
+ {
3162
+ name: "baseParams",
3163
+ internalType: "struct BaseParams",
3164
+ type: "tuple",
3165
+ components: [
3166
+ { name: "addr", internalType: "address", type: "address" },
3167
+ { name: "version", internalType: "uint256", type: "uint256" },
3168
+ {
3169
+ name: "contractType",
3170
+ internalType: "bytes32",
3171
+ type: "bytes32"
3172
+ },
3173
+ {
3174
+ name: "serializedParams",
3175
+ internalType: "bytes",
3176
+ type: "bytes"
3177
+ }
3178
+ ]
3179
+ },
3180
+ {
3181
+ name: "requiredPermissions",
3182
+ internalType: "uint192",
3183
+ type: "uint192"
3184
+ }
3185
+ ]
3186
+ }
3187
+ ],
3188
+ stateMutability: "view"
3189
+ },
3149
3190
  {
3150
3191
  type: "function",
3151
3192
  inputs: [
3152
3193
  { name: "marketConfigurator", internalType: "address", type: "address" },
3153
3194
  { name: "creditAccount", internalType: "address", type: "address" }
3154
3195
  ],
3155
- name: "getActiveBots",
3196
+ name: "getConnectedBots",
3156
3197
  outputs: [
3157
3198
  {
3158
3199
  name: "",
3159
- internalType: "struct BotState[]",
3200
+ internalType: "struct ConnectedBotState[]",
3160
3201
  type: "tuple[]",
3161
3202
  components: [
3162
3203
  {
@@ -3178,6 +3219,12 @@ var iPeripheryCompressorAbi = [
3178
3219
  }
3179
3220
  ]
3180
3221
  },
3222
+ {
3223
+ name: "requiredPermissions",
3224
+ internalType: "uint192",
3225
+ type: "uint192"
3226
+ },
3227
+ { name: "creditAccount", internalType: "address", type: "address" },
3181
3228
  { name: "permissions", internalType: "uint192", type: "uint192" },
3182
3229
  { name: "forbidden", internalType: "bool", type: "bool" }
3183
3230
  ]
@@ -71463,7 +71510,7 @@ var CreditAccountsService = class extends SDKConstruct {
71463
71510
  }, {});
71464
71511
  return Object.values(r);
71465
71512
  }
71466
- async getActiveBots(accountsToCheck) {
71513
+ async getConnectedBots(accountsToCheck) {
71467
71514
  const resp = await this.provider.publicClient.multicall({
71468
71515
  contracts: accountsToCheck.map((o) => {
71469
71516
  const pool = this.sdk.marketRegister.findByCreditManager(
@@ -71472,7 +71519,7 @@ var CreditAccountsService = class extends SDKConstruct {
71472
71519
  return {
71473
71520
  abi: iPeripheryCompressorAbi,
71474
71521
  address: this.peripheryCompressor,
71475
- functionName: "getActiveBots",
71522
+ functionName: "getConnectedBots",
71476
71523
  args: [pool.configurator.address, o.creditAccount]
71477
71524
  };
71478
71525
  }),
@@ -3735,6 +3735,46 @@ declare const iPeripheryCompressorAbi: readonly [{
3735
3735
  readonly type: "bytes32";
3736
3736
  }];
3737
3737
  readonly stateMutability: "view";
3738
+ }, {
3739
+ readonly type: "function";
3740
+ readonly inputs: readonly [{
3741
+ readonly name: "marketConfigurator";
3742
+ readonly internalType: "address";
3743
+ readonly type: "address";
3744
+ }];
3745
+ readonly name: "getBots";
3746
+ readonly outputs: readonly [{
3747
+ readonly name: "";
3748
+ readonly internalType: "struct BotState[]";
3749
+ readonly type: "tuple[]";
3750
+ readonly components: readonly [{
3751
+ readonly name: "baseParams";
3752
+ readonly internalType: "struct BaseParams";
3753
+ readonly type: "tuple";
3754
+ readonly components: readonly [{
3755
+ readonly name: "addr";
3756
+ readonly internalType: "address";
3757
+ readonly type: "address";
3758
+ }, {
3759
+ readonly name: "version";
3760
+ readonly internalType: "uint256";
3761
+ readonly type: "uint256";
3762
+ }, {
3763
+ readonly name: "contractType";
3764
+ readonly internalType: "bytes32";
3765
+ readonly type: "bytes32";
3766
+ }, {
3767
+ readonly name: "serializedParams";
3768
+ readonly internalType: "bytes";
3769
+ readonly type: "bytes";
3770
+ }];
3771
+ }, {
3772
+ readonly name: "requiredPermissions";
3773
+ readonly internalType: "uint192";
3774
+ readonly type: "uint192";
3775
+ }];
3776
+ }];
3777
+ readonly stateMutability: "view";
3738
3778
  }, {
3739
3779
  readonly type: "function";
3740
3780
  readonly inputs: readonly [{
@@ -3746,10 +3786,10 @@ declare const iPeripheryCompressorAbi: readonly [{
3746
3786
  readonly internalType: "address";
3747
3787
  readonly type: "address";
3748
3788
  }];
3749
- readonly name: "getActiveBots";
3789
+ readonly name: "getConnectedBots";
3750
3790
  readonly outputs: readonly [{
3751
3791
  readonly name: "";
3752
- readonly internalType: "struct BotState[]";
3792
+ readonly internalType: "struct ConnectedBotState[]";
3753
3793
  readonly type: "tuple[]";
3754
3794
  readonly components: readonly [{
3755
3795
  readonly name: "baseParams";
@@ -3772,6 +3812,14 @@ declare const iPeripheryCompressorAbi: readonly [{
3772
3812
  readonly internalType: "bytes";
3773
3813
  readonly type: "bytes";
3774
3814
  }];
3815
+ }, {
3816
+ readonly name: "requiredPermissions";
3817
+ readonly internalType: "uint192";
3818
+ readonly type: "uint192";
3819
+ }, {
3820
+ readonly name: "creditAccount";
3821
+ readonly internalType: "address";
3822
+ readonly type: "address";
3775
3823
  }, {
3776
3824
  readonly name: "permissions";
3777
3825
  readonly internalType: "uint192";
@@ -98270,7 +98318,8 @@ type RewardInfo = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeo
98270
98318
  type MarketData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iMarketCompressorAbi, "getMarkets">["outputs"]>>;
98271
98319
  type ZapperData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getZappers">["outputs"]>>;
98272
98320
  type GaugeData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iGaugeCompressorAbi, "getGauge">["outputs"]>>;
98273
- type BotData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getActiveBots">["outputs"]>>;
98321
+ type ConnectedBotData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getConnectedBots">["outputs"]>>;
98322
+ type BotData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getBots">["outputs"]>>;
98274
98323
  type CreditManagerData = Unarray<MarketData["creditManagers"]>;
98275
98324
  type CreditManagerState = CreditManagerData["creditManager"];
98276
98325
  type CreditFacadeState = CreditManagerData["creditFacade"];
@@ -98786,7 +98835,7 @@ declare class CreditAccountsService extends SDKConstruct {
98786
98835
  */
98787
98836
  getCreditAccounts(args?: CreditAccountFilter, options?: ReadContractOptions): Promise<Array<CreditAccountData>>;
98788
98837
  getRewards(creditAccount: Address): Promise<Array<Rewards>>;
98789
- getActiveBots(accountsToCheck: Array<{
98838
+ getConnectedBots(accountsToCheck: Array<{
98790
98839
  creditAccount: Address;
98791
98840
  creditManager: Address;
98792
98841
  }>): Promise<({
@@ -98802,6 +98851,8 @@ declare class CreditAccountsService extends SDKConstruct {
98802
98851
  contractType: `0x${string}`;
98803
98852
  serializedParams: `0x${string}`;
98804
98853
  };
98854
+ requiredPermissions: bigint;
98855
+ creditAccount: `0x${string}`;
98805
98856
  permissions: bigint;
98806
98857
  forbidden: boolean;
98807
98858
  }[];
@@ -99539,7 +99590,7 @@ interface CreditAccountDataPayload {
99539
99590
  }[];
99540
99591
  cfVersion: bigint;
99541
99592
  expirationDate: number;
99542
- activeBots: BotData[];
99593
+ activeBots: ConnectedBotData[];
99543
99594
  }
99544
99595
 
99545
99596
  type BigNumberish = bigint | number | string;
@@ -99907,6 +99958,16 @@ interface TimeToLiquidationProps {
99907
99958
  totalBorrowRate_debt: bigint;
99908
99959
  healthFactor: number;
99909
99960
  }
99961
+ interface BotDataLegacy {
99962
+ baseParams: {
99963
+ addr: Address;
99964
+ version: bigint;
99965
+ contractType: Address;
99966
+ serializedParams: Address;
99967
+ };
99968
+ permissions: bigint;
99969
+ forbidden: boolean;
99970
+ }
99910
99971
  declare class CreditAccountData_Legacy {
99911
99972
  readonly isSuccessful: boolean;
99912
99973
  readonly creditAccount: Address;
@@ -99929,7 +99990,7 @@ declare class CreditAccountData_Legacy {
99929
99990
  readonly totalValue: bigint;
99930
99991
  readonly totalValueUSD: bigint;
99931
99992
  readonly twvUSD: bigint;
99932
- readonly activeBots: Record<Address, BotData>;
99993
+ readonly activeBots: Record<Address, BotDataLegacy>;
99933
99994
  readonly balances: Record<Address, bigint>;
99934
99995
  readonly collateralTokens: Array<Address>;
99935
99996
  readonly tokens: Record<Address, CaTokenBalance>;
@@ -104149,4 +104210,4 @@ type MulticallErrorType = GetChainContractAddressErrorType | ReadContractErrorTy
104149
104210
  */
104150
104211
  declare function simulateMulticall<const contracts extends readonly unknown[], chain extends Chain | undefined, allowFailure extends boolean = true>(client: Client<Transport, chain>, parameters: MulticallParameters<contracts, allowFailure>): Promise<MulticallReturnType<contracts, allowFailure>>;
104151
104212
 
104152
- export { ADDRESS_0X0, ADDRESS_PROVIDER, ADDRESS_PROVIDER_BLOCK, AP_ACCOUNT_FACTORY, AP_ACL, AP_ADAPTER_COMPRESSOR, AP_BOT_LIST, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DEGEN_DISTRIBUTOR, AP_DEGEN_NFT, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_MULTI_PAUSE, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_POOL_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_ORACLE, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, type AaveV2LPToken, type AaveV2PoolTokenData, AbstractPriceFeedContract, type AdapterContractType, type AdapterContractTypeLegacy, type AdapterData, AdapterInterface, AddressLabeller, AddressMap, AddressProviderContractV3, AddressProviderContractV3_1, type AddressProviderState, type AddressProviderV3StateHuman, type AllLPTokens, type Asset, type AssetPriceFeedStateHuman, AssetUtils, type AssetWithAmountInTarget, type AssetWithView, type AuraLPToken, type AuraLPTokenData, type AuraPoolContract, type AuraStakedToken, type AuraStakedTokenData, BLOCKS_PER_WEEK_BY_NETWORK, type BalancerLPToken, type BalancerLpTokenData, BalancerStablePriceFeedContract, BalancerV2VaultAdapterContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, type BaseContractOptions, type BaseContractStateHuman, type BaseParams, type BasePriceFeedStateHuman, type BaseState, BigIntMath, type BigNumberish, type BotAddresses, type BotBaseType, type BotData, type BotDataPayload, type BotDetailedType, BotListContract, type BotListStateHuman, BotPermissions, BotsService, type BoundedOracleStateHuman, BoundedPriceFeedContract, CREDIT_SESSION_ID_BY_STATUS, CREDIT_SESSION_STATUS_BY_ID, type CaTokenBalance, type CalcAvgQuotaBorrowRateProps, type CalcDefaultQuotaProps, type CalcHealthFactorProps, type CalcMaxLendingDebtProps, type CalcOverallAPYProps, type CalcQuotaBorrowRateProps, type CalcQuotaUpdateProps, type CalcRecommendedQuotaProps, type CalcRelativeBaseBorrowRateProps, CamelotV3AdapterContract, ChainlinkPriceFeedContract, type ChartsAggregatedPoolPayload, type ChartsAggregatedStats, ChartsCreditManagerData, type ChartsCreditManagerPayload, ChartsPoolData, type ChartsPoolDataPayload, type ClaimFarmRewardsProps, type ClaimLmRewardsV2Props, type ClaimLmRewardsV3Props, type CloseCreditAccountResult, type ClosePathBalances, type CommonResult, CompositePriceFeedContract, type CompoundV2LPToken, type CompoundV2PoolTokenData, type ConnectionOptions, type ContractMethod, type ConvexL2StakedToken, type ConvexL2StakedTokenData, type ConvexLPToken, type ConvexLPTokenData, type ConvexPhantomTokenData, type ConvexPoolContract, type ConvexStakedPhantomToken, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, type CoreStateHuman, type CreditAccountData, type CreditAccountDataPayload, type CreditAccountDataSlice, CreditAccountData_Legacy, type CreditAccountFilter, type CreditAccountServiceOptions, CreditAccountsService, type CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV300Contract, CreditConfiguratorV310Contract, type CreditFacadeContract, type CreditFacadeState, type CreditFacadeStateHuman, CreditFacadeV300Contract, CreditFacadeV310Contract, type CreditManagerData, type CreditManagerDataPayload, CreditManagerData_Legacy, type CreditManagerDebtParams, type CreditManagerDebtParamsHuman, type CreditManagerDebtParamsSDK, type CreditManagerState, type CreditManagerStateHuman, type CreditManagerType, CreditManagerV300Contract, CreditManagerV310Contract, CreditSession, type CreditSessionAsset, type CreditSessionBalancePayload, CreditSessionFiltered, type CreditSessionFilteredPayload, type CreditSessionPayload, type CreditSessionReward, type CreditSessionSortFields, type CreditSessionSortType, type CreditSessionStatus, type CreditSessionsAggregatedStats, type CreditSessionsAggregatedStatsPayload, CreditSuite, type CreditSuiteStateHuman, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve3CrvUnderlyingTokenIndex, Curve4AssetsAdapterContract, CurveCryptoPriceFeedContract, type CurveLPToken, type CurveLPTokenData, type CurveMetaTokens, type CurvePoolContract, type CurvePoolStruct, CurveStablePriceFeedContract, type CurveSteCRVPoolParams, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1AdapterStableNGContract, DEPRECIATED_POOLS, DUMB_ADDRESS, DUMB_ADDRESS2, DUMB_ADDRESS3, DUMB_ADDRESS4, DaiUsdsAdapterContract, type DieselSimpleTokenData, type DieselSimpleTokenTypes, type DieselStakedTokenData, type DieselStakedTokenTypes, type DieselTokenData, type DieselTokenTypes, type DieselTokenWithStkTypes, type DieselWithStkTokenV3Data, type Display, ERC4626AdapterContract, type ERC4626LPToken, type ERC4626VaultContract, type ERC4626VaultOfCurveLPTokenData, type ERC4626VaultTokenData, ETH_ADDRESS, EVMEvent, type EVMEventProps, EVMTx, type EVMTxProps, Erc4626PriceFeedContract, type EtherscanURLParam, EventOrTx, type EventOrTxProps, type ExtraRewardApy, type FarmInfo, type FindClosePathInput, GEARBOX_MULTISIG, GEARBOX_RISK_CURATORS, GaugeContract, type GaugeData, type GaugeParams, type GaugeParamsHuman, type GaugeStakingDataPayload, GaugeStakingService, type GaugeStateHuman, GearStakingContract, type GearStakingV3StateHuman, GearboxBackendApi, type GearboxExtraMerkleLmReward, type GearboxLmReward, type GearboxMerkleV2LmReward, GearboxRewardsApi, GearboxRewardsApy, GearboxRewardsExtraApy, GearboxSDK, type GearboxStakedV3LmReward, type GearboxState, type GearboxStateHuman, type GearboxToken, type GearboxTokenData, type GetAddressProviderOptions, type GetExtraRewardsProps, type GetLmRewardsInfoProps, type GetLmRewardsProps, type GetPointsByPoolProps, type GetTotalTokensOnProtocolProps, type GraphPayload, type IAdapterContract$1 as IAdapterContract, type IAddressProviderContract, type IBaseContract$1 as IBaseContract, type ICreditConfiguratorContract, type ICreditManagerContract, type IInterestRateModelContract, type ILPPriceFeedContract, type ILogger, type IPriceFeedContract, type IPriceOracleContract, type IRateKeeperContract, type InterestRateModelStateHuman, type InterestRateModelType, LEVERAGE_DECIMALS, type LPPriceFeedStateHuman, type LPTokenDataI, type LPTokens, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, type LinearModel, type LiquidationBotType, type LogFn, MAX_INT, MAX_UINT16, MAX_UINT256, MIN_INT96, MULTICALL_ADDRESS, type MarketData, type MarketFilter, MarketRegister, type MarketStateHuman, MarketSuite, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowVaultAdapterContract, type MerkleDistributorInfo, type MetaCurveLPTokenData, type MultiCall, type MultiVote, type MulticallErrorType, type MulticallParameters, type MulticallReturnType, NOT_DEPLOYED, NO_VERSION, type NetworkOptions, type NetworkType, type NormalToken, type NormalTokenData, type OnDemandPriceUpdate, type OpenCAProps, type OpenStrategyResult, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PRICE_DECIMALS, PRICE_DECIMALS_POW, type PartialPriceFeedTreeNode, type PartialRecord, type PathFinderCloseResult, type PathFinderOpenStrategyResult, type PathFinderResult, type PathOption, type PathOptionSerie, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, type PermitResult, PhantomTokenType, type PoolContract, type PoolData, type PoolDataExtraPayload, type PoolDataPayload, PoolData_Legacy, type PoolPointsInfo, type PoolQuotaKeeperContract, type PoolQuotaKeeperData, type PoolQuotaKeeperStateHuman, PoolQuotaKeeperV300Contract, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, type PoolType, PoolV300Contract, PositionUtils, type PriceFeedConstructorArgs, type PriceFeedContractType, type PriceFeedContractTypeLegacy, type PriceFeedMapEntry, PriceFeedRef, PriceFeedRegister, type PriceFeedRegisterHooks, type PriceFeedStateHuman, type PriceFeedTreeNode, PriceFeedType, type PriceFeedUsageType, type PriceFeedsForTokensOptions, type PriceOracleContract, type PriceOracleData, PriceOracleV300Contract, PriceOracleV310Contract, type PriceOracleV3StateHuman, PriceUtils, Provider, type QuotaInfo, type QuotaParamsHuman, type QuotaState, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, type RampEvent, type RateKeeperData, type RateKeeperStateHuman, type RateKeeperType, type RawTx, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, type ReleaseAt, type RetryOptions, type RewardInfo, type Rewards, type RouterCloseResult, type RouterHooks, type RouterResult, RouterV3Contract, SDKConstruct, type SDKHooks, type SDKOptions, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, SUPPORTED_CHAINS, type SecondaryStatus, type SendRawTxParameters, StakingRewardsAdapterContract, type StakingRewardsContract, type StakingRewardsPhantomToken, type StakingRewardsPhantomTokenData, type SupportedContract, type SupportedToken, type SupportedValue, type SwapOperation, type SwapTask, type SyncStateOptions, TESTNET_CHAINS, TIMELOCK, type TVL, TXSwap, type TickerInfo, type TickerToken, type TimeToLiquidationProps, type TokenBase, TokenData, type TokenDataI, type TokenDataPayload, type TokenMetaData, type TokenNetwork, TokenType, type TokensAPYList, TokensMeta, type TokensWithAPY, type TransportOptions, type TumblerStateHuman, TxAddBot, TxAddCollateral, TxAddLiquidity, TxApprove, TxClaimNFT, TxClaimRewards, TxCloseAccount, TxDecreaseBorrowAmount, TxGaugeClaim, TxGaugeStake, TxGaugeUnstake, TxGaugeVote, TxIncreaseBorrowAmount, TxLiquidateAccount, TxOpenMultitokenAccount, TxRemoveBot, TxRemoveLiquidity, TxRepayAccount, type TxSerialized, TxSerializer, TxStakeDiesel, type TxStatus, TxUnstakeDiesel, TxUpdateQuota, TxWithdrawCollateral, TypedObjectUtils, URLApi, USDC, USDT, type Unarray, UniswapV2AdapterContract, UniswapV3AdapterContract, type UpdatePriceFeedsResult, type UserCreditSessions, type UserCreditSessionsAggregatedStatsPayload, UserCreditSessionsBuilder, type UserPoolAggregatedStatsPayload, UserPoolData, type UserPoolPayload, VelodromeV2RouterAdapterContract, VotingContractStatus, WAD, WAD_DECIMALS_POW, WETH, type WrapResult, type WrappedAaveV2LPToken, type WrappedAaveV2PoolTokenData, type WrappedToken, type WrappedTokenData, WstETHPriceFeedContract, WstETHV1AdapterContract, type YearnLPToken, YearnPriceFeedContract, YearnV2RouterAdapterContract, type YearnVaultContract, type YearnVaultOfCurveLPTokenData, type YearnVaultOfMetaCurveLPTokenData, type YearnVaultTokenData, type ZapperData, type ZapperDataFull, type ZapperStateHuman, ZeroPriceFeedContract, type ZircuitPhantomTokenData, type ZircuitStakedPhantomToken, aaveV2Tokens, aaveV2WrapperAbi, accountFactoryV3Abi, aclAbi, aclNonReentrantTraitAbi, assetsMap, auraDepositorAbi, auraLpTokens, auraPathResolverAbi, auraStakedTokens, auraTokens, auraWithdrawerAbi, balancerLpDepositorAbi, balancerLpPathResolverAbi, balancerLpTokens, balancerLpWithdrawerAbi, balancerSwapperAbi, balancerV2VaultAdapterAbi, balancesMap, batchLiquidationEstimatorAbi, batchesChainAbi, botListV3Abi, botPermissionsToString, boundedPriceFeedAbi, bptStablePriceFeedAbi, bptWeightedPriceFeedAbi, bytes32ToString, camelotV3AdapterAbi, camelotV3SwapperAbi, chainlinkReadableAggregatorAbi, chains, childLogger, closePathResolverAbi, compositePriceFeedAbi, compoundV2Tokens, compoundV2WrapperAbi, connectors, contractParams, contractsRegisterAbi, controllerTimelockV3Abi, convexDepositorAbi, convexL2StakedTokens, convexLpTokenByPid, convexLpTokens, convexPathResolverAbi, convexPoolByPid, convexStakedPhantomTokens, convexTokens, convexV1BaseRewardPoolAdapterAbi, convexV1BoosterAdapterAbi, convexWithdrawerAbi, createAdapter, createPriceOracle, createRawTx, createTransport, creditManagerV3UsdtAbi, curveCryptoLpPriceFeedAbi, curveLpDepositorAbi, curveLpPathResolverAbi, curveLpWithdrawerAbi, curveMetaTokens, curveStableLpPriceFeedAbi, curveSwapperAbi, curveTokens, curveUsdPriceFeedAbi, curveV1Adapter2AssetsAbi, curveV1Adapter3AssetsAbi, curveV1Adapter4AssetsAbi, curveV1AdapterDepositAbi, curveV1AdapterStEthAbi, curveV1AdapterStableNgAbi, dataCompressorV3Abi, decimals, degenDistributorV3Abi, degenNftv2Abi, detectChain, detectNetwork, erc20Abi, erc4626AdapterAbi, erc4626DepositorAbi, erc4626PathResolverAbi, erc4626PriceFeedAbi, erc4626Tokens, erc4626WithdrawerAbi, errorAbis, etherscanUrl, faucetAbi, filterDust, fmtBinaryMask, formatBN, formatBNvalue, formatBn4dig, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, gaugeV3Abi, gearStakingV3Abi, gearTokens, getAddressProvider, getConnectors, getDecimals, getNetworkType, getTokenSymbol, getTokenSymbolOrTicker, halfRAY, iAdapterAbi, iAdapterCompressorAbi, iAddressProviderV300Abi, iAddressProviderV310Abi, iAirdropDistributorAbi, iArbTokenAbi, iAuraL2CoordinatorAbi, iBalancerStablePoolAbi, iBalancerWeightedPoolAbi, iBaseRewardPoolAbi, iCamelotV3QuoterAbi, iConvexTokenAbi, iCreditAccountCompressorAbi, iCreditConfiguratorV300Abi, iCreditConfiguratorV310Abi, iCreditFacadeV2Abi, iCreditFacadeV2EventsAbi, iCreditFacadeV2ExceptionsAbi, iCreditFacadeV2ExtendedAbi, iCreditFacadeV2V2Abi, iCreditFacadeV300Abi, iCreditFacadeV300MulticallAbi, iCreditFacadeV310Abi, iCreditFacadeV310MulticallAbi, iCreditFacadeV3Abi, iCreditFacadeV3EventsAbi, iCreditFacadeV3MulticallAbi, iCreditManagerV300Abi, iCreditManagerV310Abi, iCreditSuiteCompressorAbi, iCurvePoolAbi, iDaiUsdsAdapterAbi, iDataCompressorV3Abi, iDegenDistributorAbi, iDegenNftv2Abi, iDegenNftv2EventsAbi, iDegenNftv2ExceptionsAbi, iErc4626AdapterAbi, iExceptionsAbi, iFarmingPoolAbi, iGaugeCompressorAbi, iGaugeV300Abi, iInterestRateModelAbi, iLegacyMintableErc20Abi, iLossPolicyAbi, iMarketCompressorAbi, iMarketConfiguratorV310Abi, iMellowVaultAbi, iMellowVaultAdapterAbi, iModifiedBoosterAbi, iMulticall3Abi, iOffchainOracleAbi, iOptimismMintableErc20Abi, iPausableAbi, iPendleRouterAdapterAbi, iPeripheryCompressorAbi, iPoolCompressorAbi, iPoolQuotaKeeperV300Abi, iPoolQuotaKeeperV310Abi, iPoolV300Abi, iPoolV310Abi, iPoolV3Abi, iPoolV3EventsAbi, iPriceFeedAbi, iPriceFeedCompressorAbi, iPriceOracleV300Abi, iPriceOracleV310Abi, iPriceOracleV3Abi, iPriceOracleV3EventsAbi, iRedstoneErrorsAbi, iRedstonePriceFeedEventsAbi, iRedstonePriceFeedExceptionsAbi, iRewardsCompressorAbi, iRouterV3ErrorsAbi, iStakingRewardsAdapterAbi, iSwapperAbi, iTokenCompressorAbi, iTumblerV3Abi, iUpdatablePriceFeedAbi, iVersionAbi, iZapperAbi, ierc20Abi, ierc20MetadataAbi, ierc20PermitAbi, ierc20ZapperDepositsAbi, iethZapperDepositsAbi, ilpPriceFeedAbi, ilpPriceFeedEventsAbi, ilpPriceFeedExceptionsAbi, inflationAttackBlockerAbi, insolvencyCheckerAbi, isAaveV2LPToken, isAuraLPToken, isAuraStakedToken, isAuraToken, isBalancerLPToken, isCompoundV2LPToken, isConvexL2StakedToken, isConvexLPToken, isConvexStakedPhantomToken, isConvexToken, isCurveLPToken, isCurveMetaToken, isDieselSimpleToken, isDieselStakedToken, isDieselToken, isDieselWithStkToken, isERC4626LPToken, isExtraFarmToken, isFarmToken, isLPToken, isLRT_LSTToken, isNormalToken, isStakingRewardsPhantomToken, isSupportedNetwork, isWrappedToken, isYearnLPToken, isZircuitStakedPhantomToken, iwstEthAbi, iyVaultAbi, json_parse, json_stringify, lidoSwapperAbi, lidoV1AdapterAbi, linearInterestRateModelV3Abi, lpTokens, mellowLrtPriceFeedAbi, multiPauseAbi, nonQuoted, normalTokens, numberWithCommas, overrideAggregatorAbi, partialLiquidationBotV3Abi, pendleTWAPPTPriceFeedAbi, percentFmt, poolV3UsdtAbi, priceFeedMultiplierAbi, priceOracleV3Abi, rawTxToMulticallPriceUpdate, rayToNumber, redstonePriceFeedAbi, retry, routerV3Abi, sendRawTx, shortAddress, shortHash, simulateMulticall, stakingRewardsPhantomTokens, stakingRewardsTokens, supportedTokens, susdeOverriderAbi, swapAggregatorAbi, tickerInfoTokensByNetwork, tickerSymbolByAddress, tickerTokensByNetwork, toBN, toBigInt, toHumanFormat, toSignificant, tokenDataByNetwork, tokenStealerAbi, tokenSymbolByAddress, underlyingDepositZapperAbi, underlyingFarmingZapperAbi, uniswapV2AdapterAbi, uniswapV2SwapperAbi, uniswapV3AdapterAbi, uniswapV3SwapperAbi, velodromeV2RouterAdapterAbi, velodromeV2SwapperAbi, wethDepositZapperAbi, wethFarmingZapperAbi, wrapAggregatorAbi, wrappedAaveV2Tokens, wrappedTokens, wstEthPriceFeedAbi, wstEthSwapperAbi, wstEthv1AdapterAbi, yearnDepositorAbi, yearnPathResolverAbi, yearnPriceFeedAbi, yearnTokens, yearnV2AdapterAbi, yearnWithdrawerAbi, zapperRegisterAbi, zeroPriceFeedAbi, zircuitStakedPhantomTokens, zircuitStakedTokenByToken, zircuitTokens };
104213
+ export { ADDRESS_0X0, ADDRESS_PROVIDER, ADDRESS_PROVIDER_BLOCK, AP_ACCOUNT_FACTORY, AP_ACL, AP_ADAPTER_COMPRESSOR, AP_BOT_LIST, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DEGEN_DISTRIBUTOR, AP_DEGEN_NFT, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_MULTI_PAUSE, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_POOL_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_ORACLE, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, type AaveV2LPToken, type AaveV2PoolTokenData, AbstractPriceFeedContract, type AdapterContractType, type AdapterContractTypeLegacy, type AdapterData, AdapterInterface, AddressLabeller, AddressMap, AddressProviderContractV3, AddressProviderContractV3_1, type AddressProviderState, type AddressProviderV3StateHuman, type AllLPTokens, type Asset, type AssetPriceFeedStateHuman, AssetUtils, type AssetWithAmountInTarget, type AssetWithView, type AuraLPToken, type AuraLPTokenData, type AuraPoolContract, type AuraStakedToken, type AuraStakedTokenData, BLOCKS_PER_WEEK_BY_NETWORK, type BalancerLPToken, type BalancerLpTokenData, BalancerStablePriceFeedContract, BalancerV2VaultAdapterContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, type BaseContractOptions, type BaseContractStateHuman, type BaseParams, type BasePriceFeedStateHuman, type BaseState, BigIntMath, type BigNumberish, type BotAddresses, type BotBaseType, type BotData, type BotDataLegacy, type BotDataPayload, type BotDetailedType, BotListContract, type BotListStateHuman, BotPermissions, BotsService, type BoundedOracleStateHuman, BoundedPriceFeedContract, CREDIT_SESSION_ID_BY_STATUS, CREDIT_SESSION_STATUS_BY_ID, type CaTokenBalance, type CalcAvgQuotaBorrowRateProps, type CalcDefaultQuotaProps, type CalcHealthFactorProps, type CalcMaxLendingDebtProps, type CalcOverallAPYProps, type CalcQuotaBorrowRateProps, type CalcQuotaUpdateProps, type CalcRecommendedQuotaProps, type CalcRelativeBaseBorrowRateProps, CamelotV3AdapterContract, ChainlinkPriceFeedContract, type ChartsAggregatedPoolPayload, type ChartsAggregatedStats, ChartsCreditManagerData, type ChartsCreditManagerPayload, ChartsPoolData, type ChartsPoolDataPayload, type ClaimFarmRewardsProps, type ClaimLmRewardsV2Props, type ClaimLmRewardsV3Props, type CloseCreditAccountResult, type ClosePathBalances, type CommonResult, CompositePriceFeedContract, type CompoundV2LPToken, type CompoundV2PoolTokenData, type ConnectedBotData, type ConnectionOptions, type ContractMethod, type ConvexL2StakedToken, type ConvexL2StakedTokenData, type ConvexLPToken, type ConvexLPTokenData, type ConvexPhantomTokenData, type ConvexPoolContract, type ConvexStakedPhantomToken, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, type CoreStateHuman, type CreditAccountData, type CreditAccountDataPayload, type CreditAccountDataSlice, CreditAccountData_Legacy, type CreditAccountFilter, type CreditAccountServiceOptions, CreditAccountsService, type CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV300Contract, CreditConfiguratorV310Contract, type CreditFacadeContract, type CreditFacadeState, type CreditFacadeStateHuman, CreditFacadeV300Contract, CreditFacadeV310Contract, type CreditManagerData, type CreditManagerDataPayload, CreditManagerData_Legacy, type CreditManagerDebtParams, type CreditManagerDebtParamsHuman, type CreditManagerDebtParamsSDK, type CreditManagerState, type CreditManagerStateHuman, type CreditManagerType, CreditManagerV300Contract, CreditManagerV310Contract, CreditSession, type CreditSessionAsset, type CreditSessionBalancePayload, CreditSessionFiltered, type CreditSessionFilteredPayload, type CreditSessionPayload, type CreditSessionReward, type CreditSessionSortFields, type CreditSessionSortType, type CreditSessionStatus, type CreditSessionsAggregatedStats, type CreditSessionsAggregatedStatsPayload, CreditSuite, type CreditSuiteStateHuman, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve3CrvUnderlyingTokenIndex, Curve4AssetsAdapterContract, CurveCryptoPriceFeedContract, type CurveLPToken, type CurveLPTokenData, type CurveMetaTokens, type CurvePoolContract, type CurvePoolStruct, CurveStablePriceFeedContract, type CurveSteCRVPoolParams, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1AdapterStableNGContract, DEPRECIATED_POOLS, DUMB_ADDRESS, DUMB_ADDRESS2, DUMB_ADDRESS3, DUMB_ADDRESS4, DaiUsdsAdapterContract, type DieselSimpleTokenData, type DieselSimpleTokenTypes, type DieselStakedTokenData, type DieselStakedTokenTypes, type DieselTokenData, type DieselTokenTypes, type DieselTokenWithStkTypes, type DieselWithStkTokenV3Data, type Display, ERC4626AdapterContract, type ERC4626LPToken, type ERC4626VaultContract, type ERC4626VaultOfCurveLPTokenData, type ERC4626VaultTokenData, ETH_ADDRESS, EVMEvent, type EVMEventProps, EVMTx, type EVMTxProps, Erc4626PriceFeedContract, type EtherscanURLParam, EventOrTx, type EventOrTxProps, type ExtraRewardApy, type FarmInfo, type FindClosePathInput, GEARBOX_MULTISIG, GEARBOX_RISK_CURATORS, GaugeContract, type GaugeData, type GaugeParams, type GaugeParamsHuman, type GaugeStakingDataPayload, GaugeStakingService, type GaugeStateHuman, GearStakingContract, type GearStakingV3StateHuman, GearboxBackendApi, type GearboxExtraMerkleLmReward, type GearboxLmReward, type GearboxMerkleV2LmReward, GearboxRewardsApi, GearboxRewardsApy, GearboxRewardsExtraApy, GearboxSDK, type GearboxStakedV3LmReward, type GearboxState, type GearboxStateHuman, type GearboxToken, type GearboxTokenData, type GetAddressProviderOptions, type GetExtraRewardsProps, type GetLmRewardsInfoProps, type GetLmRewardsProps, type GetPointsByPoolProps, type GetTotalTokensOnProtocolProps, type GraphPayload, type IAdapterContract$1 as IAdapterContract, type IAddressProviderContract, type IBaseContract$1 as IBaseContract, type ICreditConfiguratorContract, type ICreditManagerContract, type IInterestRateModelContract, type ILPPriceFeedContract, type ILogger, type IPriceFeedContract, type IPriceOracleContract, type IRateKeeperContract, type InterestRateModelStateHuman, type InterestRateModelType, LEVERAGE_DECIMALS, type LPPriceFeedStateHuman, type LPTokenDataI, type LPTokens, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, type LinearModel, type LiquidationBotType, type LogFn, MAX_INT, MAX_UINT16, MAX_UINT256, MIN_INT96, MULTICALL_ADDRESS, type MarketData, type MarketFilter, MarketRegister, type MarketStateHuman, MarketSuite, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowVaultAdapterContract, type MerkleDistributorInfo, type MetaCurveLPTokenData, type MultiCall, type MultiVote, type MulticallErrorType, type MulticallParameters, type MulticallReturnType, NOT_DEPLOYED, NO_VERSION, type NetworkOptions, type NetworkType, type NormalToken, type NormalTokenData, type OnDemandPriceUpdate, type OpenCAProps, type OpenStrategyResult, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PRICE_DECIMALS, PRICE_DECIMALS_POW, type PartialPriceFeedTreeNode, type PartialRecord, type PathFinderCloseResult, type PathFinderOpenStrategyResult, type PathFinderResult, type PathOption, type PathOptionSerie, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, type PermitResult, PhantomTokenType, type PoolContract, type PoolData, type PoolDataExtraPayload, type PoolDataPayload, PoolData_Legacy, type PoolPointsInfo, type PoolQuotaKeeperContract, type PoolQuotaKeeperData, type PoolQuotaKeeperStateHuman, PoolQuotaKeeperV300Contract, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, type PoolType, PoolV300Contract, PositionUtils, type PriceFeedConstructorArgs, type PriceFeedContractType, type PriceFeedContractTypeLegacy, type PriceFeedMapEntry, PriceFeedRef, PriceFeedRegister, type PriceFeedRegisterHooks, type PriceFeedStateHuman, type PriceFeedTreeNode, PriceFeedType, type PriceFeedUsageType, type PriceFeedsForTokensOptions, type PriceOracleContract, type PriceOracleData, PriceOracleV300Contract, PriceOracleV310Contract, type PriceOracleV3StateHuman, PriceUtils, Provider, type QuotaInfo, type QuotaParamsHuman, type QuotaState, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, type RampEvent, type RateKeeperData, type RateKeeperStateHuman, type RateKeeperType, type RawTx, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, type ReleaseAt, type RetryOptions, type RewardInfo, type Rewards, type RouterCloseResult, type RouterHooks, type RouterResult, RouterV3Contract, SDKConstruct, type SDKHooks, type SDKOptions, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, SUPPORTED_CHAINS, type SecondaryStatus, type SendRawTxParameters, StakingRewardsAdapterContract, type StakingRewardsContract, type StakingRewardsPhantomToken, type StakingRewardsPhantomTokenData, type SupportedContract, type SupportedToken, type SupportedValue, type SwapOperation, type SwapTask, type SyncStateOptions, TESTNET_CHAINS, TIMELOCK, type TVL, TXSwap, type TickerInfo, type TickerToken, type TimeToLiquidationProps, type TokenBase, TokenData, type TokenDataI, type TokenDataPayload, type TokenMetaData, type TokenNetwork, TokenType, type TokensAPYList, TokensMeta, type TokensWithAPY, type TransportOptions, type TumblerStateHuman, TxAddBot, TxAddCollateral, TxAddLiquidity, TxApprove, TxClaimNFT, TxClaimRewards, TxCloseAccount, TxDecreaseBorrowAmount, TxGaugeClaim, TxGaugeStake, TxGaugeUnstake, TxGaugeVote, TxIncreaseBorrowAmount, TxLiquidateAccount, TxOpenMultitokenAccount, TxRemoveBot, TxRemoveLiquidity, TxRepayAccount, type TxSerialized, TxSerializer, TxStakeDiesel, type TxStatus, TxUnstakeDiesel, TxUpdateQuota, TxWithdrawCollateral, TypedObjectUtils, URLApi, USDC, USDT, type Unarray, UniswapV2AdapterContract, UniswapV3AdapterContract, type UpdatePriceFeedsResult, type UserCreditSessions, type UserCreditSessionsAggregatedStatsPayload, UserCreditSessionsBuilder, type UserPoolAggregatedStatsPayload, UserPoolData, type UserPoolPayload, VelodromeV2RouterAdapterContract, VotingContractStatus, WAD, WAD_DECIMALS_POW, WETH, type WrapResult, type WrappedAaveV2LPToken, type WrappedAaveV2PoolTokenData, type WrappedToken, type WrappedTokenData, WstETHPriceFeedContract, WstETHV1AdapterContract, type YearnLPToken, YearnPriceFeedContract, YearnV2RouterAdapterContract, type YearnVaultContract, type YearnVaultOfCurveLPTokenData, type YearnVaultOfMetaCurveLPTokenData, type YearnVaultTokenData, type ZapperData, type ZapperDataFull, type ZapperStateHuman, ZeroPriceFeedContract, type ZircuitPhantomTokenData, type ZircuitStakedPhantomToken, aaveV2Tokens, aaveV2WrapperAbi, accountFactoryV3Abi, aclAbi, aclNonReentrantTraitAbi, assetsMap, auraDepositorAbi, auraLpTokens, auraPathResolverAbi, auraStakedTokens, auraTokens, auraWithdrawerAbi, balancerLpDepositorAbi, balancerLpPathResolverAbi, balancerLpTokens, balancerLpWithdrawerAbi, balancerSwapperAbi, balancerV2VaultAdapterAbi, balancesMap, batchLiquidationEstimatorAbi, batchesChainAbi, botListV3Abi, botPermissionsToString, boundedPriceFeedAbi, bptStablePriceFeedAbi, bptWeightedPriceFeedAbi, bytes32ToString, camelotV3AdapterAbi, camelotV3SwapperAbi, chainlinkReadableAggregatorAbi, chains, childLogger, closePathResolverAbi, compositePriceFeedAbi, compoundV2Tokens, compoundV2WrapperAbi, connectors, contractParams, contractsRegisterAbi, controllerTimelockV3Abi, convexDepositorAbi, convexL2StakedTokens, convexLpTokenByPid, convexLpTokens, convexPathResolverAbi, convexPoolByPid, convexStakedPhantomTokens, convexTokens, convexV1BaseRewardPoolAdapterAbi, convexV1BoosterAdapterAbi, convexWithdrawerAbi, createAdapter, createPriceOracle, createRawTx, createTransport, creditManagerV3UsdtAbi, curveCryptoLpPriceFeedAbi, curveLpDepositorAbi, curveLpPathResolverAbi, curveLpWithdrawerAbi, curveMetaTokens, curveStableLpPriceFeedAbi, curveSwapperAbi, curveTokens, curveUsdPriceFeedAbi, curveV1Adapter2AssetsAbi, curveV1Adapter3AssetsAbi, curveV1Adapter4AssetsAbi, curveV1AdapterDepositAbi, curveV1AdapterStEthAbi, curveV1AdapterStableNgAbi, dataCompressorV3Abi, decimals, degenDistributorV3Abi, degenNftv2Abi, detectChain, detectNetwork, erc20Abi, erc4626AdapterAbi, erc4626DepositorAbi, erc4626PathResolverAbi, erc4626PriceFeedAbi, erc4626Tokens, erc4626WithdrawerAbi, errorAbis, etherscanUrl, faucetAbi, filterDust, fmtBinaryMask, formatBN, formatBNvalue, formatBn4dig, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, gaugeV3Abi, gearStakingV3Abi, gearTokens, getAddressProvider, getConnectors, getDecimals, getNetworkType, getTokenSymbol, getTokenSymbolOrTicker, halfRAY, iAdapterAbi, iAdapterCompressorAbi, iAddressProviderV300Abi, iAddressProviderV310Abi, iAirdropDistributorAbi, iArbTokenAbi, iAuraL2CoordinatorAbi, iBalancerStablePoolAbi, iBalancerWeightedPoolAbi, iBaseRewardPoolAbi, iCamelotV3QuoterAbi, iConvexTokenAbi, iCreditAccountCompressorAbi, iCreditConfiguratorV300Abi, iCreditConfiguratorV310Abi, iCreditFacadeV2Abi, iCreditFacadeV2EventsAbi, iCreditFacadeV2ExceptionsAbi, iCreditFacadeV2ExtendedAbi, iCreditFacadeV2V2Abi, iCreditFacadeV300Abi, iCreditFacadeV300MulticallAbi, iCreditFacadeV310Abi, iCreditFacadeV310MulticallAbi, iCreditFacadeV3Abi, iCreditFacadeV3EventsAbi, iCreditFacadeV3MulticallAbi, iCreditManagerV300Abi, iCreditManagerV310Abi, iCreditSuiteCompressorAbi, iCurvePoolAbi, iDaiUsdsAdapterAbi, iDataCompressorV3Abi, iDegenDistributorAbi, iDegenNftv2Abi, iDegenNftv2EventsAbi, iDegenNftv2ExceptionsAbi, iErc4626AdapterAbi, iExceptionsAbi, iFarmingPoolAbi, iGaugeCompressorAbi, iGaugeV300Abi, iInterestRateModelAbi, iLegacyMintableErc20Abi, iLossPolicyAbi, iMarketCompressorAbi, iMarketConfiguratorV310Abi, iMellowVaultAbi, iMellowVaultAdapterAbi, iModifiedBoosterAbi, iMulticall3Abi, iOffchainOracleAbi, iOptimismMintableErc20Abi, iPausableAbi, iPendleRouterAdapterAbi, iPeripheryCompressorAbi, iPoolCompressorAbi, iPoolQuotaKeeperV300Abi, iPoolQuotaKeeperV310Abi, iPoolV300Abi, iPoolV310Abi, iPoolV3Abi, iPoolV3EventsAbi, iPriceFeedAbi, iPriceFeedCompressorAbi, iPriceOracleV300Abi, iPriceOracleV310Abi, iPriceOracleV3Abi, iPriceOracleV3EventsAbi, iRedstoneErrorsAbi, iRedstonePriceFeedEventsAbi, iRedstonePriceFeedExceptionsAbi, iRewardsCompressorAbi, iRouterV3ErrorsAbi, iStakingRewardsAdapterAbi, iSwapperAbi, iTokenCompressorAbi, iTumblerV3Abi, iUpdatablePriceFeedAbi, iVersionAbi, iZapperAbi, ierc20Abi, ierc20MetadataAbi, ierc20PermitAbi, ierc20ZapperDepositsAbi, iethZapperDepositsAbi, ilpPriceFeedAbi, ilpPriceFeedEventsAbi, ilpPriceFeedExceptionsAbi, inflationAttackBlockerAbi, insolvencyCheckerAbi, isAaveV2LPToken, isAuraLPToken, isAuraStakedToken, isAuraToken, isBalancerLPToken, isCompoundV2LPToken, isConvexL2StakedToken, isConvexLPToken, isConvexStakedPhantomToken, isConvexToken, isCurveLPToken, isCurveMetaToken, isDieselSimpleToken, isDieselStakedToken, isDieselToken, isDieselWithStkToken, isERC4626LPToken, isExtraFarmToken, isFarmToken, isLPToken, isLRT_LSTToken, isNormalToken, isStakingRewardsPhantomToken, isSupportedNetwork, isWrappedToken, isYearnLPToken, isZircuitStakedPhantomToken, iwstEthAbi, iyVaultAbi, json_parse, json_stringify, lidoSwapperAbi, lidoV1AdapterAbi, linearInterestRateModelV3Abi, lpTokens, mellowLrtPriceFeedAbi, multiPauseAbi, nonQuoted, normalTokens, numberWithCommas, overrideAggregatorAbi, partialLiquidationBotV3Abi, pendleTWAPPTPriceFeedAbi, percentFmt, poolV3UsdtAbi, priceFeedMultiplierAbi, priceOracleV3Abi, rawTxToMulticallPriceUpdate, rayToNumber, redstonePriceFeedAbi, retry, routerV3Abi, sendRawTx, shortAddress, shortHash, simulateMulticall, stakingRewardsPhantomTokens, stakingRewardsTokens, supportedTokens, susdeOverriderAbi, swapAggregatorAbi, tickerInfoTokensByNetwork, tickerSymbolByAddress, tickerTokensByNetwork, toBN, toBigInt, toHumanFormat, toSignificant, tokenDataByNetwork, tokenStealerAbi, tokenSymbolByAddress, underlyingDepositZapperAbi, underlyingFarmingZapperAbi, uniswapV2AdapterAbi, uniswapV2SwapperAbi, uniswapV3AdapterAbi, uniswapV3SwapperAbi, velodromeV2RouterAdapterAbi, velodromeV2SwapperAbi, wethDepositZapperAbi, wethFarmingZapperAbi, wrapAggregatorAbi, wrappedAaveV2Tokens, wrappedTokens, wstEthPriceFeedAbi, wstEthSwapperAbi, wstEthv1AdapterAbi, yearnDepositorAbi, yearnPathResolverAbi, yearnPriceFeedAbi, yearnTokens, yearnV2AdapterAbi, yearnWithdrawerAbi, zapperRegisterAbi, zeroPriceFeedAbi, zircuitStakedPhantomTokens, zircuitStakedTokenByToken, zircuitTokens };
@@ -3735,6 +3735,46 @@ declare const iPeripheryCompressorAbi: readonly [{
3735
3735
  readonly type: "bytes32";
3736
3736
  }];
3737
3737
  readonly stateMutability: "view";
3738
+ }, {
3739
+ readonly type: "function";
3740
+ readonly inputs: readonly [{
3741
+ readonly name: "marketConfigurator";
3742
+ readonly internalType: "address";
3743
+ readonly type: "address";
3744
+ }];
3745
+ readonly name: "getBots";
3746
+ readonly outputs: readonly [{
3747
+ readonly name: "";
3748
+ readonly internalType: "struct BotState[]";
3749
+ readonly type: "tuple[]";
3750
+ readonly components: readonly [{
3751
+ readonly name: "baseParams";
3752
+ readonly internalType: "struct BaseParams";
3753
+ readonly type: "tuple";
3754
+ readonly components: readonly [{
3755
+ readonly name: "addr";
3756
+ readonly internalType: "address";
3757
+ readonly type: "address";
3758
+ }, {
3759
+ readonly name: "version";
3760
+ readonly internalType: "uint256";
3761
+ readonly type: "uint256";
3762
+ }, {
3763
+ readonly name: "contractType";
3764
+ readonly internalType: "bytes32";
3765
+ readonly type: "bytes32";
3766
+ }, {
3767
+ readonly name: "serializedParams";
3768
+ readonly internalType: "bytes";
3769
+ readonly type: "bytes";
3770
+ }];
3771
+ }, {
3772
+ readonly name: "requiredPermissions";
3773
+ readonly internalType: "uint192";
3774
+ readonly type: "uint192";
3775
+ }];
3776
+ }];
3777
+ readonly stateMutability: "view";
3738
3778
  }, {
3739
3779
  readonly type: "function";
3740
3780
  readonly inputs: readonly [{
@@ -3746,10 +3786,10 @@ declare const iPeripheryCompressorAbi: readonly [{
3746
3786
  readonly internalType: "address";
3747
3787
  readonly type: "address";
3748
3788
  }];
3749
- readonly name: "getActiveBots";
3789
+ readonly name: "getConnectedBots";
3750
3790
  readonly outputs: readonly [{
3751
3791
  readonly name: "";
3752
- readonly internalType: "struct BotState[]";
3792
+ readonly internalType: "struct ConnectedBotState[]";
3753
3793
  readonly type: "tuple[]";
3754
3794
  readonly components: readonly [{
3755
3795
  readonly name: "baseParams";
@@ -3772,6 +3812,14 @@ declare const iPeripheryCompressorAbi: readonly [{
3772
3812
  readonly internalType: "bytes";
3773
3813
  readonly type: "bytes";
3774
3814
  }];
3815
+ }, {
3816
+ readonly name: "requiredPermissions";
3817
+ readonly internalType: "uint192";
3818
+ readonly type: "uint192";
3819
+ }, {
3820
+ readonly name: "creditAccount";
3821
+ readonly internalType: "address";
3822
+ readonly type: "address";
3775
3823
  }, {
3776
3824
  readonly name: "permissions";
3777
3825
  readonly internalType: "uint192";
@@ -98270,7 +98318,8 @@ type RewardInfo = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeo
98270
98318
  type MarketData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iMarketCompressorAbi, "getMarkets">["outputs"]>>;
98271
98319
  type ZapperData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getZappers">["outputs"]>>;
98272
98320
  type GaugeData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iGaugeCompressorAbi, "getGauge">["outputs"]>>;
98273
- type BotData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getActiveBots">["outputs"]>>;
98321
+ type ConnectedBotData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getConnectedBots">["outputs"]>>;
98322
+ type BotData = Unarray<AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof iPeripheryCompressorAbi, "getBots">["outputs"]>>;
98274
98323
  type CreditManagerData = Unarray<MarketData["creditManagers"]>;
98275
98324
  type CreditManagerState = CreditManagerData["creditManager"];
98276
98325
  type CreditFacadeState = CreditManagerData["creditFacade"];
@@ -98786,7 +98835,7 @@ declare class CreditAccountsService extends SDKConstruct {
98786
98835
  */
98787
98836
  getCreditAccounts(args?: CreditAccountFilter, options?: ReadContractOptions): Promise<Array<CreditAccountData>>;
98788
98837
  getRewards(creditAccount: Address): Promise<Array<Rewards>>;
98789
- getActiveBots(accountsToCheck: Array<{
98838
+ getConnectedBots(accountsToCheck: Array<{
98790
98839
  creditAccount: Address;
98791
98840
  creditManager: Address;
98792
98841
  }>): Promise<({
@@ -98802,6 +98851,8 @@ declare class CreditAccountsService extends SDKConstruct {
98802
98851
  contractType: `0x${string}`;
98803
98852
  serializedParams: `0x${string}`;
98804
98853
  };
98854
+ requiredPermissions: bigint;
98855
+ creditAccount: `0x${string}`;
98805
98856
  permissions: bigint;
98806
98857
  forbidden: boolean;
98807
98858
  }[];
@@ -99539,7 +99590,7 @@ interface CreditAccountDataPayload {
99539
99590
  }[];
99540
99591
  cfVersion: bigint;
99541
99592
  expirationDate: number;
99542
- activeBots: BotData[];
99593
+ activeBots: ConnectedBotData[];
99543
99594
  }
99544
99595
 
99545
99596
  type BigNumberish = bigint | number | string;
@@ -99907,6 +99958,16 @@ interface TimeToLiquidationProps {
99907
99958
  totalBorrowRate_debt: bigint;
99908
99959
  healthFactor: number;
99909
99960
  }
99961
+ interface BotDataLegacy {
99962
+ baseParams: {
99963
+ addr: Address;
99964
+ version: bigint;
99965
+ contractType: Address;
99966
+ serializedParams: Address;
99967
+ };
99968
+ permissions: bigint;
99969
+ forbidden: boolean;
99970
+ }
99910
99971
  declare class CreditAccountData_Legacy {
99911
99972
  readonly isSuccessful: boolean;
99912
99973
  readonly creditAccount: Address;
@@ -99929,7 +99990,7 @@ declare class CreditAccountData_Legacy {
99929
99990
  readonly totalValue: bigint;
99930
99991
  readonly totalValueUSD: bigint;
99931
99992
  readonly twvUSD: bigint;
99932
- readonly activeBots: Record<Address, BotData>;
99993
+ readonly activeBots: Record<Address, BotDataLegacy>;
99933
99994
  readonly balances: Record<Address, bigint>;
99934
99995
  readonly collateralTokens: Array<Address>;
99935
99996
  readonly tokens: Record<Address, CaTokenBalance>;
@@ -104149,4 +104210,4 @@ type MulticallErrorType = GetChainContractAddressErrorType | ReadContractErrorTy
104149
104210
  */
104150
104211
  declare function simulateMulticall<const contracts extends readonly unknown[], chain extends Chain | undefined, allowFailure extends boolean = true>(client: Client<Transport, chain>, parameters: MulticallParameters<contracts, allowFailure>): Promise<MulticallReturnType<contracts, allowFailure>>;
104151
104212
 
104152
- export { ADDRESS_0X0, ADDRESS_PROVIDER, ADDRESS_PROVIDER_BLOCK, AP_ACCOUNT_FACTORY, AP_ACL, AP_ADAPTER_COMPRESSOR, AP_BOT_LIST, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DEGEN_DISTRIBUTOR, AP_DEGEN_NFT, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_MULTI_PAUSE, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_POOL_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_ORACLE, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, type AaveV2LPToken, type AaveV2PoolTokenData, AbstractPriceFeedContract, type AdapterContractType, type AdapterContractTypeLegacy, type AdapterData, AdapterInterface, AddressLabeller, AddressMap, AddressProviderContractV3, AddressProviderContractV3_1, type AddressProviderState, type AddressProviderV3StateHuman, type AllLPTokens, type Asset, type AssetPriceFeedStateHuman, AssetUtils, type AssetWithAmountInTarget, type AssetWithView, type AuraLPToken, type AuraLPTokenData, type AuraPoolContract, type AuraStakedToken, type AuraStakedTokenData, BLOCKS_PER_WEEK_BY_NETWORK, type BalancerLPToken, type BalancerLpTokenData, BalancerStablePriceFeedContract, BalancerV2VaultAdapterContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, type BaseContractOptions, type BaseContractStateHuman, type BaseParams, type BasePriceFeedStateHuman, type BaseState, BigIntMath, type BigNumberish, type BotAddresses, type BotBaseType, type BotData, type BotDataPayload, type BotDetailedType, BotListContract, type BotListStateHuman, BotPermissions, BotsService, type BoundedOracleStateHuman, BoundedPriceFeedContract, CREDIT_SESSION_ID_BY_STATUS, CREDIT_SESSION_STATUS_BY_ID, type CaTokenBalance, type CalcAvgQuotaBorrowRateProps, type CalcDefaultQuotaProps, type CalcHealthFactorProps, type CalcMaxLendingDebtProps, type CalcOverallAPYProps, type CalcQuotaBorrowRateProps, type CalcQuotaUpdateProps, type CalcRecommendedQuotaProps, type CalcRelativeBaseBorrowRateProps, CamelotV3AdapterContract, ChainlinkPriceFeedContract, type ChartsAggregatedPoolPayload, type ChartsAggregatedStats, ChartsCreditManagerData, type ChartsCreditManagerPayload, ChartsPoolData, type ChartsPoolDataPayload, type ClaimFarmRewardsProps, type ClaimLmRewardsV2Props, type ClaimLmRewardsV3Props, type CloseCreditAccountResult, type ClosePathBalances, type CommonResult, CompositePriceFeedContract, type CompoundV2LPToken, type CompoundV2PoolTokenData, type ConnectionOptions, type ContractMethod, type ConvexL2StakedToken, type ConvexL2StakedTokenData, type ConvexLPToken, type ConvexLPTokenData, type ConvexPhantomTokenData, type ConvexPoolContract, type ConvexStakedPhantomToken, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, type CoreStateHuman, type CreditAccountData, type CreditAccountDataPayload, type CreditAccountDataSlice, CreditAccountData_Legacy, type CreditAccountFilter, type CreditAccountServiceOptions, CreditAccountsService, type CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV300Contract, CreditConfiguratorV310Contract, type CreditFacadeContract, type CreditFacadeState, type CreditFacadeStateHuman, CreditFacadeV300Contract, CreditFacadeV310Contract, type CreditManagerData, type CreditManagerDataPayload, CreditManagerData_Legacy, type CreditManagerDebtParams, type CreditManagerDebtParamsHuman, type CreditManagerDebtParamsSDK, type CreditManagerState, type CreditManagerStateHuman, type CreditManagerType, CreditManagerV300Contract, CreditManagerV310Contract, CreditSession, type CreditSessionAsset, type CreditSessionBalancePayload, CreditSessionFiltered, type CreditSessionFilteredPayload, type CreditSessionPayload, type CreditSessionReward, type CreditSessionSortFields, type CreditSessionSortType, type CreditSessionStatus, type CreditSessionsAggregatedStats, type CreditSessionsAggregatedStatsPayload, CreditSuite, type CreditSuiteStateHuman, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve3CrvUnderlyingTokenIndex, Curve4AssetsAdapterContract, CurveCryptoPriceFeedContract, type CurveLPToken, type CurveLPTokenData, type CurveMetaTokens, type CurvePoolContract, type CurvePoolStruct, CurveStablePriceFeedContract, type CurveSteCRVPoolParams, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1AdapterStableNGContract, DEPRECIATED_POOLS, DUMB_ADDRESS, DUMB_ADDRESS2, DUMB_ADDRESS3, DUMB_ADDRESS4, DaiUsdsAdapterContract, type DieselSimpleTokenData, type DieselSimpleTokenTypes, type DieselStakedTokenData, type DieselStakedTokenTypes, type DieselTokenData, type DieselTokenTypes, type DieselTokenWithStkTypes, type DieselWithStkTokenV3Data, type Display, ERC4626AdapterContract, type ERC4626LPToken, type ERC4626VaultContract, type ERC4626VaultOfCurveLPTokenData, type ERC4626VaultTokenData, ETH_ADDRESS, EVMEvent, type EVMEventProps, EVMTx, type EVMTxProps, Erc4626PriceFeedContract, type EtherscanURLParam, EventOrTx, type EventOrTxProps, type ExtraRewardApy, type FarmInfo, type FindClosePathInput, GEARBOX_MULTISIG, GEARBOX_RISK_CURATORS, GaugeContract, type GaugeData, type GaugeParams, type GaugeParamsHuman, type GaugeStakingDataPayload, GaugeStakingService, type GaugeStateHuman, GearStakingContract, type GearStakingV3StateHuman, GearboxBackendApi, type GearboxExtraMerkleLmReward, type GearboxLmReward, type GearboxMerkleV2LmReward, GearboxRewardsApi, GearboxRewardsApy, GearboxRewardsExtraApy, GearboxSDK, type GearboxStakedV3LmReward, type GearboxState, type GearboxStateHuman, type GearboxToken, type GearboxTokenData, type GetAddressProviderOptions, type GetExtraRewardsProps, type GetLmRewardsInfoProps, type GetLmRewardsProps, type GetPointsByPoolProps, type GetTotalTokensOnProtocolProps, type GraphPayload, type IAdapterContract$1 as IAdapterContract, type IAddressProviderContract, type IBaseContract$1 as IBaseContract, type ICreditConfiguratorContract, type ICreditManagerContract, type IInterestRateModelContract, type ILPPriceFeedContract, type ILogger, type IPriceFeedContract, type IPriceOracleContract, type IRateKeeperContract, type InterestRateModelStateHuman, type InterestRateModelType, LEVERAGE_DECIMALS, type LPPriceFeedStateHuman, type LPTokenDataI, type LPTokens, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, type LinearModel, type LiquidationBotType, type LogFn, MAX_INT, MAX_UINT16, MAX_UINT256, MIN_INT96, MULTICALL_ADDRESS, type MarketData, type MarketFilter, MarketRegister, type MarketStateHuman, MarketSuite, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowVaultAdapterContract, type MerkleDistributorInfo, type MetaCurveLPTokenData, type MultiCall, type MultiVote, type MulticallErrorType, type MulticallParameters, type MulticallReturnType, NOT_DEPLOYED, NO_VERSION, type NetworkOptions, type NetworkType, type NormalToken, type NormalTokenData, type OnDemandPriceUpdate, type OpenCAProps, type OpenStrategyResult, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PRICE_DECIMALS, PRICE_DECIMALS_POW, type PartialPriceFeedTreeNode, type PartialRecord, type PathFinderCloseResult, type PathFinderOpenStrategyResult, type PathFinderResult, type PathOption, type PathOptionSerie, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, type PermitResult, PhantomTokenType, type PoolContract, type PoolData, type PoolDataExtraPayload, type PoolDataPayload, PoolData_Legacy, type PoolPointsInfo, type PoolQuotaKeeperContract, type PoolQuotaKeeperData, type PoolQuotaKeeperStateHuman, PoolQuotaKeeperV300Contract, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, type PoolType, PoolV300Contract, PositionUtils, type PriceFeedConstructorArgs, type PriceFeedContractType, type PriceFeedContractTypeLegacy, type PriceFeedMapEntry, PriceFeedRef, PriceFeedRegister, type PriceFeedRegisterHooks, type PriceFeedStateHuman, type PriceFeedTreeNode, PriceFeedType, type PriceFeedUsageType, type PriceFeedsForTokensOptions, type PriceOracleContract, type PriceOracleData, PriceOracleV300Contract, PriceOracleV310Contract, type PriceOracleV3StateHuman, PriceUtils, Provider, type QuotaInfo, type QuotaParamsHuman, type QuotaState, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, type RampEvent, type RateKeeperData, type RateKeeperStateHuman, type RateKeeperType, type RawTx, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, type ReleaseAt, type RetryOptions, type RewardInfo, type Rewards, type RouterCloseResult, type RouterHooks, type RouterResult, RouterV3Contract, SDKConstruct, type SDKHooks, type SDKOptions, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, SUPPORTED_CHAINS, type SecondaryStatus, type SendRawTxParameters, StakingRewardsAdapterContract, type StakingRewardsContract, type StakingRewardsPhantomToken, type StakingRewardsPhantomTokenData, type SupportedContract, type SupportedToken, type SupportedValue, type SwapOperation, type SwapTask, type SyncStateOptions, TESTNET_CHAINS, TIMELOCK, type TVL, TXSwap, type TickerInfo, type TickerToken, type TimeToLiquidationProps, type TokenBase, TokenData, type TokenDataI, type TokenDataPayload, type TokenMetaData, type TokenNetwork, TokenType, type TokensAPYList, TokensMeta, type TokensWithAPY, type TransportOptions, type TumblerStateHuman, TxAddBot, TxAddCollateral, TxAddLiquidity, TxApprove, TxClaimNFT, TxClaimRewards, TxCloseAccount, TxDecreaseBorrowAmount, TxGaugeClaim, TxGaugeStake, TxGaugeUnstake, TxGaugeVote, TxIncreaseBorrowAmount, TxLiquidateAccount, TxOpenMultitokenAccount, TxRemoveBot, TxRemoveLiquidity, TxRepayAccount, type TxSerialized, TxSerializer, TxStakeDiesel, type TxStatus, TxUnstakeDiesel, TxUpdateQuota, TxWithdrawCollateral, TypedObjectUtils, URLApi, USDC, USDT, type Unarray, UniswapV2AdapterContract, UniswapV3AdapterContract, type UpdatePriceFeedsResult, type UserCreditSessions, type UserCreditSessionsAggregatedStatsPayload, UserCreditSessionsBuilder, type UserPoolAggregatedStatsPayload, UserPoolData, type UserPoolPayload, VelodromeV2RouterAdapterContract, VotingContractStatus, WAD, WAD_DECIMALS_POW, WETH, type WrapResult, type WrappedAaveV2LPToken, type WrappedAaveV2PoolTokenData, type WrappedToken, type WrappedTokenData, WstETHPriceFeedContract, WstETHV1AdapterContract, type YearnLPToken, YearnPriceFeedContract, YearnV2RouterAdapterContract, type YearnVaultContract, type YearnVaultOfCurveLPTokenData, type YearnVaultOfMetaCurveLPTokenData, type YearnVaultTokenData, type ZapperData, type ZapperDataFull, type ZapperStateHuman, ZeroPriceFeedContract, type ZircuitPhantomTokenData, type ZircuitStakedPhantomToken, aaveV2Tokens, aaveV2WrapperAbi, accountFactoryV3Abi, aclAbi, aclNonReentrantTraitAbi, assetsMap, auraDepositorAbi, auraLpTokens, auraPathResolverAbi, auraStakedTokens, auraTokens, auraWithdrawerAbi, balancerLpDepositorAbi, balancerLpPathResolverAbi, balancerLpTokens, balancerLpWithdrawerAbi, balancerSwapperAbi, balancerV2VaultAdapterAbi, balancesMap, batchLiquidationEstimatorAbi, batchesChainAbi, botListV3Abi, botPermissionsToString, boundedPriceFeedAbi, bptStablePriceFeedAbi, bptWeightedPriceFeedAbi, bytes32ToString, camelotV3AdapterAbi, camelotV3SwapperAbi, chainlinkReadableAggregatorAbi, chains, childLogger, closePathResolverAbi, compositePriceFeedAbi, compoundV2Tokens, compoundV2WrapperAbi, connectors, contractParams, contractsRegisterAbi, controllerTimelockV3Abi, convexDepositorAbi, convexL2StakedTokens, convexLpTokenByPid, convexLpTokens, convexPathResolverAbi, convexPoolByPid, convexStakedPhantomTokens, convexTokens, convexV1BaseRewardPoolAdapterAbi, convexV1BoosterAdapterAbi, convexWithdrawerAbi, createAdapter, createPriceOracle, createRawTx, createTransport, creditManagerV3UsdtAbi, curveCryptoLpPriceFeedAbi, curveLpDepositorAbi, curveLpPathResolverAbi, curveLpWithdrawerAbi, curveMetaTokens, curveStableLpPriceFeedAbi, curveSwapperAbi, curveTokens, curveUsdPriceFeedAbi, curveV1Adapter2AssetsAbi, curveV1Adapter3AssetsAbi, curveV1Adapter4AssetsAbi, curveV1AdapterDepositAbi, curveV1AdapterStEthAbi, curveV1AdapterStableNgAbi, dataCompressorV3Abi, decimals, degenDistributorV3Abi, degenNftv2Abi, detectChain, detectNetwork, erc20Abi, erc4626AdapterAbi, erc4626DepositorAbi, erc4626PathResolverAbi, erc4626PriceFeedAbi, erc4626Tokens, erc4626WithdrawerAbi, errorAbis, etherscanUrl, faucetAbi, filterDust, fmtBinaryMask, formatBN, formatBNvalue, formatBn4dig, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, gaugeV3Abi, gearStakingV3Abi, gearTokens, getAddressProvider, getConnectors, getDecimals, getNetworkType, getTokenSymbol, getTokenSymbolOrTicker, halfRAY, iAdapterAbi, iAdapterCompressorAbi, iAddressProviderV300Abi, iAddressProviderV310Abi, iAirdropDistributorAbi, iArbTokenAbi, iAuraL2CoordinatorAbi, iBalancerStablePoolAbi, iBalancerWeightedPoolAbi, iBaseRewardPoolAbi, iCamelotV3QuoterAbi, iConvexTokenAbi, iCreditAccountCompressorAbi, iCreditConfiguratorV300Abi, iCreditConfiguratorV310Abi, iCreditFacadeV2Abi, iCreditFacadeV2EventsAbi, iCreditFacadeV2ExceptionsAbi, iCreditFacadeV2ExtendedAbi, iCreditFacadeV2V2Abi, iCreditFacadeV300Abi, iCreditFacadeV300MulticallAbi, iCreditFacadeV310Abi, iCreditFacadeV310MulticallAbi, iCreditFacadeV3Abi, iCreditFacadeV3EventsAbi, iCreditFacadeV3MulticallAbi, iCreditManagerV300Abi, iCreditManagerV310Abi, iCreditSuiteCompressorAbi, iCurvePoolAbi, iDaiUsdsAdapterAbi, iDataCompressorV3Abi, iDegenDistributorAbi, iDegenNftv2Abi, iDegenNftv2EventsAbi, iDegenNftv2ExceptionsAbi, iErc4626AdapterAbi, iExceptionsAbi, iFarmingPoolAbi, iGaugeCompressorAbi, iGaugeV300Abi, iInterestRateModelAbi, iLegacyMintableErc20Abi, iLossPolicyAbi, iMarketCompressorAbi, iMarketConfiguratorV310Abi, iMellowVaultAbi, iMellowVaultAdapterAbi, iModifiedBoosterAbi, iMulticall3Abi, iOffchainOracleAbi, iOptimismMintableErc20Abi, iPausableAbi, iPendleRouterAdapterAbi, iPeripheryCompressorAbi, iPoolCompressorAbi, iPoolQuotaKeeperV300Abi, iPoolQuotaKeeperV310Abi, iPoolV300Abi, iPoolV310Abi, iPoolV3Abi, iPoolV3EventsAbi, iPriceFeedAbi, iPriceFeedCompressorAbi, iPriceOracleV300Abi, iPriceOracleV310Abi, iPriceOracleV3Abi, iPriceOracleV3EventsAbi, iRedstoneErrorsAbi, iRedstonePriceFeedEventsAbi, iRedstonePriceFeedExceptionsAbi, iRewardsCompressorAbi, iRouterV3ErrorsAbi, iStakingRewardsAdapterAbi, iSwapperAbi, iTokenCompressorAbi, iTumblerV3Abi, iUpdatablePriceFeedAbi, iVersionAbi, iZapperAbi, ierc20Abi, ierc20MetadataAbi, ierc20PermitAbi, ierc20ZapperDepositsAbi, iethZapperDepositsAbi, ilpPriceFeedAbi, ilpPriceFeedEventsAbi, ilpPriceFeedExceptionsAbi, inflationAttackBlockerAbi, insolvencyCheckerAbi, isAaveV2LPToken, isAuraLPToken, isAuraStakedToken, isAuraToken, isBalancerLPToken, isCompoundV2LPToken, isConvexL2StakedToken, isConvexLPToken, isConvexStakedPhantomToken, isConvexToken, isCurveLPToken, isCurveMetaToken, isDieselSimpleToken, isDieselStakedToken, isDieselToken, isDieselWithStkToken, isERC4626LPToken, isExtraFarmToken, isFarmToken, isLPToken, isLRT_LSTToken, isNormalToken, isStakingRewardsPhantomToken, isSupportedNetwork, isWrappedToken, isYearnLPToken, isZircuitStakedPhantomToken, iwstEthAbi, iyVaultAbi, json_parse, json_stringify, lidoSwapperAbi, lidoV1AdapterAbi, linearInterestRateModelV3Abi, lpTokens, mellowLrtPriceFeedAbi, multiPauseAbi, nonQuoted, normalTokens, numberWithCommas, overrideAggregatorAbi, partialLiquidationBotV3Abi, pendleTWAPPTPriceFeedAbi, percentFmt, poolV3UsdtAbi, priceFeedMultiplierAbi, priceOracleV3Abi, rawTxToMulticallPriceUpdate, rayToNumber, redstonePriceFeedAbi, retry, routerV3Abi, sendRawTx, shortAddress, shortHash, simulateMulticall, stakingRewardsPhantomTokens, stakingRewardsTokens, supportedTokens, susdeOverriderAbi, swapAggregatorAbi, tickerInfoTokensByNetwork, tickerSymbolByAddress, tickerTokensByNetwork, toBN, toBigInt, toHumanFormat, toSignificant, tokenDataByNetwork, tokenStealerAbi, tokenSymbolByAddress, underlyingDepositZapperAbi, underlyingFarmingZapperAbi, uniswapV2AdapterAbi, uniswapV2SwapperAbi, uniswapV3AdapterAbi, uniswapV3SwapperAbi, velodromeV2RouterAdapterAbi, velodromeV2SwapperAbi, wethDepositZapperAbi, wethFarmingZapperAbi, wrapAggregatorAbi, wrappedAaveV2Tokens, wrappedTokens, wstEthPriceFeedAbi, wstEthSwapperAbi, wstEthv1AdapterAbi, yearnDepositorAbi, yearnPathResolverAbi, yearnPriceFeedAbi, yearnTokens, yearnV2AdapterAbi, yearnWithdrawerAbi, zapperRegisterAbi, zeroPriceFeedAbi, zircuitStakedPhantomTokens, zircuitStakedTokenByToken, zircuitTokens };
104213
+ export { ADDRESS_0X0, ADDRESS_PROVIDER, ADDRESS_PROVIDER_BLOCK, AP_ACCOUNT_FACTORY, AP_ACL, AP_ADAPTER_COMPRESSOR, AP_BOT_LIST, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DEGEN_DISTRIBUTOR, AP_DEGEN_NFT, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_MULTI_PAUSE, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_POOL_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_ORACLE, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, type AaveV2LPToken, type AaveV2PoolTokenData, AbstractPriceFeedContract, type AdapterContractType, type AdapterContractTypeLegacy, type AdapterData, AdapterInterface, AddressLabeller, AddressMap, AddressProviderContractV3, AddressProviderContractV3_1, type AddressProviderState, type AddressProviderV3StateHuman, type AllLPTokens, type Asset, type AssetPriceFeedStateHuman, AssetUtils, type AssetWithAmountInTarget, type AssetWithView, type AuraLPToken, type AuraLPTokenData, type AuraPoolContract, type AuraStakedToken, type AuraStakedTokenData, BLOCKS_PER_WEEK_BY_NETWORK, type BalancerLPToken, type BalancerLpTokenData, BalancerStablePriceFeedContract, BalancerV2VaultAdapterContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, type BaseContractOptions, type BaseContractStateHuman, type BaseParams, type BasePriceFeedStateHuman, type BaseState, BigIntMath, type BigNumberish, type BotAddresses, type BotBaseType, type BotData, type BotDataLegacy, type BotDataPayload, type BotDetailedType, BotListContract, type BotListStateHuman, BotPermissions, BotsService, type BoundedOracleStateHuman, BoundedPriceFeedContract, CREDIT_SESSION_ID_BY_STATUS, CREDIT_SESSION_STATUS_BY_ID, type CaTokenBalance, type CalcAvgQuotaBorrowRateProps, type CalcDefaultQuotaProps, type CalcHealthFactorProps, type CalcMaxLendingDebtProps, type CalcOverallAPYProps, type CalcQuotaBorrowRateProps, type CalcQuotaUpdateProps, type CalcRecommendedQuotaProps, type CalcRelativeBaseBorrowRateProps, CamelotV3AdapterContract, ChainlinkPriceFeedContract, type ChartsAggregatedPoolPayload, type ChartsAggregatedStats, ChartsCreditManagerData, type ChartsCreditManagerPayload, ChartsPoolData, type ChartsPoolDataPayload, type ClaimFarmRewardsProps, type ClaimLmRewardsV2Props, type ClaimLmRewardsV3Props, type CloseCreditAccountResult, type ClosePathBalances, type CommonResult, CompositePriceFeedContract, type CompoundV2LPToken, type CompoundV2PoolTokenData, type ConnectedBotData, type ConnectionOptions, type ContractMethod, type ConvexL2StakedToken, type ConvexL2StakedTokenData, type ConvexLPToken, type ConvexLPTokenData, type ConvexPhantomTokenData, type ConvexPoolContract, type ConvexStakedPhantomToken, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, type CoreStateHuman, type CreditAccountData, type CreditAccountDataPayload, type CreditAccountDataSlice, CreditAccountData_Legacy, type CreditAccountFilter, type CreditAccountServiceOptions, CreditAccountsService, type CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV300Contract, CreditConfiguratorV310Contract, type CreditFacadeContract, type CreditFacadeState, type CreditFacadeStateHuman, CreditFacadeV300Contract, CreditFacadeV310Contract, type CreditManagerData, type CreditManagerDataPayload, CreditManagerData_Legacy, type CreditManagerDebtParams, type CreditManagerDebtParamsHuman, type CreditManagerDebtParamsSDK, type CreditManagerState, type CreditManagerStateHuman, type CreditManagerType, CreditManagerV300Contract, CreditManagerV310Contract, CreditSession, type CreditSessionAsset, type CreditSessionBalancePayload, CreditSessionFiltered, type CreditSessionFilteredPayload, type CreditSessionPayload, type CreditSessionReward, type CreditSessionSortFields, type CreditSessionSortType, type CreditSessionStatus, type CreditSessionsAggregatedStats, type CreditSessionsAggregatedStatsPayload, CreditSuite, type CreditSuiteStateHuman, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve3CrvUnderlyingTokenIndex, Curve4AssetsAdapterContract, CurveCryptoPriceFeedContract, type CurveLPToken, type CurveLPTokenData, type CurveMetaTokens, type CurvePoolContract, type CurvePoolStruct, CurveStablePriceFeedContract, type CurveSteCRVPoolParams, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1AdapterStableNGContract, DEPRECIATED_POOLS, DUMB_ADDRESS, DUMB_ADDRESS2, DUMB_ADDRESS3, DUMB_ADDRESS4, DaiUsdsAdapterContract, type DieselSimpleTokenData, type DieselSimpleTokenTypes, type DieselStakedTokenData, type DieselStakedTokenTypes, type DieselTokenData, type DieselTokenTypes, type DieselTokenWithStkTypes, type DieselWithStkTokenV3Data, type Display, ERC4626AdapterContract, type ERC4626LPToken, type ERC4626VaultContract, type ERC4626VaultOfCurveLPTokenData, type ERC4626VaultTokenData, ETH_ADDRESS, EVMEvent, type EVMEventProps, EVMTx, type EVMTxProps, Erc4626PriceFeedContract, type EtherscanURLParam, EventOrTx, type EventOrTxProps, type ExtraRewardApy, type FarmInfo, type FindClosePathInput, GEARBOX_MULTISIG, GEARBOX_RISK_CURATORS, GaugeContract, type GaugeData, type GaugeParams, type GaugeParamsHuman, type GaugeStakingDataPayload, GaugeStakingService, type GaugeStateHuman, GearStakingContract, type GearStakingV3StateHuman, GearboxBackendApi, type GearboxExtraMerkleLmReward, type GearboxLmReward, type GearboxMerkleV2LmReward, GearboxRewardsApi, GearboxRewardsApy, GearboxRewardsExtraApy, GearboxSDK, type GearboxStakedV3LmReward, type GearboxState, type GearboxStateHuman, type GearboxToken, type GearboxTokenData, type GetAddressProviderOptions, type GetExtraRewardsProps, type GetLmRewardsInfoProps, type GetLmRewardsProps, type GetPointsByPoolProps, type GetTotalTokensOnProtocolProps, type GraphPayload, type IAdapterContract$1 as IAdapterContract, type IAddressProviderContract, type IBaseContract$1 as IBaseContract, type ICreditConfiguratorContract, type ICreditManagerContract, type IInterestRateModelContract, type ILPPriceFeedContract, type ILogger, type IPriceFeedContract, type IPriceOracleContract, type IRateKeeperContract, type InterestRateModelStateHuman, type InterestRateModelType, LEVERAGE_DECIMALS, type LPPriceFeedStateHuman, type LPTokenDataI, type LPTokens, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, type LinearModel, type LiquidationBotType, type LogFn, MAX_INT, MAX_UINT16, MAX_UINT256, MIN_INT96, MULTICALL_ADDRESS, type MarketData, type MarketFilter, MarketRegister, type MarketStateHuman, MarketSuite, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowVaultAdapterContract, type MerkleDistributorInfo, type MetaCurveLPTokenData, type MultiCall, type MultiVote, type MulticallErrorType, type MulticallParameters, type MulticallReturnType, NOT_DEPLOYED, NO_VERSION, type NetworkOptions, type NetworkType, type NormalToken, type NormalTokenData, type OnDemandPriceUpdate, type OpenCAProps, type OpenStrategyResult, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PRICE_DECIMALS, PRICE_DECIMALS_POW, type PartialPriceFeedTreeNode, type PartialRecord, type PathFinderCloseResult, type PathFinderOpenStrategyResult, type PathFinderResult, type PathOption, type PathOptionSerie, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, type PermitResult, PhantomTokenType, type PoolContract, type PoolData, type PoolDataExtraPayload, type PoolDataPayload, PoolData_Legacy, type PoolPointsInfo, type PoolQuotaKeeperContract, type PoolQuotaKeeperData, type PoolQuotaKeeperStateHuman, PoolQuotaKeeperV300Contract, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, type PoolType, PoolV300Contract, PositionUtils, type PriceFeedConstructorArgs, type PriceFeedContractType, type PriceFeedContractTypeLegacy, type PriceFeedMapEntry, PriceFeedRef, PriceFeedRegister, type PriceFeedRegisterHooks, type PriceFeedStateHuman, type PriceFeedTreeNode, PriceFeedType, type PriceFeedUsageType, type PriceFeedsForTokensOptions, type PriceOracleContract, type PriceOracleData, PriceOracleV300Contract, PriceOracleV310Contract, type PriceOracleV3StateHuman, PriceUtils, Provider, type QuotaInfo, type QuotaParamsHuman, type QuotaState, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, type RampEvent, type RateKeeperData, type RateKeeperStateHuman, type RateKeeperType, type RawTx, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, type ReleaseAt, type RetryOptions, type RewardInfo, type Rewards, type RouterCloseResult, type RouterHooks, type RouterResult, RouterV3Contract, SDKConstruct, type SDKHooks, type SDKOptions, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, SUPPORTED_CHAINS, type SecondaryStatus, type SendRawTxParameters, StakingRewardsAdapterContract, type StakingRewardsContract, type StakingRewardsPhantomToken, type StakingRewardsPhantomTokenData, type SupportedContract, type SupportedToken, type SupportedValue, type SwapOperation, type SwapTask, type SyncStateOptions, TESTNET_CHAINS, TIMELOCK, type TVL, TXSwap, type TickerInfo, type TickerToken, type TimeToLiquidationProps, type TokenBase, TokenData, type TokenDataI, type TokenDataPayload, type TokenMetaData, type TokenNetwork, TokenType, type TokensAPYList, TokensMeta, type TokensWithAPY, type TransportOptions, type TumblerStateHuman, TxAddBot, TxAddCollateral, TxAddLiquidity, TxApprove, TxClaimNFT, TxClaimRewards, TxCloseAccount, TxDecreaseBorrowAmount, TxGaugeClaim, TxGaugeStake, TxGaugeUnstake, TxGaugeVote, TxIncreaseBorrowAmount, TxLiquidateAccount, TxOpenMultitokenAccount, TxRemoveBot, TxRemoveLiquidity, TxRepayAccount, type TxSerialized, TxSerializer, TxStakeDiesel, type TxStatus, TxUnstakeDiesel, TxUpdateQuota, TxWithdrawCollateral, TypedObjectUtils, URLApi, USDC, USDT, type Unarray, UniswapV2AdapterContract, UniswapV3AdapterContract, type UpdatePriceFeedsResult, type UserCreditSessions, type UserCreditSessionsAggregatedStatsPayload, UserCreditSessionsBuilder, type UserPoolAggregatedStatsPayload, UserPoolData, type UserPoolPayload, VelodromeV2RouterAdapterContract, VotingContractStatus, WAD, WAD_DECIMALS_POW, WETH, type WrapResult, type WrappedAaveV2LPToken, type WrappedAaveV2PoolTokenData, type WrappedToken, type WrappedTokenData, WstETHPriceFeedContract, WstETHV1AdapterContract, type YearnLPToken, YearnPriceFeedContract, YearnV2RouterAdapterContract, type YearnVaultContract, type YearnVaultOfCurveLPTokenData, type YearnVaultOfMetaCurveLPTokenData, type YearnVaultTokenData, type ZapperData, type ZapperDataFull, type ZapperStateHuman, ZeroPriceFeedContract, type ZircuitPhantomTokenData, type ZircuitStakedPhantomToken, aaveV2Tokens, aaveV2WrapperAbi, accountFactoryV3Abi, aclAbi, aclNonReentrantTraitAbi, assetsMap, auraDepositorAbi, auraLpTokens, auraPathResolverAbi, auraStakedTokens, auraTokens, auraWithdrawerAbi, balancerLpDepositorAbi, balancerLpPathResolverAbi, balancerLpTokens, balancerLpWithdrawerAbi, balancerSwapperAbi, balancerV2VaultAdapterAbi, balancesMap, batchLiquidationEstimatorAbi, batchesChainAbi, botListV3Abi, botPermissionsToString, boundedPriceFeedAbi, bptStablePriceFeedAbi, bptWeightedPriceFeedAbi, bytes32ToString, camelotV3AdapterAbi, camelotV3SwapperAbi, chainlinkReadableAggregatorAbi, chains, childLogger, closePathResolverAbi, compositePriceFeedAbi, compoundV2Tokens, compoundV2WrapperAbi, connectors, contractParams, contractsRegisterAbi, controllerTimelockV3Abi, convexDepositorAbi, convexL2StakedTokens, convexLpTokenByPid, convexLpTokens, convexPathResolverAbi, convexPoolByPid, convexStakedPhantomTokens, convexTokens, convexV1BaseRewardPoolAdapterAbi, convexV1BoosterAdapterAbi, convexWithdrawerAbi, createAdapter, createPriceOracle, createRawTx, createTransport, creditManagerV3UsdtAbi, curveCryptoLpPriceFeedAbi, curveLpDepositorAbi, curveLpPathResolverAbi, curveLpWithdrawerAbi, curveMetaTokens, curveStableLpPriceFeedAbi, curveSwapperAbi, curveTokens, curveUsdPriceFeedAbi, curveV1Adapter2AssetsAbi, curveV1Adapter3AssetsAbi, curveV1Adapter4AssetsAbi, curveV1AdapterDepositAbi, curveV1AdapterStEthAbi, curveV1AdapterStableNgAbi, dataCompressorV3Abi, decimals, degenDistributorV3Abi, degenNftv2Abi, detectChain, detectNetwork, erc20Abi, erc4626AdapterAbi, erc4626DepositorAbi, erc4626PathResolverAbi, erc4626PriceFeedAbi, erc4626Tokens, erc4626WithdrawerAbi, errorAbis, etherscanUrl, faucetAbi, filterDust, fmtBinaryMask, formatBN, formatBNvalue, formatBn4dig, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, gaugeV3Abi, gearStakingV3Abi, gearTokens, getAddressProvider, getConnectors, getDecimals, getNetworkType, getTokenSymbol, getTokenSymbolOrTicker, halfRAY, iAdapterAbi, iAdapterCompressorAbi, iAddressProviderV300Abi, iAddressProviderV310Abi, iAirdropDistributorAbi, iArbTokenAbi, iAuraL2CoordinatorAbi, iBalancerStablePoolAbi, iBalancerWeightedPoolAbi, iBaseRewardPoolAbi, iCamelotV3QuoterAbi, iConvexTokenAbi, iCreditAccountCompressorAbi, iCreditConfiguratorV300Abi, iCreditConfiguratorV310Abi, iCreditFacadeV2Abi, iCreditFacadeV2EventsAbi, iCreditFacadeV2ExceptionsAbi, iCreditFacadeV2ExtendedAbi, iCreditFacadeV2V2Abi, iCreditFacadeV300Abi, iCreditFacadeV300MulticallAbi, iCreditFacadeV310Abi, iCreditFacadeV310MulticallAbi, iCreditFacadeV3Abi, iCreditFacadeV3EventsAbi, iCreditFacadeV3MulticallAbi, iCreditManagerV300Abi, iCreditManagerV310Abi, iCreditSuiteCompressorAbi, iCurvePoolAbi, iDaiUsdsAdapterAbi, iDataCompressorV3Abi, iDegenDistributorAbi, iDegenNftv2Abi, iDegenNftv2EventsAbi, iDegenNftv2ExceptionsAbi, iErc4626AdapterAbi, iExceptionsAbi, iFarmingPoolAbi, iGaugeCompressorAbi, iGaugeV300Abi, iInterestRateModelAbi, iLegacyMintableErc20Abi, iLossPolicyAbi, iMarketCompressorAbi, iMarketConfiguratorV310Abi, iMellowVaultAbi, iMellowVaultAdapterAbi, iModifiedBoosterAbi, iMulticall3Abi, iOffchainOracleAbi, iOptimismMintableErc20Abi, iPausableAbi, iPendleRouterAdapterAbi, iPeripheryCompressorAbi, iPoolCompressorAbi, iPoolQuotaKeeperV300Abi, iPoolQuotaKeeperV310Abi, iPoolV300Abi, iPoolV310Abi, iPoolV3Abi, iPoolV3EventsAbi, iPriceFeedAbi, iPriceFeedCompressorAbi, iPriceOracleV300Abi, iPriceOracleV310Abi, iPriceOracleV3Abi, iPriceOracleV3EventsAbi, iRedstoneErrorsAbi, iRedstonePriceFeedEventsAbi, iRedstonePriceFeedExceptionsAbi, iRewardsCompressorAbi, iRouterV3ErrorsAbi, iStakingRewardsAdapterAbi, iSwapperAbi, iTokenCompressorAbi, iTumblerV3Abi, iUpdatablePriceFeedAbi, iVersionAbi, iZapperAbi, ierc20Abi, ierc20MetadataAbi, ierc20PermitAbi, ierc20ZapperDepositsAbi, iethZapperDepositsAbi, ilpPriceFeedAbi, ilpPriceFeedEventsAbi, ilpPriceFeedExceptionsAbi, inflationAttackBlockerAbi, insolvencyCheckerAbi, isAaveV2LPToken, isAuraLPToken, isAuraStakedToken, isAuraToken, isBalancerLPToken, isCompoundV2LPToken, isConvexL2StakedToken, isConvexLPToken, isConvexStakedPhantomToken, isConvexToken, isCurveLPToken, isCurveMetaToken, isDieselSimpleToken, isDieselStakedToken, isDieselToken, isDieselWithStkToken, isERC4626LPToken, isExtraFarmToken, isFarmToken, isLPToken, isLRT_LSTToken, isNormalToken, isStakingRewardsPhantomToken, isSupportedNetwork, isWrappedToken, isYearnLPToken, isZircuitStakedPhantomToken, iwstEthAbi, iyVaultAbi, json_parse, json_stringify, lidoSwapperAbi, lidoV1AdapterAbi, linearInterestRateModelV3Abi, lpTokens, mellowLrtPriceFeedAbi, multiPauseAbi, nonQuoted, normalTokens, numberWithCommas, overrideAggregatorAbi, partialLiquidationBotV3Abi, pendleTWAPPTPriceFeedAbi, percentFmt, poolV3UsdtAbi, priceFeedMultiplierAbi, priceOracleV3Abi, rawTxToMulticallPriceUpdate, rayToNumber, redstonePriceFeedAbi, retry, routerV3Abi, sendRawTx, shortAddress, shortHash, simulateMulticall, stakingRewardsPhantomTokens, stakingRewardsTokens, supportedTokens, susdeOverriderAbi, swapAggregatorAbi, tickerInfoTokensByNetwork, tickerSymbolByAddress, tickerTokensByNetwork, toBN, toBigInt, toHumanFormat, toSignificant, tokenDataByNetwork, tokenStealerAbi, tokenSymbolByAddress, underlyingDepositZapperAbi, underlyingFarmingZapperAbi, uniswapV2AdapterAbi, uniswapV2SwapperAbi, uniswapV3AdapterAbi, uniswapV3SwapperAbi, velodromeV2RouterAdapterAbi, velodromeV2SwapperAbi, wethDepositZapperAbi, wethFarmingZapperAbi, wrapAggregatorAbi, wrappedAaveV2Tokens, wrappedTokens, wstEthPriceFeedAbi, wstEthSwapperAbi, wstEthv1AdapterAbi, yearnDepositorAbi, yearnPathResolverAbi, yearnPriceFeedAbi, yearnTokens, yearnV2AdapterAbi, yearnWithdrawerAbi, zapperRegisterAbi, zeroPriceFeedAbi, zircuitStakedPhantomTokens, zircuitStakedTokenByToken, zircuitTokens };
@@ -3139,17 +3139,58 @@ var iPeripheryCompressorAbi = [
3139
3139
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3140
3140
  stateMutability: "view"
3141
3141
  },
3142
+ {
3143
+ type: "function",
3144
+ inputs: [
3145
+ { name: "marketConfigurator", internalType: "address", type: "address" }
3146
+ ],
3147
+ name: "getBots",
3148
+ outputs: [
3149
+ {
3150
+ name: "",
3151
+ internalType: "struct BotState[]",
3152
+ type: "tuple[]",
3153
+ components: [
3154
+ {
3155
+ name: "baseParams",
3156
+ internalType: "struct BaseParams",
3157
+ type: "tuple",
3158
+ components: [
3159
+ { name: "addr", internalType: "address", type: "address" },
3160
+ { name: "version", internalType: "uint256", type: "uint256" },
3161
+ {
3162
+ name: "contractType",
3163
+ internalType: "bytes32",
3164
+ type: "bytes32"
3165
+ },
3166
+ {
3167
+ name: "serializedParams",
3168
+ internalType: "bytes",
3169
+ type: "bytes"
3170
+ }
3171
+ ]
3172
+ },
3173
+ {
3174
+ name: "requiredPermissions",
3175
+ internalType: "uint192",
3176
+ type: "uint192"
3177
+ }
3178
+ ]
3179
+ }
3180
+ ],
3181
+ stateMutability: "view"
3182
+ },
3142
3183
  {
3143
3184
  type: "function",
3144
3185
  inputs: [
3145
3186
  { name: "marketConfigurator", internalType: "address", type: "address" },
3146
3187
  { name: "creditAccount", internalType: "address", type: "address" }
3147
3188
  ],
3148
- name: "getActiveBots",
3189
+ name: "getConnectedBots",
3149
3190
  outputs: [
3150
3191
  {
3151
3192
  name: "",
3152
- internalType: "struct BotState[]",
3193
+ internalType: "struct ConnectedBotState[]",
3153
3194
  type: "tuple[]",
3154
3195
  components: [
3155
3196
  {
@@ -3171,6 +3212,12 @@ var iPeripheryCompressorAbi = [
3171
3212
  }
3172
3213
  ]
3173
3214
  },
3215
+ {
3216
+ name: "requiredPermissions",
3217
+ internalType: "uint192",
3218
+ type: "uint192"
3219
+ },
3220
+ { name: "creditAccount", internalType: "address", type: "address" },
3174
3221
  { name: "permissions", internalType: "uint192", type: "uint192" },
3175
3222
  { name: "forbidden", internalType: "bool", type: "bool" }
3176
3223
  ]
@@ -71456,7 +71503,7 @@ var CreditAccountsService = class extends SDKConstruct {
71456
71503
  }, {});
71457
71504
  return Object.values(r);
71458
71505
  }
71459
- async getActiveBots(accountsToCheck) {
71506
+ async getConnectedBots(accountsToCheck) {
71460
71507
  const resp = await this.provider.publicClient.multicall({
71461
71508
  contracts: accountsToCheck.map((o) => {
71462
71509
  const pool = this.sdk.marketRegister.findByCreditManager(
@@ -71465,7 +71512,7 @@ var CreditAccountsService = class extends SDKConstruct {
71465
71512
  return {
71466
71513
  abi: iPeripheryCompressorAbi,
71467
71514
  address: this.peripheryCompressor,
71468
- functionName: "getActiveBots",
71515
+ functionName: "getConnectedBots",
71469
71516
  args: [pool.configurator.address, o.creditAccount]
71470
71517
  };
71471
71518
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-vfour.255",
3
+ "version": "3.0.0-vfour.256",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.cjs",