CIP112: mint/burn should be provided through an official CIP interface

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
haskell
Domain
blockchain

Research direction

Start by reading the linked BurnMintV1.daml interface and the reference implementation discussion in PR 206 to understand the required BurnMintFactory behavior. Identify the relevant reference implementations in this repository and determine which must implement the interface; done means all required implementations provide it. The issue does not name specific implementation files or tests.

Written by the indexing model from the issue text.

Description

enhancement

https://github.com/canton-network/splice/blob/8585c2a759d15d761cccc82b0c369ed32d18cd06/daml/splice-api-token-burn-mint-v1/daml/Splice/Api/Token/BurnMintV1.daml

This interface is likely to be lifted into an official mint/burn CIP, at which point it would likely support CIP112 tokens as well.

At the moment it is impossible to implement this because the splice-api-token-burn-mint-v package only supports CIP56 tokens and it's tightly coupled with HoldingV1.

Our CIP112 implementation implements only CIP112, and that's intentional.

Once CIP is created and we implement it, all our reference implementations should be updated to depend on this burn/mint interface (see https://github.com/OpenZeppelin/canton-specs/pull/206#discussion_r4386717079).

Dominant language
Haskell
Stars
5
Forks
0
Avg merge
1d 36m
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenZeppelin/canton-contracts

All issues in OpenZeppelin/canton-contracts

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.