Module iota_types::stardust::coin_kind
source · Expand description
Coin kinds introduced with the stardust models.
We define as coin kinds objects that hold some kind of Balance
and comply with the Coin
type layout:
struct T {
id: iota_types::id::UID,
balance: iota_types::balance::Balance,
// ...
}
Functions§
- Return the
Balance
of a gas-coin kind. - Infer whether the object is a kind of gas coin.