ContractPermissionDescriptor

Interface
Describes the contract to be invoked. Can be a contract hash, the public key of a group, or a wildcard. If it specifies a contract hash, then that contract will be invoked. If it specifies the public key of a group, then any contract in that group will be invoked. If it specifies a wildcard, then any contract will be invoked.
export interface ContractPermissionDescriptor { 
  readonly hash?: UInt160Hex; 
  readonly group?: PublicKeyString; 
} 

Properties

hash
UInt160Hex
If defined then this permission descriptor is for a contract.
group
PublicKeyString
If defined then this permission descriptor is for a contract group.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE