ContractGroup

Interface
A ContractGroup represents a set of mutually trusted contracts. A contract will allow any contract in the same group to invoke it, and the user interface will not give any warnings. A group is identified by a public key and must be accompanied by a signature for the contract hash to prove the contract is included in the group.
export interface ContractGroup { 
  readonly publicKey: PublicKey; 
  readonly signature: Buffer; 
  readonly [OpaqueTagSymbol0]: unique symbol; 
} 

Properties

publicKey
The public key identifying the group.
signature
Buffer
Signature of the contract hash.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE