Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Entry(goCtx context.Context, req *types.QueryGetEntryRequest) (*types.QueryGetEntryResponse, error)
- func (k Keeper) EntryAll(goCtx context.Context, req *types.QueryAllEntryRequest) (*types.QueryAllEntryResponse, error)
- func (k Keeper) EntryByDenom(goCtx context.Context, req *types.QueryGetEntryByDenomRequest) (*types.QueryGetEntryByDenomResponse, error)
- func (k Keeper) GetAllEntry(ctx sdk.Context) (list []types.Entry)
- func (k Keeper) GetEntry(ctx sdk.Context, baseDenom string) (val types.Entry, found bool)
- func (k Keeper) GetEntryByDenom(ctx sdk.Context, denom string) (val types.Entry, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetUsdcDenom(ctx sdk.Context) (string, bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveEntry(ctx sdk.Context, baseDenom string)
- func (k Keeper) SetEntry(ctx sdk.Context, entry types.Entry)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, transferKeeper *ibctransferkeeper.Keeper, authority string, ) *Keeper
func (Keeper) Entry ¶
func (k Keeper) Entry(goCtx context.Context, req *types.QueryGetEntryRequest) (*types.QueryGetEntryResponse, error)
func (Keeper) EntryAll ¶
func (k Keeper) EntryAll(goCtx context.Context, req *types.QueryAllEntryRequest) (*types.QueryAllEntryResponse, error)
func (Keeper) EntryByDenom ¶ added in v0.28.0
func (k Keeper) EntryByDenom(goCtx context.Context, req *types.QueryGetEntryByDenomRequest) (*types.QueryGetEntryByDenomResponse, error)
func (Keeper) GetAllEntry ¶
GetAllEntry returns all entry
func (Keeper) GetEntryByDenom ¶ added in v0.24.0
GetEntryByDenom returns a entry from its denom value
func (Keeper) GetUsdcDenom ¶ added in v0.31.0
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveEntry ¶
RemoveEntry removes a entry from the store
Click to show internal directories.
Click to hide internal directories.