Documentation
¶
Index ¶
- func NewQueryServer(k AccountKeeper) types.QueryServer
- type AccountKeeper
- func (ak AccountKeeper) GetAccount(ctx context.Context, addr sdk.AccAddress) (acc sdk.AccountI)
- 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) SetAccount(ctx context.Context, acc sdk.AccountI)
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.
Click to show internal directories.
Click to hide internal directories.