iota_types::stardust

Module 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ยง