ETH Price: $2,940.93 (+0.86%)
Gas: 28 Gwei

Token

Sacred Souls (SACREDSOULS)
 

Overview

Max Total Supply

1,886 SACREDSOULS

Holders

658

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SacredSouls

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : SacredSouls.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.16;

import { ERC2981 } from "@openzeppelin/contracts/token/common/ERC2981.sol";
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import { ERC721Burnable } from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { Address } from "@openzeppelin/contracts/utils/Address.sol";
import { Counters } from "@openzeppelin/contracts/utils/Counters.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/*

  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–„β–„β–„       β–„β–ˆβ–ˆβ–ˆβ–ˆβ–„   β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆ  β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   β–ˆ    β–ˆβ–ˆ  β–ˆβ–ˆβ–“      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 
β–’β–ˆβ–ˆ    β–’ β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„    β–’β–ˆβ–ˆβ–€ β–€β–ˆ  β–“β–ˆβ–ˆ β–’ β–ˆβ–ˆβ–’β–“β–ˆ   β–€ β–’β–ˆβ–ˆβ–€ β–ˆβ–ˆβ–Œ   β–’β–ˆβ–ˆ    β–’ β–’β–ˆβ–ˆβ–’  β–ˆβ–ˆβ–’ β–ˆβ–ˆ  β–“β–ˆβ–ˆβ–’β–“β–ˆβ–ˆβ–’    β–’β–ˆβ–ˆ    β–’ 
β–‘ β–“β–ˆβ–ˆβ–„   β–’β–ˆβ–ˆ  β–€β–ˆβ–„  β–’β–“β–ˆ    β–„ β–“β–ˆβ–ˆ β–‘β–„β–ˆ β–’β–’β–ˆβ–ˆβ–ˆ   β–‘β–ˆβ–ˆ   β–ˆβ–Œ   β–‘ β–“β–ˆβ–ˆβ–„   β–’β–ˆβ–ˆβ–‘  β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ  β–’β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–‘    β–‘ β–“β–ˆβ–ˆβ–„   
  β–’   β–ˆβ–ˆβ–’β–‘β–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆ β–’β–“β–“β–„ β–„β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–€β–€β–ˆβ–„  β–’β–“β–ˆ  β–„ β–‘β–“β–ˆβ–„   β–Œ     β–’   β–ˆβ–ˆβ–’β–’β–ˆβ–ˆ   β–ˆβ–ˆβ–‘β–“β–“β–ˆ  β–‘β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–‘      β–’   β–ˆβ–ˆβ–’
β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’ β–“β–ˆ   β–“β–ˆβ–ˆβ–’β–’ β–“β–ˆβ–ˆβ–ˆβ–€ β–‘β–‘β–ˆβ–ˆβ–“ β–’β–ˆβ–ˆβ–’β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–’β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–“    β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–‘ β–ˆβ–ˆβ–ˆβ–ˆβ–“β–’β–‘β–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“ β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’
β–’ β–’β–“β–’ β–’ β–‘ β–’β–’   β–“β–’β–ˆβ–‘β–‘ β–‘β–’ β–’  β–‘β–‘ β–’β–“ β–‘β–’β–“β–‘β–‘β–‘ β–’β–‘ β–‘ β–’β–’β–“  β–’    β–’ β–’β–“β–’ β–’ β–‘β–‘ β–’β–‘β–’β–‘β–’β–‘ β–‘β–’β–“β–’ β–’ β–’ β–‘ β–’β–‘β–“  β–‘β–’ β–’β–“β–’ β–’ β–‘
β–‘ β–‘β–’  β–‘ β–‘  β–’   β–’β–’ β–‘  β–‘  β–’     β–‘β–’ β–‘ β–’β–‘ β–‘ β–‘  β–‘ β–‘ β–’  β–’    β–‘ β–‘β–’  β–‘ β–‘  β–‘ β–’ β–’β–‘ β–‘β–‘β–’β–‘ β–‘ β–‘ β–‘ β–‘ β–’  β–‘β–‘ β–‘β–’  β–‘ β–‘
β–‘  β–‘  β–‘    β–‘   β–’   β–‘          β–‘β–‘   β–‘    β–‘    β–‘ β–‘  β–‘    β–‘  β–‘  β–‘  β–‘ β–‘ β–‘ β–’   β–‘β–‘β–‘ β–‘ β–‘   β–‘ β–‘   β–‘  β–‘  β–‘  
      β–‘        β–‘  β–‘β–‘ β–‘         β–‘        β–‘  β–‘   β–‘             β–‘      β–‘ β–‘     β–‘         β–‘  β–‘      β–‘  
                   β–‘                         β–‘                                                     

I see you nerd! βŒβŠ™_βŠ™
*/

contract SacredSouls is ERC2981, ERC721, ERC721Burnable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter public tokenIdCounter;
    Counters.Counter public burnCounter;
    uint256 public maxTokenSupply;

    uint256 public mintPrice = 0.055 ether;
    uint256 public customizePrice = 0.022 ether;
    uint256 public constant MAX_MINTS_PER_TXN = 7;
    uint256 public maxPresaleMintsPerWallet = 2;

    bool public preSaleIsActive;
    bool public saleIsActive;
    bool public claimIsActive;
    bool public isLocked;

    IERC721 private immutable skullsContract;
    IERC721 private immutable genesisSkullsContract;

    string public baseURI;
    string public provenance;

    mapping (address => uint256) public presaleMints;
    mapping (uint256 => bool) public isTokenClaimed;
    mapping (uint256 => bool) public isGenesisClaimed;

    // errors
    error ProvenanceLocked();
    error NotEnoughEther();
    error ExceedsMaxSupply();
    error SaleNotLive();
    error ClaimNotLive();
    error ExceedsMaxPerTxn();
    error ExceedsMaxPerWallet();
    error InvalidProof();
    error TokenAlreadyClaimed(uint256 tokenId);
    error ClaimerNotOwner(uint256 tokenId);
    error InvalidClaim();

    // replace with merkle root
    bytes32 public merkleRoot = 0xa7226142b67f7c1b77b3997e9cfbb8331d2e518be561419d7d4607b3fe5bafa4;

    event PaymentReleased(address to, uint256 amount);

    struct SoulSelection {
        uint256[4] stackedTokenIds;
        bool isGenesis;
        uint256 quizAnswers;
    }

    event SoulsClaimed(uint256 startTokenId, uint256 numClaimed, SoulSelection[] soulChoices);
    event SoulsMinted(uint256 startTokenId, uint256 numMinted, uint256[] quizAnswers);

    constructor(string memory name, string memory symbol, uint256 maxNfts, address skullsContractAddress, address genesisSkullsAddress) ERC721(name, symbol) {
        maxTokenSupply = maxNfts;

        skullsContract = IERC721(skullsContractAddress);
        genesisSkullsContract = IERC721(genesisSkullsAddress);

        _setDefaultRoyalty(msg.sender, 500);
    }

    function setMaxTokenSupply(uint256 maxNfts) external onlyOwner {
        if (isLocked) {
            revert ProvenanceLocked();
        }

        maxTokenSupply = maxNfts;
    }

    function setMintPrice(uint256 newPrice, uint256 newCustomizePrice) external onlyOwner {
        mintPrice = newPrice;
        customizePrice = newCustomizePrice;
    }

    function setMaxPresaleMintsPerWallet(uint256 newLimit) external onlyOwner {
        maxPresaleMintsPerWallet = newLimit;
    }

    function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner {
        merkleRoot = newMerkleRoot;
    }

    function withdraw(uint256 amount, address payable to) external onlyOwner {
        Address.sendValue(to, amount);
        emit PaymentReleased(to, amount);
    }

    /*
    * Mint reserved NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount, address mintAddress, uint256[] calldata quizAnswers) external onlyOwner {
        uint256 startTokenId = tokenIdCounter.current() + 1;

        _mintMultiple(reservedAmount, mintAddress);

        emit SoulsMinted(startTokenId, reservedAmount, quizAnswers);
    }

    function _mintMultiple(uint256 numTokens, address mintAddress) internal {
        if (tokenIdCounter.current() + numTokens > maxTokenSupply) {
            revert ExceedsMaxSupply();
        }

        unchecked {
            for (uint256 i = 0; i < numTokens; ++i) {
                tokenIdCounter.increment();
                _mint(mintAddress, tokenIdCounter.current());
            }
        }
    }

    function setStates(bool claimState, bool presaleState, bool saleState) external onlyOwner {
        claimIsActive = claimState;
        preSaleIsActive = presaleState;
        saleIsActive = saleState;
    }

    /*
    * Lock provenance, supply and base URI.
    */
    function lockProvenance() external onlyOwner {
        isLocked = true;
    }

    function totalSupply() external view returns (uint256) {
        return tokenIdCounter.current() - burnCounter.current();
    }

    function hashLeaf(address presaleAddress) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(
            presaleAddress
        ));
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function claim(SoulSelection[] calldata soulChoices) external payable {
        if (!claimIsActive) {
            revert ClaimNotLive();
        }

        uint256 numCustomizedSouls = 0;
        uint256 numSouls = soulChoices.length;

        unchecked {
            for (uint256 i = 0; i < numSouls; ++i) {
                SoulSelection calldata soulChoice = soulChoices[i];

                if (soulChoice.quizAnswers != 0) {
                    ++numCustomizedSouls;
                }

                for(uint256 j = 0; j < 4; ++j) {
                    if (soulChoice.stackedTokenIds[j] == 0) {
                        if (j == 0) {
                            revert InvalidClaim();
                        }

                        break;
                    }

                    if (soulChoice.isGenesis) {
                        if (isGenesisClaimed[soulChoice.stackedTokenIds[j]]) {
                            revert TokenAlreadyClaimed({
                                tokenId: soulChoice.stackedTokenIds[j]
                            });
                        }

                        if (genesisSkullsContract.ownerOf(soulChoice.stackedTokenIds[j]) != msg.sender) {
                            revert ClaimerNotOwner({
                                tokenId: soulChoice.stackedTokenIds[j]
                            });
                        }

                        isGenesisClaimed[soulChoice.stackedTokenIds[j]] = true;
                    } else {
                        if (isTokenClaimed[soulChoice.stackedTokenIds[j]]) {
                            revert TokenAlreadyClaimed({
                                tokenId: soulChoice.stackedTokenIds[j]
                            });
                        }

                        if (skullsContract.ownerOf(soulChoice.stackedTokenIds[j]) != msg.sender) {
                            revert ClaimerNotOwner({
                                tokenId: soulChoice.stackedTokenIds[j]
                            });
                        }

                        isTokenClaimed[soulChoice.stackedTokenIds[j]] = true;
                    }
                }
            }
        }

        if (msg.value < customizePrice * numCustomizedSouls) {
            revert NotEnoughEther();
        }

        uint256 startTokenId = tokenIdCounter.current() + 1;

        _mintMultiple(numSouls, msg.sender);

        emit SoulsClaimed(startTokenId, numSouls, soulChoices);
    }

    function publicMint(uint256 numberOfTokens, uint256[] calldata quizAnswers) external payable {
        if (!saleIsActive) {
            revert SaleNotLive();
        }

        if (numberOfTokens > MAX_MINTS_PER_TXN) {
            revert ExceedsMaxPerTxn();
        }

        uint256 totalPrice = mintPrice * numberOfTokens + customizePrice * quizAnswers.length;

        if (msg.value < totalPrice) {
            revert NotEnoughEther();
        }

        uint256 startTokenId = tokenIdCounter.current() + 1;

        _mintMultiple(numberOfTokens, msg.sender);

        emit SoulsMinted(startTokenId, numberOfTokens, quizAnswers);
    }

    function presaleMint(uint256 numberOfTokens, uint256[] calldata quizAnswers, bytes32[] calldata merkleProof) external payable {
        if (!preSaleIsActive) {
            revert SaleNotLive();
        }

        if (presaleMints[msg.sender] + numberOfTokens > maxPresaleMintsPerWallet) {
            revert ExceedsMaxPerWallet();
        }

        uint256 totalPrice = mintPrice * numberOfTokens + customizePrice * quizAnswers.length;

        if (msg.value < totalPrice) {
            revert NotEnoughEther();
        }

        // Compute the node and verify the merkle proof
        if (!MerkleProof.verify(merkleProof, merkleRoot, hashLeaf(msg.sender))) {
            revert InvalidProof();
        }

        uint256 startTokenId = tokenIdCounter.current() + 1;

        presaleMints[msg.sender] += numberOfTokens;

        _mintMultiple(numberOfTokens, msg.sender);

        emit SoulsMinted(startTokenId, numberOfTokens, quizAnswers);
    }

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

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        if (isLocked) {
            revert ProvenanceLocked();
        }

        baseURI = newBaseURI;
    }

    /*     
    * Set provenance once it's calculated.
    */
    function setProvenanceHash(string memory provenanceHash) external onlyOwner {
        if (isLocked) {
            revert ProvenanceLocked();
        }

        provenance = provenanceHash;
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC2981, ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (to == address(0)) {
            burnCounter.increment();
        }
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 16 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 = _owners[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 nor 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 nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        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);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

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

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @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.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 12 of 16 : 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 13 of 16 : 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);
}

File 14 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 15 of 16 : 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 16 of 16 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxNfts","type":"uint256"},{"internalType":"address","name":"skullsContractAddress","type":"address"},{"internalType":"address","name":"genesisSkullsAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ClaimNotLive","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ClaimerNotOwner","type":"error"},{"inputs":[],"name":"ExceedsMaxPerTxn","type":"error"},{"inputs":[],"name":"ExceedsMaxPerWallet","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"InvalidClaim","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"NotEnoughEther","type":"error"},{"inputs":[],"name":"ProvenanceLocked","type":"error"},{"inputs":[],"name":"SaleNotLive","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenAlreadyClaimed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numClaimed","type":"uint256"},{"components":[{"internalType":"uint256[4]","name":"stackedTokenIds","type":"uint256[4]"},{"internalType":"bool","name":"isGenesis","type":"bool"},{"internalType":"uint256","name":"quizAnswers","type":"uint256"}],"indexed":false,"internalType":"struct SacredSouls.SoulSelection[]","name":"soulChoices","type":"tuple[]"}],"name":"SoulsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numMinted","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"quizAnswers","type":"uint256[]"}],"name":"SoulsMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnCounter","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256[4]","name":"stackedTokenIds","type":"uint256[4]"},{"internalType":"bool","name":"isGenesis","type":"bool"},{"internalType":"uint256","name":"quizAnswers","type":"uint256"}],"internalType":"struct SacredSouls.SoulSelection[]","name":"soulChoices","type":"tuple[]"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"customizePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"presaleAddress","type":"address"}],"name":"hashLeaf","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isGenesisClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isTokenClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPresaleMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256[]","name":"quizAnswers","type":"uint256[]"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256[]","name":"quizAnswers","type":"uint256[]"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"},{"internalType":"uint256[]","name":"quizAnswers","type":"uint256[]"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMaxPresaleMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxNfts","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"},{"internalType":"uint256","name":"newCustomizePrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"claimState","type":"bool"},{"internalType":"bool","name":"presaleState","type":"bool"},{"internalType":"bool","name":"saleState","type":"bool"}],"name":"setStates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdCounter","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405266c3663566a58000600c55664e28e2290f0000600d556002600e557fa7226142b67f7c1b77b3997e9cfbb8331d2e518be561419d7d4607b3fe5bafa460001b6015553480156200005357600080fd5b5060405162006189380380620061898339818101604052810190620000799190620005fc565b848481600290816200008c919062000903565b5080600390816200009e919062000903565b505050620000c1620000b56200014f60201b60201c565b6200015760201b60201c565b82600b819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505062000144336101f46200021d60201b60201c565b505050505062000b05565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200022d620003bf60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200028e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002859062000a71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000300576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f79062000ae3565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200043282620003e7565b810181811067ffffffffffffffff82111715620004545762000453620003f8565b5b80604052505050565b600062000469620003c9565b905062000477828262000427565b919050565b600067ffffffffffffffff8211156200049a5762000499620003f8565b5b620004a582620003e7565b9050602081019050919050565b60005b83811015620004d2578082015181840152602081019050620004b5565b60008484015250505050565b6000620004f5620004ef846200047c565b6200045d565b905082815260208101848484011115620005145762000513620003e2565b5b62000521848285620004b2565b509392505050565b600082601f830112620005415762000540620003dd565b5b815162000553848260208601620004de565b91505092915050565b6000819050919050565b62000571816200055c565b81146200057d57600080fd5b50565b600081519050620005918162000566565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005c48262000597565b9050919050565b620005d681620005b7565b8114620005e257600080fd5b50565b600081519050620005f681620005cb565b92915050565b600080600080600060a086880312156200061b576200061a620003d3565b5b600086015167ffffffffffffffff8111156200063c576200063b620003d8565b5b6200064a8882890162000529565b955050602086015167ffffffffffffffff8111156200066e576200066d620003d8565b5b6200067c8882890162000529565b94505060406200068f8882890162000580565b9350506060620006a288828901620005e5565b9250506080620006b588828901620005e5565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200071557607f821691505b6020821081036200072b576200072a620006cd565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000756565b620007a1868362000756565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620007e4620007de620007d8846200055c565b620007b9565b6200055c565b9050919050565b6000819050919050565b6200080083620007c3565b620008186200080f82620007eb565b84845462000763565b825550505050565b600090565b6200082f62000820565b6200083c818484620007f5565b505050565b5b8181101562000864576200085860008262000825565b60018101905062000842565b5050565b601f821115620008b3576200087d8162000731565b620008888462000746565b8101602085101562000898578190505b620008b0620008a78562000746565b83018262000841565b50505b505050565b600082821c905092915050565b6000620008d860001984600802620008b8565b1980831691505092915050565b6000620008f38383620008c5565b9150826002028217905092915050565b6200090e82620006c2565b67ffffffffffffffff8111156200092a5762000929620003f8565b5b620009368254620006fc565b6200094382828562000868565b600060209050601f8311600181146200097b576000841562000966578287015190505b620009728582620008e5565b865550620009e2565b601f1984166200098b8662000731565b60005b82811015620009b5578489015182556001820191506020850194506020810190506200098e565b86831015620009d55784890151620009d1601f891682620008c5565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000a59602a83620009ea565b915062000a6682620009fb565b604082019050919050565b6000602082019050818103600083015262000a8c8162000a4a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000acb601983620009ea565b915062000ad88262000a93565b602082019050919050565b6000602082019050818103600083015262000afe8162000abc565b9050919050565b60805160a05161565e62000b2b6000396000610e1801526000611037015261565e6000f3fe6080604052600436106102e35760003560e01c80635bf8b5d111610190578063a4e2d634116100dc578063d550c83411610095578063ea7523ee1161006f578063ea7523ee14610b21578063eb8d244414610b38578063f2fde38b14610b63578063ff50188514610b8c576102e3565b8063d550c83414610a90578063dfe93fa314610ab9578063e985e9c514610ae4576102e3565b8063a4e2d6341461098f578063a899578d146109ba578063b07ed982146109e5578063b88d4fde14610a0e578063c87b56dd14610a37578063d4cb890c14610a74576102e3565b8063715018a6116101495780638da5cb5b116101235780638da5cb5b146108e557806395d89b411461091057806398bdf6f51461093b578063a22cb46514610966576102e3565b8063715018a61461087c5780637cb64759146108935780638881396c146108bc576102e3565b80635bf8b5d1146107465780636352211e1461076f5780636817c76c146107ac5780636c0360eb146107d75780636cedd32b1461080257806370a082311461083f576102e3565b806323b872dd1161024f5780633beb51f7116102085780634c99007d116101e25780634c99007d1461069c57806350f7c204146106c75780635303f68c146106f257806355f804b31461071d576102e3565b80633beb51f71461062e57806342842e0e1461064a57806342966c6814610673576102e3565b806323b872dd146104f757806325e49541146105205780632a55205a1461055d5780632eb4a7ab1461059b5780632f35e11f146105c657806337dd9b4f146105f1576102e3565b8063081812fc116102a1578063081812fc146103e7578063095ea7b3146104245780630f7309e81461044d578063109695231461047857806318160ddd146104a15780631f0234d8146104cc576102e3565b8062f714ce146102e857806301ffc9a7146103115780630442bfa81461034e57806304634d8d1461037757806306df4d5b146103a057806306fdde03146103bc575b600080fd5b3480156102f457600080fd5b5061030f600480360381019061030a9190613863565b610bc9565b005b34801561031d57600080fd5b50610338600480360381019061033391906138fb565b610c18565b6040516103459190613943565b60405180910390f35b34801561035a57600080fd5b506103756004803603810190610370919061395e565b610c2a565b005b34801561038357600080fd5b5061039e60048036038101906103999190613a20565b610c44565b005b6103ba60048036038101906103b59190613ac5565b610c5a565b005b3480156103c857600080fd5b506103d161126a565b6040516103de9190613ba2565b60405180910390f35b3480156103f357600080fd5b5061040e60048036038101906104099190613bc4565b6112fc565b60405161041b9190613c00565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190613c1b565b611342565b005b34801561045957600080fd5b50610462611459565b60405161046f9190613ba2565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190613d8b565b6114e7565b005b3480156104ad57600080fd5b506104b6611549565b6040516104c39190613de3565b60405180910390f35b3480156104d857600080fd5b506104e161156e565b6040516104ee9190613943565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613dfe565b611581565b005b34801561052c57600080fd5b5061054760048036038101906105429190613e51565b6115e1565b6040516105549190613e97565b60405180910390f35b34801561056957600080fd5b50610584600480360381019061057f919061395e565b611611565b604051610592929190613eb2565b60405180910390f35b3480156105a757600080fd5b506105b06117fb565b6040516105bd9190613e97565b60405180910390f35b3480156105d257600080fd5b506105db611801565b6040516105e89190613de3565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190613bc4565b611807565b6040516106259190613943565b60405180910390f35b61064860048036038101906106439190613f87565b611827565b005b34801561065657600080fd5b50610671600480360381019061066c9190613dfe565b611aa6565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613bc4565b611ac6565b005b3480156106a857600080fd5b506106b1611b22565b6040516106be9190613de3565b60405180910390f35b3480156106d357600080fd5b506106dc611b2e565b6040516106e99190613de3565b60405180910390f35b3480156106fe57600080fd5b50610707611b34565b6040516107149190613943565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190613d8b565b611b47565b005b34801561075257600080fd5b5061076d6004803603810190610768919061401c565b611ba9565b005b34801561077b57600080fd5b5061079660048036038101906107919190613bc4565b611c19565b6040516107a39190613c00565b60405180910390f35b3480156107b857600080fd5b506107c1611cca565b6040516107ce9190613de3565b60405180910390f35b3480156107e357600080fd5b506107ec611cd0565b6040516107f99190613ba2565b60405180910390f35b34801561080e57600080fd5b5061082960048036038101906108249190613bc4565b611d5e565b6040516108369190613943565b60405180910390f35b34801561084b57600080fd5b5061086660048036038101906108619190613e51565b611d7e565b6040516108739190613de3565b60405180910390f35b34801561088857600080fd5b50610891611e35565b005b34801561089f57600080fd5b506108ba60048036038101906108b591906140bc565b611e49565b005b3480156108c857600080fd5b506108e360048036038101906108de9190613bc4565b611e5b565b005b3480156108f157600080fd5b506108fa611e6d565b6040516109079190613c00565b60405180910390f35b34801561091c57600080fd5b50610925611e97565b6040516109329190613ba2565b60405180910390f35b34801561094757600080fd5b50610950611f29565b60405161095d9190613de3565b60405180910390f35b34801561097257600080fd5b5061098d60048036038101906109889190614115565b611f35565b005b34801561099b57600080fd5b506109a4611f4b565b6040516109b19190613943565b60405180910390f35b3480156109c657600080fd5b506109cf611f5e565b6040516109dc9190613de3565b60405180910390f35b3480156109f157600080fd5b50610a0c6004803603810190610a079190613bc4565b611f64565b005b348015610a1a57600080fd5b50610a356004803603810190610a3091906141f6565b611fbd565b005b348015610a4357600080fd5b50610a5e6004803603810190610a599190613bc4565b61201f565b604051610a6b9190613ba2565b60405180910390f35b610a8e6004803603810190610a899190614279565b612087565b005b348015610a9c57600080fd5b50610ab76004803603810190610ab291906142d9565b6121d7565b005b348015610ac557600080fd5b50610ace612232565b604051610adb9190613de3565b60405180910390f35b348015610af057600080fd5b50610b0b6004803603810190610b06919061432c565b612237565b604051610b189190613943565b60405180910390f35b348015610b2d57600080fd5b50610b366122cb565b005b348015610b4457600080fd5b50610b4d6122f0565b604051610b5a9190613943565b60405180910390f35b348015610b6f57600080fd5b50610b8a6004803603810190610b859190613e51565b612303565b005b348015610b9857600080fd5b50610bb36004803603810190610bae9190613e51565b612386565b604051610bc09190613de3565b60405180910390f35b610bd161239e565b610bdb818361241c565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568183604051610c0c9291906143cb565b60405180910390a15050565b6000610c2382612510565b9050919050565b610c3261239e565b81600c8190555080600d819055505050565b610c4c61239e565b610c5682826125f2565b5050565b600f60029054906101000a900460ff16610ca0576040517f44c11cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008083839050905060005b818110156111ba5736858583818110610cc857610cc76143f4565b5b905060c00201905060008160a0013514610ce3578360010193505b60005b60048110156111ad576000826000018260048110610d0757610d066143f4565b5b602002013503610d505760008103610d4b576040517fed3c247c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111ad565b816080016020810190610d639190614423565b15610f875760146000836000018360048110610d8257610d816143f4565b5b6020020135815260200190815260200160002060009054906101000a900460ff1615610dff57816000018160048110610dbe57610dbd6143f4565b5b60200201356040517f35c500ed000000000000000000000000000000000000000000000000000000008152600401610df69190613de3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e846000018460048110610e6857610e676143f4565b5b60200201356040518263ffffffff1660e01b8152600401610e899190613de3565b602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca9190614465565b73ffffffffffffffffffffffffffffffffffffffff1614610f3c57816000018160048110610efb57610efa6143f4565b5b60200201356040517fd95dbf6a000000000000000000000000000000000000000000000000000000008152600401610f339190613de3565b60405180910390fd5b600160146000846000018460048110610f5857610f576143f4565b5b6020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055506111a2565b60136000836000018360048110610fa157610fa06143f4565b5b6020020135815260200190815260200160002060009054906101000a900460ff161561101e57816000018160048110610fdd57610fdc6143f4565b5b60200201356040517f35c500ed0000000000000000000000000000000000000000000000000000000081526004016110159190613de3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e846000018460048110611087576110866143f4565b5b60200201356040518263ffffffff1660e01b81526004016110a89190613de3565b602060405180830381865afa1580156110c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e99190614465565b73ffffffffffffffffffffffffffffffffffffffff161461115b5781600001816004811061111a576111196143f4565b5b60200201356040517fd95dbf6a0000000000000000000000000000000000000000000000000000000081526004016111529190613de3565b60405180910390fd5b600160136000846000018460048110611177576111766143f4565b5b6020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050610ce6565b5050806001019050610cac565b5081600d546111c991906144c1565b341015611202576040517f8a0d377900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060016112106009612786565b61121a919061451b565b90506112268233612794565b7faee939c3d87de40880ecddae6ad5415924a30e89000ea8bc461621b6d93658198183878760405161125b94939291906146c1565b60405180910390a15050505050565b60606002805461127990614730565b80601f01602080910402602001604051908101604052809291908181526020018280546112a590614730565b80156112f25780601f106112c7576101008083540402835291602001916112f2565b820191906000526020600020905b8154815290600101906020018083116112d557829003601f168201915b5050505050905090565b60006113078261281c565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061134d82611c19565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b4906147d3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166113dc612867565b73ffffffffffffffffffffffffffffffffffffffff16148061140b575061140a81611405612867565b612237565b5b61144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190614865565b60405180910390fd5b611454838361286f565b505050565b6011805461146690614730565b80601f016020809104026020016040519081016040528092919081815260200182805461149290614730565b80156114df5780601f106114b4576101008083540402835291602001916114df565b820191906000526020600020905b8154815290600101906020018083116114c257829003601f168201915b505050505081565b6114ef61239e565b600f60039054906101000a900460ff1615611536576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601190816115459190614a27565b5050565b6000611555600a612786565b61155f6009612786565b6115699190614af9565b905090565b600f60009054906101000a900460ff1681565b61159261158c612867565b82612928565b6115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c890614b9f565b60405180910390fd5b6115dc8383836129bd565b505050565b6000816040516020016115f49190614c07565b604051602081830303815290604052805190602001209050919050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036117a65760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006117b0612c23565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866117dc91906144c1565b6117e69190614c51565b90508160000151819350935050509250929050565b60155481565b600e5481565b60146020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900460ff1661186d576040517ffc33ddda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e5485601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118bb919061451b565b11156118f3576040517fc0e54d7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084849050600d5461190691906144c1565b86600c5461191491906144c1565b61191e919061451b565b90508034101561195a576040517f8a0d377900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119b0838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506015546119ab336115e1565b612c2d565b6119e6576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060016119f46009612786565b6119fe919061451b565b905086601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a4f919061451b565b92505081905550611a608733612794565b7f43d34e1a9515e77fdf88ff2461cbe1ba447433a7faf292f5236e00fc3220930e81888888604051611a959493929190614cf4565b60405180910390a150505050505050565b611ac183838360405180602001604052806000815250611fbd565b505050565b611ad7611ad1612867565b82612928565b611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90614b9f565b60405180910390fd5b611b1f81612c44565b50565b600a8060000154905081565b600b5481565b600f60029054906101000a900460ff1681565b611b4f61239e565b600f60039054906101000a900460ff1615611b96576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060109081611ba59190614a27565b5050565b611bb161239e565b60006001611bbf6009612786565b611bc9919061451b565b9050611bd58585612794565b7f43d34e1a9515e77fdf88ff2461cbe1ba447433a7faf292f5236e00fc3220930e81868585604051611c0a9493929190614cf4565b60405180910390a15050505050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb890614d80565b60405180910390fd5b80915050919050565b600c5481565b60108054611cdd90614730565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0990614730565b8015611d565780601f10611d2b57610100808354040283529160200191611d56565b820191906000526020600020905b815481529060010190602001808311611d3957829003601f168201915b505050505081565b60136020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de590614e12565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611e3d61239e565b611e476000612d61565b565b611e5161239e565b8060158190555050565b611e6361239e565b80600e8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611ea690614730565b80601f0160208091040260200160405190810160405280929190818152602001828054611ed290614730565b8015611f1f5780601f10611ef457610100808354040283529160200191611f1f565b820191906000526020600020905b815481529060010190602001808311611f0257829003601f168201915b5050505050905090565b60098060000154905081565b611f47611f40612867565b8383612e27565b5050565b600f60039054906101000a900460ff1681565b600d5481565b611f6c61239e565b600f60039054906101000a900460ff1615611fb3576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b8190555050565b611fce611fc8612867565b83612928565b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490614b9f565b60405180910390fd5b61201984848484612f93565b50505050565b606061202a8261281c565b6000612034612fef565b90506000815111612054576040518060200160405280600081525061207f565b8061205e84613081565b60405160200161206f929190614e6e565b6040516020818303038152906040525b915050919050565b600f60019054906101000a900460ff166120cd576040517ffc33ddda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007831115612108576040517ffcb7d65900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082829050600d5461211b91906144c1565b84600c5461212991906144c1565b612133919061451b565b90508034101561216f576040517f8a0d377900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600161217d6009612786565b612187919061451b565b90506121938533612794565b7f43d34e1a9515e77fdf88ff2461cbe1ba447433a7faf292f5236e00fc3220930e818686866040516121c89493929190614cf4565b60405180910390a15050505050565b6121df61239e565b82600f60026101000a81548160ff02191690831515021790555081600f60006101000a81548160ff02191690831515021790555080600f60016101000a81548160ff021916908315150217905550505050565b600781565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122d361239e565b6001600f60036101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b61230b61239e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237190614f04565b60405180910390fd5b61238381612d61565b50565b60126020528060005260406000206000915090505481565b6123a6612867565b73ffffffffffffffffffffffffffffffffffffffff166123c4611e6d565b73ffffffffffffffffffffffffffffffffffffffff161461241a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241190614f70565b60405180910390fd5b565b8047101561245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690614fdc565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124859061502d565b60006040518083038185875af1925050503d80600081146124c2576040519150601f19603f3d011682016040523d82523d6000602084013e6124c7565b606091505b505090508061250b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612502906150b4565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125db57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125eb57506125ea826131e1565b5b9050919050565b6125fa612c23565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f90615146565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be906151b2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081600001549050919050565b600b54826127a26009612786565b6127ac919061451b565b11156127e4576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82811015612817576127f9600961325b565b61280c826128076009612786565b613271565b8060010190506127e7565b505050565b6128258161344a565b612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285b90614d80565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128e283611c19565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061293483611c19565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061297657506129758185612237565b5b806129b457508373ffffffffffffffffffffffffffffffffffffffff1661299c846112fc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129dd82611c19565b73ffffffffffffffffffffffffffffffffffffffff1614612a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2a90615244565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a99906152d6565b60405180910390fd5b612aad8383836134b6565b612ab860008261286f565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b089190614af9565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b5f919061451b565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c1e838383613505565b505050565b6000612710905090565b600082612c3a858461350a565b1490509392505050565b6000612c4f82611c19565b9050612c5d816000846134b6565b612c6860008361286f565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cb89190614af9565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d5d81600084613505565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90615342565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f869190613943565b60405180910390a3505050565b612f9e8484846129bd565b612faa84848484613560565b612fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe0906153d4565b60405180910390fd5b50505050565b606060108054612ffe90614730565b80601f016020809104026020016040519081016040528092919081815260200182805461302a90614730565b80156130775780601f1061304c57610100808354040283529160200191613077565b820191906000526020600020905b81548152906001019060200180831161305a57829003601f168201915b5050505050905090565b6060600082036130c8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131dc565b600082905060005b600082146130fa5780806130e3906153f4565b915050600a826130f39190614c51565b91506130d0565b60008167ffffffffffffffff81111561311657613115613c60565b5b6040519080825280601f01601f1916602001820160405280156131485781602001600182028036833780820191505090505b5090505b600085146131d5576001826131619190614af9565b9150600a85613170919061543c565b603061317c919061451b565b60f81b818381518110613192576131916143f4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131ce9190614c51565b945061314c565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132545750613253826136e7565b5b9050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d7906154b9565b60405180910390fd5b6132e98161344a565b15613329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332090615525565b60405180910390fd5b613335600083836134b6565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613385919061451b565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461344660008383613505565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6134c1838383613751565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613500576134ff600a61325b565b5b505050565b505050565b60008082905060005b84518110156135555761354082868381518110613533576135326143f4565b5b6020026020010151613756565b9150808061354d906153f4565b915050613513565b508091505092915050565b60006135818473ffffffffffffffffffffffffffffffffffffffff16613781565b156136da578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135aa612867565b8786866040518563ffffffff1660e01b81526004016135cc949392919061559a565b6020604051808303816000875af192505050801561360857506040513d601f19601f8201168201806040525081019061360591906155fb565b60015b61368a573d8060008114613638576040519150601f19603f3d011682016040523d82523d6000602084013e61363d565b606091505b506000815103613682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613679906153d4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136df565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600081831061376e5761376982846137a4565b613779565b61377883836137a4565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6137e2816137cf565b81146137ed57600080fd5b50565b6000813590506137ff816137d9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061383082613805565b9050919050565b61384081613825565b811461384b57600080fd5b50565b60008135905061385d81613837565b92915050565b6000806040838503121561387a576138796137c5565b5b6000613888858286016137f0565b92505060206138998582860161384e565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6138d8816138a3565b81146138e357600080fd5b50565b6000813590506138f5816138cf565b92915050565b600060208284031215613911576139106137c5565b5b600061391f848285016138e6565b91505092915050565b60008115159050919050565b61393d81613928565b82525050565b60006020820190506139586000830184613934565b92915050565b60008060408385031215613975576139746137c5565b5b6000613983858286016137f0565b9250506020613994858286016137f0565b9150509250929050565b60006139a982613805565b9050919050565b6139b98161399e565b81146139c457600080fd5b50565b6000813590506139d6816139b0565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6139fd816139dc565b8114613a0857600080fd5b50565b600081359050613a1a816139f4565b92915050565b60008060408385031215613a3757613a366137c5565b5b6000613a45858286016139c7565b9250506020613a5685828601613a0b565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613a8557613a84613a60565b5b8235905067ffffffffffffffff811115613aa257613aa1613a65565b5b6020830191508360c0820283011115613abe57613abd613a6a565b5b9250929050565b60008060208385031215613adc57613adb6137c5565b5b600083013567ffffffffffffffff811115613afa57613af96137ca565b5b613b0685828601613a6f565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b4c578082015181840152602081019050613b31565b60008484015250505050565b6000601f19601f8301169050919050565b6000613b7482613b12565b613b7e8185613b1d565b9350613b8e818560208601613b2e565b613b9781613b58565b840191505092915050565b60006020820190508181036000830152613bbc8184613b69565b905092915050565b600060208284031215613bda57613bd96137c5565b5b6000613be8848285016137f0565b91505092915050565b613bfa8161399e565b82525050565b6000602082019050613c156000830184613bf1565b92915050565b60008060408385031215613c3257613c316137c5565b5b6000613c40858286016139c7565b9250506020613c51858286016137f0565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c9882613b58565b810181811067ffffffffffffffff82111715613cb757613cb6613c60565b5b80604052505050565b6000613cca6137bb565b9050613cd68282613c8f565b919050565b600067ffffffffffffffff821115613cf657613cf5613c60565b5b613cff82613b58565b9050602081019050919050565b82818337600083830152505050565b6000613d2e613d2984613cdb565b613cc0565b905082815260208101848484011115613d4a57613d49613c5b565b5b613d55848285613d0c565b509392505050565b600082601f830112613d7257613d71613a60565b5b8135613d82848260208601613d1b565b91505092915050565b600060208284031215613da157613da06137c5565b5b600082013567ffffffffffffffff811115613dbf57613dbe6137ca565b5b613dcb84828501613d5d565b91505092915050565b613ddd816137cf565b82525050565b6000602082019050613df86000830184613dd4565b92915050565b600080600060608486031215613e1757613e166137c5565b5b6000613e25868287016139c7565b9350506020613e36868287016139c7565b9250506040613e47868287016137f0565b9150509250925092565b600060208284031215613e6757613e666137c5565b5b6000613e75848285016139c7565b91505092915050565b6000819050919050565b613e9181613e7e565b82525050565b6000602082019050613eac6000830184613e88565b92915050565b6000604082019050613ec76000830185613bf1565b613ed46020830184613dd4565b9392505050565b60008083601f840112613ef157613ef0613a60565b5b8235905067ffffffffffffffff811115613f0e57613f0d613a65565b5b602083019150836020820283011115613f2a57613f29613a6a565b5b9250929050565b60008083601f840112613f4757613f46613a60565b5b8235905067ffffffffffffffff811115613f6457613f63613a65565b5b602083019150836020820283011115613f8057613f7f613a6a565b5b9250929050565b600080600080600060608688031215613fa357613fa26137c5565b5b6000613fb1888289016137f0565b955050602086013567ffffffffffffffff811115613fd257613fd16137ca565b5b613fde88828901613edb565b9450945050604086013567ffffffffffffffff811115614001576140006137ca565b5b61400d88828901613f31565b92509250509295509295909350565b60008060008060608587031215614036576140356137c5565b5b6000614044878288016137f0565b9450506020614055878288016139c7565b935050604085013567ffffffffffffffff811115614076576140756137ca565b5b61408287828801613edb565b925092505092959194509250565b61409981613e7e565b81146140a457600080fd5b50565b6000813590506140b681614090565b92915050565b6000602082840312156140d2576140d16137c5565b5b60006140e0848285016140a7565b91505092915050565b6140f281613928565b81146140fd57600080fd5b50565b60008135905061410f816140e9565b92915050565b6000806040838503121561412c5761412b6137c5565b5b600061413a858286016139c7565b925050602061414b85828601614100565b9150509250929050565b600067ffffffffffffffff8211156141705761416f613c60565b5b61417982613b58565b9050602081019050919050565b600061419961419484614155565b613cc0565b9050828152602081018484840111156141b5576141b4613c5b565b5b6141c0848285613d0c565b509392505050565b600082601f8301126141dd576141dc613a60565b5b81356141ed848260208601614186565b91505092915050565b600080600080608085870312156142105761420f6137c5565b5b600061421e878288016139c7565b945050602061422f878288016139c7565b9350506040614240878288016137f0565b925050606085013567ffffffffffffffff811115614261576142606137ca565b5b61426d878288016141c8565b91505092959194509250565b600080600060408486031215614292576142916137c5565b5b60006142a0868287016137f0565b935050602084013567ffffffffffffffff8111156142c1576142c06137ca565b5b6142cd86828701613edb565b92509250509250925092565b6000806000606084860312156142f2576142f16137c5565b5b600061430086828701614100565b935050602061431186828701614100565b925050604061432286828701614100565b9150509250925092565b60008060408385031215614343576143426137c5565b5b6000614351858286016139c7565b9250506020614362858286016139c7565b9150509250929050565b6000819050919050565b600061439161438c61438784613805565b61436c565b613805565b9050919050565b60006143a382614376565b9050919050565b60006143b582614398565b9050919050565b6143c5816143aa565b82525050565b60006040820190506143e060008301856143bc565b6143ed6020830184613dd4565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215614439576144386137c5565b5b600061444784828501614100565b91505092915050565b60008151905061445f816139b0565b92915050565b60006020828403121561447b5761447a6137c5565b5b600061448984828501614450565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144cc826137cf565b91506144d7836137cf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145105761450f614492565b5b828202905092915050565b6000614526826137cf565b9150614531836137cf565b925082820190508082111561454957614548614492565b5b92915050565b600082825260208201905092915050565b6000819050919050565b600082905092915050565b82818337505050565b61458a60808383614575565b5050565b600061459d6020840184614100565b905092915050565b6145ae81613928565b82525050565b60006145c360208401846137f0565b905092915050565b6145d4816137cf565b82525050565b60c082016145eb600083018361456a565b6145f8600085018261457e565b50614606608083018361458e565b61461360808501826145a5565b5061462160a08301836145b4565b61462e60a08501826145cb565b50505050565b600061464083836145da565b60c08301905092915050565b600082905092915050565b600060c082019050919050565b6000614670838561454f565b935061467b82614560565b8060005b858110156146b457614691828461464c565b61469b8882614634565b97506146a683614657565b92505060018101905061467f565b5085925050509392505050565b60006060820190506146d66000830187613dd4565b6146e36020830186613dd4565b81810360408301526146f6818486614664565b905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061474857607f821691505b60208210810361475b5761475a614701565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006147bd602183613b1d565b91506147c882614761565b604082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061484f603e83613b1d565b915061485a826147f3565b604082019050919050565b6000602082019050818103600083015261487e81614842565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026148e77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826148aa565b6148f186836148aa565b95508019841693508086168417925050509392505050565b600061492461491f61491a846137cf565b61436c565b6137cf565b9050919050565b6000819050919050565b61493e83614909565b61495261494a8261492b565b8484546148b7565b825550505050565b600090565b61496761495a565b614972818484614935565b505050565b5b818110156149965761498b60008261495f565b600181019050614978565b5050565b601f8211156149db576149ac81614885565b6149b58461489a565b810160208510156149c4578190505b6149d86149d08561489a565b830182614977565b50505b505050565b600082821c905092915050565b60006149fe600019846008026149e0565b1980831691505092915050565b6000614a1783836149ed565b9150826002028217905092915050565b614a3082613b12565b67ffffffffffffffff811115614a4957614a48613c60565b5b614a538254614730565b614a5e82828561499a565b600060209050601f831160018114614a915760008415614a7f578287015190505b614a898582614a0b565b865550614af1565b601f198416614a9f86614885565b60005b82811015614ac757848901518255600182019150602085019450602081019050614aa2565b86831015614ae45784890151614ae0601f8916826149ed565b8355505b6001600288020188555050505b505050505050565b6000614b04826137cf565b9150614b0f836137cf565b9250828203905081811115614b2757614b26614492565b5b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614b89602e83613b1d565b9150614b9482614b2d565b604082019050919050565b60006020820190508181036000830152614bb881614b7c565b9050919050565b60008160601b9050919050565b6000614bd782614bbf565b9050919050565b6000614be982614bcc565b9050919050565b614c01614bfc8261399e565b614bde565b82525050565b6000614c138284614bf0565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c5c826137cf565b9150614c67836137cf565b925082614c7757614c76614c22565b5b828204905092915050565b600082825260208201905092915050565b600080fd5b6000614ca48385614c82565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614cd757614cd6614c93565b5b602083029250614ce8838584614575565b82840190509392505050565b6000606082019050614d096000830187613dd4565b614d166020830186613dd4565b8181036040830152614d29818486614c98565b905095945050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614d6a601883613b1d565b9150614d7582614d34565b602082019050919050565b60006020820190508181036000830152614d9981614d5d565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614dfc602983613b1d565b9150614e0782614da0565b604082019050919050565b60006020820190508181036000830152614e2b81614def565b9050919050565b600081905092915050565b6000614e4882613b12565b614e528185614e32565b9350614e62818560208601613b2e565b80840191505092915050565b6000614e7a8285614e3d565b9150614e868284614e3d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614eee602683613b1d565b9150614ef982614e92565b604082019050919050565b60006020820190508181036000830152614f1d81614ee1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f5a602083613b1d565b9150614f6582614f24565b602082019050919050565b60006020820190508181036000830152614f8981614f4d565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614fc6601d83613b1d565b9150614fd182614f90565b602082019050919050565b60006020820190508181036000830152614ff581614fb9565b9050919050565b600081905092915050565b50565b6000615017600083614ffc565b915061502282615007565b600082019050919050565b60006150388261500a565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061509e603a83613b1d565b91506150a982615042565b604082019050919050565b600060208201905081810360008301526150cd81615091565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615130602a83613b1d565b915061513b826150d4565b604082019050919050565b6000602082019050818103600083015261515f81615123565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061519c601983613b1d565b91506151a782615166565b602082019050919050565b600060208201905081810360008301526151cb8161518f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061522e602583613b1d565b9150615239826151d2565b604082019050919050565b6000602082019050818103600083015261525d81615221565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152c0602483613b1d565b91506152cb82615264565b604082019050919050565b600060208201905081810360008301526152ef816152b3565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061532c601983613b1d565b9150615337826152f6565b602082019050919050565b6000602082019050818103600083015261535b8161531f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153be603283613b1d565b91506153c982615362565b604082019050919050565b600060208201905081810360008301526153ed816153b1565b9050919050565b60006153ff826137cf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361543157615430614492565b5b600182019050919050565b6000615447826137cf565b9150615452836137cf565b92508261546257615461614c22565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154a3602083613b1d565b91506154ae8261546d565b602082019050919050565b600060208201905081810360008301526154d281615496565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061550f601c83613b1d565b915061551a826154d9565b602082019050919050565b6000602082019050818103600083015261553e81615502565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061556c82615545565b6155768185615550565b9350615586818560208601613b2e565b61558f81613b58565b840191505092915050565b60006080820190506155af6000830187613bf1565b6155bc6020830186613bf1565b6155c96040830185613dd4565b81810360608301526155db8184615561565b905095945050505050565b6000815190506155f5816138cf565b92915050565b600060208284031215615611576156106137c5565b5b600061561f848285016155e6565b9150509291505056fea26469706673582212206df1fd8c6b02681458a3c959f1b4928be06051a2dd2e0bc14f06867b780d9bd064736f6c6343000810003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000001964000000000000000000000000cf514faa49cb3133275eb4c9420e4161970ee8060000000000000000000000006c8e3b04ffa92fcbd44b56fc5c3b4e62fbe0c09c000000000000000000000000000000000000000000000000000000000000000c53616372656420536f756c730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b534143524544534f554c53000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e35760003560e01c80635bf8b5d111610190578063a4e2d634116100dc578063d550c83411610095578063ea7523ee1161006f578063ea7523ee14610b21578063eb8d244414610b38578063f2fde38b14610b63578063ff50188514610b8c576102e3565b8063d550c83414610a90578063dfe93fa314610ab9578063e985e9c514610ae4576102e3565b8063a4e2d6341461098f578063a899578d146109ba578063b07ed982146109e5578063b88d4fde14610a0e578063c87b56dd14610a37578063d4cb890c14610a74576102e3565b8063715018a6116101495780638da5cb5b116101235780638da5cb5b146108e557806395d89b411461091057806398bdf6f51461093b578063a22cb46514610966576102e3565b8063715018a61461087c5780637cb64759146108935780638881396c146108bc576102e3565b80635bf8b5d1146107465780636352211e1461076f5780636817c76c146107ac5780636c0360eb146107d75780636cedd32b1461080257806370a082311461083f576102e3565b806323b872dd1161024f5780633beb51f7116102085780634c99007d116101e25780634c99007d1461069c57806350f7c204146106c75780635303f68c146106f257806355f804b31461071d576102e3565b80633beb51f71461062e57806342842e0e1461064a57806342966c6814610673576102e3565b806323b872dd146104f757806325e49541146105205780632a55205a1461055d5780632eb4a7ab1461059b5780632f35e11f146105c657806337dd9b4f146105f1576102e3565b8063081812fc116102a1578063081812fc146103e7578063095ea7b3146104245780630f7309e81461044d578063109695231461047857806318160ddd146104a15780631f0234d8146104cc576102e3565b8062f714ce146102e857806301ffc9a7146103115780630442bfa81461034e57806304634d8d1461037757806306df4d5b146103a057806306fdde03146103bc575b600080fd5b3480156102f457600080fd5b5061030f600480360381019061030a9190613863565b610bc9565b005b34801561031d57600080fd5b50610338600480360381019061033391906138fb565b610c18565b6040516103459190613943565b60405180910390f35b34801561035a57600080fd5b506103756004803603810190610370919061395e565b610c2a565b005b34801561038357600080fd5b5061039e60048036038101906103999190613a20565b610c44565b005b6103ba60048036038101906103b59190613ac5565b610c5a565b005b3480156103c857600080fd5b506103d161126a565b6040516103de9190613ba2565b60405180910390f35b3480156103f357600080fd5b5061040e60048036038101906104099190613bc4565b6112fc565b60405161041b9190613c00565b60405180910390f35b34801561043057600080fd5b5061044b60048036038101906104469190613c1b565b611342565b005b34801561045957600080fd5b50610462611459565b60405161046f9190613ba2565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190613d8b565b6114e7565b005b3480156104ad57600080fd5b506104b6611549565b6040516104c39190613de3565b60405180910390f35b3480156104d857600080fd5b506104e161156e565b6040516104ee9190613943565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613dfe565b611581565b005b34801561052c57600080fd5b5061054760048036038101906105429190613e51565b6115e1565b6040516105549190613e97565b60405180910390f35b34801561056957600080fd5b50610584600480360381019061057f919061395e565b611611565b604051610592929190613eb2565b60405180910390f35b3480156105a757600080fd5b506105b06117fb565b6040516105bd9190613e97565b60405180910390f35b3480156105d257600080fd5b506105db611801565b6040516105e89190613de3565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190613bc4565b611807565b6040516106259190613943565b60405180910390f35b61064860048036038101906106439190613f87565b611827565b005b34801561065657600080fd5b50610671600480360381019061066c9190613dfe565b611aa6565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613bc4565b611ac6565b005b3480156106a857600080fd5b506106b1611b22565b6040516106be9190613de3565b60405180910390f35b3480156106d357600080fd5b506106dc611b2e565b6040516106e99190613de3565b60405180910390f35b3480156106fe57600080fd5b50610707611b34565b6040516107149190613943565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190613d8b565b611b47565b005b34801561075257600080fd5b5061076d6004803603810190610768919061401c565b611ba9565b005b34801561077b57600080fd5b5061079660048036038101906107919190613bc4565b611c19565b6040516107a39190613c00565b60405180910390f35b3480156107b857600080fd5b506107c1611cca565b6040516107ce9190613de3565b60405180910390f35b3480156107e357600080fd5b506107ec611cd0565b6040516107f99190613ba2565b60405180910390f35b34801561080e57600080fd5b5061082960048036038101906108249190613bc4565b611d5e565b6040516108369190613943565b60405180910390f35b34801561084b57600080fd5b5061086660048036038101906108619190613e51565b611d7e565b6040516108739190613de3565b60405180910390f35b34801561088857600080fd5b50610891611e35565b005b34801561089f57600080fd5b506108ba60048036038101906108b591906140bc565b611e49565b005b3480156108c857600080fd5b506108e360048036038101906108de9190613bc4565b611e5b565b005b3480156108f157600080fd5b506108fa611e6d565b6040516109079190613c00565b60405180910390f35b34801561091c57600080fd5b50610925611e97565b6040516109329190613ba2565b60405180910390f35b34801561094757600080fd5b50610950611f29565b60405161095d9190613de3565b60405180910390f35b34801561097257600080fd5b5061098d60048036038101906109889190614115565b611f35565b005b34801561099b57600080fd5b506109a4611f4b565b6040516109b19190613943565b60405180910390f35b3480156109c657600080fd5b506109cf611f5e565b6040516109dc9190613de3565b60405180910390f35b3480156109f157600080fd5b50610a0c6004803603810190610a079190613bc4565b611f64565b005b348015610a1a57600080fd5b50610a356004803603810190610a3091906141f6565b611fbd565b005b348015610a4357600080fd5b50610a5e6004803603810190610a599190613bc4565b61201f565b604051610a6b9190613ba2565b60405180910390f35b610a8e6004803603810190610a899190614279565b612087565b005b348015610a9c57600080fd5b50610ab76004803603810190610ab291906142d9565b6121d7565b005b348015610ac557600080fd5b50610ace612232565b604051610adb9190613de3565b60405180910390f35b348015610af057600080fd5b50610b0b6004803603810190610b06919061432c565b612237565b604051610b189190613943565b60405180910390f35b348015610b2d57600080fd5b50610b366122cb565b005b348015610b4457600080fd5b50610b4d6122f0565b604051610b5a9190613943565b60405180910390f35b348015610b6f57600080fd5b50610b8a6004803603810190610b859190613e51565b612303565b005b348015610b9857600080fd5b50610bb36004803603810190610bae9190613e51565b612386565b604051610bc09190613de3565b60405180910390f35b610bd161239e565b610bdb818361241c565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568183604051610c0c9291906143cb565b60405180910390a15050565b6000610c2382612510565b9050919050565b610c3261239e565b81600c8190555080600d819055505050565b610c4c61239e565b610c5682826125f2565b5050565b600f60029054906101000a900460ff16610ca0576040517f44c11cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008083839050905060005b818110156111ba5736858583818110610cc857610cc76143f4565b5b905060c00201905060008160a0013514610ce3578360010193505b60005b60048110156111ad576000826000018260048110610d0757610d066143f4565b5b602002013503610d505760008103610d4b576040517fed3c247c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111ad565b816080016020810190610d639190614423565b15610f875760146000836000018360048110610d8257610d816143f4565b5b6020020135815260200190815260200160002060009054906101000a900460ff1615610dff57816000018160048110610dbe57610dbd6143f4565b5b60200201356040517f35c500ed000000000000000000000000000000000000000000000000000000008152600401610df69190613de3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000006c8e3b04ffa92fcbd44b56fc5c3b4e62fbe0c09c73ffffffffffffffffffffffffffffffffffffffff16636352211e846000018460048110610e6857610e676143f4565b5b60200201356040518263ffffffff1660e01b8152600401610e899190613de3565b602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca9190614465565b73ffffffffffffffffffffffffffffffffffffffff1614610f3c57816000018160048110610efb57610efa6143f4565b5b60200201356040517fd95dbf6a000000000000000000000000000000000000000000000000000000008152600401610f339190613de3565b60405180910390fd5b600160146000846000018460048110610f5857610f576143f4565b5b6020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055506111a2565b60136000836000018360048110610fa157610fa06143f4565b5b6020020135815260200190815260200160002060009054906101000a900460ff161561101e57816000018160048110610fdd57610fdc6143f4565b5b60200201356040517f35c500ed0000000000000000000000000000000000000000000000000000000081526004016110159190613de3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000cf514faa49cb3133275eb4c9420e4161970ee80673ffffffffffffffffffffffffffffffffffffffff16636352211e846000018460048110611087576110866143f4565b5b60200201356040518263ffffffff1660e01b81526004016110a89190613de3565b602060405180830381865afa1580156110c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e99190614465565b73ffffffffffffffffffffffffffffffffffffffff161461115b5781600001816004811061111a576111196143f4565b5b60200201356040517fd95dbf6a0000000000000000000000000000000000000000000000000000000081526004016111529190613de3565b60405180910390fd5b600160136000846000018460048110611177576111766143f4565b5b6020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050610ce6565b5050806001019050610cac565b5081600d546111c991906144c1565b341015611202576040517f8a0d377900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060016112106009612786565b61121a919061451b565b90506112268233612794565b7faee939c3d87de40880ecddae6ad5415924a30e89000ea8bc461621b6d93658198183878760405161125b94939291906146c1565b60405180910390a15050505050565b60606002805461127990614730565b80601f01602080910402602001604051908101604052809291908181526020018280546112a590614730565b80156112f25780601f106112c7576101008083540402835291602001916112f2565b820191906000526020600020905b8154815290600101906020018083116112d557829003601f168201915b5050505050905090565b60006113078261281c565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061134d82611c19565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b4906147d3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166113dc612867565b73ffffffffffffffffffffffffffffffffffffffff16148061140b575061140a81611405612867565b612237565b5b61144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190614865565b60405180910390fd5b611454838361286f565b505050565b6011805461146690614730565b80601f016020809104026020016040519081016040528092919081815260200182805461149290614730565b80156114df5780601f106114b4576101008083540402835291602001916114df565b820191906000526020600020905b8154815290600101906020018083116114c257829003601f168201915b505050505081565b6114ef61239e565b600f60039054906101000a900460ff1615611536576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601190816115459190614a27565b5050565b6000611555600a612786565b61155f6009612786565b6115699190614af9565b905090565b600f60009054906101000a900460ff1681565b61159261158c612867565b82612928565b6115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c890614b9f565b60405180910390fd5b6115dc8383836129bd565b505050565b6000816040516020016115f49190614c07565b604051602081830303815290604052805190602001209050919050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036117a65760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006117b0612c23565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866117dc91906144c1565b6117e69190614c51565b90508160000151819350935050509250929050565b60155481565b600e5481565b60146020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900460ff1661186d576040517ffc33ddda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e5485601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118bb919061451b565b11156118f3576040517fc0e54d7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084849050600d5461190691906144c1565b86600c5461191491906144c1565b61191e919061451b565b90508034101561195a576040517f8a0d377900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119b0838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506015546119ab336115e1565b612c2d565b6119e6576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060016119f46009612786565b6119fe919061451b565b905086601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a4f919061451b565b92505081905550611a608733612794565b7f43d34e1a9515e77fdf88ff2461cbe1ba447433a7faf292f5236e00fc3220930e81888888604051611a959493929190614cf4565b60405180910390a150505050505050565b611ac183838360405180602001604052806000815250611fbd565b505050565b611ad7611ad1612867565b82612928565b611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90614b9f565b60405180910390fd5b611b1f81612c44565b50565b600a8060000154905081565b600b5481565b600f60029054906101000a900460ff1681565b611b4f61239e565b600f60039054906101000a900460ff1615611b96576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060109081611ba59190614a27565b5050565b611bb161239e565b60006001611bbf6009612786565b611bc9919061451b565b9050611bd58585612794565b7f43d34e1a9515e77fdf88ff2461cbe1ba447433a7faf292f5236e00fc3220930e81868585604051611c0a9493929190614cf4565b60405180910390a15050505050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb890614d80565b60405180910390fd5b80915050919050565b600c5481565b60108054611cdd90614730565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0990614730565b8015611d565780601f10611d2b57610100808354040283529160200191611d56565b820191906000526020600020905b815481529060010190602001808311611d3957829003601f168201915b505050505081565b60136020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de590614e12565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611e3d61239e565b611e476000612d61565b565b611e5161239e565b8060158190555050565b611e6361239e565b80600e8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611ea690614730565b80601f0160208091040260200160405190810160405280929190818152602001828054611ed290614730565b8015611f1f5780601f10611ef457610100808354040283529160200191611f1f565b820191906000526020600020905b815481529060010190602001808311611f0257829003601f168201915b5050505050905090565b60098060000154905081565b611f47611f40612867565b8383612e27565b5050565b600f60039054906101000a900460ff1681565b600d5481565b611f6c61239e565b600f60039054906101000a900460ff1615611fb3576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b8190555050565b611fce611fc8612867565b83612928565b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490614b9f565b60405180910390fd5b61201984848484612f93565b50505050565b606061202a8261281c565b6000612034612fef565b90506000815111612054576040518060200160405280600081525061207f565b8061205e84613081565b60405160200161206f929190614e6e565b6040516020818303038152906040525b915050919050565b600f60019054906101000a900460ff166120cd576040517ffc33ddda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007831115612108576040517ffcb7d65900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082829050600d5461211b91906144c1565b84600c5461212991906144c1565b612133919061451b565b90508034101561216f576040517f8a0d377900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600161217d6009612786565b612187919061451b565b90506121938533612794565b7f43d34e1a9515e77fdf88ff2461cbe1ba447433a7faf292f5236e00fc3220930e818686866040516121c89493929190614cf4565b60405180910390a15050505050565b6121df61239e565b82600f60026101000a81548160ff02191690831515021790555081600f60006101000a81548160ff02191690831515021790555080600f60016101000a81548160ff021916908315150217905550505050565b600781565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122d361239e565b6001600f60036101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b61230b61239e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237190614f04565b60405180910390fd5b61238381612d61565b50565b60126020528060005260406000206000915090505481565b6123a6612867565b73ffffffffffffffffffffffffffffffffffffffff166123c4611e6d565b73ffffffffffffffffffffffffffffffffffffffff161461241a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241190614f70565b60405180910390fd5b565b8047101561245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690614fdc565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124859061502d565b60006040518083038185875af1925050503d80600081146124c2576040519150601f19603f3d011682016040523d82523d6000602084013e6124c7565b606091505b505090508061250b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612502906150b4565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125db57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125eb57506125ea826131e1565b5b9050919050565b6125fa612c23565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f90615146565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be906151b2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081600001549050919050565b600b54826127a26009612786565b6127ac919061451b565b11156127e4576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82811015612817576127f9600961325b565b61280c826128076009612786565b613271565b8060010190506127e7565b505050565b6128258161344a565b612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285b90614d80565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128e283611c19565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061293483611c19565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061297657506129758185612237565b5b806129b457508373ffffffffffffffffffffffffffffffffffffffff1661299c846112fc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129dd82611c19565b73ffffffffffffffffffffffffffffffffffffffff1614612a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2a90615244565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a99906152d6565b60405180910390fd5b612aad8383836134b6565b612ab860008261286f565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b089190614af9565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b5f919061451b565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c1e838383613505565b505050565b6000612710905090565b600082612c3a858461350a565b1490509392505050565b6000612c4f82611c19565b9050612c5d816000846134b6565b612c6860008361286f565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cb89190614af9565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d5d81600084613505565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90615342565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f869190613943565b60405180910390a3505050565b612f9e8484846129bd565b612faa84848484613560565b612fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe0906153d4565b60405180910390fd5b50505050565b606060108054612ffe90614730565b80601f016020809104026020016040519081016040528092919081815260200182805461302a90614730565b80156130775780601f1061304c57610100808354040283529160200191613077565b820191906000526020600020905b81548152906001019060200180831161305a57829003601f168201915b5050505050905090565b6060600082036130c8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131dc565b600082905060005b600082146130fa5780806130e3906153f4565b915050600a826130f39190614c51565b91506130d0565b60008167ffffffffffffffff81111561311657613115613c60565b5b6040519080825280601f01601f1916602001820160405280156131485781602001600182028036833780820191505090505b5090505b600085146131d5576001826131619190614af9565b9150600a85613170919061543c565b603061317c919061451b565b60f81b818381518110613192576131916143f4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131ce9190614c51565b945061314c565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132545750613253826136e7565b5b9050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d7906154b9565b60405180910390fd5b6132e98161344a565b15613329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332090615525565b60405180910390fd5b613335600083836134b6565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613385919061451b565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461344660008383613505565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6134c1838383613751565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613500576134ff600a61325b565b5b505050565b505050565b60008082905060005b84518110156135555761354082868381518110613533576135326143f4565b5b6020026020010151613756565b9150808061354d906153f4565b915050613513565b508091505092915050565b60006135818473ffffffffffffffffffffffffffffffffffffffff16613781565b156136da578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135aa612867565b8786866040518563ffffffff1660e01b81526004016135cc949392919061559a565b6020604051808303816000875af192505050801561360857506040513d601f19601f8201168201806040525081019061360591906155fb565b60015b61368a573d8060008114613638576040519150601f19603f3d011682016040523d82523d6000602084013e61363d565b606091505b506000815103613682576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613679906153d4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136df565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600081831061376e5761376982846137a4565b613779565b61377883836137a4565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6137e2816137cf565b81146137ed57600080fd5b50565b6000813590506137ff816137d9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061383082613805565b9050919050565b61384081613825565b811461384b57600080fd5b50565b60008135905061385d81613837565b92915050565b6000806040838503121561387a576138796137c5565b5b6000613888858286016137f0565b92505060206138998582860161384e565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6138d8816138a3565b81146138e357600080fd5b50565b6000813590506138f5816138cf565b92915050565b600060208284031215613911576139106137c5565b5b600061391f848285016138e6565b91505092915050565b60008115159050919050565b61393d81613928565b82525050565b60006020820190506139586000830184613934565b92915050565b60008060408385031215613975576139746137c5565b5b6000613983858286016137f0565b9250506020613994858286016137f0565b9150509250929050565b60006139a982613805565b9050919050565b6139b98161399e565b81146139c457600080fd5b50565b6000813590506139d6816139b0565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6139fd816139dc565b8114613a0857600080fd5b50565b600081359050613a1a816139f4565b92915050565b60008060408385031215613a3757613a366137c5565b5b6000613a45858286016139c7565b9250506020613a5685828601613a0b565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613a8557613a84613a60565b5b8235905067ffffffffffffffff811115613aa257613aa1613a65565b5b6020830191508360c0820283011115613abe57613abd613a6a565b5b9250929050565b60008060208385031215613adc57613adb6137c5565b5b600083013567ffffffffffffffff811115613afa57613af96137ca565b5b613b0685828601613a6f565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b4c578082015181840152602081019050613b31565b60008484015250505050565b6000601f19601f8301169050919050565b6000613b7482613b12565b613b7e8185613b1d565b9350613b8e818560208601613b2e565b613b9781613b58565b840191505092915050565b60006020820190508181036000830152613bbc8184613b69565b905092915050565b600060208284031215613bda57613bd96137c5565b5b6000613be8848285016137f0565b91505092915050565b613bfa8161399e565b82525050565b6000602082019050613c156000830184613bf1565b92915050565b60008060408385031215613c3257613c316137c5565b5b6000613c40858286016139c7565b9250506020613c51858286016137f0565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c9882613b58565b810181811067ffffffffffffffff82111715613cb757613cb6613c60565b5b80604052505050565b6000613cca6137bb565b9050613cd68282613c8f565b919050565b600067ffffffffffffffff821115613cf657613cf5613c60565b5b613cff82613b58565b9050602081019050919050565b82818337600083830152505050565b6000613d2e613d2984613cdb565b613cc0565b905082815260208101848484011115613d4a57613d49613c5b565b5b613d55848285613d0c565b509392505050565b600082601f830112613d7257613d71613a60565b5b8135613d82848260208601613d1b565b91505092915050565b600060208284031215613da157613da06137c5565b5b600082013567ffffffffffffffff811115613dbf57613dbe6137ca565b5b613dcb84828501613d5d565b91505092915050565b613ddd816137cf565b82525050565b6000602082019050613df86000830184613dd4565b92915050565b600080600060608486031215613e1757613e166137c5565b5b6000613e25868287016139c7565b9350506020613e36868287016139c7565b9250506040613e47868287016137f0565b9150509250925092565b600060208284031215613e6757613e666137c5565b5b6000613e75848285016139c7565b91505092915050565b6000819050919050565b613e9181613e7e565b82525050565b6000602082019050613eac6000830184613e88565b92915050565b6000604082019050613ec76000830185613bf1565b613ed46020830184613dd4565b9392505050565b60008083601f840112613ef157613ef0613a60565b5b8235905067ffffffffffffffff811115613f0e57613f0d613a65565b5b602083019150836020820283011115613f2a57613f29613a6a565b5b9250929050565b60008083601f840112613f4757613f46613a60565b5b8235905067ffffffffffffffff811115613f6457613f63613a65565b5b602083019150836020820283011115613f8057613f7f613a6a565b5b9250929050565b600080600080600060608688031215613fa357613fa26137c5565b5b6000613fb1888289016137f0565b955050602086013567ffffffffffffffff811115613fd257613fd16137ca565b5b613fde88828901613edb565b9450945050604086013567ffffffffffffffff811115614001576140006137ca565b5b61400d88828901613f31565b92509250509295509295909350565b60008060008060608587031215614036576140356137c5565b5b6000614044878288016137f0565b9450506020614055878288016139c7565b935050604085013567ffffffffffffffff811115614076576140756137ca565b5b61408287828801613edb565b925092505092959194509250565b61409981613e7e565b81146140a457600080fd5b50565b6000813590506140b681614090565b92915050565b6000602082840312156140d2576140d16137c5565b5b60006140e0848285016140a7565b91505092915050565b6140f281613928565b81146140fd57600080fd5b50565b60008135905061410f816140e9565b92915050565b6000806040838503121561412c5761412b6137c5565b5b600061413a858286016139c7565b925050602061414b85828601614100565b9150509250929050565b600067ffffffffffffffff8211156141705761416f613c60565b5b61417982613b58565b9050602081019050919050565b600061419961419484614155565b613cc0565b9050828152602081018484840111156141b5576141b4613c5b565b5b6141c0848285613d0c565b509392505050565b600082601f8301126141dd576141dc613a60565b5b81356141ed848260208601614186565b91505092915050565b600080600080608085870312156142105761420f6137c5565b5b600061421e878288016139c7565b945050602061422f878288016139c7565b9350506040614240878288016137f0565b925050606085013567ffffffffffffffff811115614261576142606137ca565b5b61426d878288016141c8565b91505092959194509250565b600080600060408486031215614292576142916137c5565b5b60006142a0868287016137f0565b935050602084013567ffffffffffffffff8111156142c1576142c06137ca565b5b6142cd86828701613edb565b92509250509250925092565b6000806000606084860312156142f2576142f16137c5565b5b600061430086828701614100565b935050602061431186828701614100565b925050604061432286828701614100565b9150509250925092565b60008060408385031215614343576143426137c5565b5b6000614351858286016139c7565b9250506020614362858286016139c7565b9150509250929050565b6000819050919050565b600061439161438c61438784613805565b61436c565b613805565b9050919050565b60006143a382614376565b9050919050565b60006143b582614398565b9050919050565b6143c5816143aa565b82525050565b60006040820190506143e060008301856143bc565b6143ed6020830184613dd4565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215614439576144386137c5565b5b600061444784828501614100565b91505092915050565b60008151905061445f816139b0565b92915050565b60006020828403121561447b5761447a6137c5565b5b600061448984828501614450565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144cc826137cf565b91506144d7836137cf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145105761450f614492565b5b828202905092915050565b6000614526826137cf565b9150614531836137cf565b925082820190508082111561454957614548614492565b5b92915050565b600082825260208201905092915050565b6000819050919050565b600082905092915050565b82818337505050565b61458a60808383614575565b5050565b600061459d6020840184614100565b905092915050565b6145ae81613928565b82525050565b60006145c360208401846137f0565b905092915050565b6145d4816137cf565b82525050565b60c082016145eb600083018361456a565b6145f8600085018261457e565b50614606608083018361458e565b61461360808501826145a5565b5061462160a08301836145b4565b61462e60a08501826145cb565b50505050565b600061464083836145da565b60c08301905092915050565b600082905092915050565b600060c082019050919050565b6000614670838561454f565b935061467b82614560565b8060005b858110156146b457614691828461464c565b61469b8882614634565b97506146a683614657565b92505060018101905061467f565b5085925050509392505050565b60006060820190506146d66000830187613dd4565b6146e36020830186613dd4565b81810360408301526146f6818486614664565b905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061474857607f821691505b60208210810361475b5761475a614701565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006147bd602183613b1d565b91506147c882614761565b604082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061484f603e83613b1d565b915061485a826147f3565b604082019050919050565b6000602082019050818103600083015261487e81614842565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026148e77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826148aa565b6148f186836148aa565b95508019841693508086168417925050509392505050565b600061492461491f61491a846137cf565b61436c565b6137cf565b9050919050565b6000819050919050565b61493e83614909565b61495261494a8261492b565b8484546148b7565b825550505050565b600090565b61496761495a565b614972818484614935565b505050565b5b818110156149965761498b60008261495f565b600181019050614978565b5050565b601f8211156149db576149ac81614885565b6149b58461489a565b810160208510156149c4578190505b6149d86149d08561489a565b830182614977565b50505b505050565b600082821c905092915050565b60006149fe600019846008026149e0565b1980831691505092915050565b6000614a1783836149ed565b9150826002028217905092915050565b614a3082613b12565b67ffffffffffffffff811115614a4957614a48613c60565b5b614a538254614730565b614a5e82828561499a565b600060209050601f831160018114614a915760008415614a7f578287015190505b614a898582614a0b565b865550614af1565b601f198416614a9f86614885565b60005b82811015614ac757848901518255600182019150602085019450602081019050614aa2565b86831015614ae45784890151614ae0601f8916826149ed565b8355505b6001600288020188555050505b505050505050565b6000614b04826137cf565b9150614b0f836137cf565b9250828203905081811115614b2757614b26614492565b5b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614b89602e83613b1d565b9150614b9482614b2d565b604082019050919050565b60006020820190508181036000830152614bb881614b7c565b9050919050565b60008160601b9050919050565b6000614bd782614bbf565b9050919050565b6000614be982614bcc565b9050919050565b614c01614bfc8261399e565b614bde565b82525050565b6000614c138284614bf0565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c5c826137cf565b9150614c67836137cf565b925082614c7757614c76614c22565b5b828204905092915050565b600082825260208201905092915050565b600080fd5b6000614ca48385614c82565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614cd757614cd6614c93565b5b602083029250614ce8838584614575565b82840190509392505050565b6000606082019050614d096000830187613dd4565b614d166020830186613dd4565b8181036040830152614d29818486614c98565b905095945050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614d6a601883613b1d565b9150614d7582614d34565b602082019050919050565b60006020820190508181036000830152614d9981614d5d565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614dfc602983613b1d565b9150614e0782614da0565b604082019050919050565b60006020820190508181036000830152614e2b81614def565b9050919050565b600081905092915050565b6000614e4882613b12565b614e528185614e32565b9350614e62818560208601613b2e565b80840191505092915050565b6000614e7a8285614e3d565b9150614e868284614e3d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614eee602683613b1d565b9150614ef982614e92565b604082019050919050565b60006020820190508181036000830152614f1d81614ee1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f5a602083613b1d565b9150614f6582614f24565b602082019050919050565b60006020820190508181036000830152614f8981614f4d565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614fc6601d83613b1d565b9150614fd182614f90565b602082019050919050565b60006020820190508181036000830152614ff581614fb9565b9050919050565b600081905092915050565b50565b6000615017600083614ffc565b915061502282615007565b600082019050919050565b60006150388261500a565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061509e603a83613b1d565b91506150a982615042565b604082019050919050565b600060208201905081810360008301526150cd81615091565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615130602a83613b1d565b915061513b826150d4565b604082019050919050565b6000602082019050818103600083015261515f81615123565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061519c601983613b1d565b91506151a782615166565b602082019050919050565b600060208201905081810360008301526151cb8161518f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061522e602583613b1d565b9150615239826151d2565b604082019050919050565b6000602082019050818103600083015261525d81615221565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152c0602483613b1d565b91506152cb82615264565b604082019050919050565b600060208201905081810360008301526152ef816152b3565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061532c601983613b1d565b9150615337826152f6565b602082019050919050565b6000602082019050818103600083015261535b8161531f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153be603283613b1d565b91506153c982615362565b604082019050919050565b600060208201905081810360008301526153ed816153b1565b9050919050565b60006153ff826137cf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361543157615430614492565b5b600182019050919050565b6000615447826137cf565b9150615452836137cf565b92508261546257615461614c22565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154a3602083613b1d565b91506154ae8261546d565b602082019050919050565b600060208201905081810360008301526154d281615496565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061550f601c83613b1d565b915061551a826154d9565b602082019050919050565b6000602082019050818103600083015261553e81615502565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061556c82615545565b6155768185615550565b9350615586818560208601613b2e565b61558f81613b58565b840191505092915050565b60006080820190506155af6000830187613bf1565b6155bc6020830186613bf1565b6155c96040830185613dd4565b81810360608301526155db8184615561565b905095945050505050565b6000815190506155f5816138cf565b92915050565b600060208284031215615611576156106137c5565b5b600061561f848285016155e6565b9150509291505056fea26469706673582212206df1fd8c6b02681458a3c959f1b4928be06051a2dd2e0bc14f06867b780d9bd064736f6c63430008100033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000001964000000000000000000000000cf514faa49cb3133275eb4c9420e4161970ee8060000000000000000000000006c8e3b04ffa92fcbd44b56fc5c3b4e62fbe0c09c000000000000000000000000000000000000000000000000000000000000000c53616372656420536f756c730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b534143524544534f554c53000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Sacred Souls
Arg [1] : symbol (string): SACREDSOULS
Arg [2] : maxNfts (uint256): 6500
Arg [3] : skullsContractAddress (address): 0xcf514FAa49CB3133275Eb4c9420e4161970eE806
Arg [4] : genesisSkullsAddress (address): 0x6c8E3b04ffA92fcbD44b56Fc5C3B4e62Fbe0C09c

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001964
Arg [3] : 000000000000000000000000cf514faa49cb3133275eb4c9420e4161970ee806
Arg [4] : 0000000000000000000000006c8e3b04ffa92fcbd44b56fc5c3b4e62fbe0c09c
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 53616372656420536f756c730000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 534143524544534f554c53000000000000000000000000000000000000000000


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

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