Skip to content

code-423n4/2022-02-tribe-turbo

Repository files navigation

Tribe Turbo contest details

Scope

src/TurboMaster.sol (1 contracts) src/TurboSafe.sol (1 contracts) src/modules/* (4 contracts)

src/TurboRouter.sol (1 contracts) lib/ERC4626/src/ERC4626RouterBase.sol (1 contracts)

lib/solmate/src/mixins/ERC4626.sol (1 contract)

Note that ERC4626.sol is not fully up to date with EIP-4626. In particular it includes assetsOf and assetsPerShare which will be removed, and it is missing convertToShares and convertToAssets which should use identical logic to previewDeposit and previewRedeem for this contract, because the solmate vault has no slippage.

The default access control will allow the TurboRouter and TurboSavior to interface with the user Safes, but users can set their own access control policy by changing the "Authority" on their Safe.

Overview Videos

tribe-turbo

Fuse liquidity accelerator for friends of the Tribe.

Diagram

Terminology

  • boost: borrow fei and deposit it into an authorized vault
  • less: redeem fei from a deposited vault and repay fei loan
  • sweep: claim fei accrued as interest or other tokens laying idle in a safe
  • gib: impound the collateral of a safe (requires special auth from the master)
  • slurp: accrue fees earned on fei deposited in a vault and split them with the master

Getting Started

git clone https://github.com/fei-protocol/tribe-turbo.git
cd tribe-turbo
make

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages