Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants