Introduction to ZAI

Introduction to ZAI: A Framework for Stablecoin Systems

ZAI serves as a framework for creating systems capable of issuing stablecoins. These stablecoins not only act as a reliable source of collateral for other DeFi protocols—when compared to assets like ETH or BTC—but also function as a store of value, complete with an integrated funding rate.

For a comprehensive understanding of the ZAI framework, this documentation aims to detail each of its components. We strongly recommend reviewing Reflexer's original whitepaper as a precursor to this documentation.

Core Differentiators of ZAI from GEB

ZAI is an enhanced fork of GEB, but it comes with several key distinctions:

  • Advanced System Parameter Controls: ZAI features refined mechanisms for managing system parameters, offering superior flexibility and control.
  • Enhanced Deployment and Upgradeability: The framework allows for streamlined deployment and upgrades, simplifying system maintenance.
  • Robust Testing and Simulation Suite: ZAI includes an upgraded testing and simulation environment, aiding in the identification and mitigation of system risks.
  • Emphasis on Multi-Collateral Operations: ZAI is designed with a focus on handling multiple types of collateral, broadening its application scope.
  • Inclusion of Factories for Common Contract Types: The framework comes with pre-built factories for commonly used contract types, reducing the operations needed for collateral setup.
  • Standardized Methods and Contract Utilities: ZAI standardizes the way contracts and methods are utilized, making it easier for developers to generate changes across the system.
  • Revamped Contract Interactions: The framework restructures the way contracts communicate with each other, leading to more efficient and reliable operations.

By incorporating these features, ZAI aims to provide a more advanced, reliable, and user-friendly stablecoin system.