diff --git a/src/functions/ethereum/ethereum-functions.ts b/src/functions/ethereum/ethereum-functions.ts index 373e095..e013418 100644 --- a/src/functions/ethereum/ethereum-functions.ts +++ b/src/functions/ethereum/ethereum-functions.ts @@ -129,25 +129,6 @@ export function getEthereumContracts( return { dlcManagerContract, dlcBTCContract }; } -export function getReadOnlyEthereumContracts( - ethereumDeploymentPlans: EthereumDeploymentPlan[], - readOnlyProvider: providers.JsonRpcProvider -): { protocolContract: Contract; dlcManagerContract: Contract; dlcBTCContract: Contract } { - const protocolContract = getEthereumContract( - ethereumDeploymentPlans, - 'TokenManager', - readOnlyProvider - ); - const dlcManagerContract = getEthereumContract( - ethereumDeploymentPlans, - 'DLCManager', - readOnlyProvider - ); - const dlcBTCContract = getEthereumContract(ethereumDeploymentPlans, 'DLCBTC', readOnlyProvider); - - return { protocolContract, dlcManagerContract, dlcBTCContract }; -} - export async function getLockedBTCBalance(userVaults: RawVault[]): Promise { try { const fundedVaults = userVaults.filter(vault => vault.status === VaultState.FUNDED);