ETH Price: $3,359.30 (-0.09%)

Contract

0x76bc1aE0262340A71795DE91Bdf9AE77aCF29a7c
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Approve206061242024-08-25 14:12:47126 days ago1724595167IN
0x76bc1aE0...7aCF29a7c
0 ETH0.00004751.80139837
Approve205552702024-08-18 11:39:59133 days ago1723981199IN
0x76bc1aE0...7aCF29a7c
0 ETH0.000032541.23425947
Approve205552692024-08-18 11:39:47133 days ago1723981187IN
0x76bc1aE0...7aCF29a7c
0 ETH0.000032721.24110781
Approve199510962024-05-26 2:33:59217 days ago1716690839IN
0x76bc1aE0...7aCF29a7c
0 ETH0.00040028.22730986
Approve198444372024-05-11 4:34:59232 days ago1715402099IN
0x76bc1aE0...7aCF29a7c
0 ETH0.000111334.22221813
Set Approval For...193410552024-03-01 14:55:35303 days ago1709304935IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0019777281.97822256
Approve193103262024-02-26 7:43:47307 days ago1708933427IN
0x76bc1aE0...7aCF29a7c
0 ETH0.001658434.3305615
Approve193103162024-02-26 7:41:47307 days ago1708933307IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0018173437.5741309
Approve192735682024-02-21 4:08:23312 days ago1708488503IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0016889234.76365224
Set Approval For...192613972024-02-19 11:10:47314 days ago1708341047IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0013271928.8288358
Approve192387612024-02-16 6:43:47317 days ago1708065827IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0011576323.82805602
Approve192248282024-02-14 7:50:11319 days ago1707897011IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0006965414.33728542
Approve192200692024-02-13 15:48:11319 days ago1707839291IN
0x76bc1aE0...7aCF29a7c
0 ETH0.00149730.98934393
Approve192183712024-02-13 10:02:47320 days ago1707818567IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0012208725.12975013
Approve192182992024-02-13 9:47:59320 days ago1707817679IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0012160224.99897168
Approve192176722024-02-13 7:41:23320 days ago1707810083IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0008611917.72616941
Approve192166622024-02-13 4:18:59320 days ago1707797939IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0009271319.08346084
Approve192162672024-02-13 2:59:23320 days ago1707793163IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0012242925.2
Approve192162372024-02-13 2:53:23320 days ago1707792803IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0010826222.2840678
Approve192155292024-02-13 0:30:35320 days ago1707784235IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0016746334.46949401
Approve192155242024-02-13 0:29:35320 days ago1707784175IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0017843636.7282368
Set Token URI192154672024-02-13 0:17:59320 days ago1707783479IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0019540251.51119241
Set Token URI192153702024-02-12 23:58:35320 days ago1707782315IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0050252654.68482068
Approve192142562024-02-12 20:14:11320 days ago1707768851IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0012255325.2255562
Approve192123382024-02-12 13:47:47321 days ago1707745667IN
0x76bc1aE0...7aCF29a7c
0 ETH0.0010968122.71074501
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:
Taiyokei

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : Taiyokei.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "./ERC404.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Taiyokei is ERC404 {
    string public dataURI;
    string public baseTokenURI;

    constructor(
        address _owner
    ) ERC404("Taiyokei", "TYKI", 18, 2000, _owner) {
        balanceOf[_owner] = 2000 * 10 ** 18;
    }

    function setDataURI(string memory _dataURI) public onlyOwner {
        dataURI = _dataURI;
    }

    function setTokenURI(string memory _tokenURI) public onlyOwner {
        baseTokenURI = _tokenURI;
    }

    function setNameSymbol(
        string memory _name,
        string memory _symbol
    ) public onlyOwner {
        _setNameSymbol(_name, _symbol);
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        if (bytes(baseTokenURI).length > 0) {
            return string.concat(baseTokenURI, Strings.toString(id));
        } else {
            uint8 seed = uint8(bytes1(keccak256(abi.encodePacked(id))));
            string memory image;
            string memory color;

            if (seed <= 100) {
                image = "1.png";
                color = "Cosmic";
            } else if (seed <= 160) {
                image = "2.png";
                color = "Starburst";
            } else if (seed <= 210) {
                image = "3.png";
                color = "Supernova";
            } else if (seed <= 240) {
                image = "4.png";
                color = "Milky";
            } else if (seed <= 255) {
                image = "5.png";
                color = "Sunset";
            }

            string memory jsonPreImage = string.concat(
                string.concat(
                    string.concat('{"name": "Taiyokei #', Strings.toString(id)),
                    '","description":"A collection of 2,000 anime collectibles enabled by ERC404, an experimental token standard.","external_url":"https://taiyokei.xyz","image":"'
                ),
                string.concat(dataURI, image)
            );
            string memory jsonPostImage = string.concat(
                '","attributes":[{"trait_type":"Color","value":"',
                color
            );
            string memory jsonPostTraits = '"}]}';

            return
                string.concat(
                    "data:application/json;utf8,",
                    string.concat(
                        string.concat(jsonPreImage, jsonPostImage),
                        jsonPostTraits
                    )
                );
        }
    }
}

File 2 of 5 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 3 of 5 : ERC404.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

abstract contract Ownable {
    event OwnershipTransferred(address indexed user, address indexed newOwner);

    error Unauthorized();
    error InvalidOwner();

    address public owner;

    modifier onlyOwner() virtual {
        if (msg.sender != owner) revert Unauthorized();

        _;
    }

    constructor(address _owner) {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    function transferOwnership(address _owner) public virtual onlyOwner {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(msg.sender, _owner);
    }

    function revokeOwnership() public virtual onlyOwner {
        owner = address(0);

        emit OwnershipTransferred(msg.sender, address(0));
    }
}

abstract contract ERC721Receiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721Receiver.onERC721Received.selector;
    }
}

/// @notice ERC404
///         A gas-efficient, mixed ERC20 / ERC721 implementation
///         with native liquidity and fractionalization.
///
///         This is an experimental standard designed to integrate
///         with pre-existing ERC20 / ERC721 support as smoothly as
///         possible.
///
/// @dev    In order to support full functionality of ERC20 and ERC721
///         supply assumptions are made that slightly constraint usage.
///         Ensure decimals are sufficiently large (standard 18 recommended)
///         as ids are effectively encoded in the lowest range of amounts.
///
///         NFTs are spent on ERC20 functions in a FILO queue, this is by
///         design.
///
abstract contract ERC404 is Ownable {
    // Events
    event ERC20Transfer(
        address indexed from,
        address indexed to,
        uint256 amount
    );
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 amount
    );
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed id
    );
    event ERC721Approval(
        address indexed owner,
        address indexed spender,
        uint256 indexed id
    );
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    // Errors
    error NotFound();
    error AlreadyExists();
    error InvalidRecipient();
    error InvalidSender();
    error UnsafeRecipient();

    // Metadata
    /// @dev Token name
    string public name;

    /// @dev Token symbol
    string public symbol;

    /// @dev Decimals for fractional representation
    uint8 public immutable decimals;

    /// @dev Total supply in fractionalized representation
    uint256 public immutable totalSupply;

    /// @dev Current mint counter, monotonically increasing to ensure accurate ownership
    uint256 public minted;

    // Mappings
    /// @dev Balance of user in fractional representation
    mapping(address => uint256) public balanceOf;

    /// @dev Allowance of user in fractional representation
    mapping(address => mapping(address => uint256)) public allowance;

    /// @dev Approval in native representaion
    mapping(uint256 => address) public getApproved;

    /// @dev Approval for all in native representation
    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /// @dev Owner of id in native representation
    mapping(uint256 => address) internal _ownerOf;

    /// @dev Array of owned ids in native representation
    mapping(address => uint256[]) internal _owned;

    /// @dev Tracks indices for the _owned mapping
    mapping(uint256 => uint256) internal _ownedIndex;

    /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc)
    mapping(address => bool) public whitelist;

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner
    ) Ownable(_owner) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _totalNativeSupply * (10 ** decimals);
    }

    /// @notice Initialization function to set pairs / etc
    ///         saving gas by avoiding mint / burn on unnecessary targets
    function setWhitelist(address target, bool state) public onlyOwner {
        whitelist[target] = state;
    }

    /// @notice Function to find owner of a given native token
    function ownerOf(uint256 id) public view virtual returns (address owner) {
        owner = _ownerOf[id];

        if (owner == address(0)) {
            revert NotFound();
        }
    }

    /// @notice tokenURI must be implemented by child contract
    function tokenURI(uint256 id) public view virtual returns (string memory);

    /// @notice Function for token approvals
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function approve(
        address spender,
        uint256 amountOrId
    ) public virtual returns (bool) {
        if (amountOrId <= minted && amountOrId > 0) {
            address owner = _ownerOf[amountOrId];

            if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) {
                revert Unauthorized();
            }

            getApproved[amountOrId] = spender;

            emit Approval(owner, spender, amountOrId);
        } else {
            allowance[msg.sender][spender] = amountOrId;

            emit Approval(msg.sender, spender, amountOrId);
        }

        return true;
    }

    /// @notice Function native approvals
    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /// @notice Function for mixed transfers
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function transferFrom(
        address from,
        address to,
        uint256 amountOrId
    ) public virtual {
        if (amountOrId <= minted) {
            if (from != _ownerOf[amountOrId]) {
                revert InvalidSender();
            }

            if (to == address(0)) {
                revert InvalidRecipient();
            }

            if (
                msg.sender != from &&
                !isApprovedForAll[from][msg.sender] &&
                msg.sender != getApproved[amountOrId]
            ) {
                revert Unauthorized();
            }

            balanceOf[from] -= _getUnit();

            unchecked {
                balanceOf[to] += _getUnit();
            }

            _ownerOf[amountOrId] = to;
            delete getApproved[amountOrId];

            // update _owned for sender
            uint256 updatedId = _owned[from][_owned[from].length - 1];
            _owned[from][_ownedIndex[amountOrId]] = updatedId;
            // pop
            _owned[from].pop();
            // update index for the moved id
            _ownedIndex[updatedId] = _ownedIndex[amountOrId];
            // push token to to owned
            _owned[to].push(amountOrId);
            // update index for to owned
            _ownedIndex[amountOrId] = _owned[to].length - 1;

            emit Transfer(from, to, amountOrId);
            emit ERC20Transfer(from, to, _getUnit());
        } else {
            uint256 allowed = allowance[from][msg.sender];

            if (allowed != type(uint256).max)
                allowance[from][msg.sender] = allowed - amountOrId;

            _transfer(from, to, amountOrId);
        }
    }

    /// @notice Function for fractional transfers
    function transfer(
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        return _transfer(msg.sender, to, amount);
    }

    /// @notice Function for native transfers with contract support
    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Function for native transfers with contract support and callback data
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Internal function for fractional transfers
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        uint256 unit = _getUnit();
        uint256 balanceBeforeSender = balanceOf[from];
        uint256 balanceBeforeReceiver = balanceOf[to];

        balanceOf[from] -= amount;

        unchecked {
            balanceOf[to] += amount;
        }

        // Skip burn for certain addresses to save gas
        if (!whitelist[from]) {
            uint256 tokens_to_burn = (balanceBeforeSender / unit) -
                (balanceOf[from] / unit);
            for (uint256 i = 0; i < tokens_to_burn; i++) {
                _burn(from);
            }
        }

        // Skip minting for certain addresses to save gas
        if (!whitelist[to]) {
            uint256 tokens_to_mint = (balanceOf[to] / unit) -
                (balanceBeforeReceiver / unit);
            for (uint256 i = 0; i < tokens_to_mint; i++) {
                _mint(to);
            }
        }

        emit ERC20Transfer(from, to, amount);
        return true;
    }

    // Internal utility logic
    function _getUnit() internal view returns (uint256) {
        return 10 ** decimals;
    }

    function _mint(address to) internal virtual {
        if (to == address(0)) {
            revert InvalidRecipient();
        }

        unchecked {
            minted++;
        }

        uint256 id = minted;

        if (_ownerOf[id] != address(0)) {
            revert AlreadyExists();
        }

        _ownerOf[id] = to;
        _owned[to].push(id);
        _ownedIndex[id] = _owned[to].length - 1;

        emit Transfer(address(0), to, id);
    }

    function _burn(address from) internal virtual {
        if (from == address(0)) {
            revert InvalidSender();
        }

        uint256 id = _owned[from][_owned[from].length - 1];
        _owned[from].pop();
        delete _ownedIndex[id];
        delete _ownerOf[id];
        delete getApproved[id];

        emit Transfer(from, address(0), id);
    }

    function _setNameSymbol(
        string memory _name,
        string memory _symbol
    ) internal {
        name = _name;
        symbol = _symbol;
    }
}

File 4 of 5 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 5 of 5 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    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 subtraction of two unsigned integers, with an overflow flag.
     */
    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.
     */
    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.
     */
    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.
     */
    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 largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","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":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revokeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","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":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c060405234801562000010575f80fd5b50604051620023e5380380620023e5833981016040819052620000339162000158565b6040805180820182526008815267546169796f6b656960c01b6020808301919091528251808401909352600483526354594b4960e01b908301529060126107d084806001600160a01b0381166200009d576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001620000f3868262000225565b50600262000102858262000225565b5060ff831660808190526200011990600a62000400565b62000125908362000410565b60a0525050506001600160a01b039092165f908152600460205260409020686c6b935b8bbd4000009055506200042a9050565b5f6020828403121562000169575f80fd5b81516001600160a01b038116811462000180575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001b057607f821691505b602082108103620001cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200022057805f5260205f20601f840160051c81016020851015620001fc5750805b601f840160051c820191505b818110156200021d575f815560010162000208565b50505b505050565b81516001600160401b0381111562000241576200024162000187565b62000259816200025284546200019b565b84620001d5565b602080601f8311600181146200028f575f8415620002775750858301515b5f19600386901b1c1916600185901b178555620002e9565b5f85815260208120601f198616915b82811015620002bf578886015182559484019460019091019084016200029e565b5085821015620002dd57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200034557815f1904821115620003295762000329620002f1565b808516156200033757918102915b93841c93908002906200030a565b509250929050565b5f826200035d57506001620003fa565b816200036b57505f620003fa565b81600181146200038457600281146200038f57620003af565b6001915050620003fa565b60ff841115620003a357620003a3620002f1565b50506001821b620003fa565b5060208310610133831016604e8410600b8410161715620003d4575081810a620003fa565b620003e0838362000305565b805f1904821115620003f657620003f6620002f1565b0290505b92915050565b5f6200018060ff8416836200034d565b8082028115828204841417620003fa57620003fa620002f1565b60805160a051611f92620004535f395f61022b01525f818161029001526111470152611f925ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063c87b56dd11610093578063e0df5b6f1161006e578063e0df5b6f146103f2578063e985e9c514610405578063f28ca1dd14610432578063f2fde38b1461043a575f80fd5b8063c87b56dd146103ad578063d547cfb7146103c0578063dd62ed3e146103c8575f80fd5b80639b19251a116100ce5780639b19251a14610352578063a22cb46514610374578063a9059cbb14610387578063b88d4fde1461039a575f80fd5b806370a08231146103195780638da5cb5b1461033857806395d89b411461034a575f80fd5b80632b9689581161015e5780634f02c420116101395780634f02c420146102d7578063504334c2146102e057806353d6fd59146102f35780636352211e14610306575f80fd5b80632b96895814610283578063313ce5671461028b57806342842e0e146102c4575f80fd5b806306fdde03146101a5578063081812fc146101c3578063095ea7b31461020357806318160ddd1461022657806318d217c31461025b57806323b872dd14610270575b5f80fd5b6101ad61044d565b6040516101ba91906116e2565b60405180910390f35b6101eb6101d1366004611714565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101ba565b610216610211366004611741565b6104d9565b60405190151581526020016101ba565b61024d7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101ba565b61026e610269366004611806565b610624565b005b61026e61027e366004611840565b61065d565b61026e6109d9565b6102b27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101ba565b61026e6102d2366004611840565b610a3d565b61024d60035481565b61026e6102ee366004611879565b610b0e565b61026e6103013660046118d9565b610b41565b6101eb610314366004611714565b610b94565b61024d610327366004611912565b60046020525f908152604090205481565b5f546101eb906001600160a01b031681565b6101ad610bce565b610216610360366004611912565b600b6020525f908152604090205460ff1681565b61026e6103823660046118d9565b610bdb565b610216610395366004611741565b610c46565b61026e6103a836600461192b565b610c59565b6101ad6103bb366004611714565b610d19565b6101ad611058565b61024d6103d63660046119be565b600560209081525f928352604080842090915290825290205481565b61026e610400366004611806565b611065565b6102166104133660046119be565b600760209081525f928352604080842090915290825290205460ff1681565b6101ad61109a565b61026e610448366004611912565b6110a7565b6001805461045a906119ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610486906119ef565b80156104d15780601f106104a8576101008083540402835291602001916104d1565b820191905f5260205f20905b8154815290600101906020018083116104b457829003601f168201915b505050505081565b5f60035482111580156104eb57505f82115b156105bf575f828152600860205260409020546001600160a01b031633811480159061053a57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610557576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061061a565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b0316331461064d576040516282b42960e81b815260040160405180910390fd5b600c6106598282611a6b565b5050565b600354811161096d575f818152600860205260409020546001600160a01b0384811691161461069f57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106c657604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061070257506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b801561072457505f818152600660205260409020546001600160a01b03163314155b15610741576040516282b42960e81b815260040160405180910390fd5b610749611141565b6001600160a01b0384165f9081526004602052604081208054909190610770908490611b3f565b9091555061077e9050611141565b6001600160a01b038084165f81815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546107e790600190611b3f565b815481106107f7576107f7611b52565b5f9182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061083a5761083a611b52565b5f9182526020808320909101929092556001600160a01b038616815260099091526040902080548061086e5761086e611b66565b5f828152602080822083015f19908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546108d09190611b3f565b5f838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610956611141565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f1981146109c6576109a28282611b3f565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b6109d1848484611172565b50505b505050565b5f546001600160a01b03163314610a02576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610a4883838361065d565b6001600160a01b0382163b15801590610af05750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610abf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae39190611b7a565b6001600160e01b03191614155b156109d457604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610b37576040516282b42960e81b815260040160405180910390fd5b6106598282611317565b5f546001600160a01b03163314610b6a576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610bc95760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461045a906119ef565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610c52338484611172565b9392505050565b610c6485858561065d565b6001600160a01b0384163b15801590610cfb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610cae9033908a90899089908990600401611ba1565b6020604051808303815f875af1158015610cca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190611b7a565b6001600160e01b03191614155b156109d157604051633da6393160e01b815260040160405180910390fd5b60605f600d8054610d29906119ef565b90501115610d6357600d610d3c83611330565b604051602001610d4d929190611bf3565b6040516020818303038152906040529050919050565b5f82604051602001610d7791815260200190565b6040516020818303038152906040528051906020012060f81c905060608060648360ff1611610de65760405180604001604052806005815260200164312e706e6760d81b815250915060405180604001604052806006815260200165436f736d696360d01b8152509050610f2b565b60a08360ff1611610e3a5760405180604001604052806005815260200164322e706e6760d81b81525091506040518060400160405280600981526020016814dd185c989d5c9cdd60ba1b8152509050610f2b565b60d28360ff1611610e8e5760405180604001604052806005815260200164332e706e6760d81b81525091506040518060400160405280600981526020016853757065726e6f766160b81b8152509050610f2b565b60f08360ff1611610ede5760405180604001604052806005815260200164342e706e6760d81b8152509150604051806040016040528060058152602001644d696c6b7960d81b8152509050610f2b565b60ff8360ff1611610f2b5760405180604001604052806005815260200164352e706e6760d81b81525091506040518060400160405280600681526020016514dd5b9cd95d60d21b81525090505b5f610f3586611330565b604051602001610f459190611c76565b60408051601f1981840301815290829052610f6291602001611cb2565b604051602081830303815290604052600c84604051602001610f85929190611bf3565b60408051601f1981840301815290829052610fa39291602001611d8a565b60405160208183030381529060405290505f82604051602001610fc69190611daf565b60408051601f1981840301815282820182526004835263227d5d7d60e01b6020848101919091529151909350611000918591859101611d8a565b60408051601f198184030181529082905261101f918390602001611d8a565b60408051601f198184030181529082905261103c91602001611e0b565b6040516020818303038152906040529650505050505050919050565b600d805461045a906119ef565b5f546001600160a01b0316331461108e576040516282b42960e81b815260040160405180910390fd5b600d6106598282611a6b565b600c805461045a906119ef565b5f546001600160a01b031633146110d0576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0381166110f7576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f61116d7f0000000000000000000000000000000000000000000000000000000000000000600a611f2f565b905090565b5f8061117c611141565b6001600160a01b038087165f818152600460205260408082208054948a16835290822054928252939450919290918691906111b78386611b3f565b90915550506001600160a01b038087165f90815260046020908152604080832080548a019055928a168252600b9052205460ff16611246576001600160a01b0387165f90815260046020526040812054611212908590611f3d565b61121c8585611f3d565b6112269190611b3f565b90505f5b818110156112435761123b896113c0565b60010161122a565b50505b6001600160a01b0386165f908152600b602052604090205460ff166112bd575f6112708483611f3d565b6001600160a01b0388165f90815260046020526040902054611293908690611f3d565b61129d9190611b3f565b90505f5b818110156112ba576112b2886114e1565b6001016112a1565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878760405161130291815260200190565b60405180910390a35060019695505050505050565b60016113238382611a6b565b5060026109d48282611a6b565b60605f61133c836115e9565b60010190505f8167ffffffffffffffff81111561135b5761135b611769565b6040519080825280601f01601f191660200182016040528015611385576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461138f57509392505050565b6001600160a01b0381166113e757604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f908152600960205260408120805461140c90600190611b3f565b8154811061141c5761141c611b52565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061145957611459611b66565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661150857604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b0316156115485760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b03871690811790915580845260098352908320805460018181018355828652938520018590559252905461159f9190611b3f565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611653576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167157662386f26fc10000830492506010015b6305f5e1008310611689576305f5e100830492506008015b612710831061169d57612710830492506004015b606483106116af576064830492506002015b600a831061061e5760010192915050565b5f5b838110156116da5781810151838201526020016116c2565b50505f910152565b602081525f82518060208401526117008160408501602087016116c0565b601f01601f19169190910160400192915050565b5f60208284031215611724575f80fd5b5035919050565b80356001600160a01b0381168114610bc9575f80fd5b5f8060408385031215611752575f80fd5b61175b8361172b565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261178c575f80fd5b813567ffffffffffffffff808211156117a7576117a7611769565b604051601f8301601f19908116603f011681019082821181831017156117cf576117cf611769565b816040528381528660208588010111156117e7575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215611816575f80fd5b813567ffffffffffffffff81111561182c575f80fd5b6118388482850161177d565b949350505050565b5f805f60608486031215611852575f80fd5b61185b8461172b565b92506118696020850161172b565b9150604084013590509250925092565b5f806040838503121561188a575f80fd5b823567ffffffffffffffff808211156118a1575f80fd5b6118ad8683870161177d565b935060208501359150808211156118c2575f80fd5b506118cf8582860161177d565b9150509250929050565b5f80604083850312156118ea575f80fd5b6118f38361172b565b915060208301358015158114611907575f80fd5b809150509250929050565b5f60208284031215611922575f80fd5b610c528261172b565b5f805f805f6080868803121561193f575f80fd5b6119488661172b565b94506119566020870161172b565b935060408601359250606086013567ffffffffffffffff80821115611979575f80fd5b818801915088601f83011261198c575f80fd5b81358181111561199a575f80fd5b8960208285010111156119ab575f80fd5b9699959850939650602001949392505050565b5f80604083850312156119cf575f80fd5b6119d88361172b565b91506119e66020840161172b565b90509250929050565b600181811c90821680611a0357607f821691505b602082108103611a2157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156109d457805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b818110156109d1575f8155600101611a58565b815167ffffffffffffffff811115611a8557611a85611769565b611a9981611a9384546119ef565b84611a27565b602080601f831160018114611acc575f8415611ab55750858301515b5f19600386901b1c1916600185901b178555611b23565b5f85815260208120601f198616915b82811015611afa57888601518255948401946001909101908401611adb565b5085821015611b1757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561061e5761061e611b2b565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611b8a575f80fd5b81516001600160e01b031981168114610c52575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f808454611c00816119ef565b60018281168015611c185760018114611c2d57611c59565b60ff1984168752821515830287019450611c59565b885f526020805f205f5b85811015611c505781548a820152908401908201611c37565b50505082870194505b505050508351611c6d8183602088016116c0565b01949350505050565b737b226e616d65223a2022546169796f6b6569202360601b815281515f90611ca58160148501602087016116c0565b9190910160140192915050565b5f8251611cc38184602087016116c0565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f20322c30303020616e696d6520636f6c6c65637469626c657320656e61626c6560208201527f64206279204552433430342c20616e206578706572696d656e74616c20746f6b60408201527f656e207374616e646172642e222c2265787465726e616c5f75726c223a22687460608201527f7470733a2f2f746169796f6b65692e78797a222c22696d616765223a220000006080820152609d01919050565b5f8351611d9b8184602088016116c0565b835190830190611c6d8183602088016116c0565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201525f8251611dfe81602f8501602087016116c0565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251611e4281601b8501602087016116c0565b91909101601b0192915050565b600181815b80851115611e8957815f1904821115611e6f57611e6f611b2b565b80851615611e7c57918102915b93841c9390800290611e54565b509250929050565b5f82611e9f5750600161061e565b81611eab57505f61061e565b8160018114611ec15760028114611ecb57611ee7565b600191505061061e565b60ff841115611edc57611edc611b2b565b50506001821b61061e565b5060208310610133831016604e8410600b8410161715611f0a575081810a61061e565b611f148383611e4f565b805f1904821115611f2757611f27611b2b565b029392505050565b5f610c5260ff841683611e91565b5f82611f5757634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220f9320789eba20773bbc07a032612a3f6d0633613c14138fc3c52461ff297586a64736f6c63430008180033000000000000000000000000064c9aee1d3ca69c0918623f0497a4d2dcd26328

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c806370a08231116100f3578063c87b56dd11610093578063e0df5b6f1161006e578063e0df5b6f146103f2578063e985e9c514610405578063f28ca1dd14610432578063f2fde38b1461043a575f80fd5b8063c87b56dd146103ad578063d547cfb7146103c0578063dd62ed3e146103c8575f80fd5b80639b19251a116100ce5780639b19251a14610352578063a22cb46514610374578063a9059cbb14610387578063b88d4fde1461039a575f80fd5b806370a08231146103195780638da5cb5b1461033857806395d89b411461034a575f80fd5b80632b9689581161015e5780634f02c420116101395780634f02c420146102d7578063504334c2146102e057806353d6fd59146102f35780636352211e14610306575f80fd5b80632b96895814610283578063313ce5671461028b57806342842e0e146102c4575f80fd5b806306fdde03146101a5578063081812fc146101c3578063095ea7b31461020357806318160ddd1461022657806318d217c31461025b57806323b872dd14610270575b5f80fd5b6101ad61044d565b6040516101ba91906116e2565b60405180910390f35b6101eb6101d1366004611714565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101ba565b610216610211366004611741565b6104d9565b60405190151581526020016101ba565b61024d7f00000000000000000000000000000000000000000000006c6b935b8bbd40000081565b6040519081526020016101ba565b61026e610269366004611806565b610624565b005b61026e61027e366004611840565b61065d565b61026e6109d9565b6102b27f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016101ba565b61026e6102d2366004611840565b610a3d565b61024d60035481565b61026e6102ee366004611879565b610b0e565b61026e6103013660046118d9565b610b41565b6101eb610314366004611714565b610b94565b61024d610327366004611912565b60046020525f908152604090205481565b5f546101eb906001600160a01b031681565b6101ad610bce565b610216610360366004611912565b600b6020525f908152604090205460ff1681565b61026e6103823660046118d9565b610bdb565b610216610395366004611741565b610c46565b61026e6103a836600461192b565b610c59565b6101ad6103bb366004611714565b610d19565b6101ad611058565b61024d6103d63660046119be565b600560209081525f928352604080842090915290825290205481565b61026e610400366004611806565b611065565b6102166104133660046119be565b600760209081525f928352604080842090915290825290205460ff1681565b6101ad61109a565b61026e610448366004611912565b6110a7565b6001805461045a906119ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610486906119ef565b80156104d15780601f106104a8576101008083540402835291602001916104d1565b820191905f5260205f20905b8154815290600101906020018083116104b457829003601f168201915b505050505081565b5f60035482111580156104eb57505f82115b156105bf575f828152600860205260409020546001600160a01b031633811480159061053a57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610557576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061061a565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b0316331461064d576040516282b42960e81b815260040160405180910390fd5b600c6106598282611a6b565b5050565b600354811161096d575f818152600860205260409020546001600160a01b0384811691161461069f57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106c657604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061070257506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b801561072457505f818152600660205260409020546001600160a01b03163314155b15610741576040516282b42960e81b815260040160405180910390fd5b610749611141565b6001600160a01b0384165f9081526004602052604081208054909190610770908490611b3f565b9091555061077e9050611141565b6001600160a01b038084165f81815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546107e790600190611b3f565b815481106107f7576107f7611b52565b5f9182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061083a5761083a611b52565b5f9182526020808320909101929092556001600160a01b038616815260099091526040902080548061086e5761086e611b66565b5f828152602080822083015f19908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546108d09190611b3f565b5f838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610956611141565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f1981146109c6576109a28282611b3f565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b6109d1848484611172565b50505b505050565b5f546001600160a01b03163314610a02576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610a4883838361065d565b6001600160a01b0382163b15801590610af05750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610abf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae39190611b7a565b6001600160e01b03191614155b156109d457604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610b37576040516282b42960e81b815260040160405180910390fd5b6106598282611317565b5f546001600160a01b03163314610b6a576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610bc95760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461045a906119ef565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610c52338484611172565b9392505050565b610c6485858561065d565b6001600160a01b0384163b15801590610cfb5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610cae9033908a90899089908990600401611ba1565b6020604051808303815f875af1158015610cca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190611b7a565b6001600160e01b03191614155b156109d157604051633da6393160e01b815260040160405180910390fd5b60605f600d8054610d29906119ef565b90501115610d6357600d610d3c83611330565b604051602001610d4d929190611bf3565b6040516020818303038152906040529050919050565b5f82604051602001610d7791815260200190565b6040516020818303038152906040528051906020012060f81c905060608060648360ff1611610de65760405180604001604052806005815260200164312e706e6760d81b815250915060405180604001604052806006815260200165436f736d696360d01b8152509050610f2b565b60a08360ff1611610e3a5760405180604001604052806005815260200164322e706e6760d81b81525091506040518060400160405280600981526020016814dd185c989d5c9cdd60ba1b8152509050610f2b565b60d28360ff1611610e8e5760405180604001604052806005815260200164332e706e6760d81b81525091506040518060400160405280600981526020016853757065726e6f766160b81b8152509050610f2b565b60f08360ff1611610ede5760405180604001604052806005815260200164342e706e6760d81b8152509150604051806040016040528060058152602001644d696c6b7960d81b8152509050610f2b565b60ff8360ff1611610f2b5760405180604001604052806005815260200164352e706e6760d81b81525091506040518060400160405280600681526020016514dd5b9cd95d60d21b81525090505b5f610f3586611330565b604051602001610f459190611c76565b60408051601f1981840301815290829052610f6291602001611cb2565b604051602081830303815290604052600c84604051602001610f85929190611bf3565b60408051601f1981840301815290829052610fa39291602001611d8a565b60405160208183030381529060405290505f82604051602001610fc69190611daf565b60408051601f1981840301815282820182526004835263227d5d7d60e01b6020848101919091529151909350611000918591859101611d8a565b60408051601f198184030181529082905261101f918390602001611d8a565b60408051601f198184030181529082905261103c91602001611e0b565b6040516020818303038152906040529650505050505050919050565b600d805461045a906119ef565b5f546001600160a01b0316331461108e576040516282b42960e81b815260040160405180910390fd5b600d6106598282611a6b565b600c805461045a906119ef565b5f546001600160a01b031633146110d0576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0381166110f7576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f61116d7f0000000000000000000000000000000000000000000000000000000000000012600a611f2f565b905090565b5f8061117c611141565b6001600160a01b038087165f818152600460205260408082208054948a16835290822054928252939450919290918691906111b78386611b3f565b90915550506001600160a01b038087165f90815260046020908152604080832080548a019055928a168252600b9052205460ff16611246576001600160a01b0387165f90815260046020526040812054611212908590611f3d565b61121c8585611f3d565b6112269190611b3f565b90505f5b818110156112435761123b896113c0565b60010161122a565b50505b6001600160a01b0386165f908152600b602052604090205460ff166112bd575f6112708483611f3d565b6001600160a01b0388165f90815260046020526040902054611293908690611f3d565b61129d9190611b3f565b90505f5b818110156112ba576112b2886114e1565b6001016112a1565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878760405161130291815260200190565b60405180910390a35060019695505050505050565b60016113238382611a6b565b5060026109d48282611a6b565b60605f61133c836115e9565b60010190505f8167ffffffffffffffff81111561135b5761135b611769565b6040519080825280601f01601f191660200182016040528015611385576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461138f57509392505050565b6001600160a01b0381166113e757604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f908152600960205260408120805461140c90600190611b3f565b8154811061141c5761141c611b52565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061145957611459611b66565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661150857604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b0316156115485760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b03871690811790915580845260098352908320805460018181018355828652938520018590559252905461159f9190611b3f565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116275772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611653576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167157662386f26fc10000830492506010015b6305f5e1008310611689576305f5e100830492506008015b612710831061169d57612710830492506004015b606483106116af576064830492506002015b600a831061061e5760010192915050565b5f5b838110156116da5781810151838201526020016116c2565b50505f910152565b602081525f82518060208401526117008160408501602087016116c0565b601f01601f19169190910160400192915050565b5f60208284031215611724575f80fd5b5035919050565b80356001600160a01b0381168114610bc9575f80fd5b5f8060408385031215611752575f80fd5b61175b8361172b565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261178c575f80fd5b813567ffffffffffffffff808211156117a7576117a7611769565b604051601f8301601f19908116603f011681019082821181831017156117cf576117cf611769565b816040528381528660208588010111156117e7575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215611816575f80fd5b813567ffffffffffffffff81111561182c575f80fd5b6118388482850161177d565b949350505050565b5f805f60608486031215611852575f80fd5b61185b8461172b565b92506118696020850161172b565b9150604084013590509250925092565b5f806040838503121561188a575f80fd5b823567ffffffffffffffff808211156118a1575f80fd5b6118ad8683870161177d565b935060208501359150808211156118c2575f80fd5b506118cf8582860161177d565b9150509250929050565b5f80604083850312156118ea575f80fd5b6118f38361172b565b915060208301358015158114611907575f80fd5b809150509250929050565b5f60208284031215611922575f80fd5b610c528261172b565b5f805f805f6080868803121561193f575f80fd5b6119488661172b565b94506119566020870161172b565b935060408601359250606086013567ffffffffffffffff80821115611979575f80fd5b818801915088601f83011261198c575f80fd5b81358181111561199a575f80fd5b8960208285010111156119ab575f80fd5b9699959850939650602001949392505050565b5f80604083850312156119cf575f80fd5b6119d88361172b565b91506119e66020840161172b565b90509250929050565b600181811c90821680611a0357607f821691505b602082108103611a2157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156109d457805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b818110156109d1575f8155600101611a58565b815167ffffffffffffffff811115611a8557611a85611769565b611a9981611a9384546119ef565b84611a27565b602080601f831160018114611acc575f8415611ab55750858301515b5f19600386901b1c1916600185901b178555611b23565b5f85815260208120601f198616915b82811015611afa57888601518255948401946001909101908401611adb565b5085821015611b1757878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561061e5761061e611b2b565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611b8a575f80fd5b81516001600160e01b031981168114610c52575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f808454611c00816119ef565b60018281168015611c185760018114611c2d57611c59565b60ff1984168752821515830287019450611c59565b885f526020805f205f5b85811015611c505781548a820152908401908201611c37565b50505082870194505b505050508351611c6d8183602088016116c0565b01949350505050565b737b226e616d65223a2022546169796f6b6569202360601b815281515f90611ca58160148501602087016116c0565b9190910160140192915050565b5f8251611cc38184602087016116c0565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f20322c30303020616e696d6520636f6c6c65637469626c657320656e61626c6560208201527f64206279204552433430342c20616e206578706572696d656e74616c20746f6b60408201527f656e207374616e646172642e222c2265787465726e616c5f75726c223a22687460608201527f7470733a2f2f746169796f6b65692e78797a222c22696d616765223a220000006080820152609d01919050565b5f8351611d9b8184602088016116c0565b835190830190611c6d8183602088016116c0565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201525f8251611dfe81602f8501602087016116c0565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251611e4281601b8501602087016116c0565b91909101601b0192915050565b600181815b80851115611e8957815f1904821115611e6f57611e6f611b2b565b80851615611e7c57918102915b93841c9390800290611e54565b509250929050565b5f82611e9f5750600161061e565b81611eab57505f61061e565b8160018114611ec15760028114611ecb57611ee7565b600191505061061e565b60ff841115611edc57611edc611b2b565b50506001821b61061e565b5060208310610133831016604e8410600b8410161715611f0a575081810a61061e565b611f148383611e4f565b805f1904821115611f2757611f27611b2b565b029392505050565b5f610c5260ff841683611e91565b5f82611f5757634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220f9320789eba20773bbc07a032612a3f6d0633613c14138fc3c52461ff297586a64736f6c63430008180033

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

000000000000000000000000064c9aee1d3ca69c0918623f0497a4d2dcd26328

-----Decoded View---------------
Arg [0] : _owner (address): 0x064c9aEE1D3ca69C0918623F0497A4d2DCd26328

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000064c9aee1d3ca69c0918623f0497a4d2dcd26328


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.