rs_order_utils 0.4.2

Rust implementation of Polymarket CLOB order utilities with EIP-712 signing
Documentation
1
2
3
4
5
6
7
8
9
10
11
use alloy_primitives::B256;

/// Protocol name for V2 EIP-712 domain (unchanged from V1).
pub const PROTOCOL_NAME: &str = "Polymarket CTF Exchange";

/// Protocol version for V2 EIP-712 domain (bumped from "1").
pub const PROTOCOL_VERSION: &str = "2";

/// Zero `bytes32` value. Used as default for `metadata` and `builder`
/// when the caller does not provide one.
pub const BYTES32_ZERO: B256 = B256::ZERO;