Skip to content

Commit

Permalink
add new usdt and strategy pool to tvl calculation (DefiLlama#11604)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKMG authored Sep 12, 2024
1 parent 3450d02 commit fca13ce
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions projects/vaultka/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ module.exports = {
const jitoSol = "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn";
const jupSolProgram = "6j6Fwxf7UzfaXqQA2QraWGEAYUYzjjZP3t6ChzjzkmL9";
const jitoSolProgram = "6MAnq2z4ww8nnvfd8sec4sRMhTEdsdZXB1FLgqaYsg4d";
const jlpUsdtStrategy = "9vuDo8ZQsmMMe3qsiFCYoxsjhHieQVMNXLsfcfpC4SrX"


const lendingUsdc = "DefkwTSvkHeZASCuaVJ8AxUWS6zvBCwrLFpW2FniLSWo"; //change it to token account
const lendingUsdt = "HDNrMywo5z84uBLdbcdHpgVP3bao8bw2PDiUwtM4hvHk"
const usdc = ADDRESSES.solana.USDC;
const usdt = ADDRESSES.solana.USDT;
const jlp = "27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4"
const strategyJlp = "5852AnvCSV2GDzgpRVG4ZQ5cNn7abR7pPty5FaBxHLzW"

Expand All @@ -42,7 +46,8 @@ module.exports = {
[jitoSol, jitoSolProgram],
[jlp, strategyJlp],
[usdc, lendingUsdc],

[usdt, lendingUsdt],
[jlp, jlpUsdtStrategy],
],
solOwners: [lendingSol],
});
Expand Down Expand Up @@ -143,7 +148,7 @@ module.exports = {
});

const contractAbis = {
stakedVlpBalance: "function getStakedVlpBalance() public view returns (uint256)",
stakedVlpBalance: "function getStakedVlpBalance() public view returns ( uint256)",
stakedHlpBalance: "function userTokenAmount(address user) public view returns (uint256)",
stakedAlpBalance: "function userInfo(address account) external view returns (uint256, uint256)",
alpPrice: "function getAlpPrice() external view returns (uint256)", //
Expand Down

0 comments on commit fca13ce

Please sign in to comment.