From 79ae1f5ef109a42d3e785ab9ff244ef830381d2b Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 17:01:48 +0100 Subject: [PATCH 1/7] fix: update guide parameters --- .../src/components/OracleIntegrityStakingGuide/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx index 8b754db2ba..23cbd09b0e 100644 --- a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx +++ b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx @@ -409,12 +409,12 @@ export const OracleIntegrityStakingGuide = (

The Pyth DAO sets a maximum reward rate for stake pools, - currently set at 9%. This rate is achieved for a pool when the + currently set at 10%. This rate is achieved for a pool when the total stake is below the stake cap. If the stake cap is exceeded, the reward rate for stakers is reduced.

- Publishers charge a fixed percentage (5%) of the rewards from + Publishers charge a fixed percentage (20%) of the rewards from stakers in their stake pool as a delegation fee (net of any slashed amount). The Pyth DAO can vote to adjust this fee structure. Learn more about staking rewards in the From 272e4a32fe48dc9c26951b7f113a303cd3cda3a3 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 17:10:24 +0100 Subject: [PATCH 2/7] other params --- .../src/components/OracleIntegrityStakingGuide/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx index 23cbd09b0e..9d3999f4ab 100644 --- a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx +++ b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx @@ -409,8 +409,8 @@ export const OracleIntegrityStakingGuide = (

The Pyth DAO sets a maximum reward rate for stake pools, - currently set at 10%. This rate is achieved for a pool when the - total stake is below the stake cap. If the stake cap is + currently set at 10%. This rate is achieved for a pool when + the total stake is below the stake cap. If the stake cap is exceeded, the reward rate for stakers is reduced.

@@ -436,7 +436,7 @@ export const OracleIntegrityStakingGuide = ( penalized.

- The current slashing rate is capped at 10% of publisher and + The current slashing rate is capped at 5% of publisher and delegated stakes, and this rate can be adjusted by the Pyth DAO. The slashed amounts are sent to the DAO wallet. The Pyth DAO can choose to vote on future decisions for these slashed @@ -508,7 +508,7 @@ export const OracleIntegrityStakingGuide = ( answer: ( <>

- In the first phase of the Cooldown Period + In the first phase of the Cooldown Period{" "} an on-chain protocol consuming Pyth data can choose to raise a report for a plausible data misprint. The Pythian Council of the Pyth DAO will then review the reference data provided From 840b30a2ea36907d55d81ae8e51d6f227cb879ab Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 17:24:24 +0100 Subject: [PATCH 3/7] consistency --- .../src/components/OracleIntegrityStakingGuide/index.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx index 9d3999f4ab..a18fca08a8 100644 --- a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx +++ b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx @@ -126,6 +126,11 @@ export const OracleIntegrityStakingGuide = ( faq: { title: "Adding Tokens FAQ", questions: [ + { + question: "Why do I need to add my tokens?", + answer: + "Adding tokens to the Pyth Staking Dashboard transfers them to your SPL wallet’s staking account. Your tokens will remain under your control on-chain through the Pyth Staking Dashboard.", + }, { question: "Where are my added tokens stored?", answer: From 4d5957f34692ca73bd63cf6ed333a9d02cc8732b Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 17:40:08 +0100 Subject: [PATCH 4/7] update --- .../src/components/GovernanceGuide/index.tsx | 4 +-- .../OracleIntegrityStakingGuide/index.tsx | 29 +++++++++++-------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/apps/staking/src/components/GovernanceGuide/index.tsx b/apps/staking/src/components/GovernanceGuide/index.tsx index 0cf853131d..662e18c7c9 100644 --- a/apps/staking/src/components/GovernanceGuide/index.tsx +++ b/apps/staking/src/components/GovernanceGuide/index.tsx @@ -351,7 +351,7 @@ export const GovernanceGuide = ( Pyth DAO LLC Operating Agreement {" "} @@ -359,7 +359,7 @@ export const GovernanceGuide = ( Pyth DAO Constitution diff --git a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx index a18fca08a8..4b27895893 100644 --- a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx +++ b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx @@ -488,16 +488,17 @@ export const OracleIntegrityStakingGuide = ( tokens will first undergo a first phase of the Cooldown Period from the time of clicking Unstake to the end of the current epoch. These tokens still actively contribute to - oracle integrity and remain subject to programmatic rewards - and slashing. + oracle integrity and remain eligible to programmatic + rewards.

- After this first phase, these tokens will undergo second + After this first phase, these tokens will undergo a second phase in the Cooldown Period lasting one full epoch, during - which the tokens are no longer subject to programmatic - rewards or slashing. Once this phase concludes, your tokens - will become unstaked and can be restaked or withdrawn to - your wallet. + which the tokens are no longer eligible to programmatic + rewards. These tokens are subject to slashing if a misprint + in the previous epoch is identified. Once this phase + concludes, your tokens will become unstaked and can be + restaked or withdrawn to your wallet.

), @@ -513,11 +514,15 @@ export const OracleIntegrityStakingGuide = ( answer: ( <>

- In the first phase of the Cooldown Period{" "} - an on-chain protocol consuming Pyth data can choose to raise - a report for a plausible data misprint. The Pythian Council - of the Pyth DAO will then review the reference data provided - and compare against the Pyth data. + Anyone can choose to raise a report for a plausible data + misprint. The Pythian Council of the Pyth DAO will then + review the reference data provided and compare against the + Pyth data to determine whether a slashing event should + occur. The council will have until the end of the epoch + after the epoch of the reported incident to review the + report. The tokens subject to slashing are the tokens + eligible for rewards during the epoch of the misprint + incident.

In the unlikely event that a published aggregate has been From 45f9b8ea714b62a6aaca8a641e4b1a5b29dd7a2a Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 17:46:28 +0100 Subject: [PATCH 5/7] go --- .../OracleIntegrityStakingGuide/index.tsx | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx index 4b27895893..f8f32ca189 100644 --- a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx +++ b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx @@ -238,22 +238,17 @@ export const OracleIntegrityStakingGuide = ( description: ( <>

- Navigate to the Oracle Integrity Staking tab to begin staking your - tokens to publishers to help secure Pyth Price Feeds. + Once you confirm your choice to stake to a publisher, your tokens + will first enter a Warmup Period, which lasts until the end of the + current epoch. An epoch is a one-week period starting every + Thursday at 00:00 UTC.

- Each publisher is assigned a stake pool that typically includes - the publisher’s self-stake and delegated stakes from other - participants. The rewards distribution protocol programmatically - shares rewards first to publishers, and then to stakers supporting - them. -

- -

- You can sort publishers by their stake pool details, quality - ranking, and more. Once you have chosen a publisher, click Stake - and specify the number of tokens you wish to stake to their pool. + Tokens in the Warmup Period do not contribute to oracle security + and are not eligible for sharing in publisher rewards or + penalties. Once the Warmup Period ends, these tokens become staked + and will play an active role in strengthening oracle integrity.

), From 636c26a844ecfbc44f488005255d005e7f6aab82 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 17:50:45 +0100 Subject: [PATCH 6/7] fix typo --- apps/staking/src/components/GeneralFaq/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/staking/src/components/GeneralFaq/index.tsx b/apps/staking/src/components/GeneralFaq/index.tsx index 0dfcf063f5..9ed50b8e78 100644 --- a/apps/staking/src/components/GeneralFaq/index.tsx +++ b/apps/staking/src/components/GeneralFaq/index.tsx @@ -105,7 +105,7 @@ export const GeneralFaq = ( { question: "Does participating in OIS affect my participation in PG?", answer: - "No. The two programs are separate. Staking in OIS does not affect your participation in PG. For example, staking in OIs does not increase your voting power in PG. Staking to a publisher’s stake pool does not give that publisher additional voting power in PG.", + "No. The two programs are separate. Staking in OIS does not affect your participation in PG. For example, staking in OIS does not increase your voting power in PG. Staking to a publisher’s stake pool does not give that publisher additional voting power in PG.", }, { question: "Does slashing reduce voting weights?", From 370adb19f58c39b91cb5684e6b62bd37f9d6e2e6 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Fri, 20 Sep 2024 18:04:08 +0100 Subject: [PATCH 7/7] moar --- apps/staking/src/components/GeneralFaq/index.tsx | 6 ++++-- .../src/components/OracleIntegrityStakingGuide/index.tsx | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/staking/src/components/GeneralFaq/index.tsx b/apps/staking/src/components/GeneralFaq/index.tsx index 9ed50b8e78..113598e9ae 100644 --- a/apps/staking/src/components/GeneralFaq/index.tsx +++ b/apps/staking/src/components/GeneralFaq/index.tsx @@ -171,8 +171,10 @@ export const GeneralFaq = (

The Cooldown Period has two phases: from the time you click{" "} Unstake until the end of the current epoch, - followed by a full epoch. Tokens in the first phase are subject - to rewards and slashing. Tokens in the second phase are not. + followed by a full epoch. Tokens in the first phase are eligible + for rewards. Tokens in both phases are subject to slashing if an + issue is identified in an epoch in which they were eligible for + rewards.

), diff --git a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx index f8f32ca189..cb5149387c 100644 --- a/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx +++ b/apps/staking/src/components/OracleIntegrityStakingGuide/index.tsx @@ -516,8 +516,8 @@ export const OracleIntegrityStakingGuide = ( occur. The council will have until the end of the epoch after the epoch of the reported incident to review the report. The tokens subject to slashing are the tokens - eligible for rewards during the epoch of the misprint - incident. + eligible for rewards{" "} + during the epoch of the misprint incident.

In the unlikely event that a published aggregate has been @@ -525,8 +525,8 @@ export const OracleIntegrityStakingGuide = ( triggered. The stakes of the subset of publishers who contributed to this incorrect aggregate are programmatically slashed, along with the stakes of anyone who delegated - tokens towards them. Such slashing event occurs during this - same epoch. + tokens towards them. Such slashing event occurs during the + epoch after the epoch of the reported incident.

The slashed amounts are sent to the Pyth DAO’s wallet. The