Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 4be480e

Browse files
authored
Gitbook links (#167)
* Add links to contract addresses.md * add contract links aptos.md * Update cosmwasm.md * Update evm.md * Update sui.md * Update sui.md
1 parent 0e90bc1 commit 4be480e

File tree

4 files changed

+53
-55
lines changed

4 files changed

+53
-55
lines changed

pythnet-price-feeds/aptos.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ When deploying contracts using Pyth, the [named addresses](https://diem.github.i
2525

2626
| Named Address | Value |
2727
| ------------- | --------------------------------------------------------------------|
28-
| `pyth` | `0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387`|
29-
| `wormhole` | `0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625`|
30-
| `deployer` | `0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434`|
28+
| `pyth` | [`0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387`](https://explorer.aptoslabs.com/account/0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387?network=mainnet)|
29+
| `wormhole` | [`0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625`](https://explorer.aptoslabs.com/account/0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625?network=mainnet)|
30+
| `deployer` | [`0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434`](https://explorer.aptoslabs.com/account/0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434?network=mainnet)|
3131

3232
`deployer` and `wormhole` are implementation details of the Pyth contract: you will not need to interact with these.
3333

pythnet-price-feeds/cosmwasm.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ Pyth is currently available on the following cosmwasm chains:
2525

2626
| Network | Contract address |
2727
| --------- | -------------------------------------------- |
28-
| Injective Mainnet | `inj12j43nf2f0qumnt2zrrmpvnsqgzndxefujlvr08` |
29-
| Osmosis Mainnet | `osmo13ge29x4e2s63a8ytz2px8gurtyznmue4a69n5275692v3qn3ks8q7cwck7` |
28+
| Injective Mainnet | [`inj12j43nf2f0qumnt2zrrmpvnsqgzndxefujlvr08`](https://explorer.injective.network/contract/inj12j43nf2f0qumnt2zrrmpvnsqgzndxefujlvr08/) |
29+
| Osmosis Mainnet | [`osmo13ge29x4e2s63a8ytz2px8gurtyznmue4a69n5275692v3qn3ks8q7cwck7`](https://www.mintscan.io/osmosis/wasm/contract/osmo13ge29x4e2s63a8ytz2px8gurtyznmue4a69n5275692v3qn3ks8q7cwck7) |
3030
| -------------- | -------------------------------------------------------------------- |
31-
| Injective | `inj18hckkzqf47mdhd734g6papk6wj20y24rm43sk9` |
32-
| Osmosis Test 4 | `osmo1cg4vhqqknj4ad84m4l7duw6ll23dxwuu76yaw63lhw55k46nt8ysuen2xc` |
33-
| Osmosis Test 5 | `osmo1hpdzqku55lmfmptpyj6wdlugqs5etr6teqf7r4yqjjrxjznjhtuqqu5kdh` |
31+
| Injective | [`inj18hckkzqf47mdhd734g6papk6wj20y24rm43sk9`](https://testnet.explorer.injective.network/contract/inj18hckkzqf47mdhd734g6papk6wj20y24rm43sk9/) |
32+
| Osmosis Test 5 | [`osmo1hpdzqku55lmfmptpyj6wdlugqs5etr6teqf7r4yqjjrxjznjhtuqqu5kdh`](https://testnet.mintscan.io/osmosis-testnet/wasm/contract/osmo1hpdzqku55lmfmptpyj6wdlugqs5etr6teqf7r4yqjjrxjznjhtuqqu5kdh) |
3433
| Sei Atlantic 2 | `sei1w2rxq6eckak47s25crxlhmq96fzjwdtjgdwavn56ggc0qvxvw7rqczxyfy` |
3534
| Neutron Pion 1 | `neutron1f86ct5az9qpz2hqfd5uxru02px2a3tz5zkw7hugd7acqq496dcms22ehpy` |
3635
| Juno | `juno1eacsrua27njc35pxz37y97gmcjs899t59f8pf0rkejjyvtmhws5q6lxsdd` |
@@ -39,9 +38,8 @@ Pyth is currently available on the following cosmwasm chains:
3938

4039
| Network | Contract address |
4140
| -------------- | -------------------------------------------------------------------- |
42-
| Injective | `inj18rlflp3735h25jmjx97d22c72sxk260amdjxlu` |
43-
| Osmosis Test 4 | `osmo1hj9wsf04y98e4979r9vknmv3ca76r2f06ztrwjgp96e9rkh5we4swntsp7` |
44-
| Osmosis Test 5 | `osmo1lltupx02sj99suakmuk4sr4ppqf34ajedaxut3ukjwkv6469erwqtpg9t3` |
41+
| Injective | [`inj18rlflp3735h25jmjx97d22c72sxk260amdjxlu`](https://testnet.explorer.injective.network/contract/inj18rlflp3735h25jmjx97d22c72sxk260amdjxlu/) |
42+
| Osmosis Test 5 | [`osmo1lltupx02sj99suakmuk4sr4ppqf34ajedaxut3ukjwkv6469erwqtpg9t3`](https://testnet.mintscan.io/osmosis-testnet/wasm/contract/osmo1lltupx02sj99suakmuk4sr4ppqf34ajedaxut3ukjwkv6469erwqtpg9t3) |
4543
| Sei Atlantic 2 | `sei1kpntez76v38yuxhhaaahdmvjxnr5tkr8tq077smefs7uw70rj5yqw2aewy` |
4644
| Neutron Pion 1 | `neutron1xxmcu6wxgawjlajx8jalyk9cxsudnygjg0tvjesfyurh4utvtpes5wmpjp` |
4745
| Juno | `juno1h93q9kwlnfml2gum4zj54al9w4jdmuhtzrh6vhycnemsqlqv9l9snnznxs` |

pythnet-price-feeds/evm.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,54 +31,54 @@ Pyth is currently available on the following EVM-based chains:
3131

3232
| Network | Contract address |
3333
| -------------- | -------------------------------------------- |
34-
| Avalanche | `0x4305FB66699C3B2702D4d05CF36551390A4c69C6` |
35-
| Fantom | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
36-
| Polygon | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
37-
| BNB | `0x4D7E825f80bDf85e913E0DD2A2D54927e9dE1594` |
38-
| Ethereum | `0x4305FB66699C3B2702D4d05CF36551390A4c69C6` |
39-
| Optimism | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
40-
| Aurora | `0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9` |
41-
| Arbitrum | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
42-
| Celo | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
43-
| KCC | `0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B` |
44-
| Cronos | `0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B` |
45-
| zkSync Era | `0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834` |
46-
| EVMOS | `0x354bF866A4B006C9AF9d9e06d9364217A8616E12` |
47-
| Polygon zkEVM | `0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65` |
48-
| Meter | `0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16` |
49-
| Conflux eSpace | `0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc` |
50-
| Canto | `0x98046Bd286715D3B0BC227Dd7a956b83D8978603` |
51-
| Kava | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
52-
| Gnosis | `0x2880aB155794e7179c9eE2e38200202908C17B43` |
34+
| Avalanche | [`0x4305FB66699C3B2702D4d05CF36551390A4c69C6`](https://snowtrace.io/address/0x4305fb66699c3b2702d4d05cf36551390a4c69c6) |
35+
| Fantom | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://ftmscan.com/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
36+
| Polygon | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://polygonscan.com/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
37+
| BNB | [`0x4D7E825f80bDf85e913E0DD2A2D54927e9dE1594`](https://bscscan.com/address/0x4d7e825f80bdf85e913e0dd2a2d54927e9de1594) |
38+
| Ethereum | [`0x4305FB66699C3B2702D4d05CF36551390A4c69C6`](https://etherscan.io/address/0x4305fb66699c3b2702d4d05cf36551390a4c69c6) |
39+
| Optimism | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://optimistic.etherscan.io/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
40+
| Aurora | [`0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9`](https://explorer.aurora.dev/address/0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9) |
41+
| Arbitrum | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://arbiscan.io/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
42+
| Celo | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://celoscan.io/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
43+
| KCC | [`0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B`](https://explorer.kcc.io/en/address/0xe0d0e68297772dd5a1f1d99897c581e2082dba5b) |
44+
| Cronos | [`0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B`](https://cronoscan.com/address/0xe0d0e68297772dd5a1f1d99897c581e2082dba5b) |
45+
| zkSync Era | [`0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834`](https://explorer.zksync.io/address/0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834) |
46+
| EVMOS | [`0x354bF866A4B006C9AF9d9e06d9364217A8616E12`](https://www.mintscan.io/evmos/evm/contract/0x354bF866A4B006C9AF9d9e06d9364217A8616E12) |
47+
| Polygon zkEVM | [`0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65`](https://zkevm.polygonscan.com/address/0xc5e56d6b40f3e3b5fbfa266bcd35c37426537c65) |
48+
| Meter | [`0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16`](https://scan.meter.io/address/0xbfe3f445653f2136b2fd1e6dddb5676392e3af16) |
49+
| Conflux eSpace | [`0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc`](https://evm.confluxscan.io/address/0xe9d69cdd6fe41e7b621b4a688c5d1a68cb5c8adc) |
50+
| Canto | [`0x98046Bd286715D3B0BC227Dd7a956b83D8978603`](https://www.mintscan.io/canto/evm/contract/0x98046Bd286715D3B0BC227Dd7a956b83D8978603) |
51+
| Kava | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://explorer.kava.io/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
52+
| Gnosis | [`0x2880aB155794e7179c9eE2e38200202908C17B43`](https://gnosisscan.io/address/0x2880ab155794e7179c9ee2e38200202908c17b43) |
5353

5454

5555
### Testnet
5656

5757
| Network | Contract address |
5858
| --------------------------- | -------------------------------------------- |
59-
| Goerli (Ethereum testnet) | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
60-
| Fuji (Avalanche testnet) | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
61-
| Fantom testnet | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
62-
| Mumbai (Polygon testnet) | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
63-
| BNB testnet | `0xd7308b14BF4008e7C7196eC35610B1427C5702EA` |
64-
| Aurora testnet | `0x4305FB66699C3B2702D4d05CF36551390A4c69C6` |
65-
| Optimism Goerli (testnet) | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
66-
| Celo Alfajores (testnet) | `0xff1a0f4744e8582DF1aE09D5611b887B6a12925C` |
67-
| KCC testnet | `0x15D35b8985e350f783fe3d95401401E194ff1E6f` |
68-
| Cronos testnet | `0xBAEA4A1A2Eaa4E9bb78f2303C213Da152933170E` |
69-
| Arbitrum Goerli (testnet) | `0x939C0e902FF5B3F7BA666Cc8F6aC75EE76d3f900` |
70-
| zkSync Era Goerli (testnet) | `0xC38B1dd611889Abc95d4E0a472A667c3671c08DE` |
71-
| Base Goerli (testnet) | `0x5955C1478F0dAD753C7E2B4dD1b4bC530C64749f` |
72-
| Shimmer testnet | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
73-
| Chiado (Gnosis testnet) | `0xdDAf6D29b8bc81c1F0798a5e4c264ae89c16a72B` |
74-
| EVMOS testnet | `0x354bF866A4B006C9AF9d9e06d9364217A8616E12` |
75-
| Neon devnet | `0x2FF312f50689ad279ABb164dB255Eb568733BD6c` |
76-
| Polygon zkEVM testnet | `0xd54bf1758b1C932F86B178F8b1D5d1A7e2F62C2E` |
77-
| Canto testnet | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
78-
| Meter testnet | `0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5` |
79-
| Mantle testnet | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
80-
| Conflux eSpace testnet | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
81-
| Kava testnet | `0x98046Bd286715D3B0BC227Dd7a956b83D8978603` |
59+
| Goerli (Ethereum testnet) | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://goerli.etherscan.io/address/0xff1a0f4744e8582DF1aE09D5611b887B6a12925C) |
60+
| Fuji (Avalanche testnet) | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://testnet.snowtrace.io/address/0xff1a0f4744e8582DF1aE09D5611b887B6a12925C) |
61+
| Fantom testnet | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://testnet.ftmscan.com/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
62+
| Mumbai (Polygon testnet) | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://mumbai.polygonscan.com/address/0xff1a0f4744e8582DF1aE09D5611b887B6a12925C) |
63+
| BNB testnet | [`0xd7308b14BF4008e7C7196eC35610B1427C5702EA`](https://testnet.bscscan.com/address/0xd7308b14BF4008e7C7196eC35610B1427C5702EA) |
64+
| Aurora testnet | [`0x4305FB66699C3B2702D4d05CF36551390A4c69C6`](https://explorer.testnet.aurora.dev/address/0x4305FB66699C3B2702D4d05CF36551390A4c69C6) |
65+
| Optimism Goerli (testnet) | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://goerli-optimism.etherscan.io/address/0xff1a0f4744e8582df1ae09d5611b887b6a12925c) |
66+
| Celo Alfajores (testnet) | [`0xff1a0f4744e8582DF1aE09D5611b887B6a12925C`](https://explorer.celo.org/alfajores/address/0xff1a0f4744e8582DF1aE09D5611b887B6a12925C) |
67+
| KCC testnet | [`0x15D35b8985e350f783fe3d95401401E194ff1E6f`](https://scan-testnet.kcc.network/address/0x15D35b8985e350f783fe3d95401401E194ff1E6f) |
68+
| Cronos testnet | [`0xBAEA4A1A2Eaa4E9bb78f2303C213Da152933170E`](https://cronos.org/explorer/testnet3/address/0xBAEA4A1A2Eaa4E9bb78f2303C213Da152933170E) |
69+
| Arbitrum Goerli (testnet) | [`0x939C0e902FF5B3F7BA666Cc8F6aC75EE76d3f900`](https://goerli.arbiscan.io/address/0x939C0e902FF5B3F7BA666Cc8F6aC75EE76d3f900) |
70+
| zkSync Era Goerli (testnet) | [`0xC38B1dd611889Abc95d4E0a472A667c3671c08DE`](https://goerli.explorer.zksync.io/address/0xC38B1dd611889Abc95d4E0a472A667c3671c08DE) |
71+
| Base Goerli (testnet) | [`0x5955C1478F0dAD753C7E2B4dD1b4bC530C64749f`](https://goerli.basescan.org/address/0x5955c1478f0dad753c7e2b4dd1b4bc530c64749f) |
72+
| Shimmer testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://explorer.evm.testnet.shimmer.network/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
73+
| Chiado (Gnosis testnet) | [`0xdDAf6D29b8bc81c1F0798a5e4c264ae89c16a72B`](https://blockscout.com/gnosis/chiado/address/0xdDAf6D29b8bc81c1F0798a5e4c264ae89c16a72B) |
74+
| EVMOS testnet | [`0x354bF866A4B006C9AF9d9e06d9364217A8616E12`](https://evm.evmos.dev/address/0x354bF866A4B006C9AF9d9e06d9364217A8616E12) |
75+
| Neon devnet | [`0x2FF312f50689ad279ABb164dB255Eb568733BD6c`](https://neonscan.org/address/0x2FF312f50689ad279ABb164dB255Eb568733BD6c) |
76+
| Polygon zkEVM testnet | [`0xd54bf1758b1C932F86B178F8b1D5d1A7e2F62C2E`](https://testnet-zkevm.polygonscan.com/address/0xd54bf1758b1c932f86b178f8b1d5d1a7e2f62c2e) |
77+
| Canto testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://testnet-explorer.canto.neobase.one/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
78+
| Meter testnet | [`0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5`](https://scan-warringstakes.meter.io/address/0x5ff5b9039fbd8256864a4460b7ea77093a65b1b5) |
79+
| Mantle testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://explorer.testnet.mantle.xyz/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
80+
| Conflux eSpace testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://evmtestnet.confluxscan.io/address/0xa2aa501b19aff244d90cc15a4cf739d2725b5729) |
81+
| Kava testnet | [`0x98046Bd286715D3B0BC227Dd7a956b83D8978603`](https://explorer.testnet.kava.io/address/0x98046Bd286715D3B0BC227Dd7a956b83D8978603) |
8282

8383

8484
## Price Feed IDs

pythnet-price-feeds/sui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public fun create_price_infos_hot_potato(
4949

5050
Use the hot potato price updates vector to update a price feed.
5151

52-
Note that conventional Pyth price IDs are found [here](https://pyth.network/developers/price-feed-ids#pyth-evm-mainnet).
52+
Note that conventional Pyth price IDs are found [here](https://pyth.network/developers/price-feed-ids#sui-mainnet).
5353
However, instead of passing in a Pyth price feed ID to update the price feed (which is what is done on other chains), one must pass in a `PriceInfoObject` ID instead.
5454

5555
The `PriceInfoObject` IDs are distinct from Pyth price feed IDs, and are stored in a map on-chain (Pyth price feed ID => PriceInfoObject ID). We pulled this map into a local json file [here](./scripts/generated). The `PriceInfoObject` ID can also be queried on-chain by calling the `pyth::state::get_price_info_object_id` found in the Pyth package. See the common questions section below for more info.
@@ -143,6 +143,6 @@ The mapping of Pyth price feed IDs to `PriceInfoObject` object IDs can be found
143143

144144
This mapping is also stored on-chain, and can be queried on-chain using the getter function `pyth::state::get_price_info_object_id` defined in the Pyth package.
145145

146-
Also recall that the list of Pyth price feed IDs can be found [here](https://pyth.network/developers/price-feed-ids#pyth-evm-testnet).
146+
Also recall that the list of Pyth price feed IDs can be found [here](https://pyth.network/developers/price-feed-ids#sui-mainnet).
147147

148148

0 commit comments

Comments
 (0)