XfaiFactory

The Xfai Factory Contract

The Factory contract's role is to create new Xfai Pools, as well as to inform Xfai pools on the current Core contract address. If the pools are contacted by a contract, that according to the Factory is not the current Core contract, then access to state modifying functions is restricted. This decoupling of state and execution logic allows Xfai to easily swap Core contracts with upgraded versions, without having to migrate liquidity to new pools.

For a more in depth exploration of the architectural aspects of Xfai, visit the Architecture section:

🔵pageArchitecture

Last updated