keeper

package
v1.8.0-cube.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryServer

func NewQueryServer(k AccountKeeper) types.QueryServer

Types

type AccountKeeper

type AccountKeeper struct {
	authkeeper.AccountKeeper

	// State
	SliceAddresses collections.Map[sdk.AccAddress, sdk.AccAddress]
	// contains filtered or unexported fields
}

func NewAccountKeeper

func NewAccountKeeper(
	cdc codec.BinaryCodec, storeService store.KVStoreService, proto func() sdk.AccountI,
	maccPerms map[string][]string, ac address.Codec, bech32Prefix, authority string,
) AccountKeeper

func (AccountKeeper) GetAccount

func (ak AccountKeeper) GetAccount(ctx context.Context, addr sdk.AccAddress) (acc sdk.AccountI)

GetAccount implements AccountKeeperI.

func (AccountKeeper) GetSequence

func (ak AccountKeeper) GetSequence(ctx context.Context, addr sdk.AccAddress) (uint64, error)

GetSequence Returns the Sequence of the account at address

func (AccountKeeper) HasAccount

func (ak AccountKeeper) HasAccount(ctx context.Context, addr sdk.AccAddress) bool

HasAccount implements AccountKeeperI.

func (AccountKeeper) SetAccount

func (ak AccountKeeper) SetAccount(ctx context.Context, acc sdk.AccountI)

SetAccount implements AccountKeeperI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL