Expand description
EIP-712 order signing for the Polymarket CTF Exchange.
Orders on Polymarket are signed typed structured data (EIP-712) against the CTF Exchange contract on Polygon. Two exchange contracts exist:
CTF_EXCHANGE: Standard binary markets.NEG_RISK_CTF_EXCHANGE: Negative-risk (multi-outcome) markets.
Both share the same EIP-712 domain name and version; only the
verifyingContract differs.
Structs§
- Clob
Auth - Order
- Order
Signer - EIP-712 order signer for the Polymarket CTF Exchange.
Constants§
- CTF_
EXCHANGE - CTF Exchange contract address on Polygon mainnet (CLOB V2).
- NEG_
RISK_ CTF_ EXCHANGE - Neg Risk CTF Exchange contract address on Polygon mainnet (CLOB V2).
Functions§
- sign_
clob_ auth - Signs a ClobAuth EIP-712 message for L1 API authentication.