Info

Pool Contract

The Solidex Pool contract is the central unit that tracks liquidity provider shares and manages funds, including token transfer capabilities. It is the primary interface for depositors, containing all necessary functions for entering and exiting positions. This contract is immutable, embedding the minimum necessary logic to allow for flexibility in future protocol development. The Solidex Pool contract adheres to a Tokenized Vault Standard (similar to ERC-4626), implementing the full interface defined in the specification.

Permits

For user convenience, the Solidex Pool implements depositWithPermit and mintWithPermit functions. These allow users to deposit in a single transaction without needing to approve tokens beforehand, streamlining the investment process. This feature is an extension of the standard tokenized vault model.

Solidex Specific Behaviors

While the Solidex Pool is designed to be compliant with the tokenized vault standard, certain adaptations are necessary to align with our specific use case of investing in US Treasury bonds.

Withdrawals

Withdrawing from the Solidex Pool is optimized through a redeem function rather than a direct withdraw call. This is due to the accruing mechanism used and the fact that the value of LP tokens increases over time. The redeem function allows users to exit with the exact number of shares they wish to liquidate, ensuring a fair and accurate withdrawal process.

Last updated