Documentation ¶
Overview ¶
Package types only consists of a copy from the cosmos' mint module's expected keepers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGenesisState ¶ added in v2.10.0
func DefaultGenesisState() *types.GenesisState
DefaultGenesisState creates a default GenesisState object.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(name string) sdk.AccAddress // TODO remove with genesis 2-phases refactor https://github.com/cosmos/cosmos-sdk/issues/2862 SetModuleAccount(sdk.Context, types.ModuleAccountI) GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI }
AccountKeeper defines the contract required for account APIs.
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error }
BankKeeper defines the contract needed to be fulfilled for banking and supply dependencies.
type DistributionKeeper ¶
type DistributionKeeper interface { FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error GetFeePool(ctx sdk.Context) distrtypes.FeePool }
DistributionKeeper defines the expected distribution keeper.
type ShieldKeeper ¶
Click to show internal directories.
Click to hide internal directories.