This commit is contained in:
Arihant Bansal
2024-12-11 02:05:22 +05:30
parent b943dbb23e
commit 12af3c434f
3 changed files with 6 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ import {
getLendingDetails,
getTPS,
} from "../tools";
import { CollectionOptions, LuloDepositAssetMint } from "../types";
import { CollectionOptions } from "../types";
import { DEFAULT_OPTIONS } from "../constants";
/**
@@ -96,12 +96,8 @@ export class SolanaAgentKit {
return trade(this, outputMint, inputAmount, inputMint, slippageBps);
}
async lendAssets(
asset: LuloDepositAssetMint,
amount: number,
LULO_API_KEY: string,
) {
return lendAsset(this, asset, amount, LULO_API_KEY);
async lendAssets(amount: number) {
return lendAsset(this, amount);
}
async fetchLendingDetails(LULO_API_KEY: string) {