UNPKG

@rainfi/sdk

Version:

This package is used to interact with Rain.fi protocol on Solana

22 lines (21 loc) 1.34 kB
/** * Layout for a public key */ export declare const publicKey: (property?: string) => unknown; /** * Layout for a 64bit unsigned value */ export declare const uint32: (property?: string) => unknown; export type LoanFilter = "status" | "borrower" | "lender" | "pool" | "mint" | "interest" | "amount" | "duration" | "collection" | "createdAt"; export type CustomLoanFilter = "status" | "borrower" | "mint" | "pool" | "amount" | "amount" | "duration" | "collection" | "createdAt"; export type PoolFilter = "owner" | "status" | "totalAmount" | "borrowedAmount" | "availableAmount" | "usableAmount" | "isCompounded" | "nftLocked" | "totalLiquidations" | "totalLoans" | "totalInterest"; export type CollectionFilter = "collection_id" | "name" | "risk" | "creator" | "collection" | "floor_price" | "supply" | "nft_locked" | "is_locked" | "created_at" | "updated_at"; export declare const ESCROW_ACCOUNT_DATA_LAYOUT: any; export declare const LOAN_ACCOUNT_LAYOUT: any; export declare const POOL_ACCOUNT_LAYOUT: any; export declare const COLLECTION_ACCOUNT_LAYOUT: any; export declare const GLOBAL_OFFER_WHITELIST_LAYOUT: any; export declare const COLLECTION_GLOBAL_OFFER_LAYOUT: any; export declare const RAIN_CUSTOM_LOAN_LAYOUT: any; export declare const RAIN_CUSTOM_MORTGAGE_LAYOUT: any; export declare const MORTGAGE_ACCOUNT_LAYOUT: any;