IntegerContractParameterDefinition

Interface
Contract parameter for a BN. Note that unlike most of the client APIs, we use a BN instead of a BigNumber here to indicate that this is an integer value. For example, an IntegerContractParameter that represents a NEO value of 10 would be a new BN(10_00000000).
export interface IntegerContractParameterDefinition extends ContractParameterDefinitionBase { 
  readonly type: 'Integer'; 
} 

Properties

type
'Integer'
type distinguishes IntegerContractParameter from other ContractParameterDefinition object types.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE