ScriptBuilderParamToCallbacks

Interface
export interface ScriptBuilderParamToCallbacks<T> { 
  readonly undefined: () => T; 
  readonly array: (param: ScriptBuilderParamArray) => T; 
  readonly map: (param: ScriptBuilderParamMap) => T; 
  readonly uInt160: (param: UInt160) => T; 
  readonly uInt256: (param: UInt256) => T; 
  readonly ecPoint: (param: ECPoint) => T; 
  readonly bn: (param: BN) => T; 
  readonly number: (param: number) => T; 
  readonly string: (param: string) => T; 
  readonly boolean: (param: boolean) => T; 
  readonly buffer: (param: Buffer) => T; 
  readonly object: (param: ScriptBuilderParamObject) => T; 
} 

Methods

undefined

() => T 

array

(param: ScriptBuilderParamArray) => T 

map

(param: ScriptBuilderParamMap) => T 

uInt160

(param: UInt160) => T 

uInt256

(param: UInt256) => T 

ecPoint

(param: ECPoint) => T 

bn

(param: BN) => T 

number

(param: number) => T 

string

(param: string) => T 

boolean

(param: boolean) => T 

buffer

(param: Buffer) => T 

object

(param: ScriptBuilderParamObject) => T 
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE