ETH Price: $2,687.98 (+10.77%)
 

Overview

ETH Balance

0.1 ETH

Eth Value

$268.80 (@ $2,687.98/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint196314862024-04-11 9:27:59209 days ago1712827679IN
0x4f800f78...3959a3FE4
0.1 ETH0.0014663917.78957123
Set Approval For...188030392023-12-17 3:20:47325 days ago1702783247IN
0x4f800f78...3959a3FE4
0 ETH0.0008012532.47233781
Withdraw184721792023-10-31 19:25:35372 days ago1698780335IN
0x4f800f78...3959a3FE4
0 ETH0.0006748721.79201764
Set Approval For...176166062023-07-03 23:08:23491 days ago1688425703IN
0x4f800f78...3959a3FE4
0 ETH0.0006791514.57829755
Set Approval For...176147772023-07-03 16:59:35492 days ago1688403575IN
0x4f800f78...3959a3FE4
0 ETH0.0011208924.06029643
Set Approval For...175666172023-06-26 22:40:11498 days ago1687819211IN
0x4f800f78...3959a3FE4
0 ETH0.0005751112.34501661
Mint Allow List174577762023-06-11 15:31:23514 days ago1686497483IN
0x4f800f78...3959a3FE4
0 ETH0.0018564216.28787501
Mint Allow List173786512023-05-31 11:46:59525 days ago1685533619IN
0x4f800f78...3959a3FE4
0 ETH0.0046372940.67520232
Mint Allow List173250012023-05-23 22:49:23532 days ago1684882163IN
0x4f800f78...3959a3FE4
0 ETH0.0020741148.47761382
Mint Allow List173249992023-05-23 22:48:59532 days ago1684882139IN
0x4f800f78...3959a3FE4
0 ETH0.0051313545
Mint Allow List172995302023-05-20 8:44:35536 days ago1684572275IN
0x4f800f78...3959a3FE4
0 ETH0.0036339831.56282677
Mint172960492023-05-19 20:59:23536 days ago1684529963IN
0x4f800f78...3959a3FE4
0.1 ETH0.0029080735.27930302
Mint Allow List172922062023-05-19 7:58:47537 days ago1684483127IN
0x4f800f78...3959a3FE4
0 ETH0.0037699433.06739378
Mint Allow List172895772023-05-18 23:03:59537 days ago1684451039IN
0x4f800f78...3959a3FE4
0 ETH0.0043434537.72092494
Mint Allow List172874172023-05-18 15:46:35538 days ago1684424795IN
0x4f800f78...3959a3FE4
0 ETH0.0112129897.37127834
Mint Allow List172873162023-05-18 15:26:23538 days ago1684423583IN
0x4f800f78...3959a3FE4
0 ETH0.0108245194.94684651
Mint Allow List172866902023-05-18 13:19:59538 days ago1684415999IN
0x4f800f78...3959a3FE4
0 ETH0.0050715644.04354317
Set Approval For...172862632023-05-18 11:54:11538 days ago1684410851IN
0x4f800f78...3959a3FE4
0 ETH0.0020275143.5211131
Mint172825882023-05-17 23:28:23538 days ago1684366103IN
0x4f800f78...3959a3FE4
0.2 ETH0.0050292746
Set Approval For...172791272023-05-17 11:41:23539 days ago1684323683IN
0x4f800f78...3959a3FE4
0 ETH0.0021796746.78718345
Set Approval For...172759922023-05-17 1:05:11539 days ago1684285511IN
0x4f800f78...3959a3FE4
0 ETH0.0018385239.46434999
Mint172759652023-05-17 0:59:35539 days ago1684285175IN
0x4f800f78...3959a3FE4
0.1 ETH0.0031163637.80621872
Mint Allow List172752822023-05-16 22:41:47539 days ago1684276907IN
0x4f800f78...3959a3FE4
0 ETH0.0026023560.90075123
Mint Allow List172752792023-05-16 22:41:11539 days ago1684276871IN
0x4f800f78...3959a3FE4
0 ETH0.0074168265.07358229
Mint Allow List172751502023-05-16 22:15:11539 days ago1684275311IN
0x4f800f78...3959a3FE4
0 ETH0.0073850464.7845289
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
184721792023-10-31 19:25:35372 days ago1698780335
0x4f800f78...3959a3FE4
1.05 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MiladyColombiaMusic

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract MiladyColombiaMusic is ERC721, Pausable, Ownable, ERC721Burnable {
    using Strings for uint256;

    string public uriPrefix = "ipfs://bafkreicraisld4zqjqdbhbxiufgnnk5qtkf5csi53qskwlaa532racsovm/";
    
    uint256 public publicPrice;
    uint256 public miladyPrice;
    uint256 public maxSupply;
    uint256 public totalTokenSupply;

    bytes32 public merkleRoot;

    mapping(address => uint) public miladyClaimentCount;

    address constant MILADY_RAVE = 0x880a965fAe95f72fe3a3C8e87ED2c9478C8e0a29; 
    address constant MILADY_MAKER = 0x5Af0D9827E0c53E4799BB226655A1de152A425a5; 
    address constant PIXELADY_MAKER = 0x8Fc0D90f2C45a5e7f94904075c952e0943CFCCfd; 
    address constant REDACTED_REMILIO = 0x8Fc0D90f2C45a5e7f94904075c952e0943CFCCfd; 
    address constant RADBRO = 0xABCDB5710B88f456fED1e99025379e2969F29610; 
    address constant SCHIZO = 0xBfE47D6D4090940D1c7a0066B63d23875E3e2Ac5; 

    constructor(
        uint256 _publicPrice,
        uint256 _miladyPrice,
        uint256 _maxSupply,
        bytes32 _merkleRoot
    ) ERC721("Milady Colombia Music", "MCM") {
        setPublicPrice(_publicPrice);
        setMiladyPrice(_miladyPrice);
        maxSupply = _maxSupply;
        setMerkleRoot(_merkleRoot);
        totalTokenSupply = 0; // initialize totalTokenSupply to one
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(_mintAmount > 0, "Invalid mint amount!");
        require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
        _;
    }

    modifier mintPriceCompliance(uint256 _mintAmount) {
        require(msg.value >= publicPrice * _mintAmount, "Insufficient funds!");
        _;
    }

    modifier hasBluechip(address _account){
    require(
      IERC721(RADBRO).balanceOf(_account) > 0 ||
      IERC721(SCHIZO).balanceOf(_account) > 0 ||
      IERC721(MILADY_RAVE).balanceOf(_account) > 0 ||
      IERC721(MILADY_MAKER).balanceOf(_account) > 0 ||
      IERC721(PIXELADY_MAKER).balanceOf(_account) > 0 ||
      IERC721(REDACTED_REMILIO).balanceOf(_account) > 0, "You dont any Milady's!");
    _;
  }

    function allowListed(address _wallet, bytes32[] memory _proof)
        public
        view
        returns (bool)
        {
        bytes32 leaf = keccak256(bytes.concat(keccak256(abi.encode(_wallet, 1))));
        return
            MerkleProof.verify(
                _proof,
                merkleRoot,
                leaf
            );
        }
    
    function mintAllowList(bytes32[] memory _proof) whenNotPaused external {
        require(totalSupply() + 1 <= maxSupply, "Max supply exceeded!");
        require(allowListed(msg.sender, _proof), "You are not included in snapshot");
        require(miladyClaimentCount[msg.sender] < 1, "You already claimed");
        miladyClaimentCount[msg.sender] = 1;
        _safeMint(_msgSender(), totalTokenSupply + 1);
        totalTokenSupply += 1; // increment totalTokenSupply after minting
    }

    function mintAsHolder(uint256 _mintAmount) public payable whenNotPaused  mintCompliance(_mintAmount) hasBluechip(msg.sender) {
        require(msg.value >= miladyPrice * _mintAmount, "Insufficient funds!");
        if (_mintAmount > 1) {
            for (uint256 i = 0; i < _mintAmount; i++) {
                _safeMint(_msgSender(), totalTokenSupply + 1);
                totalTokenSupply += 1; // increment totalTokenSupply after minting
            }
        } else {
            _safeMint(_msgSender(), totalTokenSupply + 1);
            totalTokenSupply += 1; // increment totalTokenSupply after minting
        }
    }
    
    
    function mint(uint256 _mintAmount) public payable whenNotPaused mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
        for (uint256 i = 0; i < _mintAmount; i++) {
            _safeMint(_msgSender(), totalTokenSupply + 1);
            totalTokenSupply += 1; // increment totalTokenSupply after minting
        }
    }
    
    function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
        for (uint256 i = 0; i < _mintAmount; i++) {
            _safeMint(_receiver, totalTokenSupply + 1);
            totalTokenSupply += 1; // increment totalTokenSupply after minting
        }
    }

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

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? currentBaseURI
            : '';
    }

    function setPublicPrice(uint256 _publicPrice) public onlyOwner {
        publicPrice = _publicPrice;
    }

    function setMiladyPrice(uint256 _miladyPrice) public onlyOwner {
        miladyPrice = _miladyPrice;
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize)
    internal
    whenNotPaused
    override
    {
        super._beforeTokenTransfer(from, to, tokenId, batchSize);
        // Increment totalTokenSupply if a new token is being minted
        // if (from == address(0)) {
        //     totalTokenSupply += batchSize;
        // }
        if (to == address(0)) {
            totalTokenSupply -= batchSize;
        }
    }

    function totalSupply() public view returns (uint256) {
        return totalTokenSupply;
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function getIsMiladyHolder(address _account) public view returns (bool) {
        if (
            IERC721(RADBRO).balanceOf(_account) > 0 ||
            IERC721(SCHIZO).balanceOf(_account) > 0 ||
            IERC721(MILADY_RAVE).balanceOf(_account) > 0 ||
            IERC721(MILADY_MAKER).balanceOf(_account) > 0 ||
            IERC721(PIXELADY_MAKER).balanceOf(_account) > 0 ||
            IERC721(REDACTED_REMILIO).balanceOf(_account) > 0
        ) {
        return true;
        } else {
        return false;
        }
    }

    function withdraw() public onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _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}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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 4 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

