Skip to content

Commit

Permalink
Merge branch 'main' into bump
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-issuer-data-feeds[bot] authored Jan 14, 2025
2 parents 8a0dc71 + d854e34 commit 605269e
Show file tree
Hide file tree
Showing 58 changed files with 300 additions and 89 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-shirts-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cyan-grapes-sneeze.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fifty-insects-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/proof-of-reserves-adapter': patch
---

Allow custom endpoint for indexer
5 changes: 0 additions & 5 deletions .changeset/tall-spoons-begin.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/young-dodos-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/por-address-list-adapter': patch
---

Add Solv addresses
42 changes: 21 additions & 21 deletions MASTERLIST.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/external-adapters-js",
"version": "1.148.0",
"version": "1.149.0",
"license": "MIT",
"private": true,
"workspaces": [
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/apy-finance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/apy-finance-adapter

## 2.0.92

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 2.0.91

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/apy-finance/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/apy-finance-adapter",
"version": "2.0.91",
"version": "2.0.92",
"description": "Chainlink APY Finance TVL adapter",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/bsol-price/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/bsol-price-adapter

## 2.2.111

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 2.2.110

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/bsol-price/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chainlink bSOL Price Composite Adapter

![2.2.110](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/composites/bsol-price/package.json) ![v2](https://img.shields.io/badge/framework%20version-v2-blueviolet)
![2.2.111](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/composites/bsol-price/package.json) ![v2](https://img.shields.io/badge/framework%20version-v2-blueviolet)

This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info.

Expand Down
2 changes: 1 addition & 1 deletion packages/composites/bsol-price/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/bsol-price-adapter",
"version": "2.2.110",
"version": "2.2.111",
"description": "Chainlink bsol-price adapter.",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/crypto-volatility-index/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/crypto-volatility-index-adapter

## 1.4.7

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 1.4.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/crypto-volatility-index/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/crypto-volatility-index-adapter",
"version": "1.4.6",
"version": "1.4.7",
"description": "The Crypto volatility index (CVI)",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/curve-3pool/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/curve-3pool-adapter

## 3.0.92

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 3.0.91

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/curve-3pool/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/curve-3pool-adapter",
"version": "3.0.91",
"version": "3.0.92",
"description": "Chainlink Curve 3Pool adapter",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/defi-dozen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/defi-dozen-adapter

## 1.2.111

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 1.2.110

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/defi-dozen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/defi-dozen-adapter",
"version": "1.2.110",
"version": "1.2.111",
"description": "Chainlink defi-dozen adapter.",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/defi-pulse/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/defi-pulse-adapter

## 1.2.111

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 1.2.110

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/defi-pulse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/defi-pulse-adapter",
"version": "1.2.110",
"version": "1.2.111",
"description": "Chainlink defi pulse adapter",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/dxdao/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/dxdao-adapter

## 2.0.92

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 2.0.91

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/dxdao/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/dxdao-adapter",
"version": "2.0.91",
"version": "2.0.92",
"description": "Chainlink dxdao adapter.",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/linear-finance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/linear-finance-adapter

## 2.3.100

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 2.3.99

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/linear-finance/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/linear-finance-adapter",
"version": "2.3.99",
"version": "2.3.100",
"description": "Chainlink linear-finance adapter.",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/market-status/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/market-status-adapter

## 1.2.7

### Patch Changes

- Updated dependencies [[`23d203c`](https://github.com/smartcontractkit/external-adapters-js/commit/23d203cf5c289aebbaf06c316e8b75b46e97694b)]:
- @chainlink/ncfx-adapter@4.3.0

## 1.2.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/market-status/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MARKET_STATUS

![1.2.6](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/composites/market-status/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)
![1.2.7](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/composites/market-status/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.

Expand Down
2 changes: 1 addition & 1 deletion packages/composites/market-status/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/market-status-adapter",
"version": "1.2.6",
"version": "1.2.7",
"description": "Chainlink market-status adapter.",
"keywords": [
"Chainlink",
Expand Down
8 changes: 8 additions & 0 deletions packages/composites/proof-of-reserves/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chainlink/proof-of-reserves-adapter

## 1.24.5

### Patch Changes

- Updated dependencies [[`42ecd70`](https://github.com/smartcontractkit/external-adapters-js/commit/42ecd70697b63ed42e59dec5af46f2cb5e0fab3f)]:
- @chainlink/[email protected]
- @chainlink/[email protected]

## 1.24.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/proof-of-reserves/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/proof-of-reserves-adapter",
"version": "1.24.4",
"version": "1.24.5",
"description": "Chainlink BTC Proof of Reserves composite adapter. Combines multiple adapters to find total balance in custody for wBTC or renBTC.",
"keywords": [
"Chainlink",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type TInputParameters = {
protocol: string
protocolEndpoint?: string
indexer: string
indexerEndpoint?: string
confirmations?: number
addresses?: string[]
disableAddressValidation?: boolean
Expand Down Expand Up @@ -57,6 +58,10 @@ const inputParameters: InputParameters<TInputParameters> = {
...indexerAdaptersV3.map(({ name }) => name.toUpperCase()),
],
},
indexerEndpoint: {
type: 'string',
description: 'Optional endpoint for the indexer external adapter to use',
},
confirmations: {
required: false,
type: 'number',
Expand Down Expand Up @@ -109,6 +114,7 @@ export const execute: ExecuteWithConfig<Config> = async (input, context, config)
confirmations,
config,
validatedAddresses,
validator.validated.data.indexerEndpoint,
)
const reduceOutput = await runReduceAdapter(indexer, context, balanceOutput)
return reduceOutput
Expand Down
6 changes: 6 additions & 0 deletions packages/composites/proof-of-reserves/src/utils/balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const runBalanceAdapter = async (
confirmations: number,
config: Config,
input: AdapterResponse,
indexerEndpoint?: string,
): Promise<AdapterResponse> => {
const execute = makeRequestFactory(config, indexer)
let next
Expand Down Expand Up @@ -117,6 +118,11 @@ export const runBalanceAdapter = async (
},
}
}

if (indexerEndpoint) {
;(next.data as any).endpoint = indexerEndpoint
}

return callAdapter(execute, context, next, '_onBalance')
}

Expand Down
7 changes: 7 additions & 0 deletions packages/composites/savax-price/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/savax-price-adapter

## 3.0.93

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 3.0.92

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/savax-price/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/savax-price-adapter",
"version": "3.0.92",
"version": "3.0.93",
"description": "Chainlink savax-price adapter.",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/set-token-index/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/set-token-index-adapter

## 3.0.19

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 3.0.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/set-token-index/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/set-token-index-adapter",
"version": "3.0.18",
"version": "3.0.19",
"description": "Chainlink set-token-index adapter.",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/synth-index/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/synth-index-adapter

## 1.2.111

### Patch Changes

- Updated dependencies []:
- @chainlink/token-allocation-adapter@1.13.5

## 1.2.110

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/synth-index/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/synth-index-adapter",
"version": "1.2.110",
"version": "1.2.111",
"description": "Chainlink Synth Index adapter",
"keywords": [
"Chainlink",
Expand Down
7 changes: 7 additions & 0 deletions packages/composites/vesper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chainlink/vesper-adapter

## 2.0.92

### Patch Changes

- Updated dependencies []:
- @chainlink/[email protected]

## 2.0.91

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/composites/vesper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/vesper-adapter",
"version": "2.0.91",
"version": "2.0.92",
"description": "Chainlink vesper adapter.",
"keywords": [
"Chainlink",
Expand Down
Loading

0 comments on commit 605269e

Please sign in to comment.