On-Chain Accounting & Interest Rate Models
All lending, borrowing, and interest calculations in Peridot happen on-chain — specifically, in the Hub Contract.
Global Vaults
Each user has a vault managed centrally:
Tracks all collateral deposits and borrowed assets
Vaults are chain-agnostic: a user can deposit on Solana and borrow on Ethereum
Vault states are updated based on messages from Spoke Chains
Interest Rate Model
We extend the Compound V2 model, using:
Utilization-based interest rate curves
Variable APR based on asset demand
Configurable parameters for each market (base rate, slope, kink)
This model allows the protocol to:
Incentivize lenders with attractive APY
Adjust rates dynamically to optimize capital utilization
Respond to market shifts in real time
Risk Management
Collateral ratios and liquidation thresholds are enforced globally
Price data is pulled from Pyth and/or Witnet
Liquidations are triggered on the Hub, ensuring atomic execution and fairness
Our accounting and rate system provides accurate, efficient, and secure financial logic — across chains.
Last updated