ETH Price: $1,581.72 (-3.08%)
 

Overview

ETH Balance

4.679957799572973653 ETH

Eth Value

$7,402.40 (@ $1,581.72/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Rewards To...220924782025-03-21 3:13:4726 days ago1742526827IN
0x22574649...76CfC8793
0 ETH0.000162680.90132827
Claim Rewards To...220924692025-03-21 3:11:5926 days ago1742526719IN
0x22574649...76CfC8793
0 ETH0.000174760.88837148
Set Approval For...220321422025-03-12 17:00:5934 days ago1741798859IN
0x22574649...76CfC8793
0 ETH0.000072441.21961845
Set Approval For...220319402025-03-12 16:19:4734 days ago1741796387IN
0x22574649...76CfC8793
0 ETH0.000062741.05514166
Claim Rewards To...219577052025-03-02 7:31:2345 days ago1740900683IN
0x22574649...76CfC8793
0 ETH0.000227611.1570421
Transfer From219504492025-03-01 7:13:3546 days ago1740813215IN
0x22574649...76CfC8793
0 ETH0.000107911.11324668
Transfer From219504392025-03-01 7:11:3546 days ago1740813095IN
0x22574649...76CfC8793
0 ETH0.000113831.17430563
Claim Rewards To...218427642025-02-14 5:57:4761 days ago1739512667IN
0x22574649...76CfC8793
0 ETH0.000294011.27564002
Set Approval For...218323252025-02-12 18:54:3562 days ago1739386475IN
0x22574649...76CfC8793
0 ETH0.000067981.72130994
Set Approval For...218323242025-02-12 18:54:2362 days ago1739386463IN
0x22574649...76CfC8793
0 ETH0.000102671.72860811
Claim Rewards To...217916382025-02-07 2:26:3568 days ago1738895195IN
0x22574649...76CfC8793
0 ETH0.000236131.3083035
Set Approval For...217492472025-02-01 4:20:5974 days ago1738383659IN
0x22574649...76CfC8793
0 ETH0.000086471.45589075
Transfer From217491592025-02-01 4:03:2374 days ago1738382603IN
0x22574649...76CfC8793
0 ETH0.000178972.06558502
Transfer From217491572025-02-01 4:02:5974 days ago1738382579IN
0x22574649...76CfC8793
0 ETH0.000108661.51884947
Transfer From217491542025-02-01 4:02:2374 days ago1738382543IN
0x22574649...76CfC8793
0 ETH0.000152571.57398334
Set Approval For...217475872025-01-31 22:47:1174 days ago1738363631IN
0x22574649...76CfC8793
0 ETH0.000172592.9057675
Set Approval For...217442672025-01-31 11:39:4774 days ago1738323587IN
0x22574649...76CfC8793
0 ETH0.0002464.14170044
Set Approval For...217262652025-01-28 23:19:5977 days ago1738106399IN
0x22574649...76CfC8793
0 ETH0.000252254.24705417
Mint217262422025-01-28 23:15:2377 days ago1738106123IN
0x22574649...76CfC8793
0.05 ETH0.001178074.45530862
Mint217262242025-01-28 23:11:3577 days ago1738105895IN
0x22574649...76CfC8793
0.05 ETH0.001435275.28736438
Claim Rewards To...216511112025-01-18 11:35:4787 days ago1737200147IN
0x22574649...76CfC8793
0 ETH0.0029076210.06728252
Safe Transfer Fr...215932232025-01-10 9:36:4796 days ago1736501807IN
0x22574649...76CfC8793
0 ETH0.000564446.30488303
Safe Transfer Fr...215932132025-01-10 9:34:4796 days ago1736501687IN
0x22574649...76CfC8793
0 ETH0.000601656.72051071
Safe Transfer Fr...215931972025-01-10 9:31:3596 days ago1736501495IN
0x22574649...76CfC8793
0 ETH0.00063817.12766533
Safe Transfer Fr...215931892025-01-10 9:29:5996 days ago1736501399IN
0x22574649...76CfC8793
0 ETH0.000701937.84063837
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Swap Exact ETH F...220924782025-03-21 3:13:4726 days ago1742526827
0x22574649...76CfC8793
0.00139032 ETH
Swap Exact ETH F...220924692025-03-21 3:11:5926 days ago1742526719
0x22574649...76CfC8793
0.00012138 ETH
Swap Exact ETH F...219577052025-03-02 7:31:2345 days ago1740900683
0x22574649...76CfC8793
0.00080649 ETH
Swap Exact ETH F...218427642025-02-14 5:57:4761 days ago1739512667
0x22574649...76CfC8793
0.00098171 ETH
Swap Exact ETH F...217916382025-02-07 2:26:3568 days ago1738895195
0x22574649...76CfC8793
0.00978316 ETH
Transfer217262422025-01-28 23:15:2377 days ago1738106123
0x22574649...76CfC8793
0.0225 ETH
Transfer217262422025-01-28 23:15:2377 days ago1738106123
0x22574649...76CfC8793
0.003 ETH
Transfer217262422025-01-28 23:15:2377 days ago1738106123
0x22574649...76CfC8793
0.012 ETH
Transfer217262242025-01-28 23:11:3577 days ago1738105895
0x22574649...76CfC8793
0.012 ETH
Swap Exact ETH F...216511112025-01-18 11:35:4787 days ago1737200147
0x22574649...76CfC8793
0.01972142 ETH
Transfer215539912025-01-04 22:06:11101 days ago1736028371
0x22574649...76CfC8793
0.0225 ETH
Transfer215539912025-01-04 22:06:11101 days ago1736028371
0x22574649...76CfC8793
0.003 ETH
Transfer215539912025-01-04 22:06:11101 days ago1736028371
0x22574649...76CfC8793
0.012 ETH
Swap Exact ETH F...214971732024-12-27 23:47:23109 days ago1735343243
0x22574649...76CfC8793
0.00120703 ETH
Swap Exact ETH F...213345432024-12-05 6:36:23132 days ago1733380583
0x22574649...76CfC8793
0.03437894 ETH
Swap Exact ETH F...213039692024-12-01 0:07:11136 days ago1733011631
0x22574649...76CfC8793
0.00098757 ETH
Swap Exact ETH F...212706982024-11-26 8:22:11141 days ago1732609331
0x22574649...76CfC8793
0.0047581 ETH
Swap Exact ETH F...212706952024-11-26 8:21:35141 days ago1732609295
0x22574649...76CfC8793
0.00476698 ETH
Swap Exact ETH F...212706922024-11-26 8:20:59141 days ago1732609259
0x22574649...76CfC8793
0.00477587 ETH
Swap Exact ETH F...212706872024-11-26 8:19:59141 days ago1732609199
0x22574649...76CfC8793
0.00480258 ETH
Swap Exact ETH F...212706842024-11-26 8:19:23141 days ago1732609163
0x22574649...76CfC8793
0.0066532 ETH
Swap Exact ETH F...212706802024-11-26 8:18:35141 days ago1732609115
0x22574649...76CfC8793
0.0066946 ETH
Swap Exact ETH F...212706742024-11-26 8:17:23141 days ago1732609043
0x22574649...76CfC8793
0.00714862 ETH
Swap Exact ETH F...212706692024-11-26 8:16:23141 days ago1732608983
0x22574649...76CfC8793
0.00763841 ETH
Swap Exact ETH F...209631822024-10-14 10:22:35184 days ago1728901355
0x22574649...76CfC8793
0.00000607 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TrollFaces

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-01-29
*/

//SPDX-License-Identifier: UNLICENSED

pragma solidity =0.8.19;

library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(
        uint256 a,
        uint256 b
    ) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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);
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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);
    }
}

library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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);
}

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);
}

abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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;
}

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);
}

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);
}

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(
        address operator,
        bool approved
    ) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(
        address owner,
        address spender
    ) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function swapTokensForExactETH(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapETHForExactTokens(
        uint amountOut,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function quote(
        uint amountA,
        uint reserveA,
        uint reserveB
    ) external pure returns (uint amountB);

    function getAmountOut(
        uint amountIn,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountOut);

    function getAmountIn(
        uint amountOut,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountIn);

    function getAmountsOut(
        uint amountIn,
        address[] calldata path
    ) external view returns (uint[] memory amounts);

    function getAmountsIn(
        uint amountOut,
        address[] calldata path
    ) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

abstract contract ReentrancyGuard {
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(
        address registrant,
        address operator
    ) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(
        address registrant,
        address subscription
    ) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(
        address registrant,
        address registrantToCopy
    ) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(
        address registrant,
        address operator,
        bool filtered
    ) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(
        address registrant,
        address[] calldata operators,
        bool filtered
    ) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(
        address registrant,
        bytes32 codehash,
        bool filtered
    ) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(
        address registrant,
        bytes32[] calldata codeHashes,
        bool filtered
    ) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(
        address registrant,
        address registrantToSubscribe
    ) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(
        address registrant
    ) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(
        address registrant,
        uint256 index
    ) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(
        address registrant,
        address registrantToCopy
    ) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(
        address registrant,
        address operator
    ) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(
        address registrant,
        address operatorWithCode
    ) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(
        address registrant,
        bytes32 codeHash
    ) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(
        address addr
    ) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(
        address addr
    ) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(
        address registrant,
        uint256 index
    ) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(
        address registrant,
        uint256 index
    ) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(
                    address(this),
                    subscriptionOrRegistrantToCopy
                );
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(
                        address(this),
                        subscriptionOrRegistrantToCopy
                    );
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (
                !OPERATOR_FILTER_REGISTRY.isOperatorAllowed(
                    address(this),
                    operator
                )
            ) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

contract TrollFaces is
    ERC721Enumerable,
    Ownable,
    ReentrancyGuard,
    DefaultOperatorFilterer
{
    using Strings for uint256;
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    // Constants
    string public baseExtension = ".json";
    uint256 public cost = 0.05 ether;

    // Supply
    uint256 public maxSupply = 3000;
    uint256 public lastSupply = maxSupply;
    uint256 public maxMintAmount = 10;

    // Split
    uint256 public mintReward = 25;
    uint256 public devSplit = 24;
    uint256 public artistSplit = 6;
    // 45% for marketing and buybacks

    // Reflection
    uint256 public reflectionBalance;
    uint256 public totalDividend;

    // Lists
    uint256[3000] public remainingIds;
    mapping(uint256 => uint256) public lastDividendAt;
    mapping(uint256 => address) public minters;

    // Params
    bool public paused = true;
    string private _baseTokenURI;

    // Addresses
    address public DexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address public RewardToken = 0xf8ebf4849F1Fa4FaF0DFF2106A173D3A6CB2eB3A;

    address public FeeReceiver = 0xD1F1724Aaf8aD84a36681a4C2e777Ca60CCB30EB;
    address public devWallet = 0xc105089A64e8eA79cb72501457B5dEeb09601875;
    address public artistWallet;

    //Contracts
    IUniswapV2Router02 public router;

    IERC20 public token;

    // Constructor
    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;
        artistWallet = msg.sender;
        router = IUniswapV2Router02(DexRouter);
        token = IERC20(RewardToken);
    }

    // Open Public write functions
    function reflectToOwners() public payable {
        reflectDividend(msg.value);
    }

    function claimRewardsTokens() public nonReentrant {
        uint256 count = balanceOf(msg.sender);
        uint256 balance = 0;
        for (uint256 i = 0; i < count; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i);
            balance = balance.add(getReflectionBalance(tokenId));
            lastDividendAt[tokenId] = totalDividend;
        }
        // Covert Balance to Tokens
        address[] memory path = new address[](2);
        path[0] = router.WETH();
        path[1] = RewardToken;

        router.swapExactETHForTokensSupportingFeeOnTransferTokens{
            value: balance
        }(0, path, msg.sender, block.timestamp);
    }

    function mint(uint256 _mintAmount) public payable {
        // Checks
        require(!paused, "TrollFaces: minting has not started yet");
        require(_mintAmount > 0, "TrollFaces: you have to mint at least one");
        require(
            _mintAmount <= maxMintAmount,
            "TrollFaces: you can only mint 10 at a time"
        );
        require(
            lastSupply >= _mintAmount,
            "TrollFaces: the collection is sold out"
        );
        if (msg.sender != owner()) {
            require(
                msg.value >= cost * _mintAmount,
                "TrollFaces: total cost isn't match"
            );
        }
        // Minting
        for (uint256 i = 1; i <= _mintAmount; i++) {
            // Mint for caller
            _randomMint(msg.sender);
            // Split cost
            handleMintReward(msg.value / _mintAmount);
        }
    }

    // Owner public write functions
    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setCost(uint256 _newCost) external onlyOwner {
        cost = _newCost;
    }

    function setmaxMintAmount(uint256 _newmaxMintAmount) external onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }

    function setBaseExtension(
        string memory _newBaseExtension
    ) external onlyOwner {
        baseExtension = _newBaseExtension;
    }

    function pause(bool _state) external onlyOwner {
        paused = _state;
    }

    function setRewardToken(address _newRewardToken) external onlyOwner {
        RewardToken = _newRewardToken;
        token = IERC20(RewardToken);
    }

    function setDexRouter(address _newDexRouter) external onlyOwner {
        DexRouter = _newDexRouter;
        router = IUniswapV2Router02(DexRouter);
    }

    function setFeeReceiver(address _newFeeReceiver) external onlyOwner {
        FeeReceiver = _newFeeReceiver;
    }

    function setMintShare(uint256 _newMintShare) external onlyOwner {
        mintReward = _newMintShare;
    }
    
    function removeStuckTokens(
        address _token,
        address _to,
        uint256 _amount
    ) public onlyOwner {
        IERC20(_token).transfer(_to, _amount);
    }


    function randomGiveaway(
        address _winner,
        uint256 _amount
    ) external onlyOwner {
        // Checks
        require(_winner != address(0), "TrollFaces: zero address");
        require(_amount > 0, "TrollFaces: you have to mint at least one");
        require(lastSupply != 0, "TrollFaces: the collection is sold out");
        // Mint random NFTs for a winner
        for (uint256 i = 1; i <= _amount; i++) {
            _randomMint(_winner);
        }
    }

    function multipleRegularMintsWithRecipients(
        address[] memory recipients
    ) external onlyOwner {
        for (uint256 i = 0; i < recipients.length; i++) {
            _regularMintWithAddress(recipients[i]);
        }
    }

    // Public view functions
    function getTokenIds(
        address _owner
    ) public view returns (uint256[] memory) {
        // Count owned Token
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        // Get ids of owned Token
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function tokenURI(
        uint256 _id
    ) public view virtual override returns (string memory) {
        require(_exists(_id), "TrollFaces: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _id.toString(),
                        baseExtension
                    )
                )
                : "";
    }



    function getReflectionBalances(
        address _owner
    ) public view returns (uint256) {
        uint256 count = balanceOf(_owner);
        uint256 total = 0;
        for (uint256 i = 0; i < count; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(_owner, i);
            total = total.add(getReflectionBalance(tokenId));
        }
        return total;
    }

    function getReflectionBalance(
        uint256 tokenId
    ) public view returns (uint256) {
        return totalDividend.sub(lastDividendAt[tokenId]);
    }

    // Internal state modifier functions
    function _regularMintWithAddress(
        address recipient
    ) internal returns (uint256) {
        // Get Actual id to mint
        uint256 _index = totalSupply();
        uint256 _realIndex = getValue(_index) + 1;
        // Reduce supply
        lastSupply--;
        // Replace used id by last
        remainingIds[_index] = getValue(lastSupply);
        // Mint
        _safeMint(recipient, _realIndex);
        // Save Original minters
        minters[_realIndex] = msg.sender;
        // Save dividend
        lastDividendAt[_realIndex] = totalDividend;
        return _realIndex;
    }

    function _regularMint() internal returns (uint256) {
        // Get Actual id to mint
        uint256 _index = totalSupply();
        uint256 _realIndex = getValue(_index) + 1;
        // Reduce supply
        lastSupply--;
        // Replace used id by last
        remainingIds[_index] = getValue(lastSupply);
        // Mint
        _safeMint(msg.sender, _realIndex);
        // Save Original minters
        minters[_realIndex] = msg.sender;
        // Save dividend
        lastDividendAt[_realIndex] = totalDividend;
        return _realIndex;
    }

    function _randomMint(
        address _target
    ) internal nonReentrant returns (uint256) {
        // Get Random id to mint
        uint256 _index = _getRandom() % lastSupply;
        uint256 _realIndex = getValue(_index) + 1;
        // Reduce supply
        lastSupply--;
        // Replace used id by last
        remainingIds[_index] = getValue(lastSupply);
        // Save dividend
        lastDividendAt[_realIndex] = totalDividend;
        // Mint
        _safeMint(_target, _realIndex);
        // Save Original minters
        minters[_realIndex] = msg.sender;
        return _realIndex;
    }

    // Private state modifier functions
    function reflectDividend(uint256 _amount) private {
        reflectionBalance = reflectionBalance.add(_amount);
        totalDividend = totalDividend.add((_amount.div(totalSupply())));
    }

    function handleMintReward(uint256 _amount) private {
        // Split payment
        uint256 mintShare = _amount.mul(mintReward).div(100);
        uint256 devShare = _amount.mul(devSplit).div(100);
        uint256 artistShare = _amount.mul(artistSplit).div(100);
        uint256 buybackShare = _amount.sub(mintShare).sub(devShare).sub(
            artistShare
        );
        // Save dividend for community
        reflectDividend(mintShare);
        // Send owner share
        bool success;
        (success, ) = payable(devWallet).call{value: devShare}("");
        (success, ) = payable(artistWallet).call{value: artistShare}("");
        (success, ) = payable(FeeReceiver).call{value: buybackShare}("");
    }

    // Internal view
    function getValue(uint256 _index) internal view returns (uint256) {
        if (remainingIds[_index] != 0) return remainingIds[_index];
        else return _index;
    }

    function _getRandom() internal view returns (uint256) {
        return
            uint256(
                keccak256(
                    abi.encodePacked(
                        block.prevrandao,
                        block.timestamp,
                        lastSupply
                    )
                )
            );
    }

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

    // Opensea Operator Filterer
    function setApprovalForAll(
        address operator,
        bool approved
    ) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public override(IERC721, ERC721) onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override(IERC721, ERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DexRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistSplit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"artistWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewardsTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devSplit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getReflectionBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getReflectionBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastDividendAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"multipleRegularMintsWithRecipients","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_winner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"randomGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reflectToOwners","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"reflectionBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"remainingIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"removeStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDexRouter","type":"address"}],"name":"setDexRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newFeeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintShare","type":"uint256"}],"name":"setMintShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRewardToken","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

60c06040526005608090815264173539b7b760d91b60a052600c906200002690826200040c565b5066b1a2bc2ec50000600d55610bb8600e819055600f55600a601055601960115560186012556006601355610bd0805460ff19166001179055610bd280546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d17909155610bd38054821673f8ebf4849f1fa4faf0dff2106a173d3a6cb2eb3a179055610bd48054821673d1f1724aaf8ad84a36681a4c2e777ca60ccb30eb179055610bd5805490911673c105089a64e8ea79cb72501457b5deeb09601875179055348015620000f457600080fd5b5060405162003aec38038062003aec833981016040819052620001179162000587565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001848460006200013e83826200040c565b5060016200014d82826200040c565b5050506200016a620001646200031160201b60201c565b62000315565b6001600b556daaeb6d7670e522a718067333cd4e3b15620002b45780156200020257604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001e357600080fd5b505af1158015620001f8573d6000803e3d6000fd5b50505050620002b4565b6001600160a01b03821615620002535760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001c8565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200029a57600080fd5b505af1158015620002af573d6000803e3d6000fd5b505050505b50610bd19050620002c682826200040c565b5050610bd680546001600160a01b03199081163317909155610bd254610bd7805483166001600160a01b03928316179055610bd354610bd88054909316911617905550620006189050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200039257607f821691505b602082108103620003b357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200040757600081815260208120601f850160051c81016020861015620003e25750805b601f850160051c820191505b818110156200040357828155600101620003ee565b5050505b505050565b81516001600160401b0381111562000428576200042862000367565b62000440816200043984546200037d565b84620003b9565b602080601f8311600181146200047857600084156200045f5750858301515b600019600386901b1c1916600185901b17855562000403565b600085815260208120601f198616915b82811015620004a95788860151825594840194600190910190840162000488565b5085821015620004c85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620004ea57600080fd5b81516001600160401b038082111562000507576200050762000367565b604051601f8301601f19908116603f0116810190828211818310171562000532576200053262000367565b816040528381526020925086838588010111156200054f57600080fd5b600091505b8382101562000573578582018301518183018401529082019062000554565b600093810190920192909252949350505050565b6000806000606084860312156200059d57600080fd5b83516001600160401b0380821115620005b557600080fd5b620005c387838801620004d8565b94506020860151915080821115620005da57600080fd5b620005e887838801620004d8565b93506040860151915080821115620005ff57600080fd5b506200060e86828701620004d8565b9150509250925092565b6134c480620006286000396000f3fe60806040526004361061038a5760003560e01c8063736ce0d4116101dc578063c668286211610102578063ee6d9d6d116100a0578063f72f863b1161006f578063f72f863b14610a5d578063f75b8c5f14610a7d578063f887ea4014610a93578063fc0c546a14610ab457600080fd5b8063ee6d9d6d146109dc578063efdcd974146109fc578063f1e9f1e514610a1c578063f2fde38b14610a3d57600080fd5b8063d2068857116100dc578063d20688571461092f578063d5abeb011461095d578063da3ef23f14610973578063e985e9c51461099357600080fd5b8063c6682862146108cd578063c87b56dd146108e2578063d004b0361461090257600080fd5b8063a0712d681161017a578063aab8900c11610149578063aab8900c14610857578063b3ef77f214610877578063b88d4fde14610897578063bbe68cf0146108b757600080fd5b8063a0712d68146107e3578063a22cb465146107f6578063a3342fba14610816578063a708d4041461083757600080fd5b80638aee8127116101b65780638aee81271461076f5780638da5cb5b1461078f5780638ea5220f146107ad57806395d89b41146107ce57600080fd5b8063736ce0d4146106f75780637f00c7a6146107185780638623ec7b1461073857600080fd5b80633d907840116102c1578063521133d11161025f578063639ec3001161022e578063639ec300146106825780636eb0d030146106a257806370a08231146106c2578063715018a6146106e257600080fd5b8063521133d11461061257806355f804b3146106275780635c975abb146106475780636352211e1461066257600080fd5b806342842e0e1161029b57806342842e0e1461059c57806344a0d68a146105bc5780634b6acafb146105dc5780634f6ccce7146105f257600080fd5b80633d9078401461054e5780634131ff991461056457806341f434341461057a57600080fd5b8063095ea7b31161032e57806318160ddd1161030857806318160ddd146104e3578063239c70ae146104f857806323b872dd1461050e5780632f745c591461052e57600080fd5b8063095ea7b31461049757806313faede6146104b7578063174f57af146104cd57600080fd5b806302329a291161036a57806302329a291461042b578063047d5e801461044d57806306fdde0314610455578063081812fc1461047757600080fd5b80620251641461038f578062fe50c6146103cd57806301ffc9a7146103fb575b600080fd5b34801561039b57600080fd5b50610bd4546103b0906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103d957600080fd5b506103ed6103e8366004612b16565b610ad5565b6040519081526020016103c4565b34801561040757600080fd5b5061041b610416366004612b45565b610af7565b60405190151581526020016103c4565b34801561043757600080fd5b5061044b610446366004612b70565b610b1c565b005b61044b610b63565b34801561046157600080fd5b5061046a610b6e565b6040516103c49190612bdd565b34801561048357600080fd5b506103b0610492366004612b16565b610c00565b3480156104a357600080fd5b5061044b6104b2366004612c05565b610c95565b3480156104c357600080fd5b506103ed600d5481565b3480156104d957600080fd5b506103ed60115481565b3480156104ef57600080fd5b506008546103ed565b34801561050457600080fd5b506103ed60105481565b34801561051a57600080fd5b5061044b610529366004612c31565b610cae565b34801561053a57600080fd5b506103ed610549366004612c05565b610cd9565b34801561055a57600080fd5b506103ed60125481565b34801561057057600080fd5b506103ed60145481565b34801561058657600080fd5b506103b06daaeb6d7670e522a718067333cd4e81565b3480156105a857600080fd5b5061044b6105b7366004612c31565b610d6f565b3480156105c857600080fd5b5061044b6105d7366004612b16565b610d94565b3480156105e857600080fd5b506103ed60155481565b3480156105fe57600080fd5b506103ed61060d366004612b16565b610dc3565b34801561061e57600080fd5b5061044b610e56565b34801561063357600080fd5b5061044b610642366004612d11565b61101e565b34801561065357600080fd5b50610bd05461041b9060ff1681565b34801561066e57600080fd5b506103b061067d366004612b16565b611059565b34801561068e57600080fd5b5061044b61069d366004612d5a565b6110d0565b3480156106ae57600080fd5b5061044b6106bd366004612b16565b61113b565b3480156106ce57600080fd5b506103ed6106dd366004612e0c565b61116a565b3480156106ee57600080fd5b5061044b6111f1565b34801561070357600080fd5b50610bd2546103b0906001600160a01b031681565b34801561072457600080fd5b5061044b610733366004612b16565b611225565b34801561074457600080fd5b506103b0610753366004612b16565b610bcf602052600090815260409020546001600160a01b031681565b34801561077b57600080fd5b5061044b61078a366004612e0c565b611254565b34801561079b57600080fd5b50600a546001600160a01b03166103b0565b3480156107b957600080fd5b50610bd5546103b0906001600160a01b031681565b3480156107da57600080fd5b5061046a6112ac565b61044b6107f1366004612b16565b6112bb565b34801561080257600080fd5b5061044b610811366004612e29565b611478565b34801561082257600080fd5b50610bd6546103b0906001600160a01b031681565b34801561084357600080fd5b506103ed610852366004612e0c565b61148c565b34801561086357600080fd5b5061044b610872366004612c31565b6114de565b34801561088357600080fd5b5061044b610892366004612c05565b61157b565b3480156108a357600080fd5b5061044b6108b2366004612e62565b611663565b3480156108c357600080fd5b506103ed60135481565b3480156108d957600080fd5b5061046a611690565b3480156108ee57600080fd5b5061046a6108fd366004612b16565b61171e565b34801561090e57600080fd5b5061092261091d366004612e0c565b6117f8565b6040516103c49190612ee2565b34801561093b57600080fd5b506103ed61094a366004612b16565b610bce6020526000908152604090205481565b34801561096957600080fd5b506103ed600e5481565b34801561097f57600080fd5b5061044b61098e366004612d11565b611892565b34801561099f57600080fd5b5061041b6109ae366004612f26565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109e857600080fd5b506103ed6109f7366004612b16565b6118c8565b348015610a0857600080fd5b5061044b610a17366004612e0c565b6118e0565b348015610a2857600080fd5b50610bd3546103b0906001600160a01b031681565b348015610a4957600080fd5b5061044b610a58366004612e0c565b61192d565b348015610a6957600080fd5b5061044b610a78366004612e0c565b6119c8565b348015610a8957600080fd5b506103ed600f5481565b348015610a9f57600080fd5b50610bd7546103b0906001600160a01b031681565b348015610ac057600080fd5b50610bd8546103b0906001600160a01b031681565b6000818152610bce6020526040812054601554610af191611a20565b92915050565b60006001600160e01b0319821663780e9d6360e01b1480610af15750610af182611a2c565b600a546001600160a01b03163314610b4f5760405162461bcd60e51b8152600401610b4690612f54565b60405180910390fd5b610bd0805460ff1916911515919091179055565b610b6c34611a7c565b565b606060008054610b7d90612f89565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990612f89565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c795760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b46565b506000908152600460205260409020546001600160a01b031690565b81610c9f81611ab1565b610ca98383611b6a565b505050565b826001600160a01b0381163314610cc857610cc833611ab1565b610cd3848484611c7a565b50505050565b6000610ce48361116a565b8210610d465760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610b46565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b826001600160a01b0381163314610d8957610d8933611ab1565b610cd3848484611cab565b600a546001600160a01b03163314610dbe5760405162461bcd60e51b8152600401610b4690612f54565b600d55565b6000610dce60085490565b8210610e315760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b46565b60088281548110610e4457610e44612fc3565b90600052602060002001549050919050565b610e5e611cc6565b6000610e693361116a565b90506000805b82811015610ec3576000610e833383610cd9565b9050610e98610e9182610ad5565b8490611d1f565b6015546000928352610bce602052604090922091909155915080610ebb81612fef565b915050610e6f565b506040805160028082526060820183526000926020830190803683375050610bd754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610f2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f539190613008565b81600081518110610f6657610f66612fc3565b6001600160a01b039283166020918202929092010152610bd354825191169082906001908110610f9857610f98612fc3565b6001600160a01b039283166020918202929092010152610bd75460405163b6f9de9560e01b815291169063b6f9de95908490610fdf90600090869033904290600401613025565b6000604051808303818588803b158015610ff857600080fd5b505af115801561100c573d6000803e3d6000fd5b5050505050505050610b6c6001600b55565b600a546001600160a01b031633146110485760405162461bcd60e51b8152600401610b4690612f54565b610bd161105582826130dd565b5050565b6000818152600260205260408120546001600160a01b031680610af15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b46565b600a546001600160a01b031633146110fa5760405162461bcd60e51b8152600401610b4690612f54565b60005b81518110156110555761112882828151811061111b5761111b612fc3565b6020026020010151611d2b565b508061113381612fef565b9150506110fd565b600a546001600160a01b031633146111655760405162461bcd60e51b8152600401610b4690612f54565b601155565b60006001600160a01b0382166111d55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b46565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461121b5760405162461bcd60e51b8152600401610b4690612f54565b610b6c6000611dc7565b600a546001600160a01b0316331461124f5760405162461bcd60e51b8152600401610b4690612f54565b601055565b600a546001600160a01b0316331461127e5760405162461bcd60e51b8152600401610b4690612f54565b610bd380546001600160a01b039092166001600160a01b03199283168117909155610bd88054909216179055565b606060018054610b7d90612f89565b610bd05460ff161561131f5760405162461bcd60e51b815260206004820152602760248201527f54726f6c6c46616365733a206d696e74696e6720686173206e6f7420737461726044820152661d1959081e595d60ca1b6064820152608401610b46565b6000811161133f5760405162461bcd60e51b8152600401610b469061319d565b6010548111156113a45760405162461bcd60e51b815260206004820152602a60248201527f54726f6c6c46616365733a20796f752063616e206f6e6c79206d696e7420313060448201526920617420612074696d6560b01b6064820152608401610b46565b80600f5410156113c65760405162461bcd60e51b8152600401610b46906131e6565b600a546001600160a01b031633146114405780600d546113e6919061322c565b3410156114405760405162461bcd60e51b815260206004820152602260248201527f54726f6c6c46616365733a20746f74616c20636f73742069736e2774206d61746044820152610c6d60f31b6064820152608401610b46565b60015b8181116110555761145333611e19565b506114666114618334613259565b611f02565b8061147081612fef565b915050611443565b8161148281611ab1565b610ca9838361208f565b6000806114988361116a565b90506000805b828110156114d65760006114b28683610cd9565b90506114c0610e9182610ad5565b92505080806114ce90612fef565b91505061149e565b509392505050565b600a546001600160a01b031633146115085760405162461bcd60e51b8152600401610b4690612f54565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611557573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd3919061326d565b600a546001600160a01b031633146115a55760405162461bcd60e51b8152600401610b4690612f54565b6001600160a01b0382166115fb5760405162461bcd60e51b815260206004820152601860248201527f54726f6c6c46616365733a207a65726f206164647265737300000000000000006044820152606401610b46565b6000811161161b5760405162461bcd60e51b8152600401610b469061319d565b600f5460000361163d5760405162461bcd60e51b8152600401610b46906131e6565b60015b818111610ca95761165083611e19565b508061165b81612fef565b915050611640565b836001600160a01b038116331461167d5761167d33611ab1565b61168985858585612153565b5050505050565b600c805461169d90612f89565b80601f01602080910402602001604051908101604052809291908181526020018280546116c990612f89565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166117995760405162461bcd60e51b815260206004820152602b60248201527f54726f6c6c46616365733a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b6064820152608401610b46565b60006117a3612185565b905060008151116117c357604051806020016040528060008152506117f1565b806117cd84612195565b600c6040516020016117e19392919061328a565b6040516020818303038152906040525b9392505050565b606060006118058361116a565b905060008167ffffffffffffffff81111561182257611822612c72565b60405190808252806020026020018201604052801561184b578160200160208202803683370190505b50905060005b828110156114d6576118638582610cd9565b82828151811061187557611875612fc3565b60209081029190910101528061188a81612fef565b915050611851565b600a546001600160a01b031633146118bc5760405162461bcd60e51b8152600401610b4690612f54565b600c61105582826130dd565b601681610bb881106118d957600080fd5b0154905081565b600a546001600160a01b0316331461190a5760405162461bcd60e51b8152600401610b4690612f54565b610bd480546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146119575760405162461bcd60e51b8152600401610b4690612f54565b6001600160a01b0381166119bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b46565b6119c581611dc7565b50565b600a546001600160a01b031633146119f25760405162461bcd60e51b8152600401610b4690612f54565b610bd280546001600160a01b039092166001600160a01b03199283168117909155610bd78054909216179055565b60006117f1828461332a565b60006001600160e01b031982166380ac58cd60e01b1480611a5d57506001600160e01b03198216635b5e139f60e01b145b80610af157506301ffc9a760e01b6001600160e01b0319831614610af1565b601454611a899082611d1f565b601455611aab611aa2611a9b60085490565b839061229e565b60155490611d1f565b60155550565b6daaeb6d7670e522a718067333cd4e3b156119c557604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b42919061326d565b6119c557604051633b79c77360e21b81526001600160a01b0382166004820152602401610b46565b6000611b7582611059565b9050806001600160a01b0316836001600160a01b031603611be25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b46565b336001600160a01b0382161480611bfe5750611bfe81336109ae565b611c705760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b46565b610ca983836122aa565b611c843382612318565b611ca05760405162461bcd60e51b8152600401610b469061333d565b610ca983838361240b565b610ca983838360405180602001604052806000815250611663565b6002600b5403611d185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b46565b6002600b55565b60006117f1828461338e565b600080611d3760085490565b90506000611d44826125b6565b611d4f90600161338e565b600f80549192506000611d61836133a1565b9190505550611d71600f546125b6565b601683610bb88110611d8557611d85612fc3565b0155611d9184826125f3565b6000818152610bcf6020908152604080832080546001600160a01b03191633179055601554610bce909252909120559392505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611e23611cc6565b600f546040805144602080830191909152428284015260608083018590528351808403909101815260809092019092528051910120600091611e64916133b8565b90506000611e71826125b6565b611e7c90600161338e565b600f80549192506000611e8e836133a1565b9190505550611e9e600f546125b6565b601683610bb88110611eb257611eb2612fc3565b01556015546000828152610bce6020526040902055611ed184826125f3565b6000818152610bcf6020526040902080546001600160a01b03191633179055915050611efd6001600b55565b919050565b6000611f246064611f1e6011548561260d90919063ffffffff16565b9061229e565b90506000611f426064611f1e6012548661260d90919063ffffffff16565b90506000611f606064611f1e6013548761260d90919063ffffffff16565b90506000611f7a82611f7485818989611a20565b90611a20565b9050611f8584611a7c565b610bd5546040516000916001600160a01b03169085908381818185875af1925050503d8060008114611fd3576040519150601f19603f3d011682016040523d82523d6000602084013e611fd8565b606091505b5050610bd6546040519192506001600160a01b0316908490600081818185875af1925050503d8060008114612029576040519150601f19603f3d011682016040523d82523d6000602084013e61202e565b606091505b5050610bd4546040519192506001600160a01b0316908390600081818185875af1925050503d806000811461207f576040519150601f19603f3d011682016040523d82523d6000602084013e612084565b606091505b505050505050505050565b336001600160a01b038316036120e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b46565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61215d3383612318565b6121795760405162461bcd60e51b8152600401610b469061333d565b610cd384848484612619565b6060610bd18054610b7d90612f89565b6060816000036121bc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121e657806121d081612fef565b91506121df9050600a83613259565b91506121c0565b60008167ffffffffffffffff81111561220157612201612c72565b6040519080825280601f01601f19166020018201604052801561222b576020820181803683370190505b5090505b84156122965761224060018361332a565b915061224d600a866133b8565b61225890603061338e565b60f81b81838151811061226d5761226d612fc3565b60200101906001600160f81b031916908160001a90535061228f600a86613259565b945061222f565b949350505050565b60006117f18284613259565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122df82611059565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166123915760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b46565b600061239c83611059565b9050806001600160a01b0316846001600160a01b031614806123d75750836001600160a01b03166123cc84610c00565b6001600160a01b0316145b8061229657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16612296565b826001600160a01b031661241e82611059565b6001600160a01b0316146124865760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b46565b6001600160a01b0382166124e85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b46565b6124f383838361264c565b6124fe6000826122aa565b6001600160a01b038316600090815260036020526040812080546001929061252790849061332a565b90915550506001600160a01b038216600090815260036020526040812080546001929061255590849061338e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000601682610bb881106125cc576125cc612fc3565b0154156125ef57601682610bb881106125e7576125e7612fc3565b015492915050565b5090565b611055828260405180602001604052806000815250612704565b60006117f1828461322c565b61262484848461240b565b61263084848484612737565b610cd35760405162461bcd60e51b8152600401610b46906133cc565b6001600160a01b0383166126a7576126a281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6126ca565b816001600160a01b0316836001600160a01b0316146126ca576126ca8382612838565b6001600160a01b0382166126e157610ca9816128d5565b826001600160a01b0316826001600160a01b031614610ca957610ca98282612984565b61270e83836129c8565b61271b6000848484612737565b610ca95760405162461bcd60e51b8152600401610b46906133cc565b60006001600160a01b0384163b1561282d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061277b90339089908890889060040161341e565b6020604051808303816000875af19250505080156127b6575060408051601f3d908101601f191682019092526127b39181019061345b565b60015b612813573d8080156127e4576040519150601f19603f3d011682016040523d82523d6000602084013e6127e9565b606091505b50805160000361280b5760405162461bcd60e51b8152600401610b46906133cc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612296565b506001949350505050565b600060016128458461116a565b61284f919061332a565b6000838152600760205260409020549091508082146128a2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906128e79060019061332a565b6000838152600960205260408120546008805493945090928490811061290f5761290f612fc3565b90600052602060002001549050806008838154811061293057612930612fc3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061296857612968613478565b6001900381819060005260206000200160009055905550505050565b600061298f8361116a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612a1e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b46565b6000818152600260205260409020546001600160a01b031615612a835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b46565b612a8f6000838361264c565b6001600160a01b0382166000908152600360205260408120805460019290612ab890849061338e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060208284031215612b2857600080fd5b5035919050565b6001600160e01b0319811681146119c557600080fd5b600060208284031215612b5757600080fd5b81356117f181612b2f565b80151581146119c557600080fd5b600060208284031215612b8257600080fd5b81356117f181612b62565b60005b83811015612ba8578181015183820152602001612b90565b50506000910152565b60008151808452612bc9816020860160208601612b8d565b601f01601f19169290920160200192915050565b6020815260006117f16020830184612bb1565b6001600160a01b03811681146119c557600080fd5b60008060408385031215612c1857600080fd5b8235612c2381612bf0565b946020939093013593505050565b600080600060608486031215612c4657600080fd5b8335612c5181612bf0565b92506020840135612c6181612bf0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612cb157612cb1612c72565b604052919050565b600067ffffffffffffffff831115612cd357612cd3612c72565b612ce6601f8401601f1916602001612c88565b9050828152838383011115612cfa57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612d2357600080fd5b813567ffffffffffffffff811115612d3a57600080fd5b8201601f81018413612d4b57600080fd5b61229684823560208401612cb9565b60006020808385031215612d6d57600080fd5b823567ffffffffffffffff80821115612d8557600080fd5b818501915085601f830112612d9957600080fd5b813581811115612dab57612dab612c72565b8060051b9150612dbc848301612c88565b8181529183018401918481019088841115612dd657600080fd5b938501935b83851015612e005784359250612df083612bf0565b8282529385019390850190612ddb565b98975050505050505050565b600060208284031215612e1e57600080fd5b81356117f181612bf0565b60008060408385031215612e3c57600080fd5b8235612e4781612bf0565b91506020830135612e5781612b62565b809150509250929050565b60008060008060808587031215612e7857600080fd5b8435612e8381612bf0565b93506020850135612e9381612bf0565b925060408501359150606085013567ffffffffffffffff811115612eb657600080fd5b8501601f81018713612ec757600080fd5b612ed687823560208401612cb9565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b81811015612f1a57835183529284019291840191600101612efe565b50909695505050505050565b60008060408385031215612f3957600080fd5b8235612f4481612bf0565b91506020830135612e5781612bf0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612f9d57607f821691505b602082108103612fbd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161300157613001612fd9565b5060010190565b60006020828403121561301a57600080fd5b81516117f181612bf0565b600060808201868352602060808185015281875180845260a086019150828901935060005b8181101561306f5784516001600160a01b03168352938301939183019160010161304a565b50506001600160a01b039690961660408501525050506060015292915050565b601f821115610ca957600081815260208120601f850160051c810160208610156130b65750805b601f850160051c820191505b818110156130d5578281556001016130c2565b505050505050565b815167ffffffffffffffff8111156130f7576130f7612c72565b61310b816131058454612f89565b8461308f565b602080601f83116001811461314057600084156131285750858301515b600019600386901b1c1916600185901b1785556130d5565b600085815260208120601f198616915b8281101561316f57888601518255948401946001909101908401613150565b508582101561318d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526029908201527f54726f6c6c46616365733a20796f75206861766520746f206d696e74206174206040820152686c65617374206f6e6560b81b606082015260800190565b60208082526026908201527f54726f6c6c46616365733a2074686520636f6c6c656374696f6e20697320736f6040820152651b19081bdd5d60d21b606082015260800190565b8082028115828204841417610af157610af1612fd9565b634e487b7160e01b600052601260045260246000fd5b60008261326857613268613243565b500490565b60006020828403121561327f57600080fd5b81516117f181612b62565b60008451602061329d8285838a01612b8d565b8551918401916132b08184848a01612b8d565b85549201916000906132c181612f89565b600182811680156132d957600181146132ee5761331a565b60ff198416875282151583028701945061331a565b896000528560002060005b84811015613312578154898201529083019087016132f9565b505082870194505b50929a9950505050505050505050565b81810381811115610af157610af1612fd9565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b80820180821115610af157610af1612fd9565b6000816133b0576133b0612fd9565b506000190190565b6000826133c7576133c7613243565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061345190830184612bb1565b9695505050505050565b60006020828403121561346d57600080fd5b81516117f181612b2f565b634e487b7160e01b600052603160045260246000fdfea264697066735822122096b39bf69fbf8605ee4226733324347e7ccde3eedb048056a009ec02cc83fb5364736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f54726f6c6c2046616365204e4654730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000854524f4c4c4e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b3078663865626634383439463146613446614630444646323130364131373344334136434232654233412f000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061038a5760003560e01c8063736ce0d4116101dc578063c668286211610102578063ee6d9d6d116100a0578063f72f863b1161006f578063f72f863b14610a5d578063f75b8c5f14610a7d578063f887ea4014610a93578063fc0c546a14610ab457600080fd5b8063ee6d9d6d146109dc578063efdcd974146109fc578063f1e9f1e514610a1c578063f2fde38b14610a3d57600080fd5b8063d2068857116100dc578063d20688571461092f578063d5abeb011461095d578063da3ef23f14610973578063e985e9c51461099357600080fd5b8063c6682862146108cd578063c87b56dd146108e2578063d004b0361461090257600080fd5b8063a0712d681161017a578063aab8900c11610149578063aab8900c14610857578063b3ef77f214610877578063b88d4fde14610897578063bbe68cf0146108b757600080fd5b8063a0712d68146107e3578063a22cb465146107f6578063a3342fba14610816578063a708d4041461083757600080fd5b80638aee8127116101b65780638aee81271461076f5780638da5cb5b1461078f5780638ea5220f146107ad57806395d89b41146107ce57600080fd5b8063736ce0d4146106f75780637f00c7a6146107185780638623ec7b1461073857600080fd5b80633d907840116102c1578063521133d11161025f578063639ec3001161022e578063639ec300146106825780636eb0d030146106a257806370a08231146106c2578063715018a6146106e257600080fd5b8063521133d11461061257806355f804b3146106275780635c975abb146106475780636352211e1461066257600080fd5b806342842e0e1161029b57806342842e0e1461059c57806344a0d68a146105bc5780634b6acafb146105dc5780634f6ccce7146105f257600080fd5b80633d9078401461054e5780634131ff991461056457806341f434341461057a57600080fd5b8063095ea7b31161032e57806318160ddd1161030857806318160ddd146104e3578063239c70ae146104f857806323b872dd1461050e5780632f745c591461052e57600080fd5b8063095ea7b31461049757806313faede6146104b7578063174f57af146104cd57600080fd5b806302329a291161036a57806302329a291461042b578063047d5e801461044d57806306fdde0314610455578063081812fc1461047757600080fd5b80620251641461038f578062fe50c6146103cd57806301ffc9a7146103fb575b600080fd5b34801561039b57600080fd5b50610bd4546103b0906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103d957600080fd5b506103ed6103e8366004612b16565b610ad5565b6040519081526020016103c4565b34801561040757600080fd5b5061041b610416366004612b45565b610af7565b60405190151581526020016103c4565b34801561043757600080fd5b5061044b610446366004612b70565b610b1c565b005b61044b610b63565b34801561046157600080fd5b5061046a610b6e565b6040516103c49190612bdd565b34801561048357600080fd5b506103b0610492366004612b16565b610c00565b3480156104a357600080fd5b5061044b6104b2366004612c05565b610c95565b3480156104c357600080fd5b506103ed600d5481565b3480156104d957600080fd5b506103ed60115481565b3480156104ef57600080fd5b506008546103ed565b34801561050457600080fd5b506103ed60105481565b34801561051a57600080fd5b5061044b610529366004612c31565b610cae565b34801561053a57600080fd5b506103ed610549366004612c05565b610cd9565b34801561055a57600080fd5b506103ed60125481565b34801561057057600080fd5b506103ed60145481565b34801561058657600080fd5b506103b06daaeb6d7670e522a718067333cd4e81565b3480156105a857600080fd5b5061044b6105b7366004612c31565b610d6f565b3480156105c857600080fd5b5061044b6105d7366004612b16565b610d94565b3480156105e857600080fd5b506103ed60155481565b3480156105fe57600080fd5b506103ed61060d366004612b16565b610dc3565b34801561061e57600080fd5b5061044b610e56565b34801561063357600080fd5b5061044b610642366004612d11565b61101e565b34801561065357600080fd5b50610bd05461041b9060ff1681565b34801561066e57600080fd5b506103b061067d366004612b16565b611059565b34801561068e57600080fd5b5061044b61069d366004612d5a565b6110d0565b3480156106ae57600080fd5b5061044b6106bd366004612b16565b61113b565b3480156106ce57600080fd5b506103ed6106dd366004612e0c565b61116a565b3480156106ee57600080fd5b5061044b6111f1565b34801561070357600080fd5b50610bd2546103b0906001600160a01b031681565b34801561072457600080fd5b5061044b610733366004612b16565b611225565b34801561074457600080fd5b506103b0610753366004612b16565b610bcf602052600090815260409020546001600160a01b031681565b34801561077b57600080fd5b5061044b61078a366004612e0c565b611254565b34801561079b57600080fd5b50600a546001600160a01b03166103b0565b3480156107b957600080fd5b50610bd5546103b0906001600160a01b031681565b3480156107da57600080fd5b5061046a6112ac565b61044b6107f1366004612b16565b6112bb565b34801561080257600080fd5b5061044b610811366004612e29565b611478565b34801561082257600080fd5b50610bd6546103b0906001600160a01b031681565b34801561084357600080fd5b506103ed610852366004612e0c565b61148c565b34801561086357600080fd5b5061044b610872366004612c31565b6114de565b34801561088357600080fd5b5061044b610892366004612c05565b61157b565b3480156108a357600080fd5b5061044b6108b2366004612e62565b611663565b3480156108c357600080fd5b506103ed60135481565b3480156108d957600080fd5b5061046a611690565b3480156108ee57600080fd5b5061046a6108fd366004612b16565b61171e565b34801561090e57600080fd5b5061092261091d366004612e0c565b6117f8565b6040516103c49190612ee2565b34801561093b57600080fd5b506103ed61094a366004612b16565b610bce6020526000908152604090205481565b34801561096957600080fd5b506103ed600e5481565b34801561097f57600080fd5b5061044b61098e366004612d11565b611892565b34801561099f57600080fd5b5061041b6109ae366004612f26565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109e857600080fd5b506103ed6109f7366004612b16565b6118c8565b348015610a0857600080fd5b5061044b610a17366004612e0c565b6118e0565b348015610a2857600080fd5b50610bd3546103b0906001600160a01b031681565b348015610a4957600080fd5b5061044b610a58366004612e0c565b61192d565b348015610a6957600080fd5b5061044b610a78366004612e0c565b6119c8565b348015610a8957600080fd5b506103ed600f5481565b348015610a9f57600080fd5b50610bd7546103b0906001600160a01b031681565b348015610ac057600080fd5b50610bd8546103b0906001600160a01b031681565b6000818152610bce6020526040812054601554610af191611a20565b92915050565b60006001600160e01b0319821663780e9d6360e01b1480610af15750610af182611a2c565b600a546001600160a01b03163314610b4f5760405162461bcd60e51b8152600401610b4690612f54565b60405180910390fd5b610bd0805460ff1916911515919091179055565b610b6c34611a7c565b565b606060008054610b7d90612f89565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990612f89565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c795760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b46565b506000908152600460205260409020546001600160a01b031690565b81610c9f81611ab1565b610ca98383611b6a565b505050565b826001600160a01b0381163314610cc857610cc833611ab1565b610cd3848484611c7a565b50505050565b6000610ce48361116a565b8210610d465760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610b46565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b826001600160a01b0381163314610d8957610d8933611ab1565b610cd3848484611cab565b600a546001600160a01b03163314610dbe5760405162461bcd60e51b8152600401610b4690612f54565b600d55565b6000610dce60085490565b8210610e315760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b46565b60088281548110610e4457610e44612fc3565b90600052602060002001549050919050565b610e5e611cc6565b6000610e693361116a565b90506000805b82811015610ec3576000610e833383610cd9565b9050610e98610e9182610ad5565b8490611d1f565b6015546000928352610bce602052604090922091909155915080610ebb81612fef565b915050610e6f565b506040805160028082526060820183526000926020830190803683375050610bd754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610f2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f539190613008565b81600081518110610f6657610f66612fc3565b6001600160a01b039283166020918202929092010152610bd354825191169082906001908110610f9857610f98612fc3565b6001600160a01b039283166020918202929092010152610bd75460405163b6f9de9560e01b815291169063b6f9de95908490610fdf90600090869033904290600401613025565b6000604051808303818588803b158015610ff857600080fd5b505af115801561100c573d6000803e3d6000fd5b5050505050505050610b6c6001600b55565b600a546001600160a01b031633146110485760405162461bcd60e51b8152600401610b4690612f54565b610bd161105582826130dd565b5050565b6000818152600260205260408120546001600160a01b031680610af15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b46565b600a546001600160a01b031633146110fa5760405162461bcd60e51b8152600401610b4690612f54565b60005b81518110156110555761112882828151811061111b5761111b612fc3565b6020026020010151611d2b565b508061113381612fef565b9150506110fd565b600a546001600160a01b031633146111655760405162461bcd60e51b8152600401610b4690612f54565b601155565b60006001600160a01b0382166111d55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b46565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461121b5760405162461bcd60e51b8152600401610b4690612f54565b610b6c6000611dc7565b600a546001600160a01b0316331461124f5760405162461bcd60e51b8152600401610b4690612f54565b601055565b600a546001600160a01b0316331461127e5760405162461bcd60e51b8152600401610b4690612f54565b610bd380546001600160a01b039092166001600160a01b03199283168117909155610bd88054909216179055565b606060018054610b7d90612f89565b610bd05460ff161561131f5760405162461bcd60e51b815260206004820152602760248201527f54726f6c6c46616365733a206d696e74696e6720686173206e6f7420737461726044820152661d1959081e595d60ca1b6064820152608401610b46565b6000811161133f5760405162461bcd60e51b8152600401610b469061319d565b6010548111156113a45760405162461bcd60e51b815260206004820152602a60248201527f54726f6c6c46616365733a20796f752063616e206f6e6c79206d696e7420313060448201526920617420612074696d6560b01b6064820152608401610b46565b80600f5410156113c65760405162461bcd60e51b8152600401610b46906131e6565b600a546001600160a01b031633146114405780600d546113e6919061322c565b3410156114405760405162461bcd60e51b815260206004820152602260248201527f54726f6c6c46616365733a20746f74616c20636f73742069736e2774206d61746044820152610c6d60f31b6064820152608401610b46565b60015b8181116110555761145333611e19565b506114666114618334613259565b611f02565b8061147081612fef565b915050611443565b8161148281611ab1565b610ca9838361208f565b6000806114988361116a565b90506000805b828110156114d65760006114b28683610cd9565b90506114c0610e9182610ad5565b92505080806114ce90612fef565b91505061149e565b509392505050565b600a546001600160a01b031633146115085760405162461bcd60e51b8152600401610b4690612f54565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af1158015611557573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd3919061326d565b600a546001600160a01b031633146115a55760405162461bcd60e51b8152600401610b4690612f54565b6001600160a01b0382166115fb5760405162461bcd60e51b815260206004820152601860248201527f54726f6c6c46616365733a207a65726f206164647265737300000000000000006044820152606401610b46565b6000811161161b5760405162461bcd60e51b8152600401610b469061319d565b600f5460000361163d5760405162461bcd60e51b8152600401610b46906131e6565b60015b818111610ca95761165083611e19565b508061165b81612fef565b915050611640565b836001600160a01b038116331461167d5761167d33611ab1565b61168985858585612153565b5050505050565b600c805461169d90612f89565b80601f01602080910402602001604051908101604052809291908181526020018280546116c990612f89565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166117995760405162461bcd60e51b815260206004820152602b60248201527f54726f6c6c46616365733a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b6064820152608401610b46565b60006117a3612185565b905060008151116117c357604051806020016040528060008152506117f1565b806117cd84612195565b600c6040516020016117e19392919061328a565b6040516020818303038152906040525b9392505050565b606060006118058361116a565b905060008167ffffffffffffffff81111561182257611822612c72565b60405190808252806020026020018201604052801561184b578160200160208202803683370190505b50905060005b828110156114d6576118638582610cd9565b82828151811061187557611875612fc3565b60209081029190910101528061188a81612fef565b915050611851565b600a546001600160a01b031633146118bc5760405162461bcd60e51b8152600401610b4690612f54565b600c61105582826130dd565b601681610bb881106118d957600080fd5b0154905081565b600a546001600160a01b0316331461190a5760405162461bcd60e51b8152600401610b4690612f54565b610bd480546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146119575760405162461bcd60e51b8152600401610b4690612f54565b6001600160a01b0381166119bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b46565b6119c581611dc7565b50565b600a546001600160a01b031633146119f25760405162461bcd60e51b8152600401610b4690612f54565b610bd280546001600160a01b039092166001600160a01b03199283168117909155610bd78054909216179055565b60006117f1828461332a565b60006001600160e01b031982166380ac58cd60e01b1480611a5d57506001600160e01b03198216635b5e139f60e01b145b80610af157506301ffc9a760e01b6001600160e01b0319831614610af1565b601454611a899082611d1f565b601455611aab611aa2611a9b60085490565b839061229e565b60155490611d1f565b60155550565b6daaeb6d7670e522a718067333cd4e3b156119c557604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b42919061326d565b6119c557604051633b79c77360e21b81526001600160a01b0382166004820152602401610b46565b6000611b7582611059565b9050806001600160a01b0316836001600160a01b031603611be25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b46565b336001600160a01b0382161480611bfe5750611bfe81336109ae565b611c705760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b46565b610ca983836122aa565b611c843382612318565b611ca05760405162461bcd60e51b8152600401610b469061333d565b610ca983838361240b565b610ca983838360405180602001604052806000815250611663565b6002600b5403611d185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b46565b6002600b55565b60006117f1828461338e565b600080611d3760085490565b90506000611d44826125b6565b611d4f90600161338e565b600f80549192506000611d61836133a1565b9190505550611d71600f546125b6565b601683610bb88110611d8557611d85612fc3565b0155611d9184826125f3565b6000818152610bcf6020908152604080832080546001600160a01b03191633179055601554610bce909252909120559392505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611e23611cc6565b600f546040805144602080830191909152428284015260608083018590528351808403909101815260809092019092528051910120600091611e64916133b8565b90506000611e71826125b6565b611e7c90600161338e565b600f80549192506000611e8e836133a1565b9190505550611e9e600f546125b6565b601683610bb88110611eb257611eb2612fc3565b01556015546000828152610bce6020526040902055611ed184826125f3565b6000818152610bcf6020526040902080546001600160a01b03191633179055915050611efd6001600b55565b919050565b6000611f246064611f1e6011548561260d90919063ffffffff16565b9061229e565b90506000611f426064611f1e6012548661260d90919063ffffffff16565b90506000611f606064611f1e6013548761260d90919063ffffffff16565b90506000611f7a82611f7485818989611a20565b90611a20565b9050611f8584611a7c565b610bd5546040516000916001600160a01b03169085908381818185875af1925050503d8060008114611fd3576040519150601f19603f3d011682016040523d82523d6000602084013e611fd8565b606091505b5050610bd6546040519192506001600160a01b0316908490600081818185875af1925050503d8060008114612029576040519150601f19603f3d011682016040523d82523d6000602084013e61202e565b606091505b5050610bd4546040519192506001600160a01b0316908390600081818185875af1925050503d806000811461207f576040519150601f19603f3d011682016040523d82523d6000602084013e612084565b606091505b505050505050505050565b336001600160a01b038316036120e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b46565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61215d3383612318565b6121795760405162461bcd60e51b8152600401610b469061333d565b610cd384848484612619565b6060610bd18054610b7d90612f89565b6060816000036121bc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121e657806121d081612fef565b91506121df9050600a83613259565b91506121c0565b60008167ffffffffffffffff81111561220157612201612c72565b6040519080825280601f01601f19166020018201604052801561222b576020820181803683370190505b5090505b84156122965761224060018361332a565b915061224d600a866133b8565b61225890603061338e565b60f81b81838151811061226d5761226d612fc3565b60200101906001600160f81b031916908160001a90535061228f600a86613259565b945061222f565b949350505050565b60006117f18284613259565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122df82611059565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166123915760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b46565b600061239c83611059565b9050806001600160a01b0316846001600160a01b031614806123d75750836001600160a01b03166123cc84610c00565b6001600160a01b0316145b8061229657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16612296565b826001600160a01b031661241e82611059565b6001600160a01b0316146124865760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b46565b6001600160a01b0382166124e85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b46565b6124f383838361264c565b6124fe6000826122aa565b6001600160a01b038316600090815260036020526040812080546001929061252790849061332a565b90915550506001600160a01b038216600090815260036020526040812080546001929061255590849061338e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000601682610bb881106125cc576125cc612fc3565b0154156125ef57601682610bb881106125e7576125e7612fc3565b015492915050565b5090565b611055828260405180602001604052806000815250612704565b60006117f1828461322c565b61262484848461240b565b61263084848484612737565b610cd35760405162461bcd60e51b8152600401610b46906133cc565b6001600160a01b0383166126a7576126a281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6126ca565b816001600160a01b0316836001600160a01b0316146126ca576126ca8382612838565b6001600160a01b0382166126e157610ca9816128d5565b826001600160a01b0316826001600160a01b031614610ca957610ca98282612984565b61270e83836129c8565b61271b6000848484612737565b610ca95760405162461bcd60e51b8152600401610b46906133cc565b60006001600160a01b0384163b1561282d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061277b90339089908890889060040161341e565b6020604051808303816000875af19250505080156127b6575060408051601f3d908101601f191682019092526127b39181019061345b565b60015b612813573d8080156127e4576040519150601f19603f3d011682016040523d82523d6000602084013e6127e9565b606091505b50805160000361280b5760405162461bcd60e51b8152600401610b46906133cc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612296565b506001949350505050565b600060016128458461116a565b61284f919061332a565b6000838152600760205260409020549091508082146128a2576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906128e79060019061332a565b6000838152600960205260408120546008805493945090928490811061290f5761290f612fc3565b90600052602060002001549050806008838154811061293057612930612fc3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061296857612968613478565b6001900381819060005260206000200160009055905550505050565b600061298f8361116a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612a1e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b46565b6000818152600260205260409020546001600160a01b031615612a835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b46565b612a8f6000838361264c565b6001600160a01b0382166000908152600360205260408120805460019290612ab890849061338e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060208284031215612b2857600080fd5b5035919050565b6001600160e01b0319811681146119c557600080fd5b600060208284031215612b5757600080fd5b81356117f181612b2f565b80151581146119c557600080fd5b600060208284031215612b8257600080fd5b81356117f181612b62565b60005b83811015612ba8578181015183820152602001612b90565b50506000910152565b60008151808452612bc9816020860160208601612b8d565b601f01601f19169290920160200192915050565b6020815260006117f16020830184612bb1565b6001600160a01b03811681146119c557600080fd5b60008060408385031215612c1857600080fd5b8235612c2381612bf0565b946020939093013593505050565b600080600060608486031215612c4657600080fd5b8335612c5181612bf0565b92506020840135612c6181612bf0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612cb157612cb1612c72565b604052919050565b600067ffffffffffffffff831115612cd357612cd3612c72565b612ce6601f8401601f1916602001612c88565b9050828152838383011115612cfa57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612d2357600080fd5b813567ffffffffffffffff811115612d3a57600080fd5b8201601f81018413612d4b57600080fd5b61229684823560208401612cb9565b60006020808385031215612d6d57600080fd5b823567ffffffffffffffff80821115612d8557600080fd5b818501915085601f830112612d9957600080fd5b813581811115612dab57612dab612c72565b8060051b9150612dbc848301612c88565b8181529183018401918481019088841115612dd657600080fd5b938501935b83851015612e005784359250612df083612bf0565b8282529385019390850190612ddb565b98975050505050505050565b600060208284031215612e1e57600080fd5b81356117f181612bf0565b60008060408385031215612e3c57600080fd5b8235612e4781612bf0565b91506020830135612e5781612b62565b809150509250929050565b60008060008060808587031215612e7857600080fd5b8435612e8381612bf0565b93506020850135612e9381612bf0565b925060408501359150606085013567ffffffffffffffff811115612eb657600080fd5b8501601f81018713612ec757600080fd5b612ed687823560208401612cb9565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b81811015612f1a57835183529284019291840191600101612efe565b50909695505050505050565b60008060408385031215612f3957600080fd5b8235612f4481612bf0565b91506020830135612e5781612bf0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612f9d57607f821691505b602082108103612fbd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161300157613001612fd9565b5060010190565b60006020828403121561301a57600080fd5b81516117f181612bf0565b600060808201868352602060808185015281875180845260a086019150828901935060005b8181101561306f5784516001600160a01b03168352938301939183019160010161304a565b50506001600160a01b039690961660408501525050506060015292915050565b601f821115610ca957600081815260208120601f850160051c810160208610156130b65750805b601f850160051c820191505b818110156130d5578281556001016130c2565b505050505050565b815167ffffffffffffffff8111156130f7576130f7612c72565b61310b816131058454612f89565b8461308f565b602080601f83116001811461314057600084156131285750858301515b600019600386901b1c1916600185901b1785556130d5565b600085815260208120601f198616915b8281101561316f57888601518255948401946001909101908401613150565b508582101561318d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526029908201527f54726f6c6c46616365733a20796f75206861766520746f206d696e74206174206040820152686c65617374206f6e6560b81b606082015260800190565b60208082526026908201527f54726f6c6c46616365733a2074686520636f6c6c656374696f6e20697320736f6040820152651b19081bdd5d60d21b606082015260800190565b8082028115828204841417610af157610af1612fd9565b634e487b7160e01b600052601260045260246000fd5b60008261326857613268613243565b500490565b60006020828403121561327f57600080fd5b81516117f181612b62565b60008451602061329d8285838a01612b8d565b8551918401916132b08184848a01612b8d565b85549201916000906132c181612f89565b600182811680156132d957600181146132ee5761331a565b60ff198416875282151583028701945061331a565b896000528560002060005b84811015613312578154898201529083019087016132f9565b505082870194505b50929a9950505050505050505050565b81810381811115610af157610af1612fd9565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b80820180821115610af157610af1612fd9565b6000816133b0576133b0612fd9565b506000190190565b6000826133c7576133c7613243565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061345190830184612bb1565b9695505050505050565b60006020828403121561346d57600080fd5b81516117f181612b2f565b634e487b7160e01b600052603160045260246000fdfea264697066735822122096b39bf69fbf8605ee4226733324347e7ccde3eedb048056a009ec02cc83fb5364736f6c63430008130033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000f54726f6c6c2046616365204e4654730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000854524f4c4c4e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b3078663865626634383439463146613446614630444646323130364131373344334136434232654233412f000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Troll Face NFTs
Arg [1] : symbol (string): TROLLNFT
Arg [2] : baseTokenURI (string): 0xf8ebf4849F1Fa4FaF0DFF2106A173D3A6CB2eB3A/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 54726f6c6c2046616365204e4654730000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 54524f4c4c4e4654000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [8] : 3078663865626634383439463146613446614630444646323130364131373344
Arg [9] : 334136434232654233412f000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

67547:11934:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68695:71;;;;;;;;;;-1:-1:-1;68695:71:0;;;;-1:-1:-1;;;;;68695:71:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;68695:71:0;;;;;;;;74602:161;;;;;;;;;;-1:-1:-1;74602:161:0;;;;;:::i;:::-;;:::i;:::-;;;553:25:1;;;541:2;526:18;74602:161:0;407:177:1;41971:266:0;;;;;;;;;;-1:-1:-1;41971:266:0;;;;;:::i;:::-;;:::i;:::-;;;1140:14:1;;1133:22;1115:41;;1103:2;1088:18;41971:266:0;975:187:1;71579:81:0;;;;;;;;;;-1:-1:-1;71579:81:0;;;;;:::i;:::-;;:::i;:::-;;69342:87;;;:::i;29564:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31223:274::-;;;;;;;;;;-1:-1:-1;31223:274:0;;;;;:::i;:::-;;:::i;78563:199::-;;;;;;;;;;-1:-1:-1;78563:199:0;;;;;:::i;:::-;;:::i;67837:32::-;;;;;;;;;;;;;;;;68031:30;;;;;;;;;;;;;;;;42715:113;;;;;;;;;;-1:-1:-1;42803:10:0;:17;42715:113;;67975:33;;;;;;;;;;;;;;;;78770:214;;;;;;;;;;-1:-1:-1;78770:214:0;;;;;:::i;:::-;;:::i;42321:318::-;;;;;;;;;;-1:-1:-1;42321:318:0;;;;;:::i;:::-;;:::i;68068:28::-;;;;;;;;;;;;;;;;68200:32;;;;;;;;;;;;;;;;64515:143;;;;;;;;;;;;64228:42;64515:143;;78992:222;;;;;;;;;;-1:-1:-1;78992:222:0;;;;;:::i;:::-;;:::i;71197:88::-;;;;;;;;;;-1:-1:-1;71197:88:0;;;;;:::i;:::-;;:::i;68239:28::-;;;;;;;;;;;;;;;;42905:286;;;;;;;;;;-1:-1:-1;42905:286:0;;;;;:::i;:::-;;:::i;69437:684::-;;;;;;;;;;;;;:::i;71085:104::-;;;;;;;;;;-1:-1:-1;71085:104:0;;;;;:::i;:::-;;:::i;68452:25::-;;;;;;;;;;-1:-1:-1;68452:25:0;;;;;;;;29205:292;;;;;;;;;;-1:-1:-1;29205:292:0;;;;;:::i;:::-;;:::i;72927:239::-;;;;;;;;;;-1:-1:-1;72927:239:0;;;;;:::i;:::-;;:::i;72119:109::-;;;;;;;;;;-1:-1:-1;72119:109:0;;;;;:::i;:::-;;:::i;28882:261::-;;;;;;;;;;-1:-1:-1;28882:261:0;;;;;:::i;:::-;;:::i;11012:94::-;;;;;;;;;;;;;:::i;68539:69::-;;;;;;;;;;-1:-1:-1;68539:69:0;;;;-1:-1:-1;;;;;68539:69:0;;;71293:124;;;;;;;;;;-1:-1:-1;71293:124:0;;;;;:::i;:::-;;:::i;68386:42::-;;;;;;;;;;-1:-1:-1;68386:42:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;68386:42:0;;;71668:154;;;;;;;;;;-1:-1:-1;71668:154:0;;;;;:::i;:::-;;:::i;10361:87::-;;;;;;;;;;-1:-1:-1;10434:6:0;;-1:-1:-1;;;;;10434:6:0;10361:87;;68773:69;;;;;;;;;;-1:-1:-1;68773:69:0;;;;-1:-1:-1;;;;;68773:69:0;;;29733:104;;;;;;;;;;;;;:::i;70129:911::-;;;;;;:::i;:::-;;:::i;78337:218::-;;;;;;;;;;-1:-1:-1;78337:218:0;;;;;:::i;:::-;;:::i;68849:27::-;;;;;;;;;;-1:-1:-1;68849:27:0;;;;-1:-1:-1;;;;;68849:27:0;;;74214:380;;;;;;;;;;-1:-1:-1;74214:380:0;;;;;:::i;:::-;;:::i;72240:180::-;;;;;;;;;;-1:-1:-1;72240:180:0;;;;;:::i;:::-;;:::i;72430:489::-;;;;;;;;;;-1:-1:-1;72430:489:0;;;;;:::i;:::-;;:::i;79222:256::-;;;;;;;;;;-1:-1:-1;79222:256:0;;;;;:::i;:::-;;:::i;68103:30::-;;;;;;;;;;;;;;;;67793:37;;;;;;;;;;;;;:::i;73649:553::-;;;;;;;;;;-1:-1:-1;73649:553:0;;;;;:::i;:::-;;:::i;73204:437::-;;;;;;;;;;-1:-1:-1;73204:437:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;68330:49::-;;;;;;;;;;-1:-1:-1;68330:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;67893:31;;;;;;;;;;;;;;;;71425:146;;;;;;;;;;-1:-1:-1;71425:146:0;;;;;:::i;:::-;;:::i;31960:189::-;;;;;;;;;;-1:-1:-1;31960:189:0;;;;;:::i;:::-;-1:-1:-1;;;;;32106:25:0;;;32082:4;32106:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31960:189;68290:33;;;;;;;;;;-1:-1:-1;68290:33:0;;;;;:::i;:::-;;:::i;71995:116::-;;;;;;;;;;-1:-1:-1;71995:116:0;;;;;:::i;:::-;;:::i;68615:71::-;;;;;;;;;;-1:-1:-1;68615:71:0;;;;-1:-1:-1;;;;;68615:71:0;;;11261:229;;;;;;;;;;-1:-1:-1;11261:229:0;;;;;:::i;:::-;;:::i;71830:157::-;;;;;;;;;;-1:-1:-1;71830:157:0;;;;;:::i;:::-;;:::i;67931:37::-;;;;;;;;;;;;;;;;68902:32;;;;;;;;;;-1:-1:-1;68902:32:0;;;;-1:-1:-1;;;;;68902:32:0;;;68943:19;;;;;;;;;;-1:-1:-1;68943:19:0;;;;-1:-1:-1;;;;;68943:19:0;;;74602:161;74686:7;74731:23;;;:14;:23;;;;;;74713:13;;:42;;:17;:42::i;:::-;74706:49;74602:161;-1:-1:-1;;74602:161:0:o;41971:266::-;42089:4;-1:-1:-1;;;;;;42126:50:0;;-1:-1:-1;;;42126:50:0;;:103;;;42193:36;42217:11;42193:23;:36::i;71579:81::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;;;;;;;;;71637:6:::1;:15:::0;;-1:-1:-1;;71637:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71579:81::o;69342:87::-;69395:26;69411:9;69395:15;:26::i;:::-;69342:87::o;29564:100::-;29618:13;29651:5;29644:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29564:100;:::o;31223:274::-;31315:7;34920:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34920:16:0;31335:110;;;;-1:-1:-1;;;31335:110:0;;9630:2:1;31335:110:0;;;9612:21:1;9669:2;9649:18;;;9642:30;9708:34;9688:18;;;9681:62;-1:-1:-1;;;9759:18:1;;;9752:42;9811:19;;31335:110:0;9428:408:1;31335:110:0;-1:-1:-1;31465:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31465:24:0;;31223:274::o;78563:199::-;78701:8;66431:30;66452:8;66431:20;:30::i;:::-;78722:32:::1;78736:8;78746:7;78722:13;:32::i;:::-;78563:199:::0;;;:::o;78770:214::-;78922:4;-1:-1:-1;;;;;66157:18:0;;66165:10;66157:18;66153:83;;66192:32;66213:10;66192:20;:32::i;:::-;78939:37:::1;78958:4;78964:2;78968:7;78939:18;:37::i;:::-;78770:214:::0;;;;:::o;42321:318::-;42443:7;42493:23;42510:5;42493:16;:23::i;:::-;42485:5;:31;42463:124;;;;-1:-1:-1;;;42463:124:0;;10043:2:1;42463:124:0;;;10025:21:1;10082:2;10062:18;;;10055:30;10121:34;10101:18;;;10094:62;-1:-1:-1;;;10172:18:1;;;10165:41;10223:19;;42463:124:0;9841:407:1;42463:124:0;-1:-1:-1;;;;;;42605:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;42321:318::o;78992:222::-;79148:4;-1:-1:-1;;;;;66157:18:0;;66165:10;66157:18;66153:83;;66192:32;66213:10;66192:20;:32::i;:::-;79165:41:::1;79188:4;79194:2;79198:7;79165:22;:41::i;71197:88::-:0;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;71262:4:::1;:15:::0;71197:88::o;42905:286::-;42996:7;43046:30;42803:10;:17;;42715:113;43046:30;43038:5;:38;43016:132;;;;-1:-1:-1;;;43016:132:0;;10455:2:1;43016:132:0;;;10437:21:1;10494:2;10474:18;;;10467:30;10533:34;10513:18;;;10506:62;-1:-1:-1;;;10584:18:1;;;10577:42;10636:19;;43016:132:0;10253:408:1;43016:132:0;43166:10;43177:5;43166:17;;;;;;;;:::i;:::-;;;;;;;;;43159:24;;42905:286;;;:::o;69437:684::-;56525:21;:19;:21::i;:::-;69498:13:::1;69514:21;69524:10;69514:9;:21::i;:::-;69498:37;;69546:15;69581:9:::0;69576:236:::1;69600:5;69596:1;:9;69576:236;;;69627:15;69645:34;69665:10;69677:1;69645:19;:34::i;:::-;69627:52;;69704:42;69716:29;69737:7;69716:20;:29::i;:::-;69704:7:::0;;:11:::1;:42::i;:::-;69787:13;::::0;69761:23:::1;::::0;;;:14:::1;:23;::::0;;;;;:39;;;;69694:52;-1:-1:-1;69607:3:0;::::1;::::0;::::1;:::i;:::-;;;;69576:236;;;-1:-1:-1::0;69883:16:0::1;::::0;;69897:1:::1;69883:16:::0;;;;;::::1;::::0;;69859:21:::1;::::0;69883:16:::1;::::0;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;69920:6:0::1;::::0;:13:::1;::::0;;-1:-1:-1;;;69920:13:0;;;;69859:40;;-1:-1:-1;;;;;;69920:6:0;;::::1;::::0;:11:::1;::::0;-1:-1:-1;69920:13:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:6;:13:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69910:4;69915:1;69910:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;69910:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;69954:11:::1;::::0;69944:7;;69954:11;::::1;::::0;69944:4;;69954:11;;69944:7;::::1;;;;;:::i;:::-;-1:-1:-1::0;;;;;69944:21:0;;::::1;:7;::::0;;::::1;::::0;;;;;:21;69978:6:::1;::::0;:135:::1;::::0;-1:-1:-1;;;69978:135:0;;:6;::::1;::::0;:57:::1;::::0;70057:7;;69978:135:::1;::::0;:6:::1;::::0;70079:4;;70085:10:::1;::::0;70097:15:::1;::::0;69978:135:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;69487:634;;;56569:20:::0;56341:1;57089:7;:22;56906:213;71085:104;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;71158:13:::1;:23;71174:7:::0;71158:13;:23:::1;:::i;:::-;;71085:104:::0;:::o;29205:292::-;29293:7;29329:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29329:16:0;;29356:110;;;;-1:-1:-1;;;29356:110:0;;14645:2:1;29356:110:0;;;14627:21:1;14684:2;14664:18;;;14657:30;14723:34;14703:18;;;14696:62;-1:-1:-1;;;14774:18:1;;;14767:39;14823:19;;29356:110:0;14443:405:1;72927:239:0;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;73051:9:::1;73046:113;73070:10;:17;73066:1;:21;73046:113;;;73109:38;73133:10;73144:1;73133:13;;;;;;;;:::i;:::-;;;;;;;73109:23;:38::i;:::-;-1:-1:-1::0;73089:3:0;::::1;::::0;::::1;:::i;:::-;;;;73046:113;;72119:109:::0;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;72194:10:::1;:26:::0;72119:109::o;28882:261::-;28970:7;-1:-1:-1;;;;;29012:19:0;;28990:111;;;;-1:-1:-1;;;28990:111:0;;15055:2:1;28990:111:0;;;15037:21:1;15094:2;15074:18;;;15067:30;15133:34;15113:18;;;15106:62;-1:-1:-1;;;15184:18:1;;;15177:40;15234:19;;28990:111:0;14853:406:1;28990:111:0;-1:-1:-1;;;;;;29119:16:0;;;;;:9;:16;;;;;;;28882:261::o;11012:94::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;11077:21:::1;11095:1;11077:9;:21::i;71293:124::-:0;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;71376:13:::1;:33:::0;71293:124::o;71668:154::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;71747:11:::1;:29:::0;;-1:-1:-1;;;;;71747:29:0;;::::1;-1:-1:-1::0;;;;;;71747:29:0;;::::1;::::0;::::1;::::0;;;71787:5:::1;:27:::0;;;;::::1;;::::0;;71668:154::o;29733:104::-;29789:13;29822:7;29815:14;;;;;:::i;70129:911::-;70218:6;;;;70217:7;70209:59;;;;-1:-1:-1;;;70209:59:0;;15466:2:1;70209:59:0;;;15448:21:1;15505:2;15485:18;;;15478:30;15544:34;15524:18;;;15517:62;-1:-1:-1;;;15595:18:1;;;15588:37;15642:19;;70209:59:0;15264:403:1;70209:59:0;70301:1;70287:11;:15;70279:69;;;;-1:-1:-1;;;70279:69:0;;;;;;;:::i;:::-;70396:13;;70381:11;:28;;70359:120;;;;-1:-1:-1;;;70359:120:0;;16284:2:1;70359:120:0;;;16266:21:1;16323:2;16303:18;;;16296:30;16362:34;16342:18;;;16335:62;-1:-1:-1;;;16413:18:1;;;16406:40;16463:19;;70359:120:0;16082:406:1;70359:120:0;70526:11;70512:10;;:25;;70490:113;;;;-1:-1:-1;;;70490:113:0;;;;;;;:::i;:::-;10434:6;;-1:-1:-1;;;;;10434:6:0;70618:10;:21;70614:181;;70702:11;70695:4;;:18;;;;:::i;:::-;70682:9;:31;;70656:127;;;;-1:-1:-1;;;70656:127:0;;17275:2:1;70656:127:0;;;17257:21:1;17314:2;17294:18;;;17287:30;17353:34;17333:18;;;17326:62;-1:-1:-1;;;17404:18:1;;;17397:32;17446:19;;70656:127:0;17073:398:1;70656:127:0;70842:1;70825:208;70850:11;70845:1;:16;70825:208;;70915:23;70927:10;70915:11;:23::i;:::-;-1:-1:-1;70980:41:0;70997:23;71009:11;70997:9;:23;:::i;:::-;70980:16;:41::i;:::-;70863:3;;;;:::i;:::-;;;;70825:208;;78337:218;78483:8;66431:30;66452:8;66431:20;:30::i;:::-;78504:43:::1;78528:8;78538;78504:23;:43::i;74214:380::-:0;74298:7;74318:13;74334:17;74344:6;74334:9;:17::i;:::-;74318:33;;74362:13;74395:9;74390:174;74414:5;74410:1;:9;74390:174;;;74441:15;74459:30;74479:6;74487:1;74459:19;:30::i;:::-;74441:48;;74512:40;74522:29;74543:7;74522:20;:29::i;74512:40::-;74504:48;;74426:138;74421:3;;;;;:::i;:::-;;;;74390:174;;;-1:-1:-1;74581:5:0;74214:380;-1:-1:-1;;;74214:380:0:o;72240:180::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;72375:37:::1;::::0;-1:-1:-1;;;72375:37:0;;-1:-1:-1;;;;;17925:32:1;;;72375:37:0::1;::::0;::::1;17907:51:1::0;17974:18;;;17967:34;;;72375:23:0;::::1;::::0;::::1;::::0;17880:18:1;;72375:37:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;72430:489::-:0;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72570:21:0;::::1;72562:58;;;::::0;-1:-1:-1;;;72562:58:0;;18464:2:1;72562:58:0::1;::::0;::::1;18446:21:1::0;18503:2;18483:18;;;18476:30;18542:26;18522:18;;;18515:54;18586:18;;72562:58:0::1;18262:348:1::0;72562:58:0::1;72649:1;72639:7;:11;72631:65;;;;-1:-1:-1::0;;;72631:65:0::1;;;;;;;:::i;:::-;72715:10;;72729:1;72715:15:::0;72707:66:::1;;;;-1:-1:-1::0;;;72707:66:0::1;;;;;;;:::i;:::-;72843:1;72826:86;72851:7;72846:1;:12;72826:86;;72880:20;72892:7;72880:11;:20::i;:::-;-1:-1:-1::0;72860:3:0;::::1;::::0;::::1;:::i;:::-;;;;72826:86;;79222:256:::0;79406:4;-1:-1:-1;;;;;66157:18:0;;66165:10;66157:18;66153:83;;66192:32;66213:10;66192:20;:32::i;:::-;79423:47:::1;79446:4;79452:2;79456:7;79465:4;79423:22;:47::i;:::-;79222:256:::0;;;;;:::o;67793:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;73649:553::-;34896:4;34920:16;;;:7;:16;;;;;;73734:13;;-1:-1:-1;;;;;34920:16:0;73760:68;;;;-1:-1:-1;;;73760:68:0;;18817:2:1;73760:68:0;;;18799:21:1;18856:2;18836:18;;;18829:30;18895:34;18875:18;;;18868:62;-1:-1:-1;;;18946:18:1;;;18939:41;18997:19;;73760:68:0;18615:407:1;73760:68:0;73839:28;73870:10;:8;:10::i;:::-;73839:41;;73942:1;73917:14;73911:28;:32;:283;;;;;;;;;;;;;;;;;74035:14;74076;:3;:12;:14::i;:::-;74117:13;73992:161;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73911:283;73891:303;73649:553;-1:-1:-1;;;73649:553:0:o;73204:437::-;73278:16;73337:23;73363:17;73373:6;73363:9;:17::i;:::-;73337:43;;73391:25;73433:15;73419:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73419:30:0;;73391:58;;73500:9;73495:113;73515:15;73511:1;:19;73495:113;;;73566:30;73586:6;73594:1;73566:19;:30::i;:::-;73552:8;73561:1;73552:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;73532:3;;;;:::i;:::-;;;;73495:113;;71425:146;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;71530:13:::1;:33;71546:17:::0;71530:13;:33:::1;:::i;68290:::-:0;;;;;;;;;;;;;;;-1:-1:-1;68290:33:0;:::o;71995:116::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;72074:11:::1;:29:::0;;-1:-1:-1;;;;;;72074:29:0::1;-1:-1:-1::0;;;;;72074:29:0;;;::::1;::::0;;;::::1;::::0;;71995:116::o;11261:229::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11364:22:0;::::1;11342:110;;;::::0;-1:-1:-1;;;11342:110:0;;20490:2:1;11342:110:0::1;::::0;::::1;20472:21:1::0;20529:2;20509:18;;;20502:30;20568:34;20548:18;;;20541:62;-1:-1:-1;;;20619:18:1;;;20612:36;20665:19;;11342:110:0::1;20288:402:1::0;11342:110:0::1;11463:19;11473:8;11463:9;:19::i;:::-;11261:229:::0;:::o;71830:157::-;10434:6;;-1:-1:-1;;;;;10434:6:0;9799:10;10581:23;10573:68;;;;-1:-1:-1;;;10573:68:0;;;;;;;:::i;:::-;71905:9:::1;:25:::0;;-1:-1:-1;;;;;71905:25:0;;::::1;-1:-1:-1::0;;;;;;71905:25:0;;::::1;::::0;::::1;::::0;;;71941:6:::1;:38:::0;;;;::::1;;::::0;;71830:157::o;3930:98::-;3988:7;4015:5;4019:1;4015;:5;:::i;28497:321::-;28615:4;-1:-1:-1;;;;;;28652:40:0;;-1:-1:-1;;;28652:40:0;;:105;;-1:-1:-1;;;;;;;28709:48:0;;-1:-1:-1;;;28709:48:0;28652:105;:158;;;-1:-1:-1;;;;;;;;;;21480:40:0;;;28774:36;21355:173;76683:193;76764:17;;:30;;76786:7;76764:21;:30::i;:::-;76744:17;:50;76821:47;76840:26;76852:13;42803:10;:17;;42715:113;76852:13;76840:7;;:11;:26::i;:::-;76821:13;;;:17;:47::i;:::-;76805:13;:63;-1:-1:-1;76683:193:0:o;66574:740::-;64228:42;66765:45;:49;66761:546;;67082:128;;-1:-1:-1;;;67082:128:0;;67155:4;67082:128;;;21040:34:1;-1:-1:-1;;;;;21110:15:1;;21090:18;;;21083:43;64228:42:0;;67082;;20975:18:1;;67082:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67059:237;;67252:28;;-1:-1:-1;;;67252:28:0;;-1:-1:-1;;;;;178:32:1;;67252:28:0;;;160:51:1;133:18;;67252:28:0;14:203:1;30746:411:0;30827:13;30843:23;30858:7;30843:14;:23::i;:::-;30827:39;;30891:5;-1:-1:-1;;;;;30885:11:0;:2;-1:-1:-1;;;;;30885:11:0;;30877:57;;;;-1:-1:-1;;;30877:57:0;;21339:2:1;30877:57:0;;;21321:21:1;21378:2;21358:18;;;21351:30;21417:34;21397:18;;;21390:62;-1:-1:-1;;;21468:18:1;;;21461:31;21509:19;;30877:57:0;21137:397:1;30877:57:0;9799:10;-1:-1:-1;;;;;30969:21:0;;;;:62;;-1:-1:-1;30994:37:0;31011:5;9799:10;31960:189;:::i;30994:37::-;30947:168;;;;-1:-1:-1;;;30947:168:0;;21741:2:1;30947:168:0;;;21723:21:1;21780:2;21760:18;;;21753:30;21819:34;21799:18;;;21792:62;21890:26;21870:18;;;21863:54;21934:19;;30947:168:0;21539:420:1;30947:168:0;31128:21;31137:2;31141:7;31128:8;:21::i;32216:376::-;32425:41;9799:10;32458:7;32425:18;:41::i;:::-;32403:140;;;;-1:-1:-1;;;32403:140:0;;;;;;;:::i;:::-;32556:28;32566:4;32572:2;32576:7;32556:9;:28::i;32663:185::-;32801:39;32818:4;32824:2;32828:7;32801:39;;;;;;;;;;;;:16;:39::i;56605:293::-;56385:1;56739:7;;:19;56731:63;;;;-1:-1:-1;;;56731:63:0;;22584:2:1;56731:63:0;;;22566:21:1;22623:2;22603:18;;;22596:30;22662:33;22642:18;;;22635:61;22713:18;;56731:63:0;22382:355:1;56731:63:0;56385:1;56872:7;:18;56605:293::o;3549:98::-;3607:7;3634:5;3638:1;3634;:5;:::i;74813:613::-;74899:7;74953:14;74970:13;42803:10;:17;;42715:113;74970:13;74953:30;;74994:18;75015:16;75024:6;75015:8;:16::i;:::-;:20;;75034:1;75015:20;:::i;:::-;75072:10;:12;;74994:41;;-1:-1:-1;75072:10:0;:12;;;:::i;:::-;;;;;;75154:20;75163:10;;75154:8;:20::i;:::-;75131:12;75144:6;75131:20;;;;;;;:::i;:::-;;:43;75202:32;75212:9;75223:10;75202:9;:32::i;:::-;75279:19;;;;:7;:19;;;;;;;;:32;;-1:-1:-1;;;;;;75279:32:0;75301:10;75279:32;;;75377:13;;75348:14;:26;;;;;;:42;75287:10;74813:613;-1:-1:-1;;;74813:613:0:o;11498:173::-;11573:6;;;-1:-1:-1;;;;;11590:17:0;;;-1:-1:-1;;;;;;11590:17:0;;;;;;;11623:40;;11573:6;;;11590:17;11573:6;;11623:40;;11554:16;;11623:40;11543:128;11498:173;:::o;76012:622::-;76097:7;56525:21;:19;:21::i;:::-;76183:10:::1;::::0;77970:161;;;78013:16;77970:161;;;;25107:19:1;;;;78056:15:0;25142:12:1;;;25135:28;25179:12;;;;25172:28;;;77970:161:0;;;;;;;;;;25216:12:1;;;;77970:161:0;;;77938:212;;;;;-1:-1:-1;;76168:25:0::1;::::0;::::1;:::i;:::-;76151:42;;76204:18;76225:16;76234:6;76225:8;:16::i;:::-;:20;::::0;76244:1:::1;76225:20;:::i;:::-;76282:10;:12:::0;;76204:41;;-1:-1:-1;76282:10:0::1;:12;::::0;::::1;:::i;:::-;;;;;;76364:20;76373:10;;76364:8;:20::i;:::-;76341:12;76354:6;76341:20;;;;;;;:::i;:::-;;:43:::0;76450:13:::1;::::0;76421:26:::1;::::0;;;:14:::1;:26;::::0;;;;:42;76491:30:::1;76501:7:::0;76436:10;76491:9:::1;:30::i;:::-;76566:19;::::0;;;:7:::1;:19;::::0;;;;:32;;-1:-1:-1;;;;;;76566:32:0::1;76588:10;76566:32;::::0;;76574:10;-1:-1:-1;;56569:20:0;56341:1;57089:7;:22;56906:213;56569:20;76012:622;;;:::o;76884:733::-;76972:17;76992:32;77020:3;76992:23;77004:10;;76992:7;:11;;:23;;;;:::i;:::-;:27;;:32::i;:::-;76972:52;;77035:16;77054:30;77080:3;77054:21;77066:8;;77054:7;:11;;:21;;;;:::i;:30::-;77035:49;;77095:19;77117:33;77146:3;77117:24;77129:11;;77117:7;:11;;:24;;;;:::i;:33::-;77095:55;-1:-1:-1;77161:20:0;77184:77;77095:55;77184:36;77211:8;77184:36;:7;77196:9;77184:11;:22::i;:::-;:26;;:36::i;:77::-;77161:100;;77312:26;77328:9;77312:15;:26::i;:::-;77423:9;;77415:44;;77378:12;;-1:-1:-1;;;;;77423:9:0;;77446:8;;77378:12;77415:44;77378:12;77415:44;77446:8;77423:9;77415:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;77492:12:0;;77484:50;;77401:58;;-1:-1:-1;;;;;;77492:12:0;;77518:11;;77484:50;;;;77518:11;77492:12;77484:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;77567:11:0;;77559:50;;77470:64;;-1:-1:-1;;;;;;77567:11:0;;77592:12;;77559:50;;;;77592:12;77567:11;77559:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;76884:733:0:o;31569:320::-;9799:10;-1:-1:-1;;;;;31697:24:0;;;31689:62;;;;-1:-1:-1;;;31689:62:0;;23542:2:1;31689:62:0;;;23524:21:1;23581:2;23561:18;;;23554:30;23620:27;23600:18;;;23593:55;23665:18;;31689:62:0;23340:349:1;31689:62:0;9799:10;31764:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31764:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31764:53:0;;;;;;;;;;31833:48;;1115:41:1;;;31764:42:0;;9799:10;31833:48;;1088:18:1;31833:48:0;;;;;;;31569:320;;:::o;32919:365::-;33108:41;9799:10;33141:7;33108:18;:41::i;:::-;33086:140;;;;-1:-1:-1;;;33086:140:0;;;;;;;:::i;:::-;33237:39;33251:4;33257:2;33261:7;33270:5;33237:13;:39::i;78181:114::-;78241:13;78274;78267:20;;;;;:::i;7902:723::-;7958:13;8179:5;8188:1;8179:10;8175:53;;-1:-1:-1;;8206:10:0;;;;;;;;;;;;-1:-1:-1;;;8206:10:0;;;;;7902:723::o;8175:53::-;8253:5;8238:12;8294:78;8301:9;;8294:78;;8327:8;;;;:::i;:::-;;-1:-1:-1;8350:10:0;;-1:-1:-1;8358:2:0;8350:10;;:::i;:::-;;;8294:78;;;8382:19;8414:6;8404:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8404:17:0;;8382:39;;8432:154;8439:10;;8432:154;;8466:11;8476:1;8466:11;;:::i;:::-;;-1:-1:-1;8535:10:0;8543:2;8535:5;:10;:::i;:::-;8522:24;;:2;:24;:::i;:::-;8509:39;;8492:6;8499;8492:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;8492:56:0;;;;;;;;-1:-1:-1;8563:11:0;8572:2;8563:11;;:::i;:::-;;;8432:154;;;8610:6;7902:723;-1:-1:-1;;;;7902:723:0:o;4686:98::-;4744:7;4771:5;4775:1;4771;:5;:::i;38938:174::-;39013:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39013:29:0;-1:-1:-1;;;;;39013:29:0;;;;;;;;:24;;39067:23;39013:24;39067:14;:23::i;:::-;-1:-1:-1;;;;;39058:46:0;;;;;;;;;;;38938:174;;:::o;35125:436::-;35243:4;34920:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34920:16:0;35260:110;;;;-1:-1:-1;;;35260:110:0;;23896:2:1;35260:110:0;;;23878:21:1;23935:2;23915:18;;;23908:30;23974:34;23954:18;;;23947:62;-1:-1:-1;;;24025:18:1;;;24018:42;24077:19;;35260:110:0;23694:408:1;35260:110:0;35381:13;35397:23;35412:7;35397:14;:23::i;:::-;35381:39;;35450:5;-1:-1:-1;;;;;35439:16:0;:7;-1:-1:-1;;;;;35439:16:0;;:64;;;;35496:7;-1:-1:-1;;;;;35472:31:0;:20;35484:7;35472:11;:20::i;:::-;-1:-1:-1;;;;;35472:31:0;;35439:64;:113;;;-1:-1:-1;;;;;;32106:25:0;;;32082:4;32106:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;35520:32;31960:189;38205:615;38378:4;-1:-1:-1;;;;;38351:31:0;:23;38366:7;38351:14;:23::i;:::-;-1:-1:-1;;;;;38351:31:0;;38329:122;;;;-1:-1:-1;;;38329:122:0;;24309:2:1;38329:122:0;;;24291:21:1;24348:2;24328:18;;;24321:30;24387:34;24367:18;;;24360:62;-1:-1:-1;;;24438:18:1;;;24431:39;24487:19;;38329:122:0;24107:405:1;38329:122:0;-1:-1:-1;;;;;38470:16:0;;38462:65;;;;-1:-1:-1;;;38462:65:0;;24719:2:1;38462:65:0;;;24701:21:1;24758:2;24738:18;;;24731:30;24797:34;24777:18;;;24770:62;-1:-1:-1;;;24848:18:1;;;24841:34;24892:19;;38462:65:0;24517:400:1;38462:65:0;38540:39;38561:4;38567:2;38571:7;38540:20;:39::i;:::-;38644:29;38661:1;38665:7;38644:8;:29::i;:::-;-1:-1:-1;;;;;38686:15:0;;;;;;:9;:15;;;;;:20;;38705:1;;38686:15;:20;;38705:1;;38686:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38717:13:0;;;;;;:9;:13;;;;;:18;;38734:1;;38717:13;:18;;38734:1;;38717:18;:::i;:::-;;;;-1:-1:-1;;38746:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38746:21:0;-1:-1:-1;;;;;38746:21:0;;;;;;;;;38785:27;;38746:16;;38785:27;;;;;;;38205:615;;;:::o;77647:172::-;77704:7;77728:12;77741:6;77728:20;;;;;;;:::i;:::-;;;:25;77724:87;;77762:12;77775:6;77762:20;;;;;;;:::i;:::-;;;;77647:172;-1:-1:-1;;77647:172:0:o;77724:87::-;-1:-1:-1;77805:6:0;77647:172::o;35903:110::-;35979:26;35989:2;35993:7;35979:26;;;;;;;;;;;;:9;:26::i;4287:98::-;4345:7;4372:5;4376:1;4372;:5;:::i;34166:352::-;34323:28;34333:4;34339:2;34343:7;34323:9;:28::i;:::-;34384:48;34407:4;34413:2;34417:7;34426:5;34384:22;:48::i;:::-;34362:148;;;;-1:-1:-1;;;34362:148:0;;;;;;;:::i;43804:589::-;-1:-1:-1;;;;;44010:18:0;;44006:187;;44045:40;44077:7;45220:10;:17;;45193:24;;;;:15;:24;;;;;:44;;;45248:24;;;;;;;;;;;;45116:164;44045:40;44006:187;;;44115:2;-1:-1:-1;;;;;44107:10:0;:4;-1:-1:-1;;;;;44107:10:0;;44103:90;;44134:47;44167:4;44173:7;44134:32;:47::i;:::-;-1:-1:-1;;;;;44207:16:0;;44203:183;;44240:45;44277:7;44240:36;:45::i;44203:183::-;44313:4;-1:-1:-1;;;;;44307:10:0;:2;-1:-1:-1;;;;;44307:10:0;;44303:83;;44334:40;44362:2;44366:7;44334:27;:40::i;36240:321::-;36370:18;36376:2;36380:7;36370:5;:18::i;:::-;36421:54;36452:1;36456:2;36460:7;36469:5;36421:22;:54::i;:::-;36399:154;;;;-1:-1:-1;;;36399:154:0;;;;;;;:::i;39677:980::-;39832:4;-1:-1:-1;;;;;39853:13:0;;12611:20;12659:8;39849:801;;39906:175;;-1:-1:-1;;;39906:175:0;;-1:-1:-1;;;;;39906:36:0;;;;;:175;;9799:10;;40000:4;;40027:7;;40057:5;;39906:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39906:175:0;;;;;;;;-1:-1:-1;;39906:175:0;;;;;;;;;;;;:::i;:::-;;;39885:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40264:6;:13;40281:1;40264:18;40260:320;;40307:108;;-1:-1:-1;;;40307:108:0;;;;;;;:::i;40260:320::-;40530:6;40524:13;40515:6;40511:2;40507:15;40500:38;39885:710;-1:-1:-1;;;;;;40145:51:0;-1:-1:-1;;;40145:51:0;;-1:-1:-1;40138:58:0;;39849:801;-1:-1:-1;40634:4:0;39677:980;;;;;;:::o;45907:1013::-;46198:22;46248:1;46223:22;46240:4;46223:16;:22::i;:::-;:26;;;;:::i;:::-;46260:18;46281:26;;;:17;:26;;;;;;46198:51;;-1:-1:-1;46414:28:0;;;46410:328;;-1:-1:-1;;;;;46481:18:0;;46459:19;46481:18;;;:12;:18;;;;;;;;:34;;;;;;;;;46532:30;;;;;;:44;;;46649:30;;:17;:30;;;;;:43;;;46410:328;-1:-1:-1;46834:26:0;;;;:17;:26;;;;;;;;46827:33;;;-1:-1:-1;;;;;46878:18:0;;;;;:12;:18;;;;;:34;;;;;;;46871:41;45907:1013::o;47215:1079::-;47493:10;:17;47468:22;;47493:21;;47513:1;;47493:21;:::i;:::-;47525:18;47546:24;;;:15;:24;;;;;;47919:10;:26;;47468:46;;-1:-1:-1;47546:24:0;;47468:46;;47919:26;;;;;;:::i;:::-;;;;;;;;;47897:48;;47983:11;47958:10;47969;47958:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;48063:28;;;:15;:28;;;;;;;:41;;;48235:24;;;;;48228:31;48270:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;47286:1008;;;47215:1079;:::o;44694:221::-;44779:14;44796:20;44813:2;44796:16;:20::i;:::-;-1:-1:-1;;;;;44827:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;44872:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;44694:221:0:o;36897:382::-;-1:-1:-1;;;;;36977:16:0;;36969:61;;;;-1:-1:-1;;;36969:61:0;;26740:2:1;36969:61:0;;;26722:21:1;;;26759:18;;;26752:30;26818:34;26798:18;;;26791:62;26870:18;;36969:61:0;26538:356:1;36969:61:0;34896:4;34920:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34920:16:0;:30;37041:58;;;;-1:-1:-1;;;37041:58:0;;27101:2:1;37041:58:0;;;27083:21:1;27140:2;27120:18;;;27113:30;27179;27159:18;;;27152:58;27227:18;;37041:58:0;26899:352:1;37041:58:0;37112:45;37141:1;37145:2;37149:7;37112:20;:45::i;:::-;-1:-1:-1;;;;;37170:13:0;;;;;;:9;:13;;;;;:18;;37187:1;;37170:13;:18;;37187:1;;37170:18;:::i;:::-;;;;-1:-1:-1;;37199:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37199:21:0;-1:-1:-1;;;;;37199:21:0;;;;;;;;37238:33;;37199:16;;;37238:33;;37199:16;;37238:33;36897:382;;:::o;222:180:1:-;281:6;334:2;322:9;313:7;309:23;305:32;302:52;;;350:1;347;340:12;302:52;-1:-1:-1;373:23:1;;222:180;-1:-1:-1;222:180:1:o;589:131::-;-1:-1:-1;;;;;;663:32:1;;653:43;;643:71;;710:1;707;700:12;725:245;783:6;836:2;824:9;815:7;811:23;807:32;804:52;;;852:1;849;842:12;804:52;891:9;878:23;910:30;934:5;910:30;:::i;1167:118::-;1253:5;1246:13;1239:21;1232:5;1229:32;1219:60;;1275:1;1272;1265:12;1290:241;1346:6;1399:2;1387:9;1378:7;1374:23;1370:32;1367:52;;;1415:1;1412;1405:12;1367:52;1454:9;1441:23;1473:28;1495:5;1473:28;:::i;1536:250::-;1621:1;1631:113;1645:6;1642:1;1639:13;1631:113;;;1721:11;;;1715:18;1702:11;;;1695:39;1667:2;1660:10;1631:113;;;-1:-1:-1;;1778:1:1;1760:16;;1753:27;1536:250::o;1791:271::-;1833:3;1871:5;1865:12;1898:6;1893:3;1886:19;1914:76;1983:6;1976:4;1971:3;1967:14;1960:4;1953:5;1949:16;1914:76;:::i;:::-;2044:2;2023:15;-1:-1:-1;;2019:29:1;2010:39;;;;2051:4;2006:50;;1791:271;-1:-1:-1;;1791:271:1:o;2067:220::-;2216:2;2205:9;2198:21;2179:4;2236:45;2277:2;2266:9;2262:18;2254:6;2236:45;:::i;2292:131::-;-1:-1:-1;;;;;2367:31:1;;2357:42;;2347:70;;2413:1;2410;2403:12;2428:315;2496:6;2504;2557:2;2545:9;2536:7;2532:23;2528:32;2525:52;;;2573:1;2570;2563:12;2525:52;2612:9;2599:23;2631:31;2656:5;2631:31;:::i;:::-;2681:5;2733:2;2718:18;;;;2705:32;;-1:-1:-1;;;2428:315:1:o;2748:456::-;2825:6;2833;2841;2894:2;2882:9;2873:7;2869:23;2865:32;2862:52;;;2910:1;2907;2900:12;2862:52;2949:9;2936:23;2968:31;2993:5;2968:31;:::i;:::-;3018:5;-1:-1:-1;3075:2:1;3060:18;;3047:32;3088:33;3047:32;3088:33;:::i;:::-;2748:456;;3140:7;;-1:-1:-1;;;3194:2:1;3179:18;;;;3166:32;;2748:456::o;3449:127::-;3510:10;3505:3;3501:20;3498:1;3491:31;3541:4;3538:1;3531:15;3565:4;3562:1;3555:15;3581:275;3652:2;3646:9;3717:2;3698:13;;-1:-1:-1;;3694:27:1;3682:40;;3752:18;3737:34;;3773:22;;;3734:62;3731:88;;;3799:18;;:::i;:::-;3835:2;3828:22;3581:275;;-1:-1:-1;3581:275:1:o;3861:407::-;3926:5;3960:18;3952:6;3949:30;3946:56;;;3982:18;;:::i;:::-;4020:57;4065:2;4044:15;;-1:-1:-1;;4040:29:1;4071:4;4036:40;4020:57;:::i;:::-;4011:66;;4100:6;4093:5;4086:21;4140:3;4131:6;4126:3;4122:16;4119:25;4116:45;;;4157:1;4154;4147:12;4116:45;4206:6;4201:3;4194:4;4187:5;4183:16;4170:43;4260:1;4253:4;4244:6;4237:5;4233:18;4229:29;4222:40;3861:407;;;;;:::o;4273:451::-;4342:6;4395:2;4383:9;4374:7;4370:23;4366:32;4363:52;;;4411:1;4408;4401:12;4363:52;4451:9;4438:23;4484:18;4476:6;4473:30;4470:50;;;4516:1;4513;4506:12;4470:50;4539:22;;4592:4;4584:13;;4580:27;-1:-1:-1;4570:55:1;;4621:1;4618;4611:12;4570:55;4644:74;4710:7;4705:2;4692:16;4687:2;4683;4679:11;4644:74;:::i;4729:1021::-;4813:6;4844:2;4887;4875:9;4866:7;4862:23;4858:32;4855:52;;;4903:1;4900;4893:12;4855:52;4943:9;4930:23;4972:18;5013:2;5005:6;5002:14;4999:34;;;5029:1;5026;5019:12;4999:34;5067:6;5056:9;5052:22;5042:32;;5112:7;5105:4;5101:2;5097:13;5093:27;5083:55;;5134:1;5131;5124:12;5083:55;5170:2;5157:16;5192:2;5188;5185:10;5182:36;;;5198:18;;:::i;:::-;5244:2;5241:1;5237:10;5227:20;;5267:28;5291:2;5287;5283:11;5267:28;:::i;:::-;5329:15;;;5399:11;;;5395:20;;;5360:12;;;;5427:19;;;5424:39;;;5459:1;5456;5449:12;5424:39;5483:11;;;;5503:217;5519:6;5514:3;5511:15;5503:217;;;5599:3;5586:17;5573:30;;5616:31;5641:5;5616:31;:::i;:::-;5660:18;;;5536:12;;;;5698;;;;5503:217;;;5739:5;4729:1021;-1:-1:-1;;;;;;;;4729:1021:1:o;5755:247::-;5814:6;5867:2;5855:9;5846:7;5842:23;5838:32;5835:52;;;5883:1;5880;5873:12;5835:52;5922:9;5909:23;5941:31;5966:5;5941:31;:::i;6007:382::-;6072:6;6080;6133:2;6121:9;6112:7;6108:23;6104:32;6101:52;;;6149:1;6146;6139:12;6101:52;6188:9;6175:23;6207:31;6232:5;6207:31;:::i;:::-;6257:5;-1:-1:-1;6314:2:1;6299:18;;6286:32;6327:30;6286:32;6327:30;:::i;:::-;6376:7;6366:17;;;6007:382;;;;;:::o;6394:795::-;6489:6;6497;6505;6513;6566:3;6554:9;6545:7;6541:23;6537:33;6534:53;;;6583:1;6580;6573:12;6534:53;6622:9;6609:23;6641:31;6666:5;6641:31;:::i;:::-;6691:5;-1:-1:-1;6748:2:1;6733:18;;6720:32;6761:33;6720:32;6761:33;:::i;:::-;6813:7;-1:-1:-1;6867:2:1;6852:18;;6839:32;;-1:-1:-1;6922:2:1;6907:18;;6894:32;6949:18;6938:30;;6935:50;;;6981:1;6978;6971:12;6935:50;7004:22;;7057:4;7049:13;;7045:27;-1:-1:-1;7035:55:1;;7086:1;7083;7076:12;7035:55;7109:74;7175:7;7170:2;7157:16;7152:2;7148;7144:11;7109:74;:::i;:::-;7099:84;;;6394:795;;;;;;;:::o;7194:632::-;7365:2;7417:21;;;7487:13;;7390:18;;;7509:22;;;7336:4;;7365:2;7588:15;;;;7562:2;7547:18;;;7336:4;7631:169;7645:6;7642:1;7639:13;7631:169;;;7706:13;;7694:26;;7775:15;;;;7740:12;;;;7667:1;7660:9;7631:169;;;-1:-1:-1;7817:3:1;;7194:632;-1:-1:-1;;;;;;7194:632:1:o;7831:388::-;7899:6;7907;7960:2;7948:9;7939:7;7935:23;7931:32;7928:52;;;7976:1;7973;7966:12;7928:52;8015:9;8002:23;8034:31;8059:5;8034:31;:::i;:::-;8084:5;-1:-1:-1;8141:2:1;8126:18;;8113:32;8154:33;8113:32;8154:33;:::i;8682:356::-;8884:2;8866:21;;;8903:18;;;8896:30;8962:34;8957:2;8942:18;;8935:62;9029:2;9014:18;;8682:356::o;9043:380::-;9122:1;9118:12;;;;9165;;;9186:61;;9240:4;9232:6;9228:17;9218:27;;9186:61;9293:2;9285:6;9282:14;9262:18;9259:38;9256:161;;9339:10;9334:3;9330:20;9327:1;9320:31;9374:4;9371:1;9364:15;9402:4;9399:1;9392:15;9256:161;;9043:380;;;:::o;10666:127::-;10727:10;10722:3;10718:20;10715:1;10708:31;10758:4;10755:1;10748:15;10782:4;10779:1;10772:15;10798:127;10859:10;10854:3;10850:20;10847:1;10840:31;10890:4;10887:1;10880:15;10914:4;10911:1;10904:15;10930:135;10969:3;10990:17;;;10987:43;;11010:18;;:::i;:::-;-1:-1:-1;11057:1:1;11046:13;;10930:135::o;11070:251::-;11140:6;11193:2;11181:9;11172:7;11168:23;11164:32;11161:52;;;11209:1;11206;11199:12;11161:52;11241:9;11235:16;11260:31;11285:5;11260:31;:::i;11326:908::-;11560:4;11608:3;11597:9;11593:19;11639:6;11628:9;11621:25;11665:2;11703:3;11698:2;11687:9;11683:18;11676:31;11727:6;11762;11756:13;11793:6;11785;11778:22;11831:3;11820:9;11816:19;11809:26;;11870:2;11862:6;11858:15;11844:29;;11891:1;11901:195;11915:6;11912:1;11909:13;11901:195;;;11980:13;;-1:-1:-1;;;;;11976:39:1;11964:52;;12071:15;;;;12036:12;;;;12012:1;11930:9;11901:195;;;-1:-1:-1;;;;;;;12152:32:1;;;;12147:2;12132:18;;12125:60;-1:-1:-1;;;12216:2:1;12201:18;12194:34;12113:3;11326:908;-1:-1:-1;;11326:908:1:o;12365:545::-;12467:2;12462:3;12459:11;12456:448;;;12503:1;12528:5;12524:2;12517:17;12573:4;12569:2;12559:19;12643:2;12631:10;12627:19;12624:1;12620:27;12614:4;12610:38;12679:4;12667:10;12664:20;12661:47;;;-1:-1:-1;12702:4:1;12661:47;12757:2;12752:3;12748:12;12745:1;12741:20;12735:4;12731:31;12721:41;;12812:82;12830:2;12823:5;12820:13;12812:82;;;12875:17;;;12856:1;12845:13;12812:82;;;12816:3;;;12365:545;;;:::o;13086:1352::-;13212:3;13206:10;13239:18;13231:6;13228:30;13225:56;;;13261:18;;:::i;:::-;13290:97;13380:6;13340:38;13372:4;13366:11;13340:38;:::i;:::-;13334:4;13290:97;:::i;:::-;13442:4;;13506:2;13495:14;;13523:1;13518:663;;;;14225:1;14242:6;14239:89;;;-1:-1:-1;14294:19:1;;;14288:26;14239:89;-1:-1:-1;;13043:1:1;13039:11;;;13035:24;13031:29;13021:40;13067:1;13063:11;;;13018:57;14341:81;;13488:944;;13518:663;12312:1;12305:14;;;12349:4;12336:18;;-1:-1:-1;;13554:20:1;;;13672:236;13686:7;13683:1;13680:14;13672:236;;;13775:19;;;13769:26;13754:42;;13867:27;;;;13835:1;13823:14;;;;13702:19;;13672:236;;;13676:3;13936:6;13927:7;13924:19;13921:201;;;13997:19;;;13991:26;-1:-1:-1;;14080:1:1;14076:14;;;14092:3;14072:24;14068:37;14064:42;14049:58;14034:74;;13921:201;-1:-1:-1;;;;;14168:1:1;14152:14;;;14148:22;14135:36;;-1:-1:-1;13086:1352:1:o;15672:405::-;15874:2;15856:21;;;15913:2;15893:18;;;15886:30;15952:34;15947:2;15932:18;;15925:62;-1:-1:-1;;;16018:2:1;16003:18;;15996:39;16067:3;16052:19;;15672:405::o;16493:402::-;16695:2;16677:21;;;16734:2;16714:18;;;16707:30;16773:34;16768:2;16753:18;;16746:62;-1:-1:-1;;;16839:2:1;16824:18;;16817:36;16885:3;16870:19;;16493:402::o;16900:168::-;16973:9;;;17004;;17021:15;;;17015:22;;17001:37;16991:71;;17042:18;;:::i;17476:127::-;17537:10;17532:3;17528:20;17525:1;17518:31;17568:4;17565:1;17558:15;17592:4;17589:1;17582:15;17608:120;17648:1;17674;17664:35;;17679:18;;:::i;:::-;-1:-1:-1;17713:9:1;;17608:120::o;18012:245::-;18079:6;18132:2;18120:9;18111:7;18107:23;18103:32;18100:52;;;18148:1;18145;18138:12;18100:52;18180:9;18174:16;18199:28;18221:5;18199:28;:::i;19027:1256::-;19251:3;19289:6;19283:13;19315:4;19328:64;19385:6;19380:3;19375:2;19367:6;19363:15;19328:64;:::i;:::-;19455:13;;19414:16;;;;19477:68;19455:13;19414:16;19512:15;;;19477:68;:::i;:::-;19634:13;;19567:20;;;19607:1;;19672:36;19634:13;19672:36;:::i;:::-;19727:1;19744:18;;;19771:141;;;;19926:1;19921:337;;;;19737:521;;19771:141;-1:-1:-1;;19806:24:1;;19792:39;;19883:16;;19876:24;19862:39;;19851:51;;;-1:-1:-1;19771:141:1;;19921:337;19952:6;19949:1;19942:17;20000:2;19997:1;19987:16;20025:1;20039:169;20053:8;20050:1;20047:15;20039:169;;;20135:14;;20120:13;;;20113:37;20178:16;;;;20070:10;;20039:169;;;20043:3;;20239:8;20232:5;20228:20;20221:27;;19737:521;-1:-1:-1;20274:3:1;;19027:1256;-1:-1:-1;;;;;;;;;;19027:1256:1:o;20695:128::-;20762:9;;;20783:11;;;20780:37;;;20797:18;;:::i;21964:413::-;22166:2;22148:21;;;22205:2;22185:18;;;22178:30;22244:34;22239:2;22224:18;;22217:62;-1:-1:-1;;;22310:2:1;22295:18;;22288:47;22367:3;22352:19;;21964:413::o;22742:125::-;22807:9;;;22828:10;;;22825:36;;;22841:18;;:::i;22872:136::-;22911:3;22939:5;22929:39;;22948:18;;:::i;:::-;-1:-1:-1;;;22984:18:1;;22872:136::o;23013:112::-;23045:1;23071;23061:35;;23076:18;;:::i;:::-;-1:-1:-1;23110:9:1;;23013:112::o;25239:414::-;25441:2;25423:21;;;25480:2;25460:18;;;25453:30;25519:34;25514:2;25499:18;;25492:62;-1:-1:-1;;;25585:2:1;25570:18;;25563:48;25643:3;25628:19;;25239:414::o;25658:489::-;-1:-1:-1;;;;;25927:15:1;;;25909:34;;25979:15;;25974:2;25959:18;;25952:43;26026:2;26011:18;;26004:34;;;26074:3;26069:2;26054:18;;26047:31;;;25852:4;;26095:46;;26121:19;;26113:6;26095:46;:::i;:::-;26087:54;25658:489;-1:-1:-1;;;;;;25658:489:1:o;26152:249::-;26221:6;26274:2;26262:9;26253:7;26249:23;26245:32;26242:52;;;26290:1;26287;26280:12;26242:52;26322:9;26316:16;26341:30;26365:5;26341:30;:::i;26406:127::-;26467:10;26462:3;26458:20;26455:1;26448:31;26498:4;26495:1;26488:15;26522:4;26519:1;26512:15

Swarm Source

ipfs://96b39bf69fbf8605ee4226733324347e7ccde3eedb048056a009ec02cc83fb53

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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