A sample contract to add features to your reporter, namely the ability to fail if the time based reward is not enough.
-
Deploy Contract to Desired Network (e.g. Mainnet)
-
Send stake amount to contract (e.g. 100 TRB)
-
run depositStake()
-
Instead of submitValue() to the oracle address, call this reporter contract and it will check the desired require statment before submitting.
Install Dependencies
npm i
Compile Smart Contracts
npx hardhat compile
Test Locally
npx hardhat test
This repository is maintained by the Tellor team
Check out our issues log here on Github or feel free to reach out anytime info@tellor.io
Tellor Inc. 2021