ETH Price: $3,396.09 (+2.03%)

Token

DVDA The Cult (DVDA)
 

Overview

Max Total Supply

1,000 DVDA

Holders

660

Market

Volume (24H)

0.025 ETH

Min Price (24H)

$40.75 @ 0.012000 ETH

Max Price (24H)

$44.15 @ 0.013000 ETH
Balance
7 DVDA
0xf16547266b3c700ed45dc455bbfa014b70b973c0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DVDA

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : DVDA.sol
/*

 $$$$$$\   $$$$$$\  $$$$$$$\        $$\   $$\  $$$$$$\ $$$$$$$$\ $$$$$$$$\  $$$$$$\        $$\   $$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$$\  $$$$$$\  
$$  __$$\ $$  __$$\ $$  __$$\       $$ |  $$ |$$  __$$\\__$$  __|$$  _____|$$  __$$\       $$$\  $$ |$$  _____|\__$$  __|$$  _____|$$  _____|$$  __$$\ 
$$ /  \__|$$ /  $$ |$$ |  $$ |      $$ |  $$ |$$ /  $$ |  $$ |   $$ |      $$ /  \__|      $$$$\ $$ |$$ |         $$ |   $$ |      $$ |      $$ /  \__|
$$ |$$$$\ $$ |  $$ |$$ |  $$ |      $$$$$$$$ |$$$$$$$$ |  $$ |   $$$$$\    \$$$$$$\        $$ $$\$$ |$$$$$\       $$ |   $$$$$\    $$$$$\    \$$$$$$\  
$$ |\_$$ |$$ |  $$ |$$ |  $$ |      $$  __$$ |$$  __$$ |  $$ |   $$  __|    \____$$\       $$ \$$$$ |$$  __|      $$ |   $$  __|   $$  __|    \____$$\ 
$$ |  $$ |$$ |  $$ |$$ |  $$ |      $$ |  $$ |$$ |  $$ |  $$ |   $$ |      $$\   $$ |      $$ |\$$$ |$$ |         $$ |   $$ |      $$ |      $$\   $$ |
\$$$$$$  | $$$$$$  |$$$$$$$  |      $$ |  $$ |$$ |  $$ |  $$ |   $$$$$$$$\ \$$$$$$  |      $$ | \$$ |$$ |         $$ |   $$$$$$$$\ $$$$$$$$\ \$$$$$$  |
 \______/  \______/ \_______/       \__|  \__|\__|  \__|  \__|   \________| \______/       \__|  \__|\__|         \__|   \________|\________| \______/ 
                                                                                                                                                                                                                                                                                                          
⣿⣿⣿⣿ ⣿⣿ ⣿⣿⠟⠛⢉⢉⠉⠉⠻⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⠟⠠⡰⣕⣗⣷⣧⣀⣅⠘⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⠃⣠⣳⣟⣿⣿⣷⣿⡿⣜⠄⣿⣿⣿⣿⣿
⣿⣿⣿⣿⡿⠁⠄⣳⢷⣿⣿⣿⣿⡿⣝⠖⠄⣿⣿⣿⣿⣿
⣿⣿⣿⣿⠃⠄⢢⡹⣿⢷⣯⢿⢷⡫⣗⠍⢰⣿⣿⣿⣿⣿
⣿⣿⣿⡏⢀⢄⠤⣁⠋⠿⣗⣟⡯⡏⢎⠁⢸⣿⣿⣿⣿⣿
⣿⣿⣿⠄⢔⢕⣯⣿⣿⡲⡤⡄⡤⠄⡀⢠⣿⣿⣿⣿⣿⣿
⣿⣿⠇⠠⡳⣯⣿⣿⣾⢵⣫⢎⢎⠆⢀⣿⣿⣿⣿⣿⣿⣿
⣿⣿⠄⢨⣫⣿⣿⡿⣿⣻⢎⡗⡕⡅⢸⣿⣿⣿⣿⣿⣿⣿
⣿⣿⠄⢜⢾⣾⣿⣿⣟⣗⢯⡪⡳⡀⢸⣿⣿⣿⣿⣿⣿⣿
⣿⣿⠄⢸⢽⣿⣷⣿⣻⡮⡧⡳⡱⡁⢸⣿⣿⣿⣿⣿⣿⣿
⣿⣿⡄⢨⣻⣽⣿⣟⣿⣞⣗⡽⡸⡐⢸⣿⣿⣿⣿⣿⣿⣿
⣿⣿⡇⢀⢗⣿⣿⣿⣿⡿⣞⡵⡣⣊⢸⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⡀⡣⣗⣿⣿⣿⣿⣯⡯⡺⣼⠎⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣧⠐⡵⣻⣟⣯⣿⣷⣟⣝⢞⡿⢹⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⡆⢘⡺⣽⢿⣻⣿⣗⡷⣹⢩⢃⢿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣷⠄⠪⣯⣟⣿⢯⣿⣻⣜⢎⢆⠜⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⡆⠄⢣⣻⣽⣿⣿⣟⣾⡮⡺⡸⠸⣿⣿⣿⣿
⣿⣿⡿⠛⠉⠁⠄⢕⡳⣽⡾⣿⢽⣯⡿⣮⢚⣅⠹⣿⣿⣿
⡿⠋⠄⠄⠄⠄⢀⠒⠝⣞⢿⡿⣿⣽⢿⡽⣧⣳⡅⠌⠻⣿
⠁⠄⠄⠄⠄⠄⠐⡐⠱⡱⣻⡻⣝⣮⣟⣿⣻⣟⣻⡺⣿⣿

*/


// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "erc721a/contracts/extensions/ERC721AQueryable1.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


//OG contract (GodHatesNFTees) 0xe6d48bf4ee912235398b96e16db6f310c21e82cb
abstract contract Ghnft {
    function balanceOf(address owner) public view virtual returns (uint256);
}


//APE contract (ApeHaterClub) 0x9370045CE37F381500ac7D6802513bb89871e076
abstract contract Ahc {
    function balanceOf(address owner) public view virtual returns (uint256);
}





