DeFi Pool Share
  • Introduction
    • What is DeFi Pool Share?
    • Understanding Uniswap v3 Pools
      • Concentrated Liquidity
  • Getting Started
    • Lending
    • Borrowing
    • Yield Swapping
  • Technology
    • Smart Contract
      • Data Structure
      • Functions
      • Events
    • Protocol Fees
    • Risks
    • Key Components
  • DPST Token
    • Tokenomics
    • Public Sale & TGE
    • Roadmap
    • Incentivised testnet
  • Github
  • App
  • Twitter
  • Smart contracts Audit
  • KYC Certificate
Powered by GitBook
On this page
  1. Technology

Key Components

Key components

PreviousRisksNextTokenomics

Last updated 1 year ago

Loan struct: Contains information about each loan, such as the lender, borrower, tokenId, loan amount, creation time, start and end time, accepted token, and loan status.

Whitelisting tokens: DPS allows the contract owner to whitelist tokens that can be used for loan repayments.

Depositing NFTs: Lenders deposit their Uniswap V3 NFT positions and set the loan terms. Borrowing NFTs: Borrowers can take the available NFT positions on loan, paying the loan amount to the lender in the accepted token.

Claiming Fees: Borrowers can claim the trading fees generated by their borrowed NFT positions.

Technical Details

DPS employs algorithms to handle the complexities of Uniswap V3 liquidity provision. The protocol leverages the OpenZeppelin library for ERC20 and ERC721 token standards and interfaces with Uniswap V3's Position Manager. By using algebra and various algorithms, DPS simplifies the process of managing Uniswap V3 LP positions, making it easier for users to participate in liquidity provision. More technical details are discussed deeply on and sub-pages.

Smart Contract