// SPDX-License-Identifier: MIT pragma solidity ^0.7.1; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Senorita is ERC20, Ownable { uint256 public constant INITIAL_SUPPLY = 1_000_000_000_000 * (10 ** 18); constructor() ERC20("Senorita", "SEN") Ownable(msg.sender) { _mint(msg.sender, INITIAL_SUPPLY); _allocateInitialSupply(); } function _allocateInitialSupply() internal { // Allocation percentages uint256 liquidityAllocation = (INITIAL_SUPPLY * 50) / 100; uint256 communityAllocation = (INITIAL_SUPPLY * 30) / 100; uint256 developmentAllocation = (INITIAL_SUPPLY * 10) / 100; uint256 founderAllocation = (INITIAL_SUPPLY * 10) / 100; // Distribute allocations to your wallet address address recipient = 0x158082B44b3d2A6b8EDf3978ab60ac3E2997133a; _transfer(msg.sender, recipient, liquidityAllocation); _transfer(msg.sender, recipient, communityAllocation); _transfer(msg.sender, recipient, developmentAllocation); _transfer(msg.sender, recipient, founderAllocation); } }
0.7.1