ETH Price: $3,335.56 (-1.85%)

Contract

0x251457b7c5d85251Ca1aB384361c821330bE2520
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer214701742024-12-24 5:14:114 days ago1735017251IN
0x251457b7...330bE2520
0 ETH0.000409187.30849861
Transfer214696522024-12-24 3:28:474 days ago1735010927IN
0x251457b7...330bE2520
0 ETH0.000512236.73066679
Transfer214504452024-12-21 11:00:116 days ago1734778811IN
0x251457b7...330bE2520
0 ETH0.000554199.89859541
Approve214326652024-12-18 23:22:239 days ago1734564143IN
0x251457b7...330bE2520
0 ETH0.0006667214.30883989
Approve214022822024-12-14 17:35:5913 days ago1734197759IN
0x251457b7...330bE2520
0 ETH0.0005182211.19967485
Approve213810052024-12-11 18:18:3516 days ago1733941115IN
0x251457b7...330bE2520
0 ETH0.0014295830.87195979
Transfer213800402024-12-11 15:04:1116 days ago1733929451IN
0x251457b7...330bE2520
0 ETH0.0016505129.48026617
Transfer213759992024-12-11 1:30:4717 days ago1733880647IN
0x251457b7...330bE2520
0 ETH0.0011666515.33705039
Approve212937822024-11-29 13:55:3528 days ago1732888535IN
0x251457b7...330bE2520
0 ETH0.0006639214.3188865
Transfer212637492024-11-25 9:02:1133 days ago1732525331IN
0x251457b7...330bE2520
0 ETH0.000548769.80163819
Approve212501382024-11-23 11:27:3534 days ago1732361255IN
0x251457b7...330bE2520
0 ETH0.0005298711.38648723
Transfer212402222024-11-22 2:15:1136 days ago1732241711IN
0x251457b7...330bE2520
0 ETH0.0007194612.85048899
Transfer212395252024-11-21 23:55:1136 days ago1732233311IN
0x251457b7...330bE2520
0 ETH0.0008274714.77976299
Transfer212350952024-11-21 9:05:1137 days ago1732179911IN
0x251457b7...330bE2520
0 ETH0.000700712.51551574
Transfer212248102024-11-19 22:36:4738 days ago1732055807IN
0x251457b7...330bE2520
0 ETH0.0012074118.23418069
Approve212212712024-11-19 10:46:3538 days ago1732013195IN
0x251457b7...330bE2520
0 ETH0.0006308613.53933186
Transfer212186032024-11-19 1:51:1139 days ago1731981071IN
0x251457b7...330bE2520
0 ETH0.00049712.78068459
Transfer211553432024-11-10 6:02:1148 days ago1731218531IN
0x251457b7...330bE2520
0 ETH0.0010629318.98547488
Transfer209633202024-10-14 10:50:2374 days ago1728903023IN
0x251457b7...330bE2520
0 ETH0.000534913.75542831
Transfer209581962024-10-13 17:39:1175 days ago1728841151IN
0x251457b7...330bE2520
0 ETH0.0007325113.09200001
Approve209178692024-10-08 2:28:3581 days ago1728354515IN
0x251457b7...330bE2520
0 ETH0.0002731511.23573341
Transfer209146922024-10-07 15:51:1181 days ago1728316271IN
0x251457b7...330bE2520
0 ETH0.0025662445.84624652
Approve209015572024-10-05 19:54:1183 days ago1728158051IN
0x251457b7...330bE2520
0 ETH0.000286536.15741913
Approve208722952024-10-01 18:00:1187 days ago1727805611IN
0x251457b7...330bE2520
0 ETH0.0007547131.04404551
Approve208641402024-09-30 14:42:5988 days ago1727707379IN
0x251457b7...330bE2520
0 ETH0.0008623818.53191402
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HATI

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Hati.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
}

contract HATI is Context, IERC20, IERC20Metadata, Ownable {
    // Openzeppelin variables
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    // My variables

    // Anti bots
    mapping(address => uint256) public _blockNumberByAddress;
    bool public antiBotsActive = false;
    mapping(address => bool) public isContractExempt;
    uint public blockCooldownAmount = 1;
    // End anti bots

    // Openzeppelin functions

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor() {
        // Editable
        _name = "HATI";
        _symbol = "HATI";
        uint e_totalSupply = 666_666_666_666_666 ether;
        // End editable
        
        // Anti bots
        isContractExempt[address(this)] = true;
        // End anti bots

        _mint(msg.sender, e_totalSupply);
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        // My implementation
        // Anti bots
        if(antiBotsActive)
        {
            if(!isContractExempt[from] && !isContractExempt[to])
            {
                address human = ensureOneHuman(from, to);
                ensureMaxTxFrequency(human);
                _blockNumberByAddress[human] = block.number;
            }
        }
        // End anti bots
        // End my implementation

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        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);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    // My functions
    // Anti bots
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function ensureOneHuman(address _to, address _from) internal virtual returns (address) {
        require(!isContract(_to) || !isContract(_from), "No bots allowed!");
        if (isContract(_to)) return _from;
        else return _to;
    }

    function ensureMaxTxFrequency(address addr) internal virtual {
        bool isAllowed = _blockNumberByAddress[addr] == 0 ||
            ((_blockNumberByAddress[addr] + blockCooldownAmount) < (block.number + 1));
        require(isAllowed, "Max tx frequency exceeded!");
    }

    function setAntiBotsActive(bool value) external onlyOwner {
        antiBotsActive = value;
    }

    function setBlockCooldown(uint value) external onlyOwner {
        blockCooldownAmount = value;
    }

    function setContractExempt(address account, bool value) external onlyOwner {
        isContractExempt[account] = value;
    }
    // End anti bots
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"","type":"address"}],"name":"_blockNumberByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"antiBotsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"blockCooldownAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isContractExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setAntiBotsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setBlockCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setContractExempt","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805460ff1916905560016009553480156200002057600080fd5b506200002c33620000c2565b604080518082019091526004808252634841544960e01b6020909201918252620000579181620001fa565b50604080518082019091526004808252634841544960e01b60209092019182526200008591600591620001fa565b50306000908152600860205260409020805460ff191660011790556d20de842db3b771eb183990680000620000bb338262000112565b5062000303565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200016d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060036000828254620001819190620002a0565b90915550506001600160a01b03821660009081526001602052604081208054839290620001b0908490620002a0565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200020890620002c7565b90600052602060002090601f0160209004810192826200022c576000855562000277565b82601f106200024757805160ff191683800117855562000277565b8280016001018555821562000277579182015b82811115620002775782518255916020019190600101906200025a565b506200028592915062000289565b5090565b5b808211156200028557600081556001016200028a565b60008219821115620002c257634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620002dc57607f821691505b602082108103620002fd57634e487b7160e01b600052602260045260246000fd5b50919050565b610e3d80620003136000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b85780639686d3221161007c5780639686d32214610276578063a457c2d714610289578063a9059cbb1461029c578063dd62ed3e146102af578063f2fde38b146102e8578063f6887cd3146102fb57600080fd5b8063715018a61461021857806377a59f001461022057806380f68310146102405780638da5cb5b1461025357806395d89b411461026e57600080fd5b806323b872dd116100ff57806323b872dd146101ad578063313ce567146101c057806339509351146101cf57806341f20b68146101e257806370a08231146101ef57600080fd5b806306fdde031461013c578063095ea7b31461015a57806313c72aed1461017d57806318160ddd146101925780631868aadf146101a4575b600080fd5b61014461031e565b6040516101519190610bd8565b60405180910390f35b61016d610168366004610c49565b6103b0565b6040519015158152602001610151565b61019061018b366004610c73565b6103ca565b005b6003545b604051908152602001610151565b61019660095481565b61016d6101bb366004610c8c565b610402565b60405160128152602001610151565b61016d6101dd366004610c49565b610426565b60075461016d9060ff1681565b6101966101fd366004610cc8565b6001600160a01b031660009081526001602052604090205490565b610190610465565b61019661022e366004610cc8565b60066020526000908152604090205481565b61019061024e366004610cfa565b61049b565b6000546040516001600160a01b039091168152602001610151565b6101446104d8565b610190610284366004610d15565b6104e7565b61016d610297366004610c49565b61053c565b61016d6102aa366004610c49565b6105ce565b6101966102bd366004610d48565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101906102f6366004610cc8565b6105dc565b61016d610309366004610cc8565b60086020526000908152604090205460ff1681565b60606004805461032d90610d72565b80601f016020809104026020016040519081016040528092919081815260200182805461035990610d72565b80156103a65780601f1061037b576101008083540402835291602001916103a6565b820191906000526020600020905b81548152906001019060200180831161038957829003601f168201915b5050505050905090565b6000336103be818585610677565b60019150505b92915050565b6000546001600160a01b031633146103fd5760405162461bcd60e51b81526004016103f490610dac565b60405180910390fd5b600955565b60003361041085828561079b565b61041b85858561082d565b506001949350505050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091906103be9082908690610460908790610de1565b610677565b6000546001600160a01b0316331461048f5760405162461bcd60e51b81526004016103f490610dac565b6104996000610a7f565b565b6000546001600160a01b031633146104c55760405162461bcd60e51b81526004016103f490610dac565b6007805460ff1916911515919091179055565b60606005805461032d90610d72565b6000546001600160a01b031633146105115760405162461bcd60e51b81526004016103f490610dac565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909190838110156105c15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103f4565b61041b8286868403610677565b6000336103be81858561082d565b6000546001600160a01b031633146106065760405162461bcd60e51b81526004016103f490610dac565b6001600160a01b03811661066b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103f4565b61067481610a7f565b50565b6001600160a01b0383166106d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f4565b6001600160a01b03821661073a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f4565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600260209081526040808320938616835292905220546000198114610827578181101561081a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103f4565b6108278484848403610677565b50505050565b6001600160a01b0383166108915760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f4565b6001600160a01b0382166108f35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f4565b60075460ff1615610977576001600160a01b03831660009081526008602052604090205460ff1615801561094057506001600160a01b03821660009081526008602052604090205460ff16155b156109775760006109518484610acf565b905061095c81610b32565b6001600160a01b031660009081526006602052604090204390555b6001600160a01b038316600090815260016020526040902054818110156109ef5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103f4565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610a26908490610de1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a7291815260200190565b60405180910390a3610827565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000823b1580610ade5750813b155b610b1d5760405162461bcd60e51b815260206004820152601060248201526f4e6f20626f747320616c6c6f7765642160801b60448201526064016103f4565b823b15610b2b5750806103c4565b50816103c4565b6001600160a01b0381166000908152600660205260408120541580610b855750610b5d436001610de1565b6009546001600160a01b038416600090815260066020526040902054610b839190610de1565b105b905080610bd45760405162461bcd60e51b815260206004820152601a60248201527f4d6178207478206672657175656e63792065786365656465642100000000000060448201526064016103f4565b5050565b600060208083528351808285015260005b81811015610c0557858101830151858201604001528201610be9565b81811115610c17576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610c4457600080fd5b919050565b60008060408385031215610c5c57600080fd5b610c6583610c2d565b946020939093013593505050565b600060208284031215610c8557600080fd5b5035919050565b600080600060608486031215610ca157600080fd5b610caa84610c2d565b9250610cb860208501610c2d565b9150604084013590509250925092565b600060208284031215610cda57600080fd5b610ce382610c2d565b9392505050565b80358015158114610c4457600080fd5b600060208284031215610d0c57600080fd5b610ce382610cea565b60008060408385031215610d2857600080fd5b610d3183610c2d565b9150610d3f60208401610cea565b90509250929050565b60008060408385031215610d5b57600080fd5b610d6483610c2d565b9150610d3f60208401610c2d565b600181811c90821680610d8657607f821691505b602082108103610da657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610e0257634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122019305ef5b6d62b1c71cebd5a9f52c8d704ece939ab2844b59c22e7a4e3d5685664736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b85780639686d3221161007c5780639686d32214610276578063a457c2d714610289578063a9059cbb1461029c578063dd62ed3e146102af578063f2fde38b146102e8578063f6887cd3146102fb57600080fd5b8063715018a61461021857806377a59f001461022057806380f68310146102405780638da5cb5b1461025357806395d89b411461026e57600080fd5b806323b872dd116100ff57806323b872dd146101ad578063313ce567146101c057806339509351146101cf57806341f20b68146101e257806370a08231146101ef57600080fd5b806306fdde031461013c578063095ea7b31461015a57806313c72aed1461017d57806318160ddd146101925780631868aadf146101a4575b600080fd5b61014461031e565b6040516101519190610bd8565b60405180910390f35b61016d610168366004610c49565b6103b0565b6040519015158152602001610151565b61019061018b366004610c73565b6103ca565b005b6003545b604051908152602001610151565b61019660095481565b61016d6101bb366004610c8c565b610402565b60405160128152602001610151565b61016d6101dd366004610c49565b610426565b60075461016d9060ff1681565b6101966101fd366004610cc8565b6001600160a01b031660009081526001602052604090205490565b610190610465565b61019661022e366004610cc8565b60066020526000908152604090205481565b61019061024e366004610cfa565b61049b565b6000546040516001600160a01b039091168152602001610151565b6101446104d8565b610190610284366004610d15565b6104e7565b61016d610297366004610c49565b61053c565b61016d6102aa366004610c49565b6105ce565b6101966102bd366004610d48565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101906102f6366004610cc8565b6105dc565b61016d610309366004610cc8565b60086020526000908152604090205460ff1681565b60606004805461032d90610d72565b80601f016020809104026020016040519081016040528092919081815260200182805461035990610d72565b80156103a65780601f1061037b576101008083540402835291602001916103a6565b820191906000526020600020905b81548152906001019060200180831161038957829003601f168201915b5050505050905090565b6000336103be818585610677565b60019150505b92915050565b6000546001600160a01b031633146103fd5760405162461bcd60e51b81526004016103f490610dac565b60405180910390fd5b600955565b60003361041085828561079b565b61041b85858561082d565b506001949350505050565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091906103be9082908690610460908790610de1565b610677565b6000546001600160a01b0316331461048f5760405162461bcd60e51b81526004016103f490610dac565b6104996000610a7f565b565b6000546001600160a01b031633146104c55760405162461bcd60e51b81526004016103f490610dac565b6007805460ff1916911515919091179055565b60606005805461032d90610d72565b6000546001600160a01b031633146105115760405162461bcd60e51b81526004016103f490610dac565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909190838110156105c15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103f4565b61041b8286868403610677565b6000336103be81858561082d565b6000546001600160a01b031633146106065760405162461bcd60e51b81526004016103f490610dac565b6001600160a01b03811661066b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103f4565b61067481610a7f565b50565b6001600160a01b0383166106d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f4565b6001600160a01b03821661073a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f4565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600260209081526040808320938616835292905220546000198114610827578181101561081a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103f4565b6108278484848403610677565b50505050565b6001600160a01b0383166108915760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f4565b6001600160a01b0382166108f35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f4565b60075460ff1615610977576001600160a01b03831660009081526008602052604090205460ff1615801561094057506001600160a01b03821660009081526008602052604090205460ff16155b156109775760006109518484610acf565b905061095c81610b32565b6001600160a01b031660009081526006602052604090204390555b6001600160a01b038316600090815260016020526040902054818110156109ef5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103f4565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610a26908490610de1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a7291815260200190565b60405180910390a3610827565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000823b1580610ade5750813b155b610b1d5760405162461bcd60e51b815260206004820152601060248201526f4e6f20626f747320616c6c6f7765642160801b60448201526064016103f4565b823b15610b2b5750806103c4565b50816103c4565b6001600160a01b0381166000908152600660205260408120541580610b855750610b5d436001610de1565b6009546001600160a01b038416600090815260066020526040902054610b839190610de1565b105b905080610bd45760405162461bcd60e51b815260206004820152601a60248201527f4d6178207478206672657175656e63792065786365656465642100000000000060448201526064016103f4565b5050565b600060208083528351808285015260005b81811015610c0557858101830151858201604001528201610be9565b81811115610c17576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610c4457600080fd5b919050565b60008060408385031215610c5c57600080fd5b610c6583610c2d565b946020939093013593505050565b600060208284031215610c8557600080fd5b5035919050565b600080600060608486031215610ca157600080fd5b610caa84610c2d565b9250610cb860208501610c2d565b9150604084013590509250925092565b600060208284031215610cda57600080fd5b610ce382610c2d565b9392505050565b80358015158114610c4457600080fd5b600060208284031215610d0c57600080fd5b610ce382610cea565b60008060408385031215610d2857600080fd5b610d3183610c2d565b9150610d3f60208401610cea565b90509250929050565b60008060408385031215610d5b57600080fd5b610d6483610c2d565b9150610d3f60208401610c2d565b600181811c90821680610d8657607f821691505b602082108103610da657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610e0257634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122019305ef5b6d62b1c71cebd5a9f52c8d704ece939ab2844b59c22e7a4e3d5685664736f6c634300080d0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.