ethers-rs/ethers-contract
DaniPopes 97582cc346
feat(core, contract): improve `determine_ethers_crates` (#1988)
* refactor: determine_ethers_crates

* feat: improve crate resolution

* export new types and functions

* export

* fix: file name check

* fix: invert condition and check CARGO_MANIFEST_DIR

* use abigen macro to generate multicall

* chore: rm debug

* rm unnecessary .replace

* chore: clippy

* chore: clippy

* Revert "chore: clippy"

This reverts commit bd220f308d.

* Revert "chore: clippy"

This reverts commit 5550f4e856.

* add tests

* better tests, docs

* add another test

* fix docs

* refactor: add an environment struct for determining ethers crates

* fix: use fmt::Debug to escape paths

* docs: rename and rm old docs

* feat: use global path for crates

* fix: docs

* chore: move rand impl to tests mod
2023-01-03 15:11:57 +02:00
..
ethers-contract-abigen chore: update all rust editions to 2021 (#1979) 2022-12-30 14:48:29 +02:00
ethers-contract-derive chore: update all rust editions to 2021 (#1979) 2022-12-30 14:48:29 +02:00
src feat(core, contract): improve `determine_ethers_crates` (#1988) 2023-01-03 15:11:57 +02:00
tests feat(contract): add_calls and call_array for multicall (#1941) 2022-12-18 13:05:02 +02:00
Cargo.toml chore(deps): bump once_cell from 1.16.0 to 1.17.0 (#1987) 2022-12-30 14:43:05 +02: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.