• The fee the contract will actually charge: quotedFee when it applies, otherwise zero.

    quotedFee is whatever getBorrowingFee returned for the amount in question. Callers that would rather not pay for that read at all can check isBorrowingFeeCharged first.

    Parameters

    • quotedFee: bigint
    • isRecoveryMode: boolean
    • feeExempt: boolean

    Returns bigint