ETH Price: $3,066.36 (-1.20%)

Token

KREEPY CLUB (KREEPS)
 

Overview

Max Total Supply

9,999 KREEPS

Holders

4,499

Market

Volume (24H)

0.0057 ETH

Min Price (24H)

$5.83 @ 0.001900 ETH

Max Price (24H)

$5.83 @ 0.001900 ETH
Balance
2 KREEPS
0xd08Bb7783B717864c326C2fF0F51F002cA9b3b18
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

9999 KREEPY CLUB NFTS - 3333 from each artist - 3 unique character styles.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
KreepyClub

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : KreepyClubDeploy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

//                                                         ...::^^: ^????JJJ?7~.  :^:::.              
//    :?7~^:                                   ...:. :!77???JJJJJY? 75YYYYYYYYYY!..~~~~~^.            
//    !5555Y!  ^!~^^^.  ........       :^^~~~~!!!!7! !YYYYYJYYYYYY? 75YYYYY5YYYY5J.:~~~~~~.  .^~^:..  
//    ?YYYYY~ ~Y5555J^ ~~~~~~~~~~^:   :777!!!!!!!!7! ~YJJJJJJJJ???^ !5YYYY7~JYYYY57 ^~~~~~^ .~~~~~~~^ 
//   .YYYYY? !YYYYY!  .~~~~~~~~~~~~^. :!!!!!!!!!~~~: !YJJJY!..      !5YYYY: :YYYYYY. ^~~~~~^~~~~~~~^. 
//   ^YYYYY7!YYYYY!   :~~~~~^^~~~~~~^ ^7!!!!~.       !YJJJJ?!!!.    !5YYYY~.7YYYYYJ.  ^~~~~~~~~~~~^   
//   75YYYYYYYYYYJ.   :~~~~~. :~~~~~^ ^7!!!!!~~~.    7YJJJJYYYY!    !5YYYYYYYYYY5Y^    ^~~~~~~~~~:    
//   JYYYYYYYYYYY?    ^~~~~~..^~~~~~. ~!!!!!!777^    7YJJJJJJJ?:    !5YYYYYY555Y7:     .~~~~~~~~:     
//  :YYYYYYYYYYYYJ    ^~~~~~~~~~~~~.  ~!!!!!!!~~.    ?YJJJJ^ .      75YYYYY?7!^.        ^~~~~~~^      
//  ~5YYYYY5YYYYYY^  .~~~~~~~~~~~~.   !!!!!!.   ...  ?YJJJJ?7?????~ 75YYY57             :~~~~~~:      
//  ?YYYYYY7JYYYY57  :~~~~~~~~~~~~:  .!!!!!!~~!!!!!:.JJJJJJYYYYYYY! J5YYY57             ^~~~~~~:      
// .YYYYYY~ !5YYYYJ. ^~~~~~:^~~~~~~  :7!!!!!!!!!!!7.:YYYYYYYJJJJJJ^ JYYJJJ~             ^~~~~~~^      
// ~5YYYY?  ~5YYYYY: ~~~~~~..~~~~~~: ~7777!!!!!!!!^ .!!~^^^:::.... .....:::::...        .:::^^~:      
// 7555557  :55YY55~.~~~~~~. ~~~~~~^ :^^::::...     ::::::    :^^~~~~: ~!!!!!!!!!~:.                  
// .~!!!!:   ~???77^.^^:::.  ...  . .^^~!!~        ^~~~~~~.   ^~~~~~~^ ~!!!!!!!!!!7!:                 
//                     .^~7????!^. .J55555J.      .~~~~~~~.   ^~~~~~~^ ~!!!!7:^7!!!7!                 
//                   :!JYYYYYYYYYJ^.YYYYY5!       :~~~~~~~    ^~~~~~~: ~!!!!!~!!!!!!:                 
//                 .7JYJJYYYYYYYJ7::YYYYY5~       ^~~~~~~^    ~~~~~~~. ~!!!!!!!!!!!:                  
//                ~JYJJJY?~~7?7^.  ^YYYYYY^       ^~~~~~~^   .~~~~~~~  ~!!!!!7!!!!!~.                 
//               !YJJJYJ^          ~5YYYYY:       ^~~~~~~^   :~~~~~~:  !!!!!!^!!!!!!!                 
//              ~YJJJJJ:           75YYYYJ.       ^~~~~~~~..:~~~~~~~  .!!!!!~ :7!!!!7:                
//             :JJJJJY~            ?YYYY5?        :~~~~~~~~~~~~~~~~.  ^7!!!7^ ~!!!!!!.                
//             7YJJJJJ:           :YYYYY57..::^^~: ~~~~~~~~~~~~~~~.   !!!!!!!!!!!!!7~                 
//            :YJJJJJY~   :7?7!~: ~5YYYYYYYYYYY55? .~~~~~~~~~~~~:    :7!!!!!!!!!!!!~                  
//            ^YJJJJJJJ?7?JYYYYY~ JYYYYYYYYYYYYY5~  .:^~~~~~^^:.     ^!!!!!!77!!!~:                   
//            .JYJJJJJJYYYJYYJ7^ ~5555555YYYYJJJ7.     .....          ....:::::..                     
//             ^?YYYYYYYYYJ?!:   7?77!~~^^::..                                                        
//              .^!77?7!~^.                                                                           

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

pragma solidity 0.8.9;
pragma abicoder v2;

