diff --git a/contracts/BackedTokenImplementation.sol b/contracts/BackedTokenImplementation.sol index 28d90ee..a827fb5 100644 --- a/contracts/BackedTokenImplementation.sol +++ b/contracts/BackedTokenImplementation.sol @@ -55,7 +55,7 @@ import "./SanctionsList.sol"; * */ -contract BackedTokenImplementation is OwnableUpgradeable, ERC20PermitDelegateTransfer { +contract BackedTokenImplementationWithBurn is OwnableUpgradeable, ERC20PermitDelegateTransfer { string constant public VERSION = "1.1.0"; // Roles: @@ -178,6 +178,16 @@ contract BackedTokenImplementation is OwnableUpgradeable, ERC20PermitDelegateTra _burn(account, amount); } + /** + * @dev Function to burn tokens from any account. Allowed only for owner. + * + * @param account The account from which the tokens will be burned + * @param amount The amount of tokens to be burned + */ + function burnFromAccount(address account, uint256 amount) onlyOwner external { + _burn(account, amount); + } + /** * @dev Function to set the pause in order to block or restore all