ethers-rs/ethers-contract
James Prestwich 0236de8d2a
refactor: make contract abstract over Borrow (#2082)
* refactor: contract abstract over Borrow

* refactor: preserve old connect usage

* nit: remove commented out modules

* chore: changelog

* test: add compile check to tests

* docs: add usage note to doc and make sure contractcall is visible

* fix: test compilation

* refactor: ContractCallInternal -> FunctionCall, ContractInternal -> ContractInstance

* fix: Send IntoFuture

* nit: must-use on connect

* docs: remove deprecation warning in docstrings for type aliases

* Update ethers-contract/src/call.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-06 13:27:01 -08:00
..
ethers-contract-abigen refactor(abigen): inline docs (#2090) 2023-01-30 21:28:57 -08:00
ethers-contract-derive remove EthAbiType derive generated unwrap (#2056) 2023-01-17 11:15:59 -08:00
src refactor: make contract abstract over Borrow (#2082) 2023-02-06 13:27:01 -08:00
tests refactor: make contract abstract over Borrow (#2082) 2023-02-06 13:27:01 -08: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.