ETH Price: $3,809.12 (+4.25%)

BabyWizards (BABIES)
 

Overview

TokenID

5757

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

10,000 Forgotten Babies who found themselves in an orphanage that trains youngsters in the magical arts. Adopt a baby today and change their life!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BabyWizards

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : FBWOFinal.sol
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@((((........(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..................,,,....(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................******@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(.....................*****@@@@...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@***********@@@@..........................................*******@@@@@..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@#****************#@@&%%%%%%%//////.........................,*******@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@**********@@@********@@@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...........*****@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@*********@@@@@@*******@@%%%%%%%%%%%%%%%%%%%**********%%%%%%%%///.........((@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@*********@@@@@@*******@@%%%%%%%%%%%%%%%%%                 %%%%%%%%%%%........@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@####@@@@@@@#********@@....//%%%%%%%%%%%%%%%%  %%%%%%%%%% *%%%%%%%%%%%%%%%%//....(@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@***********@@@@@@......%%%%%   %%%       %%%                %%%%%%%%%%%.....@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@***********#@@@@@@@@@@@@    ...   %%*       %%*                %%%%%%%%%%%%%//...((@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@********@@@@@@@@@@@@@@@@@@@@@@@                                %%%%%%%%%%%%%%%%%....@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@#*****@@@@@@@@@@@@@@@@@                                   %%%%%%%%%%%////......((@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@*****@@@@@@@@@@@@@@@                       %%%%          ..............@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@****@@@@@@@@@@@@@@@              ########              ..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@***@(     ,(((@@@@@%%(                        %%@@@  .....(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@@    (((.....@@@@@(                 @@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@****@#((((((........((@@@@@@@@@@@@@@@@@@(((................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@****@@.........................................*****........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***#@@@@@@@.................................,,****@(.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@****@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@((((((@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**@@@@@@@@@@@@@@@@........................,****@/      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**@@@@@@@@@@@@@@@@.........**..............****@@      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@@@@@@@@@@@@@.........**,..............****#@@//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@@@@@@@@@@@@@.........***#@((..............,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@@@@@@@@@@@@@@.*********@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@@@@@@@@@@@@@@@(((@@@@@@@@@@@@@((((((((@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**@@@@@@@@@@@@@@@........@@@@@@@@@@.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**@@@@@@@@@@@@.........@@@@@@@@@@.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**@@@@@@@@............@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//
// Forgotten Babies Wizard Orphanage
//
// 10k, on-chain Baby Wizard NFTs
// https://www.forgottenbabies.com
//
// Twitter: https://twitter.com/babywizards
//
// Inspired by Forgotten Runes Wizard Cult
// Made with love by BillGains.eth and AcidEater
// 90% of funds raised go direct to Lore Masters DAO to pay artists to do cool things!!!
//
//
//
//
//
//  !magic
//    !dragons
//      !milk
//        !pilk
//          !burningbabies
//
//
//
//
//  Don't sleep...
//
//
//
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;


import "erc721a/extensions/ERC721ABurnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract BabyWizards is ERC721ABurnable, Ownable, ReentrancyGuard {

  enum ReleaseMode{ CLOSED, DEV, PRE_SALE, OPEN, ENDED }
  ReleaseMode public currentMode;

  mapping(address => uint256) private _mintedPerAddress;
  mapping(address => uint256) private _freeBabyRedeemed;
  bytes32 private _presaleMerkleRoot;
  bytes32 private _freeAdoptMerkleRoot;
  uint256 private MAX_PER_ADDRESS;
  uint256 public maxSupply;
  uint256 public price;
  address public openSeaProxyRegistryAddress;
  bool private _isOpenSeaProxyActive = true;
  string private baseTokenURI;
  bool public baseTokenURILocked;
  address private _aeAddress;
  address private _lmdAddress = 0x6EAb2d42FEf9aad0036Bc145b5F451799e3FB3F7;


  // Simple Eth check, assuming no freebies.
  modifier requireCorrectEth(uint256 adoptCount) {
    require(msg.value == price * adoptCount, "Sent incorrect Ether");
    _;
  }

  /// @param adoptCount The amount of babies intended to be adopted.
  /// @dev All of our validations that we check before a mint.
  modifier validateAdoption(uint256 adoptCount) {
    require(
        _mintedPerAddress[msg.sender] + adoptCount <= MAX_PER_ADDRESS,
        "Exceeds wallet limit"
    );
    require(totalSupply() + adoptCount <= maxSupply, "Would exceed max supply");
    _;
 }

 modifier validatePreSaleAction() {
   require(currentMode == ReleaseMode.PRE_SALE || currentMode == ReleaseMode.OPEN, "Not presale time yet");
   _;
 }

 /// @dev Dev time?
 modifier validateDevsAction() {
   require(currentMode == ReleaseMode.DEV, "Not dev time yet");
   _;
 }

 /// @param baseTokenURI_ The starting baseTokenURI, we'll change this later to lock in the data on Arweave.
 /// @param maxSupply_ How many items are mintable?
 /// @param price_ Price per token
 /// @param openSeaProxyRegistryAddress_ The OpenSea proxy address, set at run time so we can easily swap between testnet and mainnet.
 /// @dev The constructor!
 constructor(
     uint256 maxSupply_,
     string memory baseTokenURI_,
     uint256 price_,
     uint256 MAX_PER_ADDRESS_,
     address openSeaProxyRegistryAddress_)
     ERC721A("BabyWizards", "BABIES")
 {
     maxSupply = maxSupply_;
     baseTokenURI = baseTokenURI_;
     MAX_PER_ADDRESS = MAX_PER_ADDRESS_;
     price = price_;
     openSeaProxyRegistryAddress = openSeaProxyRegistryAddress_;
 }

 /// @notice Returns whether or not you, the person calling this method, have adopted a baby.
 function freeBabyClaimed(address a) external view returns (bool){
   return _freeBabyRedeemed[a] == 1;
 }

 function generalAdoption(uint adoptCount) validateAdoption(adoptCount) requireCorrectEth(adoptCount) nonReentrant external payable {
     require(currentMode == ReleaseMode.OPEN, "It's not go time yet.");
     mint(msg.sender, adoptCount, true);
 }

 /// @param _merkleProof The proof generated by the front end, to see if you have written lore.


 function generalFreeAdoption(bytes32[] memory _merkleProof, uint adoptCount) validateAdoption(adoptCount) nonReentrant external payable {
     require(currentMode == ReleaseMode.OPEN, "It's not go time yet.");

     bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

     // The amount we're charging (e.g, the amount we're validating) will depend on
     // if we detected a free mint match. If so we check for a lesser amount of eth.
     uint adoptionFeesToCharge = adoptCount;
     if(MerkleProof.verify(_merkleProof, _freeAdoptMerkleRoot, leaf)){
       if(_freeBabyRedeemed[msg.sender] != 1){ // if the baby is NOT already redeemed, mark it as used and let us use the free one.
         adoptionFeesToCharge = adoptionFeesToCharge - 1;
         _freeBabyRedeemed[msg.sender] = 1;
       }
     }

     require(msg.value == price * adoptionFeesToCharge, "Sent incorrect Ether");
     mint(msg.sender, adoptCount, true);
 }

 /**
 @param merkleProof Your Merkle proof to check that you're on the presale list.
 @param freeMerkleProof Proof for your presence on the free mint list.
 @param adoptCount Amount to mint.
 @notice This is the mint function called by folks before the general sale, assuming they're allow-listed.
 @dev We don't need to enforce any specific limits on number of presale units minted, since the allow list itself
 will limit participants, plus the limit of mints per address checked in `validateBuild`.
 */
 function preSaleAdoption(bytes32[] memory merkleProof, bytes32[] memory freeMerkleProof, uint adoptCount) validateAdoption(adoptCount) validatePreSaleAction nonReentrant external payable {
   bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
   require(MerkleProof.verify(merkleProof, _presaleMerkleRoot, leaf), "Not on allowlist");

   // You can get your free mint during the presale, which is in another Merkle Tree.
   // The amount we're charging (e.g, the amount we're validating) will depend on
   // if we detected a free mint match. If so we check for a lesser amount of eth.
   uint adoptionFeesToCharge = adoptCount;
   if(MerkleProof.verify(freeMerkleProof, _freeAdoptMerkleRoot, leaf)){
     if(_freeBabyRedeemed[msg.sender] != 1){ // if the free is NOT already redeemed, mark it as used and let us use the free one.
       adoptionFeesToCharge = adoptionFeesToCharge - 1;
       _freeBabyRedeemed[msg.sender] = 1;
     }
   }

   require(msg.value == price * adoptionFeesToCharge, "Sent incorrect Ether");
   mint(msg.sender, adoptCount, true);
 }

 /// @dev This is purely for internal testing. Let's us verify a proof for the given sender against the Free Mint Merkle Root.
 function verifyPresale(bytes32[] memory _merkleProof, address sender) view external onlyOwner returns (bool) {
   bytes32 leaf = keccak256(abi.encodePacked(sender));
   return MerkleProof.verify(_merkleProof, _presaleMerkleRoot, leaf);
 }

 function setFreeBabyMerkleRoot(bytes32 merkRoot) external onlyOwner {
   _freeAdoptMerkleRoot = merkRoot;
 }

 function setMaxAdopt(uint256 newNumber) external onlyOwner {
   MAX_PER_ADDRESS = newNumber;
 }

 function setPresaleMerkleRoot(bytes32 merkRoot) external onlyOwner {
   _presaleMerkleRoot = merkRoot;
 }

 /// @dev After we cut over to the permaweb base URI, lock it up so we can't change it back. This is a one-time operation! Don't mess it up!
 function lockBaseTokenURI() external onlyOwner {
   baseTokenURILocked = true;
 }

///@dev change openSeaProxyRegistryAddress in case issues with migration.

 function openSeaProxy(address newAddress) external onlyOwner {
   openSeaProxyRegistryAddress = newAddress;
 }

 /// @param baseTokenURI_ The new baseTokenURI
 /// @dev Need this so we can set the new base URI for the cut over to permaweb.
 function setBaseURI(string memory baseTokenURI_) external onlyOwner {
     require(!baseTokenURILocked, "setBaseURI is locked");
     baseTokenURI = baseTokenURI_;
 }

 // Copy + pasted in the ERC721A in order to override.
 function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
     require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
     string memory baseURI = baseTokenURI;
     return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId), '.json')) : "";
 }

 /// @dev Sets the various wallets for withdrawl.
 function setWalletAddresses(address a) external onlyOwner {
   _aeAddress = a;
 }

 function getWalletAddresses() view external onlyOwner returns(address aeAddress, address lmdAddress){
   return (_aeAddress, _lmdAddress);
 }

 /// @dev Set our current mode to DEV.
 function startDevTeam() external onlyOwner {
   setSaleStatus(ReleaseMode.DEV);
 }

 /// @dev Set our current mode to PRE_SALE.
 function startPreSale() external onlyOwner {
   require(currentMode == ReleaseMode.CLOSED, "You already started presale.");
   setSaleStatus(ReleaseMode.PRE_SALE);
   mint(msg.sender, 100, false);

 }

 /// @dev Set our current mode to OPEN, for the general sale.
 function startGeneralSale() external onlyOwner {
   setSaleStatus(ReleaseMode.OPEN);
 }

 /// @dev End the sale (ENDED)
 function endSale() external onlyOwner {
   setSaleStatus(ReleaseMode.ENDED);
 }

 /// @dev Sets the current state to the given status.
 function setSaleStatus(ReleaseMode newStatus) private onlyOwner {
   currentMode = newStatus;
 }

 /// @dev Get paid
 function withdraw() external nonReentrant onlyOwner {
   // Some percentage magic:
   uint256 balance = address(this).balance;
   uint256 tenPercent = balance / 100 * 10;
   payable(_aeAddress).transfer(tenPercent);
   uint256 remaining = address(this).balance;
   payable(_lmdAddress).transfer(remaining);
 }

 /// @param to Who are we minting for?
 /// @param countTowardsWalletLimit Allows us to indicate if this should count towards the "X NFTs per Wallet" limit, or if we bypass that.
 /// @dev Our internal mint method, that handles some universal book-keeping.
 function mint(address to, uint256 count, bool countTowardsWalletLimit) private {
     if(countTowardsWalletLimit){
       _mintedPerAddress[to] += count;
     }
     _safeMint(to, count);
 }

 function isApprovedForAll(address owner, address operator)
     public
     view
     override
     returns (bool)
 {
     // Get a reference to OpenSea's proxy registry contract by instantiating
     // the contract using the already existing address.
     OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(
         openSeaProxyRegistryAddress
     );
     if (_isOpenSeaProxyActive && address(proxyRegistry.proxies(owner)) == operator) {
         return true;
     }

     return super.isApprovedForAll(owner, operator);
 }

 function setIsOpenSeaProxyActive(bool isOpenSeaProxyActive_) external onlyOwner {
   _isOpenSeaProxyActive = isOpenSeaProxyActive_;
 }

 /// @notice In case any wayward tokens make their way over.
 function withdrawTokens(IERC20 token) external onlyOwner {
     uint256 balance = token.balanceOf(address(this));
     token.transfer(msg.sender, balance);
 }

 // @dev Overriding to add support for Royalties
 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool)
 {
     return interfaceId == 0x2a55205a || super.supportsInterface(interfaceId);
 }

 /// @notice Royalties
 function royaltyInfo(uint256 tokenId, uint256 salePrice)
     external
     view
     returns (address receiver, uint256 royaltyAmount)
 {
     require(_exists(tokenId), "Nonexistent token");
     return (_aeAddress, (salePrice * 5) / 100);
 }

 /// @dev Allow us to receive arbitrary ETH if sent directly. Mostly want this for test purposes.
 receive() external payable {}

}

contract OwnableDelegateProxy { }
contract OpenSeaProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 19 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';
import '@openzeppelin/contracts/utils/Context.sol';

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is Context, ERC721A {

    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();

        _burn(tokenId);
    }
}

