As the title states, is it possible, to burn tokens that are in the balance of a contract? I made a mini game where the person who calls the external function, it suppose to burn the tokens in the contracts balance. I made 1 external function, that is the function for the user to call and 1 internal function that is executed when the external function is called. I did this on purpose, so that msg.sender is the contract. However, i receive unsufficient allowance when the external function is called. But why is allowance needed? The msg.sender for the internal call will be the contract its self, since when does it needs allowance for its self?
Is it even possible to get it working, to make a user call a function in the contract, that makes the contract burn its token balance?