Skip to content

Commit

Permalink
chore: add burn to ERC20Mintable
Browse files Browse the repository at this point in the history
  • Loading branch information
meetmangukiya committed Sep 13, 2024
1 parent 73be51a commit 8c98b76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/ERC20Mintable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ contract ERC20Mintable is ERC20 {
function mint(address account, uint256 amount) external {
_mint(account, amount);
}

function burn(uint256 amount) external {
_burn(msg.sender, amount);
}
}
1 change: 1 addition & 0 deletions test/e2e/Helper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ interface IAuthorizer {

interface IERC20Mintable is IERC20 {
function mint(address, uint256) external;
function burn(uint256) external;
}

contract Harness is GPv2Settlement {
Expand Down

0 comments on commit 8c98b76

Please sign in to comment.