ETH Price: $2,329.17 (-3.45%)

Token

ScotchNoblemen (NOBLE)
 

Overview

Max Total Supply

421 NOBLE

Holders

160

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 NOBLE
0x6e3da1AC6AaE91eDBA9A5270C86DDa207972a4cb
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:
ScotchNoblemen

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : ScotchNoblemen.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract ScotchNoblemen is ERC721A, Ownable, ReentrancyGuard {
    // Immutable Values
    uint256 public immutable MAX_SUPPLY = 10001;
    uint256 public OWNER_MINT_MAX_SUPPLY = 200; // If not minted can be utilized by public mint
    uint256 public WHITELIST_MAX_SUPPLY = 3000; // If not minted can be utilized by public mint

    string internal baseUri;
    uint256 public mintRate;
    uint256 public maxMintLimit = 10;
    bool public publicMintPaused = true;

    // Reveal NFT Variables
    bool public revealed;
    string public hiddenBaseUri;

    // Whitelist Variables
    using MerkleProof for bytes32[];
    bool public whitelistMintPaused;
    uint256 public whitelistMintRate;
    bytes32 public whitelistMerkleRoot;
    uint256 public maxItemsPerWhiteListedWallet = 3;
    mapping(address => uint256) public whitelistMintedAmount;

    struct BatchMint {
        address to;
        uint256 amount;
    }

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _hiddenBaseUri,
        uint256 _mintRate,
        uint256 _whitelistMintRate,
        bytes32 _whitelistMerkleRoot
    ) ERC721A(_name, _symbol) {
        mintRate = _mintRate;
        hiddenBaseUri = _hiddenBaseUri;
        whitelistMintRate = _whitelistMintRate;
        whitelistMerkleRoot = _whitelistMerkleRoot;
    }

    // ===== Owner mint =====
    function ownerMint(address to, uint256 amount)
        external
        onlyOwner
        nonReentrant
    {
        require(
            amount <= OWNER_MINT_MAX_SUPPLY,
            "Minting amount exceeds reserved supply"
        );
        require((totalSupply() + amount) <= MAX_SUPPLY, "Sold out!");
        _safeMint(to, amount);
        OWNER_MINT_MAX_SUPPLY = OWNER_MINT_MAX_SUPPLY - amount;
    }

    // ===== Owner mint in batches =====
    function ownerMintInBatch(BatchMint[] memory batchMint)
        external
        onlyOwner
        nonReentrant
    {
        for (uint256 i = 0; i < batchMint.length; i++) {
            require(
                batchMint[i].amount <= OWNER_MINT_MAX_SUPPLY,
                "Minting amount exceeds reserved supply"
            );
            require(
                (totalSupply() + batchMint[i].amount) <= MAX_SUPPLY,
                "Sold out!"
            );
            _safeMint(batchMint[i].to, batchMint[i].amount);
            OWNER_MINT_MAX_SUPPLY = OWNER_MINT_MAX_SUPPLY - batchMint[i].amount;
        }
    }

    // ===== Public mint =====
    function mint() external payable {
        require(!publicMintPaused, "Public mint is paused");
        uint256 quantity = _getMintQuantity(msg.value, true);
        require(
            quantity <= maxMintLimit,
            "The number of quantity is not between the allowed nft mint range."
        );
        _safeMint(msg.sender, quantity);
    }

    // ===== Whitelist mint =====
    function whitelistMint(bytes32[] memory proof)
        external
        payable
        nonReentrant
    {
        require(!whitelistMintPaused, "Whitelist mint is paused");
        require(
            isAddressWhitelisted(proof, msg.sender),
            "You are not eligible for a whitelist mint"
        );

        uint256 amount = _getMintQuantity(msg.value, false);

        require(WHITELIST_MAX_SUPPLY >= amount, "Whitelist mint is sold out");

        require(
            whitelistMintedAmount[msg.sender] + amount <=
                maxItemsPerWhiteListedWallet,
            "Minting amount exceeds allowance per wallet"
        );
        _safeMint(msg.sender, amount);

        whitelistMintedAmount[msg.sender] += amount;

        WHITELIST_MAX_SUPPLY = WHITELIST_MAX_SUPPLY - amount;
    }

    function isAddressWhitelisted(bytes32[] memory proof, address _address)
        public
        view
        returns (bool)
    {
        return isAddressInMerkleRoot(whitelistMerkleRoot, proof, _address);
    }

    function isAddressInMerkleRoot(
        bytes32 merkleRoot,
        bytes32[] memory proof,
        address _address
    ) internal pure returns (bool) {
        return proof.verify(merkleRoot, keccak256(abi.encodePacked(_address)));
    }

    function _getMintQuantity(uint256 value, bool _publicMint)
        internal
        view
        returns (uint256)
    {
        uint256 tempRate = _publicMint == true ? mintRate : whitelistMintRate;
        uint256 remainder = value % tempRate;
        require(remainder == 0, "Send a divisible amount of eth");
        uint256 quantity = value / tempRate;
        require(quantity > 0, "quantity to mint is 0");
        require(
            (totalSupply() + quantity) <= MAX_SUPPLY,
            "Not enough NFTs left!"
        );
        return quantity;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

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

    /**
     * @dev Used to get the maximum supply of tokens.
     * @return uint256 for max supply of tokens.
     */
    function getMaxSupply() public pure returns (uint256) {
        return MAX_SUPPLY;
    }

    // Only Owner Functions
    function updateMintRate(uint256 _mintRate) public onlyOwner {
        require(_mintRate > 0, "Invalid mint rate value.");
        mintRate = _mintRate;
    }

    function updateWhitelistMintRate(uint256 _whitelistMintRate)
        public
        onlyOwner
    {
        whitelistMintRate = _whitelistMintRate;
    }

    function updateMaxMintLimit(uint256 _maxMintLimit) public onlyOwner {
        require(_maxMintLimit > 0, "Invalid max mint limit.");
        maxMintLimit = _maxMintLimit;
    }

    function updatePublicMintPaused(bool _publicMintPaused) external onlyOwner {
        publicMintPaused = _publicMintPaused;
    }

    function updateWhitelistMintPaused(bool _whitelistMintPaused)
        external
        onlyOwner
    {
        whitelistMintPaused = _whitelistMintPaused;
    }

    function updateBaseTokenURI(string memory _baseTokenURI)
        external
        onlyOwner
    {
        baseUri = _baseTokenURI;
    }

    function updateHiddenBaseTokenURI(string memory _hiddenBaseTokenURI)
        external
        onlyOwner
    {
        hiddenBaseUri = _hiddenBaseTokenURI;
    }

    function setWhitelistMintMerkleRoot(bytes32 _whitelistMerkleRoot)
        external
        onlyOwner
    {
        whitelistMerkleRoot = _whitelistMerkleRoot;
    }

    function updatemaxItemsPerWhiteListedWallet(
        uint256 _maxItemsPerWhiteListedWallet
    ) external onlyOwner {
        maxItemsPerWhiteListedWallet = _maxItemsPerWhiteListedWallet;
    }

    function updateRevealed(bool _state) public onlyOwner {
        revealed = _state;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        if (revealed == false) {
            return hiddenBaseUri;
        }

        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length != 0
                ? string(
                    abi.encodePacked(
                        baseURI,
                        Strings.toString(tokenId),
                        ".json"
                    )
                )
                : "";
    }

    /**
     * @dev withdraw all eth from contract and transfer to owner.
     */
    function withdraw() public onlyOwner nonReentrant {

        uint256 contractBalance = address(this).balance; 

        (bool aa, ) = payable(0xf7CA0f33502980331065169E58f07FB5377f23Fd).call{
            value: (contractBalance * 3250) / 10000
        }("");
        require(aa);

        (bool ab, ) = payable(0x2ba983d1a3F4463B351B0B385FA65eFCA977A4BC).call{
            value: (contractBalance * 3250) / 10000
        }("");
        require(ab);

        (bool ac, ) = payable(0x6Ce62D72d9539E188493FA01314F5A5143Ad1D09).call{
            value: (contractBalance * 1500) / 10000
        }("");
        require(ac);

        (bool ad, ) = payable(0x65933182441F7786D4CdA1FC3D311921c53d7EAa).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(ad);

        (bool ae, ) = payable(0xECf52bee7879b5AE0d1CFb954023D40A339C5f4B).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(ae);

        (bool af, ) = payable(0x2aBa590725247c8066EaDaA5c204dD6cfde5FEc8).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(af);

        (bool ag, ) = payable(0x205763544D93E70D53956CEe75C023231A2BC9c9).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(ag);

        (bool ah, ) = payable(0x3891bF5094a0ECd4157eb7729E1Da35BDAa52741).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(ah);

        (bool ai, ) = payable(0xB9E95651a78907fD5Bb8Bc37Fc5138669314ED93).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(ai);

        (bool aj, ) = payable(0xE0ecA13fccD3118EB99E04F644b65AF825458cA7).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(aj);

        (bool ak, ) = payable(0x432fBa58Fe37ea125600077EB0e758C4BCdAdB3c).call{
            value: (contractBalance * 200) / 10000
        }("");
        require(ak);

        (bool al, ) = payable(0x53aaf2078B08B9CFED09e812FB9c0175fbbe2217).call{
            value: (contractBalance * 400) / 10000
        }("");
        require(al);
    }
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

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

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

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

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

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

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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

File 6 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_hiddenBaseUri","type":"string"},{"internalType":"uint256","name":"_mintRate","type":"uint256"},{"internalType":"uint256","name":"_whitelistMintRate","type":"uint256"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_MINT_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"hiddenBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"isAddressWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxItemsPerWhiteListedWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ScotchNoblemen.BatchMint[]","name":"batchMint","type":"tuple[]"}],"name":"ownerMintInBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMintMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"updateBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenBaseTokenURI","type":"string"}],"name":"updateHiddenBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintLimit","type":"uint256"}],"name":"updateMaxMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintRate","type":"uint256"}],"name":"updateMintRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicMintPaused","type":"bool"}],"name":"updatePublicMintPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"updateRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistMintPaused","type":"bool"}],"name":"updateWhitelistMintPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistMintRate","type":"uint256"}],"name":"updateWhitelistMintRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxItemsPerWhiteListedWallet","type":"uint256"}],"name":"updatemaxItemsPerWhiteListedWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405261271160809081525060c8600a55610bb8600b55600a600e556001600f60006101000a81548160ff02191690831515021790555060036014553480156200004a57600080fd5b5060405162005d0838038062005d088339818101604052810190620000709190620004b8565b858581600290805190602001906200008a929190620001f5565b508060039080519060200190620000a3929190620001f5565b50620000b46200011e60201b60201c565b6000819055505050620000dc620000d06200012760201b60201c565b6200012f60201b60201c565b600160098190555082600d81905550836010908051906020019062000103929190620001f5565b50816012819055508060138190555050505050505062000616565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020390620005e0565b90600052602060002090601f01602090048101928262000227576000855562000273565b82601f106200024257805160ff191683800117855562000273565b8280016001018555821562000273579182015b828111156200027257825182559160200191906001019062000255565b5b50905062000282919062000286565b5090565b5b80821115620002a157600081600090555060010162000287565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200030e82620002c3565b810181811067ffffffffffffffff8211171562000330576200032f620002d4565b5b80604052505050565b600062000345620002a5565b905062000353828262000303565b919050565b600067ffffffffffffffff821115620003765762000375620002d4565b5b6200038182620002c3565b9050602081019050919050565b60005b83811015620003ae57808201518184015260208101905062000391565b83811115620003be576000848401525b50505050565b6000620003db620003d58462000358565b62000339565b905082815260208101848484011115620003fa57620003f9620002be565b5b620004078482856200038e565b509392505050565b600082601f830112620004275762000426620002b9565b5b815162000439848260208601620003c4565b91505092915050565b6000819050919050565b620004578162000442565b81146200046357600080fd5b50565b60008151905062000477816200044c565b92915050565b6000819050919050565b62000492816200047d565b81146200049e57600080fd5b50565b600081519050620004b28162000487565b92915050565b60008060008060008060c08789031215620004d857620004d7620002af565b5b600087015167ffffffffffffffff811115620004f957620004f8620002b4565b5b6200050789828a016200040f565b965050602087015167ffffffffffffffff8111156200052b576200052a620002b4565b5b6200053989828a016200040f565b955050604087015167ffffffffffffffff8111156200055d576200055c620002b4565b5b6200056b89828a016200040f565b94505060606200057e89828a0162000466565b93505060806200059189828a0162000466565b92505060a0620005a489828a01620004a1565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005f957607f821691505b6020821081141562000610576200060f620005b1565b5b50919050565b6080516156ba6200064e6000396000818161104f0152818161118f01528181611dcd01528181611e6e0152612e5e01526156ba6000f3fe6080604052600436106102885760003560e01c806364af22031161015a578063b200b424116100c1578063ca0dcf161161007a578063ca0dcf161461097a578063cfa1fd5c146109a5578063e4effacb146109ce578063e8b3890a146109f7578063e985e9c514610a20578063f2fde38b14610a5d57610288565b8063b200b4241461086a578063b74e1f4d14610893578063b88d4fde146108be578063b91d4c41146108e7578063c3979fb114610912578063c87b56dd1461093d57610288565b80638da5cb5b116101135780638da5cb5b1461076e57806395d89b4114610799578063974d3430146107c45780639ccb5175146107ed578063a22cb46514610816578063aa98e0c61461083f57610288565b806364af220314610672578063655391c91461069d5780636aa7b75c146106c657806370a08231146106ef57806370e2f8271461072c578063715018a61461075757610288565b806323b872dd116101fe57806342842e0e116101b757806342842e0e14610564578063484b973c1461058d5780634c0f38c2146105b657806351830227146105e15780636352211e1461060c578063642c05b51461064957610288565b806323b872dd146104875780632e809ec1146104b057806332cb6b0c146104db57806333d9d5fd14610506578063372f657c146105315780633ccfd60b1461054d57610288565b806312472b9a1161025057806312472b9a146103985780631249c58b146103c357806318160ddd146103cd5780631c79e2f7146103f85780631fac2a3514610421578063210a7ca71461045e57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630996896b1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614057565b610a86565b6040516102c1919061409f565b60405180910390f35b3480156102d657600080fd5b506102df610b68565b6040516102ec9190614153565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906141ab565b610bfa565b6040516103299190614219565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190614260565b610c76565b005b34801561036757600080fd5b50610382600480360381019061037d919061441e565b610d81565b60405161038f919061409f565b60405180910390f35b3480156103a457600080fd5b506103ad610d98565b6040516103ba9190614489565b60405180910390f35b6103cb610d9e565b005b3480156103d957600080fd5b506103e2610e4f565b6040516103ef9190614489565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190614559565b610e66565b005b34801561042d57600080fd5b50610448600480360381019061044391906145a2565b610efc565b6040516104559190614489565b60405180910390f35b34801561046a57600080fd5b50610485600480360381019061048091906146e7565b610f14565b005b34801561049357600080fd5b506104ae60048036038101906104a99190614730565b611177565b005b3480156104bc57600080fd5b506104c5611187565b6040516104d29190614489565b60405180910390f35b3480156104e757600080fd5b506104f061118d565b6040516104fd9190614489565b60405180910390f35b34801561051257600080fd5b5061051b6111b1565b604051610528919061409f565b60405180910390f35b61054b60048036038101906105469190614783565b6111c4565b005b34801561055957600080fd5b5061056261140e565b005b34801561057057600080fd5b5061058b60048036038101906105869190614730565b611c9c565b005b34801561059957600080fd5b506105b460048036038101906105af9190614260565b611cbc565b005b3480156105c257600080fd5b506105cb611e6a565b6040516105d89190614489565b60405180910390f35b3480156105ed57600080fd5b506105f6611e92565b604051610603919061409f565b60405180910390f35b34801561061857600080fd5b50610633600480360381019061062e91906141ab565b611ea5565b6040516106409190614219565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b91906141ab565b611ebb565b005b34801561067e57600080fd5b50610687611f84565b6040516106949190614153565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190614559565b612012565b005b3480156106d257600080fd5b506106ed60048036038101906106e891906141ab565b6120a8565b005b3480156106fb57600080fd5b50610716600480360381019061071191906145a2565b61212e565b6040516107239190614489565b60405180910390f35b34801561073857600080fd5b506107416121fe565b60405161074e9190614489565b60405180910390f35b34801561076357600080fd5b5061076c612204565b005b34801561077a57600080fd5b5061078361228c565b6040516107909190614219565b60405180910390f35b3480156107a557600080fd5b506107ae6122b6565b6040516107bb9190614153565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906141ab565b612348565b005b3480156107f957600080fd5b50610814600480360381019061080f91906141ab565b6123ce565b005b34801561082257600080fd5b5061083d600480360381019061083891906147f8565b612497565b005b34801561084b57600080fd5b5061085461260f565b6040516108619190614847565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c9190614862565b612615565b005b34801561089f57600080fd5b506108a86126ae565b6040516108b5919061409f565b60405180910390f35b3480156108ca57600080fd5b506108e560048036038101906108e09190614930565b6126c1565b005b3480156108f357600080fd5b506108fc61273d565b6040516109099190614489565b60405180910390f35b34801561091e57600080fd5b50610927612743565b6040516109349190614489565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f91906141ab565b612749565b6040516109719190614153565b60405180910390f35b34801561098657600080fd5b5061098f612897565b60405161099c9190614489565b60405180910390f35b3480156109b157600080fd5b506109cc60048036038101906109c79190614862565b61289d565b005b3480156109da57600080fd5b506109f560048036038101906109f091906149b3565b612936565b005b348015610a0357600080fd5b50610a1e6004803603810190610a199190614862565b6129bc565b005b348015610a2c57600080fd5b50610a476004803603810190610a4291906149e0565b612a55565b604051610a54919061409f565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f91906145a2565b612ae9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b615750610b6082612be1565b5b9050919050565b606060028054610b7790614a4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba390614a4f565b8015610bf05780601f10610bc557610100808354040283529160200191610bf0565b820191906000526020600020905b815481529060010190602001808311610bd357829003601f168201915b5050505050905090565b6000610c0582612c4b565b610c3b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c8182611ea5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ce9576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d08612c99565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d3a5750610d3881610d33612c99565b612a55565b155b15610d71576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d7c838383612ca1565b505050565b6000610d906013548484612d53565b905092915050565b60145481565b600f60009054906101000a900460ff1615610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590614acd565b60405180910390fd5b6000610dfb346001612d99565b9050600e54811115610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990614b85565b60405180910390fd5b610e4c3382612edd565b50565b6000610e59612efb565b6001546000540303905090565b610e6e612c99565b73ffffffffffffffffffffffffffffffffffffffff16610e8c61228c565b73ffffffffffffffffffffffffffffffffffffffff1614610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990614bf1565b60405180910390fd5b8060109080519060200190610ef8929190613f05565b5050565b60156020528060005260406000206000915090505481565b610f1c612c99565b73ffffffffffffffffffffffffffffffffffffffff16610f3a61228c565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614bf1565b60405180910390fd5b60026009541415610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90614c5d565b60405180910390fd5b600260098190555060005b815181101561116b57600a5482828151811061100057610fff614c7d565b5b602002602001015160200151111561104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490614d1e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082828151811061108157611080614c7d565b5b602002602001015160200151611095610e4f565b61109f9190614d6d565b11156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790614e0f565b60405180910390fd5b6111268282815181106110f6576110f5614c7d565b5b60200260200101516000015183838151811061111557611114614c7d565b5b602002602001015160200151612edd565b81818151811061113957611138614c7d565b5b602002602001015160200151600a546111529190614e2f565b600a81905550808061116390614e63565b915050610fe1565b50600160098190555050565b611182838383612f04565b505050565b60125481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600f60009054906101000a900460ff1681565b6002600954141561120a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120190614c5d565b60405180910390fd5b6002600981905550601160009054906101000a900460ff1615611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990614ef8565b60405180910390fd5b61126c8133610d81565b6112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290614f8a565b60405180910390fd5b60006112b8346000612d99565b905080600b5410156112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690614ff6565b60405180910390fd5b60145481601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461134d9190614d6d565b111561138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590615088565b60405180910390fd5b6113983382612edd565b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e79190614d6d565b9250508190555080600b546113fc9190614e2f565b600b8190555050600160098190555050565b611416612c99565b73ffffffffffffffffffffffffffffffffffffffff1661143461228c565b73ffffffffffffffffffffffffffffffffffffffff161461148a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148190614bf1565b60405180910390fd5b600260095414156114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c790614c5d565b60405180910390fd5b60026009819055506000479050600073f7ca0f33502980331065169e58f07fb5377f23fd73ffffffffffffffffffffffffffffffffffffffff16612710610cb28461151b91906150a8565b6115259190615131565b60405161153190615193565b60006040518083038185875af1925050503d806000811461156e576040519150601f19603f3d011682016040523d82523d6000602084013e611573565b606091505b505090508061158157600080fd5b6000732ba983d1a3f4463b351b0b385fa65efca977a4bc73ffffffffffffffffffffffffffffffffffffffff16612710610cb2856115bf91906150a8565b6115c99190615131565b6040516115d590615193565b60006040518083038185875af1925050503d8060008114611612576040519150601f19603f3d011682016040523d82523d6000602084013e611617565b606091505b505090508061162557600080fd5b6000736ce62d72d9539e188493fa01314f5a5143ad1d0973ffffffffffffffffffffffffffffffffffffffff166127106105dc8661166391906150a8565b61166d9190615131565b60405161167990615193565b60006040518083038185875af1925050503d80600081146116b6576040519150601f19603f3d011682016040523d82523d6000602084013e6116bb565b606091505b50509050806116c957600080fd5b60007365933182441f7786d4cda1fc3d311921c53d7eaa73ffffffffffffffffffffffffffffffffffffffff1661271060c88761170691906150a8565b6117109190615131565b60405161171c90615193565b60006040518083038185875af1925050503d8060008114611759576040519150601f19603f3d011682016040523d82523d6000602084013e61175e565b606091505b505090508061176c57600080fd5b600073ecf52bee7879b5ae0d1cfb954023d40a339c5f4b73ffffffffffffffffffffffffffffffffffffffff1661271060c8886117a991906150a8565b6117b39190615131565b6040516117bf90615193565b60006040518083038185875af1925050503d80600081146117fc576040519150601f19603f3d011682016040523d82523d6000602084013e611801565b606091505b505090508061180f57600080fd5b6000732aba590725247c8066eadaa5c204dd6cfde5fec873ffffffffffffffffffffffffffffffffffffffff1661271060c88961184c91906150a8565b6118569190615131565b60405161186290615193565b60006040518083038185875af1925050503d806000811461189f576040519150601f19603f3d011682016040523d82523d6000602084013e6118a4565b606091505b50509050806118b257600080fd5b600073205763544d93e70d53956cee75c023231a2bc9c973ffffffffffffffffffffffffffffffffffffffff1661271060c88a6118ef91906150a8565b6118f99190615131565b60405161190590615193565b60006040518083038185875af1925050503d8060008114611942576040519150601f19603f3d011682016040523d82523d6000602084013e611947565b606091505b505090508061195557600080fd5b6000733891bf5094a0ecd4157eb7729e1da35bdaa5274173ffffffffffffffffffffffffffffffffffffffff1661271060c88b61199291906150a8565b61199c9190615131565b6040516119a890615193565b60006040518083038185875af1925050503d80600081146119e5576040519150601f19603f3d011682016040523d82523d6000602084013e6119ea565b606091505b50509050806119f857600080fd5b600073b9e95651a78907fd5bb8bc37fc5138669314ed9373ffffffffffffffffffffffffffffffffffffffff1661271060c88c611a3591906150a8565b611a3f9190615131565b604051611a4b90615193565b60006040518083038185875af1925050503d8060008114611a88576040519150601f19603f3d011682016040523d82523d6000602084013e611a8d565b606091505b5050905080611a9b57600080fd5b600073e0eca13fccd3118eb99e04f644b65af825458ca773ffffffffffffffffffffffffffffffffffffffff1661271060c88d611ad891906150a8565b611ae29190615131565b604051611aee90615193565b60006040518083038185875af1925050503d8060008114611b2b576040519150601f19603f3d011682016040523d82523d6000602084013e611b30565b606091505b5050905080611b3e57600080fd5b600073432fba58fe37ea125600077eb0e758c4bcdadb3c73ffffffffffffffffffffffffffffffffffffffff1661271060c88e611b7b91906150a8565b611b859190615131565b604051611b9190615193565b60006040518083038185875af1925050503d8060008114611bce576040519150601f19603f3d011682016040523d82523d6000602084013e611bd3565b606091505b5050905080611be157600080fd5b60007353aaf2078b08b9cfed09e812fb9c0175fbbe221773ffffffffffffffffffffffffffffffffffffffff166127106101908f611c1f91906150a8565b611c299190615131565b604051611c3590615193565b60006040518083038185875af1925050503d8060008114611c72576040519150601f19603f3d011682016040523d82523d6000602084013e611c77565b606091505b5050905080611c8557600080fd5b505050505050505050505050506001600981905550565b611cb7838383604051806020016040528060008152506126c1565b505050565b611cc4612c99565b73ffffffffffffffffffffffffffffffffffffffff16611ce261228c565b73ffffffffffffffffffffffffffffffffffffffff1614611d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2f90614bf1565b60405180910390fd5b60026009541415611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7590614c5d565b60405180910390fd5b6002600981905550600a54811115611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290614d1e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081611df5610e4f565b611dff9190614d6d565b1115611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3790614e0f565b60405180910390fd5b611e4a8282612edd565b80600a54611e589190614e2f565b600a8190555060016009819055505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b600f60019054906101000a900460ff1681565b6000611eb0826133ba565b600001519050919050565b611ec3612c99565b73ffffffffffffffffffffffffffffffffffffffff16611ee161228c565b73ffffffffffffffffffffffffffffffffffffffff1614611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e90614bf1565b60405180910390fd5b60008111611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f71906151f4565b60405180910390fd5b80600e8190555050565b60108054611f9190614a4f565b80601f0160208091040260200160405190810160405280929190818152602001828054611fbd90614a4f565b801561200a5780601f10611fdf5761010080835404028352916020019161200a565b820191906000526020600020905b815481529060010190602001808311611fed57829003601f168201915b505050505081565b61201a612c99565b73ffffffffffffffffffffffffffffffffffffffff1661203861228c565b73ffffffffffffffffffffffffffffffffffffffff161461208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590614bf1565b60405180910390fd5b80600c90805190602001906120a4929190613f05565b5050565b6120b0612c99565b73ffffffffffffffffffffffffffffffffffffffff166120ce61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b90614bf1565b60405180910390fd5b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612196576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600e5481565b61220c612c99565b73ffffffffffffffffffffffffffffffffffffffff1661222a61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790614bf1565b60405180910390fd5b61228a6000613649565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546122c590614a4f565b80601f01602080910402602001604051908101604052809291908181526020018280546122f190614a4f565b801561233e5780601f106123135761010080835404028352916020019161233e565b820191906000526020600020905b81548152906001019060200180831161232157829003601f168201915b5050505050905090565b612350612c99565b73ffffffffffffffffffffffffffffffffffffffff1661236e61228c565b73ffffffffffffffffffffffffffffffffffffffff16146123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90614bf1565b60405180910390fd5b8060148190555050565b6123d6612c99565b73ffffffffffffffffffffffffffffffffffffffff166123f461228c565b73ffffffffffffffffffffffffffffffffffffffff161461244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190614bf1565b60405180910390fd5b6000811161248d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248490615260565b60405180910390fd5b80600d8190555050565b61249f612c99565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612504576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612511612c99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125be612c99565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612603919061409f565b60405180910390a35050565b60135481565b61261d612c99565b73ffffffffffffffffffffffffffffffffffffffff1661263b61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268890614bf1565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b601160009054906101000a900460ff1681565b6126cc848484612f04565b6126eb8373ffffffffffffffffffffffffffffffffffffffff1661370f565b801561270057506126fe84848484613732565b155b15612737576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a5481565b600b5481565b606061275482612c4b565b61278a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515600f60019054906101000a900460ff161515141561283857601080546127b390614a4f565b80601f01602080910402602001604051908101604052809291908181526020018280546127df90614a4f565b801561282c5780601f106128015761010080835404028352916020019161282c565b820191906000526020600020905b81548152906001019060200180831161280f57829003601f168201915b50505050509050612892565b6000612842613883565b9050600081511415612863576040518060200160405280600081525061288e565b8061286d84613915565b60405160200161287e929190615308565b6040516020818303038152906040525b9150505b919050565b600d5481565b6128a5612c99565b73ffffffffffffffffffffffffffffffffffffffff166128c361228c565b73ffffffffffffffffffffffffffffffffffffffff1614612919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291090614bf1565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b61293e612c99565b73ffffffffffffffffffffffffffffffffffffffff1661295c61228c565b73ffffffffffffffffffffffffffffffffffffffff16146129b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a990614bf1565b60405180910390fd5b8060138190555050565b6129c4612c99565b73ffffffffffffffffffffffffffffffffffffffff166129e261228c565b73ffffffffffffffffffffffffffffffffffffffff1614612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614bf1565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612af1612c99565b73ffffffffffffffffffffffffffffffffffffffff16612b0f61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5c90614bf1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc906153a9565b60405180910390fd5b612bde81613649565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612c56612efb565b11158015612c65575060005482105b8015612c92575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612d908483604051602001612d6a9190615411565b6040516020818303038152906040528051906020012085613a769092919063ffffffff16565b90509392505050565b6000806001151583151514612db057601254612db4565b600d545b905060008185612dc4919061542c565b905060008114612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e00906154a9565b60405180910390fd5b60008286612e179190615131565b905060008111612e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5390615515565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081612e86610e4f565b612e909190614d6d565b1115612ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec890615581565b60405180910390fd5b80935050505092915050565b612ef7828260405180602001604052806000815250613a8d565b5050565b60006001905090565b6000612f0f826133ba565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f7a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612f9b612c99565b73ffffffffffffffffffffffffffffffffffffffff161480612fca5750612fc985612fc4612c99565b612a55565b5b8061300f5750612fd8612c99565b73ffffffffffffffffffffffffffffffffffffffff16612ff784610bfa565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613048576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130af576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130bc8585856001613a9f565b6130c860008487612ca1565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561334857600054821461334757878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133b38585856001613aa5565b5050505050565b6133c2613f8b565b6000829050806133d0612efb565b111580156133df575060005481105b15613612576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161361057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134f4578092505050613644565b5b60011561360f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461360a578092505050613644565b6134f5565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613758612c99565b8786866040518563ffffffff1660e01b815260040161377a94939291906155f6565b6020604051808303816000875af19250505080156137b657506040513d601f19601f820116820180604052508101906137b39190615657565b60015b613830573d80600081146137e6576040519150601f19603f3d011682016040523d82523d6000602084013e6137eb565b606091505b50600081511415613828576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c805461389290614a4f565b80601f01602080910402602001604051908101604052809291908181526020018280546138be90614a4f565b801561390b5780601f106138e05761010080835404028352916020019161390b565b820191906000526020600020905b8154815290600101906020018083116138ee57829003601f168201915b5050505050905090565b6060600082141561395d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a71565b600082905060005b6000821461398f57808061397890614e63565b915050600a826139889190615131565b9150613965565b60008167ffffffffffffffff8111156139ab576139aa6142a5565b5b6040519080825280601f01601f1916602001820160405280156139dd5781602001600182028036833780820191505090505b5090505b60008514613a6a576001826139f69190614e2f565b9150600a85613a05919061542c565b6030613a119190614d6d565b60f81b818381518110613a2757613a26614c7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a639190615131565b94506139e1565b8093505050505b919050565b600082613a838584613aab565b1490509392505050565b613a9a8383836001613b20565b505050565b50505050565b50505050565b60008082905060005b8451811015613b15576000858281518110613ad257613ad1614c7d565b5b60200260200101519050808311613af457613aed8382613eee565b9250613b01565b613afe8184613eee565b92505b508080613b0d90614e63565b915050613ab4565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613b8d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613bc8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bd56000868387613a9f565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613d9f5750613d9e8773ffffffffffffffffffffffffffffffffffffffff1661370f565b5b15613e65575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e146000888480600101955088613732565b613e4a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613da5578260005414613e6057600080fd5b613ed1565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613e66575b816000819055505050613ee76000868387613aa5565b5050505050565b600082600052816020526040600020905092915050565b828054613f1190614a4f565b90600052602060002090601f016020900481019282613f335760008555613f7a565b82601f10613f4c57805160ff1916838001178555613f7a565b82800160010185558215613f7a579182015b82811115613f79578251825591602001919060010190613f5e565b5b509050613f879190613fce565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613fe7576000816000905550600101613fcf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61403481613fff565b811461403f57600080fd5b50565b6000813590506140518161402b565b92915050565b60006020828403121561406d5761406c613ff5565b5b600061407b84828501614042565b91505092915050565b60008115159050919050565b61409981614084565b82525050565b60006020820190506140b46000830184614090565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140f45780820151818401526020810190506140d9565b83811115614103576000848401525b50505050565b6000601f19601f8301169050919050565b6000614125826140ba565b61412f81856140c5565b935061413f8185602086016140d6565b61414881614109565b840191505092915050565b6000602082019050818103600083015261416d818461411a565b905092915050565b6000819050919050565b61418881614175565b811461419357600080fd5b50565b6000813590506141a58161417f565b92915050565b6000602082840312156141c1576141c0613ff5565b5b60006141cf84828501614196565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614203826141d8565b9050919050565b614213816141f8565b82525050565b600060208201905061422e600083018461420a565b92915050565b61423d816141f8565b811461424857600080fd5b50565b60008135905061425a81614234565b92915050565b6000806040838503121561427757614276613ff5565b5b60006142858582860161424b565b925050602061429685828601614196565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142dd82614109565b810181811067ffffffffffffffff821117156142fc576142fb6142a5565b5b80604052505050565b600061430f613feb565b905061431b82826142d4565b919050565b600067ffffffffffffffff82111561433b5761433a6142a5565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61436481614351565b811461436f57600080fd5b50565b6000813590506143818161435b565b92915050565b600061439a61439584614320565b614305565b905080838252602082019050602084028301858111156143bd576143bc61434c565b5b835b818110156143e657806143d28882614372565b8452602084019350506020810190506143bf565b5050509392505050565b600082601f830112614405576144046142a0565b5b8135614415848260208601614387565b91505092915050565b6000806040838503121561443557614434613ff5565b5b600083013567ffffffffffffffff81111561445357614452613ffa565b5b61445f858286016143f0565b92505060206144708582860161424b565b9150509250929050565b61448381614175565b82525050565b600060208201905061449e600083018461447a565b92915050565b600080fd5b600067ffffffffffffffff8211156144c4576144c36142a5565b5b6144cd82614109565b9050602081019050919050565b82818337600083830152505050565b60006144fc6144f7846144a9565b614305565b905082815260208101848484011115614518576145176144a4565b5b6145238482856144da565b509392505050565b600082601f8301126145405761453f6142a0565b5b81356145508482602086016144e9565b91505092915050565b60006020828403121561456f5761456e613ff5565b5b600082013567ffffffffffffffff81111561458d5761458c613ffa565b5b6145998482850161452b565b91505092915050565b6000602082840312156145b8576145b7613ff5565b5b60006145c68482850161424b565b91505092915050565b600067ffffffffffffffff8211156145ea576145e96142a5565b5b602082029050602081019050919050565b600080fd5b600060408284031215614616576146156145fb565b5b6146206040614305565b905060006146308482850161424b565b600083015250602061464484828501614196565b60208301525092915050565b600061466361465e846145cf565b614305565b905080838252602082019050604084028301858111156146865761468561434c565b5b835b818110156146af578061469b8882614600565b845260208401935050604081019050614688565b5050509392505050565b600082601f8301126146ce576146cd6142a0565b5b81356146de848260208601614650565b91505092915050565b6000602082840312156146fd576146fc613ff5565b5b600082013567ffffffffffffffff81111561471b5761471a613ffa565b5b614727848285016146b9565b91505092915050565b60008060006060848603121561474957614748613ff5565b5b60006147578682870161424b565b93505060206147688682870161424b565b925050604061477986828701614196565b9150509250925092565b60006020828403121561479957614798613ff5565b5b600082013567ffffffffffffffff8111156147b7576147b6613ffa565b5b6147c3848285016143f0565b91505092915050565b6147d581614084565b81146147e057600080fd5b50565b6000813590506147f2816147cc565b92915050565b6000806040838503121561480f5761480e613ff5565b5b600061481d8582860161424b565b925050602061482e858286016147e3565b9150509250929050565b61484181614351565b82525050565b600060208201905061485c6000830184614838565b92915050565b60006020828403121561487857614877613ff5565b5b6000614886848285016147e3565b91505092915050565b600067ffffffffffffffff8211156148aa576148a96142a5565b5b6148b382614109565b9050602081019050919050565b60006148d36148ce8461488f565b614305565b9050828152602081018484840111156148ef576148ee6144a4565b5b6148fa8482856144da565b509392505050565b600082601f830112614917576149166142a0565b5b81356149278482602086016148c0565b91505092915050565b6000806000806080858703121561494a57614949613ff5565b5b60006149588782880161424b565b94505060206149698782880161424b565b935050604061497a87828801614196565b925050606085013567ffffffffffffffff81111561499b5761499a613ffa565b5b6149a787828801614902565b91505092959194509250565b6000602082840312156149c9576149c8613ff5565b5b60006149d784828501614372565b91505092915050565b600080604083850312156149f7576149f6613ff5565b5b6000614a058582860161424b565b9250506020614a168582860161424b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a6757607f821691505b60208210811415614a7b57614a7a614a20565b5b50919050565b7f5075626c6963206d696e74206973207061757365640000000000000000000000600082015250565b6000614ab76015836140c5565b9150614ac282614a81565b602082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f546865206e756d626572206f66207175616e74697479206973206e6f7420626560008201527f747765656e2074686520616c6c6f776564206e6674206d696e742072616e676560208201527f2e00000000000000000000000000000000000000000000000000000000000000604082015250565b6000614b6f6041836140c5565b9150614b7a82614aed565b606082019050919050565b60006020820190508181036000830152614b9e81614b62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614bdb6020836140c5565b9150614be682614ba5565b602082019050919050565b60006020820190508181036000830152614c0a81614bce565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614c47601f836140c5565b9150614c5282614c11565b602082019050919050565b60006020820190508181036000830152614c7681614c3a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d696e74696e6720616d6f756e7420657863656564732072657365727665642060008201527f737570706c790000000000000000000000000000000000000000000000000000602082015250565b6000614d086026836140c5565b9150614d1382614cac565b604082019050919050565b60006020820190508181036000830152614d3781614cfb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614d7882614175565b9150614d8383614175565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614db857614db7614d3e565b5b828201905092915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6000614df96009836140c5565b9150614e0482614dc3565b602082019050919050565b60006020820190508181036000830152614e2881614dec565b9050919050565b6000614e3a82614175565b9150614e4583614175565b925082821015614e5857614e57614d3e565b5b828203905092915050565b6000614e6e82614175565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ea157614ea0614d3e565b5b600182019050919050565b7f57686974656c697374206d696e74206973207061757365640000000000000000600082015250565b6000614ee26018836140c5565b9150614eed82614eac565b602082019050919050565b60006020820190508181036000830152614f1181614ed5565b9050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206120776869746560008201527f6c697374206d696e740000000000000000000000000000000000000000000000602082015250565b6000614f746029836140c5565b9150614f7f82614f18565b604082019050919050565b60006020820190508181036000830152614fa381614f67565b9050919050565b7f57686974656c697374206d696e7420697320736f6c64206f7574000000000000600082015250565b6000614fe0601a836140c5565b9150614feb82614faa565b602082019050919050565b6000602082019050818103600083015261500f81614fd3565b9050919050565b7f4d696e74696e6720616d6f756e74206578636565647320616c6c6f77616e636560008201527f207065722077616c6c6574000000000000000000000000000000000000000000602082015250565b6000615072602b836140c5565b915061507d82615016565b604082019050919050565b600060208201905081810360008301526150a181615065565b9050919050565b60006150b382614175565b91506150be83614175565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150f7576150f6614d3e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061513c82614175565b915061514783614175565b92508261515757615156615102565b5b828204905092915050565b600081905092915050565b50565b600061517d600083615162565b91506151888261516d565b600082019050919050565b600061519e82615170565b9150819050919050565b7f496e76616c6964206d6178206d696e74206c696d69742e000000000000000000600082015250565b60006151de6017836140c5565b91506151e9826151a8565b602082019050919050565b6000602082019050818103600083015261520d816151d1565b9050919050565b7f496e76616c6964206d696e7420726174652076616c75652e0000000000000000600082015250565b600061524a6018836140c5565b915061525582615214565b602082019050919050565b600060208201905081810360008301526152798161523d565b9050919050565b600081905092915050565b6000615296826140ba565b6152a08185615280565b93506152b08185602086016140d6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006152f2600583615280565b91506152fd826152bc565b600582019050919050565b6000615314828561528b565b9150615320828461528b565b915061532b826152e5565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153936026836140c5565b915061539e82615337565b604082019050919050565b600060208201905081810360008301526153c281615386565b9050919050565b60008160601b9050919050565b60006153e1826153c9565b9050919050565b60006153f3826153d6565b9050919050565b61540b615406826141f8565b6153e8565b82525050565b600061541d82846153fa565b60148201915081905092915050565b600061543782614175565b915061544283614175565b92508261545257615451615102565b5b828206905092915050565b7f53656e64206120646976697369626c6520616d6f756e74206f66206574680000600082015250565b6000615493601e836140c5565b915061549e8261545d565b602082019050919050565b600060208201905081810360008301526154c281615486565b9050919050565b7f7175616e7469747920746f206d696e7420697320300000000000000000000000600082015250565b60006154ff6015836140c5565b915061550a826154c9565b602082019050919050565b6000602082019050818103600083015261552e816154f2565b9050919050565b7f4e6f7420656e6f756768204e465473206c656674210000000000000000000000600082015250565b600061556b6015836140c5565b915061557682615535565b602082019050919050565b6000602082019050818103600083015261559a8161555e565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155c8826155a1565b6155d281856155ac565b93506155e28185602086016140d6565b6155eb81614109565b840191505092915050565b600060808201905061560b600083018761420a565b615618602083018661420a565b615625604083018561447a565b818103606083015261563781846155bd565b905095945050505050565b6000815190506156518161402b565b92915050565b60006020828403121561566d5761566c613ff5565b5b600061567b84828501615642565b9150509291505056fea26469706673582212202411d1ddc3e09eec25cceafc1f7c954dd592caebe30419cc6ea3d27e00f6b9a764736f6c634300080c003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000000000b1a2bc2ec5000008c03d8b747786df32f9485782fbc7a36eea8e13363e6e36ea08a16813248295000000000000000000000000000000000000000000000000000000000000000e53636f7463684e6f626c656d656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e4f424c45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006568747470733a2f2f73636f7463686e6f626c656d656e2e6d7970696e6174612e636c6f75642f697066732f516d634d7341506d4645594855326f4a7777576772394836783853674238476e533433435356754c446a596f7a5a2f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c806364af22031161015a578063b200b424116100c1578063ca0dcf161161007a578063ca0dcf161461097a578063cfa1fd5c146109a5578063e4effacb146109ce578063e8b3890a146109f7578063e985e9c514610a20578063f2fde38b14610a5d57610288565b8063b200b4241461086a578063b74e1f4d14610893578063b88d4fde146108be578063b91d4c41146108e7578063c3979fb114610912578063c87b56dd1461093d57610288565b80638da5cb5b116101135780638da5cb5b1461076e57806395d89b4114610799578063974d3430146107c45780639ccb5175146107ed578063a22cb46514610816578063aa98e0c61461083f57610288565b806364af220314610672578063655391c91461069d5780636aa7b75c146106c657806370a08231146106ef57806370e2f8271461072c578063715018a61461075757610288565b806323b872dd116101fe57806342842e0e116101b757806342842e0e14610564578063484b973c1461058d5780634c0f38c2146105b657806351830227146105e15780636352211e1461060c578063642c05b51461064957610288565b806323b872dd146104875780632e809ec1146104b057806332cb6b0c146104db57806333d9d5fd14610506578063372f657c146105315780633ccfd60b1461054d57610288565b806312472b9a1161025057806312472b9a146103985780631249c58b146103c357806318160ddd146103cd5780631c79e2f7146103f85780631fac2a3514610421578063210a7ca71461045e57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630996896b1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614057565b610a86565b6040516102c1919061409f565b60405180910390f35b3480156102d657600080fd5b506102df610b68565b6040516102ec9190614153565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906141ab565b610bfa565b6040516103299190614219565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190614260565b610c76565b005b34801561036757600080fd5b50610382600480360381019061037d919061441e565b610d81565b60405161038f919061409f565b60405180910390f35b3480156103a457600080fd5b506103ad610d98565b6040516103ba9190614489565b60405180910390f35b6103cb610d9e565b005b3480156103d957600080fd5b506103e2610e4f565b6040516103ef9190614489565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190614559565b610e66565b005b34801561042d57600080fd5b50610448600480360381019061044391906145a2565b610efc565b6040516104559190614489565b60405180910390f35b34801561046a57600080fd5b50610485600480360381019061048091906146e7565b610f14565b005b34801561049357600080fd5b506104ae60048036038101906104a99190614730565b611177565b005b3480156104bc57600080fd5b506104c5611187565b6040516104d29190614489565b60405180910390f35b3480156104e757600080fd5b506104f061118d565b6040516104fd9190614489565b60405180910390f35b34801561051257600080fd5b5061051b6111b1565b604051610528919061409f565b60405180910390f35b61054b60048036038101906105469190614783565b6111c4565b005b34801561055957600080fd5b5061056261140e565b005b34801561057057600080fd5b5061058b60048036038101906105869190614730565b611c9c565b005b34801561059957600080fd5b506105b460048036038101906105af9190614260565b611cbc565b005b3480156105c257600080fd5b506105cb611e6a565b6040516105d89190614489565b60405180910390f35b3480156105ed57600080fd5b506105f6611e92565b604051610603919061409f565b60405180910390f35b34801561061857600080fd5b50610633600480360381019061062e91906141ab565b611ea5565b6040516106409190614219565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b91906141ab565b611ebb565b005b34801561067e57600080fd5b50610687611f84565b6040516106949190614153565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190614559565b612012565b005b3480156106d257600080fd5b506106ed60048036038101906106e891906141ab565b6120a8565b005b3480156106fb57600080fd5b50610716600480360381019061071191906145a2565b61212e565b6040516107239190614489565b60405180910390f35b34801561073857600080fd5b506107416121fe565b60405161074e9190614489565b60405180910390f35b34801561076357600080fd5b5061076c612204565b005b34801561077a57600080fd5b5061078361228c565b6040516107909190614219565b60405180910390f35b3480156107a557600080fd5b506107ae6122b6565b6040516107bb9190614153565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906141ab565b612348565b005b3480156107f957600080fd5b50610814600480360381019061080f91906141ab565b6123ce565b005b34801561082257600080fd5b5061083d600480360381019061083891906147f8565b612497565b005b34801561084b57600080fd5b5061085461260f565b6040516108619190614847565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c9190614862565b612615565b005b34801561089f57600080fd5b506108a86126ae565b6040516108b5919061409f565b60405180910390f35b3480156108ca57600080fd5b506108e560048036038101906108e09190614930565b6126c1565b005b3480156108f357600080fd5b506108fc61273d565b6040516109099190614489565b60405180910390f35b34801561091e57600080fd5b50610927612743565b6040516109349190614489565b60405180910390f35b34801561094957600080fd5b50610964600480360381019061095f91906141ab565b612749565b6040516109719190614153565b60405180910390f35b34801561098657600080fd5b5061098f612897565b60405161099c9190614489565b60405180910390f35b3480156109b157600080fd5b506109cc60048036038101906109c79190614862565b61289d565b005b3480156109da57600080fd5b506109f560048036038101906109f091906149b3565b612936565b005b348015610a0357600080fd5b50610a1e6004803603810190610a199190614862565b6129bc565b005b348015610a2c57600080fd5b50610a476004803603810190610a4291906149e0565b612a55565b604051610a54919061409f565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f91906145a2565b612ae9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b615750610b6082612be1565b5b9050919050565b606060028054610b7790614a4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba390614a4f565b8015610bf05780601f10610bc557610100808354040283529160200191610bf0565b820191906000526020600020905b815481529060010190602001808311610bd357829003601f168201915b5050505050905090565b6000610c0582612c4b565b610c3b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c8182611ea5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ce9576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d08612c99565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d3a5750610d3881610d33612c99565b612a55565b155b15610d71576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d7c838383612ca1565b505050565b6000610d906013548484612d53565b905092915050565b60145481565b600f60009054906101000a900460ff1615610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590614acd565b60405180910390fd5b6000610dfb346001612d99565b9050600e54811115610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990614b85565b60405180910390fd5b610e4c3382612edd565b50565b6000610e59612efb565b6001546000540303905090565b610e6e612c99565b73ffffffffffffffffffffffffffffffffffffffff16610e8c61228c565b73ffffffffffffffffffffffffffffffffffffffff1614610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990614bf1565b60405180910390fd5b8060109080519060200190610ef8929190613f05565b5050565b60156020528060005260406000206000915090505481565b610f1c612c99565b73ffffffffffffffffffffffffffffffffffffffff16610f3a61228c565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790614bf1565b60405180910390fd5b60026009541415610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90614c5d565b60405180910390fd5b600260098190555060005b815181101561116b57600a5482828151811061100057610fff614c7d565b5b602002602001015160200151111561104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490614d1e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000271182828151811061108157611080614c7d565b5b602002602001015160200151611095610e4f565b61109f9190614d6d565b11156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790614e0f565b60405180910390fd5b6111268282815181106110f6576110f5614c7d565b5b60200260200101516000015183838151811061111557611114614c7d565b5b602002602001015160200151612edd565b81818151811061113957611138614c7d565b5b602002602001015160200151600a546111529190614e2f565b600a81905550808061116390614e63565b915050610fe1565b50600160098190555050565b611182838383612f04565b505050565b60125481565b7f000000000000000000000000000000000000000000000000000000000000271181565b600f60009054906101000a900460ff1681565b6002600954141561120a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120190614c5d565b60405180910390fd5b6002600981905550601160009054906101000a900460ff1615611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990614ef8565b60405180910390fd5b61126c8133610d81565b6112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290614f8a565b60405180910390fd5b60006112b8346000612d99565b905080600b5410156112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690614ff6565b60405180910390fd5b60145481601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461134d9190614d6d565b111561138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590615088565b60405180910390fd5b6113983382612edd565b80601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e79190614d6d565b9250508190555080600b546113fc9190614e2f565b600b8190555050600160098190555050565b611416612c99565b73ffffffffffffffffffffffffffffffffffffffff1661143461228c565b73ffffffffffffffffffffffffffffffffffffffff161461148a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148190614bf1565b60405180910390fd5b600260095414156114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c790614c5d565b60405180910390fd5b60026009819055506000479050600073f7ca0f33502980331065169e58f07fb5377f23fd73ffffffffffffffffffffffffffffffffffffffff16612710610cb28461151b91906150a8565b6115259190615131565b60405161153190615193565b60006040518083038185875af1925050503d806000811461156e576040519150601f19603f3d011682016040523d82523d6000602084013e611573565b606091505b505090508061158157600080fd5b6000732ba983d1a3f4463b351b0b385fa65efca977a4bc73ffffffffffffffffffffffffffffffffffffffff16612710610cb2856115bf91906150a8565b6115c99190615131565b6040516115d590615193565b60006040518083038185875af1925050503d8060008114611612576040519150601f19603f3d011682016040523d82523d6000602084013e611617565b606091505b505090508061162557600080fd5b6000736ce62d72d9539e188493fa01314f5a5143ad1d0973ffffffffffffffffffffffffffffffffffffffff166127106105dc8661166391906150a8565b61166d9190615131565b60405161167990615193565b60006040518083038185875af1925050503d80600081146116b6576040519150601f19603f3d011682016040523d82523d6000602084013e6116bb565b606091505b50509050806116c957600080fd5b60007365933182441f7786d4cda1fc3d311921c53d7eaa73ffffffffffffffffffffffffffffffffffffffff1661271060c88761170691906150a8565b6117109190615131565b60405161171c90615193565b60006040518083038185875af1925050503d8060008114611759576040519150601f19603f3d011682016040523d82523d6000602084013e61175e565b606091505b505090508061176c57600080fd5b600073ecf52bee7879b5ae0d1cfb954023d40a339c5f4b73ffffffffffffffffffffffffffffffffffffffff1661271060c8886117a991906150a8565b6117b39190615131565b6040516117bf90615193565b60006040518083038185875af1925050503d80600081146117fc576040519150601f19603f3d011682016040523d82523d6000602084013e611801565b606091505b505090508061180f57600080fd5b6000732aba590725247c8066eadaa5c204dd6cfde5fec873ffffffffffffffffffffffffffffffffffffffff1661271060c88961184c91906150a8565b6118569190615131565b60405161186290615193565b60006040518083038185875af1925050503d806000811461189f576040519150601f19603f3d011682016040523d82523d6000602084013e6118a4565b606091505b50509050806118b257600080fd5b600073205763544d93e70d53956cee75c023231a2bc9c973ffffffffffffffffffffffffffffffffffffffff1661271060c88a6118ef91906150a8565b6118f99190615131565b60405161190590615193565b60006040518083038185875af1925050503d8060008114611942576040519150601f19603f3d011682016040523d82523d6000602084013e611947565b606091505b505090508061195557600080fd5b6000733891bf5094a0ecd4157eb7729e1da35bdaa5274173ffffffffffffffffffffffffffffffffffffffff1661271060c88b61199291906150a8565b61199c9190615131565b6040516119a890615193565b60006040518083038185875af1925050503d80600081146119e5576040519150601f19603f3d011682016040523d82523d6000602084013e6119ea565b606091505b50509050806119f857600080fd5b600073b9e95651a78907fd5bb8bc37fc5138669314ed9373ffffffffffffffffffffffffffffffffffffffff1661271060c88c611a3591906150a8565b611a3f9190615131565b604051611a4b90615193565b60006040518083038185875af1925050503d8060008114611a88576040519150601f19603f3d011682016040523d82523d6000602084013e611a8d565b606091505b5050905080611a9b57600080fd5b600073e0eca13fccd3118eb99e04f644b65af825458ca773ffffffffffffffffffffffffffffffffffffffff1661271060c88d611ad891906150a8565b611ae29190615131565b604051611aee90615193565b60006040518083038185875af1925050503d8060008114611b2b576040519150601f19603f3d011682016040523d82523d6000602084013e611b30565b606091505b5050905080611b3e57600080fd5b600073432fba58fe37ea125600077eb0e758c4bcdadb3c73ffffffffffffffffffffffffffffffffffffffff1661271060c88e611b7b91906150a8565b611b859190615131565b604051611b9190615193565b60006040518083038185875af1925050503d8060008114611bce576040519150601f19603f3d011682016040523d82523d6000602084013e611bd3565b606091505b5050905080611be157600080fd5b60007353aaf2078b08b9cfed09e812fb9c0175fbbe221773ffffffffffffffffffffffffffffffffffffffff166127106101908f611c1f91906150a8565b611c299190615131565b604051611c3590615193565b60006040518083038185875af1925050503d8060008114611c72576040519150601f19603f3d011682016040523d82523d6000602084013e611c77565b606091505b5050905080611c8557600080fd5b505050505050505050505050506001600981905550565b611cb7838383604051806020016040528060008152506126c1565b505050565b611cc4612c99565b73ffffffffffffffffffffffffffffffffffffffff16611ce261228c565b73ffffffffffffffffffffffffffffffffffffffff1614611d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2f90614bf1565b60405180910390fd5b60026009541415611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7590614c5d565b60405180910390fd5b6002600981905550600a54811115611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290614d1e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000271181611df5610e4f565b611dff9190614d6d565b1115611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3790614e0f565b60405180910390fd5b611e4a8282612edd565b80600a54611e589190614e2f565b600a8190555060016009819055505050565b60007f0000000000000000000000000000000000000000000000000000000000002711905090565b600f60019054906101000a900460ff1681565b6000611eb0826133ba565b600001519050919050565b611ec3612c99565b73ffffffffffffffffffffffffffffffffffffffff16611ee161228c565b73ffffffffffffffffffffffffffffffffffffffff1614611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e90614bf1565b60405180910390fd5b60008111611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f71906151f4565b60405180910390fd5b80600e8190555050565b60108054611f9190614a4f565b80601f0160208091040260200160405190810160405280929190818152602001828054611fbd90614a4f565b801561200a5780601f10611fdf5761010080835404028352916020019161200a565b820191906000526020600020905b815481529060010190602001808311611fed57829003601f168201915b505050505081565b61201a612c99565b73ffffffffffffffffffffffffffffffffffffffff1661203861228c565b73ffffffffffffffffffffffffffffffffffffffff161461208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590614bf1565b60405180910390fd5b80600c90805190602001906120a4929190613f05565b5050565b6120b0612c99565b73ffffffffffffffffffffffffffffffffffffffff166120ce61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b90614bf1565b60405180910390fd5b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612196576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600e5481565b61220c612c99565b73ffffffffffffffffffffffffffffffffffffffff1661222a61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790614bf1565b60405180910390fd5b61228a6000613649565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546122c590614a4f565b80601f01602080910402602001604051908101604052809291908181526020018280546122f190614a4f565b801561233e5780601f106123135761010080835404028352916020019161233e565b820191906000526020600020905b81548152906001019060200180831161232157829003601f168201915b5050505050905090565b612350612c99565b73ffffffffffffffffffffffffffffffffffffffff1661236e61228c565b73ffffffffffffffffffffffffffffffffffffffff16146123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90614bf1565b60405180910390fd5b8060148190555050565b6123d6612c99565b73ffffffffffffffffffffffffffffffffffffffff166123f461228c565b73ffffffffffffffffffffffffffffffffffffffff161461244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190614bf1565b60405180910390fd5b6000811161248d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248490615260565b60405180910390fd5b80600d8190555050565b61249f612c99565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612504576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612511612c99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125be612c99565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612603919061409f565b60405180910390a35050565b60135481565b61261d612c99565b73ffffffffffffffffffffffffffffffffffffffff1661263b61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268890614bf1565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b601160009054906101000a900460ff1681565b6126cc848484612f04565b6126eb8373ffffffffffffffffffffffffffffffffffffffff1661370f565b801561270057506126fe84848484613732565b155b15612737576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600a5481565b600b5481565b606061275482612c4b565b61278a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515600f60019054906101000a900460ff161515141561283857601080546127b390614a4f565b80601f01602080910402602001604051908101604052809291908181526020018280546127df90614a4f565b801561282c5780601f106128015761010080835404028352916020019161282c565b820191906000526020600020905b81548152906001019060200180831161280f57829003601f168201915b50505050509050612892565b6000612842613883565b9050600081511415612863576040518060200160405280600081525061288e565b8061286d84613915565b60405160200161287e929190615308565b6040516020818303038152906040525b9150505b919050565b600d5481565b6128a5612c99565b73ffffffffffffffffffffffffffffffffffffffff166128c361228c565b73ffffffffffffffffffffffffffffffffffffffff1614612919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291090614bf1565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b61293e612c99565b73ffffffffffffffffffffffffffffffffffffffff1661295c61228c565b73ffffffffffffffffffffffffffffffffffffffff16146129b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a990614bf1565b60405180910390fd5b8060138190555050565b6129c4612c99565b73ffffffffffffffffffffffffffffffffffffffff166129e261228c565b73ffffffffffffffffffffffffffffffffffffffff1614612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614bf1565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612af1612c99565b73ffffffffffffffffffffffffffffffffffffffff16612b0f61228c565b73ffffffffffffffffffffffffffffffffffffffff1614612b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5c90614bf1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc906153a9565b60405180910390fd5b612bde81613649565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612c56612efb565b11158015612c65575060005482105b8015612c92575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612d908483604051602001612d6a9190615411565b6040516020818303038152906040528051906020012085613a769092919063ffffffff16565b90509392505050565b6000806001151583151514612db057601254612db4565b600d545b905060008185612dc4919061542c565b905060008114612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e00906154a9565b60405180910390fd5b60008286612e179190615131565b905060008111612e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5390615515565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000271181612e86610e4f565b612e909190614d6d565b1115612ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec890615581565b60405180910390fd5b80935050505092915050565b612ef7828260405180602001604052806000815250613a8d565b5050565b60006001905090565b6000612f0f826133ba565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f7a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612f9b612c99565b73ffffffffffffffffffffffffffffffffffffffff161480612fca5750612fc985612fc4612c99565b612a55565b5b8061300f5750612fd8612c99565b73ffffffffffffffffffffffffffffffffffffffff16612ff784610bfa565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613048576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130af576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130bc8585856001613a9f565b6130c860008487612ca1565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561334857600054821461334757878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133b38585856001613aa5565b5050505050565b6133c2613f8b565b6000829050806133d0612efb565b111580156133df575060005481105b15613612576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161361057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134f4578092505050613644565b5b60011561360f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461360a578092505050613644565b6134f5565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613758612c99565b8786866040518563ffffffff1660e01b815260040161377a94939291906155f6565b6020604051808303816000875af19250505080156137b657506040513d601f19601f820116820180604052508101906137b39190615657565b60015b613830573d80600081146137e6576040519150601f19603f3d011682016040523d82523d6000602084013e6137eb565b606091505b50600081511415613828576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c805461389290614a4f565b80601f01602080910402602001604051908101604052809291908181526020018280546138be90614a4f565b801561390b5780601f106138e05761010080835404028352916020019161390b565b820191906000526020600020905b8154815290600101906020018083116138ee57829003601f168201915b5050505050905090565b6060600082141561395d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a71565b600082905060005b6000821461398f57808061397890614e63565b915050600a826139889190615131565b9150613965565b60008167ffffffffffffffff8111156139ab576139aa6142a5565b5b6040519080825280601f01601f1916602001820160405280156139dd5781602001600182028036833780820191505090505b5090505b60008514613a6a576001826139f69190614e2f565b9150600a85613a05919061542c565b6030613a119190614d6d565b60f81b818381518110613a2757613a26614c7d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a639190615131565b94506139e1565b8093505050505b919050565b600082613a838584613aab565b1490509392505050565b613a9a8383836001613b20565b505050565b50505050565b50505050565b60008082905060005b8451811015613b15576000858281518110613ad257613ad1614c7d565b5b60200260200101519050808311613af457613aed8382613eee565b9250613b01565b613afe8184613eee565b92505b508080613b0d90614e63565b915050613ab4565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613b8d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613bc8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bd56000868387613a9f565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613d9f5750613d9e8773ffffffffffffffffffffffffffffffffffffffff1661370f565b5b15613e65575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e146000888480600101955088613732565b613e4a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613da5578260005414613e6057600080fd5b613ed1565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613e66575b816000819055505050613ee76000868387613aa5565b5050505050565b600082600052816020526040600020905092915050565b828054613f1190614a4f565b90600052602060002090601f016020900481019282613f335760008555613f7a565b82601f10613f4c57805160ff1916838001178555613f7a565b82800160010185558215613f7a579182015b82811115613f79578251825591602001919060010190613f5e565b5b509050613f879190613fce565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613fe7576000816000905550600101613fcf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61403481613fff565b811461403f57600080fd5b50565b6000813590506140518161402b565b92915050565b60006020828403121561406d5761406c613ff5565b5b600061407b84828501614042565b91505092915050565b60008115159050919050565b61409981614084565b82525050565b60006020820190506140b46000830184614090565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140f45780820151818401526020810190506140d9565b83811115614103576000848401525b50505050565b6000601f19601f8301169050919050565b6000614125826140ba565b61412f81856140c5565b935061413f8185602086016140d6565b61414881614109565b840191505092915050565b6000602082019050818103600083015261416d818461411a565b905092915050565b6000819050919050565b61418881614175565b811461419357600080fd5b50565b6000813590506141a58161417f565b92915050565b6000602082840312156141c1576141c0613ff5565b5b60006141cf84828501614196565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614203826141d8565b9050919050565b614213816141f8565b82525050565b600060208201905061422e600083018461420a565b92915050565b61423d816141f8565b811461424857600080fd5b50565b60008135905061425a81614234565b92915050565b6000806040838503121561427757614276613ff5565b5b60006142858582860161424b565b925050602061429685828601614196565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142dd82614109565b810181811067ffffffffffffffff821117156142fc576142fb6142a5565b5b80604052505050565b600061430f613feb565b905061431b82826142d4565b919050565b600067ffffffffffffffff82111561433b5761433a6142a5565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61436481614351565b811461436f57600080fd5b50565b6000813590506143818161435b565b92915050565b600061439a61439584614320565b614305565b905080838252602082019050602084028301858111156143bd576143bc61434c565b5b835b818110156143e657806143d28882614372565b8452602084019350506020810190506143bf565b5050509392505050565b600082601f830112614405576144046142a0565b5b8135614415848260208601614387565b91505092915050565b6000806040838503121561443557614434613ff5565b5b600083013567ffffffffffffffff81111561445357614452613ffa565b5b61445f858286016143f0565b92505060206144708582860161424b565b9150509250929050565b61448381614175565b82525050565b600060208201905061449e600083018461447a565b92915050565b600080fd5b600067ffffffffffffffff8211156144c4576144c36142a5565b5b6144cd82614109565b9050602081019050919050565b82818337600083830152505050565b60006144fc6144f7846144a9565b614305565b905082815260208101848484011115614518576145176144a4565b5b6145238482856144da565b509392505050565b600082601f8301126145405761453f6142a0565b5b81356145508482602086016144e9565b91505092915050565b60006020828403121561456f5761456e613ff5565b5b600082013567ffffffffffffffff81111561458d5761458c613ffa565b5b6145998482850161452b565b91505092915050565b6000602082840312156145b8576145b7613ff5565b5b60006145c68482850161424b565b91505092915050565b600067ffffffffffffffff8211156145ea576145e96142a5565b5b602082029050602081019050919050565b600080fd5b600060408284031215614616576146156145fb565b5b6146206040614305565b905060006146308482850161424b565b600083015250602061464484828501614196565b60208301525092915050565b600061466361465e846145cf565b614305565b905080838252602082019050604084028301858111156146865761468561434c565b5b835b818110156146af578061469b8882614600565b845260208401935050604081019050614688565b5050509392505050565b600082601f8301126146ce576146cd6142a0565b5b81356146de848260208601614650565b91505092915050565b6000602082840312156146fd576146fc613ff5565b5b600082013567ffffffffffffffff81111561471b5761471a613ffa565b5b614727848285016146b9565b91505092915050565b60008060006060848603121561474957614748613ff5565b5b60006147578682870161424b565b93505060206147688682870161424b565b925050604061477986828701614196565b9150509250925092565b60006020828403121561479957614798613ff5565b5b600082013567ffffffffffffffff8111156147b7576147b6613ffa565b5b6147c3848285016143f0565b91505092915050565b6147d581614084565b81146147e057600080fd5b50565b6000813590506147f2816147cc565b92915050565b6000806040838503121561480f5761480e613ff5565b5b600061481d8582860161424b565b925050602061482e858286016147e3565b9150509250929050565b61484181614351565b82525050565b600060208201905061485c6000830184614838565b92915050565b60006020828403121561487857614877613ff5565b5b6000614886848285016147e3565b91505092915050565b600067ffffffffffffffff8211156148aa576148a96142a5565b5b6148b382614109565b9050602081019050919050565b60006148d36148ce8461488f565b614305565b9050828152602081018484840111156148ef576148ee6144a4565b5b6148fa8482856144da565b509392505050565b600082601f830112614917576149166142a0565b5b81356149278482602086016148c0565b91505092915050565b6000806000806080858703121561494a57614949613ff5565b5b60006149588782880161424b565b94505060206149698782880161424b565b935050604061497a87828801614196565b925050606085013567ffffffffffffffff81111561499b5761499a613ffa565b5b6149a787828801614902565b91505092959194509250565b6000602082840312156149c9576149c8613ff5565b5b60006149d784828501614372565b91505092915050565b600080604083850312156149f7576149f6613ff5565b5b6000614a058582860161424b565b9250506020614a168582860161424b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a6757607f821691505b60208210811415614a7b57614a7a614a20565b5b50919050565b7f5075626c6963206d696e74206973207061757365640000000000000000000000600082015250565b6000614ab76015836140c5565b9150614ac282614a81565b602082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f546865206e756d626572206f66207175616e74697479206973206e6f7420626560008201527f747765656e2074686520616c6c6f776564206e6674206d696e742072616e676560208201527f2e00000000000000000000000000000000000000000000000000000000000000604082015250565b6000614b6f6041836140c5565b9150614b7a82614aed565b606082019050919050565b60006020820190508181036000830152614b9e81614b62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614bdb6020836140c5565b9150614be682614ba5565b602082019050919050565b60006020820190508181036000830152614c0a81614bce565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614c47601f836140c5565b9150614c5282614c11565b602082019050919050565b60006020820190508181036000830152614c7681614c3a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d696e74696e6720616d6f756e7420657863656564732072657365727665642060008201527f737570706c790000000000000000000000000000000000000000000000000000602082015250565b6000614d086026836140c5565b9150614d1382614cac565b604082019050919050565b60006020820190508181036000830152614d3781614cfb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614d7882614175565b9150614d8383614175565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614db857614db7614d3e565b5b828201905092915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6000614df96009836140c5565b9150614e0482614dc3565b602082019050919050565b60006020820190508181036000830152614e2881614dec565b9050919050565b6000614e3a82614175565b9150614e4583614175565b925082821015614e5857614e57614d3e565b5b828203905092915050565b6000614e6e82614175565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ea157614ea0614d3e565b5b600182019050919050565b7f57686974656c697374206d696e74206973207061757365640000000000000000600082015250565b6000614ee26018836140c5565b9150614eed82614eac565b602082019050919050565b60006020820190508181036000830152614f1181614ed5565b9050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206120776869746560008201527f6c697374206d696e740000000000000000000000000000000000000000000000602082015250565b6000614f746029836140c5565b9150614f7f82614f18565b604082019050919050565b60006020820190508181036000830152614fa381614f67565b9050919050565b7f57686974656c697374206d696e7420697320736f6c64206f7574000000000000600082015250565b6000614fe0601a836140c5565b9150614feb82614faa565b602082019050919050565b6000602082019050818103600083015261500f81614fd3565b9050919050565b7f4d696e74696e6720616d6f756e74206578636565647320616c6c6f77616e636560008201527f207065722077616c6c6574000000000000000000000000000000000000000000602082015250565b6000615072602b836140c5565b915061507d82615016565b604082019050919050565b600060208201905081810360008301526150a181615065565b9050919050565b60006150b382614175565b91506150be83614175565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150f7576150f6614d3e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061513c82614175565b915061514783614175565b92508261515757615156615102565b5b828204905092915050565b600081905092915050565b50565b600061517d600083615162565b91506151888261516d565b600082019050919050565b600061519e82615170565b9150819050919050565b7f496e76616c6964206d6178206d696e74206c696d69742e000000000000000000600082015250565b60006151de6017836140c5565b91506151e9826151a8565b602082019050919050565b6000602082019050818103600083015261520d816151d1565b9050919050565b7f496e76616c6964206d696e7420726174652076616c75652e0000000000000000600082015250565b600061524a6018836140c5565b915061525582615214565b602082019050919050565b600060208201905081810360008301526152798161523d565b9050919050565b600081905092915050565b6000615296826140ba565b6152a08185615280565b93506152b08185602086016140d6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006152f2600583615280565b91506152fd826152bc565b600582019050919050565b6000615314828561528b565b9150615320828461528b565b915061532b826152e5565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153936026836140c5565b915061539e82615337565b604082019050919050565b600060208201905081810360008301526153c281615386565b9050919050565b60008160601b9050919050565b60006153e1826153c9565b9050919050565b60006153f3826153d6565b9050919050565b61540b615406826141f8565b6153e8565b82525050565b600061541d82846153fa565b60148201915081905092915050565b600061543782614175565b915061544283614175565b92508261545257615451615102565b5b828206905092915050565b7f53656e64206120646976697369626c6520616d6f756e74206f66206574680000600082015250565b6000615493601e836140c5565b915061549e8261545d565b602082019050919050565b600060208201905081810360008301526154c281615486565b9050919050565b7f7175616e7469747920746f206d696e7420697320300000000000000000000000600082015250565b60006154ff6015836140c5565b915061550a826154c9565b602082019050919050565b6000602082019050818103600083015261552e816154f2565b9050919050565b7f4e6f7420656e6f756768204e465473206c656674210000000000000000000000600082015250565b600061556b6015836140c5565b915061557682615535565b602082019050919050565b6000602082019050818103600083015261559a8161555e565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155c8826155a1565b6155d281856155ac565b93506155e28185602086016140d6565b6155eb81614109565b840191505092915050565b600060808201905061560b600083018761420a565b615618602083018661420a565b615625604083018561447a565b818103606083015261563781846155bd565b905095945050505050565b6000815190506156518161402b565b92915050565b60006020828403121561566d5761566c613ff5565b5b600061567b84828501615642565b9150509291505056fea26469706673582212202411d1ddc3e09eec25cceafc1f7c954dd592caebe30419cc6ea3d27e00f6b9a764736f6c634300080c0033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000000000b1a2bc2ec5000008c03d8b747786df32f9485782fbc7a36eea8e13363e6e36ea08a16813248295000000000000000000000000000000000000000000000000000000000000000e53636f7463684e6f626c656d656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e4f424c45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006568747470733a2f2f73636f7463686e6f626c656d656e2e6d7970696e6174612e636c6f75642f697066732f516d634d7341506d4645594855326f4a7777576772394836783853674238476e533433435356754c446a596f7a5a2f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): ScotchNoblemen
Arg [1] : _symbol (string): NOBLE
Arg [2] : _hiddenBaseUri (string): https://scotchnoblemen.mypinata.cloud/ipfs/QmcMsAPmFEYHU2oJwwWgr9H6x8SgB8GnS43CSVuLDjYozZ/hidden.json
Arg [3] : _mintRate (uint256): 70000000000000000
Arg [4] : _whitelistMintRate (uint256): 50000000000000000
Arg [5] : _whitelistMerkleRoot (bytes32): 0x08c03d8b747786df32f9485782fbc7a36eea8e13363e6e36ea08a16813248295

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [4] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [5] : 08c03d8b747786df32f9485782fbc7a36eea8e13363e6e36ea08a16813248295
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [7] : 53636f7463684e6f626c656d656e000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 4e4f424c45000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000065
Arg [11] : 68747470733a2f2f73636f7463686e6f626c656d656e2e6d7970696e6174612e
Arg [12] : 636c6f75642f697066732f516d634d7341506d4645594855326f4a7777576772
Arg [13] : 394836783853674238476e533433435356754c446a596f7a5a2f68696464656e
Arg [14] : 2e6a736f6e000000000000000000000000000000000000000000000000000000


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

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