interlay / interbtc-squid

Subquid GraphQL schema and indexer for the Interlay and Kintsugi networks
Apache License 2.0
4 stars 7 forks source link

Refactor: Use dex fee rate events #120

Open bvotteler opened 1 year ago

bvotteler commented 1 year ago

Currently squid fetches dex fee rates by querying the parachain and caching fee rates for various dexes. Since PR interlay/interbtc#1050 (see also issue interlay/interbtc#1032 ), we can now use the emitted events to track and store fee rates instead.