Versions in this module Expand all Collapse all v0 v0.0.4 Jul 18, 2024 v0.0.3 Jul 18, 2024 Changes in this version + func NewMsgServerImpl(ak AccountKeeper) types.MsgServer + func NewQueryServer(k AccountKeeper) types.QueryServer + type AccountKeeper struct + AccountNumber collections.Sequence + Accounts *collections.IndexedMap[sdk.AccAddress, sdk.AccountI, AccountsIndexes] + Params collections.Item[types.Params] + Schema collections.Schema + func NewAccountKeeper(cdc codec.BinaryCodec, storeService store.KVStoreService, ...) AccountKeeper + func (ak AccountKeeper) AddressCodec() address.Codec + func (ak AccountKeeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (ak AccountKeeper) GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI + func (ak AccountKeeper) GetAllAccounts(ctx context.Context) (accounts []sdk.AccountI) + func (ak AccountKeeper) GetAuthority() string + func (ak AccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI + func (ak AccountKeeper) GetModuleAccountAndPermissions(ctx context.Context, moduleName string) (sdk.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) GetParams(ctx context.Context) (params types.Params) + func (ak AccountKeeper) GetPubKey(ctx context.Context, addr sdk.AccAddress) (cryptotypes.PubKey, error) + func (ak AccountKeeper) GetSequence(ctx context.Context, addr sdk.AccAddress) (uint64, error) + func (ak AccountKeeper) HasAccount(ctx context.Context, addr sdk.AccAddress) bool + func (ak AccountKeeper) InitGenesis(ctx sdk.Context, data types.GenesisState) + func (ak AccountKeeper) IterateAccounts(ctx context.Context, cb func(account sdk.AccountI) (stop bool)) + func (ak AccountKeeper) Logger(ctx context.Context) log.Logger + func (ak AccountKeeper) NewAccount(ctx context.Context, acc sdk.AccountI) sdk.AccountI + func (ak AccountKeeper) NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI + func (ak AccountKeeper) NextAccountNumber(ctx context.Context) uint64 + func (ak AccountKeeper) RemoveAccount(ctx context.Context, acc sdk.AccountI) + func (ak AccountKeeper) SetAccount(ctx context.Context, acc sdk.AccountI) + func (ak AccountKeeper) SetModuleAccount(ctx context.Context, macc sdk.ModuleAccountI) + func (ak AccountKeeper) ValidatePermissions(macc sdk.ModuleAccountI) error + type AccountKeeperI interface + AddressCodec func() address.Codec + GetAccount func(context.Context, sdk.AccAddress) sdk.AccountI + GetModulePermissions func() map[string]types.PermissionsForAddress + GetPubKey func(context.Context, sdk.AccAddress) (cryptotypes.PubKey, error) + GetSequence func(context.Context, sdk.AccAddress) (uint64, error) + HasAccount func(context.Context, sdk.AccAddress) bool + IterateAccounts func(context.Context, func(sdk.AccountI) bool) + NewAccount func(context.Context, sdk.AccountI) sdk.AccountI + NewAccountWithAddress func(context.Context, sdk.AccAddress) sdk.AccountI + NextAccountNumber func(context.Context) uint64 + RemoveAccount func(context.Context, sdk.AccountI) + SetAccount func(context.Context, sdk.AccountI) + type AccountsIndexes struct + Number *indexes.Unique[uint64, sdk.AccAddress, sdk.AccountI] + func NewAccountIndexes(sb *collections.SchemaBuilder) AccountsIndexes + func (a AccountsIndexes) IndexesList() []collections.Index[sdk.AccAddress, sdk.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) Migrate4To5(ctx sdk.Context) error + func (m Migrator) V45SetAccount(ctx sdk.Context, acc sdk.AccountI) error