```solidity // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.0/contracts/token/ERC20/ERC20.sol"; contract AwkwardSealCoin is ERC20 { uint256 private _totalSupply; uint256 private _burnRate = 1; // 1% uint256 private _redistributionRate = 1; // 1% address private _owner; constructor(uint256 totalSupply) ERC20("AwkwardSealCoin", "AWK") { _totalSupply = totalSupply * 10**decimals(); _mint(msg.sender, _totalSupply); _owner = msg.sender; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from != address(0) && to != address(0)) { uint256 burnAmount = (amount * _burnRate) / 100; uint256 redistributionAmount = (amount * _redistributionRate) / 100; uint256 transferAmount = amount - burnAmount - redistributionAmount; _burn(from, burnAmount); _redistribute(from, redistributionAmount); } } function _redistribute(address from, uint256 amount) private { uint256 balance = balanceOf(from); uint256 redistributionAmount = (balance * amount) / _totalSupply; _transfer(from, msg.sender, redistributionAmount); } function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } function _burn(address account, uint256 amount) internal virtual override { require(account == _owner, "Only owner can burn tokens"); super._burn(account, amount); } } ``` Behold! A basic smart contract for your meme coin. A few things to note: * This contract inherits from OpenZeppelin's ERC20 contract, providing a secure and standardized base. * The `_burnRate` and `_redistributionRate` variables control the percentage of each transaction that is burned and redistributed, respectively. * The `_beforeTokenTransfer` function is called before each token transfer, allowing us to implement the burning and redistribution logic. Disclaimer: This contract is unaudited and should be used for educational purposes only. Before deploying to a production environment, it is highly recommended to have the contract audited by a professional.

Retiré
0.0000
Détenteurs:
1
Déjà déployé
-
Pas encore libéré:
-
Ordres actifs
8 711 107.0000
crée le:
02 May 2025
Ordres actifs
8 711 107.0000
Période de libération:
- année(s)
Paiement horaire:
-
Déjà déployé
-
Détenteurs:
1
1 288 893.0000
Retiré
0.0000
Vendu sur le marché:
0.0000
Pas encore libéré:
-
Volume d'achat direct:
0
Dernières nouvelles
Le créateur du jeton n'a ajouté aucun post pour l'instant.
Principaux détenteurs
Trader Montant
Bounty campaigns
Token shop