You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alloy_sol_types::sol! {
interface IERC20{
function transfer(address to, uint256 value) external returns (bool);
}
interface IERC721{
function transfer(address to, uint256 tokenId) external returns (bool);
}}
error: function with same name and parameter types defined twice
= note: other declaration is here
--> src\main.rs:3:18
|
3 | function transfer(address to, uint256 value) external returns (bool);
| ^^^^^^^^
The text was updated successfully, but these errors were encountered:
error: unresolved type
= help: Custom types must be declared inside of the same scope they are referenced in,
or "imported" as a UDT with `type ... is (...);`
--> src\main.rs:14:22
|
14 | function foo(S memory s) external;
| ^
error: unresolved custom type: S
--> src\main.rs:14:22
|
14 | function foo(S memory s) external;
| ^
Component
sol! macro
What version of Alloy are you on?
0.7.0
Operating System
None
Describe the bug
The text was updated successfully, but these errors were encountered: