Skip to content
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

feat: add abi type trait #519

Merged
merged 6 commits into from Oct 18, 2021
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Oct 18, 2021

Motivation

Introduce basic AbiType trait that adds the missing link from type => ethabi::ParamType that should replace lots of boilerplate code in the EthAbiType and EthCall macros.
This trait can easily be combined with AbiDecode

Solution

Not sure about the additional AbiArrayType trait, alternatively we could just not support u8 => ParamType::Uint(8)

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@gakonst gakonst merged commit c5a45f7 into gakonst:master Oct 18, 2021
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
* Sort remappings in a stable fashion

* Take note of precedence of remappings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants