forked from Team-Kujira/oracle-price-feeder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
635 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,44 @@ | ||
# v0.6.x | ||
# Upgrade | ||
|
||
## Breaking Changes | ||
## v0.7.x | ||
|
||
### derivative | ||
### Breaking Changes | ||
|
||
#### osmosisv2 | ||
|
||
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: | ||
|
||
```toml | ||
[contract_addresses.osmosisv2] | ||
STATOMATOM = "1136" | ||
STOSMOOSMO = "833" | ||
MNTAOSMO = "1215" | ||
``` | ||
|
||
## v0.6.x | ||
|
||
### Breaking Changes | ||
|
||
#### derivative | ||
|
||
The derivative `tvwap` has been renamed to `twap`. Please replace all occurances of `derivative = "tvwap"` with `derivative = "twap"` in the config. | ||
|
||
# v0.5.x | ||
## v0.5.x | ||
|
||
## Breaking Changes | ||
### Breaking Changes | ||
|
||
### provider_min_override | ||
#### provider_min_override | ||
|
||
This option has been replaced by `provider_min_overrides` (plural). Please remove `provider_min_override` from your config, if set. | ||
|
||
### provider_min_overrides | ||
#### provider_min_overrides | ||
|
||
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: | ||
|
||
``` | ||
```toml | ||
[[provider_min_overrides]] | ||
denoms = ["KUJI", "MNTA", "STATOM", "STOSMO", "USK", "WINK"] | ||
providers = 1 | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.