package
3.2.0
Repository: https://github.com/desmos-labs/desmos.git
Documentation: pkg.go.dev

# Functions

DataSourceStoreKey returns the key to retrieve a specific data source from the store.
NewOracleRequestPacketData constructs a new OracleRequestPacketData instance.
OracleScriptStoreKey returns the key to retrieve a specific oracle script from the store.
ReportsOfValidatorPrefixKey returns the prefix key to get all reports for a request from a validator.
ReportStoreKey returns the key to retrieve all data reports for a request.
RequestStoreKey returns the key to retrieve a specific request from the store.
ResultStoreKey returns the key to a request result in the store.
ValidatorStatusStoreKey returns the key to a validator's status.
WrapMaxError wraps an error message with additional info of the current and max values.

# Constants

ModuleName is the name of the module.
PortID is the default port id that oracle module binds to.
QuerierRoute is the querier route for the oracle module.
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.
RouterKey is the msg router key for the oracle module.
StoreKey to be used when creating the KVStore.
Version defines the current version the IBC oracle module supports.

# Variables

DataSourceCountStoreKey is the key that keeps the total data source count.
DataSourceStoreKeyPrefix is the prefix for data source store.
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
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
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
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
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
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
GlobalStoreKeyPrefix is the prefix for global primitive state variables.
ModuleCdc references the global x/oracle module codec.
OracleScriptCountStoreKey is the key that keeps the total oracle sciprt count.
OracleScriptStoreKeyPrefix is the prefix for oracle script store.
PendingResolveListStoreKey is the key that keeps the list of pending-resolve requests.
PortKey defines the key to store the port ID in store.
ReportStoreKeyPrefix is the prefix for report store.
RequestCountStoreKey is the key that keeps the total request count.
RequestLastExpiredStoreKey is the key that keeps the ID of the last expired request, or 0 if none.
RequestStoreKeyPrefix is the prefix for request store.
No description provided by the author
No description provided by the author
ResultStoreKeyPrefix is the prefix for request result store.
RollingSeedSizeInBytes is the size of rolling block hash for random seed.
RollingSeedStoreKey is the key that keeps the seed based on the first 8-bit of the most recent 32 block hashes.
ValidatorStatusKeyPrefix is the prefix for validator status store.

# Structs

ActiveValidator is information of currently active validator.
DataSource is the data structure for storing data sources in the storage.
IBCChannel is information of IBC protocol to allow communicating with other chain.
OracleRequestPacketAcknowledgement encodes an oracle request acknowledgement send back to requester chain.
OracleRequestPacketData encodes an oracle request sent from other blockchains to BandChain.
OracleResponsePacketData encodes an oracle response from BandChain to the requester.
OracleScript is the data structure for storing oracle scripts in the storage.
Params is the data structure that keeps the parameters of the oracle module.
PendingResolveList is a list of requests that are waiting to be resolved.
PriceResult is a result from standard price reference.
RawRequest is the data structure for storing raw reporter in the storage.
RawRequest is the data structure for storing raw requests in the storage.
Report is the data structure for storing reports in the storage.
Request is the data structure for storing requests in the storage.
RequestVerification is a message that is constructed and signed by a reporter to be used as a part of verification of oracle request.
Result encodes a result of request and store in chain.
ValidatorStatus maintains whether a validator is an active oracle provider.

# Type aliases

DataSourceID is the type-safe unique identifier type for data sources.
ExternalID is the type-safe unique identifier type for raw data requests.
OracleScriptID is the type-safe unique identifier type for oracle scripts.
RequestID is the type-safe unique identifier type for data requests.
ResolveStatus encodes the status of an oracle request.