Interface PoolInfo
interface PoolInfo {
caps: { borrowCap: bigint; stableBorrowPercentageCap: bigint };
config: {
depreciated: boolean;
flashLoanSupported: boolean;
rewardsPaused: boolean;
stableBorrowSupported: boolean;
};
currentRound?: number;
interest: {
depositInterestIndex: bigint;
depositInterestRate: bigint;
depositInterestYield: bigint;
flashLoanFee: bigint;
latestUpdate: bigint;
optimalUtilisationRatio: bigint;
retentionRate: bigint;
totalDeposits: bigint;
};
stableBorrow: {
optimalStableToTotalDebtRatio: bigint;
overallStableBorrowInterestAmount: bigint;
rebalanceDownDelta: bigint;
rebalanceUpDepositInterestRate: bigint;
rebalanceUpUtilisationRatio: bigint;
sr0: bigint;
sr1: bigint;
sr2: bigint;
sr3: bigint;
stableBorrowInterestRate: bigint;
stableBorrowInterestYield: bigint;
totalStableBorrowAmount: bigint;
};
variableBorrow: {
totalVariableBorrowAmount: bigint;
variableBorrowInterestIndex: bigint;
variableBorrowInterestRate: bigint;
variableBorrowInterestYield: bigint;
vr0: bigint;
vr1: bigint;
vr2: bigint;
};
}
caps: { borrowCap: bigint; stableBorrowPercentageCap: bigint };
config: {
depreciated: boolean;
flashLoanSupported: boolean;
rewardsPaused: boolean;
stableBorrowSupported: boolean;
};
currentRound?: number;
interest: {
depositInterestIndex: bigint;
depositInterestRate: bigint;
depositInterestYield: bigint;
flashLoanFee: bigint;
latestUpdate: bigint;
optimalUtilisationRatio: bigint;
retentionRate: bigint;
totalDeposits: bigint;
};
stableBorrow: {
optimalStableToTotalDebtRatio: bigint;
overallStableBorrowInterestAmount: bigint;
rebalanceDownDelta: bigint;
rebalanceUpDepositInterestRate: bigint;
rebalanceUpUtilisationRatio: bigint;
sr0: bigint;
sr1: bigint;
sr2: bigint;
sr3: bigint;
stableBorrowInterestRate: bigint;
stableBorrowInterestYield: bigint;
totalStableBorrowAmount: bigint;
};
variableBorrow: {
totalVariableBorrowAmount: bigint;
variableBorrowInterestIndex: bigint;
variableBorrowInterestRate: bigint;
variableBorrowInterestYield: bigint;
vr0: bigint;
vr1: bigint;
vr2: bigint;
};
}
Index
Properties
Properties
caps
caps: { borrowCap: bigint; stableBorrowPercentageCap: bigint }
config
config: {
depreciated: boolean;
flashLoanSupported: boolean;
rewardsPaused: boolean;
stableBorrowSupported: boolean;
}
depreciated: boolean;
flashLoanSupported: boolean;
rewardsPaused: boolean;
stableBorrowSupported: boolean;
}
Optional
currentRound
currentRound?: number
interest
interest: {
depositInterestIndex: bigint;
depositInterestRate: bigint;
depositInterestYield: bigint;
flashLoanFee: bigint;
latestUpdate: bigint;
optimalUtilisationRatio: bigint;
retentionRate: bigint;
totalDeposits: bigint;
}
depositInterestIndex: bigint;
depositInterestRate: bigint;
depositInterestYield: bigint;
flashLoanFee: bigint;
latestUpdate: bigint;
optimalUtilisationRatio: bigint;
retentionRate: bigint;
totalDeposits: bigint;
}
stableBorrow
stableBorrow: {
optimalStableToTotalDebtRatio: bigint;
overallStableBorrowInterestAmount: bigint;
rebalanceDownDelta: bigint;
rebalanceUpDepositInterestRate: bigint;
rebalanceUpUtilisationRatio: bigint;
sr0: bigint;
sr1: bigint;
sr2: bigint;
sr3: bigint;
stableBorrowInterestRate: bigint;
stableBorrowInterestYield: bigint;
totalStableBorrowAmount: bigint;
}
optimalStableToTotalDebtRatio: bigint;
overallStableBorrowInterestAmount: bigint;
rebalanceDownDelta: bigint;
rebalanceUpDepositInterestRate: bigint;
rebalanceUpUtilisationRatio: bigint;
sr0: bigint;
sr1: bigint;
sr2: bigint;
sr3: bigint;
stableBorrowInterestRate: bigint;
stableBorrowInterestYield: bigint;
totalStableBorrowAmount: bigint;
}
variableBorrow
variableBorrow: {
totalVariableBorrowAmount: bigint;
variableBorrowInterestIndex: bigint;
variableBorrowInterestRate: bigint;
variableBorrowInterestYield: bigint;
vr0: bigint;
vr1: bigint;
vr2: bigint;
}
totalVariableBorrowAmount: bigint;
variableBorrowInterestIndex: bigint;
variableBorrowInterestRate: bigint;
variableBorrowInterestYield: bigint;
vr0: bigint;
vr1: bigint;
vr2: bigint;
}