From 4b27d5d9d1594273590cb0a1e2cf267ee983033e Mon Sep 17 00:00:00 2001 From: scolear Date: Wed, 12 Feb 2025 17:26:53 +0100 Subject: [PATCH] chore: rename to ibtc --- src/constants/ethereum-constants.ts | 2 +- src/functions/ethereum/ethereum-functions.ts | 2 +- src/models/ethereum-models.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/ethereum-constants.ts b/src/constants/ethereum-constants.ts index fae36f7..0d5c9d0 100644 --- a/src/constants/ethereum-constants.ts +++ b/src/constants/ethereum-constants.ts @@ -89,4 +89,4 @@ export const supportedEthereumNetworks: EthereumNetwork[] = [ export const GITHUB_SOLIDITY_URL = 'https://raw.githubusercontent.com/DLC-link/dlc-solidity'; -export const dlcContractNames: DLCEthereumContractName[] = ['DLCManager', 'DLCBTC']; +export const dlcContractNames: DLCEthereumContractName[] = ['DLCManager', 'IBTC']; diff --git a/src/functions/ethereum/ethereum-functions.ts b/src/functions/ethereum/ethereum-functions.ts index a46c291..0cbf687 100644 --- a/src/functions/ethereum/ethereum-functions.ts +++ b/src/functions/ethereum/ethereum-functions.ts @@ -124,7 +124,7 @@ export function getEthereumContracts( signer: Wallet | providers.JsonRpcSigner ): DLCEthereumContracts { const dlcManagerContract = getEthereumContract(ethereumDeploymentPlans, 'DLCManager', signer); - const dlcBTCContract = getEthereumContract(ethereumDeploymentPlans, 'DLCBTC', signer); + const dlcBTCContract = getEthereumContract(ethereumDeploymentPlans, 'IBTC', signer); return { dlcManagerContract, dlcBTCContract }; } diff --git a/src/models/ethereum-models.ts b/src/models/ethereum-models.ts index d1af617..d97a72f 100644 --- a/src/models/ethereum-models.ts +++ b/src/models/ethereum-models.ts @@ -88,5 +88,5 @@ export interface DLCEthereumContracts { } export type SupportedNetwork = 'arbitrum' | 'arbitrum-sepolia-testnet' | 'arbitrum-sepolia-devnet'; -export type DLCEthereumContractName = 'DLCManager' | 'DLCBTC'; +export type DLCEthereumContractName = 'DLCManager' | 'IBTC'; export type DLCSolidityBranchName = 'dev' | 'testnet-rolling';