This provider has been reworked to support all available Osmosis pools. Therefore it is necessary to provide a map of the pairs and their corresponfing pool id in config.toml
:
Example:
[contract_addresses.osmosisv2]
STATOMATOM = "1136"
STOSMOOSMO = "833"
MNTAOSMO = "1215"
The derivative tvwap
has been renamed to twap
. Please replace all occurances of derivative = "tvwap"
with derivative = "twap"
in the config.
This option has been replaced by provider_min_overrides
(plural). Please remove provider_min_override
from your config, if set.
This option defines how many different sources need to provide a valid price in order to use it for price conversions and to be submitted to the chain. The default value for every asset is 3
. Please set it to 1
for every asset with only one available source:
[[provider_min_overrides]]
denoms = ["KUJI", "MNTA", "STATOM", "STOSMO", "USK", "WINK"]
providers = 1