Interface LoanLocalState
interface LoanLocalState {
borrows: {
borrowBalance: bigint;
borrowedAmount: bigint;
latestBorrowInterestIndex: bigint;
latestStableChange: bigint;
poolAppId: number;
stableBorrowInterestRate: bigint;
}[];
collaterals: { fAssetBalance: bigint; poolAppId: number }[];
currentRound?: number;
escrowAddress: string;
userAddress: string;
}
borrows: {
borrowBalance: bigint;
borrowedAmount: bigint;
latestBorrowInterestIndex: bigint;
latestStableChange: bigint;
poolAppId: number;
stableBorrowInterestRate: bigint;
}[];
collaterals: { fAssetBalance: bigint; poolAppId: number }[];
currentRound?: number;
escrowAddress: string;
userAddress: string;
}
Index
Properties
Properties
borrows
borrows: {
borrowBalance: bigint;
borrowedAmount: bigint;
latestBorrowInterestIndex: bigint;
latestStableChange: bigint;
poolAppId: number;
stableBorrowInterestRate: bigint;
}[]
borrowBalance: bigint;
borrowedAmount: bigint;
latestBorrowInterestIndex: bigint;
latestStableChange: bigint;
poolAppId: number;
stableBorrowInterestRate: bigint;
}[]
collaterals
collaterals: { fAssetBalance: bigint; poolAppId: number }[]
Optional
currentRound
currentRound?: number
escrowAddress
escrowAddress: string
userAddress
userAddress: string