File 3 of 19 : 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 19 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

File 5 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 19 : 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 8 of 19 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
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 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_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;
        }
    }

    /**
     * @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) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _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 (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 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 (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_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;

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

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * 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 9 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 19 : 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 15 of 19 : 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 16 of 19 : 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 17 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 18 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"string","name":"baseTokenURI_","type":"string"},{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint256","name":"MAX_PER_ADDRESS_","type":"uint256"},{"internalType":"address","name":"openSeaProxyRegistryAddress_","type":"address"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMode","outputs":[{"internalType":"enum BabyWizards.ReleaseMode","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"freeBabyClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"adoptCount","type":"uint256"}],"name":"generalAdoption","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"adoptCount","type":"uint256"}],"name":"generalFreeAdoption","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWalletAddresses","outputs":[{"internalType":"address","name":"aeAddress","type":"address"},{"internalType":"address","name":"lmdAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"openSeaProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openSeaProxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32[]","name":"freeMerkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"adoptCount","type":"uint256"}],"name":"preSaleAdoption","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkRoot","type":"bytes32"}],"name":"setFreeBabyMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOpenSeaProxyActive_","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNumber","type":"uint256"}],"name":"setMaxAdopt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkRoot","type":"bytes32"}],"name":"setPresaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"setWalletAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDevTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startGeneralSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPreSale","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":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"sender","type":"address"}],"name":"verifyPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001601260146101000a81548160ff021916908315150217905550736eab2d42fef9aad0036bc145b5f451799e3fb3f7601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200008157600080fd5b5060405162005f7438038062005f748339818101604052810190620000a79190620005a4565b6040518060400160405280600b81526020017f4261627957697a617264730000000000000000000000000000000000000000008152506040518060400160405280600681526020017f424142494553000000000000000000000000000000000000000000000000000081525081600290805190602001906200012b929190620002b7565b50806003908051906020019062000144929190620002b7565b505050620001676200015b620001e960201b60201c565b620001f160201b60201c565b60016009819055508460108190555083601390805190602001906200018e929190620002b7565b5081600f819055508260118190555080601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050620006b0565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c5906200067a565b90600052602060002090601f016020900481019282620002e9576000855562000335565b82601f106200030457805160ff191683800117855562000335565b8280016001018555821562000335579182015b828111156200033457825182559160200191906001019062000317565b5b50905062000344919062000348565b5090565b5b808211156200036357600081600090555060010162000349565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b62000390816200037b565b81146200039c57600080fd5b50565b600081519050620003b08162000385565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200040b82620003c0565b810181811067ffffffffffffffff821117156200042d576200042c620003d1565b5b80604052505050565b60006200044262000367565b905062000450828262000400565b919050565b600067ffffffffffffffff821115620004735762000472620003d1565b5b6200047e82620003c0565b9050602081019050919050565b60005b83811015620004ab5780820151818401526020810190506200048e565b83811115620004bb576000848401525b50505050565b6000620004d8620004d28462000455565b62000436565b905082815260208101848484011115620004f757620004f6620003bb565b5b620005048482856200048b565b509392505050565b600082601f830112620005245762000523620003b6565b5b815162000536848260208601620004c1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200056c826200053f565b9050919050565b6200057e816200055f565b81146200058a57600080fd5b50565b6000815190506200059e8162000573565b92915050565b600080600080600060a08688031215620005c357620005c262000371565b5b6000620005d3888289016200039f565b955050602086015167ffffffffffffffff811115620005f757620005f662000376565b5b62000605888289016200050c565b945050604062000618888289016200039f565b93505060606200062b888289016200039f565b92505060806200063e888289016200058d565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200069357607f821691505b60208210811415620006aa57620006a96200064b565b5b50919050565b6158b480620006c06000396000f3fe60806040526004361061026b5760003560e01c80636352211e11610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb011461089a578063dcff26e1146108c5578063e43082f7146108dc578063e985e9c514610905578063f2fde38b14610942578063f86e387a1461096b57610272565b8063a22cb465146107c9578063af117dde146107f2578063b7f47d3214610809578063b88d4fde14610834578063c87b56dd1461085d57610272565b806383b65c581161010857806383b65c58146106d55780638ada528e146107005780638da5cb5b1461072c57806395d89b41146107575780639a0bafa214610782578063a035b1fe1461079e57610272565b80636352211e146105f0578063699010601461062d57806370a0823114610656578063715018a6146106935780638125092f146106aa57610272565b806342842e0e116101dd578063535a70e7116101a1578063535a70e714610505578063548bb2d11461052157806355dd574c1461055e57806355f804b3146105755780635e49e8581461059e57806362466c64146105c757610272565b806342842e0e1461044a57806342966c6814610473578063435c35b61461049c578063499a67e3146104b357806349df728c146104dc57610272565b806318160ddd1161022f57806318160ddd1461036157806323b872dd1461038c57806328d7b276146103b55780632a55205a146103de578063380d831b1461041c5780633ccfd60b1461043357610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c578063109f86341461034557610272565b3661027257005b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906142e2565b6109a8565b6040516102ab919061432a565b60405180910390f35b3480156102c057600080fd5b506102c96109ea565b6040516102d691906143de565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190614436565b610a7c565b60405161031391906144a4565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906144eb565b610af8565b005b61035f600480360381019061035a91906146a9565b610c03565b005b34801561036d57600080fd5b50610376610ef7565b6040516103839190614714565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae919061472f565b610f05565b005b3480156103c157600080fd5b506103dc60048036038101906103d79190614782565b610f15565b005b3480156103ea57600080fd5b50610405600480360381019061040091906147af565b610f9b565b6040516104139291906147ef565b60405180910390f35b34801561042857600080fd5b5061043161102d565b005b34801561043f57600080fd5b506104486110b5565b005b34801561045657600080fd5b50610471600480360381019061046c919061472f565b611285565b005b34801561047f57600080fd5b5061049a60048036038101906104959190614436565b6112a5565b005b3480156104a857600080fd5b506104b1611396565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190614436565b61141e565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190614856565b6114a4565b005b61051f600480360381019061051a9190614883565b611621565b005b34801561052d57600080fd5b506105486004803603810190610543919061490e565b6119a0565b604051610555919061432a565b60405180910390f35b34801561056a57600080fd5b506105736119ec565b005b34801561058157600080fd5b5061059c600480360381019061059791906149f0565b611af7565b005b3480156105aa57600080fd5b506105c560048036038101906105c09190614782565b611bdd565b005b3480156105d357600080fd5b506105ee60048036038101906105e9919061490e565b611c63565b005b3480156105fc57600080fd5b5061061760048036038101906106129190614436565b611d23565b60405161062491906144a4565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f919061490e565b611d39565b005b34801561066257600080fd5b5061067d6004803603810190610678919061490e565b611df9565b60405161068a9190614714565b60405180910390f35b34801561069f57600080fd5b506106a8611ec9565b005b3480156106b657600080fd5b506106bf611f51565b6040516106cc9190614ab0565b60405180910390f35b3480156106e157600080fd5b506106ea611f64565b6040516106f7919061432a565b60405180910390f35b34801561070c57600080fd5b50610715611f77565b604051610723929190614acb565b60405180910390f35b34801561073857600080fd5b50610741612044565b60405161074e91906144a4565b60405180910390f35b34801561076357600080fd5b5061076c61206e565b60405161077991906143de565b60405180910390f35b61079c60048036038101906107979190614436565b612100565b005b3480156107aa57600080fd5b506107b3612314565b6040516107c09190614714565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190614b20565b61231a565b005b3480156107fe57600080fd5b50610807612492565b005b34801561081557600080fd5b5061081e61251a565b60405161082b91906144a4565b60405180910390f35b34801561084057600080fd5b5061085b60048036038101906108569190614c01565b612540565b005b34801561086957600080fd5b50610884600480360381019061087f9190614436565b612593565b60405161089191906143de565b60405180910390f35b3480156108a657600080fd5b506108af6126bd565b6040516108bc9190614714565b60405180910390f35b3480156108d157600080fd5b506108da6126c3565b005b3480156108e857600080fd5b5061090360048036038101906108fe9190614c84565b61275c565b005b34801561091157600080fd5b5061092c60048036038101906109279190614cb1565b6127f5565b604051610939919061432a565b60405180910390f35b34801561094e57600080fd5b506109696004803603810190610964919061490e565b612900565b005b34801561097757600080fd5b50610992600480360381019061098d9190614cf1565b6129f8565b60405161099f919061432a565b60405180910390f35b6000632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e357506109e282612ab7565b5b9050919050565b6060600280546109f990614d7c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2590614d7c565b8015610a725780601f10610a4757610100808354040283529160200191610a72565b820191906000526020600020905b815481529060010190602001808311610a5557829003601f168201915b5050505050905090565b6000610a8782612b99565b610abd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0382611d23565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8a612bd3565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bbc5750610bba81610bb5612bd3565b6127f5565b155b15610bf3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bfe838383612bdb565b505050565b80600f5481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c529190614ddd565b1115610c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8a90614e7f565b60405180910390fd5b60105481610c9f610ef7565b610ca99190614ddd565b1115610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190614eeb565b60405180910390fd5b60026009541415610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2790614f57565b60405180910390fd5b600260098190555060036004811115610d4c57610d4b614a39565b5b600a60009054906101000a900460ff166004811115610d6e57610d6d614a39565b5b14610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590614fc3565b60405180910390fd5b600033604051602001610dc1919061502b565b6040516020818303038152906040528051906020012090506000839050610deb85600e5484612c8d565b15610e8d576001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610e8c57600181610e449190615046565b90506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b80601154610e9b919061507a565b3414610edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed390615120565b60405180910390fd5b610ee833856001612ca4565b50506001600981905550505050565b600060015460005403905090565b610f10838383612d10565b505050565b610f1d612bd3565b73ffffffffffffffffffffffffffffffffffffffff16610f3b612044565b73ffffffffffffffffffffffffffffffffffffffff1614610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f889061518c565b60405180910390fd5b80600d8190555050565b600080610fa784612b99565b610fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdd906151f8565b60405180910390fd5b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600585611018919061507a565b6110229190615247565b915091509250929050565b611035612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611053612044565b73ffffffffffffffffffffffffffffffffffffffff16146110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a09061518c565b60405180910390fd5b6110b36004613201565b565b600260095414156110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290614f57565b60405180910390fd5b600260098190555061110b612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611129612044565b73ffffffffffffffffffffffffffffffffffffffff161461117f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111769061518c565b60405180910390fd5b60004790506000600a6064836111959190615247565b61119f919061507a565b9050601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611209573d6000803e3d6000fd5b506000479050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611277573d6000803e3d6000fd5b505050506001600981905550565b6112a083838360405180602001604052806000815250612540565b505050565b60006112b0826132aa565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166112d7612bd3565b73ffffffffffffffffffffffffffffffffffffffff16148061130a57506113098260000151611304612bd3565b6127f5565b5b8061134f5750611318612bd3565b73ffffffffffffffffffffffffffffffffffffffff1661133784610a7c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611388576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61139183613526565b505050565b61139e612bd3565b73ffffffffffffffffffffffffffffffffffffffff166113bc612044565b73ffffffffffffffffffffffffffffffffffffffff1614611412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114099061518c565b60405180910390fd5b61141c6003613201565b565b611426612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611444612044565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114919061518c565b60405180910390fd5b80600f8190555050565b6114ac612bd3565b73ffffffffffffffffffffffffffffffffffffffff166114ca612044565b73ffffffffffffffffffffffffffffffffffffffff1614611520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115179061518c565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161155b91906144a4565b602060405180830381865afa158015611578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159c919061528d565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016115d99291906147ef565b6020604051808303816000875af11580156115f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161c91906152cf565b505050565b80600f5481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116709190614ddd565b11156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a890614e7f565b60405180910390fd5b601054816116bd610ef7565b6116c79190614ddd565b1115611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90614eeb565b60405180910390fd5b6002600481111561171c5761171b614a39565b5b600a60009054906101000a900460ff16600481111561173e5761173d614a39565b5b148061177d57506003600481111561175957611758614a39565b5b600a60009054906101000a900460ff16600481111561177b5761177a614a39565b5b145b6117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390615348565b60405180910390fd5b60026009541415611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f990614f57565b60405180910390fd5b600260098190555060003360405160200161181d919061502b565b60405160208183030381529060405280519060200120905061184285600d5483612c8d565b611881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611878906153b4565b60405180910390fd5b600083905061189385600e5484612c8d565b15611935576001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611934576001816118ec9190615046565b90506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b80601154611943919061507a565b3414611984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197b90615120565b60405180910390fd5b61199033856001612ca4565b5050600160098190555050505050565b60006001600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054149050919050565b6119f4612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611a12612044565b73ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f9061518c565b60405180910390fd5b60006004811115611a7c57611a7b614a39565b5b600a60009054906101000a900460ff166004811115611a9e57611a9d614a39565b5b14611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590615420565b60405180910390fd5b611ae86002613201565b611af53360646000612ca4565b565b611aff612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611b1d612044565b73ffffffffffffffffffffffffffffffffffffffff1614611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a9061518c565b60405180910390fd5b601460009054906101000a900460ff1615611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba9061548c565b60405180910390fd5b8060139080519060200190611bd9929190614190565b5050565b611be5612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611c03612044565b73ffffffffffffffffffffffffffffffffffffffff1614611c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c509061518c565b60405180910390fd5b80600e8190555050565b611c6b612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611c89612044565b73ffffffffffffffffffffffffffffffffffffffff1614611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd69061518c565b60405180910390fd5b80601460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611d2e826132aa565b600001519050919050565b611d41612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611d5f612044565b73ffffffffffffffffffffffffffffffffffffffff1614611db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dac9061518c565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e61576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611ed1612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611eef612044565b73ffffffffffffffffffffffffffffffffffffffff1614611f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3c9061518c565b60405180910390fd5b611f4f60006138ca565b565b600a60009054906101000a900460ff1681565b601460009054906101000a900460ff1681565b600080611f82612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611fa0612044565b73ffffffffffffffffffffffffffffffffffffffff1614611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed9061518c565b60405180910390fd5b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915091509091565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461207d90614d7c565b80601f01602080910402602001604051908101604052809291908181526020018280546120a990614d7c565b80156120f65780601f106120cb576101008083540402835291602001916120f6565b820191906000526020600020905b8154815290600101906020018083116120d957829003601f168201915b5050505050905090565b80600f5481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461214f9190614ddd565b1115612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218790614e7f565b60405180910390fd5b6010548161219c610ef7565b6121a69190614ddd565b11156121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de90614eeb565b60405180910390fd5b81806011546121f6919061507a565b3414612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90615120565b60405180910390fd5b6002600954141561227d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227490614f57565b60405180910390fd5b60026009819055506003600481111561229957612298614a39565b5b600a60009054906101000a900460ff1660048111156122bb576122ba614a39565b5b146122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614fc3565b60405180910390fd5b61230733846001612ca4565b6001600981905550505050565b60115481565b612322612bd3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612387576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612394612bd3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612441612bd3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612486919061432a565b60405180910390a35050565b61249a612bd3565b73ffffffffffffffffffffffffffffffffffffffff166124b8612044565b73ffffffffffffffffffffffffffffffffffffffff161461250e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125059061518c565b60405180910390fd5b6125186001613201565b565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61254b848484612d10565b61255784848484613990565b61258d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061259e82612b99565b6125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d49061551e565b60405180910390fd5b6000601380546125ec90614d7c565b80601f016020809104026020016040519081016040528092919081815260200182805461261890614d7c565b80156126655780601f1061263a57610100808354040283529160200191612665565b820191906000526020600020905b81548152906001019060200180831161264857829003601f168201915b50505050509050600081511161268a57604051806020016040528060008152506126b5565b8061269484613b0f565b6040516020016126a59291906155c6565b6040516020818303038152906040525b915050919050565b60105481565b6126cb612bd3565b73ffffffffffffffffffffffffffffffffffffffff166126e9612044565b73ffffffffffffffffffffffffffffffffffffffff161461273f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127369061518c565b60405180910390fd5b6001601460006101000a81548160ff021916908315150217905550565b612764612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612782612044565b73ffffffffffffffffffffffffffffffffffffffff16146127d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cf9061518c565b60405180910390fd5b80601260146101000a81548160ff02191690831515021790555050565b600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050601260149054906101000a900460ff1680156128dd57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161288491906144a4565b602060405180830381865afa1580156128a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c59190615633565b73ffffffffffffffffffffffffffffffffffffffff16145b156128ec5760019150506128fa565b6128f68484613c70565b9150505b92915050565b612908612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612926612044565b73ffffffffffffffffffffffffffffffffffffffff161461297c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129739061518c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e3906156d2565b60405180910390fd5b6129f5816138ca565b50565b6000612a02612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612a20612044565b73ffffffffffffffffffffffffffffffffffffffff1614612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d9061518c565b60405180910390fd5b600082604051602001612a89919061502b565b604051602081830303815290604052805190602001209050612aae84600d5483612c8d565b91505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b8257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b925750612b9182613d04565b5b9050919050565b6000805482108015612bcc575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600082612c9a8584613d6e565b1490509392505050565b8015612d015781600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cf99190614ddd565b925050819055505b612d0b8383613de3565b505050565b6000612d1b826132aa565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612d42612bd3565b73ffffffffffffffffffffffffffffffffffffffff161480612d755750612d748260000151612d6f612bd3565b6127f5565b5b80612dba5750612d83612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612da284610a7c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612df3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612e5c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ec3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ed08585856001613e01565b612ee06000848460000151612bdb565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613191576000548110156131905782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131fa8585856001613e07565b5050505050565b613209612bd3565b73ffffffffffffffffffffffffffffffffffffffff16613227612044565b73ffffffffffffffffffffffffffffffffffffffff161461327d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132749061518c565b60405180910390fd5b80600a60006101000a81548160ff021916908360048111156132a2576132a1614a39565b5b021790555050565b6132b2614216565b60008290506000548110156134ef576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516134ed57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133d1578092505050613521565b5b6001156134ec57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134e7578092505050613521565b6133d2565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000613531826132aa565b905061354581600001516000846001613e01565b6135556000838360000151612bdb565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613841576000548110156138405781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138b481600001516000846001613e07565b6001600081548092919060010191905055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006139b18473ffffffffffffffffffffffffffffffffffffffff16613e0d565b15613b02578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139da612bd3565b8786866040518563ffffffff1660e01b81526004016139fc9493929190615747565b6020604051808303816000875af1925050508015613a3857506040513d601f19601f82011682018060405250810190613a3591906157a8565b60015b613ab2573d8060008114613a68576040519150601f19603f3d011682016040523d82523d6000602084013e613a6d565b606091505b50600081511415613aaa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b07565b600190505b949350505050565b60606000821415613b57576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c6b565b600082905060005b60008214613b89578080613b72906157d5565b915050600a82613b829190615247565b9150613b5f565b60008167ffffffffffffffff811115613ba557613ba4614530565b5b6040519080825280601f01601f191660200182016040528015613bd75781602001600182028036833780820191505090505b5090505b60008514613c6457600182613bf09190615046565b9150600a85613bff919061581e565b6030613c0b9190614ddd565b60f81b818381518110613c2157613c2061584f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c5d9190615247565b9450613bdb565b8093505050505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b8451811015613dd8576000858281518110613d9557613d9461584f565b5b60200260200101519050808311613db757613db08382613e30565b9250613dc4565b613dc18184613e30565b92505b508080613dd0906157d5565b915050613d77565b508091505092915050565b613dfd828260405180602001604052806000815250613e47565b5050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b613e548383836001613e59565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613ec6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613f01576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f0e6000868387613e01565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561417357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561412757506141256000888488613990565b155b1561415e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818060010192505080806001019150506140ac565b5080600081905550506141896000868387613e07565b5050505050565b82805461419c90614d7c565b90600052602060002090601f0160209004810192826141be5760008555614205565b82601f106141d757805160ff1916838001178555614205565b82800160010185558215614205579182015b828111156142045782518255916020019190600101906141e9565b5b5090506142129190614259565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561427257600081600090555060010161425a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142bf8161428a565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b6000602082840312156142f8576142f7614280565b5b6000614306848285016142cd565b91505092915050565b60008115159050919050565b6143248161430f565b82525050565b600060208201905061433f600083018461431b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561437f578082015181840152602081019050614364565b8381111561438e576000848401525b50505050565b6000601f19601f8301169050919050565b60006143b082614345565b6143ba8185614350565b93506143ca818560208601614361565b6143d381614394565b840191505092915050565b600060208201905081810360008301526143f881846143a5565b905092915050565b6000819050919050565b61441381614400565b811461441e57600080fd5b50565b6000813590506144308161440a565b92915050565b60006020828403121561444c5761444b614280565b5b600061445a84828501614421565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061448e82614463565b9050919050565b61449e81614483565b82525050565b60006020820190506144b96000830184614495565b92915050565b6144c881614483565b81146144d357600080fd5b50565b6000813590506144e5816144bf565b92915050565b6000806040838503121561450257614501614280565b5b6000614510858286016144d6565b925050602061452185828601614421565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61456882614394565b810181811067ffffffffffffffff8211171561458757614586614530565b5b80604052505050565b600061459a614276565b90506145a6828261455f565b919050565b600067ffffffffffffffff8211156145c6576145c5614530565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6145ef816145dc565b81146145fa57600080fd5b50565b60008135905061460c816145e6565b92915050565b6000614625614620846145ab565b614590565b90508083825260208201905060208402830185811115614648576146476145d7565b5b835b81811015614671578061465d88826145fd565b84526020840193505060208101905061464a565b5050509392505050565b600082601f8301126146905761468f61452b565b5b81356146a0848260208601614612565b91505092915050565b600080604083850312156146c0576146bf614280565b5b600083013567ffffffffffffffff8111156146de576146dd614285565b5b6146ea8582860161467b565b92505060206146fb85828601614421565b9150509250929050565b61470e81614400565b82525050565b60006020820190506147296000830184614705565b92915050565b60008060006060848603121561474857614747614280565b5b6000614756868287016144d6565b9350506020614767868287016144d6565b925050604061477886828701614421565b9150509250925092565b60006020828403121561479857614797614280565b5b60006147a6848285016145fd565b91505092915050565b600080604083850312156147c6576147c5614280565b5b60006147d485828601614421565b92505060206147e585828601614421565b9150509250929050565b60006040820190506148046000830185614495565b6148116020830184614705565b9392505050565b600061482382614483565b9050919050565b61483381614818565b811461483e57600080fd5b50565b6000813590506148508161482a565b92915050565b60006020828403121561486c5761486b614280565b5b600061487a84828501614841565b91505092915050565b60008060006060848603121561489c5761489b614280565b5b600084013567ffffffffffffffff8111156148ba576148b9614285565b5b6148c68682870161467b565b935050602084013567ffffffffffffffff8111156148e7576148e6614285565b5b6148f38682870161467b565b925050604061490486828701614421565b9150509250925092565b60006020828403121561492457614923614280565b5b6000614932848285016144d6565b91505092915050565b600080fd5b600067ffffffffffffffff82111561495b5761495a614530565b5b61496482614394565b9050602081019050919050565b82818337600083830152505050565b600061499361498e84614940565b614590565b9050828152602081018484840111156149af576149ae61493b565b5b6149ba848285614971565b509392505050565b600082601f8301126149d7576149d661452b565b5b81356149e7848260208601614980565b91505092915050565b600060208284031215614a0657614a05614280565b5b600082013567ffffffffffffffff811115614a2457614a23614285565b5b614a30848285016149c2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110614a7957614a78614a39565b5b50565b6000819050614a8a82614a68565b919050565b6000614a9a82614a7c565b9050919050565b614aaa81614a8f565b82525050565b6000602082019050614ac56000830184614aa1565b92915050565b6000604082019050614ae06000830185614495565b614aed6020830184614495565b9392505050565b614afd8161430f565b8114614b0857600080fd5b50565b600081359050614b1a81614af4565b92915050565b60008060408385031215614b3757614b36614280565b5b6000614b45858286016144d6565b9250506020614b5685828601614b0b565b9150509250929050565b600067ffffffffffffffff821115614b7b57614b7a614530565b5b614b8482614394565b9050602081019050919050565b6000614ba4614b9f84614b60565b614590565b905082815260208101848484011115614bc057614bbf61493b565b5b614bcb848285614971565b509392505050565b600082601f830112614be857614be761452b565b5b8135614bf8848260208601614b91565b91505092915050565b60008060008060808587031215614c1b57614c1a614280565b5b6000614c29878288016144d6565b9450506020614c3a878288016144d6565b9350506040614c4b87828801614421565b925050606085013567ffffffffffffffff811115614c6c57614c6b614285565b5b614c7887828801614bd3565b91505092959194509250565b600060208284031215614c9a57614c99614280565b5b6000614ca884828501614b0b565b91505092915050565b60008060408385031215614cc857614cc7614280565b5b6000614cd6858286016144d6565b9250506020614ce7858286016144d6565b9150509250929050565b60008060408385031215614d0857614d07614280565b5b600083013567ffffffffffffffff811115614d2657614d25614285565b5b614d328582860161467b565b9250506020614d43858286016144d6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d9457607f821691505b60208210811415614da857614da7614d4d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614de882614400565b9150614df383614400565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e2857614e27614dae565b5b828201905092915050565b7f457863656564732077616c6c6574206c696d6974000000000000000000000000600082015250565b6000614e69601483614350565b9150614e7482614e33565b602082019050919050565b60006020820190508181036000830152614e9881614e5c565b9050919050565b7f576f756c6420657863656564206d617820737570706c79000000000000000000600082015250565b6000614ed5601783614350565b9150614ee082614e9f565b602082019050919050565b60006020820190508181036000830152614f0481614ec8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614f41601f83614350565b9150614f4c82614f0b565b602082019050919050565b60006020820190508181036000830152614f7081614f34565b9050919050565b7f49742773206e6f7420676f2074696d65207965742e0000000000000000000000600082015250565b6000614fad601583614350565b9150614fb882614f77565b602082019050919050565b60006020820190508181036000830152614fdc81614fa0565b9050919050565b60008160601b9050919050565b6000614ffb82614fe3565b9050919050565b600061500d82614ff0565b9050919050565b61502561502082614483565b615002565b82525050565b60006150378284615014565b60148201915081905092915050565b600061505182614400565b915061505c83614400565b92508282101561506f5761506e614dae565b5b828203905092915050565b600061508582614400565b915061509083614400565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150c9576150c8614dae565b5b828202905092915050565b7f53656e7420696e636f7272656374204574686572000000000000000000000000600082015250565b600061510a601483614350565b9150615115826150d4565b602082019050919050565b60006020820190508181036000830152615139816150fd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615176602083614350565b915061518182615140565b602082019050919050565b600060208201905081810360008301526151a581615169565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b60006151e2601183614350565b91506151ed826151ac565b602082019050919050565b60006020820190508181036000830152615211816151d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061525282614400565b915061525d83614400565b92508261526d5761526c615218565b5b828204905092915050565b6000815190506152878161440a565b92915050565b6000602082840312156152a3576152a2614280565b5b60006152b184828501615278565b91505092915050565b6000815190506152c981614af4565b92915050565b6000602082840312156152e5576152e4614280565b5b60006152f3848285016152ba565b91505092915050565b7f4e6f742070726573616c652074696d6520796574000000000000000000000000600082015250565b6000615332601483614350565b915061533d826152fc565b602082019050919050565b6000602082019050818103600083015261536181615325565b9050919050565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b600061539e601083614350565b91506153a982615368565b602082019050919050565b600060208201905081810360008301526153cd81615391565b9050919050565b7f596f7520616c726561647920737461727465642070726573616c652e00000000600082015250565b600061540a601c83614350565b9150615415826153d4565b602082019050919050565b60006020820190508181036000830152615439816153fd565b9050919050565b7f73657442617365555249206973206c6f636b6564000000000000000000000000600082015250565b6000615476601483614350565b915061548182615440565b602082019050919050565b600060208201905081810360008301526154a581615469565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615508602f83614350565b9150615513826154ac565b604082019050919050565b60006020820190508181036000830152615537816154fb565b9050919050565b600081905092915050565b600061555482614345565b61555e818561553e565b935061556e818560208601614361565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006155b060058361553e565b91506155bb8261557a565b600582019050919050565b60006155d28285615549565b91506155de8284615549565b91506155e9826155a3565b91508190509392505050565b600061560082614483565b9050919050565b615610816155f5565b811461561b57600080fd5b50565b60008151905061562d81615607565b92915050565b60006020828403121561564957615648614280565b5b60006156578482850161561e565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156bc602683614350565b91506156c782615660565b604082019050919050565b600060208201905081810360008301526156eb816156af565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615719826156f2565b61572381856156fd565b9350615733818560208601614361565b61573c81614394565b840191505092915050565b600060808201905061575c6000830187614495565b6157696020830186614495565b6157766040830185614705565b8181036060830152615788818461570e565b905095945050505050565b6000815190506157a2816142b6565b92915050565b6000602082840312156157be576157bd614280565b5b60006157cc84828501615793565b91505092915050565b60006157e082614400565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561581357615812614dae565b5b600182019050919050565b600061582982614400565b915061583483614400565b92508261584457615843615218565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212203b2cfe7ebf64a187e5c74f0f02e1a4148e4cbfecfd65b58c1868dbd8a68e57ef64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000004edec84a0380000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000269e03f6c273e11d2ead20359a38564873279c27000000000000000000000000000000000000000000000000000000000000001f687474703a2f2f666f72676f7474656e6261626965732e636f6d2f7572692f00

Deployed Bytecode

0x60806040526004361061026b5760003560e01c80636352211e11610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb011461089a578063dcff26e1146108c5578063e43082f7146108dc578063e985e9c514610905578063f2fde38b14610942578063f86e387a1461096b57610272565b8063a22cb465146107c9578063af117dde146107f2578063b7f47d3214610809578063b88d4fde14610834578063c87b56dd1461085d57610272565b806383b65c581161010857806383b65c58146106d55780638ada528e146107005780638da5cb5b1461072c57806395d89b41146107575780639a0bafa214610782578063a035b1fe1461079e57610272565b80636352211e146105f0578063699010601461062d57806370a0823114610656578063715018a6146106935780638125092f146106aa57610272565b806342842e0e116101dd578063535a70e7116101a1578063535a70e714610505578063548bb2d11461052157806355dd574c1461055e57806355f804b3146105755780635e49e8581461059e57806362466c64146105c757610272565b806342842e0e1461044a57806342966c6814610473578063435c35b61461049c578063499a67e3146104b357806349df728c146104dc57610272565b806318160ddd1161022f57806318160ddd1461036157806323b872dd1461038c57806328d7b276146103b55780632a55205a146103de578063380d831b1461041c5780633ccfd60b1461043357610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c578063109f86341461034557610272565b3661027257005b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906142e2565b6109a8565b6040516102ab919061432a565b60405180910390f35b3480156102c057600080fd5b506102c96109ea565b6040516102d691906143de565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190614436565b610a7c565b60405161031391906144a4565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906144eb565b610af8565b005b61035f600480360381019061035a91906146a9565b610c03565b005b34801561036d57600080fd5b50610376610ef7565b6040516103839190614714565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae919061472f565b610f05565b005b3480156103c157600080fd5b506103dc60048036038101906103d79190614782565b610f15565b005b3480156103ea57600080fd5b50610405600480360381019061040091906147af565b610f9b565b6040516104139291906147ef565b60405180910390f35b34801561042857600080fd5b5061043161102d565b005b34801561043f57600080fd5b506104486110b5565b005b34801561045657600080fd5b50610471600480360381019061046c919061472f565b611285565b005b34801561047f57600080fd5b5061049a60048036038101906104959190614436565b6112a5565b005b3480156104a857600080fd5b506104b1611396565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190614436565b61141e565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190614856565b6114a4565b005b61051f600480360381019061051a9190614883565b611621565b005b34801561052d57600080fd5b506105486004803603810190610543919061490e565b6119a0565b604051610555919061432a565b60405180910390f35b34801561056a57600080fd5b506105736119ec565b005b34801561058157600080fd5b5061059c600480360381019061059791906149f0565b611af7565b005b3480156105aa57600080fd5b506105c560048036038101906105c09190614782565b611bdd565b005b3480156105d357600080fd5b506105ee60048036038101906105e9919061490e565b611c63565b005b3480156105fc57600080fd5b5061061760048036038101906106129190614436565b611d23565b60405161062491906144a4565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f919061490e565b611d39565b005b34801561066257600080fd5b5061067d6004803603810190610678919061490e565b611df9565b60405161068a9190614714565b60405180910390f35b34801561069f57600080fd5b506106a8611ec9565b005b3480156106b657600080fd5b506106bf611f51565b6040516106cc9190614ab0565b60405180910390f35b3480156106e157600080fd5b506106ea611f64565b6040516106f7919061432a565b60405180910390f35b34801561070c57600080fd5b50610715611f77565b604051610723929190614acb565b60405180910390f35b34801561073857600080fd5b50610741612044565b60405161074e91906144a4565b60405180910390f35b34801561076357600080fd5b5061076c61206e565b60405161077991906143de565b60405180910390f35b61079c60048036038101906107979190614436565b612100565b005b3480156107aa57600080fd5b506107b3612314565b6040516107c09190614714565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190614b20565b61231a565b005b3480156107fe57600080fd5b50610807612492565b005b34801561081557600080fd5b5061081e61251a565b60405161082b91906144a4565b60405180910390f35b34801561084057600080fd5b5061085b60048036038101906108569190614c01565b612540565b005b34801561086957600080fd5b50610884600480360381019061087f9190614436565b612593565b60405161089191906143de565b60405180910390f35b3480156108a657600080fd5b506108af6126bd565b6040516108bc9190614714565b60405180910390f35b3480156108d157600080fd5b506108da6126c3565b005b3480156108e857600080fd5b5061090360048036038101906108fe9190614c84565b61275c565b005b34801561091157600080fd5b5061092c60048036038101906109279190614cb1565b6127f5565b604051610939919061432a565b60405180910390f35b34801561094e57600080fd5b506109696004803603810190610964919061490e565b612900565b005b34801561097757600080fd5b50610992600480360381019061098d9190614cf1565b6129f8565b60405161099f919061432a565b60405180910390f35b6000632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e357506109e282612ab7565b5b9050919050565b6060600280546109f990614d7c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2590614d7c565b8015610a725780601f10610a4757610100808354040283529160200191610a72565b820191906000526020600020905b815481529060010190602001808311610a5557829003601f168201915b5050505050905090565b6000610a8782612b99565b610abd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0382611d23565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8a612bd3565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bbc5750610bba81610bb5612bd3565b6127f5565b155b15610bf3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bfe838383612bdb565b505050565b80600f5481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c529190614ddd565b1115610c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8a90614e7f565b60405180910390fd5b60105481610c9f610ef7565b610ca99190614ddd565b1115610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190614eeb565b60405180910390fd5b60026009541415610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2790614f57565b60405180910390fd5b600260098190555060036004811115610d4c57610d4b614a39565b5b600a60009054906101000a900460ff166004811115610d6e57610d6d614a39565b5b14610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590614fc3565b60405180910390fd5b600033604051602001610dc1919061502b565b6040516020818303038152906040528051906020012090506000839050610deb85600e5484612c8d565b15610e8d576001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610e8c57600181610e449190615046565b90506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b80601154610e9b919061507a565b3414610edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed390615120565b60405180910390fd5b610ee833856001612ca4565b50506001600981905550505050565b600060015460005403905090565b610f10838383612d10565b505050565b610f1d612bd3565b73ffffffffffffffffffffffffffffffffffffffff16610f3b612044565b73ffffffffffffffffffffffffffffffffffffffff1614610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f889061518c565b60405180910390fd5b80600d8190555050565b600080610fa784612b99565b610fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdd906151f8565b60405180910390fd5b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600585611018919061507a565b6110229190615247565b915091509250929050565b611035612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611053612044565b73ffffffffffffffffffffffffffffffffffffffff16146110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a09061518c565b60405180910390fd5b6110b36004613201565b565b600260095414156110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290614f57565b60405180910390fd5b600260098190555061110b612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611129612044565b73ffffffffffffffffffffffffffffffffffffffff161461117f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111769061518c565b60405180910390fd5b60004790506000600a6064836111959190615247565b61119f919061507a565b9050601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611209573d6000803e3d6000fd5b506000479050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611277573d6000803e3d6000fd5b505050506001600981905550565b6112a083838360405180602001604052806000815250612540565b505050565b60006112b0826132aa565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166112d7612bd3565b73ffffffffffffffffffffffffffffffffffffffff16148061130a57506113098260000151611304612bd3565b6127f5565b5b8061134f5750611318612bd3565b73ffffffffffffffffffffffffffffffffffffffff1661133784610a7c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611388576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61139183613526565b505050565b61139e612bd3565b73ffffffffffffffffffffffffffffffffffffffff166113bc612044565b73ffffffffffffffffffffffffffffffffffffffff1614611412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114099061518c565b60405180910390fd5b61141c6003613201565b565b611426612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611444612044565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114919061518c565b60405180910390fd5b80600f8190555050565b6114ac612bd3565b73ffffffffffffffffffffffffffffffffffffffff166114ca612044565b73ffffffffffffffffffffffffffffffffffffffff1614611520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115179061518c565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161155b91906144a4565b602060405180830381865afa158015611578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159c919061528d565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016115d99291906147ef565b6020604051808303816000875af11580156115f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161c91906152cf565b505050565b80600f5481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116709190614ddd565b11156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a890614e7f565b60405180910390fd5b601054816116bd610ef7565b6116c79190614ddd565b1115611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90614eeb565b60405180910390fd5b6002600481111561171c5761171b614a39565b5b600a60009054906101000a900460ff16600481111561173e5761173d614a39565b5b148061177d57506003600481111561175957611758614a39565b5b600a60009054906101000a900460ff16600481111561177b5761177a614a39565b5b145b6117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390615348565b60405180910390fd5b60026009541415611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f990614f57565b60405180910390fd5b600260098190555060003360405160200161181d919061502b565b60405160208183030381529060405280519060200120905061184285600d5483612c8d565b611881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611878906153b4565b60405180910390fd5b600083905061189385600e5484612c8d565b15611935576001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611934576001816118ec9190615046565b90506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b80601154611943919061507a565b3414611984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197b90615120565b60405180910390fd5b61199033856001612ca4565b5050600160098190555050505050565b60006001600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054149050919050565b6119f4612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611a12612044565b73ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f9061518c565b60405180910390fd5b60006004811115611a7c57611a7b614a39565b5b600a60009054906101000a900460ff166004811115611a9e57611a9d614a39565b5b14611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590615420565b60405180910390fd5b611ae86002613201565b611af53360646000612ca4565b565b611aff612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611b1d612044565b73ffffffffffffffffffffffffffffffffffffffff1614611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a9061518c565b60405180910390fd5b601460009054906101000a900460ff1615611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba9061548c565b60405180910390fd5b8060139080519060200190611bd9929190614190565b5050565b611be5612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611c03612044565b73ffffffffffffffffffffffffffffffffffffffff1614611c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c509061518c565b60405180910390fd5b80600e8190555050565b611c6b612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611c89612044565b73ffffffffffffffffffffffffffffffffffffffff1614611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd69061518c565b60405180910390fd5b80601460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611d2e826132aa565b600001519050919050565b611d41612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611d5f612044565b73ffffffffffffffffffffffffffffffffffffffff1614611db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dac9061518c565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e61576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611ed1612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611eef612044565b73ffffffffffffffffffffffffffffffffffffffff1614611f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3c9061518c565b60405180910390fd5b611f4f60006138ca565b565b600a60009054906101000a900460ff1681565b601460009054906101000a900460ff1681565b600080611f82612bd3565b73ffffffffffffffffffffffffffffffffffffffff16611fa0612044565b73ffffffffffffffffffffffffffffffffffffffff1614611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed9061518c565b60405180910390fd5b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915091509091565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461207d90614d7c565b80601f01602080910402602001604051908101604052809291908181526020018280546120a990614d7c565b80156120f65780601f106120cb576101008083540402835291602001916120f6565b820191906000526020600020905b8154815290600101906020018083116120d957829003601f168201915b5050505050905090565b80600f5481600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461214f9190614ddd565b1115612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218790614e7f565b60405180910390fd5b6010548161219c610ef7565b6121a69190614ddd565b11156121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de90614eeb565b60405180910390fd5b81806011546121f6919061507a565b3414612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90615120565b60405180910390fd5b6002600954141561227d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227490614f57565b60405180910390fd5b60026009819055506003600481111561229957612298614a39565b5b600a60009054906101000a900460ff1660048111156122bb576122ba614a39565b5b146122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614fc3565b60405180910390fd5b61230733846001612ca4565b6001600981905550505050565b60115481565b612322612bd3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612387576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612394612bd3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612441612bd3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612486919061432a565b60405180910390a35050565b61249a612bd3565b73ffffffffffffffffffffffffffffffffffffffff166124b8612044565b73ffffffffffffffffffffffffffffffffffffffff161461250e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125059061518c565b60405180910390fd5b6125186001613201565b565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61254b848484612d10565b61255784848484613990565b61258d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061259e82612b99565b6125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d49061551e565b60405180910390fd5b6000601380546125ec90614d7c565b80601f016020809104026020016040519081016040528092919081815260200182805461261890614d7c565b80156126655780601f1061263a57610100808354040283529160200191612665565b820191906000526020600020905b81548152906001019060200180831161264857829003601f168201915b50505050509050600081511161268a57604051806020016040528060008152506126b5565b8061269484613b0f565b6040516020016126a59291906155c6565b6040516020818303038152906040525b915050919050565b60105481565b6126cb612bd3565b73ffffffffffffffffffffffffffffffffffffffff166126e9612044565b73ffffffffffffffffffffffffffffffffffffffff161461273f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127369061518c565b60405180910390fd5b6001601460006101000a81548160ff021916908315150217905550565b612764612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612782612044565b73ffffffffffffffffffffffffffffffffffffffff16146127d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cf9061518c565b60405180910390fd5b80601260146101000a81548160ff02191690831515021790555050565b600080601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050601260149054906101000a900460ff1680156128dd57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161288491906144a4565b602060405180830381865afa1580156128a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c59190615633565b73ffffffffffffffffffffffffffffffffffffffff16145b156128ec5760019150506128fa565b6128f68484613c70565b9150505b92915050565b612908612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612926612044565b73ffffffffffffffffffffffffffffffffffffffff161461297c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129739061518c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e3906156d2565b60405180910390fd5b6129f5816138ca565b50565b6000612a02612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612a20612044565b73ffffffffffffffffffffffffffffffffffffffff1614612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d9061518c565b60405180910390fd5b600082604051602001612a89919061502b565b604051602081830303815290604052805190602001209050612aae84600d5483612c8d565b91505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b8257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b925750612b9182613d04565b5b9050919050565b6000805482108015612bcc575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600082612c9a8584613d6e565b1490509392505050565b8015612d015781600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cf99190614ddd565b925050819055505b612d0b8383613de3565b505050565b6000612d1b826132aa565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612d42612bd3565b73ffffffffffffffffffffffffffffffffffffffff161480612d755750612d748260000151612d6f612bd3565b6127f5565b5b80612dba5750612d83612bd3565b73ffffffffffffffffffffffffffffffffffffffff16612da284610a7c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612df3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612e5c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ec3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ed08585856001613e01565b612ee06000848460000151612bdb565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613191576000548110156131905782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131fa8585856001613e07565b5050505050565b613209612bd3565b73ffffffffffffffffffffffffffffffffffffffff16613227612044565b73ffffffffffffffffffffffffffffffffffffffff161461327d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132749061518c565b60405180910390fd5b80600a60006101000a81548160ff021916908360048111156132a2576132a1614a39565b5b021790555050565b6132b2614216565b60008290506000548110156134ef576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516134ed57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133d1578092505050613521565b5b6001156134ec57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134e7578092505050613521565b6133d2565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000613531826132aa565b905061354581600001516000846001613e01565b6135556000838360000151612bdb565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613841576000548110156138405781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138b481600001516000846001613e07565b6001600081548092919060010191905055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006139b18473ffffffffffffffffffffffffffffffffffffffff16613e0d565b15613b02578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139da612bd3565b8786866040518563ffffffff1660e01b81526004016139fc9493929190615747565b6020604051808303816000875af1925050508015613a3857506040513d601f19601f82011682018060405250810190613a3591906157a8565b60015b613ab2573d8060008114613a68576040519150601f19603f3d011682016040523d82523d6000602084013e613a6d565b606091505b50600081511415613aaa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b07565b600190505b949350505050565b60606000821415613b57576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c6b565b600082905060005b60008214613b89578080613b72906157d5565b915050600a82613b829190615247565b9150613b5f565b60008167ffffffffffffffff811115613ba557613ba4614530565b5b6040519080825280601f01601f191660200182016040528015613bd75781602001600182028036833780820191505090505b5090505b60008514613c6457600182613bf09190615046565b9150600a85613bff919061581e565b6030613c0b9190614ddd565b60f81b818381518110613c2157613c2061584f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c5d9190615247565b9450613bdb565b8093505050505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b8451811015613dd8576000858281518110613d9557613d9461584f565b5b60200260200101519050808311613db757613db08382613e30565b9250613dc4565b613dc18184613e30565b92505b508080613dd0906157d5565b915050613d77565b508091505092915050565b613dfd828260405180602001604052806000815250613e47565b5050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b613e548383836001613e59565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613ec6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613f01576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f0e6000868387613e01565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561417357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561412757506141256000888488613990565b155b1561415e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818060010192505080806001019150506140ac565b5080600081905550506141896000868387613e07565b5050505050565b82805461419c90614d7c565b90600052602060002090601f0160209004810192826141be5760008555614205565b82601f106141d757805160ff1916838001178555614205565b82800160010185558215614205579182015b828111156142045782518255916020019190600101906141e9565b5b5090506142129190614259565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561427257600081600090555060010161425a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142bf8161428a565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b6000602082840312156142f8576142f7614280565b5b6000614306848285016142cd565b91505092915050565b60008115159050919050565b6143248161430f565b82525050565b600060208201905061433f600083018461431b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561437f578082015181840152602081019050614364565b8381111561438e576000848401525b50505050565b6000601f19601f8301169050919050565b60006143b082614345565b6143ba8185614350565b93506143ca818560208601614361565b6143d381614394565b840191505092915050565b600060208201905081810360008301526143f881846143a5565b905092915050565b6000819050919050565b61441381614400565b811461441e57600080fd5b50565b6000813590506144308161440a565b92915050565b60006020828403121561444c5761444b614280565b5b600061445a84828501614421565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061448e82614463565b9050919050565b61449e81614483565b82525050565b60006020820190506144b96000830184614495565b92915050565b6144c881614483565b81146144d357600080fd5b50565b6000813590506144e5816144bf565b92915050565b6000806040838503121561450257614501614280565b5b6000614510858286016144d6565b925050602061452185828601614421565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61456882614394565b810181811067ffffffffffffffff8211171561458757614586614530565b5b80604052505050565b600061459a614276565b90506145a6828261455f565b919050565b600067ffffffffffffffff8211156145c6576145c5614530565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6145ef816145dc565b81146145fa57600080fd5b50565b60008135905061460c816145e6565b92915050565b6000614625614620846145ab565b614590565b90508083825260208201905060208402830185811115614648576146476145d7565b5b835b81811015614671578061465d88826145fd565b84526020840193505060208101905061464a565b5050509392505050565b600082601f8301126146905761468f61452b565b5b81356146a0848260208601614612565b91505092915050565b600080604083850312156146c0576146bf614280565b5b600083013567ffffffffffffffff8111156146de576146dd614285565b5b6146ea8582860161467b565b92505060206146fb85828601614421565b9150509250929050565b61470e81614400565b82525050565b60006020820190506147296000830184614705565b92915050565b60008060006060848603121561474857614747614280565b5b6000614756868287016144d6565b9350506020614767868287016144d6565b925050604061477886828701614421565b9150509250925092565b60006020828403121561479857614797614280565b5b60006147a6848285016145fd565b91505092915050565b600080604083850312156147c6576147c5614280565b5b60006147d485828601614421565b92505060206147e585828601614421565b9150509250929050565b60006040820190506148046000830185614495565b6148116020830184614705565b9392505050565b600061482382614483565b9050919050565b61483381614818565b811461483e57600080fd5b50565b6000813590506148508161482a565b92915050565b60006020828403121561486c5761486b614280565b5b600061487a84828501614841565b91505092915050565b60008060006060848603121561489c5761489b614280565b5b600084013567ffffffffffffffff8111156148ba576148b9614285565b5b6148c68682870161467b565b935050602084013567ffffffffffffffff8111156148e7576148e6614285565b5b6148f38682870161467b565b925050604061490486828701614421565b9150509250925092565b60006020828403121561492457614923614280565b5b6000614932848285016144d6565b91505092915050565b600080fd5b600067ffffffffffffffff82111561495b5761495a614530565b5b61496482614394565b9050602081019050919050565b82818337600083830152505050565b600061499361498e84614940565b614590565b9050828152602081018484840111156149af576149ae61493b565b5b6149ba848285614971565b509392505050565b600082601f8301126149d7576149d661452b565b5b81356149e7848260208601614980565b91505092915050565b600060208284031215614a0657614a05614280565b5b600082013567ffffffffffffffff811115614a2457614a23614285565b5b614a30848285016149c2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110614a7957614a78614a39565b5b50565b6000819050614a8a82614a68565b919050565b6000614a9a82614a7c565b9050919050565b614aaa81614a8f565b82525050565b6000602082019050614ac56000830184614aa1565b92915050565b6000604082019050614ae06000830185614495565b614aed6020830184614495565b9392505050565b614afd8161430f565b8114614b0857600080fd5b50565b600081359050614b1a81614af4565b92915050565b60008060408385031215614b3757614b36614280565b5b6000614b45858286016144d6565b9250506020614b5685828601614b0b565b9150509250929050565b600067ffffffffffffffff821115614b7b57614b7a614530565b5b614b8482614394565b9050602081019050919050565b6000614ba4614b9f84614b60565b614590565b905082815260208101848484011115614bc057614bbf61493b565b5b614bcb848285614971565b509392505050565b600082601f830112614be857614be761452b565b5b8135614bf8848260208601614b91565b91505092915050565b60008060008060808587031215614c1b57614c1a614280565b5b6000614c29878288016144d6565b9450506020614c3a878288016144d6565b9350506040614c4b87828801614421565b925050606085013567ffffffffffffffff811115614c6c57614c6b614285565b5b614c7887828801614bd3565b91505092959194509250565b600060208284031215614c9a57614c99614280565b5b6000614ca884828501614b0b565b91505092915050565b60008060408385031215614cc857614cc7614280565b5b6000614cd6858286016144d6565b9250506020614ce7858286016144d6565b9150509250929050565b60008060408385031215614d0857614d07614280565b5b600083013567ffffffffffffffff811115614d2657614d25614285565b5b614d328582860161467b565b9250506020614d43858286016144d6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d9457607f821691505b60208210811415614da857614da7614d4d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614de882614400565b9150614df383614400565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e2857614e27614dae565b5b828201905092915050565b7f457863656564732077616c6c6574206c696d6974000000000000000000000000600082015250565b6000614e69601483614350565b9150614e7482614e33565b602082019050919050565b60006020820190508181036000830152614e9881614e5c565b9050919050565b7f576f756c6420657863656564206d617820737570706c79000000000000000000600082015250565b6000614ed5601783614350565b9150614ee082614e9f565b602082019050919050565b60006020820190508181036000830152614f0481614ec8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614f41601f83614350565b9150614f4c82614f0b565b602082019050919050565b60006020820190508181036000830152614f7081614f34565b9050919050565b7f49742773206e6f7420676f2074696d65207965742e0000000000000000000000600082015250565b6000614fad601583614350565b9150614fb882614f77565b602082019050919050565b60006020820190508181036000830152614fdc81614fa0565b9050919050565b60008160601b9050919050565b6000614ffb82614fe3565b9050919050565b600061500d82614ff0565b9050919050565b61502561502082614483565b615002565b82525050565b60006150378284615014565b60148201915081905092915050565b600061505182614400565b915061505c83614400565b92508282101561506f5761506e614dae565b5b828203905092915050565b600061508582614400565b915061509083614400565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150c9576150c8614dae565b5b828202905092915050565b7f53656e7420696e636f7272656374204574686572000000000000000000000000600082015250565b600061510a601483614350565b9150615115826150d4565b602082019050919050565b60006020820190508181036000830152615139816150fd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615176602083614350565b915061518182615140565b602082019050919050565b600060208201905081810360008301526151a581615169565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b60006151e2601183614350565b91506151ed826151ac565b602082019050919050565b60006020820190508181036000830152615211816151d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061525282614400565b915061525d83614400565b92508261526d5761526c615218565b5b828204905092915050565b6000815190506152878161440a565b92915050565b6000602082840312156152a3576152a2614280565b5b60006152b184828501615278565b91505092915050565b6000815190506152c981614af4565b92915050565b6000602082840312156152e5576152e4614280565b5b60006152f3848285016152ba565b91505092915050565b7f4e6f742070726573616c652074696d6520796574000000000000000000000000600082015250565b6000615332601483614350565b915061533d826152fc565b602082019050919050565b6000602082019050818103600083015261536181615325565b9050919050565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b600061539e601083614350565b91506153a982615368565b602082019050919050565b600060208201905081810360008301526153cd81615391565b9050919050565b7f596f7520616c726561647920737461727465642070726573616c652e00000000600082015250565b600061540a601c83614350565b9150615415826153d4565b602082019050919050565b60006020820190508181036000830152615439816153fd565b9050919050565b7f73657442617365555249206973206c6f636b6564000000000000000000000000600082015250565b6000615476601483614350565b915061548182615440565b602082019050919050565b600060208201905081810360008301526154a581615469565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615508602f83614350565b9150615513826154ac565b604082019050919050565b60006020820190508181036000830152615537816154fb565b9050919050565b600081905092915050565b600061555482614345565b61555e818561553e565b935061556e818560208601614361565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006155b060058361553e565b91506155bb8261557a565b600582019050919050565b60006155d28285615549565b91506155de8284615549565b91506155e9826155a3565b91508190509392505050565b600061560082614483565b9050919050565b615610816155f5565b811461561b57600080fd5b50565b60008151905061562d81615607565b92915050565b60006020828403121561564957615648614280565b5b60006156578482850161561e565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156bc602683614350565b91506156c782615660565b604082019050919050565b600060208201905081810360008301526156eb816156af565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615719826156f2565b61572381856156fd565b9350615733818560208601614361565b61573c81614394565b840191505092915050565b600060808201905061575c6000830187614495565b6157696020830186614495565b6157766040830185614705565b8181036060830152615788818461570e565b905095945050505050565b6000815190506157a2816142b6565b92915050565b6000602082840312156157be576157bd614280565b5b60006157cc84828501615793565b91505092915050565b60006157e082614400565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561581357615812614dae565b5b600182019050919050565b600061582982614400565b915061583483614400565b92508261584457615843615218565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212203b2cfe7ebf64a187e5c74f0f02e1a4148e4cbfecfd65b58c1868dbd8a68e57ef64736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000004edec84a0380000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000269e03f6c273e11d2ead20359a38564873279c27000000000000000000000000000000000000000000000000000000000000001f687474703a2f2f666f72676f7474656e6261626965732e636f6d2f7572692f00

-----Decoded View---------------
Arg [0] : maxSupply_ (uint256): 10000
Arg [1] : baseTokenURI_ (string): http://forgottenbabies.com/uri/
Arg [2] : price_ (uint256): 22200000000000000
Arg [3] : MAX_PER_ADDRESS_ (uint256): 6
Arg [4] : openSeaProxyRegistryAddress_ (address): 0x269e03f6c273E11d2eaD20359A38564873279c27

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000000000004edec84a038000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 000000000000000000000000269e03f6c273e11d2ead20359a38564873279c27
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [6] : 687474703a2f2f666f72676f7474656e6261626965732e636f6d2f7572692f00


Loading...
Loading
Loading...
Loading
[ 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.