ethers-rs/ethers-contract
James Prestwich 2090bf560e
Expose contract revert errors in the ContractError struct (#2172)
* feature: spelunk for revert errors

* feature: bubble up revert to contract error

* feature: bubble up reverts to multicall

* fix: correctly remove signature when deserializing EthErrors

* chore: remove redundant test

* chore: clippy

* fix: allow empty revert string

* docs: add all missing rustdoc for ethers-contract

* chore: rustfmt

* chore: Changelog

* fix: danipope test comment
2023-02-22 14:52:25 -08:00
..
ethers-contract-abigen fix(abigen): builtin trait derives (#2170) 2023-02-20 16:27:43 -08:00
ethers-contract-derive fix(abigen): builtin trait derives (#2170) 2023-02-20 16:27:43 -08:00
src Expose contract revert errors in the ContractError struct (#2172) 2023-02-22 14:52:25 -08:00
tests Expose contract revert errors in the ContractError struct (#2172) 2023-02-22 14:52:25 -08:00
Cargo.toml fix(abigen): builtin trait derives (#2170) 2023-02-20 16:27:43 -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.