package
0.1.8-testnet
Repository: https://github.com/onomyprotocol/reserve.git
Documentation: pkg.go.dev
# Functions
CheckPriceFeedThreshold returns true if the newPrice has changed beyond 100x or less than 1% of the last price.
No description provided by the author
No description provided by the author
DefaultBandOracelRequestParams return the default BandOracelRequestParams.
DefaultBandParams returns the default BandParams.
DefaultGenesis returns the default genesis state.
DefaultParams returns a default set of parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgRequestBandRates creates a new MsgRequestBandRates instance.
No description provided by the author
NewParams creates a new Params instance.
No description provided by the author
No description provided by the author
No description provided by the author
ParamKeyTable the param key table for launch module.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary x/oracle interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
# Constants
IBC events.
IBC events.
IBC events.
1e9.
IBC events.
256B.
MemStoreKey defines the in-memory store key.
ModuleName defines the module name.
PortID is the default port id that module binds to.
No description provided by the author
Expired - the request does not get enough reports from validator within the timeframe.
Failure - an error occured during the request's resolve call.
Open - the request is not yet resolved.
Success - the request has been resolved successfully with no errors.
oracle message types.
StoreKey defines the primary module store key.
oracle message types.
oracle message types.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultBandOracleRequestParams TODO: Check these params.
No description provided by the author
every 5 blocks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModuleCdc references the global x/ibc-transfer module codec.
No description provided by the author
PortKey defines the key to store the port ID in store.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenesisState defines the oracle module's genesis state.
No description provided by the author
MsgDeleteBandOracleRequests define defines a SDK message for delete band oracle requests.
MsgDeleteBandOracleRequestsResponse define the Msg/MsgDeleteBandOracleRequests response type.
MsgRequestBandRates defines a SDK message for requesting data from BandChain using IBC.
MsgRequestBandRatesResponse defines the Msg/RequestBandRates response type.
MsgUpdateBandOracleRequestParamsRequest define defines a SDK message for update band oracle request parameters.
MsgUpdateBandOracleRequestParamsResponse define the Msg/UpdateBandOracleRequestParams response type.
MsgUpdateBandOracleRequestRequest define defines a SDK message for update band oracle requests.
MsgUpdateBandOracleRequestResponse define the Msg/MsgUpdateBandOracleRequest response type.
MsgUpdateBandParams define defines a SDK message for update band parameters.
MsgUpdateBandParamsResponse define the Msg/UpdateBandParams response type.
MsgUpdateParams is the Msg/UpdateParams request type.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
No description provided by the author
OracleResponsePacketData encodes an oracle response from BandChain to the requester.
No description provided by the author
Params defines the parameters for the module.
No description provided by the author
No description provided by the author
QueryBandOracleRequestParamsRequest is the request type for the Query/BandOracleRequestParams RPC method.
QueryBandOracleRequestParamsResponse is the response type for the Query/BandOracleRequestParams RPC method.
QueryBandOracleRequestRequest is the request type for the Query/QueryBandOracleRequest RPC method.
QueryBandOracleRequestResponse is the response type for the Query/QueryBandOracleRequest RPC method.
QueryBandParamsRequest is the request type for the Query/BandParams RPC method.
QueryBandParamsResponse is the response type for the Query/BandParams RPC method.
QueryBandPriceStatesRequest is the request type for the Query/BandPriceStates RPC method.
QueryBandPriceStatesResponse is the response type for the Query/BandPriceStates RPC method.
No description provided by the author
No description provided by the author
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
QueryPriceRequest is the request type for the Query/Price RPC method.
QueryPriceResponse is the response type for the Query/Price RPC method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
AccountKeeper defines the expected interface for the Account module.
BankKeeper defines the expected interface for the Bank module.
ChannelKeeper defines the expected IBC channel keeper.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
No description provided by the author
No description provided by the author
ParamSubspace defines the expected Subspace interface for parameters.
PortKeeper defines the expected IBC port keeper.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResolveStatus encodes the status of an oracle request.