ethers-rs/ethers-contract/ethers-contract-derive/src
Matthias Seitz fb4d9a9ef1
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>
2021-10-18 13:28:38 +03:00
..
abi_ty.rs feat: function call enums EthCall macro and more (#517) 2021-10-18 13:28:38 +03:00
abigen.rs feat: add support for multiple contract definitions in abigen macro (#498) 2021-10-11 17:18:09 +03:00
call.rs feat: function call enums EthCall macro and more (#517) 2021-10-18 13:28:38 +03:00
display.rs fix: use syn::Index for tuple access (#515) 2021-10-16 19:45:42 +03:00
event.rs feat: function call enums EthCall macro and more (#517) 2021-10-18 13:28:38 +03:00
lib.rs feat: function call enums EthCall macro and more (#517) 2021-10-18 13:28:38 +03:00
spanned.rs refactor: pull crates to root dir 2020-06-01 21:24:22 +03:00
utils.rs feat: function call enums EthCall macro and more (#517) 2021-10-18 13:28:38 +03:00