ETH Price: $3,850.53 (+4.15%)

Token

StreetMachineGenesis (SMC)
 

Overview

Max Total Supply

3,466 SMC

Holders

856

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SMC
0x5df596aa9315cd8b56e5c1213762f5b482cb8ada
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:
StreetMachineGenesis

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : StreetMachineGenesis.sol
//SPDX-License-Identifier: MIT
// contracts/ERC721.sol

pragma solidity >=0.8.9 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface IRevealContract is IERC721 {
    function getCid(uint256 tokenId) external view returns (string memory);
}

interface ITransformerKeyContract is IERC721 {}

contract StreetMachineGenesis is
    ERC721,
    ERC721Enumerable,
    ERC721Burnable,
    ReentrancyGuard,
    Ownable
{
    string private _baseUri;
    string private _baseCid;
    uint256[] private revealedIds;

    event TokenRevealed(address _from, uint256 _tokenId, string _cid);

    mapping(uint256 => bool) public revealed;
    mapping(address => uint256) public keyAllowList;

    uint256 public maxSupply;

    // previously determined from revealContract via chainlink
    uint256 public constant randomNumber = 4919;

    address public boxContract;
    address public revealContract;
    address public transformerContract;
    address public constant burnAddress =
        0x000000000000000000000000000000000000dEaD;

    bool public urisLocked = false;
    bool public burnAndMintIsLive = false;
    bool public keyAllowListLive = true;

    constructor(
        address _boxContract,
        address _revealContract,
        uint256 _maxSupply
    ) ERC721("StreetMachineGenesis", "SMC") {
        boxContract = _boxContract;
        revealContract = _revealContract;
        maxSupply = _maxSupply;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

    function getKeyAllowListCount(address minter)
        public
        view
        returns (uint256)
    {
        return keyAllowList[minter];
    }

    function getRevealedIds() public view returns (uint256[] memory) {
        return revealedIds;
    }

    function lockKeyAllowList() public onlyOwner {
        keyAllowListLive = false;
    }

    function setTransformerContract(address contractAddress) public onlyOwner {
        transformerContract = contractAddress;
    }

    function toggleBurnAndMintIsLive() public onlyOwner {
        burnAndMintIsLive = !burnAndMintIsLive;
    }

    function lockURIs() public onlyOwner {
        require(!urisLocked, "URIs have been locked");

        urisLocked = true;
    }

    function setBaseURI(string memory baseUri) public onlyOwner {
        require(!urisLocked, "URIs have been locked");

        _baseUri = baseUri;
    }

    function setBaseCID(string memory baseCid) public onlyOwner {
        require(!urisLocked, "URIs have been locked");

        _baseCid = baseCid;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        IRevealContract revealContractInterface = IRevealContract(
            revealContract
        );
        string memory revealContractCid = revealContractInterface.getCid(
            tokenId
        );

        if (_exists(tokenId) && bytes(revealContractCid).length > 0) {
            return string(abi.encodePacked(_baseUri, revealContractCid));
        }

        return string(abi.encodePacked(_baseUri, _baseCid, "/", tokenId));
    }

    function tokensOfOwner(address owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256[] memory _tokensOfOwner = new uint256[](
            ERC721.balanceOf(owner)
        );
        uint256 i;

        for (i = 0; i < ERC721.balanceOf(owner); i++) {
            _tokensOfOwner[i] = ERC721Enumerable.tokenOfOwnerByIndex(owner, i);
        }
        return (_tokensOfOwner);
    }

    function burnAndMint(
        uint256 tokenId,
        uint256 typeOption,
        uint256 transformerKeyTokenId
    ) public nonReentrant {
        require(burnAndMintIsLive, "burnAndMintIsLive is not live");
        require(ownerOf(tokenId) == tx.origin, "must be token owner");

        uint256 newTokenId;

        if (typeOption == 0) {
            newTokenId = transformerKeyTokenId + 8000;
        } else {
            require(typeOption == 1, "invalid typeOption argument");
            newTokenId = transformerKeyTokenId + 16000;
        }

        require(newTokenId <= 23999, "tokenId too high");
        require(!revealed[newTokenId], "already revealed");

        // burn
        ITransformerKeyContract transformerContractInterface = ITransformerKeyContract(
                transformerContract
            );

        address tokenOwner = transformerContractInterface.ownerOf(
            transformerKeyTokenId
        );
        require(tokenOwner == tx.origin, "Not token owner");
        require(
            transformerContractInterface.isApprovedForAll(
                tx.origin,
                address(this)
            ),
            "No permission to transfer"
        );
        transformerContractInterface.transferFrom(
            tx.origin,
            burnAddress,
            transformerKeyTokenId
        );

        revealed[newTokenId] = true;

        revealedIds.push(newTokenId);

        IRevealContract revealContractInterface = IRevealContract(
            revealContract
        );
        string memory newCid = revealContractInterface.getCid(newTokenId);
        require(bytes(newCid).length != 0, "new cid must be set");

        // burn old and mint new
        _burn(tokenId);
        _safeMint(tx.origin, newTokenId);

        emit TokenRevealed(tx.origin, newTokenId, newCid);
    }

    function mint(uint256 existingNftId, address existingContractAddress)
        public
        nonReentrant
    {
        IRevealContract revealContractInterface = IRevealContract(
            revealContract
        );

        uint256 newTokenId;

        if (existingContractAddress == revealContract) {
            // transfer old pfp to burn and mint same id on this contract
            newTokenId = existingNftId;

            address tokenOwner = revealContractInterface.ownerOf(existingNftId);
            require(tokenOwner == msg.sender, "Not token owner");
            require(
                revealContractInterface.isApprovedForAll(
                    msg.sender,
                    address(this)
                ),
                "No permission to transfer"
            );
            revealContractInterface.transferFrom(
                msg.sender,
                burnAddress,
                existingNftId
            );
        } else {
            require(
                existingContractAddress == boxContract,
                "invalid old collection address"
            );

            // transfer box burn and mint pfp id on this contract
            newTokenId = (existingNftId + randomNumber) % maxSupply;

            IERC721 boxContractInterface = IERC721(boxContract);

            address tokenOwner = boxContractInterface.ownerOf(existingNftId);
            require(tokenOwner == msg.sender, "Not token owner");
            require(
                boxContractInterface.isApprovedForAll(
                    msg.sender,
                    address(this)
                ),
                "No permission to transfer"
            );
            boxContractInterface.transferFrom(
                msg.sender,
                burnAddress,
                existingNftId
            );
        }

        if (keyAllowListLive) {
            keyAllowList[msg.sender] += 1;
        }

        _mint(_msgSender(), newTokenId);
        revealed[newTokenId] = true;
        revealedIds.push(newTokenId);

        emit TokenRevealed(
            msg.sender,
            newTokenId,
            revealContractInterface.getCid(newTokenId)
        );
    }
}

File 2 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 4 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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 5 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

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: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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 9 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

File 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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":"_boxContract","type":"address"},{"internalType":"address","name":"_revealContract","type":"address"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_cid","type":"string"}],"name":"TokenRevealed","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":[],"name":"boxContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"typeOption","type":"uint256"},{"internalType":"uint256","name":"transformerKeyTokenId","type":"uint256"}],"name":"burnAndMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAndMintIsLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getKeyAllowListCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRevealedIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"","type":"address"}],"name":"keyAllowList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keyAllowListLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockKeyAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"existingNftId","type":"uint256"},{"internalType":"address","name":"existingContractAddress","type":"address"}],"name":"mint","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":"randomNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"baseCid","type":"string"}],"name":"setBaseCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setTransformerContract","outputs":[],"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":[],"name":"toggleBurnAndMintIsLive","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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"},{"inputs":[],"name":"transformerContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"urisLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405260006014806101000a81548160ff0219169083151502179055506000601460156101000a81548160ff0219169083151502179055506001601460166101000a81548160ff0219169083151502179055503480156200006157600080fd5b506040516200565c3803806200565c833981810160405281019062000087919062000404565b6040518060400160405280601481526020017f5374726565744d616368696e6547656e657369730000000000000000000000008152506040518060400160405280600381526020017f534d43000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010b929190620002af565b50806001908051906020019062000124929190620002af565b5050506001600a819055506200014f62000143620001e160201b60201c565b620001e960201b60201c565b82601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601181905550505050620004c5565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002bd906200048f565b90600052602060002090601f016020900481019282620002e157600085556200032d565b82601f10620002fc57805160ff19168380011785556200032d565b828001600101855582156200032d579182015b828111156200032c5782518255916020019190600101906200030f565b5b5090506200033c919062000340565b5090565b5b808211156200035b57600081600090555060010162000341565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003918262000364565b9050919050565b620003a38162000384565b8114620003af57600080fd5b50565b600081519050620003c38162000398565b92915050565b6000819050919050565b620003de81620003c9565b8114620003ea57600080fd5b50565b600081519050620003fe81620003d3565b92915050565b60008060006060848603121562000420576200041f6200035f565b5b60006200043086828701620003b2565b93505060206200044386828701620003b2565b92505060406200045686828701620003ed565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004a857607f821691505b60208210811415620004bf57620004be62000460565b5b50919050565b61518780620004d56000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80636a5f2a5e11610146578063a0f67fe9116100c3578063c87b56dd11610087578063c87b56dd146106e9578063ccbac9f514610719578063d5abeb0114610737578063e034976214610755578063e985e9c514610773578063f2fde38b146107a35761025e565b8063a0f67fe914610659578063a22cb46514610689578063a80d6956146106a5578063b88d4fde146106c3578063b8ccf2e4146106df5761025e565b80638290b7fa1161010a5780638290b7fa146105b35780638462151c146105d15780638da5cb5b1461060157806394bf804d1461061f57806395d89b411461063b5761025e565b80636a5f2a5e1461054757806370a082311461055157806370d5ae0514610581578063715018a61461059f578063800b77e5146105a95761025e565b806330504734116101df57806342842e0e116101a357806342842e0e1461046357806342966c681461047f5780634f6ccce71461049b57806355f804b3146104cb57806361a2bc01146104e75780636352211e146105175761025e565b806330504734146103d157806334853d6a146103ed5780633ef55c1e1461040b57806341c7320e1461042957806342653706146104455761025e565b806318160ddd1161022657806318160ddd1461032d5780631f5be8071461034b57806323b872dd14610367578063275e18f4146103835780632f745c59146103a15761025e565b806301ffc9a7146102635780630682e1631461029357806306fdde03146102c3578063081812fc146102e1578063095ea7b314610311575b600080fd5b61027d600480360381019061027891906136a9565b6107bf565b60405161028a91906136f1565b60405180910390f35b6102ad60048036038101906102a8919061376a565b6107d1565b6040516102ba91906137b0565b60405180910390f35b6102cb6107e9565b6040516102d89190613864565b60405180910390f35b6102fb60048036038101906102f691906138b2565b61087b565b60405161030891906138ee565b60405180910390f35b61032b60048036038101906103269190613909565b6108c1565b005b6103356109d9565b60405161034291906137b0565b60405180910390f35b6103656004803603810190610360919061376a565b6109e6565b005b610381600480360381019061037c9190613949565b610a32565b005b61038b610a92565b60405161039891906136f1565b60405180910390f35b6103bb60048036038101906103b69190613909565b610aa5565b6040516103c891906137b0565b60405180910390f35b6103eb60048036038101906103e6919061399c565b610b4a565b005b6103f5611186565b60405161040291906138ee565b60405180910390f35b6104136111ac565b60405161042091906138ee565b60405180910390f35b610443600480360381019061043e9190613b24565b6111d2565b005b61044d611242565b60405161045a9190613c2b565b60405180910390f35b61047d60048036038101906104789190613949565b61129a565b005b610499600480360381019061049491906138b2565b6112ba565b005b6104b560048036038101906104b091906138b2565b611316565b6040516104c291906137b0565b60405180910390f35b6104e560048036038101906104e09190613b24565b611387565b005b61050160048036038101906104fc91906138b2565b6113f7565b60405161050e91906136f1565b60405180910390f35b610531600480360381019061052c91906138b2565b611417565b60405161053e91906138ee565b60405180910390f35b61054f6114c9565b005b61056b6004803603810190610566919061376a565b61153b565b60405161057891906137b0565b60405180910390f35b6105896115f3565b60405161059691906138ee565b60405180910390f35b6105a76115f9565b005b6105b161160d565b005b6105bb611632565b6040516105c891906138ee565b60405180910390f35b6105eb60048036038101906105e6919061376a565b611658565b6040516105f89190613c2b565b60405180910390f35b610609611708565b60405161061691906138ee565b60405180910390f35b61063960048036038101906106349190613c4d565b611732565b005b610643611ef4565b6040516106509190613864565b60405180910390f35b610673600480360381019061066e919061376a565b611f86565b60405161068091906137b0565b60405180910390f35b6106a3600480360381019061069e9190613cb9565b611fcf565b005b6106ad611fe5565b6040516106ba91906136f1565b60405180910390f35b6106dd60048036038101906106d89190613d9a565b611ff6565b005b6106e7612058565b005b61070360048036038101906106fe91906138b2565b61208c565b6040516107109190613864565b60405180910390f35b6107216121be565b60405161072e91906137b0565b60405180910390f35b61073f6121c4565b60405161074c91906137b0565b60405180910390f35b61075d6121ca565b60405161076a91906136f1565b60405180910390f35b61078d60048036038101906107889190613e1d565b6121dd565b60405161079a91906136f1565b60405180910390f35b6107bd60048036038101906107b8919061376a565b612271565b005b60006107ca826122f5565b9050919050565b60106020528060005260406000206000915090505481565b6060600080546107f890613e8c565b80601f016020809104026020016040519081016040528092919081815260200182805461082490613e8c565b80156108715780601f1061084657610100808354040283529160200191610871565b820191906000526020600020905b81548152906001019060200180831161085457829003601f168201915b5050505050905090565b60006108868261236f565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108cc82611417565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093490613f30565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095c6123ba565b73ffffffffffffffffffffffffffffffffffffffff16148061098b575061098a816109856123ba565b6121dd565b5b6109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c190613fc2565b60405180910390fd5b6109d483836123c2565b505050565b6000600880549050905090565b6109ee61247b565b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a43610a3d6123ba565b826124f9565b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990614054565b60405180910390fd5b610a8d83838361258e565b505050565b601460159054906101000a900460ff1681565b6000610ab08361153b565b8210610af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae8906140e6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6002600a541415610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790614152565b60405180910390fd5b6002600a81905550601460159054906101000a900460ff16610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde906141be565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff16610c0784611417565b73ffffffffffffffffffffffffffffffffffffffff1614610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c549061422a565b60405180910390fd5b600080831415610c7c57611f4082610c759190614279565b9050610cd0565b60018314610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb69061431b565b60405180910390fd5b613e8082610ccd9190614279565b90505b615dbf811115610d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0c90614387565b60405180910390fd5b600f600082815260200190815260200160002060009054906101000a900460ff1615610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d906143f3565b60405180910390fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b8152600401610dd891906137b0565b60206040518083038186803b158015610df057600080fd5b505afa158015610e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e289190614428565b90503273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f906144a1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663e985e9c532306040518363ffffffff1660e01b8152600401610ed39291906144c1565b60206040518083038186803b158015610eeb57600080fd5b505afa158015610eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2391906144ff565b610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5990614578565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3261dead876040518463ffffffff1660e01b8152600401610fa193929190614598565b600060405180830381600087803b158015610fbb57600080fd5b505af1158015610fcf573d6000803e3d6000fd5b505050506001600f600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600e8390806001815401808255809150506001900390600052602060002001600090919091909150556000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16633beaa6ab866040518263ffffffff1660e01b815260040161108a91906137b0565b60006040518083038186803b1580156110a257600080fd5b505afa1580156110b6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110df919061463f565b9050600081511415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906146d4565b60405180910390fd5b61112f886127f5565b6111393286612912565b7ff6a494b293d06a488a7ac6056eae946f562e3e8b006c6726e132051bdb3801ab32868360405161116c939291906146f4565b60405180910390a150505050506001600a81905550505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111da61247b565b60148054906101000a900460ff1615611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f9061477e565b60405180910390fd5b80600d908051906020019061123e92919061359a565b5050565b6060600e80548060200260200160405190810160405280929190818152602001828054801561129057602002820191906000526020600020905b81548152602001906001019080831161127c575b5050505050905090565b6112b583838360405180602001604052806000815250611ff6565b505050565b6112cb6112c56123ba565b826124f9565b61130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130190614054565b60405180910390fd5b611313816127f5565b50565b60006113206109d9565b8210611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614810565b60405180910390fd5b6008828154811061137557611374614830565b5b90600052602060002001549050919050565b61138f61247b565b60148054906101000a900460ff16156113dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d49061477e565b60405180910390fd5b80600c90805190602001906113f392919061359a565b5050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b7906148ab565b60405180910390fd5b80915050919050565b6114d161247b565b60148054906101000a900460ff161561151f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115169061477e565b60405180910390fd5b60016014806101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a39061493d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61dead81565b61160161247b565b61160b6000612930565b565b61161561247b565b6000601460166101000a81548160ff021916908315150217905550565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060006116658361153b565b67ffffffffffffffff81111561167e5761167d6139f9565b5b6040519080825280602002602001820160405280156116ac5781602001602082028036833780820191505090505b50905060005b6116bb8461153b565b8110156116fe576116cc8482610aa5565b8282815181106116df576116de614830565b5b60200260200101818152505080806116f69061495d565b9150506116b2565b8192505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6002600a541415611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f90614152565b60405180910390fd5b6002600a819055506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a3e5783905060008273ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b815260040161183d91906137b0565b60206040518083038186803b15801561185557600080fd5b505afa158015611869573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188d9190614428565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f4906144a1565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b81526004016119389291906144c1565b60206040518083038186803b15801561195057600080fd5b505afa158015611964573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198891906144ff565b6119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90614578565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead886040518463ffffffff1660e01b8152600401611a0693929190614598565b600060405180830381600087803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b5050505050611d4b565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac5906149f2565b60405180910390fd5b60115461133785611adf9190614279565b611ae99190614a41565b90506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b8152600401611b4d91906137b0565b60206040518083038186803b158015611b6557600080fd5b505afa158015611b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9d9190614428565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c04906144a1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b8152600401611c489291906144c1565b60206040518083038186803b158015611c6057600080fd5b505afa158015611c74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9891906144ff565b611cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cce90614578565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead896040518463ffffffff1660e01b8152600401611d1693929190614598565b600060405180830381600087803b158015611d3057600080fd5b505af1158015611d44573d6000803e3d6000fd5b5050505050505b601460169054906101000a900460ff1615611db8576001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611db09190614279565b925050819055505b611dc9611dc36123ba565b826129f6565b6001600f600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600e8190806001815401808255809150506001900390600052602060002001600090919091909150557ff6a494b293d06a488a7ac6056eae946f562e3e8b006c6726e132051bdb3801ab33828473ffffffffffffffffffffffffffffffffffffffff16633beaa6ab856040518263ffffffff1660e01b8152600401611e7a91906137b0565b60006040518083038186803b158015611e9257600080fd5b505afa158015611ea6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ecf919061463f565b604051611ede939291906146f4565b60405180910390a150506001600a819055505050565b606060018054611f0390613e8c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2f90613e8c565b8015611f7c5780601f10611f5157610100808354040283529160200191611f7c565b820191906000526020600020905b815481529060010190602001808311611f5f57829003601f168201915b5050505050905090565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611fe1611fda6123ba565b8383612bd0565b5050565b60148054906101000a900460ff1681565b6120076120016123ba565b836124f9565b612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614054565b60405180910390fd5b61205284848484612d3d565b50505050565b61206061247b565b601460159054906101000a900460ff1615601460156101000a81548160ff021916908315150217905550565b60606000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16633beaa6ab856040518263ffffffff1660e01b81526004016120f091906137b0565b60006040518083038186803b15801561210857600080fd5b505afa15801561211c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612145919061463f565b905061215084612d99565b801561215d575060008151115b1561218e57600c81604051602001612176929190614b42565b604051602081830303815290604052925050506121b9565b600c600d856040516020016121a593929190614bd3565b604051602081830303815290604052925050505b919050565b61133781565b60115481565b601460169054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61227961247b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e090614c85565b60405180910390fd5b6122f281612930565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612368575061236782612e05565b5b9050919050565b61237881612d99565b6123b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ae906148ab565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661243583611417565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6124836123ba565b73ffffffffffffffffffffffffffffffffffffffff166124a1611708565b73ffffffffffffffffffffffffffffffffffffffff16146124f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ee90614cf1565b60405180910390fd5b565b60008061250583611417565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612547575061254681856121dd565b5b8061258557508373ffffffffffffffffffffffffffffffffffffffff1661256d8461087b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125ae82611417565b73ffffffffffffffffffffffffffffffffffffffff1614612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb90614d83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90614e15565b60405180910390fd5b61267f838383612ee7565b61268a6000826123c2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126da9190614e35565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127319190614279565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f0838383612ef7565b505050565b600061280082611417565b905061280e81600084612ee7565b6128196000836123c2565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128699190614e35565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461290e81600084612ef7565b5050565b61292c828260405180602001604052806000815250612efc565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d90614eb5565b60405180910390fd5b612a6f81612d99565b15612aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa690614f21565b60405180910390fd5b612abb60008383612ee7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b0b9190614279565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bcc60008383612ef7565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3690614f8d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d3091906136f1565b60405180910390a3505050565b612d4884848461258e565b612d5484848484612f57565b612d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8a9061501f565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ed057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ee05750612edf826130ee565b5b9050919050565b612ef2838383613158565b505050565b505050565b612f0683836129f6565b612f136000848484612f57565b612f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f499061501f565b60405180910390fd5b505050565b6000612f788473ffffffffffffffffffffffffffffffffffffffff1661326c565b156130e1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fa16123ba565b8786866040518563ffffffff1660e01b8152600401612fc39493929190615094565b602060405180830381600087803b158015612fdd57600080fd5b505af192505050801561300e57506040513d601f19601f8201168201806040525081019061300b91906150f5565b60015b613091573d806000811461303e576040519150601f19603f3d011682016040523d82523d6000602084013e613043565b606091505b50600081511415613089576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130809061501f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130e6565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61316383838361328f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131a6576131a181613294565b6131e5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131e4576131e383826132dd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613228576132238161344a565b613267565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461326657613265828261351b565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132ea8461153b565b6132f49190614e35565b90506000600760008481526020019081526020016000205490508181146133d9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061345e9190614e35565b905060006009600084815260200190815260200160002054905060006008838154811061348e5761348d614830565b5b9060005260206000200154905080600883815481106134b0576134af614830565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134ff576134fe615122565b5b6001900381819060005260206000200160009055905550505050565b60006135268361153b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546135a690613e8c565b90600052602060002090601f0160209004810192826135c8576000855561360f565b82601f106135e157805160ff191683800117855561360f565b8280016001018555821561360f579182015b8281111561360e5782518255916020019190600101906135f3565b5b50905061361c9190613620565b5090565b5b80821115613639576000816000905550600101613621565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61368681613651565b811461369157600080fd5b50565b6000813590506136a38161367d565b92915050565b6000602082840312156136bf576136be613647565b5b60006136cd84828501613694565b91505092915050565b60008115159050919050565b6136eb816136d6565b82525050565b600060208201905061370660008301846136e2565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137378261370c565b9050919050565b6137478161372c565b811461375257600080fd5b50565b6000813590506137648161373e565b92915050565b6000602082840312156137805761377f613647565b5b600061378e84828501613755565b91505092915050565b6000819050919050565b6137aa81613797565b82525050565b60006020820190506137c560008301846137a1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138055780820151818401526020810190506137ea565b83811115613814576000848401525b50505050565b6000601f19601f8301169050919050565b6000613836826137cb565b61384081856137d6565b93506138508185602086016137e7565b6138598161381a565b840191505092915050565b6000602082019050818103600083015261387e818461382b565b905092915050565b61388f81613797565b811461389a57600080fd5b50565b6000813590506138ac81613886565b92915050565b6000602082840312156138c8576138c7613647565b5b60006138d68482850161389d565b91505092915050565b6138e88161372c565b82525050565b600060208201905061390360008301846138df565b92915050565b600080604083850312156139205761391f613647565b5b600061392e85828601613755565b925050602061393f8582860161389d565b9150509250929050565b60008060006060848603121561396257613961613647565b5b600061397086828701613755565b935050602061398186828701613755565b92505060406139928682870161389d565b9150509250925092565b6000806000606084860312156139b5576139b4613647565b5b60006139c38682870161389d565b93505060206139d48682870161389d565b92505060406139e58682870161389d565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a318261381a565b810181811067ffffffffffffffff82111715613a5057613a4f6139f9565b5b80604052505050565b6000613a6361363d565b9050613a6f8282613a28565b919050565b600067ffffffffffffffff821115613a8f57613a8e6139f9565b5b613a988261381a565b9050602081019050919050565b82818337600083830152505050565b6000613ac7613ac284613a74565b613a59565b905082815260208101848484011115613ae357613ae26139f4565b5b613aee848285613aa5565b509392505050565b600082601f830112613b0b57613b0a6139ef565b5b8135613b1b848260208601613ab4565b91505092915050565b600060208284031215613b3a57613b39613647565b5b600082013567ffffffffffffffff811115613b5857613b5761364c565b5b613b6484828501613af6565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ba281613797565b82525050565b6000613bb48383613b99565b60208301905092915050565b6000602082019050919050565b6000613bd882613b6d565b613be28185613b78565b9350613bed83613b89565b8060005b83811015613c1e578151613c058882613ba8565b9750613c1083613bc0565b925050600181019050613bf1565b5085935050505092915050565b60006020820190508181036000830152613c458184613bcd565b905092915050565b60008060408385031215613c6457613c63613647565b5b6000613c728582860161389d565b9250506020613c8385828601613755565b9150509250929050565b613c96816136d6565b8114613ca157600080fd5b50565b600081359050613cb381613c8d565b92915050565b60008060408385031215613cd057613ccf613647565b5b6000613cde85828601613755565b9250506020613cef85828601613ca4565b9150509250929050565b600067ffffffffffffffff821115613d1457613d136139f9565b5b613d1d8261381a565b9050602081019050919050565b6000613d3d613d3884613cf9565b613a59565b905082815260208101848484011115613d5957613d586139f4565b5b613d64848285613aa5565b509392505050565b600082601f830112613d8157613d806139ef565b5b8135613d91848260208601613d2a565b91505092915050565b60008060008060808587031215613db457613db3613647565b5b6000613dc287828801613755565b9450506020613dd387828801613755565b9350506040613de48782880161389d565b925050606085013567ffffffffffffffff811115613e0557613e0461364c565b5b613e1187828801613d6c565b91505092959194509250565b60008060408385031215613e3457613e33613647565b5b6000613e4285828601613755565b9250506020613e5385828601613755565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ea457607f821691505b60208210811415613eb857613eb7613e5d565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f1a6021836137d6565b9150613f2582613ebe565b604082019050919050565b60006020820190508181036000830152613f4981613f0d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613fac603e836137d6565b9150613fb782613f50565b604082019050919050565b60006020820190508181036000830152613fdb81613f9f565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061403e602e836137d6565b915061404982613fe2565b604082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140d0602b836137d6565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061413c601f836137d6565b915061414782614106565b602082019050919050565b6000602082019050818103600083015261416b8161412f565b9050919050565b7f6275726e416e644d696e7449734c697665206973206e6f74206c697665000000600082015250565b60006141a8601d836137d6565b91506141b382614172565b602082019050919050565b600060208201905081810360008301526141d78161419b565b9050919050565b7f6d75737420626520746f6b656e206f776e657200000000000000000000000000600082015250565b60006142146013836137d6565b915061421f826141de565b602082019050919050565b6000602082019050818103600083015261424381614207565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061428482613797565b915061428f83613797565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142c4576142c361424a565b5b828201905092915050565b7f696e76616c696420747970654f7074696f6e20617267756d656e740000000000600082015250565b6000614305601b836137d6565b9150614310826142cf565b602082019050919050565b60006020820190508181036000830152614334816142f8565b9050919050565b7f746f6b656e496420746f6f206869676800000000000000000000000000000000600082015250565b60006143716010836137d6565b915061437c8261433b565b602082019050919050565b600060208201905081810360008301526143a081614364565b9050919050565b7f616c72656164792072657665616c656400000000000000000000000000000000600082015250565b60006143dd6010836137d6565b91506143e8826143a7565b602082019050919050565b6000602082019050818103600083015261440c816143d0565b9050919050565b6000815190506144228161373e565b92915050565b60006020828403121561443e5761443d613647565b5b600061444c84828501614413565b91505092915050565b7f4e6f7420746f6b656e206f776e65720000000000000000000000000000000000600082015250565b600061448b600f836137d6565b915061449682614455565b602082019050919050565b600060208201905081810360008301526144ba8161447e565b9050919050565b60006040820190506144d660008301856138df565b6144e360208301846138df565b9392505050565b6000815190506144f981613c8d565b92915050565b60006020828403121561451557614514613647565b5b6000614523848285016144ea565b91505092915050565b7f4e6f207065726d697373696f6e20746f207472616e7366657200000000000000600082015250565b60006145626019836137d6565b915061456d8261452c565b602082019050919050565b6000602082019050818103600083015261459181614555565b9050919050565b60006060820190506145ad60008301866138df565b6145ba60208301856138df565b6145c760408301846137a1565b949350505050565b60006145e26145dd84613a74565b613a59565b9050828152602081018484840111156145fe576145fd6139f4565b5b6146098482856137e7565b509392505050565b600082601f830112614626576146256139ef565b5b81516146368482602086016145cf565b91505092915050565b60006020828403121561465557614654613647565b5b600082015167ffffffffffffffff8111156146735761467261364c565b5b61467f84828501614611565b91505092915050565b7f6e657720636964206d7573742062652073657400000000000000000000000000600082015250565b60006146be6013836137d6565b91506146c982614688565b602082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b600060608201905061470960008301866138df565b61471660208301856137a1565b8181036040830152614728818461382b565b9050949350505050565b7f555249732068617665206265656e206c6f636b65640000000000000000000000600082015250565b60006147686015836137d6565b915061477382614732565b602082019050919050565b600060208201905081810360008301526147978161475b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006147fa602c836137d6565b91506148058261479e565b604082019050919050565b60006020820190508181036000830152614829816147ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006148956018836137d6565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006149276029836137d6565b9150614932826148cb565b604082019050919050565b600060208201905081810360008301526149568161491a565b9050919050565b600061496882613797565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561499b5761499a61424a565b5b600182019050919050565b7f696e76616c6964206f6c6420636f6c6c656374696f6e20616464726573730000600082015250565b60006149dc601e836137d6565b91506149e7826149a6565b602082019050919050565b60006020820190508181036000830152614a0b816149cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a4c82613797565b9150614a5783613797565b925082614a6757614a66614a12565b5b828206905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614a9f81613e8c565b614aa98186614a72565b94506001821660008114614ac45760018114614ad557614b08565b60ff19831686528186019350614b08565b614ade85614a7d565b60005b83811015614b0057815481890152600182019150602081019050614ae1565b838801955050505b50505092915050565b6000614b1c826137cb565b614b268185614a72565b9350614b368185602086016137e7565b80840191505092915050565b6000614b4e8285614a92565b9150614b5a8284614b11565b91508190509392505050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b9c600183614a72565b9150614ba782614b66565b600182019050919050565b6000819050919050565b614bcd614bc882613797565b614bb2565b82525050565b6000614bdf8286614a92565b9150614beb8285614a92565b9150614bf682614b8f565b9150614c028284614bbc565b602082019150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c6f6026836137d6565b9150614c7a82614c13565b604082019050919050565b60006020820190508181036000830152614c9e81614c62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614cdb6020836137d6565b9150614ce682614ca5565b602082019050919050565b60006020820190508181036000830152614d0a81614cce565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614d6d6025836137d6565b9150614d7882614d11565b604082019050919050565b60006020820190508181036000830152614d9c81614d60565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614dff6024836137d6565b9150614e0a82614da3565b604082019050919050565b60006020820190508181036000830152614e2e81614df2565b9050919050565b6000614e4082613797565b9150614e4b83613797565b925082821015614e5e57614e5d61424a565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e9f6020836137d6565b9150614eaa82614e69565b602082019050919050565b60006020820190508181036000830152614ece81614e92565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614f0b601c836137d6565b9150614f1682614ed5565b602082019050919050565b60006020820190508181036000830152614f3a81614efe565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f776019836137d6565b9150614f8282614f41565b602082019050919050565b60006020820190508181036000830152614fa681614f6a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150096032836137d6565b915061501482614fad565b604082019050919050565b6000602082019050818103600083015261503881614ffc565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006150668261503f565b615070818561504a565b93506150808185602086016137e7565b6150898161381a565b840191505092915050565b60006080820190506150a960008301876138df565b6150b660208301866138df565b6150c360408301856137a1565b81810360608301526150d5818461505b565b905095945050505050565b6000815190506150ef8161367d565b92915050565b60006020828403121561510b5761510a613647565b5b6000615119848285016150e0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212209880048da840e26e65c06228811eee704063bd23a2389a80c39a3c338b653c5f64736f6c63430008090033000000000000000000000000aaa7a35e442a77e37cde2f445b359aabf5ad0387000000000000000000000000dd1f245d2920c5e144417ba2e59cf094bd615a910000000000000000000000000000000000000000000000000000000000001f40

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80636a5f2a5e11610146578063a0f67fe9116100c3578063c87b56dd11610087578063c87b56dd146106e9578063ccbac9f514610719578063d5abeb0114610737578063e034976214610755578063e985e9c514610773578063f2fde38b146107a35761025e565b8063a0f67fe914610659578063a22cb46514610689578063a80d6956146106a5578063b88d4fde146106c3578063b8ccf2e4146106df5761025e565b80638290b7fa1161010a5780638290b7fa146105b35780638462151c146105d15780638da5cb5b1461060157806394bf804d1461061f57806395d89b411461063b5761025e565b80636a5f2a5e1461054757806370a082311461055157806370d5ae0514610581578063715018a61461059f578063800b77e5146105a95761025e565b806330504734116101df57806342842e0e116101a357806342842e0e1461046357806342966c681461047f5780634f6ccce71461049b57806355f804b3146104cb57806361a2bc01146104e75780636352211e146105175761025e565b806330504734146103d157806334853d6a146103ed5780633ef55c1e1461040b57806341c7320e1461042957806342653706146104455761025e565b806318160ddd1161022657806318160ddd1461032d5780631f5be8071461034b57806323b872dd14610367578063275e18f4146103835780632f745c59146103a15761025e565b806301ffc9a7146102635780630682e1631461029357806306fdde03146102c3578063081812fc146102e1578063095ea7b314610311575b600080fd5b61027d600480360381019061027891906136a9565b6107bf565b60405161028a91906136f1565b60405180910390f35b6102ad60048036038101906102a8919061376a565b6107d1565b6040516102ba91906137b0565b60405180910390f35b6102cb6107e9565b6040516102d89190613864565b60405180910390f35b6102fb60048036038101906102f691906138b2565b61087b565b60405161030891906138ee565b60405180910390f35b61032b60048036038101906103269190613909565b6108c1565b005b6103356109d9565b60405161034291906137b0565b60405180910390f35b6103656004803603810190610360919061376a565b6109e6565b005b610381600480360381019061037c9190613949565b610a32565b005b61038b610a92565b60405161039891906136f1565b60405180910390f35b6103bb60048036038101906103b69190613909565b610aa5565b6040516103c891906137b0565b60405180910390f35b6103eb60048036038101906103e6919061399c565b610b4a565b005b6103f5611186565b60405161040291906138ee565b60405180910390f35b6104136111ac565b60405161042091906138ee565b60405180910390f35b610443600480360381019061043e9190613b24565b6111d2565b005b61044d611242565b60405161045a9190613c2b565b60405180910390f35b61047d60048036038101906104789190613949565b61129a565b005b610499600480360381019061049491906138b2565b6112ba565b005b6104b560048036038101906104b091906138b2565b611316565b6040516104c291906137b0565b60405180910390f35b6104e560048036038101906104e09190613b24565b611387565b005b61050160048036038101906104fc91906138b2565b6113f7565b60405161050e91906136f1565b60405180910390f35b610531600480360381019061052c91906138b2565b611417565b60405161053e91906138ee565b60405180910390f35b61054f6114c9565b005b61056b6004803603810190610566919061376a565b61153b565b60405161057891906137b0565b60405180910390f35b6105896115f3565b60405161059691906138ee565b60405180910390f35b6105a76115f9565b005b6105b161160d565b005b6105bb611632565b6040516105c891906138ee565b60405180910390f35b6105eb60048036038101906105e6919061376a565b611658565b6040516105f89190613c2b565b60405180910390f35b610609611708565b60405161061691906138ee565b60405180910390f35b61063960048036038101906106349190613c4d565b611732565b005b610643611ef4565b6040516106509190613864565b60405180910390f35b610673600480360381019061066e919061376a565b611f86565b60405161068091906137b0565b60405180910390f35b6106a3600480360381019061069e9190613cb9565b611fcf565b005b6106ad611fe5565b6040516106ba91906136f1565b60405180910390f35b6106dd60048036038101906106d89190613d9a565b611ff6565b005b6106e7612058565b005b61070360048036038101906106fe91906138b2565b61208c565b6040516107109190613864565b60405180910390f35b6107216121be565b60405161072e91906137b0565b60405180910390f35b61073f6121c4565b60405161074c91906137b0565b60405180910390f35b61075d6121ca565b60405161076a91906136f1565b60405180910390f35b61078d60048036038101906107889190613e1d565b6121dd565b60405161079a91906136f1565b60405180910390f35b6107bd60048036038101906107b8919061376a565b612271565b005b60006107ca826122f5565b9050919050565b60106020528060005260406000206000915090505481565b6060600080546107f890613e8c565b80601f016020809104026020016040519081016040528092919081815260200182805461082490613e8c565b80156108715780601f1061084657610100808354040283529160200191610871565b820191906000526020600020905b81548152906001019060200180831161085457829003601f168201915b5050505050905090565b60006108868261236f565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108cc82611417565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093490613f30565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095c6123ba565b73ffffffffffffffffffffffffffffffffffffffff16148061098b575061098a816109856123ba565b6121dd565b5b6109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c190613fc2565b60405180910390fd5b6109d483836123c2565b505050565b6000600880549050905090565b6109ee61247b565b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a43610a3d6123ba565b826124f9565b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990614054565b60405180910390fd5b610a8d83838361258e565b505050565b601460159054906101000a900460ff1681565b6000610ab08361153b565b8210610af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae8906140e6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6002600a541415610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790614152565b60405180910390fd5b6002600a81905550601460159054906101000a900460ff16610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde906141be565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff16610c0784611417565b73ffffffffffffffffffffffffffffffffffffffff1614610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c549061422a565b60405180910390fd5b600080831415610c7c57611f4082610c759190614279565b9050610cd0565b60018314610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb69061431b565b60405180910390fd5b613e8082610ccd9190614279565b90505b615dbf811115610d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0c90614387565b60405180910390fd5b600f600082815260200190815260200160002060009054906101000a900460ff1615610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d906143f3565b60405180910390fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b8152600401610dd891906137b0565b60206040518083038186803b158015610df057600080fd5b505afa158015610e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e289190614428565b90503273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f906144a1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663e985e9c532306040518363ffffffff1660e01b8152600401610ed39291906144c1565b60206040518083038186803b158015610eeb57600080fd5b505afa158015610eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2391906144ff565b610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5990614578565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3261dead876040518463ffffffff1660e01b8152600401610fa193929190614598565b600060405180830381600087803b158015610fbb57600080fd5b505af1158015610fcf573d6000803e3d6000fd5b505050506001600f600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600e8390806001815401808255809150506001900390600052602060002001600090919091909150556000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16633beaa6ab866040518263ffffffff1660e01b815260040161108a91906137b0565b60006040518083038186803b1580156110a257600080fd5b505afa1580156110b6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110df919061463f565b9050600081511415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906146d4565b60405180910390fd5b61112f886127f5565b6111393286612912565b7ff6a494b293d06a488a7ac6056eae946f562e3e8b006c6726e132051bdb3801ab32868360405161116c939291906146f4565b60405180910390a150505050506001600a81905550505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111da61247b565b60148054906101000a900460ff1615611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f9061477e565b60405180910390fd5b80600d908051906020019061123e92919061359a565b5050565b6060600e80548060200260200160405190810160405280929190818152602001828054801561129057602002820191906000526020600020905b81548152602001906001019080831161127c575b5050505050905090565b6112b583838360405180602001604052806000815250611ff6565b505050565b6112cb6112c56123ba565b826124f9565b61130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130190614054565b60405180910390fd5b611313816127f5565b50565b60006113206109d9565b8210611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614810565b60405180910390fd5b6008828154811061137557611374614830565b5b90600052602060002001549050919050565b61138f61247b565b60148054906101000a900460ff16156113dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d49061477e565b60405180910390fd5b80600c90805190602001906113f392919061359a565b5050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b7906148ab565b60405180910390fd5b80915050919050565b6114d161247b565b60148054906101000a900460ff161561151f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115169061477e565b60405180910390fd5b60016014806101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a39061493d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61dead81565b61160161247b565b61160b6000612930565b565b61161561247b565b6000601460166101000a81548160ff021916908315150217905550565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060006116658361153b565b67ffffffffffffffff81111561167e5761167d6139f9565b5b6040519080825280602002602001820160405280156116ac5781602001602082028036833780820191505090505b50905060005b6116bb8461153b565b8110156116fe576116cc8482610aa5565b8282815181106116df576116de614830565b5b60200260200101818152505080806116f69061495d565b9150506116b2565b8192505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6002600a541415611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f90614152565b60405180910390fd5b6002600a819055506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a3e5783905060008273ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b815260040161183d91906137b0565b60206040518083038186803b15801561185557600080fd5b505afa158015611869573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188d9190614428565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f4906144a1565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b81526004016119389291906144c1565b60206040518083038186803b15801561195057600080fd5b505afa158015611964573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198891906144ff565b6119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90614578565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead886040518463ffffffff1660e01b8152600401611a0693929190614598565b600060405180830381600087803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b5050505050611d4b565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac5906149f2565b60405180910390fd5b60115461133785611adf9190614279565b611ae99190614a41565b90506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b8152600401611b4d91906137b0565b60206040518083038186803b158015611b6557600080fd5b505afa158015611b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9d9190614428565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c04906144a1565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b8152600401611c489291906144c1565b60206040518083038186803b158015611c6057600080fd5b505afa158015611c74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9891906144ff565b611cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cce90614578565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead896040518463ffffffff1660e01b8152600401611d1693929190614598565b600060405180830381600087803b158015611d3057600080fd5b505af1158015611d44573d6000803e3d6000fd5b5050505050505b601460169054906101000a900460ff1615611db8576001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611db09190614279565b925050819055505b611dc9611dc36123ba565b826129f6565b6001600f600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600e8190806001815401808255809150506001900390600052602060002001600090919091909150557ff6a494b293d06a488a7ac6056eae946f562e3e8b006c6726e132051bdb3801ab33828473ffffffffffffffffffffffffffffffffffffffff16633beaa6ab856040518263ffffffff1660e01b8152600401611e7a91906137b0565b60006040518083038186803b158015611e9257600080fd5b505afa158015611ea6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ecf919061463f565b604051611ede939291906146f4565b60405180910390a150506001600a819055505050565b606060018054611f0390613e8c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2f90613e8c565b8015611f7c5780601f10611f5157610100808354040283529160200191611f7c565b820191906000526020600020905b815481529060010190602001808311611f5f57829003601f168201915b5050505050905090565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611fe1611fda6123ba565b8383612bd0565b5050565b60148054906101000a900460ff1681565b6120076120016123ba565b836124f9565b612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614054565b60405180910390fd5b61205284848484612d3d565b50505050565b61206061247b565b601460159054906101000a900460ff1615601460156101000a81548160ff021916908315150217905550565b60606000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16633beaa6ab856040518263ffffffff1660e01b81526004016120f091906137b0565b60006040518083038186803b15801561210857600080fd5b505afa15801561211c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612145919061463f565b905061215084612d99565b801561215d575060008151115b1561218e57600c81604051602001612176929190614b42565b604051602081830303815290604052925050506121b9565b600c600d856040516020016121a593929190614bd3565b604051602081830303815290604052925050505b919050565b61133781565b60115481565b601460169054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61227961247b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e090614c85565b60405180910390fd5b6122f281612930565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612368575061236782612e05565b5b9050919050565b61237881612d99565b6123b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ae906148ab565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661243583611417565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6124836123ba565b73ffffffffffffffffffffffffffffffffffffffff166124a1611708565b73ffffffffffffffffffffffffffffffffffffffff16146124f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ee90614cf1565b60405180910390fd5b565b60008061250583611417565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612547575061254681856121dd565b5b8061258557508373ffffffffffffffffffffffffffffffffffffffff1661256d8461087b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125ae82611417565b73ffffffffffffffffffffffffffffffffffffffff1614612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb90614d83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90614e15565b60405180910390fd5b61267f838383612ee7565b61268a6000826123c2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126da9190614e35565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127319190614279565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f0838383612ef7565b505050565b600061280082611417565b905061280e81600084612ee7565b6128196000836123c2565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128699190614e35565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461290e81600084612ef7565b5050565b61292c828260405180602001604052806000815250612efc565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d90614eb5565b60405180910390fd5b612a6f81612d99565b15612aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa690614f21565b60405180910390fd5b612abb60008383612ee7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b0b9190614279565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bcc60008383612ef7565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3690614f8d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d3091906136f1565b60405180910390a3505050565b612d4884848461258e565b612d5484848484612f57565b612d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8a9061501f565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ed057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ee05750612edf826130ee565b5b9050919050565b612ef2838383613158565b505050565b505050565b612f0683836129f6565b612f136000848484612f57565b612f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f499061501f565b60405180910390fd5b505050565b6000612f788473ffffffffffffffffffffffffffffffffffffffff1661326c565b156130e1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fa16123ba565b8786866040518563ffffffff1660e01b8152600401612fc39493929190615094565b602060405180830381600087803b158015612fdd57600080fd5b505af192505050801561300e57506040513d601f19601f8201168201806040525081019061300b91906150f5565b60015b613091573d806000811461303e576040519150601f19603f3d011682016040523d82523d6000602084013e613043565b606091505b50600081511415613089576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130809061501f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130e6565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61316383838361328f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131a6576131a181613294565b6131e5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131e4576131e383826132dd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613228576132238161344a565b613267565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461326657613265828261351b565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132ea8461153b565b6132f49190614e35565b90506000600760008481526020019081526020016000205490508181146133d9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061345e9190614e35565b905060006009600084815260200190815260200160002054905060006008838154811061348e5761348d614830565b5b9060005260206000200154905080600883815481106134b0576134af614830565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134ff576134fe615122565b5b6001900381819060005260206000200160009055905550505050565b60006135268361153b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546135a690613e8c565b90600052602060002090601f0160209004810192826135c8576000855561360f565b82601f106135e157805160ff191683800117855561360f565b8280016001018555821561360f579182015b8281111561360e5782518255916020019190600101906135f3565b5b50905061361c9190613620565b5090565b5b80821115613639576000816000905550600101613621565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61368681613651565b811461369157600080fd5b50565b6000813590506136a38161367d565b92915050565b6000602082840312156136bf576136be613647565b5b60006136cd84828501613694565b91505092915050565b60008115159050919050565b6136eb816136d6565b82525050565b600060208201905061370660008301846136e2565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137378261370c565b9050919050565b6137478161372c565b811461375257600080fd5b50565b6000813590506137648161373e565b92915050565b6000602082840312156137805761377f613647565b5b600061378e84828501613755565b91505092915050565b6000819050919050565b6137aa81613797565b82525050565b60006020820190506137c560008301846137a1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138055780820151818401526020810190506137ea565b83811115613814576000848401525b50505050565b6000601f19601f8301169050919050565b6000613836826137cb565b61384081856137d6565b93506138508185602086016137e7565b6138598161381a565b840191505092915050565b6000602082019050818103600083015261387e818461382b565b905092915050565b61388f81613797565b811461389a57600080fd5b50565b6000813590506138ac81613886565b92915050565b6000602082840312156138c8576138c7613647565b5b60006138d68482850161389d565b91505092915050565b6138e88161372c565b82525050565b600060208201905061390360008301846138df565b92915050565b600080604083850312156139205761391f613647565b5b600061392e85828601613755565b925050602061393f8582860161389d565b9150509250929050565b60008060006060848603121561396257613961613647565b5b600061397086828701613755565b935050602061398186828701613755565b92505060406139928682870161389d565b9150509250925092565b6000806000606084860312156139b5576139b4613647565b5b60006139c38682870161389d565b93505060206139d48682870161389d565b92505060406139e58682870161389d565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a318261381a565b810181811067ffffffffffffffff82111715613a5057613a4f6139f9565b5b80604052505050565b6000613a6361363d565b9050613a6f8282613a28565b919050565b600067ffffffffffffffff821115613a8f57613a8e6139f9565b5b613a988261381a565b9050602081019050919050565b82818337600083830152505050565b6000613ac7613ac284613a74565b613a59565b905082815260208101848484011115613ae357613ae26139f4565b5b613aee848285613aa5565b509392505050565b600082601f830112613b0b57613b0a6139ef565b5b8135613b1b848260208601613ab4565b91505092915050565b600060208284031215613b3a57613b39613647565b5b600082013567ffffffffffffffff811115613b5857613b5761364c565b5b613b6484828501613af6565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ba281613797565b82525050565b6000613bb48383613b99565b60208301905092915050565b6000602082019050919050565b6000613bd882613b6d565b613be28185613b78565b9350613bed83613b89565b8060005b83811015613c1e578151613c058882613ba8565b9750613c1083613bc0565b925050600181019050613bf1565b5085935050505092915050565b60006020820190508181036000830152613c458184613bcd565b905092915050565b60008060408385031215613c6457613c63613647565b5b6000613c728582860161389d565b9250506020613c8385828601613755565b9150509250929050565b613c96816136d6565b8114613ca157600080fd5b50565b600081359050613cb381613c8d565b92915050565b60008060408385031215613cd057613ccf613647565b5b6000613cde85828601613755565b9250506020613cef85828601613ca4565b9150509250929050565b600067ffffffffffffffff821115613d1457613d136139f9565b5b613d1d8261381a565b9050602081019050919050565b6000613d3d613d3884613cf9565b613a59565b905082815260208101848484011115613d5957613d586139f4565b5b613d64848285613aa5565b509392505050565b600082601f830112613d8157613d806139ef565b5b8135613d91848260208601613d2a565b91505092915050565b60008060008060808587031215613db457613db3613647565b5b6000613dc287828801613755565b9450506020613dd387828801613755565b9350506040613de48782880161389d565b925050606085013567ffffffffffffffff811115613e0557613e0461364c565b5b613e1187828801613d6c565b91505092959194509250565b60008060408385031215613e3457613e33613647565b5b6000613e4285828601613755565b9250506020613e5385828601613755565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ea457607f821691505b60208210811415613eb857613eb7613e5d565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f1a6021836137d6565b9150613f2582613ebe565b604082019050919050565b60006020820190508181036000830152613f4981613f0d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613fac603e836137d6565b9150613fb782613f50565b604082019050919050565b60006020820190508181036000830152613fdb81613f9f565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061403e602e836137d6565b915061404982613fe2565b604082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140d0602b836137d6565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061413c601f836137d6565b915061414782614106565b602082019050919050565b6000602082019050818103600083015261416b8161412f565b9050919050565b7f6275726e416e644d696e7449734c697665206973206e6f74206c697665000000600082015250565b60006141a8601d836137d6565b91506141b382614172565b602082019050919050565b600060208201905081810360008301526141d78161419b565b9050919050565b7f6d75737420626520746f6b656e206f776e657200000000000000000000000000600082015250565b60006142146013836137d6565b915061421f826141de565b602082019050919050565b6000602082019050818103600083015261424381614207565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061428482613797565b915061428f83613797565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142c4576142c361424a565b5b828201905092915050565b7f696e76616c696420747970654f7074696f6e20617267756d656e740000000000600082015250565b6000614305601b836137d6565b9150614310826142cf565b602082019050919050565b60006020820190508181036000830152614334816142f8565b9050919050565b7f746f6b656e496420746f6f206869676800000000000000000000000000000000600082015250565b60006143716010836137d6565b915061437c8261433b565b602082019050919050565b600060208201905081810360008301526143a081614364565b9050919050565b7f616c72656164792072657665616c656400000000000000000000000000000000600082015250565b60006143dd6010836137d6565b91506143e8826143a7565b602082019050919050565b6000602082019050818103600083015261440c816143d0565b9050919050565b6000815190506144228161373e565b92915050565b60006020828403121561443e5761443d613647565b5b600061444c84828501614413565b91505092915050565b7f4e6f7420746f6b656e206f776e65720000000000000000000000000000000000600082015250565b600061448b600f836137d6565b915061449682614455565b602082019050919050565b600060208201905081810360008301526144ba8161447e565b9050919050565b60006040820190506144d660008301856138df565b6144e360208301846138df565b9392505050565b6000815190506144f981613c8d565b92915050565b60006020828403121561451557614514613647565b5b6000614523848285016144ea565b91505092915050565b7f4e6f207065726d697373696f6e20746f207472616e7366657200000000000000600082015250565b60006145626019836137d6565b915061456d8261452c565b602082019050919050565b6000602082019050818103600083015261459181614555565b9050919050565b60006060820190506145ad60008301866138df565b6145ba60208301856138df565b6145c760408301846137a1565b949350505050565b60006145e26145dd84613a74565b613a59565b9050828152602081018484840111156145fe576145fd6139f4565b5b6146098482856137e7565b509392505050565b600082601f830112614626576146256139ef565b5b81516146368482602086016145cf565b91505092915050565b60006020828403121561465557614654613647565b5b600082015167ffffffffffffffff8111156146735761467261364c565b5b61467f84828501614611565b91505092915050565b7f6e657720636964206d7573742062652073657400000000000000000000000000600082015250565b60006146be6013836137d6565b91506146c982614688565b602082019050919050565b600060208201905081810360008301526146ed816146b1565b9050919050565b600060608201905061470960008301866138df565b61471660208301856137a1565b8181036040830152614728818461382b565b9050949350505050565b7f555249732068617665206265656e206c6f636b65640000000000000000000000600082015250565b60006147686015836137d6565b915061477382614732565b602082019050919050565b600060208201905081810360008301526147978161475b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006147fa602c836137d6565b91506148058261479e565b604082019050919050565b60006020820190508181036000830152614829816147ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006148956018836137d6565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006149276029836137d6565b9150614932826148cb565b604082019050919050565b600060208201905081810360008301526149568161491a565b9050919050565b600061496882613797565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561499b5761499a61424a565b5b600182019050919050565b7f696e76616c6964206f6c6420636f6c6c656374696f6e20616464726573730000600082015250565b60006149dc601e836137d6565b91506149e7826149a6565b602082019050919050565b60006020820190508181036000830152614a0b816149cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a4c82613797565b9150614a5783613797565b925082614a6757614a66614a12565b5b828206905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614a9f81613e8c565b614aa98186614a72565b94506001821660008114614ac45760018114614ad557614b08565b60ff19831686528186019350614b08565b614ade85614a7d565b60005b83811015614b0057815481890152600182019150602081019050614ae1565b838801955050505b50505092915050565b6000614b1c826137cb565b614b268185614a72565b9350614b368185602086016137e7565b80840191505092915050565b6000614b4e8285614a92565b9150614b5a8284614b11565b91508190509392505050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b9c600183614a72565b9150614ba782614b66565b600182019050919050565b6000819050919050565b614bcd614bc882613797565b614bb2565b82525050565b6000614bdf8286614a92565b9150614beb8285614a92565b9150614bf682614b8f565b9150614c028284614bbc565b602082019150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c6f6026836137d6565b9150614c7a82614c13565b604082019050919050565b60006020820190508181036000830152614c9e81614c62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614cdb6020836137d6565b9150614ce682614ca5565b602082019050919050565b60006020820190508181036000830152614d0a81614cce565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614d6d6025836137d6565b9150614d7882614d11565b604082019050919050565b60006020820190508181036000830152614d9c81614d60565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614dff6024836137d6565b9150614e0a82614da3565b604082019050919050565b60006020820190508181036000830152614e2e81614df2565b9050919050565b6000614e4082613797565b9150614e4b83613797565b925082821015614e5e57614e5d61424a565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e9f6020836137d6565b9150614eaa82614e69565b602082019050919050565b60006020820190508181036000830152614ece81614e92565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614f0b601c836137d6565b9150614f1682614ed5565b602082019050919050565b60006020820190508181036000830152614f3a81614efe565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f776019836137d6565b9150614f8282614f41565b602082019050919050565b60006020820190508181036000830152614fa681614f6a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150096032836137d6565b915061501482614fad565b604082019050919050565b6000602082019050818103600083015261503881614ffc565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006150668261503f565b615070818561504a565b93506150808185602086016137e7565b6150898161381a565b840191505092915050565b60006080820190506150a960008301876138df565b6150b660208301866138df565b6150c360408301856137a1565b81810360608301526150d5818461505b565b905095945050505050565b6000815190506150ef8161367d565b92915050565b60006020828403121561510b5761510a613647565b5b6000615119848285016150e0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212209880048da840e26e65c06228811eee704063bd23a2389a80c39a3c338b653c5f64736f6c63430008090033

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

000000000000000000000000aaa7a35e442a77e37cde2f445b359aabf5ad0387000000000000000000000000dd1f245d2920c5e144417ba2e59cf094bd615a910000000000000000000000000000000000000000000000000000000000001f40

-----Decoded View---------------
Arg [0] : _boxContract (address): 0xaaA7A35e442a77e37cDE2f445b359AAbF5AD0387
Arg [1] : _revealContract (address): 0xDd1F245d2920C5E144417Ba2E59cF094BD615a91
Arg [2] : _maxSupply (uint256): 8000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000aaa7a35e442a77e37cde2f445b359aabf5ad0387
Arg [1] : 000000000000000000000000dd1f245d2920c5e144417ba2e59cf094bd615a91
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001f40


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.