ETH Price: $2,419.92 (+0.03%)

Contract

0x251457b7c5d85251Ca1aB384361c821330bE2520
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve209015572024-10-05 19:54:1115 hrs ago1728158051IN
0x251457b7...330bE2520
0 ETH0.000286536.15741913
Approve208722952024-10-01 18:00:114 days ago1727805611IN
0x251457b7...330bE2520
0 ETH0.0007547131.04404551
Approve208641402024-09-30 14:42:595 days ago1727707379IN
0x251457b7...330bE2520
0 ETH0.0008623818.53191402
Transfer208615762024-09-30 6:08:596 days ago1727676539IN
0x251457b7...330bE2520
0 ETH0.00059437.81157376
Transfer208012362024-09-21 20:07:2314 days ago1726949243IN
0x251457b7...330bE2520
0 ETH0.0006725717.29036319
Transfer207906032024-09-20 8:27:3516 days ago1726820855IN
0x251457b7...330bE2520
0 ETH0.0012285521.94348964
Transfer207541722024-09-15 6:18:1121 days ago1726381091IN
0x251457b7...330bE2520
0 ETH0.000239824.2836126
Transfer207443332024-09-13 21:19:2322 days ago1726262363IN
0x251457b7...330bE2520
0 ETH0.000557519.9580113
Transfer207157052024-09-09 21:21:2326 days ago1725916883IN
0x251457b7...330bE2520
0 ETH0.000470518.40405282
Approve206140582024-08-26 16:47:5940 days ago1724690879IN
0x251457b7...330bE2520
0 ETH0.000150273.24098752
Transfer205993412024-08-24 15:26:1142 days ago1724513171IN
0x251457b7...330bE2520
0 ETH0.000502048.96716214
Approve204787432024-08-07 19:19:2359 days ago1723058363IN
0x251457b7...330bE2520
0 ETH0.000245095.26690395
Transfer204701422024-08-06 14:31:2360 days ago1722954683IN
0x251457b7...330bE2520
0 ETH0.0012874223
Transfer204146122024-07-29 20:28:1168 days ago1722284891IN
0x251457b7...330bE2520
0 ETH0.0006158511
Transfer204125422024-07-29 13:33:1168 days ago1722259991IN
0x251457b7...330bE2520
0 ETH0.0007278313
Approve203817162024-07-25 6:16:5973 days ago1721888219IN
0x251457b7...330bE2520
0 ETH0.000224764.82996615
Approve202929872024-07-12 21:02:5985 days ago1720818179IN
0x251457b7...330bE2520
0 ETH0.000164423.53336337
Transfer202875422024-07-12 2:48:2386 days ago1720752503IN
0x251457b7...330bE2520
0 ETH0.000182952.97892708
Approve202795912024-07-11 0:10:2387 days ago1720656623IN
0x251457b7...330bE2520
0 ETH0.000181043.91071793
Transfer202688692024-07-09 12:15:2388 days ago1720527323IN
0x251457b7...330bE2520
0 ETH0.0003887510
Transfer202688382024-07-09 12:09:1188 days ago1720526951IN
0x251457b7...330bE2520
0 ETH0.0005597510
Transfer202112082024-07-01 10:55:4797 days ago1719831347IN
0x251457b7...330bE2520
0 ETH0.0006155911
Approve201903162024-06-28 12:54:4799 days ago1719579287IN
0x251457b7...330bE2520
0 ETH0.000324146.96551858
Transfer201811032024-06-27 6:02:11101 days ago1719468131IN
0x251457b7...330bE2520
0 ETH0.0007278313
Approve201400512024-06-21 12:18:59106 days ago1718972339IN
0x251457b7...330bE2520
0 ETH0.000259515.57676645
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.