creation_sourcecode: // SPDX-License-Identifier: UNLICENSE
  
  /**
  My name is Herox.
  Website: https://herox.fun/
  Telegram: https://t.me/herox_erc20
  **/
  
  
  pragma solidity 0.8.25;
  
  interface IERC20 {
      function totalSupply() external view returns (uint256);
  
      function balanceOf(address account) external view returns (uint256);
  
      function allowance(address owner, address spender) external view returns (uint256);
  
      function transfer(address recipient, uint256 amount) external returns (bool);
  
      function approve(address spender, uint256 amount) external returns (bool);
  
      function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
  
      event Transfer(address indexed from, address indexed to, uint256 value);
      event Approval(address indexed owner, address indexed spender, uint256 value);
  }
  
  
  contract Context {
      // Empty internal constructor, to prevent people from mistakenly deploying
      // an instance of this contract, which should be used via inheritance.
      constructor () { }
  
      function _msgSender() internal view returns (address payable) {
          return payable(msg.sender);
      }
  
  
  }
  
  contract ReentrancyGuard {
      bool private locked;
  
      constructor() {
          locked = false;
      }
  
      modifier nonReentrant() {
          require(!locked, "Reentrant call");
          locked = true;
          _;
          locked = false;
      }
  }
  
  contract Ownable is Context {
      address private _owner;
  
      event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  
      constructor () {
          address msgSender = _msgSender();
          _owner = msgSender;
          emit OwnershipTransferred(address(0), msgSender);
      }
  
      function owner() public view returns (address) {
          return _owner;
      }
  
      modifier onlyOwner() {
          require(_owner == _msgSender(), "onlyOwner");
          _;
      }
  
      function renounceOwnership() external onlyOwner {
          emit OwnershipTransferred(_owner, address(0));
          _owner = address(0);
      }
  
  }
  
  contract PercentWalletLimit is Ownable {
      mapping(address => bool) public addressesLiquidity;
      event PercentsWalletLimitSet(uint256 _percentWalletLimit);
      uint256 private _percentWalletLimits = 100;
      function getPercentsWalletLimit() public view returns (uint256) {
          return _percentWalletLimits;
      }
      function setPercentsWalletLimit(uint256 _percentWalletLimit) external onlyOwner {
          require(_percentWalletLimit <= 100, "PercentsWalletLimit > 100");
          _percentWalletLimits = _percentWalletLimit;
          emit PercentsWalletLimitSet(_percentWalletLimit);
      }
  }
  
  
  contract HEROX is Context, IERC20, PercentWalletLimit, ReentrancyGuard {
  
  
      mapping(address => uint256) private _balances;
      mapping(address => mapping(address => uint256)) private _allowances;
      uint256 private _totalSupply;
      uint8 public immutable _decimals;
      string public _symbol;
      string public _name;
      constructor() {
          _name = "HEROX";
          _symbol = "HEROX";
          _decimals = 18;
          _totalSupply = 420690e6 * 1e18;
          _balances[msg.sender] = _totalSupply;
          emit Transfer(address(0), msg.sender, _totalSupply);
      }    
  
  
      function getOwner() external view returns (address) {
          return owner();
      }
  
      function decimals() external view returns (uint8) {
          return _decimals;
      }
  
      function symbol() external view returns (string memory) {
          return _symbol;
      }
  
      function name() external view returns (string memory) {
          return _name;
      }
  
      function totalSupply() external view returns (uint256) {
          return _totalSupply;
      }
  
      function balanceOf(address account) external view returns (uint256) {
          return _balances[account];
      }
  
      function transfer(address recipient, uint256 amount) external returns (bool) {
          _transfer(msg.sender, recipient, amount);
          return true;
      }
  
      function allowance(address addressOwner, address spender) external view returns (uint256) {
          return _allowances[addressOwner][spender];
      }
  
      function approve(address spender, uint256 amount) external returns (bool) {
          _approve(msg.sender, spender, amount);
          return true;
      }
  
      function transferFrom(address sender, address recipient, uint256 amount) external returns (bool) {
          _transfer(sender, recipient, amount);
          _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount);
          return true;
      }
  
      function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
          _approve(msg.sender, spender, _allowances[msg.sender][spender]+addedValue);
          return true;
      }
  
      function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
          _approve(msg.sender, spender, _allowances[msg.sender][spender]-subtractedValue);
          return true;
      }
  
      function _mint(address account, uint256 amount) internal {
          require(account != address(0), "Mint to the zero address");
          _totalSupply = _totalSupply+amount;
          _balances[account] = _balances[account]+amount;
          emit Transfer(address(0), account, amount);
      }
  
      
      function _transfer(address sender, address recipient, uint256 amount) internal nonReentrant{
          require(sender != address(0), "Transfer from the zero address");
          require(recipient != address(0), "Transfer to the zero address");
          require(amount <= _balances[sender], "Transfer amount exceeds balance");
           _balances[sender] = _balances[sender]-amount;
           _balances[recipient] = _balances[recipient]+amount;
           emit Transfer(sender, recipient, amount);
      }
  
      function _approve(address addressOwner, address spender, uint256 amount) internal {
          require(addressOwner != address(0), "Approve from the zero address");
          require(spender != address(0), "Approve to the zero address");
  
          _allowances[addressOwner][spender] = amount;
          emit Approval(addressOwner, spender, amount);
      }
  
  }