ETH Price: $3,342.66 (-0.89%)

Contract

0xF2555451d1ed412d20369300bB15F30339b38bD9
 

Overview

ETH Balance

0.00025 ETH

Eth Value

$0.84 (@ $3,342.66/ETH)

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...192664072024-02-20 4:02:23307 days ago1708401743IN
Jesus: JESUS Token
0 ETH0.0005856524.13291444
Set Approval For...192107602024-02-12 8:29:35315 days ago1707726575IN
Jesus: JESUS Token
0 ETH0.0009532220.67918037
Set Approval For...188718842023-12-26 19:15:23362 days ago1703618123IN
Jesus: JESUS Token
0 ETH0.0009830421.32599079
Set Approval For...187636882023-12-11 14:54:11377 days ago1702306451IN
Jesus: JESUS Token
0 ETH0.0019238941.66084565
Set Approval For...187211222023-12-05 15:45:35383 days ago1701791135IN
Jesus: JESUS Token
0 ETH0.0015960465.7675269
Set Approval For...187211222023-12-05 15:45:35383 days ago1701791135IN
Jesus: JESUS Token
0 ETH0.0015960465.7675269
Set Approval For...187038642023-12-03 5:44:11386 days ago1701582251IN
Jesus: JESUS Token
0 ETH0.0012368726.83255807
Set Approval For...184849112023-11-02 14:12:59416 days ago1698934379IN
Jesus: JESUS Token
0 ETH0.0016521535.77639318
Set Approval For...181342882023-09-14 11:41:23466 days ago1694691683IN
Jesus: JESUS Token
0 ETH0.0005023610.89819925
Safe Transfer Fr...180762122023-09-06 8:26:11474 days ago1693988771IN
Jesus: JESUS Token
0 ETH0.0007796811.88166223
Set Approval For...179366482023-08-17 19:33:47493 days ago1692300827IN
Jesus: JESUS Token
0 ETH0.0012093226.23492092
Set Approval For...175770192023-06-28 9:47:59544 days ago1687945679IN
Jesus: JESUS Token
0 ETH0.0006947515.07191684
Transfer From174029522023-06-03 21:56:47568 days ago1685829407IN
Jesus: JESUS Token
0 ETH0.0009414220.85935095
Set Approval For...173873972023-06-01 17:18:59570 days ago1685639939IN
Jesus: JESUS Token
0 ETH0.0018209939.50448315
Set Approval For...170251822023-04-11 13:34:59621 days ago1681220099IN
Jesus: JESUS Token
0 ETH0.0010139821.99728341
Set Approval For...170251812023-04-11 13:34:47621 days ago1681220087IN
Jesus: JESUS Token
0 ETH0.001036422.47188505
Set Approval For...169734552023-04-04 5:23:11629 days ago1680585791IN
Jesus: JESUS Token
0 ETH0.0010242822.2090411
Set Approval For...168512892023-03-18 1:09:35646 days ago1679101775IN
Jesus: JESUS Token
0 ETH0.0014020930.41687872
Transfer From168512632023-03-18 1:04:11646 days ago1679101451IN
Jesus: JESUS Token
0 ETH0.0018161329.18324433
Set Approval For...167706072023-03-06 16:50:11657 days ago1678121411IN
Jesus: JESUS Token
0 ETH0.0008681635.77424996
Safe Transfer Fr...164016232023-01-14 1:01:23709 days ago1673658083IN
Jesus: JESUS Token
0 ETH0.0022698864.72816042
Set Approval For...163082652023-01-01 0:15:11722 days ago1672532111IN
Jesus: JESUS Token
0 ETH0.0007454416.14627898
Set Approval For...163018672022-12-31 2:48:59723 days ago1672454939IN
Jesus: JESUS Token
0 ETH0.0005296220.16220787
Set Approval For...163018662022-12-31 2:48:47723 days ago1672454927IN
Jesus: JESUS Token
0 ETH0.0009877721.39522035
Set Approval For...162876402022-12-29 3:09:47725 days ago1672283387IN
Jesus: JESUS Token
0 ETH0.000707315.32013656
View all transactions

Latest 7 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
139841262022-01-11 12:11:531076 days ago1641903113
Jesus: JESUS Token
0.054 ETH
139818212022-01-11 3:36:461077 days ago1641872206
Jesus: JESUS Token
0.39275 ETH
139750702022-01-10 2:16:421078 days ago1641781002
Jesus: JESUS Token
0.675 ETH
139687312022-01-09 2:51:141079 days ago1641696674
Jesus: JESUS Token
2 ETH
139620152022-01-08 2:08:451080 days ago1641607725
Jesus: JESUS Token
1 ETH
139605282022-01-07 20:42:501080 days ago1641588170
Jesus: JESUS Token
3.648 ETH
139598892022-01-07 18:26:041080 days ago1641579964
Jesus: JESUS Token
0.085 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Jesus

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: contracts/Signer.sol


pragma solidity ^0.8.3;

/* Signature Verification

How to Sign and Verify
# Signing
1. Create message to sign
2. Hash the message
3. Sign the hash (off chain, keep your private key secret)

# Verify
1. Recreate hash from the original message
2. Recover signer from signature and hash
3. Compare recovered signer to claimed signer
*/

library VerifySignature {
    /* 1. Unlock MetaMask account
    ethereum.enable()
    */

    /* 2. Get message hash to sign
    getMessageHash(
        0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C,
        123,
        "coffee and donuts",
        1
    )

    hash = "0xcf36ac4f97dc10d91fc2cbb20d718e94a8cbfe0f82eaedc6a4aa38946fb797cd"
    */
    function getMessageHash(
        address _minter,
        uint _quantity,
        uint _nonce
    ) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(_minter, _quantity, _nonce));
    }

    /* 3. Sign message hash
    # using browser
    account = "copy paste account of signer here"
    ethereum.request({ method: "personal_sign", params: [account, hash]}).then(console.log)

    # using web3
    web3.personal.sign(hash, web3.eth.defaultAccount, console.log)

    Signature will be different for different accounts
    0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b
    */
    function getEthSignedMessageHash(bytes32 _messageHash)
        public
        pure
        returns (bytes32)
    {
        /*
        Signature is produced by signing a keccak256 hash with the following format:
        "\x19Ethereum Signed Message\n" + len(msg) + msg
        */
        return
            keccak256(
                abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)
            );
    }

    /* 4. Verify signature
    signer = 0xB273216C05A8c0D4F0a4Dd0d7Bae1D2EfFE636dd
    to = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C
    amount = 123
    message = "coffee and donuts"
    nonce = 1
    signature =
        0x993dab3dd91f5c6dc28e17439be475478f5635c92a56e17e82349d3fb2f166196f466c0b4e0c146f285204f0dcb13e5ae67bc33f4b888ec32dfe0a063e8f3f781b
    */
    function verify(
        address _signer,
        address _minter,
        uint _quantity,
        uint _nonce,
        bytes memory signature
    ) public pure returns (bool) {
        bytes32 messageHash = getMessageHash(_minter, _quantity, _nonce);
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);

        return recoverSigner(ethSignedMessageHash, signature) == _signer;
    }

    function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature)
        public
        pure
        returns (address)
    {
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);

        return ecrecover(_ethSignedMessageHash, v, r, s);
    }

    function splitSignature(bytes memory sig)
        public
        pure
        returns (
            bytes32 r,
            bytes32 s,
            uint8 v
        )
    {
        require(sig.length == 65, "invalid signature length");

        assembly {
            /*
            First 32 bytes stores the length of the signature

            add(sig, 32) = pointer of sig + 32
            effectively, skips first 32 bytes of signature

            mload(p) loads next 32 bytes starting at the memory address p into memory
            */

            // first 32 bytes, after the length prefix
            r := mload(add(sig, 32))
            // second 32 bytes
            s := mload(add(sig, 64))
            // final byte (first byte of the next 32 bytes)
            v := byte(0, mload(add(sig, 96)))
        }

        // implicitly return (r, s, v)
    }
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol



pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and 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;
    }
}

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



pragma solidity ^0.8.0;

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

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

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

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

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

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



pragma solidity ^0.8.0;

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

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

// File: contracts/access/DeveloperAccess.sol



pragma solidity ^0.8.0;


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

    event DevelopershipTransferred(address indexed previousDeveloper, address indexed newDeveloper);

    /**
     * @dev Initializes the contract setting the deployer as the initial developer.
     */
    constructor(address dev) {
        _setDeveloper(dev);
    }

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

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

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

    /**
     * @dev Transfers developership of the contract to a new account (`newDeveloper`).
     * Can only be called by the current developer.
     */
    function transferDevelopership(address newDeveloper) public virtual onlyDeveloper {
        require(newDeveloper != address(0), "Ownable: new developer is the zero address");
        _setDeveloper(newDeveloper);
    }

    function _setDeveloper(address newDeveloper) private {
        address oldDeveloper = _developer;
        _developer = newDeveloper;
        emit DevelopershipTransferred(oldDeveloper, newDeveloper);
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}

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



pragma solidity ^0.8.0;

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

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



pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


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

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



pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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;
}

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



pragma solidity ^0.8.0;


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

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

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

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



pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 {}
}

// File: prb-math/contracts/PRBMath.sol


pragma solidity >=0.8.4;

/// @notice Emitted when the result overflows uint256.
error PRBMath__MulDivFixedPointOverflow(uint256 prod1);

/// @notice Emitted when the result overflows uint256.
error PRBMath__MulDivOverflow(uint256 prod1, uint256 denominator);

/// @notice Emitted when one of the inputs is type(int256).min.
error PRBMath__MulDivSignedInputTooSmall();

/// @notice Emitted when the intermediary absolute result overflows int256.
error PRBMath__MulDivSignedOverflow(uint256 rAbs);

/// @notice Emitted when the input is MIN_SD59x18.
error PRBMathSD59x18__AbsInputTooSmall();

/// @notice Emitted when ceiling a number overflows SD59x18.
error PRBMathSD59x18__CeilOverflow(int256 x);

/// @notice Emitted when one of the inputs is MIN_SD59x18.
error PRBMathSD59x18__DivInputTooSmall();

/// @notice Emitted when one of the intermediary unsigned results overflows SD59x18.
error PRBMathSD59x18__DivOverflow(uint256 rAbs);

/// @notice Emitted when the input is greater than 133.084258667509499441.
error PRBMathSD59x18__ExpInputTooBig(int256 x);

/// @notice Emitted when the input is greater than 192.
error PRBMathSD59x18__Exp2InputTooBig(int256 x);

/// @notice Emitted when flooring a number underflows SD59x18.
error PRBMathSD59x18__FloorUnderflow(int256 x);

/// @notice Emitted when converting a basic integer to the fixed-point format overflows SD59x18.
error PRBMathSD59x18__FromIntOverflow(int256 x);

/// @notice Emitted when converting a basic integer to the fixed-point format underflows SD59x18.
error PRBMathSD59x18__FromIntUnderflow(int256 x);

/// @notice Emitted when the product of the inputs is negative.
error PRBMathSD59x18__GmNegativeProduct(int256 x, int256 y);

/// @notice Emitted when multiplying the inputs overflows SD59x18.
error PRBMathSD59x18__GmOverflow(int256 x, int256 y);

/// @notice Emitted when the input is less than or equal to zero.
error PRBMathSD59x18__LogInputTooSmall(int256 x);

/// @notice Emitted when one of the inputs is MIN_SD59x18.
error PRBMathSD59x18__MulInputTooSmall();

/// @notice Emitted when the intermediary absolute result overflows SD59x18.
error PRBMathSD59x18__MulOverflow(uint256 rAbs);

/// @notice Emitted when the intermediary absolute result overflows SD59x18.
error PRBMathSD59x18__PowuOverflow(uint256 rAbs);

/// @notice Emitted when the input is negative.
error PRBMathSD59x18__SqrtNegativeInput(int256 x);

/// @notice Emitted when the calculating the square root overflows SD59x18.
error PRBMathSD59x18__SqrtOverflow(int256 x);

/// @notice Emitted when addition overflows UD60x18.
error PRBMathUD60x18__AddOverflow(uint256 x, uint256 y);

/// @notice Emitted when ceiling a number overflows UD60x18.
error PRBMathUD60x18__CeilOverflow(uint256 x);

/// @notice Emitted when the input is greater than 133.084258667509499441.
error PRBMathUD60x18__ExpInputTooBig(uint256 x);

/// @notice Emitted when the input is greater than 192.
error PRBMathUD60x18__Exp2InputTooBig(uint256 x);

/// @notice Emitted when converting a basic integer to the fixed-point format format overflows UD60x18.
error PRBMathUD60x18__FromUintOverflow(uint256 x);

/// @notice Emitted when multiplying the inputs overflows UD60x18.
error PRBMathUD60x18__GmOverflow(uint256 x, uint256 y);

/// @notice Emitted when the input is less than 1.
error PRBMathUD60x18__LogInputTooSmall(uint256 x);

/// @notice Emitted when the calculating the square root overflows UD60x18.
error PRBMathUD60x18__SqrtOverflow(uint256 x);

/// @notice Emitted when subtraction underflows UD60x18.
error PRBMathUD60x18__SubUnderflow(uint256 x, uint256 y);

/// @dev Common mathematical functions used in both PRBMathSD59x18 and PRBMathUD60x18. Note that this shared library
/// does not always assume the signed 59.18-decimal fixed-point or the unsigned 60.18-decimal fixed-point
/// representation. When it does not, it is explicitly mentioned in the NatSpec documentation.
library PRBMath {
    /// STRUCTS ///

    struct SD59x18 {
        int256 value;
    }

    struct UD60x18 {
        uint256 value;
    }

    /// STORAGE ///

    /// @dev How many trailing decimals can be represented.
    uint256 internal constant SCALE = 1e18;

    /// @dev Largest power of two divisor of SCALE.
    uint256 internal constant SCALE_LPOTD = 262144;

    /// @dev SCALE inverted mod 2^256.
    uint256 internal constant SCALE_INVERSE =
        78156646155174841979727994598816262306175212592076161876661_508869554232690281;

    /// FUNCTIONS ///

    /// @notice Calculates the binary exponent of x using the binary fraction method.
    /// @dev Has to use 192.64-bit fixed-point numbers.
    /// See https://ethereum.stackexchange.com/a/96594/24693.
    /// @param x The exponent as an unsigned 192.64-bit fixed-point number.
    /// @return result The result as an unsigned 60.18-decimal fixed-point number.
    function exp2(uint256 x) internal pure returns (uint256 result) {
        unchecked {
            // Start from 0.5 in the 192.64-bit fixed-point format.
            result = 0x800000000000000000000000000000000000000000000000;

            // Multiply the result by root(2, 2^-i) when the bit at position i is 1. None of the intermediary results overflows
            // because the initial result is 2^191 and all magic factors are less than 2^65.
            if (x & 0x8000000000000000 > 0) {
                result = (result * 0x16A09E667F3BCC909) >> 64;
            }
            if (x & 0x4000000000000000 > 0) {
                result = (result * 0x1306FE0A31B7152DF) >> 64;
            }
            if (x & 0x2000000000000000 > 0) {
                result = (result * 0x1172B83C7D517ADCE) >> 64;
            }
            if (x & 0x1000000000000000 > 0) {
                result = (result * 0x10B5586CF9890F62A) >> 64;
            }
            if (x & 0x800000000000000 > 0) {
                result = (result * 0x1059B0D31585743AE) >> 64;
            }
            if (x & 0x400000000000000 > 0) {
                result = (result * 0x102C9A3E778060EE7) >> 64;
            }
            if (x & 0x200000000000000 > 0) {
                result = (result * 0x10163DA9FB33356D8) >> 64;
            }
            if (x & 0x100000000000000 > 0) {
                result = (result * 0x100B1AFA5ABCBED61) >> 64;
            }
            if (x & 0x80000000000000 > 0) {
                result = (result * 0x10058C86DA1C09EA2) >> 64;
            }
            if (x & 0x40000000000000 > 0) {
                result = (result * 0x1002C605E2E8CEC50) >> 64;
            }
            if (x & 0x20000000000000 > 0) {
                result = (result * 0x100162F3904051FA1) >> 64;
            }
            if (x & 0x10000000000000 > 0) {
                result = (result * 0x1000B175EFFDC76BA) >> 64;
            }
            if (x & 0x8000000000000 > 0) {
                result = (result * 0x100058BA01FB9F96D) >> 64;
            }
            if (x & 0x4000000000000 > 0) {
                result = (result * 0x10002C5CC37DA9492) >> 64;
            }
            if (x & 0x2000000000000 > 0) {
                result = (result * 0x1000162E525EE0547) >> 64;
            }
            if (x & 0x1000000000000 > 0) {
                result = (result * 0x10000B17255775C04) >> 64;
            }
            if (x & 0x800000000000 > 0) {
                result = (result * 0x1000058B91B5BC9AE) >> 64;
            }
            if (x & 0x400000000000 > 0) {
                result = (result * 0x100002C5C89D5EC6D) >> 64;
            }
            if (x & 0x200000000000 > 0) {
                result = (result * 0x10000162E43F4F831) >> 64;
            }
            if (x & 0x100000000000 > 0) {
                result = (result * 0x100000B1721BCFC9A) >> 64;
            }
            if (x & 0x80000000000 > 0) {
                result = (result * 0x10000058B90CF1E6E) >> 64;
            }
            if (x & 0x40000000000 > 0) {
                result = (result * 0x1000002C5C863B73F) >> 64;
            }
            if (x & 0x20000000000 > 0) {
                result = (result * 0x100000162E430E5A2) >> 64;
            }
            if (x & 0x10000000000 > 0) {
                result = (result * 0x1000000B172183551) >> 64;
            }
            if (x & 0x8000000000 > 0) {
                result = (result * 0x100000058B90C0B49) >> 64;
            }
            if (x & 0x4000000000 > 0) {
                result = (result * 0x10000002C5C8601CC) >> 64;
            }
            if (x & 0x2000000000 > 0) {
                result = (result * 0x1000000162E42FFF0) >> 64;
            }
            if (x & 0x1000000000 > 0) {
                result = (result * 0x10000000B17217FBB) >> 64;
            }
            if (x & 0x800000000 > 0) {
                result = (result * 0x1000000058B90BFCE) >> 64;
            }
            if (x & 0x400000000 > 0) {
                result = (result * 0x100000002C5C85FE3) >> 64;
            }
            if (x & 0x200000000 > 0) {
                result = (result * 0x10000000162E42FF1) >> 64;
            }
            if (x & 0x100000000 > 0) {
                result = (result * 0x100000000B17217F8) >> 64;
            }
            if (x & 0x80000000 > 0) {
                result = (result * 0x10000000058B90BFC) >> 64;
            }
            if (x & 0x40000000 > 0) {
                result = (result * 0x1000000002C5C85FE) >> 64;
            }
            if (x & 0x20000000 > 0) {
                result = (result * 0x100000000162E42FF) >> 64;
            }
            if (x & 0x10000000 > 0) {
                result = (result * 0x1000000000B17217F) >> 64;
            }
            if (x & 0x8000000 > 0) {
                result = (result * 0x100000000058B90C0) >> 64;
            }
            if (x & 0x4000000 > 0) {
                result = (result * 0x10000000002C5C860) >> 64;
            }
            if (x & 0x2000000 > 0) {
                result = (result * 0x1000000000162E430) >> 64;
            }
            if (x & 0x1000000 > 0) {
                result = (result * 0x10000000000B17218) >> 64;
            }
            if (x & 0x800000 > 0) {
                result = (result * 0x1000000000058B90C) >> 64;
            }
            if (x & 0x400000 > 0) {
                result = (result * 0x100000000002C5C86) >> 64;
            }
            if (x & 0x200000 > 0) {
                result = (result * 0x10000000000162E43) >> 64;
            }
            if (x & 0x100000 > 0) {
                result = (result * 0x100000000000B1721) >> 64;
            }
            if (x & 0x80000 > 0) {
                result = (result * 0x10000000000058B91) >> 64;
            }
            if (x & 0x40000 > 0) {
                result = (result * 0x1000000000002C5C8) >> 64;
            }
            if (x & 0x20000 > 0) {
                result = (result * 0x100000000000162E4) >> 64;
            }
            if (x & 0x10000 > 0) {
                result = (result * 0x1000000000000B172) >> 64;
            }
            if (x & 0x8000 > 0) {
                result = (result * 0x100000000000058B9) >> 64;
            }
            if (x & 0x4000 > 0) {
                result = (result * 0x10000000000002C5D) >> 64;
            }
            if (x & 0x2000 > 0) {
                result = (result * 0x1000000000000162E) >> 64;
            }
            if (x & 0x1000 > 0) {
                result = (result * 0x10000000000000B17) >> 64;
            }
            if (x & 0x800 > 0) {
                result = (result * 0x1000000000000058C) >> 64;
            }
            if (x & 0x400 > 0) {
                result = (result * 0x100000000000002C6) >> 64;
            }
            if (x & 0x200 > 0) {
                result = (result * 0x10000000000000163) >> 64;
            }
            if (x & 0x100 > 0) {
                result = (result * 0x100000000000000B1) >> 64;
            }
            if (x & 0x80 > 0) {
                result = (result * 0x10000000000000059) >> 64;
            }
            if (x & 0x40 > 0) {
                result = (result * 0x1000000000000002C) >> 64;
            }
            if (x & 0x20 > 0) {
                result = (result * 0x10000000000000016) >> 64;
            }
            if (x & 0x10 > 0) {
                result = (result * 0x1000000000000000B) >> 64;
            }
            if (x & 0x8 > 0) {
                result = (result * 0x10000000000000006) >> 64;
            }
            if (x & 0x4 > 0) {
                result = (result * 0x10000000000000003) >> 64;
            }
            if (x & 0x2 > 0) {
                result = (result * 0x10000000000000001) >> 64;
            }
            if (x & 0x1 > 0) {
                result = (result * 0x10000000000000001) >> 64;
            }

            // We're doing two things at the same time:
            //
            //   1. Multiply the result by 2^n + 1, where "2^n" is the integer part and the one is added to account for
            //      the fact that we initially set the result to 0.5. This is accomplished by subtracting from 191
            //      rather than 192.
            //   2. Convert the result to the unsigned 60.18-decimal fixed-point format.
            //
            // This works because 2^(191-ip) = 2^ip / 2^191, where "ip" is the integer part "2^n".
            result *= SCALE;
            result >>= (191 - (x >> 64));
        }
    }

    /// @notice Finds the zero-based index of the first one in the binary representation of x.
    /// @dev See the note on msb in the "Find First Set" Wikipedia article https://en.wikipedia.org/wiki/Find_first_set
    /// @param x The uint256 number for which to find the index of the most significant bit.
    /// @return msb The index of the most significant bit as an uint256.
    function mostSignificantBit(uint256 x) internal pure returns (uint256 msb) {
        if (x >= 2**128) {
            x >>= 128;
            msb += 128;
        }
        if (x >= 2**64) {
            x >>= 64;
            msb += 64;
        }
        if (x >= 2**32) {
            x >>= 32;
            msb += 32;
        }
        if (x >= 2**16) {
            x >>= 16;
            msb += 16;
        }
        if (x >= 2**8) {
            x >>= 8;
            msb += 8;
        }
        if (x >= 2**4) {
            x >>= 4;
            msb += 4;
        }
        if (x >= 2**2) {
            x >>= 2;
            msb += 2;
        }
        if (x >= 2**1) {
            // No need to shift x any more.
            msb += 1;
        }
    }

    /// @notice Calculates floor(x*y÷denominator) with full precision.
    ///
    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv.
    ///
    /// Requirements:
    /// - The denominator cannot be zero.
    /// - The result must fit within uint256.
    ///
    /// Caveats:
    /// - This function does not work with fixed-point numbers.
    ///
    /// @param x The multiplicand as an uint256.
    /// @param y The multiplier as an uint256.
    /// @param denominator The divisor as an uint256.
    /// @return result The result as an uint256.
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
        // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
        // variables such that product = prod1 * 2^256 + prod0.
        uint256 prod0; // Least significant 256 bits of the product
        uint256 prod1; // Most significant 256 bits of the product
        assembly {
            let mm := mulmod(x, y, not(0))
            prod0 := mul(x, y)
            prod1 := sub(sub(mm, prod0), lt(mm, prod0))
        }

        // Handle non-overflow cases, 256 by 256 division.
        if (prod1 == 0) {
            unchecked {
                result = prod0 / denominator;
            }
            return result;
        }

        // Make sure the result is less than 2^256. Also prevents denominator == 0.
        if (prod1 >= denominator) {
            revert PRBMath__MulDivOverflow(prod1, denominator);
        }

        ///////////////////////////////////////////////
        // 512 by 256 division.
        ///////////////////////////////////////////////

        // Make division exact by subtracting the remainder from [prod1 prod0].
        uint256 remainder;
        assembly {
            // Compute remainder using mulmod.
            remainder := mulmod(x, y, denominator)

            // Subtract 256 bit number from 512 bit number.
            prod1 := sub(prod1, gt(remainder, prod0))
            prod0 := sub(prod0, remainder)
        }

        // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
        // See https://cs.stackexchange.com/q/138556/92363.
        unchecked {
            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 lpotdod = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by lpotdod.
                denominator := div(denominator, lpotdod)

                // Divide [prod1 prod0] by lpotdod.
                prod0 := div(prod0, lpotdod)

                // Flip lpotdod such that it is 2^256 / lpotdod. If lpotdod is zero, then it becomes one.
                lpotdod := add(div(sub(0, lpotdod), lpotdod), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * lpotdod;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /// @notice Calculates floor(x*y÷1e18) with full precision.
    ///
    /// @dev Variant of "mulDiv" with constant folding, i.e. in which the denominator is always 1e18. Before returning the
    /// final result, we add 1 if (x * y) % SCALE >= HALF_SCALE. Without this, 6.6e-19 would be truncated to 0 instead of
    /// being rounded to 1e-18.  See "Listing 6" and text above it at https://accu.org/index.php/journals/1717.
    ///
    /// Requirements:
    /// - The result must fit within uint256.
    ///
    /// Caveats:
    /// - The body is purposely left uncommented; see the NatSpec comments in "PRBMath.mulDiv" to understand how this works.
    /// - It is assumed that the result can never be type(uint256).max when x and y solve the following two equations:
    ///     1. x * y = type(uint256).max * SCALE
    ///     2. (x * y) % SCALE >= SCALE / 2
    ///
    /// @param x The multiplicand as an unsigned 60.18-decimal fixed-point number.
    /// @param y The multiplier as an unsigned 60.18-decimal fixed-point number.
    /// @return result The result as an unsigned 60.18-decimal fixed-point number.
    function mulDivFixedPoint(uint256 x, uint256 y) internal pure returns (uint256 result) {
        uint256 prod0;
        uint256 prod1;
        assembly {
            let mm := mulmod(x, y, not(0))
            prod0 := mul(x, y)
            prod1 := sub(sub(mm, prod0), lt(mm, prod0))
        }

        if (prod1 >= SCALE) {
            revert PRBMath__MulDivFixedPointOverflow(prod1);
        }

        uint256 remainder;
        uint256 roundUpUnit;
        assembly {
            remainder := mulmod(x, y, SCALE)
            roundUpUnit := gt(remainder, 499999999999999999)
        }

        if (prod1 == 0) {
            unchecked {
                result = (prod0 / SCALE) + roundUpUnit;
                return result;
            }
        }

        assembly {
            result := add(
                mul(
                    or(
                        div(sub(prod0, remainder), SCALE_LPOTD),
                        mul(sub(prod1, gt(remainder, prod0)), add(div(sub(0, SCALE_LPOTD), SCALE_LPOTD), 1))
                    ),
                    SCALE_INVERSE
                ),
                roundUpUnit
            )
        }
    }

    /// @notice Calculates floor(x*y÷denominator) with full precision.
    ///
    /// @dev An extension of "mulDiv" for signed numbers. Works by computing the signs and the absolute values separately.
    ///
    /// Requirements:
    /// - None of the inputs can be type(int256).min.
    /// - The result must fit within int256.
    ///
    /// @param x The multiplicand as an int256.
    /// @param y The multiplier as an int256.
    /// @param denominator The divisor as an int256.
    /// @return result The result as an int256.
    function mulDivSigned(
        int256 x,
        int256 y,
        int256 denominator
    ) internal pure returns (int256 result) {
        if (x == type(int256).min || y == type(int256).min || denominator == type(int256).min) {
            revert PRBMath__MulDivSignedInputTooSmall();
        }

        // Get hold of the absolute values of x, y and the denominator.
        uint256 ax;
        uint256 ay;
        uint256 ad;
        unchecked {
            ax = x < 0 ? uint256(-x) : uint256(x);
            ay = y < 0 ? uint256(-y) : uint256(y);
            ad = denominator < 0 ? uint256(-denominator) : uint256(denominator);
        }

        // Compute the absolute value of (x*y)÷denominator. The result must fit within int256.
        uint256 rAbs = mulDiv(ax, ay, ad);
        if (rAbs > uint256(type(int256).max)) {
            revert PRBMath__MulDivSignedOverflow(rAbs);
        }

        // Get the signs of x, y and the denominator.
        uint256 sx;
        uint256 sy;
        uint256 sd;
        assembly {
            sx := sgt(x, sub(0, 1))
            sy := sgt(y, sub(0, 1))
            sd := sgt(denominator, sub(0, 1))
        }

        // XOR over sx, sy and sd. This is checking whether there are one or three negative signs in the inputs.
        // If yes, the result should be negative.
        result = sx ^ sy ^ sd == 0 ? -int256(rAbs) : int256(rAbs);
    }

    /// @notice Calculates the square root of x, rounding down.
    /// @dev Uses the Babylonian method https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method.
    ///
    /// Caveats:
    /// - This function does not work with fixed-point numbers.
    ///
    /// @param x The uint256 number for which to calculate the square root.
    /// @return result The result as an uint256.
    function sqrt(uint256 x) internal pure returns (uint256 result) {
        if (x == 0) {
            return 0;
        }

        // Set the initial guess to the closest power of two that is higher than x.
        uint256 xAux = uint256(x);
        result = 1;
        if (xAux >= 0x100000000000000000000000000000000) {
            xAux >>= 128;
            result <<= 64;
        }
        if (xAux >= 0x10000000000000000) {
            xAux >>= 64;
            result <<= 32;
        }
        if (xAux >= 0x100000000) {
            xAux >>= 32;
            result <<= 16;
        }
        if (xAux >= 0x10000) {
            xAux >>= 16;
            result <<= 8;
        }
        if (xAux >= 0x100) {
            xAux >>= 8;
            result <<= 4;
        }
        if (xAux >= 0x10) {
            xAux >>= 4;
            result <<= 2;
        }
        if (xAux >= 0x8) {
            result <<= 1;
        }

        // The operations can never overflow because the result is max 2^127 when it enters this block.
        unchecked {
            result = (result + x / result) >> 1;
            result = (result + x / result) >> 1;
            result = (result + x / result) >> 1;
            result = (result + x / result) >> 1;
            result = (result + x / result) >> 1;
            result = (result + x / result) >> 1;
            result = (result + x / result) >> 1; // Seven iterations should be enough
            uint256 roundedDownResult = x / result;
            return result >= roundedDownResult ? roundedDownResult : result;
        }
    }
}

// File: prb-math/contracts/PRBMathUD60x18.sol


pragma solidity >=0.8.4;


/// @title PRBMathUD60x18
/// @author Paul Razvan Berg
/// @notice Smart contract library for advanced fixed-point math that works with uint256 numbers considered to have 18
/// trailing decimals. We call this number representation unsigned 60.18-decimal fixed-point, since there can be up to 60
/// digits in the integer part and up to 18 decimals in the fractional part. The numbers are bound by the minimum and the
/// maximum values permitted by the Solidity type uint256.
library PRBMathUD60x18 {
    /// @dev Half the SCALE number.
    uint256 internal constant HALF_SCALE = 5e17;

    /// @dev log2(e) as an unsigned 60.18-decimal fixed-point number.
    uint256 internal constant LOG2_E = 1_442695040888963407;

    /// @dev The maximum value an unsigned 60.18-decimal fixed-point number can have.
    uint256 internal constant MAX_UD60x18 =
        115792089237316195423570985008687907853269984665640564039457_584007913129639935;

    /// @dev The maximum whole value an unsigned 60.18-decimal fixed-point number can have.
    uint256 internal constant MAX_WHOLE_UD60x18 =
        115792089237316195423570985008687907853269984665640564039457_000000000000000000;

    /// @dev How many trailing decimals can be represented.
    uint256 internal constant SCALE = 1e18;

    /// @notice Calculates the arithmetic average of x and y, rounding down.
    /// @param x The first operand as an unsigned 60.18-decimal fixed-point number.
    /// @param y The second operand as an unsigned 60.18-decimal fixed-point number.
    /// @return result The arithmetic average as an unsigned 60.18-decimal fixed-point number.
    function avg(uint256 x, uint256 y) internal pure returns (uint256 result) {
        // The operations can never overflow.
        unchecked {
            // The last operand checks if both x and y are odd and if that is the case, we add 1 to the result. We need
            // to do this because if both numbers are odd, the 0.5 remainder gets truncated twice.
            result = (x >> 1) + (y >> 1) + (x & y & 1);
        }
    }

    /// @notice Yields the least unsigned 60.18 decimal fixed-point number greater than or equal to x.
    ///
    /// @dev Optimized for fractional value inputs, because for every whole value there are (1e18 - 1) fractional counterparts.
    /// See https://en.wikipedia.org/wiki/Floor_and_ceiling_functions.
    ///
    /// Requirements:
    /// - x must be less than or equal to MAX_WHOLE_UD60x18.
    ///
    /// @param x The unsigned 60.18-decimal fixed-point number to ceil.
    /// @param result The least integer greater than or equal to x, as an unsigned 60.18-decimal fixed-point number.
    function ceil(uint256 x) internal pure returns (uint256 result) {
        if (x > MAX_WHOLE_UD60x18) {
            revert PRBMathUD60x18__CeilOverflow(x);
        }
        assembly {
            // Equivalent to "x % SCALE" but faster.
            let remainder := mod(x, SCALE)

            // Equivalent to "SCALE - remainder" but faster.
            let delta := sub(SCALE, remainder)

            // Equivalent to "x + delta * (remainder > 0 ? 1 : 0)" but faster.
            result := add(x, mul(delta, gt(remainder, 0)))
        }
    }

    /// @notice Divides two unsigned 60.18-decimal fixed-point numbers, returning a new unsigned 60.18-decimal fixed-point number.
    ///
    /// @dev Uses mulDiv to enable overflow-safe multiplication and division.
    ///
    /// Requirements:
    /// - The denominator cannot be zero.
    ///
    /// @param x The numerator as an unsigned 60.18-decimal fixed-point number.
    /// @param y The denominator as an unsigned 60.18-decimal fixed-point number.
    /// @param result The quotient as an unsigned 60.18-decimal fixed-point number.
    function div(uint256 x, uint256 y) internal pure returns (uint256 result) {
        result = PRBMath.mulDiv(x, SCALE, y);
    }

    /// @notice Returns Euler's number as an unsigned 60.18-decimal fixed-point number.
    /// @dev See https://en.wikipedia.org/wiki/E_(mathematical_constant).
    function e() internal pure returns (uint256 result) {
        result = 2_718281828459045235;
    }

    /// @notice Calculates the natural exponent of x.
    ///
    /// @dev Based on the insight that e^x = 2^(x * log2(e)).
    ///
    /// Requirements:
    /// - All from "log2".
    /// - x must be less than 133.084258667509499441.
    ///
    /// @param x The exponent as an unsigned 60.18-decimal fixed-point number.
    /// @return result The result as an unsigned 60.18-decimal fixed-point number.
    function exp(uint256 x) internal pure returns (uint256 result) {
        // Without this check, the value passed to "exp2" would be greater than 192.
        if (x >= 133_084258667509499441) {
            revert PRBMathUD60x18__ExpInputTooBig(x);
        }

        // Do the fixed-point multiplication inline to save gas.
        unchecked {
            uint256 doubleScaleProduct = x * LOG2_E;
            result = exp2((doubleScaleProduct + HALF_SCALE) / SCALE);
        }
    }

    /// @notice Calculates the binary exponent of x using the binary fraction method.
    ///
    /// @dev See https://ethereum.stackexchange.com/q/79903/24693.
    ///
    /// Requirements:
    /// - x must be 192 or less.
    /// - The result must fit within MAX_UD60x18.
    ///
    /// @param x The exponent as an unsigned 60.18-decimal fixed-point number.
    /// @return result The result as an unsigned 60.18-decimal fixed-point number.
    function exp2(uint256 x) internal pure returns (uint256 result) {
        // 2^192 doesn't fit within the 192.64-bit format used internally in this function.
        if (x >= 192e18) {
            revert PRBMathUD60x18__Exp2InputTooBig(x);
        }

        unchecked {
            // Convert x to the 192.64-bit fixed-point format.
            uint256 x192x64 = (x << 64) / SCALE;

            // Pass x to the PRBMath.exp2 function, which uses the 192.64-bit fixed-point number representation.
            result = PRBMath.exp2(x192x64);
        }
    }

    /// @notice Yields the greatest unsigned 60.18 decimal fixed-point number less than or equal to x.
    /// @dev Optimized for fractional value inputs, because for every whole value there are (1e18 - 1) fractional counterparts.
    /// See https://en.wikipedia.org/wiki/Floor_and_ceiling_functions.
    /// @param x The unsigned 60.18-decimal fixed-point number to floor.
    /// @param result The greatest integer less than or equal to x, as an unsigned 60.18-decimal fixed-point number.
    function floor(uint256 x) internal pure returns (uint256 result) {
        assembly {
            // Equivalent to "x % SCALE" but faster.
            let remainder := mod(x, SCALE)

            // Equivalent to "x - remainder * (remainder > 0 ? 1 : 0)" but faster.
            result := sub(x, mul(remainder, gt(remainder, 0)))
        }
    }

    /// @notice Yields the excess beyond the floor of x.
    /// @dev Based on the odd function definition https://en.wikipedia.org/wiki/Fractional_part.
    /// @param x The unsigned 60.18-decimal fixed-point number to get the fractional part of.
    /// @param result The fractional part of x as an unsigned 60.18-decimal fixed-point number.
    function frac(uint256 x) internal pure returns (uint256 result) {
        assembly {
            result := mod(x, SCALE)
        }
    }

    /// @notice Converts a number from basic integer form to unsigned 60.18-decimal fixed-point representation.
    ///
    /// @dev Requirements:
    /// - x must be less than or equal to MAX_UD60x18 divided by SCALE.
    ///
    /// @param x The basic integer to convert.
    /// @param result The same number in unsigned 60.18-decimal fixed-point representation.
    function fromUint(uint256 x) internal pure returns (uint256 result) {
        unchecked {
            if (x > MAX_UD60x18 / SCALE) {
                revert PRBMathUD60x18__FromUintOverflow(x);
            }
            result = x * SCALE;
        }
    }

    /// @notice Calculates geometric mean of x and y, i.e. sqrt(x * y), rounding down.
    ///
    /// @dev Requirements:
    /// - x * y must fit within MAX_UD60x18, lest it overflows.
    ///
    /// @param x The first operand as an unsigned 60.18-decimal fixed-point number.
    /// @param y The second operand as an unsigned 60.18-decimal fixed-point number.
    /// @return result The result as an unsigned 60.18-decimal fixed-point number.
    function gm(uint256 x, uint256 y) internal pure returns (uint256 result) {
        if (x == 0) {
            return 0;
        }

        unchecked {
            // Checking for overflow this way is faster than letting Solidity do it.
            uint256 xy = x * y;
            if (xy / x != y) {
                revert PRBMathUD60x18__GmOverflow(x, y);
            }

            // We don't need to multiply by the SCALE here because the x*y product had already picked up a factor of SCALE
            // during multiplication. See the comments within the "sqrt" function.
            result = PRBMath.sqrt(xy);
        }
    }

    /// @notice Calculates 1 / x, rounding toward zero.
    ///
    /// @dev Requirements:
    /// - x cannot be zero.
    ///
    /// @param x The unsigned 60.18-decimal fixed-point number for which to calculate the inverse.
    /// @return result The inverse as an unsigned 60.18-decimal fixed-point number.
    function inv(uint256 x) internal pure returns (uint256 result) {
        unchecked {
            // 1e36 is SCALE * SCALE.
            result = 1e36 / x;
        }
    }

    /// @notice Calculates the natural logarithm of x.
    ///
    /// @dev Based on the insight that ln(x) = log2(x) / log2(e).
    ///
    /// Requirements:
    /// - All from "log2".
    ///
    /// Caveats:
    /// - All from "log2".
    /// - This doesn't return exactly 1 for 2.718281828459045235, for that we would need more fine-grained precision.
    ///
    /// @param x The unsigned 60.18-decimal fixed-point number for which to calculate the natural logarithm.
    /// @return result The natural logarithm as an unsigned 60.18-decimal fixed-point number.
    function ln(uint256 x) internal pure returns (uint256 result) {
        // Do the fixed-point multiplication inline to save gas. This is overflow-safe because the maximum value that log2(x)
        // can return is 196205294292027477728.
        unchecked {
            result = (log2(x) * SCALE) / LOG2_E;
        }
    }

    /// @notice Calculates the common logarithm of x.
    ///
    /// @dev First checks if x is an exact power of ten and it stops if yes. If it's not, calculates the common
    /// logarithm based on the insight that log10(x) = log2(x) / log2(10).
    ///
    /// Requirements:
    /// - All from "log2".
    ///
    /// Caveats:
    /// - All from "log2".
    ///
    /// @param x The unsigned 60.18-decimal fixed-point number for which to calculate the common logarithm.
    /// @return result The common logarithm as an unsigned 60.18-decimal fixed-point number.
    function log10(uint256 x) internal pure returns (uint256 result) {
        if (x < SCALE) {
            revert PRBMathUD60x18__LogInputTooSmall(x);
        }

        // Note that the "mul" in this block is the assembly multiplication operation, not the "mul" function defined
        // in this contract.
        // prettier-ignore
        assembly {
            switch x
            case 1 { result := mul(SCALE, sub(0, 18)) }
            case 10 { result := mul(SCALE, sub(1, 18)) }
            case 100 { result := mul(SCALE, sub(2, 18)) }
            case 1000 { result := mul(SCALE, sub(3, 18)) }
            case 10000 { result := mul(SCALE, sub(4, 18)) }
            case 100000 { result := mul(SCALE, sub(5, 18)) }
            case 1000000 { result := mul(SCALE, sub(6, 18)) }
            case 10000000 { result := mul(SCALE, sub(7, 18)) }
            case 100000000 { result := mul(SCALE, sub(8, 18)) }
            case 1000000000 { result := mul(SCALE, sub(9, 18)) }
            case 10000000000 { result := mul(SCALE, sub(10, 18)) }
            case 100000000000 { result := mul(SCALE, sub(11, 18)) }
            case 1000000000000 { result := mul(SCALE, sub(12, 18)) }
            case 10000000000000 { result := mul(SCALE, sub(13, 18)) }
            case 100000000000000 { result := mul(SCALE, sub(14, 18)) }
            case 1000000000000000 { result := mul(SCALE, sub(15, 18)) }
            case 10000000000000000 { result := mul(SCALE, sub(16, 18)) }
            case 100000000000000000 { result := mul(SCALE, sub(17, 18)) }
            case 1000000000000000000 { result := 0 }
            case 10000000000000000000 { result := SCALE }
            case 100000000000000000000 { result := mul(SCALE, 2) }
            case 1000000000000000000000 { result := mul(SCALE, 3) }
            case 10000000000000000000000 { result := mul(SCALE, 4) }
            case 100000000000000000000000 { result := mul(SCALE, 5) }
            case 1000000000000000000000000 { result := mul(SCALE, 6) }
            case 10000000000000000000000000 { result := mul(SCALE, 7) }
            case 100000000000000000000000000 { result := mul(SCALE, 8) }
            case 1000000000000000000000000000 { result := mul(SCALE, 9) }
            case 10000000000000000000000000000 { result := mul(SCALE, 10) }
            case 100000000000000000000000000000 { result := mul(SCALE, 11) }
            case 1000000000000000000000000000000 { result := mul(SCALE, 12) }
            case 10000000000000000000000000000000 { result := mul(SCALE, 13) }
            case 100000000000000000000000000000000 { result := mul(SCALE, 14) }
            case 1000000000000000000000000000000000 { result := mul(SCALE, 15) }
            case 10000000000000000000000000000000000 { result := mul(SCALE, 16) }
            case 100000000000000000000000000000000000 { result := mul(SCALE, 17) }
            case 1000000000000000000000000000000000000 { result := mul(SCALE, 18) }
            case 10000000000000000000000000000000000000 { result := mul(SCALE, 19) }
            case 100000000000000000000000000000000000000 { result := mul(SCALE, 20) }
            case 1000000000000000000000000000000000000000 { result := mul(SCALE, 21) }
            case 10000000000000000000000000000000000000000 { result := mul(SCALE, 22) }
            case 100000000000000000000000000000000000000000 { result := mul(SCALE, 23) }
            case 1000000000000000000000000000000000000000000 { result := mul(SCALE, 24) }
            case 10000000000000000000000000000000000000000000 { result := mul(SCALE, 25) }
            case 100000000000000000000000000000000000000000000 { result := mul(SCALE, 26) }
            case 1000000000000000000000000000000000000000000000 { result := mul(SCALE, 27) }
            case 10000000000000000000000000000000000000000000000 { result := mul(SCALE, 28) }
            case 100000000000000000000000000000000000000000000000 { result := mul(SCALE, 29) }
            case 1000000000000000000000000000000000000000000000000 { result := mul(SCALE, 30) }
            case 10000000000000000000000000000000000000000000000000 { result := mul(SCALE, 31) }
            case 100000000000000000000000000000000000000000000000000 { result := mul(SCALE, 32) }
            case 1000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 33) }
            case 10000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 34) }
            case 100000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 35) }
            case 1000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 36) }
            case 10000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 37) }
            case 100000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 38) }
            case 1000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 39) }
            case 10000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 40) }
            case 100000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 41) }
            case 1000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 42) }
            case 10000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 43) }
            case 100000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 44) }
            case 1000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 45) }
            case 10000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 46) }
            case 100000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 47) }
            case 1000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 48) }
            case 10000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 49) }
            case 100000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 50) }
            case 1000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 51) }
            case 10000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 52) }
            case 100000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 53) }
            case 1000000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 54) }
            case 10000000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 55) }
            case 100000000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 56) }
            case 1000000000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 57) }
            case 10000000000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 58) }
            case 100000000000000000000000000000000000000000000000000000000000000000000000000000 { result := mul(SCALE, 59) }
            default {
                result := MAX_UD60x18
            }
        }

        if (result == MAX_UD60x18) {
            // Do the fixed-point division inline to save gas. The denominator is log2(10).
            unchecked {
                result = (log2(x) * SCALE) / 3_321928094887362347;
            }
        }
    }

    /// @notice Calculates the binary logarithm of x.
    ///
    /// @dev Based on the iterative approximation algorithm.
    /// https://en.wikipedia.org/wiki/Binary_logarithm#Iterative_approximation
    ///
    /// Requirements:
    /// - x must be greater than or equal to SCALE, otherwise the result would be negative.
    ///
    /// Caveats:
    /// - The results are nor perfectly accurate to the last decimal, due to the lossy precision of the iterative approximation.
    ///
    /// @param x The unsigned 60.18-decimal fixed-point number for which to calculate the binary logarithm.
    /// @return result The binary logarithm as an unsigned 60.18-decimal fixed-point number.
    function log2(uint256 x) internal pure returns (uint256 result) {
        if (x < SCALE) {
            revert PRBMathUD60x18__LogInputTooSmall(x);
        }
        unchecked {
            // Calculate the integer part of the logarithm and add it to the result and finally calculate y = x * 2^(-n).
            uint256 n = PRBMath.mostSignificantBit(x / SCALE);

            // The integer part of the logarithm as an unsigned 60.18-decimal fixed-point number. The operation can't overflow
            // because n is maximum 255 and SCALE is 1e18.
            result = n * SCALE;

            // This is y = x * 2^(-n).
            uint256 y = x >> n;

            // If y = 1, the fractional part is zero.
            if (y == SCALE) {
                return result;
            }

            // Calculate the fractional part via the iterative approximation.
            // The "delta >>= 1" part is equivalent to "delta /= 2", but shifting bits is faster.
            for (uint256 delta = HALF_SCALE; delta > 0; delta >>= 1) {
                y = (y * y) / SCALE;

                // Is y^2 > 2 and so in the range [2,4)?
                if (y >= 2 * SCALE) {
                    // Add the 2^(-m) factor to the logarithm.
                    result += delta;

                    // Corresponds to z/2 on Wikipedia.
                    y >>= 1;
                }
            }
        }
    }

    /// @notice Multiplies two unsigned 60.18-decimal fixed-point numbers together, returning a new unsigned 60.18-decimal
    /// fixed-point number.
    /// @dev See the documentation for the "PRBMath.mulDivFixedPoint" function.
    /// @param x The multiplicand as an unsigned 60.18-decimal fixed-point number.
    /// @param y The multiplier as an unsigned 60.18-decimal fixed-point number.
    /// @return result The product as an unsigned 60.18-decimal fixed-point number.
    function mul(uint256 x, uint256 y) internal pure returns (uint256 result) {
        result = PRBMath.mulDivFixedPoint(x, y);
    }

    /// @notice Returns PI as an unsigned 60.18-decimal fixed-point number.
    function pi() internal pure returns (uint256 result) {
        result = 3_141592653589793238;
    }

    /// @notice Raises x to the power of y.
    ///
    /// @dev Based on the insight that x^y = 2^(log2(x) * y).
    ///
    /// Requirements:
    /// - All from "exp2", "log2" and "mul".
    ///
    /// Caveats:
    /// - All from "exp2", "log2" and "mul".
    /// - Assumes 0^0 is 1.
    ///
    /// @param x Number to raise to given power y, as an unsigned 60.18-decimal fixed-point number.
    /// @param y Exponent to raise x to, as an unsigned 60.18-decimal fixed-point number.
    /// @return result x raised to power y, as an unsigned 60.18-decimal fixed-point number.
    function pow(uint256 x, uint256 y) internal pure returns (uint256 result) {
        if (x == 0) {
            result = y == 0 ? SCALE : uint256(0);
        } else {
            result = exp2(mul(log2(x), y));
        }
    }

    /// @notice Raises x (unsigned 60.18-decimal fixed-point number) to the power of y (basic unsigned integer) using the
    /// famous algorithm "exponentiation by squaring".
    ///
    /// @dev See https://en.wikipedia.org/wiki/Exponentiation_by_squaring
    ///
    /// Requirements:
    /// - The result must fit within MAX_UD60x18.
    ///
    /// Caveats:
    /// - All from "mul".
    /// - Assumes 0^0 is 1.
    ///
    /// @param x The base as an unsigned 60.18-decimal fixed-point number.
    /// @param y The exponent as an uint256.
    /// @return result The result as an unsigned 60.18-decimal fixed-point number.
    function powu(uint256 x, uint256 y) internal pure returns (uint256 result) {
        // Calculate the first iteration of the loop in advance.
        result = y & 1 > 0 ? x : SCALE;

        // Equivalent to "for(y /= 2; y > 0; y /= 2)" but faster.
        for (y >>= 1; y > 0; y >>= 1) {
            x = PRBMath.mulDivFixedPoint(x, x);

            // Equivalent to "y % 2 == 1" but faster.
            if (y & 1 > 0) {
                result = PRBMath.mulDivFixedPoint(result, x);
            }
        }
    }

    /// @notice Returns 1 as an unsigned 60.18-decimal fixed-point number.
    function scale() internal pure returns (uint256 result) {
        result = SCALE;
    }

    /// @notice Calculates the square root of x, rounding down.
    /// @dev Uses the Babylonian method https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method.
    ///
    /// Requirements:
    /// - x must be less than MAX_UD60x18 / SCALE.
    ///
    /// @param x The unsigned 60.18-decimal fixed-point number for which to calculate the square root.
    /// @return result The result as an unsigned 60.18-decimal fixed-point .
    function sqrt(uint256 x) internal pure returns (uint256 result) {
        unchecked {
            if (x > MAX_UD60x18 / SCALE) {
                revert PRBMathUD60x18__SqrtOverflow(x);
            }
            // Multiply x by the SCALE to account for the factor of SCALE that is picked up when multiplying two unsigned
            // 60.18-decimal fixed-point numbers together (in this case, those two numbers are both the square root).
            result = PRBMath.sqrt(x * SCALE);
        }
    }

    /// @notice Converts a unsigned 60.18-decimal fixed-point number to basic integer form, rounding down in the process.
    /// @param x The unsigned 60.18-decimal fixed-point number to convert.
    /// @return result The same number in basic integer form.
    function toUint(uint256 x) internal pure returns (uint256 result) {
        unchecked {
            result = x / SCALE;
        }
    }
}

// File: contracts/Jesus.sol



pragma solidity ^0.8.0;







contract Jesus is ERC721, Ownable, DeveloperAccess, ReentrancyGuard {
    using PRBMathUD60x18 for uint256;

    uint256 constant private _developerEquity = 50000000000000000; // 5% (18 decimals)
    uint256 private _totalVolume;
    uint256 private _developerWithdrawn;

    uint256 public mintPrice;

    constructor(
        address devAddress,
        uint16 maxSupply,
        uint256 price,
        address signer,
        uint256 presaleMintStart,
        uint256 presaleMintEnd,
        uint16 maxPresale,
        uint256 publicMintStart,
        uint16 publicTransactionMax
    ) ERC721("Jesus", "JESUS") DeveloperAccess(devAddress) {
        require(maxSupply > 0, "Zero supply");

        // GLOBALS
        mintSigner = signer;
        totalSupply = maxSupply;
        mintPrice = price;

        // CONFIGURE PRESALE Mint
        presaleMint.startDate = presaleMintStart;
        presaleMint.endDate = presaleMintEnd;
        presaleMint.maxMinted = maxPresale;

        // CONFIGURE PUBLIC MINT
        publicMint.startDate = publicMintStart;
        publicMint.maxPerTransaction = publicTransactionMax;
    }

    event Paid(address sender, uint256 amount);
    event Withdraw(address recipient, uint256 amount);

    struct WhitelistedMint {
        /**
         * The start date in unix seconds
         */
        uint256 startDate;
        /**
         * The end date in unix seconds
         */
        uint256 endDate;
        /**
         * The total number of tokens minted in this whitelist
         */
        uint16 totalMinted;
        /**
         * The maximum number of tokens minted in this whitelist
         */
        uint16 maxMinted;
        /**
         * The minters in this whitelisted mint
         * mapped to the number minted
         */
        mapping(address => uint16) minted;
    }

    struct PublicMint {
        /**
         * The start date in unix seconds
         */
        uint256 startDate;
        /**
         * The maximum per transaction
         */
        uint16 maxPerTransaction;
    }

    string baseURI;

    uint16 public totalSupply;
    uint16 public minted;

    address private mintSigner;
    mapping(address => uint16) public lastMintNonce;

    /**
     * An exclusive mint for members granted
     * presale
     */
    WhitelistedMint public presaleMint;

    /**
     * The public mint for everybody.
     */
    PublicMint public publicMint;

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    /**
     * Sets the base URI for all tokens
     *
     * @dev be sure to terminate with a slash
     * @param uri - the target base uri (ex: 'https://google.com/')
     */
    function setBaseURI(string calldata uri) public onlyOwner {
        baseURI = uri;
    }

    /**
     * Sets the signer for presale transactions
     *
     * @param signer - the new signer's address
     */
    function setSigner(address signer) public onlyOwner {
        mintSigner = signer;
    }

    /**
     * Burns the provided token id if you own it.
     * Reduces the supply by 1.
     *
     * @param tokenId - the ID of the token to be burned.
     */
    function burn(uint256 tokenId) public {
        require(ownerOf(tokenId) == msg.sender, "You do not own this token");

        _burn(tokenId);
    }

    // ------------------------------------------------ MINT STUFFS ------------------------------------------------

    function getPresaleMints(address user)
        external
        view
        returns (uint16)
    {
        return presaleMint.minted[user];
    }

    function updateMintPrice(
        uint256 price
    ) public onlyOwner {
        mintPrice = price;
    }

    /**
     * Updates the presale mint's characteristics
     *
     * @param startDate - the start date for that mint in UNIX seconds
     * @param endDate - the end date for that mint in UNIX seconds
     */
    function updatePresaleMint(
        uint256 startDate,
        uint256 endDate,
        uint16 maxMinted
    ) public onlyOwner {
        presaleMint.startDate = startDate;
        presaleMint.endDate = endDate;
        presaleMint.maxMinted = maxMinted;
    }

    /**
     * Updates the public mint's characteristics
     *
     * @param maxPerTransaction - the maximum amount allowed in a wallet to mint in the public mint
     * @param startDate - the start date for that mint in UNIX seconds
     */
    function updatePublicMint(
        uint16 maxPerTransaction,
        uint256 startDate
    ) public onlyOwner {
        publicMint.maxPerTransaction = maxPerTransaction;
        publicMint.startDate = startDate;
    }

    function getPremintHash(
        address minter,
        uint16 quantity,
        uint16 nonce
    ) public pure returns (bytes32) {
        return VerifySignature.getMessageHash(minter, quantity, nonce);
    }

    /**
     * Mints in the premint stage by using a signed transaction from a centralized whitelist.
     * The message signer is expected to only sign messages when they fall within the whitelist
     * specifications.
     *
     * @param quantity - the number to mint
     * @param nonce - a random nonce which indicates that a signed transaction hasn't already been used.
     * @param signature - the signature given by the centralized whitelist authority, signed by
     *                    the account specified as mintSigner.
     */
    function premint(
        uint16 quantity,
        uint16 nonce,
        bytes calldata signature
    ) public payable nonReentrant {
        uint256 remaining = totalSupply - minted;

        require(remaining > 0, "Mint over");
        require(quantity >= 1, "Zero mint");
        require(quantity <= remaining, "Not enough");
        require(lastMintNonce[msg.sender] < nonce, "Nonce used");

        require(
            presaleMint.startDate <= block.timestamp &&
                presaleMint.endDate >= block.timestamp,
            "No mint"
        );
        require(
            VerifySignature.verify(
                mintSigner,
                msg.sender,
                quantity,
                nonce,
                signature
            ),
            "Invalid sig"
        );
        require(mintPrice * quantity == msg.value, "Bad value");
        require(
            presaleMint.totalMinted + quantity <= presaleMint.maxMinted,
            "Limit exceeded"
        );

        presaleMint.minted[msg.sender] += quantity;
        presaleMint.totalMinted += quantity;
        lastMintNonce[msg.sender] = nonce; // update nonce

        _totalVolume += msg.value;

        // DISTRIBUTE THE TOKENS
        uint16 i;
        for (i; i < quantity; i++) {
            minted += 1;
            _safeMint(msg.sender, minted);
        }
    }

    /**
     * Mints the given quantity of tokens provided it is possible to.
     *
     * @notice This function allows minting in the public sale
     *         or at any time for the owner of the contract.
     *
     * @param quantity - the number of tokens to mint
     */
    function mint(uint16 quantity) public payable nonReentrant {
        uint256 remaining = totalSupply - minted;

        require(remaining > 0, "Mint over");
        require(quantity >= 1, "Zero mint");
        require(quantity <= remaining, "Not enough");

        if (owner() == msg.sender) {
            // OWNER MINTING FOR FREE
            require(msg.value == 0, "Owner paid");
        } else if (block.timestamp >= publicMint.startDate) {
            // PUBLIC MINT
            require(quantity <= publicMint.maxPerTransaction, "Exceeds max");
            require(
                quantity * mintPrice == msg.value,
                "Invalid value"
            );
        } else {
            // NOT ELIGIBLE FOR PUBLIC MINT
            revert("No mint");
        }

        _totalVolume += msg.value;

        // DISTRIBUTE THE TOKENS
        uint16 i;
        for (i; i < quantity; i++) {
            minted += 1;
            _safeMint(msg.sender, minted);
        }
    }

    function developerAllotment() public view returns (uint256) {
        return _developerEquity.mul(_totalVolume) - _developerWithdrawn;
    }

    /**
     * Withdraws balance from the contract to the owner (sender).
     * @param amount - the amount to withdraw, much be <= contract balance and  dev allotment.
     */
    function withdrawOwner(uint256 amount) external onlyOwner {
        require(address(this).balance >= amount + developerAllotment(), "Invalid amt");

        (bool success, ) = msg.sender.call{value: amount}("");
        require(success, "Trans failed");
        emit Withdraw(msg.sender, amount);
    }

    /**
     * Withdraws balance from the contract to the developer (sender).
     * @param amount - the amount to withdraw, much be <= contract balance.
     */
    function withdrawDeveloper(uint256 amount) external onlyDeveloper {
        uint256 devAllotment = developerAllotment();

        require(amount <= devAllotment, "Invalid amt");

        _developerWithdrawn += amount;
        (bool success, ) = msg.sender.call{value: amount}("");
        require(success, "Trans failed");
        emit Withdraw(msg.sender, amount);
    }

    /**
     * The receive function, does nothing
     */
    receive() external payable {
        _totalVolume += msg.value;
        emit Paid(msg.sender, msg.value);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"devAddress","type":"address"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"presaleMintStart","type":"uint256"},{"internalType":"uint256","name":"presaleMintEnd","type":"uint256"},{"internalType":"uint16","name":"maxPresale","type":"uint16"},{"internalType":"uint256","name":"publicMintStart","type":"uint256"},{"internalType":"uint16","name":"publicTransactionMax","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"prod1","type":"uint256"}],"name":"PRBMath__MulDivFixedPointOverflow","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousDeveloper","type":"address"},{"indexed":true,"internalType":"address","name":"newDeveloper","type":"address"}],"name":"DevelopershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Paid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developerAllotment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"uint16","name":"nonce","type":"uint16"}],"name":"getPremintHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getPresaleMints","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastMintNonce","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"uint16","name":"nonce","type":"uint16"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"premint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleMint","outputs":[{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"endDate","type":"uint256"},{"internalType":"uint16","name":"totalMinted","type":"uint16"},{"internalType":"uint16","name":"maxMinted","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint16","name":"maxPerTransaction","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceDevelopership","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":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newDeveloper","type":"address"}],"name":"transferDevelopership","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint256","name":"endDate","type":"uint256"},{"internalType":"uint16","name":"maxMinted","type":"uint16"}],"name":"updatePresaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxPerTransaction","type":"uint16"},{"internalType":"uint256","name":"startDate","type":"uint256"}],"name":"updatePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawDeveloper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620044133803806200441383398101604081905262000034916200030b565b88604051806040016040528060058152602001644a6573757360d81b815250604051806040016040528060058152602001644a4553555360d81b81525081600090805190602001906200008992919062000235565b5080516200009f90600190602084019062000235565b505050620000bc620000b66200018d60201b60201c565b62000191565b620000c781620001e3565b50600160085561ffff8816620001115760405162461bcd60e51b815260206004820152600b60248201526a5a65726f20737570706c7960a81b604482015260640160405180910390fd5b600d805461ffff998a1661ffff196001600160a01b0390991664010000000002891663ffff0001600160c01b031990921691909117179055600b96909655600f9390935560109190915560118054918616620100000263ffff0000199092169190911790556013556014805492909316911617905550620003df565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907fede61b2c1b6ea8932acda2da1fa8be10c31d93a5ef149f84a2a04c178054044990600090a35050565b8280546200024390620003a2565b90600052602060002090601f016020900481019282620002675760008555620002b2565b82601f106200028257805160ff1916838001178555620002b2565b82800160010185558215620002b2579182015b82811115620002b257825182559160200191906001019062000295565b50620002c0929150620002c4565b5090565b5b80821115620002c05760008155600101620002c5565b80516001600160a01b0381168114620002f357600080fd5b919050565b805161ffff81168114620002f357600080fd5b60008060008060008060008060006101208a8c0312156200032b57600080fd5b620003368a620002db565b98506200034660208b01620002f8565b975060408a015196506200035d60608b01620002db565b955060808a0151945060a08a015193506200037b60c08b01620002f8565b925060e08a01519150620003936101008b01620002f8565b90509295985092959850929598565b600181811c90821680620003b757607f821691505b60208210811415620003d957634e487b7160e01b600052602260045260246000fd5b50919050565b61402480620003ef6000396000f3fe6080604052600436106102885760003560e01c806368bef344116101535780639bbee240116100cb578063ca4b208b1161007f578063e985e9c511610064578063e985e9c5146107f5578063ecd2977f1461084b578063f2fde38b1461086057600080fd5b8063ca4b208b14610799578063e2cedd49146107c457600080fd5b8063b88d4fde116100b0578063b88d4fde14610712578063baa551ee14610732578063c87b56dd1461077957600080fd5b80639bbee240146106d2578063a22cb465146106f257600080fd5b8063715018a6116101225780638da5cb5b116101075780638da5cb5b1461067f5780639207b05a146106aa57806395d89b41146106bd57600080fd5b8063715018a6146106555780638cc401d51461066a57600080fd5b806368bef344146105d55780636c19e783146105f55780636ef98b211461061557806370a082311461063557600080fd5b806325102b64116102015780634f02c420116101b557806359533d6c1161019a57806359533d6c1461053a5780636352211e146105915780636817c76c146105b157600080fd5b80634f02c420146104f957806355f804b31461051a57600080fd5b8063308bfa7c116101e6578063308bfa7c1461049957806342842e0e146104b957806342966c68146104d957600080fd5b806325102b641461044257806326092b831461046257600080fd5b8063095ea7b31161025857806318160ddd1161023d57806318160ddd146103e157806323b872dd1461040f57806323cf0a221461042f57600080fd5b8063095ea7b3146103a15780630bd0e3a3146103c157600080fd5b8062728e46146102e357806301ffc9a71461030557806306fdde031461033a578063081812fc1461035c57600080fd5b366102de57346009600082825461029f9190613d64565b9091555050604080513381523460208201527f737c69225d647e5994eab1a6c301bf6d9232beb2759ae1e27a8966b4732bc489910160405180910390a1005b600080fd5b3480156102ef57600080fd5b506103036102fe366004613ba2565b610880565b005b34801561031157600080fd5b50610325610320366004613a8e565b61090b565b60405190151581526020015b60405180910390f35b34801561034657600080fd5b5061034f6109f0565b6040516103319190613d34565b34801561036857600080fd5b5061037c610377366004613ba2565b610a82565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610331565b3480156103ad57600080fd5b506103036103bc366004613a2e565b610b5c565b3480156103cd57600080fd5b506103036103dc366004613bbb565b610d14565b3480156103ed57600080fd5b50600d546103fc9061ffff1681565b60405161ffff9091168152602001610331565b34801561041b57600080fd5b5061030361042a36600461387e565b610dd9565b61030361043d366004613b0a565b610e7a565b34801561044e57600080fd5b5061030361045d366004613b86565b6112f6565b34801561046e57600080fd5b50601354601454610481919061ffff1682565b6040805192835261ffff909116602083015201610331565b3480156104a557600080fd5b506103036104b4366004613ba2565b6113b0565b3480156104c557600080fd5b506103036104d436600461387e565b6115d3565b3480156104e557600080fd5b506103036104f4366004613ba2565b6115ee565b34801561050557600080fd5b50600d546103fc9062010000900461ffff1681565b34801561052657600080fd5b50610303610535366004613ac8565b611681565b34801561054657600080fd5b50600f5460105460115461056792919061ffff808216916201000090041684565b60408051948552602085019390935261ffff91821692840192909252166060820152608001610331565b34801561059d57600080fd5b5061037c6105ac366004613ba2565b61170e565b3480156105bd57600080fd5b506105c7600b5481565b604051908152602001610331565b3480156105e157600080fd5b506105c76105f03660046139eb565b6117c0565b34801561060157600080fd5b50610303610610366004613830565b61188e565b34801561062157600080fd5b50610303610630366004613ba2565b61195e565b34801561064157600080fd5b506105c7610650366004613830565b611b49565b34801561066157600080fd5b50610303611c17565b34801561067657600080fd5b50610303611ca4565b34801561068b57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661037c565b6103036106b8366004613b25565b611d54565b3480156106c957600080fd5b5061034f6123b5565b3480156106de57600080fd5b506103036106ed366004613830565b6123c4565b3480156106fe57600080fd5b5061030361070d3660046139b4565b612516565b34801561071e57600080fd5b5061030361072d3660046138ba565b61262d565b34801561073e57600080fd5b506103fc61074d366004613830565b73ffffffffffffffffffffffffffffffffffffffff1660009081526012602052604090205461ffff1690565b34801561078557600080fd5b5061034f610794366004613ba2565b6126d5565b3480156107a557600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661037c565b3480156107d057600080fd5b506103fc6107df366004613830565b600e6020526000908152604090205461ffff1681565b34801561080157600080fd5b5061032561081036600461384b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085757600080fd5b506105c76127e5565b34801561086c57600080fd5b5061030361087b366004613830565b612815565b60065473ffffffffffffffffffffffffffffffffffffffff163314610906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600b55565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061099e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109ea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546109ff90613e33565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2b90613e33565b8015610a785780601f10610a4d57610100808354040283529160200191610a78565b820191906000526020600020905b815481529060010190602001808311610a5b57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610b33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016108fd565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b678261170e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c79575073ffffffffffffffffffffffffffffffffffffffff8116600090815260056020908152604080832033845290915290205460ff165b610d05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fd565b610d0f8383612942565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610d95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b600f929092556010556011805461ffff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff909216919091179055565b610de333826129e2565b610e6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b610d0f838383612b4e565b60026008541415610ee7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108fd565b6002600855600d54600090610f089061ffff62010000820481169116613dcd565b61ffff16905060008111610f78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016108fd565b60018261ffff161015610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016108fd565b808261ffff161115611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016108fd565b3361107560065473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614156110fe5734156110f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4f776e657220706169640000000000000000000000000000000000000000000060448201526064016108fd565b611257565b60135442106111f55760145461ffff908116908316111561117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f45786365656473206d617800000000000000000000000000000000000000000060448201526064016108fd565b34600b548361ffff1661118e9190613d90565b146110f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c69642076616c75650000000000000000000000000000000000000060448201526064016108fd565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016108fd565b34600960008282546112699190613d64565b90915550600090505b8261ffff168161ffff1610156112ec576001600d60028282829054906101000a900461ffff166112a29190613d47565b92506101000a81548161ffff021916908361ffff1602179055506112da33600d60029054906101000a900461ffff1661ffff16612db5565b806112e481613e87565b915050611272565b5050600160085550565b60065473ffffffffffffffffffffffffffffffffffffffff163314611377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9390931692909217909155601355565b60075473ffffffffffffffffffffffffffffffffffffffff163314611456576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520646576656c60448201527f6f7065720000000000000000000000000000000000000000000000000000000060648201526084016108fd565b60006114606127e5565b9050808211156114cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c696420616d7400000000000000000000000000000000000000000060448201526064016108fd565b81600a60008282546114de9190613d64565b9091555050604051600090339084908381818185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e61152a565b606091505b5050905080611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5472616e73206661696c6564000000000000000000000000000000000000000060448201526064016108fd565b60408051338152602081018590527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a1505050565b610d0f8383836040518060200160405280600081525061262d565b336115f88261170e565b73ffffffffffffffffffffffffffffffffffffffff1614611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e0000000000000060448201526064016108fd565b61167e81612dd3565b50565b60065473ffffffffffffffffffffffffffffffffffffffff163314611702576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b610d0f600c83836136f5565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806109ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108fd565b6040517fd2b0737b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015261ffff80841660248301528216604482015260009073ba14b21b3840c710f366e93a9e19a3de30a19e6f9063d2b0737b9060640160206040518083038186803b15801561184e57600080fd5b505af4158015611862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118869190613a75565b949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b600d805473ffffffffffffffffffffffffffffffffffffffff909216640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff909216919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff1633146119df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b6119e76127e5565b6119f19082613d64565b471015611a5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c696420616d7400000000000000000000000000000000000000000060448201526064016108fd565b604051600090339083908381818185875af1925050503d8060008114611a9c576040519150601f19603f3d011682016040523d82523d6000602084013e611aa1565b606091505b5050905080611b0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5472616e73206661696c6564000000000000000000000000000000000000000060448201526064016108fd565b60408051338152602081018490527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b600073ffffffffffffffffffffffffffffffffffffffff8216611bee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108fd565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314611c98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b611ca26000612ea0565b565b60075473ffffffffffffffffffffffffffffffffffffffff163314611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520646576656c60448201527f6f7065720000000000000000000000000000000000000000000000000000000060648201526084016108fd565b611ca26000612f17565b60026008541415611dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108fd565b6002600855600d54600090611de29061ffff62010000820481169116613dcd565b61ffff16905060008111611e52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016108fd565b60018561ffff161015611ec1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016108fd565b808561ffff161115611f2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016108fd565b336000908152600e602052604090205461ffff808616911610611fae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f6e636520757365640000000000000000000000000000000000000000000060448201526064016108fd565b600f544210801590611fc257506010544211155b612028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016108fd565b600d546040517fcffc18eb00000000000000000000000000000000000000000000000000000000815273ba14b21b3840c710f366e93a9e19a3de30a19e6f9163cffc18eb916120a291640100000000900473ffffffffffffffffffffffffffffffffffffffff169033908a908a908a908a90600401613c60565b60206040518083038186803b1580156120ba57600080fd5b505af41580156120ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f29190613a58565b612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c69642073696700000000000000000000000000000000000000000060448201526064016108fd565b348561ffff16600b5461216b9190613d90565b146121d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4261642076616c7565000000000000000000000000000000000000000000000060448201526064016108fd565b60115461ffff6201000082048116916121ed91889116613d47565b61ffff161115612259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4c696d697420657863656564656400000000000000000000000000000000000060448201526064016108fd565b336000908152601260205260408120805487929061227c90849061ffff16613d47565b92506101000a81548161ffff021916908361ffff16021790555084600f60020160008282829054906101000a900461ffff166122b89190613d47565b82546101009290920a61ffff818102199093169183160217909155336000908152600e6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169288169290921790915560098054349350909190612325908490613d64565b90915550600090505b8561ffff168161ffff1610156123a8576001600d60028282829054906101000a900461ffff1661235e9190613d47565b92506101000a81548161ffff021916908361ffff16021790555061239633600d60029054906101000a900461ffff1661ffff16612db5565b806123a081613e87565b91505061232e565b5050600160085550505050565b6060600180546109ff90613e33565b60075473ffffffffffffffffffffffffffffffffffffffff16331461246a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520646576656c60448201527f6f7065720000000000000000000000000000000000000000000000000000000060648201526084016108fd565b73ffffffffffffffffffffffffffffffffffffffff811661250d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f776e61626c653a206e657720646576656c6f70657220697320746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108fd565b61167e81612f17565b73ffffffffffffffffffffffffffffffffffffffff8216331415612596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fd565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61263733836129e2565b6126c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b6126cf84848484612f8e565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108fd565b6000612793613031565b905060008151116127b357604051806020016040528060008152506127de565b806127bd84613040565b6040516020016127ce929190613c31565b6040516020818303038152906040525b9392505050565b6000600a5461280660095466b1a2bc2ec5000061317290919063ffffffff16565b6128109190613df0565b905090565b60065473ffffffffffffffffffffffffffffffffffffffff163314612896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b73ffffffffffffffffffffffffffffffffffffffff8116612939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108fd565b61167e81612ea0565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061299c8261170e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612a93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016108fd565b6000612a9e8361170e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b0d57508373ffffffffffffffffffffffffffffffffffffffff16612af584610a82565b73ffffffffffffffffffffffffffffffffffffffff16145b80611886575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611886565b8273ffffffffffffffffffffffffffffffffffffffff16612b6e8261170e565b73ffffffffffffffffffffffffffffffffffffffff1614612c11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108fd565b73ffffffffffffffffffffffffffffffffffffffff8216612cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108fd565b612cbe600082612942565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612cf4908490613df0565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612d2f908490613d64565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612dcf82826040518060200160405280600081525061317e565b5050565b6000612dde8261170e565b9050612deb600083612942565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260408120805460019290612e21908490613df0565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907fede61b2c1b6ea8932acda2da1fa8be10c31d93a5ef149f84a2a04c178054044990600090a35050565b612f99848484612b4e565b612fa584848484613221565b6126cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b6060600c80546109ff90613e33565b60608161308057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156130aa578061309481613ea9565b91506130a39050600a83613d7c565b9150613084565b60008167ffffffffffffffff8111156130c5576130c5613f83565b6040519080825280601f01601f1916602001820160405280156130ef576020820181803683370190505b5090505b841561188657613104600183613df0565b9150613111600a86613ee2565b61311c906030613d64565b60f81b81838151811061313157613131613f54565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061316b600a86613d7c565b94506130f3565b60006127de8383613420565b6131888383613533565b6131956000848484613221565b610d0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613415576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613298903390899088908890600401613ceb565b602060405180830381600087803b1580156132b257600080fd5b505af1925050508015613300575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526132fd91810190613aab565b60015b6133ca573d80801561332e576040519150601f19603f3d011682016040523d82523d6000602084013e613333565b606091505b5080516133c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611886565b506001949350505050565b600080807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848609848602925082811083820303915050670de0b6b3a7640000811061349b576040517fd31b3402000000000000000000000000000000000000000000000000000000008152600481018290526024016108fd565b600080670de0b6b3a76400008688099150506706f05b59d3b1ffff8111826134d55780670de0b6b3a76400008504019450505050506109ea565b6204000082850304939091119091037d40000000000000000000000000000000000000000000000000000000000002919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690201905092915050565b73ffffffffffffffffffffffffffffffffffffffff82166135b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108fd565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161561363c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108fd565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613672908490613d64565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461370190613e33565b90600052602060002090601f0160209004810192826137235760008555613787565b82601f1061375a578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613787565b82800160010185558215613787579182015b8281111561378757823582559160200191906001019061376c565b50613793929150613797565b5090565b5b808211156137935760008155600101613798565b803573ffffffffffffffffffffffffffffffffffffffff811681146137d057600080fd5b919050565b60008083601f8401126137e757600080fd5b50813567ffffffffffffffff8111156137ff57600080fd5b60208301915083602082850101111561381757600080fd5b9250929050565b803561ffff811681146137d057600080fd5b60006020828403121561384257600080fd5b6127de826137ac565b6000806040838503121561385e57600080fd5b613867836137ac565b9150613875602084016137ac565b90509250929050565b60008060006060848603121561389357600080fd5b61389c846137ac565b92506138aa602085016137ac565b9150604084013590509250925092565b600080600080608085870312156138d057600080fd5b6138d9856137ac565b93506138e7602086016137ac565b925060408501359150606085013567ffffffffffffffff8082111561390b57600080fd5b818701915087601f83011261391f57600080fd5b81358181111561393157613931613f83565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561397757613977613f83565b816040528281528a602084870101111561399057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156139c757600080fd5b6139d0836137ac565b915060208301356139e081613fb2565b809150509250929050565b600080600060608486031215613a0057600080fd5b613a09846137ac565b9250613a176020850161381e565b9150613a256040850161381e565b90509250925092565b60008060408385031215613a4157600080fd5b613a4a836137ac565b946020939093013593505050565b600060208284031215613a6a57600080fd5b81516127de81613fb2565b600060208284031215613a8757600080fd5b5051919050565b600060208284031215613aa057600080fd5b81356127de81613fc0565b600060208284031215613abd57600080fd5b81516127de81613fc0565b60008060208385031215613adb57600080fd5b823567ffffffffffffffff811115613af257600080fd5b613afe858286016137d5565b90969095509350505050565b600060208284031215613b1c57600080fd5b6127de8261381e565b60008060008060608587031215613b3b57600080fd5b613b448561381e565b9350613b526020860161381e565b9250604085013567ffffffffffffffff811115613b6e57600080fd5b613b7a878288016137d5565b95989497509550505050565b60008060408385031215613b9957600080fd5b613a4a8361381e565b600060208284031215613bb457600080fd5b5035919050565b600080600060608486031215613bd057600080fd5b8335925060208401359150613a256040850161381e565b60008151808452613bff816020860160208601613e07565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351613c43818460208801613e07565b835190830190613c57818360208801613e07565b01949350505050565b73ffffffffffffffffffffffffffffffffffffffff87811682528616602082015261ffff85811660408301528416606082015260a06080820181905281018290526000828460c0840137600060c0848401015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501168301019050979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613d2a6080830184613be7565b9695505050505050565b6020815260006127de6020830184613be7565b600061ffff808316818516808303821115613c5757613c57613ef6565b60008219821115613d7757613d77613ef6565b500190565b600082613d8b57613d8b613f25565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dc857613dc8613ef6565b500290565b600061ffff83811690831681811015613de857613de8613ef6565b039392505050565b600082821015613e0257613e02613ef6565b500390565b60005b83811015613e22578181015183820152602001613e0a565b838111156126cf5750506000910152565b600181811c90821680613e4757607f821691505b60208210811415613e81577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600061ffff80831681811415613e9f57613e9f613ef6565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613edb57613edb613ef6565b5060010190565b600082613ef157613ef1613f25565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b801515811461167e57600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461167e57600080fdfea2646970667358221220b544ddd7c455034633548e754f7023b058422eecc14da0ced4db421ca17c9a2c64736f6c634300080700330000000000000000000000001569ab627df0c74e55b8e099a3f2b7d133665186000000000000000000000000000000000000000000000000000000000000115c00000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000d748f85c03561700091ec5a63b135ca24564941d0000000000000000000000000000000000000000000000000000000061d72e200000000000000000000000000000000000000000000000000000000061d8719000000000000000000000000000000000000000000000000000000000000001bc0000000000000000000000000000000000000000000000000000000061d87fa00000000000000000000000000000000000000000000000000000000000000007

Deployed Bytecode

0x6080604052600436106102885760003560e01c806368bef344116101535780639bbee240116100cb578063ca4b208b1161007f578063e985e9c511610064578063e985e9c5146107f5578063ecd2977f1461084b578063f2fde38b1461086057600080fd5b8063ca4b208b14610799578063e2cedd49146107c457600080fd5b8063b88d4fde116100b0578063b88d4fde14610712578063baa551ee14610732578063c87b56dd1461077957600080fd5b80639bbee240146106d2578063a22cb465146106f257600080fd5b8063715018a6116101225780638da5cb5b116101075780638da5cb5b1461067f5780639207b05a146106aa57806395d89b41146106bd57600080fd5b8063715018a6146106555780638cc401d51461066a57600080fd5b806368bef344146105d55780636c19e783146105f55780636ef98b211461061557806370a082311461063557600080fd5b806325102b64116102015780634f02c420116101b557806359533d6c1161019a57806359533d6c1461053a5780636352211e146105915780636817c76c146105b157600080fd5b80634f02c420146104f957806355f804b31461051a57600080fd5b8063308bfa7c116101e6578063308bfa7c1461049957806342842e0e146104b957806342966c68146104d957600080fd5b806325102b641461044257806326092b831461046257600080fd5b8063095ea7b31161025857806318160ddd1161023d57806318160ddd146103e157806323b872dd1461040f57806323cf0a221461042f57600080fd5b8063095ea7b3146103a15780630bd0e3a3146103c157600080fd5b8062728e46146102e357806301ffc9a71461030557806306fdde031461033a578063081812fc1461035c57600080fd5b366102de57346009600082825461029f9190613d64565b9091555050604080513381523460208201527f737c69225d647e5994eab1a6c301bf6d9232beb2759ae1e27a8966b4732bc489910160405180910390a1005b600080fd5b3480156102ef57600080fd5b506103036102fe366004613ba2565b610880565b005b34801561031157600080fd5b50610325610320366004613a8e565b61090b565b60405190151581526020015b60405180910390f35b34801561034657600080fd5b5061034f6109f0565b6040516103319190613d34565b34801561036857600080fd5b5061037c610377366004613ba2565b610a82565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610331565b3480156103ad57600080fd5b506103036103bc366004613a2e565b610b5c565b3480156103cd57600080fd5b506103036103dc366004613bbb565b610d14565b3480156103ed57600080fd5b50600d546103fc9061ffff1681565b60405161ffff9091168152602001610331565b34801561041b57600080fd5b5061030361042a36600461387e565b610dd9565b61030361043d366004613b0a565b610e7a565b34801561044e57600080fd5b5061030361045d366004613b86565b6112f6565b34801561046e57600080fd5b50601354601454610481919061ffff1682565b6040805192835261ffff909116602083015201610331565b3480156104a557600080fd5b506103036104b4366004613ba2565b6113b0565b3480156104c557600080fd5b506103036104d436600461387e565b6115d3565b3480156104e557600080fd5b506103036104f4366004613ba2565b6115ee565b34801561050557600080fd5b50600d546103fc9062010000900461ffff1681565b34801561052657600080fd5b50610303610535366004613ac8565b611681565b34801561054657600080fd5b50600f5460105460115461056792919061ffff808216916201000090041684565b60408051948552602085019390935261ffff91821692840192909252166060820152608001610331565b34801561059d57600080fd5b5061037c6105ac366004613ba2565b61170e565b3480156105bd57600080fd5b506105c7600b5481565b604051908152602001610331565b3480156105e157600080fd5b506105c76105f03660046139eb565b6117c0565b34801561060157600080fd5b50610303610610366004613830565b61188e565b34801561062157600080fd5b50610303610630366004613ba2565b61195e565b34801561064157600080fd5b506105c7610650366004613830565b611b49565b34801561066157600080fd5b50610303611c17565b34801561067657600080fd5b50610303611ca4565b34801561068b57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661037c565b6103036106b8366004613b25565b611d54565b3480156106c957600080fd5b5061034f6123b5565b3480156106de57600080fd5b506103036106ed366004613830565b6123c4565b3480156106fe57600080fd5b5061030361070d3660046139b4565b612516565b34801561071e57600080fd5b5061030361072d3660046138ba565b61262d565b34801561073e57600080fd5b506103fc61074d366004613830565b73ffffffffffffffffffffffffffffffffffffffff1660009081526012602052604090205461ffff1690565b34801561078557600080fd5b5061034f610794366004613ba2565b6126d5565b3480156107a557600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661037c565b3480156107d057600080fd5b506103fc6107df366004613830565b600e6020526000908152604090205461ffff1681565b34801561080157600080fd5b5061032561081036600461384b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085757600080fd5b506105c76127e5565b34801561086c57600080fd5b5061030361087b366004613830565b612815565b60065473ffffffffffffffffffffffffffffffffffffffff163314610906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600b55565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061099e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109ea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546109ff90613e33565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2b90613e33565b8015610a785780601f10610a4d57610100808354040283529160200191610a78565b820191906000526020600020905b815481529060010190602001808311610a5b57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610b33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016108fd565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b678261170e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c79575073ffffffffffffffffffffffffffffffffffffffff8116600090815260056020908152604080832033845290915290205460ff165b610d05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fd565b610d0f8383612942565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610d95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b600f929092556010556011805461ffff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff909216919091179055565b610de333826129e2565b610e6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b610d0f838383612b4e565b60026008541415610ee7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108fd565b6002600855600d54600090610f089061ffff62010000820481169116613dcd565b61ffff16905060008111610f78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016108fd565b60018261ffff161015610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016108fd565b808261ffff161115611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016108fd565b3361107560065473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614156110fe5734156110f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4f776e657220706169640000000000000000000000000000000000000000000060448201526064016108fd565b611257565b60135442106111f55760145461ffff908116908316111561117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f45786365656473206d617800000000000000000000000000000000000000000060448201526064016108fd565b34600b548361ffff1661118e9190613d90565b146110f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c69642076616c75650000000000000000000000000000000000000060448201526064016108fd565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016108fd565b34600960008282546112699190613d64565b90915550600090505b8261ffff168161ffff1610156112ec576001600d60028282829054906101000a900461ffff166112a29190613d47565b92506101000a81548161ffff021916908361ffff1602179055506112da33600d60029054906101000a900461ffff1661ffff16612db5565b806112e481613e87565b915050611272565b5050600160085550565b60065473ffffffffffffffffffffffffffffffffffffffff163314611377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9390931692909217909155601355565b60075473ffffffffffffffffffffffffffffffffffffffff163314611456576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520646576656c60448201527f6f7065720000000000000000000000000000000000000000000000000000000060648201526084016108fd565b60006114606127e5565b9050808211156114cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c696420616d7400000000000000000000000000000000000000000060448201526064016108fd565b81600a60008282546114de9190613d64565b9091555050604051600090339084908381818185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e61152a565b606091505b5050905080611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5472616e73206661696c6564000000000000000000000000000000000000000060448201526064016108fd565b60408051338152602081018590527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a1505050565b610d0f8383836040518060200160405280600081525061262d565b336115f88261170e565b73ffffffffffffffffffffffffffffffffffffffff1614611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e0000000000000060448201526064016108fd565b61167e81612dd3565b50565b60065473ffffffffffffffffffffffffffffffffffffffff163314611702576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b610d0f600c83836136f5565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806109ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108fd565b6040517fd2b0737b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015261ffff80841660248301528216604482015260009073ba14b21b3840c710f366e93a9e19a3de30a19e6f9063d2b0737b9060640160206040518083038186803b15801561184e57600080fd5b505af4158015611862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118869190613a75565b949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b600d805473ffffffffffffffffffffffffffffffffffffffff909216640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff909216919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff1633146119df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b6119e76127e5565b6119f19082613d64565b471015611a5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c696420616d7400000000000000000000000000000000000000000060448201526064016108fd565b604051600090339083908381818185875af1925050503d8060008114611a9c576040519150601f19603f3d011682016040523d82523d6000602084013e611aa1565b606091505b5050905080611b0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5472616e73206661696c6564000000000000000000000000000000000000000060448201526064016108fd565b60408051338152602081018490527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b600073ffffffffffffffffffffffffffffffffffffffff8216611bee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108fd565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314611c98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b611ca26000612ea0565b565b60075473ffffffffffffffffffffffffffffffffffffffff163314611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520646576656c60448201527f6f7065720000000000000000000000000000000000000000000000000000000060648201526084016108fd565b611ca26000612f17565b60026008541415611dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108fd565b6002600855600d54600090611de29061ffff62010000820481169116613dcd565b61ffff16905060008111611e52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4d696e74206f766572000000000000000000000000000000000000000000000060448201526064016108fd565b60018561ffff161015611ec1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f5a65726f206d696e74000000000000000000000000000000000000000000000060448201526064016108fd565b808561ffff161115611f2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f7420656e6f7567680000000000000000000000000000000000000000000060448201526064016108fd565b336000908152600e602052604090205461ffff808616911610611fae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4e6f6e636520757365640000000000000000000000000000000000000000000060448201526064016108fd565b600f544210801590611fc257506010544211155b612028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f4e6f206d696e740000000000000000000000000000000000000000000000000060448201526064016108fd565b600d546040517fcffc18eb00000000000000000000000000000000000000000000000000000000815273ba14b21b3840c710f366e93a9e19a3de30a19e6f9163cffc18eb916120a291640100000000900473ffffffffffffffffffffffffffffffffffffffff169033908a908a908a908a90600401613c60565b60206040518083038186803b1580156120ba57600080fd5b505af41580156120ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f29190613a58565b612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c69642073696700000000000000000000000000000000000000000060448201526064016108fd565b348561ffff16600b5461216b9190613d90565b146121d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4261642076616c7565000000000000000000000000000000000000000000000060448201526064016108fd565b60115461ffff6201000082048116916121ed91889116613d47565b61ffff161115612259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4c696d697420657863656564656400000000000000000000000000000000000060448201526064016108fd565b336000908152601260205260408120805487929061227c90849061ffff16613d47565b92506101000a81548161ffff021916908361ffff16021790555084600f60020160008282829054906101000a900461ffff166122b89190613d47565b82546101009290920a61ffff818102199093169183160217909155336000908152600e6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169288169290921790915560098054349350909190612325908490613d64565b90915550600090505b8561ffff168161ffff1610156123a8576001600d60028282829054906101000a900461ffff1661235e9190613d47565b92506101000a81548161ffff021916908361ffff16021790555061239633600d60029054906101000a900461ffff1661ffff16612db5565b806123a081613e87565b91505061232e565b5050600160085550505050565b6060600180546109ff90613e33565b60075473ffffffffffffffffffffffffffffffffffffffff16331461246a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520646576656c60448201527f6f7065720000000000000000000000000000000000000000000000000000000060648201526084016108fd565b73ffffffffffffffffffffffffffffffffffffffff811661250d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f776e61626c653a206e657720646576656c6f70657220697320746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108fd565b61167e81612f17565b73ffffffffffffffffffffffffffffffffffffffff8216331415612596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fd565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61263733836129e2565b6126c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b6126cf84848484612f8e565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16612789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108fd565b6000612793613031565b905060008151116127b357604051806020016040528060008152506127de565b806127bd84613040565b6040516020016127ce929190613c31565b6040516020818303038152906040525b9392505050565b6000600a5461280660095466b1a2bc2ec5000061317290919063ffffffff16565b6128109190613df0565b905090565b60065473ffffffffffffffffffffffffffffffffffffffff163314612896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b73ffffffffffffffffffffffffffffffffffffffff8116612939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108fd565b61167e81612ea0565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061299c8261170e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612a93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016108fd565b6000612a9e8361170e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b0d57508373ffffffffffffffffffffffffffffffffffffffff16612af584610a82565b73ffffffffffffffffffffffffffffffffffffffff16145b80611886575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611886565b8273ffffffffffffffffffffffffffffffffffffffff16612b6e8261170e565b73ffffffffffffffffffffffffffffffffffffffff1614612c11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108fd565b73ffffffffffffffffffffffffffffffffffffffff8216612cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108fd565b612cbe600082612942565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612cf4908490613df0565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612d2f908490613d64565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612dcf82826040518060200160405280600081525061317e565b5050565b6000612dde8261170e565b9050612deb600083612942565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600360205260408120805460019290612e21908490613df0565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907fede61b2c1b6ea8932acda2da1fa8be10c31d93a5ef149f84a2a04c178054044990600090a35050565b612f99848484612b4e565b612fa584848484613221565b6126cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b6060600c80546109ff90613e33565b60608161308057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156130aa578061309481613ea9565b91506130a39050600a83613d7c565b9150613084565b60008167ffffffffffffffff8111156130c5576130c5613f83565b6040519080825280601f01601f1916602001820160405280156130ef576020820181803683370190505b5090505b841561188657613104600183613df0565b9150613111600a86613ee2565b61311c906030613d64565b60f81b81838151811061313157613131613f54565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061316b600a86613d7c565b94506130f3565b60006127de8383613420565b6131888383613533565b6131956000848484613221565b610d0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613415576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613298903390899088908890600401613ceb565b602060405180830381600087803b1580156132b257600080fd5b505af1925050508015613300575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526132fd91810190613aab565b60015b6133ca573d80801561332e576040519150601f19603f3d011682016040523d82523d6000602084013e613333565b606091505b5080516133c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611886565b506001949350505050565b600080807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848609848602925082811083820303915050670de0b6b3a7640000811061349b576040517fd31b3402000000000000000000000000000000000000000000000000000000008152600481018290526024016108fd565b600080670de0b6b3a76400008688099150506706f05b59d3b1ffff8111826134d55780670de0b6b3a76400008504019450505050506109ea565b6204000082850304939091119091037d40000000000000000000000000000000000000000000000000000000000002919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690201905092915050565b73ffffffffffffffffffffffffffffffffffffffff82166135b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108fd565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161561363c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108fd565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613672908490613d64565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461370190613e33565b90600052602060002090601f0160209004810192826137235760008555613787565b82601f1061375a578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613787565b82800160010185558215613787579182015b8281111561378757823582559160200191906001019061376c565b50613793929150613797565b5090565b5b808211156137935760008155600101613798565b803573ffffffffffffffffffffffffffffffffffffffff811681146137d057600080fd5b919050565b60008083601f8401126137e757600080fd5b50813567ffffffffffffffff8111156137ff57600080fd5b60208301915083602082850101111561381757600080fd5b9250929050565b803561ffff811681146137d057600080fd5b60006020828403121561384257600080fd5b6127de826137ac565b6000806040838503121561385e57600080fd5b613867836137ac565b9150613875602084016137ac565b90509250929050565b60008060006060848603121561389357600080fd5b61389c846137ac565b92506138aa602085016137ac565b9150604084013590509250925092565b600080600080608085870312156138d057600080fd5b6138d9856137ac565b93506138e7602086016137ac565b925060408501359150606085013567ffffffffffffffff8082111561390b57600080fd5b818701915087601f83011261391f57600080fd5b81358181111561393157613931613f83565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561397757613977613f83565b816040528281528a602084870101111561399057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156139c757600080fd5b6139d0836137ac565b915060208301356139e081613fb2565b809150509250929050565b600080600060608486031215613a0057600080fd5b613a09846137ac565b9250613a176020850161381e565b9150613a256040850161381e565b90509250925092565b60008060408385031215613a4157600080fd5b613a4a836137ac565b946020939093013593505050565b600060208284031215613a6a57600080fd5b81516127de81613fb2565b600060208284031215613a8757600080fd5b5051919050565b600060208284031215613aa057600080fd5b81356127de81613fc0565b600060208284031215613abd57600080fd5b81516127de81613fc0565b60008060208385031215613adb57600080fd5b823567ffffffffffffffff811115613af257600080fd5b613afe858286016137d5565b90969095509350505050565b600060208284031215613b1c57600080fd5b6127de8261381e565b60008060008060608587031215613b3b57600080fd5b613b448561381e565b9350613b526020860161381e565b9250604085013567ffffffffffffffff811115613b6e57600080fd5b613b7a878288016137d5565b95989497509550505050565b60008060408385031215613b9957600080fd5b613a4a8361381e565b600060208284031215613bb457600080fd5b5035919050565b600080600060608486031215613bd057600080fd5b8335925060208401359150613a256040850161381e565b60008151808452613bff816020860160208601613e07565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351613c43818460208801613e07565b835190830190613c57818360208801613e07565b01949350505050565b73ffffffffffffffffffffffffffffffffffffffff87811682528616602082015261ffff85811660408301528416606082015260a06080820181905281018290526000828460c0840137600060c0848401015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501168301019050979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613d2a6080830184613be7565b9695505050505050565b6020815260006127de6020830184613be7565b600061ffff808316818516808303821115613c5757613c57613ef6565b60008219821115613d7757613d77613ef6565b500190565b600082613d8b57613d8b613f25565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dc857613dc8613ef6565b500290565b600061ffff83811690831681811015613de857613de8613ef6565b039392505050565b600082821015613e0257613e02613ef6565b500390565b60005b83811015613e22578181015183820152602001613e0a565b838111156126cf5750506000910152565b600181811c90821680613e4757607f821691505b60208210811415613e81577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600061ffff80831681811415613e9f57613e9f613ef6565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613edb57613edb613ef6565b5060010190565b600082613ef157613ef1613f25565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b801515811461167e57600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461167e57600080fdfea2646970667358221220b544ddd7c455034633548e754f7023b058422eecc14da0ced4db421ca17c9a2c64736f6c63430008070033

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

0000000000000000000000001569ab627df0c74e55b8e099a3f2b7d133665186000000000000000000000000000000000000000000000000000000000000115c00000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000d748f85c03561700091ec5a63b135ca24564941d0000000000000000000000000000000000000000000000000000000061d72e200000000000000000000000000000000000000000000000000000000061d8719000000000000000000000000000000000000000000000000000000000000001bc0000000000000000000000000000000000000000000000000000000061d87fa00000000000000000000000000000000000000000000000000000000000000007

-----Decoded View---------------
Arg [0] : devAddress (address): 0x1569ab627df0c74E55B8e099a3F2B7d133665186
Arg [1] : maxSupply (uint16): 4444
Arg [2] : price (uint256): 70000000000000000
Arg [3] : signer (address): 0xD748f85c03561700091ec5A63b135cA24564941D
Arg [4] : presaleMintStart (uint256): 1641492000
Arg [5] : presaleMintEnd (uint256): 1641574800
Arg [6] : maxPresale (uint16): 444
Arg [7] : publicMintStart (uint256): 1641578400
Arg [8] : publicTransactionMax (uint16): 7

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000001569ab627df0c74e55b8e099a3f2b7d133665186
Arg [1] : 000000000000000000000000000000000000000000000000000000000000115c
Arg [2] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [3] : 000000000000000000000000d748f85c03561700091ec5a63b135ca24564941d
Arg [4] : 0000000000000000000000000000000000000000000000000000000061d72e20
Arg [5] : 0000000000000000000000000000000000000000000000000000000061d87190
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001bc
Arg [7] : 0000000000000000000000000000000000000000000000000000000061d87fa0
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000007