contract DVDA is ERC721AQueryable, Ownable, ReentrancyGuard {    

    using Strings for uint256;
    mapping(address => bool) public whitelisted;
    mapping(address => bool) public whitelistClaimed;
    mapping(address => bool) public publicClaimed;
    // Public Constants
    string public uriPrefix = "ipfs://QmbGFE1wx8fcBM6VxtWjWAayfbHH2KLUGCoPeERHLbuJWX/";
    string public uriSuffix = ".json";
    uint256 public constant MAX_SUPPLY = 1000; //TOTAL SUPPLY OF DVDAS (1000)
    uint256 public maxMintAmountPerAddress = 1;


    // Variables
    string private baseURI;
    string public hiddenMetadataUri;
    uint256 public _minted = 0;


    // Sale controllers
    bool public WhitelistMintActive  = false ; 
    bool public PublicMintActive = false ; 
    //Instant reveal
    bool public revealed = true;


    Ghnft private immutable ghnft;
    Ahc private immutable ahc;

    
    constructor(
        string memory name,
        string memory symbol,
        address ghnftAddress,
        address ahcAddress
    ) ERC721A(name, symbol) {
        ghnft = Ghnft(ghnftAddress);
        ahc = Ahc(ahcAddress);
    }
    //WHITELIST MINT (FREE)
  function whitelistMint() external nonReentrant {
    require(WhitelistMintActive, "The whitelist sale is not enabled!");
    require(isInWhiteList(msg.sender),"Not a part of Whitelist");
    require(!whitelistClaimed[msg.sender], "Address already claimed Whitelist!");
    require(_minted + maxMintAmountPerAddress <= MAX_SUPPLY, "Exceed max supply");
    _minted += maxMintAmountPerAddress;
    whitelistClaimed[msg.sender] = true;
    _safeMint(msg.sender, maxMintAmountPerAddress);
  }



    //PUBLIC MINT (REQUIRES 1 GODHATES + 2 APES) (FREE)
    function PublicMint() external nonReentrant { 
        require(PublicMintActive, "Public sale is paused"); 
        require(ghnft.balanceOf(msg.sender) > 0 && ahc.balanceOf(msg.sender) >1, "Must own at least 1 GodHates and 2 Apes to mint."); 
        require(!whitelistClaimed[msg.sender], "Address already claimed Whitelist!");
        require(!publicClaimed[msg.sender], "Address already claimed Public!");
        require(_minted + maxMintAmountPerAddress <= MAX_SUPPLY, "Exceed max supply");
        publicClaimed[msg.sender] = true;
        _minted += maxMintAmountPerAddress;
        _safeMint(msg.sender,maxMintAmountPerAddress);
    }

    //TEAM MINT
    function internalMint(uint256 amount) external onlyOwner  {
        require(_minted + amount <= MAX_SUPPLY, "Max supply exceeded!");
        _minted += amount;
        _safeMint(msg.sender, amount);
    }
    function HowManyOGs(address owner) public view returns (uint256){
        uint256 numberogs = ghnft.balanceOf(owner);
        return numberogs;
    }
    function HowManyAHCs(address owner) public view returns (uint256){
        uint256 numberahcs = ahc.balanceOf(owner);
        return numberahcs;
    }

    //SETS
    function setWhitelistMint(bool _state) public onlyOwner {
            WhitelistMintActive = _state;
        }
        function setPublicMint(bool _state) public onlyOwner {
            PublicMintActive = _state;
        }
    function addToWhiteList(address _addr) public onlyOwner {
        whitelisted[_addr] = true;
    }

    function addArrayToWhiteList(address[] memory _addrs) public onlyOwner {
        for (uint256 i=0;i< _addrs.length;i++)
            whitelisted[_addrs[i]] = true; 
    }

    function removeFromWhiteList(address _addr) public onlyOwner {
        whitelisted[_addr] = false;
    }

    function isInWhiteList(address _addr) private view returns (bool) {
        return whitelisted[_addr] ;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return uriPrefix;
    }
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
            : '';
    }

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

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

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

   function withdrawMoney() external onlyOwner {
      (bool success, ) = msg.sender.call{value: address(this).balance}("");
      require(success, "WITHDRAW FAILED!");
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 6 of 14 : ERC721AQueryable1.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "../ERC721a.sol";

error InvalidQueryRange();

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) public view returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _currentIndex) {
            return ownership;
        }
        ownership = _ownerships[tokenId];
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _currentIndex;
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, _currentIndex)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 7 of 14 : ERC721a.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"ghnftAddress","type":"address"},{"internalType":"address","name":"ahcAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"HowManyAHCs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"HowManyOGs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"PublicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WhitelistMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"}],"name":"addArrayToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addToWhiteList","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","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":"maxMintAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeFromWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526040518060600160405280603681526020016200592560369139600d90816200002e91906200052d565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e90816200007591906200052d565b506001600f5560006012556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055506001601360026101000a81548160ff021916908315150217905550348015620000de57600080fd5b506040516200595b3803806200595b8339818101604052810190620001049190620007dd565b838381600290816200011791906200052d565b5080600390816200012991906200052d565b506200013a620001dc60201b60201c565b60008190555050506200016262000156620001e560201b60201c565b620001ed60201b60201c565b60016009819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1681525050505050506200088d565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033557607f821691505b6020821081036200034b576200034a620002ed565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003b57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000376565b620003c1868362000376565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200040e620004086200040284620003d9565b620003e3565b620003d9565b9050919050565b6000819050919050565b6200042a83620003ed565b62000442620004398262000415565b84845462000383565b825550505050565b600090565b620004596200044a565b620004668184846200041f565b505050565b5b818110156200048e57620004826000826200044f565b6001810190506200046c565b5050565b601f821115620004dd57620004a78162000351565b620004b28462000366565b81016020851015620004c2578190505b620004da620004d18562000366565b8301826200046b565b50505b505050565b600082821c905092915050565b60006200050260001984600802620004e2565b1980831691505092915050565b60006200051d8383620004ef565b9150826002028217905092915050565b6200053882620002b3565b67ffffffffffffffff811115620005545762000553620002be565b5b6200056082546200031c565b6200056d82828562000492565b600060209050601f831160018114620005a5576000841562000590578287015190505b6200059c85826200050f565b8655506200060c565b601f198416620005b58662000351565b60005b82811015620005df57848901518255600182019150602085019450602081019050620005b8565b86831015620005ff5784890151620005fb601f891682620004ef565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200064e8262000632565b810181811067ffffffffffffffff8211171562000670576200066f620002be565b5b80604052505050565b60006200068562000614565b905062000693828262000643565b919050565b600067ffffffffffffffff821115620006b657620006b5620002be565b5b620006c18262000632565b9050602081019050919050565b60005b83811015620006ee578082015181840152602081019050620006d1565b60008484015250505050565b6000620007116200070b8462000698565b62000679565b90508281526020810184848401111562000730576200072f6200062d565b5b6200073d848285620006ce565b509392505050565b600082601f8301126200075d576200075c62000628565b5b81516200076f848260208601620006fa565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007a58262000778565b9050919050565b620007b78162000798565b8114620007c357600080fd5b50565b600081519050620007d781620007ac565b92915050565b60008060008060808587031215620007fa57620007f96200061e565b5b600085015167ffffffffffffffff8111156200081b576200081a62000623565b5b620008298782880162000745565b945050602085015167ffffffffffffffff8111156200084d576200084c62000623565b5b6200085b8782880162000745565b93505060406200086e87828801620007c6565b92505060606200088187828801620007c6565b91505092959194509250565b60805160a051615064620008c1600039600081816110e30152612274015260008181610c9101526121d001526150646000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c8063715018a611610167578063b5b1cd7c116100ce578063d936547e11610087578063d936547e146107ea578063db4bec441461081a578063e0a808531461084a578063e985e9c514610866578063f2fde38b14610896578063fe1881c4146108b257610295565b8063b5b1cd7c14610704578063b88d4fde14610734578063c23dc68f14610750578063c243c6c114610780578063c87b56dd1461079c578063cd902acf146107cc57610295565b806395d89b411161012057806395d89b411461065657806399a2557a14610674578063a22cb465146106a4578063a45ba8e7146106c0578063ac446002146106de578063acd0d9a6146106e857610295565b8063715018a6146105a857806372c3fd6e146105b25780637ec4a659146105e2578063804f43cd146105fe5780638462151c146106085780638da5cb5b1461063857610295565b80633fb1ec571161020b5780635c41d75e116101c45780635c41d75e146104d25780635d56d55e146104f057806362b99ad41461050c578063633417731461052a5780636352211e1461054857806370a082311461057857610295565b80633fb1ec57146103fe57806342842e0e1461042e57806347ee03941461044a57806351830227146104665780635503a0e8146104845780635bbb2177146104a257610295565b80630e2d56cf1161025d5780630e2d56cf1461035057806316ba10e01461036c57806318160ddd1461038857806323b872dd146103a65780632c19b7f3146103c257806332cb6b0c146103e057610295565b806301bf66481461029a57806301ffc9a7146102b657806306fdde03146102e6578063081812fc14610304578063095ea7b314610334575b600080fd5b6102b460048036038101906102af91906137bc565b6108bc565b005b6102d060048036038101906102cb9190613841565b61091f565b6040516102dd9190613889565b60405180910390f35b6102ee610a01565b6040516102fb9190613934565b60405180910390f35b61031e6004803603810190610319919061398c565b610a93565b60405161032b91906139c8565b60405180910390f35b61034e600480360381019061034991906139e3565b610b0f565b005b61036a60048036038101906103659190613a4f565b610c19565b005b61038660048036038101906103819190613bb1565b610c3e565b005b610390610c59565b60405161039d9190613c09565b60405180910390f35b6103c060048036038101906103bb9190613c24565b610c70565b005b6103ca610c80565b6040516103d79190613c09565b60405180910390f35b6103e8610c86565b6040516103f59190613c09565b60405180910390f35b610418600480360381019061041391906137bc565b610c8c565b6040516104259190613c09565b60405180910390f35b61044860048036038101906104439190613c24565b610d34565b005b610464600480360381019061045f91906137bc565b610d54565b005b61046e610db7565b60405161047b9190613889565b60405180910390f35b61048c610dca565b6040516104999190613934565b60405180910390f35b6104bc60048036038101906104b79190613d3f565b610e58565b6040516104c99190613eba565b60405180910390f35b6104da610f19565b6040516104e79190613c09565b60405180910390f35b61050a60048036038101906105059190613a4f565b610f1f565b005b610514610f44565b6040516105219190613934565b60405180910390f35b610532610fd2565b60405161053f9190613889565b60405180910390f35b610562600480360381019061055d919061398c565b610fe5565b60405161056f91906139c8565b60405180910390f35b610592600480360381019061058d91906137bc565b610ffb565b60405161059f9190613c09565b60405180910390f35b6105b06110ca565b005b6105cc60048036038101906105c791906137bc565b6110de565b6040516105d99190613c09565b60405180910390f35b6105fc60048036038101906105f79190613bb1565b611186565b005b6106066111a1565b005b610622600480360381019061061d91906137bc565b6113ef565b60405161062f9190613f9a565b60405180910390f35b6106406115ea565b60405161064d91906139c8565b60405180910390f35b61065e611614565b60405161066b9190613934565b60405180910390f35b61068e60048036038101906106899190613fbc565b6116a6565b60405161069b9190613f9a565b60405180910390f35b6106be60048036038101906106b9919061400f565b611965565b005b6106c8611adc565b6040516106d59190613934565b60405180910390f35b6106e6611b6a565b005b61070260048036038101906106fd919061398c565b611c21565b005b61071e600480360381019061071991906137bc565b611ca1565b60405161072b9190613889565b60405180910390f35b61074e600480360381019061074991906140f0565b611cc1565b005b61076a6004803603810190610765919061398c565b611d3d565b60405161077791906141b5565b60405180910390f35b61079a60048036038101906107959190614293565b611e5a565b005b6107b660048036038101906107b1919061398c565b611ef7565b6040516107c39190613934565b60405180910390f35b6107d4611fa1565b6040516107e19190613889565b60405180910390f35b61080460048036038101906107ff91906137bc565b611fb4565b6040516108119190613889565b60405180910390f35b610834600480360381019061082f91906137bc565b611fd4565b6040516108419190613889565b60405180910390f35b610864600480360381019061085f9190613a4f565b611ff4565b005b610880600480360381019061087b91906142dc565b612019565b60405161088d9190613889565b60405180910390f35b6108b060048036038101906108ab91906137bc565b6120ad565b005b6108ba612130565b005b6108c4612544565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ea57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109fa57506109f9826125c2565b5b9050919050565b606060028054610a109061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c9061434b565b8015610a895780601f10610a5e57610100808354040283529160200191610a89565b820191906000526020600020905b815481529060010190602001808311610a6c57829003601f168201915b5050505050905090565b6000610a9e8261262c565b610ad4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1a82610fe5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b81576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ba061267a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bd25750610bd081610bcb61267a565b612019565b155b15610c09576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c14838383612682565b505050565b610c21612544565b80601360016101000a81548160ff02191690831515021790555050565b610c46612544565b80600e9081610c559190614528565b5050565b6000610c63612734565b6001546000540303905090565b610c7b83838361273d565b505050565b60125481565b6103e881565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ce891906139c8565b602060405180830381865afa158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d29919061460f565b905080915050919050565b610d4f83838360405180602001604052806000815250611cc1565b505050565b610d5c612544565b6001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601360029054906101000a900460ff1681565b600e8054610dd79061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e039061434b565b8015610e505780601f10610e2557610100808354040283529160200191610e50565b820191906000526020600020905b815481529060010190602001808311610e3357829003601f168201915b505050505081565b606060008251905060008167ffffffffffffffff811115610e7c57610e7b613a86565b5b604051908082528060200260200182016040528015610eb557816020015b610ea2613707565b815260200190600190039081610e9a5790505b50905060005b828114610f0e57610ee5858281518110610ed857610ed761463c565b5b6020026020010151611d3d565b828281518110610ef857610ef761463c565b5b6020026020010181905250806001019050610ebb565b508092505050919050565b600f5481565b610f27612544565b80601360006101000a81548160ff02191690831515021790555050565b600d8054610f519061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d9061434b565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505081565b601360009054906101000a900460ff1681565b6000610ff082612bf1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611062576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110d2612544565b6110dc6000612e80565b565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161113a91906139c8565b602060405180830381865afa158015611157573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117b919061460f565b905080915050919050565b61118e612544565b80600d908161119d9190614528565b5050565b6002600954036111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906146b7565b60405180910390fd5b6002600981905550601360009054906101000a900460ff1661123d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123490614749565b60405180910390fd5b61124633612f46565b611285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127c906147b5565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990614847565b60405180910390fd5b6103e8600f546012546113259190614896565b1115611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90614916565b60405180910390fd5b600f546012600082825461137a9190614896565b925050819055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113e533600f54612f9c565b6001600981905550565b606060008060006113ff85610ffb565b905060008167ffffffffffffffff81111561141d5761141c613a86565b5b60405190808252806020026020018201604052801561144b5781602001602082028036833780820191505090505b509050611456613707565b6000611460612734565b90505b8386146115dc57600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050915081604001516115d157600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461157657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036115d057808387806001019850815181106115c3576115c261463c565b5b6020026020010181815250505b5b806001019050611463565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546116239061434b565b80601f016020809104026020016040519081016040528092919081815260200182805461164f9061434b565b801561169c5780601f106116715761010080835404028352916020019161169c565b820191906000526020600020905b81548152906001019060200180831161167f57829003601f168201915b5050505050905090565b60608183106116e1576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005490506116f1612734565b85101561170357611700612734565b94505b8084111561170f578093505b600061171a87610ffb565b90508486101561173d576000868603905081811015611737578091505b50611742565b600090505b60008167ffffffffffffffff81111561175e5761175d613a86565b5b60405190808252806020026020018201604052801561178c5781602001602082028036833780820191505090505b509050600082036117a3578094505050505061195e565b60006117ae88611d3d565b9050600081604001516117c357816000015190505b60008990505b8881141580156117d95750848714155b1561195057600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015161194557600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146118ea57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361194457808488806001019950815181106119375761193661463c565b5b6020026020010181815250505b5b8060010190506117c9565b508583528296505050505050505b9392505050565b61196d61267a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119d1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119de61267a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a8b61267a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ad09190613889565b60405180910390a35050565b60118054611ae99061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b159061434b565b8015611b625780601f10611b3757610100808354040283529160200191611b62565b820191906000526020600020905b815481529060010190602001808311611b4557829003601f168201915b505050505081565b611b72612544565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611b9890614967565b60006040518083038185875af1925050503d8060008114611bd5576040519150601f19603f3d011682016040523d82523d6000602084013e611bda565b606091505b5050905080611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c15906149c8565b60405180910390fd5b50565b611c29612544565b6103e881601254611c3a9190614896565b1115611c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7290614a34565b60405180910390fd5b8060126000828254611c8d9190614896565b92505081905550611c9e3382612f9c565b50565b600c6020528060005260406000206000915054906101000a900460ff1681565b611ccc84848461273d565b611ceb8373ffffffffffffffffffffffffffffffffffffffff16612fba565b8015611d005750611cfe84848484612fdd565b155b15611d37576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611d45613707565b611d4d613707565b611d55612734565b831080611d6457506000548310155b15611d725780915050611e55565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115611e485780915050611e55565b611e5183612bf1565b9150505b919050565b611e62612544565b60005b8151811015611ef3576001600a6000848481518110611e8757611e8661463c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611eeb90614a54565b915050611e65565b5050565b6060611f028261262c565b611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3890614b0e565b60405180910390fd5b6000611f4b61312d565b90506000815111611f6b5760405180602001604052806000815250611f99565b80611f75846131bf565b600e604051602001611f8993929190614bed565b6040516020818303038152906040525b915050919050565b601360019054906101000a900460ff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b611ffc612544565b80601360026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120b5612544565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b90614c90565b60405180910390fd5b61212d81612e80565b50565b600260095403612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c906146b7565b60405180910390fd5b6002600981905550601360019054906101000a900460ff166121cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c390614cfc565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161222791906139c8565b602060405180830381865afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612268919061460f565b11801561230e575060017f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016122cb91906139c8565b602060405180830381865afa1580156122e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230c919061460f565b115b61234d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234490614d8e565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156123da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d190614847565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e90614dfa565b60405180910390fd5b6103e8600f5460125461247a9190614896565b11156124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290614916565b60405180910390fd5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600f54601260008282546125279190614896565b9250508190555061253a33600f54612f9c565b6001600981905550565b61254c61267a565b73ffffffffffffffffffffffffffffffffffffffff1661256a6115ea565b73ffffffffffffffffffffffffffffffffffffffff16146125c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b790614e66565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612637612734565b11158015612646575060005482105b8015612673575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061274882612bf1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127b3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166127d461267a565b73ffffffffffffffffffffffffffffffffffffffff1614806128035750612802856127fd61267a565b612019565b5b80612848575061281161267a565b73ffffffffffffffffffffffffffffffffffffffff1661283084610a93565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612881576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128e7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128f4858585600161331f565b61290060008487612682565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612b7f576000548214612b7e57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bea8585856001613325565b5050505050565b612bf9613707565b600082905080612c07612734565b11158015612c16575060005481105b15612e49576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612e4757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d2b578092505050612e7b565b5b600115612e4657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e41578092505050612e7b565b612d2c565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b612fb682826040518060200160405280600081525061332b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300361267a565b8786866040518563ffffffff1660e01b81526004016130259493929190614edb565b6020604051808303816000875af192505050801561306157506040513d601f19601f8201168201806040525081019061305e9190614f3c565b60015b6130da573d8060008114613091576040519150601f19603f3d011682016040523d82523d6000602084013e613096565b606091505b5060008151036130d2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d805461313c9061434b565b80601f01602080910402602001604051908101604052809291908181526020018280546131689061434b565b80156131b55780601f1061318a576101008083540402835291602001916131b5565b820191906000526020600020905b81548152906001019060200180831161319857829003601f168201915b5050505050905090565b606060008203613206576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061331a565b600082905060005b6000821461323857808061322190614a54565b915050600a826132319190614f98565b915061320e565b60008167ffffffffffffffff81111561325457613253613a86565b5b6040519080825280601f01601f1916602001820160405280156132865781602001600182028036833780820191505090505b5090505b600085146133135760018261329f9190614fc9565b9150600a856132ae9190614ffd565b60306132ba9190614896565b60f81b8183815181106132d0576132cf61463c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561330c9190614f98565b945061328a565b8093505050505b919050565b50505050565b50505050565b613338838383600161333d565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036133a9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036133e3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133f0600086838761331f565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156135ba57506135b98773ffffffffffffffffffffffffffffffffffffffff16612fba565b5b1561367f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461362f6000888480600101955088612fdd565b613665576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036135c057826000541461367a57600080fd5b6136ea565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613680575b8160008190555050506137006000868387613325565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137898261375e565b9050919050565b6137998161377e565b81146137a457600080fd5b50565b6000813590506137b681613790565b92915050565b6000602082840312156137d2576137d1613754565b5b60006137e0848285016137a7565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61381e816137e9565b811461382957600080fd5b50565b60008135905061383b81613815565b92915050565b60006020828403121561385757613856613754565b5b60006138658482850161382c565b91505092915050565b60008115159050919050565b6138838161386e565b82525050565b600060208201905061389e600083018461387a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138de5780820151818401526020810190506138c3565b60008484015250505050565b6000601f19601f8301169050919050565b6000613906826138a4565b61391081856138af565b93506139208185602086016138c0565b613929816138ea565b840191505092915050565b6000602082019050818103600083015261394e81846138fb565b905092915050565b6000819050919050565b61396981613956565b811461397457600080fd5b50565b60008135905061398681613960565b92915050565b6000602082840312156139a2576139a1613754565b5b60006139b084828501613977565b91505092915050565b6139c28161377e565b82525050565b60006020820190506139dd60008301846139b9565b92915050565b600080604083850312156139fa576139f9613754565b5b6000613a08858286016137a7565b9250506020613a1985828601613977565b9150509250929050565b613a2c8161386e565b8114613a3757600080fd5b50565b600081359050613a4981613a23565b92915050565b600060208284031215613a6557613a64613754565b5b6000613a7384828501613a3a565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613abe826138ea565b810181811067ffffffffffffffff82111715613add57613adc613a86565b5b80604052505050565b6000613af061374a565b9050613afc8282613ab5565b919050565b600067ffffffffffffffff821115613b1c57613b1b613a86565b5b613b25826138ea565b9050602081019050919050565b82818337600083830152505050565b6000613b54613b4f84613b01565b613ae6565b905082815260208101848484011115613b7057613b6f613a81565b5b613b7b848285613b32565b509392505050565b600082601f830112613b9857613b97613a7c565b5b8135613ba8848260208601613b41565b91505092915050565b600060208284031215613bc757613bc6613754565b5b600082013567ffffffffffffffff811115613be557613be4613759565b5b613bf184828501613b83565b91505092915050565b613c0381613956565b82525050565b6000602082019050613c1e6000830184613bfa565b92915050565b600080600060608486031215613c3d57613c3c613754565b5b6000613c4b868287016137a7565b9350506020613c5c868287016137a7565b9250506040613c6d86828701613977565b9150509250925092565b600067ffffffffffffffff821115613c9257613c91613a86565b5b602082029050602081019050919050565b600080fd5b6000613cbb613cb684613c77565b613ae6565b90508083825260208201905060208402830185811115613cde57613cdd613ca3565b5b835b81811015613d075780613cf38882613977565b845260208401935050602081019050613ce0565b5050509392505050565b600082601f830112613d2657613d25613a7c565b5b8135613d36848260208601613ca8565b91505092915050565b600060208284031215613d5557613d54613754565b5b600082013567ffffffffffffffff811115613d7357613d72613759565b5b613d7f84828501613d11565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613dbd8161377e565b82525050565b600067ffffffffffffffff82169050919050565b613de081613dc3565b82525050565b613def8161386e565b82525050565b606082016000820151613e0b6000850182613db4565b506020820151613e1e6020850182613dd7565b506040820151613e316040850182613de6565b50505050565b6000613e438383613df5565b60608301905092915050565b6000602082019050919050565b6000613e6782613d88565b613e718185613d93565b9350613e7c83613da4565b8060005b83811015613ead578151613e948882613e37565b9750613e9f83613e4f565b925050600181019050613e80565b5085935050505092915050565b60006020820190508181036000830152613ed48184613e5c565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f1181613956565b82525050565b6000613f238383613f08565b60208301905092915050565b6000602082019050919050565b6000613f4782613edc565b613f518185613ee7565b9350613f5c83613ef8565b8060005b83811015613f8d578151613f748882613f17565b9750613f7f83613f2f565b925050600181019050613f60565b5085935050505092915050565b60006020820190508181036000830152613fb48184613f3c565b905092915050565b600080600060608486031215613fd557613fd4613754565b5b6000613fe3868287016137a7565b9350506020613ff486828701613977565b925050604061400586828701613977565b9150509250925092565b6000806040838503121561402657614025613754565b5b6000614034858286016137a7565b925050602061404585828601613a3a565b9150509250929050565b600067ffffffffffffffff82111561406a57614069613a86565b5b614073826138ea565b9050602081019050919050565b600061409361408e8461404f565b613ae6565b9050828152602081018484840111156140af576140ae613a81565b5b6140ba848285613b32565b509392505050565b600082601f8301126140d7576140d6613a7c565b5b81356140e7848260208601614080565b91505092915050565b6000806000806080858703121561410a57614109613754565b5b6000614118878288016137a7565b9450506020614129878288016137a7565b935050604061413a87828801613977565b925050606085013567ffffffffffffffff81111561415b5761415a613759565b5b614167878288016140c2565b91505092959194509250565b6060820160008201516141896000850182613db4565b50602082015161419c6020850182613dd7565b5060408201516141af6040850182613de6565b50505050565b60006060820190506141ca6000830184614173565b92915050565b600067ffffffffffffffff8211156141eb576141ea613a86565b5b602082029050602081019050919050565b600061420f61420a846141d0565b613ae6565b9050808382526020820190506020840283018581111561423257614231613ca3565b5b835b8181101561425b578061424788826137a7565b845260208401935050602081019050614234565b5050509392505050565b600082601f83011261427a57614279613a7c565b5b813561428a8482602086016141fc565b91505092915050565b6000602082840312156142a9576142a8613754565b5b600082013567ffffffffffffffff8111156142c7576142c6613759565b5b6142d384828501614265565b91505092915050565b600080604083850312156142f3576142f2613754565b5b6000614301858286016137a7565b9250506020614312858286016137a7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061436357607f821691505b6020821081036143765761437561431c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143a1565b6143e886836143a1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061442561442061441b84613956565b614400565b613956565b9050919050565b6000819050919050565b61443f8361440a565b61445361444b8261442c565b8484546143ae565b825550505050565b600090565b61446861445b565b614473818484614436565b505050565b5b818110156144975761448c600082614460565b600181019050614479565b5050565b601f8211156144dc576144ad8161437c565b6144b684614391565b810160208510156144c5578190505b6144d96144d185614391565b830182614478565b50505b505050565b600082821c905092915050565b60006144ff600019846008026144e1565b1980831691505092915050565b600061451883836144ee565b9150826002028217905092915050565b614531826138a4565b67ffffffffffffffff81111561454a57614549613a86565b5b614554825461434b565b61455f82828561449b565b600060209050601f8311600181146145925760008415614580578287015190505b61458a858261450c565b8655506145f2565b601f1984166145a08661437c565b60005b828110156145c8578489015182556001820191506020850194506020810190506145a3565b868310156145e557848901516145e1601f8916826144ee565b8355505b6001600288020188555050505b505050505050565b60008151905061460981613960565b92915050565b60006020828403121561462557614624613754565b5b6000614633848285016145fa565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006146a1601f836138af565b91506146ac8261466b565b602082019050919050565b600060208201905081810360008301526146d081614694565b9050919050565b7f5468652077686974656c6973742073616c65206973206e6f7420656e61626c6560008201527f6421000000000000000000000000000000000000000000000000000000000000602082015250565b60006147336022836138af565b915061473e826146d7565b604082019050919050565b6000602082019050818103600083015261476281614726565b9050919050565b7f4e6f7420612070617274206f662057686974656c697374000000000000000000600082015250565b600061479f6017836138af565b91506147aa82614769565b602082019050919050565b600060208201905081810360008301526147ce81614792565b9050919050565b7f4164647265737320616c726561647920636c61696d65642057686974656c697360008201527f7421000000000000000000000000000000000000000000000000000000000000602082015250565b60006148316022836138af565b915061483c826147d5565b604082019050919050565b6000602082019050818103600083015261486081614824565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148a182613956565b91506148ac83613956565b92508282019050808211156148c4576148c3614867565b5b92915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b60006149006011836138af565b915061490b826148ca565b602082019050919050565b6000602082019050818103600083015261492f816148f3565b9050919050565b600081905092915050565b50565b6000614951600083614936565b915061495c82614941565b600082019050919050565b600061497282614944565b9150819050919050565b7f5749544844524157204641494c45442100000000000000000000000000000000600082015250565b60006149b26010836138af565b91506149bd8261497c565b602082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614a1e6014836138af565b9150614a29826149e8565b602082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b6000614a5f82613956565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a9157614a90614867565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614af8602f836138af565b9150614b0382614a9c565b604082019050919050565b60006020820190508181036000830152614b2781614aeb565b9050919050565b600081905092915050565b6000614b44826138a4565b614b4e8185614b2e565b9350614b5e8185602086016138c0565b80840191505092915050565b60008154614b778161434b565b614b818186614b2e565b94506001821660008114614b9c5760018114614bb157614be4565b60ff1983168652811515820286019350614be4565b614bba8561437c565b60005b83811015614bdc57815481890152600182019150602081019050614bbd565b838801955050505b50505092915050565b6000614bf98286614b39565b9150614c058285614b39565b9150614c118284614b6a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c7a6026836138af565b9150614c8582614c1e565b604082019050919050565b60006020820190508181036000830152614ca981614c6d565b9050919050565b7f5075626c69632073616c65206973207061757365640000000000000000000000600082015250565b6000614ce66015836138af565b9150614cf182614cb0565b602082019050919050565b60006020820190508181036000830152614d1581614cd9565b9050919050565b7f4d757374206f776e206174206c65617374203120476f64486174657320616e6460008201527f2032204170657320746f206d696e742e00000000000000000000000000000000602082015250565b6000614d786030836138af565b9150614d8382614d1c565b604082019050919050565b60006020820190508181036000830152614da781614d6b565b9050919050565b7f4164647265737320616c726561647920636c61696d6564205075626c69632100600082015250565b6000614de4601f836138af565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e506020836138af565b9150614e5b82614e1a565b602082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614ead82614e86565b614eb78185614e91565b9350614ec78185602086016138c0565b614ed0816138ea565b840191505092915050565b6000608082019050614ef060008301876139b9565b614efd60208301866139b9565b614f0a6040830185613bfa565b8181036060830152614f1c8184614ea2565b905095945050505050565b600081519050614f3681613815565b92915050565b600060208284031215614f5257614f51613754565b5b6000614f6084828501614f27565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614fa382613956565b9150614fae83613956565b925082614fbe57614fbd614f69565b5b828204905092915050565b6000614fd482613956565b9150614fdf83613956565b9250828203905081811115614ff757614ff6614867565b5b92915050565b600061500882613956565b915061501383613956565b92508261502357615022614f69565b5b82820690509291505056fea2646970667358221220fb7935cfafbcf8af1ebbde90d7b35225fea624cfa6c559a977eceb33bf17906464736f6c63430008100033697066733a2f2f516d62474645317778386663424d36567874576a5741617966624848324b4c5547436f50654552484c62754a57582f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb0000000000000000000000009370045ce37f381500ac7d6802513bb89871e076000000000000000000000000000000000000000000000000000000000000000d44564441205468652043756c740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044456444100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102955760003560e01c8063715018a611610167578063b5b1cd7c116100ce578063d936547e11610087578063d936547e146107ea578063db4bec441461081a578063e0a808531461084a578063e985e9c514610866578063f2fde38b14610896578063fe1881c4146108b257610295565b8063b5b1cd7c14610704578063b88d4fde14610734578063c23dc68f14610750578063c243c6c114610780578063c87b56dd1461079c578063cd902acf146107cc57610295565b806395d89b411161012057806395d89b411461065657806399a2557a14610674578063a22cb465146106a4578063a45ba8e7146106c0578063ac446002146106de578063acd0d9a6146106e857610295565b8063715018a6146105a857806372c3fd6e146105b25780637ec4a659146105e2578063804f43cd146105fe5780638462151c146106085780638da5cb5b1461063857610295565b80633fb1ec571161020b5780635c41d75e116101c45780635c41d75e146104d25780635d56d55e146104f057806362b99ad41461050c578063633417731461052a5780636352211e1461054857806370a082311461057857610295565b80633fb1ec57146103fe57806342842e0e1461042e57806347ee03941461044a57806351830227146104665780635503a0e8146104845780635bbb2177146104a257610295565b80630e2d56cf1161025d5780630e2d56cf1461035057806316ba10e01461036c57806318160ddd1461038857806323b872dd146103a65780632c19b7f3146103c257806332cb6b0c146103e057610295565b806301bf66481461029a57806301ffc9a7146102b657806306fdde03146102e6578063081812fc14610304578063095ea7b314610334575b600080fd5b6102b460048036038101906102af91906137bc565b6108bc565b005b6102d060048036038101906102cb9190613841565b61091f565b6040516102dd9190613889565b60405180910390f35b6102ee610a01565b6040516102fb9190613934565b60405180910390f35b61031e6004803603810190610319919061398c565b610a93565b60405161032b91906139c8565b60405180910390f35b61034e600480360381019061034991906139e3565b610b0f565b005b61036a60048036038101906103659190613a4f565b610c19565b005b61038660048036038101906103819190613bb1565b610c3e565b005b610390610c59565b60405161039d9190613c09565b60405180910390f35b6103c060048036038101906103bb9190613c24565b610c70565b005b6103ca610c80565b6040516103d79190613c09565b60405180910390f35b6103e8610c86565b6040516103f59190613c09565b60405180910390f35b610418600480360381019061041391906137bc565b610c8c565b6040516104259190613c09565b60405180910390f35b61044860048036038101906104439190613c24565b610d34565b005b610464600480360381019061045f91906137bc565b610d54565b005b61046e610db7565b60405161047b9190613889565b60405180910390f35b61048c610dca565b6040516104999190613934565b60405180910390f35b6104bc60048036038101906104b79190613d3f565b610e58565b6040516104c99190613eba565b60405180910390f35b6104da610f19565b6040516104e79190613c09565b60405180910390f35b61050a60048036038101906105059190613a4f565b610f1f565b005b610514610f44565b6040516105219190613934565b60405180910390f35b610532610fd2565b60405161053f9190613889565b60405180910390f35b610562600480360381019061055d919061398c565b610fe5565b60405161056f91906139c8565b60405180910390f35b610592600480360381019061058d91906137bc565b610ffb565b60405161059f9190613c09565b60405180910390f35b6105b06110ca565b005b6105cc60048036038101906105c791906137bc565b6110de565b6040516105d99190613c09565b60405180910390f35b6105fc60048036038101906105f79190613bb1565b611186565b005b6106066111a1565b005b610622600480360381019061061d91906137bc565b6113ef565b60405161062f9190613f9a565b60405180910390f35b6106406115ea565b60405161064d91906139c8565b60405180910390f35b61065e611614565b60405161066b9190613934565b60405180910390f35b61068e60048036038101906106899190613fbc565b6116a6565b60405161069b9190613f9a565b60405180910390f35b6106be60048036038101906106b9919061400f565b611965565b005b6106c8611adc565b6040516106d59190613934565b60405180910390f35b6106e6611b6a565b005b61070260048036038101906106fd919061398c565b611c21565b005b61071e600480360381019061071991906137bc565b611ca1565b60405161072b9190613889565b60405180910390f35b61074e600480360381019061074991906140f0565b611cc1565b005b61076a6004803603810190610765919061398c565b611d3d565b60405161077791906141b5565b60405180910390f35b61079a60048036038101906107959190614293565b611e5a565b005b6107b660048036038101906107b1919061398c565b611ef7565b6040516107c39190613934565b60405180910390f35b6107d4611fa1565b6040516107e19190613889565b60405180910390f35b61080460048036038101906107ff91906137bc565b611fb4565b6040516108119190613889565b60405180910390f35b610834600480360381019061082f91906137bc565b611fd4565b6040516108419190613889565b60405180910390f35b610864600480360381019061085f9190613a4f565b611ff4565b005b610880600480360381019061087b91906142dc565b612019565b60405161088d9190613889565b60405180910390f35b6108b060048036038101906108ab91906137bc565b6120ad565b005b6108ba612130565b005b6108c4612544565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109ea57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109fa57506109f9826125c2565b5b9050919050565b606060028054610a109061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c9061434b565b8015610a895780601f10610a5e57610100808354040283529160200191610a89565b820191906000526020600020905b815481529060010190602001808311610a6c57829003601f168201915b5050505050905090565b6000610a9e8261262c565b610ad4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1a82610fe5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b81576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ba061267a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bd25750610bd081610bcb61267a565b612019565b155b15610c09576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c14838383612682565b505050565b610c21612544565b80601360016101000a81548160ff02191690831515021790555050565b610c46612544565b80600e9081610c559190614528565b5050565b6000610c63612734565b6001546000540303905090565b610c7b83838361273d565b505050565b60125481565b6103e881565b6000807f000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ce891906139c8565b602060405180830381865afa158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d29919061460f565b905080915050919050565b610d4f83838360405180602001604052806000815250611cc1565b505050565b610d5c612544565b6001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601360029054906101000a900460ff1681565b600e8054610dd79061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e039061434b565b8015610e505780601f10610e2557610100808354040283529160200191610e50565b820191906000526020600020905b815481529060010190602001808311610e3357829003601f168201915b505050505081565b606060008251905060008167ffffffffffffffff811115610e7c57610e7b613a86565b5b604051908082528060200260200182016040528015610eb557816020015b610ea2613707565b815260200190600190039081610e9a5790505b50905060005b828114610f0e57610ee5858281518110610ed857610ed761463c565b5b6020026020010151611d3d565b828281518110610ef857610ef761463c565b5b6020026020010181905250806001019050610ebb565b508092505050919050565b600f5481565b610f27612544565b80601360006101000a81548160ff02191690831515021790555050565b600d8054610f519061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d9061434b565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505081565b601360009054906101000a900460ff1681565b6000610ff082612bf1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611062576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110d2612544565b6110dc6000612e80565b565b6000807f0000000000000000000000009370045ce37f381500ac7d6802513bb89871e07673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161113a91906139c8565b602060405180830381865afa158015611157573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117b919061460f565b905080915050919050565b61118e612544565b80600d908161119d9190614528565b5050565b6002600954036111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906146b7565b60405180910390fd5b6002600981905550601360009054906101000a900460ff1661123d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123490614749565b60405180910390fd5b61124633612f46565b611285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127c906147b5565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990614847565b60405180910390fd5b6103e8600f546012546113259190614896565b1115611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90614916565b60405180910390fd5b600f546012600082825461137a9190614896565b925050819055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506113e533600f54612f9c565b6001600981905550565b606060008060006113ff85610ffb565b905060008167ffffffffffffffff81111561141d5761141c613a86565b5b60405190808252806020026020018201604052801561144b5781602001602082028036833780820191505090505b509050611456613707565b6000611460612734565b90505b8386146115dc57600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050915081604001516115d157600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461157657816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036115d057808387806001019850815181106115c3576115c261463c565b5b6020026020010181815250505b5b806001019050611463565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546116239061434b565b80601f016020809104026020016040519081016040528092919081815260200182805461164f9061434b565b801561169c5780601f106116715761010080835404028352916020019161169c565b820191906000526020600020905b81548152906001019060200180831161167f57829003601f168201915b5050505050905090565b60608183106116e1576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005490506116f1612734565b85101561170357611700612734565b94505b8084111561170f578093505b600061171a87610ffb565b90508486101561173d576000868603905081811015611737578091505b50611742565b600090505b60008167ffffffffffffffff81111561175e5761175d613a86565b5b60405190808252806020026020018201604052801561178c5781602001602082028036833780820191505090505b509050600082036117a3578094505050505061195e565b60006117ae88611d3d565b9050600081604001516117c357816000015190505b60008990505b8881141580156117d95750848714155b1561195057600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015161194557600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146118ea57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361194457808488806001019950815181106119375761193661463c565b5b6020026020010181815250505b5b8060010190506117c9565b508583528296505050505050505b9392505050565b61196d61267a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119d1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119de61267a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a8b61267a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ad09190613889565b60405180910390a35050565b60118054611ae99061434b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b159061434b565b8015611b625780601f10611b3757610100808354040283529160200191611b62565b820191906000526020600020905b815481529060010190602001808311611b4557829003601f168201915b505050505081565b611b72612544565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611b9890614967565b60006040518083038185875af1925050503d8060008114611bd5576040519150601f19603f3d011682016040523d82523d6000602084013e611bda565b606091505b5050905080611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c15906149c8565b60405180910390fd5b50565b611c29612544565b6103e881601254611c3a9190614896565b1115611c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7290614a34565b60405180910390fd5b8060126000828254611c8d9190614896565b92505081905550611c9e3382612f9c565b50565b600c6020528060005260406000206000915054906101000a900460ff1681565b611ccc84848461273d565b611ceb8373ffffffffffffffffffffffffffffffffffffffff16612fba565b8015611d005750611cfe84848484612fdd565b155b15611d37576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611d45613707565b611d4d613707565b611d55612734565b831080611d6457506000548310155b15611d725780915050611e55565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115611e485780915050611e55565b611e5183612bf1565b9150505b919050565b611e62612544565b60005b8151811015611ef3576001600a6000848481518110611e8757611e8661463c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611eeb90614a54565b915050611e65565b5050565b6060611f028261262c565b611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3890614b0e565b60405180910390fd5b6000611f4b61312d565b90506000815111611f6b5760405180602001604052806000815250611f99565b80611f75846131bf565b600e604051602001611f8993929190614bed565b6040516020818303038152906040525b915050919050565b601360019054906101000a900460ff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b611ffc612544565b80601360026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120b5612544565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b90614c90565b60405180910390fd5b61212d81612e80565b50565b600260095403612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c906146b7565b60405180910390fd5b6002600981905550601360019054906101000a900460ff166121cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c390614cfc565b60405180910390fd5b60007f000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161222791906139c8565b602060405180830381865afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612268919061460f565b11801561230e575060017f0000000000000000000000009370045ce37f381500ac7d6802513bb89871e07673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016122cb91906139c8565b602060405180830381865afa1580156122e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230c919061460f565b115b61234d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234490614d8e565b60405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156123da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d190614847565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e90614dfa565b60405180910390fd5b6103e8600f5460125461247a9190614896565b11156124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290614916565b60405180910390fd5b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600f54601260008282546125279190614896565b9250508190555061253a33600f54612f9c565b6001600981905550565b61254c61267a565b73ffffffffffffffffffffffffffffffffffffffff1661256a6115ea565b73ffffffffffffffffffffffffffffffffffffffff16146125c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b790614e66565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612637612734565b11158015612646575060005482105b8015612673575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061274882612bf1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127b3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166127d461267a565b73ffffffffffffffffffffffffffffffffffffffff1614806128035750612802856127fd61267a565b612019565b5b80612848575061281161267a565b73ffffffffffffffffffffffffffffffffffffffff1661283084610a93565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612881576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128e7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128f4858585600161331f565b61290060008487612682565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612b7f576000548214612b7e57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bea8585856001613325565b5050505050565b612bf9613707565b600082905080612c07612734565b11158015612c16575060005481105b15612e49576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612e4757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d2b578092505050612e7b565b5b600115612e4657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e41578092505050612e7b565b612d2c565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b612fb682826040518060200160405280600081525061332b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300361267a565b8786866040518563ffffffff1660e01b81526004016130259493929190614edb565b6020604051808303816000875af192505050801561306157506040513d601f19601f8201168201806040525081019061305e9190614f3c565b60015b6130da573d8060008114613091576040519150601f19603f3d011682016040523d82523d6000602084013e613096565b606091505b5060008151036130d2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d805461313c9061434b565b80601f01602080910402602001604051908101604052809291908181526020018280546131689061434b565b80156131b55780601f1061318a576101008083540402835291602001916131b5565b820191906000526020600020905b81548152906001019060200180831161319857829003601f168201915b5050505050905090565b606060008203613206576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061331a565b600082905060005b6000821461323857808061322190614a54565b915050600a826132319190614f98565b915061320e565b60008167ffffffffffffffff81111561325457613253613a86565b5b6040519080825280601f01601f1916602001820160405280156132865781602001600182028036833780820191505090505b5090505b600085146133135760018261329f9190614fc9565b9150600a856132ae9190614ffd565b60306132ba9190614896565b60f81b8183815181106132d0576132cf61463c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561330c9190614f98565b945061328a565b8093505050505b919050565b50505050565b50505050565b613338838383600161333d565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036133a9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036133e3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133f0600086838761331f565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156135ba57506135b98773ffffffffffffffffffffffffffffffffffffffff16612fba565b5b1561367f575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461362f6000888480600101955088612fdd565b613665576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036135c057826000541461367a57600080fd5b6136ea565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613680575b8160008190555050506137006000868387613325565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137898261375e565b9050919050565b6137998161377e565b81146137a457600080fd5b50565b6000813590506137b681613790565b92915050565b6000602082840312156137d2576137d1613754565b5b60006137e0848285016137a7565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61381e816137e9565b811461382957600080fd5b50565b60008135905061383b81613815565b92915050565b60006020828403121561385757613856613754565b5b60006138658482850161382c565b91505092915050565b60008115159050919050565b6138838161386e565b82525050565b600060208201905061389e600083018461387a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138de5780820151818401526020810190506138c3565b60008484015250505050565b6000601f19601f8301169050919050565b6000613906826138a4565b61391081856138af565b93506139208185602086016138c0565b613929816138ea565b840191505092915050565b6000602082019050818103600083015261394e81846138fb565b905092915050565b6000819050919050565b61396981613956565b811461397457600080fd5b50565b60008135905061398681613960565b92915050565b6000602082840312156139a2576139a1613754565b5b60006139b084828501613977565b91505092915050565b6139c28161377e565b82525050565b60006020820190506139dd60008301846139b9565b92915050565b600080604083850312156139fa576139f9613754565b5b6000613a08858286016137a7565b9250506020613a1985828601613977565b9150509250929050565b613a2c8161386e565b8114613a3757600080fd5b50565b600081359050613a4981613a23565b92915050565b600060208284031215613a6557613a64613754565b5b6000613a7384828501613a3a565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613abe826138ea565b810181811067ffffffffffffffff82111715613add57613adc613a86565b5b80604052505050565b6000613af061374a565b9050613afc8282613ab5565b919050565b600067ffffffffffffffff821115613b1c57613b1b613a86565b5b613b25826138ea565b9050602081019050919050565b82818337600083830152505050565b6000613b54613b4f84613b01565b613ae6565b905082815260208101848484011115613b7057613b6f613a81565b5b613b7b848285613b32565b509392505050565b600082601f830112613b9857613b97613a7c565b5b8135613ba8848260208601613b41565b91505092915050565b600060208284031215613bc757613bc6613754565b5b600082013567ffffffffffffffff811115613be557613be4613759565b5b613bf184828501613b83565b91505092915050565b613c0381613956565b82525050565b6000602082019050613c1e6000830184613bfa565b92915050565b600080600060608486031215613c3d57613c3c613754565b5b6000613c4b868287016137a7565b9350506020613c5c868287016137a7565b9250506040613c6d86828701613977565b9150509250925092565b600067ffffffffffffffff821115613c9257613c91613a86565b5b602082029050602081019050919050565b600080fd5b6000613cbb613cb684613c77565b613ae6565b90508083825260208201905060208402830185811115613cde57613cdd613ca3565b5b835b81811015613d075780613cf38882613977565b845260208401935050602081019050613ce0565b5050509392505050565b600082601f830112613d2657613d25613a7c565b5b8135613d36848260208601613ca8565b91505092915050565b600060208284031215613d5557613d54613754565b5b600082013567ffffffffffffffff811115613d7357613d72613759565b5b613d7f84828501613d11565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613dbd8161377e565b82525050565b600067ffffffffffffffff82169050919050565b613de081613dc3565b82525050565b613def8161386e565b82525050565b606082016000820151613e0b6000850182613db4565b506020820151613e1e6020850182613dd7565b506040820151613e316040850182613de6565b50505050565b6000613e438383613df5565b60608301905092915050565b6000602082019050919050565b6000613e6782613d88565b613e718185613d93565b9350613e7c83613da4565b8060005b83811015613ead578151613e948882613e37565b9750613e9f83613e4f565b925050600181019050613e80565b5085935050505092915050565b60006020820190508181036000830152613ed48184613e5c565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f1181613956565b82525050565b6000613f238383613f08565b60208301905092915050565b6000602082019050919050565b6000613f4782613edc565b613f518185613ee7565b9350613f5c83613ef8565b8060005b83811015613f8d578151613f748882613f17565b9750613f7f83613f2f565b925050600181019050613f60565b5085935050505092915050565b60006020820190508181036000830152613fb48184613f3c565b905092915050565b600080600060608486031215613fd557613fd4613754565b5b6000613fe3868287016137a7565b9350506020613ff486828701613977565b925050604061400586828701613977565b9150509250925092565b6000806040838503121561402657614025613754565b5b6000614034858286016137a7565b925050602061404585828601613a3a565b9150509250929050565b600067ffffffffffffffff82111561406a57614069613a86565b5b614073826138ea565b9050602081019050919050565b600061409361408e8461404f565b613ae6565b9050828152602081018484840111156140af576140ae613a81565b5b6140ba848285613b32565b509392505050565b600082601f8301126140d7576140d6613a7c565b5b81356140e7848260208601614080565b91505092915050565b6000806000806080858703121561410a57614109613754565b5b6000614118878288016137a7565b9450506020614129878288016137a7565b935050604061413a87828801613977565b925050606085013567ffffffffffffffff81111561415b5761415a613759565b5b614167878288016140c2565b91505092959194509250565b6060820160008201516141896000850182613db4565b50602082015161419c6020850182613dd7565b5060408201516141af6040850182613de6565b50505050565b60006060820190506141ca6000830184614173565b92915050565b600067ffffffffffffffff8211156141eb576141ea613a86565b5b602082029050602081019050919050565b600061420f61420a846141d0565b613ae6565b9050808382526020820190506020840283018581111561423257614231613ca3565b5b835b8181101561425b578061424788826137a7565b845260208401935050602081019050614234565b5050509392505050565b600082601f83011261427a57614279613a7c565b5b813561428a8482602086016141fc565b91505092915050565b6000602082840312156142a9576142a8613754565b5b600082013567ffffffffffffffff8111156142c7576142c6613759565b5b6142d384828501614265565b91505092915050565b600080604083850312156142f3576142f2613754565b5b6000614301858286016137a7565b9250506020614312858286016137a7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061436357607f821691505b6020821081036143765761437561431c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143a1565b6143e886836143a1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061442561442061441b84613956565b614400565b613956565b9050919050565b6000819050919050565b61443f8361440a565b61445361444b8261442c565b8484546143ae565b825550505050565b600090565b61446861445b565b614473818484614436565b505050565b5b818110156144975761448c600082614460565b600181019050614479565b5050565b601f8211156144dc576144ad8161437c565b6144b684614391565b810160208510156144c5578190505b6144d96144d185614391565b830182614478565b50505b505050565b600082821c905092915050565b60006144ff600019846008026144e1565b1980831691505092915050565b600061451883836144ee565b9150826002028217905092915050565b614531826138a4565b67ffffffffffffffff81111561454a57614549613a86565b5b614554825461434b565b61455f82828561449b565b600060209050601f8311600181146145925760008415614580578287015190505b61458a858261450c565b8655506145f2565b601f1984166145a08661437c565b60005b828110156145c8578489015182556001820191506020850194506020810190506145a3565b868310156145e557848901516145e1601f8916826144ee565b8355505b6001600288020188555050505b505050505050565b60008151905061460981613960565b92915050565b60006020828403121561462557614624613754565b5b6000614633848285016145fa565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006146a1601f836138af565b91506146ac8261466b565b602082019050919050565b600060208201905081810360008301526146d081614694565b9050919050565b7f5468652077686974656c6973742073616c65206973206e6f7420656e61626c6560008201527f6421000000000000000000000000000000000000000000000000000000000000602082015250565b60006147336022836138af565b915061473e826146d7565b604082019050919050565b6000602082019050818103600083015261476281614726565b9050919050565b7f4e6f7420612070617274206f662057686974656c697374000000000000000000600082015250565b600061479f6017836138af565b91506147aa82614769565b602082019050919050565b600060208201905081810360008301526147ce81614792565b9050919050565b7f4164647265737320616c726561647920636c61696d65642057686974656c697360008201527f7421000000000000000000000000000000000000000000000000000000000000602082015250565b60006148316022836138af565b915061483c826147d5565b604082019050919050565b6000602082019050818103600083015261486081614824565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148a182613956565b91506148ac83613956565b92508282019050808211156148c4576148c3614867565b5b92915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b60006149006011836138af565b915061490b826148ca565b602082019050919050565b6000602082019050818103600083015261492f816148f3565b9050919050565b600081905092915050565b50565b6000614951600083614936565b915061495c82614941565b600082019050919050565b600061497282614944565b9150819050919050565b7f5749544844524157204641494c45442100000000000000000000000000000000600082015250565b60006149b26010836138af565b91506149bd8261497c565b602082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614a1e6014836138af565b9150614a29826149e8565b602082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b6000614a5f82613956565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a9157614a90614867565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614af8602f836138af565b9150614b0382614a9c565b604082019050919050565b60006020820190508181036000830152614b2781614aeb565b9050919050565b600081905092915050565b6000614b44826138a4565b614b4e8185614b2e565b9350614b5e8185602086016138c0565b80840191505092915050565b60008154614b778161434b565b614b818186614b2e565b94506001821660008114614b9c5760018114614bb157614be4565b60ff1983168652811515820286019350614be4565b614bba8561437c565b60005b83811015614bdc57815481890152600182019150602081019050614bbd565b838801955050505b50505092915050565b6000614bf98286614b39565b9150614c058285614b39565b9150614c118284614b6a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c7a6026836138af565b9150614c8582614c1e565b604082019050919050565b60006020820190508181036000830152614ca981614c6d565b9050919050565b7f5075626c69632073616c65206973207061757365640000000000000000000000600082015250565b6000614ce66015836138af565b9150614cf182614cb0565b602082019050919050565b60006020820190508181036000830152614d1581614cd9565b9050919050565b7f4d757374206f776e206174206c65617374203120476f64486174657320616e6460008201527f2032204170657320746f206d696e742e00000000000000000000000000000000602082015250565b6000614d786030836138af565b9150614d8382614d1c565b604082019050919050565b60006020820190508181036000830152614da781614d6b565b9050919050565b7f4164647265737320616c726561647920636c61696d6564205075626c69632100600082015250565b6000614de4601f836138af565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e506020836138af565b9150614e5b82614e1a565b602082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614ead82614e86565b614eb78185614e91565b9350614ec78185602086016138c0565b614ed0816138ea565b840191505092915050565b6000608082019050614ef060008301876139b9565b614efd60208301866139b9565b614f0a6040830185613bfa565b8181036060830152614f1c8184614ea2565b905095945050505050565b600081519050614f3681613815565b92915050565b600060208284031215614f5257614f51613754565b5b6000614f6084828501614f27565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614fa382613956565b9150614fae83613956565b925082614fbe57614fbd614f69565b5b828204905092915050565b6000614fd482613956565b9150614fdf83613956565b9250828203905081811115614ff757614ff6614867565b5b92915050565b600061500882613956565b915061501383613956565b92508261502357615022614f69565b5b82820690509291505056fea2646970667358221220fb7935cfafbcf8af1ebbde90d7b35225fea624cfa6c559a977eceb33bf17906464736f6c63430008100033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb0000000000000000000000009370045ce37f381500ac7d6802513bb89871e076000000000000000000000000000000000000000000000000000000000000000d44564441205468652043756c740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044456444100000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): DVDA The Cult
Arg [1] : symbol (string): DVDA
Arg [2] : ghnftAddress (address): 0xE6d48bF4ee912235398b96E16Db6F310c21e82CB
Arg [3] : ahcAddress (address): 0x9370045CE37F381500ac7D6802513bb89871e076

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000e6d48bf4ee912235398b96e16db6f310c21e82cb
Arg [3] : 0000000000000000000000009370045ce37f381500ac7d6802513bb89871e076
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 44564441205468652043756c7400000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4456444100000000000000000000000000000000000000000000000000000000


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

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