cosmos-sdk: github.com/cosmos/cosmos-sdk/x/supply/exported Index | Files

package exported

import "github.com/cosmos/cosmos-sdk/x/supply/exported"

Index

Package Files

exported.go

type ModuleAccountI Uses

type ModuleAccountI interface {
    exported.Account

    GetName() string
    GetPermissions() []string
    HasPermission(string) bool
}

ModuleAccountI defines an account interface for modules that hold tokens in an escrow

type SupplyI Uses

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

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

    String() string
    ValidateBasic() error
}

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

Package exported imports 2 packages (graph) and is imported by 13 packages. Updated 2019-08-08. Refresh now. Tools for package owners.