File 8 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 9 of 15 : 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 10 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 15 of 15 : 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":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"},{"internalType":"uint256","name":"_miladyPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"allowListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getIsMiladyHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"miladyClaimentCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"miladyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintAsHolder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_miladyPrice","type":"uint256"}],"name":"setMiladyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenSupply","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060800160405280604381526020016200533460439139600790816200002e9190620005cc565b503480156200003c57600080fd5b506040516200537738038062005377833981810160405281019062000062919062000724565b6040518060400160405280601581526020017f4d696c61647920436f6c6f6d626961204d7573696300000000000000000000008152506040518060400160405280600381526020017f4d434d00000000000000000000000000000000000000000000000000000000008152508160009081620000df9190620005cc565b508060019081620000f19190620005cc565b5050506000600660006101000a81548160ff0219169083151502179055506200012f620001236200017b60201b60201c565b6200018360201b60201c565b62000140846200024960201b60201c565b62000151836200026360201b60201c565b81600a8190555062000169816200027d60201b60201c565b6000600b819055505050505062000819565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002596200029760201b60201c565b8060088190555050565b620002736200029760201b60201c565b8060098190555050565b6200028d6200029760201b60201c565b80600c8190555050565b620002a76200017b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002cd6200032860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000326576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031d90620007f7565b60405180910390fd5b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003d457607f821691505b602082108103620003ea57620003e96200038c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000415565b62000460868362000415565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004ad620004a7620004a18462000478565b62000482565b62000478565b9050919050565b6000819050919050565b620004c9836200048c565b620004e1620004d882620004b4565b84845462000422565b825550505050565b600090565b620004f8620004e9565b62000505818484620004be565b505050565b5b818110156200052d5762000521600082620004ee565b6001810190506200050b565b5050565b601f8211156200057c576200054681620003f0565b620005518462000405565b8101602085101562000561578190505b62000579620005708562000405565b8301826200050a565b50505b505050565b600082821c905092915050565b6000620005a16000198460080262000581565b1980831691505092915050565b6000620005bc83836200058e565b9150826002028217905092915050565b620005d78262000352565b67ffffffffffffffff811115620005f357620005f26200035d565b5b620005ff8254620003bb565b6200060c82828562000531565b600060209050601f8311600181146200064457600084156200062f578287015190505b6200063b8582620005ae565b865550620006ab565b601f1984166200065486620003f0565b60005b828110156200067e5784890151825560018201915060208501945060208101905062000657565b868310156200069e57848901516200069a601f8916826200058e565b8355505b6001600288020188555050505b505050505050565b600080fd5b620006c38162000478565b8114620006cf57600080fd5b50565b600081519050620006e381620006b8565b92915050565b6000819050919050565b620006fe81620006e9565b81146200070a57600080fd5b50565b6000815190506200071e81620006f3565b92915050565b60008060008060808587031215620007415762000740620006b3565b5b60006200075187828801620006d2565b94505060206200076487828801620006d2565b93505060406200077787828801620006d2565b92505060606200078a878288016200070d565b91505092959194509250565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620007df60208362000796565b9150620007ec82620007a7565b602082019050919050565b600060208201905081810360008301526200081281620007d0565b9050919050565b614b0b80620008296000396000f3fe6080604052600436106102305760003560e01c806370a082311161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd146107e5578063d5abeb0114610822578063e985e9c51461084d578063efbd73f41461088a578063f2fde38b146108b357610230565b8063a22cb46514610716578063a945bf801461073f578063b88d4fde1461076a578063c2d5256014610793578063c6275255146107bc57610230565b80638456cb59116100f25780638456cb59146106715780638da5cb5b146106885780638e1568ee146106b357806395d89b41146106cf578063a0712d68146106fa57610230565b806370a08231146105a0578063715018a6146105dd5780637cb64759146105f45780637cf8cf3f1461061d5780637ec4a6591461064857610230565b806323b872dd116101bc57806342842e0e1161018057806342842e0e146104bb57806342966c68146104e45780635c975abb1461050d57806362b99ad4146105385780636352211e1461056357610230565b806323b872dd146103fc578063247155ff146104255780632eb4a7ab146104625780633ccfd60b1461048d5780633f4ba83a146104a457610230565b80630d978785116102035780630d978785146103035780631122d94a1461034057806318160ddd146103695780631ca8b6cb1461039457806321b06dd0146103bf57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061317f565b6108dc565b60405161026991906131c7565b60405180910390f35b34801561027e57600080fd5b506102876109be565b6040516102949190613272565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906132ca565b610a50565b6040516102d19190613338565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc919061337f565b610a96565b005b34801561030f57600080fd5b5061032a600480360381019061032591906133bf565b610bad565b60405161033791906131c7565b60405180910390f35b34801561034c57600080fd5b506103676004803603810190610362919061356a565b610f4f565b005b34801561037557600080fd5b5061037e6110fb565b60405161038b91906135c2565b60405180910390f35b3480156103a057600080fd5b506103a9611105565b6040516103b691906135c2565b60405180910390f35b3480156103cb57600080fd5b506103e660048036038101906103e191906133bf565b61110b565b6040516103f391906135c2565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e91906135dd565b611123565b005b34801561043157600080fd5b5061044c60048036038101906104479190613630565b611183565b60405161045991906131c7565b60405180910390f35b34801561046e57600080fd5b506104776111ee565b604051610484919061369b565b60405180910390f35b34801561049957600080fd5b506104a26111f4565b005b3480156104b057600080fd5b506104b961127c565b005b3480156104c757600080fd5b506104e260048036038101906104dd91906135dd565b61128e565b005b3480156104f057600080fd5b5061050b600480360381019061050691906132ca565b6112ae565b005b34801561051957600080fd5b5061052261130a565b60405161052f91906131c7565b60405180910390f35b34801561054457600080fd5b5061054d611321565b60405161055a9190613272565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906132ca565b6113af565b6040516105979190613338565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c291906133bf565b611435565b6040516105d491906135c2565b60405180910390f35b3480156105e957600080fd5b506105f26114ec565b005b34801561060057600080fd5b5061061b600480360381019061061691906136b6565b611500565b005b34801561062957600080fd5b50610632611512565b60405161063f91906135c2565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190613798565b611518565b005b34801561067d57600080fd5b50610686611533565b005b34801561069457600080fd5b5061069d611545565b6040516106aa9190613338565b60405180910390f35b6106cd60048036038101906106c891906132ca565b61156f565b005b3480156106db57600080fd5b506106e4611ad0565b6040516106f19190613272565b60405180910390f35b610714600480360381019061070f91906132ca565b611b62565b005b34801561072257600080fd5b5061073d6004803603810190610738919061380d565b611cb3565b005b34801561074b57600080fd5b50610754611cc9565b60405161076191906135c2565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c91906138ee565b611ccf565b005b34801561079f57600080fd5b506107ba60048036038101906107b591906132ca565b611d31565b005b3480156107c857600080fd5b506107e360048036038101906107de91906132ca565b611d43565b005b3480156107f157600080fd5b5061080c600480360381019061080791906132ca565b611d55565b6040516108199190613272565b60405180910390f35b34801561082e57600080fd5b50610837611dd3565b60405161084491906135c2565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613971565b611dd9565b60405161088191906131c7565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac91906139b1565b611e6d565b005b3480156108bf57600080fd5b506108da60048036038101906108d591906133bf565b611f66565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109b757506109b682611fe9565b5b9050919050565b6060600080546109cd90613a20565b80601f01602080910402602001604051908101604052809291908181526020018280546109f990613a20565b8015610a465780601f10610a1b57610100808354040283529160200191610a46565b820191906000526020600020905b815481529060010190602001808311610a2957829003601f168201915b5050505050905090565b6000610a5b82612053565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa1826113af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890613ac3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b3061209e565b73ffffffffffffffffffffffffffffffffffffffff161480610b5f5750610b5e81610b5961209e565b611dd9565b5b610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590613b55565b60405180910390fd5b610ba883836120a6565b505050565b60008073abcdb5710b88f456fed1e99025379e2969f2961073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610bfd9190613338565b602060405180830381865afa158015610c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3e9190613b8a565b1180610cd75750600073bfe47d6d4090940d1c7a0066b63d23875e3e2ac573ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610c949190613338565b602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd59190613b8a565b115b80610d6f5750600073880a965fae95f72fe3a3c8e87ed2c9478c8e0a2973ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d2c9190613338565b602060405180830381865afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190613b8a565b115b80610e0757506000735af0d9827e0c53e4799bb226655a1de152a425a573ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610dc49190613338565b602060405180830381865afa158015610de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e059190613b8a565b115b80610e9f57506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610e5c9190613338565b602060405180830381865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190613b8a565b115b80610f3757506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ef49190613338565b602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f359190613b8a565b115b15610f455760019050610f4a565b600090505b919050565b610f5761215f565b600a546001610f646110fb565b610f6e9190613be6565b1115610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690613c66565b60405180910390fd5b610fb93382611183565b610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef90613cd2565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613d3e565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110de6110ca61209e565b6001600b546110d99190613be6565b6121a9565b6001600b60008282546110f19190613be6565b9250508190555050565b6000600b54905090565b600b5481565b600d6020528060005260406000206000915090505481565b61113461112e61209e565b826121c7565b611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a90613dd0565b60405180910390fd5b61117e83838361225c565b505050565b60008083600160405160200161119a929190613e42565b604051602081830303815290604052805190602001206040516020016111c09190613e8c565b6040516020818303038152906040528051906020012090506111e583600c5483612555565b91505092915050565b600c5481565b6111fc61256c565b6000611206611545565b73ffffffffffffffffffffffffffffffffffffffff164760405161122990613ed8565b60006040518083038185875af1925050503d8060008114611266576040519150601f19603f3d011682016040523d82523d6000602084013e61126b565b606091505b505090508061127957600080fd5b50565b61128461256c565b61128c6125ea565b565b6112a983838360405180602001604052806000815250611ccf565b505050565b6112bf6112b961209e565b826121c7565b6112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f590613dd0565b60405180910390fd5b6113078161264d565b50565b6000600660009054906101000a900460ff16905090565b6007805461132e90613a20565b80601f016020809104026020016040519081016040528092919081815260200182805461135a90613a20565b80156113a75780601f1061137c576101008083540402835291602001916113a7565b820191906000526020600020905b81548152906001019060200180831161138a57829003601f168201915b505050505081565b6000806113bb8361279b565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390613f39565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149c90613fcb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114f461256c565b6114fe60006127d8565b565b61150861256c565b80600c8190555050565b60095481565b61152061256c565b806007908161152f919061418d565b5050565b61153b61256c565b61154361289e565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61157761215f565b80600081116115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b2906142ab565b60405180910390fd5b600a54816115c76110fb565b6115d19190613be6565b1115611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990613c66565b60405180910390fd5b33600073abcdb5710b88f456fed1e99025379e2969f2961073ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016116629190613338565b602060405180830381865afa15801561167f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a39190613b8a565b118061173c5750600073bfe47d6d4090940d1c7a0066b63d23875e3e2ac573ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016116f99190613338565b602060405180830381865afa158015611716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173a9190613b8a565b115b806117d45750600073880a965fae95f72fe3a3c8e87ed2c9478c8e0a2973ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016117919190613338565b602060405180830381865afa1580156117ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d29190613b8a565b115b8061186c57506000735af0d9827e0c53e4799bb226655a1de152a425a573ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016118299190613338565b602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a9190613b8a565b115b8061190457506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016118c19190613338565b602060405180830381865afa1580156118de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119029190613b8a565b115b8061199c57506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016119599190613338565b602060405180830381865afa158015611976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199a9190613b8a565b115b6119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614317565b60405180910390fd5b826009546119e99190614337565b341015611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a22906143c5565b60405180910390fd5b6001831115611a915760005b83811015611a8b57611a5e611a4a61209e565b6001600b54611a599190613be6565b6121a9565b6001600b6000828254611a719190613be6565b925050819055508080611a83906143e5565b915050611a37565b50611acb565b611ab0611a9c61209e565b6001600b54611aab9190613be6565b6121a9565b6001600b6000828254611ac39190613be6565b925050819055505b505050565b606060018054611adf90613a20565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0b90613a20565b8015611b585780601f10611b2d57610100808354040283529160200191611b58565b820191906000526020600020905b815481529060010190602001808311611b3b57829003601f168201915b5050505050905090565b611b6a61215f565b8060008111611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba5906142ab565b60405180910390fd5b600a5481611bba6110fb565b611bc49190613be6565b1115611c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfc90613c66565b60405180910390fd5b8180600854611c149190614337565b341015611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d906143c5565b60405180910390fd5b60005b83811015611cad57611c80611c6c61209e565b6001600b54611c7b9190613be6565b6121a9565b6001600b6000828254611c939190613be6565b925050819055508080611ca5906143e5565b915050611c59565b50505050565b611cc5611cbe61209e565b8383612901565b5050565b60085481565b611ce0611cda61209e565b836121c7565b611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1690613dd0565b60405180910390fd5b611d2b84848484612a6d565b50505050565b611d3961256c565b8060098190555050565b611d4b61256c565b8060088190555050565b6060611d6082612ac9565b611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d969061449f565b60405180910390fd5b6000611da9612b0a565b90506000815111611dc95760405180602001604052806000815250611dcb565b805b915050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8160008111611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea8906142ab565b60405180910390fd5b600a5481611ebd6110fb565b611ec79190613be6565b1115611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff90613c66565b60405180910390fd5b611f1061256c565b60005b83811015611f6057611f33836001600b54611f2e9190613be6565b6121a9565b6001600b6000828254611f469190613be6565b925050819055508080611f58906143e5565b915050611f13565b50505050565b611f6e61256c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd490614531565b60405180910390fd5b611fe6816127d8565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61205c81612ac9565b61209b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209290613f39565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612119836113af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61216761130a565b156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e9061459d565b60405180910390fd5b565b6121c3828260405180602001604052806000815250612b9c565b5050565b6000806121d3836113af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221557506122148185611dd9565b5b8061225357508373ffffffffffffffffffffffffffffffffffffffff1661223b84610a50565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661227c826113af565b73ffffffffffffffffffffffffffffffffffffffff16146122d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c99061462f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612338906146c1565b60405180910390fd5b61234e8383836001612bf7565b8273ffffffffffffffffffffffffffffffffffffffff1661236e826113af565b73ffffffffffffffffffffffffffffffffffffffff16146123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb9061462f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125508383836001612c5f565b505050565b6000826125628584612c65565b1490509392505050565b61257461209e565b73ffffffffffffffffffffffffffffffffffffffff16612592611545565b73ffffffffffffffffffffffffffffffffffffffff16146125e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125df9061472d565b60405180910390fd5b565b6125f2612cbb565b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61263661209e565b6040516126439190613338565b60405180910390a1565b6000612658826113af565b9050612668816000846001612bf7565b612671826113af565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612797816000846001612c5f565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128a661215f565b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128ea61209e565b6040516128f79190613338565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361296f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296690614799565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a6091906131c7565b60405180910390a3505050565b612a7884848461225c565b612a8484848484612d04565b612ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aba9061482b565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612aeb8361279b565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060078054612b1990613a20565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4590613a20565b8015612b925780601f10612b6757610100808354040283529160200191612b92565b820191906000526020600020905b815481529060010190602001808311612b7557829003601f168201915b5050505050905090565b612ba68383612e8b565b612bb36000848484612d04565b612bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be99061482b565b60405180910390fd5b505050565b612bff61215f565b612c0b848484846130a8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c595780600b6000828254612c51919061484b565b925050819055505b50505050565b50505050565b60008082905060005b8451811015612cb057612c9b82868381518110612c8e57612c8d61487f565b5b60200260200101516130ae565b91508080612ca8906143e5565b915050612c6e565b508091505092915050565b612cc361130a565b612d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf9906148fa565b60405180910390fd5b565b6000612d258473ffffffffffffffffffffffffffffffffffffffff166130d9565b15612e7e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4e61209e565b8786866040518563ffffffff1660e01b8152600401612d70949392919061496f565b6020604051808303816000875af1925050508015612dac57506040513d601f19601f82011682018060405250810190612da991906149d0565b60015b612e2e573d8060008114612ddc576040519150601f19603f3d011682016040523d82523d6000602084013e612de1565b606091505b506000815103612e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1d9061482b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e83565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef190614a49565b60405180910390fd5b612f0381612ac9565b15612f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3a90614ab5565b60405180910390fd5b612f51600083836001612bf7565b612f5a81612ac9565b15612f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9190614ab5565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a4600083836001612c5f565b5050565b50505050565b60008183106130c6576130c182846130fc565b6130d1565b6130d083836130fc565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61315c81613127565b811461316757600080fd5b50565b60008135905061317981613153565b92915050565b6000602082840312156131955761319461311d565b5b60006131a38482850161316a565b91505092915050565b60008115159050919050565b6131c1816131ac565b82525050565b60006020820190506131dc60008301846131b8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561321c578082015181840152602081019050613201565b60008484015250505050565b6000601f19601f8301169050919050565b6000613244826131e2565b61324e81856131ed565b935061325e8185602086016131fe565b61326781613228565b840191505092915050565b6000602082019050818103600083015261328c8184613239565b905092915050565b6000819050919050565b6132a781613294565b81146132b257600080fd5b50565b6000813590506132c48161329e565b92915050565b6000602082840312156132e0576132df61311d565b5b60006132ee848285016132b5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613322826132f7565b9050919050565b61333281613317565b82525050565b600060208201905061334d6000830184613329565b92915050565b61335c81613317565b811461336757600080fd5b50565b60008135905061337981613353565b92915050565b600080604083850312156133965761339561311d565b5b60006133a48582860161336a565b92505060206133b5858286016132b5565b9150509250929050565b6000602082840312156133d5576133d461311d565b5b60006133e38482850161336a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61342982613228565b810181811067ffffffffffffffff82111715613448576134476133f1565b5b80604052505050565b600061345b613113565b90506134678282613420565b919050565b600067ffffffffffffffff821115613487576134866133f1565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6134b08161349d565b81146134bb57600080fd5b50565b6000813590506134cd816134a7565b92915050565b60006134e66134e18461346c565b613451565b9050808382526020820190506020840283018581111561350957613508613498565b5b835b81811015613532578061351e88826134be565b84526020840193505060208101905061350b565b5050509392505050565b600082601f830112613551576135506133ec565b5b81356135618482602086016134d3565b91505092915050565b6000602082840312156135805761357f61311d565b5b600082013567ffffffffffffffff81111561359e5761359d613122565b5b6135aa8482850161353c565b91505092915050565b6135bc81613294565b82525050565b60006020820190506135d760008301846135b3565b92915050565b6000806000606084860312156135f6576135f561311d565b5b60006136048682870161336a565b93505060206136158682870161336a565b9250506040613626868287016132b5565b9150509250925092565b600080604083850312156136475761364661311d565b5b60006136558582860161336a565b925050602083013567ffffffffffffffff81111561367657613675613122565b5b6136828582860161353c565b9150509250929050565b6136958161349d565b82525050565b60006020820190506136b0600083018461368c565b92915050565b6000602082840312156136cc576136cb61311d565b5b60006136da848285016134be565b91505092915050565b600080fd5b600067ffffffffffffffff821115613703576137026133f1565b5b61370c82613228565b9050602081019050919050565b82818337600083830152505050565b600061373b613736846136e8565b613451565b905082815260208101848484011115613757576137566136e3565b5b613762848285613719565b509392505050565b600082601f83011261377f5761377e6133ec565b5b813561378f848260208601613728565b91505092915050565b6000602082840312156137ae576137ad61311d565b5b600082013567ffffffffffffffff8111156137cc576137cb613122565b5b6137d88482850161376a565b91505092915050565b6137ea816131ac565b81146137f557600080fd5b50565b600081359050613807816137e1565b92915050565b600080604083850312156138245761382361311d565b5b60006138328582860161336a565b9250506020613843858286016137f8565b9150509250929050565b600067ffffffffffffffff821115613868576138676133f1565b5b61387182613228565b9050602081019050919050565b600061389161388c8461384d565b613451565b9050828152602081018484840111156138ad576138ac6136e3565b5b6138b8848285613719565b509392505050565b600082601f8301126138d5576138d46133ec565b5b81356138e584826020860161387e565b91505092915050565b600080600080608085870312156139085761390761311d565b5b60006139168782880161336a565b94505060206139278782880161336a565b9350506040613938878288016132b5565b925050606085013567ffffffffffffffff81111561395957613958613122565b5b613965878288016138c0565b91505092959194509250565b600080604083850312156139885761398761311d565b5b60006139968582860161336a565b92505060206139a78582860161336a565b9150509250929050565b600080604083850312156139c8576139c761311d565b5b60006139d6858286016132b5565b92505060206139e78582860161336a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a3857607f821691505b602082108103613a4b57613a4a6139f1565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613aad6021836131ed565b9150613ab882613a51565b604082019050919050565b60006020820190508181036000830152613adc81613aa0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613b3f603d836131ed565b9150613b4a82613ae3565b604082019050919050565b60006020820190508181036000830152613b6e81613b32565b9050919050565b600081519050613b848161329e565b92915050565b600060208284031215613ba057613b9f61311d565b5b6000613bae84828501613b75565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bf182613294565b9150613bfc83613294565b9250828201905080821115613c1457613c13613bb7565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613c506014836131ed565b9150613c5b82613c1a565b602082019050919050565b60006020820190508181036000830152613c7f81613c43565b9050919050565b7f596f7520617265206e6f7420696e636c7564656420696e20736e617073686f74600082015250565b6000613cbc6020836131ed565b9150613cc782613c86565b602082019050919050565b60006020820190508181036000830152613ceb81613caf565b9050919050565b7f596f7520616c726561647920636c61696d656400000000000000000000000000600082015250565b6000613d286013836131ed565b9150613d3382613cf2565b602082019050919050565b60006020820190508181036000830152613d5781613d1b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613dba602d836131ed565b9150613dc582613d5e565b604082019050919050565b60006020820190508181036000830152613de981613dad565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b6000613e2c613e27613e2284613df0565b613e07565b613dfa565b9050919050565b613e3c81613e11565b82525050565b6000604082019050613e576000830185613329565b613e646020830184613e33565b9392505050565b6000819050919050565b613e86613e818261349d565b613e6b565b82525050565b6000613e988284613e75565b60208201915081905092915050565b600081905092915050565b50565b6000613ec2600083613ea7565b9150613ecd82613eb2565b600082019050919050565b6000613ee382613eb5565b9150819050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613f236018836131ed565b9150613f2e82613eed565b602082019050919050565b60006020820190508181036000830152613f5281613f16565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613fb56029836131ed565b9150613fc082613f59565b604082019050919050565b60006020820190508181036000830152613fe481613fa8565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261404d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614010565b6140578683614010565b95508019841693508086168417925050509392505050565b600061408a61408561408084613294565b613e07565b613294565b9050919050565b6000819050919050565b6140a48361406f565b6140b86140b082614091565b84845461401d565b825550505050565b600090565b6140cd6140c0565b6140d881848461409b565b505050565b5b818110156140fc576140f16000826140c5565b6001810190506140de565b5050565b601f8211156141415761411281613feb565b61411b84614000565b8101602085101561412a578190505b61413e61413685614000565b8301826140dd565b50505b505050565b600082821c905092915050565b600061416460001984600802614146565b1980831691505092915050565b600061417d8383614153565b9150826002028217905092915050565b614196826131e2565b67ffffffffffffffff8111156141af576141ae6133f1565b5b6141b98254613a20565b6141c4828285614100565b600060209050601f8311600181146141f757600084156141e5578287015190505b6141ef8582614171565b865550614257565b601f19841661420586613feb565b60005b8281101561422d57848901518255600182019150602085019450602081019050614208565b8683101561424a5784890151614246601f891682614153565b8355505b6001600288020188555050505b505050505050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006142956014836131ed565b91506142a08261425f565b602082019050919050565b600060208201905081810360008301526142c481614288565b9050919050565b7f596f7520646f6e7420616e79204d696c61647927732100000000000000000000600082015250565b60006143016016836131ed565b915061430c826142cb565b602082019050919050565b60006020820190508181036000830152614330816142f4565b9050919050565b600061434282613294565b915061434d83613294565b925082820261435b81613294565b9150828204841483151761437257614371613bb7565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006143af6013836131ed565b91506143ba82614379565b602082019050919050565b600060208201905081810360008301526143de816143a2565b9050919050565b60006143f082613294565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361442257614421613bb7565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614489602f836131ed565b91506144948261442d565b604082019050919050565b600060208201905081810360008301526144b88161447c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061451b6026836131ed565b9150614526826144bf565b604082019050919050565b6000602082019050818103600083015261454a8161450e565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006145876010836131ed565b915061459282614551565b602082019050919050565b600060208201905081810360008301526145b68161457a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006146196025836131ed565b9150614624826145bd565b604082019050919050565b600060208201905081810360008301526146488161460c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006146ab6024836131ed565b91506146b68261464f565b604082019050919050565b600060208201905081810360008301526146da8161469e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147176020836131ed565b9150614722826146e1565b602082019050919050565b600060208201905081810360008301526147468161470a565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006147836019836131ed565b915061478e8261474d565b602082019050919050565b600060208201905081810360008301526147b281614776565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006148156032836131ed565b9150614820826147b9565b604082019050919050565b6000602082019050818103600083015261484481614808565b9050919050565b600061485682613294565b915061486183613294565b925082820390508181111561487957614878613bb7565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006148e46014836131ed565b91506148ef826148ae565b602082019050919050565b60006020820190508181036000830152614913816148d7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149418261491a565b61494b8185614925565b935061495b8185602086016131fe565b61496481613228565b840191505092915050565b60006080820190506149846000830187613329565b6149916020830186613329565b61499e60408301856135b3565b81810360608301526149b08184614936565b905095945050505050565b6000815190506149ca81613153565b92915050565b6000602082840312156149e6576149e561311d565b5b60006149f4848285016149bb565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614a336020836131ed565b9150614a3e826149fd565b602082019050919050565b60006020820190508181036000830152614a6281614a26565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a9f601c836131ed565b9150614aaa82614a69565b602082019050919050565b60006020820190508181036000830152614ace81614a92565b905091905056fea2646970667358221220085bf5fe57bb5aed260ec0498824a023b2020d75544e504a8b0fd53366efa5e164736f6c63430008120033697066733a2f2f6261666b72656963726169736c64347a716a716462686278697566676e6e6b3571746b6635637369353371736b776c6161353332726163736f766d2f000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000002b2ea852b662f79536f9ad4f321a855c1d98252ccdadf4c5c85765905148558ff67

Deployed Bytecode

0x6080604052600436106102305760003560e01c806370a082311161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd146107e5578063d5abeb0114610822578063e985e9c51461084d578063efbd73f41461088a578063f2fde38b146108b357610230565b8063a22cb46514610716578063a945bf801461073f578063b88d4fde1461076a578063c2d5256014610793578063c6275255146107bc57610230565b80638456cb59116100f25780638456cb59146106715780638da5cb5b146106885780638e1568ee146106b357806395d89b41146106cf578063a0712d68146106fa57610230565b806370a08231146105a0578063715018a6146105dd5780637cb64759146105f45780637cf8cf3f1461061d5780637ec4a6591461064857610230565b806323b872dd116101bc57806342842e0e1161018057806342842e0e146104bb57806342966c68146104e45780635c975abb1461050d57806362b99ad4146105385780636352211e1461056357610230565b806323b872dd146103fc578063247155ff146104255780632eb4a7ab146104625780633ccfd60b1461048d5780633f4ba83a146104a457610230565b80630d978785116102035780630d978785146103035780631122d94a1461034057806318160ddd146103695780631ca8b6cb1461039457806321b06dd0146103bf57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061317f565b6108dc565b60405161026991906131c7565b60405180910390f35b34801561027e57600080fd5b506102876109be565b6040516102949190613272565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906132ca565b610a50565b6040516102d19190613338565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc919061337f565b610a96565b005b34801561030f57600080fd5b5061032a600480360381019061032591906133bf565b610bad565b60405161033791906131c7565b60405180910390f35b34801561034c57600080fd5b506103676004803603810190610362919061356a565b610f4f565b005b34801561037557600080fd5b5061037e6110fb565b60405161038b91906135c2565b60405180910390f35b3480156103a057600080fd5b506103a9611105565b6040516103b691906135c2565b60405180910390f35b3480156103cb57600080fd5b506103e660048036038101906103e191906133bf565b61110b565b6040516103f391906135c2565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e91906135dd565b611123565b005b34801561043157600080fd5b5061044c60048036038101906104479190613630565b611183565b60405161045991906131c7565b60405180910390f35b34801561046e57600080fd5b506104776111ee565b604051610484919061369b565b60405180910390f35b34801561049957600080fd5b506104a26111f4565b005b3480156104b057600080fd5b506104b961127c565b005b3480156104c757600080fd5b506104e260048036038101906104dd91906135dd565b61128e565b005b3480156104f057600080fd5b5061050b600480360381019061050691906132ca565b6112ae565b005b34801561051957600080fd5b5061052261130a565b60405161052f91906131c7565b60405180910390f35b34801561054457600080fd5b5061054d611321565b60405161055a9190613272565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906132ca565b6113af565b6040516105979190613338565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c291906133bf565b611435565b6040516105d491906135c2565b60405180910390f35b3480156105e957600080fd5b506105f26114ec565b005b34801561060057600080fd5b5061061b600480360381019061061691906136b6565b611500565b005b34801561062957600080fd5b50610632611512565b60405161063f91906135c2565b60405180910390f35b34801561065457600080fd5b5061066f600480360381019061066a9190613798565b611518565b005b34801561067d57600080fd5b50610686611533565b005b34801561069457600080fd5b5061069d611545565b6040516106aa9190613338565b60405180910390f35b6106cd60048036038101906106c891906132ca565b61156f565b005b3480156106db57600080fd5b506106e4611ad0565b6040516106f19190613272565b60405180910390f35b610714600480360381019061070f91906132ca565b611b62565b005b34801561072257600080fd5b5061073d6004803603810190610738919061380d565b611cb3565b005b34801561074b57600080fd5b50610754611cc9565b60405161076191906135c2565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c91906138ee565b611ccf565b005b34801561079f57600080fd5b506107ba60048036038101906107b591906132ca565b611d31565b005b3480156107c857600080fd5b506107e360048036038101906107de91906132ca565b611d43565b005b3480156107f157600080fd5b5061080c600480360381019061080791906132ca565b611d55565b6040516108199190613272565b60405180910390f35b34801561082e57600080fd5b50610837611dd3565b60405161084491906135c2565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613971565b611dd9565b60405161088191906131c7565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac91906139b1565b611e6d565b005b3480156108bf57600080fd5b506108da60048036038101906108d591906133bf565b611f66565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109b757506109b682611fe9565b5b9050919050565b6060600080546109cd90613a20565b80601f01602080910402602001604051908101604052809291908181526020018280546109f990613a20565b8015610a465780601f10610a1b57610100808354040283529160200191610a46565b820191906000526020600020905b815481529060010190602001808311610a2957829003601f168201915b5050505050905090565b6000610a5b82612053565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa1826113af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890613ac3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b3061209e565b73ffffffffffffffffffffffffffffffffffffffff161480610b5f5750610b5e81610b5961209e565b611dd9565b5b610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590613b55565b60405180910390fd5b610ba883836120a6565b505050565b60008073abcdb5710b88f456fed1e99025379e2969f2961073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610bfd9190613338565b602060405180830381865afa158015610c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3e9190613b8a565b1180610cd75750600073bfe47d6d4090940d1c7a0066b63d23875e3e2ac573ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610c949190613338565b602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd59190613b8a565b115b80610d6f5750600073880a965fae95f72fe3a3c8e87ed2c9478c8e0a2973ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d2c9190613338565b602060405180830381865afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190613b8a565b115b80610e0757506000735af0d9827e0c53e4799bb226655a1de152a425a573ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610dc49190613338565b602060405180830381865afa158015610de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e059190613b8a565b115b80610e9f57506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610e5c9190613338565b602060405180830381865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190613b8a565b115b80610f3757506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ef49190613338565b602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f359190613b8a565b115b15610f455760019050610f4a565b600090505b919050565b610f5761215f565b600a546001610f646110fb565b610f6e9190613be6565b1115610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690613c66565b60405180910390fd5b610fb93382611183565b610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef90613cd2565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613d3e565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110de6110ca61209e565b6001600b546110d99190613be6565b6121a9565b6001600b60008282546110f19190613be6565b9250508190555050565b6000600b54905090565b600b5481565b600d6020528060005260406000206000915090505481565b61113461112e61209e565b826121c7565b611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a90613dd0565b60405180910390fd5b61117e83838361225c565b505050565b60008083600160405160200161119a929190613e42565b604051602081830303815290604052805190602001206040516020016111c09190613e8c565b6040516020818303038152906040528051906020012090506111e583600c5483612555565b91505092915050565b600c5481565b6111fc61256c565b6000611206611545565b73ffffffffffffffffffffffffffffffffffffffff164760405161122990613ed8565b60006040518083038185875af1925050503d8060008114611266576040519150601f19603f3d011682016040523d82523d6000602084013e61126b565b606091505b505090508061127957600080fd5b50565b61128461256c565b61128c6125ea565b565b6112a983838360405180602001604052806000815250611ccf565b505050565b6112bf6112b961209e565b826121c7565b6112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f590613dd0565b60405180910390fd5b6113078161264d565b50565b6000600660009054906101000a900460ff16905090565b6007805461132e90613a20565b80601f016020809104026020016040519081016040528092919081815260200182805461135a90613a20565b80156113a75780601f1061137c576101008083540402835291602001916113a7565b820191906000526020600020905b81548152906001019060200180831161138a57829003601f168201915b505050505081565b6000806113bb8361279b565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390613f39565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149c90613fcb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114f461256c565b6114fe60006127d8565b565b61150861256c565b80600c8190555050565b60095481565b61152061256c565b806007908161152f919061418d565b5050565b61153b61256c565b61154361289e565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61157761215f565b80600081116115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b2906142ab565b60405180910390fd5b600a54816115c76110fb565b6115d19190613be6565b1115611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990613c66565b60405180910390fd5b33600073abcdb5710b88f456fed1e99025379e2969f2961073ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016116629190613338565b602060405180830381865afa15801561167f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a39190613b8a565b118061173c5750600073bfe47d6d4090940d1c7a0066b63d23875e3e2ac573ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016116f99190613338565b602060405180830381865afa158015611716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173a9190613b8a565b115b806117d45750600073880a965fae95f72fe3a3c8e87ed2c9478c8e0a2973ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016117919190613338565b602060405180830381865afa1580156117ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d29190613b8a565b115b8061186c57506000735af0d9827e0c53e4799bb226655a1de152a425a573ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016118299190613338565b602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a9190613b8a565b115b8061190457506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016118c19190613338565b602060405180830381865afa1580156118de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119029190613b8a565b115b8061199c57506000738fc0d90f2c45a5e7f94904075c952e0943cfccfd73ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016119599190613338565b602060405180830381865afa158015611976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199a9190613b8a565b115b6119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614317565b60405180910390fd5b826009546119e99190614337565b341015611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a22906143c5565b60405180910390fd5b6001831115611a915760005b83811015611a8b57611a5e611a4a61209e565b6001600b54611a599190613be6565b6121a9565b6001600b6000828254611a719190613be6565b925050819055508080611a83906143e5565b915050611a37565b50611acb565b611ab0611a9c61209e565b6001600b54611aab9190613be6565b6121a9565b6001600b6000828254611ac39190613be6565b925050819055505b505050565b606060018054611adf90613a20565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0b90613a20565b8015611b585780601f10611b2d57610100808354040283529160200191611b58565b820191906000526020600020905b815481529060010190602001808311611b3b57829003601f168201915b5050505050905090565b611b6a61215f565b8060008111611bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba5906142ab565b60405180910390fd5b600a5481611bba6110fb565b611bc49190613be6565b1115611c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfc90613c66565b60405180910390fd5b8180600854611c149190614337565b341015611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d906143c5565b60405180910390fd5b60005b83811015611cad57611c80611c6c61209e565b6001600b54611c7b9190613be6565b6121a9565b6001600b6000828254611c939190613be6565b925050819055508080611ca5906143e5565b915050611c59565b50505050565b611cc5611cbe61209e565b8383612901565b5050565b60085481565b611ce0611cda61209e565b836121c7565b611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1690613dd0565b60405180910390fd5b611d2b84848484612a6d565b50505050565b611d3961256c565b8060098190555050565b611d4b61256c565b8060088190555050565b6060611d6082612ac9565b611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d969061449f565b60405180910390fd5b6000611da9612b0a565b90506000815111611dc95760405180602001604052806000815250611dcb565b805b915050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8160008111611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea8906142ab565b60405180910390fd5b600a5481611ebd6110fb565b611ec79190613be6565b1115611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff90613c66565b60405180910390fd5b611f1061256c565b60005b83811015611f6057611f33836001600b54611f2e9190613be6565b6121a9565b6001600b6000828254611f469190613be6565b925050819055508080611f58906143e5565b915050611f13565b50505050565b611f6e61256c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd490614531565b60405180910390fd5b611fe6816127d8565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61205c81612ac9565b61209b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209290613f39565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612119836113af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61216761130a565b156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e9061459d565b60405180910390fd5b565b6121c3828260405180602001604052806000815250612b9c565b5050565b6000806121d3836113af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221557506122148185611dd9565b5b8061225357508373ffffffffffffffffffffffffffffffffffffffff1661223b84610a50565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661227c826113af565b73ffffffffffffffffffffffffffffffffffffffff16146122d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c99061462f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612338906146c1565b60405180910390fd5b61234e8383836001612bf7565b8273ffffffffffffffffffffffffffffffffffffffff1661236e826113af565b73ffffffffffffffffffffffffffffffffffffffff16146123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb9061462f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125508383836001612c5f565b505050565b6000826125628584612c65565b1490509392505050565b61257461209e565b73ffffffffffffffffffffffffffffffffffffffff16612592611545565b73ffffffffffffffffffffffffffffffffffffffff16146125e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125df9061472d565b60405180910390fd5b565b6125f2612cbb565b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61263661209e565b6040516126439190613338565b60405180910390a1565b6000612658826113af565b9050612668816000846001612bf7565b612671826113af565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612797816000846001612c5f565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128a661215f565b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128ea61209e565b6040516128f79190613338565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361296f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296690614799565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a6091906131c7565b60405180910390a3505050565b612a7884848461225c565b612a8484848484612d04565b612ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aba9061482b565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612aeb8361279b565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060078054612b1990613a20565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4590613a20565b8015612b925780601f10612b6757610100808354040283529160200191612b92565b820191906000526020600020905b815481529060010190602001808311612b7557829003601f168201915b5050505050905090565b612ba68383612e8b565b612bb36000848484612d04565b612bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be99061482b565b60405180910390fd5b505050565b612bff61215f565b612c0b848484846130a8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c595780600b6000828254612c51919061484b565b925050819055505b50505050565b50505050565b60008082905060005b8451811015612cb057612c9b82868381518110612c8e57612c8d61487f565b5b60200260200101516130ae565b91508080612ca8906143e5565b915050612c6e565b508091505092915050565b612cc361130a565b612d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf9906148fa565b60405180910390fd5b565b6000612d258473ffffffffffffffffffffffffffffffffffffffff166130d9565b15612e7e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4e61209e565b8786866040518563ffffffff1660e01b8152600401612d70949392919061496f565b6020604051808303816000875af1925050508015612dac57506040513d601f19601f82011682018060405250810190612da991906149d0565b60015b612e2e573d8060008114612ddc576040519150601f19603f3d011682016040523d82523d6000602084013e612de1565b606091505b506000815103612e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1d9061482b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e83565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef190614a49565b60405180910390fd5b612f0381612ac9565b15612f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3a90614ab5565b60405180910390fd5b612f51600083836001612bf7565b612f5a81612ac9565b15612f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9190614ab5565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a4600083836001612c5f565b5050565b50505050565b60008183106130c6576130c182846130fc565b6130d1565b6130d083836130fc565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61315c81613127565b811461316757600080fd5b50565b60008135905061317981613153565b92915050565b6000602082840312156131955761319461311d565b5b60006131a38482850161316a565b91505092915050565b60008115159050919050565b6131c1816131ac565b82525050565b60006020820190506131dc60008301846131b8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561321c578082015181840152602081019050613201565b60008484015250505050565b6000601f19601f8301169050919050565b6000613244826131e2565b61324e81856131ed565b935061325e8185602086016131fe565b61326781613228565b840191505092915050565b6000602082019050818103600083015261328c8184613239565b905092915050565b6000819050919050565b6132a781613294565b81146132b257600080fd5b50565b6000813590506132c48161329e565b92915050565b6000602082840312156132e0576132df61311d565b5b60006132ee848285016132b5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613322826132f7565b9050919050565b61333281613317565b82525050565b600060208201905061334d6000830184613329565b92915050565b61335c81613317565b811461336757600080fd5b50565b60008135905061337981613353565b92915050565b600080604083850312156133965761339561311d565b5b60006133a48582860161336a565b92505060206133b5858286016132b5565b9150509250929050565b6000602082840312156133d5576133d461311d565b5b60006133e38482850161336a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61342982613228565b810181811067ffffffffffffffff82111715613448576134476133f1565b5b80604052505050565b600061345b613113565b90506134678282613420565b919050565b600067ffffffffffffffff821115613487576134866133f1565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6134b08161349d565b81146134bb57600080fd5b50565b6000813590506134cd816134a7565b92915050565b60006134e66134e18461346c565b613451565b9050808382526020820190506020840283018581111561350957613508613498565b5b835b81811015613532578061351e88826134be565b84526020840193505060208101905061350b565b5050509392505050565b600082601f830112613551576135506133ec565b5b81356135618482602086016134d3565b91505092915050565b6000602082840312156135805761357f61311d565b5b600082013567ffffffffffffffff81111561359e5761359d613122565b5b6135aa8482850161353c565b91505092915050565b6135bc81613294565b82525050565b60006020820190506135d760008301846135b3565b92915050565b6000806000606084860312156135f6576135f561311d565b5b60006136048682870161336a565b93505060206136158682870161336a565b9250506040613626868287016132b5565b9150509250925092565b600080604083850312156136475761364661311d565b5b60006136558582860161336a565b925050602083013567ffffffffffffffff81111561367657613675613122565b5b6136828582860161353c565b9150509250929050565b6136958161349d565b82525050565b60006020820190506136b0600083018461368c565b92915050565b6000602082840312156136cc576136cb61311d565b5b60006136da848285016134be565b91505092915050565b600080fd5b600067ffffffffffffffff821115613703576137026133f1565b5b61370c82613228565b9050602081019050919050565b82818337600083830152505050565b600061373b613736846136e8565b613451565b905082815260208101848484011115613757576137566136e3565b5b613762848285613719565b509392505050565b600082601f83011261377f5761377e6133ec565b5b813561378f848260208601613728565b91505092915050565b6000602082840312156137ae576137ad61311d565b5b600082013567ffffffffffffffff8111156137cc576137cb613122565b5b6137d88482850161376a565b91505092915050565b6137ea816131ac565b81146137f557600080fd5b50565b600081359050613807816137e1565b92915050565b600080604083850312156138245761382361311d565b5b60006138328582860161336a565b9250506020613843858286016137f8565b9150509250929050565b600067ffffffffffffffff821115613868576138676133f1565b5b61387182613228565b9050602081019050919050565b600061389161388c8461384d565b613451565b9050828152602081018484840111156138ad576138ac6136e3565b5b6138b8848285613719565b509392505050565b600082601f8301126138d5576138d46133ec565b5b81356138e584826020860161387e565b91505092915050565b600080600080608085870312156139085761390761311d565b5b60006139168782880161336a565b94505060206139278782880161336a565b9350506040613938878288016132b5565b925050606085013567ffffffffffffffff81111561395957613958613122565b5b613965878288016138c0565b91505092959194509250565b600080604083850312156139885761398761311d565b5b60006139968582860161336a565b92505060206139a78582860161336a565b9150509250929050565b600080604083850312156139c8576139c761311d565b5b60006139d6858286016132b5565b92505060206139e78582860161336a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a3857607f821691505b602082108103613a4b57613a4a6139f1565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613aad6021836131ed565b9150613ab882613a51565b604082019050919050565b60006020820190508181036000830152613adc81613aa0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613b3f603d836131ed565b9150613b4a82613ae3565b604082019050919050565b60006020820190508181036000830152613b6e81613b32565b9050919050565b600081519050613b848161329e565b92915050565b600060208284031215613ba057613b9f61311d565b5b6000613bae84828501613b75565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bf182613294565b9150613bfc83613294565b9250828201905080821115613c1457613c13613bb7565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613c506014836131ed565b9150613c5b82613c1a565b602082019050919050565b60006020820190508181036000830152613c7f81613c43565b9050919050565b7f596f7520617265206e6f7420696e636c7564656420696e20736e617073686f74600082015250565b6000613cbc6020836131ed565b9150613cc782613c86565b602082019050919050565b60006020820190508181036000830152613ceb81613caf565b9050919050565b7f596f7520616c726561647920636c61696d656400000000000000000000000000600082015250565b6000613d286013836131ed565b9150613d3382613cf2565b602082019050919050565b60006020820190508181036000830152613d5781613d1b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613dba602d836131ed565b9150613dc582613d5e565b604082019050919050565b60006020820190508181036000830152613de981613dad565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b6000613e2c613e27613e2284613df0565b613e07565b613dfa565b9050919050565b613e3c81613e11565b82525050565b6000604082019050613e576000830185613329565b613e646020830184613e33565b9392505050565b6000819050919050565b613e86613e818261349d565b613e6b565b82525050565b6000613e988284613e75565b60208201915081905092915050565b600081905092915050565b50565b6000613ec2600083613ea7565b9150613ecd82613eb2565b600082019050919050565b6000613ee382613eb5565b9150819050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613f236018836131ed565b9150613f2e82613eed565b602082019050919050565b60006020820190508181036000830152613f5281613f16565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613fb56029836131ed565b9150613fc082613f59565b604082019050919050565b60006020820190508181036000830152613fe481613fa8565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261404d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614010565b6140578683614010565b95508019841693508086168417925050509392505050565b600061408a61408561408084613294565b613e07565b613294565b9050919050565b6000819050919050565b6140a48361406f565b6140b86140b082614091565b84845461401d565b825550505050565b600090565b6140cd6140c0565b6140d881848461409b565b505050565b5b818110156140fc576140f16000826140c5565b6001810190506140de565b5050565b601f8211156141415761411281613feb565b61411b84614000565b8101602085101561412a578190505b61413e61413685614000565b8301826140dd565b50505b505050565b600082821c905092915050565b600061416460001984600802614146565b1980831691505092915050565b600061417d8383614153565b9150826002028217905092915050565b614196826131e2565b67ffffffffffffffff8111156141af576141ae6133f1565b5b6141b98254613a20565b6141c4828285614100565b600060209050601f8311600181146141f757600084156141e5578287015190505b6141ef8582614171565b865550614257565b601f19841661420586613feb565b60005b8281101561422d57848901518255600182019150602085019450602081019050614208565b8683101561424a5784890151614246601f891682614153565b8355505b6001600288020188555050505b505050505050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006142956014836131ed565b91506142a08261425f565b602082019050919050565b600060208201905081810360008301526142c481614288565b9050919050565b7f596f7520646f6e7420616e79204d696c61647927732100000000000000000000600082015250565b60006143016016836131ed565b915061430c826142cb565b602082019050919050565b60006020820190508181036000830152614330816142f4565b9050919050565b600061434282613294565b915061434d83613294565b925082820261435b81613294565b9150828204841483151761437257614371613bb7565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006143af6013836131ed565b91506143ba82614379565b602082019050919050565b600060208201905081810360008301526143de816143a2565b9050919050565b60006143f082613294565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361442257614421613bb7565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614489602f836131ed565b91506144948261442d565b604082019050919050565b600060208201905081810360008301526144b88161447c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061451b6026836131ed565b9150614526826144bf565b604082019050919050565b6000602082019050818103600083015261454a8161450e565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006145876010836131ed565b915061459282614551565b602082019050919050565b600060208201905081810360008301526145b68161457a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006146196025836131ed565b9150614624826145bd565b604082019050919050565b600060208201905081810360008301526146488161460c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006146ab6024836131ed565b91506146b68261464f565b604082019050919050565b600060208201905081810360008301526146da8161469e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147176020836131ed565b9150614722826146e1565b602082019050919050565b600060208201905081810360008301526147468161470a565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006147836019836131ed565b915061478e8261474d565b602082019050919050565b600060208201905081810360008301526147b281614776565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006148156032836131ed565b9150614820826147b9565b604082019050919050565b6000602082019050818103600083015261484481614808565b9050919050565b600061485682613294565b915061486183613294565b925082820390508181111561487957614878613bb7565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006148e46014836131ed565b91506148ef826148ae565b602082019050919050565b60006020820190508181036000830152614913816148d7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149418261491a565b61494b8185614925565b935061495b8185602086016131fe565b61496481613228565b840191505092915050565b60006080820190506149846000830187613329565b6149916020830186613329565b61499e60408301856135b3565b81810360608301526149b08184614936565b905095945050505050565b6000815190506149ca81613153565b92915050565b6000602082840312156149e6576149e561311d565b5b60006149f4848285016149bb565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614a336020836131ed565b9150614a3e826149fd565b602082019050919050565b60006020820190508181036000830152614a6281614a26565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a9f601c836131ed565b9150614aaa82614a69565b602082019050919050565b60006020820190508181036000830152614ace81614a92565b905091905056fea2646970667358221220085bf5fe57bb5aed260ec0498824a023b2020d75544e504a8b0fd53366efa5e164736f6c63430008120033

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

000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000002b2ea852b662f79536f9ad4f321a855c1d98252ccdadf4c5c85765905148558ff67

-----Decoded View---------------
Arg [0] : _publicPrice (uint256): 100000000000000000
Arg [1] : _miladyPrice (uint256): 50000000000000000
Arg [2] : _maxSupply (uint256): 690
Arg [3] : _merkleRoot (bytes32): 0xea852b662f79536f9ad4f321a855c1d98252ccdadf4c5c85765905148558ff67

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [1] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002b2
Arg [3] : ea852b662f79536f9ad4f321a855c1d98252ccdadf4c5c85765905148558ff67


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

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.