Skip to content

FluidDexFactory ​

Git Source

Inherits:DexFactoryCore, DexFactoryAuth, DexFactoryDeployment

creates Fluid dex protocol dexes, which are interacting with Fluid Liquidity to deposit / borrow funds. Dexes are created at a deterministic address, given an incrementing dexId (see getDexAddress()). Dexes can only be deployed by allow-listed deployer addresses.

Note the deployed dexes start out with no config at Liquidity contract. This must be done by Liquidity auths in a separate step, otherwise no deposits will be possible. This contract is not upgradeable. It supports adding new dex deployment logic contracts for new, future dexes.

Functions ​

constructor ​

solidity
constructor(address owner_) DexFactoryCore(owner_);