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;
        };
    }

    Properties

    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;
    }