package
5.10.0-jeremy-eip-1559+incompatible
Repository: https://github.com/sei-protocol/sei-chain.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ComputeTVWAP computes the time volume weighted average price for all points for each exchange pair.
ComputeVWAP computes the volume weighted average price for all price points for each ticker/exchange pair.
Connect dials the given address and returns a net.Conn.
FilterCandleDeviations finds the standard deviations of the tvwaps of all assets, and filters out any providers that are not within 2𝜎 of the mean.
FilterTickerDeviations finds the standard deviations of the prices of all assets, and filters out any providers that are not within 2𝜎 of the mean.
GenerateExchangeRatesString generates a canonical string representation of the aggregated exchange rates.
GetComputedPrices gets the candle and ticker prices and computes it.
No description provided by the author
Create various providers to pull priace data for oracle price feeds.
ProtocolAndAddress splits an address into the protocol and address components.
SetProviderTickerPricesAndCandles flattens and collects prices for candles and tickers based on the base currency per provider.
StandardDeviation returns maps of the standard deviations and means of assets.

# Structs

No description provided by the author
Oracle implements the core component responsible for fetching exchange rates for a given set of currency pairs and determining the correct exchange rates to submit to the on-chain price oracle adhering the oracle specification.
ParamCache is used to cache oracle param data for an amount of blocks, defined by paramsCacheInterval.