-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0335f0
commit a129ab9
Showing
7 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @chainlink/synthetix-feeds-adapter | ||
|
||
## 1.0.0 | ||
|
||
### Major Changes | ||
|
||
- [#3394](https://github.com/smartcontractkit/external-adapters-js/pull/3394) [`a0335f0`](https://github.com/smartcontractkit/external-adapters-js/commit/a0335f0cef306b38b53cffe7d098ed110a1075df) Thanks [@mxiao-cll](https://github.com/mxiao-cll)! - Serves sUSDe-USD Calculated and wstETH-USD Calculated Feed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,59 @@ | ||
# Chainlink External Adapter for synthetix-feeds | ||
# SYNTHETIX_FEEDS | ||
|
||
This README will be generated automatically when code is merged to `main`. If you would like to generate a preview of the README, please run `yarn generate:readme synthetix-feeds`. | ||
![1.0.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/synthetix-feeds/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet) | ||
|
||
This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info. | ||
|
||
## Environment Variables | ||
|
||
| Required? | Name | Description | Type | Options | Default | | ||
| :-------: | :-------------------: | :---------------------------------------------------------------------------------------: | :----: | :-----: | :-----: | | ||
| ✅ | RPC_URL | The RPC URL to connect to the EVM chain | string | | | | ||
| ✅ | CHAIN_ID | The chain id to connect to | number | | `1` | | ||
| | BACKGROUND_EXECUTE_MS | The amount of time the background execute should sleep before performing the next request | number | | `10000` | | ||
|
||
--- | ||
|
||
## Data Provider Rate Limits | ||
|
||
There are no rate limits for this adapter. | ||
|
||
--- | ||
|
||
## Input Parameters | ||
|
||
| Required? | Name | Description | Type | Options | Default | | ||
| :-------: | :------: | :-----------------: | :----: | :----------------------: | :-----: | | ||
| | endpoint | The endpoint to use | string | [price](#price-endpoint) | `price` | | ||
|
||
## Price Endpoint | ||
|
||
`price` is the only supported name for this endpoint. | ||
|
||
### Input Params | ||
|
||
| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With | | ||
| :-------: | :--------: | :------------------------------------------------------------------------: | :---------: | :--: | :-----: | :-----: | :--------: | :------------: | | ||
| | definition | | | | | | | | | ||
| ✅ | examples | `[object Object]` | | | | | | | | ||
| ✅ | params | `[object Object]`, `[object Object]`, `[object Object]`, `[object Object]` | | | | | | | | ||
|
||
### Example | ||
|
||
Request: | ||
|
||
```json | ||
{ | ||
"data": { | ||
"endpoint": "price", | ||
"base": "sUSDe", | ||
"quote": "USD", | ||
"base_address": "0x0000000000000000000000000000000000000000", | ||
"quote_address": "0x0000000000000000000000000000000000000000" | ||
} | ||
} | ||
``` | ||
|
||
--- | ||
|
||
MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters