Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConstructorDecoding

This type represents a transaction decoding for a constructor call. It's even possible to decode a library constructor call with this.

NOTE: In the future, this type will also contain information about any linked libraries the contract being constructed uses. However, this is not implemented at present.

Hierarchy

  • ConstructorDecoding

Index

Properties

abi

The ABI entry for the constructor that was called. Note that although default constructors don't actually get an ABI entry, we still return an ABI entry regardless in that case.

arguments

arguments: AbiArgument[]

The list of decoded arguments to the constructor. This will be empty for a default constructor.

bytecode

bytecode: string

The bytecode of the constructor that was called.

class

The class of contract being constructed, as a Format.Types.ContractType.

decodingMode

decodingMode: DecodingMode

The decoding mode that was used; see the README for more on these.

kind

kind: "constructor"

The kind of decoding; indicates that this is a ConstructorDecoding.

Generated using TypeDoc