diff --git a/package.json b/package.json index f1ca4ef..bed95a4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@traderjoe-xyz/sdk", "license": "MIT", - "version": "0.6.1", + "version": "0.6.3", "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