Skip to content

Commit

Permalink
Merge branch '220-tellor' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschakki committed Nov 20, 2024
2 parents 57d8929 + d993a1d commit dadbedc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/building-on-lisk/using-oracle-data/tellor.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ keywords: [

# Using oracle data with Tellor
[Tellor](https://tellor.io/) is an immutable decentralized oracle protocol where parties can request the value of an offchain data point (e.g. ETH/USD, LSK/USD) and reporters compete to add this value to an onchain databank.
The inputs to this data-bank are secured by a network of staked reporters.
The inputs to this databank are secured by a network of staked reporters.

Tellor utilizes crypto-economic incentive mechanisms, rewarding honest data submissions by reporters and punishing bad actors through the issuance of Tellor’s token, Tributes (TRB) and a dispute mechanism.

Expand Down Expand Up @@ -119,7 +119,7 @@ contract MyContract is UsingTellor {
{
// retrieve the most recent 20+ minute old ETH price.
// the buffer allows time for a bad value to be disputed
(bytes memory _data, uint256 _timestamp) = getDataBefore(ethQueryId, block.timestamp - DISPUTE_BUFFER);
(bytes memory _data, uint256 _timestamp) = _getDataBefore(ethQueryId, block.timestamp - DISPUTE_BUFFER);
// check whether any value was retrieved
if (_timestamp == 0 || _data.length == 0) revert NoValueRetrieved(_timestamp);
Expand Down Expand Up @@ -160,7 +160,7 @@ contract MyContract is UsingTellor {
uint256 timestamp
)
{
(bytes memory _data, uint256 _timestamp) = getDataBefore(lskQueryId, block.timestamp - DISPUTE_BUFFER);
(bytes memory _data, uint256 _timestamp) = _getDataBefore(lskQueryId, block.timestamp - DISPUTE_BUFFER);
if (_timestamp == 0 || _data.length == 0) revert NoValueRetrieved(_timestamp);
Expand Down
4 changes: 2 additions & 2 deletions docs/lisk-tools/oracles.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Interested in integration? [Get in contact](https://discord.com/invite/PVxBZKFr4

## Tellor

Tellor is an immutable decentralized oracle protocol where parties can request the value of an off-chain data point (e.g. ETH/USD) and reporters compete to add this value to an on-chain data-bank.
The inputs to this data-bank are secured by a network of staked reporters.
Tellor is an immutable decentralized oracle protocol where parties can request the value of an offchain data point (e.g. ETH/USD) and reporters compete to add this value to an onchain databank.
The inputs to this databank are secured by a network of staked reporters.

Tellor utilizes crypto-economic incentive mechanisms, rewarding honest data submissions by reporters and punishing bad actors through the issuance of Tellor’s token, Tributes (TRB) and a dispute mechanism.

Expand Down

0 comments on commit dadbedc

Please sign in to comment.