core icon indicating copy to clipboard operation
core copied to clipboard

[Bug] Allow contracts as `sol!` types

Open DaniPopes opened this issue 2 years ago • 0 comments

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;
}

DaniPopes avatar Oct 08 '23 08:10 DaniPopes