Skip to content

Commit d3e4fd8

Browse files
committed
2 parents 8511bea + 8a68dca commit d3e4fd8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/RewardSimulator.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const RewardSimulator: React.FC = () => {
66
const [publisherStake, setPublisherStake] = useState(200);
77
const [delegatorStake, setDelegatorStake] = useState(300);
88
const [maxCap, setMaxCap] = useState(500);
9-
const [delegatorFee, setDelegatorFee] = useState(2);
9+
const [delegatorFee, setDelegatorFee] = useState(20);
1010
const [rewardRate, setRewardRate] = useState(10);
1111

1212
const [publisherReward, setPublisherReward] = useState(0);
@@ -113,7 +113,9 @@ const RewardSimulator: React.FC = () => {
113113
</p>
114114
</div>
115115
<div className="flex-1 ml-6">
116-
<h4 className="font-semibold mb-2">Calculated Reward Rates:</h4>
116+
<h4 className="font-semibold mb-2">
117+
Calculated Reward Rates(Yearly):
118+
</h4>
117119
<p>
118120
<Latex>{`Publisher Reward Rate ($r^p_p$): ${publisherRewardRate}%`}</Latex>
119121
</p>

pages/price-feeds/create-your-first-pyth-app/evm/part-2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This part of the tutorial will conver the following:
1111
- Update and fetch the price from the contract using [pyth-evm-js](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/sdk/js).
1212

1313
<Callout type="info" emoji="ℹ️">
14-
This tutorial is continuation of the [Part 1: Create a Contract](./part1). If
14+
This tutorial is continuation of the [Part 1: Create a Contract](./part-1). If
1515
you haven't completed that part yet, please do so before continuing.
1616
</Callout>
1717

0 commit comments

Comments
 (0)