State Variables¶
Storage¶
| Variable | Type | Description |
|---|---|---|
asset |
IERC20 |
USDC token address |
noToken |
IERC20 |
The NO share token on the prediction market venue |
marketId |
bytes32 |
Market identifier on the prediction market venue |
vault |
address |
Authorized vault address. Set at deployment, immutable. Only this address can call buyNoShares, sellNoShares, and claimSettlement. |
settled |
bool |
Whether the market has resolved |
settlementPrice |
uint256 |
Final resolution price (1e18 for NO win, 0 for YES win) |
Notes¶
vaultis immutable — set at construction and cannot be changedsettledandsettlementPriceare updated when the prediction market venue finalizes resolutionnoTokenandmarketIdare venue-specific; their interpretation depends on the underlying prediction market protocol