As IVotes is a interface and cannot be deployed.
IVotes public immutable token;
constructor(IVotes tokenAddress) {
token = tokenAddress;
}
....
Error: *** Deployment Failed ***
"IVotes" is an abstract contract or an interface and cannot be deployed.
- Import abstractions into the '.sol' file that uses them instead of deploying them separately.
- Contracts that inherit an abstraction must implement all its method signatures exactly.
- A contract that only implements part of an inherited abstraction is also considered abstract.
I want to use IVotes address passing in GovernorVotes constructor. I tried bunch of methods but none works