ETH Price: $3,680.66 (+2.22%)

Contract

0x4D5c95A1A0285fb7312663F8517DFeCFfE22743b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...204970542024-08-10 8:35:47112 days ago1723278947IN
0x4D5c95A1...FfE22743b
0 ETH0.000094222.04172798
Set Approval For...183823752023-10-19 5:42:59408 days ago1697694179IN
0x4D5c95A1...FfE22743b
0 ETH0.00026945.83794714
Dig Dig Gremlin158616762022-10-30 15:08:23762 days ago1667142503IN
0x4D5c95A1...FfE22743b
0 ETH0.001005228.6689068
Set Approval For...156808682022-10-05 8:59:35787 days ago1664960375IN
0x4D5c95A1...FfE22743b
0 ETH0.00021174.58752169
Set Approval For...152034302022-07-24 5:24:20860 days ago1658640260IN
0x4D5c95A1...FfE22743b
0 ETH0.0004650210.07679116
Dig Dig Gremlin152034012022-07-24 5:17:41860 days ago1658639861IN
0x4D5c95A1...FfE22743b
0 ETH0.0011872910.64547885
Dig Dig Gremlin151848702022-07-21 8:30:44863 days ago1658392244IN
0x4D5c95A1...FfE22743b
0 ETH0.0011418810.23840785
Dig Dig Gremlin151832282022-07-21 2:21:41863 days ago1658370101IN
0x4D5c95A1...FfE22743b
0 ETH0.0008664819.6794702
Dig Dig Gremlin151832272022-07-21 2:21:02863 days ago1658370062IN
0x4D5c95A1...FfE22743b
0 ETH0.002047917.66071674
Dig Dig Gremlin151717432022-07-19 7:35:58865 days ago1658216158IN
0x4D5c95A1...FfE22743b
0 ETH0.001631614.34455577
Dig Dig Gremlin151709822022-07-19 4:41:36865 days ago1658205696IN
0x4D5c95A1...FfE22743b
0 ETH0.0024192220.86297406
Set Approval For...151707352022-07-19 3:46:20865 days ago1658202380IN
0x4D5c95A1...FfE22743b
0 ETH0.0005920712.8299056
Dig Dig Gremlin151707192022-07-19 3:43:20865 days ago1658202200IN
0x4D5c95A1...FfE22743b
0 ETH0.0016270714.30470545
Dig Dig Gremlin151707152022-07-19 3:42:45865 days ago1658202165IN
0x4D5c95A1...FfE22743b
0 ETH0.0017678715.24578869
Dig Dig Gremlin151706692022-07-19 3:31:43865 days ago1658201503IN
0x4D5c95A1...FfE22743b
0 ETH0.0009196720.88746327
Dig Dig Gremlin151706692022-07-19 3:31:43865 days ago1658201503IN
0x4D5c95A1...FfE22743b
0 ETH0.0009196720.88746327
Dig Dig Gremlin151706692022-07-19 3:31:43865 days ago1658201503IN
0x4D5c95A1...FfE22743b
0 ETH0.000880620
Dig Dig Gremlin151706682022-07-19 3:31:33865 days ago1658201493IN
0x4D5c95A1...FfE22743b
0 ETH0.0009636221.88554081
Dig Dig Gremlin151706682022-07-19 3:31:33865 days ago1658201493IN
0x4D5c95A1...FfE22743b
0 ETH0.0009246321
Dig Dig Gremlin151706682022-07-19 3:31:33865 days ago1658201493IN
0x4D5c95A1...FfE22743b
0 ETH0.0024351121
Dig Dig Gremlin151706652022-07-19 3:31:15865 days ago1658201475IN
0x4D5c95A1...FfE22743b
0 ETH0.0027829924
Dig Dig Gremlin151706452022-07-19 3:26:22865 days ago1658201182IN
0x4D5c95A1...FfE22743b
0 ETH0.0031709127.34538187
Dig Dig Gremlin151706382022-07-19 3:24:51865 days ago1658201091IN
0x4D5c95A1...FfE22743b
0 ETH0.0029260425.2336887
Dig Dig Gremlin151705772022-07-19 3:10:46865 days ago1658200246IN
0x4D5c95A1...FfE22743b
0 ETH0.0023191620
Dig Dig Gremlin151705702022-07-19 3:09:29865 days ago1658200169IN
0x4D5c95A1...FfE22743b
0 ETH0.0026350522.72420001
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GremlinUnderground

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-09
*/

/*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   @@@    @@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@   @@@@@@@@@@@@@@@     @@@@  @@@@@@@@@@@@@@@@   @@@   @@@@@@     @@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@   @@@        @@     @@@  .@@@  @@      @  @@    @@@@@@@@@@   @@@   @@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@   @@@@@@@@@  @   @@@@@        @@@     @@  @@   @@@  @@@@@   @@@@@   @@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@           .@@   @@@@@@       @@  @   @@   @   @@@  @@@@    @@@@@   @@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  @@   @@@@   @@@@@@   @@@@@@@@@@@@@@
@@@@@@@@@@@   @@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  @@@@@,@@@@@@@@@  @@@@@@@@@@@@@@
@@@@   @@@@   @@@@@@@@@@@@ @  @@@@   %@@@@@@@@@@@@ ,  @@@@      @@@@@@@@@@@@@ @@@@@@@@@@@@@  @@@@@@@
@@@@  @@@@    @@@@@@@@@@  @    @@  @@  @       @@ @@@  @@  @@@@      @@  @@@   @@@@@@@@@@@@  @@@@@@@
@@@@   @@@   @@       @#  @@*          @  @@@@@@@@     @@  @@@   @@@  @  @@   @@     @@      @@@@@@@
@@@@@   @    @*   @    @           @@@@@*  @@@@@@  @   @@@@@@@@      @@@    @@@  @@@  @@     @@@@@@@
@@@@@@     @@@/  @@@   @@@@/ @@@@@    @@@@@@@@@@@@   @@@@@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@@
*/

// SPDX-License-Identifier: MIT

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: ECDSA.sol


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}
// File: 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: 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: 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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: Payment.sol


// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;



/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract Payment is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }


    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }


    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }


    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}
// File: 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: 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: 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: 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: IERC721Enumerable.sol



pragma solidity ^0.8.0;


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

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

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}
// File: 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: ERC721A.sol


pragma solidity ^0.8.0;









contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            'ERC721A: approve caller is not owner nor approved for all'
        );

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: 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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

pragma solidity ^0.8.2;

contract GremlinUnderground is ERC721A, Ownable, ReentrancyGuard {  
    using Strings for uint256;
    string public gremlinJPGs;
    bool public digdigdig = false;
    uint256 public gremlinz = 8888;
    uint256 public gremlinzUCanDig = 12; 
    uint256 public gremlinzUCanDigFree = 3;
    uint256 public gremlinzPerScoop = 3;
    uint256 public freeGremlinz = 1969;
    uint256 public gremlinzDigPrice = 0.0069 ether;
    mapping(address => uint256) public uBaggedDisMany;

   
	constructor() ERC721A("gremlin_underground", "GREMLINZ") {}

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

 	function digDigGremlin(uint256 howManyGremlinz) external payable nonReentrant {
  	    uint256 totalGremlinzDug = totalSupply();
        require(digdigdig, "no dig gremlinz yet");
        require(totalGremlinzDug + howManyGremlinz <= gremlinz, "why u want 2many gremlinz");
        require(msg.sender == tx.origin, "only dig gremlinz bi hand cheatr");
        require(howManyGremlinz <= gremlinzPerScoop, "u scoop too many at once");
    	require(uBaggedDisMany[msg.sender] < gremlinzUCanDig, "u 2tired 2 dig more");

        if (totalGremlinzDug + howManyGremlinz > freeGremlinz) {
            require(
                (gremlinzDigPrice * howManyGremlinz) >= msg.value, "u cheap"
            );
        }
        else {
            require(
                (uBaggedDisMany[msg.sender] + howManyGremlinz) <= gremlinzUCanDigFree, "u tak 2 many free"
            );
        }

        _safeMint(msg.sender, howManyGremlinz);
        uBaggedDisMany[msg.sender] += howManyGremlinz;
    }

 	function puntGremlinz(address catcher, uint256 _gremlinz) public onlyOwner {
  	    uint256 totalGremlinzDug = totalSupply();
	    require(totalGremlinzDug + _gremlinz <= gremlinz);
        _safeMint(catcher, _gremlinz);
    }

    function startErrStopDiggin() external onlyOwner {
        digdigdig = !digdigdig;
    }

    function howManyCanDig(uint256 _digDisMany) external onlyOwner {
        gremlinzUCanDig = _digDisMany;
    }

    function howManyDugFree(uint256 _disManyFree) external onlyOwner {
        freeGremlinz = _disManyFree;
    }

    function makeGremlinAppear(string memory _jpgs) external onlyOwner {
        gremlinJPGs = _jpgs;
    }

    function makeLessGremmies(uint256 _gremmiesLeft) external onlyOwner {
        require(_gremmiesLeft < gremlinz);
        gremlinz = _gremmiesLeft;
    }

    function takeFakeMonies() public payable onlyOwner {
	(bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
		require(success);
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"howManyGremlinz","type":"uint256"}],"name":"digDigGremlin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"digdigdig","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeGremlinz","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":[],"name":"gremlinJPGs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gremlinz","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gremlinzDigPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gremlinzPerScoop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gremlinzUCanDig","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gremlinzUCanDigFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_digDisMany","type":"uint256"}],"name":"howManyCanDig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_disManyFree","type":"uint256"}],"name":"howManyDugFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_jpgs","type":"string"}],"name":"makeGremlinAppear","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gremmiesLeft","type":"uint256"}],"name":"makeLessGremmies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"catcher","type":"address"},{"internalType":"uint256","name":"_gremlinz","type":"uint256"}],"name":"puntGremlinz","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":[],"name":"startErrStopDiggin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"takeFakeMonies","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uBaggedDisMany","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052600a805460ff191690556122b8600b55600c80556003600d819055600e556107b1600f556618838370f340006010553480156200004057600080fd5b50604080518082018252601381527f6772656d6c696e5f756e64657267726f756e640000000000000000000000000060208083019182528351808501909452600884526723a922a6a624a72d60c11b908401528151919291620000a6916001916200013a565b508051620000bc9060029060208401906200013a565b505050620000d9620000d3620000e460201b60201c565b620000e8565b60016008556200021d565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014890620001e0565b90600052602060002090601f0160209004810192826200016c5760008555620001b7565b82601f106200018757805160ff1916838001178555620001b7565b82800160010185558215620001b7579182015b82811115620001b75782518255916020019190600101906200019a565b50620001c5929150620001c9565b5090565b5b80821115620001c55760008155600101620001ca565b600281046001821680620001f557607f821691505b602082108114156200021757634e487b7160e01b600052602260045260246000fd5b50919050565b612241806200022d6000396000f3fe60806040526004361061020f5760003560e01c80635e7d10f511610118578063c4cb6854116100a0578063e56b5cb81161006f578063e56b5cb8146105a0578063e985e9c5146105c0578063eea25b5e14610609578063f2fde38b14610629578063fa8a24bb146106495761020f565b8063c4cb685414610542578063c87b56dd14610562578063ca25bc8414610582578063d8e9d53e146105985761020f565b80638da5cb5b116100e75780638da5cb5b146104ba57806395d89b41146104d857806399eb6faa146104ed578063a22cb46514610502578063b88d4fde146105225761020f565b80635e7d10f5146104385780636352211e1461046557806370a0823114610485578063715018a6146104a55761020f565b80631aff6af51161019b5780632f745c591161016a5780632f745c59146103af5780633bc83428146103cf57806342842e0e146103e25780634ec0efd0146104025780634f6ccce7146104185761020f565b80631aff6af51461033f5780631ef5ea2a1461035f57806320725fa71461037957806323b872dd1461038f5761020f565b8063148f72a0116101e2578063148f72a0146102c55780631493138c146102e95780631809ec32146102fe57806318160ddd146103145780631963216a146103295761020f565b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611ef2565b610669565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106d8565b6040516102409190612020565b34801561027757600080fd5b5061028b610286366004611f70565b61076a565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611ec9565b6107fa565b005b3480156102d157600080fd5b506102db600e5481565b604051908152602001610240565b3480156102f557600080fd5b5061025e610912565b34801561030a57600080fd5b506102db600f5481565b34801561032057600080fd5b506000546102db565b34801561033557600080fd5b506102db600b5481565b34801561034b57600080fd5b506102c361035a366004611f2a565b6109a0565b34801561036b57600080fd5b50600a546102349060ff1681565b34801561038557600080fd5b506102db600c5481565b34801561039b57600080fd5b506102c36103aa366004611ddb565b6109e1565b3480156103bb57600080fd5b506102db6103ca366004611ec9565b6109ec565b6102c36103dd366004611f70565b610b4f565b3480156103ee57600080fd5b506102c36103fd366004611ddb565b610e3a565b34801561040e57600080fd5b506102db60105481565b34801561042457600080fd5b506102db610433366004611f70565b610e55565b34801561044457600080fd5b506102db610453366004611d8f565b60116020526000908152604090205481565b34801561047157600080fd5b5061028b610480366004611f70565b610eb7565b34801561049157600080fd5b506102db6104a0366004611d8f565b610ec9565b3480156104b157600080fd5b506102c3610f5a565b3480156104c657600080fd5b506007546001600160a01b031661028b565b3480156104e457600080fd5b5061025e610f90565b3480156104f957600080fd5b506102c3610f9f565b34801561050e57600080fd5b506102c361051d366004611e8f565b610fdd565b34801561052e57600080fd5b506102c361053d366004611e16565b6110af565b34801561054e57600080fd5b506102c361055d366004611f70565b6110e8565b34801561056e57600080fd5b5061025e61057d366004611f70565b611117565b34801561058e57600080fd5b506102db600d5481565b6102c36111e5565b3480156105ac57600080fd5b506102c36105bb366004611f70565b611267565b3480156105cc57600080fd5b506102346105db366004611da9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561061557600080fd5b506102c3610624366004611f70565b611296565b34801561063557600080fd5b506102c3610644366004611d8f565b6112d3565b34801561065557600080fd5b506102c3610664366004611ec9565b61136b565b60006001600160e01b031982166380ac58cd60e01b148061069a57506001600160e01b03198216635b5e139f60e01b145b806106b557506001600160e01b0319821663780e9d6360e01b145b806106d057506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6060600180546106e790612149565b80601f016020809104026020016040519081016040528092919081815260200182805461071390612149565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000610777826000541190565b6107de5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061080582610eb7565b9050806001600160a01b0316836001600160a01b031614156108745760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016107d5565b336001600160a01b0382161480610890575061089081336105db565b6109025760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016107d5565b61090d8383836113ba565b505050565b6009805461091f90612149565b80601f016020809104026020016040519081016040528092919081815260200182805461094b90612149565b80156109985780601f1061096d57610100808354040283529160200191610998565b820191906000526020600020905b81548152906001019060200180831161097b57829003601f168201915b505050505081565b6007546001600160a01b031633146109ca5760405162461bcd60e51b81526004016107d590612033565b80516109dd906009906020840190611c72565b5050565b61090d838383611416565b60006109f783610ec9565b8210610a505760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107d5565b600080549080805b83811015610ae9576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610aab57805192505b876001600160a01b0316836001600160a01b03161415610ae05786841415610ad957509350610b4992505050565b6001909301925b50600101610a58565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016107d5565b92915050565b60026008541415610ba25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107d5565b6002600855600054600a5460ff16610bf25760405162461bcd60e51b81526020600482015260136024820152721b9bc8191a59c819dc995b5b1a5b9e881e595d606a1b60448201526064016107d5565b600b54610bff83836120bb565b1115610c4d5760405162461bcd60e51b815260206004820152601960248201527f77687920752077616e7420326d616e79206772656d6c696e7a0000000000000060448201526064016107d5565b333214610c9c5760405162461bcd60e51b815260206004820181905260248201527f6f6e6c7920646967206772656d6c696e7a2062692068616e642063686561747260448201526064016107d5565b600e54821115610cee5760405162461bcd60e51b815260206004820152601860248201527f752073636f6f7020746f6f206d616e79206174206f6e6365000000000000000060448201526064016107d5565b600c543360009081526011602052604090205410610d445760405162461bcd60e51b81526020600482015260136024820152727520327469726564203220646967206d6f726560681b60448201526064016107d5565b600f54610d5183836120bb565b1115610da3573482601054610d6691906120e7565b1015610d9e5760405162461bcd60e51b81526020600482015260076024820152660752063686561760cc1b60448201526064016107d5565b610e03565b600d5433600090815260116020526040902054610dc19084906120bb565b1115610e035760405162461bcd60e51b8152602060048201526011602482015270752074616b2032206d616e79206672656560781b60448201526064016107d5565b610e0d338361171a565b3360009081526011602052604081208054849290610e2c9084906120bb565b909155505060016008555050565b61090d838383604051806020016040528060008152506110af565b600080548210610eb35760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016107d5565b5090565b6000610ec282611734565b5192915050565b60006001600160a01b038216610f355760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016107d5565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610f845760405162461bcd60e51b81526004016107d590612033565b610f8e600061180d565b565b6060600280546106e790612149565b6007546001600160a01b03163314610fc95760405162461bcd60e51b81526004016107d590612033565b600a805460ff19811660ff90911615179055565b6001600160a01b0382163314156110365760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016107d5565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110a3911515815260200190565b60405180910390a35050565b6110ba848484611416565b6110c68484848461185f565b6110e25760405162461bcd60e51b81526004016107d590612068565b50505050565b6007546001600160a01b031633146111125760405162461bcd60e51b81526004016107d590612033565b600c55565b6060611124826000541190565b6111885760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d5565b600061119261196d565b90508051600014156111b357604051806020016040528060008152506111de565b806111bd8461197c565b6040516020016111ce929190611fb4565b6040516020818303038152906040525b9392505050565b6007546001600160a01b0316331461120f5760405162461bcd60e51b81526004016107d590612033565b604051600090339047908381818185875af1925050503d8060008114611251576040519150601f19603f3d011682016040523d82523d6000602084013e611256565b606091505b505090508061126457600080fd5b50565b6007546001600160a01b031633146112915760405162461bcd60e51b81526004016107d590612033565b600f55565b6007546001600160a01b031633146112c05760405162461bcd60e51b81526004016107d590612033565b600b5481106112ce57600080fd5b600b55565b6007546001600160a01b031633146112fd5760405162461bcd60e51b81526004016107d590612033565b6001600160a01b0381166113625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d5565b6112648161180d565b6007546001600160a01b031633146113955760405162461bcd60e51b81526004016107d590612033565b600054600b546113a583836120bb565b11156113b057600080fd5b61090d838361171a565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061142182611734565b80519091506000906001600160a01b0316336001600160a01b0316148061145857503361144d8461076a565b6001600160a01b0316145b8061146a5750815161146a90336105db565b9050806114d45760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016107d5565b846001600160a01b031682600001516001600160a01b0316146115485760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016107d5565b6001600160a01b0384166115ac5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016107d5565b6115bc60008484600001516113ba565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160a01b03191690911767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff16021790559086018083529120549091166116d057611672816000541190565b156116d0578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b0267ffffffffffffffff60a01b196001600160a01b039094166001600160a01b031990931692909217929092161790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6109dd828260405180602001604052806000815250611a97565b6040805180820190915260008082526020820152611753826000541190565b6117b25760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016107d5565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156118035791506106d39050565b50600019016117b4565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561196157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118a3903390899088908890600401611fe3565b602060405180830381600087803b1580156118bd57600080fd5b505af19250505080156118ed575060408051601f3d908101601f191682019092526118ea91810190611f0e565b60015b611947573d80801561191b576040519150601f19603f3d011682016040523d82523d6000602084013e611920565b606091505b50805161193f5760405162461bcd60e51b81526004016107d590612068565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611965565b5060015b949350505050565b6060600980546106e790612149565b6060816119a157506040805180820190915260018152600360fc1b60208201526106d3565b8160005b81156119cb57806119b581612184565b91506119c49050600a836120d3565b91506119a5565b60008167ffffffffffffffff8111156119f457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a1e576020820181803683370190505b5090505b841561196557611a33600183612106565b9150611a40600a8661219f565b611a4b9060306120bb565b60f81b818381518110611a6e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a90600a866120d3565b9450611a22565b61090d83838360016000546001600160a01b038516611b025760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016107d5565b83611b605760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016107d5565b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160801b039182168b01821617808216600160801b9182900483168c01909216021790558483526003909152812080546001600160a01b03191690921767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff16021790915581905b85811015611c695760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611c5d57611c41600088848861185f565b611c5d5760405162461bcd60e51b81526004016107d590612068565b60019182019101611bee565b50600055611713565b828054611c7e90612149565b90600052602060002090601f016020900481019282611ca05760008555611ce6565b82601f10611cb957805160ff1916838001178555611ce6565b82800160010185558215611ce6579182015b82811115611ce6578251825591602001919060010190611ccb565b50610eb39291505b80821115610eb35760008155600101611cee565b600067ffffffffffffffff80841115611d1d57611d1d6121df565b604051601f8501601f19908116603f01168101908282118183101715611d4557611d456121df565b81604052809350858152868686011115611d5e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146106d357600080fd5b600060208284031215611da0578081fd5b6111de82611d78565b60008060408385031215611dbb578081fd5b611dc483611d78565b9150611dd260208401611d78565b90509250929050565b600080600060608486031215611def578081fd5b611df884611d78565b9250611e0660208501611d78565b9150604084013590509250925092565b60008060008060808587031215611e2b578081fd5b611e3485611d78565b9350611e4260208601611d78565b925060408501359150606085013567ffffffffffffffff811115611e64578182fd5b8501601f81018713611e74578182fd5b611e8387823560208401611d02565b91505092959194509250565b60008060408385031215611ea1578182fd5b611eaa83611d78565b915060208301358015158114611ebe578182fd5b809150509250929050565b60008060408385031215611edb578182fd5b611ee483611d78565b946020939093013593505050565b600060208284031215611f03578081fd5b81356111de816121f5565b600060208284031215611f1f578081fd5b81516111de816121f5565b600060208284031215611f3b578081fd5b813567ffffffffffffffff811115611f51578182fd5b8201601f81018413611f61578182fd5b61196584823560208401611d02565b600060208284031215611f81578081fd5b5035919050565b60008151808452611fa081602086016020860161211d565b601f01601f19169290920160200192915050565b60008351611fc681846020880161211d565b835190830190611fda81836020880161211d565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061201690830184611f88565b9695505050505050565b6000602082526111de6020830184611f88565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600082198211156120ce576120ce6121b3565b500190565b6000826120e2576120e26121c9565b500490565b6000816000190483118215151615612101576121016121b3565b500290565b600082821015612118576121186121b3565b500390565b60005b83811015612138578181015183820152602001612120565b838111156110e25750506000910152565b60028104600182168061215d57607f821691505b6020821081141561217e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612198576121986121b3565b5060010190565b6000826121ae576121ae6121c9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461126457600080fdfea2646970667358221220aadd2c09fda66e54402531de66c2829ce8267606d2395a3085c7054adf6bcb9864736f6c63430008020033

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80635e7d10f511610118578063c4cb6854116100a0578063e56b5cb81161006f578063e56b5cb8146105a0578063e985e9c5146105c0578063eea25b5e14610609578063f2fde38b14610629578063fa8a24bb146106495761020f565b8063c4cb685414610542578063c87b56dd14610562578063ca25bc8414610582578063d8e9d53e146105985761020f565b80638da5cb5b116100e75780638da5cb5b146104ba57806395d89b41146104d857806399eb6faa146104ed578063a22cb46514610502578063b88d4fde146105225761020f565b80635e7d10f5146104385780636352211e1461046557806370a0823114610485578063715018a6146104a55761020f565b80631aff6af51161019b5780632f745c591161016a5780632f745c59146103af5780633bc83428146103cf57806342842e0e146103e25780634ec0efd0146104025780634f6ccce7146104185761020f565b80631aff6af51461033f5780631ef5ea2a1461035f57806320725fa71461037957806323b872dd1461038f5761020f565b8063148f72a0116101e2578063148f72a0146102c55780631493138c146102e95780631809ec32146102fe57806318160ddd146103145780631963216a146103295761020f565b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611ef2565b610669565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106d8565b6040516102409190612020565b34801561027757600080fd5b5061028b610286366004611f70565b61076a565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611ec9565b6107fa565b005b3480156102d157600080fd5b506102db600e5481565b604051908152602001610240565b3480156102f557600080fd5b5061025e610912565b34801561030a57600080fd5b506102db600f5481565b34801561032057600080fd5b506000546102db565b34801561033557600080fd5b506102db600b5481565b34801561034b57600080fd5b506102c361035a366004611f2a565b6109a0565b34801561036b57600080fd5b50600a546102349060ff1681565b34801561038557600080fd5b506102db600c5481565b34801561039b57600080fd5b506102c36103aa366004611ddb565b6109e1565b3480156103bb57600080fd5b506102db6103ca366004611ec9565b6109ec565b6102c36103dd366004611f70565b610b4f565b3480156103ee57600080fd5b506102c36103fd366004611ddb565b610e3a565b34801561040e57600080fd5b506102db60105481565b34801561042457600080fd5b506102db610433366004611f70565b610e55565b34801561044457600080fd5b506102db610453366004611d8f565b60116020526000908152604090205481565b34801561047157600080fd5b5061028b610480366004611f70565b610eb7565b34801561049157600080fd5b506102db6104a0366004611d8f565b610ec9565b3480156104b157600080fd5b506102c3610f5a565b3480156104c657600080fd5b506007546001600160a01b031661028b565b3480156104e457600080fd5b5061025e610f90565b3480156104f957600080fd5b506102c3610f9f565b34801561050e57600080fd5b506102c361051d366004611e8f565b610fdd565b34801561052e57600080fd5b506102c361053d366004611e16565b6110af565b34801561054e57600080fd5b506102c361055d366004611f70565b6110e8565b34801561056e57600080fd5b5061025e61057d366004611f70565b611117565b34801561058e57600080fd5b506102db600d5481565b6102c36111e5565b3480156105ac57600080fd5b506102c36105bb366004611f70565b611267565b3480156105cc57600080fd5b506102346105db366004611da9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561061557600080fd5b506102c3610624366004611f70565b611296565b34801561063557600080fd5b506102c3610644366004611d8f565b6112d3565b34801561065557600080fd5b506102c3610664366004611ec9565b61136b565b60006001600160e01b031982166380ac58cd60e01b148061069a57506001600160e01b03198216635b5e139f60e01b145b806106b557506001600160e01b0319821663780e9d6360e01b145b806106d057506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6060600180546106e790612149565b80601f016020809104026020016040519081016040528092919081815260200182805461071390612149565b80156107605780601f1061073557610100808354040283529160200191610760565b820191906000526020600020905b81548152906001019060200180831161074357829003601f168201915b5050505050905090565b6000610777826000541190565b6107de5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061080582610eb7565b9050806001600160a01b0316836001600160a01b031614156108745760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016107d5565b336001600160a01b0382161480610890575061089081336105db565b6109025760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016107d5565b61090d8383836113ba565b505050565b6009805461091f90612149565b80601f016020809104026020016040519081016040528092919081815260200182805461094b90612149565b80156109985780601f1061096d57610100808354040283529160200191610998565b820191906000526020600020905b81548152906001019060200180831161097b57829003601f168201915b505050505081565b6007546001600160a01b031633146109ca5760405162461bcd60e51b81526004016107d590612033565b80516109dd906009906020840190611c72565b5050565b61090d838383611416565b60006109f783610ec9565b8210610a505760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107d5565b600080549080805b83811015610ae9576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610aab57805192505b876001600160a01b0316836001600160a01b03161415610ae05786841415610ad957509350610b4992505050565b6001909301925b50600101610a58565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016107d5565b92915050565b60026008541415610ba25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107d5565b6002600855600054600a5460ff16610bf25760405162461bcd60e51b81526020600482015260136024820152721b9bc8191a59c819dc995b5b1a5b9e881e595d606a1b60448201526064016107d5565b600b54610bff83836120bb565b1115610c4d5760405162461bcd60e51b815260206004820152601960248201527f77687920752077616e7420326d616e79206772656d6c696e7a0000000000000060448201526064016107d5565b333214610c9c5760405162461bcd60e51b815260206004820181905260248201527f6f6e6c7920646967206772656d6c696e7a2062692068616e642063686561747260448201526064016107d5565b600e54821115610cee5760405162461bcd60e51b815260206004820152601860248201527f752073636f6f7020746f6f206d616e79206174206f6e6365000000000000000060448201526064016107d5565b600c543360009081526011602052604090205410610d445760405162461bcd60e51b81526020600482015260136024820152727520327469726564203220646967206d6f726560681b60448201526064016107d5565b600f54610d5183836120bb565b1115610da3573482601054610d6691906120e7565b1015610d9e5760405162461bcd60e51b81526020600482015260076024820152660752063686561760cc1b60448201526064016107d5565b610e03565b600d5433600090815260116020526040902054610dc19084906120bb565b1115610e035760405162461bcd60e51b8152602060048201526011602482015270752074616b2032206d616e79206672656560781b60448201526064016107d5565b610e0d338361171a565b3360009081526011602052604081208054849290610e2c9084906120bb565b909155505060016008555050565b61090d838383604051806020016040528060008152506110af565b600080548210610eb35760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016107d5565b5090565b6000610ec282611734565b5192915050565b60006001600160a01b038216610f355760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016107d5565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610f845760405162461bcd60e51b81526004016107d590612033565b610f8e600061180d565b565b6060600280546106e790612149565b6007546001600160a01b03163314610fc95760405162461bcd60e51b81526004016107d590612033565b600a805460ff19811660ff90911615179055565b6001600160a01b0382163314156110365760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016107d5565b3360008181526006602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110a3911515815260200190565b60405180910390a35050565b6110ba848484611416565b6110c68484848461185f565b6110e25760405162461bcd60e51b81526004016107d590612068565b50505050565b6007546001600160a01b031633146111125760405162461bcd60e51b81526004016107d590612033565b600c55565b6060611124826000541190565b6111885760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d5565b600061119261196d565b90508051600014156111b357604051806020016040528060008152506111de565b806111bd8461197c565b6040516020016111ce929190611fb4565b6040516020818303038152906040525b9392505050565b6007546001600160a01b0316331461120f5760405162461bcd60e51b81526004016107d590612033565b604051600090339047908381818185875af1925050503d8060008114611251576040519150601f19603f3d011682016040523d82523d6000602084013e611256565b606091505b505090508061126457600080fd5b50565b6007546001600160a01b031633146112915760405162461bcd60e51b81526004016107d590612033565b600f55565b6007546001600160a01b031633146112c05760405162461bcd60e51b81526004016107d590612033565b600b5481106112ce57600080fd5b600b55565b6007546001600160a01b031633146112fd5760405162461bcd60e51b81526004016107d590612033565b6001600160a01b0381166113625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d5565b6112648161180d565b6007546001600160a01b031633146113955760405162461bcd60e51b81526004016107d590612033565b600054600b546113a583836120bb565b11156113b057600080fd5b61090d838361171a565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061142182611734565b80519091506000906001600160a01b0316336001600160a01b0316148061145857503361144d8461076a565b6001600160a01b0316145b8061146a5750815161146a90336105db565b9050806114d45760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016107d5565b846001600160a01b031682600001516001600160a01b0316146115485760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016107d5565b6001600160a01b0384166115ac5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016107d5565b6115bc60008484600001516113ba565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160a01b03191690911767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff16021790559086018083529120549091166116d057611672816000541190565b156116d0578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b0267ffffffffffffffff60a01b196001600160a01b039094166001600160a01b031990931692909217929092161790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6109dd828260405180602001604052806000815250611a97565b6040805180820190915260008082526020820152611753826000541190565b6117b25760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016107d5565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156118035791506106d39050565b50600019016117b4565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561196157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118a3903390899088908890600401611fe3565b602060405180830381600087803b1580156118bd57600080fd5b505af19250505080156118ed575060408051601f3d908101601f191682019092526118ea91810190611f0e565b60015b611947573d80801561191b576040519150601f19603f3d011682016040523d82523d6000602084013e611920565b606091505b50805161193f5760405162461bcd60e51b81526004016107d590612068565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611965565b5060015b949350505050565b6060600980546106e790612149565b6060816119a157506040805180820190915260018152600360fc1b60208201526106d3565b8160005b81156119cb57806119b581612184565b91506119c49050600a836120d3565b91506119a5565b60008167ffffffffffffffff8111156119f457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a1e576020820181803683370190505b5090505b841561196557611a33600183612106565b9150611a40600a8661219f565b611a4b9060306120bb565b60f81b818381518110611a6e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a90600a866120d3565b9450611a22565b61090d83838360016000546001600160a01b038516611b025760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016107d5565b83611b605760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016107d5565b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160801b039182168b01821617808216600160801b9182900483168c01909216021790558483526003909152812080546001600160a01b03191690921767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff16021790915581905b85811015611c695760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611c5d57611c41600088848861185f565b611c5d5760405162461bcd60e51b81526004016107d590612068565b60019182019101611bee565b50600055611713565b828054611c7e90612149565b90600052602060002090601f016020900481019282611ca05760008555611ce6565b82601f10611cb957805160ff1916838001178555611ce6565b82800160010185558215611ce6579182015b82811115611ce6578251825591602001919060010190611ccb565b50610eb39291505b80821115610eb35760008155600101611cee565b600067ffffffffffffffff80841115611d1d57611d1d6121df565b604051601f8501601f19908116603f01168101908282118183101715611d4557611d456121df565b81604052809350858152868686011115611d5e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146106d357600080fd5b600060208284031215611da0578081fd5b6111de82611d78565b60008060408385031215611dbb578081fd5b611dc483611d78565b9150611dd260208401611d78565b90509250929050565b600080600060608486031215611def578081fd5b611df884611d78565b9250611e0660208501611d78565b9150604084013590509250925092565b60008060008060808587031215611e2b578081fd5b611e3485611d78565b9350611e4260208601611d78565b925060408501359150606085013567ffffffffffffffff811115611e64578182fd5b8501601f81018713611e74578182fd5b611e8387823560208401611d02565b91505092959194509250565b60008060408385031215611ea1578182fd5b611eaa83611d78565b915060208301358015158114611ebe578182fd5b809150509250929050565b60008060408385031215611edb578182fd5b611ee483611d78565b946020939093013593505050565b600060208284031215611f03578081fd5b81356111de816121f5565b600060208284031215611f1f578081fd5b81516111de816121f5565b600060208284031215611f3b578081fd5b813567ffffffffffffffff811115611f51578182fd5b8201601f81018413611f61578182fd5b61196584823560208401611d02565b600060208284031215611f81578081fd5b5035919050565b60008151808452611fa081602086016020860161211d565b601f01601f19169290920160200192915050565b60008351611fc681846020880161211d565b835190830190611fda81836020880161211d565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061201690830184611f88565b9695505050505050565b6000602082526111de6020830184611f88565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600082198211156120ce576120ce6121b3565b500190565b6000826120e2576120e26121c9565b500490565b6000816000190483118215151615612101576121016121b3565b500290565b600082821015612118576121186121b3565b500390565b60005b83811015612138578181015183820152602001612120565b838111156110e25750506000910152565b60028104600182168061215d57607f821691505b6020821081141561217e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612198576121986121b3565b5060010190565b6000826121ae576121ae6121c9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461126457600080fdfea2646970667358221220aadd2c09fda66e54402531de66c2829ce8267606d2395a3085c7054adf6bcb9864736f6c63430008020033

Deployed Bytecode Sourcemap

57638:2701:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41795:372;;;;;;;;;;-1:-1:-1;41795:372:0;;;;;:::i;:::-;;:::i;:::-;;;6006:14:1;;5999:22;5981:41;;5969:2;5954:18;41795:372:0;;;;;;;;43681:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45243:214::-;;;;;;;;;;-1:-1:-1;45243:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5304:32:1;;;5286:51;;5274:2;5259:18;45243:214:0;5241:102:1;44764:413:0;;;;;;;;;;-1:-1:-1;44764:413:0;;;;;:::i;:::-;;:::i;:::-;;57937:35;;;;;;;;;;;;;;;;;;;16914:25:1;;;16902:2;16887:18;57937:35:0;16869:76:1;57744:25:0;;;;;;;;;;;;;:::i;57979:34::-;;;;;;;;;;;;;;;;40052:100;;;;;;;;;;-1:-1:-1;40105:7:0;40132:12;40052:100;;57812:30;;;;;;;;;;;;;;;;59902:105;;;;;;;;;;-1:-1:-1;59902:105:0;;;;;:::i;:::-;;:::i;57776:29::-;;;;;;;;;;-1:-1:-1;57776:29:0;;;;;;;;57849:35;;;;;;;;;;;;;;;;46119:162;;;;;;;;;;-1:-1:-1;46119:162:0;;;;;:::i;:::-;;:::i;40716:1007::-;;;;;;;;;;-1:-1:-1;40716:1007:0;;;;;:::i;:::-;;:::i;58318:1004::-;;;;;;:::i;:::-;;:::i;46352:177::-;;;;;;;;;;-1:-1:-1;46352:177:0;;;;;:::i;:::-;;:::i;58020:46::-;;;;;;;;;;;;;;;;40229:187;;;;;;;;;;-1:-1:-1;40229:187:0;;;;;:::i;:::-;;:::i;58073:49::-;;;;;;;;;;-1:-1:-1;58073:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;43490:124;;;;;;;;;;-1:-1:-1;43490:124:0;;;;;:::i;:::-;;:::i;42231:221::-;;;;;;;;;;-1:-1:-1;42231:221:0;;;;;:::i;:::-;;:::i;15382:94::-;;;;;;;;;;;;;:::i;14731:87::-;;;;;;;;;;-1:-1:-1;14804:6:0;;-1:-1:-1;;;;;14804:6:0;14731:87;;43850:104;;;;;;;;;;;;;:::i;59566:90::-;;;;;;;;;;;;;:::i;45529:288::-;;;;;;;;;;-1:-1:-1;45529:288:0;;;;;:::i;:::-;;:::i;46600:355::-;;;;;;;;;;-1:-1:-1;46600:355:0;;;;;:::i;:::-;;:::i;59664:111::-;;;;;;;;;;-1:-1:-1;59664:111:0;;;;;:::i;:::-;;:::i;44025:335::-;;;;;;;;;;-1:-1:-1;44025:335:0;;;;;:::i;:::-;;:::i;57892:38::-;;;;;;;;;;;;;;;;60178:158;;;:::i;59783:111::-;;;;;;;;;;-1:-1:-1;59783:111:0;;;;;:::i;:::-;;:::i;45888:164::-;;;;;;;;;;-1:-1:-1;45888:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;46009:25:0;;;45985:4;46009:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45888:164;60015:155;;;;;;;;;;-1:-1:-1;60015:155:0;;;;;:::i;:::-;;:::i;15631:192::-;;;;;;;;;;-1:-1:-1;15631:192:0;;;;;:::i;:::-;;:::i;59328:230::-;;;;;;;;;;-1:-1:-1;59328:230:0;;;;;:::i;:::-;;:::i;41795:372::-;41897:4;-1:-1:-1;;;;;;41934:40:0;;-1:-1:-1;;;41934:40:0;;:105;;-1:-1:-1;;;;;;;41991:48:0;;-1:-1:-1;;;41991:48:0;41934:105;:172;;;-1:-1:-1;;;;;;;42056:50:0;;-1:-1:-1;;;42056:50:0;41934:172;:225;;;-1:-1:-1;;;;;;;;;;32292:40:0;;;42123:36;41914:245;;41795:372;;;;:::o;43681:100::-;43735:13;43768:5;43761:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43681:100;:::o;45243:214::-;45311:7;45339:16;45347:7;47267:4;47301:12;-1:-1:-1;47291:22:0;47210:111;45339:16;45331:74;;;;-1:-1:-1;;;45331:74:0;;16556:2:1;45331:74:0;;;16538:21:1;16595:2;16575:18;;;16568:30;16634:34;16614:18;;;16607:62;-1:-1:-1;;;16685:18:1;;;16678:43;16738:19;;45331:74:0;;;;;;;;;-1:-1:-1;45425:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45425:24:0;;45243:214::o;44764:413::-;44837:13;44853:24;44869:7;44853:15;:24::i;:::-;44837:40;;44902:5;-1:-1:-1;;;;;44896:11:0;:2;-1:-1:-1;;;;;44896:11:0;;;44888:58;;;;-1:-1:-1;;;44888:58:0;;13037:2:1;44888:58:0;;;13019:21:1;13076:2;13056:18;;;13049:30;13115:34;13095:18;;;13088:62;-1:-1:-1;;;13166:18:1;;;13159:32;13208:19;;44888:58:0;13009:224:1;44888:58:0;13632:10;-1:-1:-1;;;;;44981:21:0;;;;:62;;-1:-1:-1;45006:37:0;45023:5;13632:10;45030:12;13552:98;45006:37;44959:169;;;;-1:-1:-1;;;44959:169:0;;9186:2:1;44959:169:0;;;9168:21:1;9225:2;9205:18;;;9198:30;9264:34;9244:18;;;9237:62;9335:27;9315:18;;;9308:55;9380:19;;44959:169:0;9158:247:1;44959:169:0;45141:28;45150:2;45154:7;45163:5;45141:8;:28::i;:::-;44764:413;;;:::o;57744:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59902:105::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;59980:19;;::::1;::::0;:11:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;;59902:105:::0;:::o;46119:162::-;46245:28;46255:4;46261:2;46265:7;46245:9;:28::i;40716:1007::-;40805:7;40841:16;40851:5;40841:9;:16::i;:::-;40833:5;:24;40825:71;;;;-1:-1:-1;;;40825:71:0;;6459:2:1;40825:71:0;;;6441:21:1;6498:2;6478:18;;;6471:30;6537:34;6517:18;;;6510:62;-1:-1:-1;;;6588:18:1;;;6581:32;6630:19;;40825:71:0;6431:224:1;40825:71:0;40907:22;40132:12;;;40907:22;;41170:466;41190:14;41186:1;:18;41170:466;;;41230:31;41264:14;;;:11;:14;;;;;;;;;41230:48;;;;;;;;;-1:-1:-1;;;;;41230:48:0;;;;;-1:-1:-1;;;41230:48:0;;;;;;;;;;;;41301:28;41297:111;;41374:14;;;-1:-1:-1;41297:111:0;41451:5;-1:-1:-1;;;;;41430:26:0;:17;-1:-1:-1;;;;;41430:26:0;;41426:195;;;41500:5;41485:11;:20;41481:85;;;-1:-1:-1;41541:1:0;-1:-1:-1;41534:8:0;;-1:-1:-1;;;41534:8:0;41481:85;41588:13;;;;;41426:195;-1:-1:-1;41206:3:0;;41170:466;;;-1:-1:-1;41659:56:0;;-1:-1:-1;;;41659:56:0;;15017:2:1;41659:56:0;;;14999:21:1;15056:2;15036:18;;;15029:30;15095:34;15075:18;;;15068:62;-1:-1:-1;;;15146:18:1;;;15139:44;15200:19;;41659:56:0;14989:236:1;40716:1007:0;;;;;:::o;58318:1004::-;56664:1;57262:7;;:19;;57254:63;;;;-1:-1:-1;;;57254:63:0;;15780:2:1;57254:63:0;;;15762:21:1;15819:2;15799:18;;;15792:30;15858:33;15838:18;;;15831:61;15909:18;;57254:63:0;15752:181:1;57254:63:0;56664:1;57395:7;:18;58406:24:::1;40132:12:::0;58465:9:::1;::::0;::::1;;58457:41;;;::::0;-1:-1:-1;;;58457:41:0;;12689:2:1;58457:41:0::1;::::0;::::1;12671:21:1::0;12728:2;12708:18;;;12701:30;-1:-1:-1;;;12747:18:1;;;12740:49;12806:18;;58457:41:0::1;12661:169:1::0;58457:41:0::1;58555:8;::::0;58517:34:::1;58536:15:::0;58517:16;:34:::1;:::i;:::-;:46;;58509:84;;;::::0;-1:-1:-1;;;58509:84:0;;10431:2:1;58509:84:0::1;::::0;::::1;10413:21:1::0;10470:2;10450:18;;;10443:30;10509:27;10489:18;;;10482:55;10554:18;;58509:84:0::1;10403:175:1::0;58509:84:0::1;58612:10;58626:9;58612:23;58604:68;;;::::0;-1:-1:-1;;;58604:68:0;;8490:2:1;58604:68:0::1;::::0;::::1;8472:21:1::0;;;8509:18;;;8502:30;8568:34;8548:18;;;8541:62;8620:18;;58604:68:0::1;8462:182:1::0;58604:68:0::1;58710:16;;58691:15;:35;;58683:72;;;::::0;-1:-1:-1;;;58683:72:0;;12336:2:1;58683:72:0::1;::::0;::::1;12318:21:1::0;12375:2;12355:18;;;12348:30;12414:26;12394:18;;;12387:54;12458:18;;58683:72:0::1;12308:174:1::0;58683:72:0::1;58800:15;::::0;58786:10:::1;58771:26;::::0;;;:14:::1;:26;::::0;;;;;:44:::1;58763:76;;;::::0;-1:-1:-1;;;58763:76:0;;15432:2:1;58763:76:0::1;::::0;::::1;15414:21:1::0;15471:2;15451:18;;;15444:30;-1:-1:-1;;;15490:18:1;;;15483:49;15549:18;;58763:76:0::1;15404:169:1::0;58763:76:0::1;58893:12;::::0;58856:34:::1;58875:15:::0;58856:16;:34:::1;:::i;:::-;:49;58852:356;;;58988:9;58968:15;58949:16;;:34;;;;:::i;:::-;58948:49;;58922:101;;;::::0;-1:-1:-1;;;58922:101:0;;8851:2:1;58922:101:0::1;::::0;::::1;8833:21:1::0;8890:1;8870:18;;;8863:29;-1:-1:-1;;;8908:18:1;;;8901:37;8955:18;;58922:101:0::1;8823:156:1::0;58922:101:0::1;58852:356;;;59141:19;::::0;59107:10:::1;59092:26;::::0;;;:14:::1;:26;::::0;;;;;:44:::1;::::0;59121:15;;59092:44:::1;:::i;:::-;59091:69;;59065:131;;;::::0;-1:-1:-1;;;59065:131:0;;13440:2:1;59065:131:0::1;::::0;::::1;13422:21:1::0;13479:2;13459:18;;;13452:30;-1:-1:-1;;;13498:18:1;;;13491:47;13555:18;;59065:131:0::1;13412:167:1::0;59065:131:0::1;59220:38;59230:10;59242:15;59220:9;:38::i;:::-;59284:10;59269:26;::::0;;;:14:::1;:26;::::0;;;;:45;;59299:15;;59269:26;:45:::1;::::0;59299:15;;59269:45:::1;:::i;:::-;::::0;;;-1:-1:-1;;56620:1:0;57574:7;:22;-1:-1:-1;;58318:1004:0:o;46352:177::-;46482:39;46499:4;46505:2;46509:7;46482:39;;;;;;;;;;;;:16;:39::i;40229:187::-;40296:7;40132:12;;40324:5;:21;40316:69;;;;-1:-1:-1;;;40316:69:0;;7680:2:1;40316:69:0;;;7662:21:1;7719:2;7699:18;;;7692:30;7758:34;7738:18;;;7731:62;-1:-1:-1;;;7809:18:1;;;7802:33;7852:19;;40316:69:0;7652:225:1;40316:69:0;-1:-1:-1;40403:5:0;40229:187::o;43490:124::-;43554:7;43581:20;43593:7;43581:11;:20::i;:::-;:25;;43490:124;-1:-1:-1;;43490:124:0:o;42231:221::-;42295:7;-1:-1:-1;;;;;42323:19:0;;42315:75;;;;-1:-1:-1;;;42315:75:0;;9612:2:1;42315:75:0;;;9594:21:1;9651:2;9631:18;;;9624:30;9690:34;9670:18;;;9663:62;-1:-1:-1;;;9741:18:1;;;9734:41;9792:19;;42315:75:0;9584:233:1;42315:75:0;-1:-1:-1;;;;;;42416:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42416:27:0;;42231:221::o;15382:94::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;15447:21:::1;15465:1;15447:9;:21::i;:::-;15382:94::o:0;43850:104::-;43906:13;43939:7;43932:14;;;;;:::i;59566:90::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;59639:9:::1;::::0;;-1:-1:-1;;59626:22:0;::::1;59639:9;::::0;;::::1;59638:10;59626:22;::::0;;59566:90::o;45529:288::-;-1:-1:-1;;;;;45624:24:0;;13632:10;45624:24;;45616:63;;;;-1:-1:-1;;;45616:63:0;;11562:2:1;45616:63:0;;;11544:21:1;11601:2;11581:18;;;11574:30;11640:28;11620:18;;;11613:56;11686:18;;45616:63:0;11534:176:1;45616:63:0;13632:10;45692:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45692:42:0;;;;;;;;;;:53;;-1:-1:-1;;45692:53:0;;;;;;;:42;-1:-1:-1;;;;;45761:48:0;;45800:8;45761:48;;;;6006:14:1;5999:22;5981:41;;5969:2;5954:18;;5936:92;45761:48:0;;;;;;;;45529:288;;:::o;46600:355::-;46759:28;46769:4;46775:2;46779:7;46759:9;:28::i;:::-;46820:48;46843:4;46849:2;46853:7;46862:5;46820:22;:48::i;:::-;46798:149;;;;-1:-1:-1;;;46798:149:0;;;;;;;:::i;:::-;46600:355;;;;:::o;59664:111::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;59738:15:::1;:29:::0;59664:111::o;44025:335::-;44098:13;44132:16;44140:7;47267:4;47301:12;-1:-1:-1;47291:22:0;47210:111;44132:16;44124:76;;;;-1:-1:-1;;;44124:76:0;;11146:2:1;44124:76:0;;;11128:21:1;11185:2;11165:18;;;11158:30;11224:34;11204:18;;;11197:62;-1:-1:-1;;;11275:18:1;;;11268:45;11330:19;;44124:76:0;11118:237:1;44124:76:0;44213:21;44237:10;:8;:10::i;:::-;44213:34;;44271:7;44265:21;44290:1;44265:26;;:87;;;;;;;;;;;;;;;;;44318:7;44327:18;:7;:16;:18::i;:::-;44301:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44265:87;44258:94;44025:335;-1:-1:-1;;;44025:335:0:o;60178:158::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;60252:58:::1;::::0;60234:12:::1;::::0;60260:10:::1;::::0;60284:21:::1;::::0;60234:12;60252:58;60234:12;60252:58;60284:21;60260:10;60252:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60233:77;;;60323:7;60315:16;;;::::0;::::1;;15022:1;60178:158::o:0;59783:111::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;59859:12:::1;:27:::0;59783:111::o;60015:155::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;60118:8:::1;;60102:13;:24;60094:33;;;::::0;::::1;;60138:8;:24:::0;60015:155::o;15631:192::-;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15720:22:0;::::1;15712:73;;;::::0;-1:-1:-1;;;15712:73:0;;6862:2:1;15712:73:0::1;::::0;::::1;6844:21:1::0;6901:2;6881:18;;;6874:30;6940:34;6920:18;;;6913:62;-1:-1:-1;;;6991:18:1;;;6984:36;7037:19;;15712:73:0::1;6834:228:1::0;15712:73:0::1;15796:19;15806:8;15796:9;:19::i;59328:230::-:0;14804:6;;-1:-1:-1;;;;;14804:6:0;13632:10;14951:23;14943:68;;;;-1:-1:-1;;;14943:68:0;;;;;;;:::i;:::-;59413:24:::1;40132:12:::0;59501:8:::1;::::0;59469:28:::1;59488:9:::0;40132:12;59469:28:::1;:::i;:::-;:40;;59461:49;;;::::0;::::1;;59521:29;59531:7;59540:9;59521;:29::i;52130:196::-:0;52245:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;52245:29:0;-1:-1:-1;;;;;52245:29:0;;;;;;;;;52290:28;;52245:24;;52290:28;;;;;;;52130:196;;;:::o;50010:2002::-;50125:35;50163:20;50175:7;50163:11;:20::i;:::-;50238:18;;50125:58;;-1:-1:-1;50196:22:0;;-1:-1:-1;;;;;50222:34:0;13632:10;-1:-1:-1;;;;;50222:34:0;;:87;;;-1:-1:-1;13632:10:0;50273:20;50285:7;50273:11;:20::i;:::-;-1:-1:-1;;;;;50273:36:0;;50222:87;:154;;;-1:-1:-1;50343:18:0;;50326:50;;13632:10;50363:12;13552:98;50326:50;50196:181;;50398:17;50390:80;;;;-1:-1:-1;;;50390:80:0;;11917:2:1;50390:80:0;;;11899:21:1;11956:2;11936:18;;;11929:30;11995:34;11975:18;;;11968:62;-1:-1:-1;;;12046:18:1;;;12039:48;12104:19;;50390:80:0;11889:240:1;50390:80:0;50513:4;-1:-1:-1;;;;;50491:26:0;:13;:18;;;-1:-1:-1;;;;;50491:26:0;;50483:77;;;;-1:-1:-1;;;50483:77:0;;10024:2:1;50483:77:0;;;10006:21:1;10063:2;10043:18;;;10036:30;10102:34;10082:18;;;10075:62;-1:-1:-1;;;10153:18:1;;;10146:36;10199:19;;50483:77:0;9996:228:1;50483:77:0;-1:-1:-1;;;;;50579:16:0;;50571:66;;;;-1:-1:-1;;;50571:66:0;;8084:2:1;50571:66:0;;;8066:21:1;8123:2;8103:18;;;8096:30;8162:34;8142:18;;;8135:62;-1:-1:-1;;;8213:18:1;;;8206:35;8258:19;;50571:66:0;8056:227:1;50571:66:0;50758:49;50775:1;50779:7;50788:13;:18;;;50758:8;:49::i;:::-;-1:-1:-1;;;;;51103:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;51103:31:0;;;-1:-1:-1;;;;;51103:31:0;;;-1:-1:-1;;51103:31:0;;;;;;;51149:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;51149:29:0;;;;;;;;;;;;;51195:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;51195:30:0;;;;-1:-1:-1;;;;51240:61:0;-1:-1:-1;;;51285:15:0;51240:61;;;;;;51575:11;;;51605:24;;;;;:29;51575:11;;51605:29;51601:295;;51673:20;51681:11;47267:4;47301:12;-1:-1:-1;47291:22:0;47210:111;51673:20;51669:212;;;51750:18;;;51718:24;;;:11;:24;;;;;;;;:50;;51833:28;;;;51791:70;;-1:-1:-1;;;51791:70:0;-1:-1:-1;;;;;;;;;51718:50:0;;;-1:-1:-1;;;;;;51718:50:0;;;;;;;51791:70;;;;;;;51669:212;50010:2002;51943:7;51939:2;-1:-1:-1;;;;;51924:27:0;51933:4;-1:-1:-1;;;;;51924:27:0;;;;;;;;;;;51962:42;50010:2002;;;;;:::o;47329:104::-;47398:27;47408:2;47412:8;47398:27;;;;;;;;;;;;:9;:27::i;42891:537::-;-1:-1:-1;;;;;;;;;;;;;;;;;42994:16:0;43002:7;47267:4;47301:12;-1:-1:-1;47291:22:0;47210:111;42994:16;42986:71;;;;-1:-1:-1;;;42986:71:0;;7269:2:1;42986:71:0;;;7251:21:1;7308:2;7288:18;;;7281:30;7347:34;7327:18;;;7320:62;-1:-1:-1;;;7398:18:1;;;7391:40;7448:19;;42986:71:0;7241:232:1;42986:71:0;43115:7;43095:245;43162:31;43196:17;;;:11;:17;;;;;;;;;43162:51;;;;;;;;;-1:-1:-1;;;;;43162:51:0;;;;;-1:-1:-1;;;43162:51:0;;;;;;;;;;;;43236:28;43232:93;;43296:9;-1:-1:-1;43289:16:0;;-1:-1:-1;43289:16:0;43232:93;-1:-1:-1;;;43135:6:0;43095:245;;15831:173;15906:6;;;-1:-1:-1;;;;;15923:17:0;;;-1:-1:-1;;;;;;15923:17:0;;;;;;;15956:40;;15906:6;;;15923:17;15906:6;;15956:40;;15887:16;;15956:40;15831:173;;:::o;52891:804::-;53046:4;-1:-1:-1;;;;;53067:13:0;;17068:20;17116:8;53063:625;;53103:72;;-1:-1:-1;;;53103:72:0;;-1:-1:-1;;;;;53103:36:0;;;;;:72;;13632:10;;53154:4;;53160:7;;53169:5;;53103:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53103:72:0;;;;;;;;-1:-1:-1;;53103:72:0;;;;;;;;;;;;:::i;:::-;;;53099:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53349:13:0;;53345:273;;53392:61;;-1:-1:-1;;;53392:61:0;;;;;;;:::i;53345:273::-;53568:6;53562:13;53553:6;53549:2;53545:15;53538:38;53099:534;-1:-1:-1;;;;;;53226:55:0;-1:-1:-1;;;53226:55:0;;-1:-1:-1;53219:62:0;;53063:625;-1:-1:-1;53672:4:0;53063:625;52891:804;;;;;;:::o;58200:112::-;58260:13;58293:11;58286:18;;;;;:::i;1726:723::-;1782:13;2003:10;1999:53;;-1:-1:-1;2030:10:0;;;;;;;;;;;;-1:-1:-1;;;2030:10:0;;;;;;1999:53;2077:5;2062:12;2118:78;2125:9;;2118:78;;2151:8;;;;:::i;:::-;;-1:-1:-1;2174:10:0;;-1:-1:-1;2182:2:0;2174:10;;:::i;:::-;;;2118:78;;;2206:19;2238:6;2228:17;;;;;;-1:-1:-1;;;2228:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2228:17:0;;2206:39;;2256:154;2263:10;;2256:154;;2290:11;2300:1;2290:11;;:::i;:::-;;-1:-1:-1;2359:10:0;2367:2;2359:5;:10;:::i;:::-;2346:24;;:2;:24;:::i;:::-;2333:39;;2316:6;2323;2316:14;;;;;;-1:-1:-1;;;2316:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;2316:56:0;;;;;;;;-1:-1:-1;2387:11:0;2396:2;2387:11;;:::i;:::-;;;2256:154;;47796:163;47919:32;47925:2;47929:8;47939:5;47946:4;48357:20;48380:12;-1:-1:-1;;;;;48411:16:0;;48403:62;;;;-1:-1:-1;;;48403:62:0;;14206:2:1;48403:62:0;;;14188:21:1;14245:2;14225:18;;;14218:30;14284:34;14264:18;;;14257:62;-1:-1:-1;;;14335:18:1;;;14328:31;14376:19;;48403:62:0;14178:223:1;48403:62:0;48484:13;48476:66;;;;-1:-1:-1;;;48476:66:0;;14608:2:1;48476:66:0;;;14590:21:1;14647:2;14627:18;;;14620:30;14686:34;14666:18;;;14659:62;-1:-1:-1;;;14737:18:1;;;14730:38;14785:19;;48476:66:0;14580:230:1;48476:66:0;-1:-1:-1;;;;;48894:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;48894:45:0;;-1:-1:-1;;;;;48894:45:0;;;;;;;;48954:50;;;-1:-1:-1;;;48954:50:0;;;;;;;;;;;;;;;49021:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;49021:35:0;;;;-1:-1:-1;;;;49071:66:0;-1:-1:-1;;;49121:15:0;49071:66;;;;;;;49021:25;;49206:415;49226:8;49222:1;:12;49206:415;;;49265:38;;49290:12;;-1:-1:-1;;;;;49265:38:0;;;49282:1;;49265:38;;49282:1;;49265:38;49326:4;49322:249;;;49389:59;49420:1;49424:2;49428:12;49442:5;49389:22;:59::i;:::-;49355:196;;;;-1:-1:-1;;;49355:196:0;;;;;;;:::i;:::-;49591:14;;;;;49236:3;49206:415;;;-1:-1:-1;49637:12:0;:27;49688:60;46600:355;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;828:196;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;;;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;;;;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;;;;;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;;;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;;;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:257::-;;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:1;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:1:o;4455:470::-;;4672:6;4666:13;4688:53;4734:6;4729:3;4722:4;4714:6;4710:17;4688:53;:::i;:::-;4804:13;;4763:16;;;;4826:57;4804:13;4763:16;4860:4;4848:17;;4826:57;:::i;:::-;4899:20;;4642:283;-1:-1:-1;;;;4642:283:1:o;5348:488::-;-1:-1:-1;;;;;5617:15:1;;;5599:34;;5669:15;;5664:2;5649:18;;5642:43;5716:2;5701:18;;5694:34;;;5764:3;5759:2;5744:18;;5737:31;;;5348:488;;5785:45;;5810:19;;5802:6;5785:45;:::i;:::-;5777:53;5551:285;-1:-1:-1;;;;;;5551:285:1:o;6033:219::-;;6182:2;6171:9;6164:21;6202:44;6242:2;6231:9;6227:18;6219:6;6202:44;:::i;10583:356::-;10785:2;10767:21;;;10804:18;;;10797:30;10863:34;10858:2;10843:18;;10836:62;10930:2;10915:18;;10757:182::o;13584:415::-;13786:2;13768:21;;;13825:2;13805:18;;;13798:30;13864:34;13859:2;13844:18;;13837:62;-1:-1:-1;;;13930:2:1;13915:18;;13908:49;13989:3;13974:19;;13758:241::o;16950:128::-;;17021:1;17017:6;17014:1;17011:13;17008:2;;;17027:18;;:::i;:::-;-1:-1:-1;17063:9:1;;16998:80::o;17083:120::-;;17149:1;17139:2;;17154:18;;:::i;:::-;-1:-1:-1;17188:9:1;;17129:74::o;17208:168::-;;17314:1;17310;17306:6;17302:14;17299:1;17296:21;17291:1;17284:9;17277:17;17273:45;17270:2;;;17321:18;;:::i;:::-;-1:-1:-1;17361:9:1;;17260:116::o;17381:125::-;;17449:1;17446;17443:8;17440:2;;;17454:18;;:::i;:::-;-1:-1:-1;17491:9:1;;17430:76::o;17511:258::-;17583:1;17593:113;17607:6;17604:1;17601:13;17593:113;;;17683:11;;;17677:18;17664:11;;;17657:39;17629:2;17622:10;17593:113;;;17724:6;17721:1;17718:13;17715:2;;;-1:-1:-1;;17759:1:1;17741:16;;17734:27;17564:205::o;17774:380::-;17859:1;17849:12;;17906:1;17896:12;;;17917:2;;17971:4;17963:6;17959:17;17949:27;;17917:2;18024;18016:6;18013:14;17993:18;17990:38;17987:2;;;18070:10;18065:3;18061:20;18058:1;18051:31;18105:4;18102:1;18095:15;18133:4;18130:1;18123:15;17987:2;;17829:325;;;:::o;18159:135::-;;-1:-1:-1;;18219:17:1;;18216:2;;;18239:18;;:::i;:::-;-1:-1:-1;18286:1:1;18275:13;;18206:88::o;18299:112::-;;18357:1;18347:2;;18362:18;;:::i;:::-;-1:-1:-1;18396:9:1;;18337:74::o;18416:127::-;18477:10;18472:3;18468:20;18465:1;18458:31;18508:4;18505:1;18498:15;18532:4;18529:1;18522:15;18548:127;18609:10;18604:3;18600:20;18597:1;18590:31;18640:4;18637:1;18630:15;18664:4;18661:1;18654:15;18680:127;18741:10;18736:3;18732:20;18729:1;18722:31;18772:4;18769:1;18762:15;18796:4;18793:1;18786:15;18812:131;-1:-1:-1;;;;;;18886:32:1;;18876:43;;18866:2;;18933:1;18930;18923:12

Swarm Source

ipfs://aadd2c09fda66e54402531de66c2829ce8267606d2395a3085c7054adf6bcb98

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.