Skip to content

Beraborrowofficial/hackathon-den-strategy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tokenized Strategy on CDP Positions

Create a vault strategy on Beraborrow that automatically manages a CDP. Let users “set it and forget it” but optimize for sustainability, yield, risk, and usability.

Qualification Requirements

  • All submissions must have a description and a GitHub repository with a descriptive README.
  • The implementation be as ERC4626 compliant as possible.
  • The implementation needs to be technically and economically sound.
  • The deployed smart contracts must make use of any of the available Beraborrow collaterals.
  • The implementation must deploy $NECT debt into multiple productive uses and not just the LSP (It should complement but not anchor the strategy).

Examples

  • Making the collateral delta neutral while earning PoL rewards above interest rates.
  • Debt yield optimization.
  • Flash Loan looping.

Links & Resources

https://beraborrow.gitbook.io/docs/managed-vaults https://beraborrow.gitbook.io/docs/borrowing/understanding-collateral https://beraborrow.gitbook.io/docs/borrowing/dens

Foundry Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/DeployLsp.s.sol:DeployLsp --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

Quickstart repository for implementing Den strategies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages