Function: burn(address _debtor, uint256 _burnAmount)
Available only for minters. Allows to burn debt tokens from any _debtor account.
Inputs
_debtorConstraints:
_debtor != address(0).Impact: The debtor account from which debt tokens will be burned.
_burnAmountConstraints: Cannot be zero.
Impact: The number of debt tokens will be burned.
Branches and code coverage
Intended branches
The
burnwas executed properly
Negative behavior
Caller is not a minter.
The
_burnAmountis invalidThe
_debtoris zero addressburnzero amount