// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract DecreasingToken is ERC20 { uint256 public totalSupplyCap = 10000000000000 * (10 ** decimals()); // Example: 10 billion total supply uint256 public lastBurnTimestamp; // Tracks the last time tokens were burned uint256 public burnAmount = 200 * (10 ** decimals()); // 200 tokens to burn every 15 years uint256 public burnInterval = 15 * 365 days; // 15 years in seconds constructor() ERC20("DecreasingToken", "DCT") { _mint(msg.sender, totalSupplyCap); // Mint the total supply to the contract deployer lastBurnTimestamp = block.timestamp; // Initialize the last burn timestamp } function triggerBurn() public { require(block.timestamp >= lastBurnTimestamp + burnInterval, "Burn interval has not passed yet."); require(totalSupply() >= burnAmount, "Not enough tokens left to burn."); _burn(msg.sender, burnAmount); // Burn the specified amount of tokens lastBurnTimestamp = block.timestamp; // Update the last burn timestamp } function decimals() public view virtual override returns (uint8) { return 18; // Standard ERC-20 decimals } }

Withdrawn:
0.0000
Holders:
1
Already released:
-
Not yet released:
-
Active orders:
-
Created on:
29 Jan 2025
Active orders:
-
Release period:
- year(s)
Hourly installment:
-
Already released:
-
Holders:
1
Wallet on exchange:
10 000 000.0000
Withdrawn:
0.0000
Sold on the market:
0.0000
Not yet released:
-
Direct buy volume:
0
Latest News
The token creator has not added any posts yet.
Top Holders
Trader Amount
Bounty Campaigns
Token Shop