Options
Public
  • Public
  • Public/Protected
  • All
Menu

Represents a contract in a compilation.

Hierarchy

  • Contract

Index

Properties

abi

abi: SchemaAbi

The contract's ABI.

Optional bytecode

bytecode: string | Bytecode

The contract's constructor bytecode; may be given either as a string in the old artifacts format, or as a bytecode object in the new compilation format.

Optional compiler

compiler: CompilerVersion

This field is a compatibility hack only inteded for internal use. (It allows the compiler to be set on a source if none is set on the compilation as a whole; please don't do that.)

contractName

contractName: string

The contract's name.

Optional deployedBytecode

deployedBytecode: string | Bytecode

The contract's deployed bytecode; may be given either as a string in the old artifacts format, or as a bytecode object in the new compilation format.

Optional deployedSourceMap

deployedSourceMap: string

The contract's deployed source map.

Optional immutableReferences

immutableReferences: ImmutableReferences

The contract's immutable references object as output by Solidity 0.6.5 or later.

Optional primarySourceId

primarySourceId: string

The ID of the contract's primary source.

Optional sourceMap

sourceMap: string

The contract's constructor source map.

Generated using TypeDoc