const { ethers } = require('hardhat');
// Pool creator on Seadex. Factory contract deployed on moonriver
const address = "0xD184B1317125b166f01e8a0d6088ce1de61D00BA";
// ERC20 token on moonriver
const SYMBOL = "0xE3C7487Eb01C74b73B7184D198c7fBF46b34E5AF";
async function supportToken() {
[account] = await ethers.getSigners();
deployerAddress = account.address;
console.log(`Deploying contracts using ${deployerAddress}`);
const Factory = await ethers.getContractFactory('UniswapV2Factory');
const factory = await Factory.attach(address);
await factory.addSupportedToken(WMOVR);
console.log(`SYMBOL token supported`);
.then(() => process.exit(0))