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; 
  readonly safe: boolean; 
  readonly [OpaqueTagSymbol0]: unique symbol; 
} 

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.
safe
boolean
Indicates whether the method is safe to be called by other contracts.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE