10 Commits

Author SHA1 Message Date
jaxperro ca6661cb94 docs+cleanup: HANDOFF rev 5 (placement proven), gotcha 16, key self-revoke
Critical path closed: bridge conversion ($24.73→pUSD, fee-free), executor
ported and round-trip proven ($5 FAK both legs), armed bot restarted clean.
README gains gotcha 16 (pUSD stack: paused native-USDC onramp, bridge is
the sanctioned conversion, builder-key revocation semantics) + bridge/
relayer data-source rows. Probe & wrap scripts atexit-revoke their builder
keys (9 inert ones accumulated during bring-up).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 01:19:57 -04:00
jaxperro 0cf163abe5 host: flatten_positions.py + probe polls the indexer
First live fill (2026-07-10, $5 @ 0.68 UFC 329 main): buy leg FILLED on the
unified SDK but the probe's fixed 3s wait beat the data-api indexer, so the
sell-back never ran. Probe now polls up to 60s; flatten_positions.py is the
standalone sell-everything utility (and the emergency flatten).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 01:06:03 -04:00
jaxperro 67d2c00843 fly image: add unified SDK; probe reads positions from client.wallet
polymarket-client==0.1.0b16 baked into the worker image (py-clob-client
stays for legacy read paths). Probe: drop the manual-wrap block (bankroll
already converted to pUSD via the bridge — the onramp pauses native USDC)
and stop reading positions from LIVE_FUNDER_ADDRESS (the emptied legacy
proxy); the SDK-resolved deposit wallet is the position holder now.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 00:36:47 -04:00
jaxperro fa7968d0bb probe: gasless approve+wrap of full USDC balance via the public wrapper periphery
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:42:34 -04:00
jaxperro 0ef5b9c2a2 probe: approve_erc20 correct kwargs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:39:30 -04:00
jaxperro aab3d1c965 probe: approve native USDC to the collateral contract (wrap-at-match path)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:38:53 -04:00
jaxperro a34b40e69f probe v2: setup_trading_approvals before first order (the SDK's onboarding call)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:37:08 -04:00
jaxperro f7b38f6f54 probe v2: in-process builder key for allowance recovery on first order
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:28:18 -04:00
jaxperro 222bc0b80d probe v2: let the SDK derive the Deposit Wallet (maker-not-allowed fix)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:20:57 -04:00
jaxperro 8791591b48 order probe v2: new unified SDK (polymarket-client) — old client archived, orders 400
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:19:29 -04:00