Documentation ¶
Overview ¶
nolint
Index ¶
- type DummySupplyKeeper
- func (sk DummySupplyKeeper) GetModuleAccount(ctx sdk.Context, moduleName string) exported.ModuleAccountI
- func (sk DummySupplyKeeper) GetModuleAddress(moduleName string) sdk.CUAddress
- func (sk DummySupplyKeeper) SendCoinsFromAccountToModule(ctx sdk.Context, fromAddr sdk.CUAddress, recipientModule string, amt sdk.Coins) (sdk.Result, sdk.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummySupplyKeeper ¶
type DummySupplyKeeper struct {
// contains filtered or unexported fields
}
DummySupplyKeeper defines a supply keeper used only for testing to avoid circle dependencies
func NewDummySupplyKeeper ¶
func NewDummySupplyKeeper(ak cu.CUKeeper) DummySupplyKeeper
NewDummySupplyKeeper creates a DummySupplyKeeper instance
func (DummySupplyKeeper) GetModuleAccount ¶
func (sk DummySupplyKeeper) GetModuleAccount(ctx sdk.Context, moduleName string) exported.ModuleAccountI
GetModuleAccount for dummy supply keeper
func (DummySupplyKeeper) GetModuleAddress ¶
func (sk DummySupplyKeeper) GetModuleAddress(moduleName string) sdk.CUAddress
GetModuleAddress for dummy supply keeper
Click to show internal directories.
Click to hide internal directories.