PowerMaker
  • PowerMaker Document Hub
  • Disclaimer
  • Resources
  • Quick Start
    • FAQ
    • Providing Liquidity
    • Tutorial: Perform a Trade
    • Tutorial: Providing Liquidity
    • Tutorial: Create a Market
  • Concepts
    • Power Perpetuals
      • PPT - Power Perpetual Token
    • Example Use Cases
      • Hedging Uniswap V3
  • Protocol
    • Overview
    • Capped Power Invariant
    • Understanding Returns
    • Security
    • Protocol Participants
    • Smart Contracts
      • Factory
      • Pair
      • ImmutableState
      • JumpRate
      • Lendgine
      • LendgineRouter
      • LiquidityManager
    • Deployed Contracts
  • Discord
  • Twitter
  • Github
Powered by GitBook
On this page
  • Code
  • Read-only functions
  • kink
  • multiplier
  • jumpMultiplier
  • getBorrowRate
  • getSupplyRate
  1. Protocol
  2. Smart Contracts

JumpRate

The jump rate contract is abstract and inherited by lendgine. They are separated for readability.

PreviousImmutableStateNextLendgine

Last updated 2 years ago

Code

Read-only functions

kink

function kink() external view returns (uint256 kink);

Returns the kink used in the jump rate model.

multiplier

function multiplier() external view returns (uint256 multiplier);

Returns the multiplier used in the jump rate model.

jumpMultiplier

function jumpMultiplier() external view returns (uint256 jumpMultiplier);

Returns the jump multiplier used in the jump rate model.

getBorrowRate

function getBorrowRate(uint256 borrowedLiquidity, uint256 totalLiquidity) external view returns (uint256 rate);

Computes the borrow rate based on liquidity utilization in the jump rate model.

getSupplyRate

function getSupplyRate(uint256 borrowedLiquidity, uint256 totalLiquidity) external view returns (uint256 rate);

Computes the supply rate based on liquidity utilzation in the jump rate model.

JumpRate.sol