Libraries Used

VerifySignature : 0xba14b21b3840c710f366e93a9e19a3de30a19e6fUnverified

Deployed Bytecode Sourcemap

95671:9883:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105491:9;105475:12;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;105516:27:0;;;105521:10;9727:74:1;;105533:9:0;9832:2:1;9817:18;;9810:34;105516:27:0;;9700:18:1;105516:27:0;;;;;;;95671:9883;;;;;99597:109;;;;;;;;;;-1:-1:-1;99597:109:0;;;;;:::i;:::-;;:::i;:::-;;31998:305;;;;;;;;;;-1:-1:-1;31998:305:0;;;;;:::i;:::-;;:::i;:::-;;;10020:14:1;;10013:22;9995:41;;9983:2;9968:18;31998:305:0;;;;;;;;32943:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34502:221::-;;;;;;;;;;-1:-1:-1;34502:221:0;;;;;:::i;:::-;;:::i;:::-;;;7690:42:1;7678:55;;;7660:74;;7648:2;7633:18;34502:221:0;7514:226:1;34025:411:0;;;;;;;;;;-1:-1:-1;34025:411:0;;;;;:::i;:::-;;:::i;99931:268::-;;;;;;;;;;-1:-1:-1;99931:268:0;;;;;:::i;:::-;;:::i;97825:25::-;;;;;;;;;;-1:-1:-1;97825:25:0;;;;;;;;;;;22948:6:1;22936:19;;;22918:38;;22906:2;22891:18;97825:25:0;22774:188:1;35392:339:0;;;;;;;;;;-1:-1:-1;35392:339:0;;;;;:::i;:::-;;:::i;103158:1009::-;;;;;;:::i;:::-;;:::i;100456:223::-;;;;;;;;;;-1:-1:-1;100456:223:0;;;;;:::i;:::-;;:::i;98155:28::-;;;;;;;;;;-1:-1:-1;98155:28:0;;;;;;;;;;;;;;;23321:25:1;;;23394:6;23382:19;;;23377:2;23362:18;;23355:47;23294:18;98155:28:0;23149:259:1;104988:380:0;;;;;;;;;;-1:-1:-1;104988:380:0;;;;;:::i;:::-;;:::i;35802:185::-;;;;;;;;;;-1:-1:-1;35802:185:0;;;;;:::i;:::-;;:::i;99157:152::-;;;;;;;;;;-1:-1:-1;99157:152:0;;;;;:::i;:::-;;:::i;97857:20::-;;;;;;;;;;-1:-1:-1;97857:20:0;;;;;;;;;;;98668:90;;;;;;;;;;-1:-1:-1;98668:90:0;;;;;:::i;:::-;;:::i;98055:34::-;;;;;;;;;;-1:-1:-1;98055:34:0;;;;;;;;;;;;;;;;;;;;;;;;;23640:25:1;;;23696:2;23681:18;;23674:34;;;;23727:6;23769:15;;;23749:18;;;23742:43;;;;23821:15;23816:2;23801:18;;23794:43;23627:3;23612:19;98055:34:0;23413:430:1;32637:239:0;;;;;;;;;;-1:-1:-1;32637:239:0;;;;;:::i;:::-;;:::i;95954:24::-;;;;;;;;;;;;;;;;;;;10193:25:1;;;10181:2;10166:18;95954:24:0;10047:177:1;100687:216:0;;;;;;;;;;-1:-1:-1;100687:216:0;;;;;:::i;:::-;;:::i;98890:90::-;;;;;;;;;;-1:-1:-1;98890:90:0;;;;;:::i;:::-;;:::i;104506:308::-;;;;;;;;;;-1:-1:-1;104506:308:0;;;;;:::i;:::-;;:::i;32367:208::-;;;;;;;;;;-1:-1:-1;32367:208:0;;;;;:::i;:::-;;:::i;13633:94::-;;;;;;;;;;;;;:::i;11267:106::-;;;;;;;;;;;;;:::i;12982:87::-;;;;;;;;;;-1:-1:-1;13055:6:0;;;;12982:87;;101465:1399;;;;;;:::i;:::-;;:::i;33112:104::-;;;;;;;;;;;;;:::i;11540:220::-;;;;;;;;;;-1:-1:-1;11540:220:0;;;;;:::i;:::-;;:::i;34795:295::-;;;;;;;;;;-1:-1:-1;34795:295:0;;;;;:::i;:::-;;:::i;36058:328::-;;;;;;;;;;-1:-1:-1;36058:328:0;;;;;:::i;:::-;;:::i;99437:152::-;;;;;;;;;;-1:-1:-1;99437:152:0;;;;;:::i;:::-;99557:24;;99526:6;99557:24;;;:18;:24;;;;;;;;;99437:152;33287:334;;;;;;;;;;-1:-1:-1;33287:334:0;;;;;:::i;:::-;;:::i;10568:95::-;;;;;;;;;;-1:-1:-1;10645:10:0;;;;10568:95;;97919:47;;;;;;;;;;-1:-1:-1;97919:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;35161:164;;;;;;;;;;-1:-1:-1;35161:164:0;;;;;:::i;:::-;35282:25;;;;35258:4;35282:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35161:164;104175:142;;;;;;;;;;;;;:::i;13882:192::-;;;;;;;;;;-1:-1:-1;13882:192:0;;;;;:::i;:::-;;:::i;99597:109::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;;;;;;;;;99681:9:::1;:17:::0;99597:109::o;31998:305::-;32100:4;32137:40;;;32152:25;32137:40;;:105;;-1:-1:-1;32194:48:0;;;32209:33;32194:48;32137:105;:158;;;-1:-1:-1;25092:25:0;25077:40;;;;32259:36;32117:178;31998:305;-1:-1:-1;;31998:305:0:o;32943:100::-;32997:13;33030:5;33023:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32943:100;:::o;34502:221::-;34578:7;37985:16;;;:7;:16;;;;;;:30;:16;34598:73;;;;;;;18157:2:1;34598:73:0;;;18139:21:1;18196:2;18176:18;;;18169:30;18235:34;18215:18;;;18208:62;18306:14;18286:18;;;18279:42;18338:19;;34598:73:0;17955:408:1;34598:73:0;-1:-1:-1;34691:24:0;;;;:15;:24;;;;;;;;;34502:221::o;34025:411::-;34106:13;34122:23;34137:7;34122:14;:23::i;:::-;34106:39;;34170:5;34164:11;;:2;:11;;;;34156:57;;;;;;;20439:2:1;34156:57:0;;;20421:21:1;20478:2;20458:18;;;20451:30;20517:34;20497:18;;;20490:62;20588:3;20568:18;;;20561:31;20609:19;;34156:57:0;20237:397:1;34156:57:0;9384:10;34248:21;;;;;:62;;-1:-1:-1;35282:25:0;;;35258:4;35282:25;;;:18;:25;;;;;;;;9384:10;35282:35;;;;;;;;;;34273:37;34226:168;;;;;;;16211:2:1;34226:168:0;;;16193:21:1;16250:2;16230:18;;;16223:30;16289:34;16269:18;;;16262:62;16360:26;16340:18;;;16333:54;16404:19;;34226:168:0;16009:420:1;34226:168:0;34407:21;34416:2;34420:7;34407:8;:21::i;:::-;34095:341;34025:411;;:::o;99931:268::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;100074:11:::1;:33:::0;;;;100118:19;:29;100158:21;:33;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;99931:268::o;35392:339::-;35587:41;9384:10;35620:7;35587:18;:41::i;:::-;35579:103;;;;;;;21178:2:1;35579:103:0;;;21160:21:1;21217:2;21197:18;;;21190:30;21256:34;21236:18;;;21229:62;21327:19;21307:18;;;21300:47;21364:19;;35579:103:0;20976:413:1;35579:103:0;35695:28;35705:4;35711:2;35715:7;35695:9;:28::i;103158:1009::-;5664:1;6260:7;;:19;;6252:63;;;;;;;21937:2:1;6252:63:0;;;21919:21:1;21976:2;21956:18;;;21949:30;22015:33;21995:18;;;21988:61;22066:18;;6252:63:0;21735:355:1;6252:63:0;5664:1;6393:7;:18;103262:6:::1;::::0;103228:17:::1;::::0;103248:20:::1;::::0;103262:6:::1;::::0;;::::1;::::0;::::1;::::0;103248:11:::1;:20;:::i;:::-;103228:40;;;;103301:1;103289:9;:13;103281:35;;;::::0;::::1;::::0;;15463:2:1;103281:35:0::1;::::0;::::1;15445:21:1::0;15502:1;15482:18;;;15475:29;15540:11;15520:18;;;15513:39;15569:18;;103281:35:0::1;15261:332:1::0;103281:35:0::1;103347:1;103335:8;:13;;;;103327:35;;;::::0;::::1;::::0;;11009:2:1;103327:35:0::1;::::0;::::1;10991:21:1::0;11048:1;11028:18;;;11021:29;11086:11;11066:18;;;11059:39;11115:18;;103327:35:0::1;10807:332:1::0;103327:35:0::1;103393:9;103381:8;:21;;;;103373:44;;;::::0;::::1;::::0;;16636:2:1;103373:44:0::1;::::0;::::1;16618:21:1::0;16675:2;16655:18;;;16648:30;16714:12;16694:18;;;16687:40;16744:18;;103373:44:0::1;16434:334:1::0;103373:44:0::1;103445:10;103434:7;13055:6:::0;;;;;12982:87;103434:7:::1;:21;;;103430:518;;;103519:9;:14:::0;103511:37:::1;;;::::0;::::1;::::0;;22637:2:1;103511:37:0::1;::::0;::::1;22619:21:1::0;22676:2;22656:18;;;22649:30;22715:12;22695:18;;;22688:40;22745:18;;103511:37:0::1;22435:334:1::0;103511:37:0::1;103430:518;;;103589:10;:20:::0;103570:15:::1;:39;103566:382;;103674:28:::0;;::::1;::::0;;::::1;103662:40:::0;;::::1;;;103654:64;;;::::0;::::1;::::0;;18931:2:1;103654:64:0::1;::::0;::::1;18913:21:1::0;18970:2;18950:18;;;18943:30;19009:13;18989:18;;;18982:41;19040:18;;103654:64:0::1;18729:335:1::0;103654:64:0::1;103783:9;103770;;103759:8;:20;;;;;;:::i;:::-;:33;103733:108;;;::::0;::::1;::::0;;19681:2:1;103733:108:0::1;::::0;::::1;19663:21:1::0;19720:2;19700:18;;;19693:30;19759:15;19739:18;;;19732:43;19792:18;;103733:108:0::1;19479:337:1::0;103566:382:0::1;103919:17;::::0;::::1;::::0;;15128:2:1;103919:17:0::1;::::0;::::1;15110:21:1::0;15167:1;15147:18;;;15140:29;15205:9;15185:18;;;15178:37;15232:18;;103919:17:0::1;14926:330:1::0;103566:382:0::1;103976:9;103960:12;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;104032:8:0::1;::::0;-1:-1:-1;104051:109:0::1;104063:8;104059:12;;:1;:12;;;104051:109;;;104103:1;104093:6;;:11;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;104119:29;104129:10;104141:6;;;;;;;;;;;104119:29;;:9;:29::i;:::-;104073:3:::0;::::1;::::0;::::1;:::i;:::-;;;;104051:109;;;-1:-1:-1::0;;5620:1:0;6572:7;:22;-1:-1:-1;103158:1009:0:o;100456:223::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;100580:28;:48;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;:10:::1;100639:32:::0;100456:223::o;104988:380::-;10645:10;;10804:27;10645:10;9384;10804:27;10796:76;;;;;;;13208:2:1;10796:76:0;;;13190:21:1;13247:2;13227:18;;;13220:30;13286:34;13266:18;;;13259:62;13357:6;13337:18;;;13330:34;13381:19;;10796:76:0;13006:400:1;10796:76:0;105065:20:::1;105088;:18;:20::i;:::-;105065:43;;105139:12;105129:6;:22;;105121:46;;;::::0;::::1;::::0;;22297:2:1;105121:46:0::1;::::0;::::1;22279:21:1::0;22336:2;22316:18;;;22309:30;22375:13;22355:18;;;22348:41;22406:18;;105121:46:0::1;22095:335:1::0;105121:46:0::1;105203:6;105180:19;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;105239:34:0::1;::::0;105221:12:::1;::::0;105239:10:::1;::::0;105262:6;;105221:12;105239:34;105221:12;105239:34;105262:6;105239:10;:34:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105220:53;;;105292:7;105284:32;;;::::0;::::1;::::0;;21596:2:1;105284:32:0::1;::::0;::::1;21578:21:1::0;21635:2;21615:18;;;21608:30;21674:14;21654:18;;;21647:42;21706:18;;105284:32:0::1;21394:336:1::0;105284:32:0::1;105332:28;::::0;;105341:10:::1;9727:74:1::0;;9832:2;9817:18;;9810:34;;;105332:28:0::1;::::0;9700:18:1;105332:28:0::1;;;;;;;105054:314;;104988:380:::0;:::o;35802:185::-;35940:39;35957:4;35963:2;35967:7;35940:39;;;;;;;;;;;;:16;:39::i;99157:152::-;99234:10;99214:16;99222:7;99214;:16::i;:::-;:30;;;99206:68;;;;;;;10655:2:1;99206:68:0;;;10637:21:1;10694:2;10674:18;;;10667:30;10733:27;10713:18;;;10706:55;10778:18;;99206:68:0;10453:349:1;99206:68:0;99287:14;99293:7;99287:5;:14::i;:::-;99157:152;:::o;98668:90::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;98737:13:::1;:7;98747:3:::0;;98737:13:::1;:::i;32637:239::-:0;32709:7;32745:16;;;:7;:16;;;;;;;;32780:19;32772:73;;;;;;;17386:2:1;32772:73:0;;;17368:21:1;17425:2;17405:18;;;17398:30;17464:34;17444:18;;;17437:62;17535:11;17515:18;;;17508:39;17564:19;;32772:73:0;17184:405:1;100687:216:0;100840:55;;;;;9369:42:1;9357:55;;100840::0;;;9339:74:1;9432:6;9474:15;;;9454:18;;;9447:43;9526:15;;9506:18;;;9499:43;100813:7:0;;100840:15;;:30;;9312:18:1;;100840:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100833:62;100687:216;-1:-1:-1;;;;100687:216:0:o;98890:90::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;98953:10:::1;:19:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;98890:90::o;104506:308::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;104617:20:::1;:18;:20::i;:::-;104608:29;::::0;:6;:29:::1;:::i;:::-;104583:21;:54;;104575:78;;;::::0;::::1;::::0;;22297:2:1;104575:78:0::1;::::0;::::1;22279:21:1::0;22336:2;22316:18;;;22309:30;22375:13;22355:18;;;22348:41;22406:18;;104575:78:0::1;22095:335:1::0;104575:78:0::1;104685:34;::::0;104667:12:::1;::::0;104685:10:::1;::::0;104708:6;;104667:12;104685:34;104667:12;104685:34;104708:6;104685:10;:34:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104666:53;;;104738:7;104730:32;;;::::0;::::1;::::0;;21596:2:1;104730:32:0::1;::::0;::::1;21578:21:1::0;21635:2;21615:18;;;21608:30;21674:14;21654:18;;;21647:42;21706:18;;104730:32:0::1;21394:336:1::0;104730:32:0::1;104778:28;::::0;;104787:10:::1;9727:74:1::0;;9832:2;9817:18;;9810:34;;;104778:28:0::1;::::0;9700:18:1;104778:28:0::1;;;;;;;104564:250;104506:308:::0;:::o;32367:208::-;32439:7;32467:19;;;32459:74;;;;;;;16975:2:1;32459:74:0;;;16957:21:1;17014:2;16994:18;;;16987:30;17053:34;17033:18;;;17026:62;17124:12;17104:18;;;17097:40;17154:19;;32459:74:0;16773:406:1;32459:74:0;-1:-1:-1;32551:16:0;;;;;;:9;:16;;;;;;;32367:208::o;13633:94::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;13698:21:::1;13716:1;13698:9;:21::i;:::-;13633:94::o:0;11267:106::-;10645:10;;10804:27;10645:10;9384;10804:27;10796:76;;;;;;;13208:2:1;10796:76:0;;;13190:21:1;13247:2;13227:18;;;13220:30;13286:34;13266:18;;;13259:62;13357:6;13337:18;;;13330:34;13381:19;;10796:76:0;13006:400:1;10796:76:0;11340:25:::1;11362:1;11340:13;:25::i;101465:1399::-:0;5664:1;6260:7;;:19;;6252:63;;;;;;;21937:2:1;6252:63:0;;;21919:21:1;21976:2;21956:18;;;21949:30;22015:33;21995:18;;;21988:61;22066:18;;6252:63:0;21735:355:1;6252:63:0;5664:1;6393:7;:18;101646:6:::1;::::0;101612:17:::1;::::0;101632:20:::1;::::0;101646:6:::1;::::0;;::::1;::::0;::::1;::::0;101632:11:::1;:20;:::i;:::-;101612:40;;;;101685:1;101673:9;:13;101665:35;;;::::0;::::1;::::0;;15463:2:1;101665:35:0::1;::::0;::::1;15445:21:1::0;15502:1;15482:18;;;15475:29;15540:11;15520:18;;;15513:39;15569:18;;101665:35:0::1;15261:332:1::0;101665:35:0::1;101731:1;101719:8;:13;;;;101711:35;;;::::0;::::1;::::0;;11009:2:1;101711:35:0::1;::::0;::::1;10991:21:1::0;11048:1;11028:18;;;11021:29;11086:11;11066:18;;;11059:39;11115:18;;101711:35:0::1;10807:332:1::0;101711:35:0::1;101777:9;101765:8;:21;;;;101757:44;;;::::0;::::1;::::0;;16636:2:1;101757:44:0::1;::::0;::::1;16618:21:1::0;16675:2;16655:18;;;16648:30;16714:12;16694:18;;;16687:40;16744:18;;101757:44:0::1;16434:334:1::0;101757:44:0::1;101834:10;101820:25;::::0;;;:13:::1;:25;::::0;;;;;:33:::1;::::0;;::::1;:25:::0;::::1;:33;101812:56;;;::::0;::::1;::::0;;11346:2:1;101812:56:0::1;::::0;::::1;11328:21:1::0;11385:2;11365:18;;;11358:30;11424:12;11404:18;;;11397:40;11454:18;;101812:56:0::1;11144:334:1::0;101812:56:0::1;101903:11;:21:::0;101928:15:::1;-1:-1:-1::0;101903:40:0;::::1;::::0;:99:::1;;-1:-1:-1::0;101964:19:0;;101987:15:::1;-1:-1:-1::0;101964:38:0::1;101903:99;101881:156;;;::::0;::::1;::::0;;15128:2:1;101881:156:0::1;::::0;::::1;15110:21:1::0;15167:1;15147:18;;;15140:29;15205:9;15185:18;;;15178:37;15232:18;;101881:156:0::1;14926:330:1::0;101881:156:0::1;102111:10;::::0;102070:174:::1;::::0;;;;:15:::1;::::0;:22:::1;::::0;:174:::1;::::0;102111:10;;::::1;;;::::0;102140::::1;::::0;102169:8;;102196:5;;102220:9;;;;102111:10:::1;102070:174;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;102048:235;;;::::0;::::1;::::0;;12868:2:1;102048:235:0::1;::::0;::::1;12850:21:1::0;12907:2;12887:18;;;12880:30;12946:13;12926:18;;;12919:41;12977:18;;102048:235:0::1;12666:335:1::0;102048:235:0::1;102326:9;102314:8;102302:20;;:9;;:20;;;;:::i;:::-;:33;102294:55;;;::::0;::::1;::::0;;20841:2:1;102294:55:0::1;::::0;::::1;20823:21:1::0;20880:1;20860:18;;;20853:29;20918:11;20898:18;;;20891:39;20947:18;;102294:55:0::1;20639:332:1::0;102294:55:0::1;102420:21:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;102382:34:::1;::::0;102408:8;;102382:23:::1;:34;:::i;:::-;:59;;;;102360:123;;;::::0;::::1;::::0;;13613:2:1;102360:123:0::1;::::0;::::1;13595:21:1::0;13652:2;13632:18;;;13625:30;13691:16;13671:18;;;13664:44;13725:18;;102360:123:0::1;13411:338:1::0;102360:123:0::1;102515:10;102496:30;::::0;;;:18;:30:::1;::::0;;;;:42;;102530:8;;102496:30;:42:::1;::::0;102530:8;;102496:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;102576:8;102549:11;:23;;;:35;;;;;;;;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;;;::::1;;::::0;;::::1;;::::0;;::::1;::::0;;::::1;;;::::0;;;102609:10:::1;-1:-1:-1::0;102595:25:0;;;:13:::1;:25;::::0;;;;:33;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;102657:12:::1;:25:::0;;102673:9:::1;::::0;-1:-1:-1;102657:12:0;;-1:-1:-1;102657:25:0::1;::::0;102673:9;;102657:25:::1;:::i;:::-;::::0;;;-1:-1:-1;102729:8:0::1;::::0;-1:-1:-1;102748:109:0::1;102760:8;102756:12;;:1;:12;;;102748:109;;;102800:1;102790:6;;:11;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;102816:29;102826:10;102838:6;;;;;;;;;;;102816:29;;:9;:29::i;:::-;102770:3:::0;::::1;::::0;::::1;:::i;:::-;;;;102748:109;;;-1:-1:-1::0;;5620:1:0;6572:7;:22;-1:-1:-1;;;;101465:1399:0:o;33112:104::-;33168:13;33201:7;33194:14;;;;;:::i;11540:220::-;10645:10;;10804:27;10645:10;9384;10804:27;10796:76;;;;;;;13208:2:1;10796:76:0;;;13190:21:1;13247:2;13227:18;;;13220:30;13286:34;13266:18;;;13259:62;13357:6;13337:18;;;13330:34;13381:19;;10796:76:0;13006:400:1;10796:76:0;11641:26:::1;::::0;::::1;11633:81;;;::::0;::::1;::::0;;15800:2:1;11633:81:0::1;::::0;::::1;15782:21:1::0;15839:2;15819:18;;;15812:30;15878:34;15858:18;;;15851:62;15949:12;15929:18;;;15922:40;15979:19;;11633:81:0::1;15598:406:1::0;11633:81:0::1;11725:27;11739:12;11725:13;:27::i;34795:295::-:0;34898:24;;;9384:10;34898:24;;34890:62;;;;;;;14361:2:1;34890:62:0;;;14343:21:1;14400:2;14380:18;;;14373:30;14439:27;14419:18;;;14412:55;14484:18;;34890:62:0;14159:349:1;34890:62:0;9384:10;34965:32;;;;:18;:32;;;;;;;;;:42;;;;;;;;;;;;:53;;;;;;;;;;;;;35034:48;;9995:41:1;;;34965:42:0;;9384:10;35034:48;;9968:18:1;35034:48:0;;;;;;;34795:295;;:::o;36058:328::-;36233:41;9384:10;36266:7;36233:18;:41::i;:::-;36225:103;;;;;;;21178:2:1;36225:103:0;;;21160:21:1;21217:2;21197:18;;;21190:30;21256:34;21236:18;;;21229:62;21327:19;21307:18;;;21300:47;21364:19;;36225:103:0;20976:413:1;36225:103:0;36339:39;36353:4;36359:2;36363:7;36372:5;36339:13;:39::i;:::-;36058:328;;;;:::o;33287:334::-;37961:4;37985:16;;;:7;:16;;;;;;33360:13;;37985:30;:16;33386:76;;;;;;;20023:2:1;33386:76:0;;;20005:21:1;20062:2;20042:18;;;20035:30;20101:34;20081:18;;;20074:62;20172:17;20152:18;;;20145:45;20207:19;;33386:76:0;19821:411:1;33386:76:0;33475:21;33499:10;:8;:10::i;:::-;33475:34;;33551:1;33533:7;33527:21;:25;:86;;;;;;;;;;;;;;;;;33579:7;33588:18;:7;:16;:18::i;:::-;33562:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;33527:86;33520:93;33287:334;-1:-1:-1;;;33287:334:0:o;104175:142::-;104226:7;104290:19;;104253:34;104274:12;;95831:17;104253:20;;:34;;;;:::i;:::-;:56;;;;:::i;:::-;104246:63;;104175:142;:::o;13882:192::-;13055:6;;13202:23;13055:6;9384:10;13202:23;13194:68;;;;;;;18570:2:1;13194:68:0;;;18552:21:1;;;18589:18;;;18582:30;18648:34;18628:18;;;18621:62;18700:18;;13194:68:0;18368:356:1;13194:68:0;13971:22:::1;::::0;::::1;13963:73;;;::::0;::::1;::::0;;12104:2:1;13963:73:0::1;::::0;::::1;12086:21:1::0;12143:2;12123:18;;;12116:30;12182:34;12162:18;;;12155:62;12253:8;12233:18;;;12226:36;12279:19;;13963:73:0::1;11902:402:1::0;13963:73:0::1;14047:19;14057:8;14047:9;:19::i;41878:174::-:0;41953:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;42007:23;41953:24;42007:14;:23::i;:::-;41998:46;;;;;;;;;;;;41878:174;;:::o;38190:348::-;38283:4;37985:16;;;:7;:16;;;;;;:30;:16;38300:73;;;;;;;14715:2:1;38300:73:0;;;14697:21:1;14754:2;14734:18;;;14727:30;14793:34;14773:18;;;14766:62;14864:14;14844:18;;;14837:42;14896:19;;38300:73:0;14513:408:1;38300:73:0;38384:13;38400:23;38415:7;38400:14;:23::i;:::-;38384:39;;38453:5;38442:16;;:7;:16;;;:51;;;;38486:7;38462:31;;:20;38474:7;38462:11;:20::i;:::-;:31;;;38442:51;:87;;;-1:-1:-1;35282:25:0;;;;35258:4;35282:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;38497:32;35161:164;41182:578;41341:4;41314:31;;:23;41329:7;41314:14;:23::i;:::-;:31;;;41306:85;;;;;;;19271:2:1;41306:85:0;;;19253:21:1;19310:2;19290:18;;;19283:30;19349:34;19329:18;;;19322:62;19420:11;19400:18;;;19393:39;19449:19;;41306:85:0;19069:405:1;41306:85:0;41410:16;;;41402:65;;;;;;;13956:2:1;41402:65:0;;;13938:21:1;13995:2;13975:18;;;13968:30;14034:34;14014:18;;;14007:62;14105:6;14085:18;;;14078:34;14129:19;;41402:65:0;13754:400:1;41402:65:0;41584:29;41601:1;41605:7;41584:8;:29::i;:::-;41626:15;;;;;;;:9;:15;;;;;:20;;41645:1;;41626:15;:20;;41645:1;;41626:20;:::i;:::-;;;;-1:-1:-1;;41657:13:0;;;;;;;:9;:13;;;;;:18;;41674:1;;41657:13;:18;;41674:1;;41657:18;:::i;:::-;;;;-1:-1:-1;;41686:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;;41725:27;;41686:16;;41725:27;;;;;;;41182:578;;;:::o;38880:110::-;38956:26;38966:2;38970:7;38956:26;;;;;;;;;;;;:9;:26::i;:::-;38880:110;;:::o;40485:360::-;40545:13;40561:23;40576:7;40561:14;:23::i;:::-;40545:39;;40686:29;40703:1;40707:7;40686:8;:29::i;:::-;40728:16;;;;;;;:9;:16;;;;;:21;;40748:1;;40728:16;:21;;40748:1;;40728:21;:::i;:::-;;;;-1:-1:-1;;40767:16:0;;;;:7;:16;;;;;;40760:23;;;;;;40801:36;40775:7;;40767:16;40760:23;40801:36;;;;;40767:16;;40801:36;40534:311;40485:360;:::o;14082:173::-;14157:6;;;;14174:17;;;;;;;;;;;14207:40;;14157:6;;;14174:17;14157:6;;14207:40;;14138:16;;14207:40;14127:128;14082:173;:::o;11768:209::-;11855:10;;;;11876:25;;;;;;;;;;;11917:52;;11855:10;;;11876:25;11855:10;;11917:52;;11832:20;;11917:52;11821:156;11768:209;:::o;37268:315::-;37425:28;37435:4;37441:2;37445:7;37425:9;:28::i;:::-;37472:48;37495:4;37501:2;37505:7;37514:5;37472:22;:48::i;:::-;37464:111;;;;;;;11685:2:1;37464:111:0;;;11667:21:1;11724:2;11704:18;;;11697:30;11763:34;11743:18;;;11736:62;11834:20;11814:18;;;11807:48;11872:19;;37464:111:0;11483:414:1;98369:108:0;98429:13;98462:7;98455:14;;;;;:::i;6920:723::-;6976:13;7197:10;7193:53;;-1:-1:-1;;7224:10:0;;;;;;;;;;;;;;;;;;6920:723::o;7193:53::-;7271:5;7256:12;7312:78;7319:9;;7312:78;;7345:8;;;;:::i;:::-;;-1:-1:-1;7368:10:0;;-1:-1:-1;7376:2:0;7368:10;;:::i;:::-;;;7312:78;;;7400:19;7432:6;7422:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7422:17:0;;7400:39;;7450:154;7457:10;;7450:154;;7484:11;7494:1;7484:11;;:::i;:::-;;-1:-1:-1;7553:10:0;7561:2;7553:5;:10;:::i;:::-;7540:24;;:2;:24;:::i;:::-;7527:39;;7510:6;7517;7510:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;7581:11:0;7590:2;7581:11;;:::i;:::-;;;7450:154;;91701:132;91759:14;91795:30;91820:1;91823;91795:24;:30::i;39217:321::-;39347:18;39353:2;39357:7;39347:5;:18::i;:::-;39398:54;39429:1;39433:2;39437:7;39446:5;39398:22;:54::i;:::-;39376:154;;;;;;;11685:2:1;39376:154:0;;;11667:21:1;11724:2;11704:18;;;11697:30;11763:34;11743:18;;;11736:62;11834:20;11814:18;;;11807:48;11872:19;;39376:154:0;11483:414:1;42617:799:0;42772:4;42793:13;;;15351:20;15399:8;42789:620;;42829:72;;;;;:36;;;;;;:72;;9384:10;;42880:4;;42886:7;;42895:5;;42829:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42829:72:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;42825:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43071:13:0;;43067:272;;43114:60;;;;;11685:2:1;43114:60:0;;;11667:21:1;11724:2;11704:18;;;11697:30;11763:34;11743:18;;;11736:62;11834:20;11814:18;;;11807:48;11872:19;;43114:60:0;11483:414:1;43067:272:0;43289:6;43283:13;43274:6;43270:2;43266:15;43259:38;42825:529;42952:51;;42962:41;42952:51;;-1:-1:-1;42945:58:0;;42789:620;-1:-1:-1;43393:4:0;42617:799;;;;;;:::o;64815:1188::-;64886:14;;;65008:6;65005:1;65002;64995:20;65045:1;65042;65038:9;65029:18;;65097:5;65093:2;65090:13;65082:5;65078:2;65074:14;65070:34;65061:43;;;48447:4;65131:5;:14;65127:94;;65169:40;;;;;;;;10193:25:1;;;10166:18;;65169:40:0;10047:177:1;65127:94:0;65233:17;65261:19;65341:5;65338:1;65335;65328:19;65315:32;-1:-1:-1;;65390:18:0;65376:33;;65436:10;65432:157;;65519:11;48447:4;65502:5;:13;65501:29;65492:38;;65549:13;;;;;;65432:157;65845:11;65716:21;;;65712:39;65793:20;;;;65782:32;;;65816:45;65778:84;65683:202;;;;65908:13;65657:283;65635:350;;-1:-1:-1;64815:1188:0;;;;:::o;39874:382::-;39954:16;;;39946:61;;;;;;;17796:2:1;39946:61:0;;;17778:21:1;;;17815:18;;;17808:30;17874:34;17854:18;;;17847:62;17926:18;;39946:61:0;17594:356:1;39946:61:0;37961:4;37985:16;;;:7;:16;;;;;;:30;:16;:30;40018:58;;;;;;;12511:2:1;40018:58:0;;;12493:21:1;12550:2;12530:18;;;12523:30;12589;12569:18;;;12562:58;12637:18;;40018:58:0;12309:352:1;40018:58:0;40147:13;;;;;;;:9;:13;;;;;:18;;40164:1;;40147:13;:18;;40164:1;;40147:18;:::i;:::-;;;;-1:-1:-1;;40176:16:0;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;40215:33;;40176:16;;;40215:33;;40176:16;;40215:33;39874:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:196:1;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:347::-;266:8;276:6;330:3;323:4;315:6;311:17;307:27;297:55;;348:1;345;338:12;297:55;-1:-1:-1;371:20:1;;414:18;403:30;;400:50;;;446:1;443;436:12;400:50;483:4;475:6;471:17;459:29;;535:3;528:4;519:6;511;507:19;503:30;500:39;497:59;;;552:1;549;542:12;497:59;215:347;;;;;:::o;567:159::-;634:20;;694:6;683:18;;673:29;;663:57;;716:1;713;706:12;731:186;790:6;843:2;831:9;822:7;818:23;814:32;811:52;;;859:1;856;849:12;811:52;882:29;901:9;882:29;:::i;922:260::-;990:6;998;1051:2;1039:9;1030:7;1026:23;1022:32;1019:52;;;1067:1;1064;1057:12;1019:52;1090:29;1109:9;1090:29;:::i;:::-;1080:39;;1138:38;1172:2;1161:9;1157:18;1138:38;:::i;:::-;1128:48;;922:260;;;;;:::o;1187:328::-;1264:6;1272;1280;1333:2;1321:9;1312:7;1308:23;1304:32;1301:52;;;1349:1;1346;1339:12;1301:52;1372:29;1391:9;1372:29;:::i;:::-;1362:39;;1420:38;1454:2;1443:9;1439:18;1420:38;:::i;:::-;1410:48;;1505:2;1494:9;1490:18;1477:32;1467:42;;1187:328;;;;;:::o;1520:1197::-;1615:6;1623;1631;1639;1692:3;1680:9;1671:7;1667:23;1663:33;1660:53;;;1709:1;1706;1699:12;1660:53;1732:29;1751:9;1732:29;:::i;:::-;1722:39;;1780:38;1814:2;1803:9;1799:18;1780:38;:::i;:::-;1770:48;;1865:2;1854:9;1850:18;1837:32;1827:42;;1920:2;1909:9;1905:18;1892:32;1943:18;1984:2;1976:6;1973:14;1970:34;;;2000:1;1997;1990:12;1970:34;2038:6;2027:9;2023:22;2013:32;;2083:7;2076:4;2072:2;2068:13;2064:27;2054:55;;2105:1;2102;2095:12;2054:55;2141:2;2128:16;2163:2;2159;2156:10;2153:36;;;2169:18;;:::i;:::-;2303:2;2297:9;2365:4;2357:13;;2208:66;2353:22;;;2377:2;2349:31;2345:40;2333:53;;;2401:18;;;2421:22;;;2398:46;2395:72;;;2447:18;;:::i;:::-;2487:10;2483:2;2476:22;2522:2;2514:6;2507:18;2562:7;2557:2;2552;2548;2544:11;2540:20;2537:33;2534:53;;;2583:1;2580;2573:12;2534:53;2639:2;2634;2630;2626:11;2621:2;2613:6;2609:15;2596:46;2684:1;2679:2;2674;2666:6;2662:15;2658:24;2651:35;2705:6;2695:16;;;;;;;1520:1197;;;;;;;:::o;2722:315::-;2787:6;2795;2848:2;2836:9;2827:7;2823:23;2819:32;2816:52;;;2864:1;2861;2854:12;2816:52;2887:29;2906:9;2887:29;:::i;:::-;2877:39;;2966:2;2955:9;2951:18;2938:32;2979:28;3001:5;2979:28;:::i;:::-;3026:5;3016:15;;;2722:315;;;;;:::o;3042:330::-;3117:6;3125;3133;3186:2;3174:9;3165:7;3161:23;3157:32;3154:52;;;3202:1;3199;3192:12;3154:52;3225:29;3244:9;3225:29;:::i;:::-;3215:39;;3273:37;3306:2;3295:9;3291:18;3273:37;:::i;:::-;3263:47;;3329:37;3362:2;3351:9;3347:18;3329:37;:::i;:::-;3319:47;;3042:330;;;;;:::o;3377:254::-;3445:6;3453;3506:2;3494:9;3485:7;3481:23;3477:32;3474:52;;;3522:1;3519;3512:12;3474:52;3545:29;3564:9;3545:29;:::i;:::-;3535:39;3621:2;3606:18;;;;3593:32;;-1:-1:-1;;;3377:254:1:o;3636:245::-;3703:6;3756:2;3744:9;3735:7;3731:23;3727:32;3724:52;;;3772:1;3769;3762:12;3724:52;3804:9;3798:16;3823:28;3845:5;3823:28;:::i;3886:184::-;3956:6;4009:2;3997:9;3988:7;3984:23;3980:32;3977:52;;;4025:1;4022;4015:12;3977:52;-1:-1:-1;4048:16:1;;3886:184;-1:-1:-1;3886:184:1:o;4075:245::-;4133:6;4186:2;4174:9;4165:7;4161:23;4157:32;4154:52;;;4202:1;4199;4192:12;4154:52;4241:9;4228:23;4260:30;4284:5;4260:30;:::i;4325:249::-;4394:6;4447:2;4435:9;4426:7;4422:23;4418:32;4415:52;;;4463:1;4460;4453:12;4415:52;4495:9;4489:16;4514:30;4538:5;4514:30;:::i;4579:410::-;4650:6;4658;4711:2;4699:9;4690:7;4686:23;4682:32;4679:52;;;4727:1;4724;4717:12;4679:52;4767:9;4754:23;4800:18;4792:6;4789:30;4786:50;;;4832:1;4829;4822:12;4786:50;4871:58;4921:7;4912:6;4901:9;4897:22;4871:58;:::i;:::-;4948:8;;4845:84;;-1:-1:-1;4579:410:1;-1:-1:-1;;;;4579:410:1:o;4994:184::-;5052:6;5105:2;5093:9;5084:7;5080:23;5076:32;5073:52;;;5121:1;5118;5111:12;5073:52;5144:28;5162:9;5144:28;:::i;5183:553::-;5269:6;5277;5285;5293;5346:2;5334:9;5325:7;5321:23;5317:32;5314:52;;;5362:1;5359;5352:12;5314:52;5385:28;5403:9;5385:28;:::i;:::-;5375:38;;5432:37;5465:2;5454:9;5450:18;5432:37;:::i;:::-;5422:47;;5520:2;5509:9;5505:18;5492:32;5547:18;5539:6;5536:30;5533:50;;;5579:1;5576;5569:12;5533:50;5618:58;5668:7;5659:6;5648:9;5644:22;5618:58;:::i;:::-;5183:553;;;;-1:-1:-1;5695:8:1;-1:-1:-1;;;;5183:553:1:o;5741:252::-;5808:6;5816;5869:2;5857:9;5848:7;5844:23;5840:32;5837:52;;;5885:1;5882;5875:12;5837:52;5908:28;5926:9;5908:28;:::i;5998:180::-;6057:6;6110:2;6098:9;6089:7;6085:23;6081:32;6078:52;;;6126:1;6123;6116:12;6078:52;-1:-1:-1;6149:23:1;;5998:180;-1:-1:-1;5998:180:1:o;6183:320::-;6259:6;6267;6275;6328:2;6316:9;6307:7;6303:23;6299:32;6296:52;;;6344:1;6341;6334:12;6296:52;6380:9;6367:23;6357:33;;6437:2;6426:9;6422:18;6409:32;6399:42;;6460:37;6493:2;6482:9;6478:18;6460:37;:::i;6508:316::-;6549:3;6587:5;6581:12;6614:6;6609:3;6602:19;6630:63;6686:6;6679:4;6674:3;6670:14;6663:4;6656:5;6652:16;6630:63;:::i;:::-;6738:2;6726:15;6743:66;6722:88;6713:98;;;;6813:4;6709:109;;6508:316;-1:-1:-1;;6508:316:1:o;6829:470::-;7008:3;7046:6;7040:13;7062:53;7108:6;7103:3;7096:4;7088:6;7084:17;7062:53;:::i;:::-;7178:13;;7137:16;;;;7200:57;7178:13;7137:16;7234:4;7222:17;;7200:57;:::i;:::-;7273:20;;6829:470;-1:-1:-1;;;;6829:470:1:o;7745:865::-;8012:42;8081:15;;;8063:34;;8133:15;;8128:2;8113:18;;8106:43;8168:6;8210:15;;;8205:2;8190:18;;8183:43;8262:15;;8257:2;8242:18;;8235:43;8315:3;8309;8294:19;;8287:32;;;8335:19;;8328:35;;;7983:4;8356:6;8406;8400:3;8385:19;;8372:49;8471:1;8465:3;8456:6;8445:9;8441:22;8437:32;8430:43;8600:3;8530:66;8525:2;8517:6;8513:15;8509:88;8498:9;8494:104;8490:114;8482:122;;7745:865;;;;;;;;;:::o;8615:511::-;8809:4;8838:42;8919:2;8911:6;8907:15;8896:9;8889:34;8971:2;8963:6;8959:15;8954:2;8943:9;8939:18;8932:43;;9011:6;9006:2;8995:9;8991:18;8984:34;9054:3;9049:2;9038:9;9034:18;9027:31;9075:45;9115:3;9104:9;9100:19;9092:6;9075:45;:::i;:::-;9067:53;8615:511;-1:-1:-1;;;;;;8615:511:1:o;10229:219::-;10378:2;10367:9;10360:21;10341:4;10398:44;10438:2;10427:9;10423:18;10415:6;10398:44;:::i;23848:224::-;23887:3;23915:6;23948:2;23945:1;23941:10;23978:2;23975:1;23971:10;24009:3;24005:2;24001:12;23996:3;23993:21;23990:47;;;24017:18;;:::i;24077:128::-;24117:3;24148:1;24144:6;24141:1;24138:13;24135:39;;;24154:18;;:::i;:::-;-1:-1:-1;24190:9:1;;24077:128::o;24210:120::-;24250:1;24276;24266:35;;24281:18;;:::i;:::-;-1:-1:-1;24315:9:1;;24210:120::o;24335:228::-;24375:7;24501:1;24433:66;24429:74;24426:1;24423:81;24418:1;24411:9;24404:17;24400:105;24397:131;;;24508:18;;:::i;:::-;-1:-1:-1;24548:9:1;;24335:228::o;24568:217::-;24607:4;24636:6;24692:10;;;;24662;;24714:12;;;24711:38;;;24729:18;;:::i;:::-;24766:13;;24568:217;-1:-1:-1;;;24568:217:1:o;24790:125::-;24830:4;24858:1;24855;24852:8;24849:34;;;24863:18;;:::i;:::-;-1:-1:-1;24900:9:1;;24790:125::o;24920:258::-;24992:1;25002:113;25016:6;25013:1;25010:13;25002:113;;;25092:11;;;25086:18;25073:11;;;25066:39;25038:2;25031:10;25002:113;;;25133:6;25130:1;25127:13;25124:48;;;-1:-1:-1;;25168:1:1;25150:16;;25143:27;24920:258::o;25183:437::-;25262:1;25258:12;;;;25305;;;25326:61;;25380:4;25372:6;25368:17;25358:27;;25326:61;25433:2;25425:6;25422:14;25402:18;25399:38;25396:218;;;25470:77;25467:1;25460:88;25571:4;25568:1;25561:15;25599:4;25596:1;25589:15;25396:218;;25183:437;;;:::o;25625:197::-;25663:3;25691:6;25732:2;25725:5;25721:14;25759:2;25750:7;25747:15;25744:41;;;25765:18;;:::i;:::-;25814:1;25801:15;;25625:197;-1:-1:-1;;;25625:197:1:o;25827:195::-;25866:3;25897:66;25890:5;25887:77;25884:103;;;25967:18;;:::i;:::-;-1:-1:-1;26014:1:1;26003:13;;25827:195::o;26027:112::-;26059:1;26085;26075:35;;26090:18;;:::i;:::-;-1:-1:-1;26124:9:1;;26027:112::o;26144:184::-;26196:77;26193:1;26186:88;26293:4;26290:1;26283:15;26317:4;26314:1;26307:15;26333:184;26385:77;26382:1;26375:88;26482:4;26479:1;26472:15;26506:4;26503:1;26496:15;26522:184;26574:77;26571:1;26564:88;26671:4;26668:1;26661:15;26695:4;26692:1;26685:15;26711:184;26763:77;26760:1;26753:88;26860:4;26857:1;26850:15;26884:4;26881:1;26874:15;26900:118;26986:5;26979:13;26972:21;26965:5;26962:32;26952:60;;27008:1;27005;26998:12;27023:177;27108:66;27101:5;27097:78;27090:5;27087:89;27077:117;;27190:1;27187;27180:12

Swarm Source

ipfs://b544ddd7c455034633548e754f7023b058422eecc14da0ced4db421ca17c9a2c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

4,444 Algorithmically Generated Jesus NFTs, Chilling on the Ethereum Blockchain

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.