2023-03-25 12:14:46 +01:00
|
|
|
|
@subsection Minter
|
|
|
|
|
|
|
|
|
|
Attached to @code{ERC20} and @code{ERC721} tokens that may be minted.
|
|
|
|
|
|
|
|
|
|
Implements the @code{mint(...)} and @code{safeMint(...)} parts of @code{ERC5679} for interoperability.
|
|
|
|
|
|
2023-08-02 11:19:33 +02:00
|
|
|
|
@subsubsection ERC165 Interface identifier
|
|
|
|
|
|
2023-03-25 12:14:46 +01:00
|
|
|
|
@include ../../build/Minter.interface
|
2023-08-02 11:19:33 +02:00
|
|
|
|
|
|
|
|
|
@subsubsection Solidity interface definition
|
|
|
|
|
|
2023-03-25 12:14:46 +01:00
|
|
|
|
@include ../../build/contract_Minter.texi
|
2023-08-02 11:19:33 +02:00
|
|
|
|
|
|
|
|
|
@subsubsection Example implementation
|
|
|
|
|
|
2023-03-25 12:14:46 +01:00
|
|
|
|
@uref{https://git.grassecon.net/cicnet/erc20-demurrage-token.git}
|