Recently I saw a case that the developers of one DEX wrote the exchange crookedly, as a result, the user just took off tons (because just throw when sending a larger number of tokens than the user has), I suggest sending a message with tones back with mod 64.
https://github.com/ton-blockchain/stablecoin-contract/blob/de08b905214eb253d27009db6a124fd1feadbf72/contracts/jetton-wallet.fc#L53
Recently I saw a case that the developers of one DEX wrote the exchange crookedly, as a result, the user just took off tons (because just throw when sending a larger number of tokens than the user has), I suggest sending a message with tones back with mod 64.