From f6945845e1eee2f55af77b0662500c8454e24f3c Mon Sep 17 00:00:00 2001 From: robotmurloc-3599 <81496776+0xmurloc@users.noreply.github.com> Date: Wed, 6 Oct 2021 10:13:34 +0200 Subject: [PATCH 1/2] lending subgraph --- package.json | 2 +- src/subgraphs.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f1ca4ef..22fcd3c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@traderjoe-xyz/sdk", "license": "MIT", - "version": "0.6.1", + "version": "0.6.2", "description": "🛠 An SDK for building applications on top of Trader Joe.", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/subgraphs.ts b/src/subgraphs.ts index 0053796..fbaf357 100644 --- a/src/subgraphs.ts +++ b/src/subgraphs.ts @@ -31,3 +31,9 @@ export const BAR_SUBGRAPH: {[chainId in ChainId]: string } = { [ChainId.FUJI]: ZERO_ADDRESS, [ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/bar' } + +export const LENDING_SUBGRAPH: {[chainId in ChainId]: string } = { + [ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/lending-rinkeby', + [ChainId.FUJI]: ZERO_ADDRESS, + [ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/lending-rinkeby' +} \ No newline at end of file From 883d3d94044f8cc4ec04586f29041602e85ecec7 Mon Sep 17 00:00:00 2001 From: robotmurloc-3599 <81496776+0xmurloc@users.noreply.github.com> Date: Wed, 6 Oct 2021 10:23:10 +0200 Subject: [PATCH 2/2] v0.6.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 22fcd3c..bed95a4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@traderjoe-xyz/sdk", "license": "MIT", - "version": "0.6.2", + "version": "0.6.3", "description": "🛠 An SDK for building applications on top of Trader Joe.", "main": "dist/index.js", "typings": "dist/index.d.ts",