🍌
NiftyApes: User Docs
HOMECAREERSWHITEPAPER
  • 🍌What is NiftyApes?
    • 📃Whitepaper
    • 🗣️The NiftyApe Manifesto
  • 🔭Overview
    • 🤔How Does NiftyApes Work?
    • ♻️Refinance Guide
    • ⚖️Contracts & Security
      • Liquidity.sol
      • Offers.sol
      • Lending.sol
      • SigLending.sol
    • 😲Loan Default FAQ
  • 💰Lenders dApp Guide
    • 🏃‍♂️Lender Quick-Start Guide
    • 💧Manage Liquidity Page
    • 🤝Create Offers Page
    • 📊Lender Dashboard
      • 🛑Seizing Assets from Loan Defaults
      • 🙅Canceling Offers
  • 🖼️Borrowers dApp Guide
    • 💸Borrow Page
      • 🆗Initiating the Loan
      • 😅Repaying a Loan
      • 😭Defaulting on a Loan
    • 📊Borrower Dashboard
Powered by GitBook
On this page
  • Contracts
  • Audits
  • Q: Why does NiftyApes use upgradeable proxy contracts?
  • Q: I worry about the rug pull, what has NiftyApes done to mitigate that?
  1. Overview

Contracts & Security

PreviousRefinance GuideNextLiquidity.sol

Last updated 2 years ago

Contracts

NiftyApes is a system of smart contracts that enables borrowing and lending with NFTs as collateral with permissionless refinancing. These contracts are Liquidity.sol, Offers.sol, Lending.sol, and SigLending.sol. Together they enable Harberger Style Lending Auctions the new financial mechanism created by NiftyApes.

Audits

NiftyApes has completed three audits with Quantstamp and Sherlock, with a fourth scheduled with Sherlock at the end of 2022.

  • Sherlock Audit, coming Q2.2023

Q: Why does NiftyApes use upgradeable proxy contracts?

The current smart contracts are twice-audited and carefully tested. But we also recognize that they're a V1. The upgradable proxy is meant to a final backstop, a hand-brake the team can pull in case of emergencies.

Our vision is to deploy a V2 of the smart contracts that are truly permissionless and unstoppable.

Q: I worry about the rug pull, what has NiftyApes done to mitigate that?

A rug pull in crypto is when the team suddenly abandons a project and sells or removes all its liquidity from the protocol.

NiftyApes cannot drain the liquidity staked in the protocol.

Liquidity can only be removed from the protocol by the party who originally provided liquidity, or by a borrower with an active offer from the lender and owns the corresponding asset. The borrower cannot draw liquidity without locking the corresponding NFT in escrow.

Have more questions?

🔭
⚖️
Quantstamp Audit, 2022-04-14
Sherlock Audit, 2022-06-10
Quantstamp Audit, 2022-09-14
Join the Discord and let us know what we missed!