2023-03-25 12:14:46 +01:00
|
|
|
|
@subsection Burner
|
|
|
|
|
|
|
|
|
|
Attached to @code{ERC20} and @code{ERC721} tokens that may be @emph{burned}.
|
|
|
|
|
|
|
|
|
|
Implements the @code{burn(...)} part 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/Burner.interface
|
2023-08-02 11:19:33 +02:00
|
|
|
|
|
|
|
|
|
@subsubsection Solidity interface definition
|
|
|
|
|
|
2023-03-25 12:14:46 +01:00
|
|
|
|
@include ../../build/contract_Burner.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}
|