Skip to content

v4.0.0

Latest

Choose a tag to compare

@rsmarques rsmarques released this 22 Apr 09:56

v4.0.0

Major release introducing Order Book settlement alongside the existing AMM lifecycle, powered by a new Conditional Tokens stack and a NegRisk adapter for multi-outcome events.

Highlights

  • MyriadCTFExchange: on-chain order book exchange with matchOrdersWithFees / matchMultipleOrdersWithFees, order expiry, pause controls, and EIP-712 order signing
  • ConditionalTokens: ERC-1155 outcome token stack supporting mint, merge, and redemption flows
  • NegRiskAdapter: negative-risk / multi-outcome event support with shared collateral across outcomes
  • PredictionMarketV3ManagerCLOB: new manager contract to create and configure order book-settled markets
  • RealitioOracle: Realitio-based resolution oracle implementing IMarketOracle
  • FeeModule: configurable maker/taker fees with surplus fee handling
  • AdminRegistry: centralized admin role management with safe role revocation on admin change
  • WrappedCollateral: collateral wrapper to bridge ERC-20 into the CTF flow

New JS models

MyriadCTFExchangeContract, ConditionalTokensContract, PredictionMarketV3ManagerCLOBContract, FeeModuleContract, AdminRegistryContract