tellor-io / telliot-feeds

Telliot feeds
https://tellor-io.github.io/telliot-feeds
Other
24 stars 8 forks source link

Set up Telliot to support reporting in Frax testnet and mainnet #769

Closed CJPotter10 closed 5 months ago

CJPotter10 commented 5 months ago

Added the necessary set up for making telliot compatible with Fraxtal Mainnet (chain id = 252) and Fraxtal Testnet (chain id = 2522). Created the Frax_chains variable in constants.py to account for the base gas token on Fraxtal networks having the symbol frxETH. Since frxETH is 1:1 interchangeable for ETH we will be using the eth_usd_feed to calculate gas prices but will still return the proper token symbol (frxETH) as you can see in the additions to reporter_utils.py