ETH Price: $3,375.25 (-2.68%)
Gas: 3 Gwei

Token

Elysium Code (Elysium)
 

Overview

Max Total Supply

1,987 Elysium

Holders

1,154

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x7d667e837E5a90FbB3547bba22043e66472f76bB
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Transform yourself into Elysium Shell. Embark on an exciting journey to the new world. It’s a collection of 9999 pieces of fine 3D artwork presented by the Elysium production team. The genesis drop represents the singular point that triggers all excitement and possibilities.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Code

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 17 : Code.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.9;

/*                  @@@@@@@@@@@@@             @@@@@@@@@@@@@@
                  @@@@@@@@@@@@@@                 @@@@@@@@@@@@@@
                @@@@@@@@@@@@@@                     @@@@@@@@@@@@@@
              @@@@@@@@@@@@@@@                       @@@@@@@@@@@@@@@
            @@@@@@@@@@@@@@@                           @@@@@@@@@@@@@@
           @@@@@@@@@@@@@@                               @@@@@@@@@@@@@@
         @@@@@@@@@@@@@@                                  @@@@@@@@@@@@@@@
       @@@@@@@@@@@@@@@                                     @@@@@@@@@@@@@@
      @@@@@@@@@@@@@@                                         @@@@@@@@@@@@@@
    @@@@@@@@@@@@@@                      @                     @@@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@             @@       @@@       @@             @@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@                 @@@    @@@    @@@                 @@@@@@@@@@@@@@
                                 @@@@@@@@@@@@@@@
                                  @@@@@@@@@@@@@
                          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                                  @@@@@@@@@@@@@
                                 @@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@                 @@@    @@@    @@@                 @@@@@@@@@@@@@@
  @@@@@@@@@@@@@@@             @@       @@@       @@             @@@@@@@@@@@@@@@
    @@@@@@@@@@@@@@                      @                     @@@@@@@@@@@@@@@
      @@@@@@@@@@@@@@                                         @@@@@@@@@@@@@@
       @@@@@@@@@@@@@@@                                     @@@@@@@@@@@@@@
         @@@@@@@@@@@@@@@                                 @@@@@@@@@@@@@@@
           @@@@@@@@@@@@@@                               @@@@@@@@@@@@@@
             @@@@@@@@@@@@@@                           @@@@@@@@@@@@@@
              @@@@@@@@@@@@@@@                       @@@@@@@@@@@@@@@
                @@@@@@@@@@@@@@                     @@@@@@@@@@@@@@
                  @harry830622                   @@@@@@@@@@@@@@               */

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

error NotEOA();
error NotStarted();
error Ended();
error TicketUsed();
error NotEnoughETH();
error NotEnoughQuota();
error PaperHand();
error MintTooManyAtOnce();
error ZeroQuantity();
error SoldOut();
error InvalidSignature();
error ShellNotSet();
error MigrateTooManyAtOnce();

interface IShell {
    function nextTokenId() external view returns (uint256);

    function mint(address to, uint256 quantity) external;
}

