ton-blockchain / stablecoin-contract

Sample code for centralised stablecoin jetton. TEP-74 and TEP-89 compatible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No functionality to burn tokens by a user

TheSmartnik opened this issue · comments

Currently, the updated jetton_wallet contract doesn't allow to burn tokens by an owner

int is_from_master = equal_slices_bits(jetton_master_address, sender_address);
throw_unless(error::not_owner, is_from_master);

Not sure if it's intended or not. If yes I think README should be updated to reflect this difference between the original contract

Not sure if it's intended or not. If yes I think README should be updated to reflect this difference between the original contract

Only administrator can burn, it's by design