Beispiel #1
0
 public ManifestModel(ContractManifest manifest)
 {
     if (manifest != null)
     {
         ContractName       = manifest.Name;
         SupportedStandards = manifest.SupportedStandards;
         Groups             = manifest.Groups;
         Permissions        = manifest.Permissions;
         Trusts             = manifest.Trusts;
         Abi   = new ContractAbiModel(manifest.Abi);
         Extra = manifest.Extra;
     }
 }
 public ManifestModel(ContractManifest manifest)
 {
     if (manifest != null)
     {
         ContractHash = manifest.Hash;
         Groups       = manifest.Groups;
         Permissions  = manifest.Permissions;
         Trusts       = manifest.Trusts;
         SafeMethods  = manifest.SafeMethods;
         Features     = manifest.Features;
         Abi          = new ContractAbiModel(manifest.Abi);
         Extra        = manifest.Extra;
     }
 }