Contract 0xE41c7E05838f180938ad08643d7a2fE0A9e5F4e4 1

Token Contract 
 
 
Txn Hash
Method
Block
From
To
Value
0x50d0db2ed6592d6de4f14dcc3e7d0e2527a858114aa38d4715604e9429af0e9bSafe Transfer Fr...161229662022-12-06 3:08:473 hrs 32 mins ago0x48785b82ec2651bc47e3a2ee7834ab2ec6dbb7a3 IN  Celephais: CLPH Token0 Ether0.00077917 12.87355159
0x83b6ad3e54201c3365b2f7c7b5cb1128f3f9e9caad6b8ca2a4e4747b27bec642Safe Transfer Fr...161033992022-12-03 9:29:112 days 21 hrs ago0x4767d4db19f96fab31e66f6ecd85a4cdc09504bc IN  Celephais: CLPH Token0 Ether0.00083274 12.79001842
0x1cdc126b27ca75991043cabbabea46d7cdc4259ba2a01d5e28b2d28c7df81e35Set Approval For...160896712022-12-01 11:31:114 days 19 hrs ago0xcf883872328e1f354e8c8e36b487e84f92092aac IN  Celephais: CLPH Token0 Ether0.00052745 11.29246808
0x2d87d64e956324a9c03c6597eadeec7274fcb4516b02060c5d6ef3dd214b9356Set Approval For...160804252022-11-30 4:29:356 days 2 hrs ago0x9548c3655a27be8c44d4063e1f72b676e2807a8f IN  Celephais: CLPH Token0 Ether0.00052816 11.31339692
0xe3b75209776613162511f7eb5528a500310983f717ff95f48ca8e2dd89c49663Set Approval For...160770742022-11-29 17:15:356 days 13 hrs agoENS Name sub0crypt0.eth IN  Celephais: CLPH Token0 Ether0.00052409 11.22050242
0x7382242c99474a433679280271876ed08311403aed774b5bdcd84269da04d342Set Approval For...160757602022-11-29 12:50:476 days 17 hrs ago0x9abc5990629dc8cd2872cdcfc355fbffb02fd3d9 IN  Celephais: CLPH Token0 Ether0.00056301 12.05990319
0xf86b850b4ba6ee2e61a48b0dfd8b737e8c4b2eff85ec9d3687b7a1f8f880db0eSet Approval For...160740012022-11-29 6:57:116 days 23 hrs ago0xc443727503ff057e36d12f45dad99a8af851c883 IN  Celephais: CLPH Token0 Ether0.00053715 11.50001069
0xccc8206ebb52af20541f9331cf1059ef80f7ef0cda8c4a099d8428e711dd1697Set Approval For...160716322022-11-28 23:00:117 days 7 hrs ago0x437c5803a4f0e839888fee0ee5e3b08fb016ee77 IN  Celephais: CLPH Token0 Ether0.00052768 11.30307541
0x9cd3c360f103291ac4504369e704457120c39bd269c712a3f5020c1f27ea69a1Set Approval For...160632942022-11-27 19:04:598 days 11 hrs ago0x046332f2bd20a7a6ab535af3a66df02439979d5b IN  Celephais: CLPH Token0 Ether0.00050378 10.79113173
0x6badde8c5f84c21f3065f1f70603a63eb8b70f49f2468870c5ad334641d09562Set Approval For...160632932022-11-27 19:04:478 days 11 hrs ago0x046332f2bd20a7a6ab535af3a66df02439979d5b IN  Celephais: CLPH Token0 Ether0.00052466 11.21823673
0x4d9389e3986206f737edbc59495ca39958027f9a4d70ec32520ab95e4c2e1c14Set Approval For...160539612022-11-26 11:47:599 days 18 hrs agoENS Name gokcek.eth IN  Celephais: CLPH Token0 Ether0.00044339 9.49765647
0xaf451d9799356f444a04d5dc47928f6cc28d2a7fe4d5b41a5e0568588f7b09beSet Approval For...160531462022-11-26 9:04:119 days 21 hrs ago0x4cc493f40baef1e3cc0495077f6f1a5757d83c23 IN  Celephais: CLPH Token0 Ether0.00052902 11.33189929
0x9c232896ddb60c3af2f7e7abb2dd485c9d40e43abdd1807dc1faf40b4c3dd8cbSet Approval For...160531452022-11-26 9:03:599 days 21 hrs ago0x4cc493f40baef1e3cc0495077f6f1a5757d83c23 IN  Celephais: CLPH Token0 Ether0.00051865 11.0896922
0xea92dfb29c1a62227e9bab34940b94ce87f863e9c503af378c8fd53de2658ce6Set Approval For...160531262022-11-26 9:00:119 days 21 hrs ago0x4cc493f40baef1e3cc0495077f6f1a5757d83c23 IN  Celephais: CLPH Token0 Ether0.00051243 10.97082285
0x8cde5df9b001a2b7886e5b023f11a81aac6d7b07c4f51967799bf5b28496c17aTransfer From160368872022-11-24 2:34:4712 days 4 hrs agoENS Name double4377.eth IN  Celephais: CLPH Token0 Ether0.00100475 11.95081011
0xba5deeed1afa5b39f59ac3db04cbaf4781ddf9abcae97bfdebe8d3d5a0cbc2eaSafe Transfer Fr...160364832022-11-24 1:13:5912 days 5 hrs ago0xb847ac0f64969bd69d17054999c83df63c501fa4 IN  Celephais: CLPH Token0 Ether0.00104275 12.00116972
0x43dddf65e1a995501991b0e27e5c54c274cbc5055656663a520365058cef296cSet Approval For...160205062022-11-21 19:34:1114 days 11 hrs ago0xa6f17fc0fcc0467fdbeb01f9bef47d264b0ee772 IN  Celephais: CLPH Token0 Ether0.00068561 14.67835264
0x1b967c325a8606cf09ee1c7f69464810e723bbf3dd076612ecb678fcdb8e21adSet Approval For...160143152022-11-20 22:49:3515 days 7 hrs agoENS Name 0xsjc.eth IN  Celephais: CLPH Token0 Ether0.00050256 10.75952677
0x0f17edbe10de7319b8bb3f8508d4c1dfc047cb5dc18030c3fb3ce165276b1a42Set Approval For...159963952022-11-18 10:47:1117 days 19 hrs ago0xbb74ea2e77fe2159c952537df18949d88c66baa5 IN  Celephais: CLPH Token0 Ether0.00033703 13.60489219
0x0e566de2181f612e035c24faf5b3caa1e23339c9ccd662c3741d6985df832261Safe Transfer Fr...159905982022-11-17 15:20:4718 days 15 hrs agoENS Name fnbelge.eth IN  Celephais: CLPH Token0 Ether0.00259029 29.53621901
0x275d0d458228ff551fe3487eafe46d1669ecaab9318795979cd1de51918b3e16Set Approval For...159695592022-11-14 16:46:2321 days 13 hrs ago0x44a10963b36d774811d578433f36da58bee2eab7 IN  Celephais: CLPH Token0 Ether0.00091362 19.55987584
0x0b19b63244c14d5267d3b1464eee0ba01927e510e55c82f3745b27db3ff8e439Set Approval For...159561082022-11-12 19:44:3523 days 10 hrs ago0x9ab17bdaa2ab4a70aedd11a2a2641a14d5b23ddb IN  Celephais: CLPH Token0 Ether0.00058865 12.60265282
0x81c73a66831e7e31170158ea069c170dbb09eed01e9bb6c507d6ec5c29be88e4Set Approval For...159504732022-11-12 0:52:2324 days 5 hrs ago0x2e65a8bb0d31a27d17c487e095f53f23a8f981fa IN  Celephais: CLPH Token0 Ether0.00079803 17.09399823
0xed13afeeddba86b0f6d40184b41ecd61aed87ccd5d427134ba4b279dd7e71463Transfer From159490012022-11-11 19:56:5924 days 10 hrs ago0x5929e4fca80cb8d54848a0d190d64857f51a801b IN  Celephais: CLPH Token0 Ether0.00111917 17.90372642
0xb6ef118335884a1be1834bc7b6a0f4ac7793685bbfd0fbcfedf6bb394777fae8Set Approval For...159095442022-11-06 7:40:1129 days 23 hrs ago0x0c48991a22166b17c655758ad382714cb1d0a0a1 IN  Celephais: CLPH Token0 Ether0.00049097 10.51142167
[ Download CSV Export 

OVERVIEW

Dreamers Only.

Latest 2 internal transactions
Parent Txn Hash Block From To Value
0x5abf78ab4095ece2eb0f1f2824b0ffbd56c7de4bcf8e9b08e6819dae96bb160d150358472022-06-27 19:07:57161 days 11 hrs ago Celephais: CLPH Token0xb7f3aefb9ebb90cb95d3c4e9c7ecb5c48d5d4384230.2038 Ether
0xabca61e30a7169134e790b486c114589fa25b4fb1f43ee72605be2ec59bb206a150331082022-06-27 6:56:25161 days 23 hrs ago Celephais: CLPH Token0xb7f3aefb9ebb90cb95d3c4e9c7ecb5c48d5d43840.077 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Celephais

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : Celephais.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;


import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
//@0xSimon_

error SaleNotActive();
error Underpriced();
error NotWhitelisted();
error SoldOut();
error MaxMints();
error OilSaleNotActive();

contract Celephais is ERC721A, Ownable{
    using ECDSA for bytes32;

    uint constant maxSupply = 3333;
    uint constant public maxWlSupply = 2733;
    uint constant public maxOilMints = 500;
    uint public maxMintsPerWallet = 2;
    uint public wlCounter;
    uint public oilCounter;
    uint public presalePrice  = .077 ether;
    uint public publicPrice =   .099 ether;
    uint public OIL_PRICE = 195000 ether; //decimals are 18

    string public baseURI = "ipfs:/CID/";
    string public notRevealedURI = "ipfs://QmSWyUNKibpbXeRWmbg5FT55JxDQDQ8DZ2t3ircBbvr5wX";
    string uriSuffix = ".json";
    
    IERC20 public OIL = IERC20(0x5Fe8C486B5f216B9AD83C12958d8A03eb3fD5060);

    bool private revealed;
    
    enum SaleStatus {INACTIVE,DROWSY,PUBLIC}
    SaleStatus public saleStatus = SaleStatus.INACTIVE;

    address private signer = 0x592dacdB2a90683DA40096501F2ff1E82b00b9c7;

    mapping(address => mapping(uint=>uint)) public numMinted;

    constructor() ERC721A("Celephais","CLPH"){
        teamMint(0xB7f3aeFB9eBb90cB95D3C4e9c7ECB5c48d5D4384,8);
        transferOwnership(0xB7f3aeFB9eBb90cB95D3C4e9c7ECB5c48d5D4384);
    }
    

     /*/////////////////////////////////////////
                      MINTING
    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

    function teamMint(address to,uint amount) public onlyOwner{
        if(totalSupply() + amount > maxSupply) revert SoldOut();
        _mint(to,amount);
    }
    function airdrop(address[] calldata accounts, uint[] calldata amounts) external onlyOwner{
        for(uint i = 0; i<amounts.length;i++){
            if(totalSupply() + amounts[i] > maxSupply) revert SoldOut();
            _mint(accounts[i],amounts[i]);
        }
    }
    function drowsyEthMint(uint amount,uint max,bytes memory signature) external payable 
    {
        if(saleStatus != SaleStatus.DROWSY) revert SaleNotActive();
        if(msg.value <  presalePrice * amount) revert Underpriced();     
        bytes32 hash = keccak256(abi.encodePacked(max,msg.sender));
        address _signer = hash.toEthSignedMessageHash().recover(signature);
        if(signer != _signer) revert NotWhitelisted(); 
        if(wlCounter + amount > maxWlSupply) revert SoldOut();
        if(numMinted[msg.sender][0] + amount > maxMintsPerWallet) revert MaxMints();
        numMinted[msg.sender][0] += amount;
        wlCounter += amount;
        _mint(msg.sender,amount);
    }

    function drowsyOilMint(uint amount) external 
    {
        if(saleStatus == SaleStatus.INACTIVE) revert SaleNotActive();
        if(oilCounter + amount > maxOilMints) revert SoldOut();
        if(numMinted[msg.sender][1] + amount > maxMintsPerWallet) revert MaxMints();
        OIL.transferFrom(msg.sender, address(this), OIL_PRICE * amount);
        oilCounter += amount;
        numMinted[msg.sender][1] += amount;
        _mint(msg.sender,amount);
    }

    function publicMint(uint amount) external payable
    {
        if(saleStatus != SaleStatus.PUBLIC) revert SaleNotActive();
        if(msg.value <  publicPrice * amount) revert Underpriced();
        if(totalSupply() + amount > maxSupply) revert SoldOut();
        if(numMinted[msg.sender][2] + amount > maxMintsPerWallet) revert MaxMints();
        numMinted[msg.sender][2] += amount;
        _mint(msg.sender,amount);
    }

    

    /*/////////////////////////////////////////
                      SETTERS
    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  
    function setBaseURI(string memory newUri) public onlyOwner {
        baseURI = newUri;
    }
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedURI = _notRevealedURI;
    }
    function setUriSuffix(string memory _suffix) external onlyOwner{
        uriSuffix = _suffix;
    }
    function flipRevealed() external onlyOwner{
        revealed = !revealed;
    }
    function startDrowsyMint() external onlyOwner {
        saleStatus = SaleStatus.DROWSY;
    }
    function startPublicMint() external onlyOwner {
        saleStatus = SaleStatus.PUBLIC;
    }
    function turnOffAllMints() external onlyOwner{
        saleStatus = SaleStatus.INACTIVE;
    }
    function setSigner(address _address) external onlyOwner{
        signer = _address;
    }

    function setOil(address _address) external onlyOwner{
        OIL = IERC20(_address);
    }
    function setPresalePrice(uint _newPrice) external onlyOwner{
        presalePrice = _newPrice;
    }
    function setPublicPrice(uint _newPrice) external onlyOwner{
        publicPrice = _newPrice;
    }
    function setOilPrice(uint oilPrice) external onlyOwner{
        OIL_PRICE = oilPrice;
    }
    function setMaxMintsPerWallet(uint _newMax) external onlyOwner{
        maxMintsPerWallet = _newMax;
    }
    
    

 
    /*////////////////////////////////////////
                    TOKEN FACTORY
    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    function tokenURI(uint256 tokenId) public view override(ERC721A) 
    returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        if(!revealed){
            return notRevealedURI;
        }
       
        return string(abi.encodePacked(baseURI,_toString(tokenId),uriSuffix));
       
    }




    /*/////////////////////////////////////////
                      WITHDRAW
    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    function withdrawOIL() external onlyOwner{
        uint OIL_BALANCE = OIL.balanceOf(address(this));
        OIL.transfer(msg.sender, OIL_BALANCE);
    }

    function withdrawETH() external onlyOwner {
        uint balance = address(this).balance;
        (bool success,) = payable(owner()).call{value:balance}("");
        require(success);
    }
    
}


interface IERC20{
    function transferFrom(address from, address to, uint amount) external;
    function transfer(address to, uint amount) external;
    function balanceOf(address account) external view returns(uint);
}

File 2 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

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

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary 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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

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

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) 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` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

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

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 7 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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);

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxMints","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"Underpriced","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OIL","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OIL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"drowsyEthMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"drowsyOilMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxOilMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"numMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oilCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"enum Celephais.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setOil","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"oilPrice","type":"uint256"}],"name":"setOilPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_suffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDrowsyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicMint","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnOffAllMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawOIL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405260026009556701118f178fb48000600c5567015fb7f9b8c38000600d5569294af89f5db893e00000600e556040518060400160405280600a81526020017f697066733a2f4349442f00000000000000000000000000000000000000000000815250600f90805190602001906200007c929190620008ba565b50604051806060016040528060358152602001620057636035913960109080519060200190620000ae929190620008ba565b506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060119080519060200190620000fc929190620008ba565b50735fe8c486b5f216b9ad83c12958d8a03eb3fd5060601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601260156101000a81548160ff021916908360028111156200017b576200017a62000ad9565b5b021790555073592dacdb2a90683da40096501f2ff1e82b00b9c7601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620001e257600080fd5b506040518060400160405280600981526020017f43656c65706861697300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f434c504800000000000000000000000000000000000000000000000000000000815250816002908051906020019062000267929190620008ba565b50806003908051906020019062000280929190620008ba565b50620002916200030b60201b60201c565b6000819055505050620002b9620002ad6200031060201b60201c565b6200031860201b60201c565b620002e073b7f3aefb9ebb90cb95d3c4e9c7ecb5c48d5d43846008620003de60201b60201c565b6200030573b7f3aefb9ebb90cb95d3c4e9c7ecb5c48d5d4384620004dc60201b60201c565b62000baf565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003ee6200031060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000414620005f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200046d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200046490620009da565b60405180910390fd5b610d0581620004816200061c60201b60201c565b6200048d919062000a0d565b1115620004c6576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620004d882826200063b60201b60201c565b5050565b620004ec6200031060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000512620005f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200056b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200056290620009da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620005de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005d590620009b8565b60405180910390fd5b620005ef816200031860201b60201c565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006200062e6200030b60201b60201c565b6001546000540303905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620006a9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415620006e5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620006fa60008483856200083a60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000789836200076b60008660006200084060201b60201c565b6200077c856200087060201b60201c565b176200088060201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210620007ad57806000819055505050620008356000848385620008ab60201b60201c565b505050565b50505050565b60008060e883901c905060e86200085f868684620008b160201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b828054620008c89062000a74565b90600052602060002090601f016020900481019282620008ec576000855562000938565b82601f106200090757805160ff191683800117855562000938565b8280016001018555821562000938579182015b82811115620009375782518255916020019190600101906200091a565b5b5090506200094791906200094b565b5090565b5b80821115620009665760008160009055506001016200094c565b5090565b600062000979602683620009fc565b9150620009868262000b37565b604082019050919050565b6000620009a0602083620009fc565b9150620009ad8262000b86565b602082019050919050565b60006020820190508181036000830152620009d3816200096a565b9050919050565b60006020820190508181036000830152620009f58162000991565b9050919050565b600082825260208201905092915050565b600062000a1a8262000a6a565b915062000a278362000a6a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000a5f5762000a5e62000aaa565b5b828201905092915050565b6000819050919050565b6000600282049050600182168062000a8d57607f821691505b6020821081141562000aa45762000aa362000b08565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614ba48062000bbf6000396000f3fe6080604052600436106102c85760003560e01c8063720841cf11610175578063adec50be116100dc578063e086e5ec11610095578063f2c4ce1e1161006f578063f2c4ce1e14610a3b578063f2fde38b14610a64578063f516a2e614610a8d578063f9020e3314610ab8576102c8565b8063e086e5ec146109d0578063e985e9c5146109e7578063f0d7f69014610a24576102c8565b8063adec50be146108cf578063b88d4fde146108eb578063c627525514610914578063c707985a1461093d578063c87b56dd14610968578063d74c4416146109a5576102c8565b8063963c35461161012e578063963c3546146107fb5780639d9240b614610824578063a07dd4011461083b578063a22cb46514610852578063a945bf801461087b578063add5a4fa146108a6576102c8565b8063720841cf1461070f578063722503801461073a57806376c64c62146107655780637ae3642d1461077c5780638da5cb5b146107a557806395d89b41146107d0576102c8565b80633441c7c21161023457806360a6a61a116101ed5780636c0360eb116101c75780636c0360eb146106675780636c19e7831461069257806370a08231146106bb578063715018a6146106f8576102c8565b806360a6a61a146105d65780636352211e14610601578063672434821461063e576102c8565b80633441c7c2146104f05780633549345e146105195780633b2c3fb61461054257806342842e0e1461055957806343952d041461058257806355f804b3146105ad576102c8565b806316ba10e01161028657806316ba10e01461040357806318160ddd1461042c578063215bf4611461045757806323b872dd1461048257806324f881a2146104ab5780632db11544146104d4576102c8565b80620e7fa8146102cd57806301ffc9a7146102f857806306fdde0314610335578063081812fc14610360578063095ea7b31461039d5780630c41992e146103c6575b600080fd5b3480156102d957600080fd5b506102e2610ae3565b6040516102ef9190614482565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190613d57565b610ae9565b60405161032c919061430a565b60405180910390f35b34801561034157600080fd5b5061034a610b7b565b60405161035791906143a0565b60405180910390f35b34801561036c57600080fd5b5061038760048036038101906103829190613dfa565b610c0d565b6040516103949190614243565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf9190613c96565b610c89565b005b3480156103d257600080fd5b506103ed60048036038101906103e89190613c96565b610dca565b6040516103fa9190614482565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190613db1565b610def565b005b34801561043857600080fd5b50610441610e85565b60405161044e9190614482565b60405180910390f35b34801561046357600080fd5b5061046c610e9c565b6040516104799190614482565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190613b80565b610ea2565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190613b13565b6111c7565b005b6104ee60048036038101906104e99190613dfa565b611287565b005b3480156104fc57600080fd5b5061051760048036038101906105129190613dfa565b611495565b005b34801561052557600080fd5b50610540600480360381019061053b9190613dfa565b611710565b005b34801561054e57600080fd5b50610557611796565b005b34801561056557600080fd5b50610580600480360381019061057b9190613b80565b61183e565b005b34801561058e57600080fd5b5061059761185e565b6040516105a49190614482565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190613db1565b611864565b005b3480156105e257600080fd5b506105eb6118fa565b6040516105f89190614482565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190613dfa565b611900565b6040516106359190614243565b60405180910390f35b34801561064a57600080fd5b5061066560048036038101906106609190613cd6565b611912565b005b34801561067357600080fd5b5061067c611a67565b60405161068991906143a0565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190613b13565b611af5565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190613b13565b611bb5565b6040516106ef9190614482565b60405180910390f35b34801561070457600080fd5b5061070d611c6e565b005b34801561071b57600080fd5b50610724611cf6565b6040516107319190614482565b60405180910390f35b34801561074657600080fd5b5061074f611cfc565b60405161075c91906143a0565b60405180910390f35b34801561077157600080fd5b5061077a611d8a565b005b34801561078857600080fd5b506107a3600480360381019061079e9190613dfa565b611e33565b005b3480156107b157600080fd5b506107ba611eb9565b6040516107c79190614243565b60405180910390f35b3480156107dc57600080fd5b506107e5611ee3565b6040516107f291906143a0565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190613dfa565b611f75565b005b34801561083057600080fd5b50610839611ffb565b005b34801561084757600080fd5b506108506121b8565b005b34801561085e57600080fd5b5061087960048036038101906108749190613c56565b612261565b005b34801561088757600080fd5b506108906123d9565b60405161089d9190614482565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190613c96565b6123df565b005b6108e960048036038101906108e49190613e54565b6124b7565b005b3480156108f757600080fd5b50610912600480360381019061090d9190613bd3565b6127af565b005b34801561092057600080fd5b5061093b60048036038101906109369190613dfa565b612822565b005b34801561094957600080fd5b506109526128a8565b60405161095f919061436a565b60405180910390f35b34801561097457600080fd5b5061098f600480360381019061098a9190613dfa565b6128ce565b60405161099c91906143a0565b60405180910390f35b3480156109b157600080fd5b506109ba6129eb565b6040516109c79190614482565b60405180910390f35b3480156109dc57600080fd5b506109e56129f1565b005b3480156109f357600080fd5b50610a0e6004803603810190610a099190613b40565b612af3565b604051610a1b919061430a565b60405180910390f35b348015610a3057600080fd5b50610a39612b87565b005b348015610a4757600080fd5b50610a626004803603810190610a5d9190613db1565b612c30565b005b348015610a7057600080fd5b50610a8b6004803603810190610a869190613b13565b612cc6565b005b348015610a9957600080fd5b50610aa2612dbe565b604051610aaf9190614482565b60405180910390f35b348015610ac457600080fd5b50610acd612dc4565b604051610ada9190614385565b60405180910390f35b600c5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b745750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b8a9061475f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb69061475f565b8015610c035780601f10610bd857610100808354040283529160200191610c03565b820191906000526020600020905b815481529060010190602001808311610be657829003601f168201915b5050505050905090565b6000610c1882612dd7565b610c4e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c9482611900565b90508073ffffffffffffffffffffffffffffffffffffffff16610cb5612e36565b73ffffffffffffffffffffffffffffffffffffffff1614610d1857610ce181610cdc612e36565b612af3565b610d17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6014602052816000526040600020602052806000526040600020600091509150505481565b610df7612e3e565b73ffffffffffffffffffffffffffffffffffffffff16610e15611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290614462565b60405180910390fd5b8060119080519060200190610e81929190613866565b5050565b6000610e8f612e46565b6001546000540303905090565b600a5481565b6000610ead82612e4b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f14576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f2084612f19565b91509150610f368187610f31612e36565b612f3b565b610f8257610f4b86610f46612e36565b612af3565b610f81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fe9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ff68686866001612f7f565b801561100157600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110cf856110ab888887612f85565b7c020000000000000000000000000000000000000000000000000000000017612fad565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611157576000600185019050600060046000838152602001908152602001600020541415611155576000548114611154578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111bf8686866001612fd8565b505050505050565b6111cf612e3e565b73ffffffffffffffffffffffffffffffffffffffff166111ed611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90614462565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60028081111561129a57611299614872565b5b601260159054906101000a900460ff1660028111156112bc576112bb614872565b5b146112f3576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d5461130191906145dd565b34101561133a576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0581611346610e85565b6113509190614587565b1115611388576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060028152602001908152602001600020546113e89190614587565b1115611420576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002060008282546114819190614587565b925050819055506114923382612fde565b50565b600060028111156114a9576114a8614872565b5b601260159054906101000a900460ff1660028111156114cb576114ca614872565b5b1415611503576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101f481600b546115149190614587565b111561154c576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020546115ac9190614587565b11156115e4576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd333084600e5461163291906145dd565b6040518463ffffffff1660e01b81526004016116509392919061425e565b600060405180830381600087803b15801561166a57600080fd5b505af115801561167e573d6000803e3d6000fd5b5050505080600b60008282546116949190614587565b9250508190555080601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546116fc9190614587565b9250508190555061170d3382612fde565b50565b611718612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611736611eb9565b73ffffffffffffffffffffffffffffffffffffffff161461178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390614462565b60405180910390fd5b80600c8190555050565b61179e612e3e565b73ffffffffffffffffffffffffffffffffffffffff166117bc611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180990614462565b60405180910390fd5b601260149054906101000a900460ff1615601260146101000a81548160ff021916908315150217905550565b611859838383604051806020016040528060008152506127af565b505050565b6101f481565b61186c612e3e565b73ffffffffffffffffffffffffffffffffffffffff1661188a611eb9565b73ffffffffffffffffffffffffffffffffffffffff16146118e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d790614462565b60405180910390fd5b80600f90805190602001906118f6929190613866565b5050565b600b5481565b600061190b82612e4b565b9050919050565b61191a612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611938611eb9565b73ffffffffffffffffffffffffffffffffffffffff161461198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590614462565b60405180910390fd5b60005b82829050811015611a6057610d058383838181106119b2576119b16148d0565b5b905060200201356119c1610e85565b6119cb9190614587565b1115611a03576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a4d858583818110611a1957611a186148d0565b5b9050602002016020810190611a2e9190613b13565b848484818110611a4157611a406148d0565b5b90506020020135612fde565b8080611a58906147c2565b915050611991565b5050505050565b600f8054611a749061475f565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa09061475f565b8015611aed5780601f10611ac257610100808354040283529160200191611aed565b820191906000526020600020905b815481529060010190602001808311611ad057829003601f168201915b505050505081565b611afd612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611b1b611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6890614462565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c1d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c76612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611c94611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce190614462565b60405180910390fd5b611cf460006131b2565b565b610aad81565b60108054611d099061475f565b80601f0160208091040260200160405190810160405280929190818152602001828054611d359061475f565b8015611d825780601f10611d5757610100808354040283529160200191611d82565b820191906000526020600020905b815481529060010190602001808311611d6557829003601f168201915b505050505081565b611d92612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611db0611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90614462565b60405180910390fd5b6002601260156101000a81548160ff02191690836002811115611e2c57611e2b614872565b5b0217905550565b611e3b612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611e59611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614462565b60405180910390fd5b80600e8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611ef29061475f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1e9061475f565b8015611f6b5780601f10611f4057610100808354040283529160200191611f6b565b820191906000526020600020905b815481529060010190602001808311611f4e57829003601f168201915b5050505050905090565b611f7d612e3e565b73ffffffffffffffffffffffffffffffffffffffff16611f9b611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe890614462565b60405180910390fd5b8060098190555050565b612003612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612021611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614612077576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206e90614462565b60405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016120d49190614243565b60206040518083038186803b1580156120ec57600080fd5b505afa158015612100573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121249190613e27565b9050601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016121839291906142e1565b600060405180830381600087803b15801561219d57600080fd5b505af11580156121b1573d6000803e3d6000fd5b5050505050565b6121c0612e3e565b73ffffffffffffffffffffffffffffffffffffffff166121de611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b90614462565b60405180910390fd5b6000601260156101000a81548160ff0219169083600281111561225a57612259614872565b5b0217905550565b612269612e36565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122ce576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122db612e36565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612388612e36565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123cd919061430a565b60405180910390a35050565b600d5481565b6123e7612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612405611eb9565b73ffffffffffffffffffffffffffffffffffffffff161461245b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245290614462565b60405180910390fd5b610d0581612467610e85565b6124719190614587565b11156124a9576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124b38282612fde565b5050565b600160028111156124cb576124ca614872565b5b601260159054906101000a900460ff1660028111156124ed576124ec614872565b5b14612524576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c5461253291906145dd565b34101561256b576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008233604051602001612580929190614217565b60405160208183030381529060405280519060200120905060006125b5836125a784613278565b6132a890919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461263e576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aad85600a5461264f9190614587565b1115612687576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095485601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808152602001908152602001600020546126e69190614587565b111561271e576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808152602001908152602001600020600082825461277e9190614587565b9250508190555084600a60008282546127979190614587565b925050819055506127a83386612fde565b5050505050565b6127ba848484610ea2565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461281c576127e5848484846132cf565b61281b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61282a612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612848611eb9565b73ffffffffffffffffffffffffffffffffffffffff161461289e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289590614462565b60405180910390fd5b80600d8190555050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606128d982612dd7565b61290f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601260149054906101000a900460ff166129b557601080546129309061475f565b80601f016020809104026020016040519081016040528092919081815260200182805461295c9061475f565b80156129a95780601f1061297e576101008083540402835291602001916129a9565b820191906000526020600020905b81548152906001019060200180831161298c57829003601f168201915b505050505090506129e6565b600f6129c08361342f565b60116040516020016129d4939291906141ab565b60405160208183030381529060405290505b919050565b600e5481565b6129f9612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612a17611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614612a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6490614462565b60405180910390fd5b60004790506000612a7c611eb9565b73ffffffffffffffffffffffffffffffffffffffff1682604051612a9f90614202565b60006040518083038185875af1925050503d8060008114612adc576040519150601f19603f3d011682016040523d82523d6000602084013e612ae1565b606091505b5050905080612aef57600080fd5b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b8f612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612bad611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614612c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfa90614462565b60405180910390fd5b6001601260156101000a81548160ff02191690836002811115612c2957612c28614872565b5b0217905550565b612c38612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612c56611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614612cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca390614462565b60405180910390fd5b8060109080519060200190612cc2929190613866565b5050565b612cce612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612cec611eb9565b73ffffffffffffffffffffffffffffffffffffffff1614612d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3990614462565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da990614402565b60405180910390fd5b612dbb816131b2565b50565b60095481565b601260159054906101000a900460ff1681565b600081612de2612e46565b11158015612df1575060005482105b8015612e2f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612e5a612e46565b11612ee257600054811015612ee15760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612edf575b6000811415612ed5576004600083600190039350838152602001908152602001600020549050612eaa565b8092505050612f14565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612f9c868684613489565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561304b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613086576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130936000848385612f7f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061310a836130fb6000866000612f85565b61310485613492565b17612fad565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061312e578060008190555050506131ad6000848385612fd8565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008160405160200161328b91906141dc565b604051602081830303815290604052805190602001209050919050565b60008060006132b785856134a2565b915091506132c481613525565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132f5612e36565b8786866040518563ffffffff1660e01b81526004016133179493929190614295565b602060405180830381600087803b15801561333157600080fd5b505af192505050801561336257506040513d601f19601f8201168201806040525081019061335f9190613d84565b60015b6133dc573d8060008114613392576040519150601f19603f3d011682016040523d82523d6000602084013e613397565b606091505b506000815114156133d4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561347557600183039250600a81066030018353600a81049050613455565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b6000806041835114156134e45760008060006020860151925060408601519150606086015160001a90506134d8878285856136fa565b9450945050505061351e565b60408351141561351557600080602085015191506040850151905061350a868383613807565b93509350505061351e565b60006002915091505b9250929050565b6000600481111561353957613538614872565b5b81600481111561354c5761354b614872565b5b1415613557576136f7565b6001600481111561356b5761356a614872565b5b81600481111561357e5761357d614872565b5b14156135bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b6906143c2565b60405180910390fd5b600260048111156135d3576135d2614872565b5b8160048111156135e6576135e5614872565b5b1415613627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361e906143e2565b60405180910390fd5b6003600481111561363b5761363a614872565b5b81600481111561364e5761364d614872565b5b141561368f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368690614422565b60405180910390fd5b6004808111156136a2576136a1614872565b5b8160048111156136b5576136b4614872565b5b14156136f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ed90614442565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156137355760006003915091506137fe565b601b8560ff161415801561374d5750601c8560ff1614155b1561375f5760006004915091506137fe565b6000600187878787604051600081526020016040526040516137849493929190614325565b6020604051602081039080840390855afa1580156137a6573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156137f5576000600192509250506137fe565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61384a9190614587565b9050613858878288856136fa565b935093505050935093915050565b8280546138729061475f565b90600052602060002090601f01602090048101928261389457600085556138db565b82601f106138ad57805160ff19168380011785556138db565b828001600101855582156138db579182015b828111156138da5782518255916020019190600101906138bf565b5b5090506138e891906138ec565b5090565b5b808211156139055760008160009055506001016138ed565b5090565b600061391c613917846144c2565b61449d565b9050828152602081018484840111156139385761393761493d565b5b61394384828561471d565b509392505050565b600061395e613959846144f3565b61449d565b90508281526020810184848401111561397a5761397961493d565b5b61398584828561471d565b509392505050565b60008135905061399c81614b12565b92915050565b60008083601f8401126139b8576139b7614933565b5b8235905067ffffffffffffffff8111156139d5576139d461492e565b5b6020830191508360208202830111156139f1576139f0614938565b5b9250929050565b60008083601f840112613a0e57613a0d614933565b5b8235905067ffffffffffffffff811115613a2b57613a2a61492e565b5b602083019150836020820283011115613a4757613a46614938565b5b9250929050565b600081359050613a5d81614b29565b92915050565b600081359050613a7281614b40565b92915050565b600081519050613a8781614b40565b92915050565b600082601f830112613aa257613aa1614933565b5b8135613ab2848260208601613909565b91505092915050565b600082601f830112613ad057613acf614933565b5b8135613ae084826020860161394b565b91505092915050565b600081359050613af881614b57565b92915050565b600081519050613b0d81614b57565b92915050565b600060208284031215613b2957613b28614947565b5b6000613b378482850161398d565b91505092915050565b60008060408385031215613b5757613b56614947565b5b6000613b658582860161398d565b9250506020613b768582860161398d565b9150509250929050565b600080600060608486031215613b9957613b98614947565b5b6000613ba78682870161398d565b9350506020613bb88682870161398d565b9250506040613bc986828701613ae9565b9150509250925092565b60008060008060808587031215613bed57613bec614947565b5b6000613bfb8782880161398d565b9450506020613c0c8782880161398d565b9350506040613c1d87828801613ae9565b925050606085013567ffffffffffffffff811115613c3e57613c3d614942565b5b613c4a87828801613a8d565b91505092959194509250565b60008060408385031215613c6d57613c6c614947565b5b6000613c7b8582860161398d565b9250506020613c8c85828601613a4e565b9150509250929050565b60008060408385031215613cad57613cac614947565b5b6000613cbb8582860161398d565b9250506020613ccc85828601613ae9565b9150509250929050565b60008060008060408587031215613cf057613cef614947565b5b600085013567ffffffffffffffff811115613d0e57613d0d614942565b5b613d1a878288016139a2565b9450945050602085013567ffffffffffffffff811115613d3d57613d3c614942565b5b613d49878288016139f8565b925092505092959194509250565b600060208284031215613d6d57613d6c614947565b5b6000613d7b84828501613a63565b91505092915050565b600060208284031215613d9a57613d99614947565b5b6000613da884828501613a78565b91505092915050565b600060208284031215613dc757613dc6614947565b5b600082013567ffffffffffffffff811115613de557613de4614942565b5b613df184828501613abb565b91505092915050565b600060208284031215613e1057613e0f614947565b5b6000613e1e84828501613ae9565b91505092915050565b600060208284031215613e3d57613e3c614947565b5b6000613e4b84828501613afe565b91505092915050565b600080600060608486031215613e6d57613e6c614947565b5b6000613e7b86828701613ae9565b9350506020613e8c86828701613ae9565b925050604084013567ffffffffffffffff811115613ead57613eac614942565b5b613eb986828701613a8d565b9150509250925092565b613ecc81614637565b82525050565b613ee3613ede82614637565b61480b565b82525050565b613ef281614649565b82525050565b613f0181614655565b82525050565b613f18613f1382614655565b61481d565b82525050565b6000613f2982614539565b613f33818561454f565b9350613f4381856020860161472c565b613f4c8161494c565b840191505092915050565b613f60816146d5565b82525050565b613f6f816146e7565b82525050565b6000613f8082614544565b613f8a818561456b565b9350613f9a81856020860161472c565b613fa38161494c565b840191505092915050565b6000613fb982614544565b613fc3818561457c565b9350613fd381856020860161472c565b80840191505092915050565b60008154613fec8161475f565b613ff6818661457c565b94506001821660008114614011576001811461402257614055565b60ff19831686528186019350614055565b61402b85614524565b60005b8381101561404d5781548189015260018201915060208101905061402e565b838801955050505b50505092915050565b600061406b60188361456b565b91506140768261496a565b602082019050919050565b600061408e601f8361456b565b915061409982614993565b602082019050919050565b60006140b1601c8361457c565b91506140bc826149bc565b601c82019050919050565b60006140d460268361456b565b91506140df826149e5565b604082019050919050565b60006140f760228361456b565b915061410282614a34565b604082019050919050565b600061411a60228361456b565b915061412582614a83565b604082019050919050565b600061413d60208361456b565b915061414882614ad2565b602082019050919050565b6000614160600083614560565b915061416b82614afb565b600082019050919050565b61417f816146be565b82525050565b614196614191826146be565b614839565b82525050565b6141a5816146c8565b82525050565b60006141b78286613fdf565b91506141c38285613fae565b91506141cf8284613fdf565b9150819050949350505050565b60006141e7826140a4565b91506141f38284613f07565b60208201915081905092915050565b600061420d82614153565b9150819050919050565b60006142238285614185565b6020820191506142338284613ed2565b6014820191508190509392505050565b60006020820190506142586000830184613ec3565b92915050565b60006060820190506142736000830186613ec3565b6142806020830185613ec3565b61428d6040830184614176565b949350505050565b60006080820190506142aa6000830187613ec3565b6142b76020830186613ec3565b6142c46040830185614176565b81810360608301526142d68184613f1e565b905095945050505050565b60006040820190506142f66000830185613ec3565b6143036020830184614176565b9392505050565b600060208201905061431f6000830184613ee9565b92915050565b600060808201905061433a6000830187613ef8565b614347602083018661419c565b6143546040830185613ef8565b6143616060830184613ef8565b95945050505050565b600060208201905061437f6000830184613f57565b92915050565b600060208201905061439a6000830184613f66565b92915050565b600060208201905081810360008301526143ba8184613f75565b905092915050565b600060208201905081810360008301526143db8161405e565b9050919050565b600060208201905081810360008301526143fb81614081565b9050919050565b6000602082019050818103600083015261441b816140c7565b9050919050565b6000602082019050818103600083015261443b816140ea565b9050919050565b6000602082019050818103600083015261445b8161410d565b9050919050565b6000602082019050818103600083015261447b81614130565b9050919050565b60006020820190506144976000830184614176565b92915050565b60006144a76144b8565b90506144b38282614791565b919050565b6000604051905090565b600067ffffffffffffffff8211156144dd576144dc6148ff565b5b6144e68261494c565b9050602081019050919050565b600067ffffffffffffffff82111561450e5761450d6148ff565b5b6145178261494c565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614592826146be565b915061459d836146be565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145d2576145d1614843565b5b828201905092915050565b60006145e8826146be565b91506145f3836146be565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561462c5761462b614843565b5b828202905092915050565b60006146428261469e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061469982614afe565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006146e0826146f9565b9050919050565b60006146f28261468b565b9050919050565b60006147048261470b565b9050919050565b60006147168261469e565b9050919050565b82818337600083830152505050565b60005b8381101561474a57808201518184015260208101905061472f565b83811115614759576000848401525b50505050565b6000600282049050600182168061477757607f821691505b6020821081141561478b5761478a6148a1565b5b50919050565b61479a8261494c565b810181811067ffffffffffffffff821117156147b9576147b86148ff565b5b80604052505050565b60006147cd826146be565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614800576147ff614843565b5b600182019050919050565b600061481682614827565b9050919050565b6000819050919050565b60006148328261495d565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b60038110614b0f57614b0e614872565b5b50565b614b1b81614637565b8114614b2657600080fd5b50565b614b3281614649565b8114614b3d57600080fd5b50565b614b498161465f565b8114614b5457600080fd5b50565b614b60816146be565b8114614b6b57600080fd5b5056fea26469706673582212207fcd295f798bb21fdfc3ac1f02325a9f7832b59c8e961ef34391b948d3656bd964736f6c63430008070033697066733a2f2f516d535779554e4b69627062586552576d626735465435354a784451445138445a32743369726342627672357758

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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