Skip to content

Linking offering documentation to deployed token — intended use of setTerms() / DocumentEngine? #374

Description

@GreatMessage

Hi CMTA team,

I'm exploring the CMTAT framework for tokenization of Swiss securities
under Art. 973d ff. CO and have a question about linking a deployed token
to its offering documentation.

The problem (chicken-and-egg):
A termsheet needs to reference the token, and the token needs to reference
the document. If we put a SHA-256 hash of the document into the smart
contract, the document can't contain the hash of itself.

Assumption based on documentation:

  1. The termsheet references a stable identifier — no hash in the PDF itself
  2. After deployment, setTerms() (ERC-7551) links the token to the document
  3. DocumentEngine (ERC-1643) can store the document URI + SHA-256 hash
    on-chain for verification

Questions:

  1. Is setTerms() the intended mechanism for linking offering documentation
    after deployment?
  2. What is the recommended format for the terms parameter — URL, hash,
    or combination?
  3. How do DocumentEngine and setTerms() relate — complementary or
    alternatives?
  4. Are there published examples or best practices for this workflow?

Thank you for this excellent open-source standard.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions