Skip to content

Commit

Permalink
External Links Quick Fixes (404 Errors) (#1768)
Browse files Browse the repository at this point in the history
* Fix 404 errors

* Update src/content/data-feeds/index.mdx

Co-authored-by: Amine E. <aelmanaa@users.noreply.github.com>

---------

Co-authored-by: Amine E. <aelmanaa@users.noreply.github.com>
  • Loading branch information
khadni and aelmanaa committed Feb 16, 2024
1 parent f777337 commit e416fb5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Automation Nodes use the following contracts. You can find them in the [Chainlin

## AutomationForwarder.sol

[`AutomationForwarder.sol`](https://github.com/smartcontractkit/chainlink/blob/master/contracts/src/v0.8/automation/AutomationForwarder.sol) is a relayer that sits between the registry and the customer's target contract. The purpose of the forwarder is to give customers a consistent address to authorize against that stays consistent between migrations. The Forwarder also exposes the registry address, so that users who want to programatically interact with the registry can do so. The `forward` function in this contract is called by the registry and forwards the call to the target.
[`AutomationForwarder.sol`](https://github.com/smartcontractkit/chainlink/blob/master/contracts/src/v0.8/automation/v2_1/AutomationForwarder.sol) is a relayer that sits between the registry and the customer's target contract. The purpose of the forwarder is to give customers a consistent address to authorize against that stays consistent between migrations. The Forwarder also exposes the registry address, so that users who want to programatically interact with the registry can do so. The `forward` function in this contract is called by the registry and forwards the call to the target.

## CronUpkeepFactory.sol

Expand Down
2 changes: 1 addition & 1 deletion src/content/data-feeds/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Data feeds provide many different types of data for your applications.

### Price Feeds

Smart contracts often act in real-time on data such as prices of assets. This is especially true in [DeFi](https://defi.chain.link/).
Smart contracts often act in real-time on data such as prices of assets. This is especially true in [DeFi](https://chain.link/use-cases/defi).

For example, [Synthetix](https://www.synthetix.io/) uses Data Feeds to determine prices on their derivatives platform. Lending and borrowing platforms like [AAVE](https://aave.com/) use Data Feeds to ensure the total value of the collateral.

Expand Down
2 changes: 1 addition & 1 deletion src/content/getting-started/other-tutorials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Below is a list of applications of Chainlink's products and services sorted by d
| [Smart Contract Automation Master Class Module #3](https://youtu.be/FirUe1YCcqs) | Automation | Beginner |
| [Smart Contract Automation Master Class Module #4](https://youtu.be/1a0wguM5Ig0) | Automation | Beginner |
| [Entropyfi Saves Engineering Hours with Chainlink Automation](https://medium.com/entropyfi/entropyfi-saves-engineering-hours-with-chainlink-keepers-6ec172a76249) | Gaming | Medium |
| [Enabling Limit Orders on CivTrade With Chainlink Automation](https://docs.civfund.org/civilization/civtrade/integrations/chainlink) | Trading | Medium |
| [Enabling Limit Orders on CivTrade With Chainlink Automation](https://coinmarketcap.com/community/articles/63638ad4e0e9157c0425aa4b/) | Trading | Medium |
| [Pickle Finance UniV3 Jars Powered by Chainlink Automation](https://picklefinance.medium.com/pickle-finance-univ3-jars-powered-by-chainlink-keepers-8ce1756a2497) | Finance | Medium |
| [JamonSwap Introduces New Limit Order Functionality Using Chainlink Automation](https://medium.com/@JamonSwap/jamonswap-introduces-new-limit-order-functionality-using-chainlink-keepers-51bd94d75feb) | DeFi | Medium |
| [How Cratos used Chainlink Automation to automate the token vesting process](https://cratostoken.medium.com/how-cratos-used-chainlink-keepers-to-automate-the-token-vesting-process-69bcb3611161) | DeFi | Medium |
Expand Down
24 changes: 12 additions & 12 deletions src/content/quickstarts/dev3-chainlink-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ Once the SDK is initialized, you can start consuming different feeds as outlined
</Fragment>
<Fragment slot="panel.2">
1. Add the following code to your JavaScript or TypeScript file:
```ts
// Azuki floor price
ethSDK.getFromOracle(ethSDK.feeds.COINBASE_AZUKI_FLOOR_PRICE_ETH).then((res) => {
console.log(res.answer.toString());
});
```
```ts
// Azuki floor price
ethSDK.getFromOracle(ethSDK.feeds.COINBASE_AZUKI_FLOOR_PRICE_ETH).then((res) => {
console.log(res.answer.toString());
});
```
1. Run your file. For example:
```sh
node index.js
Expand All @@ -104,12 +104,12 @@ Once the SDK is initialized, you can start consuming different feeds as outlined
</Fragment>
<Fragment slot="panel.3">
1. Add the following code to your JavaScript or TypeScript file:
```ts
// eFIL reserves
ethSDK.getFromOracle(ethSDK.feeds.EFIL_POR).then((res) => {
console.log(res.answer.toString());
});
```
```ts
// eFIL reserves
ethSDK.getFromOracle(ethSDK.feeds.EFIL_POR).then((res) => {
console.log(res.answer.toString());
});
```
1. Run your file. For example:
```sh
node index.js
Expand Down
3 changes: 2 additions & 1 deletion src/scripts/link-check/ignoredfiles-external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ https://support.metamask.io/hc/en-us/articles/360015489031#h_01FWH492CHY60HWPC28
https://support.metamask.io/hc/en-us/articles/360015489331-How-to-import-an-account
https://support.metamask.io/hc/en-us/articles/360022895972
https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC#h_01G63GGJ83DGDRCS2ZWXM37CV5
https://help.phantom.app/hc/en-us/articles/4406527601811-How-to-migrate-from-Sollet
https://help.phantom.app/hc/en-us/articles/4406527601811-How-to-migrate-from-Sollet
https://github.com/smartcontractkit/chainlink/issues?q=is%3Aissue+label%3A%22good+first+issue%22

0 comments on commit e416fb5

Please sign in to comment.