modified buyer to send to minter on swap
This commit is contained in:
parent
c541e58374
commit
bae1159720
1 changed files with 4 additions and 2 deletions
|
|
@ -85,7 +85,8 @@ while True:
|
||||||
'PulseX_v2',
|
'PulseX_v2',
|
||||||
[wpls_address, pdai_address],
|
[wpls_address, pdai_address],
|
||||||
estimated_swap_result,
|
estimated_swap_result,
|
||||||
slippage_percent
|
slippage_percent,
|
||||||
|
wallet_b_address
|
||||||
):
|
):
|
||||||
logging.info("Swapped {} PLS to pDAI".format(buy_with_amount_pls))
|
logging.info("Swapped {} PLS to pDAI".format(buy_with_amount_pls))
|
||||||
else:
|
else:
|
||||||
|
|
@ -116,7 +117,8 @@ while True:
|
||||||
'PulseX_v2',
|
'PulseX_v2',
|
||||||
[wpls_address, pusdc_address],
|
[wpls_address, pusdc_address],
|
||||||
estimated_swap_result,
|
estimated_swap_result,
|
||||||
slippage_percent
|
slippage_percent,
|
||||||
|
wallet_b_address
|
||||||
):
|
):
|
||||||
logging.info("Swapped {} PLS to pUSDC".format(buy_with_amount_pls))
|
logging.info("Swapped {} PLS to pUSDC".format(buy_with_amount_pls))
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue