Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributionKeeper ¶
type ReceiptKeeper ¶
type SupplyKeeper ¶
type SupplyKeeper interface { GetModuleAddress(name string) sdk.CUAddress // TODO remove with genesis 2-phases refactor https://github.com/hbtc-chain/bhchain/issues/2862 SetModuleAccount(sdk.Context, supplyexport.ModuleAccountI) SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.CUAddress, recipientModule string, amt sdk.Coins) (sdk.Result, sdk.Error) SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.CUAddress, amt sdk.Coins) (sdk.Result, sdk.Error) SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) (sdk.Result, sdk.Error) MintCoins(ctx sdk.Context, name string, amt sdk.Coins) sdk.Error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) sdk.Error }
SupplyKeeper defines the expected supply keeper
type TokenKeeper ¶
Click to show internal directories.
Click to hide internal directories.