ETH Price: $2,667.57 (+1.24%)

Token

SpaceFlightSimulator (SPACE)
 

Overview

Max Total Supply

252 SPACE

Holders

132

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SPACE
0x8c89758EB23623bbC0d7a681637f006894c60066
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:
SpaceFlightSimulator

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : SpaceFlightSimulator.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract SpaceFlightSimulator is ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    uint256 public MAX_TOKENS = 5555;

    using SafeMath for uint256;

    uint256 public constant price = 50000000000000000; // 0.05 ETH

    string public collectionBaseURI = 'https://spaceflightnft-hvorxsrj4q-uc.a.run.app/res/attribute/';
    bool public baseURILocked = false;

    address public devAddress;
    address public gameDevAddress;
    address public businessAddress;

    uint public constant maxSimulatorPurchase = 20;

    constructor(address _devAddress, address _gameDevAddress, address _businessAddress) ERC721("SpaceFlightSimulator", "SPACE") {
        devAddress = _devAddress;
        gameDevAddress = _gameDevAddress;
        businessAddress = _businessAddress;
    }

    function lockBaseURI() public onlyOwner {
        baseURILocked = true;
    }

    function setBaseURI(string memory newURI) public onlyOwner {
        require(baseURILocked == false, "baseURI is locked");
        collectionBaseURI = newURI;
    }

    function _baseURI() override internal view returns (string memory) {
        return collectionBaseURI;
    }

    function withdraw() public {
        uint balance = address(this).balance;

        uint256 devPayment = _calcProportion(20, balance);
        uint256 gameDevPayment = _calcProportion(40, balance);
        uint256 businessPayment = balance - devPayment - gameDevPayment;

        if (devPayment > 0) {
          payable(devAddress).transfer(devPayment);
        }
        if (gameDevPayment > 0) {
          payable(gameDevAddress).transfer(gameDevPayment);
        }
        if (businessPayment > 0) {
          payable(businessAddress).transfer(businessPayment);
        }
    }

    function reserveSimulators(uint numberOfTokens, address recipient) public onlyOwner {
        require(totalSupply().add(numberOfTokens) <= MAX_TOKENS, "Purchase would exceed max supply");

        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_TOKENS) {
                _safeMint(recipient, mintIndex);
            }
        }
    }

    function mintSimulators(uint numberOfTokens) public payable {
        require(numberOfTokens <= maxSimulatorPurchase, "Can only mint 20 tokens at a time");
        require(totalSupply().add(numberOfTokens) <= MAX_TOKENS, "Purchase would exceed max supply");
        require(price.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct");

        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_TOKENS) {
                _safeMint(msg.sender, mintIndex);
            }
        }
    }

    function _calcProportion(uint256 fee, uint256 _amount)
        internal pure returns (uint256)
    {
        return _amount.mul(fee).div(100);
    }
}

File 2 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 7 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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":"_devAddress","type":"address"},{"internalType":"address","name":"_gameDevAddress","type":"address"},{"internalType":"address","name":"_businessAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"baseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"businessAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameDevAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSimulatorPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintSimulators","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"reserveSimulators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526115b3600c556040518060600160405280603d81526020016200458b603d9139600d90805190602001906200003b929190620002e4565b506000600e60006101000a81548160ff0219169083151502179055503480156200006457600080fd5b50604051620045c8380380620045c883398181016040528101906200008a9190620003ab565b6040518060400160405280601481526020017f5370616365466c6967687453696d756c61746f720000000000000000000000008152506040518060400160405280600581526020017f535041434500000000000000000000000000000000000000000000000000000081525081600090805190602001906200010e929190620002e4565b50806001908051906020019062000127929190620002e4565b5050506200014a6200013e6200021660201b60201c565b6200021e60201b60201c565b82600e60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620004b4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002f29062000435565b90600052602060002090601f01602090048101928262000316576000855562000362565b82601f106200033157805160ff191683800117855562000362565b8280016001018555821562000362579182015b828111156200036157825182559160200191906001019062000344565b5b50905062000371919062000375565b5090565b5b808211156200039057600081600090555060010162000376565b5090565b600081519050620003a5816200049a565b92915050565b600080600060608486031215620003c157600080fd5b6000620003d18682870162000394565b9350506020620003e48682870162000394565b9250506040620003f78682870162000394565b9150509250925092565b60006200040e8262000415565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200044e57607f821691505b602082108114156200046557620004646200046b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620004a58162000401565b8114620004b157600080fd5b50565b6140c780620004c46000396000f3fe6080604052600436106101e35760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c5146106c3578063f2fde38b14610700578063f47c84c514610729578063ffbde45514610754576101e3565b8063a22cb46514610609578063b88d4fde14610632578063c87b56dd1461065b578063cd78d60b14610698576101e3565b80637ebc652e116100d15780637ebc652e1461056c5780638da5cb5b1461058857806395d89b41146105b3578063a035b1fe146105de576101e3565b80636352211e146104b05780636d0d93a5146104ed57806370a0823114610518578063715018a614610555576101e3565b80633865c8e11161017a5780634f6ccce7116101495780634f6ccce71461040857806353df5c7c1461044557806355f804b31461045c5780635d148e5c14610485576101e3565b80633865c8e1146103725780633ad10ef61461039d5780633ccfd60b146103c857806342842e0e146103df576101e3565b80631583deb2116101b65780631583deb2146102b657806318160ddd146102e157806323b872dd1461030c5780632f745c5914610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612ef8565b61077d565b60405161021c9190613905565b60405180910390f35b34801561023157600080fd5b5061023a6107f7565b6040516102479190613920565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612f8b565b610889565b604051610284919061389e565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612ebc565b61090e565b005b3480156102c257600080fd5b506102cb610a26565b6040516102d8919061389e565b60405180910390f35b3480156102ed57600080fd5b506102f6610a4c565b6040516103039190613c02565b60405180910390f35b34801561031857600080fd5b50610333600480360381019061032e9190612db6565b610a59565b005b34801561034157600080fd5b5061035c60048036038101906103579190612ebc565b610ab9565b6040516103699190613c02565b60405180910390f35b34801561037e57600080fd5b50610387610b5e565b6040516103949190613c02565b60405180910390f35b3480156103a957600080fd5b506103b2610b63565b6040516103bf919061389e565b60405180910390f35b3480156103d457600080fd5b506103dd610b89565b005b3480156103eb57600080fd5b5061040660048036038101906104019190612db6565b610d26565b005b34801561041457600080fd5b5061042f600480360381019061042a9190612f8b565b610d46565b60405161043c9190613c02565b60405180910390f35b34801561045157600080fd5b5061045a610ddd565b005b34801561046857600080fd5b50610483600480360381019061047e9190612f4a565b610e76565b005b34801561049157600080fd5b5061049a610f62565b6040516104a79190613905565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190612f8b565b610f75565b6040516104e4919061389e565b60405180910390f35b3480156104f957600080fd5b50610502611027565b60405161050f919061389e565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a9190612d51565b61104d565b60405161054c9190613c02565b60405180910390f35b34801561056157600080fd5b5061056a611105565b005b61058660048036038101906105819190612f8b565b61118d565b005b34801561059457600080fd5b5061059d6112d6565b6040516105aa919061389e565b60405180910390f35b3480156105bf57600080fd5b506105c8611300565b6040516105d59190613920565b60405180910390f35b3480156105ea57600080fd5b506105f3611392565b6040516106009190613c02565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190612e80565b61139d565b005b34801561063e57600080fd5b5061065960048036038101906106549190612e05565b61151e565b005b34801561066757600080fd5b50610682600480360381019061067d9190612f8b565b611580565b60405161068f9190613920565b60405180910390f35b3480156106a457600080fd5b506106ad611627565b6040516106ba9190613920565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190612d7a565b6116b5565b6040516106f79190613905565b60405180910390f35b34801561070c57600080fd5b5061072760048036038101906107229190612d51565b611749565b005b34801561073557600080fd5b5061073e611841565b60405161074b9190613c02565b60405180910390f35b34801561076057600080fd5b5061077b60048036038101906107769190612fb4565b611847565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f057506107ef8261196d565b5b9050919050565b60606000805461080690613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461083290613ebc565b801561087f5780601f106108545761010080835404028352916020019161087f565b820191906000526020600020905b81548152906001019060200180831161086257829003601f168201915b5050505050905090565b600061089482611a4f565b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90613b22565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091982610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190613ba2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a9611abb565b73ffffffffffffffffffffffffffffffffffffffff1614806109d857506109d7816109d2611abb565b6116b5565b5b610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e90613a62565b60405180910390fd5b610a218383611ac3565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b610a6a610a64611abb565b82611b7c565b610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa090613bc2565b60405180910390fd5b610ab4838383611c5a565b505050565b6000610ac48361104d565b8210610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc90613942565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601481565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60004790506000610b9b601483611eb6565b90506000610baa602884611eb6565b90506000818385610bbb9190613dd2565b610bc59190613dd2565b90506000831115610c3a57600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050158015610c38573d6000803e3d6000fd5b505b6000821115610cad57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610cab573d6000803e3d6000fd5b505b6000811115610d2057601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d1e573d6000803e3d6000fd5b505b50505050565b610d418383836040518060200160405280600081525061151e565b505050565b6000610d50610a4c565b8210610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8890613be2565b60405180910390fd5b60088281548110610dcb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610de5611abb565b73ffffffffffffffffffffffffffffffffffffffff16610e036112d6565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613b42565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b610e7e611abb565b73ffffffffffffffffffffffffffffffffffffffff16610e9c6112d6565b73ffffffffffffffffffffffffffffffffffffffff1614610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee990613b42565b60405180910390fd5b60001515600e60009054906101000a900460ff16151514610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90613ae2565b60405180910390fd5b80600d9080519060200190610f5e929190612b75565b5050565b600e60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590613aa2565b60405180910390fd5b80915050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b590613a82565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61110d611abb565b73ffffffffffffffffffffffffffffffffffffffff1661112b6112d6565b73ffffffffffffffffffffffffffffffffffffffff1614611181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117890613b42565b60405180910390fd5b61118b6000611ee6565b565b60148111156111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c890613a42565b60405180910390fd5b600c546111ee826111e0610a4c565b611fac90919063ffffffff16565b111561122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690613ac2565b60405180910390fd5b3461124a8266b1a2bc2ec50000611fc290919063ffffffff16565b111561128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290613a02565b60405180910390fd5b60005b818110156112d25760006112a0610a4c565b9050600c546112ad610a4c565b10156112be576112bd3382611fd8565b5b5080806112ca90613eee565b91505061128e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461130f90613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461133b90613ebc565b80156113885780601f1061135d57610100808354040283529160200191611388565b820191906000526020600020905b81548152906001019060200180831161136b57829003601f168201915b5050505050905090565b66b1a2bc2ec5000081565b6113a5611abb565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a906139e2565b60405180910390fd5b8060056000611420611abb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114cd611abb565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115129190613905565b60405180910390a35050565b61152f611529611abb565b83611b7c565b61156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590613bc2565b60405180910390fd5b61157a84848484611ff6565b50505050565b606061158b82611a4f565b6115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c190613b82565b60405180910390fd5b60006115d4612052565b905060008151116115f4576040518060200160405280600081525061161f565b806115fe846120e4565b60405160200161160f92919061387a565b6040516020818303038152906040525b915050919050565b600d805461163490613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461166090613ebc565b80156116ad5780601f10611682576101008083540402835291602001916116ad565b820191906000526020600020905b81548152906001019060200180831161169057829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611751611abb565b73ffffffffffffffffffffffffffffffffffffffff1661176f6112d6565b73ffffffffffffffffffffffffffffffffffffffff16146117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc90613b42565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613982565b60405180910390fd5b61183e81611ee6565b50565b600c5481565b61184f611abb565b73ffffffffffffffffffffffffffffffffffffffff1661186d6112d6565b73ffffffffffffffffffffffffffffffffffffffff16146118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90613b42565b60405180910390fd5b600c546118e0836118d2610a4c565b611fac90919063ffffffff16565b1115611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890613ac2565b60405180910390fd5b60005b82811015611968576000611936610a4c565b9050600c54611943610a4c565b1015611954576119538382611fd8565b5b50808061196090613eee565b915050611924565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a3857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a485750611a4782612291565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b3683610f75565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b8782611a4f565b611bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbd90613a22565b60405180910390fd5b6000611bd183610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c4057508373ffffffffffffffffffffffffffffffffffffffff16611c2884610889565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c515750611c5081856116b5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c7a82610f75565b73ffffffffffffffffffffffffffffffffffffffff1614611cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc790613b62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d37906139c2565b60405180910390fd5b611d4b8383836122fb565b611d56600082611ac3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611da69190613dd2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dfd9190613cf1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611ede6064611ed08585611fc290919063ffffffff16565b61240f90919063ffffffff16565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183611fba9190613cf1565b905092915050565b60008183611fd09190613d78565b905092915050565b611ff2828260405180602001604052806000815250612425565b5050565b612001848484611c5a565b61200d84848484612480565b61204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390613962565b60405180910390fd5b50505050565b6060600d805461206190613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461208d90613ebc565b80156120da5780601f106120af576101008083540402835291602001916120da565b820191906000526020600020905b8154815290600101906020018083116120bd57829003601f168201915b5050505050905090565b6060600082141561212c576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061228c565b600082905060005b6000821461215e57808061214790613eee565b915050600a826121579190613d47565b9150612134565b60008167ffffffffffffffff8111156121a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121d25781602001600182028036833780820191505090505b5090505b60008514612285576001826121eb9190613dd2565b9150600a856121fa9190613f37565b60306122069190613cf1565b60f81b818381518110612242577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561227e9190613d47565b94506121d6565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612306838383612617565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612349576123448161261c565b612388565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612387576123868382612665565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123cb576123c6816127d2565b61240a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612409576124088282612915565b5b5b505050565b6000818361241d9190613d47565b905092915050565b61242f8383612994565b61243c6000848484612480565b61247b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247290613962565b60405180910390fd5b505050565b60006124a18473ffffffffffffffffffffffffffffffffffffffff16612b62565b1561260a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124ca611abb565b8786866040518563ffffffff1660e01b81526004016124ec94939291906138b9565b602060405180830381600087803b15801561250657600080fd5b505af192505050801561253757506040513d601f19601f820116820180604052508101906125349190612f21565b60015b6125ba573d8060008114612567576040519150601f19603f3d011682016040523d82523d6000602084013e61256c565b606091505b506000815114156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990613962565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061260f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126728461104d565b61267c9190613dd2565b9050600060076000848152602001908152602001600020549050818114612761576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127e69190613dd2565b905060006009600084815260200190815260200160002054905060006008838154811061283c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612884577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006129208361104d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fb90613b02565b60405180910390fd5b612a0d81611a4f565b15612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a44906139a2565b60405180910390fd5b612a59600083836122fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aa99190613cf1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612b8190613ebc565b90600052602060002090601f016020900481019282612ba35760008555612bea565b82601f10612bbc57805160ff1916838001178555612bea565b82800160010185558215612bea579182015b82811115612be9578251825591602001919060010190612bce565b5b509050612bf79190612bfb565b5090565b5b80821115612c14576000816000905550600101612bfc565b5090565b6000612c2b612c2684613c4e565b613c1d565b905082815260208101848484011115612c4357600080fd5b612c4e848285613e7a565b509392505050565b6000612c69612c6484613c7e565b613c1d565b905082815260208101848484011115612c8157600080fd5b612c8c848285613e7a565b509392505050565b600081359050612ca381614035565b92915050565b600081359050612cb88161404c565b92915050565b600081359050612ccd81614063565b92915050565b600081519050612ce281614063565b92915050565b600082601f830112612cf957600080fd5b8135612d09848260208601612c18565b91505092915050565b600082601f830112612d2357600080fd5b8135612d33848260208601612c56565b91505092915050565b600081359050612d4b8161407a565b92915050565b600060208284031215612d6357600080fd5b6000612d7184828501612c94565b91505092915050565b60008060408385031215612d8d57600080fd5b6000612d9b85828601612c94565b9250506020612dac85828601612c94565b9150509250929050565b600080600060608486031215612dcb57600080fd5b6000612dd986828701612c94565b9350506020612dea86828701612c94565b9250506040612dfb86828701612d3c565b9150509250925092565b60008060008060808587031215612e1b57600080fd5b6000612e2987828801612c94565b9450506020612e3a87828801612c94565b9350506040612e4b87828801612d3c565b925050606085013567ffffffffffffffff811115612e6857600080fd5b612e7487828801612ce8565b91505092959194509250565b60008060408385031215612e9357600080fd5b6000612ea185828601612c94565b9250506020612eb285828601612ca9565b9150509250929050565b60008060408385031215612ecf57600080fd5b6000612edd85828601612c94565b9250506020612eee85828601612d3c565b9150509250929050565b600060208284031215612f0a57600080fd5b6000612f1884828501612cbe565b91505092915050565b600060208284031215612f3357600080fd5b6000612f4184828501612cd3565b91505092915050565b600060208284031215612f5c57600080fd5b600082013567ffffffffffffffff811115612f7657600080fd5b612f8284828501612d12565b91505092915050565b600060208284031215612f9d57600080fd5b6000612fab84828501612d3c565b91505092915050565b60008060408385031215612fc757600080fd5b6000612fd585828601612d3c565b9250506020612fe685828601612c94565b9150509250929050565b612ff981613e06565b82525050565b61300881613e18565b82525050565b600061301982613cae565b6130238185613cc4565b9350613033818560208601613e89565b61303c81614024565b840191505092915050565b600061305282613cb9565b61305c8185613cd5565b935061306c818560208601613e89565b61307581614024565b840191505092915050565b600061308b82613cb9565b6130958185613ce6565b93506130a5818560208601613e89565b80840191505092915050565b60006130be602b83613cd5565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613124603283613cd5565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061318a602683613cd5565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006131f0601c83613cd5565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613230602483613cd5565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613296601983613cd5565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006132d6601f83613cd5565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b6000613316602c83613cd5565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061337c602183613cd5565b91507f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d60008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133e2603883613cd5565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613448602a83613cd5565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006134ae602983613cd5565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613514602083613cd5565b91507f507572636861736520776f756c6420657863656564206d617820737570706c796000830152602082019050919050565b6000613554601183613cd5565b91507f62617365555249206973206c6f636b65640000000000000000000000000000006000830152602082019050919050565b6000613594602083613cd5565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006135d4602c83613cd5565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061363a602083613cd5565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061367a602983613cd5565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006136e0602f83613cd5565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613746602183613cd5565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137ac603183613cd5565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613812602c83613cd5565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b61387481613e70565b82525050565b60006138868285613080565b91506138928284613080565b91508190509392505050565b60006020820190506138b36000830184612ff0565b92915050565b60006080820190506138ce6000830187612ff0565b6138db6020830186612ff0565b6138e8604083018561386b565b81810360608301526138fa818461300e565b905095945050505050565b600060208201905061391a6000830184612fff565b92915050565b6000602082019050818103600083015261393a8184613047565b905092915050565b6000602082019050818103600083015261395b816130b1565b9050919050565b6000602082019050818103600083015261397b81613117565b9050919050565b6000602082019050818103600083015261399b8161317d565b9050919050565b600060208201905081810360008301526139bb816131e3565b9050919050565b600060208201905081810360008301526139db81613223565b9050919050565b600060208201905081810360008301526139fb81613289565b9050919050565b60006020820190508181036000830152613a1b816132c9565b9050919050565b60006020820190508181036000830152613a3b81613309565b9050919050565b60006020820190508181036000830152613a5b8161336f565b9050919050565b60006020820190508181036000830152613a7b816133d5565b9050919050565b60006020820190508181036000830152613a9b8161343b565b9050919050565b60006020820190508181036000830152613abb816134a1565b9050919050565b60006020820190508181036000830152613adb81613507565b9050919050565b60006020820190508181036000830152613afb81613547565b9050919050565b60006020820190508181036000830152613b1b81613587565b9050919050565b60006020820190508181036000830152613b3b816135c7565b9050919050565b60006020820190508181036000830152613b5b8161362d565b9050919050565b60006020820190508181036000830152613b7b8161366d565b9050919050565b60006020820190508181036000830152613b9b816136d3565b9050919050565b60006020820190508181036000830152613bbb81613739565b9050919050565b60006020820190508181036000830152613bdb8161379f565b9050919050565b60006020820190508181036000830152613bfb81613805565b9050919050565b6000602082019050613c17600083018461386b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613c4457613c43613ff5565b5b8060405250919050565b600067ffffffffffffffff821115613c6957613c68613ff5565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613c9957613c98613ff5565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cfc82613e70565b9150613d0783613e70565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d3c57613d3b613f68565b5b828201905092915050565b6000613d5282613e70565b9150613d5d83613e70565b925082613d6d57613d6c613f97565b5b828204905092915050565b6000613d8382613e70565b9150613d8e83613e70565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dc757613dc6613f68565b5b828202905092915050565b6000613ddd82613e70565b9150613de883613e70565b925082821015613dfb57613dfa613f68565b5b828203905092915050565b6000613e1182613e50565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ea7578082015181840152602081019050613e8c565b83811115613eb6576000848401525b50505050565b60006002820490506001821680613ed457607f821691505b60208210811415613ee857613ee7613fc6565b5b50919050565b6000613ef982613e70565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f2c57613f2b613f68565b5b600182019050919050565b6000613f4282613e70565b9150613f4d83613e70565b925082613f5d57613f5c613f97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61403e81613e06565b811461404957600080fd5b50565b61405581613e18565b811461406057600080fd5b50565b61406c81613e24565b811461407757600080fd5b50565b61408381613e70565b811461408e57600080fd5b5056fea26469706673582212208eb769c5488e0630307d2ad204fc9fc56b0109e6f5244b63c6209940fe283f4d64736f6c6343000800003368747470733a2f2f7370616365666c696768746e66742d68766f727873726a34712d75632e612e72756e2e6170702f7265732f6174747269627574652f000000000000000000000000bebf76d496a855964845706f12a9f75e9ae6423d000000000000000000000000013fb82ee85be23cfd7ad237b69b032152799091000000000000000000000000053d722d9ed18c5c413824b968e9838284f2f343

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c5146106c3578063f2fde38b14610700578063f47c84c514610729578063ffbde45514610754576101e3565b8063a22cb46514610609578063b88d4fde14610632578063c87b56dd1461065b578063cd78d60b14610698576101e3565b80637ebc652e116100d15780637ebc652e1461056c5780638da5cb5b1461058857806395d89b41146105b3578063a035b1fe146105de576101e3565b80636352211e146104b05780636d0d93a5146104ed57806370a0823114610518578063715018a614610555576101e3565b80633865c8e11161017a5780634f6ccce7116101495780634f6ccce71461040857806353df5c7c1461044557806355f804b31461045c5780635d148e5c14610485576101e3565b80633865c8e1146103725780633ad10ef61461039d5780633ccfd60b146103c857806342842e0e146103df576101e3565b80631583deb2116101b65780631583deb2146102b657806318160ddd146102e157806323b872dd1461030c5780632f745c5914610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612ef8565b61077d565b60405161021c9190613905565b60405180910390f35b34801561023157600080fd5b5061023a6107f7565b6040516102479190613920565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612f8b565b610889565b604051610284919061389e565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612ebc565b61090e565b005b3480156102c257600080fd5b506102cb610a26565b6040516102d8919061389e565b60405180910390f35b3480156102ed57600080fd5b506102f6610a4c565b6040516103039190613c02565b60405180910390f35b34801561031857600080fd5b50610333600480360381019061032e9190612db6565b610a59565b005b34801561034157600080fd5b5061035c60048036038101906103579190612ebc565b610ab9565b6040516103699190613c02565b60405180910390f35b34801561037e57600080fd5b50610387610b5e565b6040516103949190613c02565b60405180910390f35b3480156103a957600080fd5b506103b2610b63565b6040516103bf919061389e565b60405180910390f35b3480156103d457600080fd5b506103dd610b89565b005b3480156103eb57600080fd5b5061040660048036038101906104019190612db6565b610d26565b005b34801561041457600080fd5b5061042f600480360381019061042a9190612f8b565b610d46565b60405161043c9190613c02565b60405180910390f35b34801561045157600080fd5b5061045a610ddd565b005b34801561046857600080fd5b50610483600480360381019061047e9190612f4a565b610e76565b005b34801561049157600080fd5b5061049a610f62565b6040516104a79190613905565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190612f8b565b610f75565b6040516104e4919061389e565b60405180910390f35b3480156104f957600080fd5b50610502611027565b60405161050f919061389e565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a9190612d51565b61104d565b60405161054c9190613c02565b60405180910390f35b34801561056157600080fd5b5061056a611105565b005b61058660048036038101906105819190612f8b565b61118d565b005b34801561059457600080fd5b5061059d6112d6565b6040516105aa919061389e565b60405180910390f35b3480156105bf57600080fd5b506105c8611300565b6040516105d59190613920565b60405180910390f35b3480156105ea57600080fd5b506105f3611392565b6040516106009190613c02565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190612e80565b61139d565b005b34801561063e57600080fd5b5061065960048036038101906106549190612e05565b61151e565b005b34801561066757600080fd5b50610682600480360381019061067d9190612f8b565b611580565b60405161068f9190613920565b60405180910390f35b3480156106a457600080fd5b506106ad611627565b6040516106ba9190613920565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190612d7a565b6116b5565b6040516106f79190613905565b60405180910390f35b34801561070c57600080fd5b5061072760048036038101906107229190612d51565b611749565b005b34801561073557600080fd5b5061073e611841565b60405161074b9190613c02565b60405180910390f35b34801561076057600080fd5b5061077b60048036038101906107769190612fb4565b611847565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f057506107ef8261196d565b5b9050919050565b60606000805461080690613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461083290613ebc565b801561087f5780601f106108545761010080835404028352916020019161087f565b820191906000526020600020905b81548152906001019060200180831161086257829003601f168201915b5050505050905090565b600061089482611a4f565b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90613b22565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091982610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098190613ba2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a9611abb565b73ffffffffffffffffffffffffffffffffffffffff1614806109d857506109d7816109d2611abb565b6116b5565b5b610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e90613a62565b60405180910390fd5b610a218383611ac3565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b610a6a610a64611abb565b82611b7c565b610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa090613bc2565b60405180910390fd5b610ab4838383611c5a565b505050565b6000610ac48361104d565b8210610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc90613942565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601481565b600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60004790506000610b9b601483611eb6565b90506000610baa602884611eb6565b90506000818385610bbb9190613dd2565b610bc59190613dd2565b90506000831115610c3a57600e60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050158015610c38573d6000803e3d6000fd5b505b6000821115610cad57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610cab573d6000803e3d6000fd5b505b6000811115610d2057601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d1e573d6000803e3d6000fd5b505b50505050565b610d418383836040518060200160405280600081525061151e565b505050565b6000610d50610a4c565b8210610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8890613be2565b60405180910390fd5b60088281548110610dcb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610de5611abb565b73ffffffffffffffffffffffffffffffffffffffff16610e036112d6565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613b42565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b610e7e611abb565b73ffffffffffffffffffffffffffffffffffffffff16610e9c6112d6565b73ffffffffffffffffffffffffffffffffffffffff1614610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee990613b42565b60405180910390fd5b60001515600e60009054906101000a900460ff16151514610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90613ae2565b60405180910390fd5b80600d9080519060200190610f5e929190612b75565b5050565b600e60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590613aa2565b60405180910390fd5b80915050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b590613a82565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61110d611abb565b73ffffffffffffffffffffffffffffffffffffffff1661112b6112d6565b73ffffffffffffffffffffffffffffffffffffffff1614611181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117890613b42565b60405180910390fd5b61118b6000611ee6565b565b60148111156111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c890613a42565b60405180910390fd5b600c546111ee826111e0610a4c565b611fac90919063ffffffff16565b111561122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690613ac2565b60405180910390fd5b3461124a8266b1a2bc2ec50000611fc290919063ffffffff16565b111561128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128290613a02565b60405180910390fd5b60005b818110156112d25760006112a0610a4c565b9050600c546112ad610a4c565b10156112be576112bd3382611fd8565b5b5080806112ca90613eee565b91505061128e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461130f90613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461133b90613ebc565b80156113885780601f1061135d57610100808354040283529160200191611388565b820191906000526020600020905b81548152906001019060200180831161136b57829003601f168201915b5050505050905090565b66b1a2bc2ec5000081565b6113a5611abb565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a906139e2565b60405180910390fd5b8060056000611420611abb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114cd611abb565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115129190613905565b60405180910390a35050565b61152f611529611abb565b83611b7c565b61156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590613bc2565b60405180910390fd5b61157a84848484611ff6565b50505050565b606061158b82611a4f565b6115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c190613b82565b60405180910390fd5b60006115d4612052565b905060008151116115f4576040518060200160405280600081525061161f565b806115fe846120e4565b60405160200161160f92919061387a565b6040516020818303038152906040525b915050919050565b600d805461163490613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461166090613ebc565b80156116ad5780601f10611682576101008083540402835291602001916116ad565b820191906000526020600020905b81548152906001019060200180831161169057829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611751611abb565b73ffffffffffffffffffffffffffffffffffffffff1661176f6112d6565b73ffffffffffffffffffffffffffffffffffffffff16146117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc90613b42565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613982565b60405180910390fd5b61183e81611ee6565b50565b600c5481565b61184f611abb565b73ffffffffffffffffffffffffffffffffffffffff1661186d6112d6565b73ffffffffffffffffffffffffffffffffffffffff16146118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90613b42565b60405180910390fd5b600c546118e0836118d2610a4c565b611fac90919063ffffffff16565b1115611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890613ac2565b60405180910390fd5b60005b82811015611968576000611936610a4c565b9050600c54611943610a4c565b1015611954576119538382611fd8565b5b50808061196090613eee565b915050611924565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a3857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a485750611a4782612291565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b3683610f75565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b8782611a4f565b611bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbd90613a22565b60405180910390fd5b6000611bd183610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c4057508373ffffffffffffffffffffffffffffffffffffffff16611c2884610889565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c515750611c5081856116b5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c7a82610f75565b73ffffffffffffffffffffffffffffffffffffffff1614611cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc790613b62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d37906139c2565b60405180910390fd5b611d4b8383836122fb565b611d56600082611ac3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611da69190613dd2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dfd9190613cf1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611ede6064611ed08585611fc290919063ffffffff16565b61240f90919063ffffffff16565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183611fba9190613cf1565b905092915050565b60008183611fd09190613d78565b905092915050565b611ff2828260405180602001604052806000815250612425565b5050565b612001848484611c5a565b61200d84848484612480565b61204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390613962565b60405180910390fd5b50505050565b6060600d805461206190613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461208d90613ebc565b80156120da5780601f106120af576101008083540402835291602001916120da565b820191906000526020600020905b8154815290600101906020018083116120bd57829003601f168201915b5050505050905090565b6060600082141561212c576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061228c565b600082905060005b6000821461215e57808061214790613eee565b915050600a826121579190613d47565b9150612134565b60008167ffffffffffffffff8111156121a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121d25781602001600182028036833780820191505090505b5090505b60008514612285576001826121eb9190613dd2565b9150600a856121fa9190613f37565b60306122069190613cf1565b60f81b818381518110612242577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561227e9190613d47565b94506121d6565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612306838383612617565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612349576123448161261c565b612388565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612387576123868382612665565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123cb576123c6816127d2565b61240a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612409576124088282612915565b5b5b505050565b6000818361241d9190613d47565b905092915050565b61242f8383612994565b61243c6000848484612480565b61247b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247290613962565b60405180910390fd5b505050565b60006124a18473ffffffffffffffffffffffffffffffffffffffff16612b62565b1561260a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124ca611abb565b8786866040518563ffffffff1660e01b81526004016124ec94939291906138b9565b602060405180830381600087803b15801561250657600080fd5b505af192505050801561253757506040513d601f19601f820116820180604052508101906125349190612f21565b60015b6125ba573d8060008114612567576040519150601f19603f3d011682016040523d82523d6000602084013e61256c565b606091505b506000815114156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990613962565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061260f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126728461104d565b61267c9190613dd2565b9050600060076000848152602001908152602001600020549050818114612761576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127e69190613dd2565b905060006009600084815260200190815260200160002054905060006008838154811061283c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612884577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806128f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006129208361104d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fb90613b02565b60405180910390fd5b612a0d81611a4f565b15612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a44906139a2565b60405180910390fd5b612a59600083836122fb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aa99190613cf1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612b8190613ebc565b90600052602060002090601f016020900481019282612ba35760008555612bea565b82601f10612bbc57805160ff1916838001178555612bea565b82800160010185558215612bea579182015b82811115612be9578251825591602001919060010190612bce565b5b509050612bf79190612bfb565b5090565b5b80821115612c14576000816000905550600101612bfc565b5090565b6000612c2b612c2684613c4e565b613c1d565b905082815260208101848484011115612c4357600080fd5b612c4e848285613e7a565b509392505050565b6000612c69612c6484613c7e565b613c1d565b905082815260208101848484011115612c8157600080fd5b612c8c848285613e7a565b509392505050565b600081359050612ca381614035565b92915050565b600081359050612cb88161404c565b92915050565b600081359050612ccd81614063565b92915050565b600081519050612ce281614063565b92915050565b600082601f830112612cf957600080fd5b8135612d09848260208601612c18565b91505092915050565b600082601f830112612d2357600080fd5b8135612d33848260208601612c56565b91505092915050565b600081359050612d4b8161407a565b92915050565b600060208284031215612d6357600080fd5b6000612d7184828501612c94565b91505092915050565b60008060408385031215612d8d57600080fd5b6000612d9b85828601612c94565b9250506020612dac85828601612c94565b9150509250929050565b600080600060608486031215612dcb57600080fd5b6000612dd986828701612c94565b9350506020612dea86828701612c94565b9250506040612dfb86828701612d3c565b9150509250925092565b60008060008060808587031215612e1b57600080fd5b6000612e2987828801612c94565b9450506020612e3a87828801612c94565b9350506040612e4b87828801612d3c565b925050606085013567ffffffffffffffff811115612e6857600080fd5b612e7487828801612ce8565b91505092959194509250565b60008060408385031215612e9357600080fd5b6000612ea185828601612c94565b9250506020612eb285828601612ca9565b9150509250929050565b60008060408385031215612ecf57600080fd5b6000612edd85828601612c94565b9250506020612eee85828601612d3c565b9150509250929050565b600060208284031215612f0a57600080fd5b6000612f1884828501612cbe565b91505092915050565b600060208284031215612f3357600080fd5b6000612f4184828501612cd3565b91505092915050565b600060208284031215612f5c57600080fd5b600082013567ffffffffffffffff811115612f7657600080fd5b612f8284828501612d12565b91505092915050565b600060208284031215612f9d57600080fd5b6000612fab84828501612d3c565b91505092915050565b60008060408385031215612fc757600080fd5b6000612fd585828601612d3c565b9250506020612fe685828601612c94565b9150509250929050565b612ff981613e06565b82525050565b61300881613e18565b82525050565b600061301982613cae565b6130238185613cc4565b9350613033818560208601613e89565b61303c81614024565b840191505092915050565b600061305282613cb9565b61305c8185613cd5565b935061306c818560208601613e89565b61307581614024565b840191505092915050565b600061308b82613cb9565b6130958185613ce6565b93506130a5818560208601613e89565b80840191505092915050565b60006130be602b83613cd5565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613124603283613cd5565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061318a602683613cd5565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006131f0601c83613cd5565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613230602483613cd5565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613296601983613cd5565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006132d6601f83613cd5565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b6000613316602c83613cd5565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061337c602183613cd5565b91507f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d60008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133e2603883613cd5565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613448602a83613cd5565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006134ae602983613cd5565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613514602083613cd5565b91507f507572636861736520776f756c6420657863656564206d617820737570706c796000830152602082019050919050565b6000613554601183613cd5565b91507f62617365555249206973206c6f636b65640000000000000000000000000000006000830152602082019050919050565b6000613594602083613cd5565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006135d4602c83613cd5565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061363a602083613cd5565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061367a602983613cd5565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006136e0602f83613cd5565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613746602183613cd5565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137ac603183613cd5565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613812602c83613cd5565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b61387481613e70565b82525050565b60006138868285613080565b91506138928284613080565b91508190509392505050565b60006020820190506138b36000830184612ff0565b92915050565b60006080820190506138ce6000830187612ff0565b6138db6020830186612ff0565b6138e8604083018561386b565b81810360608301526138fa818461300e565b905095945050505050565b600060208201905061391a6000830184612fff565b92915050565b6000602082019050818103600083015261393a8184613047565b905092915050565b6000602082019050818103600083015261395b816130b1565b9050919050565b6000602082019050818103600083015261397b81613117565b9050919050565b6000602082019050818103600083015261399b8161317d565b9050919050565b600060208201905081810360008301526139bb816131e3565b9050919050565b600060208201905081810360008301526139db81613223565b9050919050565b600060208201905081810360008301526139fb81613289565b9050919050565b60006020820190508181036000830152613a1b816132c9565b9050919050565b60006020820190508181036000830152613a3b81613309565b9050919050565b60006020820190508181036000830152613a5b8161336f565b9050919050565b60006020820190508181036000830152613a7b816133d5565b9050919050565b60006020820190508181036000830152613a9b8161343b565b9050919050565b60006020820190508181036000830152613abb816134a1565b9050919050565b60006020820190508181036000830152613adb81613507565b9050919050565b60006020820190508181036000830152613afb81613547565b9050919050565b60006020820190508181036000830152613b1b81613587565b9050919050565b60006020820190508181036000830152613b3b816135c7565b9050919050565b60006020820190508181036000830152613b5b8161362d565b9050919050565b60006020820190508181036000830152613b7b8161366d565b9050919050565b60006020820190508181036000830152613b9b816136d3565b9050919050565b60006020820190508181036000830152613bbb81613739565b9050919050565b60006020820190508181036000830152613bdb8161379f565b9050919050565b60006020820190508181036000830152613bfb81613805565b9050919050565b6000602082019050613c17600083018461386b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613c4457613c43613ff5565b5b8060405250919050565b600067ffffffffffffffff821115613c6957613c68613ff5565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613c9957613c98613ff5565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cfc82613e70565b9150613d0783613e70565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d3c57613d3b613f68565b5b828201905092915050565b6000613d5282613e70565b9150613d5d83613e70565b925082613d6d57613d6c613f97565b5b828204905092915050565b6000613d8382613e70565b9150613d8e83613e70565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dc757613dc6613f68565b5b828202905092915050565b6000613ddd82613e70565b9150613de883613e70565b925082821015613dfb57613dfa613f68565b5b828203905092915050565b6000613e1182613e50565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ea7578082015181840152602081019050613e8c565b83811115613eb6576000848401525b50505050565b60006002820490506001821680613ed457607f821691505b60208210811415613ee857613ee7613fc6565b5b50919050565b6000613ef982613e70565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f2c57613f2b613f68565b5b600182019050919050565b6000613f4282613e70565b9150613f4d83613e70565b925082613f5d57613f5c613f97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61403e81613e06565b811461404957600080fd5b50565b61405581613e18565b811461406057600080fd5b50565b61406c81613e24565b811461407757600080fd5b50565b61408381613e70565b811461408e57600080fd5b5056fea26469706673582212208eb769c5488e0630307d2ad204fc9fc56b0109e6f5244b63c6209940fe283f4d64736f6c63430008000033

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

000000000000000000000000bebf76d496a855964845706f12a9f75e9ae6423d000000000000000000000000013fb82ee85be23cfd7ad237b69b032152799091000000000000000000000000053d722d9ed18c5c413824b968e9838284f2f343

-----Decoded View---------------
Arg [0] : _devAddress (address): 0xbebF76d496a855964845706f12A9f75e9Ae6423d
Arg [1] : _gameDevAddress (address): 0x013fb82eE85be23cfd7AD237B69b032152799091
Arg [2] : _businessAddress (address): 0x053d722D9ed18c5C413824b968e9838284F2f343

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000bebf76d496a855964845706f12a9f75e9ae6423d
Arg [1] : 000000000000000000000000013fb82ee85be23cfd7ad237b69b032152799091
Arg [2] : 000000000000000000000000053d722d9ed18c5c413824b968e9838284f2f343


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.