Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth provides Polymarket authentication primitives — L0 / L1 / L2 auth, EIP-712 signing, deposit-wallet CREATE2 derivation, and builder attribution.
|
Package auth provides Polymarket authentication primitives — L0 / L1 / L2 auth, EIP-712 signing, deposit-wallet CREATE2 derivation, and builder attribution. |
|
Package cli builds the polygolem Cobra command tree and wires command handlers to typed protocol, execution, and safety packages.
|
Package cli builds the polygolem Cobra command tree and wires command handlers to typed protocol, execution, and safety packages. |
|
Package clob is the CLOB API client — full read plus authenticated surface, EIP-712, POLY_1271, and ERC-7739 signing paths.
|
Package clob is the CLOB API client — full read plus authenticated surface, EIP-712, POLY_1271, and ERC-7739 signing paths. |
|
Package config loads polygolem configuration via Viper — defaults, environment binding, file overrides, validation, and credential redaction.
|
Package config loads polygolem configuration via Viper — defaults, environment binding, file overrides, validation, and credential redaction. |
|
Package dataapi is the read-only Polymarket Data API client — positions, volume, trades history, and leaderboards.
|
Package dataapi is the read-only Polymarket Data API client — positions, volume, trades history, and leaderboards. |
|
Package errors provides structured error types and code helpers used across polygolem clients and command handlers.
|
Package errors provides structured error types and code helpers used across polygolem clients and command handlers. |
|
Package execution defines the executor interface and ships the paper-mode implementation.
|
Package execution defines the executor interface and ships the paper-mode implementation. |
|
Package gamma is the typed Gamma HTTP client used internally by polygolem — markets, events, search, tags, series, sports, comments, and profiles.
|
Package gamma is the typed Gamma HTTP client used internally by polygolem — markets, events, search, tags, series, sports, comments, and profiles. |
|
Package marketdiscovery provides high-level market discovery by joining Gamma metadata with CLOB tick-size and orderbook details.
|
Package marketdiscovery provides high-level market discovery by joining Gamma metadata with CLOB tick-size and orderbook details. |
|
Package modes parses and gates the polygolem operating modes — read-only, paper, and live.
|
Package modes parses and gates the polygolem operating modes — read-only, paper, and live. |
|
Package orders defines OrderIntent, the fluent builder, validation rules, and order lifecycle states used by both paper and live executors.
|
Package orders defines OrderIntent, the fluent builder, validation rules, and order lifecycle states used by both paper and live executors. |
|
Package output renders command results as either tables or stable JSON envelopes and emits structured error responses.
|
Package output renders command results as either tables or stable JSON envelopes and emits structured error responses. |
|
Package paper holds local-only paper-trading state — positions, fills, and persisted snapshots.
|
Package paper holds local-only paper-trading state — positions, fills, and persisted snapshots. |
|
Package polytypes holds the Polymarket protocol-level types shared across CLOB, Gamma, Data API, and stream clients.
|
Package polytypes holds the Polymarket protocol-level types shared across CLOB, Gamma, Data API, and stream clients. |
|
Package preflight runs local and remote readiness probes before polygolem performs any state-changing operation.
|
Package preflight runs local and remote readiness probes before polygolem performs any state-changing operation. |
|
Package relayer is the builder relayer client — WALLET-CREATE, WALLET batch, nonce reads, and operation polling.
|
Package relayer is the builder relayer client — WALLET-CREATE, WALLET batch, nonce reads, and operation polling. |
|
Package risk provides per-trade caps, daily loss limits, and the circuit breaker that gates live order submission.
|
Package risk provides per-trade caps, daily loss limits, and the circuit breaker that gates live order submission. |
|
Package rpc provides direct on-chain helpers for Polygon operations — primarily ERC-20 pUSD transfers from an EOA used by deposit-wallet funding.
|
Package rpc provides direct on-chain helpers for Polygon operations — primarily ERC-20 pUSD transfers from an EOA used by deposit-wallet funding. |
|
Package stream provides typed WebSocket clients for Polymarket CLOB market streams with reconnect and event deduplication.
|
Package stream provides typed WebSocket clients for Polymarket CLOB market streams with reconnect and event deduplication. |
|
Package transport is the shared HTTP client layer — retry, rate limiting, circuit breaking, and credential redaction.
|
Package transport is the shared HTTP client layer — retry, rate limiting, circuit breaking, and credential redaction. |
|
Package wallet re-exports pkg/wallet as a compatibility shim.
|
Package wallet re-exports pkg/wallet as a compatibility shim. |
Click to show internal directories.
Click to hide internal directories.