cosmos-sdk: Index | Files

package exported

import ""


Package Files


type GenesisBalance Uses

type GenesisBalance interface {
    GetAddress() sdk.AccAddress
    GetCoins() sdk.Coins

GenesisBalance defines a genesis balance interface that allows for account address and balance retrieval.

type SupplyI Uses

type SupplyI interface {
    GetTotal() sdk.Coins
    SetTotal(total sdk.Coins)

    Inflate(amount sdk.Coins)
    Deflate(amount sdk.Coins)

    String() string
    ValidateBasic() error

SupplyI defines an inflationary supply interface for modules that handle token supply.

Package exported imports 1 packages (graph) and is imported by 20 packages. Updated 2020-05-13. Refresh now. Tools for package owners.