Skip to content

Commit

Permalink
add a usdt pool to yield server (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKMG committed Sep 13, 2024
1 parent 683df58 commit c44dcf0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/adaptors/vaultka/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const utils = require('../utils');

const getApy = async () => {
const response = await axios.get('https://solana-api.vaultka.com/lend/all');
const { usdc, sol } = response.data.data;
const { usdc, sol, usdt } = response.data.data;
const poolsConfig = [
{
pool: 'nKMLJtN1rr64K9DjmfzXvzaq4JEy5a4AJHHP9gY1dW6',
symbol: 'USDC',
underlyingTokens: ['Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB'],
underlyingTokens: ['EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'],
data: usdc,
},
{
Expand All @@ -17,6 +17,12 @@ const getApy = async () => {
underlyingTokens: ['So11111111111111111111111111111111111111112'],
data: sol,
},
{
pool: '69oX4gmwgDAfXWxSRtTx9SHvWmu2bd9qVGjQPpAFHaBF',
symbol: 'USDT',
underlyingTokens: ['Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB'],
data: usdt,
},
];

return poolsConfig.map(({ pool, symbol, underlyingTokens, data }) => ({
Expand Down

0 comments on commit c44dcf0

Please sign in to comment.