NefFile

Interface
The structure of a Neo Executable Format (NEF) file.
export interface NefFile { 
  readonly magic: number; 
  readonly compiler: string; 
  readonly source: string; 
  readonly script: BufferString; 
  readonly tokens: readonly MethodToken[]; 
  readonly checksum: number; 
} 

Properties

magic
number
NEO Executable Format 3 (NEF3) magic number.
compiler
string
The name and version of the compiler that created this NEF file.
source
string
The URL of the source files.
script
BufferString
The script of the contract.
tokens
readonly MethodToken[]
The methods to be called statically.
checksum
number
The NEF checksum.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE