CoreContract Entity
Description
Represents a core contract in Azuro, linked to a specific liquidity pool. It manages the logic related to betting and outcomes and is a key component in the betting ecosystem.
Usage
This entity is essential when working with the core logic of betting systems. If you're developing features that involve interacting with the underlying smart contracts that handle bet placement and settlement, use this to access relevant contract data linked to the liquidity pool.
Attributes
Attribute | Type | Description |
---|---|---|
id | ID! | Unique identifier for the core contract. |
liquidityPool | LiquidityPoolContract! | Reference to the associated liquidity pool. |
address | String! | On-chain address of the core contract. |
type | String! | Type of core contract, indicating its function in the protocol. |