Skip to main content

Module eip712

Module eip712 

Source
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:

Both share the same EIP-712 domain name and version; only the verifyingContract differs.

Structs§

ClobAuth
Order
OrderSigner
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.