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ยง
- get_
gas_ balance_ maybe - Return the
Balanceof a gas-coin kind. - is_
gas_ coin_ kind - Infer whether the object is a kind of gas coin.