From 0ef5b9c2a2bb9fd6511e79fdf12c66560fd40b24 Mon Sep 17 00:00:00 2001 From: jaxperro Date: Thu, 9 Jul 2026 20:39:30 -0400 Subject: [PATCH] probe: approve_erc20 correct kwargs Co-Authored-By: Claude Fable 5 --- host/order_probe_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/order_probe_v2.py b/host/order_probe_v2.py index d1272e7f..b32df97f 100644 --- a/host/order_probe_v2.py +++ b/host/order_probe_v2.py @@ -76,7 +76,7 @@ with client: USDC = "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359" COLLAT = "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB" try: - h = client.approve_erc20(token_address=USDC, spender=COLLAT, amount=2**256 - 1) + h = client.approve_erc20(token_address=USDC, spender_address=COLLAT, amount="max") if h is not None and hasattr(h, "wait"): print(" USDC→collateral approval:", str(h.wait())[:150]) else: