Contract 0xB8Df6Cc3050cC02F967Db1eE48330bA23276A492 4

 
Txn Hash Method
Index
From
To
Value
0xa6834650ac1445fc40a7b0f88a449a8cd0fac58f16539ea3b3750eda0fcebc6aSet Approval For...265728982022-09-30 20:46:322 hrs 42 mins ago0x8f03252418faa461b11c14bc29c08ff1d4047208 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000796625890.001
0xd9e523a911d445c1b8d3a1a676eb6c6ba0e216e93159b3d5d179abfd7648ffafSafe Transfer Fr...265319382022-09-30 15:48:057 hrs 40 mins ago0x9c48aa7b5830d967ee218af385ca11eb72d02422 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0002133035390.001
0x1508cd2816e29cb958b3bf9acb413a67cadf373553feb2a6b58f810e5db3346cSet Approval For...265223882022-09-30 15:07:168 hrs 21 mins ago0xa2ba4f5bd525acb3b40a5b5c90964ea265de6ac2 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000901460350.001
0x770cfcf02b0c59999c53a5f673888c4e9c2fe2b815d959105986f8ccf93201adSet Approval For...264396862022-09-30 9:12:4114 hrs 15 mins ago0x94201d7fcf3e879ad1311bad355a6309c4c61bb2 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000394892490.00100155
0x4e3b422715ae90e51f90ca2b238feede3f481fc0e6f47c8e69dd67ee10e0e38bSet Approval For...264329252022-09-30 8:46:5414 hrs 41 mins ago0xa396772fb4ebcf668e04c28049b965ec4ad7107a IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000397154470.00100155
0x43658a0c592cbf941ffe7ca70df5647dcfd06993beb3d1c6d2443a3468ccc7e0Safe Transfer Fr...264215732022-09-30 7:57:0515 hrs 31 mins ago0xe8894ea756f8b30b5f8d221e6c32af3208bc8e1e IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000491078450.00100155
0x4af8a2cc83447d718d35096a7f5b0f61bcbb1f00328e48dbdc7206522b2b378bSafe Transfer Fr...264214682022-09-30 7:56:3515 hrs 32 mins ago0x1336ae8e56b780c6e28d2ad4b9927a9efadbe457 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000491078450.00100155
0xbeaff9f7094e813cea7f573ae71087aff6aff58d9a78932fb283dadc75be5006Set Approval For...264210192022-09-30 7:54:1915 hrs 34 mins ago0x2ffed3158bb66a974e46e17e94b17e93202b804b IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000409237720.00100155
0xb16bf55c56c21f2e35fa6e69043325185043a94dbe43c9bbdf2f58c9b1df967dSet Approval For...264122932022-09-30 7:15:1616 hrs 13 mins ago0x769ecb515ba8234c3727e0ff9c3930c4a74442f9 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000462648160.00100155
0x16377b38093e89012bdeb1599b5eeae6edfdbdf178d7829e0645eae076fcb03dSet Approval For...264036352022-09-30 6:28:3117 hrs ago0x8d680903e5816186524ba7b83d2acf5e31c2885b IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000369312880.00100155
0xfa4999817c7ad7b4c746cf1647435d27bbe4d96a11c33d5b6945d67fa99e2dcbSet Approval For...263727562022-09-30 2:39:0920 hrs 49 mins ago0xb32612c9214b014bc9d075e483c415484faa1b88 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000392379820.00100155
0xf384e91b6c2706e0a5b1dc4b75b9b6204d0218dc5c50ceeeb8600d2387acef88Set Approval For...263725942022-09-30 2:37:3620 hrs 51 mins ago0x648d4460e717618c1a179f703d10612d774c5cec IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000392379820.00100155
0x19da3598e1056d0144445fde4ec6bb577f7e4cefb756f177ec879041b6f3468eSet Approval For...263412872022-09-29 22:07:481 day 1 hr ago0x1d4b165052d16393a4c6e1ad56e020fada18d74f IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000477068430.00100155
0x1e80b08ff1da160820e7dca74e6d11f272fddd8e00a1ba40f4ee839c3d182cf3Set Approval For...263315062022-09-29 20:09:441 day 3 hrs ago0xe1f8fd5c7ee66c791d67bf79ad2413715793b9bc IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.000152300560.00100155
0x81cce84a141142c6509b8fff1eedd634ede8c17d4704149f9563ee342ec41307Set Approval For...263141502022-09-29 17:43:271 day 5 hrs ago0x1cb42ae3235f7b3b9bc2be33ce0058e6930eaea9 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000654113420.00100155
0xaeb524ae9e29b344f9495bf778bf1e8f6e6ba81fa270a11b09ea6e3f6a12c3dfSet Approval For...263120332022-09-29 17:24:131 day 6 hrs ago0x7139bcba038af7dd17aa0ed1808841535426dcc3 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000851920730.00100155
0xb12b11c4385421e25b653b657e212e5da83ab5bb623157f6ece5e9bd7ac2a94fSet Approval For...263119432022-09-29 17:23:121 day 6 hrs ago0x4c0452e0cec87191fd1f296c99f9a544c776bbd6 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000851920730.00100155
0x30b9049e7627460ac845d7c82902788a7646dc9334022a93ee01f4e7289f7ee6Set Approval For...263022662022-09-29 16:20:131 day 7 hrs ago0x99ac30e1d2134e9b4377a5bfbf99d2e8768c95e9 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0001423472740.00100155
0xc2ca13eb49532e09c6dbec2b3a03c5176059ca4feb1745834cebedda24030261Set Approval For...262917162022-09-29 15:10:421 day 8 hrs ago0x8f10ae3ffd993bfb0a71e58e1bb606439dd5b301 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0001003960550.00100155
0x1c3e535fce87f31c7c63275790881d9f78828711ba4e63e874f41855d257e516Set Approval For...262637872022-09-29 13:27:231 day 10 hrs ago0xc24fe6f2bae027aeee47390be73d121f18f51bdb IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000665063030.00100155
0x01fb408b03993a63b1ba608cb912e5b2e3bbc57aaa6ebf4ae99187d68b3c72aaSet Approval For...262298642022-09-29 10:21:201 day 13 hrs ago0x79c7df7740e999872277fe97eb3f8c106ee2af4b IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000305785650.00100155
0x7649b8b50fe7112694ecbcb79c2480fa1d85f1ad9bdccf2071e65ec972b78db3Set Approval For...262277792022-09-29 10:09:051 day 13 hrs ago0x79c7df7740e999872277fe97eb3f8c106ee2af4b IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000281411080.00100155
0x1bc147f5c19d9d0d76414faa0640c34ab87e19b4728df9907cd31532db29ab7bSet Approval For...262244782022-09-29 9:51:031 day 13 hrs ago0xb1dcba3b94a8b93be8db33d58f2af50051e7dc25 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000293361170.00100155
0x778ceaab1da15ccf369eba04c2252be2bd88f3707a1c44681f8f3d6234ad26beSet Approval For...262238162022-09-29 9:47:171 day 13 hrs ago0x170c2001b1f97945407714a0ebfe169f45b02e42 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000397311580.00100155
0x516ad37dd6dfc6280db06773346a9f99ac6c7c910ddd4fd669e519f86370ea56Set Approval For...262235572022-09-29 9:46:021 day 13 hrs ago0x170c2001b1f97945407714a0ebfe169f45b02e42 IN  0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether0.0000409796560.00100155
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xd53f176400c9c12134733b0e2770dfc31f43b99edf9238250875082685999196265817252022-09-30 22:09:321 hr 19 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x5d0452eed5424f72c7dcd02ad131364fed35b55058a3fb85aa9678de1e6a58ed265802502022-09-30 22:00:111 hr 28 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xa13d308a2c9d04e01f9e89f1d0a151c97b77004ca6e41ceefe13b40092547439265647182022-09-30 19:49:343 hrs 39 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xb906c855b234c1254b36473f0f6dbfcce0023fa7c7fe340cc925232ebfbccf35265513752022-09-30 18:00:075 hrs 28 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x787990e320c23de89ef13baf1a2896cc439e9e3a4de93acf4289fd8165eb47ed265403382022-09-30 16:38:096 hrs 50 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xb13995e44c570c9a6c648273794099f1cbb06449aef9dc5d4ae9f46381cba9a6265359572022-09-30 16:12:017 hrs 16 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xc4dbd87072c3b8b9d7dded8dbaee0b749b1ba3d47456c129661c2f81a58a9626265353882022-09-30 16:08:457 hrs 19 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x131b799905e1f938bfcc740860770786d796d0cc8e3eed062464c3c29408f522265279092022-09-30 15:29:047 hrs 59 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x7efea9251a7c1a9001cc3b8cefd762a69269d6d2e6754af33f75edccc06a33af265261572022-09-30 15:20:478 hrs 7 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xa566db806a579135aa7185f4010c1e75f87c901dfbed6a6f41890efb19b5cecc265254102022-09-30 15:18:028 hrs 10 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x9c08f945cc83496ab09877c228fd6c5f81cbfe91b828d669398502f46b9b9dcc265245562022-09-30 15:14:478 hrs 13 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xb4745c71573d954266c0a8f62adce4460ef20d8d902bfe215191ba00b3bcb2aa265228232022-09-30 15:08:018 hrs 20 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x3e469250f6b27c4b457ef9028714f65dcc3d856af6985a40ce5c799a29105d22265175362022-09-30 14:50:298 hrs 38 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xad0aed376408214cafe99ce8b7496c7d22716deb38a00e721600e7d3ed8f39be265149982022-09-30 14:45:138 hrs 43 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xe6b9a67f25c7db18e95cc1a3ae8edf7308ce5e1993482a565a52e7c283484822265144142022-09-30 14:42:128 hrs 46 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xe733e2aefc2fe99997aacbee18fb40e3803499824906406f848d8fc385c3fe3d265112772022-09-30 14:29:418 hrs 58 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xe1a27f8a6467a48db01691f76fba6dec9984b51dff3427f38363bf0dffcc0501265084482022-09-30 14:16:249 hrs 12 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x6d2630c204864bc026c0312e9e9e56c0a3374a104f25569c06d3eaa6a2178b62265062652022-09-30 14:08:219 hrs 20 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x0b51bf815da7acfcbd9c4c99006f8a257cca710360083ba3240bc1bd4fc12098265026502022-09-30 13:53:479 hrs 34 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x0b51bf815da7acfcbd9c4c99006f8a257cca710360083ba3240bc1bd4fc12098265026502022-09-30 13:53:479 hrs 34 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xbf7fc5971bb0ba074c350392e3378d94c0b01241715c35dd911d660c971df2b8264934092022-09-30 13:18:4010 hrs 9 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x6e2847479174053402e0cf328847452b79ee3f4444474dffdd347b8326ef843c264912002022-09-30 13:09:5510 hrs 18 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xad87c6ee2cfdbd559e3e101a48f2e28043f5faee4d659dfc6c5d4c2212aa2129264908752022-09-30 13:08:1010 hrs 20 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0xbf1722243c39d79fd8fc1a364222f280d85b1019f852fcfd91ec4ffb0144e166264898842022-09-30 13:02:3910 hrs 25 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
0x0098745e8b41fbd29e015b361bb55073d5c29b472c8bb518729f2e29e47a81ef264897332022-09-30 13:01:5410 hrs 26 mins ago 0xf220408d5f8cf3a2d43126d3413fe3acbdf94363 0xb8df6cc3050cc02f967db1ee48330ba23276a4920 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OptiPunks

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : OptiPunksContract.sol
/**
 *Submitted for verification at Etherscan.io on 2021-09-08
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}('');
        require(success, 'Address: unable to send value, recipient may have reverted');
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721: transfer to non ERC721Receiver implementer');
                } else {
                    // solhint-disable-next-line no-inline-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.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

contract OptiPunks is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Address for address;
    using Strings for uint256;

    uint256 public constant NFT_PRICE = 5000000000000000; // 0.005 ETH
    uint public constant MAX_NFT_PURCHASE = 20;
    uint256 public MAX_SUPPLY = 10000;
    bool public saleIsActive = false;

    string private _baseURIExtended;
    mapping(uint256 => string) _tokenURIs;
    mapping(address => bool) minted;
    mapping(address => uint256) purchased;

    constructor() ERC721('OptiPunk', 'OPPUNK') {}

    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

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


    function mintOptiPunk(uint numberOfTokens) public payable {
        require(purchased[msg.sender].add(numberOfTokens) <= MAX_NFT_PURCHASE, 'Can only mint up to 20 per address');
        require(saleIsActive, 'Sale is not active at the moment');
        require(numberOfTokens > 0, "Number of tokens can not be less than or equal to 0");
        require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY, "Purchase would exceed max supply of OptiPunks");
        require(numberOfTokens <= MAX_NFT_PURCHASE,"Can only mint up to 20 per purchase");
        require(NFT_PRICE.mul(numberOfTokens) == msg.value, "Sent ether value is incorrect");
        purchased[msg.sender] = purchased[msg.sender].add(numberOfTokens);
        for (uint i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, totalSupply());
        }
    }


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

    // Sets base URI for all tokens, only able to be called by contract owner
    function setBaseURI(string memory baseURI_) external onlyOwner {
        _baseURIExtended = baseURI_;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString()));
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NFT_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintOptiPunk","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"baseURI_","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052612710600b556000600c60006101000a81548160ff0219169083151502179055503480156200003257600080fd5b506040518060400160405280600881526020017f4f70746950756e6b0000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4f5050554e4b00000000000000000000000000000000000000000000000000008152508160009080519060200190620000b792919062000192565b508060019080519060200190620000d092919062000192565b5050506000620000e56200018a60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620002a7565b600033905090565b828054620001a09062000242565b90600052602060002090601f016020900481019282620001c4576000855562000210565b82601f10620001df57805160ff191683800117855562000210565b8280016001018555821562000210579182015b828111156200020f578251825591602001919060010190620001f2565b5b5090506200021f919062000223565b5090565b5b808211156200023e57600081600090555060010162000224565b5090565b600060028204905060018216806200025b57607f821691505b6020821081141562000272576200027162000278565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61417580620002b76000396000f3fe60806040526004361061019c5760003560e01c80634f6ccce7116100ec57806395d89b411161008a578063c87b56dd11610064578063c87b56dd14610593578063e985e9c5146105d0578063eb8d24441461060d578063f2fde38b146106385761019c565b806395d89b4114610516578063a22cb46514610541578063b88d4fde1461056a5761019c565b8063676dd563116100c6578063676dd5631461046c57806370a0823114610497578063715018a6146104d45780638da5cb5b146104eb5761019c565b80634f6ccce7146103c957806355f804b3146104065780636352211e1461042f5761019c565b806318160ddd1161015957806332cb6b0c1161013357806332cb6b0c1461034757806334918dfd146103725780633ccfd60b1461038957806342842e0e146103a05761019c565b806318160ddd146102b657806323b872dd146102e15780632f745c591461030a5761019c565b806301ffc9a7146101a1578063020b39cc146101de57806306fdde0314610209578063081812fc14610234578063095ea7b3146102715780631521b7471461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190612d69565b610661565b6040516101d591906132c8565b60405180910390f35b3480156101ea57600080fd5b506101f36106db565b6040516102009190613605565b60405180910390f35b34801561021557600080fd5b5061021e6106e0565b60405161022b91906132e3565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190612dfc565b610772565b6040516102689190613261565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612d2d565b6107f7565b005b6102b460048036038101906102af9190612dfc565b61090f565b005b3480156102c257600080fd5b506102cb610bfb565b6040516102d89190613605565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612c27565b610c08565b005b34801561031657600080fd5b50610331600480360381019061032c9190612d2d565b610c68565b60405161033e9190613605565b60405180910390f35b34801561035357600080fd5b5061035c610d0d565b6040516103699190613605565b60405180910390f35b34801561037e57600080fd5b50610387610d13565b005b34801561039557600080fd5b5061039e610dbb565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190612c27565b610e86565b005b3480156103d557600080fd5b506103f060048036038101906103eb9190612dfc565b610ea6565b6040516103fd9190613605565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190612dbb565b610f3d565b005b34801561043b57600080fd5b5061045660048036038101906104519190612dfc565b610fd3565b6040516104639190613261565b60405180910390f35b34801561047857600080fd5b50610481611085565b60405161048e9190613605565b60405180910390f35b3480156104a357600080fd5b506104be60048036038101906104b99190612bc2565b611090565b6040516104cb9190613605565b60405180910390f35b3480156104e057600080fd5b506104e9611148565b005b3480156104f757600080fd5b50610500611285565b60405161050d9190613261565b60405180910390f35b34801561052257600080fd5b5061052b6112af565b60405161053891906132e3565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190612cf1565b611341565b005b34801561057657600080fd5b50610591600480360381019061058c9190612c76565b6114c2565b005b34801561059f57600080fd5b506105ba60048036038101906105b59190612dfc565b611524565b6040516105c791906132e3565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190612beb565b611697565b60405161060491906132c8565b60405180910390f35b34801561061957600080fd5b5061062261172b565b60405161062f91906132c8565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190612bc2565b61173e565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d457506106d3826118ea565b5b9050919050565b601481565b6060600080546106ef906138b5565b80601f016020809104026020016040519081016040528092919081815260200182805461071b906138b5565b80156107685780601f1061073d57610100808354040283529160200191610768565b820191906000526020600020905b81548152906001019060200180831161074b57829003601f168201915b5050505050905090565b600061077d826119cc565b6107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b390613505565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080282610fd3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a90613585565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610892611a38565b73ffffffffffffffffffffffffffffffffffffffff1614806108c157506108c0816108bb611a38565b611697565b5b610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f790613465565b60405180910390fd5b61090a8383611a40565b505050565b601461096382601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611af990919063ffffffff16565b11156109a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099b90613305565b60405180910390fd5b600c60009054906101000a900460ff166109f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ea906135e5565b60405180910390fd5b60008111610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d90613325565b60405180910390fd5b600b54610a5382610a45610bfb565b611af990919063ffffffff16565b1115610a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8b90613425565b60405180910390fd5b6014811115610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90613445565b60405180910390fd5b34610af3826611c37937e08000611b0f90919063ffffffff16565b14610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a906134c5565b60405180910390fd5b610b8581601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611af990919063ffffffff16565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b81811015610bf757610be433610bdf610bfb565b611b25565b8080610bef90613918565b915050610bcb565b5050565b6000600880549050905090565b610c19610c13611a38565b82611b43565b610c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4f906135a5565b60405180910390fd5b610c63838383611c21565b505050565b6000610c7383611090565b8210610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab90613345565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b610d1b611a38565b73ffffffffffffffffffffffffffffffffffffffff16610d39611285565b73ffffffffffffffffffffffffffffffffffffffff1614610d8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8690613525565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b610dc3611a38565b73ffffffffffffffffffffffffffffffffffffffff16610de1611285565b73ffffffffffffffffffffffffffffffffffffffff1614610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e90613525565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e82573d6000803e3d6000fd5b5050565b610ea1838383604051806020016040528060008152506114c2565b505050565b6000610eb0610bfb565b8210610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee8906135c5565b60405180910390fd5b60088281548110610f2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f45611a38565b73ffffffffffffffffffffffffffffffffffffffff16610f63611285565b73ffffffffffffffffffffffffffffffffffffffff1614610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb090613525565b60405180910390fd5b80600d9080519060200190610fcf9291906129e6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561107c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611073906134a5565b60405180910390fd5b80915050919050565b6611c37937e0800081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f890613485565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611150611a38565b73ffffffffffffffffffffffffffffffffffffffff1661116e611285565b73ffffffffffffffffffffffffffffffffffffffff16146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90613525565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112be906138b5565b80601f01602080910402602001604051908101604052809291908181526020018280546112ea906138b5565b80156113375780601f1061130c57610100808354040283529160200191611337565b820191906000526020600020905b81548152906001019060200180831161131a57829003601f168201915b5050505050905090565b611349611a38565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae906133e5565b60405180910390fd5b80600560006113c4611a38565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611471611a38565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114b691906132c8565b60405180910390a35050565b6114d36114cd611a38565b83611b43565b611512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611509906135a5565b60405180910390fd5b61151e84848484611e7d565b50505050565b606061152f826119cc565b61156e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156590613565565b60405180910390fd5b6000600e6000848152602001908152602001600020805461158e906138b5565b80601f01602080910402602001604051908101604052809291908181526020018280546115ba906138b5565b80156116075780601f106115dc57610100808354040283529160200191611607565b820191906000526020600020905b8154815290600101906020018083116115ea57829003601f168201915b505050505090506000611618611ed9565b905060008151141561162e578192505050611692565b60008251111561166357808260405160200161164b92919061323d565b60405160208183030381529060405292505050611692565b8061166d85611f6b565b60405160200161167e92919061323d565b604051602081830303815290604052925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b611746611a38565b73ffffffffffffffffffffffffffffffffffffffff16611764611285565b73ffffffffffffffffffffffffffffffffffffffff16146117ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b190613525565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190613385565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119b557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119c557506119c482612118565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ab383610fd3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183611b0791906136ea565b905092915050565b60008183611b1d9190613771565b905092915050565b611b3f828260405180602001604052806000815250612182565b5050565b6000611b4e826119cc565b611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8490613405565b60405180910390fd5b6000611b9883610fd3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c0757508373ffffffffffffffffffffffffffffffffffffffff16611bef84610772565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c185750611c178185611697565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c4182610fd3565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90613545565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe906133c5565b60405180910390fd5b611d128383836121dd565b611d1d600082611a40565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d6d91906137cb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc491906136ea565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611e88848484611c21565b611e94848484846122f1565b611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca90613365565b60405180910390fd5b50505050565b6060600d8054611ee8906138b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611f14906138b5565b8015611f615780601f10611f3657610100808354040283529160200191611f61565b820191906000526020600020905b815481529060010190602001808311611f4457829003601f168201915b5050505050905090565b60606000821415611fb3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612113565b600082905060005b60008214611fe5578080611fce90613918565b915050600a82611fde9190613740565b9150611fbb565b60008167ffffffffffffffff811115612027577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120595781602001600182028036833780820191505090505b5090505b6000851461210c5760018261207291906137cb565b9150600a856120819190613961565b603061208d91906136ea565b60f81b8183815181106120c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121059190613740565b945061205d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61218c8383612488565b61219960008484846122f1565b6121d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cf90613365565b60405180910390fd5b505050565b6121e8838383612656565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561222b576122268161265b565b61226a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146122695761226883826126a4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122ad576122a881612811565b6122ec565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122eb576122ea8282612954565b5b5b505050565b60006123128473ffffffffffffffffffffffffffffffffffffffff166129d3565b1561247b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261233b611a38565b8786866040518563ffffffff1660e01b815260040161235d949392919061327c565b602060405180830381600087803b15801561237757600080fd5b505af19250505080156123a857506040513d601f19601f820116820180604052508101906123a59190612d92565b60015b61242b573d80600081146123d8576040519150601f19603f3d011682016040523d82523d6000602084013e6123dd565b606091505b50600081511415612423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241a90613365565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612480565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ef906134e5565b60405180910390fd5b612501816119cc565b15612541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612538906133a5565b60405180910390fd5b61254d600083836121dd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259d91906136ea565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126b184611090565b6126bb91906137cb565b90506000600760008481526020019081526020016000205490508181146127a0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061282591906137cb565b905060006009600084815260200190815260200160002054905060006008838154811061287b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106128c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612938577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061295f83611090565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546129f2906138b5565b90600052602060002090601f016020900481019282612a145760008555612a5b565b82601f10612a2d57805160ff1916838001178555612a5b565b82800160010185558215612a5b579182015b82811115612a5a578251825591602001919060010190612a3f565b5b509050612a689190612a6c565b5090565b5b80821115612a85576000816000905550600101612a6d565b5090565b6000612a9c612a9784613645565b613620565b905082815260208101848484011115612ab457600080fd5b612abf848285613873565b509392505050565b6000612ada612ad584613676565b613620565b905082815260208101848484011115612af257600080fd5b612afd848285613873565b509392505050565b600081359050612b14816140e3565b92915050565b600081359050612b29816140fa565b92915050565b600081359050612b3e81614111565b92915050565b600081519050612b5381614111565b92915050565b600082601f830112612b6a57600080fd5b8135612b7a848260208601612a89565b91505092915050565b600082601f830112612b9457600080fd5b8135612ba4848260208601612ac7565b91505092915050565b600081359050612bbc81614128565b92915050565b600060208284031215612bd457600080fd5b6000612be284828501612b05565b91505092915050565b60008060408385031215612bfe57600080fd5b6000612c0c85828601612b05565b9250506020612c1d85828601612b05565b9150509250929050565b600080600060608486031215612c3c57600080fd5b6000612c4a86828701612b05565b9350506020612c5b86828701612b05565b9250506040612c6c86828701612bad565b9150509250925092565b60008060008060808587031215612c8c57600080fd5b6000612c9a87828801612b05565b9450506020612cab87828801612b05565b9350506040612cbc87828801612bad565b925050606085013567ffffffffffffffff811115612cd957600080fd5b612ce587828801612b59565b91505092959194509250565b60008060408385031215612d0457600080fd5b6000612d1285828601612b05565b9250506020612d2385828601612b1a565b9150509250929050565b60008060408385031215612d4057600080fd5b6000612d4e85828601612b05565b9250506020612d5f85828601612bad565b9150509250929050565b600060208284031215612d7b57600080fd5b6000612d8984828501612b2f565b91505092915050565b600060208284031215612da457600080fd5b6000612db284828501612b44565b91505092915050565b600060208284031215612dcd57600080fd5b600082013567ffffffffffffffff811115612de757600080fd5b612df384828501612b83565b91505092915050565b600060208284031215612e0e57600080fd5b6000612e1c84828501612bad565b91505092915050565b612e2e816137ff565b82525050565b612e3d81613811565b82525050565b6000612e4e826136a7565b612e5881856136bd565b9350612e68818560208601613882565b612e7181613a4e565b840191505092915050565b6000612e87826136b2565b612e9181856136ce565b9350612ea1818560208601613882565b612eaa81613a4e565b840191505092915050565b6000612ec0826136b2565b612eca81856136df565b9350612eda818560208601613882565b80840191505092915050565b6000612ef36022836136ce565b9150612efe82613a5f565b604082019050919050565b6000612f166033836136ce565b9150612f2182613aae565b604082019050919050565b6000612f39602b836136ce565b9150612f4482613afd565b604082019050919050565b6000612f5c6032836136ce565b9150612f6782613b4c565b604082019050919050565b6000612f7f6026836136ce565b9150612f8a82613b9b565b604082019050919050565b6000612fa2601c836136ce565b9150612fad82613bea565b602082019050919050565b6000612fc56024836136ce565b9150612fd082613c13565b604082019050919050565b6000612fe86019836136ce565b9150612ff382613c62565b602082019050919050565b600061300b602c836136ce565b915061301682613c8b565b604082019050919050565b600061302e602d836136ce565b915061303982613cda565b604082019050919050565b60006130516023836136ce565b915061305c82613d29565b604082019050919050565b60006130746038836136ce565b915061307f82613d78565b604082019050919050565b6000613097602a836136ce565b91506130a282613dc7565b604082019050919050565b60006130ba6029836136ce565b91506130c582613e16565b604082019050919050565b60006130dd601d836136ce565b91506130e882613e65565b602082019050919050565b60006131006020836136ce565b915061310b82613e8e565b602082019050919050565b6000613123602c836136ce565b915061312e82613eb7565b604082019050919050565b60006131466020836136ce565b915061315182613f06565b602082019050919050565b60006131696029836136ce565b915061317482613f2f565b604082019050919050565b600061318c602f836136ce565b915061319782613f7e565b604082019050919050565b60006131af6021836136ce565b91506131ba82613fcd565b604082019050919050565b60006131d26031836136ce565b91506131dd8261401c565b604082019050919050565b60006131f5602c836136ce565b91506132008261406b565b604082019050919050565b60006132186020836136ce565b9150613223826140ba565b602082019050919050565b61323781613869565b82525050565b60006132498285612eb5565b91506132558284612eb5565b91508190509392505050565b60006020820190506132766000830184612e25565b92915050565b60006080820190506132916000830187612e25565b61329e6020830186612e25565b6132ab604083018561322e565b81810360608301526132bd8184612e43565b905095945050505050565b60006020820190506132dd6000830184612e34565b92915050565b600060208201905081810360008301526132fd8184612e7c565b905092915050565b6000602082019050818103600083015261331e81612ee6565b9050919050565b6000602082019050818103600083015261333e81612f09565b9050919050565b6000602082019050818103600083015261335e81612f2c565b9050919050565b6000602082019050818103600083015261337e81612f4f565b9050919050565b6000602082019050818103600083015261339e81612f72565b9050919050565b600060208201905081810360008301526133be81612f95565b9050919050565b600060208201905081810360008301526133de81612fb8565b9050919050565b600060208201905081810360008301526133fe81612fdb565b9050919050565b6000602082019050818103600083015261341e81612ffe565b9050919050565b6000602082019050818103600083015261343e81613021565b9050919050565b6000602082019050818103600083015261345e81613044565b9050919050565b6000602082019050818103600083015261347e81613067565b9050919050565b6000602082019050818103600083015261349e8161308a565b9050919050565b600060208201905081810360008301526134be816130ad565b9050919050565b600060208201905081810360008301526134de816130d0565b9050919050565b600060208201905081810360008301526134fe816130f3565b9050919050565b6000602082019050818103600083015261351e81613116565b9050919050565b6000602082019050818103600083015261353e81613139565b9050919050565b6000602082019050818103600083015261355e8161315c565b9050919050565b6000602082019050818103600083015261357e8161317f565b9050919050565b6000602082019050818103600083015261359e816131a2565b9050919050565b600060208201905081810360008301526135be816131c5565b9050919050565b600060208201905081810360008301526135de816131e8565b9050919050565b600060208201905081810360008301526135fe8161320b565b9050919050565b600060208201905061361a600083018461322e565b92915050565b600061362a61363b565b905061363682826138e7565b919050565b6000604051905090565b600067ffffffffffffffff8211156136605761365f613a1f565b5b61366982613a4e565b9050602081019050919050565b600067ffffffffffffffff82111561369157613690613a1f565b5b61369a82613a4e565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006136f582613869565b915061370083613869565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561373557613734613992565b5b828201905092915050565b600061374b82613869565b915061375683613869565b925082613766576137656139c1565b5b828204905092915050565b600061377c82613869565b915061378783613869565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137c0576137bf613992565b5b828202905092915050565b60006137d682613869565b91506137e183613869565b9250828210156137f4576137f3613992565b5b828203905092915050565b600061380a82613849565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156138a0578082015181840152602081019050613885565b838111156138af576000848401525b50505050565b600060028204905060018216806138cd57607f821691505b602082108114156138e1576138e06139f0565b5b50919050565b6138f082613a4e565b810181811067ffffffffffffffff8211171561390f5761390e613a1f565b5b80604052505050565b600061392382613869565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561395657613955613992565b5b600182019050919050565b600061396c82613869565b915061397783613869565b925082613987576139866139c1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e206f6e6c79206d696e7420757020746f2032302070657220616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c65737360008201527f207468616e206f7220657175616c20746f203000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204f70746950756e6b7300000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420757020746f2032302070657220707572636860008201527f6173650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742061637469766520617420746865206d6f6d656e74600082015250565b6140ec816137ff565b81146140f757600080fd5b50565b61410381613811565b811461410e57600080fd5b50565b61411a8161381d565b811461412557600080fd5b50565b61413181613869565b811461413c57600080fd5b5056fea26469706673582212200ffeccb4a1d184bd5b100e1d1e123eadf3f0736381d60458ee59c2c0f5eecd0664736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.