ParamToCallbacks

Interface
export interface ParamToCallbacks<T> { 
  readonly undefined: () => T; 
  readonly bigNumber: (param: BigNumber) => T; 
  readonly string: (param: string) => T; 
  readonly boolean: (param: boolean) => T; 
  readonly array: (param: ParamArray) => T; 
  readonly map: (param: ParamMap) => T; 
  readonly object: (param: ParamObject) => T; 
  readonly forwardValue: (param: ForwardValue) => T; 
} 

Methods

undefined

() => T 

bigNumber

(param: BigNumber) => T 

string

(param: string) => T 

boolean

(param: boolean) => T 

array

(param: ParamArray) => T 

map

(param: ParamMap) => T 

object

(param: ParamObject) => T 

forwardValue

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