Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleAccountI ¶
type ModuleAccountI interface { exported.CustodianUnit GetName() string GetPermissions() []string HasPermission(string) bool }
ModuleAccountI defines an CustodianUnit interface for modules that hold tokens in an escrow
type SupplyI ¶
type SupplyI interface { GetTotal() sdk.Coins GetBurned() 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.
Click to show internal directories.
Click to hide internal directories.