ETH Price: $3,270.05 (+0.78%)

Token

Hotaru (GOTH)
 

Overview

Max Total Supply

1,000,000,000 GOTH

Holders

55

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
4,769,959.975166122827722586 GOTH

Value
$0.00
0x15E99757E53BF7656A5c9c287A0ca8f5CF7aAF44
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x10aF3322...9DE7abf79
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ERC20Templete

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ERC20Templete.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(
        address recipient,
        uint256 amount
    ) external returns (bool);

    function allowance(
        address owner,
        address spender
    ) external view returns (uint256);

    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 Ownable is Context {
    address private _owner;
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    constructor(address _initOwner) {
        _owner = _initOwner;
        emit OwnershipTransferred(address(0), _initOwner);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
}

contract ERC20Templete is Context, IERC20, Ownable {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _tTotal;

    constructor(string memory name_, string memory symbol_, uint8 decimals_, uint256 tTotal_, address owner_) Ownable(owner_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
        _tTotal = tTotal_ * 10 ** decimals();

        _balances[owner_] = _tTotal;
        emit Transfer(address(0), owner_, _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(
        address owner,
        address spender
    ) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(
        address spender,
        uint256 amount
    ) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()] - amount
        );
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        _balances[from] = _balances[from] - amount;
        _balances[to] = _balances[to] + amount;
        emit Transfer(from, to, amount);
    }
}

Settings
{
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"tTotal_","type":"uint256"},{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f80fd5b50604051610cde380380610cde83398101604081905261002e916101b3565b5f80546001600160a01b0319166001600160a01b03831690811782556040518392907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600361008286826102dc565b50600461008f85826102dc565b506005805460ff191660ff85169081179091556100ad90600a61048f565b6100b790836104a4565b60068190556001600160a01b0382165f81815260016020908152604080832085905551938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050506104bb565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610139575f80fd5b81516001600160401b0381111561015257610152610116565b604051601f8201601f19908116603f011681016001600160401b038111828210171561018057610180610116565b604052818152838201602001851015610197575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f805f805f60a086880312156101c7575f80fd5b85516001600160401b038111156101dc575f80fd5b6101e88882890161012a565b602088015190965090506001600160401b03811115610205575f80fd5b6102118882890161012a565b945050604086015160ff81168114610227575f80fd5b6060870151608088015191945092506001600160a01b038116811461024a575f80fd5b809150509295509295909350565b600181811c9082168061026c57607f821691505b60208210810361028a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102d757805f5260205f20601f840160051c810160208510156102b55750805b601f840160051c820191505b818110156102d4575f81556001016102c1565b50505b505050565b81516001600160401b038111156102f5576102f5610116565b610309816103038454610258565b84610290565b6020601f82116001811461033b575f83156103245750848201515b5f19600385901b1c1916600184901b1784556102d4565b5f84815260208120601f198516915b8281101561036a578785015182556020948501946001909201910161034a565b508482101561038757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156103e5578085048111156103c9576103c9610396565b60018416156103d757908102905b60019390931c9280026103ae565b935093915050565b5f826103fb57506001610489565b8161040757505f610489565b816001811461041d576002811461042757610443565b6001915050610489565b60ff84111561043857610438610396565b50506001821b610489565b5060208310610133831016604e8410600b8410161715610466575081810a610489565b6104725f1984846103aa565b805f190482111561048557610485610396565b0290505b92915050565b5f61049d60ff8416836103ed565b9392505050565b808202811582820484141761048957610489610396565b610816806104c85f395ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a0823114610125578063715018a61461014d5780638da5cb5b1461015757806395d89b4114610171578063a9059cbb14610179578063dd62ed3e1461018c575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd146100fd578063313ce56714610110575b5f80fd5b6100b26101c4565b6040516100bf919061066b565b60405180910390f35b6100db6100d63660046106bb565b610254565b60405190151581526020016100bf565b6006545b6040519081526020016100bf565b6100db61010b3660046106e3565b61026a565b60055460405160ff90911681526020016100bf565b6100ef61013336600461071d565b6001600160a01b03165f9081526001602052604090205490565b6101556102ba565b005b5f546040516001600160a01b0390911681526020016100bf565b6100b2610360565b6100db6101873660046106bb565b61036f565b6100ef61019a36600461073d565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6060600380546101d39061076e565b80601f01602080910402602001604051908101604052809291908181526020018280546101ff9061076e565b801561024a5780601f106102215761010080835404028352916020019161024a565b820191905f5260205f20905b81548152906001019060200180831161022d57829003601f168201915b5050505050905090565b5f61026033848461037b565b5060015b92915050565b5f61027684848461049f565b6001600160a01b0384165f908152600260209081526040808320338085529252909120546102b09186916102ab9086906107ba565b61037b565b5060019392505050565b5f546001600160a01b031633146103185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6060600480546101d39061076e565b5f61026033848461049f565b6001600160a01b0383166103dd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161030f565b6001600160a01b03821661043e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161030f565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166105035760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161030f565b6001600160a01b0382166105655760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161030f565b5f81116105c65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161030f565b6001600160a01b0383165f908152600160205260409020546105e99082906107ba565b6001600160a01b038085165f9081526001602052604080822093909355908416815220546106189082906107cd565b6001600160a01b038084165f8181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104929085815260200190565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146106b6575f80fd5b919050565b5f80604083850312156106cc575f80fd5b6106d5836106a0565b946020939093013593505050565b5f805f606084860312156106f5575f80fd5b6106fe846106a0565b925061070c602085016106a0565b929592945050506040919091013590565b5f6020828403121561072d575f80fd5b610736826106a0565b9392505050565b5f806040838503121561074e575f80fd5b610757836106a0565b9150610765602084016106a0565b90509250929050565b600181811c9082168061078257607f821691505b6020821081036107a057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610264576102646107a6565b80820180821115610264576102646107a656fea2646970667358221220ed841628e0b5527ca007708ed530e4e9c68804ca64014f882441e940ae523ca264736f6c634300081a003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000002540be4000000000000000000000000005f5a0ae5ba2efa746edaec19f957ca722ac4257b000000000000000000000000000000000000000000000000000000000000000d546173747920436869636b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054348434b4e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a0823114610125578063715018a61461014d5780638da5cb5b1461015757806395d89b4114610171578063a9059cbb14610179578063dd62ed3e1461018c575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806318160ddd146100eb57806323b872dd146100fd578063313ce56714610110575b5f80fd5b6100b26101c4565b6040516100bf919061066b565b60405180910390f35b6100db6100d63660046106bb565b610254565b60405190151581526020016100bf565b6006545b6040519081526020016100bf565b6100db61010b3660046106e3565b61026a565b60055460405160ff90911681526020016100bf565b6100ef61013336600461071d565b6001600160a01b03165f9081526001602052604090205490565b6101556102ba565b005b5f546040516001600160a01b0390911681526020016100bf565b6100b2610360565b6100db6101873660046106bb565b61036f565b6100ef61019a36600461073d565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6060600380546101d39061076e565b80601f01602080910402602001604051908101604052809291908181526020018280546101ff9061076e565b801561024a5780601f106102215761010080835404028352916020019161024a565b820191905f5260205f20905b81548152906001019060200180831161022d57829003601f168201915b5050505050905090565b5f61026033848461037b565b5060015b92915050565b5f61027684848461049f565b6001600160a01b0384165f908152600260209081526040808320338085529252909120546102b09186916102ab9086906107ba565b61037b565b5060019392505050565b5f546001600160a01b031633146103185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6060600480546101d39061076e565b5f61026033848461049f565b6001600160a01b0383166103dd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161030f565b6001600160a01b03821661043e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161030f565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166105035760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161030f565b6001600160a01b0382166105655760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161030f565b5f81116105c65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161030f565b6001600160a01b0383165f908152600160205260409020546105e99082906107ba565b6001600160a01b038085165f9081526001602052604080822093909355908416815220546106189082906107cd565b6001600160a01b038084165f8181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104929085815260200190565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146106b6575f80fd5b919050565b5f80604083850312156106cc575f80fd5b6106d5836106a0565b946020939093013593505050565b5f805f606084860312156106f5575f80fd5b6106fe846106a0565b925061070c602085016106a0565b929592945050506040919091013590565b5f6020828403121561072d575f80fd5b610736826106a0565b9392505050565b5f806040838503121561074e575f80fd5b610757836106a0565b9150610765602084016106a0565b90509250929050565b600181811c9082168061078257607f821691505b6020821081036107a057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610264576102646107a6565b80820180821115610264576102646107a656fea2646970667358221220ed841628e0b5527ca007708ed530e4e9c68804ca64014f882441e940ae523ca264736f6c634300081a0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.