100f121202
* 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> |
||
---|---|---|
.. | ||
ethers-contract-abigen | ||
ethers-contract-derive | ||
src | ||
tests | ||
Cargo.toml | ||
README.md |
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.