Type-safe abstractions for interacting with Ethereum smart contracts.
Warning
This library is in the process of being deprecated. See #2667 for more information.
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.
For more information, please refer to the book.