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) 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)
- 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) ListAccounts ¶
func (q Querier) ListAccounts(ctx context.Context, _ *types.ListAccountsRequest) (*types.ListAccountsResponse, error)
Click to show internal directories.
Click to hide internal directories.