beforeSwap

triggered before a swap is done, allows you to configure the swap