Matthias Seitz
6216b2e4a2
chore: remove unused && cargo fix ( #496 )
...
* chore: rm allows
* chore: cargo fix
2021-10-10 09:31:34 +01:00
TannrA
32ad5a6abd
Event aliasing for contract bindings ( #425 )
...
* contracts: enable event aliases for Abigen
* contract: unit tests for event aliases
* contract: cleanup expand_event function
* Address pr suggestions
* contracts: remove unnecessary clone
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
* Make clippy happy
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2021-09-03 18:57:40 +03:00
Matthias Seitz
ba5f650dec
feat: generate rust structs from solidity JSON ABI ( #378 )
...
* add raw abi model
* feat: simplify struct representation
* feat: add struct generation
* use structs as function input
* fix: failing test
* add example
* rustfmt
2021-08-16 10:29:44 +03:00
Matthias Seitz
b0b4f4e09e
feat: detect ethers crate paths in derive macros ( #366 )
...
* feat: determine ethers crate name using metadata
* use crate detection
2021-08-06 15:47:17 +03:00
Georgios Konstantopoulos
570b45eb10
ABI Encoder v2 + ABI Spec v6.6 ( #17 )
...
* feat(core): update ethabi and enable more Toeknize impls
* feat(contract/abigen): implement simple AbiEncoderV2
* tests(ethers): add abigen example
* fix(core): fix abi tests
* chore: make clippy happy
2020-06-16 15:08:42 +03:00
Georgios Konstantopoulos
a1096f8705
chore(abigen): fix doctest
2020-06-11 12:16:36 +03:00
Georgios Konstantopoulos
f562b47fd2
docs(abigen): update struct
2020-06-10 22:34:39 +03:00
Georgios Konstantopoulos
73b502ed5f
macro: re-enable paths/etherscan and enable more complex tokens
2020-06-04 00:05:05 +03:00
Georgios Konstantopoulos
ba7fedc7d3
abigen: simplify structs and re-enable file/remote codegen
2020-06-03 23:09:46 +03:00
Georgios Konstantopoulos
cd4914d37f
refactor: pull crates to root dir
2020-06-01 21:24:22 +03:00