From ce8ce648ba76177eb2d5177bcb97b02a6a69e9ab Mon Sep 17 00:00:00 2001 From: Igor Sobolev Date: Wed, 11 Sep 2024 13:52:33 +0100 Subject: [PATCH] Update naming --- contracts/callers/UniswapV2Caller.sol | 2 +- scripts/3_deploy_uniswap_v2_caller.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/callers/UniswapV2Caller.sol b/contracts/callers/UniswapV2Caller.sol index 8d5a9121..5593cfc7 100644 --- a/contracts/callers/UniswapV2Caller.sol +++ b/contracts/callers/UniswapV2Caller.sol @@ -32,7 +32,7 @@ import { Weth } from "../shared/Weth.sol"; /** * @title Uniswap caller that executes swaps on UniswapV2-like pools */ -contract UniswapCaller is ICaller, TokensHandler, Weth { +contract UniswapV2Caller is ICaller, TokensHandler, Weth { address internal constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; /** diff --git a/scripts/3_deploy_uniswap_v2_caller.js b/scripts/3_deploy_uniswap_v2_caller.js index b3a36cc9..afda25f5 100644 --- a/scripts/3_deploy_uniswap_v2_caller.js +++ b/scripts/3_deploy_uniswap_v2_caller.js @@ -10,10 +10,10 @@ try { console.log(`Working with chainId ${chainId}`); // We get the contract to deploy - const Contract = await ethers.getContractFactory('UniswapCaller'); + const Contract = await ethers.getContractFactory('UniswapV2Caller'); const contract = await Contract.deploy(deploymentAddresses.weth[chainId]); - console.log(`${'UniswapCaller'} deployed to: ${contract.address}`); + console.log(`${'UniswapV2Caller'} deployed to: ${contract.address}`); return contract.address; })();