Skip to main content

Artifact

scrypt-ts / Artifact

Interface: Artifact

Table of contents

Properties

Properties

abi

abi: ABIEntity[]

ABI of the contract: interfaces of its public functions and constructor

Defined in

node_modules/scryptlib/dist/contract.d.ts:50


alias

alias: AliasEntity[]

all typealias defined in the contracts, including dependent contracts

Defined in

node_modules/scryptlib/dist/contract.d.ts:48


asm

Optional asm: string

Deprecated

locking script of the contract in ASM format, including placeholders for constructor parameters

Defined in

node_modules/scryptlib/dist/contract.d.ts:52


buildType

buildType: string

build type, can be debug or release

Defined in

node_modules/scryptlib/dist/contract.d.ts:36


compilerVersion

compilerVersion: string

version of compiler used to produce this file

Defined in

node_modules/scryptlib/dist/contract.d.ts:34


contract

contract: string

name of the contract

Defined in

node_modules/scryptlib/dist/contract.d.ts:38


file

file: string

file uri of the main contract source code file

Defined in

node_modules/scryptlib/dist/contract.d.ts:56


hex

hex: string

locking script of the contract in hex format, including placeholders for constructor parameters

Defined in

node_modules/scryptlib/dist/contract.d.ts:54


library

library: LibraryEntity[]

all library defined in the contracts, including dependent contracts

Defined in

node_modules/scryptlib/dist/contract.d.ts:46


md5

md5: string

md5 of the contract source code

Defined in

node_modules/scryptlib/dist/contract.d.ts:40


sourceMap

Optional sourceMap: string[]

Deprecated

Defined in

node_modules/scryptlib/dist/contract.d.ts:60


sourceMapFile

sourceMapFile: string

file uri of source map file *

Defined in

node_modules/scryptlib/dist/contract.d.ts:62


sources

Optional sources: string[]

Deprecated

Defined in

node_modules/scryptlib/dist/contract.d.ts:58


stateProps

stateProps: ParamEntity[]

all stateful properties defined in the contracts

Defined in

node_modules/scryptlib/dist/contract.d.ts:42


structs

structs: StructEntity[]

all structures defined in the contracts, including dependent contracts

Defined in

node_modules/scryptlib/dist/contract.d.ts:44


version

version: number

version of artifact file

Defined in

node_modules/scryptlib/dist/contract.d.ts:32