ETH Price: $3,458.72 (+1.57%)
Gas: 8 Gwei

Token

Extracts Of Sin (SIN)
 

Overview

Max Total Supply

903 SIN

Holders

536

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 SIN
0x781643f614597e52E3055E87316014b4F2C73121
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:
ExtractsOfSin

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : ExtractsOfSin.sol
/**
 SPDX-License-Identifier: GPL-3.0
*/
pragma solidity ^0.8.13;

import "./Ownable.sol";
import "./Signature.sol";
import "./ERC721ABurnable.sol";


error CallerIsContract();
error SaleNotActive();
error SoldOut();
error InvalidQuantity();


contract ExtractsOfSin is
    ERC721ABurnable,
    Ownable,
    Signature
{
    /** VARIABLES **/
    uint public maxSupply = 5000;
    uint constant public MAX_MINT_COUNT_PER_TXN = 30;
    string private customBaseURI;
    address private dev = 0x215De00630F5E89C3A219D2771e55dc49F28489f;
    enum SaleState {
        CLOSED,
        PUBLIC
    }
    SaleState public saleState = SaleState.CLOSED;
    mapping(bytes => bool) public usedSignatures;

    /* EVENTS **/
    event TokensMinted(address indexed to, uint256 indexed amount);
    event SaleStateChanged(address indexed by, uint8 indexed to);
    event MetadataLinkChanged(address indexed by, string indexed to);

    constructor(bool isPaying, uint256 deploymentPrice) ERC721A("Extracts Of Sin", "SIN") payable {
        if(isPaying){
            require(msg.value >= deploymentPrice);
            payable(dev).transfer(address(this).balance);
        }
    }

    /** MINTING **/
    function mint(uint64 count, bytes calldata signature, string calldata nonce) external payable requiresSignature(signature,nonce) {
        if (saleState != SaleState.PUBLIC) revert SaleNotActive();
        if (tx.origin != msg.sender) revert CallerIsContract();
        if (count > MAX_MINT_COUNT_PER_TXN) revert InvalidQuantity();
        if (_nextTokenId() + (count - 1) > maxSupply) revert SoldOut();
        if (usedSignatures[signature]) revert InvalidSignature();

        _mint(msg.sender, count);
        emit TokensMinted(msg.sender, count);
        usedSignatures[signature] = true;
    }

    function freeMintToAddress(address account, uint256 count) external onlyOwner {
        if (count > MAX_MINT_COUNT_PER_TXN) revert InvalidQuantity();
        if (_nextTokenId() + (count - 1) > maxSupply) revert SoldOut();
        _mint(account, count);
        emit TokensMinted(account, count);
    }
    
    /** SIGNATURE **/
    function checkSignature(bytes calldata signature, string calldata nonce)
        public
        view
        requiresSignature(signature,nonce)
        returns (bool)
    {
        return true;
    }

    /** ADMIN FUNCTIONS **/
    /**
     * @notice Sets sale state to CLOSED (0), PUBLIC (1), PRESALE (2) if applicable.
     */
    function setSaleState(uint8 state) external onlyOwner {
        require(state >= 0 && state < 3);
        saleState = SaleState(state);
        emit SaleStateChanged(msg.sender, state);
    }

    /**
     * @dev Set IPFS folder link
     */
    function setBaseURI(string calldata newBaseURI) external onlyOwner {
        customBaseURI = newBaseURI;
        emit MetadataLinkChanged(msg.sender, newBaseURI);
    }

    /**
     * @dev Set new dev wallet
     */
    function setDev(address newDev) external {
        require(msg.sender == dev, "Only dev can call");
        require(newDev != address(0));
        dev = newDev;
    }

    /** OVERRIDES **/
    function _baseURI() internal view virtual override returns (string memory) {
        return customBaseURI;
    }

    /**
     * @dev minting starts at token ID #1
     */
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /** RELEASE PAYOUT **/
    function withdraw() external onlyOwner {
        payable(dev).transfer((address(this).balance) * 5 / 100);
        payable(owner()).transfer(address(this).balance);
    }
}

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

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

File 3 of 10 : Signature.sol
/**  
 SPDX-License-Identifier: GPL-3.0
*/
pragma solidity ^0.8.13;

import "./ECDSA.sol";
import "./Ownable.sol";

error SignatureNotEnabled();
error InvalidSignature();

contract Signature is Ownable {
    using ECDSA for bytes32;

    address signatureSigningKey;
    bytes32 private immutable DOMAIN_SEPARATOR;
    bytes32 private immutable EIP712_Domain = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
    bytes32 private immutable NAME = keccak256("Extracts Of Sin");
    bytes32 private immutable NUMBER = keccak256("1");

    bytes32 private immutable MINTER_TYPEHASH =
        keccak256("Minter(address wallet,string nonce)");

    constructor() {
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                EIP712_Domain, 
                NAME, 
                NUMBER,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev set signature signing address to enable signature
     */
    function setSignatureSigningAddress(address newSigningKey) public onlyOwner {
        signatureSigningKey = newSigningKey;
    }

    modifier requiresSignature(bytes calldata signature, string calldata nonce) {
        if(signatureSigningKey == address(0)) revert SignatureNotEnabled();
        
        bytes32 DIGEST = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(
                    abi.encode(
                        MINTER_TYPEHASH,
                        msg.sender,
                        keccak256(bytes(nonce))
                    )
                )
            )
        );

        address recoveredAddress = DIGEST.recover(signature);
        if(recoveredAddress != signatureSigningKey) revert InvalidSignature();
        _;
    }
}

File 4 of 10 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721ABurnable.sol';
import './ERC721A.sol';

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 6 of 10 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "./Strings.sol";

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

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

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

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        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 Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 10 : IERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of an ERC721ABurnable compliant contract.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

File 9 of 10 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 0) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 0) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (_addressToUint256(to) == 0) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 10 of 10 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bool","name":"isPaying","type":"bool"},{"internalType":"uint256","name":"deploymentPrice","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CallerIsContract","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"SignatureNotEnabled","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"by","type":"address"},{"indexed":true,"internalType":"string","name":"to","type":"string"}],"name":"MetadataLinkChanged","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":"by","type":"address"},{"indexed":true,"internalType":"uint8","name":"to","type":"uint8"}],"name":"SaleStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_COUNT_PER_TXN","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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"string","name":"nonce","type":"string"}],"name":"checkSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"freeMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"count","type":"uint64"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"string","name":"nonce","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum ExtractsOfSin.SaleState","name":"","type":"uint8"}],"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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDev","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"state","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigningKey","type":"address"}],"name":"setSignatureSigningAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"usedSignatures","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60a0908152507fb544aa813ca3328894cbeb2cb0038c6365d06d2b497272098d494f114786092960c0908152507fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660e0908152507ff64db9e5fd2314dfc25bbdd767d551fa1417322c6b09d871f0ec3b0d1640972861010090815250611388600a5573215de00630f5e89c3a219d2771e55dc49f28489f600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600c60146101000a81548160ff0219169083600181111562000126576200012562000473565b5b0217905550604051620048ca380380620048ca83398181016040528101906200015091906200051f565b6040518060400160405280600f81526020017f4578747261637473204f662053696e00000000000000000000000000000000008152506040518060400160405280600381526020017f53494e00000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001d4929190620003c3565b508060039080519060200190620001ed929190620003c3565b50620001fe620002ec60201b60201c565b6000819055505050620002266200021a620002f560201b60201c565b620002fd60201b60201c565b60a05160c05160e051463060405160200162000247959493929190620005d7565b60405160208183030381529060405280519060200120608081815250508115620002e457803410156200027957600080fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015620002e2573d6000803e3d6000fd5b505b505062000698565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003d19062000663565b90600052602060002090601f016020900481019282620003f5576000855562000441565b82601f106200041057805160ff191683800117855562000441565b8280016001018555821562000441579182015b828111156200044057825182559160200191906001019062000423565b5b50905062000450919062000454565b5090565b5b808211156200046f57600081600090555060010162000455565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600080fd5b60008115159050919050565b620004be81620004a7565b8114620004ca57600080fd5b50565b600081519050620004de81620004b3565b92915050565b6000819050919050565b620004f981620004e4565b81146200050557600080fd5b50565b6000815190506200051981620004ee565b92915050565b60008060408385031215620005395762000538620004a2565b5b60006200054985828601620004cd565b92505060206200055c8582860162000508565b9150509250929050565b6000819050919050565b6200057b8162000566565b82525050565b6200058c81620004e4565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005bf8262000592565b9050919050565b620005d181620005b2565b82525050565b600060a082019050620005ee600083018862000570565b620005fd602083018762000570565b6200060c604083018662000570565b6200061b606083018562000581565b6200062a6080830184620005c6565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200067c57607f821691505b60208210810362000692576200069162000634565b5b50919050565b60805160a05160c05160e051610100516141e8620006e2600039600081816108600152610fb901526000505060005050600050506000818161083f0152610f9801526141e86000f3fe6080604052600436106101cd5760003560e01c8063603f4d52116100f7578063b4356e8911610095578063d5abeb0111610064578063d5abeb011461064f578063e949580e1461067a578063e985e9c5146106b7578063f2fde38b146106f4576101cd565b8063b4356e8914610595578063b88d4fde146105c0578063c87b56dd146105e9578063d477f05f14610626576101cd565b8063715018a6116100d1578063715018a6146104ff5780638da5cb5b1461051657806395d89b4114610541578063a22cb4651461056c576101cd565b8063603f4d521461045a5780636352211e1461048557806370a08231146104c2576101cd565b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103b657806342966c68146103df57806355f804b3146104085780635a67de0714610431576101cd565b806323b872dd146103245780632e9576b31461034d5780633b38dd9f146103765780633ccfd60b1461039f576101cd565b8063081812fc116101ab578063081812fc14610256578063095ea7b314610293578063137dd498146102bc57806318160ddd146102f9576101cd565b806301ffc9a7146101d25780630487acbc1461020f57806306fdde031461022b575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190613042565b61071d565b604051610206919061308a565b60405180910390f35b610229600480360381019061022491906131a0565b6107af565b005b34801561023757600080fd5b50610240610c52565b60405161024d91906132ce565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190613326565b610ce4565b60405161028a9190613394565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b591906133db565b610d60565b005b3480156102c857600080fd5b506102e360048036038101906102de919061341b565b610f06565b6040516102f0919061308a565b60405180910390f35b34801561030557600080fd5b5061030e611136565b60405161031b91906134ab565b60405180910390f35b34801561033057600080fd5b5061034b600480360381019061034691906134c6565b61114d565b005b34801561035957600080fd5b50610374600480360381019061036f91906133db565b61115d565b005b34801561038257600080fd5b5061039d60048036038101906103989190613519565b6112c0565b005b3480156103ab57600080fd5b506103b4611380565b005b3480156103c257600080fd5b506103dd60048036038101906103d891906134c6565b6114cd565b005b3480156103eb57600080fd5b5061040660048036038101906104019190613326565b6114ed565b005b34801561041457600080fd5b5061042f600480360381019061042a9190613546565b6114fb565b005b34801561043d57600080fd5b50610458600480360381019061045391906135cc565b6115e8565b005b34801561046657600080fd5b5061046f61170d565b60405161047c9190613670565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613326565b611720565b6040516104b99190613394565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613519565b611732565b6040516104f691906134ab565b60405180910390f35b34801561050b57600080fd5b506105146117c6565b005b34801561052257600080fd5b5061052b61184e565b6040516105389190613394565b60405180910390f35b34801561054d57600080fd5b50610556611878565b60405161056391906132ce565b60405180910390f35b34801561057857600080fd5b50610593600480360381019061058e91906136b7565b61190a565b005b3480156105a157600080fd5b506105aa611a81565b6040516105b791906134ab565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e29190613827565b611a86565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613326565b611af9565b60405161061d91906132ce565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613519565b611b97565b005b34801561065b57600080fd5b50610664611ca4565b60405161067191906134ab565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c91906138aa565b611caa565b6040516106ae919061308a565b60405180910390f35b3480156106c357600080fd5b506106de60048036038101906106d991906138f3565b611ce0565b6040516106eb919061308a565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613519565b611d74565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b83838383600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361083b576040517ff672b53b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000338585604051610890929190613963565b60405180910390206040516020016108aa93929190613995565b604051602081830303815290604052805190602001206040516020016108d1929190613a44565b604051602081830303815290604052805190602001209050600061094286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083611e6b90919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109cb576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001808111156109de576109dd6135f9565b5b600c60149054906101000a900460ff166001811115610a00576109ff6135f9565b5b14610a37576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a9c576040517f7df1f81700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601e8b67ffffffffffffffff161115610ae1576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5460018c610af19190613aaa565b67ffffffffffffffff16610b03611e92565b610b0d9190613ade565b1115610b45576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d8a8a604051610b57929190613963565b908152602001604051809103902060009054906101000a900460ff1615610baa576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bbe338c67ffffffffffffffff16611e9b565b8a67ffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f3f2c9d57c068687834f0de942a9babb9e5acab57d516d3480a3c16ee165a427360405160405180910390a36001600d8b8b604051610c20929190613963565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050505050505050505050565b606060028054610c6190613b63565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8d90613b63565b8015610cda5780601f10610caf57610100808354040283529160200191610cda565b820191906000526020600020905b815481529060010190602001808311610cbd57829003601f168201915b5050505050905090565b6000610cef82612049565b610d25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6b826120a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dd2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df1612174565b73ffffffffffffffffffffffffffffffffffffffff1614610e5457610e1d81610e18612174565b611ce0565b610e53576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600084848484600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610f94576040517ff672b53b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000338585604051610fe9929190613963565b604051809103902060405160200161100393929190613995565b6040516020818303038152906040528051906020012060405160200161102a929190613a44565b604051602081830303815290604052805190602001209050600061109b86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083611e6b90919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611124576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019650505050505050949350505050565b600061114061217c565b6001546000540303905090565b611158838383612185565b505050565b61116561254a565b73ffffffffffffffffffffffffffffffffffffffff1661118361184e565b73ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090613be0565b60405180910390fd5b601e811115611214576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001826112249190613c00565b61122c611e92565b6112369190613ade565b111561126e576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112788282611e9b565b808273ffffffffffffffffffffffffffffffffffffffff167f3f2c9d57c068687834f0de942a9babb9e5acab57d516d3480a3c16ee165a427360405160405180910390a35050565b6112c861254a565b73ffffffffffffffffffffffffffffffffffffffff166112e661184e565b73ffffffffffffffffffffffffffffffffffffffff161461133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390613be0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61138861254a565b73ffffffffffffffffffffffffffffffffffffffff166113a661184e565b73ffffffffffffffffffffffffffffffffffffffff16146113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f390613be0565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60646005476114479190613c34565b6114519190613cbd565b9081150290604051600060405180830381858888f1935050505015801561147c573d6000803e3d6000fd5b5061148561184e565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156114ca573d6000803e3d6000fd5b50565b6114e883838360405180602001604052806000815250611a86565b505050565b6114f8816001612552565b50565b61150361254a565b73ffffffffffffffffffffffffffffffffffffffff1661152161184e565b73ffffffffffffffffffffffffffffffffffffffff1614611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e90613be0565b60405180910390fd5b8181600b9190611588929190612f33565b508181604051611599929190613d13565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167f1e16255365c53ddc1c285366d358387347012fc97f2a5928e00e8c8456d259aa60405160405180910390a35050565b6115f061254a565b73ffffffffffffffffffffffffffffffffffffffff1661160e61184e565b73ffffffffffffffffffffffffffffffffffffffff1614611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b90613be0565b60405180910390fd5b60008160ff161015801561167b575060038160ff16105b61168457600080fd5b8060ff16600181111561169a576116996135f9565b5b600c60146101000a81548160ff021916908360018111156116be576116bd6135f9565b5b02179055508060ff163373ffffffffffffffffffffffffffffffffffffffff167ff64bab47b3fd032a96c5cb540dcb602875ad833775aa8e4f13f427b2f06930a360405160405180910390a350565b600c60149054906101000a900460ff1681565b600061172b826120a8565b9050919050565b60008061173e8361286a565b03611775576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117ce61254a565b73ffffffffffffffffffffffffffffffffffffffff166117ec61184e565b73ffffffffffffffffffffffffffffffffffffffff1614611842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183990613be0565b60405180910390fd5b61184c6000612874565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461188790613b63565b80601f01602080910402602001604051908101604052809291908181526020018280546118b390613b63565b80156119005780601f106118d557610100808354040283529160200191611900565b820191906000526020600020905b8154815290600101906020018083116118e357829003601f168201915b5050505050905090565b611912612174565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611976576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611983612174565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a30612174565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a75919061308a565b60405180910390a35050565b601e81565b611a91848484612185565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611af357611abc8484848461293a565b611af2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611b0482612049565b611b3a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611b44612a8a565b90506000815103611b645760405180602001604052806000815250611b8f565b80611b6e84612b1c565b604051602001611b7f929190613d5d565b6040516020818303038152906040525b915050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e90613dcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c6057600080fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600d818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d7c61254a565b73ffffffffffffffffffffffffffffffffffffffff16611d9a61184e565b73ffffffffffffffffffffffffffffffffffffffff1614611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790613be0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690613e5f565b60405180910390fd5b611e6881612874565b50565b6000806000611e7a8585612b76565b91509150611e8781612bf7565b819250505092915050565b60008054905090565b6000805490506000611eac8461286a565b03611ee3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611f1d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2a6000848385612dc3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611f8f60018414612dc9565b901b60a042901b611f9f8561286a565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611fc5578160008190555050506120446000848385612dd3565b505050565b60008161205461217c565b11158015612063575060005482105b80156120a1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806120b761217c565b1161213d5760005481101561213c5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361213a575b60008103612130576004600083600190039350838152602001908152602001600020549050612106565b809250505061216f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b6000612190826120a8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121f7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16612250612174565b73ffffffffffffffffffffffffffffffffffffffff16148061227f575061227e86612279612174565b611ce0565b5b806122bc575061228d612174565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806122f5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123008661286a565b03612337576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123448686866001612dc3565b600061234f8361286a565b1461238b576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6124528761286a565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036124da57600060018501905060006004600083815260200190815260200160002054036124d85760005481146124d7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125428686866001612dd3565b505050505050565b600033905090565b600061255d836120a8565b9050600081905060006006600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050831561266a5760008273ffffffffffffffffffffffffffffffffffffffff166125c3612174565b73ffffffffffffffffffffffffffffffffffffffff1614806125f257506125f1836125ec612174565b611ce0565b5b8061262f5750612600612174565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080612668576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612678826000876001612dc3565b60006126838261286a565b146126bf576006600086815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600160806001901b03600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b61275e8561286a565b171717600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036127e757600060018601905060006004600083815260200190815260200160002054036127e55760005481146127e4578360046000838152602001908152602001600020819055505b5b505b84600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612851826000876001612dd3565b6001600081548092919060010191905055505050505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612960612174565b8786866040518563ffffffff1660e01b81526004016129829493929190613ed4565b6020604051808303816000875af19250505080156129be57506040513d601f19601f820116820180604052508101906129bb9190613f35565b60015b612a37573d80600081146129ee576040519150601f19603f3d011682016040523d82523d6000602084013e6129f3565b606091505b506000815103612a2f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612a9990613b63565b80601f0160208091040260200160405190810160405280929190818152602001828054612ac590613b63565b8015612b125780601f10612ae757610100808354040283529160200191612b12565b820191906000526020600020905b815481529060010190602001808311612af557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612b6257600183039250600a81066030018353600a81049050612b42565b508181036020830392508083525050919050565b6000806041835103612bb75760008060006020860151925060408601519150606086015160001a9050612bab87828585612dd9565b94509450505050612bf0565b6040835103612be7576000806020850151915060408501519050612bdc868383612ee5565b935093505050612bf0565b60006002915091505b9250929050565b60006004811115612c0b57612c0a6135f9565b5b816004811115612c1e57612c1d6135f9565b5b0315612dc05760016004811115612c3857612c376135f9565b5b816004811115612c4b57612c4a6135f9565b5b03612c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8290613fae565b60405180910390fd5b60026004811115612c9f57612c9e6135f9565b5b816004811115612cb257612cb16135f9565b5b03612cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce99061401a565b60405180910390fd5b60036004811115612d0657612d056135f9565b5b816004811115612d1957612d186135f9565b5b03612d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d50906140ac565b60405180910390fd5b600480811115612d6c57612d6b6135f9565b5b816004811115612d7f57612d7e6135f9565b5b03612dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db69061413e565b60405180910390fd5b5b50565b50505050565b6000819050919050565b50505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e14576000600391509150612edc565b601b8560ff1614158015612e2c5750601c8560ff1614155b15612e3e576000600491509150612edc565b600060018787878760405160008152602001604052604051612e63949392919061416d565b6020604051602081039080840390855afa158015612e85573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ed357600060019250925050612edc565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612f2587828885612dd9565b935093505050935093915050565b828054612f3f90613b63565b90600052602060002090601f016020900481019282612f615760008555612fa8565b82601f10612f7a57803560ff1916838001178555612fa8565b82800160010185558215612fa8579182015b82811115612fa7578235825591602001919060010190612f8c565b5b509050612fb59190612fb9565b5090565b5b80821115612fd2576000816000905550600101612fba565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61301f81612fea565b811461302a57600080fd5b50565b60008135905061303c81613016565b92915050565b60006020828403121561305857613057612fe0565b5b60006130668482850161302d565b91505092915050565b60008115159050919050565b6130848161306f565b82525050565b600060208201905061309f600083018461307b565b92915050565b600067ffffffffffffffff82169050919050565b6130c2816130a5565b81146130cd57600080fd5b50565b6000813590506130df816130b9565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261310a576131096130e5565b5b8235905067ffffffffffffffff811115613127576131266130ea565b5b602083019150836001820283011115613143576131426130ef565b5b9250929050565b60008083601f8401126131605761315f6130e5565b5b8235905067ffffffffffffffff81111561317d5761317c6130ea565b5b602083019150836001820283011115613199576131986130ef565b5b9250929050565b6000806000806000606086880312156131bc576131bb612fe0565b5b60006131ca888289016130d0565b955050602086013567ffffffffffffffff8111156131eb576131ea612fe5565b5b6131f7888289016130f4565b9450945050604086013567ffffffffffffffff81111561321a57613219612fe5565b5b6132268882890161314a565b92509250509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b8381101561326f578082015181840152602081019050613254565b8381111561327e576000848401525b50505050565b6000601f19601f8301169050919050565b60006132a082613235565b6132aa8185613240565b93506132ba818560208601613251565b6132c381613284565b840191505092915050565b600060208201905081810360008301526132e88184613295565b905092915050565b6000819050919050565b613303816132f0565b811461330e57600080fd5b50565b600081359050613320816132fa565b92915050565b60006020828403121561333c5761333b612fe0565b5b600061334a84828501613311565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061337e82613353565b9050919050565b61338e81613373565b82525050565b60006020820190506133a96000830184613385565b92915050565b6133b881613373565b81146133c357600080fd5b50565b6000813590506133d5816133af565b92915050565b600080604083850312156133f2576133f1612fe0565b5b6000613400858286016133c6565b925050602061341185828601613311565b9150509250929050565b6000806000806040858703121561343557613434612fe0565b5b600085013567ffffffffffffffff81111561345357613452612fe5565b5b61345f878288016130f4565b9450945050602085013567ffffffffffffffff81111561348257613481612fe5565b5b61348e8782880161314a565b925092505092959194509250565b6134a5816132f0565b82525050565b60006020820190506134c0600083018461349c565b92915050565b6000806000606084860312156134df576134de612fe0565b5b60006134ed868287016133c6565b93505060206134fe868287016133c6565b925050604061350f86828701613311565b9150509250925092565b60006020828403121561352f5761352e612fe0565b5b600061353d848285016133c6565b91505092915050565b6000806020838503121561355d5761355c612fe0565b5b600083013567ffffffffffffffff81111561357b5761357a612fe5565b5b6135878582860161314a565b92509250509250929050565b600060ff82169050919050565b6135a981613593565b81146135b457600080fd5b50565b6000813590506135c6816135a0565b92915050565b6000602082840312156135e2576135e1612fe0565b5b60006135f0848285016135b7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110613639576136386135f9565b5b50565b600081905061364a82613628565b919050565b600061365a8261363c565b9050919050565b61366a8161364f565b82525050565b60006020820190506136856000830184613661565b92915050565b6136948161306f565b811461369f57600080fd5b50565b6000813590506136b18161368b565b92915050565b600080604083850312156136ce576136cd612fe0565b5b60006136dc858286016133c6565b92505060206136ed858286016136a2565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61373482613284565b810181811067ffffffffffffffff82111715613753576137526136fc565b5b80604052505050565b6000613766612fd6565b9050613772828261372b565b919050565b600067ffffffffffffffff821115613792576137916136fc565b5b61379b82613284565b9050602081019050919050565b82818337600083830152505050565b60006137ca6137c584613777565b61375c565b9050828152602081018484840111156137e6576137e56136f7565b5b6137f18482856137a8565b509392505050565b600082601f83011261380e5761380d6130e5565b5b813561381e8482602086016137b7565b91505092915050565b6000806000806080858703121561384157613840612fe0565b5b600061384f878288016133c6565b9450506020613860878288016133c6565b935050604061387187828801613311565b925050606085013567ffffffffffffffff81111561389257613891612fe5565b5b61389e878288016137f9565b91505092959194509250565b6000602082840312156138c0576138bf612fe0565b5b600082013567ffffffffffffffff8111156138de576138dd612fe5565b5b6138ea848285016137f9565b91505092915050565b6000806040838503121561390a57613909612fe0565b5b6000613918858286016133c6565b9250506020613929858286016133c6565b9150509250929050565b600081905092915050565b600061394a8385613933565b93506139578385846137a8565b82840190509392505050565b600061397082848661393e565b91508190509392505050565b6000819050919050565b61398f8161397c565b82525050565b60006060820190506139aa6000830186613986565b6139b76020830185613385565b6139c46040830184613986565b949350505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a0d6002836139cc565b9150613a18826139d7565b600282019050919050565b6000819050919050565b613a3e613a398261397c565b613a23565b82525050565b6000613a4f82613a00565b9150613a5b8285613a2d565b602082019150613a6b8284613a2d565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ab5826130a5565b9150613ac0836130a5565b925082821015613ad357613ad2613a7b565b5b828203905092915050565b6000613ae9826132f0565b9150613af4836132f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b2957613b28613a7b565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b7b57607f821691505b602082108103613b8e57613b8d613b34565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bca602083613240565b9150613bd582613b94565b602082019050919050565b60006020820190508181036000830152613bf981613bbd565b9050919050565b6000613c0b826132f0565b9150613c16836132f0565b925082821015613c2957613c28613a7b565b5b828203905092915050565b6000613c3f826132f0565b9150613c4a836132f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c8357613c82613a7b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613cc8826132f0565b9150613cd3836132f0565b925082613ce357613ce2613c8e565b5b828204905092915050565b6000613cfa83856139cc565b9350613d078385846137a8565b82840190509392505050565b6000613d20828486613cee565b91508190509392505050565b6000613d3782613235565b613d4181856139cc565b9350613d51818560208601613251565b80840191505092915050565b6000613d698285613d2c565b9150613d758284613d2c565b91508190509392505050565b7f4f6e6c79206465762063616e2063616c6c000000000000000000000000000000600082015250565b6000613db7601183613240565b9150613dc282613d81565b602082019050919050565b60006020820190508181036000830152613de681613daa565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e49602683613240565b9150613e5482613ded565b604082019050919050565b60006020820190508181036000830152613e7881613e3c565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ea682613e7f565b613eb08185613e8a565b9350613ec0818560208601613251565b613ec981613284565b840191505092915050565b6000608082019050613ee96000830187613385565b613ef66020830186613385565b613f03604083018561349c565b8181036060830152613f158184613e9b565b905095945050505050565b600081519050613f2f81613016565b92915050565b600060208284031215613f4b57613f4a612fe0565b5b6000613f5984828501613f20565b91505092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613f98601883613240565b9150613fa382613f62565b602082019050919050565b60006020820190508181036000830152613fc781613f8b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614004601f83613240565b915061400f82613fce565b602082019050919050565b6000602082019050818103600083015261403381613ff7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614096602283613240565b91506140a18261403a565b604082019050919050565b600060208201905081810360008301526140c581614089565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614128602283613240565b9150614133826140cc565b604082019050919050565b600060208201905081810360008301526141578161411b565b9050919050565b61416781613593565b82525050565b60006080820190506141826000830187613986565b61418f602083018661415e565b61419c6040830185613986565b6141a96060830184613986565b9594505050505056fea264697066735822122012f776386a6c3eb4f0d5b2cebf9ff93e8cc0b4110346930c9ac6e3d2b257a7ae64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c8063603f4d52116100f7578063b4356e8911610095578063d5abeb0111610064578063d5abeb011461064f578063e949580e1461067a578063e985e9c5146106b7578063f2fde38b146106f4576101cd565b8063b4356e8914610595578063b88d4fde146105c0578063c87b56dd146105e9578063d477f05f14610626576101cd565b8063715018a6116100d1578063715018a6146104ff5780638da5cb5b1461051657806395d89b4114610541578063a22cb4651461056c576101cd565b8063603f4d521461045a5780636352211e1461048557806370a08231146104c2576101cd565b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103b657806342966c68146103df57806355f804b3146104085780635a67de0714610431576101cd565b806323b872dd146103245780632e9576b31461034d5780633b38dd9f146103765780633ccfd60b1461039f576101cd565b8063081812fc116101ab578063081812fc14610256578063095ea7b314610293578063137dd498146102bc57806318160ddd146102f9576101cd565b806301ffc9a7146101d25780630487acbc1461020f57806306fdde031461022b575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190613042565b61071d565b604051610206919061308a565b60405180910390f35b610229600480360381019061022491906131a0565b6107af565b005b34801561023757600080fd5b50610240610c52565b60405161024d91906132ce565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190613326565b610ce4565b60405161028a9190613394565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b591906133db565b610d60565b005b3480156102c857600080fd5b506102e360048036038101906102de919061341b565b610f06565b6040516102f0919061308a565b60405180910390f35b34801561030557600080fd5b5061030e611136565b60405161031b91906134ab565b60405180910390f35b34801561033057600080fd5b5061034b600480360381019061034691906134c6565b61114d565b005b34801561035957600080fd5b50610374600480360381019061036f91906133db565b61115d565b005b34801561038257600080fd5b5061039d60048036038101906103989190613519565b6112c0565b005b3480156103ab57600080fd5b506103b4611380565b005b3480156103c257600080fd5b506103dd60048036038101906103d891906134c6565b6114cd565b005b3480156103eb57600080fd5b5061040660048036038101906104019190613326565b6114ed565b005b34801561041457600080fd5b5061042f600480360381019061042a9190613546565b6114fb565b005b34801561043d57600080fd5b50610458600480360381019061045391906135cc565b6115e8565b005b34801561046657600080fd5b5061046f61170d565b60405161047c9190613670565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613326565b611720565b6040516104b99190613394565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613519565b611732565b6040516104f691906134ab565b60405180910390f35b34801561050b57600080fd5b506105146117c6565b005b34801561052257600080fd5b5061052b61184e565b6040516105389190613394565b60405180910390f35b34801561054d57600080fd5b50610556611878565b60405161056391906132ce565b60405180910390f35b34801561057857600080fd5b50610593600480360381019061058e91906136b7565b61190a565b005b3480156105a157600080fd5b506105aa611a81565b6040516105b791906134ab565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e29190613827565b611a86565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613326565b611af9565b60405161061d91906132ce565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613519565b611b97565b005b34801561065b57600080fd5b50610664611ca4565b60405161067191906134ab565b60405180910390f35b34801561068657600080fd5b506106a1600480360381019061069c91906138aa565b611caa565b6040516106ae919061308a565b60405180910390f35b3480156106c357600080fd5b506106de60048036038101906106d991906138f3565b611ce0565b6040516106eb919061308a565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613519565b611d74565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b83838383600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361083b576040517ff672b53b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007fbba0f0b4e8be659d3a975e71eaf22da9d0ea254ee3a836fbb4fe288fe51300e57ff64db9e5fd2314dfc25bbdd767d551fa1417322c6b09d871f0ec3b0d16409728338585604051610890929190613963565b60405180910390206040516020016108aa93929190613995565b604051602081830303815290604052805190602001206040516020016108d1929190613a44565b604051602081830303815290604052805190602001209050600061094286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083611e6b90919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109cb576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001808111156109de576109dd6135f9565b5b600c60149054906101000a900460ff166001811115610a00576109ff6135f9565b5b14610a37576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a9c576040517f7df1f81700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601e8b67ffffffffffffffff161115610ae1576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5460018c610af19190613aaa565b67ffffffffffffffff16610b03611e92565b610b0d9190613ade565b1115610b45576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d8a8a604051610b57929190613963565b908152602001604051809103902060009054906101000a900460ff1615610baa576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bbe338c67ffffffffffffffff16611e9b565b8a67ffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f3f2c9d57c068687834f0de942a9babb9e5acab57d516d3480a3c16ee165a427360405160405180910390a36001600d8b8b604051610c20929190613963565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050505050505050505050565b606060028054610c6190613b63565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8d90613b63565b8015610cda5780601f10610caf57610100808354040283529160200191610cda565b820191906000526020600020905b815481529060010190602001808311610cbd57829003601f168201915b5050505050905090565b6000610cef82612049565b610d25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6b826120a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dd2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df1612174565b73ffffffffffffffffffffffffffffffffffffffff1614610e5457610e1d81610e18612174565b611ce0565b610e53576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600084848484600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610f94576040517ff672b53b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007fbba0f0b4e8be659d3a975e71eaf22da9d0ea254ee3a836fbb4fe288fe51300e57ff64db9e5fd2314dfc25bbdd767d551fa1417322c6b09d871f0ec3b0d16409728338585604051610fe9929190613963565b604051809103902060405160200161100393929190613995565b6040516020818303038152906040528051906020012060405160200161102a929190613a44565b604051602081830303815290604052805190602001209050600061109b86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083611e6b90919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611124576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019650505050505050949350505050565b600061114061217c565b6001546000540303905090565b611158838383612185565b505050565b61116561254a565b73ffffffffffffffffffffffffffffffffffffffff1661118361184e565b73ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090613be0565b60405180910390fd5b601e811115611214576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546001826112249190613c00565b61122c611e92565b6112369190613ade565b111561126e576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112788282611e9b565b808273ffffffffffffffffffffffffffffffffffffffff167f3f2c9d57c068687834f0de942a9babb9e5acab57d516d3480a3c16ee165a427360405160405180910390a35050565b6112c861254a565b73ffffffffffffffffffffffffffffffffffffffff166112e661184e565b73ffffffffffffffffffffffffffffffffffffffff161461133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390613be0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61138861254a565b73ffffffffffffffffffffffffffffffffffffffff166113a661184e565b73ffffffffffffffffffffffffffffffffffffffff16146113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f390613be0565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60646005476114479190613c34565b6114519190613cbd565b9081150290604051600060405180830381858888f1935050505015801561147c573d6000803e3d6000fd5b5061148561184e565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156114ca573d6000803e3d6000fd5b50565b6114e883838360405180602001604052806000815250611a86565b505050565b6114f8816001612552565b50565b61150361254a565b73ffffffffffffffffffffffffffffffffffffffff1661152161184e565b73ffffffffffffffffffffffffffffffffffffffff1614611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e90613be0565b60405180910390fd5b8181600b9190611588929190612f33565b508181604051611599929190613d13565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167f1e16255365c53ddc1c285366d358387347012fc97f2a5928e00e8c8456d259aa60405160405180910390a35050565b6115f061254a565b73ffffffffffffffffffffffffffffffffffffffff1661160e61184e565b73ffffffffffffffffffffffffffffffffffffffff1614611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b90613be0565b60405180910390fd5b60008160ff161015801561167b575060038160ff16105b61168457600080fd5b8060ff16600181111561169a576116996135f9565b5b600c60146101000a81548160ff021916908360018111156116be576116bd6135f9565b5b02179055508060ff163373ffffffffffffffffffffffffffffffffffffffff167ff64bab47b3fd032a96c5cb540dcb602875ad833775aa8e4f13f427b2f06930a360405160405180910390a350565b600c60149054906101000a900460ff1681565b600061172b826120a8565b9050919050565b60008061173e8361286a565b03611775576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117ce61254a565b73ffffffffffffffffffffffffffffffffffffffff166117ec61184e565b73ffffffffffffffffffffffffffffffffffffffff1614611842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183990613be0565b60405180910390fd5b61184c6000612874565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461188790613b63565b80601f01602080910402602001604051908101604052809291908181526020018280546118b390613b63565b80156119005780601f106118d557610100808354040283529160200191611900565b820191906000526020600020905b8154815290600101906020018083116118e357829003601f168201915b5050505050905090565b611912612174565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611976576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611983612174565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a30612174565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a75919061308a565b60405180910390a35050565b601e81565b611a91848484612185565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611af357611abc8484848461293a565b611af2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611b0482612049565b611b3a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611b44612a8a565b90506000815103611b645760405180602001604052806000815250611b8f565b80611b6e84612b1c565b604051602001611b7f929190613d5d565b6040516020818303038152906040525b915050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e90613dcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c6057600080fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600d818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d7c61254a565b73ffffffffffffffffffffffffffffffffffffffff16611d9a61184e565b73ffffffffffffffffffffffffffffffffffffffff1614611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790613be0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690613e5f565b60405180910390fd5b611e6881612874565b50565b6000806000611e7a8585612b76565b91509150611e8781612bf7565b819250505092915050565b60008054905090565b6000805490506000611eac8461286a565b03611ee3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611f1d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2a6000848385612dc3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611f8f60018414612dc9565b901b60a042901b611f9f8561286a565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611fc5578160008190555050506120446000848385612dd3565b505050565b60008161205461217c565b11158015612063575060005482105b80156120a1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806120b761217c565b1161213d5760005481101561213c5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361213a575b60008103612130576004600083600190039350838152602001908152602001600020549050612106565b809250505061216f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b6000612190826120a8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146121f7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16612250612174565b73ffffffffffffffffffffffffffffffffffffffff16148061227f575061227e86612279612174565b611ce0565b5b806122bc575061228d612174565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806122f5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006123008661286a565b03612337576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123448686866001612dc3565b600061234f8361286a565b1461238b576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6124528761286a565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036124da57600060018501905060006004600083815260200190815260200160002054036124d85760005481146124d7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125428686866001612dd3565b505050505050565b600033905090565b600061255d836120a8565b9050600081905060006006600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050831561266a5760008273ffffffffffffffffffffffffffffffffffffffff166125c3612174565b73ffffffffffffffffffffffffffffffffffffffff1614806125f257506125f1836125ec612174565b611ce0565b5b8061262f5750612600612174565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080612668576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612678826000876001612dc3565b60006126838261286a565b146126bf576006600086815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600160806001901b03600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b61275e8561286a565b171717600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036127e757600060018601905060006004600083815260200190815260200160002054036127e55760005481146127e4578360046000838152602001908152602001600020819055505b5b505b84600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612851826000876001612dd3565b6001600081548092919060010191905055505050505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612960612174565b8786866040518563ffffffff1660e01b81526004016129829493929190613ed4565b6020604051808303816000875af19250505080156129be57506040513d601f19601f820116820180604052508101906129bb9190613f35565b60015b612a37573d80600081146129ee576040519150601f19603f3d011682016040523d82523d6000602084013e6129f3565b606091505b506000815103612a2f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612a9990613b63565b80601f0160208091040260200160405190810160405280929190818152602001828054612ac590613b63565b8015612b125780601f10612ae757610100808354040283529160200191612b12565b820191906000526020600020905b815481529060010190602001808311612af557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612b6257600183039250600a81066030018353600a81049050612b42565b508181036020830392508083525050919050565b6000806041835103612bb75760008060006020860151925060408601519150606086015160001a9050612bab87828585612dd9565b94509450505050612bf0565b6040835103612be7576000806020850151915060408501519050612bdc868383612ee5565b935093505050612bf0565b60006002915091505b9250929050565b60006004811115612c0b57612c0a6135f9565b5b816004811115612c1e57612c1d6135f9565b5b0315612dc05760016004811115612c3857612c376135f9565b5b816004811115612c4b57612c4a6135f9565b5b03612c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8290613fae565b60405180910390fd5b60026004811115612c9f57612c9e6135f9565b5b816004811115612cb257612cb16135f9565b5b03612cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce99061401a565b60405180910390fd5b60036004811115612d0657612d056135f9565b5b816004811115612d1957612d186135f9565b5b03612d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d50906140ac565b60405180910390fd5b600480811115612d6c57612d6b6135f9565b5b816004811115612d7f57612d7e6135f9565b5b03612dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db69061413e565b60405180910390fd5b5b50565b50505050565b6000819050919050565b50505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e14576000600391509150612edc565b601b8560ff1614158015612e2c5750601c8560ff1614155b15612e3e576000600491509150612edc565b600060018787878760405160008152602001604052604051612e63949392919061416d565b6020604051602081039080840390855afa158015612e85573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ed357600060019250925050612edc565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612f2587828885612dd9565b935093505050935093915050565b828054612f3f90613b63565b90600052602060002090601f016020900481019282612f615760008555612fa8565b82601f10612f7a57803560ff1916838001178555612fa8565b82800160010185558215612fa8579182015b82811115612fa7578235825591602001919060010190612f8c565b5b509050612fb59190612fb9565b5090565b5b80821115612fd2576000816000905550600101612fba565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61301f81612fea565b811461302a57600080fd5b50565b60008135905061303c81613016565b92915050565b60006020828403121561305857613057612fe0565b5b60006130668482850161302d565b91505092915050565b60008115159050919050565b6130848161306f565b82525050565b600060208201905061309f600083018461307b565b92915050565b600067ffffffffffffffff82169050919050565b6130c2816130a5565b81146130cd57600080fd5b50565b6000813590506130df816130b9565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261310a576131096130e5565b5b8235905067ffffffffffffffff811115613127576131266130ea565b5b602083019150836001820283011115613143576131426130ef565b5b9250929050565b60008083601f8401126131605761315f6130e5565b5b8235905067ffffffffffffffff81111561317d5761317c6130ea565b5b602083019150836001820283011115613199576131986130ef565b5b9250929050565b6000806000806000606086880312156131bc576131bb612fe0565b5b60006131ca888289016130d0565b955050602086013567ffffffffffffffff8111156131eb576131ea612fe5565b5b6131f7888289016130f4565b9450945050604086013567ffffffffffffffff81111561321a57613219612fe5565b5b6132268882890161314a565b92509250509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b8381101561326f578082015181840152602081019050613254565b8381111561327e576000848401525b50505050565b6000601f19601f8301169050919050565b60006132a082613235565b6132aa8185613240565b93506132ba818560208601613251565b6132c381613284565b840191505092915050565b600060208201905081810360008301526132e88184613295565b905092915050565b6000819050919050565b613303816132f0565b811461330e57600080fd5b50565b600081359050613320816132fa565b92915050565b60006020828403121561333c5761333b612fe0565b5b600061334a84828501613311565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061337e82613353565b9050919050565b61338e81613373565b82525050565b60006020820190506133a96000830184613385565b92915050565b6133b881613373565b81146133c357600080fd5b50565b6000813590506133d5816133af565b92915050565b600080604083850312156133f2576133f1612fe0565b5b6000613400858286016133c6565b925050602061341185828601613311565b9150509250929050565b6000806000806040858703121561343557613434612fe0565b5b600085013567ffffffffffffffff81111561345357613452612fe5565b5b61345f878288016130f4565b9450945050602085013567ffffffffffffffff81111561348257613481612fe5565b5b61348e8782880161314a565b925092505092959194509250565b6134a5816132f0565b82525050565b60006020820190506134c0600083018461349c565b92915050565b6000806000606084860312156134df576134de612fe0565b5b60006134ed868287016133c6565b93505060206134fe868287016133c6565b925050604061350f86828701613311565b9150509250925092565b60006020828403121561352f5761352e612fe0565b5b600061353d848285016133c6565b91505092915050565b6000806020838503121561355d5761355c612fe0565b5b600083013567ffffffffffffffff81111561357b5761357a612fe5565b5b6135878582860161314a565b92509250509250929050565b600060ff82169050919050565b6135a981613593565b81146135b457600080fd5b50565b6000813590506135c6816135a0565b92915050565b6000602082840312156135e2576135e1612fe0565b5b60006135f0848285016135b7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110613639576136386135f9565b5b50565b600081905061364a82613628565b919050565b600061365a8261363c565b9050919050565b61366a8161364f565b82525050565b60006020820190506136856000830184613661565b92915050565b6136948161306f565b811461369f57600080fd5b50565b6000813590506136b18161368b565b92915050565b600080604083850312156136ce576136cd612fe0565b5b60006136dc858286016133c6565b92505060206136ed858286016136a2565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61373482613284565b810181811067ffffffffffffffff82111715613753576137526136fc565b5b80604052505050565b6000613766612fd6565b9050613772828261372b565b919050565b600067ffffffffffffffff821115613792576137916136fc565b5b61379b82613284565b9050602081019050919050565b82818337600083830152505050565b60006137ca6137c584613777565b61375c565b9050828152602081018484840111156137e6576137e56136f7565b5b6137f18482856137a8565b509392505050565b600082601f83011261380e5761380d6130e5565b5b813561381e8482602086016137b7565b91505092915050565b6000806000806080858703121561384157613840612fe0565b5b600061384f878288016133c6565b9450506020613860878288016133c6565b935050604061387187828801613311565b925050606085013567ffffffffffffffff81111561389257613891612fe5565b5b61389e878288016137f9565b91505092959194509250565b6000602082840312156138c0576138bf612fe0565b5b600082013567ffffffffffffffff8111156138de576138dd612fe5565b5b6138ea848285016137f9565b91505092915050565b6000806040838503121561390a57613909612fe0565b5b6000613918858286016133c6565b9250506020613929858286016133c6565b9150509250929050565b600081905092915050565b600061394a8385613933565b93506139578385846137a8565b82840190509392505050565b600061397082848661393e565b91508190509392505050565b6000819050919050565b61398f8161397c565b82525050565b60006060820190506139aa6000830186613986565b6139b76020830185613385565b6139c46040830184613986565b949350505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000613a0d6002836139cc565b9150613a18826139d7565b600282019050919050565b6000819050919050565b613a3e613a398261397c565b613a23565b82525050565b6000613a4f82613a00565b9150613a5b8285613a2d565b602082019150613a6b8284613a2d565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ab5826130a5565b9150613ac0836130a5565b925082821015613ad357613ad2613a7b565b5b828203905092915050565b6000613ae9826132f0565b9150613af4836132f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b2957613b28613a7b565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b7b57607f821691505b602082108103613b8e57613b8d613b34565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bca602083613240565b9150613bd582613b94565b602082019050919050565b60006020820190508181036000830152613bf981613bbd565b9050919050565b6000613c0b826132f0565b9150613c16836132f0565b925082821015613c2957613c28613a7b565b5b828203905092915050565b6000613c3f826132f0565b9150613c4a836132f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c8357613c82613a7b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613cc8826132f0565b9150613cd3836132f0565b925082613ce357613ce2613c8e565b5b828204905092915050565b6000613cfa83856139cc565b9350613d078385846137a8565b82840190509392505050565b6000613d20828486613cee565b91508190509392505050565b6000613d3782613235565b613d4181856139cc565b9350613d51818560208601613251565b80840191505092915050565b6000613d698285613d2c565b9150613d758284613d2c565b91508190509392505050565b7f4f6e6c79206465762063616e2063616c6c000000000000000000000000000000600082015250565b6000613db7601183613240565b9150613dc282613d81565b602082019050919050565b60006020820190508181036000830152613de681613daa565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e49602683613240565b9150613e5482613ded565b604082019050919050565b60006020820190508181036000830152613e7881613e3c565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ea682613e7f565b613eb08185613e8a565b9350613ec0818560208601613251565b613ec981613284565b840191505092915050565b6000608082019050613ee96000830187613385565b613ef66020830186613385565b613f03604083018561349c565b8181036060830152613f158184613e9b565b905095945050505050565b600081519050613f2f81613016565b92915050565b600060208284031215613f4b57613f4a612fe0565b5b6000613f5984828501613f20565b91505092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613f98601883613240565b9150613fa382613f62565b602082019050919050565b60006020820190508181036000830152613fc781613f8b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614004601f83613240565b915061400f82613fce565b602082019050919050565b6000602082019050818103600083015261403381613ff7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614096602283613240565b91506140a18261403a565b604082019050919050565b600060208201905081810360008301526140c581614089565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614128602283613240565b9150614133826140cc565b604082019050919050565b600060208201905081810360008301526141578161411b565b9050919050565b61416781613593565b82525050565b60006080820190506141826000830187613986565b61418f602083018661415e565b61419c6040830185613986565b6141a96060830184613986565b9594505050505056fea264697066735822122012f776386a6c3eb4f0d5b2cebf9ff93e8cc0b4110346930c9ac6e3d2b257a7ae64736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : isPaying (bool): False
Arg [1] : deploymentPrice (uint256): 0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


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.