mirror of
https://github.com/jaxperro/winning-wallet-finder.git
synced 2026-07-27 15:57:47 +00:00
probe: approve_erc20 correct kwargs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user