Protocol Overview

The main infrastructure of the protocol is formed by the following smart contracts:
  • ​Factory. Contains functions for deploying Pools and associated Betting Engines. Owned by Azuro DAO.
  • ​LP. Serves as the main entry point for a Pool's logic. This contract contains all the core logic of the Pool and the liquidity pool for providing bets. Owned by its creator.
  • ​Access. Enables the Pool's owner to easily control access to the pool's contracts' functions. Owned by the Pool's owner.
  • ​Betting Engines. Encompass the logic of creating Conditions, accepting bets, computing payouts for bets, and calculating Affiliate rewards. These contracts can be connected to the Pool by its owner in an unlimited number. Owned by the Pool's owner.
Additional tools that do not affect the Pool's logic:
  • ​FreeBet. A tool that enables granting free bets to any user.
  • ​SafeOracle. Azuro dispute resolution system for Condition results.
Below are simplified diagrams of how the Factory contract works and the Pools created using it:
Creating a Pool using a Factory contract and pre-configuring the Pool
Simplified Betting Engine workflow
Last modified 26d ago