Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllOracles(ctx sdk.Context) ([]types.Oracle, error)
- func (k Keeper) GetOracle(ctx sdk.Context, oracleAddress sdk.AccAddress) (types.Oracle, error)
- func (k Keeper) IsRegisteredOracle(ctx sdk.Context, oracleAddress sdk.AccAddress) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Oracle(goCtx context.Context, req *types.QueryOracleRequest) (*types.QueryOracleResponse, error)
- func (k Keeper) RegisterOracle(ctx sdk.Context, oracle types.Oracle) error
- func (k Keeper) SetOracle(ctx sdk.Context, oracle types.Oracle) error
- func (k Keeper) UpdateOracle(ctx sdk.Context, address sdk.AccAddress, endpoint string) error
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 (Keeper) GetAllOracles ¶
func (Keeper) IsRegisteredOracle ¶
func (Keeper) Oracle ¶
func (k Keeper) Oracle(goCtx context.Context, req *types.QueryOracleRequest) (*types.QueryOracleResponse, error)
func (Keeper) RegisterOracle ¶
func (Keeper) UpdateOracle ¶
Click to show internal directories.
Click to hide internal directories.