-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move define_udt!
decl macro to sol!
proc macro
#39
Comments
UDVTs in Solidity are just type aliases, so this should be the case in |
same disagreement as Address vs FixedBytes<20>. In solidity its barely more than an alias, but it really isn't the same type. Suppose the user wants to add a custom impl block the way we do for Address. If UDTs are aliases, they can't do that. It also fails to prevent type confusion |
can i take this ? |
can some extra details of the usage be given ? |
Sure, go ahead! It's mostly just porting the
You can look at the other files in the expand module for examples |
would start on it immediately |
@mahmudsudo are you working on this? if not I'd like to give it a try |
core/crates/sol-types/src/types/udt.rs
Line 7 in 0c21fcc
The text was updated successfully, but these errors were encountered: