ETH Price: $2,660.77 (+1.32%)

Token

SailingDAO_Dandy (SAILINGDAODANDY)
 

Overview

Max Total Supply

600 SAILINGDAODANDY

Holders

555

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 SAILINGDAODANDY
0x51dDBb761Ade504172C6c58645fF85148c3B0ABA
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

SailingDAO is a community-driven project that aims to revolutionize the yacht club experience by leveraging the power of the web3.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SailingDAO_Dandy

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 16 : SailingDaoNFT.sol
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
//SPDX-License-Identifier: UNLICENSED
//  _     _____ _____ _______   __      _____  ___________ _____ _    _  ___  ______ _____
// | |   |  _  |  __ \_   _\ \ / /     /  ___||  _  |  ___|_   _| |  | |/ _ \ | ___ \  ___|
// | |   | | | | |  \/ | |  \ V /______\ `--. | | | | |_    | | | |  | / /_\ \| |_/ / |__
// | |   | | | | | __  | |  /   \______|`--. \| | | |  _|   | | | |/\| |  _  ||    /|  __|
// | |___\ \_/ / |_\ \_| |_/ /^\ \     /\__/ /\ \_/ / |     | | \  /\  / | | || |\ \| |___
// \_____/\___/ \____/\___/\/   \/     \____/  \___/\_|     \_/  \/  \/\_| |_/\_| \_\____/

pragma solidity ^0.8.23;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import "./StringsSailing.sol";

contract SailingDAO_Dandy is
    ERC721,
    ReentrancyGuard,
    Ownable,
    Pausable
{
    using Counters for Counters.Counter;
    using StringsSailing for string;
    using MerkleProof for bytes32[];

    string public BASE_URI =
        "https://sailingdao.mypinata.cloud/ipfs/QmZtoavyxpyHJ45eciPeCcaX74dZGigATsc6nz46CiQbqG/";
    string public BASE_CONTRACT_URI =
        "https://sailingdao.mypinata.cloud/ipfs/Qmaj6DT9Uu7SEgrWNRYmWYqtYzNJxHK817Agb2iY2YJKZo/";

    string public CONTRACT_VERSION = "v1";
    uint16 NFT_TOTAL_SUPPLY = 600;
    uint8 CORE_TEAM_UNIT = 15;
    bool IS_GUARANTED_ACTIVE = false;
    bool IS_WHITELIST_ACTIVE = false;
    bool IS_PUBLIC_ACTIVE = false;
    uint8 MAX_GIVE_AWAY = 1;

    Counters.Counter private _tokenIds;
    bytes32 public _merkleRootGTD;
    bytes32 public _merkleRootWL;

    constructor()
        ERC721("SailingDAO_Dandy", "SAILINGDAODANDY")
    {
        //To initialize the guarantedId count
        //first token is 1, so generated PNG and metadata starting from 1.png
        _tokenIds.increment();
    }

    //return the total supply of sailingDAO Nfts GEN 0
    function totalSupply() public view returns (uint256) {
        return NFT_TOTAL_SUPPLY;
    }

    //return the current supply of sailingDAO Nfts GEN 0
    function currentSupply() public view returns (uint256) {
        return (_tokenIds.current() - 1);
    }

    function isWhiteListActive() public view returns (bool) {
        return IS_WHITELIST_ACTIVE;
    }

    function isGuarantedActive() public view returns (bool) {
        return IS_GUARANTED_ACTIVE;
    }

    function isPublicActive() public view returns (bool) {
        return IS_PUBLIC_ACTIVE;
    }

    function setStepGuarantedMint() public onlyOwner {
        IS_GUARANTED_ACTIVE = true;
        IS_WHITELIST_ACTIVE = false;
        IS_PUBLIC_ACTIVE = false;
    }

    function setStepWhiteListMint() public onlyOwner {
        IS_GUARANTED_ACTIVE = false;
        IS_WHITELIST_ACTIVE = true;
        IS_PUBLIC_ACTIVE = false;
    }

    function setStepPublicMint() public onlyOwner {
        IS_GUARANTED_ACTIVE = false;
        IS_WHITELIST_ACTIVE = false;
        IS_PUBLIC_ACTIVE = true;
    }

    function setStepReset() public onlyOwner {
        IS_GUARANTED_ACTIVE = false;
        IS_WHITELIST_ACTIVE = false;
        IS_PUBLIC_ACTIVE = false;
    }

    function setMerkleRootWl(bytes32 merkleRoot) public nonReentrant onlyOwner {
        _merkleRootWL = merkleRoot;
    }

    function setMerkleRootGTD(
        bytes32 merkleRootGTD
    ) public nonReentrant onlyOwner {
        _merkleRootGTD = merkleRootGTD;
    }

    function mintTokenCoreTeam() public nonReentrant onlyOwner {
        require(
            (balanceOf(msg.sender) == 0),
            "Mint Token Core Team already done"
        );
        for (uint8 i = 0; i < CORE_TEAM_UNIT; i++) {
            //mint nft token
            _safeMint(msg.sender, _tokenIds.current());
            _tokenIds.increment();
        }
    }

    //Mint _tokenId from Guaranted, Wl or Public
    function mintTokenGlobal(
        bytes32[] calldata merkleProof
    ) public nonReentrant whenNotPaused {
        //not null address and not owner adress
        require(
            msg.sender != address(0) && msg.sender != address(this),
            "Invalid wallet address"
        );
        require(
            _tokenIds.current() <= NFT_TOTAL_SUPPLY,
            "nft gen 0 token expired"
        );

        if (IS_GUARANTED_ACTIVE) {
            //address already claimed
            require(
                (balanceOf(msg.sender) == 0),
                "Wallet address already claimed guaranted"
            );
            // Verify that the address is on the guaranted whitelist and has not already made a request
            require(
                MerkleProof.verify(
                    merkleProof,
                    _merkleRootGTD,
                    keccak256(abi.encodePacked(msg.sender))
                ),
                "Mint guaranted active but wallet address check in guaranted list not passed"
            );
        } else if (IS_WHITELIST_ACTIVE) {
            //address already claimed
            require(
                (balanceOf(msg.sender) == 0),
                "Wallet address already claimed white list"
            );
            // Verify that the address is on the whitelist and has not already made a request
            require(
                MerkleProof.verify(
                    merkleProof,
                    _merkleRootWL,
                    keccak256(abi.encodePacked(msg.sender))
                ),
                "Mint White List active but wallet address check in white list not passed"
            );
        } else if (IS_PUBLIC_ACTIVE) {
            //is public
            require(
                balanceOf(msg.sender) < MAX_GIVE_AWAY,
                "The quantity of gen 0 tokens requested is not available to you!"
            );
        } else {
            revert("Mint not active!");
        }

        //mint nft token
        _safeMint(msg.sender, _tokenIds.current());
        _tokenIds.increment();
    }

    function tokenURI(
        uint256 _tokenId
    ) public view override returns (string memory) {
        require(_exists(_tokenId), "Token doesn't exists.");
        string memory result = StringsSailing.appendString(
            BASE_URI,
            Strings.toString(_tokenId)
        );
        return bytes(BASE_URI).length != 0 ? result : "";
    }

    function contractURI() public view returns (string memory) {
        return StringsSailing.appendString(BASE_CONTRACT_URI, CONTRACT_VERSION);
    }

    /**
     * @dev Set the new base token URI
     */
    function setBaseTokenURI(string calldata newBaseTokenURI) public onlyOwner {
        BASE_URI = newBaseTokenURI;
    }

    /**
     * @dev pause the purhase ok token. Call the Pausable _pause() function
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function toPaused() public onlyOwner whenNotPaused {
        _pause();
    }

    /**
     * @dev unPause the purhase ok token. Call the Pausable _unpause() function
     * Requirements:
     *
     * - The contract must  be paused.
     */
    function toUnpaused() public onlyOwner whenPaused {
        _unpause();
    }

    /// @dev See {IERC165-supportsInterface}.
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 16 of 16 : StringsSailing.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.23;

/**
 * @title StringsSailing
 * @author Alessandro Cirocchi
 * @dev Provides simple string function
 *
 * Include with `using StringsSailing for *;`
 */
library StringsSailing {
    // to reduce GAS in string concat
    function appendString(
        string memory _a,
        string memory _b
    ) internal pure returns (string memory) {
        return string(abi.encodePacked(_a, _b));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BASE_CONTRACT_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONTRACT_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRootGTD","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRootWL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isGuarantedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhiteListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTokenCoreTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintTokenGlobal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRootGTD","type":"bytes32"}],"name":"setMerkleRootGTD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRootWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStepGuarantedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStepPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStepReset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStepWhiteListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toUnpaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180608001604052806056815260200162004c1060569139600890816200002e9190620005a2565b5060405180608001604052806056815260200162004bba6056913960099081620000599190620005a2565b506040518060400160405280600281526020017f7631000000000000000000000000000000000000000000000000000000000000815250600a9081620000a09190620005a2565b50610258600b60006101000a81548161ffff021916908361ffff160217905550600f600b60026101000a81548160ff021916908360ff1602179055506000600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff0219169083151502179055506001600b60066101000a81548160ff021916908360ff1602179055503480156200015657600080fd5b506040518060400160405280601081526020017f5361696c696e6744414f5f44616e6479000000000000000000000000000000008152506040518060400160405280600f81526020017f5341494c494e4744414f44414e445900000000000000000000000000000000008152508160009081620001d49190620005a2565b508060019081620001e69190620005a2565b505050600160068190555062000211620002056200024460201b60201c565b6200024c60201b60201c565b6000600760146101000a81548160ff0219169083151502179055506200023e600c6200031260201b60201c565b62000689565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003aa57607f821691505b602082108103620003c057620003bf62000362565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200042a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003eb565b620004368683620003eb565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004836200047d62000477846200044e565b62000458565b6200044e565b9050919050565b6000819050919050565b6200049f8362000462565b620004b7620004ae826200048a565b848454620003f8565b825550505050565b600090565b620004ce620004bf565b620004db81848462000494565b505050565b5b818110156200050357620004f7600082620004c4565b600181019050620004e1565b5050565b601f82111562000552576200051c81620003c6565b6200052784620003db565b8101602085101562000537578190505b6200054f6200054685620003db565b830182620004e0565b50505b505050565b600082821c905092915050565b6000620005776000198460080262000557565b1980831691505092915050565b600062000592838362000564565b9150826002028217905092915050565b620005ad8262000328565b67ffffffffffffffff811115620005c957620005c862000333565b5b620005d5825462000391565b620005e282828562000507565b600060209050601f8311600181146200061a576000841562000605578287015190505b62000611858262000584565b86555062000681565b601f1984166200062a86620003c6565b60005b8281101562000654578489015182556001820191506020850194506020810190506200062d565b8683101562000674578489015162000670601f89168262000564565b8355505b6001600288020188555050505b505050505050565b61452180620006996000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c8063699258e11161013b578063a22cb465116100b8578063dc73afdc1161007c578063dc73afdc146105fc578063e41671a214610618578063e8a3d48514610622578063e985e9c514610640578063f2fde38b146106705761023d565b8063a22cb46514610558578063a3330d2514610574578063b88d4fde14610592578063c87b56dd146105ae578063dbddb26a146105de5761023d565b8063771282f6116100ff578063771282f6146104c25780637f2bf05c146104e057806384546aea146104fe5780638da5cb5b1461051c57806395d89b411461053a5761023d565b8063699258e1146104565780636e8205861461047457806370a082311461047e578063715018a6146104ae578063761c0e1e146104b85761023d565b8063258bc0ef116101c957806347546fe41161018d57806347546fe4146103d6578063573f5dae146103e05780635a211a01146103fe5780635c975abb146104085780636352211e146104265761023d565b8063258bc0ef1461034857806330176e131461036457806338b90333146103805780633b3a67801461039e57806342842e0e146103ba5761023d565b8063095ea7b311610210578063095ea7b3146102ca5780630aceda19146102e657806318160ddd1461030457806323b872dd14610322578063248e914b1461033e5761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc1461029057806309517bdc146102c0575b600080fd5b61025c60048036038101906102579190612a3c565b61068c565b6040516102699190612a84565b60405180910390f35b61027a61069e565b6040516102879190612b2f565b60405180910390f35b6102aa60048036038101906102a59190612b87565b610730565b6040516102b79190612bf5565b60405180910390f35b6102c8610776565b005b6102e460048036038101906102df9190612c3c565b610790565b005b6102ee6108a7565b6040516102fb9190612c95565b60405180910390f35b61030c6108ad565b6040516103199190612cbf565b60405180910390f35b61033c60048036038101906103379190612cda565b6108c9565b005b610346610929565b005b610362600480360381019061035d9190612d59565b610984565b005b61037e60048036038101906103799190612deb565b6109eb565b005b610388610a09565b6040516103959190612b2f565b60405180910390f35b6103b860048036038101906103b39190612d59565b610a97565b005b6103d460048036038101906103cf9190612cda565b610afe565b005b6103de610b1e565b005b6103e8610c13565b6040516103f59190612a84565b60405180910390f35b610406610c2a565b005b610410610c44565b60405161041d9190612a84565b60405180910390f35b610440600480360381019061043b9190612b87565b610c5b565b60405161044d9190612bf5565b60405180910390f35b61045e610d0c565b60405161046b9190612b2f565b60405180910390f35b61047c610d9a565b005b61049860048036038101906104939190612e38565b610df5565b6040516104a59190612cbf565b60405180910390f35b6104b6610eac565b005b6104c0610ec0565b005b6104ca610f1b565b6040516104d79190612cbf565b60405180910390f35b6104e8610f38565b6040516104f59190612c95565b60405180910390f35b610506610f3e565b6040516105139190612a84565b60405180910390f35b610524610f55565b6040516105319190612bf5565b60405180910390f35b610542610f7f565b60405161054f9190612b2f565b60405180910390f35b610572600480360381019061056d9190612e91565b611011565b005b61057c611027565b6040516105899190612a84565b60405180910390f35b6105ac60048036038101906105a79190613001565b61103e565b005b6105c860048036038101906105c39190612b87565b6110a0565b6040516105d59190612b2f565b60405180910390f35b6105e66111bf565b6040516105f39190612b2f565b60405180910390f35b610616600480360381019061061191906130da565b61124d565b005b6106206116b6565b005b61062a611711565b6040516106379190612b2f565b60405180910390f35b61065a60048036038101906106559190613127565b611836565b6040516106679190612a84565b60405180910390f35b61068a60048036038101906106859190612e38565b6118ca565b005b60006106978261194d565b9050919050565b6060600080546106ad90613196565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990613196565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b5050505050905090565b600061073b82611a2f565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61077e611a7a565b610786611af8565b61078e611b42565b565b600061079b82610c5b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361080b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080290613239565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661082a611ba5565b73ffffffffffffffffffffffffffffffffffffffff161480610859575061085881610853611ba5565b611836565b5b610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f906132cb565b60405180910390fd5b6108a28383611bad565b505050565b600e5481565b6000600b60009054906101000a900461ffff1661ffff16905090565b6108da6108d4611ba5565b82611c66565b610919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109109061335d565b60405180910390fd5b610924838383611cfb565b505050565b610931611a7a565b6000600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506001600b60056101000a81548160ff021916908315150217905550565b6002600654036109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c0906133c9565b60405180910390fd5b60026006819055506109d9611a7a565b80600e81905550600160068190555050565b6109f3611a7a565b818160089182610a049291906135a0565b505050565b600a8054610a1690613196565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290613196565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b505050505081565b600260065403610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad3906133c9565b60405180910390fd5b6002600681905550610aec611a7a565b80600d81905550600160068190555050565b610b198383836040518060200160405280600081525061103e565b505050565b600260065403610b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5a906133c9565b60405180910390fd5b6002600681905550610b73611a7a565b6000610b7e33610df5565b14610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb5906136e2565b60405180910390fd5b60005b600b60029054906101000a900460ff1660ff168160ff161015610c0857610bf133610bec600c611f61565b611f6f565b610bfb600c611f8d565b8080600101915050610bc1565b506001600681905550565b6000600b60049054906101000a900460ff16905090565b610c32611a7a565b610c3a611fa3565b610c42611fec565b565b6000600760149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061374e565b60405180910390fd5b80915050919050565b60098054610d1990613196565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4590613196565b8015610d925780601f10610d6757610100808354040283529160200191610d92565b820191906000526020600020905b815481529060010190602001808311610d7557829003601f168201915b505050505081565b610da2611a7a565b6000600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c906137e0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eb4611a7a565b610ebe600061204f565b565b610ec8611a7a565b6001600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff021916908315150217905550565b60006001610f29600c611f61565b610f33919061382f565b905090565b600d5481565b6000600b60039054906101000a900460ff16905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f8e90613196565b80601f0160208091040260200160405190810160405280929190818152602001828054610fba90613196565b80156110075780601f10610fdc57610100808354040283529160200191611007565b820191906000526020600020905b815481529060010190602001808311610fea57829003601f168201915b5050505050905090565b61102361101c611ba5565b8383612115565b5050565b6000600b60059054906101000a900460ff16905090565b61104f611049611ba5565b83611c66565b61108e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110859061335d565b60405180910390fd5b61109a84848484612281565b50505050565b60606110ab826122dd565b6110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906138af565b60405180910390fd5b6000611188600880546110fc90613196565b80601f016020809104026020016040519081016040528092919081815260200182805461112890613196565b80156111755780601f1061114a57610100808354040283529160200191611175565b820191906000526020600020905b81548152906001019060200180831161115857829003601f168201915b505050505061118385612349565b6124a9565b905060006008805461119990613196565b9050036111b557604051806020016040528060008152506111b7565b805b915050919050565b600880546111cc90613196565b80601f01602080910402602001604051908101604052809291908181526020018280546111f890613196565b80156112455780601f1061121a57610100808354040283529160200191611245565b820191906000526020600020905b81548152906001019060200180831161122857829003601f168201915b505050505081565b600260065403611292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611289906133c9565b60405180910390fd5b60026006819055506112a2611af8565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561130b57503073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b61134a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113419061391b565b60405180910390fd5b600b60009054906101000a900461ffff1661ffff16611369600c611f61565b11156113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190613987565b60405180910390fd5b600b60039054906101000a900460ff16156114c25760006113ca33610df5565b1461140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190613a19565b60405180910390fd5b61147e828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54336040516020016114639190613a81565b604051602081830303815290604052805190602001206124d5565b6114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490613b34565b60405180910390fd5b61168d565b600b60049054906101000a900460ff16156115da5760006114e233610df5565b14611522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151990613bc6565b60405180910390fd5b611596828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e543360405160200161157b9190613a81565b604051602081830303815290604052805190602001206124d5565b6115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc90613c7e565b60405180910390fd5b61168c565b600b60059054906101000a900460ff161561165057600b60069054906101000a900460ff1660ff1661160b33610df5565b1061164b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164290613d10565b60405180910390fd5b61168b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613d7c565b60405180910390fd5b5b5b6116a03361169b600c611f61565b611f6f565b6116aa600c611f8d565b60016006819055505050565b6116be611a7a565b6000600b60036101000a81548160ff0219169083151502179055506001600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff021916908315150217905550565b60606118316009805461172390613196565b80601f016020809104026020016040519081016040528092919081815260200182805461174f90613196565b801561179c5780601f106117715761010080835404028352916020019161179c565b820191906000526020600020905b81548152906001019060200180831161177f57829003601f168201915b5050505050600a80546117ae90613196565b80601f01602080910402602001604051908101604052809291908181526020018280546117da90613196565b80156118275780601f106117fc57610100808354040283529160200191611827565b820191906000526020600020905b81548152906001019060200180831161180a57829003601f168201915b50505050506124a9565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118d2611a7a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193890613e0e565b60405180910390fd5b61194a8161204f565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a1857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a285750611a27826124ec565b5b9050919050565b611a38816122dd565b611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e9061374e565b60405180910390fd5b50565b611a82611ba5565b73ffffffffffffffffffffffffffffffffffffffff16611aa0610f55565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90613e7a565b60405180910390fd5b565b611b00610c44565b15611b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3790613ee6565b60405180910390fd5b565b611b4a611af8565b6001600760146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b8e611ba5565b604051611b9b9190612bf5565b60405180910390a1565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c2083610c5b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c7283610c5b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cb45750611cb38185611836565b5b80611cf257508373ffffffffffffffffffffffffffffffffffffffff16611cda84610730565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d1b82610c5b565b73ffffffffffffffffffffffffffffffffffffffff1614611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890613f78565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd79061400a565b60405180910390fd5b611deb838383612556565b611df6600082611bad565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e46919061382f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e9d919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f5c83838361255b565b505050565b600081600001549050919050565b611f89828260405180602001604052806000815250612560565b5050565b6001816000016000828254019250508190555050565b611fab610c44565b611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe1906140aa565b60405180910390fd5b565b611ff4611fa3565b6000600760146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612038611ba5565b6040516120459190612bf5565b60405180910390a1565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a90614116565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122749190612a84565b60405180910390a3505050565b61228c848484611cfb565b612298848484846125bb565b6122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce906141a8565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612390576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124a4565b600082905060005b600082146123c25780806123ab906141c8565b915050600a826123bb919061423f565b9150612398565b60008167ffffffffffffffff8111156123de576123dd612ed6565b5b6040519080825280601f01601f1916602001820160405280156124105781602001600182028036833780820191505090505b5090505b6000851461249d57600182612429919061382f565b9150600a856124389190614270565b6030612444919061402a565b60f81b81838151811061245a576124596142a1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612496919061423f565b9450612414565b8093505050505b919050565b606082826040516020016124be92919061430c565b604051602081830303815290604052905092915050565b6000826124e28584612742565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b61256a8383612792565b61257760008484846125bb565b6125b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ad906141a8565b60405180910390fd5b505050565b60006125dc8473ffffffffffffffffffffffffffffffffffffffff1661296b565b15612735578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612605611ba5565b8786866040518563ffffffff1660e01b81526004016126279493929190614385565b6020604051808303816000875af192505050801561266357506040513d601f19601f8201168201806040525081019061266091906143e6565b60015b6126e5573d8060008114612693576040519150601f19603f3d011682016040523d82523d6000602084013e612698565b606091505b5060008151036126dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d4906141a8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061273a565b600190505b949350505050565b60008082905060005b8451811015612787576127788286838151811061276b5761276a6142a1565b5b602002602001015161298e565b9150808060010191505061274b565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f89061445f565b60405180910390fd5b61280a816122dd565b1561284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906144cb565b60405180910390fd5b61285660008383612556565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a6919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129676000838361255b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106129a6576129a182846129b9565b6129b1565b6129b083836129b9565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a19816129e4565b8114612a2457600080fd5b50565b600081359050612a3681612a10565b92915050565b600060208284031215612a5257612a516129da565b5b6000612a6084828501612a27565b91505092915050565b60008115159050919050565b612a7e81612a69565b82525050565b6000602082019050612a996000830184612a75565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ad9578082015181840152602081019050612abe565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b0182612a9f565b612b0b8185612aaa565b9350612b1b818560208601612abb565b612b2481612ae5565b840191505092915050565b60006020820190508181036000830152612b498184612af6565b905092915050565b6000819050919050565b612b6481612b51565b8114612b6f57600080fd5b50565b600081359050612b8181612b5b565b92915050565b600060208284031215612b9d57612b9c6129da565b5b6000612bab84828501612b72565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bdf82612bb4565b9050919050565b612bef81612bd4565b82525050565b6000602082019050612c0a6000830184612be6565b92915050565b612c1981612bd4565b8114612c2457600080fd5b50565b600081359050612c3681612c10565b92915050565b60008060408385031215612c5357612c526129da565b5b6000612c6185828601612c27565b9250506020612c7285828601612b72565b9150509250929050565b6000819050919050565b612c8f81612c7c565b82525050565b6000602082019050612caa6000830184612c86565b92915050565b612cb981612b51565b82525050565b6000602082019050612cd46000830184612cb0565b92915050565b600080600060608486031215612cf357612cf26129da565b5b6000612d0186828701612c27565b9350506020612d1286828701612c27565b9250506040612d2386828701612b72565b9150509250925092565b612d3681612c7c565b8114612d4157600080fd5b50565b600081359050612d5381612d2d565b92915050565b600060208284031215612d6f57612d6e6129da565b5b6000612d7d84828501612d44565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612dab57612daa612d86565b5b8235905067ffffffffffffffff811115612dc857612dc7612d8b565b5b602083019150836001820283011115612de457612de3612d90565b5b9250929050565b60008060208385031215612e0257612e016129da565b5b600083013567ffffffffffffffff811115612e2057612e1f6129df565b5b612e2c85828601612d95565b92509250509250929050565b600060208284031215612e4e57612e4d6129da565b5b6000612e5c84828501612c27565b91505092915050565b612e6e81612a69565b8114612e7957600080fd5b50565b600081359050612e8b81612e65565b92915050565b60008060408385031215612ea857612ea76129da565b5b6000612eb685828601612c27565b9250506020612ec785828601612e7c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f0e82612ae5565b810181811067ffffffffffffffff82111715612f2d57612f2c612ed6565b5b80604052505050565b6000612f406129d0565b9050612f4c8282612f05565b919050565b600067ffffffffffffffff821115612f6c57612f6b612ed6565b5b612f7582612ae5565b9050602081019050919050565b82818337600083830152505050565b6000612fa4612f9f84612f51565b612f36565b905082815260208101848484011115612fc057612fbf612ed1565b5b612fcb848285612f82565b509392505050565b600082601f830112612fe857612fe7612d86565b5b8135612ff8848260208601612f91565b91505092915050565b6000806000806080858703121561301b5761301a6129da565b5b600061302987828801612c27565b945050602061303a87828801612c27565b935050604061304b87828801612b72565b925050606085013567ffffffffffffffff81111561306c5761306b6129df565b5b61307887828801612fd3565b91505092959194509250565b60008083601f84011261309a57613099612d86565b5b8235905067ffffffffffffffff8111156130b7576130b6612d8b565b5b6020830191508360208202830111156130d3576130d2612d90565b5b9250929050565b600080602083850312156130f1576130f06129da565b5b600083013567ffffffffffffffff81111561310f5761310e6129df565b5b61311b85828601613084565b92509250509250929050565b6000806040838503121561313e5761313d6129da565b5b600061314c85828601612c27565b925050602061315d85828601612c27565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131ae57607f821691505b6020821081036131c1576131c0613167565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613223602183612aaa565b915061322e826131c7565b604082019050919050565b6000602082019050818103600083015261325281613216565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006132b5603e83612aaa565b91506132c082613259565b604082019050919050565b600060208201905081810360008301526132e4816132a8565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613347602e83612aaa565b9150613352826132eb565b604082019050919050565b600060208201905081810360008301526133768161333a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006133b3601f83612aaa565b91506133be8261337d565b602082019050919050565b600060208201905081810360008301526133e2816133a6565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026134567fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613419565b6134608683613419565b95508019841693508086168417925050509392505050565b6000819050919050565b600061349d61349861349384612b51565b613478565b612b51565b9050919050565b6000819050919050565b6134b783613482565b6134cb6134c3826134a4565b848454613426565b825550505050565b600090565b6134e06134d3565b6134eb8184846134ae565b505050565b5b8181101561350f576135046000826134d8565b6001810190506134f1565b5050565b601f82111561355457613525816133f4565b61352e84613409565b8101602085101561353d578190505b61355161354985613409565b8301826134f0565b50505b505050565b600082821c905092915050565b600061357760001984600802613559565b1980831691505092915050565b60006135908383613566565b9150826002028217905092915050565b6135aa83836133e9565b67ffffffffffffffff8111156135c3576135c2612ed6565b5b6135cd8254613196565b6135d8828285613513565b6000601f83116001811461360757600084156135f5578287013590505b6135ff8582613584565b865550613667565b601f198416613615866133f4565b60005b8281101561363d57848901358255600182019150602085019450602081019050613618565b8683101561365a5784890135613656601f891682613566565b8355505b6001600288020188555050505b50505050505050565b7f4d696e7420546f6b656e20436f7265205465616d20616c726561647920646f6e60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006136cc602183612aaa565b91506136d782613670565b604082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613738601883612aaa565b915061374382613702565b602082019050919050565b600060208201905081810360008301526137678161372b565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006137ca602983612aaa565b91506137d58261376e565b604082019050919050565b600060208201905081810360008301526137f9816137bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061383a82612b51565b915061384583612b51565b925082820390508181111561385d5761385c613800565b5b92915050565b7f546f6b656e20646f65736e2774206578697374732e0000000000000000000000600082015250565b6000613899601583612aaa565b91506138a482613863565b602082019050919050565b600060208201905081810360008301526138c88161388c565b9050919050565b7f496e76616c69642077616c6c6574206164647265737300000000000000000000600082015250565b6000613905601683612aaa565b9150613910826138cf565b602082019050919050565b60006020820190508181036000830152613934816138f8565b9050919050565b7f6e66742067656e203020746f6b656e2065787069726564000000000000000000600082015250565b6000613971601783612aaa565b915061397c8261393b565b602082019050919050565b600060208201905081810360008301526139a081613964565b9050919050565b7f57616c6c6574206164647265737320616c726561647920636c61696d6564206760008201527f756172616e746564000000000000000000000000000000000000000000000000602082015250565b6000613a03602883612aaa565b9150613a0e826139a7565b604082019050919050565b60006020820190508181036000830152613a32816139f6565b9050919050565b60008160601b9050919050565b6000613a5182613a39565b9050919050565b6000613a6382613a46565b9050919050565b613a7b613a7682612bd4565b613a58565b82525050565b6000613a8d8284613a6a565b60148201915081905092915050565b7f4d696e742067756172616e74656420616374697665206275742077616c6c657460008201527f206164647265737320636865636b20696e2067756172616e746564206c69737460208201527f206e6f7420706173736564000000000000000000000000000000000000000000604082015250565b6000613b1e604b83612aaa565b9150613b2982613a9c565b606082019050919050565b60006020820190508181036000830152613b4d81613b11565b9050919050565b7f57616c6c6574206164647265737320616c726561647920636c61696d6564207760008201527f68697465206c6973740000000000000000000000000000000000000000000000602082015250565b6000613bb0602983612aaa565b9150613bbb82613b54565b604082019050919050565b60006020820190508181036000830152613bdf81613ba3565b9050919050565b7f4d696e74205768697465204c69737420616374697665206275742077616c6c6560008201527f74206164647265737320636865636b20696e207768697465206c697374206e6f60208201527f7420706173736564000000000000000000000000000000000000000000000000604082015250565b6000613c68604883612aaa565b9150613c7382613be6565b606082019050919050565b60006020820190508181036000830152613c9781613c5b565b9050919050565b7f546865207175616e74697479206f662067656e203020746f6b656e732072657160008201527f756573746564206973206e6f7420617661696c61626c6520746f20796f752100602082015250565b6000613cfa603f83612aaa565b9150613d0582613c9e565b604082019050919050565b60006020820190508181036000830152613d2981613ced565b9050919050565b7f4d696e74206e6f74206163746976652100000000000000000000000000000000600082015250565b6000613d66601083612aaa565b9150613d7182613d30565b602082019050919050565b60006020820190508181036000830152613d9581613d59565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613df8602683612aaa565b9150613e0382613d9c565b604082019050919050565b60006020820190508181036000830152613e2781613deb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e64602083612aaa565b9150613e6f82613e2e565b602082019050919050565b60006020820190508181036000830152613e9381613e57565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613ed0601083612aaa565b9150613edb82613e9a565b602082019050919050565b60006020820190508181036000830152613eff81613ec3565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613f62602583612aaa565b9150613f6d82613f06565b604082019050919050565b60006020820190508181036000830152613f9181613f55565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613ff4602483612aaa565b9150613fff82613f98565b604082019050919050565b6000602082019050818103600083015261402381613fe7565b9050919050565b600061403582612b51565b915061404083612b51565b925082820190508082111561405857614057613800565b5b92915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614094601483612aaa565b915061409f8261405e565b602082019050919050565b600060208201905081810360008301526140c381614087565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614100601983612aaa565b915061410b826140ca565b602082019050919050565b6000602082019050818103600083015261412f816140f3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614192603283612aaa565b915061419d82614136565b604082019050919050565b600060208201905081810360008301526141c181614185565b9050919050565b60006141d382612b51565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361420557614204613800565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061424a82612b51565b915061425583612b51565b92508261426557614264614210565b5b828204905092915050565b600061427b82612b51565b915061428683612b51565b92508261429657614295614210565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b60006142e682612a9f565b6142f081856142d0565b9350614300818560208601612abb565b80840191505092915050565b600061431882856142db565b915061432482846142db565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061435782614330565b614361818561433b565b9350614371818560208601612abb565b61437a81612ae5565b840191505092915050565b600060808201905061439a6000830187612be6565b6143a76020830186612be6565b6143b46040830185612cb0565b81810360608301526143c6818461434c565b905095945050505050565b6000815190506143e081612a10565b92915050565b6000602082840312156143fc576143fb6129da565b5b600061440a848285016143d1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614449602083612aaa565b915061445482614413565b602082019050919050565b600060208201905081810360008301526144788161443c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006144b5601c83612aaa565b91506144c08261447f565b602082019050919050565b600060208201905081810360008301526144e4816144a8565b905091905056fea2646970667358221220c05d6d48b75bc6f958fb7e313cf046ee81a448e1c3c4238bb8347c03e2a9a22b64736f6c6343000817003368747470733a2f2f7361696c696e6764616f2e6d7970696e6174612e636c6f75642f697066732f516d616a3644543955753753456772574e52596d57597174597a4e4a78484b38313741676232695932594a4b5a6f2f68747470733a2f2f7361696c696e6764616f2e6d7970696e6174612e636c6f75642f697066732f516d5a746f617679787079484a34356563695065436361583734645a47696741547363366e7a34364369516271472f

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c8063699258e11161013b578063a22cb465116100b8578063dc73afdc1161007c578063dc73afdc146105fc578063e41671a214610618578063e8a3d48514610622578063e985e9c514610640578063f2fde38b146106705761023d565b8063a22cb46514610558578063a3330d2514610574578063b88d4fde14610592578063c87b56dd146105ae578063dbddb26a146105de5761023d565b8063771282f6116100ff578063771282f6146104c25780637f2bf05c146104e057806384546aea146104fe5780638da5cb5b1461051c57806395d89b411461053a5761023d565b8063699258e1146104565780636e8205861461047457806370a082311461047e578063715018a6146104ae578063761c0e1e146104b85761023d565b8063258bc0ef116101c957806347546fe41161018d57806347546fe4146103d6578063573f5dae146103e05780635a211a01146103fe5780635c975abb146104085780636352211e146104265761023d565b8063258bc0ef1461034857806330176e131461036457806338b90333146103805780633b3a67801461039e57806342842e0e146103ba5761023d565b8063095ea7b311610210578063095ea7b3146102ca5780630aceda19146102e657806318160ddd1461030457806323b872dd14610322578063248e914b1461033e5761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc1461029057806309517bdc146102c0575b600080fd5b61025c60048036038101906102579190612a3c565b61068c565b6040516102699190612a84565b60405180910390f35b61027a61069e565b6040516102879190612b2f565b60405180910390f35b6102aa60048036038101906102a59190612b87565b610730565b6040516102b79190612bf5565b60405180910390f35b6102c8610776565b005b6102e460048036038101906102df9190612c3c565b610790565b005b6102ee6108a7565b6040516102fb9190612c95565b60405180910390f35b61030c6108ad565b6040516103199190612cbf565b60405180910390f35b61033c60048036038101906103379190612cda565b6108c9565b005b610346610929565b005b610362600480360381019061035d9190612d59565b610984565b005b61037e60048036038101906103799190612deb565b6109eb565b005b610388610a09565b6040516103959190612b2f565b60405180910390f35b6103b860048036038101906103b39190612d59565b610a97565b005b6103d460048036038101906103cf9190612cda565b610afe565b005b6103de610b1e565b005b6103e8610c13565b6040516103f59190612a84565b60405180910390f35b610406610c2a565b005b610410610c44565b60405161041d9190612a84565b60405180910390f35b610440600480360381019061043b9190612b87565b610c5b565b60405161044d9190612bf5565b60405180910390f35b61045e610d0c565b60405161046b9190612b2f565b60405180910390f35b61047c610d9a565b005b61049860048036038101906104939190612e38565b610df5565b6040516104a59190612cbf565b60405180910390f35b6104b6610eac565b005b6104c0610ec0565b005b6104ca610f1b565b6040516104d79190612cbf565b60405180910390f35b6104e8610f38565b6040516104f59190612c95565b60405180910390f35b610506610f3e565b6040516105139190612a84565b60405180910390f35b610524610f55565b6040516105319190612bf5565b60405180910390f35b610542610f7f565b60405161054f9190612b2f565b60405180910390f35b610572600480360381019061056d9190612e91565b611011565b005b61057c611027565b6040516105899190612a84565b60405180910390f35b6105ac60048036038101906105a79190613001565b61103e565b005b6105c860048036038101906105c39190612b87565b6110a0565b6040516105d59190612b2f565b60405180910390f35b6105e66111bf565b6040516105f39190612b2f565b60405180910390f35b610616600480360381019061061191906130da565b61124d565b005b6106206116b6565b005b61062a611711565b6040516106379190612b2f565b60405180910390f35b61065a60048036038101906106559190613127565b611836565b6040516106679190612a84565b60405180910390f35b61068a60048036038101906106859190612e38565b6118ca565b005b60006106978261194d565b9050919050565b6060600080546106ad90613196565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990613196565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b5050505050905090565b600061073b82611a2f565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61077e611a7a565b610786611af8565b61078e611b42565b565b600061079b82610c5b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361080b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080290613239565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661082a611ba5565b73ffffffffffffffffffffffffffffffffffffffff161480610859575061085881610853611ba5565b611836565b5b610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f906132cb565b60405180910390fd5b6108a28383611bad565b505050565b600e5481565b6000600b60009054906101000a900461ffff1661ffff16905090565b6108da6108d4611ba5565b82611c66565b610919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109109061335d565b60405180910390fd5b610924838383611cfb565b505050565b610931611a7a565b6000600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506001600b60056101000a81548160ff021916908315150217905550565b6002600654036109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c0906133c9565b60405180910390fd5b60026006819055506109d9611a7a565b80600e81905550600160068190555050565b6109f3611a7a565b818160089182610a049291906135a0565b505050565b600a8054610a1690613196565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290613196565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b505050505081565b600260065403610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad3906133c9565b60405180910390fd5b6002600681905550610aec611a7a565b80600d81905550600160068190555050565b610b198383836040518060200160405280600081525061103e565b505050565b600260065403610b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5a906133c9565b60405180910390fd5b6002600681905550610b73611a7a565b6000610b7e33610df5565b14610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb5906136e2565b60405180910390fd5b60005b600b60029054906101000a900460ff1660ff168160ff161015610c0857610bf133610bec600c611f61565b611f6f565b610bfb600c611f8d565b8080600101915050610bc1565b506001600681905550565b6000600b60049054906101000a900460ff16905090565b610c32611a7a565b610c3a611fa3565b610c42611fec565b565b6000600760149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061374e565b60405180910390fd5b80915050919050565b60098054610d1990613196565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4590613196565b8015610d925780601f10610d6757610100808354040283529160200191610d92565b820191906000526020600020905b815481529060010190602001808311610d7557829003601f168201915b505050505081565b610da2611a7a565b6000600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c906137e0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eb4611a7a565b610ebe600061204f565b565b610ec8611a7a565b6001600b60036101000a81548160ff0219169083151502179055506000600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff021916908315150217905550565b60006001610f29600c611f61565b610f33919061382f565b905090565b600d5481565b6000600b60039054906101000a900460ff16905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f8e90613196565b80601f0160208091040260200160405190810160405280929190818152602001828054610fba90613196565b80156110075780601f10610fdc57610100808354040283529160200191611007565b820191906000526020600020905b815481529060010190602001808311610fea57829003601f168201915b5050505050905090565b61102361101c611ba5565b8383612115565b5050565b6000600b60059054906101000a900460ff16905090565b61104f611049611ba5565b83611c66565b61108e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110859061335d565b60405180910390fd5b61109a84848484612281565b50505050565b60606110ab826122dd565b6110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906138af565b60405180910390fd5b6000611188600880546110fc90613196565b80601f016020809104026020016040519081016040528092919081815260200182805461112890613196565b80156111755780601f1061114a57610100808354040283529160200191611175565b820191906000526020600020905b81548152906001019060200180831161115857829003601f168201915b505050505061118385612349565b6124a9565b905060006008805461119990613196565b9050036111b557604051806020016040528060008152506111b7565b805b915050919050565b600880546111cc90613196565b80601f01602080910402602001604051908101604052809291908181526020018280546111f890613196565b80156112455780601f1061121a57610100808354040283529160200191611245565b820191906000526020600020905b81548152906001019060200180831161122857829003601f168201915b505050505081565b600260065403611292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611289906133c9565b60405180910390fd5b60026006819055506112a2611af8565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561130b57503073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b61134a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113419061391b565b60405180910390fd5b600b60009054906101000a900461ffff1661ffff16611369600c611f61565b11156113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190613987565b60405180910390fd5b600b60039054906101000a900460ff16156114c25760006113ca33610df5565b1461140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190613a19565b60405180910390fd5b61147e828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54336040516020016114639190613a81565b604051602081830303815290604052805190602001206124d5565b6114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490613b34565b60405180910390fd5b61168d565b600b60049054906101000a900460ff16156115da5760006114e233610df5565b14611522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151990613bc6565b60405180910390fd5b611596828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e543360405160200161157b9190613a81565b604051602081830303815290604052805190602001206124d5565b6115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc90613c7e565b60405180910390fd5b61168c565b600b60059054906101000a900460ff161561165057600b60069054906101000a900460ff1660ff1661160b33610df5565b1061164b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164290613d10565b60405180910390fd5b61168b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613d7c565b60405180910390fd5b5b5b6116a03361169b600c611f61565b611f6f565b6116aa600c611f8d565b60016006819055505050565b6116be611a7a565b6000600b60036101000a81548160ff0219169083151502179055506001600b60046101000a81548160ff0219169083151502179055506000600b60056101000a81548160ff021916908315150217905550565b60606118316009805461172390613196565b80601f016020809104026020016040519081016040528092919081815260200182805461174f90613196565b801561179c5780601f106117715761010080835404028352916020019161179c565b820191906000526020600020905b81548152906001019060200180831161177f57829003601f168201915b5050505050600a80546117ae90613196565b80601f01602080910402602001604051908101604052809291908181526020018280546117da90613196565b80156118275780601f106117fc57610100808354040283529160200191611827565b820191906000526020600020905b81548152906001019060200180831161180a57829003601f168201915b50505050506124a9565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118d2611a7a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193890613e0e565b60405180910390fd5b61194a8161204f565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a1857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a285750611a27826124ec565b5b9050919050565b611a38816122dd565b611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e9061374e565b60405180910390fd5b50565b611a82611ba5565b73ffffffffffffffffffffffffffffffffffffffff16611aa0610f55565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90613e7a565b60405180910390fd5b565b611b00610c44565b15611b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3790613ee6565b60405180910390fd5b565b611b4a611af8565b6001600760146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b8e611ba5565b604051611b9b9190612bf5565b60405180910390a1565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c2083610c5b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c7283610c5b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cb45750611cb38185611836565b5b80611cf257508373ffffffffffffffffffffffffffffffffffffffff16611cda84610730565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d1b82610c5b565b73ffffffffffffffffffffffffffffffffffffffff1614611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890613f78565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd79061400a565b60405180910390fd5b611deb838383612556565b611df6600082611bad565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e46919061382f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e9d919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f5c83838361255b565b505050565b600081600001549050919050565b611f89828260405180602001604052806000815250612560565b5050565b6001816000016000828254019250508190555050565b611fab610c44565b611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe1906140aa565b60405180910390fd5b565b611ff4611fa3565b6000600760146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612038611ba5565b6040516120459190612bf5565b60405180910390a1565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a90614116565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122749190612a84565b60405180910390a3505050565b61228c848484611cfb565b612298848484846125bb565b6122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce906141a8565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612390576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124a4565b600082905060005b600082146123c25780806123ab906141c8565b915050600a826123bb919061423f565b9150612398565b60008167ffffffffffffffff8111156123de576123dd612ed6565b5b6040519080825280601f01601f1916602001820160405280156124105781602001600182028036833780820191505090505b5090505b6000851461249d57600182612429919061382f565b9150600a856124389190614270565b6030612444919061402a565b60f81b81838151811061245a576124596142a1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612496919061423f565b9450612414565b8093505050505b919050565b606082826040516020016124be92919061430c565b604051602081830303815290604052905092915050565b6000826124e28584612742565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b61256a8383612792565b61257760008484846125bb565b6125b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ad906141a8565b60405180910390fd5b505050565b60006125dc8473ffffffffffffffffffffffffffffffffffffffff1661296b565b15612735578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612605611ba5565b8786866040518563ffffffff1660e01b81526004016126279493929190614385565b6020604051808303816000875af192505050801561266357506040513d601f19601f8201168201806040525081019061266091906143e6565b60015b6126e5573d8060008114612693576040519150601f19603f3d011682016040523d82523d6000602084013e612698565b606091505b5060008151036126dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d4906141a8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061273a565b600190505b949350505050565b60008082905060005b8451811015612787576127788286838151811061276b5761276a6142a1565b5b602002602001015161298e565b9150808060010191505061274b565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f89061445f565b60405180910390fd5b61280a816122dd565b1561284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906144cb565b60405180910390fd5b61285660008383612556565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a6919061402a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129676000838361255b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106129a6576129a182846129b9565b6129b1565b6129b083836129b9565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a19816129e4565b8114612a2457600080fd5b50565b600081359050612a3681612a10565b92915050565b600060208284031215612a5257612a516129da565b5b6000612a6084828501612a27565b91505092915050565b60008115159050919050565b612a7e81612a69565b82525050565b6000602082019050612a996000830184612a75565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ad9578082015181840152602081019050612abe565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b0182612a9f565b612b0b8185612aaa565b9350612b1b818560208601612abb565b612b2481612ae5565b840191505092915050565b60006020820190508181036000830152612b498184612af6565b905092915050565b6000819050919050565b612b6481612b51565b8114612b6f57600080fd5b50565b600081359050612b8181612b5b565b92915050565b600060208284031215612b9d57612b9c6129da565b5b6000612bab84828501612b72565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bdf82612bb4565b9050919050565b612bef81612bd4565b82525050565b6000602082019050612c0a6000830184612be6565b92915050565b612c1981612bd4565b8114612c2457600080fd5b50565b600081359050612c3681612c10565b92915050565b60008060408385031215612c5357612c526129da565b5b6000612c6185828601612c27565b9250506020612c7285828601612b72565b9150509250929050565b6000819050919050565b612c8f81612c7c565b82525050565b6000602082019050612caa6000830184612c86565b92915050565b612cb981612b51565b82525050565b6000602082019050612cd46000830184612cb0565b92915050565b600080600060608486031215612cf357612cf26129da565b5b6000612d0186828701612c27565b9350506020612d1286828701612c27565b9250506040612d2386828701612b72565b9150509250925092565b612d3681612c7c565b8114612d4157600080fd5b50565b600081359050612d5381612d2d565b92915050565b600060208284031215612d6f57612d6e6129da565b5b6000612d7d84828501612d44565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612dab57612daa612d86565b5b8235905067ffffffffffffffff811115612dc857612dc7612d8b565b5b602083019150836001820283011115612de457612de3612d90565b5b9250929050565b60008060208385031215612e0257612e016129da565b5b600083013567ffffffffffffffff811115612e2057612e1f6129df565b5b612e2c85828601612d95565b92509250509250929050565b600060208284031215612e4e57612e4d6129da565b5b6000612e5c84828501612c27565b91505092915050565b612e6e81612a69565b8114612e7957600080fd5b50565b600081359050612e8b81612e65565b92915050565b60008060408385031215612ea857612ea76129da565b5b6000612eb685828601612c27565b9250506020612ec785828601612e7c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f0e82612ae5565b810181811067ffffffffffffffff82111715612f2d57612f2c612ed6565b5b80604052505050565b6000612f406129d0565b9050612f4c8282612f05565b919050565b600067ffffffffffffffff821115612f6c57612f6b612ed6565b5b612f7582612ae5565b9050602081019050919050565b82818337600083830152505050565b6000612fa4612f9f84612f51565b612f36565b905082815260208101848484011115612fc057612fbf612ed1565b5b612fcb848285612f82565b509392505050565b600082601f830112612fe857612fe7612d86565b5b8135612ff8848260208601612f91565b91505092915050565b6000806000806080858703121561301b5761301a6129da565b5b600061302987828801612c27565b945050602061303a87828801612c27565b935050604061304b87828801612b72565b925050606085013567ffffffffffffffff81111561306c5761306b6129df565b5b61307887828801612fd3565b91505092959194509250565b60008083601f84011261309a57613099612d86565b5b8235905067ffffffffffffffff8111156130b7576130b6612d8b565b5b6020830191508360208202830111156130d3576130d2612d90565b5b9250929050565b600080602083850312156130f1576130f06129da565b5b600083013567ffffffffffffffff81111561310f5761310e6129df565b5b61311b85828601613084565b92509250509250929050565b6000806040838503121561313e5761313d6129da565b5b600061314c85828601612c27565b925050602061315d85828601612c27565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131ae57607f821691505b6020821081036131c1576131c0613167565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613223602183612aaa565b915061322e826131c7565b604082019050919050565b6000602082019050818103600083015261325281613216565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006132b5603e83612aaa565b91506132c082613259565b604082019050919050565b600060208201905081810360008301526132e4816132a8565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613347602e83612aaa565b9150613352826132eb565b604082019050919050565b600060208201905081810360008301526133768161333a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006133b3601f83612aaa565b91506133be8261337d565b602082019050919050565b600060208201905081810360008301526133e2816133a6565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026134567fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613419565b6134608683613419565b95508019841693508086168417925050509392505050565b6000819050919050565b600061349d61349861349384612b51565b613478565b612b51565b9050919050565b6000819050919050565b6134b783613482565b6134cb6134c3826134a4565b848454613426565b825550505050565b600090565b6134e06134d3565b6134eb8184846134ae565b505050565b5b8181101561350f576135046000826134d8565b6001810190506134f1565b5050565b601f82111561355457613525816133f4565b61352e84613409565b8101602085101561353d578190505b61355161354985613409565b8301826134f0565b50505b505050565b600082821c905092915050565b600061357760001984600802613559565b1980831691505092915050565b60006135908383613566565b9150826002028217905092915050565b6135aa83836133e9565b67ffffffffffffffff8111156135c3576135c2612ed6565b5b6135cd8254613196565b6135d8828285613513565b6000601f83116001811461360757600084156135f5578287013590505b6135ff8582613584565b865550613667565b601f198416613615866133f4565b60005b8281101561363d57848901358255600182019150602085019450602081019050613618565b8683101561365a5784890135613656601f891682613566565b8355505b6001600288020188555050505b50505050505050565b7f4d696e7420546f6b656e20436f7265205465616d20616c726561647920646f6e60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006136cc602183612aaa565b91506136d782613670565b604082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613738601883612aaa565b915061374382613702565b602082019050919050565b600060208201905081810360008301526137678161372b565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006137ca602983612aaa565b91506137d58261376e565b604082019050919050565b600060208201905081810360008301526137f9816137bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061383a82612b51565b915061384583612b51565b925082820390508181111561385d5761385c613800565b5b92915050565b7f546f6b656e20646f65736e2774206578697374732e0000000000000000000000600082015250565b6000613899601583612aaa565b91506138a482613863565b602082019050919050565b600060208201905081810360008301526138c88161388c565b9050919050565b7f496e76616c69642077616c6c6574206164647265737300000000000000000000600082015250565b6000613905601683612aaa565b9150613910826138cf565b602082019050919050565b60006020820190508181036000830152613934816138f8565b9050919050565b7f6e66742067656e203020746f6b656e2065787069726564000000000000000000600082015250565b6000613971601783612aaa565b915061397c8261393b565b602082019050919050565b600060208201905081810360008301526139a081613964565b9050919050565b7f57616c6c6574206164647265737320616c726561647920636c61696d6564206760008201527f756172616e746564000000000000000000000000000000000000000000000000602082015250565b6000613a03602883612aaa565b9150613a0e826139a7565b604082019050919050565b60006020820190508181036000830152613a32816139f6565b9050919050565b60008160601b9050919050565b6000613a5182613a39565b9050919050565b6000613a6382613a46565b9050919050565b613a7b613a7682612bd4565b613a58565b82525050565b6000613a8d8284613a6a565b60148201915081905092915050565b7f4d696e742067756172616e74656420616374697665206275742077616c6c657460008201527f206164647265737320636865636b20696e2067756172616e746564206c69737460208201527f206e6f7420706173736564000000000000000000000000000000000000000000604082015250565b6000613b1e604b83612aaa565b9150613b2982613a9c565b606082019050919050565b60006020820190508181036000830152613b4d81613b11565b9050919050565b7f57616c6c6574206164647265737320616c726561647920636c61696d6564207760008201527f68697465206c6973740000000000000000000000000000000000000000000000602082015250565b6000613bb0602983612aaa565b9150613bbb82613b54565b604082019050919050565b60006020820190508181036000830152613bdf81613ba3565b9050919050565b7f4d696e74205768697465204c69737420616374697665206275742077616c6c6560008201527f74206164647265737320636865636b20696e207768697465206c697374206e6f60208201527f7420706173736564000000000000000000000000000000000000000000000000604082015250565b6000613c68604883612aaa565b9150613c7382613be6565b606082019050919050565b60006020820190508181036000830152613c9781613c5b565b9050919050565b7f546865207175616e74697479206f662067656e203020746f6b656e732072657160008201527f756573746564206973206e6f7420617661696c61626c6520746f20796f752100602082015250565b6000613cfa603f83612aaa565b9150613d0582613c9e565b604082019050919050565b60006020820190508181036000830152613d2981613ced565b9050919050565b7f4d696e74206e6f74206163746976652100000000000000000000000000000000600082015250565b6000613d66601083612aaa565b9150613d7182613d30565b602082019050919050565b60006020820190508181036000830152613d9581613d59565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613df8602683612aaa565b9150613e0382613d9c565b604082019050919050565b60006020820190508181036000830152613e2781613deb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e64602083612aaa565b9150613e6f82613e2e565b602082019050919050565b60006020820190508181036000830152613e9381613e57565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613ed0601083612aaa565b9150613edb82613e9a565b602082019050919050565b60006020820190508181036000830152613eff81613ec3565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613f62602583612aaa565b9150613f6d82613f06565b604082019050919050565b60006020820190508181036000830152613f9181613f55565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613ff4602483612aaa565b9150613fff82613f98565b604082019050919050565b6000602082019050818103600083015261402381613fe7565b9050919050565b600061403582612b51565b915061404083612b51565b925082820190508082111561405857614057613800565b5b92915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614094601483612aaa565b915061409f8261405e565b602082019050919050565b600060208201905081810360008301526140c381614087565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614100601983612aaa565b915061410b826140ca565b602082019050919050565b6000602082019050818103600083015261412f816140f3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614192603283612aaa565b915061419d82614136565b604082019050919050565b600060208201905081810360008301526141c181614185565b9050919050565b60006141d382612b51565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361420557614204613800565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061424a82612b51565b915061425583612b51565b92508261426557614264614210565b5b828204905092915050565b600061427b82612b51565b915061428683612b51565b92508261429657614295614210565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b60006142e682612a9f565b6142f081856142d0565b9350614300818560208601612abb565b80840191505092915050565b600061431882856142db565b915061432482846142db565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061435782614330565b614361818561433b565b9350614371818560208601612abb565b61437a81612ae5565b840191505092915050565b600060808201905061439a6000830187612be6565b6143a76020830186612be6565b6143b46040830185612cb0565b81810360608301526143c6818461434c565b905095945050505050565b6000815190506143e081612a10565b92915050565b6000602082840312156143fc576143fb6129da565b5b600061440a848285016143d1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614449602083612aaa565b915061445482614413565b602082019050919050565b600060208201905081810360008301526144788161443c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006144b5601c83612aaa565b91506144c08261447f565b602082019050919050565b600060208201905081810360008301526144e4816144a8565b905091905056fea2646970667358221220c05d6d48b75bc6f958fb7e313cf046ee81a448e1c3c4238bb8347c03e2a9a22b64736f6c63430008170033

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.