Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error)
- func (k Keeper) AccountAddressByID(_ context.Context, _ *types.QueryAccountAddressByIDRequest) (resp *types.QueryAccountAddressByIDResponse, e error)
- func (k Keeper) AccountInfo(_ context.Context, _ *types.QueryAccountInfoRequest) (resp *types.QueryAccountInfoResponse, e error)
- func (k Keeper) Accounts(c context.Context, req *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error)
- func (k Keeper) AddressBytesToString(_ context.Context, _ *types.AddressBytesToStringRequest) (resp *types.AddressBytesToStringResponse, e error)
- func (k Keeper) AddressStringToBytes(_ context.Context, _ *types.AddressStringToBytesRequest) (resp *types.AddressStringToBytesResponse, e error)
- func (k Keeper) Bech32Prefix(_ context.Context, _ *types.Bech32PrefixRequest) (resp *types.Bech32PrefixResponse, e 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(_ 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) ModuleAccountByName(_ context.Context, _ *types.QueryModuleAccountByNameRequest) (resp *types.QueryModuleAccountByNameResponse, e error)
- func (k Keeper) ModuleAccounts(_ context.Context, _ *types.QueryModuleAccountsRequest) (resp *types.QueryModuleAccountsResponse, e error)
- 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 NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ) *Keeper
func (Keeper) Account ¶
func (k Keeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error)
func (Keeper) AccountAddressByID ¶ added in v1.4.0
func (k Keeper) AccountAddressByID(_ context.Context, _ *types.QueryAccountAddressByIDRequest) (resp *types.QueryAccountAddressByIDResponse, e error)
func (Keeper) AccountInfo ¶ added in v1.4.0
func (k Keeper) AccountInfo(_ context.Context, _ *types.QueryAccountInfoRequest) (resp *types.QueryAccountInfoResponse, e error)
func (Keeper) Accounts ¶
func (k Keeper) Accounts(c context.Context, req *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error)
func (Keeper) AddressBytesToString ¶ added in v1.4.0
func (k Keeper) AddressBytesToString(_ context.Context, _ *types.AddressBytesToStringRequest) (resp *types.AddressBytesToStringResponse, e error)
func (Keeper) AddressStringToBytes ¶ added in v1.4.0
func (k Keeper) AddressStringToBytes(_ context.Context, _ *types.AddressStringToBytesRequest) (resp *types.AddressStringToBytesResponse, e error)
func (Keeper) Bech32Prefix ¶ added in v1.4.0
func (k Keeper) Bech32Prefix(_ context.Context, _ *types.Bech32PrefixRequest) (resp *types.Bech32PrefixResponse, e 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(_ string) sdk.AccAddress
just a stub to have AccountKeeper.GetModuleAddress API filled.
func (Keeper) IterateAccounts ¶
func (Keeper) ModuleAccountByName ¶ added in v1.4.0
func (k Keeper) ModuleAccountByName(_ context.Context, _ *types.QueryModuleAccountByNameRequest) (resp *types.QueryModuleAccountByNameResponse, e error)
func (Keeper) ModuleAccounts ¶ added in v1.4.0
func (k Keeper) ModuleAccounts(_ context.Context, _ *types.QueryModuleAccountsRequest) (resp *types.QueryModuleAccountsResponse, e error)
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.