Architecture
The Timeless smart contract system is made up of three components:
- Core: Handles yield tokenization, yield claiming, and deploying PYT & NYT.
- Swapper: Called by the user to swap between xPYT, NYT, and the underlying asset.
- xPYT: Auto-compounding vaults for PYTs.
Furthermore, Swapper and xPYT both depend on an external decentralized exchange (Uniswap v3 is currently supported).