Skip to content

docs: mark issued_supply a lifetime mint counter that burns never decrement - #14

Merged
robrigo merged 1 commit into
mainfrom
docs/burn-keeps-issued-supply
Aug 18, 2026
Merged

docs: mark issued_supply a lifetime mint counter that burns never decrement#14
robrigo merged 1 commit into
mainfrom
docs/burn-keeps-issued-supply

Conversation

@robrigo

@robrigo robrigo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What this change claims, in one sentence:

burnasset never decrements the parent template's issued_supply, so issued_supply counts lifetime mints and a circulating count must subtract burns.

Source: atomicassets-contract at v2.0.0-rc4: src/atomicassets.cpp:1096-1177 (burnasset reads the template row only for the burnable check and writes nothing back); the only writes to issued_supply in the tree are src/atomicassets.cpp:732 (mintasset), :651 (locktemplate), and :1615 (template creation initializing it to 0).

Tier: source-read.

Row in validation-log.md updated: no; the rows for reference/atomicassets/actions.md and reference/atomicassets/tables.md already carry this claim's exact primary source and tier (source-read at v2.0.0-rc4), and neither changes.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the AtomicAssets reference documentation to clarify that a template’s issued_supply is a lifetime mint counter and is not decremented by burnasset, meaning “circulating supply” must be derived separately (e.g., lifetime mints minus burns).

Changes:

  • Clarifies templates.issued_supply semantics as lifetime mints (burns do not decrement it).
  • Expands burnasset action documentation to explicitly note it does not modify the parent template’s issued_supply.
  • Adds/extends primary-source citations to include burnasset’s implementation reference.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
reference/atomicassets/tables.md Documents issued_supply as a lifetime mint counter and cites burnasset to support “never decremented”.
reference/atomicassets/actions.md Notes under burnasset that it does not change template issued_supply, framing how to compute circulating supply.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread reference/atomicassets/tables.md Outdated
Comment thread reference/atomicassets/actions.md Outdated
…rement

An integrator computing a template's circulating count from issued_supply alone overcounts by the number of burns, and neither page said so. burnasset reads the template row only for the burnable check and writes nothing back, so the counter only ever moves up.
@robrigo
robrigo force-pushed the docs/burn-keeps-issued-supply branch from 67bf1d1 to 7f9d039 Compare August 18, 2026 20:39
@robrigo
robrigo deployed to wax-testnet August 18, 2026 20:39 — with GitHub Actions Active
@robrigo
robrigo requested a lite review from Copilot August 18, 2026 20:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@robrigo
robrigo merged commit 78ba79d into main Aug 18, 2026
11 checks passed
@robrigo
robrigo deleted the docs/burn-keeps-issued-supply branch August 18, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants