Skip to content

Instantly share code, notes, and snippets.

@J9112
J9112 / MiBillonToken.sol
Created May 2, 2025 20:39
Token ERC-20 deflacionario del 1%
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract MiBillonToken is ERC20("MiBillonToken", "MBT"), Ownable(msg.sender) {
constructor() {
uint256 supplyInicial = 1000000000 * 10 ** decimals();
_mint(msg.sender, supplyInicial);