🏗 Protocol architecture

Contracts Architecture
The Crouton.finance stable swap system is composed of the following smart contracts:
Factory
: The central contract responsible for deploying other system contracts and managing various system parameters.Vault
andNativeVault
: Contracts designed to store Jettons or TON assets, with one vault deployed per asset.Pool
: Implements the core logic for token swaps and managing the liquidity pool's state. Additionally, it functions as the Jetton Master for LP tokens.LiquidityDeposit
: A temporary intermediary contract created for each user during liquidity deposits.Oracle
: A contract used in pools where token exchange rates are not constant, providing the necessary rate data.
Last updated