IERC20MintableBurnable.sol 613 Bytes
Newer Older
John Doe's avatar
John Doe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// SPDX-License-Identifier: MIT

pragma solidity =0.8.4;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/**
 * @dev Interface of the ERC20 standard with burn and mint .
 */
interface IERC20MintableBurnable is IERC20 {
    /**
    * @dev Burns a specific amount of tokens.
    * @param amount The amount of token to be burned.
    */
    function burn(uint256 amount) external;

    /**
    * @dev Function to mint tokens
    * @param to The address that will receive the minted tokens.
    * @param amount The amount of tokens to mint.
    */
    function mint(address to, uint256 amount) external;
}