mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
quickswap deployed update
This commit is contained in:
parent
4f5fb523be
commit
37f5fe5748
|
@ -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";
|
string public constant name = "Quickpswap-v1.1";
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ async function main() {
|
||||||
"GELATO-A": "ConnectV2Gelato",
|
"GELATO-A": "ConnectV2Gelato",
|
||||||
"MAKERDAO-A": "ConnectV2Maker",
|
"MAKERDAO-A": "ConnectV2Maker",
|
||||||
"UNISWAP-A": "ConnectV2UniswapV2",
|
"UNISWAP-A": "ConnectV2UniswapV2",
|
||||||
|
"QUICKSWAP-A": "ConnectV2QuickswapPolygon"
|
||||||
};
|
};
|
||||||
|
|
||||||
const addressMapping: Record<string, string> = {};
|
const addressMapping: Record<string, string> = {};
|
||||||
|
|
|
@ -11,7 +11,7 @@ import { addLiquidity } from "../../../scripts/tests/addLiquidity";
|
||||||
|
|
||||||
import { addresses } from "../../../scripts/tests/polygon/addresses";
|
import { addresses } from "../../../scripts/tests/polygon/addresses";
|
||||||
import { abis } from "../../../scripts/constant/abis";
|
import { abis } from "../../../scripts/constant/abis";
|
||||||
import { ConnectV2Quickswap__factory, ConnectV2Quickswap } from "../../../typechain";
|
import { ConnectV2QuickswapPolygon__factory, ConnectV2QuickswapPolygon } from "../../../typechain";
|
||||||
import type { Signer, Contract } from "ethers";
|
import type { Signer, Contract } from "ethers";
|
||||||
|
|
||||||
const DAI_ADDR = "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063";
|
const DAI_ADDR = "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063";
|
||||||
|
@ -44,7 +44,7 @@ describe("Quickswap", function () {
|
||||||
instaConnectorsV2 = await ethers.getContractAt(abis.core.connectorsV2, addresses.core.connectorsV2);
|
instaConnectorsV2 = await ethers.getContractAt(abis.core.connectorsV2, addresses.core.connectorsV2);
|
||||||
connector = await deployAndEnableConnector({
|
connector = await deployAndEnableConnector({
|
||||||
connectorName,
|
connectorName,
|
||||||
contractArtifact: ConnectV2Quickswap__factory,
|
contractArtifact: ConnectV2QuickswapPolygon__factory,
|
||||||
signer: masterSigner,
|
signer: masterSigner,
|
||||||
connectors: instaConnectorsV2
|
connectors: instaConnectorsV2
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user