Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLS-0033d (MPT): Fix math display #247

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions XLS-0033d-multi-purpose-tokens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ represent one cent instead of a whole dollar. Using `AssetScale`, MPT issuers ca
number of orders of magnitude between a standard unit and an MPT unit.

More formally, the asset scale is a non-negative integer (`0`, `1,` `2`, …) such that one standard unit
equals $10^{scale}$ of a corresponding MPT unit.
equals $10^{-scale}$ of a corresponding MPT unit.

The following equations formalize the relationship between an asset's standard unit and an assets MPT unit:

$$StdUnit = MptUnit / 10^{scale} *\tag{I}$$
$${StdUnit} = {MptUnit} / 10^{scale}$$

$$MptUnit = 10^{scale} * StdUnit \tag{II}$$
$${MptUnit} = {StdUnit} * 10^{scale}$$

Mapping these equations to the USD stablecoin example above, an `MPTokenIssuance` with an `AssetScale` of `0` would mean
each MPT unit represents one standard unit. However, an `MPTokenIssuance` with an `AssetScale` of `2` would mean each
Expand Down