ETH Price: $3,480.87 (+2.12%)

Contract

0x23e025f13D1303C3C4B73280767f63e0f94A48F9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...162878082022-12-29 3:43:47727 days ago1672285427IN
DN PFP: DN Token
0 ETH0.0007225515.47720358
Set Approval For...162377652022-12-22 4:10:59734 days ago1671682259IN
DN PFP: DN Token
0 ETH0.0006323913.54594204
Approve161705722022-12-12 19:00:35743 days ago1670871635IN
DN PFP: DN Token
0 ETH0.0010893921.10286858
Approve161705652022-12-12 18:59:11743 days ago1670871551IN
DN PFP: DN Token
0 ETH0.0009142117.70937141
Set Approval For...161174522022-12-05 8:36:47750 days ago1670229407IN
DN PFP: DN Token
0 ETH0.0006030112.91677612
Safe Transfer Fr...161014582022-12-03 2:59:47753 days ago1670036387IN
DN PFP: DN Token
0 ETH0.0007866511.92309621
Safe Transfer Fr...160991242022-12-02 19:10:23753 days ago1670008223IN
DN PFP: DN Token
0 ETH0.0018036119.93229249
Set Approval For...160663412022-11-28 5:18:11758 days ago1669612691IN
DN PFP: DN Token
0 ETH0.0005237911.2197282
Withdraw160216302022-11-21 23:20:23764 days ago1669072823IN
DN PFP: DN Token
0 ETH0.0003816712.33433249
Mint160129972022-11-20 18:24:35765 days ago1668968675IN
DN PFP: DN Token
0.0198 ETH0.0013136312.76443244
Mint160105012022-11-20 10:02:23765 days ago1668938543IN
DN PFP: DN Token
0.0099 ETH0.0013156513.0744247
Set Approval For...160064672022-11-19 20:32:11766 days ago1668889931IN
DN PFP: DN Token
0 ETH0.0005556911.90316289
Mint160061282022-11-19 19:23:59766 days ago1668885839IN
DN PFP: DN Token
0.0198 ETH0.0014826214.40648016
Mint159994712022-11-18 21:05:35767 days ago1668805535IN
DN PFP: DN Token
0.0198 ETH0.0014419414.01115451
Mint159966572022-11-18 11:39:47767 days ago1668771587IN
DN PFP: DN Token
0.0099 ETH0.0008819813.27726534
Mint159966422022-11-18 11:36:47767 days ago1668771407IN
DN PFP: DN Token
0.0099 ETH0.0014598314.50729143
Set Approval For...159957922022-11-18 8:46:23767 days ago1668761183IN
DN PFP: DN Token
0 ETH0.0005879712.59456237
Set Approval For...159957822022-11-18 8:44:23767 days ago1668761063IN
DN PFP: DN Token
0 ETH0.0005846512.5233425
Set Approval For...159957682022-11-18 8:41:35767 days ago1668760895IN
DN PFP: DN Token
0 ETH0.0006259613.40836246
Mint159950562022-11-18 6:18:23768 days ago1668752303IN
DN PFP: DN Token
0.0198 ETH0.0014543314.13154911
Mint159946182022-11-18 4:50:11768 days ago1668747011IN
DN PFP: DN Token
0.0198 ETH0.0012647612.28952642
Mint159942642022-11-18 3:38:59768 days ago1668742739IN
DN PFP: DN Token
0.0198 ETH0.0014305513.90051321
Mint159942052022-11-18 3:27:11768 days ago1668742031IN
DN PFP: DN Token
0.0198 ETH0.0014500514.08996934
Mint159940812022-11-18 3:02:11768 days ago1668740531IN
DN PFP: DN Token
0.0099 ETH0.0012701912.62263322
Set Approval For...159938272022-11-18 2:10:59768 days ago1668737459IN
DN PFP: DN Token
0 ETH0.0006541914.01287808
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
160216302022-11-21 23:20:23764 days ago1669072823
DN PFP: DN Token
1.1088 ETH
159919812022-11-17 19:58:59768 days ago1668715139
DN PFP: DN Token
0.0396 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DNPFP

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : DNPFP.sol
//SPDX-License-Identifier: MIT
//IN BILLIONAIRE WE TRUST

/*
                                                                                                                   
DDDDDDDDDDDDD        NNNNNNNN        NNNNNNNN     PPPPPPPPPPPPPPPPP   FFFFFFFFFFFFFFFFFFFFFFPPPPPPPPPPPPPPPPP      SSSSSSSSSSSSSSS 
D::::::::::::DDD     N:::::::N       N::::::N     P::::::::::::::::P  F::::::::::::::::::::FP::::::::::::::::P   SS:::::::::::::::S
D:::::::::::::::DD   N::::::::N      N::::::N     P::::::PPPPPP:::::P F::::::::::::::::::::FP::::::PPPPPP:::::P S:::::SSSSSS::::::S
DDD:::::DDDDD:::::D  N:::::::::N     N::::::N     PP:::::P     P:::::PFF::::::FFFFFFFFF::::FPP:::::P     P:::::PS:::::S     SSSSSSS
  D:::::D    D:::::D N::::::::::N    N::::::N       P::::P     P:::::P  F:::::F       FFFFFF  P::::P     P:::::PS:::::S            
  D:::::D     D:::::DN:::::::::::N   N::::::N       P::::P     P:::::P  F:::::F               P::::P     P:::::PS:::::S            
  D:::::D     D:::::DN:::::::N::::N  N::::::N       P::::PPPPPP:::::P   F::::::FFFFFFFFFF     P::::PPPPPP:::::P  S::::SSSS         
  D:::::D     D:::::DN::::::N N::::N N::::::N       P:::::::::::::PP    F:::::::::::::::F     P:::::::::::::PP    SS::::::SSSSS    
  D:::::D     D:::::DN::::::N  N::::N:::::::N       P::::PPPPPPPPP      F:::::::::::::::F     P::::PPPPPPPPP        SSS::::::::SS  
  D:::::D     D:::::DN::::::N   N:::::::::::N       P::::P              F::::::FFFFFFFFFF     P::::P                   SSSSSS::::S 
  D:::::D     D:::::DN::::::N    N::::::::::N       P::::P              F:::::F               P::::P                        S:::::S
  D:::::D    D:::::D N::::::N     N:::::::::N       P::::P              F:::::F               P::::P                        S:::::S
DDD:::::DDDDD:::::D  N::::::N      N::::::::N     PP::::::PP          FF:::::::FF           PP::::::PP          SSSSSSS     S:::::S
D:::::::::::::::DD   N::::::N       N:::::::N     P::::::::P          F::::::::FF           P::::::::P          S::::::SSSSSS:::::S
D::::::::::::DDD     N::::::N        N::::::N     P::::::::P          F::::::::FF           P::::::::P          S:::::::::::::::SS 
DDDDDDDDDDDDD        NNNNNNNN         NNNNNNN     PPPPPPPPPP          FFFFFFFFFFF           PPPPPPPPPP           SSSSSSSSSSSSSSS  

*/

