Skip to content

Commit

Permalink
removed old references
Browse files Browse the repository at this point in the history
  • Loading branch information
ajb413 committed Oct 14, 2024
1 parent eef7b9a commit 5d3a04a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ v2_nav_data:
cTokens: /v2/ctokens/
Comptroller: /v2/comptroller/
Governance: /v2/governance/
Open Price Feed: /v2/prices/
Price Feed: /v2/prices/
Security: /v2/security/

compound_js_nav_data:
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/compound-js/price-feed.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ sidebar_nav_data:

## Price Feed Methods

These methods facilitate interactions with the Open Price Feed smart contracts. For Compound III price feed methods, see the Comet section.
These methods facilitate interactions with the v2 Price Feed smart contracts. For Compound III price feed methods, see the Comet section.

## Compound v2 Get Price

Gets an asset's price from the Compound Protocol open price feed. The price
Gets an asset's price from the Compound v2 Protocol price feed. The price
of the asset can be returned in any other supported asset value, including
all cTokens and underlyings.

Expand All @@ -32,7 +32,7 @@ let price;
(async function () {

price = await compound.getPrice(Compound.WBTC);
console.log('WBTC in USD', price); // 6 decimals, see Open Price Feed docs
console.log('WBTC in USD', price); // 6 decimals, see Price Feed docs

price = await compound.getPrice(Compound.BAT, Compound.USDC); // supports cTokens too
console.log('BAT in USDC', price);
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/v2/prices.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: docs-content
title: Compound v2 Docs | Open Price Feed
title: Compound v2 Docs | Price Feed
permalink: /v2/prices/
docs_namespace: v2

Expand Down

0 comments on commit 5d3a04a

Please sign in to comment.