This test file is part of the ongoing contest on codehawks for The Standard Token
. Therefore I cannot reveal the details of what's inside EvilHolder.sol
however from the deployment perspective I can show some of the changes that I have made to the liquidationPool.js file.
const { expect } = require("chai");
const { ethers } = require("hardhat");
const { BigNumber } = ethers;
const { mockTokenManager, DEFAULT_COLLATERAL_RATE, TOKEN_ID, rewardAmountForAsset, DAY, fastForward, POOL_FEE_PERCENTAGE, DEFAULT_EUR_USD_PRICE } = require("./common");
require("@nomiclabs/hardhat-ethers");