ETH Price: $3,639.56 (-0.55%)
 

Overview

Max Total Supply

8,000 LUCK

Holders

0

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Null: 0x000...000
Balance
0 LUCK

Value
$0.00
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DragonToken

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 7 : DragonToken.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.23;

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

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

    constructor(
        address _owner
    ) ERC404("Lucky Red Dragon", "LUCK", 18, 8000, _owner) {
        balanceOf[_owner] = 8000 * 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 baseTokenURI;
        } else {
            string memory jsonPreImage = string.concat(
                string.concat(
                    string.concat(
                        '{"name":"Lucky Red Dragon #',
                        Strings.toString(id)
                    ),
                    '","description":"**Blessings of the Celestial Dragon** \\n\\nIn the auspicious cycle of the Year of the Dragon, the Lucky Red Dragon NFT emerges as a celestial blessing. This radiant and powerful dragon, steeped in the ancient spirit of Chinese New Year, is a digital talisman of immense luck and overflowing prosperity. Hold this token and let the dragon`s timeless fortune guide your path to abundant wealth and success in the unfolding year. It is not merely an NFT; it is a sacred charm for harnessing the enduring blessings of prosperity. \\n\\n **\u5929\u9f99\u7684\u795d\u798f** \\n\\n\u5728\u9f99\u5e74\u7684\u5409\u7965\u5468\u671f\u4e2d\u002c\u0020\u5e78\u8fd0\u7ea2\u9f99\u0020\u004e\u0046\u0054\u0020\u663e\u73b0\u4e3a\u5929\u754c\u7684\u795d\u798f\u3002\u8fd9\u4e2a\u5149\u8292\u56db\u5c04\u3001\u5f3a\u5927\u7684\u9f99\uff0c\u6d78\u6da6\u7740\u4e2d\u56fd\u65b0\u5e74\u7684\u53e4\u8001\u7cbe\u795e\uff0c\u662f\u4e00\u679a\u5e26\u6765\u5de8\u5927\u8fd0\u6c14\u548c\u6ee1\u6ea2\u7e41\u8363\u7684\u6570\u5b57\u62a4\u7b26\u3002\u6301\u6709\u6b64\u4ee4\u724c\uff0c\u8ba9\u9f99\u7684\u6c38\u6052\u8d22\u5bcc\u5f15\u9886\u4f60\u8d70\u5411\u4e00\u5e74\u4e2d\u7684\u4e30\u76db\u8d22\u5bcc\u548c\u6210\u529f\u3002\u8fd9\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u0020\u004e\u0046\u0054\u003a\u0020\u5b83\u662f\u4e00\u4e2a\u7528\u4e8e\u6c72\u53d6\u6301\u4e45\u7e41\u8363\u795d\u798f\u7684\u795e\u5723\u9b45\u529b\u002e \\n\\nArtwork by Joyce Liu X AOI","external_url":"https://aoi.com", "image":"'
                ),
                string.concat(
                    dataURI,
                    'bafybeido3hdxmoo73icpndkpwp2ajm6xc4jn2yuqnocf75wvimfynp4ia4",'
                )
            );
            string memory jsonPostImage = string.concat(
                string.concat(
                    '"animation_url":"',
                    string.concat(
                        dataURI,
                        'bafybeibasfxazq4bswfzn5ov6va6qemuv6p4wjxrqyg33n2uv6wf767yau",'
                    )
                ),
                '"attributes":[]}'
            );

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

File 2 of 7 : ERC404.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.23;

import "@openzeppelin/contracts/access/Ownable.sol";

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();
    error Unauthorized();

    // 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 3 of 7 : 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 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 5 of 7 : 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 success flag (no overflow).
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        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 success flag (no division by zero).
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        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;
        }

        // The following calculation ensures accurate ceiling division without overflow.
        // Since a is non-zero, (a - 1) / b will not overflow.
        // The largest possible result occurs when (a - 1) / b is type(uint256).max,
        // but the largest value we can obtain is type(uint256).max - 1, which happens
        // when a = type(uint256).max and b = 1.
        unchecked {
            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;
    }
}

File 6 of 7 : 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 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":"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":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":"renounceOwnership","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":"newOwner","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"}]

60c06040523480156200001157600080fd5b506040516200278f3803806200278f83398101604081905262000034916200017e565b604080518082018252601081526f263ab1b5bc902932b210223930b3b7b760811b602080830191909152825180840190935260048352634c55434b60e01b90830152906012611f4084806001600160a01b038116620000ad57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000b8816200012e565b506001620000c7868262000257565b506002620000d6858262000257565b5060ff83166080819052620000ed90600a62000438565b620000f9908362000449565b60a0525050506001600160a01b0390921660009081526004602052604090206901b1ae4d6e2ef5000000905550620004639050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200019157600080fd5b81516001600160a01b0381168114620001a957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001db57607f821691505b602082108103620001fc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000252576000816000526020600020601f850160051c810160208610156200022d5750805b601f850160051c820191505b818110156200024e5782815560010162000239565b5050505b505050565b81516001600160401b03811115620002735762000273620001b0565b6200028b81620002848454620001c6565b8462000202565b602080601f831160018114620002c35760008415620002aa5750858301515b600019600386901b1c1916600185901b1785556200024e565b600085815260208120601f198616915b82811015620002f457888601518255948401946001909101908401620002d3565b5085821015620003135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200037a5781600019048211156200035e576200035e62000323565b808516156200036c57918102915b93841c93908002906200033e565b509250929050565b600082620003935750600162000432565b81620003a25750600062000432565b8160018114620003bb5760028114620003c657620003e6565b600191505062000432565b60ff841115620003da57620003da62000323565b50506001821b62000432565b5060208310610133831016604e8410600b84101617156200040b575081810a62000432565b62000417838362000339565b80600019048211156200042e576200042e62000323565b0290505b92915050565b6000620001a960ff84168362000382565b808202811582820484141762000432576200043262000323565b60805160a0516122ff6200049060003960006102350152600081816102920152610f1201526122ff6000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063c87b56dd11610097578063e0df5b6f11610071578063e0df5b6f146103fe578063e985e9c514610411578063f28ca1dd1461043f578063f2fde38b1461044757600080fd5b8063c87b56dd146103b8578063d547cfb7146103cb578063dd62ed3e146103d357600080fd5b80639b19251a116100d35780639b19251a1461035c578063a22cb4651461037f578063a9059cbb14610392578063b88d4fde146103a557600080fd5b8063715018a61461033b5780638da5cb5b1461034357806395d89b411461035457600080fd5b8063313ce56711610166578063504334c211610140578063504334c2146102e257806353d6fd59146102f55780636352211e1461030857806370a082311461031b57600080fd5b8063313ce5671461028d57806342842e0e146102c65780634f02c420146102d957600080fd5b806306fdde03146101ae578063081812fc146101cc578063095ea7b31461020d57806318160ddd1461023057806318d217c31461026557806323b872dd1461027a575b600080fd5b6101b661045a565b6040516101c39190611516565b60405180910390f35b6101f56101da366004611549565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b61022061021b366004611579565b6104e8565b60405190151581526020016101c3565b6102577f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101c3565b610278610273366004611646565b610639565b005b610278610288366004611683565b610651565b6102b47f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101c3565b6102786102d4366004611683565b6109da565b61025760035481565b6102786102f03660046116bf565b610aaf565b610278610303366004611723565b610ac1565b6101f5610316366004611549565b610af4565b61025761032936600461175f565b60046020526000908152604090205481565b610278610b2f565b6000546001600160a01b03166101f5565b6101b6610b43565b61022061036a36600461175f565b600b6020526000908152604090205460ff1681565b61027861038d366004611723565b610b50565b6102206103a0366004611579565b610bbc565b6102786103b336600461177a565b610bd0565b6101b66103c6366004611549565b610c93565b6101b6610e6d565b6102576103e1366004611815565b600560209081526000928352604080842090915290825290205481565b61027861040c366004611646565b610e7a565b61022061041f366004611815565b600760209081526000928352604080842090915290825290205460ff1681565b6101b6610e8e565b61027861045536600461175f565b610e9b565b6001805461046790611848565b80601f016020809104026020016040519081016040528092919081815260200182805461049390611848565b80156104e05780601f106104b5576101008083540402835291602001916104e0565b820191906000526020600020905b8154815290600101906020018083116104c357829003601f168201915b505050505081565b600060035482111580156104fc5750600082115b156105d3576000828152600860205260409020546001600160a01b031633811480159061054d57506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b1561056a576040516282b42960e81b815260040160405180910390fd5b60008381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061062f565b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b610641610ede565b600c61064d82826118d2565b5050565b600354811161096b576000818152600860205260409020546001600160a01b0384811691161461069457604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106bb57604051634e46966960e11b815260040160405180910390fd5b336001600160a01b038416148015906106f857506001600160a01b038316600090815260076020908152604080832033845290915290205460ff16155b801561071b57506000818152600660205260409020546001600160a01b03163314155b15610738576040516282b42960e81b815260040160405180910390fd5b610740610f0b565b6001600160a01b038416600090815260046020526040812080549091906107689084906119a8565b909155506107769050610f0b565b6001600160a01b03808416600081815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546107e0906001906119a8565b815481106107f0576107f06119bb565b60009182526020808320909101546001600160a01b0387168352600982526040808420868552600a90935290922054815492935083928110610834576108346119bb565b60009182526020808320909101929092556001600160a01b0386168152600990915260409020805480610869576108696119d1565b600082815260208082208301600019908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546108cd91906119a8565b6000838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610954610f0b565b60405190815260200160405180910390a350505050565b6001600160a01b038316600090815260056020908152604080832033845290915290205460001981146109c7576109a282826119a8565b6001600160a01b03851660009081526005602090815260408083203384529091529020555b6109d2848484610f3d565b50505b505050565b6109e5838383610651565b6001600160a01b0382163b15801590610a915750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8491906119e7565b6001600160e01b03191614155b156109d557604051633da6393160e01b815260040160405180910390fd5b610ab7610ede565b61064d82826110eb565b610ac9610ede565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6000818152600860205260409020546001600160a01b031680610b2a5760405163c5723b5160e01b815260040160405180910390fd5b919050565b610b37610ede565b610b416000611104565b565b6002805461046790611848565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610bc9338484610f3d565b9392505050565b610bdb858585610651565b6001600160a01b0384163b15801590610c755750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c259033908a90899089908990600401611a11565b6020604051808303816000875af1158015610c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6891906119e7565b6001600160e01b03191614155b156109d257604051633da6393160e01b815260040160405180910390fd5b60606000600d8054610ca490611848565b90501115610d3e57600d8054610cb990611848565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce590611848565b8015610d325780601f10610d0757610100808354040283529160200191610d32565b820191906000526020600020905b815481529060010190602001808311610d1557829003601f168201915b50505050509050919050565b6000610d4983611154565b604051602001610d599190611a65565b60408051601f1981840301815290829052610d7691602001611aaa565b604051602081830303815290604052600c604051602001610d979190612021565b60408051601f1981840301815290829052610db59291602001612080565b60405160208183030381529060405290506000600c604051602001610dda91906120af565b60408051601f1981840301815290829052610df79160200161210e565b60408051601f1981840301815290829052610e1491602001612148565b60405160208183030381529060405290508181604051602001610e38929190612080565b60408051601f1981840301815290829052610e559160200161217c565b60405160208183030381529060405292505050919050565b600d805461046790611848565b610e82610ede565b600d61064d82826118d2565b600c805461046790611848565b610ea3610ede565b6001600160a01b038116610ed257604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610edb81611104565b50565b6000546001600160a01b03163314610b415760405163118cdaa760e01b8152336004820152602401610ec9565b6000610f387f0000000000000000000000000000000000000000000000000000000000000000600a612298565b905090565b600080610f48610f0b565b6001600160a01b038087166000818152600460205260408082208054948a1683529082205492825293945091929091869190610f8483866119a8565b90915550506001600160a01b03808716600090815260046020908152604080832080548a019055928a168252600b9052205460ff16611016576001600160a01b038716600090815260046020526040812054610fe19085906122a7565b610feb85856122a7565b610ff591906119a8565b905060005b818110156110135761100b896111e7565b600101610ffa565b50505b6001600160a01b0386166000908152600b602052604090205460ff1661109157600061104284836122a7565b6001600160a01b0388166000908152600460205260409020546110669086906122a7565b61107091906119a8565b905060005b8181101561108e576110868861130f565b600101611075565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516110d691815260200190565b60405180910390a35060019695505050505050565b60016110f783826118d2565b5060026109d582826118d2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060006111618361141a565b600101905060008167ffffffffffffffff811115611181576111816115a3565b6040519080825280601f01601f1916602001820160405280156111ab576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846111b557509392505050565b6001600160a01b03811661120e57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03811660009081526009602052604081208054611234906001906119a8565b81548110611244576112446119bb565b9060005260206000200154905060096000836001600160a01b03166001600160a01b03168152602001908152602001600020805480611285576112856119d1565b600082815260208082208301600019908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661133657604051634e46966960e11b815260040160405180910390fd5b60038054600101908190556000818152600860205260409020546001600160a01b0316156113775760405163119b4fd360e11b815260040160405180910390fd5b600081815260086020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526009835290832080546001818101835582865293852001859055925290546113cf91906119a8565b6000828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114595772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611485576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106114a357662386f26fc10000830492506010015b6305f5e10083106114bb576305f5e100830492506008015b61271083106114cf57612710830492506004015b606483106114e1576064830492506002015b600a83106106335760010192915050565b60005b8381101561150d5781810151838201526020016114f5565b50506000910152565b60208152600082518060208401526115358160408501602087016114f2565b601f01601f19169190910160400192915050565b60006020828403121561155b57600080fd5b5035919050565b80356001600160a01b0381168114610b2a57600080fd5b6000806040838503121561158c57600080fd5b61159583611562565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126115ca57600080fd5b813567ffffffffffffffff808211156115e5576115e56115a3565b604051601f8301601f19908116603f0116810190828211818310171561160d5761160d6115a3565b8160405283815286602085880101111561162657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561165857600080fd5b813567ffffffffffffffff81111561166f57600080fd5b61167b848285016115b9565b949350505050565b60008060006060848603121561169857600080fd5b6116a184611562565b92506116af60208501611562565b9150604084013590509250925092565b600080604083850312156116d257600080fd5b823567ffffffffffffffff808211156116ea57600080fd5b6116f6868387016115b9565b9350602085013591508082111561170c57600080fd5b50611719858286016115b9565b9150509250929050565b6000806040838503121561173657600080fd5b61173f83611562565b91506020830135801515811461175457600080fd5b809150509250929050565b60006020828403121561177157600080fd5b610bc982611562565b60008060008060006080868803121561179257600080fd5b61179b86611562565b94506117a960208701611562565b935060408601359250606086013567ffffffffffffffff808211156117cd57600080fd5b818801915088601f8301126117e157600080fd5b8135818111156117f057600080fd5b89602082850101111561180257600080fd5b9699959850939650602001949392505050565b6000806040838503121561182857600080fd5b61183183611562565b915061183f60208401611562565b90509250929050565b600181811c9082168061185c57607f821691505b60208210810361187c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109d5576000816000526020600020601f850160051c810160208610156118ab5750805b601f850160051c820191505b818110156118ca578281556001016118b7565b505050505050565b815167ffffffffffffffff8111156118ec576118ec6115a3565b611900816118fa8454611848565b84611882565b602080601f831160018114611935576000841561191d5750858301515b600019600386901b1c1916600185901b1785556118ca565b600085815260208120601f198616915b8281101561196457888601518255948401946001909101908401611945565b50858210156119825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8181038181111561063357610633611992565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000602082840312156119f957600080fd5b81516001600160e01b031981168114610bc957600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b7f7b226e616d65223a224c75636b792052656420447261676f6e20230000000000815260008251611a9d81601b8501602087016114f2565b91909101601b0192915050565b60008251611abc8184602087016114f2565b7f222c226465736372697074696f6e223a222a2a426c657373696e6773206f66209201918252507f7468652043656c65737469616c20447261676f6e2a2a205c6e5c6e496e20746860208201527f6520617573706963696f7573206379636c65206f66207468652059656172206f60408201527f662074686520447261676f6e2c20746865204c75636b7920526564204472616760608201527f6f6e204e465420656d657267657320617320612063656c65737469616c20626c60808201527f657373696e672e20546869732072616469616e7420616e6420706f776572667560a08201527f6c20647261676f6e2c207374656570656420696e2074686520616e6369656e7460c08201527f20737069726974206f66204368696e657365204e657720596561722c2069732060e08201527f61206469676974616c2074616c69736d616e206f6620696d6d656e7365206c756101008201527f636b20616e64206f766572666c6f77696e672070726f737065726974792e20486101208201527f6f6c64207468697320746f6b656e20616e64206c65742074686520647261676f6101408201527f6e60732074696d656c65737320666f7274756e6520677569646520796f7572206101608201527f7061746820746f206162756e64616e74207765616c746820616e6420737563636101808201527f65737320696e2074686520756e666f6c64696e6720796561722e2049742069736101a08201527f206e6f74206d6572656c7920616e204e46543b206974206973206120736163726101c08201527f656420636861726d20666f72206861726e657373696e672074686520656e64756101e08201527f72696e6720626c657373696e6773206f662070726f737065726974792e205c6e6102008201527f5c6e202a2ae5a4a9e9be99e79a84e7a59de7a68f2a2a205c6e5c6ee59ca8e9be6102208201527f99e5b9b4e79a84e59089e7a5a5e591a8e69c9fe4b8ad2c20e5b9b8e8bf90e7ba6102408201527fa2e9be99204e465420e698bee78eb0e4b8bae5a4a9e7958ce79a84e7a59de7a66102608201527f8fe38082e8bf99e4b8aae58589e88a92e59b9be5b084e38081e5bcbae5a4a7e76102808201527f9a84e9be99efbc8ce6b5b8e6b6a6e79d80e4b8ade59bbde696b0e5b9b4e79a846102a08201527fe58fa4e88081e7b2bee7a59eefbc8ce698afe4b880e69e9ae5b8a6e69da5e5b76102c08201527fa8e5a4a7e8bf90e6b094e5928ce6bba1e6baa2e7b981e88da3e79a84e695b0e56102e08201527fad97e68aa4e7aca6e38082e68c81e69c89e6ada4e4bba4e7898cefbc8ce8aea96103008201527fe9be99e79a84e6b0b8e68192e8b4a2e5af8ce5bc95e9a286e4bda0e8b5b0e5906103208201527f91e4b880e5b9b4e4b8ade79a84e4b8b0e79b9be8b4a2e5af8ce5928ce68890e56103408201527f8a9fe38082e8bf99e4b88de4bb85e4bb85e698afe4b880e4b8aa204e46543a206103608201527fe5ae83e698afe4b880e4b8aae794a8e4ba8ee6b1b2e58f96e68c81e4b985e7b96103808201527f81e88da3e7a59de7a68fe79a84e7a59ee59ca3e9ad85e58a9b2e205c6e5c6e416103a08201527f7274776f726b206279204a6f796365204c6975205820414f49222c22657874656103c08201527f726e616c5f75726c223a2268747470733a2f2f616f692e636f6d222c2022696d6103e08201526530b3b2911d1160d11b61040082015261040601919050565b60008154611fbb81611848565b60018281168015611fd35760018114611fe857612017565b60ff1984168752821515830287019450612017565b8560005260208060002060005b8581101561200e5781548a820152908401908201611ff5565b50505082870194505b5050505092915050565b600061202d8284611fae565b7f62616679626569646f336864786d6f6f37336963706e646b70777032616a6d3681527f7863346a6e327975716e6f636637357776696d66796e7034696134222c0000006020820152603d019392505050565b600083516120928184602088016114f2565b8351908301906120a68183602088016114f2565b01949350505050565b60006120bb8284611fae565b7f626166796265696261736678617a7134627377667a6e356f763676613671656d81527f7576367034776a787271796733336e327576367766373637796175222c0000006020820152603d019392505050565b701130b734b6b0ba34b7b72fbab936111d1160791b8152815160009061213b8160118501602087016114f2565b9190910160110192915050565b6000825161215a8184602087016114f2565b6f2261747472696275746573223a5b5d7d60801b920191825250601001919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c0000000000815260008251611a9d81601b8501602087016114f2565b600181815b808511156121ef5781600019048211156121d5576121d5611992565b808516156121e257918102915b93841c93908002906121b9565b509250929050565b60008261220657506001610633565b8161221357506000610633565b816001811461222957600281146122335761224f565b6001915050610633565b60ff84111561224457612244611992565b50506001821b610633565b5060208310610133831016604e8410600b8410161715612272575081810a610633565b61227c83836121b4565b806000190482111561229057612290611992565b029392505050565b6000610bc960ff8416836121f7565b6000826122c457634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207cc69cbe0c3d811e7f5a088f76fb84e5120f9a9009fefbc2e2fe33c3cc65bcb764736f6c63430008170033000000000000000000000000d998411be2a74e97894213b09335d4597a5a9e33

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063c87b56dd11610097578063e0df5b6f11610071578063e0df5b6f146103fe578063e985e9c514610411578063f28ca1dd1461043f578063f2fde38b1461044757600080fd5b8063c87b56dd146103b8578063d547cfb7146103cb578063dd62ed3e146103d357600080fd5b80639b19251a116100d35780639b19251a1461035c578063a22cb4651461037f578063a9059cbb14610392578063b88d4fde146103a557600080fd5b8063715018a61461033b5780638da5cb5b1461034357806395d89b411461035457600080fd5b8063313ce56711610166578063504334c211610140578063504334c2146102e257806353d6fd59146102f55780636352211e1461030857806370a082311461031b57600080fd5b8063313ce5671461028d57806342842e0e146102c65780634f02c420146102d957600080fd5b806306fdde03146101ae578063081812fc146101cc578063095ea7b31461020d57806318160ddd1461023057806318d217c31461026557806323b872dd1461027a575b600080fd5b6101b661045a565b6040516101c39190611516565b60405180910390f35b6101f56101da366004611549565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b61022061021b366004611579565b6104e8565b60405190151581526020016101c3565b6102577f0000000000000000000000000000000000000000000001b1ae4d6e2ef500000081565b6040519081526020016101c3565b610278610273366004611646565b610639565b005b610278610288366004611683565b610651565b6102b47f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016101c3565b6102786102d4366004611683565b6109da565b61025760035481565b6102786102f03660046116bf565b610aaf565b610278610303366004611723565b610ac1565b6101f5610316366004611549565b610af4565b61025761032936600461175f565b60046020526000908152604090205481565b610278610b2f565b6000546001600160a01b03166101f5565b6101b6610b43565b61022061036a36600461175f565b600b6020526000908152604090205460ff1681565b61027861038d366004611723565b610b50565b6102206103a0366004611579565b610bbc565b6102786103b336600461177a565b610bd0565b6101b66103c6366004611549565b610c93565b6101b6610e6d565b6102576103e1366004611815565b600560209081526000928352604080842090915290825290205481565b61027861040c366004611646565b610e7a565b61022061041f366004611815565b600760209081526000928352604080842090915290825290205460ff1681565b6101b6610e8e565b61027861045536600461175f565b610e9b565b6001805461046790611848565b80601f016020809104026020016040519081016040528092919081815260200182805461049390611848565b80156104e05780601f106104b5576101008083540402835291602001916104e0565b820191906000526020600020905b8154815290600101906020018083116104c357829003601f168201915b505050505081565b600060035482111580156104fc5750600082115b156105d3576000828152600860205260409020546001600160a01b031633811480159061054d57506001600160a01b038116600090815260076020908152604080832033845290915290205460ff16155b1561056a576040516282b42960e81b815260040160405180910390fd5b60008381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061062f565b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b610641610ede565b600c61064d82826118d2565b5050565b600354811161096b576000818152600860205260409020546001600160a01b0384811691161461069457604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106bb57604051634e46966960e11b815260040160405180910390fd5b336001600160a01b038416148015906106f857506001600160a01b038316600090815260076020908152604080832033845290915290205460ff16155b801561071b57506000818152600660205260409020546001600160a01b03163314155b15610738576040516282b42960e81b815260040160405180910390fd5b610740610f0b565b6001600160a01b038416600090815260046020526040812080549091906107689084906119a8565b909155506107769050610f0b565b6001600160a01b03808416600081815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546107e0906001906119a8565b815481106107f0576107f06119bb565b60009182526020808320909101546001600160a01b0387168352600982526040808420868552600a90935290922054815492935083928110610834576108346119bb565b60009182526020808320909101929092556001600160a01b0386168152600990915260409020805480610869576108696119d1565b600082815260208082208301600019908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546108cd91906119a8565b6000838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610954610f0b565b60405190815260200160405180910390a350505050565b6001600160a01b038316600090815260056020908152604080832033845290915290205460001981146109c7576109a282826119a8565b6001600160a01b03851660009081526005602090815260408083203384529091529020555b6109d2848484610f3d565b50505b505050565b6109e5838383610651565b6001600160a01b0382163b15801590610a915750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8491906119e7565b6001600160e01b03191614155b156109d557604051633da6393160e01b815260040160405180910390fd5b610ab7610ede565b61064d82826110eb565b610ac9610ede565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6000818152600860205260409020546001600160a01b031680610b2a5760405163c5723b5160e01b815260040160405180910390fd5b919050565b610b37610ede565b610b416000611104565b565b6002805461046790611848565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610bc9338484610f3d565b9392505050565b610bdb858585610651565b6001600160a01b0384163b15801590610c755750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c259033908a90899089908990600401611a11565b6020604051808303816000875af1158015610c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6891906119e7565b6001600160e01b03191614155b156109d257604051633da6393160e01b815260040160405180910390fd5b60606000600d8054610ca490611848565b90501115610d3e57600d8054610cb990611848565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce590611848565b8015610d325780601f10610d0757610100808354040283529160200191610d32565b820191906000526020600020905b815481529060010190602001808311610d1557829003601f168201915b50505050509050919050565b6000610d4983611154565b604051602001610d599190611a65565b60408051601f1981840301815290829052610d7691602001611aaa565b604051602081830303815290604052600c604051602001610d979190612021565b60408051601f1981840301815290829052610db59291602001612080565b60405160208183030381529060405290506000600c604051602001610dda91906120af565b60408051601f1981840301815290829052610df79160200161210e565b60408051601f1981840301815290829052610e1491602001612148565b60405160208183030381529060405290508181604051602001610e38929190612080565b60408051601f1981840301815290829052610e559160200161217c565b60405160208183030381529060405292505050919050565b600d805461046790611848565b610e82610ede565b600d61064d82826118d2565b600c805461046790611848565b610ea3610ede565b6001600160a01b038116610ed257604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610edb81611104565b50565b6000546001600160a01b03163314610b415760405163118cdaa760e01b8152336004820152602401610ec9565b6000610f387f0000000000000000000000000000000000000000000000000000000000000012600a612298565b905090565b600080610f48610f0b565b6001600160a01b038087166000818152600460205260408082208054948a1683529082205492825293945091929091869190610f8483866119a8565b90915550506001600160a01b03808716600090815260046020908152604080832080548a019055928a168252600b9052205460ff16611016576001600160a01b038716600090815260046020526040812054610fe19085906122a7565b610feb85856122a7565b610ff591906119a8565b905060005b818110156110135761100b896111e7565b600101610ffa565b50505b6001600160a01b0386166000908152600b602052604090205460ff1661109157600061104284836122a7565b6001600160a01b0388166000908152600460205260409020546110669086906122a7565b61107091906119a8565b905060005b8181101561108e576110868861130f565b600101611075565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516110d691815260200190565b60405180910390a35060019695505050505050565b60016110f783826118d2565b5060026109d582826118d2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060006111618361141a565b600101905060008167ffffffffffffffff811115611181576111816115a3565b6040519080825280601f01601f1916602001820160405280156111ab576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846111b557509392505050565b6001600160a01b03811661120e57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03811660009081526009602052604081208054611234906001906119a8565b81548110611244576112446119bb565b9060005260206000200154905060096000836001600160a01b03166001600160a01b03168152602001908152602001600020805480611285576112856119d1565b600082815260208082208301600019908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661133657604051634e46966960e11b815260040160405180910390fd5b60038054600101908190556000818152600860205260409020546001600160a01b0316156113775760405163119b4fd360e11b815260040160405180910390fd5b600081815260086020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526009835290832080546001818101835582865293852001859055925290546113cf91906119a8565b6000828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114595772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611485576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106114a357662386f26fc10000830492506010015b6305f5e10083106114bb576305f5e100830492506008015b61271083106114cf57612710830492506004015b606483106114e1576064830492506002015b600a83106106335760010192915050565b60005b8381101561150d5781810151838201526020016114f5565b50506000910152565b60208152600082518060208401526115358160408501602087016114f2565b601f01601f19169190910160400192915050565b60006020828403121561155b57600080fd5b5035919050565b80356001600160a01b0381168114610b2a57600080fd5b6000806040838503121561158c57600080fd5b61159583611562565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126115ca57600080fd5b813567ffffffffffffffff808211156115e5576115e56115a3565b604051601f8301601f19908116603f0116810190828211818310171561160d5761160d6115a3565b8160405283815286602085880101111561162657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561165857600080fd5b813567ffffffffffffffff81111561166f57600080fd5b61167b848285016115b9565b949350505050565b60008060006060848603121561169857600080fd5b6116a184611562565b92506116af60208501611562565b9150604084013590509250925092565b600080604083850312156116d257600080fd5b823567ffffffffffffffff808211156116ea57600080fd5b6116f6868387016115b9565b9350602085013591508082111561170c57600080fd5b50611719858286016115b9565b9150509250929050565b6000806040838503121561173657600080fd5b61173f83611562565b91506020830135801515811461175457600080fd5b809150509250929050565b60006020828403121561177157600080fd5b610bc982611562565b60008060008060006080868803121561179257600080fd5b61179b86611562565b94506117a960208701611562565b935060408601359250606086013567ffffffffffffffff808211156117cd57600080fd5b818801915088601f8301126117e157600080fd5b8135818111156117f057600080fd5b89602082850101111561180257600080fd5b9699959850939650602001949392505050565b6000806040838503121561182857600080fd5b61183183611562565b915061183f60208401611562565b90509250929050565b600181811c9082168061185c57607f821691505b60208210810361187c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109d5576000816000526020600020601f850160051c810160208610156118ab5750805b601f850160051c820191505b818110156118ca578281556001016118b7565b505050505050565b815167ffffffffffffffff8111156118ec576118ec6115a3565b611900816118fa8454611848565b84611882565b602080601f831160018114611935576000841561191d5750858301515b600019600386901b1c1916600185901b1785556118ca565b600085815260208120601f198616915b8281101561196457888601518255948401946001909101908401611945565b50858210156119825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8181038181111561063357610633611992565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000602082840312156119f957600080fd5b81516001600160e01b031981168114610bc957600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b7f7b226e616d65223a224c75636b792052656420447261676f6e20230000000000815260008251611a9d81601b8501602087016114f2565b91909101601b0192915050565b60008251611abc8184602087016114f2565b7f222c226465736372697074696f6e223a222a2a426c657373696e6773206f66209201918252507f7468652043656c65737469616c20447261676f6e2a2a205c6e5c6e496e20746860208201527f6520617573706963696f7573206379636c65206f66207468652059656172206f60408201527f662074686520447261676f6e2c20746865204c75636b7920526564204472616760608201527f6f6e204e465420656d657267657320617320612063656c65737469616c20626c60808201527f657373696e672e20546869732072616469616e7420616e6420706f776572667560a08201527f6c20647261676f6e2c207374656570656420696e2074686520616e6369656e7460c08201527f20737069726974206f66204368696e657365204e657720596561722c2069732060e08201527f61206469676974616c2074616c69736d616e206f6620696d6d656e7365206c756101008201527f636b20616e64206f766572666c6f77696e672070726f737065726974792e20486101208201527f6f6c64207468697320746f6b656e20616e64206c65742074686520647261676f6101408201527f6e60732074696d656c65737320666f7274756e6520677569646520796f7572206101608201527f7061746820746f206162756e64616e74207765616c746820616e6420737563636101808201527f65737320696e2074686520756e666f6c64696e6720796561722e2049742069736101a08201527f206e6f74206d6572656c7920616e204e46543b206974206973206120736163726101c08201527f656420636861726d20666f72206861726e657373696e672074686520656e64756101e08201527f72696e6720626c657373696e6773206f662070726f737065726974792e205c6e6102008201527f5c6e202a2ae5a4a9e9be99e79a84e7a59de7a68f2a2a205c6e5c6ee59ca8e9be6102208201527f99e5b9b4e79a84e59089e7a5a5e591a8e69c9fe4b8ad2c20e5b9b8e8bf90e7ba6102408201527fa2e9be99204e465420e698bee78eb0e4b8bae5a4a9e7958ce79a84e7a59de7a66102608201527f8fe38082e8bf99e4b8aae58589e88a92e59b9be5b084e38081e5bcbae5a4a7e76102808201527f9a84e9be99efbc8ce6b5b8e6b6a6e79d80e4b8ade59bbde696b0e5b9b4e79a846102a08201527fe58fa4e88081e7b2bee7a59eefbc8ce698afe4b880e69e9ae5b8a6e69da5e5b76102c08201527fa8e5a4a7e8bf90e6b094e5928ce6bba1e6baa2e7b981e88da3e79a84e695b0e56102e08201527fad97e68aa4e7aca6e38082e68c81e69c89e6ada4e4bba4e7898cefbc8ce8aea96103008201527fe9be99e79a84e6b0b8e68192e8b4a2e5af8ce5bc95e9a286e4bda0e8b5b0e5906103208201527f91e4b880e5b9b4e4b8ade79a84e4b8b0e79b9be8b4a2e5af8ce5928ce68890e56103408201527f8a9fe38082e8bf99e4b88de4bb85e4bb85e698afe4b880e4b8aa204e46543a206103608201527fe5ae83e698afe4b880e4b8aae794a8e4ba8ee6b1b2e58f96e68c81e4b985e7b96103808201527f81e88da3e7a59de7a68fe79a84e7a59ee59ca3e9ad85e58a9b2e205c6e5c6e416103a08201527f7274776f726b206279204a6f796365204c6975205820414f49222c22657874656103c08201527f726e616c5f75726c223a2268747470733a2f2f616f692e636f6d222c2022696d6103e08201526530b3b2911d1160d11b61040082015261040601919050565b60008154611fbb81611848565b60018281168015611fd35760018114611fe857612017565b60ff1984168752821515830287019450612017565b8560005260208060002060005b8581101561200e5781548a820152908401908201611ff5565b50505082870194505b5050505092915050565b600061202d8284611fae565b7f62616679626569646f336864786d6f6f37336963706e646b70777032616a6d3681527f7863346a6e327975716e6f636637357776696d66796e7034696134222c0000006020820152603d019392505050565b600083516120928184602088016114f2565b8351908301906120a68183602088016114f2565b01949350505050565b60006120bb8284611fae565b7f626166796265696261736678617a7134627377667a6e356f763676613671656d81527f7576367034776a787271796733336e327576367766373637796175222c0000006020820152603d019392505050565b701130b734b6b0ba34b7b72fbab936111d1160791b8152815160009061213b8160118501602087016114f2565b9190910160110192915050565b6000825161215a8184602087016114f2565b6f2261747472696275746573223a5b5d7d60801b920191825250601001919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c0000000000815260008251611a9d81601b8501602087016114f2565b600181815b808511156121ef5781600019048211156121d5576121d5611992565b808516156121e257918102915b93841c93908002906121b9565b509250929050565b60008261220657506001610633565b8161221357506000610633565b816001811461222957600281146122335761224f565b6001915050610633565b60ff84111561224457612244611992565b50506001821b610633565b5060208310610133831016604e8410600b8410161715612272575081810a610633565b61227c83836121b4565b806000190482111561229057612290611992565b029392505050565b6000610bc960ff8416836121f7565b6000826122c457634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212207cc69cbe0c3d811e7f5a088f76fb84e5120f9a9009fefbc2e2fe33c3cc65bcb764736f6c63430008170033

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

000000000000000000000000d998411be2a74e97894213b09335d4597a5a9e33

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d998411be2a74e97894213b09335d4597a5a9e33


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

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