Skip to content

Create CIS-0 library and defined all STANDARD_IDENTIFIER constants in it #428

@DOBEN

Description

@DOBEN

Task description

Currently, the CIS-2 library includes types and helper functions for both (CIS-2 and CIS-0). Since some contracts implement only CIS-0, it would be beneficial to have a better separation between the two standards in two libraries.

As part of the CIS-0 library, the CIS0_STANDARD_IDENTIFIER, CIS1_STANDARD_IDENTIFIER, CIS2_STANDARD_IDENTIFIER, ... should be defined to avoid having to define these constants at the top of every smart contract.

Sub-tasks

  • Separate CIS-2 and CIS-0 into their respective libraries.
  • Define the constants CIS0_STANDARD_IDENTIFIER, CIS1_STANDARD_IDENTIFIER, ... in the CIS-0 library.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions