diff --git a/CHANGELOG.md b/CHANGELOG.md index 5459ab581..d42275109 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # backend +## 1.56.3 + +### Patch Changes + +- de43f5a: fix yuzu.money APR token address +- 919ae59: paxoslabs APRs + ## 1.56.2 ### Patch Changes diff --git a/apps/env.ts b/apps/env.ts index 9deb0c6d2..b5db19437 100644 --- a/apps/env.ts +++ b/apps/env.ts @@ -1,6 +1,5 @@ import { EnvType, load } from 'ts-dotenv'; import { resolve } from 'path'; -import { B } from '@bgd-labs/aave-address-book/dist/AaveV3Ethereum-BqlC-GSv'; type Env = EnvType; @@ -75,6 +74,10 @@ export const schema = { type: Boolean, default: false, }, + PAXOS_APR_KEY: { + type: String, + optional: true, + }, }; export const env: Env = load(schema, { diff --git a/config/hyperevm.ts b/config/hyperevm.ts index 28744631a..58654388c 100644 --- a/config/hyperevm.ts +++ b/config/hyperevm.ts @@ -110,7 +110,8 @@ export default { ], }, { - url: 'https://backend.nucleusearn.io/v1/vaults/apy?token_address=0x1359b05241cA5076c9F59605214f4F84114c0dE8&lookback_days=14', + url: 'https://api.paxoslabs.com/v1/vaults/apy?token_address=0x1359b05241cA5076c9F59605214f4F84114c0dE8&lookback_days=14', + headers: { 'Content-Type': 'application/json', 'x-api-key': env.PAXOS_APR_KEY }, scale: 100, extractors: [ { @@ -121,7 +122,8 @@ export default { ], }, { - url: 'https://backend.nucleusearn.io/v1/vaults/apy?token_address=0x5748ae796AE46A4F1348a1693de4b50560485562&lookback_days=14', + url: 'https://api.paxoslabs.com/v1/vaults/apy?token_address=0x5748ae796AE46A4F1348a1693de4b50560485562&lookback_days=14', + headers: { 'Content-Type': 'application/json', 'x-api-key': env.PAXOS_APR_KEY }, scale: 100, extractors: [ { diff --git a/config/plasma.ts b/config/plasma.ts index 7c34bf206..9b6a402a9 100644 --- a/config/plasma.ts +++ b/config/plasma.ts @@ -77,7 +77,7 @@ export default { extractors: [ { type: 'path', - token: '0xd931775d9aca9859c9fdc53c63ae32ef21551492', + token: '0xc8a8df9b210243c55d31c73090f06787ad0a1bf6', path: '$.data.syzusd_apy', }, ], diff --git a/package.json b/package.json index b62d8f937..75cdbc897 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backend", - "version": "1.56.2", + "version": "1.56.3", "description": "Backend service for Beethoven X and Balancer", "repository": "https://github.com/balancer/backend", "author": "Beethoven X",