ETH Price: $3,246.50 (-2.43%)
 

Overview

Max Total Supply

14 TOTALITY

Holders

8

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TOTALITY
0x45450273adcbb224cf730fe07662bd4400640bbf
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:
Totality

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : totality.sol
pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts//utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

contract Totality is ERC721Enumerable, Ownable {
    using Strings for uint256;
    using ECDSA for bytes32;
    address private TREASURY_WALLET = 0x7772005Ad71b1BC6c1E25B3a82A400B0a8FC7680;
    address private _signerAddress = 0x49de30dC31D33D7da03d71b75132ef82251B1D2f;
    string private _tokenBaseURI =
        "https://api-totality-nft-placeholder.herokuapp.com/api/metadata/";

    constructor(
        string memory _name,
        string memory _symbol) ERC721(_name, _symbol) {}

    uint256 public constant PRIVATE = 200;
    uint256 public constant PUBLIC = 1919;
    uint256 public constant MAX_SUPPLY_LIMIT = PRIVATE + PUBLIC;
    uint256 public constant LAUNCH_PRICE = 0.1919 ether;
    uint256 public constant PRESALE_PRICE = 0.0919 ether;
    uint256 public constant LIMIT_PER_MINT = 5;

    uint256 public requested;
    uint256 public giftedAmountMinted;
    uint256 public publicAmountMinted;
    uint256 public privateAmountMinted;

    bool public presaleLive;
    bool public saleLive;

    function presaleBuy(bytes calldata signature, string calldata nonce, uint256 tokenQuantity) external payable {
        require(!saleLive && presaleLive, "PRESALE_CLOSED");
        require( privateAmountMinted + tokenQuantity <= PRIVATE, "EXCEED_PRIVATE");
        require( PRESALE_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");
        require(matchAddresSigner(hashTransaction(msg.sender, tokenQuantity, nonce), signature), "DIRECT_MINT_DISALLOWED");

        privateAmountMinted += tokenQuantity;
        for (uint256 i = 0; i < tokenQuantity; i++) {
            _safeMint(msg.sender, totalSupply() + 1);
        }
         
        payable(TREASURY_WALLET).transfer(msg.value);
    }

    function hashTransaction( address sender, uint256 qty, string memory nonce) private pure returns (bytes32) {
        bytes32 hash = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encodePacked(sender, qty, nonce))
            )
        );
        return hash;
    }

    function matchAddresSigner(bytes32 hash, bytes memory signature) private view returns (bool)
    {
        return _signerAddress == hash.recover(signature);
    }

    function buy(uint256 tokenQuantity) external payable {
      require(saleLive, "SALE_CLOSED");
      require(!presaleLive, "ONLY_PRESALE");
      require(totalSupply() < MAX_SUPPLY_LIMIT, "OUT_OF_STOCK");
      require(publicAmountMinted + tokenQuantity <= PUBLIC, "EXCEED_PUBLIC");
      require(tokenQuantity <= LIMIT_PER_MINT, "EXCEED_LIMIT_PER_MINT");
      require(LAUNCH_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");

      for (uint256 i = 0; i < tokenQuantity; i++) {
        publicAmountMinted++;
        _safeMint(msg.sender, totalSupply() + 1);
      }
        payable(TREASURY_WALLET).transfer(msg.value);
    }

    function togglePresaleStatus() external onlyOwner {
        presaleLive = !presaleLive;
    }

    function toggleSaleStatus() external onlyOwner {
        saleLive = !saleLive;
    }

    function setBaseURI(string calldata URI) external onlyOwner {
        _tokenBaseURI = URI;
    }
    function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
        require(_exists(tokenId), "Cannot query non-existent token");
        
        return string(abi.encodePacked(_tokenBaseURI, tokenId.toString()));
    }
}

File 2 of 14 : 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 14 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

File 4 of 14 : 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 5 of 14 : 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 6 of 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":"LAUNCH_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIMIT_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIVATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC","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":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftedAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"string","name":"nonce","type":"string"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"presaleBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requested","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":"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":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"URI","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":[],"name":"togglePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

6080604052737772005ad71b1bc6c1e25b3a82a400b0a8fc7680600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507349de30dc31d33d7da03d71b75132ef82251b1d2f600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060600160405280604081526020016200532f60409139600d9080519060200190620000df9291906200023f565b50348015620000ed57600080fd5b506040516200536f3803806200536f83398181016040528101906200011391906200036d565b818181600090805190602001906200012d9291906200023f565b508060019080519060200190620001469291906200023f565b505050620001696200015d6200017160201b60201c565b6200017960201b60201c565b505062000576565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024d9062000487565b90600052602060002090601f016020900481019282620002715760008555620002bd565b82601f106200028c57805160ff1916838001178555620002bd565b82800160010185558215620002bd579182015b82811115620002bc5782518255916020019190600101906200029f565b5b509050620002cc9190620002d0565b5090565b5b80821115620002eb576000816000905550600101620002d1565b5090565b60006200030662000300846200041b565b620003f2565b90508281526020810184848401111562000325576200032462000556565b5b6200033284828562000451565b509392505050565b600082601f83011262000352576200035162000551565b5b815162000364848260208601620002ef565b91505092915050565b6000806040838503121562000387576200038662000560565b5b600083015167ffffffffffffffff811115620003a857620003a76200055b565b5b620003b6858286016200033a565b925050602083015167ffffffffffffffff811115620003da57620003d96200055b565b5b620003e8858286016200033a565b9150509250929050565b6000620003fe62000411565b90506200040c8282620004bd565b919050565b6000604051905090565b600067ffffffffffffffff82111562000439576200043862000522565b5b620004448262000565565b9050602081019050919050565b60005b838110156200047157808201518184015260208101905062000454565b8381111562000481576000848401525b50505050565b60006002820490506001821680620004a057607f821691505b60208210811415620004b757620004b6620004f3565b5b50919050565b620004c88262000565565b810181811067ffffffffffffffff82111715620004ea57620004e962000522565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b614da980620005866000396000f3fe60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063d96a094a1161006f578063d96a094a14610770578063e081b7811461078c578063e582cf15146107b7578063e985e9c5146107e2578063f2fde38b1461081f5761020f565b8063b88d4fde146106c3578063c1179a7f146106ec578063c59e1c7814610717578063c87b56dd146107335761020f565b80638da5cb5b116100e75780638da5cb5b146105ee578063940f1ada1461061957806395d89b4114610644578063a22cb4651461066f578063a4a482cb146106985761020f565b8063715018a61461056a57806376e81263146105815780637bffb4ce146105ac57806383a9e049146105c35761020f565b806342842e0e1161019b57806359a12ad51161016a57806359a12ad51461046f578063617d11261461049a57806362dc6e21146104c55780636352211e146104f057806370a082311461052d5761020f565b806342842e0e146103b55780634f6ccce7146103de57806355072fef1461041b57806355f804b3146104465761020f565b8063095ea7b3116101e2578063095ea7b3146102d057806318160ddd146102f957806323b872dd146103245780632f745c591461034d5780633fae96511461038a5761020f565b806301ffc9a714610214578063049c5c491461025157806306fdde0314610268578063081812fc14610293575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906133b1565b610848565b6040516102489190613c16565b60405180910390f35b34801561025d57600080fd5b506102666108c2565b005b34801561027457600080fd5b5061027d61096a565b60405161028a9190613c76565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b591906134ed565b6109fc565b6040516102c79190613baf565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f29190613371565b610a81565b005b34801561030557600080fd5b5061030e610b99565b60405161031b9190614078565b60405180910390f35b34801561033057600080fd5b5061034b6004803603810190610346919061325b565b610ba6565b005b34801561035957600080fd5b50610374600480360381019061036f9190613371565b610c06565b6040516103819190614078565b60405180910390f35b34801561039657600080fd5b5061039f610cab565b6040516103ac9190614078565b60405180910390f35b3480156103c157600080fd5b506103dc60048036038101906103d7919061325b565b610cb1565b005b3480156103ea57600080fd5b50610405600480360381019061040091906134ed565b610cd1565b6040516104129190614078565b60405180910390f35b34801561042757600080fd5b50610430610d42565b60405161043d9190614078565b60405180910390f35b34801561045257600080fd5b5061046d600480360381019061046891906134a0565b610d47565b005b34801561047b57600080fd5b50610484610dd9565b6040516104919190614078565b60405180910390f35b3480156104a657600080fd5b506104af610ddf565b6040516104bc9190614078565b60405180910390f35b3480156104d157600080fd5b506104da610df1565b6040516104e79190614078565b60405180910390f35b3480156104fc57600080fd5b50610517600480360381019061051291906134ed565b610dfd565b6040516105249190613baf565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f91906131ee565b610eaf565b6040516105619190614078565b60405180910390f35b34801561057657600080fd5b5061057f610f67565b005b34801561058d57600080fd5b50610596610fef565b6040516105a39190614078565b60405180910390f35b3480156105b857600080fd5b506105c1610ff4565b005b3480156105cf57600080fd5b506105d861109c565b6040516105e59190613c16565b60405180910390f35b3480156105fa57600080fd5b506106036110af565b6040516106109190613baf565b60405180910390f35b34801561062557600080fd5b5061062e6110d9565b60405161063b9190614078565b60405180910390f35b34801561065057600080fd5b506106596110df565b6040516106669190613c76565b60405180910390f35b34801561067b57600080fd5b5061069660048036038101906106919190613331565b611171565b005b3480156106a457600080fd5b506106ad6112f2565b6040516106ba9190614078565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e591906132ae565b6112fe565b005b3480156106f857600080fd5b50610701611360565b60405161070e9190614078565b60405180910390f35b610731600480360381019061072c919061340b565b611366565b005b34801561073f57600080fd5b5061075a600480360381019061075591906134ed565b611615565b6040516107679190613c76565b60405180910390f35b61078a600480360381019061078591906134ed565b611691565b005b34801561079857600080fd5b506107a1611933565b6040516107ae9190613c16565b60405180910390f35b3480156107c357600080fd5b506107cc611946565b6040516107d99190614078565b60405180910390f35b3480156107ee57600080fd5b506108096004803603810190610804919061321b565b61194c565b6040516108169190613c16565b60405180910390f35b34801561082b57600080fd5b50610846600480360381019061084191906131ee565b6119e0565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108bb57506108ba82611ad8565b5b9050919050565b6108ca611bba565b73ffffffffffffffffffffffffffffffffffffffff166108e86110af565b73ffffffffffffffffffffffffffffffffffffffff161461093e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093590613f38565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b60606000805461097990614323565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590614323565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b5050505050905090565b6000610a0782611bc2565b610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d90613f18565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8c82610dfd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af490613fb8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1c611bba565b73ffffffffffffffffffffffffffffffffffffffff161480610b4b5750610b4a81610b45611bba565b61194c565b5b610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190613e78565b60405180910390fd5b610b948383611c2e565b505050565b6000600880549050905090565b610bb7610bb1611bba565b82611ce7565b610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613ff8565b60405180910390fd5b610c01838383611dc5565b505050565b6000610c1183610eaf565b8210610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990613d18565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e5481565b610ccc838383604051806020016040528060008152506112fe565b505050565b6000610cdb610b99565b8210610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1390614018565b60405180910390fd5b60088281548110610d3057610d2f614523565b5b90600052602060002001549050919050565b60c881565b610d4f611bba565b73ffffffffffffffffffffffffffffffffffffffff16610d6d6110af565b73ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90613f38565b60405180910390fd5b8181600d9190610dd4929190612fc6565b505050565b60115481565b61077f60c8610dee9190614141565b81565b6701467e9026dbc00081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90613eb8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790613e98565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f6f611bba565b73ffffffffffffffffffffffffffffffffffffffff16610f8d6110af565b73ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90613f38565b60405180910390fd5b610fed6000612021565b565b600581565b610ffc611bba565b73ffffffffffffffffffffffffffffffffffffffff1661101a6110af565b73ffffffffffffffffffffffffffffffffffffffff1614611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106790613f38565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b601260009054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b6060600180546110ee90614323565b80601f016020809104026020016040519081016040528092919081815260200182805461111a90614323565b80156111675780601f1061113c57610100808354040283529160200191611167565b820191906000526020600020905b81548152906001019060200180831161114a57829003601f168201915b5050505050905090565b611179611bba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de90613db8565b60405180910390fd5b80600560006111f4611bba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112a1611bba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112e69190613c16565b60405180910390a35050565b6702a9c4088465c00081565b61130f611309611bba565b83611ce7565b61134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590613ff8565b60405180910390fd5b61135a848484846120e7565b50505050565b61077f81565b601260019054906101000a900460ff1615801561138f5750601260009054906101000a900460ff165b6113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c590613cb8565b60405180910390fd5b60c8816011546113de9190614141565b111561141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690614038565b60405180910390fd5b34816701467e9026dbc00061143491906141c8565b1115611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c90614058565b60405180910390fd5b6115116114c7338386868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612143565b86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506121a4565b611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613cd8565b60405180910390fd5b80601160008282546115629190614141565b9250508190555060005b818110156115a457611591336001611582610b99565b61158c9190614141565b612211565b808061159c90614386565b91505061156c565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561160d573d6000803e3d6000fd5b505050505050565b606061162082611bc2565b61165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690613f98565b60405180910390fd5b600d61166a8361222f565b60405160200161167b929190613b65565b6040516020818303038152906040529050919050565b601260019054906101000a900460ff166116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790613e18565b60405180910390fd5b601260009054906101000a900460ff1615611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790613e58565b60405180910390fd5b61077f60c861173f9190614141565b611747610b99565b10611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90613dd8565b60405180910390fd5b61077f816010546117989190614141565b11156117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090613fd8565b60405180910390fd5b600581111561181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490613f78565b60405180910390fd5b34816702a9c4088465c00061183291906141c8565b1115611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a90614058565b60405180910390fd5b60005b818110156118c6576010600081548092919061189190614386565b91905055506118b33360016118a4610b99565b6118ae9190614141565b612211565b80806118be90614386565b915050611876565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561192f573d6000803e3d6000fd5b5050565b601260019054906101000a900460ff1681565b600f5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119e8611bba565b73ffffffffffffffffffffffffffffffffffffffff16611a066110af565b73ffffffffffffffffffffffffffffffffffffffff1614611a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5390613f38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390613d58565b60405180910390fd5b611ad581612021565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ba357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bb35750611bb282612390565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ca183610dfd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611cf282611bc2565b611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2890613e38565b60405180910390fd5b6000611d3c83610dfd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611dab57508373ffffffffffffffffffffffffffffffffffffffff16611d93846109fc565b73ffffffffffffffffffffffffffffffffffffffff16145b80611dbc5750611dbb818561194c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611de582610dfd565b73ffffffffffffffffffffffffffffffffffffffff1614611e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3290613f58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290613d98565b60405180910390fd5b611eb68383836123fa565b611ec1600082611c2e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f119190614222565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f689190614141565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120f2848484611dc5565b6120fe8484848461250e565b61213d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213490613d38565b60405180910390fd5b50505050565b60008084848460405160200161215b93929190613b2c565b604051602081830303815290604052805190602001206040516020016121819190613b89565b604051602081830303815290604052805190602001209050809150509392505050565b60006121b982846126a590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b61222b8282604051806020016040528060008152506126cc565b5050565b60606000821415612277576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061238b565b600082905060005b600082146122a957808061229290614386565b915050600a826122a29190614197565b915061227f565b60008167ffffffffffffffff8111156122c5576122c4614552565b5b6040519080825280601f01601f1916602001820160405280156122f75781602001600182028036833780820191505090505b5090505b60008514612384576001826123109190614222565b9150600a8561231f9190614407565b603061232b9190614141565b60f81b81838151811061234157612340614523565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561237d9190614197565b94506122fb565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612405838383612727565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612448576124438161272c565b612487565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612486576124858382612775565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124ca576124c5816128e2565b612509565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125085761250782826129b3565b5b5b505050565b600061252f8473ffffffffffffffffffffffffffffffffffffffff16612a32565b15612698578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612558611bba565b8786866040518563ffffffff1660e01b815260040161257a9493929190613bca565b602060405180830381600087803b15801561259457600080fd5b505af19250505080156125c557506040513d601f19601f820116820180604052508101906125c291906133de565b60015b612648573d80600081146125f5576040519150601f19603f3d011682016040523d82523d6000602084013e6125fa565b606091505b50600081511415612640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263790613d38565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061269d565b600190505b949350505050565b60008060006126b48585612a45565b915091506126c181612ac8565b819250505092915050565b6126d68383612c9d565b6126e3600084848461250e565b612722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271990613d38565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161278284610eaf565b61278c9190614222565b9050600060076000848152602001908152602001600020549050818114612871576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128f69190614222565b905060006009600084815260200190815260200160002054905060006008838154811061292657612925614523565b5b90600052602060002001549050806008838154811061294857612947614523565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612997576129966144f4565b5b6001900381819060005260206000200160009055905550505050565b60006129be83610eaf565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600080604183511415612a875760008060006020860151925060408601519150606086015160001a9050612a7b87828585612e6b565b94509450505050612ac1565b604083511415612ab8576000806020850151915060408501519050612aad868383612f78565b935093505050612ac1565b60006002915091505b9250929050565b60006004811115612adc57612adb614496565b5b816004811115612aef57612aee614496565b5b1415612afa57612c9a565b60016004811115612b0e57612b0d614496565b5b816004811115612b2157612b20614496565b5b1415612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990613c98565b60405180910390fd5b60026004811115612b7657612b75614496565b5b816004811115612b8957612b88614496565b5b1415612bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc190613cf8565b60405180910390fd5b60036004811115612bde57612bdd614496565b5b816004811115612bf157612bf0614496565b5b1415612c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2990613df8565b60405180910390fd5b600480811115612c4557612c44614496565b5b816004811115612c5857612c57614496565b5b1415612c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9090613ed8565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0490613ef8565b60405180910390fd5b612d1681611bc2565b15612d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4d90613d78565b60405180910390fd5b612d62600083836123fa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db29190614141565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612ea6576000600391509150612f6f565b601b8560ff1614158015612ebe5750601c8560ff1614155b15612ed0576000600491509150612f6f565b600060018787878760405160008152602001604052604051612ef59493929190613c31565b6020604051602081039080840390855afa158015612f17573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f6657600060019250925050612f6f565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612fb887828885612e6b565b935093505050935093915050565b828054612fd290614323565b90600052602060002090601f016020900481019282612ff4576000855561303b565b82601f1061300d57803560ff191683800117855561303b565b8280016001018555821561303b579182015b8281111561303a57823582559160200191906001019061301f565b5b509050613048919061304c565b5090565b5b8082111561306557600081600090555060010161304d565b5090565b600061307c613077846140b8565b614093565b90508281526020810184848401111561309857613097614590565b5b6130a38482856142e1565b509392505050565b6000813590506130ba81614d17565b92915050565b6000813590506130cf81614d2e565b92915050565b6000813590506130e481614d45565b92915050565b6000815190506130f981614d45565b92915050565b60008083601f84011261311557613114614586565b5b8235905067ffffffffffffffff81111561313257613131614581565b5b60208301915083600182028301111561314e5761314d61458b565b5b9250929050565b600082601f83011261316a57613169614586565b5b813561317a848260208601613069565b91505092915050565b60008083601f84011261319957613198614586565b5b8235905067ffffffffffffffff8111156131b6576131b5614581565b5b6020830191508360018202830111156131d2576131d161458b565b5b9250929050565b6000813590506131e881614d5c565b92915050565b6000602082840312156132045761320361459a565b5b6000613212848285016130ab565b91505092915050565b600080604083850312156132325761323161459a565b5b6000613240858286016130ab565b9250506020613251858286016130ab565b9150509250929050565b6000806000606084860312156132745761327361459a565b5b6000613282868287016130ab565b9350506020613293868287016130ab565b92505060406132a4868287016131d9565b9150509250925092565b600080600080608085870312156132c8576132c761459a565b5b60006132d6878288016130ab565b94505060206132e7878288016130ab565b93505060406132f8878288016131d9565b925050606085013567ffffffffffffffff81111561331957613318614595565b5b61332587828801613155565b91505092959194509250565b600080604083850312156133485761334761459a565b5b6000613356858286016130ab565b9250506020613367858286016130c0565b9150509250929050565b600080604083850312156133885761338761459a565b5b6000613396858286016130ab565b92505060206133a7858286016131d9565b9150509250929050565b6000602082840312156133c7576133c661459a565b5b60006133d5848285016130d5565b91505092915050565b6000602082840312156133f4576133f361459a565b5b6000613402848285016130ea565b91505092915050565b6000806000806000606086880312156134275761342661459a565b5b600086013567ffffffffffffffff81111561344557613444614595565b5b613451888289016130ff565b9550955050602086013567ffffffffffffffff81111561347457613473614595565b5b61348088828901613183565b93509350506040613493888289016131d9565b9150509295509295909350565b600080602083850312156134b7576134b661459a565b5b600083013567ffffffffffffffff8111156134d5576134d4614595565b5b6134e185828601613183565b92509250509250929050565b6000602082840312156135035761350261459a565b5b6000613511848285016131d9565b91505092915050565b61352381614256565b82525050565b61353a61353582614256565b6143cf565b82525050565b61354981614268565b82525050565b61355881614274565b82525050565b61356f61356a82614274565b6143e1565b82525050565b6000613580826140fe565b61358a8185614114565b935061359a8185602086016142f0565b6135a38161459f565b840191505092915050565b60006135b982614109565b6135c38185614125565b93506135d38185602086016142f0565b6135dc8161459f565b840191505092915050565b60006135f282614109565b6135fc8185614136565b935061360c8185602086016142f0565b80840191505092915050565b6000815461362581614323565b61362f8186614136565b9450600182166000811461364a576001811461365b5761368e565b60ff1983168652818601935061368e565b613664856140e9565b60005b8381101561368657815481890152600182019150602081019050613667565b838801955050505b50505092915050565b60006136a4601883614125565b91506136af826145bd565b602082019050919050565b60006136c7600e83614125565b91506136d2826145e6565b602082019050919050565b60006136ea601683614125565b91506136f58261460f565b602082019050919050565b600061370d601f83614125565b915061371882614638565b602082019050919050565b6000613730601c83614136565b915061373b82614661565b601c82019050919050565b6000613753602b83614125565b915061375e8261468a565b604082019050919050565b6000613776603283614125565b9150613781826146d9565b604082019050919050565b6000613799602683614125565b91506137a482614728565b604082019050919050565b60006137bc601c83614125565b91506137c782614777565b602082019050919050565b60006137df602483614125565b91506137ea826147a0565b604082019050919050565b6000613802601983614125565b915061380d826147ef565b602082019050919050565b6000613825600c83614125565b915061383082614818565b602082019050919050565b6000613848602283614125565b915061385382614841565b604082019050919050565b600061386b600b83614125565b915061387682614890565b602082019050919050565b600061388e602c83614125565b9150613899826148b9565b604082019050919050565b60006138b1600c83614125565b91506138bc82614908565b602082019050919050565b60006138d4603883614125565b91506138df82614931565b604082019050919050565b60006138f7602a83614125565b915061390282614980565b604082019050919050565b600061391a602983614125565b9150613925826149cf565b604082019050919050565b600061393d602283614125565b915061394882614a1e565b604082019050919050565b6000613960602083614125565b915061396b82614a6d565b602082019050919050565b6000613983602c83614125565b915061398e82614a96565b604082019050919050565b60006139a6602083614125565b91506139b182614ae5565b602082019050919050565b60006139c9602983614125565b91506139d482614b0e565b604082019050919050565b60006139ec601583614125565b91506139f782614b5d565b602082019050919050565b6000613a0f601f83614125565b9150613a1a82614b86565b602082019050919050565b6000613a32602183614125565b9150613a3d82614baf565b604082019050919050565b6000613a55600d83614125565b9150613a6082614bfe565b602082019050919050565b6000613a78603183614125565b9150613a8382614c27565b604082019050919050565b6000613a9b602c83614125565b9150613aa682614c76565b604082019050919050565b6000613abe600e83614125565b9150613ac982614cc5565b602082019050919050565b6000613ae1601083614125565b9150613aec82614cee565b602082019050919050565b613b00816142ca565b82525050565b613b17613b12826142ca565b6143fd565b82525050565b613b26816142d4565b82525050565b6000613b388286613529565b601482019150613b488285613b06565b602082019150613b5882846135e7565b9150819050949350505050565b6000613b718285613618565b9150613b7d82846135e7565b91508190509392505050565b6000613b9482613723565b9150613ba0828461355e565b60208201915081905092915050565b6000602082019050613bc4600083018461351a565b92915050565b6000608082019050613bdf600083018761351a565b613bec602083018661351a565b613bf96040830185613af7565b8181036060830152613c0b8184613575565b905095945050505050565b6000602082019050613c2b6000830184613540565b92915050565b6000608082019050613c46600083018761354f565b613c536020830186613b1d565b613c60604083018561354f565b613c6d606083018461354f565b95945050505050565b60006020820190508181036000830152613c9081846135ae565b905092915050565b60006020820190508181036000830152613cb181613697565b9050919050565b60006020820190508181036000830152613cd1816136ba565b9050919050565b60006020820190508181036000830152613cf1816136dd565b9050919050565b60006020820190508181036000830152613d1181613700565b9050919050565b60006020820190508181036000830152613d3181613746565b9050919050565b60006020820190508181036000830152613d5181613769565b9050919050565b60006020820190508181036000830152613d718161378c565b9050919050565b60006020820190508181036000830152613d91816137af565b9050919050565b60006020820190508181036000830152613db1816137d2565b9050919050565b60006020820190508181036000830152613dd1816137f5565b9050919050565b60006020820190508181036000830152613df181613818565b9050919050565b60006020820190508181036000830152613e118161383b565b9050919050565b60006020820190508181036000830152613e318161385e565b9050919050565b60006020820190508181036000830152613e5181613881565b9050919050565b60006020820190508181036000830152613e71816138a4565b9050919050565b60006020820190508181036000830152613e91816138c7565b9050919050565b60006020820190508181036000830152613eb1816138ea565b9050919050565b60006020820190508181036000830152613ed18161390d565b9050919050565b60006020820190508181036000830152613ef181613930565b9050919050565b60006020820190508181036000830152613f1181613953565b9050919050565b60006020820190508181036000830152613f3181613976565b9050919050565b60006020820190508181036000830152613f5181613999565b9050919050565b60006020820190508181036000830152613f71816139bc565b9050919050565b60006020820190508181036000830152613f91816139df565b9050919050565b60006020820190508181036000830152613fb181613a02565b9050919050565b60006020820190508181036000830152613fd181613a25565b9050919050565b60006020820190508181036000830152613ff181613a48565b9050919050565b6000602082019050818103600083015261401181613a6b565b9050919050565b6000602082019050818103600083015261403181613a8e565b9050919050565b6000602082019050818103600083015261405181613ab1565b9050919050565b6000602082019050818103600083015261407181613ad4565b9050919050565b600060208201905061408d6000830184613af7565b92915050565b600061409d6140ae565b90506140a98282614355565b919050565b6000604051905090565b600067ffffffffffffffff8211156140d3576140d2614552565b5b6140dc8261459f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061414c826142ca565b9150614157836142ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561418c5761418b614438565b5b828201905092915050565b60006141a2826142ca565b91506141ad836142ca565b9250826141bd576141bc614467565b5b828204905092915050565b60006141d3826142ca565b91506141de836142ca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561421757614216614438565b5b828202905092915050565b600061422d826142ca565b9150614238836142ca565b92508282101561424b5761424a614438565b5b828203905092915050565b6000614261826142aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561430e5780820151818401526020810190506142f3565b8381111561431d576000848401525b50505050565b6000600282049050600182168061433b57607f821691505b6020821081141561434f5761434e6144c5565b5b50919050565b61435e8261459f565b810181811067ffffffffffffffff8211171561437d5761437c614552565b5b80604052505050565b6000614391826142ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143c4576143c3614438565b5b600182019050919050565b60006143da826143eb565b9050919050565b6000819050919050565b60006143f6826145b0565b9050919050565b6000819050919050565b6000614412826142ca565b915061441d836142ca565b92508261442d5761442c614467565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f50524553414c455f434c4f534544000000000000000000000000000000000000600082015250565b7f4449524543545f4d494e545f444953414c4c4f57454400000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4f55545f4f465f53544f434b0000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f53414c455f434c4f534544000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f4e4c595f50524553414c450000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4558434545445f4c494d49545f5045525f4d494e540000000000000000000000600082015250565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4558434545445f5055424c494300000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4558434545445f50524956415445000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f45544800000000000000000000000000000000600082015250565b614d2081614256565b8114614d2b57600080fd5b50565b614d3781614268565b8114614d4257600080fd5b50565b614d4e8161427e565b8114614d5957600080fd5b50565b614d65816142ca565b8114614d7057600080fd5b5056fea26469706673582212201e641760c688ee4182427e9d4a901b553f909f54321f6b660ed445320949980e64736f6c6343000807003368747470733a2f2f6170692d746f74616c6974792d6e66742d706c616365686f6c6465722e6865726f6b756170702e636f6d2f6170692f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f546f74616c6974792062792052656900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008544f54414c495459000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063d96a094a1161006f578063d96a094a14610770578063e081b7811461078c578063e582cf15146107b7578063e985e9c5146107e2578063f2fde38b1461081f5761020f565b8063b88d4fde146106c3578063c1179a7f146106ec578063c59e1c7814610717578063c87b56dd146107335761020f565b80638da5cb5b116100e75780638da5cb5b146105ee578063940f1ada1461061957806395d89b4114610644578063a22cb4651461066f578063a4a482cb146106985761020f565b8063715018a61461056a57806376e81263146105815780637bffb4ce146105ac57806383a9e049146105c35761020f565b806342842e0e1161019b57806359a12ad51161016a57806359a12ad51461046f578063617d11261461049a57806362dc6e21146104c55780636352211e146104f057806370a082311461052d5761020f565b806342842e0e146103b55780634f6ccce7146103de57806355072fef1461041b57806355f804b3146104465761020f565b8063095ea7b3116101e2578063095ea7b3146102d057806318160ddd146102f957806323b872dd146103245780632f745c591461034d5780633fae96511461038a5761020f565b806301ffc9a714610214578063049c5c491461025157806306fdde0314610268578063081812fc14610293575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906133b1565b610848565b6040516102489190613c16565b60405180910390f35b34801561025d57600080fd5b506102666108c2565b005b34801561027457600080fd5b5061027d61096a565b60405161028a9190613c76565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b591906134ed565b6109fc565b6040516102c79190613baf565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f29190613371565b610a81565b005b34801561030557600080fd5b5061030e610b99565b60405161031b9190614078565b60405180910390f35b34801561033057600080fd5b5061034b6004803603810190610346919061325b565b610ba6565b005b34801561035957600080fd5b50610374600480360381019061036f9190613371565b610c06565b6040516103819190614078565b60405180910390f35b34801561039657600080fd5b5061039f610cab565b6040516103ac9190614078565b60405180910390f35b3480156103c157600080fd5b506103dc60048036038101906103d7919061325b565b610cb1565b005b3480156103ea57600080fd5b50610405600480360381019061040091906134ed565b610cd1565b6040516104129190614078565b60405180910390f35b34801561042757600080fd5b50610430610d42565b60405161043d9190614078565b60405180910390f35b34801561045257600080fd5b5061046d600480360381019061046891906134a0565b610d47565b005b34801561047b57600080fd5b50610484610dd9565b6040516104919190614078565b60405180910390f35b3480156104a657600080fd5b506104af610ddf565b6040516104bc9190614078565b60405180910390f35b3480156104d157600080fd5b506104da610df1565b6040516104e79190614078565b60405180910390f35b3480156104fc57600080fd5b50610517600480360381019061051291906134ed565b610dfd565b6040516105249190613baf565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f91906131ee565b610eaf565b6040516105619190614078565b60405180910390f35b34801561057657600080fd5b5061057f610f67565b005b34801561058d57600080fd5b50610596610fef565b6040516105a39190614078565b60405180910390f35b3480156105b857600080fd5b506105c1610ff4565b005b3480156105cf57600080fd5b506105d861109c565b6040516105e59190613c16565b60405180910390f35b3480156105fa57600080fd5b506106036110af565b6040516106109190613baf565b60405180910390f35b34801561062557600080fd5b5061062e6110d9565b60405161063b9190614078565b60405180910390f35b34801561065057600080fd5b506106596110df565b6040516106669190613c76565b60405180910390f35b34801561067b57600080fd5b5061069660048036038101906106919190613331565b611171565b005b3480156106a457600080fd5b506106ad6112f2565b6040516106ba9190614078565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e591906132ae565b6112fe565b005b3480156106f857600080fd5b50610701611360565b60405161070e9190614078565b60405180910390f35b610731600480360381019061072c919061340b565b611366565b005b34801561073f57600080fd5b5061075a600480360381019061075591906134ed565b611615565b6040516107679190613c76565b60405180910390f35b61078a600480360381019061078591906134ed565b611691565b005b34801561079857600080fd5b506107a1611933565b6040516107ae9190613c16565b60405180910390f35b3480156107c357600080fd5b506107cc611946565b6040516107d99190614078565b60405180910390f35b3480156107ee57600080fd5b506108096004803603810190610804919061321b565b61194c565b6040516108169190613c16565b60405180910390f35b34801561082b57600080fd5b50610846600480360381019061084191906131ee565b6119e0565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108bb57506108ba82611ad8565b5b9050919050565b6108ca611bba565b73ffffffffffffffffffffffffffffffffffffffff166108e86110af565b73ffffffffffffffffffffffffffffffffffffffff161461093e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093590613f38565b60405180910390fd5b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b60606000805461097990614323565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590614323565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b5050505050905090565b6000610a0782611bc2565b610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d90613f18565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8c82610dfd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af490613fb8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1c611bba565b73ffffffffffffffffffffffffffffffffffffffff161480610b4b5750610b4a81610b45611bba565b61194c565b5b610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190613e78565b60405180910390fd5b610b948383611c2e565b505050565b6000600880549050905090565b610bb7610bb1611bba565b82611ce7565b610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613ff8565b60405180910390fd5b610c01838383611dc5565b505050565b6000610c1183610eaf565b8210610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990613d18565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e5481565b610ccc838383604051806020016040528060008152506112fe565b505050565b6000610cdb610b99565b8210610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1390614018565b60405180910390fd5b60088281548110610d3057610d2f614523565b5b90600052602060002001549050919050565b60c881565b610d4f611bba565b73ffffffffffffffffffffffffffffffffffffffff16610d6d6110af565b73ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba90613f38565b60405180910390fd5b8181600d9190610dd4929190612fc6565b505050565b60115481565b61077f60c8610dee9190614141565b81565b6701467e9026dbc00081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90613eb8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790613e98565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f6f611bba565b73ffffffffffffffffffffffffffffffffffffffff16610f8d6110af565b73ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90613f38565b60405180910390fd5b610fed6000612021565b565b600581565b610ffc611bba565b73ffffffffffffffffffffffffffffffffffffffff1661101a6110af565b73ffffffffffffffffffffffffffffffffffffffff1614611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106790613f38565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b601260009054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b6060600180546110ee90614323565b80601f016020809104026020016040519081016040528092919081815260200182805461111a90614323565b80156111675780601f1061113c57610100808354040283529160200191611167565b820191906000526020600020905b81548152906001019060200180831161114a57829003601f168201915b5050505050905090565b611179611bba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de90613db8565b60405180910390fd5b80600560006111f4611bba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112a1611bba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112e69190613c16565b60405180910390a35050565b6702a9c4088465c00081565b61130f611309611bba565b83611ce7565b61134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590613ff8565b60405180910390fd5b61135a848484846120e7565b50505050565b61077f81565b601260019054906101000a900460ff1615801561138f5750601260009054906101000a900460ff165b6113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c590613cb8565b60405180910390fd5b60c8816011546113de9190614141565b111561141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690614038565b60405180910390fd5b34816701467e9026dbc00061143491906141c8565b1115611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c90614058565b60405180910390fd5b6115116114c7338386868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612143565b86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506121a4565b611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613cd8565b60405180910390fd5b80601160008282546115629190614141565b9250508190555060005b818110156115a457611591336001611582610b99565b61158c9190614141565b612211565b808061159c90614386565b91505061156c565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561160d573d6000803e3d6000fd5b505050505050565b606061162082611bc2565b61165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690613f98565b60405180910390fd5b600d61166a8361222f565b60405160200161167b929190613b65565b6040516020818303038152906040529050919050565b601260019054906101000a900460ff166116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790613e18565b60405180910390fd5b601260009054906101000a900460ff1615611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790613e58565b60405180910390fd5b61077f60c861173f9190614141565b611747610b99565b10611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90613dd8565b60405180910390fd5b61077f816010546117989190614141565b11156117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090613fd8565b60405180910390fd5b600581111561181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490613f78565b60405180910390fd5b34816702a9c4088465c00061183291906141c8565b1115611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a90614058565b60405180910390fd5b60005b818110156118c6576010600081548092919061189190614386565b91905055506118b33360016118a4610b99565b6118ae9190614141565b612211565b80806118be90614386565b915050611876565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561192f573d6000803e3d6000fd5b5050565b601260019054906101000a900460ff1681565b600f5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119e8611bba565b73ffffffffffffffffffffffffffffffffffffffff16611a066110af565b73ffffffffffffffffffffffffffffffffffffffff1614611a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5390613f38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390613d58565b60405180910390fd5b611ad581612021565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ba357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bb35750611bb282612390565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ca183610dfd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611cf282611bc2565b611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2890613e38565b60405180910390fd5b6000611d3c83610dfd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611dab57508373ffffffffffffffffffffffffffffffffffffffff16611d93846109fc565b73ffffffffffffffffffffffffffffffffffffffff16145b80611dbc5750611dbb818561194c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611de582610dfd565b73ffffffffffffffffffffffffffffffffffffffff1614611e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3290613f58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290613d98565b60405180910390fd5b611eb68383836123fa565b611ec1600082611c2e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f119190614222565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f689190614141565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120f2848484611dc5565b6120fe8484848461250e565b61213d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213490613d38565b60405180910390fd5b50505050565b60008084848460405160200161215b93929190613b2c565b604051602081830303815290604052805190602001206040516020016121819190613b89565b604051602081830303815290604052805190602001209050809150509392505050565b60006121b982846126a590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b61222b8282604051806020016040528060008152506126cc565b5050565b60606000821415612277576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061238b565b600082905060005b600082146122a957808061229290614386565b915050600a826122a29190614197565b915061227f565b60008167ffffffffffffffff8111156122c5576122c4614552565b5b6040519080825280601f01601f1916602001820160405280156122f75781602001600182028036833780820191505090505b5090505b60008514612384576001826123109190614222565b9150600a8561231f9190614407565b603061232b9190614141565b60f81b81838151811061234157612340614523565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561237d9190614197565b94506122fb565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612405838383612727565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612448576124438161272c565b612487565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612486576124858382612775565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124ca576124c5816128e2565b612509565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125085761250782826129b3565b5b5b505050565b600061252f8473ffffffffffffffffffffffffffffffffffffffff16612a32565b15612698578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612558611bba565b8786866040518563ffffffff1660e01b815260040161257a9493929190613bca565b602060405180830381600087803b15801561259457600080fd5b505af19250505080156125c557506040513d601f19601f820116820180604052508101906125c291906133de565b60015b612648573d80600081146125f5576040519150601f19603f3d011682016040523d82523d6000602084013e6125fa565b606091505b50600081511415612640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263790613d38565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061269d565b600190505b949350505050565b60008060006126b48585612a45565b915091506126c181612ac8565b819250505092915050565b6126d68383612c9d565b6126e3600084848461250e565b612722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271990613d38565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161278284610eaf565b61278c9190614222565b9050600060076000848152602001908152602001600020549050818114612871576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128f69190614222565b905060006009600084815260200190815260200160002054905060006008838154811061292657612925614523565b5b90600052602060002001549050806008838154811061294857612947614523565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612997576129966144f4565b5b6001900381819060005260206000200160009055905550505050565b60006129be83610eaf565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600080604183511415612a875760008060006020860151925060408601519150606086015160001a9050612a7b87828585612e6b565b94509450505050612ac1565b604083511415612ab8576000806020850151915060408501519050612aad868383612f78565b935093505050612ac1565b60006002915091505b9250929050565b60006004811115612adc57612adb614496565b5b816004811115612aef57612aee614496565b5b1415612afa57612c9a565b60016004811115612b0e57612b0d614496565b5b816004811115612b2157612b20614496565b5b1415612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990613c98565b60405180910390fd5b60026004811115612b7657612b75614496565b5b816004811115612b8957612b88614496565b5b1415612bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc190613cf8565b60405180910390fd5b60036004811115612bde57612bdd614496565b5b816004811115612bf157612bf0614496565b5b1415612c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2990613df8565b60405180910390fd5b600480811115612c4557612c44614496565b5b816004811115612c5857612c57614496565b5b1415612c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9090613ed8565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0490613ef8565b60405180910390fd5b612d1681611bc2565b15612d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4d90613d78565b60405180910390fd5b612d62600083836123fa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db29190614141565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612ea6576000600391509150612f6f565b601b8560ff1614158015612ebe5750601c8560ff1614155b15612ed0576000600491509150612f6f565b600060018787878760405160008152602001604052604051612ef59493929190613c31565b6020604051602081039080840390855afa158015612f17573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f6657600060019250925050612f6f565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612fb887828885612e6b565b935093505050935093915050565b828054612fd290614323565b90600052602060002090601f016020900481019282612ff4576000855561303b565b82601f1061300d57803560ff191683800117855561303b565b8280016001018555821561303b579182015b8281111561303a57823582559160200191906001019061301f565b5b509050613048919061304c565b5090565b5b8082111561306557600081600090555060010161304d565b5090565b600061307c613077846140b8565b614093565b90508281526020810184848401111561309857613097614590565b5b6130a38482856142e1565b509392505050565b6000813590506130ba81614d17565b92915050565b6000813590506130cf81614d2e565b92915050565b6000813590506130e481614d45565b92915050565b6000815190506130f981614d45565b92915050565b60008083601f84011261311557613114614586565b5b8235905067ffffffffffffffff81111561313257613131614581565b5b60208301915083600182028301111561314e5761314d61458b565b5b9250929050565b600082601f83011261316a57613169614586565b5b813561317a848260208601613069565b91505092915050565b60008083601f84011261319957613198614586565b5b8235905067ffffffffffffffff8111156131b6576131b5614581565b5b6020830191508360018202830111156131d2576131d161458b565b5b9250929050565b6000813590506131e881614d5c565b92915050565b6000602082840312156132045761320361459a565b5b6000613212848285016130ab565b91505092915050565b600080604083850312156132325761323161459a565b5b6000613240858286016130ab565b9250506020613251858286016130ab565b9150509250929050565b6000806000606084860312156132745761327361459a565b5b6000613282868287016130ab565b9350506020613293868287016130ab565b92505060406132a4868287016131d9565b9150509250925092565b600080600080608085870312156132c8576132c761459a565b5b60006132d6878288016130ab565b94505060206132e7878288016130ab565b93505060406132f8878288016131d9565b925050606085013567ffffffffffffffff81111561331957613318614595565b5b61332587828801613155565b91505092959194509250565b600080604083850312156133485761334761459a565b5b6000613356858286016130ab565b9250506020613367858286016130c0565b9150509250929050565b600080604083850312156133885761338761459a565b5b6000613396858286016130ab565b92505060206133a7858286016131d9565b9150509250929050565b6000602082840312156133c7576133c661459a565b5b60006133d5848285016130d5565b91505092915050565b6000602082840312156133f4576133f361459a565b5b6000613402848285016130ea565b91505092915050565b6000806000806000606086880312156134275761342661459a565b5b600086013567ffffffffffffffff81111561344557613444614595565b5b613451888289016130ff565b9550955050602086013567ffffffffffffffff81111561347457613473614595565b5b61348088828901613183565b93509350506040613493888289016131d9565b9150509295509295909350565b600080602083850312156134b7576134b661459a565b5b600083013567ffffffffffffffff8111156134d5576134d4614595565b5b6134e185828601613183565b92509250509250929050565b6000602082840312156135035761350261459a565b5b6000613511848285016131d9565b91505092915050565b61352381614256565b82525050565b61353a61353582614256565b6143cf565b82525050565b61354981614268565b82525050565b61355881614274565b82525050565b61356f61356a82614274565b6143e1565b82525050565b6000613580826140fe565b61358a8185614114565b935061359a8185602086016142f0565b6135a38161459f565b840191505092915050565b60006135b982614109565b6135c38185614125565b93506135d38185602086016142f0565b6135dc8161459f565b840191505092915050565b60006135f282614109565b6135fc8185614136565b935061360c8185602086016142f0565b80840191505092915050565b6000815461362581614323565b61362f8186614136565b9450600182166000811461364a576001811461365b5761368e565b60ff1983168652818601935061368e565b613664856140e9565b60005b8381101561368657815481890152600182019150602081019050613667565b838801955050505b50505092915050565b60006136a4601883614125565b91506136af826145bd565b602082019050919050565b60006136c7600e83614125565b91506136d2826145e6565b602082019050919050565b60006136ea601683614125565b91506136f58261460f565b602082019050919050565b600061370d601f83614125565b915061371882614638565b602082019050919050565b6000613730601c83614136565b915061373b82614661565b601c82019050919050565b6000613753602b83614125565b915061375e8261468a565b604082019050919050565b6000613776603283614125565b9150613781826146d9565b604082019050919050565b6000613799602683614125565b91506137a482614728565b604082019050919050565b60006137bc601c83614125565b91506137c782614777565b602082019050919050565b60006137df602483614125565b91506137ea826147a0565b604082019050919050565b6000613802601983614125565b915061380d826147ef565b602082019050919050565b6000613825600c83614125565b915061383082614818565b602082019050919050565b6000613848602283614125565b915061385382614841565b604082019050919050565b600061386b600b83614125565b915061387682614890565b602082019050919050565b600061388e602c83614125565b9150613899826148b9565b604082019050919050565b60006138b1600c83614125565b91506138bc82614908565b602082019050919050565b60006138d4603883614125565b91506138df82614931565b604082019050919050565b60006138f7602a83614125565b915061390282614980565b604082019050919050565b600061391a602983614125565b9150613925826149cf565b604082019050919050565b600061393d602283614125565b915061394882614a1e565b604082019050919050565b6000613960602083614125565b915061396b82614a6d565b602082019050919050565b6000613983602c83614125565b915061398e82614a96565b604082019050919050565b60006139a6602083614125565b91506139b182614ae5565b602082019050919050565b60006139c9602983614125565b91506139d482614b0e565b604082019050919050565b60006139ec601583614125565b91506139f782614b5d565b602082019050919050565b6000613a0f601f83614125565b9150613a1a82614b86565b602082019050919050565b6000613a32602183614125565b9150613a3d82614baf565b604082019050919050565b6000613a55600d83614125565b9150613a6082614bfe565b602082019050919050565b6000613a78603183614125565b9150613a8382614c27565b604082019050919050565b6000613a9b602c83614125565b9150613aa682614c76565b604082019050919050565b6000613abe600e83614125565b9150613ac982614cc5565b602082019050919050565b6000613ae1601083614125565b9150613aec82614cee565b602082019050919050565b613b00816142ca565b82525050565b613b17613b12826142ca565b6143fd565b82525050565b613b26816142d4565b82525050565b6000613b388286613529565b601482019150613b488285613b06565b602082019150613b5882846135e7565b9150819050949350505050565b6000613b718285613618565b9150613b7d82846135e7565b91508190509392505050565b6000613b9482613723565b9150613ba0828461355e565b60208201915081905092915050565b6000602082019050613bc4600083018461351a565b92915050565b6000608082019050613bdf600083018761351a565b613bec602083018661351a565b613bf96040830185613af7565b8181036060830152613c0b8184613575565b905095945050505050565b6000602082019050613c2b6000830184613540565b92915050565b6000608082019050613c46600083018761354f565b613c536020830186613b1d565b613c60604083018561354f565b613c6d606083018461354f565b95945050505050565b60006020820190508181036000830152613c9081846135ae565b905092915050565b60006020820190508181036000830152613cb181613697565b9050919050565b60006020820190508181036000830152613cd1816136ba565b9050919050565b60006020820190508181036000830152613cf1816136dd565b9050919050565b60006020820190508181036000830152613d1181613700565b9050919050565b60006020820190508181036000830152613d3181613746565b9050919050565b60006020820190508181036000830152613d5181613769565b9050919050565b60006020820190508181036000830152613d718161378c565b9050919050565b60006020820190508181036000830152613d91816137af565b9050919050565b60006020820190508181036000830152613db1816137d2565b9050919050565b60006020820190508181036000830152613dd1816137f5565b9050919050565b60006020820190508181036000830152613df181613818565b9050919050565b60006020820190508181036000830152613e118161383b565b9050919050565b60006020820190508181036000830152613e318161385e565b9050919050565b60006020820190508181036000830152613e5181613881565b9050919050565b60006020820190508181036000830152613e71816138a4565b9050919050565b60006020820190508181036000830152613e91816138c7565b9050919050565b60006020820190508181036000830152613eb1816138ea565b9050919050565b60006020820190508181036000830152613ed18161390d565b9050919050565b60006020820190508181036000830152613ef181613930565b9050919050565b60006020820190508181036000830152613f1181613953565b9050919050565b60006020820190508181036000830152613f3181613976565b9050919050565b60006020820190508181036000830152613f5181613999565b9050919050565b60006020820190508181036000830152613f71816139bc565b9050919050565b60006020820190508181036000830152613f91816139df565b9050919050565b60006020820190508181036000830152613fb181613a02565b9050919050565b60006020820190508181036000830152613fd181613a25565b9050919050565b60006020820190508181036000830152613ff181613a48565b9050919050565b6000602082019050818103600083015261401181613a6b565b9050919050565b6000602082019050818103600083015261403181613a8e565b9050919050565b6000602082019050818103600083015261405181613ab1565b9050919050565b6000602082019050818103600083015261407181613ad4565b9050919050565b600060208201905061408d6000830184613af7565b92915050565b600061409d6140ae565b90506140a98282614355565b919050565b6000604051905090565b600067ffffffffffffffff8211156140d3576140d2614552565b5b6140dc8261459f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061414c826142ca565b9150614157836142ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561418c5761418b614438565b5b828201905092915050565b60006141a2826142ca565b91506141ad836142ca565b9250826141bd576141bc614467565b5b828204905092915050565b60006141d3826142ca565b91506141de836142ca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561421757614216614438565b5b828202905092915050565b600061422d826142ca565b9150614238836142ca565b92508282101561424b5761424a614438565b5b828203905092915050565b6000614261826142aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561430e5780820151818401526020810190506142f3565b8381111561431d576000848401525b50505050565b6000600282049050600182168061433b57607f821691505b6020821081141561434f5761434e6144c5565b5b50919050565b61435e8261459f565b810181811067ffffffffffffffff8211171561437d5761437c614552565b5b80604052505050565b6000614391826142ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143c4576143c3614438565b5b600182019050919050565b60006143da826143eb565b9050919050565b6000819050919050565b60006143f6826145b0565b9050919050565b6000819050919050565b6000614412826142ca565b915061441d836142ca565b92508261442d5761442c614467565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f50524553414c455f434c4f534544000000000000000000000000000000000000600082015250565b7f4449524543545f4d494e545f444953414c4c4f57454400000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4f55545f4f465f53544f434b0000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f53414c455f434c4f534544000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f4e4c595f50524553414c450000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4558434545445f4c494d49545f5045525f4d494e540000000000000000000000600082015250565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4558434545445f5055424c494300000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4558434545445f50524956415445000000000000000000000000000000000000600082015250565b7f494e53554646494349454e545f45544800000000000000000000000000000000600082015250565b614d2081614256565b8114614d2b57600080fd5b50565b614d3781614268565b8114614d4257600080fd5b50565b614d4e8161427e565b8114614d5957600080fd5b50565b614d65816142ca565b8114614d7057600080fd5b5056fea26469706673582212201e641760c688ee4182427e9d4a901b553f909f54321f6b660ed445320949980e64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f546f74616c6974792062792052656900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008544f54414c495459000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Totality by Rei
Arg [1] : _symbol (string): TOTALITY

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 546f74616c697479206279205265690000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 544f54414c495459000000000000000000000000000000000000000000000000


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.