IsValidSmartContract

Type Alias
type IsValidSmartContract<T> = { 
  [K in keyof T]: T[K] extends Function 
    ? Parameters<T[K]> extends SmartContractArg[] 
      ? ReturnType<T[K]> extends SmartContractArg 
        ? T[K] 
        : never 
      : never 
    : T[K] extends SmartContractValue 
    ? T[K] 
    : never; 
}; 
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE