Documentation ¶
Index ¶
- type Keeper
- func (k *Keeper) Address(goCtx context.Context, req *types.QueryAddress) (*types.QueryAddressResponse, error)
- func (k *Keeper) ClearAccount(goCtx context.Context, msg *types.MsgClearAccount) (*types.MsgClearAccountResponse, error)
- func (k *Keeper) ExecuteForwards(ctx sdk.Context)
- func (k *Keeper) GetAllNumOfAccounts(ctx sdk.Context) map[string]uint64
- func (k *Keeper) GetAllNumOfForwards(ctx sdk.Context) map[string]uint64
- func (k *Keeper) GetAllTotalForwarded(ctx sdk.Context) map[string]string
- func (k *Keeper) GetNumOfAccounts(ctx sdk.Context, channel string) uint64
- func (k *Keeper) GetNumOfForwards(ctx sdk.Context, channel string) uint64
- func (k *Keeper) GetPendingForwards(ctx sdk.Context) (accounts []types.ForwardingAccount)
- func (k *Keeper) GetTotalForwarded(ctx sdk.Context, channel string) sdk.Coins
- func (k *Keeper) HasPendingForward(ctx sdk.Context, account *types.ForwardingAccount) bool
- func (k *Keeper) IncrementNumOfAccounts(ctx sdk.Context, channel string)
- func (k *Keeper) IncrementNumOfForwards(ctx sdk.Context, channel string)
- func (k *Keeper) IncrementTotalForwarded(ctx sdk.Context, channel string, coin sdk.Coin)
- func (k *Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) RegisterAccount(goCtx context.Context, msg *types.MsgRegisterAccount) (*types.MsgRegisterAccountResponse, error)
- func (k *Keeper) SetNumOfAccounts(ctx sdk.Context, channel string, count uint64)
- func (k *Keeper) SetNumOfForwards(ctx sdk.Context, channel string, count uint64)
- func (k *Keeper) SetPendingForward(ctx sdk.Context, account *types.ForwardingAccount)
- func (k *Keeper) SetTotalForwarded(ctx sdk.Context, channel string, total sdk.Coins)
- func (k *Keeper) StatsByChannel(goCtx context.Context, req *types.QueryStatsByChannel) (*types.QueryStatsByChannelResponse, 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.Codec, storeKey storetypes.StoreKey, transientKey *storetypes.TransientStoreKey, authKeeper types.AccountKeeper, bankKeeper types.BankKeeper, channelKeeper types.ChannelKeeper, transferKeeper types.TransferKeeper, ) *Keeper
func (*Keeper) Address ¶
func (k *Keeper) Address(goCtx context.Context, req *types.QueryAddress) (*types.QueryAddressResponse, error)
func (*Keeper) ClearAccount ¶
func (k *Keeper) ClearAccount(goCtx context.Context, msg *types.MsgClearAccount) (*types.MsgClearAccountResponse, error)
func (*Keeper) ExecuteForwards ¶
ExecuteForwards is an end block hook that clears all pending forwards from transient state.
func (*Keeper) GetAllNumOfAccounts ¶
func (*Keeper) GetAllNumOfForwards ¶
func (*Keeper) GetAllTotalForwarded ¶
func (*Keeper) GetNumOfAccounts ¶
func (*Keeper) GetNumOfForwards ¶
func (*Keeper) GetPendingForwards ¶
func (k *Keeper) GetPendingForwards(ctx sdk.Context) (accounts []types.ForwardingAccount)
func (*Keeper) GetTotalForwarded ¶
func (*Keeper) HasPendingForward ¶
func (*Keeper) IncrementNumOfAccounts ¶
func (*Keeper) IncrementNumOfForwards ¶
func (*Keeper) IncrementTotalForwarded ¶
func (*Keeper) RegisterAccount ¶
func (k *Keeper) RegisterAccount(goCtx context.Context, msg *types.MsgRegisterAccount) (*types.MsgRegisterAccountResponse, error)
func (*Keeper) SetNumOfAccounts ¶
func (*Keeper) SetNumOfForwards ¶
func (*Keeper) SetPendingForward ¶
func (k *Keeper) SetPendingForward(ctx sdk.Context, account *types.ForwardingAccount)
func (*Keeper) SetTotalForwarded ¶
func (*Keeper) StatsByChannel ¶
func (k *Keeper) StatsByChannel(goCtx context.Context, req *types.QueryStatsByChannel) (*types.QueryStatsByChannelResponse, error)
Click to show internal directories.
Click to hide internal directories.