feat: add image support

This commit is contained in:
aryan
2024-12-05 21:33:09 +05:30
parent 205ff4891c
commit 5cdb4fd9e7
19 changed files with 197 additions and 91 deletions

View File

@@ -1,4 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { TOKENS } from "../constants";
export interface Creator {
address: string;
@@ -40,3 +41,24 @@ export interface PumpfunLaunchResponse {
metadataUri?: string;
error?: string;
}
/**
* Mint addresses of supported tokens for lending on Lulo
*/
export type LuloDepositAssetMint = (typeof TOKENS)[keyof typeof TOKENS];
/**
* Lulo Account Details response format
*/
export interface LuloAccountDetailsResponse {
totalValue: number;
interestEarned: number;
realtimeApy: number;
settings: {
owner: string;
allowedProtocols: string | null;
homebase: string | null;
minimumRate: string;
};
}