Skip to content

Commit 642bd17

Browse files
chore(fix): fix broken links for evm guide pull (#865)
* fix broken links for evm guide pull * fix contract address link
1 parent 68a5f71 commit 642bd17

File tree

1 file changed

+8
-8
lines changed
  • pages/price-feeds/use-real-time-data/pull-integration

1 file changed

+8
-8
lines changed

pages/price-feeds/use-real-time-data/pull-integration/evm.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { Callout } from "nextra/components";
44

55
This guide explains how to use real-time Pyth data in EVM contracts using the pull integration.
66

7-
For an interactive playground to explore the methods supported by the Pyth contract, see the [EVM API reference](../api-reference/evm/).
7+
For an interactive playground to explore the methods supported by the Pyth contract, see the [EVM API reference](../../api-reference).
88

99
<Callout type="info" emoji="ℹ️">
1010
If you want to use real-time price data using the push integration instead, you can use the following code snippet:
1111
```solidity copy
1212
PythStructs.Price memory price = pyth.getPriceNoOlderThan(priceFeedId, 60);
1313
```
14-
Developers only need to pass the price feed ID to the above method from the [Push Feeds list](../push-feeds).
14+
Developers only need to pass the price feed ID to the above method from the [Push Feeds list](../../push-feeds/evm).
1515

1616
For complete example, refer to the [Push Integration guide](../push-integration).
1717

@@ -95,11 +95,11 @@ contract SomeContract {
9595

9696
The code snippet above does the following things:
9797

98-
1. Instantiate the `IPyth` interface from the Solidity SDK using the price feeds [contract address](../contract-addresses/evm).
99-
2. Select the [Price Feed IDs](../price-feeds.mdx) for the assets you want to fetch prices for. Price feeds come in two varieties, Stable and Beta. You should select Stable feed ids
98+
1. Instantiate the `IPyth` interface from the Solidity SDK using the price feeds [contract address](../../contract-addresses/evm).
99+
2. Select the [Price Feed IDs](../../price-feeds) for the assets you want to fetch prices for. Price feeds come in two varieties, Stable and Beta. You should select Stable feed ids
100100
3. Call `IPyth.getUpdateFee` to calculate the fee charged by Pyth to update the price.
101101
4. Call `IPyth.updatePriceFeeds` to update the price, paying the fee calculated in the previous step.
102-
5. Call `IPyth.getPriceNoOlderThan` to read the current price, providing the [price feed ID](../price-feeds.mdx) that you wish to read and your acceptable staleness threshold for
102+
5. Call `IPyth.getPriceNoOlderThan` to read the current price, providing the [price feed ID](../../price-feeds) that you wish to read and your acceptable staleness threshold for
103103
the price.
104104

105105
## Additional Resources
@@ -108,15 +108,15 @@ You may find these additional resources helpful for developing your EVM applicat
108108

109109
### API Reference
110110

111-
The [EVM API reference](../api-reference/evm/) lets you interactively explore the complete API of the Pyth contract.
111+
The [EVM API reference](../../api-reference) lets you interactively explore the complete API of the Pyth contract.
112112

113113
### Current Fees
114114

115-
The [Current Fees](../current-fees/) page lists the current fees for each network.
115+
The [Current Fees](../../current-fees) page lists the current fees for each network.
116116

117117
### Error Codes
118118

119-
The [EVM error codes](../error-codes/evm/) page lists the error codes that the Pyth contract may return.
119+
The [EVM error codes](../../error-codes/evm) page lists the error codes that the Pyth contract may return.
120120

121121
### Example Applications
122122

0 commit comments

Comments
 (0)