-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add example showcasing json
and dyn
ABI encoding + sol_types
static encoding
#71
Comments
json
and dyn
ABI encodingjson
and dyn
ABI encoding + sol_types
static encoding
@zerosnacks I'd like to take this on. Do you have any suggestions for an optimal example for each type? |
Thanks! The goal of the example is to clarify to users when you should use each type and how they are different from each other. For the vast majority of cases users should always use the |
Hi @PraneshASP let me know if you are running into any issues or need any pointers, happy to help! |
Hi @zerosnacks sorry caught up with other things, I'm looking into adding examples now! |
No problem! Thanks |
Added example for |
Added example for Example for cc: @zerosnacks |
I think ABI decoding should be sufficient here for the It would be nice to combine the various test cases into a single one covering the constructor, a function, an event and an error? |
https://github.com/alloy-rs/core/tree/main/crates/json-abi
https://github.com/alloy-rs/core/tree/main/crates/dyn-abi
https://docs.rs/alloy-sol-types/latest/alloy_sol_types/
The text was updated successfully, but these errors were encountered: