Skip to content

Instantly share code, notes, and snippets.

task("test-spv-interim-robustness", "Runs comprehensive interim profit robustness tests")
.addParam("symbol", "The token symbol for the diamond instance")
.setAction(async (taskArgs: any, hre: HardhatRuntimeEnvironment) => {
const [owner, lp1, lp2, lp3] = await hre.ethers.getSigners();
let testsPassed = 0;
let testsFailed = 0;
// --- CONFIG ---
const network = await hre.ethers.provider.getNetwork();
task("test-spv-interim-robustness", "Runs comprehensive interim profit robustness tests")
.addParam("symbol", "The token symbol for the diamond instance")
.setAction(async (taskArgs: any, hre: HardhatRuntimeEnvironment) => {
const [owner, lp1, lp2, lp3] = await hre.ethers.getSigners();
let testsPassed = 0;
let testsFailed = 0;
// --- CONFIG ---