Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
601 B
601 B
Assets
Stores the addresses of the ERC20 collateral and ERC155 outcome tokens.
constructor
Initializes the contract, setting the collateral token address and ctf token address state variables. Also approves the ctf contract to spend usdc on the contract's behalf.
Parameters:
address _collateral // collateral token (ERC20)
address _ctf // ctf outcome token (ERC1155)
getCollateral
Gets the stored collateral address.
Returns:
address // collateral token address
getCtf
Gets the stored ctf address.
Returns:
address // ctf address