Skip to content

Commit 7bd402d

Browse files
authored
Revert "Update aptos address and add note for the old one (#49)" (#50)
This reverts commit 2b997fb.
1 parent 2b997fb commit 7bd402d

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

pages/aptos/sdks.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,14 @@ Aptos contracts can program against the Pyth contract's interface by including i
2323

2424
```toml
2525
[addresses]
26-
pyth = "0xbd6d205f2aa288baa71270e66716d3d1bafe173ab9f312de4e9dd761ddef5409"
26+
pyth = "0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387"
2727
deployer = "0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434"
2828
wormhole = "0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625"
2929
```
3030

3131
These lines allow you to reference Pyth resources as `pyth` instead of manually writing the contract address.
3232
The contract addresses provided above are for both Aptos mainnet and testnet -- the Pyth contract has the same address in both cases.
3333

34-
An older version of the Pyth contract was deployed at the address `0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387` in both testnet and mainnet.
35-
This version does not include all the latest features and will not be updated in the future.
36-
3734
You can now import the Pyth interfaces in Move code as follows:
3835

3936
```rust copy

pages/documentation/pythnet-price-feeds/aptos.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,12 @@ When deploying contracts using Pyth, the [named addresses](https://diem.github.i
2626

2727
| Named Address | Value |
2828
| ------------- | -------------------------------------------------------------------- |
29-
| `pyth` | `0xbd6d205f2aa288baa71270e66716d3d1bafe173ab9f312de4e9dd761ddef5409` |
29+
| `pyth` | `0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387` |
3030
| `wormhole` | `0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625` |
3131
| `deployer` | `0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434` |
3232

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

35-
An older version of the Pyth contract was deployed at the address `0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387` in both testnet and mainnet.
36-
This version does not include all the latest features and will not be updated in the future.
37-
3835
## Price Feeds
3936

4037
| Network | Available Price Feeds |

0 commit comments

Comments
 (0)