Documentation ¶
Index ¶
- func NewHandler(k Keeper) sdk.Handler
- func NewLegacyQuerier(keeper Keeper) sdk.Querier
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQueryServer(k Keeper) types.QueryServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAdminAccountIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetAdminAccounts(ctx sdk.Context) []*types.AdminAccount
- func (k Keeper) GetAdminAccountsForType(ctx sdk.Context, adminType types.AdminType) []*types.AdminAccount
- func (k Keeper) GetParams(ctx sdk.Context) *types.Params
- func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState) []abci.ValidatorUpdate
- func (k Keeper) IsAdminAccount(ctx sdk.Context, adminType types.AdminType, adminAccount sdk.AccAddress) bool
- func (k Keeper) RemoveAdminAccount(ctx sdk.Context, account *types.AdminAccount)
- func (k Keeper) SetAdminAccount(ctx sdk.Context, account *types.AdminAccount)
- func (k Keeper) SetParams(ctx sdk.Context, params *types.Params)
- type Migrator
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewLegacyQuerier ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of MsgServer interface for the provided Keeper.
func NewQueryServer ¶
func NewQueryServer(k Keeper) types.QueryServer
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
func (Keeper) GetAdminAccountIterator ¶
func (Keeper) GetAdminAccounts ¶
func (k Keeper) GetAdminAccounts(ctx sdk.Context) []*types.AdminAccount
func (Keeper) GetAdminAccountsForType ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState) []abci.ValidatorUpdate
func (Keeper) IsAdminAccount ¶
func (Keeper) RemoveAdminAccount ¶
func (k Keeper) RemoveAdminAccount(ctx sdk.Context, account *types.AdminAccount)
func (Keeper) SetAdminAccount ¶
func (k Keeper) SetAdminAccount(ctx sdk.Context, account *types.AdminAccount)
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
func NewMigrator ¶
type Querier ¶
type Querier struct {
Keeper
}
func (Querier) GetParams ¶ added in v1.4.0
func (q Querier) GetParams(ctx context.Context, _ *types.GetParamsRequest) (*types.GetParamsResponse, error)
func (Querier) ListAccounts ¶
func (q Querier) ListAccounts(ctx context.Context, _ *types.ListAccountsRequest) (*types.ListAccountsResponse, error)
Click to show internal directories.
Click to hide internal directories.