Skip to content

pie-dao/auxo-vaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vaults

A vault seeking for yield.

Overview

How batched burning works

Withdrawing from vaults is achieved through batched burning of shares. The flow for a batched burning round is:

  • Users deposits shares when they want to withdraw. (contract-wise, the userBatchBurnReceipts mapping is populated when enterBatchBurn is called).
  • Once enough deposits are done, an admin can call execBatchBurn to withdraw from strategies and burn the deposited shares. A snapshot of the current price per share will be done.
  • Users can now withdraw their underlying using exitBatchBurn.

Basic run

  1. Create and activate a virtualenv for the project (using Python 3.8):
python3.8 -m venv venv
source venv/bin/activate
  1. Install required packages:
pip install -r requirements.txt
  1. Build the project:
brownie compile
  1. Run tests
brownie test

Acknowledgements

  • Yearn
  • Rari Capital
  • Authors of EIP4626

About

Yield seeking vaults.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published