Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Polymarket/ctf-exchange/llms.txt
Use this file to discover all available pages before exploring further.
Overview
TheAssets mixin stores the addresses of the ERC20 collateral token and ERC1155 Conditional Token Framework (CTF) contract. It initializes these immutable addresses during construction and provides getter functions to retrieve them.
Source: src/exchange/mixins/Assets.sol
State Variables
collateral
ctf
Constructor
Parameters
_collateral(address): The ERC20 collateral token address_ctf(address): The ERC1155 CTF outcome token address
Functions
getCollateral
Returns
address: The collateral token address
getCtf
Returns
address: The CTF contract address