ton-blockchain / stablecoin-contract

Sample code for centralised stablecoin jetton. TEP-74 and TEP-89 compatible
146 stars 43 forks source link

TON's return with incorrect data #66

Closed skywardboundd closed 7 months ago

skywardboundd commented 8 months ago

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.

tolya-yanot commented 7 months ago

Should be fixed on DEX side