Skip to content

Add NEO2-style contract metadata to NEO3 ContractManifest #1143

@hal0x2328

Description

@hal0x2328

Summary
In NEO2 all contracts had the following (optional) fields as part of ContractState:

  • Name
  • CodeVersion
  • Author
  • Email
  • Description

NEO3 has removed most fields of ContractState and added the more comprehensive ContractManifest object. However, the manifest does not seem to contain or store any of the above fields.

Do you have any solution you want to propose?

Add Name, CodeVersion, Author, Email and Description to the ContractManifest class so that explorers/dApp trackers can obtain human-readable context for the contracts deployed on NEO3.

Where in the software does this update applies to?

  • Other: Core/Storage

Metadata

Metadata

Assignees

Labels

EnhancementType - Changes that may affect performance, usability or add new features to existing modules.LedgerModule - The ledger is our 'database', this is used to tag changes about how we store informationReady-to-ImplementIssue state: Ready to be implemented or implementation in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions