2020-02-25 14:57:11 -05:00
|
|
|
_section: Contract Interaction @<contracts>
|
|
|
|
|
2020-05-08 03:24:40 -04:00
|
|
|
A **Contract** object is an abstraction of a contract (EVM bytecode)
|
|
|
|
deployed on the Ethereum network. It allows for a simple way to
|
2020-07-03 01:44:17 -04:00
|
|
|
serialize calls and transactions to an on-chain contract and
|
2020-05-08 03:24:40 -04:00
|
|
|
deserialize their results and emitted logs.
|
2020-02-25 14:57:11 -05:00
|
|
|
|
2020-07-03 01:44:17 -04:00
|
|
|
A **ContractFactory** is an abstraction of a contract's //bytecode//
|
2020-05-08 03:24:40 -04:00
|
|
|
and facilitates deploying a contract.
|
2020-02-25 14:57:11 -05:00
|
|
|
|
|
|
|
_toc:
|
|
|
|
contract
|
2020-05-08 03:24:40 -04:00
|
|
|
contract-factory
|
2020-02-25 14:57:11 -05:00
|
|
|
example
|