ETH Price: $1,594.37 (-2.65%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...217433462025-01-31 8:33:5974 days ago1738312439IN
0xB0750f76...53F36C405
0 ETH0.00028462.93752526
Transfer From210014622024-10-19 18:39:11178 days ago1729363151IN
0xB0750f76...53F36C405
0 ETH0.000808759.66353428
Set Approval For...182921362023-10-06 14:44:23557 days ago1696603463IN
0xB0750f76...53F36C405
0 ETH0.0002817611.65719055
Set Approval For...172083632023-05-07 11:27:35709 days ago1683458855IN
0xB0750f76...53F36C405
0 ETH0.0038005682.3220814
Set Approval For...170325422023-04-12 14:33:47734 days ago1681310027IN
0xB0750f76...53F36C405
0 ETH0.0014550831.57539427
Set Approval For...170313762023-04-12 10:36:23734 days ago1681295783IN
0xB0750f76...53F36C405
0 ETH0.0005128821.21899563
Safe Transfer Fr...170205012023-04-10 21:41:47736 days ago1681162907IN
0xB0750f76...53F36C405
0 ETH0.0019689722.59841766
Set Approval For...170203872023-04-10 21:18:35736 days ago1681161515IN
0xB0750f76...53F36C405
0 ETH0.0011678925.34327176
Set Approval For...170059702023-04-08 20:16:11738 days ago1680984971IN
0xB0750f76...53F36C405
0 ETH0.0009561320.74816966
Transfer From169746652023-04-04 9:32:23742 days ago1680600743IN
0xB0750f76...53F36C405
0 ETH0.0020857424.92555168
Set Approval For...167587462023-03-05 0:50:23773 days ago1677977423IN
0xB0750f76...53F36C405
0 ETH0.00091719.89905981
Set Approval For...165687392023-02-06 9:06:11799 days ago1675674371IN
0xB0750f76...53F36C405
0 ETH0.000772216.75672884
Set Approval For...163427042023-01-05 19:33:35831 days ago1672947215IN
0xB0750f76...53F36C405
0 ETH0.0015698834.06650503
Set Approval For...163327392023-01-04 10:10:47832 days ago1672827047IN
0xB0750f76...53F36C405
0 ETH0.0007968817.29240033
Transfer From163326682023-01-04 9:56:23832 days ago1672826183IN
0xB0750f76...53F36C405
0 ETH0.0014698417.56281501
Set Approval For...161475412022-12-09 13:48:59858 days ago1670593739IN
0xB0750f76...53F36C405
0 ETH0.000456518.88640421
Set Approval For...161065952022-12-03 20:13:23864 days ago1670098403IN
0xB0750f76...53F36C405
0 ETH0.0006083813.20202897
Set Approval For...161065632022-12-03 20:06:59864 days ago1670098019IN
0xB0750f76...53F36C405
0 ETH0.0002833911.72478779
Set Approval For...161065042022-12-03 19:55:11864 days ago1670097311IN
0xB0750f76...53F36C405
0 ETH0.0006090913.21729372
Set Approval For...160129902022-11-20 18:23:11877 days ago1668968591IN
0xB0750f76...53F36C405
0 ETH0.0006180113.41085698
Set Approval For...158669502022-10-31 8:49:23897 days ago1667206163IN
0xB0750f76...53F36C405
0 ETH0.000160416.61380528
Set Approval For...153636412022-08-18 7:13:32971 days ago1660806812IN
0xB0750f76...53F36C405
0 ETH0.000254215.51643895
Set Approval For...151157282022-07-10 15:34:551010 days ago1657467295IN
0xB0750f76...53F36C405
0 ETH0.0010698723.21621643
Set Approval For...150296912022-06-26 15:38:401024 days ago1656257920IN
0xB0750f76...53F36C405
0 ETH0.0022022147.78792028
Set Approval For...150091822022-06-22 19:25:591028 days ago1655925959IN
0xB0750f76...53F36C405
0 ETH0.0013457929.20382759
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-147886902022-05-16 21:47:241065 days ago1652737644
0xB0750f76...53F36C405
8.74 ETH
-147886902022-05-16 21:47:241065 days ago1652737644
0xB0750f76...53F36C405
0.46 ETH
-137173142021-11-30 21:57:501232 days ago1638309470
0xB0750f76...53F36C405
26.22 ETH
-137173142021-11-30 21:57:501232 days ago1638309470
0xB0750f76...53F36C405
1.38 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoMask

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-29
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


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


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


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


/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
            }
        }
    }
}


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


// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


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


/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}



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

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

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

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

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

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

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

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

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

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

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

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



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



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



/**
 * @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 overriden 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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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



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

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

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


/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

contract CryptoMask is ERC721Enumerable, Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    mapping(address => bool) private whitelist;

    string private baseURI;
    bool private saleActive = false;
    bool private allowWhitelistRedemption = false;
    uint256 private whitelistMaxMint = 5;

    Counters.Counter private _tokenIdCounter;
    Counters.Counter private _numAirdroped;
    Counters.Counter private _numMinted;

    // Total Crypto Masks: 999
    uint256 public constant MAX_PUBLIC_MINT = 949;
    uint256 public constant AIRDROP_RESERVE = 50;

    uint256 public constant MAX_CRYPTO_MASK_PURCHASE = 5;
    uint256 public constant PRICE_PER_CRYPTO_MASK = 200000000000000000; // 0.2 ETH
    
    address public constant creatorAddress = 0x9bbD2Bc94Af3883948aB9Df169B7D8eEA6317253;
    address public constant marketerAddress = 0xBD584cE590B7dcdbB93b11e095d9E1D5880B44d9;
    

    constructor(
        string memory name,
        string memory symbol,
        string memory uri) ERC721(name, symbol) {
        baseURI = uri;
    }

    function startSale() external onlyOwner {
        require(!saleActive, "The sale is active already");
        saleActive = true;
    }

    function pauseSale() external onlyOwner {
        require(saleActive, "The sale is not active, so it cannot be paused");
        saleActive = false;
    }

    function allowEarlyRedemption() external onlyOwner {
        require(!allowWhitelistRedemption, "The whitelist redemption is active already");
        allowWhitelistRedemption = true;
    }

    function pauseEarlyRedemption() external onlyOwner {
        require(allowWhitelistRedemption, "The whitelist redemption is not active, so it cannot be paused");
        allowWhitelistRedemption = false;
    }

    function setWhitelistMaxMint(uint256 amount) external onlyOwner {
        whitelistMaxMint = amount;
    }

    function whitelistPreSaleAddresses(address[] calldata to) external onlyOwner {
        for(uint i = 0; i < to.length; i++){
            whitelist[to[i]] = true;
        }
    }

    function mintCryptoMasks(uint256 numberOfCryptoMasks) external payable nonReentrant {
        require(
            saleActive ||
            (whitelist[msg.sender] && numberOfCryptoMasks <= whitelistMaxMint && allowWhitelistRedemption), 
            "You may not mint a Crypto Mask yet.");
        require(numberOfCryptoMasks > 0, "You cannot mint 0  Crypto Masks.");
        require(SafeMath.add(_numMinted.current(), numberOfCryptoMasks) <= MAX_PUBLIC_MINT, "Exceeds maximum supply.");
        require(numberOfCryptoMasks <= MAX_CRYPTO_MASK_PURCHASE, "Exceeds maximum Crypto Masks in one transaction.");
        require(getNFTPrice(numberOfCryptoMasks) <= msg.value, "Amount of Ether sent is not correct.");
        
        whitelist[msg.sender] = false;

        for(uint i = 0; i < numberOfCryptoMasks; i++){
            uint256 tokenIndex = _tokenIdCounter.current();
            _numMinted.increment();
            _tokenIdCounter.increment();
            _safeMint(msg.sender, tokenIndex);   
        }
    }

    function airdropCryptoMasks(address[] calldata to, uint256[] calldata numberOfCryptoMasks) 
        external 
        onlyOwner
    {
        require(to.length == numberOfCryptoMasks.length, "The arrays must be the same length.");
        
        uint256 sum = 0;
        for(uint i = 0; i < numberOfCryptoMasks.length; i++){
            sum = sum + numberOfCryptoMasks[i];
        }
        
        require(SafeMath.add(_numAirdroped.current(), sum) <= AIRDROP_RESERVE, "Exceeds maximum airdrop reserve.");
        
        for(uint i = 0; i < to.length; i++){
            for(uint j = 0; j < numberOfCryptoMasks[i]; j++){
                uint256 tokenId = _tokenIdCounter.current(); 
                _tokenIdCounter.increment();
                _numAirdroped.increment();
                _safeMint(to[i], tokenId);
            }
            
        }  
    }

    function getNFTPrice(uint256 amount) public pure returns (uint256) {
        return SafeMath.mul(amount, PRICE_PER_CRYPTO_MASK);
    }

    function withdrawAll() public payable onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);
        _widthdraw(marketerAddress, balance.mul(5).div(100));
        _widthdraw(creatorAddress, address(this).balance);
    }

    function _widthdraw(address _address, uint256 _amount) private {
        (bool success,) = _address.call{value : _amount}("");
        require(success, "Transfer failed.");
    }

    function setBaseURI(string memory uri) external onlyOwner {
        baseURI = uri;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"uri","type":"string"}],"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":[],"name":"AIRDROP_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CRYPTO_MASK_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_CRYPTO_MASK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"numberOfCryptoMasks","type":"uint256[]"}],"name":"airdropCryptoMasks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowEarlyRedemption","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":"creatorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"marketerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfCryptoMasks","type":"uint256"}],"name":"mintCryptoMasks","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseEarlyRedemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setWhitelistMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"whitelistPreSaleAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052600e805461ffff191690556005600f553480156200002157600080fd5b5060405162002c8938038062002c89833981016040819052620000449162000263565b8251839083906200005d9060009060208501906200010a565b508051620000739060019060208401906200010a565b505050620000906200008a620000b460201b60201c565b620000b8565b6001600b558051620000aa90600d9060208401906200010a565b5050505062000343565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011890620002f0565b90600052602060002090601f0160209004810192826200013c576000855562000187565b82601f106200015757805160ff191683800117855562000187565b8280016001018555821562000187579182015b82811115620001875782518255916020019190600101906200016a565b506200019592915062000199565b5090565b5b808211156200019557600081556001016200019a565b600082601f830112620001c1578081fd5b81516001600160401b0380821115620001de57620001de6200032d565b604051601f8301601f19908116603f011681019082821181831017156200020957620002096200032d565b8160405283815260209250868385880101111562000225578485fd5b8491505b8382101562000248578582018301518183018401529082019062000229565b838211156200025957848385830101525b9695505050505050565b60008060006060848603121562000278578283fd5b83516001600160401b03808211156200028f578485fd5b6200029d87838801620001b0565b94506020860151915080821115620002b3578384fd5b620002c187838801620001b0565b93506040860151915080821115620002d7578283fd5b50620002e686828701620001b0565b9150509250925092565b600181811c908216806200030557607f821691505b602082108114156200032757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61293680620003536000396000f3fe60806040526004361061020f5760003560e01c8063887f9fc111610118578063b88d4fde116100a0578063e21469631161006f578063e2146963146105a3578063e2cd4e62146105c3578063e927fc5c146105df578063e985e9c514610607578063f2fde38b1461065057600080fd5b8063b88d4fde14610539578063c87b56dd14610559578063cd24d1b114610579578063d1bd527f1461058e57600080fd5b8063a15222ea116100e7578063a15222ea146104a9578063a22cb465146104bc578063aab8dc3b146104dc578063ae335d07146104fc578063b66a0e5d1461052457600080fd5b8063887f9fc1146104415780638da5cb5b14610456578063929761791461047457806395d89b411461049457600080fd5b80634f6ccce71161019b57806365f130971161016a57806365f13097146103d957806370a08231146103ef578063715018a61461040f57806374ee555114610424578063853828b61461043957600080fd5b80634f6ccce71461036457806355367ba91461038457806355f804b3146103995780636352211e146103b957600080fd5b806318160ddd116101e257806318160ddd146102c557806323b872dd146102e45780632f745c591461030457806341963c371461032457806342842e0e1461034457600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004612597565b610670565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e61069b565b60405161024091906126c5565b34801561027757600080fd5b5061028b610286366004612615565b61072d565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046124c5565b6107c7565b005b3480156102d157600080fd5b506008545b604051908152602001610240565b3480156102f057600080fd5b506102c36102ff3660046123d7565b6108dd565b34801561031057600080fd5b506102d661031f3660046124c5565b61090e565b34801561033057600080fd5b506102c361033f36600461252e565b6109a4565b34801561035057600080fd5b506102c361035f3660046123d7565b610baf565b34801561037057600080fd5b506102d661037f366004612615565b610bca565b34801561039057600080fd5b506102c3610c6b565b3480156103a557600080fd5b506102c36103b43660046125cf565b610d0a565b3480156103c557600080fd5b5061028b6103d4366004612615565b610d4b565b3480156103e557600080fd5b506102d66103b581565b3480156103fb57600080fd5b506102d661040a36600461238b565b610dc2565b34801561041b57600080fd5b506102c3610e49565b34801561043057600080fd5b506102d6603281565b6102c3610e7f565b34801561044d57600080fd5b506102d6600581565b34801561046257600080fd5b50600a546001600160a01b031661028b565b34801561048057600080fd5b506102d661048f366004612615565b610f08565b3480156104a057600080fd5b5061025e610f1c565b6102c36104b7366004612615565b610f2b565b3480156104c857600080fd5b506102c36104d736600461248b565b611205565b3480156104e857600080fd5b506102c36104f73660046124ee565b6112ca565b34801561050857600080fd5b5061028b73bd584ce590b7dcdbb93b11e095d9e1d5880b44d981565b34801561053057600080fd5b506102c3611374565b34801561054557600080fd5b506102c3610554366004612412565b611400565b34801561056557600080fd5b5061025e610574366004612615565b611438565b34801561058557600080fd5b506102c3611513565b34801561059a57600080fd5b506102c36115c7565b3480156105af57600080fd5b506102c36105be366004612615565b61166d565b3480156105cf57600080fd5b506102d66702c68af0bb14000081565b3480156105eb57600080fd5b5061028b739bbd2bc94af3883948ab9df169b7d8eea631725381565b34801561061357600080fd5b506102346106223660046123a5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065c57600080fd5b506102c361066b36600461238b565b61169c565b60006001600160e01b0319821663780e9d6360e01b1480610695575061069582611734565b92915050565b6060600080546106aa9061283e565b80601f01602080910402602001604051908101604052809291908181526020018280546106d69061283e565b80156107235780601f106106f857610100808354040283529160200191610723565b820191906000526020600020905b81548152906001019060200180831161070657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ab5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107d282610d4b565b9050806001600160a01b0316836001600160a01b031614156108405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107a2565b336001600160a01b038216148061085c575061085c8133610622565b6108ce5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107a2565b6108d88383611784565b505050565b6108e733826117f2565b6109035760405162461bcd60e51b81526004016107a29061275f565b6108d88383836118e9565b600061091983610dc2565b821061097b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107a2565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146109ce5760405162461bcd60e51b81526004016107a29061272a565b828114610a295760405162461bcd60e51b815260206004820152602360248201527f54686520617272617973206d757374206265207468652073616d65206c656e676044820152623a341760e91b60648201526084016107a2565b6000805b82811015610a7b57838382818110610a5557634e487b7160e01b600052603260045260246000fd5b9050602002013582610a6791906127b0565b915080610a7381612879565b915050610a2d565b506032610a90610a8a60115490565b83611a94565b1115610ade5760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d2061697264726f7020726573657276652e60448201526064016107a2565b60005b84811015610ba75760005b848483818110610b0c57634e487b7160e01b600052603260045260246000fd5b90506020020135811015610b94576000610b2560105490565b9050610b35601080546001019055565b610b43601180546001019055565b610b81888885818110610b6657634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610b7b919061238b565b82611aa0565b5080610b8c81612879565b915050610aec565b5080610b9f81612879565b915050610ae1565b505050505050565b6108d883838360405180602001604052806000815250611400565b6000610bd560085490565b8210610c385760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107a2565b60088281548110610c5957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610c955760405162461bcd60e51b81526004016107a29061272a565b600e5460ff16610cfe5760405162461bcd60e51b815260206004820152602e60248201527f5468652073616c65206973206e6f74206163746976652c20736f20697420636160448201526d1b9b9bdd081899481c185d5cd95960921b60648201526084016107a2565b600e805460ff19169055565b600a546001600160a01b03163314610d345760405162461bcd60e51b81526004016107a29061272a565b8051610d4790600d906020840190612216565b5050565b6000818152600260205260408120546001600160a01b0316806106955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107a2565b60006001600160a01b038216610e2d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107a2565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e735760405162461bcd60e51b81526004016107a29061272a565b610e7d6000611aba565b565b600a546001600160a01b03163314610ea95760405162461bcd60e51b81526004016107a29061272a565b4780610eb457600080fd5b610ee773bd584ce590b7dcdbb93b11e095d9e1d5880b44d9610ee26064610edc856005611b0c565b90611b18565b611b24565b610f05739bbd2bc94af3883948ab9df169b7d8eea631725347611b24565b50565b6000610695826702c68af0bb140000611b0c565b6060600180546106aa9061283e565b6002600b541415610f7e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a2565b6002600b55600e5460ff1680610fc35750336000908152600c602052604090205460ff168015610fb05750600f548111155b8015610fc35750600e54610100900460ff165b61101b5760405162461bcd60e51b815260206004820152602360248201527f596f75206d6179206e6f74206d696e7420612043727970746f204d61736b207960448201526232ba1760e91b60648201526084016107a2565b6000811161106b5760405162461bcd60e51b815260206004820181905260248201527f596f752063616e6e6f74206d696e742030202043727970746f204d61736b732e60448201526064016107a2565b6103b561107a610a8a60125490565b11156110c85760405162461bcd60e51b815260206004820152601760248201527f45786365656473206d6178696d756d20737570706c792e00000000000000000060448201526064016107a2565b60058111156111325760405162461bcd60e51b815260206004820152603060248201527f45786365656473206d6178696d756d2043727970746f204d61736b7320696e2060448201526f37b732903a3930b739b0b1ba34b7b71760811b60648201526084016107a2565b3461113c82610f08565b11156111965760405162461bcd60e51b8152602060048201526024808201527f416d6f756e74206f662045746865722073656e74206973206e6f7420636f727260448201526332b1ba1760e11b60648201526084016107a2565b336000908152600c60205260408120805460ff191690555b818110156111fc5760006111c160105490565b90506111d1601280546001019055565b6111df601080546001019055565b6111e93382611aa0565b50806111f481612879565b9150506111ae565b50506001600b55565b6001600160a01b03821633141561125e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107a2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112f45760405162461bcd60e51b81526004016107a29061272a565b60005b818110156108d8576001600c600085858581811061132557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061133a919061238b565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061136c81612879565b9150506112f7565b600a546001600160a01b0316331461139e5760405162461bcd60e51b81526004016107a29061272a565b600e5460ff16156113f15760405162461bcd60e51b815260206004820152601a60248201527f5468652073616c652069732061637469766520616c726561647900000000000060448201526064016107a2565b600e805460ff19166001179055565b61140a33836117f2565b6114265760405162461bcd60e51b81526004016107a29061275f565b61143284848484611bba565b50505050565b6000818152600260205260409020546060906001600160a01b03166114b75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107a2565b60006114c1611bed565b905060008151116114e1576040518060200160405280600081525061150c565b806114eb84611bfc565b6040516020016114fc929190612659565b6040516020818303038152906040525b9392505050565b600a546001600160a01b0316331461153d5760405162461bcd60e51b81526004016107a29061272a565b600e54610100900460ff166115ba5760405162461bcd60e51b815260206004820152603e60248201527f5468652077686974656c69737420726564656d7074696f6e206973206e6f742060448201527f6163746976652c20736f2069742063616e6e6f7420626520706175736564000060648201526084016107a2565b600e805461ff0019169055565b600a546001600160a01b031633146115f15760405162461bcd60e51b81526004016107a29061272a565b600e54610100900460ff161561165c5760405162461bcd60e51b815260206004820152602a60248201527f5468652077686974656c69737420726564656d7074696f6e2069732061637469604482015269766520616c726561647960b01b60648201526084016107a2565b600e805461ff001916610100179055565b600a546001600160a01b031633146116975760405162461bcd60e51b81526004016107a29061272a565b600f55565b600a546001600160a01b031633146116c65760405162461bcd60e51b81526004016107a29061272a565b6001600160a01b03811661172b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a2565b610f0581611aba565b60006001600160e01b031982166380ac58cd60e01b148061176557506001600160e01b03198216635b5e139f60e01b145b8061069557506301ffc9a760e01b6001600160e01b0319831614610695565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117b982610d4b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661186b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107a2565b600061187683610d4b565b9050806001600160a01b0316846001600160a01b031614806118b15750836001600160a01b03166118a68461072d565b6001600160a01b0316145b806118e157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166118fc82610d4b565b6001600160a01b0316146119645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107a2565b6001600160a01b0382166119c65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107a2565b6119d1838383611d16565b6119dc600082611784565b6001600160a01b0383166000908152600360205260408120805460019290611a059084906127fb565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a339084906127b0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061150c82846127b0565b610d47828260405180602001604052806000815250611dce565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061150c82846127dc565b600061150c82846127c8565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b71576040519150601f19603f3d011682016040523d82523d6000602084013e611b76565b606091505b50509050806108d85760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107a2565b611bc58484846118e9565b611bd184848484611e01565b6114325760405162461bcd60e51b81526004016107a2906126d8565b6060600d80546106aa9061283e565b606081611c205750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c4a5780611c3481612879565b9150611c439050600a836127c8565b9150611c24565b60008167ffffffffffffffff811115611c7357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c9d576020820181803683370190505b5090505b84156118e157611cb26001836127fb565b9150611cbf600a86612894565b611cca9060306127b0565b60f81b818381518110611ced57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d0f600a866127c8565b9450611ca1565b6001600160a01b038316611d7157611d6c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d94565b816001600160a01b0316836001600160a01b031614611d9457611d948382611f0e565b6001600160a01b038216611dab576108d881611fab565b826001600160a01b0316826001600160a01b0316146108d8576108d88282612084565b611dd883836120c8565b611de56000848484611e01565b6108d85760405162461bcd60e51b81526004016107a2906126d8565b60006001600160a01b0384163b15611f0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e45903390899088908890600401612688565b602060405180830381600087803b158015611e5f57600080fd5b505af1925050508015611e8f575060408051601f3d908101601f19168201909252611e8c918101906125b3565b60015b611ee9573d808015611ebd576040519150601f19603f3d011682016040523d82523d6000602084013e611ec2565b606091505b508051611ee15760405162461bcd60e51b81526004016107a2906126d8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118e1565b506001949350505050565b60006001611f1b84610dc2565b611f2591906127fb565b600083815260076020526040902054909150808214611f78576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611fbd906001906127fb565b60008381526009602052604081205460088054939450909284908110611ff357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061202257634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061206857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061208f83610dc2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661211e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107a2565b6000818152600260205260409020546001600160a01b0316156121835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107a2565b61218f60008383611d16565b6001600160a01b03821660009081526003602052604081208054600192906121b89084906127b0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122229061283e565b90600052602060002090601f016020900481019282612244576000855561228a565b82601f1061225d57805160ff191683800117855561228a565b8280016001018555821561228a579182015b8281111561228a57825182559160200191906001019061226f565b5061229692915061229a565b5090565b5b80821115612296576000815560010161229b565b600067ffffffffffffffff808411156122ca576122ca6128d4565b604051601f8501601f19908116603f011681019082821181831017156122f2576122f26128d4565b8160405280935085815286868601111561230b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461233c57600080fd5b919050565b60008083601f840112612352578081fd5b50813567ffffffffffffffff811115612369578182fd5b6020830191508360208260051b850101111561238457600080fd5b9250929050565b60006020828403121561239c578081fd5b61150c82612325565b600080604083850312156123b7578081fd5b6123c083612325565b91506123ce60208401612325565b90509250929050565b6000806000606084860312156123eb578081fd5b6123f484612325565b925061240260208501612325565b9150604084013590509250925092565b60008060008060808587031215612427578081fd5b61243085612325565b935061243e60208601612325565b925060408501359150606085013567ffffffffffffffff811115612460578182fd5b8501601f81018713612470578182fd5b61247f878235602084016122af565b91505092959194509250565b6000806040838503121561249d578182fd5b6124a683612325565b9150602083013580151581146124ba578182fd5b809150509250929050565b600080604083850312156124d7578182fd5b6124e083612325565b946020939093013593505050565b60008060208385031215612500578182fd5b823567ffffffffffffffff811115612516578283fd5b61252285828601612341565b90969095509350505050565b60008060008060408587031215612543578384fd5b843567ffffffffffffffff8082111561255a578586fd5b61256688838901612341565b9096509450602087013591508082111561257e578384fd5b5061258b87828801612341565b95989497509550505050565b6000602082840312156125a8578081fd5b813561150c816128ea565b6000602082840312156125c4578081fd5b815161150c816128ea565b6000602082840312156125e0578081fd5b813567ffffffffffffffff8111156125f6578182fd5b8201601f81018413612606578182fd5b6118e1848235602084016122af565b600060208284031215612626578081fd5b5035919050565b60008151808452612645816020860160208601612812565b601f01601f19169290920160200192915050565b6000835161266b818460208801612812565b83519083019061267f818360208801612812565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126bb9083018461262d565b9695505050505050565b60208152600061150c602083018461262d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156127c3576127c36128a8565b500190565b6000826127d7576127d76128be565b500490565b60008160001904831182151516156127f6576127f66128a8565b500290565b60008282101561280d5761280d6128a8565b500390565b60005b8381101561282d578181015183820152602001612815565b838111156114325750506000910152565b600181811c9082168061285257607f821691505b6020821081141561287357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561288d5761288d6128a8565b5060010190565b6000826128a3576128a36128be565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f0557600080fdfea26469706673582212206acc2081a4bd17b4fcaad9a6ea7d93c915e41048f1ab00f084c13ea3cb13c6f764736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b43727970746f204d61736b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002434d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e63727970746f6d61736b2e6170702f4d657461646174612f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c8063887f9fc111610118578063b88d4fde116100a0578063e21469631161006f578063e2146963146105a3578063e2cd4e62146105c3578063e927fc5c146105df578063e985e9c514610607578063f2fde38b1461065057600080fd5b8063b88d4fde14610539578063c87b56dd14610559578063cd24d1b114610579578063d1bd527f1461058e57600080fd5b8063a15222ea116100e7578063a15222ea146104a9578063a22cb465146104bc578063aab8dc3b146104dc578063ae335d07146104fc578063b66a0e5d1461052457600080fd5b8063887f9fc1146104415780638da5cb5b14610456578063929761791461047457806395d89b411461049457600080fd5b80634f6ccce71161019b57806365f130971161016a57806365f13097146103d957806370a08231146103ef578063715018a61461040f57806374ee555114610424578063853828b61461043957600080fd5b80634f6ccce71461036457806355367ba91461038457806355f804b3146103995780636352211e146103b957600080fd5b806318160ddd116101e257806318160ddd146102c557806323b872dd146102e45780632f745c591461030457806341963c371461032457806342842e0e1461034457600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004612597565b610670565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e61069b565b60405161024091906126c5565b34801561027757600080fd5b5061028b610286366004612615565b61072d565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046124c5565b6107c7565b005b3480156102d157600080fd5b506008545b604051908152602001610240565b3480156102f057600080fd5b506102c36102ff3660046123d7565b6108dd565b34801561031057600080fd5b506102d661031f3660046124c5565b61090e565b34801561033057600080fd5b506102c361033f36600461252e565b6109a4565b34801561035057600080fd5b506102c361035f3660046123d7565b610baf565b34801561037057600080fd5b506102d661037f366004612615565b610bca565b34801561039057600080fd5b506102c3610c6b565b3480156103a557600080fd5b506102c36103b43660046125cf565b610d0a565b3480156103c557600080fd5b5061028b6103d4366004612615565b610d4b565b3480156103e557600080fd5b506102d66103b581565b3480156103fb57600080fd5b506102d661040a36600461238b565b610dc2565b34801561041b57600080fd5b506102c3610e49565b34801561043057600080fd5b506102d6603281565b6102c3610e7f565b34801561044d57600080fd5b506102d6600581565b34801561046257600080fd5b50600a546001600160a01b031661028b565b34801561048057600080fd5b506102d661048f366004612615565b610f08565b3480156104a057600080fd5b5061025e610f1c565b6102c36104b7366004612615565b610f2b565b3480156104c857600080fd5b506102c36104d736600461248b565b611205565b3480156104e857600080fd5b506102c36104f73660046124ee565b6112ca565b34801561050857600080fd5b5061028b73bd584ce590b7dcdbb93b11e095d9e1d5880b44d981565b34801561053057600080fd5b506102c3611374565b34801561054557600080fd5b506102c3610554366004612412565b611400565b34801561056557600080fd5b5061025e610574366004612615565b611438565b34801561058557600080fd5b506102c3611513565b34801561059a57600080fd5b506102c36115c7565b3480156105af57600080fd5b506102c36105be366004612615565b61166d565b3480156105cf57600080fd5b506102d66702c68af0bb14000081565b3480156105eb57600080fd5b5061028b739bbd2bc94af3883948ab9df169b7d8eea631725381565b34801561061357600080fd5b506102346106223660046123a5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065c57600080fd5b506102c361066b36600461238b565b61169c565b60006001600160e01b0319821663780e9d6360e01b1480610695575061069582611734565b92915050565b6060600080546106aa9061283e565b80601f01602080910402602001604051908101604052809291908181526020018280546106d69061283e565b80156107235780601f106106f857610100808354040283529160200191610723565b820191906000526020600020905b81548152906001019060200180831161070657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ab5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107d282610d4b565b9050806001600160a01b0316836001600160a01b031614156108405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107a2565b336001600160a01b038216148061085c575061085c8133610622565b6108ce5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107a2565b6108d88383611784565b505050565b6108e733826117f2565b6109035760405162461bcd60e51b81526004016107a29061275f565b6108d88383836118e9565b600061091983610dc2565b821061097b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107a2565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146109ce5760405162461bcd60e51b81526004016107a29061272a565b828114610a295760405162461bcd60e51b815260206004820152602360248201527f54686520617272617973206d757374206265207468652073616d65206c656e676044820152623a341760e91b60648201526084016107a2565b6000805b82811015610a7b57838382818110610a5557634e487b7160e01b600052603260045260246000fd5b9050602002013582610a6791906127b0565b915080610a7381612879565b915050610a2d565b506032610a90610a8a60115490565b83611a94565b1115610ade5760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d2061697264726f7020726573657276652e60448201526064016107a2565b60005b84811015610ba75760005b848483818110610b0c57634e487b7160e01b600052603260045260246000fd5b90506020020135811015610b94576000610b2560105490565b9050610b35601080546001019055565b610b43601180546001019055565b610b81888885818110610b6657634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610b7b919061238b565b82611aa0565b5080610b8c81612879565b915050610aec565b5080610b9f81612879565b915050610ae1565b505050505050565b6108d883838360405180602001604052806000815250611400565b6000610bd560085490565b8210610c385760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107a2565b60088281548110610c5957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610c955760405162461bcd60e51b81526004016107a29061272a565b600e5460ff16610cfe5760405162461bcd60e51b815260206004820152602e60248201527f5468652073616c65206973206e6f74206163746976652c20736f20697420636160448201526d1b9b9bdd081899481c185d5cd95960921b60648201526084016107a2565b600e805460ff19169055565b600a546001600160a01b03163314610d345760405162461bcd60e51b81526004016107a29061272a565b8051610d4790600d906020840190612216565b5050565b6000818152600260205260408120546001600160a01b0316806106955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107a2565b60006001600160a01b038216610e2d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107a2565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e735760405162461bcd60e51b81526004016107a29061272a565b610e7d6000611aba565b565b600a546001600160a01b03163314610ea95760405162461bcd60e51b81526004016107a29061272a565b4780610eb457600080fd5b610ee773bd584ce590b7dcdbb93b11e095d9e1d5880b44d9610ee26064610edc856005611b0c565b90611b18565b611b24565b610f05739bbd2bc94af3883948ab9df169b7d8eea631725347611b24565b50565b6000610695826702c68af0bb140000611b0c565b6060600180546106aa9061283e565b6002600b541415610f7e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a2565b6002600b55600e5460ff1680610fc35750336000908152600c602052604090205460ff168015610fb05750600f548111155b8015610fc35750600e54610100900460ff165b61101b5760405162461bcd60e51b815260206004820152602360248201527f596f75206d6179206e6f74206d696e7420612043727970746f204d61736b207960448201526232ba1760e91b60648201526084016107a2565b6000811161106b5760405162461bcd60e51b815260206004820181905260248201527f596f752063616e6e6f74206d696e742030202043727970746f204d61736b732e60448201526064016107a2565b6103b561107a610a8a60125490565b11156110c85760405162461bcd60e51b815260206004820152601760248201527f45786365656473206d6178696d756d20737570706c792e00000000000000000060448201526064016107a2565b60058111156111325760405162461bcd60e51b815260206004820152603060248201527f45786365656473206d6178696d756d2043727970746f204d61736b7320696e2060448201526f37b732903a3930b739b0b1ba34b7b71760811b60648201526084016107a2565b3461113c82610f08565b11156111965760405162461bcd60e51b8152602060048201526024808201527f416d6f756e74206f662045746865722073656e74206973206e6f7420636f727260448201526332b1ba1760e11b60648201526084016107a2565b336000908152600c60205260408120805460ff191690555b818110156111fc5760006111c160105490565b90506111d1601280546001019055565b6111df601080546001019055565b6111e93382611aa0565b50806111f481612879565b9150506111ae565b50506001600b55565b6001600160a01b03821633141561125e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107a2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112f45760405162461bcd60e51b81526004016107a29061272a565b60005b818110156108d8576001600c600085858581811061132557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061133a919061238b565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061136c81612879565b9150506112f7565b600a546001600160a01b0316331461139e5760405162461bcd60e51b81526004016107a29061272a565b600e5460ff16156113f15760405162461bcd60e51b815260206004820152601a60248201527f5468652073616c652069732061637469766520616c726561647900000000000060448201526064016107a2565b600e805460ff19166001179055565b61140a33836117f2565b6114265760405162461bcd60e51b81526004016107a29061275f565b61143284848484611bba565b50505050565b6000818152600260205260409020546060906001600160a01b03166114b75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107a2565b60006114c1611bed565b905060008151116114e1576040518060200160405280600081525061150c565b806114eb84611bfc565b6040516020016114fc929190612659565b6040516020818303038152906040525b9392505050565b600a546001600160a01b0316331461153d5760405162461bcd60e51b81526004016107a29061272a565b600e54610100900460ff166115ba5760405162461bcd60e51b815260206004820152603e60248201527f5468652077686974656c69737420726564656d7074696f6e206973206e6f742060448201527f6163746976652c20736f2069742063616e6e6f7420626520706175736564000060648201526084016107a2565b600e805461ff0019169055565b600a546001600160a01b031633146115f15760405162461bcd60e51b81526004016107a29061272a565b600e54610100900460ff161561165c5760405162461bcd60e51b815260206004820152602a60248201527f5468652077686974656c69737420726564656d7074696f6e2069732061637469604482015269766520616c726561647960b01b60648201526084016107a2565b600e805461ff001916610100179055565b600a546001600160a01b031633146116975760405162461bcd60e51b81526004016107a29061272a565b600f55565b600a546001600160a01b031633146116c65760405162461bcd60e51b81526004016107a29061272a565b6001600160a01b03811661172b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a2565b610f0581611aba565b60006001600160e01b031982166380ac58cd60e01b148061176557506001600160e01b03198216635b5e139f60e01b145b8061069557506301ffc9a760e01b6001600160e01b0319831614610695565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117b982610d4b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661186b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107a2565b600061187683610d4b565b9050806001600160a01b0316846001600160a01b031614806118b15750836001600160a01b03166118a68461072d565b6001600160a01b0316145b806118e157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166118fc82610d4b565b6001600160a01b0316146119645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107a2565b6001600160a01b0382166119c65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107a2565b6119d1838383611d16565b6119dc600082611784565b6001600160a01b0383166000908152600360205260408120805460019290611a059084906127fb565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a339084906127b0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061150c82846127b0565b610d47828260405180602001604052806000815250611dce565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061150c82846127dc565b600061150c82846127c8565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b71576040519150601f19603f3d011682016040523d82523d6000602084013e611b76565b606091505b50509050806108d85760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107a2565b611bc58484846118e9565b611bd184848484611e01565b6114325760405162461bcd60e51b81526004016107a2906126d8565b6060600d80546106aa9061283e565b606081611c205750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c4a5780611c3481612879565b9150611c439050600a836127c8565b9150611c24565b60008167ffffffffffffffff811115611c7357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c9d576020820181803683370190505b5090505b84156118e157611cb26001836127fb565b9150611cbf600a86612894565b611cca9060306127b0565b60f81b818381518110611ced57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d0f600a866127c8565b9450611ca1565b6001600160a01b038316611d7157611d6c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d94565b816001600160a01b0316836001600160a01b031614611d9457611d948382611f0e565b6001600160a01b038216611dab576108d881611fab565b826001600160a01b0316826001600160a01b0316146108d8576108d88282612084565b611dd883836120c8565b611de56000848484611e01565b6108d85760405162461bcd60e51b81526004016107a2906126d8565b60006001600160a01b0384163b15611f0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e45903390899088908890600401612688565b602060405180830381600087803b158015611e5f57600080fd5b505af1925050508015611e8f575060408051601f3d908101601f19168201909252611e8c918101906125b3565b60015b611ee9573d808015611ebd576040519150601f19603f3d011682016040523d82523d6000602084013e611ec2565b606091505b508051611ee15760405162461bcd60e51b81526004016107a2906126d8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118e1565b506001949350505050565b60006001611f1b84610dc2565b611f2591906127fb565b600083815260076020526040902054909150808214611f78576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611fbd906001906127fb565b60008381526009602052604081205460088054939450909284908110611ff357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061202257634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061206857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061208f83610dc2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661211e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107a2565b6000818152600260205260409020546001600160a01b0316156121835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107a2565b61218f60008383611d16565b6001600160a01b03821660009081526003602052604081208054600192906121b89084906127b0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122229061283e565b90600052602060002090601f016020900481019282612244576000855561228a565b82601f1061225d57805160ff191683800117855561228a565b8280016001018555821561228a579182015b8281111561228a57825182559160200191906001019061226f565b5061229692915061229a565b5090565b5b80821115612296576000815560010161229b565b600067ffffffffffffffff808411156122ca576122ca6128d4565b604051601f8501601f19908116603f011681019082821181831017156122f2576122f26128d4565b8160405280935085815286868601111561230b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461233c57600080fd5b919050565b60008083601f840112612352578081fd5b50813567ffffffffffffffff811115612369578182fd5b6020830191508360208260051b850101111561238457600080fd5b9250929050565b60006020828403121561239c578081fd5b61150c82612325565b600080604083850312156123b7578081fd5b6123c083612325565b91506123ce60208401612325565b90509250929050565b6000806000606084860312156123eb578081fd5b6123f484612325565b925061240260208501612325565b9150604084013590509250925092565b60008060008060808587031215612427578081fd5b61243085612325565b935061243e60208601612325565b925060408501359150606085013567ffffffffffffffff811115612460578182fd5b8501601f81018713612470578182fd5b61247f878235602084016122af565b91505092959194509250565b6000806040838503121561249d578182fd5b6124a683612325565b9150602083013580151581146124ba578182fd5b809150509250929050565b600080604083850312156124d7578182fd5b6124e083612325565b946020939093013593505050565b60008060208385031215612500578182fd5b823567ffffffffffffffff811115612516578283fd5b61252285828601612341565b90969095509350505050565b60008060008060408587031215612543578384fd5b843567ffffffffffffffff8082111561255a578586fd5b61256688838901612341565b9096509450602087013591508082111561257e578384fd5b5061258b87828801612341565b95989497509550505050565b6000602082840312156125a8578081fd5b813561150c816128ea565b6000602082840312156125c4578081fd5b815161150c816128ea565b6000602082840312156125e0578081fd5b813567ffffffffffffffff8111156125f6578182fd5b8201601f81018413612606578182fd5b6118e1848235602084016122af565b600060208284031215612626578081fd5b5035919050565b60008151808452612645816020860160208601612812565b601f01601f19169290920160200192915050565b6000835161266b818460208801612812565b83519083019061267f818360208801612812565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126bb9083018461262d565b9695505050505050565b60208152600061150c602083018461262d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156127c3576127c36128a8565b500190565b6000826127d7576127d76128be565b500490565b60008160001904831182151516156127f6576127f66128a8565b500290565b60008282101561280d5761280d6128a8565b500390565b60005b8381101561282d578181015183820152602001612815565b838111156114325750506000910152565b600181811c9082168061285257607f821691505b6020821081141561287357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561288d5761288d6128a8565b5060010190565b6000826128a3576128a36128be565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f0557600080fdfea26469706673582212206acc2081a4bd17b4fcaad9a6ea7d93c915e41048f1ab00f084c13ea3cb13c6f764736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b43727970746f204d61736b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002434d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e63727970746f6d61736b2e6170702f4d657461646174612f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Crypto Mask
Arg [1] : symbol (string): CM
Arg [2] : uri (string): https://api.cryptomask.app/Metadata/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 43727970746f204d61736b000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 434d000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [8] : 68747470733a2f2f6170692e63727970746f6d61736b2e6170702f4d65746164
Arg [9] : 6174612f00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

52816:4909:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46668:224;;;;;;;;;;-1:-1:-1;46668:224:0;;;;;:::i;:::-;;:::i;:::-;;;7672:14:1;;7665:22;7647:41;;7635:2;7620:18;46668:224:0;;;;;;;;33794:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35353:221::-;;;;;;;;;;-1:-1:-1;35353:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6970:32:1;;;6952:51;;6940:2;6925:18;35353:221:0;6907:102:1;34876:411:0;;;;;;;;;;-1:-1:-1;34876:411:0;;;;;:::i;:::-;;:::i;:::-;;47308:113;;;;;;;;;;-1:-1:-1;47396:10:0;:17;47308:113;;;20297:25:1;;;20285:2;20270:18;47308:113:0;20252:76:1;36243:339:0;;;;;;;;;;-1:-1:-1;36243:339:0;;;;;:::i;:::-;;:::i;46976:256::-;;;;;;;;;;-1:-1:-1;46976:256:0;;;;;:::i;:::-;;:::i;56030:885::-;;;;;;;;;;-1:-1:-1;56030:885:0;;;;;:::i;:::-;;:::i;36653:185::-;;;;;;;;;;-1:-1:-1;36653:185:0;;;;;:::i;:::-;;:::i;47498:233::-;;;;;;;;;;-1:-1:-1;47498:233:0;;;;;:::i;:::-;;:::i;54099:157::-;;;;;;;;;;;;;:::i;57524:90::-;;;;;;;;;;-1:-1:-1;57524:90:0;;;;;:::i;:::-;;:::i;33488:239::-;;;;;;;;;;-1:-1:-1;33488:239:0;;;;;:::i;:::-;;:::i;53349:45::-;;;;;;;;;;;;53391:3;53349:45;;33218:208;;;;;;;;;;-1:-1:-1;33218:208:0;;;;;:::i;:::-;;:::i;24788:94::-;;;;;;;;;;;;;:::i;53401:44::-;;;;;;;;;;;;53443:2;53401:44;;57067:260;;;:::i;53454:52::-;;;;;;;;;;;;53505:1;53454:52;;24137:87;;;;;;;;;;-1:-1:-1;24210:6:0;;-1:-1:-1;;;;;24210:6:0;24137:87;;56923:136;;;;;;;;;;-1:-1:-1;56923:136:0;;;;;:::i;:::-;;:::i;33963:104::-;;;;;;;;;;;;;:::i;54988:1034::-;;;;;;:::i;:::-;;:::i;35646:295::-;;;;;;;;;;-1:-1:-1;35646:295:0;;;;;:::i;:::-;;:::i;54800:180::-;;;;;;;;;;-1:-1:-1;54800:180:0;;;;;:::i;:::-;;:::i;53693:84::-;;;;;;;;;;;;53735:42;53693:84;;53954:137;;;;;;;;;;;;;:::i;36909:328::-;;;;;;;;;;-1:-1:-1;36909:328:0;;;;;:::i;:::-;;:::i;34138:334::-;;;;;;;;;;-1:-1:-1;34138:334:0;;;;;:::i;:::-;;:::i;54464:212::-;;;;;;;;;;;;;:::i;54264:192::-;;;;;;;;;;;;;:::i;54684:108::-;;;;;;;;;;-1:-1:-1;54684:108:0;;;;;:::i;:::-;;:::i;53513:66::-;;;;;;;;;;;;53561:18;53513:66;;53603:83;;;;;;;;;;;;53644:42;53603:83;;36012:164;;;;;;;;;;-1:-1:-1;36012:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36133:25:0;;;36109:4;36133:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36012:164;25037:192;;;;;;;;;;-1:-1:-1;25037:192:0;;;;;:::i;:::-;;:::i;46668:224::-;46770:4;-1:-1:-1;;;;;;46794:50:0;;-1:-1:-1;;;46794:50:0;;:90;;;46848:36;46872:11;46848:23;:36::i;:::-;46787:97;46668:224;-1:-1:-1;;46668:224:0:o;33794:100::-;33848:13;33881:5;33874:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33794:100;:::o;35353:221::-;35429:7;38836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38836:16:0;35449:73;;;;-1:-1:-1;;;35449:73:0;;15211:2:1;35449:73:0;;;15193:21:1;15250:2;15230:18;;;15223:30;15289:34;15269:18;;;15262:62;-1:-1:-1;;;15340:18:1;;;15333:42;15392:19;;35449:73:0;;;;;;;;;-1:-1:-1;35542:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35542:24:0;;35353:221::o;34876:411::-;34957:13;34973:23;34988:7;34973:14;:23::i;:::-;34957:39;;35021:5;-1:-1:-1;;;;;35015:11:0;:2;-1:-1:-1;;;;;35015:11:0;;;35007:57;;;;-1:-1:-1;;;35007:57:0;;17228:2:1;35007:57:0;;;17210:21:1;17267:2;17247:18;;;17240:30;17306:34;17286:18;;;17279:62;-1:-1:-1;;;17357:18:1;;;17350:31;17398:19;;35007:57:0;17200:223:1;35007:57:0;5267:10;-1:-1:-1;;;;;35099:21:0;;;;:62;;-1:-1:-1;35124:37:0;35141:5;5267:10;36012:164;:::i;35124:37::-;35077:168;;;;-1:-1:-1;;;35077:168:0;;13200:2:1;35077:168:0;;;13182:21:1;13239:2;13219:18;;;13212:30;13278:34;13258:18;;;13251:62;13349:26;13329:18;;;13322:54;13393:19;;35077:168:0;13172:246:1;35077:168:0;35258:21;35267:2;35271:7;35258:8;:21::i;:::-;34876:411;;;:::o;36243:339::-;36438:41;5267:10;36471:7;36438:18;:41::i;:::-;36430:103;;;;-1:-1:-1;;;36430:103:0;;;;;;;:::i;:::-;36546:28;36556:4;36562:2;36566:7;36546:9;:28::i;46976:256::-;47073:7;47109:23;47126:5;47109:16;:23::i;:::-;47101:5;:31;47093:87;;;;-1:-1:-1;;;47093:87:0;;8961:2:1;47093:87:0;;;8943:21:1;9000:2;8980:18;;;8973:30;9039:34;9019:18;;;9012:62;-1:-1:-1;;;9090:18:1;;;9083:41;9141:19;;47093:87:0;8933:233:1;47093:87:0;-1:-1:-1;;;;;;47198:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;46976:256::o;56030:885::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;56184:39;;::::1;56176:87;;;::::0;-1:-1:-1;;;56176:87:0;;14446:2:1;56176:87:0::1;::::0;::::1;14428:21:1::0;14485:2;14465:18;;;14458:30;14524:34;14504:18;;;14497:62;-1:-1:-1;;;14575:18:1;;;14568:33;14618:19;;56176:87:0::1;14418:225:1::0;56176:87:0::1;56284:11;56314:6:::0;56310:113:::1;56326:30:::0;;::::1;56310:113;;;56389:19;;56409:1;56389:22;;;;;-1:-1:-1::0;;;56389:22:0::1;;;;;;;;;;;;;;;56383:3;:28;;;;:::i;:::-;56377:34:::0;-1:-1:-1;56358:3:0;::::1;::::0;::::1;:::i;:::-;;;;56310:113;;;;53443:2;56451:42;56464:23;:13;15104:14:::0;;15012:114;56464:23:::1;56489:3;56451:12;:42::i;:::-;:61;;56443:106;;;::::0;-1:-1:-1;;;56443:106:0;;12022:2:1;56443:106:0::1;::::0;::::1;12004:21:1::0;;;12041:18;;;12034:30;12100:34;12080:18;;;12073:62;12152:18;;56443:106:0::1;11994:182:1::0;56443:106:0::1;56574:6;56570:336;56586:13:::0;;::::1;56570:336;;;56624:6;56620:261;56640:19;;56660:1;56640:22;;;;;-1:-1:-1::0;;;56640:22:0::1;;;;;;;;;;;;;;;56636:1;:26;56620:261;;;56687:15;56705:25;:15;15104:14:::0;;15012:114;56705:25:::1;56687:43;;56750:27;:15;15223:19:::0;;15241:1;15223:19;;;15134:127;56750:27:::1;56796:25;:13;15223:19:::0;;15241:1;15223:19;;;15134:127;56796:25:::1;56840;56850:2;;56853:1;56850:5;;;;;-1:-1:-1::0;;;56850:5:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56857:7;56840:9;:25::i;:::-;-1:-1:-1::0;56664:3:0;::::1;::::0;::::1;:::i;:::-;;;;56620:261;;;-1:-1:-1::0;56601:3:0;::::1;::::0;::::1;:::i;:::-;;;;56570:336;;;;24428:1;56030:885:::0;;;;:::o;36653:185::-;36791:39;36808:4;36814:2;36818:7;36791:39;;;;;;;;;;;;:16;:39::i;47498:233::-;47573:7;47609:30;47396:10;:17;;47308:113;47609:30;47601:5;:38;47593:95;;;;-1:-1:-1;;;47593:95:0;;18804:2:1;47593:95:0;;;18786:21:1;18843:2;18823:18;;;18816:30;18882:34;18862:18;;;18855:62;-1:-1:-1;;;18933:18:1;;;18926:42;18985:19;;47593:95:0;18776:234:1;47593:95:0;47706:10;47717:5;47706:17;;;;;;-1:-1:-1;;;47706:17:0;;;;;;;;;;;;;;;;;47699:24;;47498:233;;;:::o;54099:157::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;54158:10:::1;::::0;::::1;;54150:69;;;::::0;-1:-1:-1;;;54150:69:0;;19217:2:1;54150:69:0::1;::::0;::::1;19199:21:1::0;19256:2;19236:18;;;19229:30;19295:34;19275:18;;;19268:62;-1:-1:-1;;;19346:18:1;;;19339:44;19400:19;;54150:69:0::1;19189:236:1::0;54150:69:0::1;54230:10;:18:::0;;-1:-1:-1;;54230:18:0::1;::::0;;54099:157::o;57524:90::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;57593:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57524:90:::0;:::o;33488:239::-;33560:7;33596:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33596:16:0;33631:19;33623:73;;;;-1:-1:-1;;;33623:73:0;;14036:2:1;33623:73:0;;;14018:21:1;14075:2;14055:18;;;14048:30;14114:34;14094:18;;;14087:62;-1:-1:-1;;;14165:18:1;;;14158:39;14214:19;;33623:73:0;14008:231:1;33218:208:0;33290:7;-1:-1:-1;;;;;33318:19:0;;33310:74;;;;-1:-1:-1;;;33310:74:0;;13625:2:1;33310:74:0;;;13607:21:1;13664:2;13644:18;;;13637:30;13703:34;13683:18;;;13676:62;-1:-1:-1;;;13754:18:1;;;13747:40;13804:19;;33310:74:0;13597:232:1;33310:74:0;-1:-1:-1;;;;;;33402:16:0;;;;;:9;:16;;;;;;;33218:208::o;24788:94::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;24853:21:::1;24871:1;24853:9;:21::i;:::-;24788:94::o:0;57067:260::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;57144:21:::1;57184:11:::0;57176:20:::1;;;::::0;::::1;;57207:52;53735:42;57235:23;57254:3;57235:14;:7:::0;57247:1:::1;57235:11;:14::i;:::-;:18:::0;::::1;:23::i;:::-;57207:10;:52::i;:::-;57270:49;53644:42;57297:21;57270:10;:49::i;:::-;24428:1;57067:260::o:0;56923:136::-;56981:7;57008:43;57021:6;53561:18;57008:12;:43::i;33963:104::-;34019:13;34052:7;34045:14;;;;;:::i;54988:1034::-;1713:1;2309:7;;:19;;2301:63;;;;-1:-1:-1;;;2301:63:0;;19993:2:1;2301:63:0;;;19975:21:1;20032:2;20012:18;;;20005:30;20071:33;20051:18;;;20044:61;20122:18;;2301:63:0;19965:181:1;2301:63:0;1713:1;2442:7;:18;55105:10:::1;::::0;::::1;;::::0;:121:::1;;-1:-1:-1::0;55143:10:0::1;55133:21;::::0;;;:9:::1;:21;::::0;;;;;::::1;;:64:::0;::::1;;;;55181:16;;55158:19;:39;;55133:64;:92;;;;-1:-1:-1::0;55201:24:0::1;::::0;::::1;::::0;::::1;;;55133:92;55083:197;;;::::0;-1:-1:-1;;;55083:197:0;;12796:2:1;55083:197:0::1;::::0;::::1;12778:21:1::0;12835:2;12815:18;;;12808:30;12874:34;12854:18;;;12847:62;-1:-1:-1;;;12925:18:1;;;12918:33;12968:19;;55083:197:0::1;12768:225:1::0;55083:197:0::1;55321:1;55299:19;:23;55291:68;;;::::0;-1:-1:-1;;;55291:68:0;;19632:2:1;55291:68:0::1;::::0;::::1;19614:21:1::0;;;19651:18;;;19644:30;19710:34;19690:18;;;19683:62;19762:18;;55291:68:0::1;19604:182:1::0;55291:68:0::1;53391:3;55378:55;55391:20;:10;15104:14:::0;;15012:114;55378:55:::1;:74;;55370:110;;;::::0;-1:-1:-1;;;55370:110:0;;10147:2:1;55370:110:0::1;::::0;::::1;10129:21:1::0;10186:2;10166:18;;;10159:30;10225:25;10205:18;;;10198:53;10268:18;;55370:110:0::1;10119:173:1::0;55370:110:0::1;53505:1;55499:19;:47;;55491:108;;;::::0;-1:-1:-1;;;55491:108:0;;15624:2:1;55491:108:0::1;::::0;::::1;15606:21:1::0;15663:2;15643:18;;;15636:30;15702:34;15682:18;;;15675:62;-1:-1:-1;;;15753:18:1;;;15746:46;15809:19;;55491:108:0::1;15596:238:1::0;55491:108:0::1;55654:9;55618:32;55630:19;55618:11;:32::i;:::-;:45;;55610:94;;;::::0;-1:-1:-1;;;55610:94:0;;8556:2:1;55610:94:0::1;::::0;::::1;8538:21:1::0;8595:2;8575:18;;;8568:30;8634:34;8614:18;;;8607:62;-1:-1:-1;;;8685:18:1;;;8678:34;8729:19;;55610:94:0::1;8528:226:1::0;55610:94:0::1;55735:10;55749:5;55725:21:::0;;;:9:::1;:21;::::0;;;;:29;;-1:-1:-1;;55725:29:0::1;::::0;;55767:248:::1;55787:19;55783:1;:23;55767:248;;;55827:18;55848:25;:15;15104:14:::0;;15012:114;55848:25:::1;55827:46;;55888:22;:10;15223:19:::0;;15241:1;15223:19;;;15134:127;55888:22:::1;55925:27;:15;15223:19:::0;;15241:1;15223:19;;;15134:127;55925:27:::1;55967:33;55977:10;55989;55967:9;:33::i;:::-;-1:-1:-1::0;55808:3:0;::::1;::::0;::::1;:::i;:::-;;;;55767:248;;;-1:-1:-1::0;;1669:1:0;2621:7;:22;54988:1034::o;35646:295::-;-1:-1:-1;;;;;35749:24:0;;5267:10;35749:24;;35741:62;;;;-1:-1:-1;;;35741:62:0;;11668:2:1;35741:62:0;;;11650:21:1;11707:2;11687:18;;;11680:30;11746:27;11726:18;;;11719:55;11791:18;;35741:62:0;11640:175:1;35741:62:0;5267:10;35816:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;35816:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;35816:53:0;;;;;;;;;;35885:48;;7647:41:1;;;35816:42:0;;5267:10;35885:48;;7620:18:1;35885:48:0;;;;;;;35646:295;;:::o;54800:180::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;54892:6:::1;54888:85;54904:13:::0;;::::1;54888:85;;;54957:4;54938:9;:16;54948:2;;54951:1;54948:5;;;;;-1:-1:-1::0;;;54948:5:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;54938:16:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;54938:16:0;:23;;-1:-1:-1;;54938:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54919:3;::::1;::::0;::::1;:::i;:::-;;;;54888:85;;53954:137:::0;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;54014:10:::1;::::0;::::1;;54013:11;54005:50;;;::::0;-1:-1:-1;;;54005:50:0;;9792:2:1;54005:50:0::1;::::0;::::1;9774:21:1::0;9831:2;9811:18;;;9804:30;9870:28;9850:18;;;9843:56;9916:18;;54005:50:0::1;9764:176:1::0;54005:50:0::1;54066:10;:17:::0;;-1:-1:-1;;54066:17:0::1;54079:4;54066:17;::::0;;53954:137::o;36909:328::-;37084:41;5267:10;37117:7;37084:18;:41::i;:::-;37076:103;;;;-1:-1:-1;;;37076:103:0;;;;;;;:::i;:::-;37190:39;37204:4;37210:2;37214:7;37223:5;37190:13;:39::i;:::-;36909:328;;;;:::o;34138:334::-;38812:4;38836:16;;;:7;:16;;;;;;34211:13;;-1:-1:-1;;;;;38836:16:0;34237:76;;;;-1:-1:-1;;;34237:76:0;;16812:2:1;34237:76:0;;;16794:21:1;16851:2;16831:18;;;16824:30;16890:34;16870:18;;;16863:62;-1:-1:-1;;;16941:18:1;;;16934:45;16996:19;;34237:76:0;16784:237:1;34237:76:0;34326:21;34350:10;:8;:10::i;:::-;34326:34;;34402:1;34384:7;34378:21;:25;:86;;;;;;;;;;;;;;;;;34430:7;34439:18;:7;:16;:18::i;:::-;34413:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;34378:86;34371:93;34138:334;-1:-1:-1;;;34138:334:0:o;54464:212::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;54534:24:::1;::::0;::::1;::::0;::::1;;;54526:99;;;::::0;-1:-1:-1;;;54526:99:0;;8125:2:1;54526:99:0::1;::::0;::::1;8107:21:1::0;8164:2;8144:18;;;8137:30;8203:34;8183:18;;;8176:62;8274:32;8254:18;;;8247:60;8324:19;;54526:99:0::1;8097:252:1::0;54526:99:0::1;54636:24;:32:::0;;-1:-1:-1;;54636:32:0::1;::::0;;54464:212::o;54264:192::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;54335:24:::1;::::0;::::1;::::0;::::1;;;54334:25;54326:80;;;::::0;-1:-1:-1;;;54326:80:0;;17630:2:1;54326:80:0::1;::::0;::::1;17612:21:1::0;17669:2;17649:18;;;17642:30;17708:34;17688:18;;;17681:62;-1:-1:-1;;;17759:18:1;;;17752:40;17809:19;;54326:80:0::1;17602:232:1::0;54326:80:0::1;54417:24;:31:::0;;-1:-1:-1;;54417:31:0::1;;;::::0;;54264:192::o;54684:108::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;54759:16:::1;:25:::0;54684:108::o;25037:192::-;24210:6;;-1:-1:-1;;;;;24210:6:0;5267:10;24357:23;24349:68;;;;-1:-1:-1;;;24349:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25126:22:0;::::1;25118:73;;;::::0;-1:-1:-1;;;25118:73:0;;10499:2:1;25118:73:0::1;::::0;::::1;10481:21:1::0;10538:2;10518:18;;;10511:30;10577:34;10557:18;;;10550:62;-1:-1:-1;;;10628:18:1;;;10621:36;10674:19;;25118:73:0::1;10471:228:1::0;25118:73:0::1;25202:19;25212:8;25202:9;:19::i;32849:305::-:0;32951:4;-1:-1:-1;;;;;;32988:40:0;;-1:-1:-1;;;32988:40:0;;:105;;-1:-1:-1;;;;;;;33045:48:0;;-1:-1:-1;;;33045:48:0;32988:105;:158;;;-1:-1:-1;;;;;;;;;;31563:40:0;;;33110:36;31454:157;42729:174;42804:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;42804:29:0;-1:-1:-1;;;;;42804:29:0;;;;;;;;:24;;42858:23;42804:24;42858:14;:23::i;:::-;-1:-1:-1;;;;;42849:46:0;;;;;;;;;;;42729:174;;:::o;39041:348::-;39134:4;38836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38836:16:0;39151:73;;;;-1:-1:-1;;;39151:73:0;;12383:2:1;39151:73:0;;;12365:21:1;12422:2;12402:18;;;12395:30;12461:34;12441:18;;;12434:62;-1:-1:-1;;;12512:18:1;;;12505:42;12564:19;;39151:73:0;12355:234:1;39151:73:0;39235:13;39251:23;39266:7;39251:14;:23::i;:::-;39235:39;;39304:5;-1:-1:-1;;;;;39293:16:0;:7;-1:-1:-1;;;;;39293:16:0;;:51;;;;39337:7;-1:-1:-1;;;;;39313:31:0;:20;39325:7;39313:11;:20::i;:::-;-1:-1:-1;;;;;39313:31:0;;39293:51;:87;;;-1:-1:-1;;;;;;36133:25:0;;;36109:4;36133:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;39348:32;39285:96;39041:348;-1:-1:-1;;;;39041:348:0:o;42033:578::-;42192:4;-1:-1:-1;;;;;42165:31:0;:23;42180:7;42165:14;:23::i;:::-;-1:-1:-1;;;;;42165:31:0;;42157:85;;;;-1:-1:-1;;;42157:85:0;;16402:2:1;42157:85:0;;;16384:21:1;16441:2;16421:18;;;16414:30;16480:34;16460:18;;;16453:62;-1:-1:-1;;;16531:18:1;;;16524:39;16580:19;;42157:85:0;16374:231:1;42157:85:0;-1:-1:-1;;;;;42261:16:0;;42253:65;;;;-1:-1:-1;;;42253:65:0;;11263:2:1;42253:65:0;;;11245:21:1;11302:2;11282:18;;;11275:30;11341:34;11321:18;;;11314:62;-1:-1:-1;;;11392:18:1;;;11385:34;11436:19;;42253:65:0;11235:226:1;42253:65:0;42331:39;42352:4;42358:2;42362:7;42331:20;:39::i;:::-;42435:29;42452:1;42456:7;42435:8;:29::i;:::-;-1:-1:-1;;;;;42477:15:0;;;;;;:9;:15;;;;;:20;;42496:1;;42477:15;:20;;42496:1;;42477:20;:::i;:::-;;;;-1:-1:-1;;;;;;;42508:13:0;;;;;;:9;:13;;;;;:18;;42525:1;;42508:13;:18;;42525:1;;42508:18;:::i;:::-;;;;-1:-1:-1;;42537:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;42537:21:0;-1:-1:-1;;;;;42537:21:0;;;;;;;;;42576:27;;42537:16;;42576:27;;;;;;;42033:578;;;:::o;18308:98::-;18366:7;18393:5;18397:1;18393;:5;:::i;39731:110::-;39807:26;39817:2;39821:7;39807:26;;;;;;;;;;;;:9;:26::i;25237:173::-;25312:6;;;-1:-1:-1;;;;;25329:17:0;;;-1:-1:-1;;;;;;25329:17:0;;;;;;;25362:40;;25312:6;;;25329:17;25312:6;;25362:40;;25293:16;;25362:40;25237:173;;:::o;19046:98::-;19104:7;19131:5;19135:1;19131;:5;:::i;19445:98::-;19503:7;19530:5;19534:1;19530;:5;:::i;57335:181::-;57410:12;57427:8;-1:-1:-1;;;;;57427:13:0;57449:7;57427:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57409:52;;;57480:7;57472:36;;;;-1:-1:-1;;;57472:36:0;;18041:2:1;57472:36:0;;;18023:21:1;18080:2;18060:18;;;18053:30;-1:-1:-1;;;18099:18:1;;;18092:46;18155:18;;57472:36:0;18013:166:1;38119:315:0;38276:28;38286:4;38292:2;38296:7;38276:9;:28::i;:::-;38323:48;38346:4;38352:2;38356:7;38365:5;38323:22;:48::i;:::-;38315:111;;;;-1:-1:-1;;;38315:111:0;;;;;;;:::i;57622:100::-;57674:13;57707:7;57700:14;;;;;:::i;2886:723::-;2942:13;3163:10;3159:53;;-1:-1:-1;;3190:10:0;;;;;;;;;;;;-1:-1:-1;;;3190:10:0;;;;;2886:723::o;3159:53::-;3237:5;3222:12;3278:78;3285:9;;3278:78;;3311:8;;;;:::i;:::-;;-1:-1:-1;3334:10:0;;-1:-1:-1;3342:2:0;3334:10;;:::i;:::-;;;3278:78;;;3366:19;3398:6;3388:17;;;;;;-1:-1:-1;;;3388:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3388:17:0;;3366:39;;3416:154;3423:10;;3416:154;;3450:11;3460:1;3450:11;;:::i;:::-;;-1:-1:-1;3519:10:0;3527:2;3519:5;:10;:::i;:::-;3506:24;;:2;:24;:::i;:::-;3493:39;;3476:6;3483;3476:14;;;;;;-1:-1:-1;;;3476:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;3476:56:0;;;;;;;;-1:-1:-1;3547:11:0;3556:2;3547:11;;:::i;:::-;;;3416:154;;48344:589;-1:-1:-1;;;;;48550:18:0;;48546:187;;48585:40;48617:7;49760:10;:17;;49733:24;;;;:15;:24;;;;;:44;;;49788:24;;;;;;;;;;;;49656:164;48585:40;48546:187;;;48655:2;-1:-1:-1;;;;;48647:10:0;:4;-1:-1:-1;;;;;48647:10:0;;48643:90;;48674:47;48707:4;48713:7;48674:32;:47::i;:::-;-1:-1:-1;;;;;48747:16:0;;48743:183;;48780:45;48817:7;48780:36;:45::i;48743:183::-;48853:4;-1:-1:-1;;;;;48847:10:0;:2;-1:-1:-1;;;;;48847:10:0;;48843:83;;48874:40;48902:2;48906:7;48874:27;:40::i;40068:321::-;40198:18;40204:2;40208:7;40198:5;:18::i;:::-;40249:54;40280:1;40284:2;40288:7;40297:5;40249:22;:54::i;:::-;40227:154;;;;-1:-1:-1;;;40227:154:0;;;;;;;:::i;43468:799::-;43623:4;-1:-1:-1;;;;;43644:13:0;;7271:20;7319:8;43640:620;;43680:72;;-1:-1:-1;;;43680:72:0;;-1:-1:-1;;;;;43680:36:0;;;;;:72;;5267:10;;43731:4;;43737:7;;43746:5;;43680:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43680:72:0;;;;;;;;-1:-1:-1;;43680:72:0;;;;;;;;;;;;:::i;:::-;;;43676:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43922:13:0;;43918:272;;43965:60;;-1:-1:-1;;;43965:60:0;;;;;;;:::i;43918:272::-;44140:6;44134:13;44125:6;44121:2;44117:15;44110:38;43676:529;-1:-1:-1;;;;;;43803:51:0;-1:-1:-1;;;43803:51:0;;-1:-1:-1;43796:58:0;;43640:620;-1:-1:-1;44244:4:0;43468:799;;;;;;:::o;50447:988::-;50713:22;50763:1;50738:22;50755:4;50738:16;:22::i;:::-;:26;;;;:::i;:::-;50775:18;50796:26;;;:17;:26;;;;;;50713:51;;-1:-1:-1;50929:28:0;;;50925:328;;-1:-1:-1;;;;;50996:18:0;;50974:19;50996:18;;;:12;:18;;;;;;;;:34;;;;;;;;;51047:30;;;;;;:44;;;51164:30;;:17;:30;;;;;:43;;;50925:328;-1:-1:-1;51349:26:0;;;;:17;:26;;;;;;;;51342:33;;;-1:-1:-1;;;;;51393:18:0;;;;;:12;:18;;;;;:34;;;;;;;51386:41;50447:988::o;51730:1079::-;52008:10;:17;51983:22;;52008:21;;52028:1;;52008:21;:::i;:::-;52040:18;52061:24;;;:15;:24;;;;;;52434:10;:26;;51983:46;;-1:-1:-1;52061:24:0;;51983:46;;52434:26;;;;-1:-1:-1;;;52434:26:0;;;;;;;;;;;;;;;;;52412:48;;52498:11;52473:10;52484;52473:22;;;;;;-1:-1:-1;;;52473:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;52578:28;;;:15;:28;;;;;;;:41;;;52750:24;;;;;52743:31;52785:10;:16;;;;;-1:-1:-1;;;52785:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;51730:1079;;;;:::o;49234:221::-;49319:14;49336:20;49353:2;49336:16;:20::i;:::-;-1:-1:-1;;;;;49367:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;49412:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;49234:221:0:o;40725:382::-;-1:-1:-1;;;;;40805:16:0;;40797:61;;;;-1:-1:-1;;;40797:61:0;;14850:2:1;40797:61:0;;;14832:21:1;;;14869:18;;;14862:30;14928:34;14908:18;;;14901:62;14980:18;;40797:61:0;14822:182:1;40797:61:0;38812:4;38836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38836:16:0;:30;40869:58;;;;-1:-1:-1;;;40869:58:0;;10906:2:1;40869:58:0;;;10888:21:1;10945:2;10925:18;;;10918:30;10984;10964:18;;;10957:58;11032:18;;40869:58:0;10878:178:1;40869:58:0;40940:45;40969:1;40973:2;40977:7;40940:20;:45::i;:::-;-1:-1:-1;;;;;40998:13:0;;;;;;:9;:13;;;;;:18;;41015:1;;40998:13;:18;;41015:1;;40998:18;:::i;:::-;;;;-1:-1:-1;;41027:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;41027:21:0;-1:-1:-1;;;;;41027:21:0;;;;;;;;41066:33;;41027:16;;;41066:33;;41027:16;;41066:33;40725:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:391::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:2;;978:6;970;963:22;922:2;-1:-1:-1;1006:20:1;;1049:18;1038:30;;1035:2;;;1088:8;1078;1071:26;1035:2;1132:4;1124:6;1120:17;1108:29;;1192:3;1185:4;1175:6;1172:1;1168:14;1160:6;1156:27;1152:38;1149:47;1146:2;;;1209:1;1206;1199:12;1146:2;912:307;;;;;:::o;1224:196::-;1283:6;1336:2;1324:9;1315:7;1311:23;1307:32;1304:2;;;1357:6;1349;1342:22;1304:2;1385:29;1404:9;1385:29;:::i;1425:270::-;1493:6;1501;1554:2;1542:9;1533:7;1529:23;1525:32;1522:2;;;1575:6;1567;1560:22;1522:2;1603:29;1622:9;1603:29;:::i;:::-;1593:39;;1651:38;1685:2;1674:9;1670:18;1651:38;:::i;:::-;1641:48;;1512:183;;;;;:::o;1700:338::-;1777:6;1785;1793;1846:2;1834:9;1825:7;1821:23;1817:32;1814:2;;;1867:6;1859;1852:22;1814:2;1895:29;1914:9;1895:29;:::i;:::-;1885:39;;1943:38;1977:2;1966:9;1962:18;1943:38;:::i;:::-;1933:48;;2028:2;2017:9;2013:18;2000:32;1990:42;;1804:234;;;;;:::o;2043:696::-;2138:6;2146;2154;2162;2215:3;2203:9;2194:7;2190:23;2186:33;2183:2;;;2237:6;2229;2222:22;2183:2;2265:29;2284:9;2265:29;:::i;:::-;2255:39;;2313:38;2347:2;2336:9;2332:18;2313:38;:::i;:::-;2303:48;;2398:2;2387:9;2383:18;2370:32;2360:42;;2453:2;2442:9;2438:18;2425:32;2480:18;2472:6;2469:30;2466:2;;;2517:6;2509;2502:22;2466:2;2545:22;;2598:4;2590:13;;2586:27;-1:-1:-1;2576:2:1;;2632:6;2624;2617:22;2576:2;2660:73;2725:7;2720:2;2707:16;2702:2;2698;2694:11;2660:73;:::i;:::-;2650:83;;;2173:566;;;;;;;:::o;2744:367::-;2809:6;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:2;;;2891:6;2883;2876:22;2838:2;2919:29;2938:9;2919:29;:::i;:::-;2909:39;;2998:2;2987:9;2983:18;2970:32;3045:5;3038:13;3031:21;3024:5;3021:32;3011:2;;3072:6;3064;3057:22;3011:2;3100:5;3090:15;;;2828:283;;;;;:::o;3116:264::-;3184:6;3192;3245:2;3233:9;3224:7;3220:23;3216:32;3213:2;;;3266:6;3258;3251:22;3213:2;3294:29;3313:9;3294:29;:::i;:::-;3284:39;3370:2;3355:18;;;;3342:32;;-1:-1:-1;;;3203:177:1:o;3385:457::-;3471:6;3479;3532:2;3520:9;3511:7;3507:23;3503:32;3500:2;;;3553:6;3545;3538:22;3500:2;3598:9;3585:23;3631:18;3623:6;3620:30;3617:2;;;3668:6;3660;3653:22;3617:2;3712:70;3774:7;3765:6;3754:9;3750:22;3712:70;:::i;:::-;3801:8;;3686:96;;-1:-1:-1;3490:352:1;-1:-1:-1;;;;3490:352:1:o;3847:803::-;3969:6;3977;3985;3993;4046:2;4034:9;4025:7;4021:23;4017:32;4014:2;;;4067:6;4059;4052:22;4014:2;4112:9;4099:23;4141:18;4182:2;4174:6;4171:14;4168:2;;;4203:6;4195;4188:22;4168:2;4247:70;4309:7;4300:6;4289:9;4285:22;4247:70;:::i;:::-;4336:8;;-1:-1:-1;4221:96:1;-1:-1:-1;4424:2:1;4409:18;;4396:32;;-1:-1:-1;4440:16:1;;;4437:2;;;4474:6;4466;4459:22;4437:2;;4518:72;4582:7;4571:8;4560:9;4556:24;4518:72;:::i;:::-;4004:646;;;;-1:-1:-1;4609:8:1;-1:-1:-1;;;;4004:646:1:o;4655:255::-;4713:6;4766:2;4754:9;4745:7;4741:23;4737:32;4734:2;;;4787:6;4779;4772:22;4734:2;4831:9;4818:23;4850:30;4874:5;4850:30;:::i;4915:259::-;4984:6;5037:2;5025:9;5016:7;5012:23;5008:32;5005:2;;;5058:6;5050;5043:22;5005:2;5095:9;5089:16;5114:30;5138:5;5114:30;:::i;5179:480::-;5248:6;5301:2;5289:9;5280:7;5276:23;5272:32;5269:2;;;5322:6;5314;5307:22;5269:2;5367:9;5354:23;5400:18;5392:6;5389:30;5386:2;;;5437:6;5429;5422:22;5386:2;5465:22;;5518:4;5510:13;;5506:27;-1:-1:-1;5496:2:1;;5552:6;5544;5537:22;5496:2;5580:73;5645:7;5640:2;5627:16;5622:2;5618;5614:11;5580:73;:::i;5664:190::-;5723:6;5776:2;5764:9;5755:7;5751:23;5747:32;5744:2;;;5797:6;5789;5782:22;5744:2;-1:-1:-1;5825:23:1;;5734:120;-1:-1:-1;5734:120:1:o;5859:257::-;5900:3;5938:5;5932:12;5965:6;5960:3;5953:19;5981:63;6037:6;6030:4;6025:3;6021:14;6014:4;6007:5;6003:16;5981:63;:::i;:::-;6098:2;6077:15;-1:-1:-1;;6073:29:1;6064:39;;;;6105:4;6060:50;;5908:208;-1:-1:-1;;5908:208:1:o;6121:470::-;6300:3;6338:6;6332:13;6354:53;6400:6;6395:3;6388:4;6380:6;6376:17;6354:53;:::i;:::-;6470:13;;6429:16;;;;6492:57;6470:13;6429:16;6526:4;6514:17;;6492:57;:::i;:::-;6565:20;;6308:283;-1:-1:-1;;;;6308:283:1:o;7014:488::-;-1:-1:-1;;;;;7283:15:1;;;7265:34;;7335:15;;7330:2;7315:18;;7308:43;7382:2;7367:18;;7360:34;;;7430:3;7425:2;7410:18;;7403:31;;;7208:4;;7451:45;;7476:19;;7468:6;7451:45;:::i;:::-;7443:53;7217:285;-1:-1:-1;;;;;;7217:285:1:o;7699:219::-;7848:2;7837:9;7830:21;7811:4;7868:44;7908:2;7897:9;7893:18;7885:6;7868:44;:::i;9171:414::-;9373:2;9355:21;;;9412:2;9392:18;;;9385:30;9451:34;9446:2;9431:18;;9424:62;-1:-1:-1;;;9517:2:1;9502:18;;9495:48;9575:3;9560:19;;9345:240::o;15839:356::-;16041:2;16023:21;;;16060:18;;;16053:30;16119:34;16114:2;16099:18;;16092:62;16186:2;16171:18;;16013:182::o;18184:413::-;18386:2;18368:21;;;18425:2;18405:18;;;18398:30;18464:34;18459:2;18444:18;;18437:62;-1:-1:-1;;;18530:2:1;18515:18;;18508:47;18587:3;18572:19;;18358:239::o;20333:128::-;20373:3;20404:1;20400:6;20397:1;20394:13;20391:2;;;20410:18;;:::i;:::-;-1:-1:-1;20446:9:1;;20381:80::o;20466:120::-;20506:1;20532;20522:2;;20537:18;;:::i;:::-;-1:-1:-1;20571:9:1;;20512:74::o;20591:168::-;20631:7;20697:1;20693;20689:6;20685:14;20682:1;20679:21;20674:1;20667:9;20660:17;20656:45;20653:2;;;20704:18;;:::i;:::-;-1:-1:-1;20744:9:1;;20643:116::o;20764:125::-;20804:4;20832:1;20829;20826:8;20823:2;;;20837:18;;:::i;:::-;-1:-1:-1;20874:9:1;;20813:76::o;20894:258::-;20966:1;20976:113;20990:6;20987:1;20984:13;20976:113;;;21066:11;;;21060:18;21047:11;;;21040:39;21012:2;21005:10;20976:113;;;21107:6;21104:1;21101:13;21098:2;;;-1:-1:-1;;21142:1:1;21124:16;;21117:27;20947:205::o;21157:380::-;21236:1;21232:12;;;;21279;;;21300:2;;21354:4;21346:6;21342:17;21332:27;;21300:2;21407;21399:6;21396:14;21376:18;21373:38;21370:2;;;21453:10;21448:3;21444:20;21441:1;21434:31;21488:4;21485:1;21478:15;21516:4;21513:1;21506:15;21370:2;;21212:325;;;:::o;21542:135::-;21581:3;-1:-1:-1;;21602:17:1;;21599:2;;;21622:18;;:::i;:::-;-1:-1:-1;21669:1:1;21658:13;;21589:88::o;21682:112::-;21714:1;21740;21730:2;;21745:18;;:::i;:::-;-1:-1:-1;21779:9:1;;21720:74::o;21799:127::-;21860:10;21855:3;21851:20;21848:1;21841:31;21891:4;21888:1;21881:15;21915:4;21912:1;21905:15;21931:127;21992:10;21987:3;21983:20;21980:1;21973:31;22023:4;22020:1;22013:15;22047:4;22044:1;22037:15;22063:127;22124:10;22119:3;22115:20;22112:1;22105:31;22155:4;22152:1;22145:15;22179:4;22176:1;22169:15;22195:131;-1:-1:-1;;;;;;22269:32:1;;22259:43;;22249:2;;22316:1;22313;22306:12

Swarm Source

ipfs://6acc2081a4bd17b4fcaad9a6ea7d93c915e41048f1ab00f084c13ea3cb13c6f7

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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