hackquest logo

Kaleido Lending Pool

A decentralized lending and borrowing platform where users can deposit tokens to earn interest and borrow against collateral, similar to Aave or Compound but simplified for HackQuest.

视频

描述

Core Features

  1. Lending & Borrowing

    • Users can deposit ERC20 tokens to earn interest.

    • Users can borrow tokens by providing collateral.

  2. Health Factor / Liquidation

    • Borrowers have a health factor based on collateral ratio.

    • If it falls below a threshold, positions can be liquidated.

  3. Interest Accrual

    • Lending tokens accrue interest over time.

  4. Governance / Upgradability (optional for HackQuest bonus)

    • Admin can update interest rates or parameters via a governance contract.


Smart Contract Architecture

  • LendingPool.sol: Handles deposits, withdrawals, and borrowing.

  • CollateralManager.sol: Tracks collateral and calculates health factor.

  • Token.sol: ERC20 test token for lending and borrowing.

技术栈

React
Next
Vue
Web3
Ethers
Node
Java
Go
队长Xxcjayx
赛道
DeFi