Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error)
- func (k Keeper) Accounts(c context.Context, req *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error)
- func (k Keeper) GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
- func (k Keeper) GetAccountO(ctx sdk.Context, address sdk.AccAddress) (val types.Account, found bool)
- func (k Keeper) GetAllAccount(ctx sdk.Context) (list []types.Account)
- func (k Keeper) GetModuleAddress(moduleName string) sdk.AccAddress
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) IterateAccounts(ctx sdk.Context, cb func(account types.Account) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) UnmarshalAccount(bz []byte) (basetypes.AccountI, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) Account ¶
func (k Keeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error)
func (Keeper) Accounts ¶
func (k Keeper) Accounts(c context.Context, req *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error)
func (Keeper) GetAccount ¶
exists to satisfy cosmos AccountKeeper.GetAccount interface TODO consider better way.
func (Keeper) GetAccountO ¶
func (k Keeper) GetAccountO( ctx sdk.Context, address sdk.AccAddress, ) (val types.Account, found bool)
GetAccount returns a account from its index.
func (Keeper) GetAllAccount ¶
GetAllAccount returns all account.
func (Keeper) GetModuleAddress ¶
func (k Keeper) GetModuleAddress(moduleName string) sdk.AccAddress
just a stub to have AccountKeeper.GetModuleAddress API filled.
func (Keeper) IterateAccounts ¶
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params returns parameters of auth module.
Click to show internal directories.
Click to hide internal directories.