corda / net.corda.core.contracts / TokenizableAssetInfo

TokenizableAssetInfo

interface TokenizableAssetInfo

This interface is used by Amount to determine the conversion ratio from indicative/displayed asset amounts in BigDecimal to fungible tokens represented by Amount objects.

Properties

displayTokenSize

The nominal display unit size of a single token, potentially with trailing decimal display places if the scale parameter is non-zero.

abstract val displayTokenSize: BigDecimal

Inheritors

Commodity

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.

data class Commodity : TokenizableAssetInfo