Skip to content

Commit

Permalink
add new strategies and a lending pool on Solana (#11304)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKMG authored Aug 15, 2024
1 parent 96ed695 commit c5c3a47
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions projects/vaultka/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//import utils
const ADDRESSES = require("../helper/coreAssets.json");
const { staking } = require("../helper/staking");
const { getProvider, getTokenBalance, sumTokens2 } = require("../helper/solana");
// 19/12/2023 ALP Leverage Vault
// 29/11/2023 GMXV2 Leverage(Neutral) Vault
// 12/11/2023 GLP Compound Vault
Expand All @@ -21,6 +22,25 @@ module.exports = {
[1707385004, "GLM(basket of GMs)"],
],

solana: {
tvl: async (api) => {
const lendingSol = "DMhoXyVNpCFeCEfEjEQfS6gzAEcPUUSXM8Xnd2UXJfiS";
const jupSol = "jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v";
const jitoSol = "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn";
const jupSolProgram = "6j6Fwxf7UzfaXqQA2QraWGEAYUYzjjZP3t6ChzjzkmL9";
const jitoSolProgram = "6MAnq2z4ww8nnvfd8sec4sRMhTEdsdZXB1FLgqaYsg4d";

return sumTokens2({
owner: lendingSol,
tokensAndOwners: [
[jupSol, jupSolProgram],
[jitoSol, jitoSolProgram],
],
solOwners: [lendingSol],
});
},
},

arbitrum: {
tvl: async (api) => {
const vaults = [
Expand Down

0 comments on commit c5c3a47

Please sign in to comment.