Skip to content

Commit 91bb77b

Browse files
committed
cehcked references
1 parent 67881d2 commit 91bb77b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ contract MyFirstPythContract {
338338
The end of this function calls the `mint` function we defined before.
339339
Before that, however, the function calls [`updatePriceFeeds`](../../api-reference/evm/updatePriceFeeds) on the Pyth contract.
340340
This function takes a payload of `bytes[]` that is passed into the function itself.
341-
The Pyth contract requires a fee to perform this update; the code snippet above calculates the needed fee using [`getUpdateFee`](https://docs.pyth.network/price-feeds/api-reference/evm/get-update-fee).
341+
The Pyth contract requires a fee to perform this update; the code snippet above calculates the needed fee using [`getUpdateFee`](https://api-reference.pyth.network/price-feeds/evm/getUpdateFee).
342342
The caller of this function can pass in a recent Pyth price update as this payload, guaranteeing that the `StalePrice` error won't occur.
343343

344344
We can test this function by adding the following snippet to the test file:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,5 @@ then deployed the contract and interacted with it both via the command line and
291291

292292
## Next Steps
293293

294-
Check out the [EVM Contract References](https://docs.pyth.network/price-feeds/api-reference/evm) for detailed information on the Pyth EVM contract API.
295-
For an end-to-end example using Pyth price feed, check out the [Pyth Oracle AMM Example](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/examples/oracle_swap).
294+
Check out the [EVM Contract References](https://api-reference.pyth.network/price-feeds/evm/getPriceNoOlderThan) for detailed information on the Pyth EVM contract API.
295+
For an end-to-end example using Pyth price feed, check out the [Pyth Oracle AMM Example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/evm).

0 commit comments

Comments
 (0)