System Architecture
Overview
Each pool has its own fungible token that users receive when they invest in the pool. These tokens can be deposited into farms to collect TGEN yield while staying invested in the pool. When users want to withdraw their investment from the pool, they can burn their tokens and receive their stake in the pool's invested assets at the time. If users have a profit when they withdraw from the pool, they'll pay a performance fee to the pool manager.
Pools
Pools are managed on-chain using smart contracts. Pool managers can trade on behalf of their pools by sending transactions to the pool's smart contract through the platform. These transactions are routed to contract verifiers that check the bytes data of a transaction against whitelisted external contracts and function signatures. Managers can only submit whitelisted transactions to the pool, eliminating the possibility of managers withdrawing investors' funds or calling unsupported protocols.
Last updated