-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: function call enums EthCall macro and more (#517)
* fix: do not sort event variants * style: use deref over clone * style: refactor some stuff * feat: add ethcall trait * feat: include in abigen * feat: add bare bones eth call derive * feat: impl EthCall derive * feat: support enums * feat: use abigen enum derive * fix: concrete abi and map errors * test: first call test * rustfmt * chore: use correct trait name on error * feat: derive display for call structs * feat: add from conversion * test: add convert test * chore: docs and test * chore: update changelog * cargo fix * feat: add unit type derive support and more test * chore: patch ethabi * chore: rm ethabi patch * feat: add encode/decode trait impls * style: use AsRef<[u8]> * Update ethers-contract/ethers-contract-abigen/src/contract/methods.rs Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> * style: reindent macro body * test: add tuple event test Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
- Loading branch information
Showing
19 changed files
with
950 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.