Function predictAPY

  • Predicts how APY will change as a result of one of the actions Borrow, Supply, Withdraw or Repay.

    Used on the front-end.

    Parameters

    • args: PredictAPYArgs

    Returns AssetInterest & AssetApy

    Estimated APYs for Supply and Borrow