2021-05-10 09:13:22 +02:00
|
|
|
pragma solidity >=0.6.12;
|
|
|
|
|
|
|
|
// Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
|
2023-03-25 13:32:56 +01:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-03-25 12:14:46 +01:00
|
|
|
// File-version: 2
|
2021-05-10 09:13:22 +02:00
|
|
|
|
2023-03-25 13:32:56 +01:00
|
|
|
interface IMinter {
|
2023-03-25 12:14:46 +01:00
|
|
|
// Tokens are successfully minted; by who, to whom and how much
|
2021-05-10 09:13:22 +02:00
|
|
|
event Mint(address indexed _minter, address indexed _beneficiary, uint256 value);
|
|
|
|
|
2023-08-01 17:07:31 +02:00
|
|
|
// The given token has been successfully minted; by who, to whom and how much
|
|
|
|
event Mint(address indexed _minter, address indexed _beneficiary, address indexed _token, uint256 value);
|
|
|
|
|
2021-10-23 20:42:52 +02:00
|
|
|
// Mint the specified value of tokens to the specified recipient
|
2021-05-10 09:13:22 +02:00
|
|
|
function mintTo(address _beneficiary, uint256 value) external returns (bool);
|
2023-03-25 12:14:46 +01:00
|
|
|
|
|
|
|
// Satisfies ERC5679 for ERC20
|
|
|
|
function mint(address _beneficiary, uint256 value, bytes calldata _data) external;
|
|
|
|
|
|
|
|
// Satisfies ERC5679 for ERC721
|
|
|
|
function safeMint(address _beneficiary, uint256 value, bytes calldata _data) external;
|
2021-05-10 09:13:22 +02:00
|
|
|
}
|