Architecture
Flex Pools is a modular liquidity protocol designed for intent-based cross-chain execution. It allows solvers to borrow assets on one chain and return them on another using standardized borrow-and-return operations. These operations are carried out through a variety of secure whitelisted taker adapters to third-party providers.

The system is organized into enclaves – sets of EIP-4626 tokenized vaults deployed across multiple chains for a single logical asset. Each vault manages deposits, withdrawals, and share accounting on its respective chain. The vaults within an enclave are connected through a common infrastructure that handles cross-chain messaging and verification, leveraging event verifiers backed by oracles to ensure execution validity.
The protocol is designed to be composable, enabling integration with various taker adapters, event verifiers, and tuners defining fee models.
Last updated