From f38c69c3a92a3b4e14f26df53328813d59b6df2b Mon Sep 17 00:00:00 2001 From: Brandon Date: Mon, 7 Mar 2022 17:26:36 -0600 Subject: [PATCH] Fixed alphaswap abi conflict --- AlphaBot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AlphaBot.py b/AlphaBot.py index 64f1996..52363ac 100644 --- a/AlphaBot.py +++ b/AlphaBot.py @@ -3733,7 +3733,7 @@ def make_the_buy_exact_tokens(token_dict, inToken, outToken, buynumber, pwd, gas if settings["EXCHANGE"].lower() == 'alphaswap': printt_debug("make_the_buy_exact_tokens condition 1", write_to_log=True) - transaction = routerContract.functions.swapKCSForExactTokens( + transaction = routerContract.functions.swapETHForExactTokens( amount, [weth, outToken], Web3.toChecksumAddress(walletused), @@ -5413,4 +5413,4 @@ def runLoop(): nonce += 1 sleep(1) if nonce > timeout: - runLoop() \ No newline at end of file + runLoop()