Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos #2233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ To use this contract:
- The `req._add("get", "CRYPTOCOMPARE_URL")` request parameter provides the oracle node with the [URL](https://min-api.cryptocompare.com/data/pricemultifull?fsyms=ETH&tsyms=USD) from which to fetch _ETH-USD_ trading info.
- The `req._add('path', 'RAW,ETH,USD,VOLUME24HOUR')` request parameter tells the oracle node where to fetch the 24h ETH volume in the _json_ response. It uses a [JSONPath expression](https://jsonpath.com/) with comma(,) delimited string for nested objects. For example: `'RAW,ETH,USD,VOLUME24HOUR'`.
- The `req._addInt('times', timesAmount)` request parameter provides the oracle node with the multiplier `timesAmount` by which the fetched volume is multiplied. Use this to remove any decimals from the volume. **_Note_**: The `times` parameter is mandatory. If the API that you call returns a number without any decimals then provide `1`as `timesAmount`.
The `APIConsumer` in the example above is flexible enough to call any public API as long as the URL in _get_, _path_, and _timesAmounnt_ are correct.
The `APIConsumer` in the example above is flexible enough to call any public API as long as the URL in _get_, _path_, and _timesAmount_ are correct.

1. After few seconds, call the `volume` function. You should get a non-zero response.

Expand Down
2 changes: 1 addition & 1 deletion src/content/any-api/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Outlined below are multiple ways developers can connect smart contracts to offch
| [HTTP GET Single Word Response](/any-api/get-request/examples/single-word-response) | This guide explains how to make an HTTP GET request and parse the _json_ response to retrieve the value of one single attribute. |
| [HTTP GET Multi-Variable Responses](/any-api/get-request/examples/multi-variable-responses) | This guide explains how to make an HTTP GET request and parse the _json_ response to retrieve the values of multiple attributes. |
| [HTTP GET Element in Array Response](/any-api/get-request/examples/array-response) | This guide explains how to make an HTTP GET request that returns a _json_ array and parse it to retrieve the target element's value. |
| [HTTP GET Large Reponses](/any-api/get-request/examples/large-responses) | This guide explains how to make an HTTP Get request that returns a _json_ containing an arbitrary-length raw byte data and parse it to return the data as _bytes_ data type. |
| [HTTP GET Large Responses](/any-api/get-request/examples/large-responses) | This guide explains how to make an HTTP Get request that returns a _json_ containing an arbitrary-length raw byte data and parse it to return the data as _bytes_ data type. |
| [Existing Job Request](/any-api/get-request/examples/existing-job-request) | This guide explains how to call a job that leverages [External adapters](/chainlink-nodes/external-adapters/external-adapters) and returns the relevant data to the smart contract. This allows building succinct smart contracts that do not need to comprehend the URL or the response format of the target API. |

### Building external adapters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ forge script ./script/UpdateRateLimiters.s.sol:UpdateRateLimiters \

Suppose you want to enable inbound and outbound rate limits for your token pool on Avalanche Fuji to control the number of tokens received or sent from/to Arbitrum Sepolia. We will use an existing token pool that interacts with an ERC20 token with 18 decimals:

- **Token Pool on Avalance Fuji**:
- **Token Pool on Avalanche Fuji**:

| Property | Outbound Rate Limiter | Inbound Rate Limiter |
| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ npx hardhat updateRateLimiters \

Suppose you want to enable inbound and outbound rate limits for your token pool on Avalanche Fuji to control the number of tokens received or sent from/to Arbitrum Sepolia. We will use an existing token pool that interacts with an ERC20 token with 18 decimals:

- **Token Pool on Avalance Fuji**:
- **Token Pool on Avalanche Fuji**:

- **Outbound Rate Limiter**:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,4 +439,4 @@ abstract contract KeeperCompatibleHarvester is IHarvester, Ownable {
}
```

This is an abstract contract that iterates vaults from a provided list and fits vaults within upkeep gas limit. The contract also provides helper functions to calculate gas consumption and estimate profit and contains a trigger mechanism can be time-based, profit-based or custom. Finally, the cotract reports profits, successful harvests, and failed harvests.
This is an abstract contract that iterates vaults from a provided list and fits vaults within upkeep gas limit. The contract also provides helper functions to calculate gas consumption and estimate profit and contains a trigger mechanism can be time-based, profit-based or custom. Finally, the contract reports profits, successful harvests, and failed harvests.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ _Either response or error parameter will be set, but never both_
function handleOracleFulfillment(bytes32 requestId, bytes response, bytes err) external
```

Chainlink Functions response handler called by the Functions Router during fullilment from the designated transmitter node in an OCR round
Chainlink Functions response handler called by the Functions Router during fulfillment from the designated transmitter node in an OCR round

_Either response or error parameter will be set, but never both_

Expand Down
2 changes: 1 addition & 1 deletion src/content/chainlink-functions/supported-networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Read the [LINK Token Contracts](/resources/link-token-contracts) page to learn w

| Item | Value |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions router | <Address contractUrl="https://sepolia.etherscan.io/address/0xb83E47C2bC239B3bf370bc41e1459A34b41238D0" eventName="docs_product_interaction" additionalInfo={{ product: "FUNCTIONS", action: "routerAddress_copied", extraInfo1: "Sepolia Tesnet"}} client:only="preact" /> |
| Functions router | <Address contractUrl="https://sepolia.etherscan.io/address/0xb83E47C2bC239B3bf370bc41e1459A34b41238D0" eventName="docs_product_interaction" additionalInfo={{ product: "FUNCTIONS", action: "routerAddress_copied", extraInfo1: "Sepolia Testnet"}} client:only="preact" /> |
| <DonId client:load/> | <CopyText text="fun-ethereum-sepolia-1" code /> / <CopyText text="0x66756e2d657468657265756d2d7365706f6c69612d3100000000000000000000"code format formatType="bytes32" /> |
| Encrypted secrets upload endpoints | <ul><li><CopyText text="https://01.functions-gateway.testnet.chain.link/" code /></li><li><CopyText text="https://02.functions-gateway.testnet.chain.link/" code /></li></ul> |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0x5618089ec9b5e662ec72c81241d78cb6daa135ecc3fa3a33032d910e3b47c2b1. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0x5618089ec9b5e662ec72c81241d78cb6daa135ecc3fa3a33032d910e3b47c2b1

✅ Request 0xdf22fa28c81a3ea78f356334b6d28d969e953009fae8ece4fe544f2eb466419b successfully fulfilled. Cost is 0.282344694329387405 LINK.Complete reponse: {
✅ Request 0xdf22fa28c81a3ea78f356334b6d28d969e953009fae8ece4fe544f2eb466419b successfully fulfilled. Cost is 0.282344694329387405 LINK.Complete response: {
requestId: '0xdf22fa28c81a3ea78f356334b6d28d969e953009fae8ece4fe544f2eb466419b',
subscriptionId: 2303,
totalCostInJuels: 282344694329387405n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0x8defda7d48f91efa4f7bfa8e7d99f115a4e1d71882852ee6e91f438542d840ec. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0x8defda7d48f91efa4f7bfa8e7d99f115a4e1d71882852ee6e91f438542d840ec

✅ Request 0xff18de309a7845ef99b042d008aa3c5e67c51e649b771cbaab7dd96fada66e27 successfully fulfilled. Cost is 0.25590956997723491 LINK.Complete reponse: {
✅ Request 0xff18de309a7845ef99b042d008aa3c5e67c51e649b771cbaab7dd96fada66e27 successfully fulfilled. Cost is 0.25590956997723491 LINK.Complete response: {
requestId: '0xff18de309a7845ef99b042d008aa3c5e67c51e649b771cbaab7dd96fada66e27',
subscriptionId: 2303,
totalCostInJuels: 255909569977234910n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0x5a315eeebea90f4828d176906d13dd3133e8a8d9afa912b1f8c34e90e775d081. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0x5a315eeebea90f4828d176906d13dd3133e8a8d9afa912b1f8c34e90e775d081

✅ Request 0xc760ee5ca5c73999ca9c4ce426b9d2d44eab4429d3110276e57c445537ad5ddd successfully fulfilled. Cost is 0.257726519296170771 LINK.Complete reponse: {
✅ Request 0xc760ee5ca5c73999ca9c4ce426b9d2d44eab4429d3110276e57c445537ad5ddd successfully fulfilled. Cost is 0.257726519296170771 LINK.Complete response: {
requestId: '0xc760ee5ca5c73999ca9c4ce426b9d2d44eab4429d3110276e57c445537ad5ddd',
subscriptionId: 2303,
totalCostInJuels: 257726519296170771n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0xbbe473ccc6593b6f3baf30fd66b2329b05a32fe0321a319d09142f4b9ba4547c. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0xbbe473ccc6593b6f3baf30fd66b2329b05a32fe0321a319d09142f4b9ba4547c

✅ Request 0xe55201188012e3ec198427937f7897729999ab7b287207ff8f0c157a9662e5f0 successfully fulfilled. Cost is 0.249819373001796045 LINK.Complete reponse: {
✅ Request 0xe55201188012e3ec198427937f7897729999ab7b287207ff8f0c157a9662e5f0 successfully fulfilled. Cost is 0.249819373001796045 LINK.Complete response: {
requestId: '0xe55201188012e3ec198427937f7897729999ab7b287207ff8f0c157a9662e5f0',
subscriptionId: 2303,
totalCostInJuels: 249819373001796045n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0xe5db77b3994e0c30934dbac779608af0b08eb9ddf57fb121c0f481a95ea9b579. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0xe5db77b3994e0c30934dbac779608af0b08eb9ddf57fb121c0f481a95ea9b579

✅ Request 0x37f860fba46af84b84f5ce48efbb7c6ebbfb2ecde5063621f695bbd1c2547975 successfully fulfilled. Cost is 0.237283011969506455 LINK.Complete reponse: {
✅ Request 0x37f860fba46af84b84f5ce48efbb7c6ebbfb2ecde5063621f695bbd1c2547975 successfully fulfilled. Cost is 0.237283011969506455 LINK.Complete response: {
requestId: '0x37f860fba46af84b84f5ce48efbb7c6ebbfb2ecde5063621f695bbd1c2547975',
subscriptionId: 2303,
totalCostInJuels: 237283011969506455n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Before you make a request, prepare the secrets file and host it offchain:

1. Follow these [steps](https://docs.aws.amazon.com/AmazonS3/latest/userguide/uploading-an-object-bucket.html) to upload the file `offchain-secrets.json` to your AWS S3 bucket.

1. To make the file publically accessible without authentication:
1. To make the file publicly accessible without authentication:

1. Find the file in the bucket list, and click on it to open the object overview.
1. Click on the _Permissions_ tab to display the _Access control list (ACL)_.
Expand Down Expand Up @@ -133,7 +133,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0xadc0db0ddea7b9836b86a9c9e008bc97d47e5f92b0dcec9694d3944d0065c789. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0xadc0db0ddea7b9836b86a9c9e008bc97d47e5f92b0dcec9694d3944d0065c789

✅ Request 0xb308ca293859dab47d8848578291e687a0d9373274d1451a9c9667dc4bba5fca successfully fulfilled. Cost is 0.260029208488139025 LINK.Complete reponse: {
✅ Request 0xb308ca293859dab47d8848578291e687a0d9373274d1451a9c9667dc4bba5fca successfully fulfilled. Cost is 0.260029208488139025 LINK.Complete response: {
requestId: '0xb308ca293859dab47d8848578291e687a0d9373274d1451a9c9667dc4bba5fca',
subscriptionId: 2303,
totalCostInJuels: 260029208488139025n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0xcac39aeea98651f307da185aed387314c453272d185e58b26b3bb399b82a90b6. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0xcac39aeea98651f307da185aed387314c453272d185e58b26b3bb399b82a90b6

✅ Request 0xbc09de04f4dd39fa78d4b00b7ab4d2f4a37d8b9a8edf97df5c86061175b9d9c3 successfully fulfilled. Cost is 0.23730142355580769 LINK.Complete reponse: {
✅ Request 0xbc09de04f4dd39fa78d4b00b7ab4d2f4a37d8b9a8edf97df5c86061175b9d9c3 successfully fulfilled. Cost is 0.23730142355580769 LINK.Complete response: {
requestId: '0xbc09de04f4dd39fa78d4b00b7ab4d2f4a37d8b9a8edf97df5c86061175b9d9c3',
subscriptionId: 2303,
totalCostInJuels: 237301423555807690n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0x730a66676cd797b11943635d53af9941c561d90a7088106800d05b4fdb2de189. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0x730a66676cd797b11943635d53af9941c561d90a7088106800d05b4fdb2de189

✅ Request 0x8329a6e56461117508885f9eaee338f25095eb0f863d6972877f38c4412c0a29 successfully fulfilled. Cost is 0.236443904180225775 LINK.Complete reponse: {
✅ Request 0x8329a6e56461117508885f9eaee338f25095eb0f863d6972877f38c4412c0a29 successfully fulfilled. Cost is 0.236443904180225775 LINK.Complete response: {
requestId: '0x8329a6e56461117508885f9eaee338f25095eb0f863d6972877f38c4412c0a29',
subscriptionId: 2303,
totalCostInJuels: 236443904180225775n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This tutorial demonstrates how to import modules and use them with your Function

- Each import must be 10 MB or less in size.
- Up to 100 imports total are supported.
- Deno supports [ESM compatible NPM imports](https://docs.deno.com/runtime/manual/node/npm_specifiers) and some [standard Node modules](https://docs.deno.com/runtime/manual/node/node_specifiers). See the [Compatability List](https://docs.deno.com/runtime/manual/node/compatibility) for details.
- Deno supports [ESM compatible NPM imports](https://docs.deno.com/runtime/manual/node/npm_specifiers) and some [standard Node modules](https://docs.deno.com/runtime/manual/node/node_specifiers). See the [Compatibility List](https://docs.deno.com/runtime/manual/node/compatibility) for details.
- Third-party modules are imported at runtime, so import statements must use asynchronous logic like the following examples:

- Importing from `deno.land`:
Expand Down Expand Up @@ -95,7 +95,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0xa73d895adb28360d1737a695647390a3a7f000368d976135fcfe9c834ee75ed6. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0xa73d895adb28360d1737a695647390a3a7f000368d976135fcfe9c834ee75ed6

✅ Request 0x5bac800974596113a3013bf788919a6b3df5ea65ec6238a1c98114a60daff6d2 successfully fulfilled. Cost is 0.236901088749168095 LINK.Complete reponse: {
✅ Request 0x5bac800974596113a3013bf788919a6b3df5ea65ec6238a1c98114a60daff6d2 successfully fulfilled. Cost is 0.236901088749168095 LINK.Complete response: {
requestId: '0x5bac800974596113a3013bf788919a6b3df5ea65ec6238a1c98114a60daff6d2',
subscriptionId: 2303,
totalCostInJuels: 236901088749168095n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To run the example:
✅ Functions request sent! Transaction hash 0x7df8240d23ef5c951ea73634b2346a459c8cd5b9a0bf76dbe0bb4d912e099b22. Waiting for a response...
See your request in the explorer https://sepolia.etherscan.io/tx/0x7df8240d23ef5c951ea73634b2346a459c8cd5b9a0bf76dbe0bb4d912e099b22

✅ Request 0x91a72a36a94ddedfc9e7bcfe33aaa13dd5747c4e985d9baa8c0c34175ac6c715 successfully fulfilled. Cost is 0.240613623834519812 LINK.Complete reponse: {
✅ Request 0x91a72a36a94ddedfc9e7bcfe33aaa13dd5747c4e985d9baa8c0c34175ac6c715 successfully fulfilled. Cost is 0.240613623834519812 LINK.Complete response: {
requestId: '0x91a72a36a94ddedfc9e7bcfe33aaa13dd5747c4e985d9baa8c0c34175ac6c715',
subscriptionId: 2303,
totalCostInJuels: 240613623834519812n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ the sender and receiver accounts.
1. Initialize the [CCIP local simulator](/chainlink-local/api-reference/solidity/ccip/cciplocalsimulator#cciplocalsimulator) contract:

```typescript
const ccipLocalSimualtorFactory = await hre.ethers.getContractFactory("CCIPLocalSimulator")
const ccipLocalSimulator: CCIPLocalSimulator = await ccipLocalSimualtorFactory.deploy()
const ccipLocalSimulatorFactory = await hre.ethers.getContractFactory("CCIPLocalSimulator")
const ccipLocalSimulator: CCIPLocalSimulator = await ccipLocalSimulatorFactory.deploy()
```

1. Initialize the sender and receiver accounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ External initiators make the same API call, with 2 added headers:

These are keys generated when you register your external initiator with your node.

Triggering a run through an external initiator is as simple as making this API call to your node. All jobs with this EI configured will then be kicked off in this way. A simple external initiator in psedo code could look like this:
Triggering a run through an external initiator is as simple as making this API call to your node. All jobs with this EI configured will then be kicked off in this way. A simple external initiator in pseudo code could look like this:

```text
while(True):
Expand Down
2 changes: 1 addition & 1 deletion src/content/chainlink-nodes/node-versions.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
section: nodeOperator
date: Last Modified
title: "Chanlink Node Releases"
title: "Chainlink Node Releases"
whatsnext: { "Running a Chainlink Node": "/chainlink-nodes/v1/running-a-chainlink-node" }
metadata:
title: "Node Versions and Release Notes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Before you make any changes to your Chainlink configuration, you must ensure tha
Chainlink supports an arbitrary number of keys for any given chain. By default, tasks will round-robin through keys,
but you can assign them individually to keys as well. Assigning tasks to keys is the preferred way to improve
throughput because increasing the max number of in-flight requests can have complicated effects based on the mempool
conmfigurations of other RPC nodes. If you are unable to distribute transmission load across multiple keys, try the
configurations of other RPC nodes. If you are unable to distribute transmission load across multiple keys, try the
following options to increase throughput.
</Aside>

Expand Down
Loading