contract Code is Ownable, ERC1155, ERC1155Burnable, ERC2981 {
    using BitMaps for BitMaps.BitMap;

    uint256 public constant MAX_TOTAL_SUPPLY = 9999;
    uint256 public constant PRE_SALE_MAX_TOTAL_SUPPLY = 9999 - 1500 - 411;
    uint256 public constant MAX_NUM_MINTS_PER_TX = 3;
    uint256 public constant MAX_NUM_MIGRATIONS_PER_TX = 10;
    uint256 public constant PRICE_PER_TOKEN = 0.12 ether;

    uint256 public preSaleMintStartTime = 2**256 - 1;
    uint256 public publicMintStartTime = 2**256 - 1;
    uint256 public migrationStartTime = 2**256 - 1;

    uint256 public preSaleMintEndTime = 2**256 - 1;
    uint256 public publicMintEndTime = 2**256 - 1;
    uint256 public migrationEndTime = 2**256 - 1;

    mapping(address => uint256) public addressToNumMintedFrees;
    mapping(address => uint256) public addressToNumMintedWhitelists;
    mapping(address => uint256) public addressToNumMintedEmWhitelists;
    BitMaps.BitMap private _isPublicMintTicketUsed;

    uint256 public nextTokenId = 1;
    uint256 public totalNumMintedTokens;

    IERC1155 public immutable em;
    address private immutable _signer;
    IShell public shell;

    event Migrate(
        uint256 indexed startTokenId,
        uint256 quantity,
        address indexed from
    );

    modifier onlyEOA() {
        if (msg.sender != tx.origin) {
            revert NotEOA();
        }
        _;
    }

    constructor(address em_)
        ERC1155("ipfs://QmZzTWbeX8Tjn2uGtUuAGvh1kCcx4qgr5qTrTiCZEnivQ4")
    {
        em = IERC1155(em_);
        _signer = owner();

        _setDefaultRoyalty(address(0xd188Db484A78C147dCb14EC8F12b5ca1fcBC17f5), 750);

        uint256 reserveQuantity = 411;
        totalNumMintedTokens = reserveQuantity;
        _mint(address(0x6267e2cD575E5F602cD01e7a6E12c3DE08228eC5), nextTokenId, reserveQuantity, "");
        ++nextTokenId;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC1155, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function isPublicMintTicketUsed(uint256 ticket)
        external
        view
        returns (bool)
    {
        return _isPublicMintTicketUsed.get(ticket);
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        external
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setPreSaleMintTime(uint256 start, uint256 end) external onlyOwner {
        if (end <= start) {
            revert();
        }
        preSaleMintStartTime = start;
        preSaleMintEndTime = end;
    }

    function setPublicSaleMintTime(uint256 start, uint256 end)
        external
        onlyOwner
    {
        if (end <= start) {
            revert();
        }
        publicMintStartTime = start;
        publicMintEndTime = end;
    }

    function setMigrationTime(uint256 start, uint256 end) external onlyOwner {
        if (end <= start) {
            revert();
        }
        migrationStartTime = start;
        migrationEndTime = end;
    }

    function setShell(address addr) external onlyOwner {
        shell = IShell(addr);
    }

    function preSaleMint(
        uint256 freeMintQuantity,
        uint256 freeMintAllowedQuantity,
        uint256 whitelistMintQuantity,
        uint256 whitelistMintAllowedQuantity,
        uint256 emWhitelistMintQuantity,
        uint256 emWhitelistMintAllowedQuantity,
        uint256 snapshottedEmQuantity,
        bytes calldata signature
    ) external payable onlyEOA {
        uint256 blockTime = block.timestamp;
        if (blockTime < preSaleMintStartTime) {
            revert NotStarted();
        }
        if (blockTime >= preSaleMintEndTime) {
            revert Ended();
        }

        bytes32 hash = ECDSA.toEthSignedMessageHash(
            keccak256(
                abi.encodePacked(
                    msg.sender,
                    freeMintAllowedQuantity,
                    whitelistMintAllowedQuantity,
                    emWhitelistMintAllowedQuantity,
                    snapshottedEmQuantity
                )
            )
        );
        if (ECDSA.recover(hash, signature) != _signer) {
            revert InvalidSignature();
        }

        if (freeMintQuantity > 0) {
            if (
                addressToNumMintedFrees[msg.sender] + freeMintQuantity >
                freeMintAllowedQuantity
            ) {
                revert NotEnoughQuota();
            }
            addressToNumMintedFrees[msg.sender] += freeMintQuantity;
        }

        if (whitelistMintQuantity > 0) {
            if (
                addressToNumMintedWhitelists[msg.sender] +
                    whitelistMintQuantity >
                whitelistMintAllowedQuantity
            ) {
                revert NotEnoughQuota();
            }
            addressToNumMintedWhitelists[msg.sender] += whitelistMintQuantity;
        }

        if (emWhitelistMintQuantity > 0) {
            if (
                addressToNumMintedEmWhitelists[msg.sender] +
                    emWhitelistMintQuantity >
                emWhitelistMintAllowedQuantity
            ) {
                revert NotEnoughQuota();
            }
            addressToNumMintedEmWhitelists[
                msg.sender
            ] += emWhitelistMintQuantity;

            if (
                em.balanceOf(msg.sender, 0) + em.balanceOf(msg.sender, 1) <
                snapshottedEmQuantity
            ) {
                revert PaperHand();
            }
        }

        uint256 quantity = freeMintQuantity +
            whitelistMintQuantity +
            emWhitelistMintQuantity;
        if (quantity == 0) {
            revert ZeroQuantity();
        }
        if (totalNumMintedTokens + quantity > PRE_SALE_MAX_TOTAL_SUPPLY) {
            revert SoldOut();
        }
        totalNumMintedTokens += quantity;

        if (
            msg.value <
            (whitelistMintQuantity + emWhitelistMintQuantity) * PRICE_PER_TOKEN
        ) {
            revert NotEnoughETH();
        }

        _mint(msg.sender, nextTokenId, quantity, "");
        ++nextTokenId;
    }

    function publicSaleMint(
        uint256 quantity,
        uint256 ticket,
        bytes calldata signature
    ) external payable onlyEOA {
        uint256 blockTime = block.timestamp;
        if (blockTime < publicMintStartTime) {
            revert NotStarted();
        }
        if (blockTime >= publicMintEndTime) {
            revert Ended();
        }

        bytes32 hash = ECDSA.toEthSignedMessageHash(
            keccak256(abi.encodePacked(msg.sender, ticket))
        );
        if (ECDSA.recover(hash, signature) != _signer) {
            revert InvalidSignature();
        }

        if (_isPublicMintTicketUsed.get(ticket)) {
            revert TicketUsed();
        }
        _isPublicMintTicketUsed.set(ticket);

        if (quantity > MAX_NUM_MINTS_PER_TX) {
            revert MintTooManyAtOnce();
        }

        if (quantity == 0) {
            revert ZeroQuantity();
        }
        if (totalNumMintedTokens + quantity > MAX_TOTAL_SUPPLY) {
            revert SoldOut();
        }
        totalNumMintedTokens += quantity;

        if (msg.value < quantity * PRICE_PER_TOKEN) {
            revert NotEnoughETH();
        }

        _mint(msg.sender, nextTokenId, quantity, "");
        ++nextTokenId;
    }

    function migrate(uint256[] calldata ids, uint256[] calldata quantities)
        external
        onlyEOA
    {
        uint256 blockTime = block.timestamp;
        if (blockTime < migrationStartTime) {
            revert NotStarted();
        }
        if (blockTime >= migrationEndTime) {
            revert Ended();
        }

        if (address(shell) == address(0)) {
            revert ShellNotSet();
        }

        uint256 totalQuantity;
        uint256 numQuantities = quantities.length;
        for (uint256 i = 0; i < numQuantities; ++i) {
            totalQuantity += quantities[i];
        }
        if (totalQuantity > MAX_NUM_MIGRATIONS_PER_TX) {
            revert MigrateTooManyAtOnce();
        }

        burnBatch(msg.sender, ids, quantities);

        uint256 startTokenId = shell.nextTokenId();
        shell.mint(msg.sender, totalQuantity);

        emit Migrate(startTokenId, totalQuantity, msg.sender);
    }

    function withdraw(address to, uint256 amount) external onlyOwner {
        payable(to).transfer(amount);
    }
}

File 2 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

File 3 of 17 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

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

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 4 of 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 5 of 17 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 17 : BitMaps.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/BitMaps.sol)
pragma solidity ^0.8.0;

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */
library BitMaps {
    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }
}

File 7 of 17 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 8 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

File 9 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 10 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 15 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 16 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

File 17 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"em_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Ended","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MigrateTooManyAtOnce","type":"error"},{"inputs":[],"name":"MintTooManyAtOnce","type":"error"},{"inputs":[],"name":"NotEOA","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[],"name":"NotEnoughQuota","type":"error"},{"inputs":[],"name":"NotStarted","type":"error"},{"inputs":[],"name":"PaperHand","type":"error"},{"inputs":[],"name":"ShellNotSet","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"TicketUsed","type":"error"},{"inputs":[],"name":"ZeroQuantity","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"uint256","name":"startTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"Migrate","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_NUM_MIGRATIONS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NUM_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToNumMintedEmWhitelists","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToNumMintedFrees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToNumMintedWhitelists","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"em","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ticket","type":"uint256"}],"name":"isPublicMintTicketUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrationStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"freeMintQuantity","type":"uint256"},{"internalType":"uint256","name":"freeMintAllowedQuantity","type":"uint256"},{"internalType":"uint256","name":"whitelistMintQuantity","type":"uint256"},{"internalType":"uint256","name":"whitelistMintAllowedQuantity","type":"uint256"},{"internalType":"uint256","name":"emWhitelistMintQuantity","type":"uint256"},{"internalType":"uint256","name":"emWhitelistMintAllowedQuantity","type":"uint256"},{"internalType":"uint256","name":"snapshottedEmQuantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleMintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"ticket","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","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":"uint256","name":"amount","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":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"setMigrationTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"setPreSaleMintTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"setPublicSaleMintTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setShell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shell","outputs":[{"internalType":"contract IShell","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNumMintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600019600655600019600755600019600855600019600955600019600a55600019600b5560016010553480156200003a57600080fd5b5060405162004a1338038062004a138339810160408190526200005d916200069d565b604051806060016040528060358152602001620049de60359139620000823362000120565b6200008d8162000170565b506001600160a01b038181166080526000541660a052620000c573d188db484a78c147dcb14ec8f12b5ca1fcbc17f56102ee62000189565b61019b60118190556010546040805160208101909152600081526200010291736267e2cd575e5f602cd01e7a6e12c3de08228ec59184906200028e565b6010600081546200011390620006e5565b9091555062000930915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b805162000185906003906020840190620005f7565b5050565b6127106001600160601b0382161115620001fd5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002555760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001f4565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600455565b6001600160a01b038416620002f05760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401620001f4565b3362000316816000876200030488620003ac565b6200030f88620003ac565b5050505050565b60008481526001602090815260408083206001600160a01b0389168452909152812080548592906200034a90849062000703565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46200030f8160008787878762000402565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110620003e957620003e96200071e565b602090810291909101015292915050565b505050505050565b62000421846001600160a01b0316620005e860201b62001fa11760201c565b15620003fa5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906200045d908990899088908890889060040162000784565b602060405180830381600087803b1580156200047857600080fd5b505af1925050508015620004ab575060408051601f3d908101601f19168201909252620004a891810190620007cb565b60015b6200056c57620004ba620007f7565b806308c379a01415620004fb5750620004d26200084f565b80620004df5750620004fd565b8060405162461bcd60e51b8152600401620001f49190620008de565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401620001f4565b6001600160e01b0319811663f23a6e6160e01b14620005df5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401620001f4565b50505050505050565b6001600160a01b03163b151590565b8280546200060590620008f3565b90600052602060002090601f01602090048101928262000629576000855562000674565b82601f106200064457805160ff191683800117855562000674565b8280016001018555821562000674579182015b828111156200067457825182559160200191906001019062000657565b506200068292915062000686565b5090565b5b8082111562000682576000815560010162000687565b600060208284031215620006b057600080fd5b81516001600160a01b0381168114620006c857600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415620006fc57620006fc620006cf565b5060010190565b60008219821115620007195762000719620006cf565b500190565b634e487b7160e01b600052603260045260246000fd5b6000815180845260005b818110156200075c576020818501810151868301820152016200073e565b818111156200076f576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090620007c09083018462000734565b979650505050505050565b600060208284031215620007de57600080fd5b81516001600160e01b031981168114620006c857600080fd5b600060033d1115620008115760046000803e5060005160e01c5b90565b601f8201601f191681016001600160401b03811182821017156200084857634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d10156200085e5790565b6040516003193d81016004833e81513d6001600160401b0380831160248401831017156200088e57505050505090565b8285019150815181811115620008a75750505050505090565b843d8701016020828501011115620008c25750505050505090565b620008d36020828601018762000814565b509095945050505050565b602081526000620006c8602083018462000734565b600181811c908216806200090857607f821691505b602082108114156200092a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516140736200096b60003960008181610ef5015261172a015260008181610690015281816119870152611a3c01526140736000f3fe6080604052600436106102d05760003560e01c8063833b949911610179578063d3cf00a3116100d6578063f11d2ff41161008a578063f3fef3a311610064578063f3fef3a3146107f0578063f5298aca14610810578063fe703e2e1461083057600080fd5b8063f11d2ff414610790578063f242432a146107b0578063f2fde38b146107d057600080fd5b8063ed7a4c49116100bb578063ed7a4c491461073a578063ef2a50f01461075a578063f0dbdee01461077057600080fd5b8063d3cf00a3146106db578063e985e9c5146106f157600080fd5b8063a22cb4651161012d578063b0074de511610112578063b0074de51461067e578063b09a9141146106b2578063bbefcb18146106c857600080fd5b8063a22cb46514610649578063a980bcd91461066957600080fd5b80638893dba51161015e5780638893dba5146105e15780638da5cb5b146106015780639a9cfef01461063357600080fd5b8063833b9499146105a557806387535699146105c157600080fd5b80634207d64d1161023257806356362b60116101e6578063715018a6116101c0578063715018a61461056457806375794a3c1461057957806379007add1461058f57600080fd5b806356362b601461050457806363a3f364146105175780636b20c4541461054457600080fd5b80634e1273f4116102175780634e1273f4146104945780635100fda1146104c157806354be0a7d146104ee57600080fd5b80634207d64d146104475780634c9e65491461047457600080fd5b8063102b269d116102895780632a55205a1161026e5780632a55205a146103d25780632eb2c2d61461041157806333039d3d1461043157600080fd5b8063102b269d1461039c5780631b0216b8146103b257600080fd5b806304634d8d116102ba57806304634d8d146103385780630e89341c1461035a5780630ed4fa441461038757600080fd5b8062fdd58e146102d557806301ffc9a714610308575b600080fd5b3480156102e157600080fd5b506102f56102f03660046134f4565b610846565b6040519081526020015b60405180910390f35b34801561031457600080fd5b5061032861032336600461354c565b6108f1565b60405190151581526020016102ff565b34801561034457600080fd5b50610358610353366004613570565b610902565b005b34801561036657600080fd5b5061037a6103753660046135b8565b61096a565b6040516102ff919061361e565b34801561039357600080fd5b506102f5600a81565b3480156103a857600080fd5b506102f560085481565b3480156103be57600080fd5b506103586103cd366004613631565b6109fe565b3480156103de57600080fd5b506103f26103ed366004613631565b610a6f565b604080516001600160a01b0390931683526020830191909152016102ff565b34801561041d57600080fd5b5061035861042c3660046137b8565b610b4e565b34801561043d57600080fd5b506102f561270f81565b34801561045357600080fd5b506102f5610462366004613862565b600e6020526000908152604090205481565b34801561048057600080fd5b5061035861048f366004613631565b610bf0565b3480156104a057600080fd5b506104b46104af36600461387d565b610c61565b6040516102ff9190613983565b3480156104cd57600080fd5b506102f56104dc366004613862565b600d6020526000908152604090205481565b3480156104fa57600080fd5b506102f5600a5481565b6103586105123660046139d8565b610d9f565b34801561052357600080fd5b506102f5610532366004613862565b600c6020526000908152604090205481565b34801561055057600080fd5b5061035861055f366004613a2b565b611165565b34801561057057600080fd5b50610358611203565b34801561058557600080fd5b506102f560105481565b34801561059b57600080fd5b506102f560095481565b3480156105b157600080fd5b506102f56701aa535d3d0c000081565b3480156105cd57600080fd5b506103586105dc366004613631565b611269565b3480156105ed57600080fd5b506103586105fc366004613ae4565b6112da565b34801561060d57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016102ff565b34801561063f57600080fd5b506102f560065481565b34801561065557600080fd5b50610358610664366004613b44565b611610565b34801561067557600080fd5b506102f5600381565b34801561068a57600080fd5b5061061b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106be57600080fd5b506102f560115481565b6103586106d6366004613b75565b61161b565b3480156106e757600080fd5b506102f560075481565b3480156106fd57600080fd5b5061032861070c366004613bff565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b34801561074657600080fd5b506103286107553660046135b8565b611c44565b34801561076657600080fd5b506102f5611f9881565b34801561077c57600080fd5b5061035861078b366004613862565b611c67565b34801561079c57600080fd5b5060125461061b906001600160a01b031681565b3480156107bc57600080fd5b506103586107cb366004613c32565b611cfb565b3480156107dc57600080fd5b506103586107eb366004613862565b611d96565b3480156107fc57600080fd5b5061035861080b3660046134f4565b611e78565b34801561081c57600080fd5b5061035861082b366004613c97565b611f08565b34801561083c57600080fd5b506102f5600b5481565b60006001600160a01b0383166108c95760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006108fc82611fb0565b92915050565b6000546001600160a01b0316331461095c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6109668282612006565b5050565b60606003805461097990613cca565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590613cca565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b50505050509050919050565b6000546001600160a01b03163314610a585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b818111610a6457600080fd5b600891909155600b55565b60008281526005602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610b105750604080518082019091526004546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610b34906bffffffffffffffffffffffff1687613d4d565b610b3e9190613d8a565b91519350909150505b9250929050565b6001600160a01b038516331480610b6a5750610b6a853361070c565b610bdc5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016108c0565b610be98585858585612131565b5050505050565b6000546001600160a01b03163314610c4a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b818111610c5657600080fd5b600691909155600955565b60608151835114610cda5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016108c0565b6000835167ffffffffffffffff811115610cf657610cf6613653565b604051908082528060200260200182016040528015610d1f578160200160208202803683370190505b50905060005b8451811015610d9757610d6a858281518110610d4357610d43613dc5565b6020026020010151858381518110610d5d57610d5d613dc5565b6020026020010151610846565b828281518110610d7c57610d7c613dc5565b6020908102919091010152610d9081613df4565b9050610d25565b509392505050565b333214610dd8576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007544290811015610e16576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a548110610e51576040517f477383f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015260348101859052600090610ef1906054015b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610f5d8286868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123d292505050565b6001600160a01b031614610f9d576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600885901c6000908152600f6020526040902054600160ff87161b1615610ff0576040517ff37f8bbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600885901c6000908152600f602052604090208054600160ff88161b179055600386111561104a576040517faab5a12300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85611081576040517ff4f5b73300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61270f866011546110929190613e2d565b11156110ca576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85601160008282546110dc9190613e2d565b909155506110f490506701aa535d3d0c000087613d4d565b34101561112d576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61114a3360105488604051806020016040528060008152506123ee565b60106000815461115990613df4565b90915550505050505050565b6001600160a01b0383163314806111815750611181833361070c565b6111f35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108c0565b6111fe838383612516565b505050565b6000546001600160a01b0316331461125d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6112676000612796565b565b6000546001600160a01b031633146112c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b8181116112cf57600080fd5b600791909155600a55565b333214611313576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008544290811015611351576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54811061138c576040517f477383f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6012546001600160a01b03166113ce576040517f9fd1abef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815b81811015611411578585828181106113ed576113ed613dc5565b90506020020135836113ff9190613e2d565b925061140a81613df4565b90506113d3565b50600a82111561144d576040517f1bd8accc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114bb3388888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808c0282810182019093528b82529093508b92508a91829185019084908082843760009201919091525061116592505050565b601254604080517f75794a3c00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916375794a3c916004808301926020929190829003018186803b15801561151957600080fd5b505afa15801561152d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115519190613e45565b6012546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018690529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156115b757600080fd5b505af11580156115cb573d6000803e3d6000fd5b50506040518581523392508391507fdf2babed5927dba573913507dac459b4042c7bf842158e9d703d1708647fda689060200160405180910390a35050505050505050565b6109663383836127fe565b333214611654576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006544290811015611692576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481106116cd576040517f477383f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018a90526054810188905260748101869052609481018590526000906117269060b401610e91565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166117928286868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123d292505050565b6001600160a01b0316146117d2576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8a1561185257336000908152600c60205260409020548a906117f5908d90613e2d565b111561182d576040517f4f8fd3a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600c6020526040812080548d929061184c908490613e2d565b90915550505b88156118d257336000908152600d60205260409020548890611875908b90613e2d565b11156118ad576040517f4f8fd3a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600d6020526040812080548b92906118cc908490613e2d565b90915550505b8615611aff57336000908152600e602052604090205486906118f5908990613e2d565b111561192d576040517f4f8fd3a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600e60205260408120805489929061194c908490613e2d565b90915550506040517efdd58e0000000000000000000000000000000000000000000000000000000081523360048201526001602482015285907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e9060440160206040518083038186803b1580156119d057600080fd5b505afa1580156119e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a089190613e45565b6040517efdd58e000000000000000000000000000000000000000000000000000000008152336004820152600060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169062fdd58e9060440160206040518083038186803b158015611a8557600080fd5b505afa158015611a99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abd9190613e45565b611ac79190613e2d565b1015611aff576040517fd003a5e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600087611b0c8b8e613e2d565b611b169190613e2d565b905080611b4f576040517ff4f5b73300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f9881601154611b609190613e2d565b1115611b98576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060116000828254611baa9190613e2d565b909155506701aa535d3d0c00009050611bc3898c613e2d565b611bcd9190613d4d565b341015611c06576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c233360105483604051806020016040528060008152506123ee565b601060008154611c3290613df4565b90915550505050505050505050505050565b600881901c6000908152600f6020526040812054600160ff84161b1615156108fc565b6000546001600160a01b03163314611cc15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b601280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b038516331480611d175750611d17853361070c565b611d895760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108c0565b610be98585858585612911565b6000546001600160a01b03163314611df05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6001600160a01b038116611e6c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108c0565b611e7581612796565b50565b6000546001600160a01b03163314611ed25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156111fe573d6000803e3d6000fd5b6001600160a01b038316331480611f245750611f24833361070c565b611f965760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108c0565b6111fe838383612ade565b6001600160a01b03163b151590565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806108fc57506108fc82612c8f565b6127106bffffffffffffffffffffffff8216111561208c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016108c0565b6001600160a01b0382166120e25760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016108c0565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600455565b81518351146121a85760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016108c0565b6001600160a01b0384166122245760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108c0565b3360005b845181101561236457600085828151811061224557612245613dc5565b60200260200101519050600085838151811061226357612263613dc5565b60209081029190910181015160008481526001835260408082206001600160a01b038e16835290935291909120549091508181101561230a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016108c0565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612349908490613e2d565b925050819055505050508061235d90613df4565b9050612228565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123b4929190613e5e565b60405180910390a46123ca818787878787612d72565b505050505050565b60008060006123e18585612f86565b91509150610d9781612ff3565b6001600160a01b03841661246a5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b336124848160008761247b886131e4565b610be9886131e4565b60008481526001602090815260408083206001600160a01b0389168452909152812080548592906124b6908490613e2d565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610be98160008787878761322f565b6001600160a01b0383166125925760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b80518251146126095760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016108c0565b604080516020810190915260009081905233905b835181101561273757600084828151811061263a5761263a613dc5565b60200260200101519050600084838151811061265857612658613dc5565b60209081029190910181015160008481526001835260408082206001600160a01b038c1683529093529190912054909150818110156126fe5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016108c0565b60009283526001602090815260408085206001600160a01b038b168652909152909220910390558061272f81613df4565b91505061261d565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612788929190613e5e565b60405180910390a450505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b031614156128865760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016108c0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661298d5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108c0565b3361299d81878761247b886131e4565b60008481526001602090815260408083206001600160a01b038a16845290915290205483811015612a365760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016108c0565b60008581526001602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612a75908490613e2d565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612ad582888888888861322f565b50505050505050565b6001600160a01b038316612b5a5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b33612b8a81856000612b6b876131e4565b612b74876131e4565b5050604080516020810190915260009052505050565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015612c225760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016108c0565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480612d2257507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806108fc57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108fc565b6001600160a01b0384163b156123ca576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190612dcf9089908990889088908890600401613e8c565b602060405180830381600087803b158015612de957600080fd5b505af1925050508015612e19575060408051601f3d908101601f19168201909252612e1691810190613eea565b60015b612ecf57612e25613f07565b806308c379a01415612e5f5750612e3a613f23565b80612e455750612e61565b8060405162461bcd60e51b81526004016108c0919061361e565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016108c0565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014612ad55760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016108c0565b600080825160411415612fbd5760208301516040840151606085015160001a612fb187828585613399565b94509450505050610b47565b825160401415612fe75760208301516040840151612fdc868383613486565b935093505050610b47565b50600090506002610b47565b600081600481111561300757613007613fcb565b14156130105750565b600181600481111561302457613024613fcb565b14156130725760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016108c0565b600281600481111561308657613086613fcb565b14156130d45760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016108c0565b60038160048111156130e8576130e8613fcb565b141561315c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b600481600481111561317057613170613fcb565b1415611e755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061321e5761321e613dc5565b602090810291909101015292915050565b6001600160a01b0384163b156123ca576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e619061328c9089908990889088908890600401613ffa565b602060405180830381600087803b1580156132a657600080fd5b505af19250505080156132d6575060408051601f3d908101601f191682019092526132d391810190613eea565b60015b6132e257612e25613f07565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014612ad55760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016108c0565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156133d0575060009050600361347d565b8460ff16601b141580156133e857508460ff16601c14155b156133f9575060009050600461347d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561344d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134765760006001925092505061347d565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816134bc60ff86901c601b613e2d565b90506134ca87828885613399565b935093505050935093915050565b80356001600160a01b03811681146134ef57600080fd5b919050565b6000806040838503121561350757600080fd5b613510836134d8565b946020939093013593505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611e7557600080fd5b60006020828403121561355e57600080fd5b81356135698161351e565b9392505050565b6000806040838503121561358357600080fd5b61358c836134d8565b915060208301356bffffffffffffffffffffffff811681146135ad57600080fd5b809150509250929050565b6000602082840312156135ca57600080fd5b5035919050565b6000815180845260005b818110156135f7576020818501810151868301820152016135db565b81811115613609576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061356960208301846135d1565b6000806040838503121561364457600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156136a8576136a8613653565b6040525050565b600067ffffffffffffffff8211156136c9576136c9613653565b5060051b60200190565b600082601f8301126136e457600080fd5b813560206136f1826136af565b6040516136fe8282613682565b83815260059390931b850182019282810191508684111561371e57600080fd5b8286015b848110156137395780358352918301918301613722565b509695505050505050565b600082601f83011261375557600080fd5b813567ffffffffffffffff81111561376f5761376f613653565b6040516137866020601f19601f8501160182613682565b81815284602083860101111561379b57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156137d057600080fd5b6137d9866134d8565b94506137e7602087016134d8565b9350604086013567ffffffffffffffff8082111561380457600080fd5b61381089838a016136d3565b9450606088013591508082111561382657600080fd5b61383289838a016136d3565b9350608088013591508082111561384857600080fd5b5061385588828901613744565b9150509295509295909350565b60006020828403121561387457600080fd5b613569826134d8565b6000806040838503121561389057600080fd5b823567ffffffffffffffff808211156138a857600080fd5b818501915085601f8301126138bc57600080fd5b813560206138c9826136af565b6040516138d68282613682565b83815260059390931b85018201928281019150898411156138f657600080fd5b948201945b8386101561391b5761390c866134d8565b825294820194908201906138fb565b9650508601359250508082111561393157600080fd5b5061393e858286016136d3565b9150509250929050565b600081518084526020808501945080840160005b838110156139785781518752958201959082019060010161395c565b509495945050505050565b6020815260006135696020830184613948565b60008083601f8401126139a857600080fd5b50813567ffffffffffffffff8111156139c057600080fd5b602083019150836020828501011115610b4757600080fd5b600080600080606085870312156139ee57600080fd5b8435935060208501359250604085013567ffffffffffffffff811115613a1357600080fd5b613a1f87828801613996565b95989497509550505050565b600080600060608486031215613a4057600080fd5b613a49846134d8565b9250602084013567ffffffffffffffff80821115613a6657600080fd5b613a72878388016136d3565b93506040860135915080821115613a8857600080fd5b50613a95868287016136d3565b9150509250925092565b60008083601f840112613ab157600080fd5b50813567ffffffffffffffff811115613ac957600080fd5b6020830191508360208260051b8501011115610b4757600080fd5b60008060008060408587031215613afa57600080fd5b843567ffffffffffffffff80821115613b1257600080fd5b613b1e88838901613a9f565b90965094506020870135915080821115613b3757600080fd5b50613a1f87828801613a9f565b60008060408385031215613b5757600080fd5b613b60836134d8565b9150602083013580151581146135ad57600080fd5b60008060008060008060008060006101008a8c031215613b9457600080fd5b8935985060208a0135975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff811115613bdc57600080fd5b613be88c828d01613996565b915080935050809150509295985092959850929598565b60008060408385031215613c1257600080fd5b613c1b836134d8565b9150613c29602084016134d8565b90509250929050565b600080600080600060a08688031215613c4a57600080fd5b613c53866134d8565b9450613c61602087016134d8565b93506040860135925060608601359150608086013567ffffffffffffffff811115613c8b57600080fd5b61385588828901613744565b600080600060608486031215613cac57600080fd5b613cb5846134d8565b95602085013595506040909401359392505050565b600181811c90821680613cde57607f821691505b60208210811415613d18577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d8557613d85613d1e565b500290565b600082613dc0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e2657613e26613d1e565b5060010190565b60008219821115613e4057613e40613d1e565b500190565b600060208284031215613e5757600080fd5b5051919050565b604081526000613e716040830185613948565b8281036020840152613e838185613948565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613eb860a0830186613948565b8281036060840152613eca8186613948565b90508281036080840152613ede81856135d1565b98975050505050505050565b600060208284031215613efc57600080fd5b81516135698161351e565b600060033d1115613f205760046000803e5060005160e01c5b90565b600060443d1015613f315790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613f7f57505050505090565b8285019150815181811115613f975750505050505090565b843d8701016020828501011115613fb15750505050505090565b613fc060208286010187613682565b509095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261403260a08301846135d1565b97965050505050505056fea2646970667358221220f092bd4a61962bd6721e00787038467e6febb6511e1b3bf437abe3e4f71b24ca64736f6c63430008090033697066733a2f2f516d5a7a545762655838546a6e32754774557541477668316b43637834716772357154725469435a456e697651340000000000000000000000002ab99216416018c2af55eb9376e9fb188c4f5c9c

Deployed Bytecode

0x6080604052600436106102d05760003560e01c8063833b949911610179578063d3cf00a3116100d6578063f11d2ff41161008a578063f3fef3a311610064578063f3fef3a3146107f0578063f5298aca14610810578063fe703e2e1461083057600080fd5b8063f11d2ff414610790578063f242432a146107b0578063f2fde38b146107d057600080fd5b8063ed7a4c49116100bb578063ed7a4c491461073a578063ef2a50f01461075a578063f0dbdee01461077057600080fd5b8063d3cf00a3146106db578063e985e9c5146106f157600080fd5b8063a22cb4651161012d578063b0074de511610112578063b0074de51461067e578063b09a9141146106b2578063bbefcb18146106c857600080fd5b8063a22cb46514610649578063a980bcd91461066957600080fd5b80638893dba51161015e5780638893dba5146105e15780638da5cb5b146106015780639a9cfef01461063357600080fd5b8063833b9499146105a557806387535699146105c157600080fd5b80634207d64d1161023257806356362b60116101e6578063715018a6116101c0578063715018a61461056457806375794a3c1461057957806379007add1461058f57600080fd5b806356362b601461050457806363a3f364146105175780636b20c4541461054457600080fd5b80634e1273f4116102175780634e1273f4146104945780635100fda1146104c157806354be0a7d146104ee57600080fd5b80634207d64d146104475780634c9e65491461047457600080fd5b8063102b269d116102895780632a55205a1161026e5780632a55205a146103d25780632eb2c2d61461041157806333039d3d1461043157600080fd5b8063102b269d1461039c5780631b0216b8146103b257600080fd5b806304634d8d116102ba57806304634d8d146103385780630e89341c1461035a5780630ed4fa441461038757600080fd5b8062fdd58e146102d557806301ffc9a714610308575b600080fd5b3480156102e157600080fd5b506102f56102f03660046134f4565b610846565b6040519081526020015b60405180910390f35b34801561031457600080fd5b5061032861032336600461354c565b6108f1565b60405190151581526020016102ff565b34801561034457600080fd5b50610358610353366004613570565b610902565b005b34801561036657600080fd5b5061037a6103753660046135b8565b61096a565b6040516102ff919061361e565b34801561039357600080fd5b506102f5600a81565b3480156103a857600080fd5b506102f560085481565b3480156103be57600080fd5b506103586103cd366004613631565b6109fe565b3480156103de57600080fd5b506103f26103ed366004613631565b610a6f565b604080516001600160a01b0390931683526020830191909152016102ff565b34801561041d57600080fd5b5061035861042c3660046137b8565b610b4e565b34801561043d57600080fd5b506102f561270f81565b34801561045357600080fd5b506102f5610462366004613862565b600e6020526000908152604090205481565b34801561048057600080fd5b5061035861048f366004613631565b610bf0565b3480156104a057600080fd5b506104b46104af36600461387d565b610c61565b6040516102ff9190613983565b3480156104cd57600080fd5b506102f56104dc366004613862565b600d6020526000908152604090205481565b3480156104fa57600080fd5b506102f5600a5481565b6103586105123660046139d8565b610d9f565b34801561052357600080fd5b506102f5610532366004613862565b600c6020526000908152604090205481565b34801561055057600080fd5b5061035861055f366004613a2b565b611165565b34801561057057600080fd5b50610358611203565b34801561058557600080fd5b506102f560105481565b34801561059b57600080fd5b506102f560095481565b3480156105b157600080fd5b506102f56701aa535d3d0c000081565b3480156105cd57600080fd5b506103586105dc366004613631565b611269565b3480156105ed57600080fd5b506103586105fc366004613ae4565b6112da565b34801561060d57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016102ff565b34801561063f57600080fd5b506102f560065481565b34801561065557600080fd5b50610358610664366004613b44565b611610565b34801561067557600080fd5b506102f5600381565b34801561068a57600080fd5b5061061b7f0000000000000000000000002ab99216416018c2af55eb9376e9fb188c4f5c9c81565b3480156106be57600080fd5b506102f560115481565b6103586106d6366004613b75565b61161b565b3480156106e757600080fd5b506102f560075481565b3480156106fd57600080fd5b5061032861070c366004613bff565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b34801561074657600080fd5b506103286107553660046135b8565b611c44565b34801561076657600080fd5b506102f5611f9881565b34801561077c57600080fd5b5061035861078b366004613862565b611c67565b34801561079c57600080fd5b5060125461061b906001600160a01b031681565b3480156107bc57600080fd5b506103586107cb366004613c32565b611cfb565b3480156107dc57600080fd5b506103586107eb366004613862565b611d96565b3480156107fc57600080fd5b5061035861080b3660046134f4565b611e78565b34801561081c57600080fd5b5061035861082b366004613c97565b611f08565b34801561083c57600080fd5b506102f5600b5481565b60006001600160a01b0383166108c95760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006108fc82611fb0565b92915050565b6000546001600160a01b0316331461095c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6109668282612006565b5050565b60606003805461097990613cca565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590613cca565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b50505050509050919050565b6000546001600160a01b03163314610a585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b818111610a6457600080fd5b600891909155600b55565b60008281526005602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610b105750604080518082019091526004546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610b34906bffffffffffffffffffffffff1687613d4d565b610b3e9190613d8a565b91519350909150505b9250929050565b6001600160a01b038516331480610b6a5750610b6a853361070c565b610bdc5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016108c0565b610be98585858585612131565b5050505050565b6000546001600160a01b03163314610c4a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b818111610c5657600080fd5b600691909155600955565b60608151835114610cda5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016108c0565b6000835167ffffffffffffffff811115610cf657610cf6613653565b604051908082528060200260200182016040528015610d1f578160200160208202803683370190505b50905060005b8451811015610d9757610d6a858281518110610d4357610d43613dc5565b6020026020010151858381518110610d5d57610d5d613dc5565b6020026020010151610846565b828281518110610d7c57610d7c613dc5565b6020908102919091010152610d9081613df4565b9050610d25565b509392505050565b333214610dd8576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007544290811015610e16576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a548110610e51576040517f477383f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015260348101859052600090610ef1906054015b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b90507f000000000000000000000000f75c90d6d5d34d6906d61cfd5e759cfc7ab4eea56001600160a01b0316610f5d8286868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123d292505050565b6001600160a01b031614610f9d576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600885901c6000908152600f6020526040902054600160ff87161b1615610ff0576040517ff37f8bbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600885901c6000908152600f602052604090208054600160ff88161b179055600386111561104a576040517faab5a12300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85611081576040517ff4f5b73300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61270f866011546110929190613e2d565b11156110ca576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85601160008282546110dc9190613e2d565b909155506110f490506701aa535d3d0c000087613d4d565b34101561112d576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61114a3360105488604051806020016040528060008152506123ee565b60106000815461115990613df4565b90915550505050505050565b6001600160a01b0383163314806111815750611181833361070c565b6111f35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108c0565b6111fe838383612516565b505050565b6000546001600160a01b0316331461125d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6112676000612796565b565b6000546001600160a01b031633146112c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b8181116112cf57600080fd5b600791909155600a55565b333214611313576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008544290811015611351576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54811061138c576040517f477383f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6012546001600160a01b03166113ce576040517f9fd1abef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815b81811015611411578585828181106113ed576113ed613dc5565b90506020020135836113ff9190613e2d565b925061140a81613df4565b90506113d3565b50600a82111561144d576040517f1bd8accc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114bb3388888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808c0282810182019093528b82529093508b92508a91829185019084908082843760009201919091525061116592505050565b601254604080517f75794a3c00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916375794a3c916004808301926020929190829003018186803b15801561151957600080fd5b505afa15801561152d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115519190613e45565b6012546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018690529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156115b757600080fd5b505af11580156115cb573d6000803e3d6000fd5b50506040518581523392508391507fdf2babed5927dba573913507dac459b4042c7bf842158e9d703d1708647fda689060200160405180910390a35050505050505050565b6109663383836127fe565b333214611654576040517fba092d1600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006544290811015611692576040517f6f312cbd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481106116cd576040517f477383f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018a90526054810188905260748101869052609481018590526000906117269060b401610e91565b90507f000000000000000000000000f75c90d6d5d34d6906d61cfd5e759cfc7ab4eea56001600160a01b03166117928286868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123d292505050565b6001600160a01b0316146117d2576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8a1561185257336000908152600c60205260409020548a906117f5908d90613e2d565b111561182d576040517f4f8fd3a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600c6020526040812080548d929061184c908490613e2d565b90915550505b88156118d257336000908152600d60205260409020548890611875908b90613e2d565b11156118ad576040517f4f8fd3a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600d6020526040812080548b92906118cc908490613e2d565b90915550505b8615611aff57336000908152600e602052604090205486906118f5908990613e2d565b111561192d576040517f4f8fd3a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600e60205260408120805489929061194c908490613e2d565b90915550506040517efdd58e0000000000000000000000000000000000000000000000000000000081523360048201526001602482015285907f0000000000000000000000002ab99216416018c2af55eb9376e9fb188c4f5c9c6001600160a01b03169062fdd58e9060440160206040518083038186803b1580156119d057600080fd5b505afa1580156119e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a089190613e45565b6040517efdd58e000000000000000000000000000000000000000000000000000000008152336004820152600060248201527f0000000000000000000000002ab99216416018c2af55eb9376e9fb188c4f5c9c6001600160a01b03169062fdd58e9060440160206040518083038186803b158015611a8557600080fd5b505afa158015611a99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abd9190613e45565b611ac79190613e2d565b1015611aff576040517fd003a5e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600087611b0c8b8e613e2d565b611b169190613e2d565b905080611b4f576040517ff4f5b73300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f9881601154611b609190613e2d565b1115611b98576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060116000828254611baa9190613e2d565b909155506701aa535d3d0c00009050611bc3898c613e2d565b611bcd9190613d4d565b341015611c06576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c233360105483604051806020016040528060008152506123ee565b601060008154611c3290613df4565b90915550505050505050505050505050565b600881901c6000908152600f6020526040812054600160ff84161b1615156108fc565b6000546001600160a01b03163314611cc15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b601280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b038516331480611d175750611d17853361070c565b611d895760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108c0565b610be98585858585612911565b6000546001600160a01b03163314611df05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6001600160a01b038116611e6c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108c0565b611e7581612796565b50565b6000546001600160a01b03163314611ed25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156111fe573d6000803e3d6000fd5b6001600160a01b038316331480611f245750611f24833361070c565b611f965760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016108c0565b6111fe838383612ade565b6001600160a01b03163b151590565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806108fc57506108fc82612c8f565b6127106bffffffffffffffffffffffff8216111561208c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016108c0565b6001600160a01b0382166120e25760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016108c0565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600455565b81518351146121a85760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016108c0565b6001600160a01b0384166122245760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108c0565b3360005b845181101561236457600085828151811061224557612245613dc5565b60200260200101519050600085838151811061226357612263613dc5565b60209081029190910181015160008481526001835260408082206001600160a01b038e16835290935291909120549091508181101561230a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016108c0565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612349908490613e2d565b925050819055505050508061235d90613df4565b9050612228565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123b4929190613e5e565b60405180910390a46123ca818787878787612d72565b505050505050565b60008060006123e18585612f86565b91509150610d9781612ff3565b6001600160a01b03841661246a5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b336124848160008761247b886131e4565b610be9886131e4565b60008481526001602090815260408083206001600160a01b0389168452909152812080548592906124b6908490613e2d565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610be98160008787878761322f565b6001600160a01b0383166125925760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b80518251146126095760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016108c0565b604080516020810190915260009081905233905b835181101561273757600084828151811061263a5761263a613dc5565b60200260200101519050600084838151811061265857612658613dc5565b60209081029190910181015160008481526001835260408082206001600160a01b038c1683529093529190912054909150818110156126fe5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016108c0565b60009283526001602090815260408085206001600160a01b038b168652909152909220910390558061272f81613df4565b91505061261d565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612788929190613e5e565b60405180910390a450505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b031614156128865760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016108c0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661298d5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108c0565b3361299d81878761247b886131e4565b60008481526001602090815260408083206001600160a01b038a16845290915290205483811015612a365760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016108c0565b60008581526001602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612a75908490613e2d565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612ad582888888888861322f565b50505050505050565b6001600160a01b038316612b5a5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b33612b8a81856000612b6b876131e4565b612b74876131e4565b5050604080516020810190915260009052505050565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015612c225760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016108c0565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480612d2257507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806108fc57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108fc565b6001600160a01b0384163b156123ca576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190612dcf9089908990889088908890600401613e8c565b602060405180830381600087803b158015612de957600080fd5b505af1925050508015612e19575060408051601f3d908101601f19168201909252612e1691810190613eea565b60015b612ecf57612e25613f07565b806308c379a01415612e5f5750612e3a613f23565b80612e455750612e61565b8060405162461bcd60e51b81526004016108c0919061361e565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016108c0565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014612ad55760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016108c0565b600080825160411415612fbd5760208301516040840151606085015160001a612fb187828585613399565b94509450505050610b47565b825160401415612fe75760208301516040840151612fdc868383613486565b935093505050610b47565b50600090506002610b47565b600081600481111561300757613007613fcb565b14156130105750565b600181600481111561302457613024613fcb565b14156130725760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016108c0565b600281600481111561308657613086613fcb565b14156130d45760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016108c0565b60038160048111156130e8576130e8613fcb565b141561315c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b600481600481111561317057613170613fcb565b1415611e755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108c0565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061321e5761321e613dc5565b602090810291909101015292915050565b6001600160a01b0384163b156123ca576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e619061328c9089908990889088908890600401613ffa565b602060405180830381600087803b1580156132a657600080fd5b505af19250505080156132d6575060408051601f3d908101601f191682019092526132d391810190613eea565b60015b6132e257612e25613f07565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014612ad55760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016108c0565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156133d0575060009050600361347d565b8460ff16601b141580156133e857508460ff16601c14155b156133f9575060009050600461347d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561344d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134765760006001925092505061347d565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816134bc60ff86901c601b613e2d565b90506134ca87828885613399565b935093505050935093915050565b80356001600160a01b03811681146134ef57600080fd5b919050565b6000806040838503121561350757600080fd5b613510836134d8565b946020939093013593505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611e7557600080fd5b60006020828403121561355e57600080fd5b81356135698161351e565b9392505050565b6000806040838503121561358357600080fd5b61358c836134d8565b915060208301356bffffffffffffffffffffffff811681146135ad57600080fd5b809150509250929050565b6000602082840312156135ca57600080fd5b5035919050565b6000815180845260005b818110156135f7576020818501810151868301820152016135db565b81811115613609576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061356960208301846135d1565b6000806040838503121561364457600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156136a8576136a8613653565b6040525050565b600067ffffffffffffffff8211156136c9576136c9613653565b5060051b60200190565b600082601f8301126136e457600080fd5b813560206136f1826136af565b6040516136fe8282613682565b83815260059390931b850182019282810191508684111561371e57600080fd5b8286015b848110156137395780358352918301918301613722565b509695505050505050565b600082601f83011261375557600080fd5b813567ffffffffffffffff81111561376f5761376f613653565b6040516137866020601f19601f8501160182613682565b81815284602083860101111561379b57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156137d057600080fd5b6137d9866134d8565b94506137e7602087016134d8565b9350604086013567ffffffffffffffff8082111561380457600080fd5b61381089838a016136d3565b9450606088013591508082111561382657600080fd5b61383289838a016136d3565b9350608088013591508082111561384857600080fd5b5061385588828901613744565b9150509295509295909350565b60006020828403121561387457600080fd5b613569826134d8565b6000806040838503121561389057600080fd5b823567ffffffffffffffff808211156138a857600080fd5b818501915085601f8301126138bc57600080fd5b813560206138c9826136af565b6040516138d68282613682565b83815260059390931b85018201928281019150898411156138f657600080fd5b948201945b8386101561391b5761390c866134d8565b825294820194908201906138fb565b9650508601359250508082111561393157600080fd5b5061393e858286016136d3565b9150509250929050565b600081518084526020808501945080840160005b838110156139785781518752958201959082019060010161395c565b509495945050505050565b6020815260006135696020830184613948565b60008083601f8401126139a857600080fd5b50813567ffffffffffffffff8111156139c057600080fd5b602083019150836020828501011115610b4757600080fd5b600080600080606085870312156139ee57600080fd5b8435935060208501359250604085013567ffffffffffffffff811115613a1357600080fd5b613a1f87828801613996565b95989497509550505050565b600080600060608486031215613a4057600080fd5b613a49846134d8565b9250602084013567ffffffffffffffff80821115613a6657600080fd5b613a72878388016136d3565b93506040860135915080821115613a8857600080fd5b50613a95868287016136d3565b9150509250925092565b60008083601f840112613ab157600080fd5b50813567ffffffffffffffff811115613ac957600080fd5b6020830191508360208260051b8501011115610b4757600080fd5b60008060008060408587031215613afa57600080fd5b843567ffffffffffffffff80821115613b1257600080fd5b613b1e88838901613a9f565b90965094506020870135915080821115613b3757600080fd5b50613a1f87828801613a9f565b60008060408385031215613b5757600080fd5b613b60836134d8565b9150602083013580151581146135ad57600080fd5b60008060008060008060008060006101008a8c031215613b9457600080fd5b8935985060208a0135975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff811115613bdc57600080fd5b613be88c828d01613996565b915080935050809150509295985092959850929598565b60008060408385031215613c1257600080fd5b613c1b836134d8565b9150613c29602084016134d8565b90509250929050565b600080600080600060a08688031215613c4a57600080fd5b613c53866134d8565b9450613c61602087016134d8565b93506040860135925060608601359150608086013567ffffffffffffffff811115613c8b57600080fd5b61385588828901613744565b600080600060608486031215613cac57600080fd5b613cb5846134d8565b95602085013595506040909401359392505050565b600181811c90821680613cde57607f821691505b60208210811415613d18577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d8557613d85613d1e565b500290565b600082613dc0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e2657613e26613d1e565b5060010190565b60008219821115613e4057613e40613d1e565b500190565b600060208284031215613e5757600080fd5b5051919050565b604081526000613e716040830185613948565b8281036020840152613e838185613948565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613eb860a0830186613948565b8281036060840152613eca8186613948565b90508281036080840152613ede81856135d1565b98975050505050505050565b600060208284031215613efc57600080fd5b81516135698161351e565b600060033d1115613f205760046000803e5060005160e01c5b90565b600060443d1015613f315790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613f7f57505050505090565b8285019150815181811115613f975750505050505090565b843d8701016020828501011115613fb15750505050505090565b613fc060208286010187613682565b509095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261403260a08301846135d1565b97965050505050505056fea2646970667358221220f092bd4a61962bd6721e00787038467e6febb6511e1b3bf437abe3e4f71b24ca64736f6c63430008090033

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

0000000000000000000000002ab99216416018c2af55eb9376e9fb188c4f5c9c

-----Decoded View---------------
Arg [0] : em_ (address): 0x2ab99216416018c2af55eB9376E9FB188C4F5c9C

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002ab99216416018c2af55eb9376e9fb188c4f5c9c


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.