CRO Price: $0.11 (+8.43%)

Contract

0x90d976B61F5C05F064D4F5272919B7fD1499C0A8

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...185034912025-03-10 14:43:4317 days ago1741617823IN
0x90d976B6...D1499C0A8
0 CRO0.175096123,787.5
Set Approval For...184632592025-03-07 23:27:0820 days ago1741390028IN
0x90d976B6...D1499C0A8
0 CRO0.174998673,786.375
Set Approval For...180272652025-02-07 10:39:4048 days ago1738924780IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...179533142025-02-02 14:23:5453 days ago1738506234IN
0x90d976B6...D1499C0A8
0 CRO0.222774535,100.5
Set Approval For...176485592025-01-13 15:31:1473 days ago1736782274IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...175516962025-01-07 7:20:0979 days ago1736234409IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...175198262025-01-05 5:22:1682 days ago1736054536IN
0x90d976B6...D1499C0A8
0 CRO0.233692655,055
Set Approval For...171849672024-12-14 6:33:53103 days ago1734158033IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...170574872024-12-05 17:51:26112 days ago1733421086IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...169693302024-11-29 19:26:35118 days ago1732908395IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...168984262024-11-25 1:02:19123 days ago1732496539IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...167564802024-11-15 13:25:13132 days ago1731677113IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...166403262024-11-07 22:21:01140 days ago1731018061IN
0x90d976B6...D1499C0A8
0 CRO0.233392155,048.5
Set Approval For...164124902024-10-24 1:33:14155 days ago1729733594IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...164081452024-10-23 18:45:53155 days ago1729709153IN
0x90d976B6...D1499C0A8
0 CRO0.233324895,047.045
Set Approval For...164035322024-10-23 11:33:01155 days ago1729683181IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163748322024-10-21 14:36:03157 days ago1729521363IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163456112024-10-19 16:53:52159 days ago1729356832IN
0x90d976B6...D1499C0A8
0 CRO0.233392155,048.5
Set Approval For...163432592024-10-19 13:13:24159 days ago1729343604IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163415222024-10-19 10:30:31159 days ago1729333831IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163377682024-10-19 4:38:59160 days ago1729312739IN
0x90d976B6...D1499C0A8
0 CRO0.233392155,048.5
Set Approval For...163364032024-10-19 2:31:11160 days ago1729305071IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163363322024-10-19 2:24:30160 days ago1729304670IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163362062024-10-19 2:12:46160 days ago1729303966IN
0x90d976B6...D1499C0A8
0 CRO0.23346155,050
Set Approval For...163362002024-10-19 2:12:12160 days ago1729303932IN
0x90d976B6...D1499C0A8
0 CRO0.233392155,048.5
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
153181562024-08-13 12:57:30226 days ago1723553850
0x90d976B6...D1499C0A8
516 CRO
119885542024-01-08 16:19:16444 days ago1704730756
0x90d976B6...D1499C0A8
10,386 CRO
118985912024-01-02 19:58:21450 days ago1704225501
0x90d976B6...D1499C0A8
4,011 CRO
118480852023-12-30 13:17:54453 days ago1703942274
0x90d976B6...D1499C0A8
3,693 CRO
116807132023-12-19 16:35:57464 days ago1703003757
0x90d976B6...D1499C0A8
2,595 CRO
113576902023-11-28 15:29:23485 days ago1701185363
0x90d976B6...D1499C0A8
1,485 CRO
112784682023-11-23 12:04:10490 days ago1700741050
0x90d976B6...D1499C0A8
1,980 CRO
110016002023-11-05 12:03:56508 days ago1699185836
0x90d976B6...D1499C0A8
990 CRO
107639492023-10-21 0:06:25524 days ago1697846785
0x90d976B6...D1499C0A8
1,980 CRO
106798792023-10-15 12:33:21529 days ago1697373201
0x90d976B6...D1499C0A8
3,141 CRO
105421322023-10-06 12:21:04538 days ago1696594864
0x90d976B6...D1499C0A8
3,564 CRO
103920872023-09-26 17:23:08548 days ago1695748988
0x90d976B6...D1499C0A8
7,059 CRO
102995752023-09-20 16:32:39554 days ago1695227559
0x90d976B6...D1499C0A8
4,416 CRO
101752382023-09-12 13:53:16562 days ago1694526796
0x90d976B6...D1499C0A8
4,743 CRO
100988852023-09-07 14:26:32567 days ago1694096792
0x90d976B6...D1499C0A8
2,277 CRO
100832022023-09-06 13:53:49568 days ago1694008429
0x90d976B6...D1499C0A8
2,970 CRO
100060652023-09-01 13:11:04573 days ago1693573864
0x90d976B6...D1499C0A8
1,218 CRO
99623462023-08-29 16:43:01576 days ago1693327381
0x90d976B6...D1499C0A8
5,673 CRO
99223462023-08-27 2:01:50579 days ago1693101710
0x90d976B6...D1499C0A8
7,029 CRO
98215292023-08-20 12:08:29585 days ago1692533309
0x90d976B6...D1499C0A8
7,227 CRO
97911252023-08-18 12:30:47587 days ago1692361847
0x90d976B6...D1499C0A8
5,079 CRO
97487362023-08-15 18:07:59590 days ago1692122879
0x90d976B6...D1499C0A8
3,000 CRO
96877182023-08-11 18:39:59594 days ago1691779199
0x90d976B6...D1499C0A8
3,168 CRO
96242102023-08-07 15:15:52598 days ago1691421352
0x90d976B6...D1499C0A8
7,485 CRO
94540722023-07-27 13:01:23609 days ago1690462883
0x90d976B6...D1499C0A8
6,663 CRO
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NinjaTurtleFactions

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2023-04-26
*/

/** SPDX-License-Identifier: MIT LICENSE
//             ___          
//            /   \\        
//      //\\ | . . \\       
//     ////\\|     ||       
//    ///   \\ ___//\       
//   ///     \\      \      
//  ///      |\\ C.C. \     
// ///       | \\  \   \    
/////        |  \\  \   \   
////         |   \\ /   /   
///          |    \/   /    
//           |     \\/|     
//           |      \\|     
//           |       \\     
//           |        |\    
//           |_________\\   
//NFT Contract - Ninja Turtle Factions
⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢀⣠⣤⣤⣤⣤⣄⡀⠀⠀⠀ ⠀⢠⣤⣄⠀⣀⠀⠀
⠀⠀⠀⠀⠀⠀⠀ ⣠⣴⠟⠛⠉⠁⠀⠀⠈⠉⠛⠻⣦⣄⠀⢸⡟⠙⣿⡟⣷⡀
⠀⠀⠀⠀ ⠀⢠⣾⠏⠁⣀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡈⠻⣷⣼⣧⠀⢹⡇⣹⡇
⠀⠀⠀⠀⣰⡿⠟⠛⢛⣛⣛⡿⢶⣶⣶⡶⢿⣛⣛⡛⠛⠿⢿⣿⣷⣿⣣⡿⠁
⠀⠀⠀⠀⣿⠁⢀⣼⠟⣯⣝⣻⣦⣤⣤⣾⣟⣫⣭⠻⣷⡄⠈⣿⣨⣿⠋⠀⠀
⠀⠀⣠⡾⠻⢷⣬⣛⣿⡿⠟⠋⠁⠀⠀⠈⠉⠛⢿⣿⣋⣵⡾⠛⢿⣅⠀⠀⠀
⠀⣼⠟⠀⠀⠀⠉⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⠁⠀⠀  ⠀⠻⣧⠀⠀
⠰⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀   ⣿⠆⠀
⠀⢻⣦⠀⠀⠀⠀⠀⢴⣤⣤⣀⣀⠀⠀⣀⣠⣤⡾⢿⡆⠀⠀⠀ ⠀⣴⡟⠀⠀
⠀⠀⠙⢷⣤⣀⠀⠀⠀⠈⠉⠙⠛⠛⠛⠛⠉⠁⠀⠈⠁⠀⣀⣤⡾⠋⠀⠀⠀
⠀⠀⠀⠀⠈⠛⠷⢶⣄⠀⠀⠀⠀⠀⠀⠀⠀  ⠀⠀⣠⡶⠟⠋⠁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀ ⠈⠛⢷⣤⣀⡀⠀⠀⢀⣠⣴⡾⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠈⠙⠛⠛⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
*/
pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

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

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

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

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

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

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

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

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

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _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;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        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) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

/** File: NTF.sol
//             ___          
//            /   \\        
//      //\\ | . . \\       
//     ////\\|     ||       
//    ///   \\ ___//\       
//   ///     \\      \      
//  ///      |\\ C.C. \     
// ///       | \\  \   \    
/////        |  \\  \   \   
////         |   \\ /   /   
///          |    \/   /    
//           |     \\/|     
//           |      \\|     
//           |       \\     
//           |        |\    
//           |_________\\   
//NFT Contract - Ninja Turtle Factions
⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢀⣠⣤⣤⣤⣤⣄⡀⠀⠀⠀ ⠀⢠⣤⣄⠀⣀⠀⠀
⠀⠀⠀⠀⠀⠀⠀ ⣠⣴⠟⠛⠉⠁⠀⠀⠈⠉⠛⠻⣦⣄⠀⢸⡟⠙⣿⡟⣷⡀
⠀⠀⠀⠀ ⠀⢠⣾⠏⠁⣀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡈⠻⣷⣼⣧⠀⢹⡇⣹⡇
⠀⠀⠀⠀⣰⡿⠟⠛⢛⣛⣛⡿⢶⣶⣶⡶⢿⣛⣛⡛⠛⠿⢿⣿⣷⣿⣣⡿⠁
⠀⠀⠀⠀⣿⠁⢀⣼⠟⣯⣝⣻⣦⣤⣤⣾⣟⣫⣭⠻⣷⡄⠈⣿⣨⣿⠋⠀⠀
⠀⠀⣠⡾⠻⢷⣬⣛⣿⡿⠟⠋⠁⠀⠀⠈⠉⠛⢿⣿⣋⣵⡾⠛⢿⣅⠀⠀⠀
⠀⣼⠟⠀⠀⠀⠉⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⠁⠀⠀  ⠀⠻⣧⠀⠀
⠰⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀   ⣿⠆⠀
⠀⢻⣦⠀⠀⠀⠀⠀⢴⣤⣤⣀⣀⠀⠀⣀⣠⣤⡾⢿⡆⠀⠀⠀ ⠀⣴⡟⠀⠀
⠀⠀⠙⢷⣤⣀⠀⠀⠀⠈⠉⠙⠛⠛⠛⠛⠉⠁⠀⠈⠁⠀⣀⣤⡾⠋⠀⠀⠀
⠀⠀⠀⠀⠈⠛⠷⢶⣄⠀⠀⠀⠀⠀⠀⠀⠀  ⠀⠀⣠⡶⠟⠋⠁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀ ⠈⠛⢷⣤⣀⡀⠀⠀⢀⣠⣴⡾⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠈⠙⠛⠛⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
*/
pragma solidity ^0.8.4;

