Skip to content

[#13] Fix `TokenMetadataParam`

Diogo Castro requested to merge diogo/#13-fix-TokenMetadataParam into master

Description

Problem: The current definition of TokenMetadataParam is not FA2-compliant.

https://gitlab.com/tzip/tzip/-/blob/ed7fbfe859a7c245d067d732c8cb2ce158d63a4f/proposals/tzip-12/tzip-12.md#token_metadata-entrypoint

Solution: modify the definition of TokenMetadataParam to match the layout/annotations defined by the FA2 spec.

Related issue(s)

Resolves #13 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports