modified buyer to send to minter on swap

This commit is contained in:
Alexander 2024-07-24 11:08:11 -04:00
parent c541e58374
commit bae1159720

View file

@ -85,7 +85,8 @@ while True:
'PulseX_v2',
[wpls_address, pdai_address],
estimated_swap_result,
slippage_percent
slippage_percent,
wallet_b_address
):
logging.info("Swapped {} PLS to pDAI".format(buy_with_amount_pls))
else:
@ -116,7 +117,8 @@ while True:
'PulseX_v2',
[wpls_address, pusdc_address],
estimated_swap_result,
slippage_percent
slippage_percent,
wallet_b_address
):
logging.info("Swapped {} PLS to pUSDC".format(buy_with_amount_pls))
else: