diff --git a/packages/keeper-bots/src/converter-bot/queries/getCoreMarkets.ts b/packages/keeper-bots/src/converter-bot/queries/getCoreMarkets.ts index 779e2b5..fdbee50 100644 --- a/packages/keeper-bots/src/converter-bot/queries/getCoreMarkets.ts +++ b/packages/keeper-bots/src/converter-bot/queries/getCoreMarkets.ts @@ -16,6 +16,7 @@ export const getCoreMarkets = async (): Promise => { functionName: "getAllMarkets", }); + // @ts-expect-error not infinte const underlyingAddresses = await publicClient.multicall({ contracts: markets.map(m => ({ address: m, diff --git a/packages/keeper-bots/src/converter-bot/queries/getIsolatedMarkets.ts b/packages/keeper-bots/src/converter-bot/queries/getIsolatedMarkets.ts index d44cd0e..0de2f3d 100644 --- a/packages/keeper-bots/src/converter-bot/queries/getIsolatedMarkets.ts +++ b/packages/keeper-bots/src/converter-bot/queries/getIsolatedMarkets.ts @@ -1,6 +1,6 @@ import { Address } from "viem"; -import { poolLensAbi, ilVTokenAbi } from "../../config/abis/generated"; +import { ilVTokenAbi, poolLensAbi } from "../../config/abis/generated"; import getAddresses from "../../config/addresses"; import publicClient from "../../config/clients/publicClient"; import type { PoolAddressArray } from "../types"; diff --git a/packages/keeper-bots/wagmi.config.ts b/packages/keeper-bots/wagmi.config.ts index 9fe441b..377c580 100644 --- a/packages/keeper-bots/wagmi.config.ts +++ b/packages/keeper-bots/wagmi.config.ts @@ -1,6 +1,9 @@ import ilComptrollerArtifact from "@venusprotocol/isolated-pools/artifacts/contracts/Comptroller.sol/Comptroller.json" assert { type: "json" }; import poolLensArtifact from "@venusprotocol/isolated-pools/artifacts/contracts/Lens/PoolLens.sol/PoolLens.json" assert { type: "json" }; +import ilVTokenArtifact from "@venusprotocol/isolated-pools/artifacts/contracts/VToken.sol/VToken.json" assert { type: "json" }; +import liquidationOperatorArtifact from "@venusprotocol/keeper-bot-contracts/artifacts/contracts/operators/LiquidationOperator.sol/LiquidationOperator.json" assert { type: "json" }; import tokenConverterOperatorArtifact from "@venusprotocol/keeper-bot-contracts/artifacts/contracts/operators/TokenConverterOperator.sol/TokenConverterOperator.json" assert { type: "json" }; +import resilientOracleArtifact from "@venusprotocol/oracle/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json" assert { type: "json" }; import protocolShareReserveArtifact from "@venusprotocol/protocol-reserve/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.json" assert { type: "json" }; import tokenConverterArtifact from "@venusprotocol/protocol-reserve/artifacts/contracts/TokenConverter/AbstractTokenConverter.sol/AbstractTokenConverter.json" assert { type: "json" }; import vBnbAdminArtifact from "@venusprotocol/venus-protocol/artifacts/contracts/Admin/VBNBAdmin.sol/VBNBAdmin.json" assert { type: "json" }; @@ -23,6 +26,18 @@ const getExternalContracts = async (): Promise<{ name: string; abi: Abi }[]> => abi: ilComptrollerArtifact.abi as Abi, name: "IlComptroller", }, + { + abi: ilVTokenArtifact.abi as Abi, + name: "ilVToken", + }, + { + abi: resilientOracleArtifact.abi as Abi, + name: "resilientOracle", + }, + { + abi: liquidationOperatorArtifact.abi as Abi, + name: "liquidationOperator", + }, { abi: coreVTokenArtifact.abi as Abi, name: "CoreVToken",