ethers-rs/ethers-contract
Mark Tyneway 100f121202
feat(ethers-contract): add `send_with_receipt` to `Deployer` (#865)
* feat(ethers-contract): add `send_with_receipt` to `Deployer`

The `Deployer` is used to deploy contracts and its `send`
function returns an attached instance of a `Contract`.
There is no way to know the transaction hash of the
deployment transaction, so this commit adds another
method `send_with_receipt` that returns an attached
`Contract` as well as a `TransactionReceipt`.

* changelog: update

* tests: call `send_with_receipt` in tests

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-02-05 16:37:09 +02:00
..
ethers-contract-abigen refactor: replace anyhow with eyre (#858) 2022-02-02 22:44:53 +02:00
ethers-contract-derive chore(deps): bump ethabi master (#787) 2022-01-13 02:58:11 +02:00
src feat(ethers-contract): add `send_with_receipt` to `Deployer` (#865) 2022-02-05 16:37:09 +02:00
tests feat(ethers-contract): add `send_with_receipt` to `Deployer` (#865) 2022-02-05 16:37:09 +02:00
Cargo.toml refactor(solc): rewrite compiler passes and cache change detection (#802) 2022-02-04 18:20:24 +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.