cosmos-sdk: Index | Files

package exported

import ""


Package Files


type ModuleAccountI Uses

type ModuleAccountI interface {

    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 15 packages. Updated 2019-08-08. Refresh now. Tools for package owners.