// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; contract SLDCOIN is ERC20, ERC20Burnable, Ownable { uint256 public constant TOTAL_SUPPLY = 1_000_000 * 10**18; // 1 Million Tokens uint256 public marketingFee = 5; uint256 public liquidityFee = 5; uint256 public reflectionsFee = 7; // Reduced from 10% to 7% uint256 public holderRewardsFee = 2; uint256 public tradeCooldown = 30; // 30 seconds cooldown per trade mapping(address => bool) private excludedFromFees; mapping(address => uint256) private lastTradeTime; constructor() ERC20("SLDCOIN", "SLD") { _mint(msg.sender, TOTAL_SUPPLY); excludedFromFees[msg.sender] = true; // Exclude owner from fees } function _transfer(address sender, address recipient, uint256 amount) internal override { require(block.timestamp >= lastTradeTime[sender] + tradeCooldown, "Cooldown active, wait before trading again"); if (excludedFromFees[sender] || excludedFromFees[recipient]) { super._transfer(sender, recipient, amount); } else { uint256 marketingAmount = (amount * marketingFee) / 100; uint256 liquidityAmount = (amount * liquidityFee) / 100; uint256 reflectionsAmount = (amount * reflectionsFee) / 100; uint256 holderRewardsAmount = (amount * holderRewardsFee) / 100; uint256 transferAmount = amount - (marketingAmount + liquidityAmount + reflectionsAmount + holderRewardsAmount); super._transfer(sender, owner(), marketingAmount); super._transfer(sender, address(this), liquidityAmount + reflectionsAmount); super._transfer(sender, recipient, transferAmount); } lastTradeTime[sender] = block.timestamp; } function setFees(uint256 _marketing, uint256 _liquidity, uint256 _reflections, uint256 _holderRewards) external onlyOwner { marketingFee = _marketing; liquidityFee = _liquidity; reflectionsFee = _reflections; holderRewardsFee = _holderRewards; } function excludeFromFees(address account, bool excluded) external onlyOwner { excludedFromFees[account] = excluded; } function setCooldown(uint256 _cooldown) external onlyOwner { tradeCooldown = _cooldown; } }

Retirado:
0.0000
Propietarios
1
Ya liberado:
-
No liberados aún:
-
Ordenes activas:
-
Creado el:
19 Feb 2025
Ordenes activas:
-
Período de liberación:
- año(s)
Cuota por hora:
-
Ya liberado:
-
Propietarios
1
Saldo del creador
9 999 900.0000
Retirado:
0.0000
Vendido en el mercado:
0.0000
No liberados aún:
-
Volumen de compras directas:
0
Últimas noticias
El creador del token no ha añadido ninguna publicación todavía.