ethers-rs/ethers-contract
DaniPopes 6336e96995
refactor(abigen): derives, struct expansion (#2160)
* refactor: abigen derives

* refactor: struct expansion

* refactor: structs 2

* chore: abigen derives and visibility

* refactor: abigen docs

* refactor: structs 3

* chore: doc

* chore: structs conditional default

* refactor: method expansion

* refactor: final doc

* refactor: expansions, add docs, extra From impl

* refactor: final struct expansion

* feat(types): implement bytes::Bytes static methods

* feat: use static Bytes for bytecode

* merge artifact

* refactor: event input expansion

* refactor: common expand params

* refactor: method params expansion

* refactor: struct fields expansion

* refactor: types array expansion

* mergings

* cleanup

* flatten

* selector fmt

* chore: clippy

* refactor: common, imports
2023-02-19 16:53:29 -08:00
..
ethers-contract-abigen refactor(abigen): derives, struct expansion (#2160) 2023-02-19 16:53:29 -08:00
ethers-contract-derive refactor(abigen): derives, struct expansion (#2160) 2023-02-19 16:53:29 -08:00
src Prestwich/event no lifetime (#2105) 2023-02-13 17:14:38 -08:00
tests chore: fmt 2023-02-18 13:22:58 -08:00
Cargo.toml chore(deps): bump once_cell from 1.17.0 to 1.17.1 (#2156) 2023-02-15 10:55:04 -08:00
README.md release: 0.6.0 (#611) 2021-11-23 21:23:12 +02:00

README.md

Type-safe abstractions for interacting with Ethereum smart contracts

Interacting with a smart contract requires broadcasting carefully crafted transactions where the data field contains the function's selector along with the arguments of the called function.

This module provides the Contract and ContractFactory abstractions so that you do not have to worry about that. It also provides typesafe bindings via the abigen macro and the Abigen builder.