Versions in this module Expand all Collapse all v0 v0.47.0 Aug 13, 2022 Changes in this version + func NewMsgServerImpl(ak AccountKeeper) types.MsgServer + type AccountKeeper struct + func NewAccountKeeper(cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ...) AccountKeeper + func (ak AccountKeeper) Account(c context.Context, req *types.QueryAccountRequest) (*types.QueryAccountResponse, error) + func (ak AccountKeeper) AccountAddressByID(c context.Context, req *types.QueryAccountAddressByIDRequest) (*types.QueryAccountAddressByIDResponse, error) + func (ak AccountKeeper) Accounts(c context.Context, req *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error) + func (ak AccountKeeper) AddressBytesToString(ctx context.Context, req *types.AddressBytesToStringRequest) (*types.AddressBytesToStringResponse, error) + func (ak AccountKeeper) AddressStringToBytes(ctx context.Context, req *types.AddressStringToBytesRequest) (*types.AddressStringToBytesResponse, error) + func (ak AccountKeeper) Bech32Prefix(ctx context.Context, req *types.Bech32PrefixRequest) (*types.Bech32PrefixResponse, error) + func (ak AccountKeeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (ak AccountKeeper) GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + func (ak AccountKeeper) GetAccountAddressByID(ctx sdk.Context, id uint64) string + func (ak AccountKeeper) GetAllAccounts(ctx sdk.Context) (accounts []types.AccountI) + func (ak AccountKeeper) GetAuthority() string + func (ak AccountKeeper) GetCodec() codec.BinaryCodec + func (ak AccountKeeper) GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI + func (ak AccountKeeper) GetModuleAccountAndPermissions(ctx sdk.Context, moduleName string) (types.ModuleAccountI, []string) + func (ak AccountKeeper) GetModuleAddress(moduleName string) sdk.AccAddress + func (ak AccountKeeper) GetModuleAddressAndPermissions(moduleName string) (addr sdk.AccAddress, permissions []string) + func (ak AccountKeeper) GetModulePermissions() map[string]types.PermissionsForAddress + func (ak AccountKeeper) GetNextAccountNumber(ctx sdk.Context) uint64 + func (ak AccountKeeper) GetParams(ctx sdk.Context) (params types.Params) + func (ak AccountKeeper) GetPubKey(ctx sdk.Context, addr sdk.AccAddress) (cryptotypes.PubKey, error) + func (ak AccountKeeper) GetSequence(ctx sdk.Context, addr sdk.AccAddress) (uint64, error) + func (ak AccountKeeper) HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool + func (ak AccountKeeper) HasAccountAddressByID(ctx sdk.Context, id uint64) bool + func (ak AccountKeeper) InitGenesis(ctx sdk.Context, data types.GenesisState) + func (ak AccountKeeper) IterateAccounts(ctx sdk.Context, cb func(account types.AccountI) (stop bool)) + func (ak AccountKeeper) Logger(ctx sdk.Context) log.Logger + func (ak AccountKeeper) MarshalAccount(accountI types.AccountI) ([]byte, error) + func (ak AccountKeeper) ModuleAccounts(c context.Context, req *types.QueryModuleAccountsRequest) (*types.QueryModuleAccountsResponse, error) + func (ak AccountKeeper) NewAccount(ctx sdk.Context, acc types.AccountI) types.AccountI + func (ak AccountKeeper) NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + func (ak AccountKeeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (ak AccountKeeper) RemoveAccount(ctx sdk.Context, acc types.AccountI) + func (ak AccountKeeper) SetAccount(ctx sdk.Context, acc types.AccountI) + func (ak AccountKeeper) SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI) + func (ak AccountKeeper) SetParams(ctx sdk.Context, params types.Params) error + func (ak AccountKeeper) UnmarshalAccount(bz []byte) (types.AccountI, error) + func (ak AccountKeeper) ValidatePermissions(macc types.ModuleAccountI) error + type AccountKeeperI interface + GetAccount func(sdk.Context, sdk.AccAddress) types.AccountI + GetModulePermissions func() map[string]types.PermissionsForAddress + GetNextAccountNumber func(sdk.Context) uint64 + GetPubKey func(sdk.Context, sdk.AccAddress) (cryptotypes.PubKey, error) + GetSequence func(sdk.Context, sdk.AccAddress) (uint64, error) + HasAccount func(sdk.Context, sdk.AccAddress) bool + IterateAccounts func(sdk.Context, func(types.AccountI) bool) + NewAccount func(sdk.Context, types.AccountI) types.AccountI + NewAccountWithAddress func(sdk.Context, sdk.AccAddress) types.AccountI + RemoveAccount func(sdk.Context, types.AccountI) + SetAccount func(sdk.Context, types.AccountI) + type Migrator struct + func NewMigrator(keeper AccountKeeper, queryServer grpc.Server, ss exported.Subspace) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error + func (m Migrator) Migrate2to3(ctx sdk.Context) error + func (m Migrator) Migrate3to4(ctx sdk.Context) error + func (m Migrator) V45_SetAccount(ctx sdk.Context, acc types.AccountI) error