I have a contract called Token.sol
Inside there is an interface:
interface TokenInterface {
}
followed by the contract with constructor having that interface
contract Token {
TokenInterface public tokenInterface;
constructor(TokenInterface _tokenInterface) {
tokenInterface = _tokenInterface;
}
How do I deploy this in hardhat test? Right now I have
Token = await ethers.getContractFactory("Token");
[owner, addr1, addr2, ...addrs] = await ethers.getSigners();
token = await Token.deploy();