issues
search
tangle-network
/
relayer
🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22
stars
13
forks
source link
[feat] Introduce Price Oracle Backends
#411
Closed
shekohex
closed
1 year ago
shekohex
commented
1 year ago
Summary of changes
Added Price Oracle Backend trait
Implemented Coingecko as a backend
Added a CachedPriceOracle backend that would work with any price oracle
Added a DummyPriceOracle backend that would work with hardcoded prices (e.g for unlisted tokens)
Added a PriceOracleMerger backend that merges more than one price oracle backend(s) into one!
Update the hardcoded chain ids (should be resolved and will no need for hardcoding them after #412 )
Reference issue to close (if applicable)
Closes #402
Code Checklist
[x] Tested
[x] Documented
Summary of changes
Reference issue to close (if applicable)
Code Checklist