ETH Price: $3,409.20 (+2.27%)

Token

YecheLangePies (PIE)
 

Overview

Max Total Supply

1,111 PIE

Holders

604

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 PIE
0xE0Dd8C40ACC74005C71CE5d02Cd5116A2eEDB1b0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
YecheLangePies

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-23
*/

// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&B##&###&####@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BP~:!~~^^7~~^.:~!5PGB#&@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@5~.  :!??J557!?77!!77~^!?&@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@P.:~?J5PGB55555PGGGGPPYJJG@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#~75GGGBBBGPPGGBBBG5YYP5?P@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B5P#@@BG!?PGGGGBGP555Y5557!:  .7~P@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BY~^~~::?PBBGGGBG5YY?J?JY!:    ~ !&@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#GPY7:..:~7PBBBGGGG55YJ!!7Y5G!   .::B@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#G57:.^!77YGBBGGGG555J?7!?JJ?~.  .:B@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##BBGGGGP5PG!:^^^~7PGBBGGGPY5Y?7!7??!^:... 5@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@&B5?!~!~~~^:::^^:::^::^~75GGGPP55YYYJ??JJ7~^... :&@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@P????Y555YJJ7!!~~^~^:^^~!?YGGP55YYJJYY?7!77~^. . !@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@#J?JJJYPP5YYJ?7!7!!!~^!!~~!?J5YYJJJJJJJJ?77~7?^... Y@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@GJJYJ?JY55YYJ?7!77??7~~!!!!77777777??7?JJ???!^!~:.: 5@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@#PYJ!75YJJJJY5YYJ77!7????7!!!!!!!!!~!!!77!!7?J??J!~757~~^G@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@#?!!!7?Y5Y?7JYJYYJ77!77??77???!!~~~~!!!!~~!7777??7?!!~~JPP#@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@G!7JYJJ555J?77JJJYJ?7777???????!^^^^!!~~!~!!!?7~~77!!7^.!@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@#G5!?JJ?J5P55Y?7!7JYJJ??7!????777!!!~^^~~~!!777??77~~!!??7^7@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@&#&@&&BY!~:7J??JY5PP5Y?!~!7JYJJ?77??77!!~~~!!::^^~777????7!~~~^~!!~B@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@&J~!!!^:.:~JY?YY5YJY55J!^!77JJ?77!!!!!!!~^^~~^~~~^~?????7!~~~~~~^ Y@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@#7~^~~^^~!J5YY5P5JJYYJ!~~!7J5J?!77!~~!!!~^!~~!7!!~~~!77!~^^^^~^:  P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@&Y777!!!7!J555PPPPJJ557~^^~!JYJ?7777!!!!!~!!~!!!7!~^::~~~^^^^^::^:^&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@G7!7777??J5PPGGPP55PBG7^^^~!7??7!!!!!7!!~!!77777~~~^::^YP?~::::^~^~B@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@&5!77?JJYYYPGPPP5PPPG&B?^^^~^7!~~^^7B&######&&&#P7^::...7#&GY!:^^~:.?#@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@G?7?JJY55PGGPPPPGG#&@&?~~^.~~^^^?&@@@@@@@@@@@@@@&5!:.. ^@@@&BY!:...:&@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@&GYJJYY5PGG555B&@@@@@&7~~::~^^J@@@@@@@@BJ??YPB#B5!~:::!@@@@@@5^^:.:#@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@#PYJJYYY5P#@@@@@@@G?!!^.^!P@@@@@@@@&J..::....:^^^^J&@@@@@@J.^^:.#@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@&G5YP#@@@@@@@&Y!!!!~: ?@@@@@@@@@@P7!~~~~^::^~?B@@@@@@@&! .^: G@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@#7~~~~~^..!&@@@@@@@@#57~~~^^^^^?@@@@@@@@@@7 .:: !@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@P~~~~~^:. J@@@@@@@@@@#G55JJJJY&@@@@@@@@@G^^^:.  P@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@&7~^:!Y!^..B@@@@@@@@@@@@@@@@@@@@@@@@@@@#!^~~^^^.~@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@G~~::#BJ~::Y@@@@@@@@@@@@@@@@@@@@@@@@@@J:~~~~!:^B@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@?~~:!@@P7^:~5BBB&@@@@@@@@@@@@@@@@@@@@P?7~!!!.Y@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@#!!~~.J@@#?~:..: :!P@@@@@@@@@@@@@@@@@@@B5J??75@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@B!7~~^.7GBP7!~^:.  ~&@@@@@@@@@@@@@@@@@@@#GGP#@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@G^~!~~^::..^7???!^.:G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@&Y?7?J??JJJ?YPPP55?~P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&@@@@@@@&&####B&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

// GALERIE YECHE LANGE 

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

// File: @openzeppelin/contracts/utils/Counters.sol


// 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: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// 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: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        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 a {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 a {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 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 {
                    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: contracts/YecheLangePies.sol


pragma solidity ^0.8.4;






contract YecheLangePies is ERC721, Ownable {

    using Counters for Counters.Counter;

    Counters.Counter private tokenIDCounter;

    uint256 public constant totalSupply = 1111;
    uint256 public constant whitelistSupply = 333;
    uint256 public constant reserveSupply = 50; 

    uint256 public constant maxPublicMint = totalSupply - reserveSupply;

    string public baseURI; 
    bytes32 public merkleRoot;

    bool public publicMintActive = false;
    bool public baseURILocked = false;

    mapping(uint256 => uint256) public tokenIDToMetadataID;

    mapping(address => bool) public mintClaimed;

    mapping(address => bool) public canGift;

    uint16[] public metadataIDs;

    constructor() ERC721("YecheLangePies", "PIE") {
        metadataIDs = new uint16[](totalSupply);

        canGift[msg.sender] = true;

        for(uint16 i = 0; i < totalSupply; i++) {
            metadataIDs[i] = i;
        }
    }

    function tokenURI(uint256 tokenID) public view override returns (string memory) {
        require(_exists(tokenID), "ERC721Metadata: URI query for nonexistent token");

        uint256 metadataID = tokenIDToMetadataID[tokenID];

        return string(abi.encodePacked(baseURI, Strings.toString(metadataID)));
    }

    function lockBaseURI() public onlyOwner {
        baseURILocked = true;
    }

    function setBaseURI(string calldata givenBaseURI) public onlyOwner {
        require(!baseURILocked, "base uri locked");
        baseURI = givenBaseURI;
    }

    function setMerkleRoot(bytes32 newMerkleRoot) public onlyOwner {
        merkleRoot = newMerkleRoot;
    }

    function pseudoRandom() internal view returns (uint) {
        return uint(blockhash(block.number - 1));
    }

    function removeMetadataID(uint256 index) internal {
        require(index < metadataIDs.length, "index out of range");

        metadataIDs[index] = metadataIDs[metadataIDs.length - 1];
        metadataIDs.pop();
    }

    function allowGifting(address gifter) public onlyOwner {
        canGift[gifter] = true;
    }

    function allowPublicMint() public onlyOwner {
        publicMintActive = true;
    }

    function numRemainingPublic() public view returns (uint256) {
        uint256 numMinted = tokenIDCounter.current();

        if(publicMintActive) {
            return maxPublicMint - numMinted;
        } else {
            return whitelistSupply - numMinted;
        }
    }

    function numRemainingTotal() public view returns (uint256) {
        uint256 numMinted = tokenIDCounter.current();

        return totalSupply - numMinted;
    }

    function mint(address to) private {
        uint256 tokenID = tokenIDCounter.current();
        uint256 numRemaining = totalSupply - tokenID;

        require(numRemaining == metadataIDs.length, "remaining tokens must equal number of available IDs");
        require(numRemaining > 0, "no more tokens to mint");

        uint256 randIndex = pseudoRandom() % numRemaining;
        uint256 randMetadataID = metadataIDs[randIndex];

        removeMetadataID(randIndex);

        tokenIDToMetadataID[tokenID] = randMetadataID;

        tokenIDCounter.increment();

        _safeMint(to, tokenID);
    }

    function gift(address[] calldata to) public {
        require(canGift[msg.sender], "you are not allowed to gift");

        require(to.length > 0, "no recipients");

        for(uint256 i = 0; i < to.length; i++) {
            require(tokenIDCounter.current() < totalSupply, "no more to gift");
            mint(to[i]);
        }
    }

    function mintPublic() public {
        require(!mintClaimed[msg.sender], "you have already claimed your free mint");
        require(publicMintActive, "public minting is not active");
        
        uint256 numMinted = tokenIDCounter.current();
        
        require(numMinted < maxPublicMint, "public mint limit reached");
        
        mintClaimed[msg.sender] = true;
        mint(msg.sender);
    }

    function mintWhitelist(bytes32[] calldata merkleProof) public {
        require(!mintClaimed[msg.sender], "you have already claimed your free mint");
        require(!publicMintActive, "public minting is active, use mintPublic() instead");
        
        uint256 numMinted = tokenIDCounter.current();
        require(numMinted < whitelistSupply, "whitelist mint limit reached");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, merkleRoot, leaf), "invalid proof");

        mintClaimed[msg.sender] = true;
        mint(msg.sender);
    }
}

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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"gifter","type":"address"}],"name":"allowGifting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"canGift","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"to","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"metadataIDs","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numRemainingPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numRemainingTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSupply","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":"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":"givenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIDToMetadataID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052600a805461ffff191690553480156200001c57600080fd5b50604080518082018252600e81526d59656368654c616e67655069657360901b60208083019182528351808501909452600384526250494560e81b9084015281519192916200006e91600091620001be565b50805162000084906001906020840190620001be565b505050620000a16200009b6200016860201b60201c565b6200016c565b60408051610457808252618b0082019092529060208201618ae08036833750508151620000d692600e9250602001906200024d565b50336000908152600d60205260408120805460ff191660011790555b6104578161ffff161015620001615780600e8261ffff16815481106200011c576200011c62000378565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff1602179055508080620001589062000347565b915050620000f2565b506200038e565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001cc906200030a565b90600052602060002090601f016020900481019282620001f057600085556200023b565b82601f106200020b57805160ff19168380011785556200023b565b828001600101855582156200023b579182015b828111156200023b5782518255916020019190600101906200021e565b5062000249929150620002f3565b5090565b82805482825590600052602060002090600f016010900481019282156200023b5791602002820160005b83821115620002b957835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000277565b8015620002e95782816101000a81549061ffff0219169055600201602081600101049283019260010302620002b9565b5050620002499291505b5b80821115620002495760008155600101620002f4565b600181811c908216806200031f57607f821691505b602082108114156200034157634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156200036e57634e487b7160e01b600052601160045260246000fd5b6001019392505050565b634e487b7160e01b600052603260045260246000fd5b612458806200039e6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063b67c25a3116100b8578063cabadaa01161007c578063cabadaa014610492578063d2257c721461049a578063e4146a4c146104ba578063e985e9c5146104cd578063f2fde38b1461050957600080fd5b8063b67c25a314610431578063b88d4fde1461043e578063c1869a6b14610451578063c495838314610459578063c87b56dd1461047f57600080fd5b80638da5cb5b116100ff5780638da5cb5b146103f557806392ff7caa1461040657806395d89b411461040e5780639edcc31014610416578063a22cb4651461041e57600080fd5b806370a08231146103bf578063715018a6146103d25780637cb64759146103da5780638c874ebd146103ed57600080fd5b80632eb4a7ab116101be57806353df5c7c1161018257806353df5c7c1461037757806355f804b31461037f5780635d148e5c146103925780636352211e146103a45780636c0360eb146103b757600080fd5b80632eb4a7ab1461031c57806333e614131461032557806342842e0e1461032e57806344d84381146103415780634592a8511461035457600080fd5b8063095ea7b311610205578063095ea7b3146102b55780631237e5e8146102ca578063163e1e61146102ed57806318160ddd1461030057806323b872dd1461030957600080fd5b806301ffc9a71461023757806303d41eb61461025f57806306fdde0314610275578063081812fc1461028a575b600080fd5b61024a610245366004611fbb565b61051c565b60405190151581526020015b60405180910390f35b610267603281565b604051908152602001610256565b61027d61056e565b6040516102569190612193565b61029d610298366004611fa2565b610600565b6040516001600160a01b039091168152602001610256565b6102c86102c3366004611f36565b61069a565b005b61024a6102d8366004611d8d565b600c6020526000908152604090205460ff1681565b6102c86102fb366004611f60565b6107b0565b61026761045781565b6102c8610317366004611de2565b6108e3565b61026760095481565b61026761014d81565b6102c861033c366004611de2565b610914565b6102c861034f366004611f60565b61092f565b61024a610362366004611d8d565b600d6020526000908152604090205460ff1681565b6102c8610b0a565b6102c861038d366004611ff5565b610b45565b600a5461024a90610100900460ff1681565b61029d6103b2366004611fa2565b610bc5565b61027d610c3c565b6102676103cd366004611d8d565b610cca565b6102c8610d51565b6102c86103e8366004611fa2565b610d87565b6102c8610db6565b6006546001600160a01b031661029d565b610267610ec6565b61027d610ee6565b6102c8610ef5565b6102c861042c366004611efa565b610f2e565b600a5461024a9060ff1681565b6102c861044c366004611e1e565b610f3d565b610267610f6f565b61046c610467366004611fa2565b610fb1565b60405161ffff9091168152602001610256565b61027d61048d366004611fa2565b610fe9565b6102676110aa565b6102676104a8366004611fa2565b600b6020526000908152604090205481565b6102c86104c8366004611d8d565b6110ba565b61024a6104db366004611daf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c8610517366004611d8d565b611108565b60006001600160e01b031982166380ac58cd60e01b148061054d57506001600160e01b03198216635b5e139f60e01b145b8061056857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461057d90612334565b80601f01602080910402602001604051908101604052809291908181526020018280546105a990612334565b80156105f65780601f106105cb576101008083540402835291602001916105f6565b820191906000526020600020905b8154815290600101906020018083116105d957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661067e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106a582610bc5565b9050806001600160a01b0316836001600160a01b031614156107135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610675565b336001600160a01b038216148061072f575061072f81336104db565b6107a15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610675565b6107ab83836111a0565b505050565b336000908152600d602052604090205460ff1661080f5760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f7420616c6c6f77656420746f206769667400000000006044820152606401610675565b8061084c5760405162461bcd60e51b815260206004820152600d60248201526c6e6f20726563697069656e747360981b6044820152606401610675565b60005b818110156107ab5761045761086360075490565b106108a25760405162461bcd60e51b815260206004820152600f60248201526e1b9bc81b5bdc99481d1bc819da599d608a1b6044820152606401610675565b6108d18383838181106108b7576108b76123e0565b90506020020160208101906108cc9190611d8d565b61120e565b806108db8161236f565b91505061084f565b6108ed338261136b565b6109095760405162461bcd60e51b815260040161067590612274565b6107ab838383611462565b6107ab83838360405180602001604052806000815250610f3d565b336000908152600c602052604090205460ff161561095f5760405162461bcd60e51b8152600401610675906121f8565b600a5460ff16156109cd5760405162461bcd60e51b815260206004820152603260248201527f7075626c6963206d696e74696e67206973206163746976652c20757365206d696044820152711b9d141d589b1a58ca0a481a5b9cdd19585960721b6064820152608401610675565b60006109d860075490565b905061014d8110610a2b5760405162461bcd60e51b815260206004820152601c60248201527f77686974656c697374206d696e74206c696d69742072656163686564000000006044820152606401610675565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610aa58484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060095491508490506115fe565b610ae15760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610675565b336000818152600c60205260409020805460ff19166001179055610b049061120e565b50505050565b6006546001600160a01b03163314610b345760405162461bcd60e51b81526004016106759061223f565b600a805461ff001916610100179055565b6006546001600160a01b03163314610b6f5760405162461bcd60e51b81526004016106759061223f565b600a54610100900460ff1615610bb95760405162461bcd60e51b815260206004820152600f60248201526e18985cd9481d5c9a481b1bd8dad959608a1b6044820152606401610675565b6107ab60088383611c95565b6000818152600260205260408120546001600160a01b0316806105685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610675565b60088054610c4990612334565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590612334565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b505050505081565b60006001600160a01b038216610d355760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610675565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d7b5760405162461bcd60e51b81526004016106759061223f565b610d856000611614565b565b6006546001600160a01b03163314610db15760405162461bcd60e51b81526004016106759061223f565b600955565b336000908152600c602052604090205460ff1615610de65760405162461bcd60e51b8152600401610675906121f8565b600a5460ff16610e385760405162461bcd60e51b815260206004820152601c60248201527f7075626c6963206d696e74696e67206973206e6f7420616374697665000000006044820152606401610675565b6000610e4360075490565b9050610e5260326104576122f1565b8110610ea05760405162461bcd60e51b815260206004820152601960248201527f7075626c6963206d696e74206c696d69742072656163686564000000000000006044820152606401610675565b336000818152600c60205260409020805460ff19166001179055610ec39061120e565b50565b600080610ed260075490565b9050610ee0816104576122f1565b91505090565b60606001805461057d90612334565b6006546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016106759061223f565b600a805460ff19166001179055565b610f39338383611666565b5050565b610f47338361136b565b610f635760405162461bcd60e51b815260040161067590612274565b610b0484848484611735565b600080610f7b60075490565b600a5490915060ff1615610fa15780610f9760326104576122f1565b610ee091906122f1565b610ee08161014d6122f1565b5090565b600e8181548110610fc157600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b6000818152600260205260409020546060906001600160a01b03166110685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610675565b6000828152600b6020526040902054600861108282611768565b6040516020016110939291906120af565b604051602081830303815290604052915050919050565b6110b760326104576122f1565b81565b6006546001600160a01b031633146110e45760405162461bcd60e51b81526004016106759061223f565b6001600160a01b03166000908152600d60205260409020805460ff19166001179055565b6006546001600160a01b031633146111325760405162461bcd60e51b81526004016106759061223f565b6001600160a01b0381166111975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610675565b610ec381611614565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111d582610bc5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061121960075490565b90506000611229826104576122f1565b600e5490915081146112995760405162461bcd60e51b815260206004820152603360248201527f72656d61696e696e6720746f6b656e73206d75737420657175616c206e756d626044820152726572206f6620617661696c61626c652049447360681b6064820152608401610675565b600081116112e25760405162461bcd60e51b81526020600482015260166024820152751b9bc81b5bdc99481d1bdad95b9cc81d1bc81b5a5b9d60521b6044820152606401610675565b6000816112ed611866565b6112f7919061238a565b90506000600e828154811061130e5761130e6123e0565b60009182526020909120601082040154600f9091166002026101000a900461ffff16905061133b82611879565b6000848152600b6020526040902081905561135a600780546001019055565b6113648585611985565b5050505050565b6000818152600260205260408120546001600160a01b03166113e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610675565b60006113ef83610bc5565b9050806001600160a01b0316846001600160a01b0316148061143657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061145a5750836001600160a01b031661144f84610600565b6001600160a01b0316145b949350505050565b826001600160a01b031661147582610bc5565b6001600160a01b0316146114d95760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610675565b6001600160a01b03821661153b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610675565b6115466000826111a0565b6001600160a01b038316600090815260036020526040812080546001929061156f9084906122f1565b90915550506001600160a01b038216600090815260036020526040812080546001929061159d9084906122c5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008261160b858461199f565b14949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156116c85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610675565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611740848484611462565b61174c84848484611a13565b610b045760405162461bcd60e51b8152600401610675906121a6565b60608161178c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117b657806117a08161236f565b91506117af9050600a836122dd565b9150611790565b60008167ffffffffffffffff8111156117d1576117d16123f6565b6040519080825280601f01601f1916602001820160405280156117fb576020820181803683370190505b5090505b841561145a576118106001836122f1565b915061181d600a8661238a565b6118289060306122c5565b60f81b81838151811061183d5761183d6123e0565b60200101906001600160f81b031916908160001a90535061185f600a866122dd565b94506117ff565b60006118736001436122f1565b40919050565b600e5481106118bf5760405162461bcd60e51b8152602060048201526012602482015271696e646578206f7574206f662072616e676560701b6044820152606401610675565b600e80546118cf906001906122f1565b815481106118df576118df6123e0565b90600052602060002090601091828204019190066002029054906101000a900461ffff16600e8281548110611916576119166123e0565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600e805480611956576119566123ca565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905550565b610f39828260405180602001604052806000815250611b20565b600081815b8451811015611a0b5760008582815181106119c1576119c16123e0565b602002602001015190508083116119e757600083815260208290526040902092506119f8565b600081815260208490526040902092505b5080611a038161236f565b9150506119a4565b509392505050565b60006001600160a01b0384163b15611b1557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a57903390899088908890600401612156565b602060405180830381600087803b158015611a7157600080fd5b505af1925050508015611aa1575060408051601f3d908101601f19168201909252611a9e91810190611fd8565b60015b611afb573d808015611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b508051611af35760405162461bcd60e51b8152600401610675906121a6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061145a565b506001949350505050565b611b2a8383611b53565b611b376000848484611a13565b6107ab5760405162461bcd60e51b8152600401610675906121a6565b6001600160a01b038216611ba95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610675565b6000818152600260205260409020546001600160a01b031615611c0e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610675565b6001600160a01b0382166000908152600360205260408120805460019290611c379084906122c5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ca190612334565b90600052602060002090601f016020900481019282611cc35760008555611d09565b82601f10611cdc5782800160ff19823516178555611d09565b82800160010185558215611d09579182015b82811115611d09578235825591602001919060010190611cee565b50610fad9291505b80821115610fad5760008155600101611d11565b80356001600160a01b0381168114611d3c57600080fd5b919050565b60008083601f840112611d5357600080fd5b50813567ffffffffffffffff811115611d6b57600080fd5b6020830191508360208260051b8501011115611d8657600080fd5b9250929050565b600060208284031215611d9f57600080fd5b611da882611d25565b9392505050565b60008060408385031215611dc257600080fd5b611dcb83611d25565b9150611dd960208401611d25565b90509250929050565b600080600060608486031215611df757600080fd5b611e0084611d25565b9250611e0e60208501611d25565b9150604084013590509250925092565b60008060008060808587031215611e3457600080fd5b611e3d85611d25565b9350611e4b60208601611d25565b925060408501359150606085013567ffffffffffffffff80821115611e6f57600080fd5b818701915087601f830112611e8357600080fd5b813581811115611e9557611e956123f6565b604051601f8201601f19908116603f01168101908382118183101715611ebd57611ebd6123f6565b816040528281528a6020848701011115611ed657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611f0d57600080fd5b611f1683611d25565b915060208301358015158114611f2b57600080fd5b809150509250929050565b60008060408385031215611f4957600080fd5b611f5283611d25565b946020939093013593505050565b60008060208385031215611f7357600080fd5b823567ffffffffffffffff811115611f8a57600080fd5b611f9685828601611d41565b90969095509350505050565b600060208284031215611fb457600080fd5b5035919050565b600060208284031215611fcd57600080fd5b8135611da88161240c565b600060208284031215611fea57600080fd5b8151611da88161240c565b6000806020838503121561200857600080fd5b823567ffffffffffffffff8082111561202057600080fd5b818501915085601f83011261203457600080fd5b81358181111561204357600080fd5b86602082850101111561205557600080fd5b60209290920196919550909350505050565b6000815180845261207f816020860160208601612308565b601f01601f19169290920160200192915050565b600081516120a5818560208601612308565b9290920192915050565b600080845481600182811c9150808316806120cb57607f831692505b60208084108214156120eb57634e487b7160e01b86526022600452602486fd5b8180156120ff57600181146121105761213d565b60ff1986168952848901965061213d565b60008b81526020902060005b868110156121355781548b82015290850190830161211c565b505084890196505b50505050505061214d8185612093565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061218990830184612067565b9695505050505050565b602081526000611da86020830184612067565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526027908201527f796f75206861766520616c726561647920636c61696d656420796f75722066726040820152661959481b5a5b9d60ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156122d8576122d861239e565b500190565b6000826122ec576122ec6123b4565b500490565b6000828210156123035761230361239e565b500390565b60005b8381101561232357818101518382015260200161230b565b83811115610b045750506000910152565b600181811c9082168061234857607f821691505b6020821081141561236957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123835761238361239e565b5060010190565b600082612399576123996123b4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ec357600080fdfea2646970667358221220f0bc5e6b3887a2a2140aa48df64ecdfb7aea048ea3de967bfac430a386fa4a1e64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063b67c25a3116100b8578063cabadaa01161007c578063cabadaa014610492578063d2257c721461049a578063e4146a4c146104ba578063e985e9c5146104cd578063f2fde38b1461050957600080fd5b8063b67c25a314610431578063b88d4fde1461043e578063c1869a6b14610451578063c495838314610459578063c87b56dd1461047f57600080fd5b80638da5cb5b116100ff5780638da5cb5b146103f557806392ff7caa1461040657806395d89b411461040e5780639edcc31014610416578063a22cb4651461041e57600080fd5b806370a08231146103bf578063715018a6146103d25780637cb64759146103da5780638c874ebd146103ed57600080fd5b80632eb4a7ab116101be57806353df5c7c1161018257806353df5c7c1461037757806355f804b31461037f5780635d148e5c146103925780636352211e146103a45780636c0360eb146103b757600080fd5b80632eb4a7ab1461031c57806333e614131461032557806342842e0e1461032e57806344d84381146103415780634592a8511461035457600080fd5b8063095ea7b311610205578063095ea7b3146102b55780631237e5e8146102ca578063163e1e61146102ed57806318160ddd1461030057806323b872dd1461030957600080fd5b806301ffc9a71461023757806303d41eb61461025f57806306fdde0314610275578063081812fc1461028a575b600080fd5b61024a610245366004611fbb565b61051c565b60405190151581526020015b60405180910390f35b610267603281565b604051908152602001610256565b61027d61056e565b6040516102569190612193565b61029d610298366004611fa2565b610600565b6040516001600160a01b039091168152602001610256565b6102c86102c3366004611f36565b61069a565b005b61024a6102d8366004611d8d565b600c6020526000908152604090205460ff1681565b6102c86102fb366004611f60565b6107b0565b61026761045781565b6102c8610317366004611de2565b6108e3565b61026760095481565b61026761014d81565b6102c861033c366004611de2565b610914565b6102c861034f366004611f60565b61092f565b61024a610362366004611d8d565b600d6020526000908152604090205460ff1681565b6102c8610b0a565b6102c861038d366004611ff5565b610b45565b600a5461024a90610100900460ff1681565b61029d6103b2366004611fa2565b610bc5565b61027d610c3c565b6102676103cd366004611d8d565b610cca565b6102c8610d51565b6102c86103e8366004611fa2565b610d87565b6102c8610db6565b6006546001600160a01b031661029d565b610267610ec6565b61027d610ee6565b6102c8610ef5565b6102c861042c366004611efa565b610f2e565b600a5461024a9060ff1681565b6102c861044c366004611e1e565b610f3d565b610267610f6f565b61046c610467366004611fa2565b610fb1565b60405161ffff9091168152602001610256565b61027d61048d366004611fa2565b610fe9565b6102676110aa565b6102676104a8366004611fa2565b600b6020526000908152604090205481565b6102c86104c8366004611d8d565b6110ba565b61024a6104db366004611daf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c8610517366004611d8d565b611108565b60006001600160e01b031982166380ac58cd60e01b148061054d57506001600160e01b03198216635b5e139f60e01b145b8061056857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461057d90612334565b80601f01602080910402602001604051908101604052809291908181526020018280546105a990612334565b80156105f65780601f106105cb576101008083540402835291602001916105f6565b820191906000526020600020905b8154815290600101906020018083116105d957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661067e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106a582610bc5565b9050806001600160a01b0316836001600160a01b031614156107135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610675565b336001600160a01b038216148061072f575061072f81336104db565b6107a15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610675565b6107ab83836111a0565b505050565b336000908152600d602052604090205460ff1661080f5760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f7420616c6c6f77656420746f206769667400000000006044820152606401610675565b8061084c5760405162461bcd60e51b815260206004820152600d60248201526c6e6f20726563697069656e747360981b6044820152606401610675565b60005b818110156107ab5761045761086360075490565b106108a25760405162461bcd60e51b815260206004820152600f60248201526e1b9bc81b5bdc99481d1bc819da599d608a1b6044820152606401610675565b6108d18383838181106108b7576108b76123e0565b90506020020160208101906108cc9190611d8d565b61120e565b806108db8161236f565b91505061084f565b6108ed338261136b565b6109095760405162461bcd60e51b815260040161067590612274565b6107ab838383611462565b6107ab83838360405180602001604052806000815250610f3d565b336000908152600c602052604090205460ff161561095f5760405162461bcd60e51b8152600401610675906121f8565b600a5460ff16156109cd5760405162461bcd60e51b815260206004820152603260248201527f7075626c6963206d696e74696e67206973206163746976652c20757365206d696044820152711b9d141d589b1a58ca0a481a5b9cdd19585960721b6064820152608401610675565b60006109d860075490565b905061014d8110610a2b5760405162461bcd60e51b815260206004820152601c60248201527f77686974656c697374206d696e74206c696d69742072656163686564000000006044820152606401610675565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610aa58484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060095491508490506115fe565b610ae15760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610675565b336000818152600c60205260409020805460ff19166001179055610b049061120e565b50505050565b6006546001600160a01b03163314610b345760405162461bcd60e51b81526004016106759061223f565b600a805461ff001916610100179055565b6006546001600160a01b03163314610b6f5760405162461bcd60e51b81526004016106759061223f565b600a54610100900460ff1615610bb95760405162461bcd60e51b815260206004820152600f60248201526e18985cd9481d5c9a481b1bd8dad959608a1b6044820152606401610675565b6107ab60088383611c95565b6000818152600260205260408120546001600160a01b0316806105685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610675565b60088054610c4990612334565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590612334565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b505050505081565b60006001600160a01b038216610d355760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610675565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d7b5760405162461bcd60e51b81526004016106759061223f565b610d856000611614565b565b6006546001600160a01b03163314610db15760405162461bcd60e51b81526004016106759061223f565b600955565b336000908152600c602052604090205460ff1615610de65760405162461bcd60e51b8152600401610675906121f8565b600a5460ff16610e385760405162461bcd60e51b815260206004820152601c60248201527f7075626c6963206d696e74696e67206973206e6f7420616374697665000000006044820152606401610675565b6000610e4360075490565b9050610e5260326104576122f1565b8110610ea05760405162461bcd60e51b815260206004820152601960248201527f7075626c6963206d696e74206c696d69742072656163686564000000000000006044820152606401610675565b336000818152600c60205260409020805460ff19166001179055610ec39061120e565b50565b600080610ed260075490565b9050610ee0816104576122f1565b91505090565b60606001805461057d90612334565b6006546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016106759061223f565b600a805460ff19166001179055565b610f39338383611666565b5050565b610f47338361136b565b610f635760405162461bcd60e51b815260040161067590612274565b610b0484848484611735565b600080610f7b60075490565b600a5490915060ff1615610fa15780610f9760326104576122f1565b610ee091906122f1565b610ee08161014d6122f1565b5090565b600e8181548110610fc157600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b6000818152600260205260409020546060906001600160a01b03166110685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610675565b6000828152600b6020526040902054600861108282611768565b6040516020016110939291906120af565b604051602081830303815290604052915050919050565b6110b760326104576122f1565b81565b6006546001600160a01b031633146110e45760405162461bcd60e51b81526004016106759061223f565b6001600160a01b03166000908152600d60205260409020805460ff19166001179055565b6006546001600160a01b031633146111325760405162461bcd60e51b81526004016106759061223f565b6001600160a01b0381166111975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610675565b610ec381611614565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111d582610bc5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061121960075490565b90506000611229826104576122f1565b600e5490915081146112995760405162461bcd60e51b815260206004820152603360248201527f72656d61696e696e6720746f6b656e73206d75737420657175616c206e756d626044820152726572206f6620617661696c61626c652049447360681b6064820152608401610675565b600081116112e25760405162461bcd60e51b81526020600482015260166024820152751b9bc81b5bdc99481d1bdad95b9cc81d1bc81b5a5b9d60521b6044820152606401610675565b6000816112ed611866565b6112f7919061238a565b90506000600e828154811061130e5761130e6123e0565b60009182526020909120601082040154600f9091166002026101000a900461ffff16905061133b82611879565b6000848152600b6020526040902081905561135a600780546001019055565b6113648585611985565b5050505050565b6000818152600260205260408120546001600160a01b03166113e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610675565b60006113ef83610bc5565b9050806001600160a01b0316846001600160a01b0316148061143657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061145a5750836001600160a01b031661144f84610600565b6001600160a01b0316145b949350505050565b826001600160a01b031661147582610bc5565b6001600160a01b0316146114d95760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610675565b6001600160a01b03821661153b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610675565b6115466000826111a0565b6001600160a01b038316600090815260036020526040812080546001929061156f9084906122f1565b90915550506001600160a01b038216600090815260036020526040812080546001929061159d9084906122c5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008261160b858461199f565b14949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156116c85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610675565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611740848484611462565b61174c84848484611a13565b610b045760405162461bcd60e51b8152600401610675906121a6565b60608161178c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117b657806117a08161236f565b91506117af9050600a836122dd565b9150611790565b60008167ffffffffffffffff8111156117d1576117d16123f6565b6040519080825280601f01601f1916602001820160405280156117fb576020820181803683370190505b5090505b841561145a576118106001836122f1565b915061181d600a8661238a565b6118289060306122c5565b60f81b81838151811061183d5761183d6123e0565b60200101906001600160f81b031916908160001a90535061185f600a866122dd565b94506117ff565b60006118736001436122f1565b40919050565b600e5481106118bf5760405162461bcd60e51b8152602060048201526012602482015271696e646578206f7574206f662072616e676560701b6044820152606401610675565b600e80546118cf906001906122f1565b815481106118df576118df6123e0565b90600052602060002090601091828204019190066002029054906101000a900461ffff16600e8281548110611916576119166123e0565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600e805480611956576119566123ca565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905550565b610f39828260405180602001604052806000815250611b20565b600081815b8451811015611a0b5760008582815181106119c1576119c16123e0565b602002602001015190508083116119e757600083815260208290526040902092506119f8565b600081815260208490526040902092505b5080611a038161236f565b9150506119a4565b509392505050565b60006001600160a01b0384163b15611b1557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a57903390899088908890600401612156565b602060405180830381600087803b158015611a7157600080fd5b505af1925050508015611aa1575060408051601f3d908101601f19168201909252611a9e91810190611fd8565b60015b611afb573d808015611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b508051611af35760405162461bcd60e51b8152600401610675906121a6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061145a565b506001949350505050565b611b2a8383611b53565b611b376000848484611a13565b6107ab5760405162461bcd60e51b8152600401610675906121a6565b6001600160a01b038216611ba95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610675565b6000818152600260205260409020546001600160a01b031615611c0e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610675565b6001600160a01b0382166000908152600360205260408120805460019290611c379084906122c5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ca190612334565b90600052602060002090601f016020900481019282611cc35760008555611d09565b82601f10611cdc5782800160ff19823516178555611d09565b82800160010185558215611d09579182015b82811115611d09578235825591602001919060010190611cee565b50610fad9291505b80821115610fad5760008155600101611d11565b80356001600160a01b0381168114611d3c57600080fd5b919050565b60008083601f840112611d5357600080fd5b50813567ffffffffffffffff811115611d6b57600080fd5b6020830191508360208260051b8501011115611d8657600080fd5b9250929050565b600060208284031215611d9f57600080fd5b611da882611d25565b9392505050565b60008060408385031215611dc257600080fd5b611dcb83611d25565b9150611dd960208401611d25565b90509250929050565b600080600060608486031215611df757600080fd5b611e0084611d25565b9250611e0e60208501611d25565b9150604084013590509250925092565b60008060008060808587031215611e3457600080fd5b611e3d85611d25565b9350611e4b60208601611d25565b925060408501359150606085013567ffffffffffffffff80821115611e6f57600080fd5b818701915087601f830112611e8357600080fd5b813581811115611e9557611e956123f6565b604051601f8201601f19908116603f01168101908382118183101715611ebd57611ebd6123f6565b816040528281528a6020848701011115611ed657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611f0d57600080fd5b611f1683611d25565b915060208301358015158114611f2b57600080fd5b809150509250929050565b60008060408385031215611f4957600080fd5b611f5283611d25565b946020939093013593505050565b60008060208385031215611f7357600080fd5b823567ffffffffffffffff811115611f8a57600080fd5b611f9685828601611d41565b90969095509350505050565b600060208284031215611fb457600080fd5b5035919050565b600060208284031215611fcd57600080fd5b8135611da88161240c565b600060208284031215611fea57600080fd5b8151611da88161240c565b6000806020838503121561200857600080fd5b823567ffffffffffffffff8082111561202057600080fd5b818501915085601f83011261203457600080fd5b81358181111561204357600080fd5b86602082850101111561205557600080fd5b60209290920196919550909350505050565b6000815180845261207f816020860160208601612308565b601f01601f19169290920160200192915050565b600081516120a5818560208601612308565b9290920192915050565b600080845481600182811c9150808316806120cb57607f831692505b60208084108214156120eb57634e487b7160e01b86526022600452602486fd5b8180156120ff57600181146121105761213d565b60ff1986168952848901965061213d565b60008b81526020902060005b868110156121355781548b82015290850190830161211c565b505084890196505b50505050505061214d8185612093565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061218990830184612067565b9695505050505050565b602081526000611da86020830184612067565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526027908201527f796f75206861766520616c726561647920636c61696d656420796f75722066726040820152661959481b5a5b9d60ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156122d8576122d861239e565b500190565b6000826122ec576122ec6123b4565b500490565b6000828210156123035761230361239e565b500390565b60005b8381101561232357818101518382015260200161230b565b83811115610b045750506000910152565b600181811c9082168061234857607f821691505b6020821081141561236957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123835761238361239e565b5060010190565b600082612399576123996123b4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ec357600080fdfea2646970667358221220f0bc5e6b3887a2a2140aa48df64ecdfb7aea048ea3de967bfac430a386fa4a1e64736f6c63430008070033

Deployed Bytecode Sourcemap

45861:4700:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32666:305;;;;;;:::i;:::-;;:::i;:::-;;;8193:14:1;;8186:22;8168:41;;8156:2;8141:18;32666:305:0;;;;;;;;46106:42;;46146:2;46106:42;;;;;8366:25:1;;;8354:2;8339:18;46106:42:0;8220:177:1;33611:100:0;;;:::i;:::-;;;;;;;:::i;35171:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7491:32:1;;;7473:51;;7461:2;7446:18;35171:221:0;7327:203:1;34694:411:0;;;;;;:::i;:::-;;:::i;:::-;;46445:43;;;;;;:::i;:::-;;;;;;;;;;;;;;;;49164:344;;;;;;:::i;:::-;;:::i;46005:42::-;;46043:4;46005:42;;35921:339;;;;;;:::i;:::-;;:::i;46263:25::-;;;;;;46054:45;;46096:3;46054:45;;36331:185;;;;;;:::i;:::-;;:::i;49943:615::-;;;;;;:::i;:::-;;:::i;46497:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47157:79;;;:::i;47244:161::-;;;;;;:::i;:::-;;:::i;46340:33::-;;;;;;;;;;;;33305:239;;;;;;:::i;:::-;;:::i;46234:21::-;;;:::i;33035:208::-;;;;;;:::i;:::-;;:::i;13249:103::-;;;:::i;47413:108::-;;;;;;:::i;:::-;;:::i;49516:419::-;;;:::i;12598:87::-;12671:6;;-1:-1:-1;;;;;12671:6:0;12598:87;;48368:165;;;:::i;33780:104::-;;;:::i;47984:86::-;;;:::i;35464:155::-;;;;;;:::i;:::-;;:::i;46297:36::-;;;;;;;;;36587:328;;;;;;:::i;:::-;;:::i;48078:282::-;;;:::i;46545:27::-;;;;;;:::i;:::-;;:::i;:::-;;;19919:6:1;19907:19;;;19889:38;;19877:2;19862:18;46545:27:0;19745:188:1;46829:320:0;;;;;;:::i;:::-;;:::i;46158:67::-;;;:::i;46382:54::-;;;;;;:::i;:::-;;;;;;;;;;;;;;47880:96;;;;;;:::i;:::-;;:::i;35690:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;35811:25:0;;;35787:4;35811:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35690:164;13507:201;;;;;;:::i;:::-;;:::i;32666:305::-;32768:4;-1:-1:-1;;;;;;32805:40:0;;-1:-1:-1;;;32805:40:0;;:105;;-1:-1:-1;;;;;;;32862:48:0;;-1:-1:-1;;;32862:48:0;32805:105;:158;;;-1:-1:-1;;;;;;;;;;25514:40:0;;;32927:36;32785:178;32666:305;-1:-1:-1;;32666:305:0:o;33611:100::-;33665:13;33698:5;33691:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33611:100;:::o;35171:221::-;35247:7;38514:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38514:16:0;35267:73;;;;-1:-1:-1;;;35267:73:0;;15777:2:1;35267:73:0;;;15759:21:1;15816:2;15796:18;;;15789:30;15855:34;15835:18;;;15828:62;-1:-1:-1;;;15906:18:1;;;15899:42;15958:19;;35267:73:0;;;;;;;;;-1:-1:-1;35360:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35360:24:0;;35171:221::o;34694:411::-;34775:13;34791:23;34806:7;34791:14;:23::i;:::-;34775:39;;34839:5;-1:-1:-1;;;;;34833:11:0;:2;-1:-1:-1;;;;;34833:11:0;;;34825:57;;;;-1:-1:-1;;;34825:57:0;;17680:2:1;34825:57:0;;;17662:21:1;17719:2;17699:18;;;17692:30;17758:34;17738:18;;;17731:62;-1:-1:-1;;;17809:18:1;;;17802:31;17850:19;;34825:57:0;17478:397:1;34825:57:0;11402:10;-1:-1:-1;;;;;34917:21:0;;;;:62;;-1:-1:-1;34942:37:0;34959:5;11402:10;35690:164;:::i;34942:37::-;34895:168;;;;-1:-1:-1;;;34895:168:0;;13469:2:1;34895:168:0;;;13451:21:1;13508:2;13488:18;;;13481:30;13547:34;13527:18;;;13520:62;13618:26;13598:18;;;13591:54;13662:19;;34895:168:0;13267:420:1;34895:168:0;35076:21;35085:2;35089:7;35076:8;:21::i;:::-;34764:341;34694:411;;:::o;49164:344::-;49235:10;49227:19;;;;:7;:19;;;;;;;;49219:59;;;;-1:-1:-1;;;49219:59:0;;16551:2:1;49219:59:0;;;16533:21:1;16590:2;16570:18;;;16563:30;16629:29;16609:18;;;16602:57;16676:18;;49219:59:0;16349:351:1;49219:59:0;49299:13;49291:39;;;;-1:-1:-1;;;49291:39:0;;18082:2:1;49291:39:0;;;18064:21:1;18121:2;18101:18;;;18094:30;-1:-1:-1;;;18140:18:1;;;18133:43;18193:18;;49291:39:0;17880:337:1;49291:39:0;49347:9;49343:158;49362:13;;;49343:158;;;46043:4;49405:24;:14;8018;;7926:114;49405:24;:38;49397:66;;;;-1:-1:-1;;;49397:66:0;;18424:2:1;49397:66:0;;;18406:21:1;18463:2;18443:18;;;18436:30;-1:-1:-1;;;18482:18:1;;;18475:45;18537:18;;49397:66:0;18222:339:1;49397:66:0;49478:11;49483:2;;49486:1;49483:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;49478:4;:11::i;:::-;49377:3;;;;:::i;:::-;;;;49343:158;;35921:339;36116:41;11402:10;36149:7;36116:18;:41::i;:::-;36108:103;;;;-1:-1:-1;;;36108:103:0;;;;;;;:::i;:::-;36224:28;36234:4;36240:2;36244:7;36224:9;:28::i;36331:185::-;36469:39;36486:4;36492:2;36496:7;36469:39;;;;;;;;;;;;:16;:39::i;49943:615::-;50037:10;50025:23;;;;:11;:23;;;;;;;;50024:24;50016:76;;;;-1:-1:-1;;;50016:76:0;;;;;;;:::i;:::-;50112:16;;;;50111:17;50103:80;;;;-1:-1:-1;;;50103:80:0;;19528:2:1;50103:80:0;;;19510:21:1;19567:2;19547:18;;;19540:30;19606:34;19586:18;;;19579:62;-1:-1:-1;;;19657:18:1;;;19650:48;19715:19;;50103:80:0;19326:414:1;50103:80:0;50204:17;50224:24;:14;8018;;7926:114;50224:24;50204:44;;46096:3;50267:9;:27;50259:68;;;;-1:-1:-1;;;50259:68:0;;11532:2:1;50259:68:0;;;11514:21:1;11571:2;11551:18;;;11544:30;11610;11590:18;;;11583:58;11658:18;;50259:68:0;11330:352:1;50259:68:0;50365:28;;-1:-1:-1;;50382:10:0;6063:2:1;6059:15;6055:53;50365:28:0;;;6043:66:1;50340:12:0;;6125::1;;50365:28:0;;;;;;;;;;;;50355:39;;;;;;50340:54;;50413:49;50432:11;;50413:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50445:10:0;;;-1:-1:-1;50457:4:0;;-1:-1:-1;50413:18:0;:49::i;:::-;50405:75;;;;-1:-1:-1;;;50405:75:0;;19186:2:1;50405:75:0;;;19168:21:1;19225:2;19205:18;;;19198:30;-1:-1:-1;;;19244:18:1;;;19237:43;19297:18;;50405:75:0;18984:337:1;50405:75:0;50505:10;50493:23;;;;:11;:23;;;;;:30;;-1:-1:-1;;50493:30:0;50519:4;50493:30;;;50534:16;;:4;:16::i;:::-;50005:553;;49943:615;;:::o;47157:79::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;47208:13:::1;:20:::0;;-1:-1:-1;;47208:20:0::1;;;::::0;;47157:79::o;47244:161::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;47331:13:::1;::::0;::::1;::::0;::::1;;;47330:14;47322:42;;;::::0;-1:-1:-1;;;47322:42:0;;10417:2:1;47322:42:0::1;::::0;::::1;10399:21:1::0;10456:2;10436:18;;;10429:30;-1:-1:-1;;;10475:18:1;;;10468:45;10530:18;;47322:42:0::1;10215:339:1::0;47322:42:0::1;47375:22;:7;47385:12:::0;;47375:22:::1;:::i;33305:239::-:0;33377:7;33413:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33413:16:0;33448:19;33440:73;;;;-1:-1:-1;;;33440:73:0;;14652:2:1;33440:73:0;;;14634:21:1;14691:2;14671:18;;;14664:30;14730:34;14710:18;;;14703:62;-1:-1:-1;;;14781:18:1;;;14774:39;14830:19;;33440:73:0;14450:405:1;46234:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33035:208::-;33107:7;-1:-1:-1;;;;;33135:19:0;;33127:74;;;;-1:-1:-1;;;33127:74:0;;14241:2:1;33127:74:0;;;14223:21:1;14280:2;14260:18;;;14253:30;14319:34;14299:18;;;14292:62;-1:-1:-1;;;14370:18:1;;;14363:40;14420:19;;33127:74:0;14039:406:1;33127:74:0;-1:-1:-1;;;;;;33219:16:0;;;;;:9;:16;;;;;;;33035:208::o;13249:103::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;13314:30:::1;13341:1;13314:18;:30::i;:::-;13249:103::o:0;47413:108::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;47487:10:::1;:26:::0;47413:108::o;49516:419::-;49577:10;49565:23;;;;:11;:23;;;;;;;;49564:24;49556:76;;;;-1:-1:-1;;;49556:76:0;;;;;;;:::i;:::-;49651:16;;;;49643:57;;;;-1:-1:-1;;;49643:57:0;;17323:2:1;49643:57:0;;;17305:21:1;17362:2;17342:18;;;17335:30;17401;17381:18;;;17374:58;17449:18;;49643:57:0;17121:352:1;49643:57:0;49721:17;49741:24;:14;8018;;7926:114;49741:24;49721:44;-1:-1:-1;46198:27:0;46146:2;46043:4;46198:27;:::i;:::-;49794:9;:25;49786:63;;;;-1:-1:-1;;;49786:63:0;;15062:2:1;49786:63:0;;;15044:21:1;15101:2;15081:18;;;15074:30;15140:27;15120:18;;;15113:55;15185:18;;49786:63:0;14860:349:1;49786:63:0;49882:10;49870:23;;;;:11;:23;;;;;:30;;-1:-1:-1;;49870:30:0;49896:4;49870:30;;;49911:16;;:4;:16::i;:::-;49545:390;49516:419::o;48368:165::-;48418:7;48438:17;48458:24;:14;8018;;7926:114;48458:24;48438:44;-1:-1:-1;48502:23:0;48438:44;46043:4;48502:23;:::i;:::-;48495:30;;;48368:165;:::o;33780:104::-;33836:13;33869:7;33862:14;;;;;:::i;47984:86::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;48039:16:::1;:23:::0;;-1:-1:-1;;48039:23:0::1;48058:4;48039:23;::::0;;47984:86::o;35464:155::-;35559:52;11402:10;35592:8;35602;35559:18;:52::i;:::-;35464:155;;:::o;36587:328::-;36762:41;11402:10;36795:7;36762:18;:41::i;:::-;36754:103;;;;-1:-1:-1;;;36754:103:0;;;;;;;:::i;:::-;36868:39;36882:4;36888:2;36892:7;36901:5;36868:13;:39::i;48078:282::-;48129:7;48149:17;48169:24;:14;8018;;7926:114;48169:24;48209:16;;48149:44;;-1:-1:-1;48209:16:0;;48206:147;;;48265:9;46198:27;46146:2;46043:4;46198:27;:::i;:::-;48249:25;;;;:::i;48206:147::-;48314:27;48332:9;46096:3;48314:27;:::i;48206:147::-;48138:222;48078:282;:::o;46545:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46829:320::-;38490:4;38514:16;;;:7;:16;;;;;;46894:13;;-1:-1:-1;;;;;38514:16:0;46920:76;;;;-1:-1:-1;;;46920:76:0;;16907:2:1;46920:76:0;;;16889:21:1;16946:2;16926:18;;;16919:30;16985:34;16965:18;;;16958:62;-1:-1:-1;;;17036:18:1;;;17029:45;17091:19;;46920:76:0;16705:411:1;46920:76:0;47009:18;47030:28;;;:19;:28;;;;;;47102:7;47111:28;47030;47111:16;:28::i;:::-;47085:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47071:70;;;46829:320;;;:::o;46158:67::-;46198:27;46146:2;46043:4;46198:27;:::i;:::-;46158:67;:::o;47880:96::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47946:15:0::1;;::::0;;;:7:::1;:15;::::0;;;;:22;;-1:-1:-1;;47946:22:0::1;47964:4;47946:22;::::0;;47880:96::o;13507:201::-;12671:6;;-1:-1:-1;;;;;12671:6:0;11402:10;12818:23;12810:68;;;;-1:-1:-1;;;12810:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;13596:22:0;::::1;13588:73;;;::::0;-1:-1:-1;;;13588:73:0;;9247:2:1;13588:73:0::1;::::0;::::1;9229:21:1::0;9286:2;9266:18;;;9259:30;9325:34;9305:18;;;9298:62;-1:-1:-1;;;9376:18:1;;;9369:36;9422:19;;13588:73:0::1;9045:402:1::0;13588:73:0::1;13672:28;13691:8;13672:18;:28::i;42571:174::-:0;42646:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;42646:29:0;-1:-1:-1;;;;;42646:29:0;;;;;;;;:24;;42700:23;42646:24;42700:14;:23::i;:::-;-1:-1:-1;;;;;42691:46:0;;;;;;;;;;;42571:174;;:::o;48541:615::-;48586:15;48604:24;:14;8018;;7926:114;48604:24;48586:42;-1:-1:-1;48639:20:0;48662:21;48586:42;46043:4;48662:21;:::i;:::-;48720:11;:18;48639:44;;-1:-1:-1;48704:34:0;;48696:98;;;;-1:-1:-1;;;48696:98:0;;10761:2:1;48696:98:0;;;10743:21:1;10800:2;10780:18;;;10773:30;10839:34;10819:18;;;10812:62;-1:-1:-1;;;10890:18:1;;;10883:49;10949:19;;48696:98:0;10559:415:1;48696:98:0;48828:1;48813:12;:16;48805:51;;;;-1:-1:-1;;;48805:51:0;;11181:2:1;48805:51:0;;;11163:21:1;11220:2;11200:18;;;11193:30;-1:-1:-1;;;11239:18:1;;;11232:52;11301:18;;48805:51:0;10979:346:1;48805:51:0;48869:17;48906:12;48889:14;:12;:14::i;:::-;:29;;;;:::i;:::-;48869:49;;48929:22;48954:11;48966:9;48954:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48989:27:0;49006:9;48989:16;:27::i;:::-;49029:28;;;;:19;:28;;;;;:45;;;49087:26;:14;8137:19;;8155:1;8137:19;;;8048:127;49087:26;49126:22;49136:2;49140:7;49126:9;:22::i;:::-;48575:581;;;;48541:615;:::o;38719:348::-;38812:4;38514:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38514:16:0;38829:73;;;;-1:-1:-1;;;38829:73:0;;12648:2:1;38829:73:0;;;12630:21:1;12687:2;12667:18;;;12660:30;12726:34;12706:18;;;12699:62;-1:-1:-1;;;12777:18:1;;;12770:42;12829:19;;38829:73:0;12446:408:1;38829:73:0;38913:13;38929:23;38944:7;38929:14;:23::i;:::-;38913:39;;38982:5;-1:-1:-1;;;;;38971:16:0;:7;-1:-1:-1;;;;;38971:16:0;;:52;;;-1:-1:-1;;;;;;35811:25:0;;;35787:4;35811:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;38991:32;38971:87;;;;39051:7;-1:-1:-1;;;;;39027:31:0;:20;39039:7;39027:11;:20::i;:::-;-1:-1:-1;;;;;39027:31:0;;38971:87;38963:96;38719:348;-1:-1:-1;;;;38719:348:0:o;41828:625::-;41987:4;-1:-1:-1;;;;;41960:31:0;:23;41975:7;41960:14;:23::i;:::-;-1:-1:-1;;;;;41960:31:0;;41952:81;;;;-1:-1:-1;;;41952:81:0;;9654:2:1;41952:81:0;;;9636:21:1;9693:2;9673:18;;;9666:30;9732:34;9712:18;;;9705:62;-1:-1:-1;;;9783:18:1;;;9776:35;9828:19;;41952:81:0;9452:401:1;41952:81:0;-1:-1:-1;;;;;42052:16:0;;42044:65;;;;-1:-1:-1;;;42044:65:0;;11889:2:1;42044:65:0;;;11871:21:1;11928:2;11908:18;;;11901:30;11967:34;11947:18;;;11940:62;-1:-1:-1;;;12018:18:1;;;12011:34;12062:19;;42044:65:0;11687:400:1;42044:65:0;42226:29;42243:1;42247:7;42226:8;:29::i;:::-;-1:-1:-1;;;;;42268:15:0;;;;;;:9;:15;;;;;:20;;42287:1;;42268:15;:20;;42287:1;;42268:20;:::i;:::-;;;;-1:-1:-1;;;;;;;42299:13:0;;;;;;:9;:13;;;;;:18;;42316:1;;42299:13;:18;;42316:1;;42299:18;:::i;:::-;;;;-1:-1:-1;;42328:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;42328:21:0;-1:-1:-1;;;;;42328:21:0;;;;;;;;;42367:27;;42328:16;;42367:27;;;;;;;34764:341;34694:411;;:::o;5589:190::-;5714:4;5767;5738:25;5751:5;5758:4;5738:12;:25::i;:::-;:33;;5589:190;-1:-1:-1;;;;5589:190:0:o;13868:191::-;13961:6;;;-1:-1:-1;;;;;13978:17:0;;;-1:-1:-1;;;;;;13978:17:0;;;;;;;14011:40;;13961:6;;;13978:17;13961:6;;14011:40;;13942:16;;14011:40;13931:128;13868:191;:::o;42887:315::-;43042:8;-1:-1:-1;;;;;43033:17:0;:5;-1:-1:-1;;;;;43033:17:0;;;43025:55;;;;-1:-1:-1;;;43025:55:0;;12294:2:1;43025:55:0;;;12276:21:1;12333:2;12313:18;;;12306:30;12372:27;12352:18;;;12345:55;12417:18;;43025:55:0;12092:349:1;43025:55:0;-1:-1:-1;;;;;43091:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;43091:46:0;;;;;;;;;;43153:41;;8168::1;;;43153::0;;8141:18:1;43153:41:0;;;;;;;42887:315;;;:::o;37797:::-;37954:28;37964:4;37970:2;37974:7;37954:9;:28::i;:::-;38001:48;38024:4;38030:2;38034:7;38043:5;38001:22;:48::i;:::-;37993:111;;;;-1:-1:-1;;;37993:111:0;;;;;;;:::i;8884:723::-;8940:13;9161:10;9157:53;;-1:-1:-1;;9188:10:0;;;;;;;;;;;;-1:-1:-1;;;9188:10:0;;;;;8884:723::o;9157:53::-;9235:5;9220:12;9276:78;9283:9;;9276:78;;9309:8;;;;:::i;:::-;;-1:-1:-1;9332:10:0;;-1:-1:-1;9340:2:0;9332:10;;:::i;:::-;;;9276:78;;;9364:19;9396:6;9386:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9386:17:0;;9364:39;;9414:154;9421:10;;9414:154;;9448:11;9458:1;9448:11;;:::i;:::-;;-1:-1:-1;9517:10:0;9525:2;9517:5;:10;:::i;:::-;9504:24;;:2;:24;:::i;:::-;9491:39;;9474:6;9481;9474:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;9474:56:0;;;;;;;;-1:-1:-1;9545:11:0;9554:2;9545:11;;:::i;:::-;;;9414:154;;47529:112;47576:4;47615:16;47630:1;47615:12;:16;:::i;:::-;47605:27;;47529:112;-1:-1:-1;47529:112:0:o;47649:223::-;47726:11;:18;47718:26;;47710:57;;;;-1:-1:-1;;;47710:57:0;;13894:2:1;47710:57:0;;;13876:21:1;13933:2;13913:18;;;13906:30;-1:-1:-1;;;13952:18:1;;;13945:48;14010:18;;47710:57:0;13692:342:1;47710:57:0;47801:11;47813:18;;:22;;47834:1;;47813:22;:::i;:::-;47801:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;47780:11;47792:5;47780:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:56;;;;;;;;;;;;;;;;;;47847:11;:17;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;47847:17:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47649:223:0:o;39409:110::-;39485:26;39495:2;39499:7;39485:26;;;;;;;;;;;;:9;:26::i;6140:675::-;6223:7;6266:4;6223:7;6281:497;6305:5;:12;6301:1;:16;6281:497;;;6339:20;6362:5;6368:1;6362:8;;;;;;;;:::i;:::-;;;;;;;6339:31;;6405:12;6389;:28;6385:382;;6891:13;6941:15;;;6977:4;6970:15;;;7024:4;7008:21;;6517:57;;6385:382;;;6891:13;6941:15;;;6977:4;6970:15;;;7024:4;7008:21;;6694:57;;6385:382;-1:-1:-1;6319:3:0;;;;:::i;:::-;;;;6281:497;;;-1:-1:-1;6795:12:0;6140:675;-1:-1:-1;;;6140:675:0:o;43767:799::-;43922:4;-1:-1:-1;;;;;43943:13:0;;15594:19;:23;43939:620;;43979:72;;-1:-1:-1;;;43979:72:0;;-1:-1:-1;;;;;43979:36:0;;;;;:72;;11402:10;;44030:4;;44036:7;;44045:5;;43979:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43979:72:0;;;;;;;;-1:-1:-1;;43979:72:0;;;;;;;;;;;;:::i;:::-;;;43975:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44221:13:0;;44217:272;;44264:60;;-1:-1:-1;;;44264:60:0;;;;;;;:::i;44217:272::-;44439:6;44433:13;44424:6;44420:2;44416:15;44409:38;43975:529;-1:-1:-1;;;;;;44102:51:0;-1:-1:-1;;;44102:51:0;;-1:-1:-1;44095:58:0;;43939:620;-1:-1:-1;44543:4:0;43767:799;;;;;;:::o;39746:321::-;39876:18;39882:2;39886:7;39876:5;:18::i;:::-;39927:54;39958:1;39962:2;39966:7;39975:5;39927:22;:54::i;:::-;39905:154;;;;-1:-1:-1;;;39905:154:0;;;;;;;:::i;40403:439::-;-1:-1:-1;;;;;40483:16:0;;40475:61;;;;-1:-1:-1;;;40475:61:0;;15416:2:1;40475:61:0;;;15398:21:1;;;15435:18;;;15428:30;15494:34;15474:18;;;15467:62;15546:18;;40475:61:0;15214:356:1;40475:61:0;38490:4;38514:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38514:16:0;:30;40547:58;;;;-1:-1:-1;;;40547:58:0;;10060:2:1;40547:58:0;;;10042:21:1;10099:2;10079:18;;;10072:30;10138;10118:18;;;10111:58;10186:18;;40547:58:0;9858:352:1;40547:58:0;-1:-1:-1;;;;;40676:13:0;;;;;;:9;:13;;;;;:18;;40693:1;;40676:13;:18;;40693:1;;40676:18;:::i;:::-;;;;-1:-1:-1;;40705:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;40705:21:0;-1:-1:-1;;;;;40705:21:0;;;;;;;;40744:33;;40705:16;;;40744:33;;40705:16;;40744:33;35464:155;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:1;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:186::-;623:6;676:2;664:9;655:7;651:23;647:32;644:52;;;692:1;689;682:12;644:52;715:29;734:9;715:29;:::i;:::-;705:39;564:186;-1:-1:-1;;;564:186:1:o;755:260::-;823:6;831;884:2;872:9;863:7;859:23;855:32;852:52;;;900:1;897;890:12;852:52;923:29;942:9;923:29;:::i;:::-;913:39;;971:38;1005:2;994:9;990:18;971:38;:::i;:::-;961:48;;755:260;;;;;:::o;1020:328::-;1097:6;1105;1113;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;:::-;1195:39;;1253:38;1287:2;1276:9;1272:18;1253:38;:::i;:::-;1243:48;;1338:2;1327:9;1323:18;1310:32;1300:42;;1020:328;;;;;:::o;1353:1138::-;1448:6;1456;1464;1472;1525:3;1513:9;1504:7;1500:23;1496:33;1493:53;;;1542:1;1539;1532:12;1493:53;1565:29;1584:9;1565:29;:::i;:::-;1555:39;;1613:38;1647:2;1636:9;1632:18;1613:38;:::i;:::-;1603:48;;1698:2;1687:9;1683:18;1670:32;1660:42;;1753:2;1742:9;1738:18;1725:32;1776:18;1817:2;1809:6;1806:14;1803:34;;;1833:1;1830;1823:12;1803:34;1871:6;1860:9;1856:22;1846:32;;1916:7;1909:4;1905:2;1901:13;1897:27;1887:55;;1938:1;1935;1928:12;1887:55;1974:2;1961:16;1996:2;1992;1989:10;1986:36;;;2002:18;;:::i;:::-;2077:2;2071:9;2045:2;2131:13;;-1:-1:-1;;2127:22:1;;;2151:2;2123:31;2119:40;2107:53;;;2175:18;;;2195:22;;;2172:46;2169:72;;;2221:18;;:::i;:::-;2261:10;2257:2;2250:22;2296:2;2288:6;2281:18;2336:7;2331:2;2326;2322;2318:11;2314:20;2311:33;2308:53;;;2357:1;2354;2347:12;2308:53;2413:2;2408;2404;2400:11;2395:2;2387:6;2383:15;2370:46;2458:1;2453:2;2448;2440:6;2436:15;2432:24;2425:35;2479:6;2469:16;;;;;;;1353:1138;;;;;;;:::o;2496:347::-;2561:6;2569;2622:2;2610:9;2601:7;2597:23;2593:32;2590:52;;;2638:1;2635;2628:12;2590:52;2661:29;2680:9;2661:29;:::i;:::-;2651:39;;2740:2;2729:9;2725:18;2712:32;2787:5;2780:13;2773:21;2766:5;2763:32;2753:60;;2809:1;2806;2799:12;2753:60;2832:5;2822:15;;;2496:347;;;;;:::o;2848:254::-;2916:6;2924;2977:2;2965:9;2956:7;2952:23;2948:32;2945:52;;;2993:1;2990;2983:12;2945:52;3016:29;3035:9;3016:29;:::i;:::-;3006:39;3092:2;3077:18;;;;3064:32;;-1:-1:-1;;;2848:254:1:o;3107:437::-;3193:6;3201;3254:2;3242:9;3233:7;3229:23;3225:32;3222:52;;;3270:1;3267;3260:12;3222:52;3310:9;3297:23;3343:18;3335:6;3332:30;3329:50;;;3375:1;3372;3365:12;3329:50;3414:70;3476:7;3467:6;3456:9;3452:22;3414:70;:::i;:::-;3503:8;;3388:96;;-1:-1:-1;3107:437:1;-1:-1:-1;;;;3107:437:1:o;3991:180::-;4050:6;4103:2;4091:9;4082:7;4078:23;4074:32;4071:52;;;4119:1;4116;4109:12;4071:52;-1:-1:-1;4142:23:1;;3991:180;-1:-1:-1;3991:180:1:o;4176:245::-;4234:6;4287:2;4275:9;4266:7;4262:23;4258:32;4255:52;;;4303:1;4300;4293:12;4255:52;4342:9;4329:23;4361:30;4385:5;4361:30;:::i;4426:249::-;4495:6;4548:2;4536:9;4527:7;4523:23;4519:32;4516:52;;;4564:1;4561;4554:12;4516:52;4596:9;4590:16;4615:30;4639:5;4615:30;:::i;4680:592::-;4751:6;4759;4812:2;4800:9;4791:7;4787:23;4783:32;4780:52;;;4828:1;4825;4818:12;4780:52;4868:9;4855:23;4897:18;4938:2;4930:6;4927:14;4924:34;;;4954:1;4951;4944:12;4924:34;4992:6;4981:9;4977:22;4967:32;;5037:7;5030:4;5026:2;5022:13;5018:27;5008:55;;5059:1;5056;5049:12;5008:55;5099:2;5086:16;5125:2;5117:6;5114:14;5111:34;;;5141:1;5138;5131:12;5111:34;5186:7;5181:2;5172:6;5168:2;5164:15;5160:24;5157:37;5154:57;;;5207:1;5204;5197:12;5154:57;5238:2;5230:11;;;;;5260:6;;-1:-1:-1;4680:592:1;;-1:-1:-1;;;;4680:592:1:o;5462:257::-;5503:3;5541:5;5535:12;5568:6;5563:3;5556:19;5584:63;5640:6;5633:4;5628:3;5624:14;5617:4;5610:5;5606:16;5584:63;:::i;:::-;5701:2;5680:15;-1:-1:-1;;5676:29:1;5667:39;;;;5708:4;5663:50;;5462:257;-1:-1:-1;;5462:257:1:o;5724:185::-;5766:3;5804:5;5798:12;5819:52;5864:6;5859:3;5852:4;5845:5;5841:16;5819:52;:::i;:::-;5887:16;;;;;5724:185;-1:-1:-1;;5724:185:1:o;6148:1174::-;6324:3;6353:1;6386:6;6380:13;6416:3;6438:1;6466:9;6462:2;6458:18;6448:28;;6526:2;6515:9;6511:18;6548;6538:61;;6592:4;6584:6;6580:17;6570:27;;6538:61;6618:2;6666;6658:6;6655:14;6635:18;6632:38;6629:165;;;-1:-1:-1;;;6693:33:1;;6749:4;6746:1;6739:15;6779:4;6700:3;6767:17;6629:165;6810:18;6837:104;;;;6955:1;6950:320;;;;6803:467;;6837:104;-1:-1:-1;;6870:24:1;;6858:37;;6915:16;;;;-1:-1:-1;6837:104:1;;6950:320;20193:1;20186:14;;;20230:4;20217:18;;7045:1;7059:165;7073:6;7070:1;7067:13;7059:165;;;7151:14;;7138:11;;;7131:35;7194:16;;;;7088:10;;7059:165;;;7063:3;;7253:6;7248:3;7244:16;7237:23;;6803:467;;;;;;;7286:30;7312:3;7304:6;7286:30;:::i;:::-;7279:37;6148:1174;-1:-1:-1;;;;;6148:1174:1:o;7535:488::-;-1:-1:-1;;;;;7804:15:1;;;7786:34;;7856:15;;7851:2;7836:18;;7829:43;7903:2;7888:18;;7881:34;;;7951:3;7946:2;7931:18;;7924:31;;;7729:4;;7972:45;;7997:19;;7989:6;7972:45;:::i;:::-;7964:53;7535:488;-1:-1:-1;;;;;;7535:488:1:o;8402:219::-;8551:2;8540:9;8533:21;8514:4;8571:44;8611:2;8600:9;8596:18;8588:6;8571:44;:::i;8626:414::-;8828:2;8810:21;;;8867:2;8847:18;;;8840:30;8906:34;8901:2;8886:18;;8879:62;-1:-1:-1;;;8972:2:1;8957:18;;8950:48;9030:3;9015:19;;8626:414::o;12859:403::-;13061:2;13043:21;;;13100:2;13080:18;;;13073:30;13139:34;13134:2;13119:18;;13112:62;-1:-1:-1;;;13205:2:1;13190:18;;13183:37;13252:3;13237:19;;12859:403::o;15988:356::-;16190:2;16172:21;;;16209:18;;;16202:30;16268:34;16263:2;16248:18;;16241:62;16335:2;16320:18;;15988:356::o;18566:413::-;18768:2;18750:21;;;18807:2;18787:18;;;18780:30;18846:34;18841:2;18826:18;;18819:62;-1:-1:-1;;;18912:2:1;18897:18;;18890:47;18969:3;18954:19;;18566:413::o;20246:128::-;20286:3;20317:1;20313:6;20310:1;20307:13;20304:39;;;20323:18;;:::i;:::-;-1:-1:-1;20359:9:1;;20246:128::o;20379:120::-;20419:1;20445;20435:35;;20450:18;;:::i;:::-;-1:-1:-1;20484:9:1;;20379:120::o;20504:125::-;20544:4;20572:1;20569;20566:8;20563:34;;;20577:18;;:::i;:::-;-1:-1:-1;20614:9:1;;20504:125::o;20634:258::-;20706:1;20716:113;20730:6;20727:1;20724:13;20716:113;;;20806:11;;;20800:18;20787:11;;;20780:39;20752:2;20745:10;20716:113;;;20847:6;20844:1;20841:13;20838:48;;;-1:-1:-1;;20882:1:1;20864:16;;20857:27;20634:258::o;20897:380::-;20976:1;20972:12;;;;21019;;;21040:61;;21094:4;21086:6;21082:17;21072:27;;21040:61;21147:2;21139:6;21136:14;21116:18;21113:38;21110:161;;;21193:10;21188:3;21184:20;21181:1;21174:31;21228:4;21225:1;21218:15;21256:4;21253:1;21246:15;21110:161;;20897:380;;;:::o;21282:135::-;21321:3;-1:-1:-1;;21342:17:1;;21339:43;;;21362:18;;:::i;:::-;-1:-1:-1;21409:1:1;21398:13;;21282:135::o;21422:112::-;21454:1;21480;21470:35;;21485:18;;:::i;:::-;-1:-1:-1;21519:9:1;;21422:112::o;21539:127::-;21600:10;21595:3;21591:20;21588:1;21581:31;21631:4;21628:1;21621:15;21655:4;21652:1;21645:15;21671:127;21732:10;21727:3;21723:20;21720:1;21713:31;21763:4;21760:1;21753:15;21787:4;21784:1;21777:15;21803:127;21864:10;21859:3;21855:20;21852:1;21845:31;21895:4;21892:1;21885:15;21919:4;21916:1;21909:15;21935:127;21996:10;21991:3;21987:20;21984:1;21977:31;22027:4;22024:1;22017:15;22051:4;22048:1;22041:15;22067:127;22128:10;22123:3;22119:20;22116:1;22109:31;22159:4;22156:1;22149:15;22183:4;22180:1;22173:15;22199:131;-1:-1:-1;;;;;;22273:32:1;;22263:43;;22253:71;;22320:1;22317;22310:12

Swarm Source

ipfs://f0bc5e6b3887a2a2140aa48df64ecdfb7aea048ea3de967bfac430a386fa4a1e
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.