Reference
The PoolTogether V5 code base breaks out every component into a composable system of contracts that all work together to create a permissionless hyperstructure for prize savings:
- Prize Pool - the core of the prize system
- Twab Controller - track weighted-average balances of depositors
- Twab Delegator - delegate a portion of deposits to other accounts
- Vaults - deposit and accrue yield
- Vault Booster - boost the prize power of a vault
- Liquidator - swap yield for prize tokens
- Prize Claimer - claim prizes on behalf of depositors
- Draw Auctions - keeps the prize machine ticking over everyday with a series of auctions
- Chainlink VRF V2 RNG - request RNG from Chainlink's VRF V2 service