Commodity
data class Commodity(val commodityCode: String, val displayName: String, val defaultFractionDigits: Int = 0) : TokenizableAssetInfo
Class representing a commodity, as an equivalent to the Currency class. This exists purely to enable the CommodityContract contract, and is likely to change in future.
Parameters
commodity Code
a unique code for the commodity. No specific registry for these is currently defined, although this is likely to change in future.
display Name
human readable name for the commodity.
default Fraction Digits
the number of digits normally after the decimal point when referring to quantities of this commodity.