pragma solidity ^0.8.7;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract DNPFP is ERC721A, Ownable {
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 1000;
    uint256 public constant WHITELIST_PRICE = 0.0099 ether;
    uint256 public constant PUBLIC_PRICE = 0.0099 ether;

    uint256 public constant MAX_QUANTITY = 2;

    address public constant THE_MONKEY_WALLET = 0x1f97c140b9D67BdFFf5F4a55923ebC1442D67A13;

    mapping(address => uint256) public whitelistedMint;
    mapping(address => uint256) public publicMint;

    bool public mintTime = false;
    bool public publicMintTime = false;

    string private baseTokenUri = "https://chocolate-charming-kite-7.mypinata.cloud/ipfs/QmP52Fh8vYLXbCCX1NiMfydmhV9wPGnLrc8dkNZNKU42AD/";

    bytes32 public whitelistMerkleRoot = 0x34583c40e5f0f57f95539170f0277526a95b30f488ac9211d298d88401f2990b;

    constructor() ERC721A("DN PFP", "DN") {

        _safeMint(THE_MONKEY_WALLET, 50);

    }

    function whitelistMint(uint256 _quantity, bytes32[] calldata _merkleProof) external payable {

        require((totalSupply() + _quantity) <= MAX_SUPPLY, "Out Of Stock!");
        require(mintTime, "It is not time to mint");
        require(whitelistedMint[msg.sender] + _quantity <= MAX_QUANTITY, "Already Minted!");
        require(msg.value >= WHITELIST_PRICE, "Not enough Ether");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, whitelistMerkleRoot, leaf), "Invalid Merkle Proof");

            whitelistedMint[msg.sender] += _quantity;
            _safeMint(msg.sender, _quantity);

    }

    function mint(uint256 _quantity) external payable {

        require((totalSupply() + _quantity) <= MAX_SUPPLY, "Out Of Stock!");
        require(publicMintTime, "It is not time to mint");
        require(publicMint[msg.sender] + _quantity <= MAX_QUANTITY, "Already Minted!");
        require(msg.value >= PUBLIC_PRICE * _quantity, "Not enough Ether");

            
            publicMint[msg.sender] += _quantity;
            _safeMint(msg.sender, _quantity);

    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        uint256 trueId = tokenId;

        return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, trueId.toString(), ".json")) : "";
    }

    function setTokenURI(string memory _baseTokenUri) external onlyOwner {
        baseTokenUri = _baseTokenUri;
    }

    function flipState() public onlyOwner {

        mintTime = !mintTime;
    }

    function flipStatePublic() public onlyOwner {

        publicMintTime = !publicMintTime;
    }

    function setWhitelistMerkleRoot(bytes32 _merkleRoot) public onlyOwner {

        whitelistMerkleRoot = _merkleRoot;

    }

    function withdraw() external onlyOwner {

        uint256 balance = address(this).balance;

        Address.sendValue(payable(owner()), balance);
    }

}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 4 of 13 : 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/token/ERC721/extensions/IERC721Enumerable.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 MintedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error UnableDetermineTokenOwner();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal _currentIndex;

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        if (index >= totalSupply()) revert TokenIndexOutOfBounds();
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        assert(false);
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).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);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

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

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert UnableDetermineTokenOwner();
    }

    /**
     * @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 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 override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(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 tokenId < _currentIndex;
    }

    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 > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }

                updatedIndex++;
            }

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 5 of 13 : 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 6 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 7 of 13 : 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 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 13 : 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 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 13 : 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":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"UnableDetermineTokenOwner","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":[],"name":"MAX_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THE_MONKEY_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipStatePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff0219169083151502179055506040518060a0016040528060658152602001620048f260659139600b90805190602001906200006b929190620007ff565b507f34583c40e5f0f57f95539170f0277526a95b30f488ac9211d298d88401f2990b60001b600c55348015620000a057600080fd5b506040518060400160405280600681526020017f444e2050465000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f444e000000000000000000000000000000000000000000000000000000000000815250816001908051906020019062000125929190620007ff565b5080600290805190602001906200013e929190620007ff565b50505062000161620001556200018e60201b60201c565b6200019660201b60201c565b62000188731f97c140b9d67bdfff5f4a55923ebc1442d67a1360326200025c60201b60201c565b62000b00565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200027e8282604051806020016040528060008152506200028260201b60201c565b5050565b6200029783838360016200029c60201b60201c565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156200030a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141562000346576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200035b60008683876200062160201b60201c565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015620005fc57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015620005ae5750620005ac60008884886200062760201b60201c565b155b15620005e6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505062000529565b5080600081905550506200061a6000868387620007d660201b60201c565b5050505050565b50505050565b6000620006558473ffffffffffffffffffffffffffffffffffffffff16620007dc60201b6200192e1760201c565b15620007c9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006876200018e60201b60201c565b8786866040518563ffffffff1660e01b8152600401620006ab94939291906200095b565b602060405180830381600087803b158015620006c657600080fd5b505af1925050508015620006fa57506040513d601f19601f82011682018060405250810190620006f79190620008c6565b60015b62000778573d80600081146200072d576040519150601f19603f3d011682016040523d82523d6000602084013e62000732565b606091505b5060008151141562000770576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620007ce565b600190505b949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546200080d9062000a6b565b90600052602060002090601f0160209004810192826200083157600085556200087d565b82601f106200084c57805160ff19168380011785556200087d565b828001600101855582156200087d579182015b828111156200087c5782518255916020019190600101906200085f565b5b5090506200088c919062000890565b5090565b5b80821115620008ab57600081600090555060010162000891565b5090565b600081519050620008c08162000ae6565b92915050565b600060208284031215620008df57620008de62000ad0565b5b6000620008ef84828501620008af565b91505092915050565b6200090381620009cb565b82525050565b60006200091682620009af565b620009228185620009ba565b93506200093481856020860162000a35565b6200093f8162000ad5565b840191505092915050565b620009558162000a2b565b82525050565b6000608082019050620009726000830187620008f8565b620009816020830186620008f8565b6200099060408301856200094a565b8181036060830152620009a4818462000909565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b6000620009d88262000a0b565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000a5557808201518184015260208101905062000a38565b8381111562000a65576000848401525b50505050565b6000600282049050600182168062000a8457607f821691505b6020821081141562000a9b5762000a9a62000aa1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b62000af181620009df565b811462000afd57600080fd5b50565b613de28062000b106000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063b88d4fde116100a0578063e0df5b6f1161006f578063e0df5b6f1461075f578063e41ee46a14610788578063e5f96dcf146107b3578063e985e9c5146107f0578063f2fde38b1461082d5761020f565b8063b88d4fde146106b4578063bd32fb66146106dd578063c87b56dd14610706578063d2cab056146107435761020f565b80638e920351116100e75780638e9203511461060257806395d89b4114610619578063a0712d6814610644578063a22cb46514610660578063aa98e0c6146106895761020f565b806370a0823114610558578063715018a61461059557806386478122146105ac5780638da5cb5b146105d75761020f565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461045f5780634f6ccce7146104885780635e403472146104c5578063611f3f10146104f05780636352211e1461051b5761020f565b80632f745c59146103a357806332a93a3a146103e057806332cb6b0c1461041d5780633ccfd60b146104485761020f565b80631670ea86116101e25780631670ea86146102e257806317e7f295146102f957806318160ddd1461032457806323b872dd1461034f5780632c1425e2146103785761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612f29565b610856565b6040516102489190613438565b60405180910390f35b34801561025d57600080fd5b506102666109a0565b604051610273919061346e565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612fcc565b610a32565b6040516102b091906133d1565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612ebc565b610aae565b005b3480156102ee57600080fd5b506102f7610bb9565b005b34801561030557600080fd5b5061030e610bed565b60405161031b91906135d0565b60405180910390f35b34801561033057600080fd5b50610339610bf8565b60405161034691906135d0565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190612da6565b610c01565b005b34801561038457600080fd5b5061038d610c11565b60405161039a91906133d1565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190612ebc565b610c29565b6040516103d791906135d0565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190612d39565b610dea565b60405161041491906135d0565b60405180910390f35b34801561042957600080fd5b50610432610e02565b60405161043f91906135d0565b60405180910390f35b34801561045457600080fd5b5061045d610e08565b005b34801561046b57600080fd5b5061048660048036038101906104819190612da6565b610e29565b005b34801561049457600080fd5b506104af60048036038101906104aa9190612fcc565b610e49565b6040516104bc91906135d0565b60405180910390f35b3480156104d157600080fd5b506104da610e93565b6040516104e79190613438565b60405180910390f35b3480156104fc57600080fd5b50610505610ea6565b60405161051291906135d0565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190612fcc565b610eb1565b60405161054f91906133d1565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190612d39565b610ec7565b60405161058c91906135d0565b60405180910390f35b3480156105a157600080fd5b506105aa610fa7565b005b3480156105b857600080fd5b506105c1610fbb565b6040516105ce9190613438565b60405180910390f35b3480156105e357600080fd5b506105ec610fce565b6040516105f991906133d1565b60405180910390f35b34801561060e57600080fd5b50610617610ff8565b005b34801561062557600080fd5b5061062e61102c565b60405161063b919061346e565b60405180910390f35b61065e60048036038101906106599190612fcc565b6110be565b005b34801561066c57600080fd5b5061068760048036038101906106829190612e7c565b6112aa565b005b34801561069557600080fd5b5061069e611422565b6040516106ab9190613453565b60405180910390f35b3480156106c057600080fd5b506106db60048036038101906106d69190612df9565b611428565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190612efc565b61147b565b005b34801561071257600080fd5b5061072d60048036038101906107289190612fcc565b61148d565b60405161073a919061346e565b60405180910390f35b61075d60048036038101906107589190612ff9565b61153b565b005b34801561076b57600080fd5b5061078660048036038101906107819190612f83565b6117d7565b005b34801561079457600080fd5b5061079d6117f9565b6040516107aa91906135d0565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d59190612d39565b6117fe565b6040516107e791906135d0565b60405180910390f35b3480156107fc57600080fd5b5061081760048036038101906108129190612d66565b611816565b6040516108249190613438565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190612d39565b6118aa565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061098957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610999575061099882611951565b5b9050919050565b6060600180546109af906138aa565b80601f01602080910402602001604051908101604052809291908181526020018280546109db906138aa565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3d826119bb565b610a73576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab982610eb1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b21576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b406119c8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b725750610b7081610b6b6119c8565b611816565b155b15610ba9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb48383836119d0565b505050565b610bc1611a82565b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b66232bff5f46c00081565b60008054905090565b610c0c838383611b00565b505050565b731f97c140b9d67bdfff5f4a55923ebc1442d67a1381565b6000610c3483610ec7565b8210610c6c576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c76610bf8565b905060008060005b83811015610dd0576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d7057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dc25786841415610db9578195505050505050610de4565b83806001019450505b508080600101915050610c7e565b506000610de057610ddf6139ab565b5b5050505b92915050565b60096020528060005260406000206000915090505481565b6103e881565b610e10611a82565b6000479050610e26610e20610fce565b82612025565b50565b610e4483838360405180602001604052806000815250611428565b505050565b6000610e53610bf8565b8210610e8b576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b600a60019054906101000a900460ff1681565b66232bff5f46c00081565b6000610ebc82612119565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b610faf611a82565b610fb960006122a1565b565b600a60009054906101000a900460ff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611000611a82565b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b60606002805461103b906138aa565b80601f0160208091040260200160405190810160405280929190818152602001828054611067906138aa565b80156110b45780601f10611089576101008083540402835291602001916110b4565b820191906000526020600020905b81548152906001019060200180831161109757829003601f168201915b5050505050905090565b6103e8816110ca610bf8565b6110d491906136d5565b1115611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90613490565b60405180910390fd5b600a60019054906101000a900460ff16611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115b90613570565b60405180910390fd5b600281600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111b191906136d5565b11156111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e9906134d0565b60405180910390fd5b8066232bff5f46c000611205919061375c565b341015611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e90613590565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461129691906136d5565b925050819055506112a73382612367565b50565b6112b26119c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611317576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006113246119c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113d16119c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114169190613438565b60405180910390a35050565b600c5481565b611433848484611b00565b61143f84848484612385565b611475576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611483611a82565b80600c8190555050565b6060611498826119bb565b6114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90613550565b60405180910390fd5b60008290506000600b80546114eb906138aa565b9050116115075760405180602001604052806000815250611533565b600b61151282612513565b60405160200161152392919061338d565b6040516020818303038152906040525b915050919050565b6103e883611547610bf8565b61155191906136d5565b1115611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990613490565b60405180910390fd5b600a60009054906101000a900460ff166115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d890613570565b60405180910390fd5b600283600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162e91906136d5565b111561166f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611666906134d0565b60405180910390fd5b66232bff5f46c0003410156116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090613590565b60405180910390fd5b6000336040516020016116cc9190613372565b604051602081830303815290604052805190602001209050611732838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612674565b611771576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611768906135b0565b60405180910390fd5b83600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117c091906136d5565b925050819055506117d13385612367565b50505050565b6117df611a82565b80600b90805190602001906117f5929190612aa8565b5050565b600281565b60086020528060005260406000206000915090505481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118b2611a82565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611922576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611919906134b0565b60405180910390fd5b61192b816122a1565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611a8a6119c8565b73ffffffffffffffffffffffffffffffffffffffff16611aa8610fce565b73ffffffffffffffffffffffffffffffffffffffff1614611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590613530565b60405180910390fd5b565b6000611b0b82612119565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611b326119c8565b73ffffffffffffffffffffffffffffffffffffffff161480611b8e5750611b576119c8565b73ffffffffffffffffffffffffffffffffffffffff16611b7684610a32565b73ffffffffffffffffffffffffffffffffffffffff16145b80611baa5750611ba98260000151611ba46119c8565b611816565b5b905080611be3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c4c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cb3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cc0858585600161268b565b611cd060008484600001516119d0565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611fb557611f14816119bb565b15611fb45782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461201e8585856001612691565b5050505050565b80471015612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613510565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161208e906133bc565b60006040518083038185875af1925050503d80600081146120cb576040519150601f19603f3d011682016040523d82523d6000602084013e6120d0565b606091505b5050905080612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b906134f0565b60405180910390fd5b505050565b612121612b2e565b61212a826119bb565b612160576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b60008110612269576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461225a57809250505061229c565b50808060019003915050612166565b506040517fe7c0edfb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612381828260405180602001604052806000815250612697565b5050565b60006123a68473ffffffffffffffffffffffffffffffffffffffff1661192e565b15612506578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123cf6119c8565b8786866040518563ffffffff1660e01b81526004016123f194939291906133ec565b602060405180830381600087803b15801561240b57600080fd5b505af192505050801561243c57506040513d601f19601f820116820180604052508101906124399190612f56565b60015b6124b6573d806000811461246c576040519150601f19603f3d011682016040523d82523d6000602084013e612471565b606091505b506000815114156124ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061250b565b600190505b949350505050565b6060600082141561255b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061266f565b600082905060005b6000821461258d5780806125769061390d565b915050600a82612586919061372b565b9150612563565b60008167ffffffffffffffff8111156125a9576125a8613a96565b5b6040519080825280601f01601f1916602001820160405280156125db5781602001600182028036833780820191505090505b5090505b60008514612668576001826125f491906137b6565b9150600a85612603919061397a565b603061260f91906136d5565b60f81b81838151811061262557612624613a67565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612661919061372b565b94506125df565b8093505050505b919050565b60008261268185846126a9565b1490509392505050565b50505050565b50505050565b6126a483838360016126ff565b505050565b60008082905060005b84518110156126f4576126df828683815181106126d2576126d1613a67565b5b6020026020010151612a66565b915080806126ec9061390d565b9150506126b2565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561276c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156127a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127b4600086838761268b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612a4957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156129fd57506129fb6000888488612385565b155b15612a34576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612982565b508060008190555050612a5f6000868387612691565b5050505050565b6000818310612a7e57612a798284612a91565b612a89565b612a888383612a91565b5b905092915050565b600082600052816020526040600020905092915050565b828054612ab4906138aa565b90600052602060002090601f016020900481019282612ad65760008555612b1d565b82601f10612aef57805160ff1916838001178555612b1d565b82800160010185558215612b1d579182015b82811115612b1c578251825591602001919060010190612b01565b5b509050612b2a9190612b68565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612b81576000816000905550600101612b69565b5090565b6000612b98612b9384613610565b6135eb565b905082815260208101848484011115612bb457612bb3613ad4565b5b612bbf848285613868565b509392505050565b6000612bda612bd584613641565b6135eb565b905082815260208101848484011115612bf657612bf5613ad4565b5b612c01848285613868565b509392505050565b600081359050612c1881613d39565b92915050565b60008083601f840112612c3457612c33613aca565b5b8235905067ffffffffffffffff811115612c5157612c50613ac5565b5b602083019150836020820283011115612c6d57612c6c613acf565b5b9250929050565b600081359050612c8381613d50565b92915050565b600081359050612c9881613d67565b92915050565b600081359050612cad81613d7e565b92915050565b600081519050612cc281613d7e565b92915050565b600082601f830112612cdd57612cdc613aca565b5b8135612ced848260208601612b85565b91505092915050565b600082601f830112612d0b57612d0a613aca565b5b8135612d1b848260208601612bc7565b91505092915050565b600081359050612d3381613d95565b92915050565b600060208284031215612d4f57612d4e613ade565b5b6000612d5d84828501612c09565b91505092915050565b60008060408385031215612d7d57612d7c613ade565b5b6000612d8b85828601612c09565b9250506020612d9c85828601612c09565b9150509250929050565b600080600060608486031215612dbf57612dbe613ade565b5b6000612dcd86828701612c09565b9350506020612dde86828701612c09565b9250506040612def86828701612d24565b9150509250925092565b60008060008060808587031215612e1357612e12613ade565b5b6000612e2187828801612c09565b9450506020612e3287828801612c09565b9350506040612e4387828801612d24565b925050606085013567ffffffffffffffff811115612e6457612e63613ad9565b5b612e7087828801612cc8565b91505092959194509250565b60008060408385031215612e9357612e92613ade565b5b6000612ea185828601612c09565b9250506020612eb285828601612c74565b9150509250929050565b60008060408385031215612ed357612ed2613ade565b5b6000612ee185828601612c09565b9250506020612ef285828601612d24565b9150509250929050565b600060208284031215612f1257612f11613ade565b5b6000612f2084828501612c89565b91505092915050565b600060208284031215612f3f57612f3e613ade565b5b6000612f4d84828501612c9e565b91505092915050565b600060208284031215612f6c57612f6b613ade565b5b6000612f7a84828501612cb3565b91505092915050565b600060208284031215612f9957612f98613ade565b5b600082013567ffffffffffffffff811115612fb757612fb6613ad9565b5b612fc384828501612cf6565b91505092915050565b600060208284031215612fe257612fe1613ade565b5b6000612ff084828501612d24565b91505092915050565b60008060006040848603121561301257613011613ade565b5b600061302086828701612d24565b935050602084013567ffffffffffffffff81111561304157613040613ad9565b5b61304d86828701612c1e565b92509250509250925092565b613062816137ea565b82525050565b613079613074826137ea565b613956565b82525050565b613088816137fc565b82525050565b61309781613808565b82525050565b60006130a882613687565b6130b2818561369d565b93506130c2818560208601613877565b6130cb81613ae3565b840191505092915050565b60006130e182613692565b6130eb81856136b9565b93506130fb818560208601613877565b61310481613ae3565b840191505092915050565b600061311a82613692565b61312481856136ca565b9350613134818560208601613877565b80840191505092915050565b6000815461314d816138aa565b61315781866136ca565b945060018216600081146131725760018114613183576131b6565b60ff198316865281860193506131b6565b61318c85613672565b60005b838110156131ae5781548189015260018201915060208101905061318f565b838801955050505b50505092915050565b60006131cc600d836136b9565b91506131d782613b01565b602082019050919050565b60006131ef6026836136b9565b91506131fa82613b2a565b604082019050919050565b6000613212600f836136b9565b915061321d82613b79565b602082019050919050565b6000613235603a836136b9565b915061324082613ba2565b604082019050919050565b6000613258601d836136b9565b915061326382613bf1565b602082019050919050565b600061327b6005836136ca565b915061328682613c1a565b600582019050919050565b600061329e6020836136b9565b91506132a982613c43565b602082019050919050565b60006132c1602f836136b9565b91506132cc82613c6c565b604082019050919050565b60006132e46016836136b9565b91506132ef82613cbb565b602082019050919050565b60006133076000836136ae565b915061331282613ce4565b600082019050919050565b600061332a6010836136b9565b915061333582613ce7565b602082019050919050565b600061334d6014836136b9565b915061335882613d10565b602082019050919050565b61336c8161385e565b82525050565b600061337e8284613068565b60148201915081905092915050565b60006133998285613140565b91506133a5828461310f565b91506133b08261326e565b91508190509392505050565b60006133c7826132fa565b9150819050919050565b60006020820190506133e66000830184613059565b92915050565b60006080820190506134016000830187613059565b61340e6020830186613059565b61341b6040830185613363565b818103606083015261342d818461309d565b905095945050505050565b600060208201905061344d600083018461307f565b92915050565b6000602082019050613468600083018461308e565b92915050565b6000602082019050818103600083015261348881846130d6565b905092915050565b600060208201905081810360008301526134a9816131bf565b9050919050565b600060208201905081810360008301526134c9816131e2565b9050919050565b600060208201905081810360008301526134e981613205565b9050919050565b6000602082019050818103600083015261350981613228565b9050919050565b600060208201905081810360008301526135298161324b565b9050919050565b6000602082019050818103600083015261354981613291565b9050919050565b60006020820190508181036000830152613569816132b4565b9050919050565b60006020820190508181036000830152613589816132d7565b9050919050565b600060208201905081810360008301526135a98161331d565b9050919050565b600060208201905081810360008301526135c981613340565b9050919050565b60006020820190506135e56000830184613363565b92915050565b60006135f5613606565b905061360182826138dc565b919050565b6000604051905090565b600067ffffffffffffffff82111561362b5761362a613a96565b5b61363482613ae3565b9050602081019050919050565b600067ffffffffffffffff82111561365c5761365b613a96565b5b61366582613ae3565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136e08261385e565b91506136eb8361385e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137205761371f6139da565b5b828201905092915050565b60006137368261385e565b91506137418361385e565b92508261375157613750613a09565b5b828204905092915050565b60006137678261385e565b91506137728361385e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137ab576137aa6139da565b5b828202905092915050565b60006137c18261385e565b91506137cc8361385e565b9250828210156137df576137de6139da565b5b828203905092915050565b60006137f58261383e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561389557808201518184015260208101905061387a565b838111156138a4576000848401525b50505050565b600060028204905060018216806138c257607f821691505b602082108114156138d6576138d5613a38565b5b50919050565b6138e582613ae3565b810181811067ffffffffffffffff8211171561390457613903613a96565b5b80604052505050565b60006139188261385e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561394b5761394a6139da565b5b600182019050919050565b600061396182613968565b9050919050565b600061397382613af4565b9050919050565b60006139858261385e565b91506139908361385e565b9250826139a05761399f613a09565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f7574204f662053746f636b2100000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479204d696e746564210000000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4974206973206e6f742074696d6520746f206d696e7400000000000000000000600082015250565b50565b7f4e6f7420656e6f75676820457468657200000000000000000000000000000000600082015250565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b613d42816137ea565b8114613d4d57600080fd5b50565b613d59816137fc565b8114613d6457600080fd5b50565b613d7081613808565b8114613d7b57600080fd5b50565b613d8781613812565b8114613d9257600080fd5b50565b613d9e8161385e565b8114613da957600080fd5b5056fea26469706673582212205217a5cc60e0b3e5c69b45a8858d60b0225aa1f479ef07a4f8d9d7d29202100f64736f6c6343000807003368747470733a2f2f63686f636f6c6174652d636861726d696e672d6b6974652d372e6d7970696e6174612e636c6f75642f697066732f516d50353246683876594c5862434358314e694d6679646d6856397750476e4c726338646b4e5a4e4b55343241442f

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806370a0823111610118578063b88d4fde116100a0578063e0df5b6f1161006f578063e0df5b6f1461075f578063e41ee46a14610788578063e5f96dcf146107b3578063e985e9c5146107f0578063f2fde38b1461082d5761020f565b8063b88d4fde146106b4578063bd32fb66146106dd578063c87b56dd14610706578063d2cab056146107435761020f565b80638e920351116100e75780638e9203511461060257806395d89b4114610619578063a0712d6814610644578063a22cb46514610660578063aa98e0c6146106895761020f565b806370a0823114610558578063715018a61461059557806386478122146105ac5780638da5cb5b146105d75761020f565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461045f5780634f6ccce7146104885780635e403472146104c5578063611f3f10146104f05780636352211e1461051b5761020f565b80632f745c59146103a357806332a93a3a146103e057806332cb6b0c1461041d5780633ccfd60b146104485761020f565b80631670ea86116101e25780631670ea86146102e257806317e7f295146102f957806318160ddd1461032457806323b872dd1461034f5780632c1425e2146103785761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612f29565b610856565b6040516102489190613438565b60405180910390f35b34801561025d57600080fd5b506102666109a0565b604051610273919061346e565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612fcc565b610a32565b6040516102b091906133d1565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612ebc565b610aae565b005b3480156102ee57600080fd5b506102f7610bb9565b005b34801561030557600080fd5b5061030e610bed565b60405161031b91906135d0565b60405180910390f35b34801561033057600080fd5b50610339610bf8565b60405161034691906135d0565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190612da6565b610c01565b005b34801561038457600080fd5b5061038d610c11565b60405161039a91906133d1565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190612ebc565b610c29565b6040516103d791906135d0565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190612d39565b610dea565b60405161041491906135d0565b60405180910390f35b34801561042957600080fd5b50610432610e02565b60405161043f91906135d0565b60405180910390f35b34801561045457600080fd5b5061045d610e08565b005b34801561046b57600080fd5b5061048660048036038101906104819190612da6565b610e29565b005b34801561049457600080fd5b506104af60048036038101906104aa9190612fcc565b610e49565b6040516104bc91906135d0565b60405180910390f35b3480156104d157600080fd5b506104da610e93565b6040516104e79190613438565b60405180910390f35b3480156104fc57600080fd5b50610505610ea6565b60405161051291906135d0565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190612fcc565b610eb1565b60405161054f91906133d1565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190612d39565b610ec7565b60405161058c91906135d0565b60405180910390f35b3480156105a157600080fd5b506105aa610fa7565b005b3480156105b857600080fd5b506105c1610fbb565b6040516105ce9190613438565b60405180910390f35b3480156105e357600080fd5b506105ec610fce565b6040516105f991906133d1565b60405180910390f35b34801561060e57600080fd5b50610617610ff8565b005b34801561062557600080fd5b5061062e61102c565b60405161063b919061346e565b60405180910390f35b61065e60048036038101906106599190612fcc565b6110be565b005b34801561066c57600080fd5b5061068760048036038101906106829190612e7c565b6112aa565b005b34801561069557600080fd5b5061069e611422565b6040516106ab9190613453565b60405180910390f35b3480156106c057600080fd5b506106db60048036038101906106d69190612df9565b611428565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190612efc565b61147b565b005b34801561071257600080fd5b5061072d60048036038101906107289190612fcc565b61148d565b60405161073a919061346e565b60405180910390f35b61075d60048036038101906107589190612ff9565b61153b565b005b34801561076b57600080fd5b5061078660048036038101906107819190612f83565b6117d7565b005b34801561079457600080fd5b5061079d6117f9565b6040516107aa91906135d0565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d59190612d39565b6117fe565b6040516107e791906135d0565b60405180910390f35b3480156107fc57600080fd5b5061081760048036038101906108129190612d66565b611816565b6040516108249190613438565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190612d39565b6118aa565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061098957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610999575061099882611951565b5b9050919050565b6060600180546109af906138aa565b80601f01602080910402602001604051908101604052809291908181526020018280546109db906138aa565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3d826119bb565b610a73576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab982610eb1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b21576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b406119c8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b725750610b7081610b6b6119c8565b611816565b155b15610ba9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb48383836119d0565b505050565b610bc1611a82565b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b66232bff5f46c00081565b60008054905090565b610c0c838383611b00565b505050565b731f97c140b9d67bdfff5f4a55923ebc1442d67a1381565b6000610c3483610ec7565b8210610c6c576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c76610bf8565b905060008060005b83811015610dd0576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d7057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dc25786841415610db9578195505050505050610de4565b83806001019450505b508080600101915050610c7e565b506000610de057610ddf6139ab565b5b5050505b92915050565b60096020528060005260406000206000915090505481565b6103e881565b610e10611a82565b6000479050610e26610e20610fce565b82612025565b50565b610e4483838360405180602001604052806000815250611428565b505050565b6000610e53610bf8565b8210610e8b576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b600a60019054906101000a900460ff1681565b66232bff5f46c00081565b6000610ebc82612119565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b610faf611a82565b610fb960006122a1565b565b600a60009054906101000a900460ff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611000611a82565b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b60606002805461103b906138aa565b80601f0160208091040260200160405190810160405280929190818152602001828054611067906138aa565b80156110b45780601f10611089576101008083540402835291602001916110b4565b820191906000526020600020905b81548152906001019060200180831161109757829003601f168201915b5050505050905090565b6103e8816110ca610bf8565b6110d491906136d5565b1115611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90613490565b60405180910390fd5b600a60019054906101000a900460ff16611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115b90613570565b60405180910390fd5b600281600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111b191906136d5565b11156111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e9906134d0565b60405180910390fd5b8066232bff5f46c000611205919061375c565b341015611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e90613590565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461129691906136d5565b925050819055506112a73382612367565b50565b6112b26119c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611317576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006113246119c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113d16119c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114169190613438565b60405180910390a35050565b600c5481565b611433848484611b00565b61143f84848484612385565b611475576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611483611a82565b80600c8190555050565b6060611498826119bb565b6114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90613550565b60405180910390fd5b60008290506000600b80546114eb906138aa565b9050116115075760405180602001604052806000815250611533565b600b61151282612513565b60405160200161152392919061338d565b6040516020818303038152906040525b915050919050565b6103e883611547610bf8565b61155191906136d5565b1115611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990613490565b60405180910390fd5b600a60009054906101000a900460ff166115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d890613570565b60405180910390fd5b600283600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162e91906136d5565b111561166f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611666906134d0565b60405180910390fd5b66232bff5f46c0003410156116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090613590565b60405180910390fd5b6000336040516020016116cc9190613372565b604051602081830303815290604052805190602001209050611732838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612674565b611771576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611768906135b0565b60405180910390fd5b83600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117c091906136d5565b925050819055506117d13385612367565b50505050565b6117df611a82565b80600b90805190602001906117f5929190612aa8565b5050565b600281565b60086020528060005260406000206000915090505481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118b2611a82565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611922576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611919906134b0565b60405180910390fd5b61192b816122a1565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611a8a6119c8565b73ffffffffffffffffffffffffffffffffffffffff16611aa8610fce565b73ffffffffffffffffffffffffffffffffffffffff1614611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590613530565b60405180910390fd5b565b6000611b0b82612119565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611b326119c8565b73ffffffffffffffffffffffffffffffffffffffff161480611b8e5750611b576119c8565b73ffffffffffffffffffffffffffffffffffffffff16611b7684610a32565b73ffffffffffffffffffffffffffffffffffffffff16145b80611baa5750611ba98260000151611ba46119c8565b611816565b5b905080611be3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c4c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cb3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cc0858585600161268b565b611cd060008484600001516119d0565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611fb557611f14816119bb565b15611fb45782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461201e8585856001612691565b5050505050565b80471015612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613510565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161208e906133bc565b60006040518083038185875af1925050503d80600081146120cb576040519150601f19603f3d011682016040523d82523d6000602084013e6120d0565b606091505b5050905080612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b906134f0565b60405180910390fd5b505050565b612121612b2e565b61212a826119bb565b612160576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b60008110612269576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461225a57809250505061229c565b50808060019003915050612166565b506040517fe7c0edfb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612381828260405180602001604052806000815250612697565b5050565b60006123a68473ffffffffffffffffffffffffffffffffffffffff1661192e565b15612506578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123cf6119c8565b8786866040518563ffffffff1660e01b81526004016123f194939291906133ec565b602060405180830381600087803b15801561240b57600080fd5b505af192505050801561243c57506040513d601f19601f820116820180604052508101906124399190612f56565b60015b6124b6573d806000811461246c576040519150601f19603f3d011682016040523d82523d6000602084013e612471565b606091505b506000815114156124ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061250b565b600190505b949350505050565b6060600082141561255b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061266f565b600082905060005b6000821461258d5780806125769061390d565b915050600a82612586919061372b565b9150612563565b60008167ffffffffffffffff8111156125a9576125a8613a96565b5b6040519080825280601f01601f1916602001820160405280156125db5781602001600182028036833780820191505090505b5090505b60008514612668576001826125f491906137b6565b9150600a85612603919061397a565b603061260f91906136d5565b60f81b81838151811061262557612624613a67565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612661919061372b565b94506125df565b8093505050505b919050565b60008261268185846126a9565b1490509392505050565b50505050565b50505050565b6126a483838360016126ff565b505050565b60008082905060005b84518110156126f4576126df828683815181106126d2576126d1613a67565b5b6020026020010151612a66565b915080806126ec9061390d565b9150506126b2565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561276c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156127a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127b4600086838761268b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612a4957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156129fd57506129fb6000888488612385565b155b15612a34576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612982565b508060008190555050612a5f6000868387612691565b5050505050565b6000818310612a7e57612a798284612a91565b612a89565b612a888383612a91565b5b905092915050565b600082600052816020526040600020905092915050565b828054612ab4906138aa565b90600052602060002090601f016020900481019282612ad65760008555612b1d565b82601f10612aef57805160ff1916838001178555612b1d565b82800160010185558215612b1d579182015b82811115612b1c578251825591602001919060010190612b01565b5b509050612b2a9190612b68565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612b81576000816000905550600101612b69565b5090565b6000612b98612b9384613610565b6135eb565b905082815260208101848484011115612bb457612bb3613ad4565b5b612bbf848285613868565b509392505050565b6000612bda612bd584613641565b6135eb565b905082815260208101848484011115612bf657612bf5613ad4565b5b612c01848285613868565b509392505050565b600081359050612c1881613d39565b92915050565b60008083601f840112612c3457612c33613aca565b5b8235905067ffffffffffffffff811115612c5157612c50613ac5565b5b602083019150836020820283011115612c6d57612c6c613acf565b5b9250929050565b600081359050612c8381613d50565b92915050565b600081359050612c9881613d67565b92915050565b600081359050612cad81613d7e565b92915050565b600081519050612cc281613d7e565b92915050565b600082601f830112612cdd57612cdc613aca565b5b8135612ced848260208601612b85565b91505092915050565b600082601f830112612d0b57612d0a613aca565b5b8135612d1b848260208601612bc7565b91505092915050565b600081359050612d3381613d95565b92915050565b600060208284031215612d4f57612d4e613ade565b5b6000612d5d84828501612c09565b91505092915050565b60008060408385031215612d7d57612d7c613ade565b5b6000612d8b85828601612c09565b9250506020612d9c85828601612c09565b9150509250929050565b600080600060608486031215612dbf57612dbe613ade565b5b6000612dcd86828701612c09565b9350506020612dde86828701612c09565b9250506040612def86828701612d24565b9150509250925092565b60008060008060808587031215612e1357612e12613ade565b5b6000612e2187828801612c09565b9450506020612e3287828801612c09565b9350506040612e4387828801612d24565b925050606085013567ffffffffffffffff811115612e6457612e63613ad9565b5b612e7087828801612cc8565b91505092959194509250565b60008060408385031215612e9357612e92613ade565b5b6000612ea185828601612c09565b9250506020612eb285828601612c74565b9150509250929050565b60008060408385031215612ed357612ed2613ade565b5b6000612ee185828601612c09565b9250506020612ef285828601612d24565b9150509250929050565b600060208284031215612f1257612f11613ade565b5b6000612f2084828501612c89565b91505092915050565b600060208284031215612f3f57612f3e613ade565b5b6000612f4d84828501612c9e565b91505092915050565b600060208284031215612f6c57612f6b613ade565b5b6000612f7a84828501612cb3565b91505092915050565b600060208284031215612f9957612f98613ade565b5b600082013567ffffffffffffffff811115612fb757612fb6613ad9565b5b612fc384828501612cf6565b91505092915050565b600060208284031215612fe257612fe1613ade565b5b6000612ff084828501612d24565b91505092915050565b60008060006040848603121561301257613011613ade565b5b600061302086828701612d24565b935050602084013567ffffffffffffffff81111561304157613040613ad9565b5b61304d86828701612c1e565b92509250509250925092565b613062816137ea565b82525050565b613079613074826137ea565b613956565b82525050565b613088816137fc565b82525050565b61309781613808565b82525050565b60006130a882613687565b6130b2818561369d565b93506130c2818560208601613877565b6130cb81613ae3565b840191505092915050565b60006130e182613692565b6130eb81856136b9565b93506130fb818560208601613877565b61310481613ae3565b840191505092915050565b600061311a82613692565b61312481856136ca565b9350613134818560208601613877565b80840191505092915050565b6000815461314d816138aa565b61315781866136ca565b945060018216600081146131725760018114613183576131b6565b60ff198316865281860193506131b6565b61318c85613672565b60005b838110156131ae5781548189015260018201915060208101905061318f565b838801955050505b50505092915050565b60006131cc600d836136b9565b91506131d782613b01565b602082019050919050565b60006131ef6026836136b9565b91506131fa82613b2a565b604082019050919050565b6000613212600f836136b9565b915061321d82613b79565b602082019050919050565b6000613235603a836136b9565b915061324082613ba2565b604082019050919050565b6000613258601d836136b9565b915061326382613bf1565b602082019050919050565b600061327b6005836136ca565b915061328682613c1a565b600582019050919050565b600061329e6020836136b9565b91506132a982613c43565b602082019050919050565b60006132c1602f836136b9565b91506132cc82613c6c565b604082019050919050565b60006132e46016836136b9565b91506132ef82613cbb565b602082019050919050565b60006133076000836136ae565b915061331282613ce4565b600082019050919050565b600061332a6010836136b9565b915061333582613ce7565b602082019050919050565b600061334d6014836136b9565b915061335882613d10565b602082019050919050565b61336c8161385e565b82525050565b600061337e8284613068565b60148201915081905092915050565b60006133998285613140565b91506133a5828461310f565b91506133b08261326e565b91508190509392505050565b60006133c7826132fa565b9150819050919050565b60006020820190506133e66000830184613059565b92915050565b60006080820190506134016000830187613059565b61340e6020830186613059565b61341b6040830185613363565b818103606083015261342d818461309d565b905095945050505050565b600060208201905061344d600083018461307f565b92915050565b6000602082019050613468600083018461308e565b92915050565b6000602082019050818103600083015261348881846130d6565b905092915050565b600060208201905081810360008301526134a9816131bf565b9050919050565b600060208201905081810360008301526134c9816131e2565b9050919050565b600060208201905081810360008301526134e981613205565b9050919050565b6000602082019050818103600083015261350981613228565b9050919050565b600060208201905081810360008301526135298161324b565b9050919050565b6000602082019050818103600083015261354981613291565b9050919050565b60006020820190508181036000830152613569816132b4565b9050919050565b60006020820190508181036000830152613589816132d7565b9050919050565b600060208201905081810360008301526135a98161331d565b9050919050565b600060208201905081810360008301526135c981613340565b9050919050565b60006020820190506135e56000830184613363565b92915050565b60006135f5613606565b905061360182826138dc565b919050565b6000604051905090565b600067ffffffffffffffff82111561362b5761362a613a96565b5b61363482613ae3565b9050602081019050919050565b600067ffffffffffffffff82111561365c5761365b613a96565b5b61366582613ae3565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136e08261385e565b91506136eb8361385e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137205761371f6139da565b5b828201905092915050565b60006137368261385e565b91506137418361385e565b92508261375157613750613a09565b5b828204905092915050565b60006137678261385e565b91506137728361385e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137ab576137aa6139da565b5b828202905092915050565b60006137c18261385e565b91506137cc8361385e565b9250828210156137df576137de6139da565b5b828203905092915050565b60006137f58261383e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561389557808201518184015260208101905061387a565b838111156138a4576000848401525b50505050565b600060028204905060018216806138c257607f821691505b602082108114156138d6576138d5613a38565b5b50919050565b6138e582613ae3565b810181811067ffffffffffffffff8211171561390457613903613a96565b5b80604052505050565b60006139188261385e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561394b5761394a6139da565b5b600182019050919050565b600061396182613968565b9050919050565b600061397382613af4565b9050919050565b60006139858261385e565b91506139908361385e565b9250826139a05761399f613a09565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f7574204f662053746f636b2100000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479204d696e746564210000000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4974206973206e6f742074696d6520746f206d696e7400000000000000000000600082015250565b50565b7f4e6f7420656e6f75676820457468657200000000000000000000000000000000600082015250565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b613d42816137ea565b8114613d4d57600080fd5b50565b613d59816137fc565b8114613d6457600080fd5b50565b613d7081613808565b8114613d7b57600080fd5b50565b613d8781613812565b8114613d9257600080fd5b50565b613d9e8161385e565b8114613da957600080fd5b5056fea26469706673582212205217a5cc60e0b3e5c69b45a8858d60b0225aa1f479ef07a4f8d9d7d29202100f64736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

DN is the first ever matching pfp + banner project, made to combine to form one image on PC Twitter. A fun new degen project by webmonkeyy.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.