cic-contracts/solidity/Minter.sol

20 lines
733 B
Solidity
Raw Normal View History

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
// File-version: 2
2021-05-10 09:13:22 +02:00
2023-03-25 13:32:56 +01:00
interface IMinter {
// 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);
// 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);
// 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
}