ETH Price: $3,390.52 (+1.67%)

Token

Book Games (BG)
 

Overview

Max Total Supply

259 BG

Holders

140

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Immutable X: Bridge
Balance
72 BG
0x5FDCCA53617f4d2b9134B29090C87D01058e27e9
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BookGames

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : BookGames.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "./Mintable.sol";

contract BookGames is ERC721, ERC721Enumerable, ERC721URIStorage, Mintable {
    string private _baseUrl;

    constructor(
        address _owner,
        string memory _name,
        string memory _symbol,
        address _imx
    ) ERC721(_name, _symbol) Mintable(_owner, _imx) {
        _baseUrl = "https://veefriends.com/api/metadata/book/";
    }

    function _mintFor(
        address user,
        uint256 id,
        bytes memory
    ) internal override {
        _safeMint(user, id);
    }

    function setBaseAddress(string memory baseUrl)
        public
        onlyOwner
        returns (string memory)
    {
        require(
            bytes(baseUrl).length > 0,
            "Cannot set base address with an invalid 'url'."
        );

        _baseUrl = baseUrl;
        emit BaseUrlChanged(_baseUrl, baseUrl);
        return _baseUrl;
    }

    // The following functions are overrides required by Solidity.
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId)
        internal
        override(ERC721, ERC721URIStorage)
    {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

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

    /**
     * @dev Emitted when `baseUrl` changed `oldUrl` to `newUrl`.
     */
    event BaseUrlChanged(string indexed oldUrl, string indexed newUrl);
}

File 2 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 18 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 18 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 5 of 18 : Mintable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./IMintable.sol";
import "./utils/Minting.sol";

abstract contract Mintable is Ownable, IMintable {
    address public imx;
    mapping(uint256 => bytes) public blueprints;

    event AssetMinted(address to, uint256 id, bytes blueprint);

    constructor(address _owner, address _imx) {
        imx = _imx;
        require(_owner != address(0), "Owner must not be empty");
        transferOwnership(_owner);
    }

    modifier onlyIMX() {
        require(msg.sender == imx, "Function can only be called by IMX");
        _;
    }

    function mintFor(
        address user,
        uint256 quantity,
        bytes calldata mintingBlob
    ) external override onlyIMX {
        require(quantity == 1, "Mintable: invalid quantity");
        (uint256 id, bytes memory blueprint) = Minting.split(mintingBlob);
        _mintFor(user, id, blueprint);
        blueprints[id] = blueprint;
        emit AssetMinted(user, id, blueprint);
    }

    function _mintFor(
        address to,
        uint256 id,
        bytes memory blueprint
    ) internal virtual;
}

File 6 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 7 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 9 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 10 of 18 : Context.sol
// SPDX-License-Identifier: MIT

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 11 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

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);
    }
}

File 12 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 15 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

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

File 16 of 18 : IMintable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IMintable {
    function mintFor(
        address to,
        uint256 quantity,
        bytes calldata mintingBlob
    ) external;
}

File 17 of 18 : Minting.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Bytes.sol";

library Minting {
    // Split the minting blob into token_id and blueprint portions
    // {token_id}:{blueprint}

    function split(bytes calldata blob)
        internal
        pure
        returns (uint256, bytes memory)
    {
        int256 index = Bytes.indexOf(blob, ":", 0);
        require(index >= 0, "Separator must exist");
        // Trim the { and } from the parameters
        uint256 tokenID = Bytes.toUint(blob[1:uint256(index) - 1]);
        uint256 blueprintLength = blob.length - uint256(index) - 3;
        if (blueprintLength == 0) {
            return (tokenID, bytes(""));
        }
        bytes calldata blueprint = blob[uint256(index) + 2:blob.length - 1];
        return (tokenID, blueprint);
    }
}

File 18 of 18 : Bytes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

library Bytes {
    /**
     * @dev Converts a `uint256` to a `string`.
     * via OraclizeAPI - MIT licence
     * https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
     */
    function fromUint(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + (temp % 10)));
            temp /= 10;
        }
        return string(buffer);
    }

    bytes constant alphabet = "0123456789abcdef";

    /**
     * Index Of
     *
     * Locates and returns the position of a character within a string starting
     * from a defined offset
     *
     * @param _base When being used for a data type this is the extended object
     *              otherwise this is the string acting as the haystack to be
     *              searched
     * @param _value The needle to search for, at present this is currently
     *               limited to one character
     * @param _offset The starting point to start searching from which can start
     *                from 0, but must not exceed the length of the string
     * @return int The position of the needle starting from 0 and returning -1
     *             in the case of no matches found
     */
    function indexOf(
        bytes memory _base,
        string memory _value,
        uint256 _offset
    ) internal pure returns (int256) {
        bytes memory _valueBytes = bytes(_value);

        assert(_valueBytes.length == 1);

        for (uint256 i = _offset; i < _base.length; i++) {
            if (_base[i] == _valueBytes[0]) {
                return int256(i);
            }
        }

        return -1;
    }

    function substring(
        bytes memory strBytes,
        uint256 startIndex,
        uint256 endIndex
    ) internal pure returns (string memory) {
        bytes memory result = new bytes(endIndex - startIndex);
        for (uint256 i = startIndex; i < endIndex; i++) {
            result[i - startIndex] = strBytes[i];
        }
        return string(result);
    }

    function toUint(bytes memory b) internal pure returns (uint256) {
        uint256 result = 0;
        for (uint256 i = 0; i < b.length; i++) {
            uint256 val = uint256(uint8(b[i]));
            if (val >= 48 && val <= 57) {
                result = result * 10 + (val - 48);
            }
        }
        return result;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_imx","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"blueprint","type":"bytes"}],"name":"AssetMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"oldUrl","type":"string"},{"indexed":true,"internalType":"string","name":"newUrl","type":"string"}],"name":"BaseUrlChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blueprints","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"mintingBlob","type":"bytes"}],"name":"mintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUrl","type":"string"}],"name":"setBaseAddress","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004d2538038062004d258339818101604052810190620000379190620004d9565b83818484816000908051906020019062000053929190620003a0565b5080600190805190602001906200006c929190620003a0565b5050506200008f620000836200019260201b60201c565b6200019a60201b60201c565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200013a906200060e565b60405180910390fd5b62000154826200026060201b60201c565b505060405180606001604052806029815260200162004cfc60299139600e908051906020019062000187929190620003a0565b5050505050620008c2565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002706200019260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002966200037660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e69062000630565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000362576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035990620005ec565b60405180910390fd5b62000373816200019a60201b60201c565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003ae906200072c565b90600052602060002090601f016020900481019282620003d257600085556200041e565b82601f10620003ed57805160ff19168380011785556200041e565b828001600101855582156200041e579182015b828111156200041d57825182559160200191906001019062000400565b5b5090506200042d919062000431565b5090565b5b808211156200044c57600081600090555060010162000432565b5090565b60006200046762000461846200067b565b62000652565b9050828152602081018484840111156200048057600080fd5b6200048d848285620006f6565b509392505050565b600081519050620004a681620008a8565b92915050565b600082601f830112620004be57600080fd5b8151620004d084826020860162000450565b91505092915050565b60008060008060808587031215620004f057600080fd5b6000620005008782880162000495565b945050602085015167ffffffffffffffff8111156200051e57600080fd5b6200052c87828801620004ac565b935050604085015167ffffffffffffffff8111156200054a57600080fd5b6200055887828801620004ac565b92505060606200056b8782880162000495565b91505092959194509250565b600062000586602683620006b1565b9150620005938262000807565b604082019050919050565b6000620005ad601783620006b1565b9150620005ba8262000856565b602082019050919050565b6000620005d4602083620006b1565b9150620005e1826200087f565b602082019050919050565b60006020820190508181036000830152620006078162000577565b9050919050565b6000602082019050818103600083015262000629816200059e565b9050919050565b600060208201905081810360008301526200064b81620005c5565b9050919050565b60006200065e62000671565b90506200066c828262000762565b919050565b6000604051905090565b600067ffffffffffffffff821115620006995762000698620007c7565b5b620006a482620007f6565b9050602081019050919050565b600082825260208201905092915050565b6000620006cf82620006d6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b8381101562000716578082015181840152602081019050620006f9565b8381111562000726576000848401525b50505050565b600060028204905060018216806200074557607f821691505b602082108114156200075c576200075b62000798565b5b50919050565b6200076d82620007f6565b810181811067ffffffffffffffff821117156200078f576200078e620007c7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e6572206d757374206e6f7420626520656d707479000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620008b381620006c2565b8114620008bf57600080fd5b50565b61442a80620008d26000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80634f6ccce7116100c357806395d89b411161007c57806395d89b41146103c4578063a22cb465146103e2578063b88d4fde146103fe578063c87b56dd1461041a578063e985e9c51461044a578063f2fde38b1461047a5761014d565b80634f6ccce7146102dc5780636352211e1461030c57806366bf33be1461033c57806370a082311461036c578063715018a61461039c5780638da5cb5b146103a65761014d565b80631014be31116101155780631014be311461020a57806318160ddd1461023a57806319ee6e3f1461025857806323b872dd146102745780632f745c591461029057806342842e0e146102c05761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d05780630f08025f146101ec575b600080fd5b61016c60048036038101906101679190612f5b565b610496565b6040516101799190613582565b60405180910390f35b61018a6104a8565b60405161019791906135bf565b60405180910390f35b6101ba60048036038101906101b59190612fee565b61053a565b6040516101c791906134dd565b60405180910390f35b6101ea60048036038101906101e59190612eb3565b6105bf565b005b6101f46106d7565b60405161020191906134dd565b60405180910390f35b610224600480360381019061021f9190612fad565b6106fd565b60405161023191906135bf565b60405180910390f35b6102426108c1565b60405161024f91906138c1565b60405180910390f35b610272600480360381019061026d9190612eef565b6108ce565b005b61028e60048036038101906102899190612dad565b610a28565b005b6102aa60048036038101906102a59190612eb3565b610a88565b6040516102b791906138c1565b60405180910390f35b6102da60048036038101906102d59190612dad565b610b2d565b005b6102f660048036038101906102f19190612fee565b610b4d565b60405161030391906138c1565b60405180910390f35b61032660048036038101906103219190612fee565b610be4565b60405161033391906134dd565b60405180910390f35b61035660048036038101906103519190612fee565b610c96565b604051610363919061359d565b60405180910390f35b61038660048036038101906103819190612d48565b610d36565b60405161039391906138c1565b60405180910390f35b6103a4610dee565b005b6103ae610e76565b6040516103bb91906134dd565b60405180910390f35b6103cc610ea0565b6040516103d991906135bf565b60405180910390f35b6103fc60048036038101906103f79190612e77565b610f32565b005b61041860048036038101906104139190612dfc565b6110b3565b005b610434600480360381019061042f9190612fee565b611115565b60405161044191906135bf565b60405180910390f35b610464600480360381019061045f9190612d71565b611127565b6040516104719190613582565b60405180910390f35b610494600480360381019061048f9190612d48565b6111bb565b005b60006104a1826112b3565b9050919050565b6060600080546104b790613bb9565b80601f01602080910402602001604051908101604052809291908181526020018280546104e390613bb9565b80156105305780601f1061050557610100808354040283529160200191610530565b820191906000526020600020905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b60006105458261132d565b610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b906137a1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105ca82610be4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561063b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063290613821565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661065a611399565b73ffffffffffffffffffffffffffffffffffffffff161480610689575061068881610683611399565b611127565b5b6106c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bf90613701565b60405180910390fd5b6106d283836113a1565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060610707611399565b73ffffffffffffffffffffffffffffffffffffffff16610725610e76565b73ffffffffffffffffffffffffffffffffffffffff161461077b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610772906137c1565b60405180910390fd5b60008251116107bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b690613841565b60405180910390fd5b81600e90805190602001906107d5929190612a9c565b50816040516107e4919061348b565b6040518091039020600e6040516107fb91906134c6565b60405180910390207f3f856700ffb97dc22e437f33770ea5c62e7fc3b6f49709c8ec666d1a7675744060405160405180910390a3600e805461083c90613bb9565b80601f016020809104026020016040519081016040528092919081815260200182805461086890613bb9565b80156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b50505050509050919050565b6000600880549050905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610955906135e1565b60405180910390fd5b600183146109a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610998906136c1565b60405180910390fd5b6000806109ae848461145a565b915091506109bd86838361166f565b80600d600084815260200190815260200160002090805190602001906109e4929190612b22565b507f31e594f6b36b98ec520a91cbbba7b8724b1cec27393f86d8f0f6aa6084db0aaf868383604051610a1893929190613544565b60405180910390a1505050505050565b610a39610a33611399565b8261167e565b610a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6f90613881565b60405180910390fd5b610a8383838361175c565b505050565b6000610a9383610d36565b8210610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb90613601565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b48838383604051806020016040528060008152506110b3565b505050565b6000610b576108c1565b8210610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f906138a1565b60405180910390fd5b60088281548110610bd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8490613741565b60405180910390fd5b80915050919050565b600d6020528060005260406000206000915090508054610cb590613bb9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce190613bb9565b8015610d2e5780601f10610d0357610100808354040283529160200191610d2e565b820191906000526020600020905b815481529060010190602001808311610d1157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613721565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610df6611399565b73ffffffffffffffffffffffffffffffffffffffff16610e14610e76565b73ffffffffffffffffffffffffffffffffffffffff1614610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e61906137c1565b60405180910390fd5b610e7460006119b8565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610eaf90613bb9565b80601f0160208091040260200160405190810160405280929190818152602001828054610edb90613bb9565b8015610f285780601f10610efd57610100808354040283529160200191610f28565b820191906000526020600020905b815481529060010190602001808311610f0b57829003601f168201915b5050505050905090565b610f3a611399565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f906136a1565b60405180910390fd5b8060056000610fb5611399565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611062611399565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110a79190613582565b60405180910390a35050565b6110c46110be611399565b8361167e565b611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa90613881565b60405180910390fd5b61110f84848484611a7e565b50505050565b606061112082611ada565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111c3611399565b73ffffffffffffffffffffffffffffffffffffffff166111e1610e76565b73ffffffffffffffffffffffffffffffffffffffff1614611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e906137c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613641565b60405180910390fd5b6112b0816119b8565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611326575061132582611c2c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661141483610be4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000606060006114e585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506040518060400160405280600181526020017f3a000000000000000000000000000000000000000000000000000000000000008152506000611d0e565b9050600081121561152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290613861565b60405180910390fd5b600061159786866001906001866115429190613acf565b9261154f939291906139bb565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611e78565b90506000600383888890506115ac9190613acf565b6115b69190613acf565b905060008114156115de57816040518060200160405280600081525094509450505050611668565b36600088886002876115f091906139ee565b9060018c8c90506116019190613acf565b9261160e939291906139bb565b9150915083828281818080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905090509650965050505050505b9250929050565b6116798383611f35565b505050565b60006116898261132d565b6116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf906136e1565b60405180910390fd5b60006116d383610be4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061174257508373ffffffffffffffffffffffffffffffffffffffff1661172a8461053a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061175357506117528185611127565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661177c82610be4565b73ffffffffffffffffffffffffffffffffffffffff16146117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c9906137e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183990613681565b60405180910390fd5b61184d838383611f53565b6118586000826113a1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a89190613acf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ff91906139ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a8984848461175c565b611a9584848484611f63565b611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb90613621565b60405180910390fd5b50505050565b6060611ae58261132d565b611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b90613781565b60405180910390fd5b6000600a60008481526020019081526020016000208054611b4490613bb9565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7090613bb9565b8015611bbd5780601f10611b9257610100808354040283529160200191611bbd565b820191906000526020600020905b815481529060010190602001808311611ba057829003601f168201915b505050505090506000611bce6120fa565b9050600081511415611be4578192505050611c27565b600082511115611c19578082604051602001611c019291906134a2565b60405160208183030381529060405292505050611c27565b611c2284612111565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cf757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d075750611d06826121b8565b5b9050919050565b6000808390506001815114611d4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008390505b8551811015611e4b5781600081518110611d95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916868281518110611dfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611e38578092505050611e71565b8080611e4390613c1c565b915050611d52565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b9392505050565b6000806000905060005b8351811015611f2b576000848281518110611ec6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16905060308110158015611eeb575060398111155b15611f1757603081611efd9190613acf565b600a84611f0a9190613a75565b611f1491906139ee565b92505b508080611f2390613c1c565b915050611e82565b5080915050919050565b611f4f828260405180602001604052806000815250612222565b5050565b611f5e83838361227d565b505050565b6000611f848473ffffffffffffffffffffffffffffffffffffffff16612391565b156120ed578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fad611399565b8786866040518563ffffffff1660e01b8152600401611fcf94939291906134f8565b602060405180830381600087803b158015611fe957600080fd5b505af192505050801561201a57506040513d601f19601f820116820180604052508101906120179190612f84565b60015b61209d573d806000811461204a576040519150601f19603f3d011682016040523d82523d6000602084013e61204f565b606091505b50600081511415612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90613621565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120f2565b600190505b949350505050565b606060405180602001604052806000815250905090565b606061211c8261132d565b61215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290613801565b60405180910390fd5b60006121656120fa565b9050600081511161218557604051806020016040528060008152506121b0565b8061218f846123a4565b6040516020016121a09291906134a2565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61222c8383612551565b6122396000848484611f63565b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613621565b60405180910390fd5b505050565b61228883838361271f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122cb576122c681612724565b61230a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461230957612308838261276d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561234d57612348816128da565b61238c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461238b5761238a8282612a1d565b5b5b505050565b600080823b905060008111915050919050565b606060008214156123ec576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061254c565b600082905060005b6000821461241e57808061240790613c1c565b915050600a826124179190613a44565b91506123f4565b60008167ffffffffffffffff811115612460577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124925781602001600182028036833780820191505090505b5090505b60008514612545576001826124ab9190613acf565b9150600a856124ba9190613c65565b60306124c691906139ee565b60f81b818381518110612502577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561253e9190613a44565b9450612496565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b890613761565b60405180910390fd5b6125ca8161132d565b1561260a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260190613661565b60405180910390fd5b61261660008383611f53565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461266691906139ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161277a84610d36565b6127849190613acf565b9050600060076000848152602001908152602001600020549050818114612869576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128ee9190613acf565b9050600060096000848152602001908152602001600020549050600060088381548110612944577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061298c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612a2883610d36565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612aa890613bb9565b90600052602060002090601f016020900481019282612aca5760008555612b11565b82601f10612ae357805160ff1916838001178555612b11565b82800160010185558215612b11579182015b82811115612b10578251825591602001919060010190612af5565b5b509050612b1e9190612ba8565b5090565b828054612b2e90613bb9565b90600052602060002090601f016020900481019282612b505760008555612b97565b82601f10612b6957805160ff1916838001178555612b97565b82800160010185558215612b97579182015b82811115612b96578251825591602001919060010190612b7b565b5b509050612ba49190612ba8565b5090565b5b80821115612bc1576000816000905550600101612ba9565b5090565b6000612bd8612bd384613901565b6138dc565b905082815260208101848484011115612bf057600080fd5b612bfb848285613b77565b509392505050565b6000612c16612c1184613932565b6138dc565b905082815260208101848484011115612c2e57600080fd5b612c39848285613b77565b509392505050565b600081359050612c5081614398565b92915050565b600081359050612c65816143af565b92915050565b600081359050612c7a816143c6565b92915050565b600081519050612c8f816143c6565b92915050565b60008083601f840112612ca757600080fd5b8235905067ffffffffffffffff811115612cc057600080fd5b602083019150836001820283011115612cd857600080fd5b9250929050565b600082601f830112612cf057600080fd5b8135612d00848260208601612bc5565b91505092915050565b600082601f830112612d1a57600080fd5b8135612d2a848260208601612c03565b91505092915050565b600081359050612d42816143dd565b92915050565b600060208284031215612d5a57600080fd5b6000612d6884828501612c41565b91505092915050565b60008060408385031215612d8457600080fd5b6000612d9285828601612c41565b9250506020612da385828601612c41565b9150509250929050565b600080600060608486031215612dc257600080fd5b6000612dd086828701612c41565b9350506020612de186828701612c41565b9250506040612df286828701612d33565b9150509250925092565b60008060008060808587031215612e1257600080fd5b6000612e2087828801612c41565b9450506020612e3187828801612c41565b9350506040612e4287828801612d33565b925050606085013567ffffffffffffffff811115612e5f57600080fd5b612e6b87828801612cdf565b91505092959194509250565b60008060408385031215612e8a57600080fd5b6000612e9885828601612c41565b9250506020612ea985828601612c56565b9150509250929050565b60008060408385031215612ec657600080fd5b6000612ed485828601612c41565b9250506020612ee585828601612d33565b9150509250929050565b60008060008060608587031215612f0557600080fd5b6000612f1387828801612c41565b9450506020612f2487828801612d33565b935050604085013567ffffffffffffffff811115612f4157600080fd5b612f4d87828801612c95565b925092505092959194509250565b600060208284031215612f6d57600080fd5b6000612f7b84828501612c6b565b91505092915050565b600060208284031215612f9657600080fd5b6000612fa484828501612c80565b91505092915050565b600060208284031215612fbf57600080fd5b600082013567ffffffffffffffff811115612fd957600080fd5b612fe584828501612d09565b91505092915050565b60006020828403121561300057600080fd5b600061300e84828501612d33565b91505092915050565b61302081613b03565b82525050565b61302f81613b15565b82525050565b600061304082613978565b61304a818561398e565b935061305a818560208601613b86565b61306381613d52565b840191505092915050565b600061307982613983565b613083818561399f565b9350613093818560208601613b86565b61309c81613d52565b840191505092915050565b60006130b282613983565b6130bc81856139b0565b93506130cc818560208601613b86565b80840191505092915050565b600081546130e581613bb9565b6130ef81866139b0565b9450600182166000811461310a576001811461311b5761314e565b60ff1983168652818601935061314e565b61312485613963565b60005b8381101561314657815481890152600182019150602081019050613127565b838801955050505b50505092915050565b600061316460228361399f565b915061316f82613d63565b604082019050919050565b6000613187602b8361399f565b915061319282613db2565b604082019050919050565b60006131aa60328361399f565b91506131b582613e01565b604082019050919050565b60006131cd60268361399f565b91506131d882613e50565b604082019050919050565b60006131f0601c8361399f565b91506131fb82613e9f565b602082019050919050565b600061321360248361399f565b915061321e82613ec8565b604082019050919050565b600061323660198361399f565b915061324182613f17565b602082019050919050565b6000613259601a8361399f565b915061326482613f40565b602082019050919050565b600061327c602c8361399f565b915061328782613f69565b604082019050919050565b600061329f60388361399f565b91506132aa82613fb8565b604082019050919050565b60006132c2602a8361399f565b91506132cd82614007565b604082019050919050565b60006132e560298361399f565b91506132f082614056565b604082019050919050565b600061330860208361399f565b9150613313826140a5565b602082019050919050565b600061332b60318361399f565b9150613336826140ce565b604082019050919050565b600061334e602c8361399f565b91506133598261411d565b604082019050919050565b600061337160208361399f565b915061337c8261416c565b602082019050919050565b600061339460298361399f565b915061339f82614195565b604082019050919050565b60006133b7602f8361399f565b91506133c2826141e4565b604082019050919050565b60006133da60218361399f565b91506133e582614233565b604082019050919050565b60006133fd602e8361399f565b915061340882614282565b604082019050919050565b600061342060148361399f565b915061342b826142d1565b602082019050919050565b600061344360318361399f565b915061344e826142fa565b604082019050919050565b6000613466602c8361399f565b915061347182614349565b604082019050919050565b61348581613b6d565b82525050565b600061349782846130a7565b915081905092915050565b60006134ae82856130a7565b91506134ba82846130a7565b91508190509392505050565b60006134d282846130d8565b915081905092915050565b60006020820190506134f26000830184613017565b92915050565b600060808201905061350d6000830187613017565b61351a6020830186613017565b613527604083018561347c565b81810360608301526135398184613035565b905095945050505050565b60006060820190506135596000830186613017565b613566602083018561347c565b81810360408301526135788184613035565b9050949350505050565b60006020820190506135976000830184613026565b92915050565b600060208201905081810360008301526135b78184613035565b905092915050565b600060208201905081810360008301526135d9818461306e565b905092915050565b600060208201905081810360008301526135fa81613157565b9050919050565b6000602082019050818103600083015261361a8161317a565b9050919050565b6000602082019050818103600083015261363a8161319d565b9050919050565b6000602082019050818103600083015261365a816131c0565b9050919050565b6000602082019050818103600083015261367a816131e3565b9050919050565b6000602082019050818103600083015261369a81613206565b9050919050565b600060208201905081810360008301526136ba81613229565b9050919050565b600060208201905081810360008301526136da8161324c565b9050919050565b600060208201905081810360008301526136fa8161326f565b9050919050565b6000602082019050818103600083015261371a81613292565b9050919050565b6000602082019050818103600083015261373a816132b5565b9050919050565b6000602082019050818103600083015261375a816132d8565b9050919050565b6000602082019050818103600083015261377a816132fb565b9050919050565b6000602082019050818103600083015261379a8161331e565b9050919050565b600060208201905081810360008301526137ba81613341565b9050919050565b600060208201905081810360008301526137da81613364565b9050919050565b600060208201905081810360008301526137fa81613387565b9050919050565b6000602082019050818103600083015261381a816133aa565b9050919050565b6000602082019050818103600083015261383a816133cd565b9050919050565b6000602082019050818103600083015261385a816133f0565b9050919050565b6000602082019050818103600083015261387a81613413565b9050919050565b6000602082019050818103600083015261389a81613436565b9050919050565b600060208201905081810360008301526138ba81613459565b9050919050565b60006020820190506138d6600083018461347c565b92915050565b60006138e66138f7565b90506138f28282613beb565b919050565b6000604051905090565b600067ffffffffffffffff82111561391c5761391b613d23565b5b61392582613d52565b9050602081019050919050565b600067ffffffffffffffff82111561394d5761394c613d23565b5b61395682613d52565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600080858511156139cb57600080fd5b838611156139d857600080fd5b6001850283019150848603905094509492505050565b60006139f982613b6d565b9150613a0483613b6d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a3957613a38613c96565b5b828201905092915050565b6000613a4f82613b6d565b9150613a5a83613b6d565b925082613a6a57613a69613cc5565b5b828204905092915050565b6000613a8082613b6d565b9150613a8b83613b6d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ac457613ac3613c96565b5b828202905092915050565b6000613ada82613b6d565b9150613ae583613b6d565b925082821015613af857613af7613c96565b5b828203905092915050565b6000613b0e82613b4d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ba4578082015181840152602081019050613b89565b83811115613bb3576000848401525b50505050565b60006002820490506001821680613bd157607f821691505b60208210811415613be557613be4613cf4565b5b50919050565b613bf482613d52565b810181811067ffffffffffffffff82111715613c1357613c12613d23565b5b80604052505050565b6000613c2782613b6d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c5a57613c59613c96565b5b600182019050919050565b6000613c7082613b6d565b9150613c7b83613b6d565b925082613c8b57613c8a613cc5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279204960008201527f4d58000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e7461626c653a20696e76616c6964207175616e74697479000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f742073657420626173652061646472657373207769746820616e2060008201527f696e76616c6964202775726c272e000000000000000000000000000000000000602082015250565b7f536570617261746f72206d757374206578697374000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6143a181613b03565b81146143ac57600080fd5b50565b6143b881613b15565b81146143c357600080fd5b50565b6143cf81613b21565b81146143da57600080fd5b50565b6143e681613b6d565b81146143f157600080fd5b5056fea2646970667358221220a2853199a4565d474f4cefd55dfdc8521e403ba732736b0e2fbafed015b3db9064736f6c6343000804003368747470733a2f2f766565667269656e64732e636f6d2f6170692f6d657461646174612f626f6f6b2f000000000000000000000000c0d6bca1c87d44aaf2801b31228803b8b70b37c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000005fdcca53617f4d2b9134b29090c87d01058e27e9000000000000000000000000000000000000000000000000000000000000000a426f6f6b2047616d65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024247000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80634f6ccce7116100c357806395d89b411161007c57806395d89b41146103c4578063a22cb465146103e2578063b88d4fde146103fe578063c87b56dd1461041a578063e985e9c51461044a578063f2fde38b1461047a5761014d565b80634f6ccce7146102dc5780636352211e1461030c57806366bf33be1461033c57806370a082311461036c578063715018a61461039c5780638da5cb5b146103a65761014d565b80631014be31116101155780631014be311461020a57806318160ddd1461023a57806319ee6e3f1461025857806323b872dd146102745780632f745c591461029057806342842e0e146102c05761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d05780630f08025f146101ec575b600080fd5b61016c60048036038101906101679190612f5b565b610496565b6040516101799190613582565b60405180910390f35b61018a6104a8565b60405161019791906135bf565b60405180910390f35b6101ba60048036038101906101b59190612fee565b61053a565b6040516101c791906134dd565b60405180910390f35b6101ea60048036038101906101e59190612eb3565b6105bf565b005b6101f46106d7565b60405161020191906134dd565b60405180910390f35b610224600480360381019061021f9190612fad565b6106fd565b60405161023191906135bf565b60405180910390f35b6102426108c1565b60405161024f91906138c1565b60405180910390f35b610272600480360381019061026d9190612eef565b6108ce565b005b61028e60048036038101906102899190612dad565b610a28565b005b6102aa60048036038101906102a59190612eb3565b610a88565b6040516102b791906138c1565b60405180910390f35b6102da60048036038101906102d59190612dad565b610b2d565b005b6102f660048036038101906102f19190612fee565b610b4d565b60405161030391906138c1565b60405180910390f35b61032660048036038101906103219190612fee565b610be4565b60405161033391906134dd565b60405180910390f35b61035660048036038101906103519190612fee565b610c96565b604051610363919061359d565b60405180910390f35b61038660048036038101906103819190612d48565b610d36565b60405161039391906138c1565b60405180910390f35b6103a4610dee565b005b6103ae610e76565b6040516103bb91906134dd565b60405180910390f35b6103cc610ea0565b6040516103d991906135bf565b60405180910390f35b6103fc60048036038101906103f79190612e77565b610f32565b005b61041860048036038101906104139190612dfc565b6110b3565b005b610434600480360381019061042f9190612fee565b611115565b60405161044191906135bf565b60405180910390f35b610464600480360381019061045f9190612d71565b611127565b6040516104719190613582565b60405180910390f35b610494600480360381019061048f9190612d48565b6111bb565b005b60006104a1826112b3565b9050919050565b6060600080546104b790613bb9565b80601f01602080910402602001604051908101604052809291908181526020018280546104e390613bb9565b80156105305780601f1061050557610100808354040283529160200191610530565b820191906000526020600020905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b60006105458261132d565b610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b906137a1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105ca82610be4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561063b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063290613821565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661065a611399565b73ffffffffffffffffffffffffffffffffffffffff161480610689575061068881610683611399565b611127565b5b6106c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bf90613701565b60405180910390fd5b6106d283836113a1565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060610707611399565b73ffffffffffffffffffffffffffffffffffffffff16610725610e76565b73ffffffffffffffffffffffffffffffffffffffff161461077b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610772906137c1565b60405180910390fd5b60008251116107bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b690613841565b60405180910390fd5b81600e90805190602001906107d5929190612a9c565b50816040516107e4919061348b565b6040518091039020600e6040516107fb91906134c6565b60405180910390207f3f856700ffb97dc22e437f33770ea5c62e7fc3b6f49709c8ec666d1a7675744060405160405180910390a3600e805461083c90613bb9565b80601f016020809104026020016040519081016040528092919081815260200182805461086890613bb9565b80156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b50505050509050919050565b6000600880549050905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610955906135e1565b60405180910390fd5b600183146109a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610998906136c1565b60405180910390fd5b6000806109ae848461145a565b915091506109bd86838361166f565b80600d600084815260200190815260200160002090805190602001906109e4929190612b22565b507f31e594f6b36b98ec520a91cbbba7b8724b1cec27393f86d8f0f6aa6084db0aaf868383604051610a1893929190613544565b60405180910390a1505050505050565b610a39610a33611399565b8261167e565b610a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6f90613881565b60405180910390fd5b610a8383838361175c565b505050565b6000610a9383610d36565b8210610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb90613601565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b48838383604051806020016040528060008152506110b3565b505050565b6000610b576108c1565b8210610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f906138a1565b60405180910390fd5b60088281548110610bd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8490613741565b60405180910390fd5b80915050919050565b600d6020528060005260406000206000915090508054610cb590613bb9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce190613bb9565b8015610d2e5780601f10610d0357610100808354040283529160200191610d2e565b820191906000526020600020905b815481529060010190602001808311610d1157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613721565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610df6611399565b73ffffffffffffffffffffffffffffffffffffffff16610e14610e76565b73ffffffffffffffffffffffffffffffffffffffff1614610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e61906137c1565b60405180910390fd5b610e7460006119b8565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610eaf90613bb9565b80601f0160208091040260200160405190810160405280929190818152602001828054610edb90613bb9565b8015610f285780601f10610efd57610100808354040283529160200191610f28565b820191906000526020600020905b815481529060010190602001808311610f0b57829003601f168201915b5050505050905090565b610f3a611399565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f906136a1565b60405180910390fd5b8060056000610fb5611399565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611062611399565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110a79190613582565b60405180910390a35050565b6110c46110be611399565b8361167e565b611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa90613881565b60405180910390fd5b61110f84848484611a7e565b50505050565b606061112082611ada565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111c3611399565b73ffffffffffffffffffffffffffffffffffffffff166111e1610e76565b73ffffffffffffffffffffffffffffffffffffffff1614611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e906137c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613641565b60405180910390fd5b6112b0816119b8565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611326575061132582611c2c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661141483610be4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000606060006114e585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506040518060400160405280600181526020017f3a000000000000000000000000000000000000000000000000000000000000008152506000611d0e565b9050600081121561152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290613861565b60405180910390fd5b600061159786866001906001866115429190613acf565b9261154f939291906139bb565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611e78565b90506000600383888890506115ac9190613acf565b6115b69190613acf565b905060008114156115de57816040518060200160405280600081525094509450505050611668565b36600088886002876115f091906139ee565b9060018c8c90506116019190613acf565b9261160e939291906139bb565b9150915083828281818080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905090509650965050505050505b9250929050565b6116798383611f35565b505050565b60006116898261132d565b6116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf906136e1565b60405180910390fd5b60006116d383610be4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061174257508373ffffffffffffffffffffffffffffffffffffffff1661172a8461053a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061175357506117528185611127565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661177c82610be4565b73ffffffffffffffffffffffffffffffffffffffff16146117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c9906137e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183990613681565b60405180910390fd5b61184d838383611f53565b6118586000826113a1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a89190613acf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ff91906139ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a8984848461175c565b611a9584848484611f63565b611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb90613621565b60405180910390fd5b50505050565b6060611ae58261132d565b611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b90613781565b60405180910390fd5b6000600a60008481526020019081526020016000208054611b4490613bb9565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7090613bb9565b8015611bbd5780601f10611b9257610100808354040283529160200191611bbd565b820191906000526020600020905b815481529060010190602001808311611ba057829003601f168201915b505050505090506000611bce6120fa565b9050600081511415611be4578192505050611c27565b600082511115611c19578082604051602001611c019291906134a2565b60405160208183030381529060405292505050611c27565b611c2284612111565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cf757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d075750611d06826121b8565b5b9050919050565b6000808390506001815114611d4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008390505b8551811015611e4b5781600081518110611d95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916868281518110611dfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611e38578092505050611e71565b8080611e4390613c1c565b915050611d52565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b9392505050565b6000806000905060005b8351811015611f2b576000848281518110611ec6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16905060308110158015611eeb575060398111155b15611f1757603081611efd9190613acf565b600a84611f0a9190613a75565b611f1491906139ee565b92505b508080611f2390613c1c565b915050611e82565b5080915050919050565b611f4f828260405180602001604052806000815250612222565b5050565b611f5e83838361227d565b505050565b6000611f848473ffffffffffffffffffffffffffffffffffffffff16612391565b156120ed578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fad611399565b8786866040518563ffffffff1660e01b8152600401611fcf94939291906134f8565b602060405180830381600087803b158015611fe957600080fd5b505af192505050801561201a57506040513d601f19601f820116820180604052508101906120179190612f84565b60015b61209d573d806000811461204a576040519150601f19603f3d011682016040523d82523d6000602084013e61204f565b606091505b50600081511415612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90613621565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120f2565b600190505b949350505050565b606060405180602001604052806000815250905090565b606061211c8261132d565b61215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290613801565b60405180910390fd5b60006121656120fa565b9050600081511161218557604051806020016040528060008152506121b0565b8061218f846123a4565b6040516020016121a09291906134a2565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61222c8383612551565b6122396000848484611f63565b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613621565b60405180910390fd5b505050565b61228883838361271f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122cb576122c681612724565b61230a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461230957612308838261276d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561234d57612348816128da565b61238c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461238b5761238a8282612a1d565b5b5b505050565b600080823b905060008111915050919050565b606060008214156123ec576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061254c565b600082905060005b6000821461241e57808061240790613c1c565b915050600a826124179190613a44565b91506123f4565b60008167ffffffffffffffff811115612460577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124925781602001600182028036833780820191505090505b5090505b60008514612545576001826124ab9190613acf565b9150600a856124ba9190613c65565b60306124c691906139ee565b60f81b818381518110612502577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561253e9190613a44565b9450612496565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b890613761565b60405180910390fd5b6125ca8161132d565b1561260a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260190613661565b60405180910390fd5b61261660008383611f53565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461266691906139ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161277a84610d36565b6127849190613acf565b9050600060076000848152602001908152602001600020549050818114612869576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128ee9190613acf565b9050600060096000848152602001908152602001600020549050600060088381548110612944577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061298c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612a2883610d36565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612aa890613bb9565b90600052602060002090601f016020900481019282612aca5760008555612b11565b82601f10612ae357805160ff1916838001178555612b11565b82800160010185558215612b11579182015b82811115612b10578251825591602001919060010190612af5565b5b509050612b1e9190612ba8565b5090565b828054612b2e90613bb9565b90600052602060002090601f016020900481019282612b505760008555612b97565b82601f10612b6957805160ff1916838001178555612b97565b82800160010185558215612b97579182015b82811115612b96578251825591602001919060010190612b7b565b5b509050612ba49190612ba8565b5090565b5b80821115612bc1576000816000905550600101612ba9565b5090565b6000612bd8612bd384613901565b6138dc565b905082815260208101848484011115612bf057600080fd5b612bfb848285613b77565b509392505050565b6000612c16612c1184613932565b6138dc565b905082815260208101848484011115612c2e57600080fd5b612c39848285613b77565b509392505050565b600081359050612c5081614398565b92915050565b600081359050612c65816143af565b92915050565b600081359050612c7a816143c6565b92915050565b600081519050612c8f816143c6565b92915050565b60008083601f840112612ca757600080fd5b8235905067ffffffffffffffff811115612cc057600080fd5b602083019150836001820283011115612cd857600080fd5b9250929050565b600082601f830112612cf057600080fd5b8135612d00848260208601612bc5565b91505092915050565b600082601f830112612d1a57600080fd5b8135612d2a848260208601612c03565b91505092915050565b600081359050612d42816143dd565b92915050565b600060208284031215612d5a57600080fd5b6000612d6884828501612c41565b91505092915050565b60008060408385031215612d8457600080fd5b6000612d9285828601612c41565b9250506020612da385828601612c41565b9150509250929050565b600080600060608486031215612dc257600080fd5b6000612dd086828701612c41565b9350506020612de186828701612c41565b9250506040612df286828701612d33565b9150509250925092565b60008060008060808587031215612e1257600080fd5b6000612e2087828801612c41565b9450506020612e3187828801612c41565b9350506040612e4287828801612d33565b925050606085013567ffffffffffffffff811115612e5f57600080fd5b612e6b87828801612cdf565b91505092959194509250565b60008060408385031215612e8a57600080fd5b6000612e9885828601612c41565b9250506020612ea985828601612c56565b9150509250929050565b60008060408385031215612ec657600080fd5b6000612ed485828601612c41565b9250506020612ee585828601612d33565b9150509250929050565b60008060008060608587031215612f0557600080fd5b6000612f1387828801612c41565b9450506020612f2487828801612d33565b935050604085013567ffffffffffffffff811115612f4157600080fd5b612f4d87828801612c95565b925092505092959194509250565b600060208284031215612f6d57600080fd5b6000612f7b84828501612c6b565b91505092915050565b600060208284031215612f9657600080fd5b6000612fa484828501612c80565b91505092915050565b600060208284031215612fbf57600080fd5b600082013567ffffffffffffffff811115612fd957600080fd5b612fe584828501612d09565b91505092915050565b60006020828403121561300057600080fd5b600061300e84828501612d33565b91505092915050565b61302081613b03565b82525050565b61302f81613b15565b82525050565b600061304082613978565b61304a818561398e565b935061305a818560208601613b86565b61306381613d52565b840191505092915050565b600061307982613983565b613083818561399f565b9350613093818560208601613b86565b61309c81613d52565b840191505092915050565b60006130b282613983565b6130bc81856139b0565b93506130cc818560208601613b86565b80840191505092915050565b600081546130e581613bb9565b6130ef81866139b0565b9450600182166000811461310a576001811461311b5761314e565b60ff1983168652818601935061314e565b61312485613963565b60005b8381101561314657815481890152600182019150602081019050613127565b838801955050505b50505092915050565b600061316460228361399f565b915061316f82613d63565b604082019050919050565b6000613187602b8361399f565b915061319282613db2565b604082019050919050565b60006131aa60328361399f565b91506131b582613e01565b604082019050919050565b60006131cd60268361399f565b91506131d882613e50565b604082019050919050565b60006131f0601c8361399f565b91506131fb82613e9f565b602082019050919050565b600061321360248361399f565b915061321e82613ec8565b604082019050919050565b600061323660198361399f565b915061324182613f17565b602082019050919050565b6000613259601a8361399f565b915061326482613f40565b602082019050919050565b600061327c602c8361399f565b915061328782613f69565b604082019050919050565b600061329f60388361399f565b91506132aa82613fb8565b604082019050919050565b60006132c2602a8361399f565b91506132cd82614007565b604082019050919050565b60006132e560298361399f565b91506132f082614056565b604082019050919050565b600061330860208361399f565b9150613313826140a5565b602082019050919050565b600061332b60318361399f565b9150613336826140ce565b604082019050919050565b600061334e602c8361399f565b91506133598261411d565b604082019050919050565b600061337160208361399f565b915061337c8261416c565b602082019050919050565b600061339460298361399f565b915061339f82614195565b604082019050919050565b60006133b7602f8361399f565b91506133c2826141e4565b604082019050919050565b60006133da60218361399f565b91506133e582614233565b604082019050919050565b60006133fd602e8361399f565b915061340882614282565b604082019050919050565b600061342060148361399f565b915061342b826142d1565b602082019050919050565b600061344360318361399f565b915061344e826142fa565b604082019050919050565b6000613466602c8361399f565b915061347182614349565b604082019050919050565b61348581613b6d565b82525050565b600061349782846130a7565b915081905092915050565b60006134ae82856130a7565b91506134ba82846130a7565b91508190509392505050565b60006134d282846130d8565b915081905092915050565b60006020820190506134f26000830184613017565b92915050565b600060808201905061350d6000830187613017565b61351a6020830186613017565b613527604083018561347c565b81810360608301526135398184613035565b905095945050505050565b60006060820190506135596000830186613017565b613566602083018561347c565b81810360408301526135788184613035565b9050949350505050565b60006020820190506135976000830184613026565b92915050565b600060208201905081810360008301526135b78184613035565b905092915050565b600060208201905081810360008301526135d9818461306e565b905092915050565b600060208201905081810360008301526135fa81613157565b9050919050565b6000602082019050818103600083015261361a8161317a565b9050919050565b6000602082019050818103600083015261363a8161319d565b9050919050565b6000602082019050818103600083015261365a816131c0565b9050919050565b6000602082019050818103600083015261367a816131e3565b9050919050565b6000602082019050818103600083015261369a81613206565b9050919050565b600060208201905081810360008301526136ba81613229565b9050919050565b600060208201905081810360008301526136da8161324c565b9050919050565b600060208201905081810360008301526136fa8161326f565b9050919050565b6000602082019050818103600083015261371a81613292565b9050919050565b6000602082019050818103600083015261373a816132b5565b9050919050565b6000602082019050818103600083015261375a816132d8565b9050919050565b6000602082019050818103600083015261377a816132fb565b9050919050565b6000602082019050818103600083015261379a8161331e565b9050919050565b600060208201905081810360008301526137ba81613341565b9050919050565b600060208201905081810360008301526137da81613364565b9050919050565b600060208201905081810360008301526137fa81613387565b9050919050565b6000602082019050818103600083015261381a816133aa565b9050919050565b6000602082019050818103600083015261383a816133cd565b9050919050565b6000602082019050818103600083015261385a816133f0565b9050919050565b6000602082019050818103600083015261387a81613413565b9050919050565b6000602082019050818103600083015261389a81613436565b9050919050565b600060208201905081810360008301526138ba81613459565b9050919050565b60006020820190506138d6600083018461347c565b92915050565b60006138e66138f7565b90506138f28282613beb565b919050565b6000604051905090565b600067ffffffffffffffff82111561391c5761391b613d23565b5b61392582613d52565b9050602081019050919050565b600067ffffffffffffffff82111561394d5761394c613d23565b5b61395682613d52565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600080858511156139cb57600080fd5b838611156139d857600080fd5b6001850283019150848603905094509492505050565b60006139f982613b6d565b9150613a0483613b6d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a3957613a38613c96565b5b828201905092915050565b6000613a4f82613b6d565b9150613a5a83613b6d565b925082613a6a57613a69613cc5565b5b828204905092915050565b6000613a8082613b6d565b9150613a8b83613b6d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ac457613ac3613c96565b5b828202905092915050565b6000613ada82613b6d565b9150613ae583613b6d565b925082821015613af857613af7613c96565b5b828203905092915050565b6000613b0e82613b4d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ba4578082015181840152602081019050613b89565b83811115613bb3576000848401525b50505050565b60006002820490506001821680613bd157607f821691505b60208210811415613be557613be4613cf4565b5b50919050565b613bf482613d52565b810181811067ffffffffffffffff82111715613c1357613c12613d23565b5b80604052505050565b6000613c2782613b6d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c5a57613c59613c96565b5b600182019050919050565b6000613c7082613b6d565b9150613c7b83613b6d565b925082613c8b57613c8a613cc5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279204960008201527f4d58000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e7461626c653a20696e76616c6964207175616e74697479000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f742073657420626173652061646472657373207769746820616e2060008201527f696e76616c6964202775726c272e000000000000000000000000000000000000602082015250565b7f536570617261746f72206d757374206578697374000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6143a181613b03565b81146143ac57600080fd5b50565b6143b881613b15565b81146143c357600080fd5b50565b6143cf81613b21565b81146143da57600080fd5b50565b6143e681613b6d565b81146143f157600080fd5b5056fea2646970667358221220a2853199a4565d474f4cefd55dfdc8521e403ba732736b0e2fbafed015b3db9064736f6c63430008040033

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

000000000000000000000000c0d6bca1c87d44aaf2801b31228803b8b70b37c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000005fdcca53617f4d2b9134b29090c87d01058e27e9000000000000000000000000000000000000000000000000000000000000000a426f6f6b2047616d65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024247000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _owner (address): 0xc0D6bca1C87d44AAF2801b31228803b8B70B37c1
Arg [1] : _name (string): Book Games
Arg [2] : _symbol (string): BG
Arg [3] : _imx (address): 0x5FDCCA53617f4d2b9134B29090C87D01058e27e9

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000c0d6bca1c87d44aaf2801b31228803b8b70b37c1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000005fdcca53617f4d2b9134b29090c87d01058e27e9
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 426f6f6b2047616d657300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 4247000000000000000000000000000000000000000000000000000000000000


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.