contract NinjaTurtleFactions is ERC721Enumerable, Ownable, ReentrancyGuard {

    
    using Strings for uint256;
    uint256 public constant maxSupply = 5000;
    uint256 public constant maxMintAmount = 10;
    uint256 public constant whitelistCost = 99 ether;
    uint256 public constant publicCost = 129 ether;
    bool public paused = false;
    string public baseURI;
    string public baseExtension = ".json";
    
    mapping(address => bool) public _whitelist;

    uint256[maxSupply] internal availableIds;

    constructor() ERC721("Ninja Turtle Factions", "NTF") {}


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

    function _getNewId(uint256 _totalMinted) internal returns(uint256 value) {
        uint256 remaining = maxSupply - _totalMinted;
        uint256 rand = uint256(keccak256(abi.encodePacked(msg.sender, block.prevrandao, block.timestamp, remaining))) % remaining;
        value = 0;
        
        if (availableIds[rand] != 0)
            value = availableIds[rand];
        else
            value = rand;
        
        if (availableIds[remaining - 1] == 0)
            availableIds[rand] = remaining - 1;
        else
            availableIds[rand] = availableIds[remaining - 1];
        value += 1;
    } 
    
    function mint(uint256 numTokens) public payable nonReentrant {
        require(!paused, "Minting is paused");
        require(totalSupply() + numTokens <= maxSupply, "Total supply exceeded");
        require(numTokens <= maxMintAmount, "Exceeds maximum allowed amount");
        require(msg.value >= getMintCost(numTokens), "Invalid amount sent");
        uint256 supply = totalSupply();

        if (_whitelist[msg.sender]) {
            require(msg.value >= whitelistCost * numTokens, "Invalid amount sent");
        } else {
            require(msg.value >= publicCost * numTokens, "Invalid amount sent");
        }

        for (uint256 i = 0; i < numTokens; i++) {
             _safeMint(msg.sender, _getNewId(supply+i));
        }
    }
        function getMintCost(uint256 numTokens) public view returns (uint256) {
        if (_whitelist[msg.sender]) {
            return whitelistCost * numTokens;
        } else {
            return publicCost * numTokens;
        }
    }

        function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
        {
            uint256 ownerTokenCount = balanceOf(_owner);
            uint256[] memory tokenIds = new uint256[](ownerTokenCount);
            for (uint256 i; i < ownerTokenCount; i++) {
                tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
            }
            return tokenIds;
        }
    
        
        function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory) {
            require(
                _exists(tokenId),
                "ERC721Metadata: URI query for nonexistent token"
                );
                
                string memory currentBaseURI = _baseURI();
                return
                bytes(currentBaseURI).length > 0 
                ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
                : "";
        }
        
    function isWhitelisted(address _address) public view returns (bool) {
        return _whitelist[_address];
    }

    function addAddressToWhitelist(address addr) external onlyOwner {
        _whitelist[addr] = true;
    }

    function removeAddressFromWhitelist(address addr) external onlyOwner {
        _whitelist[addr] = false;
    }

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

    function setBaseURI(string memory _newBaseURI) public onlyOwner() {
        baseURI = _newBaseURI;
    }
    
    function setBaseExtension(string memory _newBaseExtension) public onlyOwner() {
        baseExtension = _newBaseExtension;
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addAddressToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"numTokens","type":"uint256"}],"name":"getMintCost","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":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeAddressFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600c805460ff1916905560c06040526005608090815264173539b7b760d91b60a052600e90620000309082620001d4565b503480156200003e57600080fd5b506040518060400160405280601581526020017f4e696e6a6120547572746c652046616374696f6e73000000000000000000000081525060405180604001604052806003815260200162272a2360e91b8152508160009081620000a29190620001d4565b506001620000b18282620001d4565b505050620000ce620000c8620000d960201b60201c565b620000dd565b6001600b55620002a0565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015a57607f821691505b6020821081036200017b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001cf57600081815260208120601f850160051c81016020861015620001aa5750805b601f850160051c820191505b81811015620001cb57828155600101620001b6565b5050505b505050565b81516001600160401b03811115620001f057620001f06200012f565b620002088162000201845462000145565b8462000181565b602080601f831160018114620002405760008415620002275750858301515b600019600386901b1c1916600185901b178555620001cb565b600085815260208120601f198616915b82811015620002715788860151825594840194600190910190840162000250565b5085821015620002905787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61266480620002b06000396000f3fe60806040526004361061021a5760003560e01c80636352211e11610123578063a22cb465116100ab578063d5abeb011161006f578063d5abeb011461062f578063da3ef23f14610645578063e7b99ec714610665578063e985e9c514610682578063f2fde38b146106cb57600080fd5b8063a22cb4651461058a578063b88d4fde146105aa578063c6682862146105ca578063c87b56dd146105df578063cfdb63ac146105ff57600080fd5b80637b9417c8116100f25780637b9417c8146105075780638693da20146105275780638da5cb5b1461054457806395d89b4114610562578063a0712d681461057757600080fd5b80636352211e1461049d5780636c0360eb146104bd57806370a08231146104d2578063715018a6146104f257600080fd5b8063286dd3f5116101a657806342842e0e1161017557806342842e0e146103f6578063438b6300146104165780634f6ccce71461044357806355f804b3146104635780635c975abb1461048357600080fd5b8063286dd3f5146103685780632f745c59146103885780633af32abf146103a85780633ccfd60b146103e157600080fd5b8063095ea7b3116101ed578063095ea7b3146102d05780630c509436146102f057806318160ddd1461031e578063239c70ae1461033357806323b872dd1461034857600080fd5b806301ffc9a71461021f57806302329a291461025457806306fdde0314610276578063081812fc14610298575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611ed3565b6106eb565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004611f00565b610716565b005b34801561028257600080fd5b5061028b610731565b60405161024b9190611f6b565b3480156102a457600080fd5b506102b86102b3366004611f7e565b6107c3565b6040516001600160a01b03909116815260200161024b565b3480156102dc57600080fd5b506102746102eb366004611fae565b6107ea565b3480156102fc57600080fd5b5061031061030b366004611f7e565b610904565b60405190815260200161024b565b34801561032a57600080fd5b50600854610310565b34801561033f57600080fd5b50610310600a81565b34801561035457600080fd5b50610274610363366004611fd8565b610947565b34801561037457600080fd5b50610274610383366004612014565b610978565b34801561039457600080fd5b506103106103a3366004611fae565b6109a1565b3480156103b457600080fd5b5061023f6103c3366004612014565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103ed57600080fd5b50610274610a37565b34801561040257600080fd5b50610274610411366004611fd8565b610a6e565b34801561042257600080fd5b50610436610431366004612014565b610a89565b60405161024b919061202f565b34801561044f57600080fd5b5061031061045e366004611f7e565b610b2b565b34801561046f57600080fd5b5061027461047e3660046120ff565b610bbe565b34801561048f57600080fd5b50600c5461023f9060ff1681565b3480156104a957600080fd5b506102b86104b8366004611f7e565b610bd6565b3480156104c957600080fd5b5061028b610c36565b3480156104de57600080fd5b506103106104ed366004612014565b610cc4565b3480156104fe57600080fd5b50610274610d4a565b34801561051357600080fd5b50610274610522366004612014565b610d5e565b34801561053357600080fd5b506103106806fe3c10875964000081565b34801561055057600080fd5b50600a546001600160a01b03166102b8565b34801561056e57600080fd5b5061028b610d8a565b610274610585366004611f7e565b610d99565b34801561059657600080fd5b506102746105a5366004612148565b610f91565b3480156105b657600080fd5b506102746105c536600461217b565b610f9c565b3480156105d657600080fd5b5061028b610fd4565b3480156105eb57600080fd5b5061028b6105fa366004611f7e565b610fe1565b34801561060b57600080fd5b5061023f61061a366004612014565b600f6020526000908152604090205460ff1681565b34801561063b57600080fd5b5061031061138881565b34801561065157600080fd5b506102746106603660046120ff565b6110bf565b34801561067157600080fd5b5061031068055de6a779bbac000081565b34801561068e57600080fd5b5061023f61069d3660046121f7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d757600080fd5b506102746106e6366004612014565b6110d3565b60006001600160e01b0319821663780e9d6360e01b1480610710575061071082611149565b92915050565b61071e611199565b600c805460ff1916911515919091179055565b60606000805461074090612221565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90612221565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce826111f3565b506000908152600460205260409020546001600160a01b031690565b60006107f582610bd6565b9050806001600160a01b0316836001600160a01b0316036108675760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108835750610883813361069d565b6108f55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161085e565b6108ff8383611252565b505050565b336000908152600f602052604081205460ff161561092f576107108268055de6a779bbac0000612271565b610710826806fe3c108759640000612271565b919050565b61095133826112c0565b61096d5760405162461bcd60e51b815260040161085e90612288565b6108ff83838361133f565b610980611199565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b60006109ac83610cc4565b8210610a0e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161085e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a3f611199565b60405133904780156108fc02916000818181858888f19350505050158015610a6b573d6000803e3d6000fd5b50565b6108ff83838360405180602001604052806000815250610f9c565b60606000610a9683610cc4565b905060008167ffffffffffffffff811115610ab357610ab3612073565b604051908082528060200260200182016040528015610adc578160200160208202803683370190505b50905060005b82811015610b2357610af485826109a1565b828281518110610b0657610b066122d5565b602090810291909101015280610b1b816122eb565b915050610ae2565b509392505050565b6000610b3660085490565b8210610b995760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161085e565b60088281548110610bac57610bac6122d5565b90600052602060002001549050919050565b610bc6611199565b600d610bd28282612352565b5050565b6000818152600260205260408120546001600160a01b0316806107105760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085e565b600d8054610c4390612221565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6f90612221565b8015610cbc5780601f10610c9157610100808354040283529160200191610cbc565b820191906000526020600020905b815481529060010190602001808311610c9f57829003601f168201915b505050505081565b60006001600160a01b038216610d2e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161085e565b506001600160a01b031660009081526003602052604090205490565b610d52611199565b610d5c60006114b0565b565b610d66611199565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b60606001805461074090612221565b610da1611502565b600c5460ff1615610de85760405162461bcd60e51b8152602060048201526011602482015270135a5b9d1a5b99c81a5cc81c185d5cd959607a1b604482015260640161085e565b61138881610df560085490565b610dff9190612412565b1115610e455760405162461bcd60e51b8152602060048201526015602482015274151bdd185b081cdd5c1c1b1e48195e18d959591959605a1b604482015260640161085e565b600a811115610e965760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d20616c6c6f77656420616d6f756e740000604482015260640161085e565b610e9f81610904565b341015610ebe5760405162461bcd60e51b815260040161085e90612425565b6000610ec960085490565b336000908152600f602052604090205490915060ff1615610f1b57610ef78268055de6a779bbac0000612271565b341015610f165760405162461bcd60e51b815260040161085e90612425565b610f4d565b610f2e826806fe3c108759640000612271565b341015610f4d5760405162461bcd60e51b815260040161085e90612425565b60005b82811015610f8557610f7333610f6e610f698486612412565b61155b565b611697565b80610f7d816122eb565b915050610f50565b5050610a6b6001600b55565b610bd23383836116b1565b610fa633836112c0565b610fc25760405162461bcd60e51b815260040161085e90612288565b610fce8484848461177f565b50505050565b600e8054610c4390612221565b6000818152600260205260409020546060906001600160a01b03166110605760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161085e565b600061106a6117b2565b9050600081511161108a57604051806020016040528060008152506110b8565b80611094846117c1565b600e6040516020016110a893929190612452565b6040516020818303038152906040525b9392505050565b6110c7611199565b600e610bd28282612352565b6110db611199565b6001600160a01b0381166111405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085e565b610a6b816114b0565b60006001600160e01b031982166380ac58cd60e01b148061117a57506001600160e01b03198216635b5e139f60e01b145b8061071057506301ffc9a760e01b6001600160e01b0319831614610710565b600a546001600160a01b03163314610d5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161085e565b6000818152600260205260409020546001600160a01b0316610a6b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061128782610bd6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112cc83610bd6565b9050806001600160a01b0316846001600160a01b0316148061131357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806113375750836001600160a01b031661132c846107c3565b6001600160a01b0316145b949350505050565b826001600160a01b031661135282610bd6565b6001600160a01b0316146113785760405162461bcd60e51b815260040161085e906124f2565b6001600160a01b0382166113da5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161085e565b6113e78383836001611854565b826001600160a01b03166113fa82610bd6565b6001600160a01b0316146114205760405162461bcd60e51b815260040161085e906124f2565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002600b54036115545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161085e565b6002600b55565b60008061156a83611388612537565b6040516bffffffffffffffffffffffff193360601b1660208201524460348201524260548201526074810182905290915060009082906094016040516020818303038152906040528051906020012060001c6115c6919061254a565b90506000925060108161138881106115e0576115e06122d5565b0154156116045760108161138881106115fb576115fb6122d5565b01549250611608565b8092505b6010611615600184612537565b6113888110611626576116266122d5565b01546000036116555761163a600183612537565b601082611388811061164e5761164e6122d5565b015561168c565b6010611662600184612537565b6113888110611673576116736122d5565b01546010826113888110611689576116896122d5565b01555b611337600184612412565b610bd2828260405180602001604052806000815250611988565b816001600160a01b0316836001600160a01b0316036117125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161085e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61178a84848461133f565b611796848484846119bb565b610fce5760405162461bcd60e51b815260040161085e9061256c565b6060600d805461074090612221565b606060006117ce83611abc565b600101905060008167ffffffffffffffff8111156117ee576117ee612073565b6040519080825280601f01601f191660200182016040528015611818576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461182257509392505050565b60018111156118c35760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161085e565b816001600160a01b03851661191f5761191a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611942565b836001600160a01b0316856001600160a01b031614611942576119428582611b94565b6001600160a01b03841661195e5761195981611c31565b611981565b846001600160a01b0316846001600160a01b031614611981576119818482611ce0565b5050505050565b6119928383611d24565b61199f60008484846119bb565b6108ff5760405162461bcd60e51b815260040161085e9061256c565b60006001600160a01b0384163b15611ab157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119ff9033908990889088906004016125be565b6020604051808303816000875af1925050508015611a3a575060408051601f3d908101601f19168201909252611a37918101906125fb565b60015b611a97573d808015611a68576040519150601f19603f3d011682016040523d82523d6000602084013e611a6d565b606091505b508051600003611a8f5760405162461bcd60e51b815260040161085e9061256c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611337565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611afb5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b27576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b4557662386f26fc10000830492506010015b6305f5e1008310611b5d576305f5e100830492506008015b6127108310611b7157612710830492506004015b60648310611b83576064830492506002015b600a83106107105760010192915050565b60006001611ba184610cc4565b611bab9190612537565b600083815260076020526040902054909150808214611bfe576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c4390600190612537565b60008381526009602052604081205460088054939450909284908110611c6b57611c6b6122d5565b906000526020600020015490508060088381548110611c8c57611c8c6122d5565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611cc457611cc4612618565b6001900381819060005260206000200160009055905550505050565b6000611ceb83610cc4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611d7a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161085e565b6000818152600260205260409020546001600160a01b031615611ddf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161085e565b611ded600083836001611854565b6000818152600260205260409020546001600160a01b031615611e525760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161085e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610a6b57600080fd5b600060208284031215611ee557600080fd5b81356110b881611ebd565b8035801515811461094257600080fd5b600060208284031215611f1257600080fd5b6110b882611ef0565b60005b83811015611f36578181015183820152602001611f1e565b50506000910152565b60008151808452611f57816020860160208601611f1b565b601f01601f19169290920160200192915050565b6020815260006110b86020830184611f3f565b600060208284031215611f9057600080fd5b5035919050565b80356001600160a01b038116811461094257600080fd5b60008060408385031215611fc157600080fd5b611fca83611f97565b946020939093013593505050565b600080600060608486031215611fed57600080fd5b611ff684611f97565b925061200460208501611f97565b9150604084013590509250925092565b60006020828403121561202657600080fd5b6110b882611f97565b6020808252825182820181905260009190848201906040850190845b818110156120675783518352928401929184019160010161204b565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156120a4576120a4612073565b604051601f8501601f19908116603f011681019082821181831017156120cc576120cc612073565b816040528093508581528686860111156120e557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561211157600080fd5b813567ffffffffffffffff81111561212857600080fd5b8201601f8101841361213957600080fd5b61133784823560208401612089565b6000806040838503121561215b57600080fd5b61216483611f97565b915061217260208401611ef0565b90509250929050565b6000806000806080858703121561219157600080fd5b61219a85611f97565b93506121a860208601611f97565b925060408501359150606085013567ffffffffffffffff8111156121cb57600080fd5b8501601f810187136121dc57600080fd5b6121eb87823560208401612089565b91505092959194509250565b6000806040838503121561220a57600080fd5b61221383611f97565b915061217260208401611f97565b600181811c9082168061223557607f821691505b60208210810361225557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107105761071061225b565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016122fd576122fd61225b565b5060010190565b601f8211156108ff57600081815260208120601f850160051c8101602086101561232b5750805b601f850160051c820191505b8181101561234a57828155600101612337565b505050505050565b815167ffffffffffffffff81111561236c5761236c612073565b6123808161237a8454612221565b84612304565b602080601f8311600181146123b5576000841561239d5750858301515b600019600386901b1c1916600185901b17855561234a565b600085815260208120601f198616915b828110156123e4578886015182559484019460019091019084016123c5565b50858210156124025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156107105761071061225b565b602080825260139082015272125b9d985b1a5908185b5bdd5b9d081cd95b9d606a1b604082015260600190565b6000845160206124658285838a01611f1b565b8551918401916124788184848a01611f1b565b855492019160009061248981612221565b600182811680156124a157600181146124b6576124e2565b60ff19841687528215158302870194506124e2565b896000528560002060005b848110156124da578154898201529083019087016124c1565b505082870194505b50929a9950505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b818103818111156107105761071061225b565b60008261256757634e487b7160e01b600052601260045260246000fd5b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125f190830184611f3f565b9695505050505050565b60006020828403121561260d57600080fd5b81516110b881611ebd565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220919e395decbec10c273e1f8fbb075eae660ca5294aa02b2228f0854d0301aecc64736f6c63430008120033

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636352211e11610123578063a22cb465116100ab578063d5abeb011161006f578063d5abeb011461062f578063da3ef23f14610645578063e7b99ec714610665578063e985e9c514610682578063f2fde38b146106cb57600080fd5b8063a22cb4651461058a578063b88d4fde146105aa578063c6682862146105ca578063c87b56dd146105df578063cfdb63ac146105ff57600080fd5b80637b9417c8116100f25780637b9417c8146105075780638693da20146105275780638da5cb5b1461054457806395d89b4114610562578063a0712d681461057757600080fd5b80636352211e1461049d5780636c0360eb146104bd57806370a08231146104d2578063715018a6146104f257600080fd5b8063286dd3f5116101a657806342842e0e1161017557806342842e0e146103f6578063438b6300146104165780634f6ccce71461044357806355f804b3146104635780635c975abb1461048357600080fd5b8063286dd3f5146103685780632f745c59146103885780633af32abf146103a85780633ccfd60b146103e157600080fd5b8063095ea7b3116101ed578063095ea7b3146102d05780630c509436146102f057806318160ddd1461031e578063239c70ae1461033357806323b872dd1461034857600080fd5b806301ffc9a71461021f57806302329a291461025457806306fdde0314610276578063081812fc14610298575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611ed3565b6106eb565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004611f00565b610716565b005b34801561028257600080fd5b5061028b610731565b60405161024b9190611f6b565b3480156102a457600080fd5b506102b86102b3366004611f7e565b6107c3565b6040516001600160a01b03909116815260200161024b565b3480156102dc57600080fd5b506102746102eb366004611fae565b6107ea565b3480156102fc57600080fd5b5061031061030b366004611f7e565b610904565b60405190815260200161024b565b34801561032a57600080fd5b50600854610310565b34801561033f57600080fd5b50610310600a81565b34801561035457600080fd5b50610274610363366004611fd8565b610947565b34801561037457600080fd5b50610274610383366004612014565b610978565b34801561039457600080fd5b506103106103a3366004611fae565b6109a1565b3480156103b457600080fd5b5061023f6103c3366004612014565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103ed57600080fd5b50610274610a37565b34801561040257600080fd5b50610274610411366004611fd8565b610a6e565b34801561042257600080fd5b50610436610431366004612014565b610a89565b60405161024b919061202f565b34801561044f57600080fd5b5061031061045e366004611f7e565b610b2b565b34801561046f57600080fd5b5061027461047e3660046120ff565b610bbe565b34801561048f57600080fd5b50600c5461023f9060ff1681565b3480156104a957600080fd5b506102b86104b8366004611f7e565b610bd6565b3480156104c957600080fd5b5061028b610c36565b3480156104de57600080fd5b506103106104ed366004612014565b610cc4565b3480156104fe57600080fd5b50610274610d4a565b34801561051357600080fd5b50610274610522366004612014565b610d5e565b34801561053357600080fd5b506103106806fe3c10875964000081565b34801561055057600080fd5b50600a546001600160a01b03166102b8565b34801561056e57600080fd5b5061028b610d8a565b610274610585366004611f7e565b610d99565b34801561059657600080fd5b506102746105a5366004612148565b610f91565b3480156105b657600080fd5b506102746105c536600461217b565b610f9c565b3480156105d657600080fd5b5061028b610fd4565b3480156105eb57600080fd5b5061028b6105fa366004611f7e565b610fe1565b34801561060b57600080fd5b5061023f61061a366004612014565b600f6020526000908152604090205460ff1681565b34801561063b57600080fd5b5061031061138881565b34801561065157600080fd5b506102746106603660046120ff565b6110bf565b34801561067157600080fd5b5061031068055de6a779bbac000081565b34801561068e57600080fd5b5061023f61069d3660046121f7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d757600080fd5b506102746106e6366004612014565b6110d3565b60006001600160e01b0319821663780e9d6360e01b1480610710575061071082611149565b92915050565b61071e611199565b600c805460ff1916911515919091179055565b60606000805461074090612221565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90612221565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce826111f3565b506000908152600460205260409020546001600160a01b031690565b60006107f582610bd6565b9050806001600160a01b0316836001600160a01b0316036108675760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108835750610883813361069d565b6108f55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161085e565b6108ff8383611252565b505050565b336000908152600f602052604081205460ff161561092f576107108268055de6a779bbac0000612271565b610710826806fe3c108759640000612271565b919050565b61095133826112c0565b61096d5760405162461bcd60e51b815260040161085e90612288565b6108ff83838361133f565b610980611199565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b60006109ac83610cc4565b8210610a0e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161085e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a3f611199565b60405133904780156108fc02916000818181858888f19350505050158015610a6b573d6000803e3d6000fd5b50565b6108ff83838360405180602001604052806000815250610f9c565b60606000610a9683610cc4565b905060008167ffffffffffffffff811115610ab357610ab3612073565b604051908082528060200260200182016040528015610adc578160200160208202803683370190505b50905060005b82811015610b2357610af485826109a1565b828281518110610b0657610b066122d5565b602090810291909101015280610b1b816122eb565b915050610ae2565b509392505050565b6000610b3660085490565b8210610b995760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161085e565b60088281548110610bac57610bac6122d5565b90600052602060002001549050919050565b610bc6611199565b600d610bd28282612352565b5050565b6000818152600260205260408120546001600160a01b0316806107105760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085e565b600d8054610c4390612221565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6f90612221565b8015610cbc5780601f10610c9157610100808354040283529160200191610cbc565b820191906000526020600020905b815481529060010190602001808311610c9f57829003601f168201915b505050505081565b60006001600160a01b038216610d2e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161085e565b506001600160a01b031660009081526003602052604090205490565b610d52611199565b610d5c60006114b0565b565b610d66611199565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b60606001805461074090612221565b610da1611502565b600c5460ff1615610de85760405162461bcd60e51b8152602060048201526011602482015270135a5b9d1a5b99c81a5cc81c185d5cd959607a1b604482015260640161085e565b61138881610df560085490565b610dff9190612412565b1115610e455760405162461bcd60e51b8152602060048201526015602482015274151bdd185b081cdd5c1c1b1e48195e18d959591959605a1b604482015260640161085e565b600a811115610e965760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d20616c6c6f77656420616d6f756e740000604482015260640161085e565b610e9f81610904565b341015610ebe5760405162461bcd60e51b815260040161085e90612425565b6000610ec960085490565b336000908152600f602052604090205490915060ff1615610f1b57610ef78268055de6a779bbac0000612271565b341015610f165760405162461bcd60e51b815260040161085e90612425565b610f4d565b610f2e826806fe3c108759640000612271565b341015610f4d5760405162461bcd60e51b815260040161085e90612425565b60005b82811015610f8557610f7333610f6e610f698486612412565b61155b565b611697565b80610f7d816122eb565b915050610f50565b5050610a6b6001600b55565b610bd23383836116b1565b610fa633836112c0565b610fc25760405162461bcd60e51b815260040161085e90612288565b610fce8484848461177f565b50505050565b600e8054610c4390612221565b6000818152600260205260409020546060906001600160a01b03166110605760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161085e565b600061106a6117b2565b9050600081511161108a57604051806020016040528060008152506110b8565b80611094846117c1565b600e6040516020016110a893929190612452565b6040516020818303038152906040525b9392505050565b6110c7611199565b600e610bd28282612352565b6110db611199565b6001600160a01b0381166111405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085e565b610a6b816114b0565b60006001600160e01b031982166380ac58cd60e01b148061117a57506001600160e01b03198216635b5e139f60e01b145b8061071057506301ffc9a760e01b6001600160e01b0319831614610710565b600a546001600160a01b03163314610d5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161085e565b6000818152600260205260409020546001600160a01b0316610a6b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061128782610bd6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112cc83610bd6565b9050806001600160a01b0316846001600160a01b0316148061131357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806113375750836001600160a01b031661132c846107c3565b6001600160a01b0316145b949350505050565b826001600160a01b031661135282610bd6565b6001600160a01b0316146113785760405162461bcd60e51b815260040161085e906124f2565b6001600160a01b0382166113da5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161085e565b6113e78383836001611854565b826001600160a01b03166113fa82610bd6565b6001600160a01b0316146114205760405162461bcd60e51b815260040161085e906124f2565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002600b54036115545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161085e565b6002600b55565b60008061156a83611388612537565b6040516bffffffffffffffffffffffff193360601b1660208201524460348201524260548201526074810182905290915060009082906094016040516020818303038152906040528051906020012060001c6115c6919061254a565b90506000925060108161138881106115e0576115e06122d5565b0154156116045760108161138881106115fb576115fb6122d5565b01549250611608565b8092505b6010611615600184612537565b6113888110611626576116266122d5565b01546000036116555761163a600183612537565b601082611388811061164e5761164e6122d5565b015561168c565b6010611662600184612537565b6113888110611673576116736122d5565b01546010826113888110611689576116896122d5565b01555b611337600184612412565b610bd2828260405180602001604052806000815250611988565b816001600160a01b0316836001600160a01b0316036117125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161085e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61178a84848461133f565b611796848484846119bb565b610fce5760405162461bcd60e51b815260040161085e9061256c565b6060600d805461074090612221565b606060006117ce83611abc565b600101905060008167ffffffffffffffff8111156117ee576117ee612073565b6040519080825280601f01601f191660200182016040528015611818576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461182257509392505050565b60018111156118c35760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161085e565b816001600160a01b03851661191f5761191a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611942565b836001600160a01b0316856001600160a01b031614611942576119428582611b94565b6001600160a01b03841661195e5761195981611c31565b611981565b846001600160a01b0316846001600160a01b031614611981576119818482611ce0565b5050505050565b6119928383611d24565b61199f60008484846119bb565b6108ff5760405162461bcd60e51b815260040161085e9061256c565b60006001600160a01b0384163b15611ab157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119ff9033908990889088906004016125be565b6020604051808303816000875af1925050508015611a3a575060408051601f3d908101601f19168201909252611a37918101906125fb565b60015b611a97573d808015611a68576040519150601f19603f3d011682016040523d82523d6000602084013e611a6d565b606091505b508051600003611a8f5760405162461bcd60e51b815260040161085e9061256c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611337565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611afb5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b27576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b4557662386f26fc10000830492506010015b6305f5e1008310611b5d576305f5e100830492506008015b6127108310611b7157612710830492506004015b60648310611b83576064830492506002015b600a83106107105760010192915050565b60006001611ba184610cc4565b611bab9190612537565b600083815260076020526040902054909150808214611bfe576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c4390600190612537565b60008381526009602052604081205460088054939450909284908110611c6b57611c6b6122d5565b906000526020600020015490508060088381548110611c8c57611c8c6122d5565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611cc457611cc4612618565b6001900381819060005260206000200160009055905550505050565b6000611ceb83610cc4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611d7a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161085e565b6000818152600260205260409020546001600160a01b031615611ddf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161085e565b611ded600083836001611854565b6000818152600260205260409020546001600160a01b031615611e525760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161085e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610a6b57600080fd5b600060208284031215611ee557600080fd5b81356110b881611ebd565b8035801515811461094257600080fd5b600060208284031215611f1257600080fd5b6110b882611ef0565b60005b83811015611f36578181015183820152602001611f1e565b50506000910152565b60008151808452611f57816020860160208601611f1b565b601f01601f19169290920160200192915050565b6020815260006110b86020830184611f3f565b600060208284031215611f9057600080fd5b5035919050565b80356001600160a01b038116811461094257600080fd5b60008060408385031215611fc157600080fd5b611fca83611f97565b946020939093013593505050565b600080600060608486031215611fed57600080fd5b611ff684611f97565b925061200460208501611f97565b9150604084013590509250925092565b60006020828403121561202657600080fd5b6110b882611f97565b6020808252825182820181905260009190848201906040850190845b818110156120675783518352928401929184019160010161204b565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156120a4576120a4612073565b604051601f8501601f19908116603f011681019082821181831017156120cc576120cc612073565b816040528093508581528686860111156120e557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561211157600080fd5b813567ffffffffffffffff81111561212857600080fd5b8201601f8101841361213957600080fd5b61133784823560208401612089565b6000806040838503121561215b57600080fd5b61216483611f97565b915061217260208401611ef0565b90509250929050565b6000806000806080858703121561219157600080fd5b61219a85611f97565b93506121a860208601611f97565b925060408501359150606085013567ffffffffffffffff8111156121cb57600080fd5b8501601f810187136121dc57600080fd5b6121eb87823560208401612089565b91505092959194509250565b6000806040838503121561220a57600080fd5b61221383611f97565b915061217260208401611f97565b600181811c9082168061223557607f821691505b60208210810361225557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107105761071061225b565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016122fd576122fd61225b565b5060010190565b601f8211156108ff57600081815260208120601f850160051c8101602086101561232b5750805b601f850160051c820191505b8181101561234a57828155600101612337565b505050505050565b815167ffffffffffffffff81111561236c5761236c612073565b6123808161237a8454612221565b84612304565b602080601f8311600181146123b5576000841561239d5750858301515b600019600386901b1c1916600185901b17855561234a565b600085815260208120601f198616915b828110156123e4578886015182559484019460019091019084016123c5565b50858210156124025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156107105761071061225b565b602080825260139082015272125b9d985b1a5908185b5bdd5b9d081cd95b9d606a1b604082015260600190565b6000845160206124658285838a01611f1b565b8551918401916124788184848a01611f1b565b855492019160009061248981612221565b600182811680156124a157600181146124b6576124e2565b60ff19841687528215158302870194506124e2565b896000528560002060005b848110156124da578154898201529083019087016124c1565b505082870194505b50929a9950505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b818103818111156107105761071061225b565b60008261256757634e487b7160e01b600052601260045260246000fd5b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125f190830184611f3f565b9695505050505050565b60006020828403121561260d57600080fd5b81516110b881611ebd565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220919e395decbec10c273e1f8fbb075eae660ca5294aa02b2228f0854d0301aecc64736f6c63430008120033

