ContractMethodDescriptor

Interface
Method specification in the ContractABI of a smart contract.
export interface ContractMethodDescriptor { 
  readonly name: string; 
  readonly parameters?: readonly ContractParameterDefinition[]; 
  readonly returnType: ContractParameterType; 
  readonly offset: number; 
} 

Properties

name
string
Name of the method.
parameters
Parameters of the method.
returnType
Return type of the method.
offset
number
Used to set the instruction pointer before executing the method.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitter
COPYRIGHT © 2021 NEO•ONE