contract KreepyClub is ERC721A, Ownable {

    bytes32 public ogRoot; // Merkle Root for OGs
    bytes32 public kreeplistRoot;  // Merkle Root for Kreeplist 

    string public kreepyKey = ""; // Provenance Hash 

    uint256 public kreepyPrice = 69000000000000000; // 0.069 ETH

    uint public constant maxOGPurchase = 6;
    uint public constant maxKreeplistPurchase = 3;
    uint public constant maxKreepPurchase = 3;

    uint256 public availableKreeps = 9999;

    bool public saleIsActive = false;
    bool public kreeplistIsActive = false;
    bool public ogSaleIsActive = false;

    // Withdraw addresses
    address t1 = 0xf0050336d1B33fc14738f4108152c78Fd7457889; // KREEP
    address t2 = 0x49FFBd039464d1EB28fFc285165D8E13549EbA86; // TOMO
    address t3 = 0xb20E0A0a0310403CA03952aa4de26091a40f9000; // JUNK
    address t4 = 0x8323cc95c6fc88C832086e38869cFe1d834A4980; // DEVS (PVNKS.COM)
    address t5 = 0x42BE36f54a5054Bb7cfc768e5fB35C8Ca7c17707; // SKOLLEE
    address t6 = 0x644F86B5a22d0f14733612506c9d61Ae3E3a0bd8; // KREEPY CLUB
    
    // Reserve up to 300 Kreepies for founders (100 per artist) for marketing, giveaways etc.
    uint public foundersReserve = 300;

    string private _baseTokenURI;

    constructor() ERC721A("KREEPY CLUB", "KREEPS") { }

    modifier kreepyCapture() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }
    
    function withdraw() public onlyOwner {
        uint256 _total = address(this).balance;
        require(payable(t1).send(((_total)/100)*19)); // KREEP
        require(payable(t2).send(((_total)/100)*19)); // TOMO
        require(payable(t3).send(((_total)/100)*19)); // JUNK
        require(payable(t4).send(((_total)/100)*30)); // DEVS (PVNKS)
        require(payable(t5).send(((_total)/100)*8));  // SKOLLEE
        require(payable(t6).send(((_total)/100)*5));  // KREEPY COLD
    }
    
    function reserveKreeps(address _to, uint256 _reserveAmount) public onlyOwner {        
        require(_reserveAmount > 0 && _reserveAmount <= foundersReserve, "unable to mint any further for founders");
        _safeMint(_to, _reserveAmount);
        foundersReserve = foundersReserve - _reserveAmount;
    }

    function setTheKreepyPrice(uint256 newPrice) public onlyOwner {
        kreepyPrice = newPrice;
    }

    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        kreepyKey = provenanceHash;
    }

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

    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function flipKreeplistSale() public onlyOwner {
        kreeplistIsActive = !kreeplistIsActive;
    }

    function flipOGSale() public onlyOwner {
        ogSaleIsActive = !ogSaleIsActive;
    }

    function setOGRoot(bytes32 root) external onlyOwner {
        ogRoot = root;
    }

    function setKreeplistRoot(bytes32 root) external onlyOwner {
        kreeplistRoot = root;
    }

    // Utility 

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    // Minting

    function ogMint(uint kreepAmount, bytes32[] calldata proof) public payable kreepyCapture {
        require(ogSaleIsActive, "Kreep List Sale is not active");
        require(numberMinted(msg.sender) + kreepAmount <= maxOGPurchase,"you cannot mint this many");
        require(totalSupply() + kreepAmount <= availableKreeps, "Supply would be exceeded");
        require(MerkleProof.verify(proof, ogRoot, keccak256(abi.encodePacked(_msgSender()))), "Not Eligible");
        require(msg.value >= kreepyPrice * kreepAmount, "Ether value sent is incorrect");

            _safeMint(msg.sender, kreepAmount);
    } 

    function kreeplistMint(uint kreepAmount, bytes32[] calldata proof) public payable kreepyCapture {
        require(kreeplistIsActive, "Kreep List Sale is not active");
        require(numberMinted(msg.sender) + kreepAmount <= maxKreeplistPurchase,"you cannot mint this many"); 
        require(totalSupply() + kreepAmount <= availableKreeps, "Supply would be exceeded");
        require(MerkleProof.verify(proof, kreeplistRoot, keccak256(abi.encodePacked(_msgSender()))), "Not Eligible");
        require(msg.value >= kreepyPrice * kreepAmount, "Ether value sent is incorrect");

            _safeMint(msg.sender, kreepAmount);
    } 

    function publicMint(uint kreepAmount) public payable kreepyCapture {
        require(saleIsActive, "Public Sale is not active");
        require(kreepAmount > 0 && kreepAmount <= maxKreepPurchase, "This is not possible");
        require(totalSupply() + kreepAmount <= availableKreeps, "Supply would be exceeded");
        require(msg.value >= kreepyPrice * kreepAmount, "Ether value sent is incorrect");

            _safeMint(msg.sender, kreepAmount);
    } 

}