Deployed Bytecode Sourcemap

69073:4197:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58697:224;;;;;;;;;;-1:-1:-1;58697:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;58697:224:0;;;;;;;;72819:75;;;;;;;;;;-1:-1:-1;72819:75:0;;;;;:::i;:::-;;:::i;:::-;;42404:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43916:171::-;;;;;;;;;;-1:-1:-1;43916:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2047:32:1;;;2029:51;;2017:2;2002:18;43916:171:0;1883:203:1;43434:416:0;;;;;;;;;;-1:-1:-1;43434:416:0;;;;;:::i;:::-;;:::i;71190:237::-;;;;;;;;;;-1:-1:-1;71190:237:0;;;;;:::i;:::-;;:::i;:::-;;;2674:25:1;;;2662:2;2647:18;71190:237:0;2528:177:1;59337:113:0;;;;;;;;;;-1:-1:-1;59425:10:0;:17;59337:113;;69242:42;;;;;;;;;;;;69282:2;69242:42;;44616:335;;;;;;;;;;-1:-1:-1;44616:335:0;;;;;:::i;:::-;;:::i;72699:112::-;;;;;;;;;;-1:-1:-1;72699:112:0;;;;;:::i;:::-;;:::i;59005:256::-;;;;;;;;;;-1:-1:-1;59005:256:0;;;;;:::i;:::-;;:::i;72463:114::-;;;;;;;;;;-1:-1:-1;72463:114:0;;;;;:::i;:::-;-1:-1:-1;;;;;72549:20:0;72525:4;72549:20;;;:10;:20;;;;;;;;;72463:114;73158:109;;;;;;;;;;;;;:::i;45022:185::-;;;;;;;;;;-1:-1:-1;45022:185:0;;;;;:::i;:::-;;:::i;71439:422::-;;;;;;;;;;-1:-1:-1;71439:422:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;59527:233::-;;;;;;;;;;-1:-1:-1;59527:233:0;;;;;:::i;:::-;;:::i;72902:106::-;;;;;;;;;;-1:-1:-1;72902:106:0;;;;;:::i;:::-;;:::i;69399:26::-;;;;;;;;;;-1:-1:-1;69399:26:0;;;;;;;;42114:223;;;;;;;;;;-1:-1:-1;42114:223:0;;;;;:::i;:::-;;:::i;69432:21::-;;;;;;;;;;;;;:::i;41845:207::-;;;;;;;;;;-1:-1:-1;41845:207:0;;;;;:::i;:::-;;:::i;66515:103::-;;;;;;;;;;;;;:::i;72585:106::-;;;;;;;;;;-1:-1:-1;72585:106:0;;;;;:::i;:::-;;:::i;69346:46::-;;;;;;;;;;;;69383:9;69346:46;;65867:87;;;;;;;;;;-1:-1:-1;65940:6:0;;-1:-1:-1;;;;;65940:6:0;65867:87;;42573:104;;;;;;;;;;;;;:::i;70422:758::-;;;;;;:::i;:::-;;:::i;44159:155::-;;;;;;;;;;-1:-1:-1;44159:155:0;;;;;:::i;:::-;;:::i;45278:322::-;;;;;;;;;;-1:-1:-1;45278:322:0;;;;;:::i;:::-;;:::i;69460:37::-;;;;;;;;;;;;;:::i;71887:560::-;;;;;;;;;;-1:-1:-1;71887:560:0;;;;;:::i;:::-;;:::i;69510:42::-;;;;;;;;;;-1:-1:-1;69510:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;69195:40;;;;;;;;;;;;69231:4;69195:40;;73020:130;;;;;;;;;;-1:-1:-1;73020:130:0;;;;;:::i;:::-;;:::i;69291:48::-;;;;;;;;;;;;69331:8;69291:48;;44385:164;;;;;;;;;;-1:-1:-1;44385:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44506:25:0;;;44482:4;44506:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44385:164;66773:201;;;;;;;;;;-1:-1:-1;66773:201:0;;;;;:::i;:::-;;:::i;58697:224::-;58799:4;-1:-1:-1;;;;;;58823:50:0;;-1:-1:-1;;;58823:50:0;;:90;;;58877:36;58901:11;58877:23;:36::i;:::-;58816:97;58697:224;-1:-1:-1;;58697:224:0:o;72819:75::-;65753:13;:11;:13::i;:::-;72874:6:::1;:12:::0;;-1:-1:-1;;72874:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;72819:75::o;42404:100::-;42458:13;42491:5;42484:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42404:100;:::o;43916:171::-;43992:7;44012:23;44027:7;44012:14;:23::i;:::-;-1:-1:-1;44055:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44055:24:0;;43916:171::o;43434:416::-;43515:13;43531:23;43546:7;43531:14;:23::i;:::-;43515:39;;43579:5;-1:-1:-1;;;;;43573:11:0;:2;-1:-1:-1;;;;;43573:11:0;;43565:57;;;;-1:-1:-1;;;43565:57:0;;6879:2:1;43565:57:0;;;6861:21:1;6918:2;6898:18;;;6891:30;6957:34;6937:18;;;6930:62;-1:-1:-1;;;7008:18:1;;;7001:31;7049:19;;43565:57:0;;;;;;;;;39935:10;-1:-1:-1;;;;;43657:21:0;;;;:62;;-1:-1:-1;43682:37:0;43699:5;39935:10;44385:164;:::i;43682:37::-;43635:173;;;;-1:-1:-1;;;43635:173:0;;7281:2:1;43635:173:0;;;7263:21:1;7320:2;7300:18;;;7293:30;7359:34;7339:18;;;7332:62;7430:31;7410:18;;;7403:59;7479:19;;43635:173:0;7079:425:1;43635:173:0;43821:21;43830:2;43834:7;43821:8;:21::i;:::-;43504:346;43434:416;;:::o;71190:237::-;71286:10;71251:7;71275:22;;;:10;:22;;;;;;;;71271:149;;;71321:25;71337:9;69331:8;71321:25;:::i;71271:149::-;71386:22;71399:9;69383;71386:22;:::i;71271:149::-;71190:237;;;:::o;44616:335::-;44811:41;39935:10;44844:7;44811:18;:41::i;:::-;44803:99;;;;-1:-1:-1;;;44803:99:0;;;;;;;:::i;:::-;44915:28;44925:4;44931:2;44935:7;44915:9;:28::i;72699:112::-;65753:13;:11;:13::i;:::-;-1:-1:-1;;;;;72779:16:0::1;72798:5;72779:16:::0;;;:10:::1;:16;::::0;;;;:24;;-1:-1:-1;;72779:24:0::1;::::0;;72699:112::o;59005:256::-;59102:7;59138:23;59155:5;59138:16;:23::i;:::-;59130:5;:31;59122:87;;;;-1:-1:-1;;;59122:87:0;;8430:2:1;59122:87:0;;;8412:21:1;8469:2;8449:18;;;8442:30;8508:34;8488:18;;;8481:62;-1:-1:-1;;;8559:18:1;;;8552:41;8610:19;;59122:87:0;8228:407:1;59122:87:0;-1:-1:-1;;;;;;59227:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;59005:256::o;73158:109::-;65753:13;:11;:13::i;:::-;73208:51:::1;::::0;73216:10:::1;::::0;73237:21:::1;73208:51:::0;::::1;;;::::0;::::1;::::0;;;73237:21;73216:10;73208:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;73158:109::o:0;45022:185::-;45160:39;45177:4;45183:2;45187:7;45160:39;;;;;;;;;;;;:16;:39::i;71439:422::-;71526:16;71568:23;71594:17;71604:6;71594:9;:17::i;:::-;71568:43;;71626:25;71668:15;71654:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71654:30:0;;71626:58;;71704:9;71699:121;71719:15;71715:1;:19;71699:121;;;71774:30;71794:6;71802:1;71774:19;:30::i;:::-;71760:8;71769:1;71760:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;71736:3;;;;:::i;:::-;;;;71699:121;;;-1:-1:-1;71841:8:0;71439:422;-1:-1:-1;;;71439:422:0:o;59527:233::-;59602:7;59638:30;59425:10;:17;;59337:113;59638:30;59630:5;:38;59622:95;;;;-1:-1:-1;;;59622:95:0;;9114:2:1;59622:95:0;;;9096:21:1;9153:2;9133:18;;;9126:30;9192:34;9172:18;;;9165:62;-1:-1:-1;;;9243:18:1;;;9236:42;9295:19;;59622:95:0;8912:408:1;59622:95:0;59735:10;59746:5;59735:17;;;;;;;;:::i;:::-;;;;;;;;;59728:24;;59527:233;;;:::o;72902:106::-;65753:13;:11;:13::i;:::-;72979:7:::1;:21;72989:11:::0;72979:7;:21:::1;:::i;:::-;;72902:106:::0;:::o;42114:223::-;42186:7;47001:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47001:16:0;;42250:56;;;;-1:-1:-1;;;42250:56:0;;11731:2:1;42250:56:0;;;11713:21:1;11770:2;11750:18;;;11743:30;-1:-1:-1;;;11789:18:1;;;11782:54;11853:18;;42250:56:0;11529:348:1;69432:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41845:207::-;41917:7;-1:-1:-1;;;;;41945:19:0;;41937:73;;;;-1:-1:-1;;;41937:73:0;;12084:2:1;41937:73:0;;;12066:21:1;12123:2;12103:18;;;12096:30;12162:34;12142:18;;;12135:62;-1:-1:-1;;;12213:18:1;;;12206:39;12262:19;;41937:73:0;11882:405:1;41937:73:0;-1:-1:-1;;;;;;42028:16:0;;;;;:9;:16;;;;;;;41845:207::o;66515:103::-;65753:13;:11;:13::i;:::-;66580:30:::1;66607:1;66580:18;:30::i;:::-;66515:103::o:0;72585:106::-;65753:13;:11;:13::i;:::-;-1:-1:-1;;;;;72660:16:0::1;;::::0;;;:10:::1;:16;::::0;;;;:23;;-1:-1:-1;;72660:23:0::1;72679:4;72660:23;::::0;;72585:106::o;42573:104::-;42629:13;42662:7;42655:14;;;;;:::i;70422:758::-;38575:21;:19;:21::i;:::-;70503:6:::1;::::0;::::1;;70502:7;70494:37;;;::::0;-1:-1:-1;;;70494:37:0;;12494:2:1;70494:37:0::1;::::0;::::1;12476:21:1::0;12533:2;12513:18;;;12506:30;-1:-1:-1;;;12552:18:1;;;12545:47;12609:18;;70494:37:0::1;12292:341:1::0;70494:37:0::1;69231:4;70566:9;70550:13;59425:10:::0;:17;;59337:113;70550:13:::1;:25;;;;:::i;:::-;:38;;70542:72;;;::::0;-1:-1:-1;;;70542:72:0;;12970:2:1;70542:72:0::1;::::0;::::1;12952:21:1::0;13009:2;12989:18;;;12982:30;-1:-1:-1;;;13028:18:1;;;13021:51;13089:18;;70542:72:0::1;12768:345:1::0;70542:72:0::1;69282:2;70633:9;:26;;70625:69;;;::::0;-1:-1:-1;;;70625:69:0;;13320:2:1;70625:69:0::1;::::0;::::1;13302:21:1::0;13359:2;13339:18;;;13332:30;13398:32;13378:18;;;13371:60;13448:18;;70625:69:0::1;13118:354:1::0;70625:69:0::1;70726:22;70738:9;70726:11;:22::i;:::-;70713:9;:35;;70705:67;;;;-1:-1:-1::0;;;70705:67:0::1;;;;;;;:::i;:::-;70783:14;70800:13;59425:10:::0;:17;;59337:113;70800:13:::1;70841:10;70830:22;::::0;;;:10:::1;:22;::::0;;;;;70783:30;;-1:-1:-1;70830:22:0::1;;70826:225;;;70890:25;70906:9:::0;69331:8:::1;70890:25;:::i;:::-;70877:9;:38;;70869:70;;;;-1:-1:-1::0;;;70869:70:0::1;;;;;;;:::i;:::-;70826:225;;;70993:22;71006:9:::0;69383::::1;70993:22;:::i;:::-;70980:9;:35;;70972:67;;;;-1:-1:-1::0;;;70972:67:0::1;;;;;;;:::i;:::-;71068:9;71063:110;71087:9;71083:1;:13;71063:110;;;71119:42;71129:10;71141:19;71151:8;71158:1:::0;71151:6;:8:::1;:::i;:::-;71141:9;:19::i;:::-;71119:9;:42::i;:::-;71098:3:::0;::::1;::::0;::::1;:::i;:::-;;;;71063:110;;;;70483:697;38619:20:::0;38013:1;39139:7;:22;38956:213;44159:155;44254:52;39935:10;44287:8;44297;44254:18;:52::i;45278:322::-;45452:41;39935:10;45485:7;45452:18;:41::i;:::-;45444:99;;;;-1:-1:-1;;;45444:99:0;;;;;;;:::i;:::-;45554:38;45568:4;45574:2;45578:7;45587:4;45554:13;:38::i;:::-;45278:322;;;;:::o;69460:37::-;;;;;;;:::i;71887:560::-;47403:4;47001:16;;;:7;:16;;;;;;72005:13;;-1:-1:-1;;;;;47001:16:0;72035:129;;;;-1:-1:-1;;;72035:129:0;;14027:2:1;72035:129:0;;;14009:21:1;14066:2;14046:18;;;14039:30;14105:34;14085:18;;;14078:62;-1:-1:-1;;;14156:18:1;;;14149:45;14211:19;;72035:129:0;13825:411:1;72035:129:0;72201:28;72232:10;:8;:10::i;:::-;72201:41;;72316:1;72291:14;72285:28;:32;:150;;;;;;;;;;;;;;;;;72362:14;72378:18;:7;:16;:18::i;:::-;72398:13;72345:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72285:150;72261:174;71887:560;-1:-1:-1;;;71887:560:0:o;73020:130::-;65753:13;:11;:13::i;:::-;73109::::1;:33;73125:17:::0;73109:13;:33:::1;:::i;66773:201::-:0;65753:13;:11;:13::i;:::-;-1:-1:-1;;;;;66862:22:0;::::1;66854:73;;;::::0;-1:-1:-1;;;66854:73:0;;15704:2:1;66854:73:0::1;::::0;::::1;15686:21:1::0;15743:2;15723:18;;;15716:30;15782:34;15762:18;;;15755:62;-1:-1:-1;;;15833:18:1;;;15826:36;15879:19;;66854:73:0::1;15502:402:1::0;66854:73:0::1;66938:28;66957:8;66938:18;:28::i;41476:305::-:0;41578:4;-1:-1:-1;;;;;;41615:40:0;;-1:-1:-1;;;41615:40:0;;:105;;-1:-1:-1;;;;;;;41672:48:0;;-1:-1:-1;;;41672:48:0;41615:105;:158;;;-1:-1:-1;;;;;;;;;;29178:40:0;;;41737:36;29069:157;66032:132;65940:6;;-1:-1:-1;;;;;65940:6:0;39935:10;66096:23;66088:68;;;;-1:-1:-1;;;66088:68:0;;16111:2:1;66088:68:0;;;16093:21:1;;;16130:18;;;16123:30;16189:34;16169:18;;;16162:62;16241:18;;66088:68:0;15909:356:1;53735:135:0;47403:4;47001:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47001:16:0;53809:53;;;;-1:-1:-1;;;53809:53:0;;11731:2:1;53809:53:0;;;11713:21:1;11770:2;11750:18;;;11743:30;-1:-1:-1;;;11789:18:1;;;11782:54;11853:18;;53809:53:0;11529:348:1;53014:174:0;53089:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;53089:29:0;-1:-1:-1;;;;;53089:29:0;;;;;;;;:24;;53143:23;53089:24;53143:14;:23::i;:::-;-1:-1:-1;;;;;53134:46:0;;;;;;;;;;;53014:174;;:::o;47633:264::-;47726:4;47743:13;47759:23;47774:7;47759:14;:23::i;:::-;47743:39;;47812:5;-1:-1:-1;;;;;47801:16:0;:7;-1:-1:-1;;;;;47801:16:0;;:52;;;-1:-1:-1;;;;;;44506:25:0;;;44482:4;44506:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;47821:32;47801:87;;;;47881:7;-1:-1:-1;;;;;47857:31:0;:20;47869:7;47857:11;:20::i;:::-;-1:-1:-1;;;;;47857:31:0;;47801:87;47793:96;47633:264;-1:-1:-1;;;;47633:264:0:o;51632:1263::-;51791:4;-1:-1:-1;;;;;51764:31:0;:23;51779:7;51764:14;:23::i;:::-;-1:-1:-1;;;;;51764:31:0;;51756:81;;;;-1:-1:-1;;;51756:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;51856:16:0;;51848:65;;;;-1:-1:-1;;;51848:65:0;;16878:2:1;51848:65:0;;;16860:21:1;16917:2;16897:18;;;16890:30;16956:34;16936:18;;;16929:62;-1:-1:-1;;;17007:18:1;;;17000:34;17051:19;;51848:65:0;16676:400:1;51848:65:0;51926:42;51947:4;51953:2;51957:7;51966:1;51926:20;:42::i;:::-;52098:4;-1:-1:-1;;;;;52071:31:0;:23;52086:7;52071:14;:23::i;:::-;-1:-1:-1;;;;;52071:31:0;;52063:81;;;;-1:-1:-1;;;52063:81:0;;;;;;;:::i;:::-;52216:24;;;;:15;:24;;;;;;;;52209:31;;-1:-1:-1;;;;;;52209:31:0;;;;;;-1:-1:-1;;;;;52692:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;52692:20:0;;;52727:13;;;;;;;;;:18;;52209:31;52727:18;;;52767:16;;;:7;:16;;;;;;:21;;;;;;;;;;52806:27;;52232:7;;52806:27;;;43504:346;43434:416;;:::o;67134:191::-;67227:6;;;-1:-1:-1;;;;;67244:17:0;;;-1:-1:-1;;;;;;67244:17:0;;;;;;;67277:40;;67227:6;;;67244:17;67227:6;;67277:40;;67208:16;;67277:40;67197:128;67134:191;:::o;38655:293::-;38057:1;38789:7;;:19;38781:63;;;;-1:-1:-1;;;38781:63:0;;17283:2:1;38781:63:0;;;17265:21:1;17322:2;17302:18;;;17295:30;17361:33;17341:18;;;17334:61;17412:18;;38781:63:0;17081:355:1;38781:63:0;38057:1;38922:7;:18;38655:293::o;69787:622::-;69845:13;;69891:24;69903:12;69231:4;69891:24;:::i;:::-;69959:74;;-1:-1:-1;;69976:10:0;17807:2:1;17803:15;17799:53;69959:74:0;;;17787:66:1;69988:16:0;17869:12:1;;;17862:28;70006:15:0;17906:12:1;;;17899:28;17943:12;;;17936:28;;;69871:44:0;;-1:-1:-1;69926:12:0;;69871:44;;17980:13:1;;69959:74:0;;;;;;;;;;;;69949:85;;;;;;69941:94;;:106;;;;:::i;:::-;69926:121;;70066:1;70058:9;;70092:12;70105:4;70092:18;;;;;;;:::i;:::-;;;:23;70088:109;;70138:12;70151:4;70138:18;;;;;;;:::i;:::-;;;70130:26;;70088:109;;;70193:4;70185:12;;70088:109;70222:12;70235:13;70247:1;70235:9;:13;:::i;:::-;70222:27;;;;;;;:::i;:::-;;;70253:1;70222:32;70218:162;;70290:13;70302:1;70290:9;:13;:::i;:::-;70269:12;70282:4;70269:18;;;;;;;:::i;:::-;;:34;70218:162;;;70353:12;70366:13;70378:1;70366:9;:13;:::i;:::-;70353:27;;;;;;;:::i;:::-;;;70332:12;70345:4;70332:18;;;;;;;:::i;:::-;;:48;70218:162;70391:10;70400:1;70391:10;;:::i;48239:110::-;48315:26;48325:2;48329:7;48315:26;;;;;;;;;;;;:9;:26::i;53331:315::-;53486:8;-1:-1:-1;;;;;53477:17:0;:5;-1:-1:-1;;;;;53477:17:0;;53469:55;;;;-1:-1:-1;;;53469:55:0;;18552:2:1;53469:55:0;;;18534:21:1;18591:2;18571:18;;;18564:30;18630:27;18610:18;;;18603:55;18675:18;;53469:55:0;18350:349:1;53469:55:0;-1:-1:-1;;;;;53535:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;53535:46:0;;;;;;;;;;53597:41;;540::1;;;53597::0;;513:18:1;53597:41:0;;;;;;;53331:315;;;:::o;46481:313::-;46637:28;46647:4;46653:2;46657:7;46637:9;:28::i;:::-;46684:47;46707:4;46713:2;46717:7;46726:4;46684:22;:47::i;:::-;46676:110;;;;-1:-1:-1;;;46676:110:0;;;;;;;:::i;69675:104::-;69735:13;69764:7;69757:14;;;;;:::i;14911:716::-;14967:13;15018:14;15035:17;15046:5;15035:10;:17::i;:::-;15055:1;15035:21;15018:38;;15071:20;15105:6;15094:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15094:18:0;-1:-1:-1;15071:41:0;-1:-1:-1;15236:28:0;;;15252:2;15236:28;15293:288;-1:-1:-1;;15325:5:0;-1:-1:-1;;;15462:2:0;15451:14;;15446:30;15325:5;15433:44;15523:2;15514:11;;;-1:-1:-1;15544:21:0;15293:288;15544:21;-1:-1:-1;15602:6:0;14911:716;-1:-1:-1;;;14911:716:0:o;59834:915::-;60101:1;60089:9;:13;60085:222;;;60232:63;;-1:-1:-1;;;60232:63:0;;19325:2:1;60232:63:0;;;19307:21:1;19364:2;19344:18;;;19337:30;19403:34;19383:18;;;19376:62;-1:-1:-1;;;19454:18:1;;;19447:51;19515:19;;60232:63:0;19123:417:1;60085:222:0;60337:12;-1:-1:-1;;;;;60366:18:0;;60362:187;;60401:40;60433:7;61576:10;:17;;61549:24;;;;:15;:24;;;;;:44;;;61604:24;;;;;;;;;;;;61472:164;60401:40;60362:187;;;60471:2;-1:-1:-1;;;;;60463:10:0;:4;-1:-1:-1;;;;;60463:10:0;;60459:90;;60490:47;60523:4;60529:7;60490:32;:47::i;:::-;-1:-1:-1;;;;;60563:16:0;;60559:183;;60596:45;60633:7;60596:36;:45::i;:::-;60559:183;;;60669:4;-1:-1:-1;;;;;60663:10:0;:2;-1:-1:-1;;;;;60663:10:0;;60659:83;;60690:40;60718:2;60722:7;60690:27;:40::i;:::-;60000:749;59834:915;;;;:::o;48576:319::-;48705:18;48711:2;48715:7;48705:5;:18::i;:::-;48756:53;48787:1;48791:2;48795:7;48804:4;48756:22;:53::i;:::-;48734:153;;;;-1:-1:-1;;;48734:153:0;;;;;;;:::i;54434:853::-;54588:4;-1:-1:-1;;;;;54609:13:0;;18333:19;:23;54605:675;;54645:71;;-1:-1:-1;;;54645:71:0;;-1:-1:-1;;;;;54645:36:0;;;;;:71;;39935:10;;54696:4;;54702:7;;54711:4;;54645:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54645:71:0;;;;;;;;-1:-1:-1;;54645:71:0;;;;;;;;;;;;:::i;:::-;;;54641:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54886:6;:13;54903:1;54886:18;54882:328;;54929:60;;-1:-1:-1;;;54929:60:0;;;;;;;:::i;54882:328::-;55160:6;55154:13;55145:6;55141:2;55137:15;55130:38;54641:584;-1:-1:-1;;;;;;54767:51:0;-1:-1:-1;;;54767:51:0;;-1:-1:-1;54760:58:0;;54605:675;-1:-1:-1;55264:4:0;54434:853;;;;;;:::o;11777:922::-;11830:7;;-1:-1:-1;;;11908:15:0;;11904:102;;-1:-1:-1;;;11944:15:0;;;-1:-1:-1;11988:2:0;11978:12;11904:102;12033:6;12024:5;:15;12020:102;;12069:6;12060:15;;;-1:-1:-1;12104:2:0;12094:12;12020:102;12149:6;12140:5;:15;12136:102;;12185:6;12176:15;;;-1:-1:-1;12220:2:0;12210:12;12136:102;12265:5;12256;:14;12252:99;;12300:5;12291:14;;;-1:-1:-1;12334:1:0;12324:11;12252:99;12378:5;12369;:14;12365:99;;12413:5;12404:14;;;-1:-1:-1;12447:1:0;12437:11;12365:99;12491:5;12482;:14;12478:99;;12526:5;12517:14;;;-1:-1:-1;12560:1:0;12550:11;12478:99;12604:5;12595;:14;12591:66;;12640:1;12630:11;12685:6;11777:922;-1:-1:-1;;11777:922:0:o;62263:988::-;62529:22;62579:1;62554:22;62571:4;62554:16;:22::i;:::-;:26;;;;:::i;:::-;62591:18;62612:26;;;:17;:26;;;;;;62529:51;;-1:-1:-1;62745:28:0;;;62741:328;;-1:-1:-1;;;;;62812:18:0;;62790:19;62812:18;;;:12;:18;;;;;;;;:34;;;;;;;;;62863:30;;;;;;:44;;;62980:30;;:17;:30;;;;;:43;;;62741:328;-1:-1:-1;63165:26:0;;;;:17;:26;;;;;;;;63158:33;;;-1:-1:-1;;;;;63209:18:0;;;;;:12;:18;;;;;:34;;;;;;;63202:41;62263:988::o;63546:1079::-;63824:10;:17;63799:22;;63824:21;;63844:1;;63824:21;:::i;:::-;63856:18;63877:24;;;:15;:24;;;;;;64250:10;:26;;63799:46;;-1:-1:-1;63877:24:0;;63799:46;;64250:26;;;;;;:::i;:::-;;;;;;;;;64228:48;;64314:11;64289:10;64300;64289:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;64394:28;;;:15;:28;;;;;;;:41;;;64566:24;;;;;64559:31;64601:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;63617:1008;;;63546:1079;:::o;61050:221::-;61135:14;61152:20;61169:2;61152:16;:20::i;:::-;-1:-1:-1;;;;;61183:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;61228:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;61050:221:0:o;49231:942::-;-1:-1:-1;;;;;49311:16:0;;49303:61;;;;-1:-1:-1;;;49303:61:0;;20627:2:1;49303:61:0;;;20609:21:1;;;20646:18;;;20639:30;20705:34;20685:18;;;20678:62;20757:18;;49303:61:0;20425:356:1;49303:61:0;47403:4;47001:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47001:16:0;47427:31;49375:58;;;;-1:-1:-1;;;49375:58:0;;20988:2:1;49375:58:0;;;20970:21:1;21027:2;21007:18;;;21000:30;21066;21046:18;;;21039:58;21114:18;;49375:58:0;20786:352:1;49375:58:0;49446:48;49475:1;49479:2;49483:7;49492:1;49446:20;:48::i;:::-;47403:4;47001:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47001:16:0;47427:31;49584:58;;;;-1:-1:-1;;;49584:58:0;;20988:2:1;49584:58:0;;;20970:21:1;21027:2;21007:18;;;21000:30;21066;21046:18;;;21039:58;21114:18;;49584:58:0;20786:352:1;49584:58:0;-1:-1:-1;;;;;49991:13:0;;;;;;:9;:13;;;;;;;;:18;;50008:1;49991:18;;;50033:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;50033:21:0;;;;;50072:33;50041:7;;49991:13;;50072:33;;49991:13;;50072:33;72979:21:::1;72902:106:::0;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;757:180;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:250::-;1027:1;1037:113;1051:6;1048:1;1045:13;1037:113;;;1127:11;;;1121:18;1108:11;;;1101:39;1073:2;1066:10;1037:113;;;-1:-1:-1;;1184:1:1;1166:16;;1159:27;942:250::o;1197:271::-;1239:3;1277:5;1271:12;1304:6;1299:3;1292:19;1320:76;1389:6;1382:4;1377:3;1373:14;1366:4;1359:5;1355:16;1320:76;:::i;:::-;1450:2;1429:15;-1:-1:-1;;1425:29:1;1416:39;;;;1457:4;1412:50;;1197:271;-1:-1:-1;;1197:271:1:o;1473:220::-;1622:2;1611:9;1604:21;1585:4;1642:45;1683:2;1672:9;1668:18;1660:6;1642:45;:::i;1698:180::-;1757:6;1810:2;1798:9;1789:7;1785:23;1781:32;1778:52;;;1826:1;1823;1816:12;1778:52;-1:-1:-1;1849:23:1;;1698:180;-1:-1:-1;1698:180:1:o;2091:173::-;2159:20;;-1:-1:-1;;;;;2208:31:1;;2198:42;;2188:70;;2254:1;2251;2244:12;2269:254;2337:6;2345;2398:2;2386:9;2377:7;2373:23;2369:32;2366:52;;;2414:1;2411;2404:12;2366:52;2437:29;2456:9;2437:29;:::i;:::-;2427:39;2513:2;2498:18;;;;2485:32;;-1:-1:-1;;;2269:254:1:o;2710:328::-;2787:6;2795;2803;2856:2;2844:9;2835:7;2831:23;2827:32;2824:52;;;2872:1;2869;2862:12;2824:52;2895:29;2914:9;2895:29;:::i;:::-;2885:39;;2943:38;2977:2;2966:9;2962:18;2943:38;:::i;:::-;2933:48;;3028:2;3017:9;3013:18;3000:32;2990:42;;2710:328;;;;;:::o;3043:186::-;3102:6;3155:2;3143:9;3134:7;3130:23;3126:32;3123:52;;;3171:1;3168;3161:12;3123:52;3194:29;3213:9;3194:29;:::i;3234:632::-;3405:2;3457:21;;;3527:13;;3430:18;;;3549:22;;;3376:4;;3405:2;3628:15;;;;3602:2;3587:18;;;3376:4;3671:169;3685:6;3682:1;3679:13;3671:169;;;3746:13;;3734:26;;3815:15;;;;3780:12;;;;3707:1;3700:9;3671:169;;;-1:-1:-1;3857:3:1;;3234:632;-1:-1:-1;;;;;;3234:632:1:o;3871:127::-;3932:10;3927:3;3923:20;3920:1;3913:31;3963:4;3960:1;3953:15;3987:4;3984:1;3977:15;4003:632;4068:5;4098:18;4139:2;4131:6;4128:14;4125:40;;;4145:18;;:::i;:::-;4220:2;4214:9;4188:2;4274:15;;-1:-1:-1;;4270:24:1;;;4296:2;4266:33;4262:42;4250:55;;;4320:18;;;4340:22;;;4317:46;4314:72;;;4366:18;;:::i;:::-;4406:10;4402:2;4395:22;4435:6;4426:15;;4465:6;4457;4450:22;4505:3;4496:6;4491:3;4487:16;4484:25;4481:45;;;4522:1;4519;4512:12;4481:45;4572:6;4567:3;4560:4;4552:6;4548:17;4535:44;4627:1;4620:4;4611:6;4603;4599:19;4595:30;4588:41;;;;4003:632;;;;;:::o;4640:451::-;4709:6;4762:2;4750:9;4741:7;4737:23;4733:32;4730:52;;;4778:1;4775;4768:12;4730:52;4818:9;4805:23;4851:18;4843:6;4840:30;4837:50;;;4883:1;4880;4873:12;4837:50;4906:22;;4959:4;4951:13;;4947:27;-1:-1:-1;4937:55:1;;4988:1;4985;4978:12;4937:55;5011:74;5077:7;5072:2;5059:16;5054:2;5050;5046:11;5011:74;:::i;5096:254::-;5161:6;5169;5222:2;5210:9;5201:7;5197:23;5193:32;5190:52;;;5238:1;5235;5228:12;5190:52;5261:29;5280:9;5261:29;:::i;:::-;5251:39;;5309:35;5340:2;5329:9;5325:18;5309:35;:::i;:::-;5299:45;;5096:254;;;;;:::o;5355:667::-;5450:6;5458;5466;5474;5527:3;5515:9;5506:7;5502:23;5498:33;5495:53;;;5544:1;5541;5534:12;5495:53;5567:29;5586:9;5567:29;:::i;:::-;5557:39;;5615:38;5649:2;5638:9;5634:18;5615:38;:::i;:::-;5605:48;;5700:2;5689:9;5685:18;5672:32;5662:42;;5755:2;5744:9;5740:18;5727:32;5782:18;5774:6;5771:30;5768:50;;;5814:1;5811;5804:12;5768:50;5837:22;;5890:4;5882:13;;5878:27;-1:-1:-1;5868:55:1;;5919:1;5916;5909:12;5868:55;5942:74;6008:7;6003:2;5990:16;5985:2;5981;5977:11;5942:74;:::i;:::-;5932:84;;;5355:667;;;;;;;:::o;6027:260::-;6095:6;6103;6156:2;6144:9;6135:7;6131:23;6127:32;6124:52;;;6172:1;6169;6162:12;6124:52;6195:29;6214:9;6195:29;:::i;:::-;6185:39;;6243:38;6277:2;6266:9;6262:18;6243:38;:::i;6292:380::-;6371:1;6367:12;;;;6414;;;6435:61;;6489:4;6481:6;6477:17;6467:27;;6435:61;6542:2;6534:6;6531:14;6511:18;6508:38;6505:161;;6588:10;6583:3;6579:20;6576:1;6569:31;6623:4;6620:1;6613:15;6651:4;6648:1;6641:15;6505:161;;6292:380;;;:::o;7509:127::-;7570:10;7565:3;7561:20;7558:1;7551:31;7601:4;7598:1;7591:15;7625:4;7622:1;7615:15;7641:168;7714:9;;;7745;;7762:15;;;7756:22;;7742:37;7732:71;;7783:18;;:::i;7814:409::-;8016:2;7998:21;;;8055:2;8035:18;;;8028:30;8094:34;8089:2;8074:18;;8067:62;-1:-1:-1;;;8160:2:1;8145:18;;8138:43;8213:3;8198:19;;7814:409::o;8640:127::-;8701:10;8696:3;8692:20;8689:1;8682:31;8732:4;8729:1;8722:15;8756:4;8753:1;8746:15;8772:135;8811:3;8832:17;;;8829:43;;8852:18;;:::i;:::-;-1:-1:-1;8899:1:1;8888:13;;8772:135::o;9451:545::-;9553:2;9548:3;9545:11;9542:448;;;9589:1;9614:5;9610:2;9603:17;9659:4;9655:2;9645:19;9729:2;9717:10;9713:19;9710:1;9706:27;9700:4;9696:38;9765:4;9753:10;9750:20;9747:47;;;-1:-1:-1;9788:4:1;9747:47;9843:2;9838:3;9834:12;9831:1;9827:20;9821:4;9817:31;9807:41;;9898:82;9916:2;9909:5;9906:13;9898:82;;;9961:17;;;9942:1;9931:13;9898:82;;;9902:3;;;9451:545;;;:::o;10172:1352::-;10298:3;10292:10;10325:18;10317:6;10314:30;10311:56;;;10347:18;;:::i;:::-;10376:97;10466:6;10426:38;10458:4;10452:11;10426:38;:::i;:::-;10420:4;10376:97;:::i;:::-;10528:4;;10592:2;10581:14;;10609:1;10604:663;;;;11311:1;11328:6;11325:89;;;-1:-1:-1;11380:19:1;;;11374:26;11325:89;-1:-1:-1;;10129:1:1;10125:11;;;10121:24;10117:29;10107:40;10153:1;10149:11;;;10104:57;11427:81;;10574:944;;10604:663;9398:1;9391:14;;;9435:4;9422:18;;-1:-1:-1;;10640:20:1;;;10758:236;10772:7;10769:1;10766:14;10758:236;;;10861:19;;;10855:26;10840:42;;10953:27;;;;10921:1;10909:14;;;;10788:19;;10758:236;;;10762:3;11022:6;11013:7;11010:19;11007:201;;;11083:19;;;11077:26;-1:-1:-1;;11166:1:1;11162:14;;;11178:3;11158:24;11154:37;11150:42;11135:58;11120:74;;11007:201;-1:-1:-1;;;;;11254:1:1;11238:14;;;11234:22;11221:36;;-1:-1:-1;10172:1352:1:o;12638:125::-;12703:9;;;12724:10;;;12721:36;;;12737:18;;:::i;13477:343::-;13679:2;13661:21;;;13718:2;13698:18;;;13691:30;-1:-1:-1;;;13752:2:1;13737:18;;13730:49;13811:2;13796:18;;13477:343::o;14241:1256::-;14465:3;14503:6;14497:13;14529:4;14542:64;14599:6;14594:3;14589:2;14581:6;14577:15;14542:64;:::i;:::-;14669:13;;14628:16;;;;14691:68;14669:13;14628:16;14726:15;;;14691:68;:::i;:::-;14848:13;;14781:20;;;14821:1;;14886:36;14848:13;14886:36;:::i;:::-;14941:1;14958:18;;;14985:141;;;;15140:1;15135:337;;;;14951:521;;14985:141;-1:-1:-1;;15020:24:1;;15006:39;;15097:16;;15090:24;15076:39;;15065:51;;;-1:-1:-1;14985:141:1;;15135:337;15166:6;15163:1;15156:17;15214:2;15211:1;15201:16;15239:1;15253:169;15267:8;15264:1;15261:15;15253:169;;;15349:14;;15334:13;;;15327:37;15392:16;;;;15284:10;;15253:169;;;15257:3;;15453:8;15446:5;15442:20;15435:27;;14951:521;-1:-1:-1;15488:3:1;;14241:1256;-1:-1:-1;;;;;;;;;;14241:1256:1:o;16270:401::-;16472:2;16454:21;;;16511:2;16491:18;;;16484:30;16550:34;16545:2;16530:18;;16523:62;-1:-1:-1;;;16616:2:1;16601:18;;16594:35;16661:3;16646:19;;16270:401::o;17441:128::-;17508:9;;;17529:11;;;17526:37;;;17543:18;;:::i;18136:209::-;18168:1;18194;18184:132;;18238:10;18233:3;18229:20;18226:1;18219:31;18273:4;18270:1;18263:15;18301:4;18298:1;18291:15;18184:132;-1:-1:-1;18330:9:1;;18136:209::o;18704:414::-;18906:2;18888:21;;;18945:2;18925:18;;;18918:30;18984:34;18979:2;18964:18;;18957:62;-1:-1:-1;;;19050:2:1;19035:18;;19028:48;19108:3;19093:19;;18704:414::o;19545:489::-;-1:-1:-1;;;;;19814:15:1;;;19796:34;;19866:15;;19861:2;19846:18;;19839:43;19913:2;19898:18;;19891:34;;;19961:3;19956:2;19941:18;;19934:31;;;19739:4;;19982:46;;20008:19;;20000:6;19982:46;:::i;:::-;19974:54;19545:489;-1:-1:-1;;;;;;19545:489:1:o;20039:249::-;20108:6;20161:2;20149:9;20140:7;20136:23;20132:32;20129:52;;;20177:1;20174;20167:12;20129:52;20209:9;20203:16;20228:30;20252:5;20228:30;:::i;20293:127::-;20354:10;20349:3;20345:20;20342:1;20335:31;20385:4;20382:1;20375:15;20409:4;20406:1;20399:15

Swarm Source

ipfs://919e395decbec10c273e1f8fbb075eae660ca5294aa02b2228f0854d0301aecc

Block Transaction Gas Used Reward
view all blocks validated

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.