Badger-Finance / badger-strategies

5 stars 1 forks source link

[MACRO] Big Goals Issue #55

Open GalloDaSballo opened 2 years ago

GalloDaSballo commented 2 years ago

Context

Some challenges in DeFi take time, this issues wants to collect some thoughts about ways in which we can address them

GalloDaSballo commented 2 years ago

Self Custodial Vaults (BadgerPro)

Code: No Code Yet

Champion: This Campaign is free

We can achieve self-custodial Vaults by having:

Vaults-Factory: Deploys logic and gives ownership to caller GuestList Factory: Deploy GuestList and limit it to allow self-custodiality Strategy-Factory: Deploy the Strategy logic (ultimately a basic clone)

https://miro.com/app/board/uXjVO0TSjlE=/?share_link_id=596290579910

Upside

Allows self-custody and administration of funds and strategy, very similarly to permissioneless pools on Fuse

Downside

Some functionality may be limited, especially around upgradeability and migration of strategies, for that reason certain strategies (lockers) will have to be written in a different way

TODO

[] Vault Factory [] Strategy Factory [] Guestlist Factory

GalloDaSballo commented 2 years ago

OnChain Rewards

Code: https://github.com/GalloDaSballo/badger-onchain-rewards

Champion: @GalloDaSballo

Fully onChain Rewards distribution based on linear vesting.

Used to fairly distribute rewards accrued from emitting vaults / strategies

TODO:

[X] Solve for Vault emitting itself / Vault token being on RewardsManager [] Do a Trial Run [X] Audit

GalloDaSballo commented 2 years ago

OnChain Boosted Rewards

Code: https://github.com/GalloDaSballo/Boosted-Rewards

Extension of OnChain Rewards with Boosted Locker and Boosted Rewards to allow to bring BadgerBoost fully onChain

TODO

Cannot strat until RewardsManager is done

GalloDaSballo commented 2 years ago

Fair Selling

Code: https://github.com/GalloDaSballo/fair-selling

Champion: @GalloDaSballo

OnChain Pricing of tokens, finding optimal swaps, integrating with cowswap

Also: BribesProcessor, minimize Multisig Privilege but allow processing of tokens via specific paths

Additional Notes: https://mint-salesman-909.notion.site/OnChain-Pricer-7687a2f7ab28444ab04f835ffb364a99

TODO

[X] Price UniV3 [X] Price Balancer [X] WETH Based Pricing (from X to WETH to Y instead of from X to Y) [] Price Feed integration (From X to Feed to Y) [X] One Contract for Swap Execution [] Cowswap Orders for Harvests

GalloDaSballo commented 2 years ago

Delta Neutral LP Farms

Based on:

https://lambert-guillaume.medium.com/how-to-deploy-delta-neutral-liquidity-in-uniswap-or-why-euler-finance-is-a-game-changer-for-lps-1d91efe1e8ac

Further Information:

https://www.cryptofootguns.com/p/pod-35-uniswap-and-panoptic-options