Skip to content

Commit

Permalink
Fix: Lachain adapters (#11709)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Sep 23, 2024
1 parent f23a11d commit 5f06b53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/lachain-yield-market.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const utils = require('./helper/utils');
const { deadFrom } = require('./ladex-exchange');

async function fetch() {
const response = await utils.fetchURL(`https://farms-info.lachain.io/farms/beefy`);
Expand All @@ -20,6 +21,7 @@ async function fetch() {
}

module.exports = {
deadFrom: '2024-01-01',
lachain: { fetch },
fetch,
}
Expand Down
1 change: 1 addition & 0 deletions projects/ladex-exchange/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { getUniTVL } = require('../helper/unknownTokens')
const factory_contract = "0xD707d9038C1d976d3a01c770f01CB73a1fd305Cd"

module.exports = {
deadFrom: '2024-01-01',
lachain: {
tvl: getUniTVL({ factory: factory_contract, useDefaultCoreAssets: true }),
}
Expand Down

0 comments on commit 5f06b53

Please sign in to comment.