Skip to content
Merged
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion apps/env.ts
Original file line number Diff line number Diff line change
@@ -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<typeof schema>;

Expand Down Expand Up @@ -75,6 +74,10 @@ export const schema = {
type: Boolean,
default: false,
},
PAXOS_APR_KEY: {
type: String,
optional: true,
},
};

export const env: Env = load(schema, {
Expand Down
6 changes: 4 additions & 2 deletions config/hyperevm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ export default <NetworkData>{
],
},
{
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: [
{
Expand All @@ -121,7 +122,8 @@ export default <NetworkData>{
],
},
{
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: [
{
Expand Down
2 changes: 1 addition & 1 deletion config/plasma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default <NetworkData>{
extractors: [
{
type: 'path',
token: '0xd931775d9aca9859c9fdc53c63ae32ef21551492',
token: '0xc8a8df9b210243c55d31c73090f06787ad0a1bf6',
path: '$.data.syzusd_apy',
},
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down