This commit is contained in:
Finn 2024-02-20 21:55:49 +00:00
parent 1345ea5185
commit 6b67997bee
4 changed files with 5 additions and 4 deletions

View File

@ -330,7 +330,7 @@ function UnstakeForm({ token: selectedToken }: UnstakeFormProps) {
</span>
</div>
<div className="flex justify-between">
<p className="text-th-fgd-4">SOL borrowed</p>
<p className="text-th-fgd-4">USDC borrowed</p>
{borrowBank ? (
<span
className={`font-bold ${borrowed > 0.001

View File

@ -329,7 +329,7 @@ import {
</span>
</div>
<div className="flex justify-between">
<p className="text-th-fgd-4">SOL borrowed</p>
<p className="text-th-fgd-4">USDC borrowed</p>
{borrowBank ? (
<span
className={`font-bold ${

View File

@ -80,6 +80,7 @@ import sampleSize from 'lodash/sampleSize'
import { Token } from 'types/jupiter'
import { sleep } from 'utils'
// Hardcoded ID and Group
const MANGO_BOOST_ID = new PublicKey('zF2vSz6V9g1YHGmfrzsY497NJzbRr84QUrPry4bLQ25')
const GROUP = new PublicKey('AKeMSYiJekyKfwCc3CUfVNDVAiqk9FfbQVMY3G7RUZUf')

View File

@ -726,8 +726,8 @@ const deserializeJupiterIxAndAlt = async (
}
const fetchJupiterRoutes = async (
inputMint = 'So11111111111111111111111111111111111111112',
outputMint = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
inputMint: string,
outputMint: string,
amount = 0,
slippage = 50,
swapMode = 'ExactIn',