File tree Expand file tree Collapse file tree 5 files changed +22
-15
lines changed
content/docs/price-feeds/core
create-your-first-pyth-app/evm
use-real-time-data/pull-integration Expand file tree Collapse file tree 5 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 11{
22 "title" : " on EVM" ,
33 "pages" : [
4- " [Part 1: Create Pyth App](/price-feeds/core/tutorials/ create-your-first-pyth-app/evm/part-1)" ,
5- " [Part 2: Deploy Pyth App](/price-feeds/core/tutorials/ create-your-first-pyth-app/evm/part-2)"
4+ " [Part 1: Create Pyth App](/price-feeds/core/create-your-first-pyth-app/evm/part-1)" ,
5+ " [Part 2: Deploy Pyth App](/price-feeds/core/create-your-first-pyth-app/evm/part-2)"
66 ],
77 "defaultOpen" : true
88}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This guide explains how to use real-time Pyth data in EVM contracts using the pu
1010
1111For an interactive playground to explore the methods supported by the Pyth contract, see the [ EVM API reference] ( ../../../api-reference ) .
1212
13- <Callout type = " info" >
13+ <Callout type = " info" title = " Push Option " >
1414 If you want to use real-time price data using the push integration instead, you can use the following code snippet:
1515 ``` solidity copy
1616 PythStructs.Price memory price = pyth.getPriceNoOlderThan(priceFeedId, 60);
@@ -50,7 +50,7 @@ Then add the following line to your `remappings.txt` file:
5050@pythnetwork/pyth-sdk-solidity/=node_modules/@pythnetwork/pyth-sdk-solidity
5151```
5252
53- <Callout type = " warning" >
53+ <Callout type = " warning" title = " Update Prices First " >
5454 ** Important** : Pyth uses a pull oracle model that requires users to update
5555 prices on-chain before reading them. If you don't update the price or if the
5656 on-chain price becomes too stale, calls to ` getPriceNoOlderThan() ` will revert
Original file line number Diff line number Diff line change 11{
22 "pages" : [
3- " evm" ,
4- " solana" ,
5- " starknet" ,
6- " fuel" ,
7- " stacks" ,
8- " aptos" ,
9- " sui" ,
10- " iota" ,
11- " ton" ,
12- " cosmwasm" ,
13- " near"
3+ " [in EVM contracts](/price-feeds/core/use-real-time-data/pull-integration/ evm) " ,
4+ " [in Solana and SVM programs](/price-feeds/core/use-real-time-data/pull-integration/ solana) " ,
5+ " [in Starknet contracts](/price-feeds/core/use-real-time-data/pull-integration/ starknet) " ,
6+ " [in Fuel contracts](/price-feeds/core/use-real-time-data/pull-integration/ fuel) " ,
7+ " [in Stacks contracts](/price-feeds/core/use-real-time-data/pull-integration/ stacks) " ,
8+ " [in Aptos contracts](/price-feeds/core/use-real-time-data/pull-integration/ aptos) " ,
9+ " [in Sui contracts](/price-feeds/core/use-real-time-data/pull-integration/ sui) " ,
10+ " [in IOTA contracts](/price-feeds/core/use-real-time-data/pull-integration/ iota) " ,
11+ " [in TON contracts](/price-feeds/core/use-real-time-data/pull-integration/ ton) " ,
12+ " [in CosmWasm contracts](/price-feeds/core/use-real-time-data/pull-integration/ cosmwasm) " ,
13+ " [in Near contracts](/price-feeds/core/use-real-time-data/pull-integration/ near) "
1414 ]
1515}
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "source" : " pages/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx" ,
4+ "target" : " content/docs/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx"
5+ }
6+ ]
Original file line number Diff line number Diff line change 1+ pages/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx -> content/docs/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx
You can’t perform that action at this time.
0 commit comments