mirror of
git://holbrook.no/erc20-demurrage-token
synced 2026-05-24 20:26:17 +02:00
Add total burned method
This commit is contained in:
@@ -509,6 +509,11 @@ contract DemurrageTokenSingleCap {
|
||||
return supply - burned;
|
||||
}
|
||||
|
||||
// Return total number of burned tokens
|
||||
function totalBurned() public view returns (uint256) {
|
||||
return burned;
|
||||
}
|
||||
|
||||
// Implements EIP165
|
||||
function supportsInterface(bytes4 _sum) public pure returns (bool) {
|
||||
if (_sum == 0xc6bb4b70) { // ERC20
|
||||
|
||||
Reference in New Issue
Block a user