Module ethcontract_common::artifact[][src]

Expand description

Tools for loading artifacts that contain compiled contracts.

Artifacts come in various shapes and sizes, but usually they are JSON files containing one or multiple compiled contracts as well as their deployment information.

This module provides trait Artifact that encapsulates different artifact models. It also provides tools to load artifacts from different sources, and parse them using different formats.

Modules

Implements artifact format generated by hardhat-deploy plugin.

Implements the most common artifact format used in Truffle, Waffle and some other libraries.

Structs

An entity that contains compiled contracts.

A wrapper that allows mutating contract but doesn’t allow changing its name.

Result of inserting a nre contract into an artifact.