SACRED Technical Private Doc
  • What is Sacred?
    • Introduction to Sacred
    • Repos and Video Walkthrough
    • How to Use Sacred
    • Sacred Pools (Boxes)
    • Anonymity Set
    • User journey - from Deposit to Withdrawal
      • 1. Receive Note
      • 2. Deposit Tokens
      • 3. Earn While Waiting
        • Shares-of-Staked Seconds
        • Interest earning interest
        • Share Tracking Quirks
      • 4. Withdraw
      • 5. Redeem Claim - Receive Principal
        • Sacred Automated Market Maker
      • 6. Redeem Yield
      • 7. Redeem Incognito Credits
      • Using a Relayer to withdraw the principal, IC and yield
    • Sacred Rules to keep your deposit private
    • Circuits Summary
    • Links to individual Contracts
Powered by GitBook
On this page
  • Earn through Anonymity Mining
  • Earn interest on Aave
  1. What is Sacred?
  2. User journey - from Deposit to Withdrawal

3. Earn While Waiting

A user earns in two ways while their tokens are in the Sacred pool:

  1. Anonymity mining - where the user is rewarded in SACRED tokens for spending time in the protocol

  2. Interest on Aave - where their assets earn yield from the DeFi protocol that Sacred is using.

Earn through Anonymity Mining

The design for Anonymity Mining is inspired by Tornado Cash’s anonymity mining. Unlike the traditional format of liquidity mining, this two-step mining system does not reveal how much time the deposit spends in a Sacred pool until some time after the principal asset has been withdrawn where the user claims their Anonymity Poins (Incognito Credits).

On depositing tokens, a user receives Incognito Credits (IC). These credits are awarded at a rate of “x” IC per block. The IC can be exchanged for SACRED tokens once the Incognito Credits are claimed in our Sacred Automated Market Maker (SAMM).

Earn interest on Aave

To start off, Sacred will integrate with Aave to shield users who interact with Aave. When a user deposits into a Sacred pool, their funds are pooled together with other users’ and deposited into Aave to earn interest. Since all of the funds are pooled, we use a share of staked seconds method to track the yield each user will earn.

Previous2. Deposit TokensNextShares-of-Staked Seconds

Last updated 2 years ago