Chapter 42: Denomination

A denomination is used for accounts that record whole-number counts of indistinguishable units. We use the term denomination for the unit. A denomination could, for example, be one Rune, one gram of gold, or one US cent. Standard codes exist for many common denominations, but the model also supports custom denominations peculiar to contracts, which anyone can create.


value Denomination
{
    String code;
    String name;
    key {code};    
}