Plugin Testing
Introduction
Setting Up
import {ethers} from 'hardhat';
import {entrypointFixture, TokensFixture} from "./externalFixtures";
import AlgebraPool
from "@cryptoalgebra/integral-core/artifacts/contracts/AlgebraPool.sol/AlgebraPool.json";
import {
DynamicFeePluginFactory,
DynamicFeePlugin,
IAlgebraPool, IAlgebraFactory
} from '../../typechain-types';interface PluginFixture extends TokensFixture {
pluginFactory: DynamicFeePluginFactory,
plugin: DynamicFeePlugin,
pool: IAlgebraPool
}Writing Tests
Last updated