12
edits
Llamalover (talk | contribs) m (typo edits) |
(Updated Tables in the Examples section) |
||
Line 1: | Line 1: | ||
[[File:Pyth Network Logo.jpg|thumb| | [[File:Pyth Network Logo.jpg|thumb|301x301px|Pyth Network]] | ||
The Pyth network is '''a first-party financial oracle network''' designed to publish continuous real-world data on-chain in a tamper-resistant, decentralized, and self-sustainable environment. | The Pyth network is '''a first-party financial oracle network''' designed to publish continuous real-world data on-chain in a tamper-resistant, decentralized, and self-sustainable environment. | ||
Line 35: | Line 35: | ||
=== The Price of an Asset === | === The Price of an Asset === | ||
[[File:Pyth Feed Real-Time.png|thumb|Pyth Price and Confidence Interval]]Consider a single stock, say [[wikipedia:Tesla,_Inc.|TSLA]]. | [[File:Pyth Feed Real-Time.png|thumb|Pyth Price and Confidence Interval|404x404px]]Consider a single stock, say [[wikipedia:Tesla,_Inc.|TSLA]]. | ||
“What is the price of TSLA?” is a seemingly simple question, but there are subtle complications. | “What is the price of TSLA?” is a seemingly simple question, but there are subtle complications. | ||
Line 98: | Line 98: | ||
<u>'''Example:'''</u> | <u>'''Example:'''</u> | ||
Let's assume the following values were submitted by publishers and returned by the Pyth smart contract on a specific time for BTC/USD. | |||
[[File:Pyth network.png|left|frameless|479x479px]] | |||
| | |||
| | |||
| | |||
''Note that 1,000 is an unusually wide confidence interval for bitcoin. The typical confidence interval is ~50 (0.1%).'' | ''Note that 1,000 is an unusually wide confidence interval for bitcoin. The typical confidence interval is ~50 (0.1%).'' | ||
''Reminder that the Pyth network price range extends from the minimum aggregate price minus 3 confidence intervals to the maximum aggregate price plus 3 confidence intervals.'' | ''Reminder that the Pyth network price range extends from the minimum aggregate price minus 3 confidence intervals to the maximum aggregate price plus 3 confidence intervals.'' | ||
So the '''Pyth price range extends from''' '''47,750 to 52,250.''' | So the '''Pyth price range extends from''' '''47,750 to 52,250.''' | ||
Now, let's assume the Pyth Governance selected Coinbase and Binance as the reference exchanges for any BTC/USD Claim Process and the Human Job returns the following values. | |||
[[File:Human Protocol Inputs.png|frameless|479x479px]] | |||
''Reminder that the Human Protocol price range extends from the lowest reference exchange reported price to the highest reference exchange reported price.'' | |||
So the '''Human Protocol price range extends from 46,500 to 47,300.''' | So the '''Human Protocol price range extends from 46,500 to 47,300.''' | ||
In this case, '''the Pyth range''' ($47,750 to $52,250) '''does not overlap with the Human range''' ($46,500 to $47,300). '''Therefore this claim is valid.''' | In this case, '''the Pyth range''' ($47,750 to $52,250) '''does not overlap with the Human range''' ($46,500 to $47,300). | ||
'''Therefore this claim is valid and we now look for the at-fault publishers.''' | |||
[[File:Identifying at-fault Pyth Publishers (3).png|frameless|479x479px]] | |||
'''Pyth Publishers A & B do not overlap with the Human Protocol range and so are automatically identified as at-fault publishers.''' | |||
'''Their stake is slashed and paid out to voluntarily paying users.''' | |||
| | |||
| | |||
'''Pyth Publishers A & B do not overlap with the Human Protocol range and so are automatically identified as at-fault publishers. Their stake is slashed and paid out to voluntarily paying users.''' | |||
== Pyth Network Products == | == Pyth Network Products == | ||
Line 222: | Line 188: | ||
<references /> | <references /> | ||
[[Category:Solana]] |
edits