Reference
The PoolTogether code base breaks out every component into a composable system of contracts that all work together to create a permissionless hyperstructure for prize savings:
- Draw Manager - keeps the prize machine ticking over everyday with a series of auctions
- Liquidator - swap yield for prize tokens
- Prize Claimer - claim prizes on behalf of depositors
- Prize Pool - the core of the prize system
- Prize Vault - deposit and win prizes
- Twab Controller - track weighted-average balances of depositors
- Twab Delegator - delegate a portion of deposits to other accounts
- Twab Rewards - permissionlessly create a stream of token rewards to depositors
- Vault Booster - boost the prize power of a vault