Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper *Keeper) types.MsgServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetChainState(ctx sdk.Context, chainDenom string) (*types.ChainInfo, error)
- func (k Keeper) GetOracleVersion(ctx sdk.Context, chainDenom string) (int64, error)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) IsValidOperator(ctx sdk.Context, operatorAddress string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) UpdateChainState(ctx sdk.Context, chainInfo *types.ChainInfo) error
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, key sdk.StoreKey, paramSpace paramtypes.Subspace) Keeper
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
func (Keeper) GetChainState ¶
func (Keeper) GetOracleVersion ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
func (Keeper) IsValidOperator ¶
type Querier ¶
type Querier struct {
Keeper
}
func NewQuerier ¶
func (Querier) Params ¶
func (q Querier) Params(ctx context.Context, request *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Querier) State ¶
func (q Querier) State(ctx context.Context, request *types.QueryStateRequest) (*types.QueryStateResponse, error)
Click to show internal directories.
Click to hide internal directories.