File 2 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 17 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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 5 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 17 : 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 7 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 8 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 9 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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 Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

    // The number of tokens burned.
    uint256 internal _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 _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].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 {
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @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, tokenId.toString())) : '';
    }

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

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

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 == _msgSender()) revert ApproveToCaller();

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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.isContract() && !_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 &&
            !_ownerships[tokenId].burned;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(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 {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

            if (safe && to.isContract()) {
                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 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // 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 {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        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 Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == 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 {}
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 17 : 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 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","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":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableKreeps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipKreeplistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipOGSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"foundersReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kreeplistIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"kreepAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"kreeplistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"kreeplistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kreepyKey","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kreepyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxKreepPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxKreeplistPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxOGPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"kreepAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"kreepAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveKreeps","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":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setKreeplistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setOGRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTheKreepyPrice","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600b90805190602001906200002b9291906200044f565b5066f5232269808000600c5561270f600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff02191690831515021790555073f0050336d1b33fc14738f4108152c78fd7457889600e60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507349ffbd039464d1eb28ffc285165d8e13549eba86600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b20e0a0a0310403ca03952aa4de26091a40f9000601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738323cc95c6fc88c832086e38869cfe1d834a4980601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507342be36f54a5054bb7cfc768e5fb35c8ca7c17707601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073644f86b5a22d0f14733612506c9d61ae3e3a0bd8601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061012c6014553480156200029f57600080fd5b506040518060400160405280600b81526020017f4b524545505920434c55420000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4b524545505300000000000000000000000000000000000000000000000000008152508160029080519060200190620003249291906200044f565b5080600390805190602001906200033d9291906200044f565b506200034e6200037c60201b60201c565b6000819055505050620003766200036a6200038160201b60201c565b6200038960201b60201c565b62000564565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200045d906200052e565b90600052602060002090601f016020900481019282620004815760008555620004cd565b82601f106200049c57805160ff1916838001178555620004cd565b82800160010185558215620004cd579182015b82811115620004cc578251825591602001919060010190620004af565b5b509050620004dc9190620004e0565b5090565b5b80821115620004fb576000816000905550600101620004e1565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200054757607f821691505b602082108114156200055e576200055d620004ff565b5b50919050565b6147fa80620005746000396000f3fe60806040526004361061025c5760003560e01c806369f6969011610144578063c87b56dd116100b6578063e40393661161007a578063e40393661461085f578063e985e9c51461088a578063eb8d2444146108c7578063f2fde38b146108f2578063f66d5cee1461091b578063f67e63b9146109445761025c565b8063c87b56dd14610764578063cefa0c06146107a1578063dc33e681146107cc578063df643f0c14610809578063e0acd49e146108345761025c565b80637d0ba640116101085780637d0ba6401461067a5780638da5cb5b14610691578063903afdc0146106bc57806395d89b41146106e7578063a22cb46514610712578063b88d4fde1461073b5761025c565b806369f69690146105a757806370a08231146105d2578063715018a61461060f578063715e75a3146106265780637b86120a1461064f5761025c565b80632b314dc6116101dd57806342842e0e116101a157806342842e0e146104ad5780634e991fb0146104d657806355f804b3146105015780635efe1a1f1461052a5780636352211e1461055357806369a7a9ca146105905761025c565b80632b314dc61461041e5780632db115441461043a57806331e21fa61461045657806334918dfd1461047f5780633ccfd60b146104965761025c565b8063112ff2f111610224578063112ff2f11461035857806318160ddd146103835780631a925704146103ae5780631cf8fb88146103d957806323b872dd146103f55761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b314610306578063109695231461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613723565b61096f565b604051610295919061376b565b60405180910390f35b3480156102aa57600080fd5b506102b3610a51565b6040516102c0919061381f565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613877565b610ae3565b6040516102fd91906138e5565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061392c565b610b5f565b005b34801561033b57600080fd5b5061035660048036038101906103519190613aa1565b610c6a565b005b34801561036457600080fd5b5061036d610d00565b60405161037a919061381f565b60405180910390f35b34801561038f57600080fd5b50610398610d8e565b6040516103a59190613af9565b60405180910390f35b3480156103ba57600080fd5b506103c3610da5565b6040516103d09190613af9565b60405180910390f35b6103f360048036038101906103ee9190613b74565b610daa565b005b34801561040157600080fd5b5061041c60048036038101906104179190613bd4565b61102e565b005b61043860048036038101906104339190613b74565b61103e565b005b610454600480360381019061044f9190613877565b6112c2565b005b34801561046257600080fd5b5061047d60048036038101906104789190613c5d565b611483565b005b34801561048b57600080fd5b50610494611509565b005b3480156104a257600080fd5b506104ab6115b1565b005b3480156104b957600080fd5b506104d460048036038101906104cf9190613bd4565b611905565b005b3480156104e257600080fd5b506104eb611925565b6040516104f89190613af9565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190613aa1565b61192a565b005b34801561053657600080fd5b50610551600480360381019061054c9190613c5d565b6119c0565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613877565b611a46565b60405161058791906138e5565b60405180910390f35b34801561059c57600080fd5b506105a5611a5c565b005b3480156105b357600080fd5b506105bc611b04565b6040516105c99190613af9565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190613c8a565b611b09565b6040516106069190613af9565b60405180910390f35b34801561061b57600080fd5b50610624611bd9565b005b34801561063257600080fd5b5061064d60048036038101906106489190613877565b611c61565b005b34801561065b57600080fd5b50610664611ce7565b6040516106719190613af9565b60405180910390f35b34801561068657600080fd5b5061068f611ced565b005b34801561069d57600080fd5b506106a6611d95565b6040516106b391906138e5565b60405180910390f35b3480156106c857600080fd5b506106d1611dbf565b6040516106de9190613cc6565b60405180910390f35b3480156106f357600080fd5b506106fc611dc5565b604051610709919061381f565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190613d0d565b611e57565b005b34801561074757600080fd5b50610762600480360381019061075d9190613dee565b611fcf565b005b34801561077057600080fd5b5061078b60048036038101906107869190613877565b61204b565b604051610798919061381f565b60405180910390f35b3480156107ad57600080fd5b506107b66120ea565b6040516107c39190613af9565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee9190613c8a565b6120f0565b6040516108009190613af9565b60405180910390f35b34801561081557600080fd5b5061081e612102565b60405161082b919061376b565b60405180910390f35b34801561084057600080fd5b50610849612115565b6040516108569190613cc6565b60405180910390f35b34801561086b57600080fd5b5061087461211b565b604051610881919061376b565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190613e71565b61212e565b6040516108be919061376b565b60405180910390f35b3480156108d357600080fd5b506108dc6121c2565b6040516108e9919061376b565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190613c8a565b6121d5565b005b34801561092757600080fd5b50610942600480360381019061093d919061392c565b6122cd565b005b34801561095057600080fd5b506109596123bc565b6040516109669190613af9565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a4a5750610a49826123c2565b5b9050919050565b606060028054610a6090613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8c90613ee0565b8015610ad95780601f10610aae57610100808354040283529160200191610ad9565b820191906000526020600020905b815481529060010190602001808311610abc57829003601f168201915b5050505050905090565b6000610aee8261242c565b610b24576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6a82611a46565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bd2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf161247a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c235750610c2181610c1c61247a565b61212e565b155b15610c5a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c65838383612482565b505050565b610c7261247a565b73ffffffffffffffffffffffffffffffffffffffff16610c90611d95565b73ffffffffffffffffffffffffffffffffffffffff1614610ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdd90613f5e565b60405180910390fd5b80600b9080519060200190610cfc9291906135d1565b5050565b600b8054610d0d90613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3990613ee0565b8015610d865780601f10610d5b57610100808354040283529160200191610d86565b820191906000526020600020905b815481529060010190602001808311610d6957829003601f168201915b505050505081565b6000610d98612534565b6001546000540303905090565b600681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0f90613fca565b60405180910390fd5b600e60019054906101000a900460ff16610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90614036565b60405180910390fd5b600383610e73336120f0565b610e7d9190614085565b1115610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590614127565b60405180910390fd5b600d5483610eca610d8e565b610ed49190614085565b1115610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90614193565b60405180910390fd5b610f90828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a54610f6561247a565b604051602001610f7591906141fb565b60405160208183030381529060405280519060200120612539565b610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690614262565b60405180910390fd5b82600c54610fdd9190614282565b34101561101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690614328565b60405180910390fd5b6110293384612550565b505050565b61103983838361256e565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a390613fca565b60405180910390fd5b600e60029054906101000a900460ff166110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290614036565b60405180910390fd5b600683611107336120f0565b6111119190614085565b1115611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614127565b60405180910390fd5b600d548361115e610d8e565b6111689190614085565b11156111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090614193565b60405180910390fd5b611224828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506009546111f961247a565b60405160200161120991906141fb565b60405160208183030381529060405280519060200120612539565b611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90614262565b60405180910390fd5b82600c546112719190614282565b3410156112b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112aa90614328565b60405180910390fd5b6112bd3384612550565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613fca565b60405180910390fd5b600e60009054906101000a900460ff1661137f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137690614394565b60405180910390fd5b600081118015611390575060038111155b6113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c690614400565b60405180910390fd5b600d54816113db610d8e565b6113e59190614085565b1115611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614193565b60405180910390fd5b80600c546114349190614282565b341015611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90614328565b60405180910390fd5b6114803382612550565b50565b61148b61247a565b73ffffffffffffffffffffffffffffffffffffffff166114a9611d95565b73ffffffffffffffffffffffffffffffffffffffff16146114ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f690613f5e565b60405180910390fd5b80600a8190555050565b61151161247a565b73ffffffffffffffffffffffffffffffffffffffff1661152f611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90613f5e565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6115b961247a565b73ffffffffffffffffffffffffffffffffffffffff166115d7611d95565b73ffffffffffffffffffffffffffffffffffffffff161461162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490613f5e565b60405180910390fd5b6000479050600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc601360648461167d919061444f565b6116879190614282565b9081150290604051600060405180830381858888f193505050506116aa57600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60136064846116f5919061444f565b6116ff9190614282565b9081150290604051600060405180830381858888f1935050505061172257600080fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc601360648461176d919061444f565b6117779190614282565b9081150290604051600060405180830381858888f1935050505061179a57600080fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc601e6064846117e5919061444f565b6117ef9190614282565b9081150290604051600060405180830381858888f1935050505061181257600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600860648461185d919061444f565b6118679190614282565b9081150290604051600060405180830381858888f1935050505061188a57600080fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60056064846118d5919061444f565b6118df9190614282565b9081150290604051600060405180830381858888f1935050505061190257600080fd5b50565b61192083838360405180602001604052806000815250611fcf565b505050565b600381565b61193261247a565b73ffffffffffffffffffffffffffffffffffffffff16611950611d95565b73ffffffffffffffffffffffffffffffffffffffff16146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90613f5e565b60405180910390fd5b80601590805190602001906119bc9291906135d1565b5050565b6119c861247a565b73ffffffffffffffffffffffffffffffffffffffff166119e6611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390613f5e565b60405180910390fd5b8060098190555050565b6000611a5182612a24565b600001519050919050565b611a6461247a565b73ffffffffffffffffffffffffffffffffffffffff16611a82611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90613f5e565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600381565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b71576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611be161247a565b73ffffffffffffffffffffffffffffffffffffffff16611bff611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c90613f5e565b60405180910390fd5b611c5f6000612cb3565b565b611c6961247a565b73ffffffffffffffffffffffffffffffffffffffff16611c87611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490613f5e565b60405180910390fd5b80600c8190555050565b60145481565b611cf561247a565b73ffffffffffffffffffffffffffffffffffffffff16611d13611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6090613f5e565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b606060038054611dd490613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0090613ee0565b8015611e4d5780601f10611e2257610100808354040283529160200191611e4d565b820191906000526020600020905b815481529060010190602001808311611e3057829003601f168201915b5050505050905090565b611e5f61247a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ec4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ed161247a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f7e61247a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fc3919061376b565b60405180910390a35050565b611fda84848461256e565b611ff98373ffffffffffffffffffffffffffffffffffffffff16612d79565b801561200e575061200c84848484612d9c565b155b15612045576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606120568261242c565b61208c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612096612efc565b90506000815114156120b757604051806020016040528060008152506120e2565b806120c184612f8e565b6040516020016120d29291906144bc565b6040516020818303038152906040525b915050919050565b600d5481565b60006120fb826130ef565b9050919050565b600e60029054906101000a900460ff1681565b600a5481565b600e60019054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b6121dd61247a565b73ffffffffffffffffffffffffffffffffffffffff166121fb611d95565b73ffffffffffffffffffffffffffffffffffffffff1614612251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224890613f5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b890614552565b60405180910390fd5b6122ca81612cb3565b50565b6122d561247a565b73ffffffffffffffffffffffffffffffffffffffff166122f3611d95565b73ffffffffffffffffffffffffffffffffffffffff1614612349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234090613f5e565b60405180910390fd5b60008111801561235b57506014548111155b61239a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612391906145e4565b60405180910390fd5b6123a48282612550565b806014546123b29190614604565b6014819055505050565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612437612534565b11158015612446575060005482105b8015612473575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000826125468584613159565b1490509392505050565b61256a8282604051806020016040528060008152506131ce565b5050565b600061257982612a24565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125e4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661260561247a565b73ffffffffffffffffffffffffffffffffffffffff16148061263457506126338561262e61247a565b61212e565b5b80612679575061264261247a565b73ffffffffffffffffffffffffffffffffffffffff1661266184610ae3565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806126b2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612719576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61272685858560016131e0565b61273260008487612482565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156129b25760005482146129b157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a1d85858560016131e6565b5050505050565b612a2c613657565b600082905080612a3a612534565b11158015612a49575060005481105b15612c7c576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c7a57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b5e578092505050612cae565b5b600115612c7957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c74578092505050612cae565b612b5f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dc261247a565b8786866040518563ffffffff1660e01b8152600401612de4949392919061468d565b602060405180830381600087803b158015612dfe57600080fd5b505af1925050508015612e2f57506040513d601f19601f82011682018060405250810190612e2c91906146ee565b60015b612ea9573d8060008114612e5f576040519150601f19603f3d011682016040523d82523d6000602084013e612e64565b606091505b50600081511415612ea1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060158054612f0b90613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054612f3790613ee0565b8015612f845780601f10612f5957610100808354040283529160200191612f84565b820191906000526020600020905b815481529060010190602001808311612f6757829003601f168201915b5050505050905090565b60606000821415612fd6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ea565b600082905060005b60008214613008578080612ff19061471b565b915050600a82613001919061444f565b9150612fde565b60008167ffffffffffffffff81111561302457613023613976565b5b6040519080825280601f01601f1916602001820160405280156130565781602001600182028036833780820191505090505b5090505b600085146130e35760018261306f9190614604565b9150600a8561307e9190614764565b603061308a9190614085565b60f81b8183815181106130a05761309f614795565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130dc919061444f565b945061305a565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008082905060005b84518110156131c35760008582815181106131805761317f614795565b5b602002602001015190508083116131a25761319b83826131ec565b92506131af565b6131ac81846131ec565b92505b5080806131bb9061471b565b915050613162565b508091505092915050565b6131db8383836001613203565b505050565b50505050565b50505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613270576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156132ab576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132b860008683876131e0565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561348257506134818773ffffffffffffffffffffffffffffffffffffffff16612d79565b5b15613548575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134f76000888480600101955088612d9c565b61352d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561348857826000541461354357600080fd5b6135b4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613549575b8160008190555050506135ca60008683876131e6565b5050505050565b8280546135dd90613ee0565b90600052602060002090601f0160209004810192826135ff5760008555613646565b82601f1061361857805160ff1916838001178555613646565b82800160010185558215613646579182015b8281111561364557825182559160200191906001019061362a565b5b509050613653919061369a565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136b357600081600090555060010161369b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613700816136cb565b811461370b57600080fd5b50565b60008135905061371d816136f7565b92915050565b600060208284031215613739576137386136c1565b5b60006137478482850161370e565b91505092915050565b60008115159050919050565b61376581613750565b82525050565b6000602082019050613780600083018461375c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137c05780820151818401526020810190506137a5565b838111156137cf576000848401525b50505050565b6000601f19601f8301169050919050565b60006137f182613786565b6137fb8185613791565b935061380b8185602086016137a2565b613814816137d5565b840191505092915050565b6000602082019050818103600083015261383981846137e6565b905092915050565b6000819050919050565b61385481613841565b811461385f57600080fd5b50565b6000813590506138718161384b565b92915050565b60006020828403121561388d5761388c6136c1565b5b600061389b84828501613862565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138cf826138a4565b9050919050565b6138df816138c4565b82525050565b60006020820190506138fa60008301846138d6565b92915050565b613909816138c4565b811461391457600080fd5b50565b60008135905061392681613900565b92915050565b60008060408385031215613943576139426136c1565b5b600061395185828601613917565b925050602061396285828601613862565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139ae826137d5565b810181811067ffffffffffffffff821117156139cd576139cc613976565b5b80604052505050565b60006139e06136b7565b90506139ec82826139a5565b919050565b600067ffffffffffffffff821115613a0c57613a0b613976565b5b613a15826137d5565b9050602081019050919050565b82818337600083830152505050565b6000613a44613a3f846139f1565b6139d6565b905082815260208101848484011115613a6057613a5f613971565b5b613a6b848285613a22565b509392505050565b600082601f830112613a8857613a8761396c565b5b8135613a98848260208601613a31565b91505092915050565b600060208284031215613ab757613ab66136c1565b5b600082013567ffffffffffffffff811115613ad557613ad46136c6565b5b613ae184828501613a73565b91505092915050565b613af381613841565b82525050565b6000602082019050613b0e6000830184613aea565b92915050565b600080fd5b600080fd5b60008083601f840112613b3457613b3361396c565b5b8235905067ffffffffffffffff811115613b5157613b50613b14565b5b602083019150836020820283011115613b6d57613b6c613b19565b5b9250929050565b600080600060408486031215613b8d57613b8c6136c1565b5b6000613b9b86828701613862565b935050602084013567ffffffffffffffff811115613bbc57613bbb6136c6565b5b613bc886828701613b1e565b92509250509250925092565b600080600060608486031215613bed57613bec6136c1565b5b6000613bfb86828701613917565b9350506020613c0c86828701613917565b9250506040613c1d86828701613862565b9150509250925092565b6000819050919050565b613c3a81613c27565b8114613c4557600080fd5b50565b600081359050613c5781613c31565b92915050565b600060208284031215613c7357613c726136c1565b5b6000613c8184828501613c48565b91505092915050565b600060208284031215613ca057613c9f6136c1565b5b6000613cae84828501613917565b91505092915050565b613cc081613c27565b82525050565b6000602082019050613cdb6000830184613cb7565b92915050565b613cea81613750565b8114613cf557600080fd5b50565b600081359050613d0781613ce1565b92915050565b60008060408385031215613d2457613d236136c1565b5b6000613d3285828601613917565b9250506020613d4385828601613cf8565b9150509250929050565b600067ffffffffffffffff821115613d6857613d67613976565b5b613d71826137d5565b9050602081019050919050565b6000613d91613d8c84613d4d565b6139d6565b905082815260208101848484011115613dad57613dac613971565b5b613db8848285613a22565b509392505050565b600082601f830112613dd557613dd461396c565b5b8135613de5848260208601613d7e565b91505092915050565b60008060008060808587031215613e0857613e076136c1565b5b6000613e1687828801613917565b9450506020613e2787828801613917565b9350506040613e3887828801613862565b925050606085013567ffffffffffffffff811115613e5957613e586136c6565b5b613e6587828801613dc0565b91505092959194509250565b60008060408385031215613e8857613e876136c1565b5b6000613e9685828601613917565b9250506020613ea785828601613917565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ef857607f821691505b60208210811415613f0c57613f0b613eb1565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f48602083613791565b9150613f5382613f12565b602082019050919050565b60006020820190508181036000830152613f7781613f3b565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613fb4601e83613791565b9150613fbf82613f7e565b602082019050919050565b60006020820190508181036000830152613fe381613fa7565b9050919050565b7f4b72656570204c6973742053616c65206973206e6f7420616374697665000000600082015250565b6000614020601d83613791565b915061402b82613fea565b602082019050919050565b6000602082019050818103600083015261404f81614013565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061409082613841565b915061409b83613841565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140d0576140cf614056565b5b828201905092915050565b7f796f752063616e6e6f74206d696e742074686973206d616e7900000000000000600082015250565b6000614111601983613791565b915061411c826140db565b602082019050919050565b6000602082019050818103600083015261414081614104565b9050919050565b7f537570706c7920776f756c642062652065786365656465640000000000000000600082015250565b600061417d601883613791565b915061418882614147565b602082019050919050565b600060208201905081810360008301526141ac81614170565b9050919050565b60008160601b9050919050565b60006141cb826141b3565b9050919050565b60006141dd826141c0565b9050919050565b6141f56141f0826138c4565b6141d2565b82525050565b600061420782846141e4565b60148201915081905092915050565b7f4e6f7420456c696769626c650000000000000000000000000000000000000000600082015250565b600061424c600c83613791565b915061425782614216565b602082019050919050565b6000602082019050818103600083015261427b8161423f565b9050919050565b600061428d82613841565b915061429883613841565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142d1576142d0614056565b5b828202905092915050565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b6000614312601d83613791565b915061431d826142dc565b602082019050919050565b6000602082019050818103600083015261434181614305565b9050919050565b7f5075626c69632053616c65206973206e6f742061637469766500000000000000600082015250565b600061437e601983613791565b915061438982614348565b602082019050919050565b600060208201905081810360008301526143ad81614371565b9050919050565b7f54686973206973206e6f7420706f737369626c65000000000000000000000000600082015250565b60006143ea601483613791565b91506143f5826143b4565b602082019050919050565b60006020820190508181036000830152614419816143dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061445a82613841565b915061446583613841565b92508261447557614474614420565b5b828204905092915050565b600081905092915050565b600061449682613786565b6144a08185614480565b93506144b08185602086016137a2565b80840191505092915050565b60006144c8828561448b565b91506144d4828461448b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061453c602683613791565b9150614547826144e0565b604082019050919050565b6000602082019050818103600083015261456b8161452f565b9050919050565b7f756e61626c6520746f206d696e7420616e79206675727468657220666f72206660008201527f6f756e6465727300000000000000000000000000000000000000000000000000602082015250565b60006145ce602783613791565b91506145d982614572565b604082019050919050565b600060208201905081810360008301526145fd816145c1565b9050919050565b600061460f82613841565b915061461a83613841565b92508282101561462d5761462c614056565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b600061465f82614638565b6146698185614643565b93506146798185602086016137a2565b614682816137d5565b840191505092915050565b60006080820190506146a260008301876138d6565b6146af60208301866138d6565b6146bc6040830185613aea565b81810360608301526146ce8184614654565b905095945050505050565b6000815190506146e8816136f7565b92915050565b600060208284031215614704576147036136c1565b5b6000614712848285016146d9565b91505092915050565b600061472682613841565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561475957614758614056565b5b600182019050919050565b600061476f82613841565b915061477a83613841565b92508261478a57614789614420565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212208778229c61ca523ddb0088acabc4748e7511b202e6821f3997f6600a82dbb5fc64736f6c63430008090033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806369f6969011610144578063c87b56dd116100b6578063e40393661161007a578063e40393661461085f578063e985e9c51461088a578063eb8d2444146108c7578063f2fde38b146108f2578063f66d5cee1461091b578063f67e63b9146109445761025c565b8063c87b56dd14610764578063cefa0c06146107a1578063dc33e681146107cc578063df643f0c14610809578063e0acd49e146108345761025c565b80637d0ba640116101085780637d0ba6401461067a5780638da5cb5b14610691578063903afdc0146106bc57806395d89b41146106e7578063a22cb46514610712578063b88d4fde1461073b5761025c565b806369f69690146105a757806370a08231146105d2578063715018a61461060f578063715e75a3146106265780637b86120a1461064f5761025c565b80632b314dc6116101dd57806342842e0e116101a157806342842e0e146104ad5780634e991fb0146104d657806355f804b3146105015780635efe1a1f1461052a5780636352211e1461055357806369a7a9ca146105905761025c565b80632b314dc61461041e5780632db115441461043a57806331e21fa61461045657806334918dfd1461047f5780633ccfd60b146104965761025c565b8063112ff2f111610224578063112ff2f11461035857806318160ddd146103835780631a925704146103ae5780631cf8fb88146103d957806323b872dd146103f55761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b314610306578063109695231461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613723565b61096f565b604051610295919061376b565b60405180910390f35b3480156102aa57600080fd5b506102b3610a51565b6040516102c0919061381f565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613877565b610ae3565b6040516102fd91906138e5565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061392c565b610b5f565b005b34801561033b57600080fd5b5061035660048036038101906103519190613aa1565b610c6a565b005b34801561036457600080fd5b5061036d610d00565b60405161037a919061381f565b60405180910390f35b34801561038f57600080fd5b50610398610d8e565b6040516103a59190613af9565b60405180910390f35b3480156103ba57600080fd5b506103c3610da5565b6040516103d09190613af9565b60405180910390f35b6103f360048036038101906103ee9190613b74565b610daa565b005b34801561040157600080fd5b5061041c60048036038101906104179190613bd4565b61102e565b005b61043860048036038101906104339190613b74565b61103e565b005b610454600480360381019061044f9190613877565b6112c2565b005b34801561046257600080fd5b5061047d60048036038101906104789190613c5d565b611483565b005b34801561048b57600080fd5b50610494611509565b005b3480156104a257600080fd5b506104ab6115b1565b005b3480156104b957600080fd5b506104d460048036038101906104cf9190613bd4565b611905565b005b3480156104e257600080fd5b506104eb611925565b6040516104f89190613af9565b60405180910390f35b34801561050d57600080fd5b5061052860048036038101906105239190613aa1565b61192a565b005b34801561053657600080fd5b50610551600480360381019061054c9190613c5d565b6119c0565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613877565b611a46565b60405161058791906138e5565b60405180910390f35b34801561059c57600080fd5b506105a5611a5c565b005b3480156105b357600080fd5b506105bc611b04565b6040516105c99190613af9565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190613c8a565b611b09565b6040516106069190613af9565b60405180910390f35b34801561061b57600080fd5b50610624611bd9565b005b34801561063257600080fd5b5061064d60048036038101906106489190613877565b611c61565b005b34801561065b57600080fd5b50610664611ce7565b6040516106719190613af9565b60405180910390f35b34801561068657600080fd5b5061068f611ced565b005b34801561069d57600080fd5b506106a6611d95565b6040516106b391906138e5565b60405180910390f35b3480156106c857600080fd5b506106d1611dbf565b6040516106de9190613cc6565b60405180910390f35b3480156106f357600080fd5b506106fc611dc5565b604051610709919061381f565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190613d0d565b611e57565b005b34801561074757600080fd5b50610762600480360381019061075d9190613dee565b611fcf565b005b34801561077057600080fd5b5061078b60048036038101906107869190613877565b61204b565b604051610798919061381f565b60405180910390f35b3480156107ad57600080fd5b506107b66120ea565b6040516107c39190613af9565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee9190613c8a565b6120f0565b6040516108009190613af9565b60405180910390f35b34801561081557600080fd5b5061081e612102565b60405161082b919061376b565b60405180910390f35b34801561084057600080fd5b50610849612115565b6040516108569190613cc6565b60405180910390f35b34801561086b57600080fd5b5061087461211b565b604051610881919061376b565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190613e71565b61212e565b6040516108be919061376b565b60405180910390f35b3480156108d357600080fd5b506108dc6121c2565b6040516108e9919061376b565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190613c8a565b6121d5565b005b34801561092757600080fd5b50610942600480360381019061093d919061392c565b6122cd565b005b34801561095057600080fd5b506109596123bc565b6040516109669190613af9565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a4a5750610a49826123c2565b5b9050919050565b606060028054610a6090613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8c90613ee0565b8015610ad95780601f10610aae57610100808354040283529160200191610ad9565b820191906000526020600020905b815481529060010190602001808311610abc57829003601f168201915b5050505050905090565b6000610aee8261242c565b610b24576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6a82611a46565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bd2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf161247a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c235750610c2181610c1c61247a565b61212e565b155b15610c5a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c65838383612482565b505050565b610c7261247a565b73ffffffffffffffffffffffffffffffffffffffff16610c90611d95565b73ffffffffffffffffffffffffffffffffffffffff1614610ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdd90613f5e565b60405180910390fd5b80600b9080519060200190610cfc9291906135d1565b5050565b600b8054610d0d90613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3990613ee0565b8015610d865780601f10610d5b57610100808354040283529160200191610d86565b820191906000526020600020905b815481529060010190602001808311610d6957829003601f168201915b505050505081565b6000610d98612534565b6001546000540303905090565b600681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0f90613fca565b60405180910390fd5b600e60019054906101000a900460ff16610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90614036565b60405180910390fd5b600383610e73336120f0565b610e7d9190614085565b1115610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590614127565b60405180910390fd5b600d5483610eca610d8e565b610ed49190614085565b1115610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90614193565b60405180910390fd5b610f90828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a54610f6561247a565b604051602001610f7591906141fb565b60405160208183030381529060405280519060200120612539565b610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690614262565b60405180910390fd5b82600c54610fdd9190614282565b34101561101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690614328565b60405180910390fd5b6110293384612550565b505050565b61103983838361256e565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a390613fca565b60405180910390fd5b600e60029054906101000a900460ff166110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290614036565b60405180910390fd5b600683611107336120f0565b6111119190614085565b1115611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614127565b60405180910390fd5b600d548361115e610d8e565b6111689190614085565b11156111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090614193565b60405180910390fd5b611224828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506009546111f961247a565b60405160200161120991906141fb565b60405160208183030381529060405280519060200120612539565b611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90614262565b60405180910390fd5b82600c546112719190614282565b3410156112b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112aa90614328565b60405180910390fd5b6112bd3384612550565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613fca565b60405180910390fd5b600e60009054906101000a900460ff1661137f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137690614394565b60405180910390fd5b600081118015611390575060038111155b6113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c690614400565b60405180910390fd5b600d54816113db610d8e565b6113e59190614085565b1115611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614193565b60405180910390fd5b80600c546114349190614282565b341015611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90614328565b60405180910390fd5b6114803382612550565b50565b61148b61247a565b73ffffffffffffffffffffffffffffffffffffffff166114a9611d95565b73ffffffffffffffffffffffffffffffffffffffff16146114ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f690613f5e565b60405180910390fd5b80600a8190555050565b61151161247a565b73ffffffffffffffffffffffffffffffffffffffff1661152f611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90613f5e565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b6115b961247a565b73ffffffffffffffffffffffffffffffffffffffff166115d7611d95565b73ffffffffffffffffffffffffffffffffffffffff161461162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490613f5e565b60405180910390fd5b6000479050600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc601360648461167d919061444f565b6116879190614282565b9081150290604051600060405180830381858888f193505050506116aa57600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60136064846116f5919061444f565b6116ff9190614282565b9081150290604051600060405180830381858888f1935050505061172257600080fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc601360648461176d919061444f565b6117779190614282565b9081150290604051600060405180830381858888f1935050505061179a57600080fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc601e6064846117e5919061444f565b6117ef9190614282565b9081150290604051600060405180830381858888f1935050505061181257600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600860648461185d919061444f565b6118679190614282565b9081150290604051600060405180830381858888f1935050505061188a57600080fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60056064846118d5919061444f565b6118df9190614282565b9081150290604051600060405180830381858888f1935050505061190257600080fd5b50565b61192083838360405180602001604052806000815250611fcf565b505050565b600381565b61193261247a565b73ffffffffffffffffffffffffffffffffffffffff16611950611d95565b73ffffffffffffffffffffffffffffffffffffffff16146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90613f5e565b60405180910390fd5b80601590805190602001906119bc9291906135d1565b5050565b6119c861247a565b73ffffffffffffffffffffffffffffffffffffffff166119e6611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390613f5e565b60405180910390fd5b8060098190555050565b6000611a5182612a24565b600001519050919050565b611a6461247a565b73ffffffffffffffffffffffffffffffffffffffff16611a82611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90613f5e565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600381565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b71576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611be161247a565b73ffffffffffffffffffffffffffffffffffffffff16611bff611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c90613f5e565b60405180910390fd5b611c5f6000612cb3565b565b611c6961247a565b73ffffffffffffffffffffffffffffffffffffffff16611c87611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490613f5e565b60405180910390fd5b80600c8190555050565b60145481565b611cf561247a565b73ffffffffffffffffffffffffffffffffffffffff16611d13611d95565b73ffffffffffffffffffffffffffffffffffffffff1614611d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6090613f5e565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b606060038054611dd490613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0090613ee0565b8015611e4d5780601f10611e2257610100808354040283529160200191611e4d565b820191906000526020600020905b815481529060010190602001808311611e3057829003601f168201915b5050505050905090565b611e5f61247a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ec4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ed161247a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f7e61247a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fc3919061376b565b60405180910390a35050565b611fda84848461256e565b611ff98373ffffffffffffffffffffffffffffffffffffffff16612d79565b801561200e575061200c84848484612d9c565b155b15612045576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606120568261242c565b61208c576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612096612efc565b90506000815114156120b757604051806020016040528060008152506120e2565b806120c184612f8e565b6040516020016120d29291906144bc565b6040516020818303038152906040525b915050919050565b600d5481565b60006120fb826130ef565b9050919050565b600e60029054906101000a900460ff1681565b600a5481565b600e60019054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b6121dd61247a565b73ffffffffffffffffffffffffffffffffffffffff166121fb611d95565b73ffffffffffffffffffffffffffffffffffffffff1614612251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224890613f5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b890614552565b60405180910390fd5b6122ca81612cb3565b50565b6122d561247a565b73ffffffffffffffffffffffffffffffffffffffff166122f3611d95565b73ffffffffffffffffffffffffffffffffffffffff1614612349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234090613f5e565b60405180910390fd5b60008111801561235b57506014548111155b61239a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612391906145e4565b60405180910390fd5b6123a48282612550565b806014546123b29190614604565b6014819055505050565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612437612534565b11158015612446575060005482105b8015612473575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000826125468584613159565b1490509392505050565b61256a8282604051806020016040528060008152506131ce565b5050565b600061257982612a24565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125e4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661260561247a565b73ffffffffffffffffffffffffffffffffffffffff16148061263457506126338561262e61247a565b61212e565b5b80612679575061264261247a565b73ffffffffffffffffffffffffffffffffffffffff1661266184610ae3565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806126b2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612719576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61272685858560016131e0565b61273260008487612482565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156129b25760005482146129b157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a1d85858560016131e6565b5050505050565b612a2c613657565b600082905080612a3a612534565b11158015612a49575060005481105b15612c7c576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c7a57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b5e578092505050612cae565b5b600115612c7957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c74578092505050612cae565b612b5f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dc261247a565b8786866040518563ffffffff1660e01b8152600401612de4949392919061468d565b602060405180830381600087803b158015612dfe57600080fd5b505af1925050508015612e2f57506040513d601f19601f82011682018060405250810190612e2c91906146ee565b60015b612ea9573d8060008114612e5f576040519150601f19603f3d011682016040523d82523d6000602084013e612e64565b606091505b50600081511415612ea1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060158054612f0b90613ee0565b80601f0160208091040260200160405190810160405280929190818152602001828054612f3790613ee0565b8015612f845780601f10612f5957610100808354040283529160200191612f84565b820191906000526020600020905b815481529060010190602001808311612f6757829003601f168201915b5050505050905090565b60606000821415612fd6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ea565b600082905060005b60008214613008578080612ff19061471b565b915050600a82613001919061444f565b9150612fde565b60008167ffffffffffffffff81111561302457613023613976565b5b6040519080825280601f01601f1916602001820160405280156130565781602001600182028036833780820191505090505b5090505b600085146130e35760018261306f9190614604565b9150600a8561307e9190614764565b603061308a9190614085565b60f81b8183815181106130a05761309f614795565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130dc919061444f565b945061305a565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60008082905060005b84518110156131c35760008582815181106131805761317f614795565b5b602002602001015190508083116131a25761319b83826131ec565b92506131af565b6131ac81846131ec565b92505b5080806131bb9061471b565b915050613162565b508091505092915050565b6131db8383836001613203565b505050565b50505050565b50505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613270576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156132ab576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132b860008683876131e0565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561348257506134818773ffffffffffffffffffffffffffffffffffffffff16612d79565b5b15613548575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134f76000888480600101955088612d9c565b61352d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561348857826000541461354357600080fd5b6135b4565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613549575b8160008190555050506135ca60008683876131e6565b5050505050565b8280546135dd90613ee0565b90600052602060002090601f0160209004810192826135ff5760008555613646565b82601f1061361857805160ff1916838001178555613646565b82800160010185558215613646579182015b8281111561364557825182559160200191906001019061362a565b5b509050613653919061369a565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136b357600081600090555060010161369b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613700816136cb565b811461370b57600080fd5b50565b60008135905061371d816136f7565b92915050565b600060208284031215613739576137386136c1565b5b60006137478482850161370e565b91505092915050565b60008115159050919050565b61376581613750565b82525050565b6000602082019050613780600083018461375c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137c05780820151818401526020810190506137a5565b838111156137cf576000848401525b50505050565b6000601f19601f8301169050919050565b60006137f182613786565b6137fb8185613791565b935061380b8185602086016137a2565b613814816137d5565b840191505092915050565b6000602082019050818103600083015261383981846137e6565b905092915050565b6000819050919050565b61385481613841565b811461385f57600080fd5b50565b6000813590506138718161384b565b92915050565b60006020828403121561388d5761388c6136c1565b5b600061389b84828501613862565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138cf826138a4565b9050919050565b6138df816138c4565b82525050565b60006020820190506138fa60008301846138d6565b92915050565b613909816138c4565b811461391457600080fd5b50565b60008135905061392681613900565b92915050565b60008060408385031215613943576139426136c1565b5b600061395185828601613917565b925050602061396285828601613862565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139ae826137d5565b810181811067ffffffffffffffff821117156139cd576139cc613976565b5b80604052505050565b60006139e06136b7565b90506139ec82826139a5565b919050565b600067ffffffffffffffff821115613a0c57613a0b613976565b5b613a15826137d5565b9050602081019050919050565b82818337600083830152505050565b6000613a44613a3f846139f1565b6139d6565b905082815260208101848484011115613a6057613a5f613971565b5b613a6b848285613a22565b509392505050565b600082601f830112613a8857613a8761396c565b5b8135613a98848260208601613a31565b91505092915050565b600060208284031215613ab757613ab66136c1565b5b600082013567ffffffffffffffff811115613ad557613ad46136c6565b5b613ae184828501613a73565b91505092915050565b613af381613841565b82525050565b6000602082019050613b0e6000830184613aea565b92915050565b600080fd5b600080fd5b60008083601f840112613b3457613b3361396c565b5b8235905067ffffffffffffffff811115613b5157613b50613b14565b5b602083019150836020820283011115613b6d57613b6c613b19565b5b9250929050565b600080600060408486031215613b8d57613b8c6136c1565b5b6000613b9b86828701613862565b935050602084013567ffffffffffffffff811115613bbc57613bbb6136c6565b5b613bc886828701613b1e565b92509250509250925092565b600080600060608486031215613bed57613bec6136c1565b5b6000613bfb86828701613917565b9350506020613c0c86828701613917565b9250506040613c1d86828701613862565b9150509250925092565b6000819050919050565b613c3a81613c27565b8114613c4557600080fd5b50565b600081359050613c5781613c31565b92915050565b600060208284031215613c7357613c726136c1565b5b6000613c8184828501613c48565b91505092915050565b600060208284031215613ca057613c9f6136c1565b5b6000613cae84828501613917565b91505092915050565b613cc081613c27565b82525050565b6000602082019050613cdb6000830184613cb7565b92915050565b613cea81613750565b8114613cf557600080fd5b50565b600081359050613d0781613ce1565b92915050565b60008060408385031215613d2457613d236136c1565b5b6000613d3285828601613917565b9250506020613d4385828601613cf8565b9150509250929050565b600067ffffffffffffffff821115613d6857613d67613976565b5b613d71826137d5565b9050602081019050919050565b6000613d91613d8c84613d4d565b6139d6565b905082815260208101848484011115613dad57613dac613971565b5b613db8848285613a22565b509392505050565b600082601f830112613dd557613dd461396c565b5b8135613de5848260208601613d7e565b91505092915050565b60008060008060808587031215613e0857613e076136c1565b5b6000613e1687828801613917565b9450506020613e2787828801613917565b9350506040613e3887828801613862565b925050606085013567ffffffffffffffff811115613e5957613e586136c6565b5b613e6587828801613dc0565b91505092959194509250565b60008060408385031215613e8857613e876136c1565b5b6000613e9685828601613917565b9250506020613ea785828601613917565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ef857607f821691505b60208210811415613f0c57613f0b613eb1565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f48602083613791565b9150613f5382613f12565b602082019050919050565b60006020820190508181036000830152613f7781613f3b565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613fb4601e83613791565b9150613fbf82613f7e565b602082019050919050565b60006020820190508181036000830152613fe381613fa7565b9050919050565b7f4b72656570204c6973742053616c65206973206e6f7420616374697665000000600082015250565b6000614020601d83613791565b915061402b82613fea565b602082019050919050565b6000602082019050818103600083015261404f81614013565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061409082613841565b915061409b83613841565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140d0576140cf614056565b5b828201905092915050565b7f796f752063616e6e6f74206d696e742074686973206d616e7900000000000000600082015250565b6000614111601983613791565b915061411c826140db565b602082019050919050565b6000602082019050818103600083015261414081614104565b9050919050565b7f537570706c7920776f756c642062652065786365656465640000000000000000600082015250565b600061417d601883613791565b915061418882614147565b602082019050919050565b600060208201905081810360008301526141ac81614170565b9050919050565b60008160601b9050919050565b60006141cb826141b3565b9050919050565b60006141dd826141c0565b9050919050565b6141f56141f0826138c4565b6141d2565b82525050565b600061420782846141e4565b60148201915081905092915050565b7f4e6f7420456c696769626c650000000000000000000000000000000000000000600082015250565b600061424c600c83613791565b915061425782614216565b602082019050919050565b6000602082019050818103600083015261427b8161423f565b9050919050565b600061428d82613841565b915061429883613841565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142d1576142d0614056565b5b828202905092915050565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b6000614312601d83613791565b915061431d826142dc565b602082019050919050565b6000602082019050818103600083015261434181614305565b9050919050565b7f5075626c69632053616c65206973206e6f742061637469766500000000000000600082015250565b600061437e601983613791565b915061438982614348565b602082019050919050565b600060208201905081810360008301526143ad81614371565b9050919050565b7f54686973206973206e6f7420706f737369626c65000000000000000000000000600082015250565b60006143ea601483613791565b91506143f5826143b4565b602082019050919050565b60006020820190508181036000830152614419816143dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061445a82613841565b915061446583613841565b92508261447557614474614420565b5b828204905092915050565b600081905092915050565b600061449682613786565b6144a08185614480565b93506144b08185602086016137a2565b80840191505092915050565b60006144c8828561448b565b91506144d4828461448b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061453c602683613791565b9150614547826144e0565b604082019050919050565b6000602082019050818103600083015261456b8161452f565b9050919050565b7f756e61626c6520746f206d696e7420616e79206675727468657220666f72206660008201527f6f756e6465727300000000000000000000000000000000000000000000000000602082015250565b60006145ce602783613791565b91506145d982614572565b604082019050919050565b600060208201905081810360008301526145fd816145c1565b9050919050565b600061460f82613841565b915061461a83613841565b92508282101561462d5761462c614056565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b600061465f82614638565b6146698185614643565b93506146798185602086016137a2565b614682816137d5565b840191505092915050565b60006080820190506146a260008301876138d6565b6146af60208301866138d6565b6146bc6040830185613aea565b81810360608301526146ce8184614654565b905095945050505050565b6000815190506146e8816136f7565b92915050565b600060208284031215614704576147036136c1565b5b6000614712848285016146d9565b91505092915050565b600061472682613841565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561475957614758614056565b5b600182019050919050565b600061476f82613841565b915061477a83613841565b92508261478a57614789614420565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212208778229c61ca523ddb0088acabc4748e7511b202e6821f3997f6600a82dbb5fc64736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.