Mick de Graaf
- No possibility for metagovernance
- Lots of token transfers == high gas cost
- Could not support some tokens
- General lack of flexibility
- Purpose build contracts are often not versatile
- Audits take long and are expensive
- DeFi moves fast and so should we
- Single contract having all functionality quickly run into size limits.
- Versatility
- Fast iteration cycle
- Low audit cost and short duration
- A "Facet" per functionality type
- Can have many facets
- Good code separation
- Easy to upgrade
- New facets for extra functionality
Invented by Nick Mudge
- ERC20Facet
- BasketFacet
- CallFacet
- Balances
- Allowances
- Approvals
- Transfers
- Token Name
- Token Symbol
- Minting
- Burning
- Track underlying assets
- Joining (minting pie)
- Exiting (burning pie)
- Adding tokens
- Removing facets
- Entry fee
- Exit fee
- Streaming fee
- Allow arbitrary transactions from the Pie
- Adding callers
- Removing callers
- Calling back into the Pie
- Can execute whitelisted functions from the Pie
- Lending/StakingManager
- RSI Manager
https://github.com/pie-dao/ExperiPie
https://beta.piedao.org/