Skip to content

Commit

Permalink
add ltv field for Sturdy
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Oct 17, 2022
1 parent 040f32a commit 0c9037d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adaptors/sturdy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const poolsFunction = async () => {
apyBaseBorrow: item.borrowAPY * 100,
totalSupplyUsd: item.tvl,
totalBorrowUsd: item.totalBorrowUsd,
ltv: item.ltv,
}));

const ethVaultData = await utils.getData(
Expand All @@ -31,6 +32,7 @@ const poolsFunction = async () => {
apyBaseBorrow: item.borrowAPY * 100,
totalSupplyUsd: item.tvl,
totalBorrowUsd: item.totalBorrowUsd,
ltv: item.ltv,
}));
return [...ftmData, ...ethData];
};
Expand Down

0 comments on commit 0c9037d

Please sign in to comment.