diff --git a/contracts/polygon/connectors/quickswap/main.sol b/contracts/polygon/connectors/quickswap/main.sol index 6973948b..404b6be0 100644 --- a/contracts/polygon/connectors/quickswap/main.sol +++ b/contracts/polygon/connectors/quickswap/main.sol @@ -251,6 +251,6 @@ abstract contract QuickpswapResolver is Helpers, Events { } } -contract ConnectV2Quickswap is QuickpswapResolver { +contract ConnectV2QuickswapPolygon is QuickpswapResolver { string public constant name = "Quickpswap-v1.1"; } diff --git a/scripts/deployment/deploy.ts b/scripts/deployment/deploy.ts index 381fe091..ac66d9ad 100644 --- a/scripts/deployment/deploy.ts +++ b/scripts/deployment/deploy.ts @@ -18,6 +18,7 @@ async function main() { "GELATO-A": "ConnectV2Gelato", "MAKERDAO-A": "ConnectV2Maker", "UNISWAP-A": "ConnectV2UniswapV2", + "QUICKSWAP-A": "ConnectV2QuickswapPolygon" }; const addressMapping: Record = {}; diff --git a/test/polygon/quickswap/quickswap.test.ts b/test/polygon/quickswap/quickswap.test.ts index 5047fd61..3d3a9346 100644 --- a/test/polygon/quickswap/quickswap.test.ts +++ b/test/polygon/quickswap/quickswap.test.ts @@ -11,7 +11,7 @@ import { addLiquidity } from "../../../scripts/tests/addLiquidity"; import { addresses } from "../../../scripts/tests/polygon/addresses"; import { abis } from "../../../scripts/constant/abis"; -import { ConnectV2Quickswap__factory, ConnectV2Quickswap } from "../../../typechain"; +import { ConnectV2QuickswapPolygon__factory, ConnectV2QuickswapPolygon } from "../../../typechain"; import type { Signer, Contract } from "ethers"; const DAI_ADDR = "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063"; @@ -44,7 +44,7 @@ describe("Quickswap", function () { instaConnectorsV2 = await ethers.getContractAt(abis.core.connectorsV2, addresses.core.connectorsV2); connector = await deployAndEnableConnector({ connectorName, - contractArtifact: ConnectV2Quickswap__factory, + contractArtifact: ConnectV2QuickswapPolygon__factory, signer: masterSigner, connectors: instaConnectorsV2 });