Skip to content

Commit

Permalink
edits (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
khadni authored Apr 15, 2024
1 parent 3b44ca2 commit 0b6e38f
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions public/samples/DataFeeds/NFTFloorPriceConsumerV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ contract NFTFloorPriceConsumerV3 {
AggregatorV3Interface internal nftFloorPriceFeed;

/**
* Network: Mumbai Testnet
* Network: Ethereum Mainnet
* Aggregator: Azuki Floor Price
* Address: 0x16c74d1f6986c6Ffb48540b178fF8Cb0ED9F13b0
* Address: 0xA8B9A447C73191744D5B79BcE864F343455E1150
*/
constructor() {
nftFloorPriceFeed = AggregatorV3Interface(
0x16c74d1f6986c6Ffb48540b178fF8Cb0ED9F13b0
0xA8B9A447C73191744D5B79BcE864F343455E1150
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/content/chainlink-functions/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ You use a Chainlink Functions subscription to pay for, manage, and track Functio
1. Make sure your wallet is connected to the _Sepolia_ testnet. If not, click the network name in the top right corner of the page and select _Sepolia_.

<ClickToZoom
src="/images/chainlink-functions/tutorials/subscription/wallet-connected-polygon-mumbai.jpg"
src="/images/chainlink-functions/tutorials/subscription/wallet-connected-ethereum-sepolia.webp"
style="max-width: 70%;"
alt="Chainlink Functions subscription landing page"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/content/chainlink-functions/resources/billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gas cost calculation includes the following variables:
- Callback gas limit: The maximum amount of gas that can be used to call the `handleOracleFulfillment` callback function of the consumer contract in order to provide the response. See the [Cost Simulation](#cost-simulation-reservation) section.
- Gas overhead: The amount of gas used by the FunctionsRouter and FunctionsCoordinator contracts. It is an estimate of the total gas cost of fulfilling a request.
- Native to LINK translation: Your subscription balance can be billed only in LINK tokens.
- Translate the network's native gas tokens to LINK: The total gas cost in _native_ units is translated using the correct [Price Feed](/data-feeds/price-feeds/addresses). For example, on Sepolia, the translation uses the ETH/LINK Price Feed, and on Polygon Mumbai, the translation uses the MATIC/LINK Price Feed.
- Translate the network's native gas tokens to LINK: The total gas cost in _native_ units is translated using the correct [Price Feed](/data-feeds/price-feeds/addresses). For example, on Sepolia, the translation uses the ETH/LINK Price Feed, and on Polygon, the translation uses the MATIC/LINK Price Feed.
- Fallback Wei to LINK ratio: In the unlikely event that the _Native to LINK_ price data feed is unavailable, the fallback translation is used. You can find this ratio by running the `getConfig` function in the FunctionsCoordinator contract. See the [Supported Networks](/chainlink-functions/supported-networks) page to find the contract addresses for each network.

### Cost simulation (reservation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const consumerAddress = "0x8dFf78B7EE3128D00E90611FBeD20A71397064D9" // REPLACE
const subscriptionId = 3 // REPLACE this with your subscription ID
```

The primary function that the script executes is `makeRequestMumbai`. This function can be broken into six main parts:
The primary function that the script executes is `makeRequestSepolia`. This function can be broken into six main parts:

1. Definition of necessary identifiers:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const consumerAddress = "0x5abE77Ba2aE8918bfD96e2e382d5f213f10D39fA" // REPLACE
const subscriptionId = 3 // REPLACE this with your subscription ID
```

The primary function that the script executes is `updateRequestMumbai`. This function consists of five main parts:
The primary function that the script executes is `updateRequestSepolia`. This function consists of five main parts:

1. Definition of necessary identifiers:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Install and configure your Web3 wallet for Ethereum Sepolia:

1. [Install the MetaMask wallet](/quickstarts/deploy-your-first-contract#install-and-fund-your-metamask-wallet) or other Ethereum Web3 wallet.

1. Set the network for your wallet to the Sepolia testnet. If you need to add Sepolia to your wallet, you can find the chain ID and the LINK token contract address on the [LINK Token Contracts](/resources/link-token-contracts#mumbai-testnet) page.
1. Set the network for your wallet to the Sepolia testnet. If you need to add Sepolia to your wallet, you can find the chain ID and the LINK token contract address on the [LINK Token Contracts](/resources/link-token-contracts#sepolia-testnet) page.

- <a
class="erc-token-address"
Expand All @@ -29,7 +29,7 @@ Install and configure your Web3 wallet for Ethereum Sepolia:
Sepolia testnet and LINK token contract
</a>

1. Request testnet LINK and ETH from [faucets.chain.link/sepolia](https://faucets.chain.link/mumbai).
1. Request testnet LINK and ETH from [faucets.chain.link/sepolia](https://faucets.chain.link/sepolia).

Install the required frameworks and dependencies:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Install and configure your Web3 wallet for Sepolia:

1. [Install the MetaMask wallet](/quickstarts/deploy-your-first-contract#install-and-fund-your-metamask-wallet) or other Ethereum Web3 wallet.

1. Set the network for your wallet to the Sepolia testnet. If you need to add Mumbai to your wallet, you can find the chain ID and the LINK token contract address on the [LINK Token Contracts](/resources/link-token-contracts#sepolia-testnet) page.
1. Set the network for your wallet to the Sepolia testnet. If you need to add Sepolia to your wallet, you can find the chain ID and the LINK token contract address on the [LINK Token Contracts](/resources/link-token-contracts#sepolia-testnet) page.

- <a
class="erc-token-address"
Expand All @@ -29,7 +29,7 @@ Install and configure your Web3 wallet for Sepolia:
Sepolia testnet and LINK token contract
</a>

1. Request testnet LINK and ETH from [faucets.chain.link/sepolia](https://faucets.chain.link/mumbai).
1. Request testnet LINK and ETH from [faucets.chain.link/sepolia](https://faucets.chain.link/sepolia).

Install the required frameworks and dependencies:

Expand Down

0 comments on commit 0b6e38f

Please sign in to comment.