core
core copied to clipboard
[Bug] Allow contracts as `sol!` types
Component
sol! macro
What version of Alloy are you on?
No response
Operating System
None
Describe the bug
Contracts/interfaces should just be translated to addresses
interface IERC20 {}
function func(IERC20 addr);
struct Struct {
IERC20 addr;
}