ETH Price: $3,565.39 (+1.21%)
Gas: 56 Gwei

Contract

0xc918F953E1ef2F1eD6ac6A0d2Bf711A93D20Aa2b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...192804972024-02-22 3:31:1135 days ago1708572671IN
0xc918F953...93D20Aa2b
0 ETH0.0018220939.07146054
Set Approval For...177288132023-07-19 17:47:23252 days ago1689788843IN
0xc918F953...93D20Aa2b
0 ETH0.0012452126.70128901
Set Approval For...175257182023-06-21 4:39:59281 days ago1687322399IN
0xc918F953...93D20Aa2b
0 ETH0.0006300813.51098397
Set Approval For...174675772023-06-13 0:39:35289 days ago1686616775IN
0xc918F953...93D20Aa2b
0 ETH0.0007366615.79637324
Set Approval For...174660272023-06-12 19:24:35289 days ago1686597875IN
0xc918F953...93D20Aa2b
0 ETH0.0007074915.17088726
Set Approval For...174559822023-06-11 9:27:35291 days ago1686475655IN
0xc918F953...93D20Aa2b
0 ETH0.0008332717.86808911
Set Approval For...174518622023-06-10 19:32:11291 days ago1686425531IN
0xc918F953...93D20Aa2b
0 ETH0.0008128417.42992127
Set Approval For...169784722023-04-04 22:30:23358 days ago1680647423IN
0xc918F953...93D20Aa2b
0 ETH0.0015263832.73053314
Transfer From169721102023-04-04 0:45:11359 days ago1680569111IN
0xc918F953...93D20Aa2b
0 ETH0.0010463823.49793548
Transfer From169720882023-04-04 0:40:35359 days ago1680568835IN
0xc918F953...93D20Aa2b
0 ETH0.0015426423.22174
Set Approval For...169720862023-04-04 0:40:11359 days ago1680568811IN
0xc918F953...93D20Aa2b
0 ETH0.0011454124.5170914
Set Approval For...167478252023-03-03 11:56:23391 days ago1677844583IN
0xc918F953...93D20Aa2b
0 ETH0.0009555920.49094254
Set Approval For...166701792023-02-20 13:53:35402 days ago1676901215IN
0xc918F953...93D20Aa2b
0 ETH0.0019565141.95371024
Set Approval For...166668712023-02-20 2:45:11402 days ago1676861111IN
0xc918F953...93D20Aa2b
0 ETH0.00111923.99486662
Set Approval For...166660102023-02-19 23:50:47402 days ago1676850647IN
0xc918F953...93D20Aa2b
0 ETH0.000982821.06362107
Set Approval For...165327252023-02-01 8:17:59421 days ago1675239479IN
0xc918F953...93D20Aa2b
0 ETH0.0009134319.5869136
Set Approval For...164664202023-01-23 2:08:59430 days ago1674439739IN
0xc918F953...93D20Aa2b
0 ETH0.0006808614.59993811
Set Approval For...164298972023-01-17 23:46:35435 days ago1673999195IN
0xc918F953...93D20Aa2b
0 ETH0.0011276924.18137767
Set Approval For...164251032023-01-17 7:44:11436 days ago1673941451IN
0xc918F953...93D20Aa2b
0 ETH0.0007258115.56366494
Set Approval For...163634092023-01-08 16:57:59444 days ago1673197079IN
0xc918F953...93D20Aa2b
0 ETH0.0008232817.65384824
Set Approval For...163176192023-01-02 7:32:59451 days ago1672644779IN
0xc918F953...93D20Aa2b
0 ETH0.0006767614.51202629
Set Approval For...163066752022-12-31 18:56:11452 days ago1672512971IN
0xc918F953...93D20Aa2b
0 ETH0.0007641416.36032978
Set Approval For...162575702022-12-24 22:26:35459 days ago1671920795IN
0xc918F953...93D20Aa2b
0 ETH0.0005122810.98504708
Set Approval For...162537532022-12-24 9:39:11460 days ago1671874751IN
0xc918F953...93D20Aa2b
0 ETH0.0006066412.98486725
Safe Transfer Fr...162169182022-12-19 6:21:47465 days ago1671430907IN
0xc918F953...93D20Aa2b
0 ETH0.0006658414.93836617
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NonFungibleZine

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : NonFungibleZine.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract NonFungibleZine is ERC721, ERC721URIStorage, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenSupply;

    // Define starting contract state
    bytes32 merkleRoot;
    bool merkleSet = false;
    bool public earlyAccessMode = true;
    bool public mintingIsActive = false;
    bool public reservedZines = false;
    string public baseURI = "";
    uint256 public randPrime;
    uint256 public timestamp;
    uint256 public constant maxSupply = 1000;
    uint256 public constant maxMints = 2;

    constructor() ERC721("Non-Fungible Zine", "NFZ") {}

    // Withdraw contract balance to creator (mnemonic seed address 0)
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    // Flip the minting from active or pause
    function toggleMinting() external onlyOwner {
        if (mintingIsActive) {
            mintingIsActive = false;
        } else {
            mintingIsActive = true;
        }
    }

    // Flip the early access mode to allow/disallow public minting vs whitelist
    function toggleEarlyAccessMode() external onlyOwner {
        if (earlyAccessMode) {
            earlyAccessMode = false;
        } else {
            earlyAccessMode = true;
        }
    }

    // Specify a randomly generated prime number (off-chain), only once
    function setRandPrime(uint256 _randPrime) public onlyOwner {
        if (randPrime == 0) {
            randPrime = _randPrime;
        }
    }

    // Specify a new IPFS URI for metadata
    function setBaseURI(string memory URI) public onlyOwner {
        baseURI = URI;
    }

    // Get total supply based upon counter
    function tokensMinted() public view returns (uint256) {
        return _tokenSupply.current();
    }

    // Specify a merkle root hash from the gathered k/v dictionary of
    // addresses and their claimable amount of tokens - thanks Kiwi!
    // https://github.com/0xKiwi/go-merkle-distributor
    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
        merkleSet = true;
    }

    // Return bool on if merkle root hash is set
    function isMerkleSet() public view returns (bool) {
        return merkleSet;
    }

    // Internal mint function with proper "random-ish" logic
    function _mintZines(uint256 numberOfTokens) private {
        require(randPrime > 0, "Random prime number must be specified by contract owner before minting");
        require(numberOfTokens > 0, "Must mint at least 1 token");

        // Specify the block timestamp of the first mint to define NFT distribution
        if (timestamp == 0) {
            timestamp = block.timestamp;
        }

        // Mint i tokens where i is specified by function invoker
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 tokenIndex = tokensMinted() + 1; // Start at 1
            uint256 seq = randPrime * tokenIndex;
            uint256 seqOffset = seq + timestamp;
            uint256 tokenId = (seqOffset % maxSupply) + 1; // Prevent tokenId 0
            _safeMint(msg.sender, tokenId);
            _tokenSupply.increment();
        }

        // Disable minting if max supply of tokens is reached
        if (tokensMinted() == maxSupply) {
            mintingIsActive = false;
        }
    }

    // Reserve some zines for giveaways
    function reserveZines() public onlyOwner {
        // Only allow one-time reservation
        if (!reservedZines) {
            _mintZines(20);
            reservedZines = true;
        }
    }

    // Claim and mint tokens
    function mintZines(
      uint256 index,
      address account,
      uint256 amount,
      bytes32[] calldata merkleProof,
      uint256 numberOfTokens
    ) external {
        require(mintingIsActive, "Minting is not active.");
        require(numberOfTokens <= maxMints, "Cannot mint more than 2");
        require(tokensMinted().add(numberOfTokens) <= maxSupply, "Minting would exceed max supply");
        require(balanceOf(msg.sender).add(numberOfTokens) <= maxMints, "Minting would exceed maximum amount of 2 tokens per wallet.");

        if (earlyAccessMode) {
            require(merkleSet, "Merkle root not set by contract owner");
            require(msg.sender == account, "Can only be claimed by the hodler");
            // Verify merkle proof
            bytes32 node = keccak256(abi.encodePacked(index, account, amount));
            require(MerkleProof.verify(merkleProof, merkleRoot, node), "Invalid merkle proof");
        }

        _mintZines(numberOfTokens);
    }

    // Override the below functions from parent contracts

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return string(abi.encodePacked(baseURI, Strings.toString(tokenId)));
    }

    function _burn(uint256 tokenId)
        internal
        override(ERC721, ERC721URIStorage)
    {
        super._burn(tokenId);
    }
}

File 2 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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. 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;
        }
    }
}

File 3 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 4 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

File 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: 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));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

File 15 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyAccessMode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMerkleSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintZines","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randPrime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveZines","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedZines","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_randPrime","type":"uint256"}],"name":"setRandPrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleEarlyAccessMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMinted","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"}]

60806040526000600a60006101000a81548160ff0219169083151502179055506001600a60016101000a81548160ff0219169083151502179055506000600a60026101000a81548160ff0219169083151502179055506000600a60036101000a81548160ff02191690831515021790555060405180602001604052806000815250600b9080519060200190620000979291906200023a565b50348015620000a557600080fd5b506040518060400160405280601181526020017f4e6f6e2d46756e6769626c65205a696e650000000000000000000000000000008152506040518060400160405280600381526020017f4e465a000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200012a9291906200023a565b508060019080519060200190620001439291906200023a565b505050620001666200015a6200016c60201b60201c565b6200017460201b60201c565b6200034f565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002489062000319565b90600052602060002090601f0160209004810192826200026c5760008555620002b8565b82601f106200028757805160ff1916838001178555620002b8565b82800160010185558215620002b8579182015b82811115620002b75782518255916020019190600101906200029a565b5b509050620002c79190620002cb565b5090565b5b80821115620002e6576000816000905550600101620002cc565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033257607f821691505b60208210811415620003495762000348620002ea565b5b50919050565b614104806200035f6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638da5cb5b1161011a578063bcb46291116100ad578063e762268d1161007c578063e762268d14610569578063e985e9c514610587578063ed0c4b4f146105b7578063efb4fa5b146105d5578063f2fde38b146105df57610206565b8063bcb46291146104f5578063c87b56dd146104ff578063ccb81b551461052f578063d5abeb011461054b57610206565b8063b2e778bc116100e9578063b2e778bc1461047f578063b6b6f0c31461049d578063b80777ea146104bb578063b88d4fde146104d957610206565b80638da5cb5b1461040957806395d89b4114610427578063a22cb46514610445578063a87ef51f1461046157610206565b80634728b9f41161019d5780636de9f32b1161016c5780636de9f32b1461038b57806370a08231146103a9578063715018a6146103d95780637cb64759146103e35780637d55094d146103ff57610206565b80634728b9f41461030357806355f804b3146103215780636352211e1461033d5780636c0360eb1461036d57610206565b80631aca3e15116101d95780631aca3e15146102a557806323b872dd146102c15780633ccfd60b146102dd57806342842e0e146102e757610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190612769565b6105fb565b60405161023291906127b1565b60405180910390f35b6102436106dd565b6040516102509190612865565b60405180910390f35b610273600480360381019061026e91906128bd565b61076f565b604051610280919061292b565b60405180910390f35b6102a3600480360381019061029e9190612972565b6107f4565b005b6102bf60048036038101906102ba91906128bd565b61090c565b005b6102db60048036038101906102d691906129b2565b61099e565b005b6102e56109fe565b005b61030160048036038101906102fc91906129b2565b610ac9565b005b61030b610ae9565b60405161031891906127b1565b60405180910390f35b61033b60048036038101906103369190612b3a565b610afc565b005b610357600480360381019061035291906128bd565b610b92565b604051610364919061292b565b60405180910390f35b610375610c44565b6040516103829190612865565b60405180910390f35b610393610cd2565b6040516103a09190612b92565b60405180910390f35b6103c360048036038101906103be9190612bad565b610ce3565b6040516103d09190612b92565b60405180910390f35b6103e1610d9b565b005b6103fd60048036038101906103f89190612c10565b610e23565b005b610407610ec4565b005b610411610f93565b60405161041e919061292b565b60405180910390f35b61042f610fbd565b60405161043c9190612865565b60405180910390f35b61045f600480360381019061045a9190612c69565b61104f565b005b610469611065565b60405161047691906127b1565b60405180910390f35b610487611078565b60405161049491906127b1565b60405180910390f35b6104a561108f565b6040516104b29190612b92565b60405180910390f35b6104c3611094565b6040516104d09190612b92565b60405180910390f35b6104f360048036038101906104ee9190612d4a565b61109a565b005b6104fd6110fc565b005b610519600480360381019061051491906128bd565b6111b4565b6040516105269190612865565b60405180910390f35b61054960048036038101906105449190612e2d565b6111e8565b005b6105536114d8565b6040516105609190612b92565b60405180910390f35b6105716114de565b60405161057e91906127b1565b60405180910390f35b6105a1600480360381019061059c9190612ec7565b6114f1565b6040516105ae91906127b1565b60405180910390f35b6105bf611585565b6040516105cc9190612b92565b60405180910390f35b6105dd61158b565b005b6105f960048036038101906105f49190612bad565b61165a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106c657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106d657506106d582611752565b5b9050919050565b6060600080546106ec90612f36565b80601f016020809104026020016040519081016040528092919081815260200182805461071890612f36565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a826117bc565b6107b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b090612fda565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ff82610b92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610870576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108679061306c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661088f611828565b73ffffffffffffffffffffffffffffffffffffffff1614806108be57506108bd816108b8611828565b6114f1565b5b6108fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f4906130fe565b60405180910390fd5b6109078383611830565b505050565b610914611828565b73ffffffffffffffffffffffffffffffffffffffff16610932610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f9061316a565b60405180910390fd5b6000600c54141561099b5780600c819055505b50565b6109af6109a9611828565b826118e9565b6109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e5906131fc565b60405180910390fd5b6109f98383836119c7565b505050565b610a06611828565b73ffffffffffffffffffffffffffffffffffffffff16610a24610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a719061316a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ac5573d6000803e3d6000fd5b5050565b610ae48383836040518060200160405280600081525061109a565b505050565b600a60029054906101000a900460ff1681565b610b04611828565b73ffffffffffffffffffffffffffffffffffffffff16610b22610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f9061316a565b60405180910390fd5b80600b9080519060200190610b8e92919061265a565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c329061328e565b60405180910390fd5b80915050919050565b600b8054610c5190612f36565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7d90612f36565b8015610cca5780601f10610c9f57610100808354040283529160200191610cca565b820191906000526020600020905b815481529060010190602001808311610cad57829003601f168201915b505050505081565b6000610cde6008611c23565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4b90613320565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610da3611828565b73ffffffffffffffffffffffffffffffffffffffff16610dc1610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e9061316a565b60405180910390fd5b610e216000611c31565b565b610e2b611828565b73ffffffffffffffffffffffffffffffffffffffff16610e49610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e969061316a565b60405180910390fd5b806009819055506001600a60006101000a81548160ff02191690831515021790555050565b610ecc611828565b73ffffffffffffffffffffffffffffffffffffffff16610eea610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f379061316a565b60405180910390fd5b600a60029054906101000a900460ff1615610f75576000600a60026101000a81548160ff021916908315150217905550610f91565b6001600a60026101000a81548160ff0219169083151502179055505b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610fcc90612f36565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff890612f36565b80156110455780601f1061101a57610100808354040283529160200191611045565b820191906000526020600020905b81548152906001019060200180831161102857829003601f168201915b5050505050905090565b61106161105a611828565b8383611cf7565b5050565b600a60039054906101000a900460ff1681565b6000600a60009054906101000a900460ff16905090565b600281565b600d5481565b6110ab6110a5611828565b836118e9565b6110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906131fc565b60405180910390fd5b6110f684848484611e64565b50505050565b611104611828565b73ffffffffffffffffffffffffffffffffffffffff16611122610f93565b73ffffffffffffffffffffffffffffffffffffffff1614611178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116f9061316a565b60405180910390fd5b600a60039054906101000a900460ff166111b2576111966014611ec0565b6001600a60036101000a81548160ff0219169083151502179055505b565b6060600b6111c18361201c565b6040516020016111d2929190613410565b6040516020818303038152906040529050919050565b600a60029054906101000a900460ff16611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e90613480565b60405180910390fd5b600281111561127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906134ec565b60405180910390fd5b6103e86112988261128a610cd2565b61217d90919063ffffffff16565b11156112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d090613558565b60405180910390fd5b60026112f6826112e833610ce3565b61217d90919063ffffffff16565b1115611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e906135ea565b60405180910390fd5b600a60019054906101000a900460ff16156114c757600a60009054906101000a900460ff1661139b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113929061367c565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114009061370e565b60405180910390fd5b600086868660405160200161142093929190613797565b604051602081830303815290604052805190602001209050611486848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612193565b6114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90613820565b60405180910390fd5b505b6114d081611ec0565b505050505050565b6103e881565b600a60019054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b611593611828565b73ffffffffffffffffffffffffffffffffffffffff166115b1610f93565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe9061316a565b60405180910390fd5b600a60019054906101000a900460ff161561163c576000600a60016101000a81548160ff021916908315150217905550611658565b6001600a60016101000a81548160ff0219169083151502179055505b565b611662611828565b73ffffffffffffffffffffffffffffffffffffffff16611680610f93565b73ffffffffffffffffffffffffffffffffffffffff16146116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd9061316a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d906138b2565b60405180910390fd5b61174f81611c31565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118a383610b92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118f4826117bc565b611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90613944565b60405180910390fd5b600061193e83610b92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119ad57508373ffffffffffffffffffffffffffffffffffffffff166119958461076f565b73ffffffffffffffffffffffffffffffffffffffff16145b806119be57506119bd81856114f1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119e782610b92565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a34906139d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa490613a68565b60405180910390fd5b611ab88383836121aa565b611ac3600082611830565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b139190613ab7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b6a9190613aeb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d90613b8d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e5791906127b1565b60405180910390a3505050565b611e6f8484846119c7565b611e7b848484846121af565b611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb190613c1f565b60405180910390fd5b50505050565b6000600c5411611f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efc90613cd7565b60405180910390fd5b60008111611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f90613d43565b60405180910390fd5b6000600d541415611f5b5742600d819055505b60005b81811015611feb5760006001611f72610cd2565b611f7c9190613aeb565b9050600081600c54611f8e9190613d63565b90506000600d5482611fa09190613aeb565b9050600060016103e883611fb49190613dec565b611fbe9190613aeb565b9050611fca3382612337565b611fd46008612355565b505050508080611fe390613e1d565b915050611f5e565b506103e8611ff7610cd2565b1415612019576000600a60026101000a81548160ff0219169083151502179055505b50565b60606000821415612064576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612178565b600082905060005b6000821461209657808061207f90613e1d565b915050600a8261208f9190613e66565b915061206c565b60008167ffffffffffffffff8111156120b2576120b1612a0f565b5b6040519080825280601f01601f1916602001820160405280156120e45781602001600182028036833780820191505090505b5090505b60008514612171576001826120fd9190613ab7565b9150600a8561210c9190613dec565b60306121189190613aeb565b60f81b81838151811061212e5761212d613e97565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561216a9190613e66565b94506120e8565b8093505050505b919050565b6000818361218b9190613aeb565b905092915050565b6000826121a0858461236b565b1490509392505050565b505050565b60006121d08473ffffffffffffffffffffffffffffffffffffffff1661241e565b1561232a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121f9611828565b8786866040518563ffffffff1660e01b815260040161221b9493929190613f1b565b6020604051808303816000875af192505050801561225757506040513d601f19601f820116820180604052508101906122549190613f7c565b60015b6122da573d8060008114612287576040519150601f19603f3d011682016040523d82523d6000602084013e61228c565b606091505b506000815114156122d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c990613c1f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061232f565b600190505b949350505050565b612351828260405180602001604052806000815250612431565b5050565b6001816000016000828254019250508190555050565b60008082905060005b845181101561241357600085828151811061239257612391613e97565b5b602002602001015190508083116123d35782816040516020016123b6929190613fca565b6040516020818303038152906040528051906020012092506123ff565b80836040516020016123e6929190613fca565b6040516020818303038152906040528051906020012092505b50808061240b90613e1d565b915050612374565b508091505092915050565b600080823b905060008111915050919050565b61243b838361248c565b61244860008484846121af565b612487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247e90613c1f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f390614042565b60405180910390fd5b612505816117bc565b15612545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253c906140ae565b60405180910390fd5b612551600083836121aa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a19190613aeb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461266690612f36565b90600052602060002090601f01602090048101928261268857600085556126cf565b82601f106126a157805160ff19168380011785556126cf565b828001600101855582156126cf579182015b828111156126ce5782518255916020019190600101906126b3565b5b5090506126dc91906126e0565b5090565b5b808211156126f95760008160009055506001016126e1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61274681612711565b811461275157600080fd5b50565b6000813590506127638161273d565b92915050565b60006020828403121561277f5761277e612707565b5b600061278d84828501612754565b91505092915050565b60008115159050919050565b6127ab81612796565b82525050565b60006020820190506127c660008301846127a2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156128065780820151818401526020810190506127eb565b83811115612815576000848401525b50505050565b6000601f19601f8301169050919050565b6000612837826127cc565b61284181856127d7565b93506128518185602086016127e8565b61285a8161281b565b840191505092915050565b6000602082019050818103600083015261287f818461282c565b905092915050565b6000819050919050565b61289a81612887565b81146128a557600080fd5b50565b6000813590506128b781612891565b92915050565b6000602082840312156128d3576128d2612707565b5b60006128e1848285016128a8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612915826128ea565b9050919050565b6129258161290a565b82525050565b6000602082019050612940600083018461291c565b92915050565b61294f8161290a565b811461295a57600080fd5b50565b60008135905061296c81612946565b92915050565b6000806040838503121561298957612988612707565b5b60006129978582860161295d565b92505060206129a8858286016128a8565b9150509250929050565b6000806000606084860312156129cb576129ca612707565b5b60006129d98682870161295d565b93505060206129ea8682870161295d565b92505060406129fb868287016128a8565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a478261281b565b810181811067ffffffffffffffff82111715612a6657612a65612a0f565b5b80604052505050565b6000612a796126fd565b9050612a858282612a3e565b919050565b600067ffffffffffffffff821115612aa557612aa4612a0f565b5b612aae8261281b565b9050602081019050919050565b82818337600083830152505050565b6000612add612ad884612a8a565b612a6f565b905082815260208101848484011115612af957612af8612a0a565b5b612b04848285612abb565b509392505050565b600082601f830112612b2157612b20612a05565b5b8135612b31848260208601612aca565b91505092915050565b600060208284031215612b5057612b4f612707565b5b600082013567ffffffffffffffff811115612b6e57612b6d61270c565b5b612b7a84828501612b0c565b91505092915050565b612b8c81612887565b82525050565b6000602082019050612ba76000830184612b83565b92915050565b600060208284031215612bc357612bc2612707565b5b6000612bd18482850161295d565b91505092915050565b6000819050919050565b612bed81612bda565b8114612bf857600080fd5b50565b600081359050612c0a81612be4565b92915050565b600060208284031215612c2657612c25612707565b5b6000612c3484828501612bfb565b91505092915050565b612c4681612796565b8114612c5157600080fd5b50565b600081359050612c6381612c3d565b92915050565b60008060408385031215612c8057612c7f612707565b5b6000612c8e8582860161295d565b9250506020612c9f85828601612c54565b9150509250929050565b600067ffffffffffffffff821115612cc457612cc3612a0f565b5b612ccd8261281b565b9050602081019050919050565b6000612ced612ce884612ca9565b612a6f565b905082815260208101848484011115612d0957612d08612a0a565b5b612d14848285612abb565b509392505050565b600082601f830112612d3157612d30612a05565b5b8135612d41848260208601612cda565b91505092915050565b60008060008060808587031215612d6457612d63612707565b5b6000612d728782880161295d565b9450506020612d838782880161295d565b9350506040612d94878288016128a8565b925050606085013567ffffffffffffffff811115612db557612db461270c565b5b612dc187828801612d1c565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112612ded57612dec612a05565b5b8235905067ffffffffffffffff811115612e0a57612e09612dcd565b5b602083019150836020820283011115612e2657612e25612dd2565b5b9250929050565b60008060008060008060a08789031215612e4a57612e49612707565b5b6000612e5889828a016128a8565b9650506020612e6989828a0161295d565b9550506040612e7a89828a016128a8565b945050606087013567ffffffffffffffff811115612e9b57612e9a61270c565b5b612ea789828a01612dd7565b93509350506080612eba89828a016128a8565b9150509295509295509295565b60008060408385031215612ede57612edd612707565b5b6000612eec8582860161295d565b9250506020612efd8582860161295d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f4e57607f821691505b60208210811415612f6257612f61612f07565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612fc4602c836127d7565b9150612fcf82612f68565b604082019050919050565b60006020820190508181036000830152612ff381612fb7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130566021836127d7565b915061306182612ffa565b604082019050919050565b6000602082019050818103600083015261308581613049565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006130e86038836127d7565b91506130f38261308c565b604082019050919050565b60006020820190508181036000830152613117816130db565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006131546020836127d7565b915061315f8261311e565b602082019050919050565b6000602082019050818103600083015261318381613147565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006131e66031836127d7565b91506131f18261318a565b604082019050919050565b60006020820190508181036000830152613215816131d9565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006132786029836127d7565b91506132838261321c565b604082019050919050565b600060208201905081810360008301526132a78161326b565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061330a602a836127d7565b9150613315826132ae565b604082019050919050565b60006020820190508181036000830152613339816132fd565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461336d81612f36565b6133778186613340565b9450600182166000811461339257600181146133a3576133d6565b60ff198316865281860193506133d6565b6133ac8561334b565b60005b838110156133ce578154818901526001820191506020810190506133af565b838801955050505b50505092915050565b60006133ea826127cc565b6133f48185613340565b93506134048185602086016127e8565b80840191505092915050565b600061341c8285613360565b915061342882846133df565b91508190509392505050565b7f4d696e74696e67206973206e6f74206163746976652e00000000000000000000600082015250565b600061346a6016836127d7565b915061347582613434565b602082019050919050565b600060208201905081810360008301526134998161345d565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e2032000000000000000000600082015250565b60006134d66017836127d7565b91506134e1826134a0565b602082019050919050565b60006020820190508181036000830152613505816134c9565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613542601f836127d7565b915061354d8261350c565b602082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d6178696d756d20616d6f60008201527f756e74206f66203220746f6b656e73207065722077616c6c65742e0000000000602082015250565b60006135d4603b836127d7565b91506135df82613578565b604082019050919050565b60006020820190508181036000830152613603816135c7565b9050919050565b7f4d65726b6c6520726f6f74206e6f742073657420627920636f6e74726163742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006136666025836127d7565b91506136718261360a565b604082019050919050565b6000602082019050818103600083015261369581613659565b9050919050565b7f43616e206f6e6c7920626520636c61696d65642062792074686520686f646c6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136f86021836127d7565b91506137038261369c565b604082019050919050565b60006020820190508181036000830152613727816136eb565b9050919050565b6000819050919050565b61374961374482612887565b61372e565b82525050565b60008160601b9050919050565b60006137678261374f565b9050919050565b60006137798261375c565b9050919050565b61379161378c8261290a565b61376e565b82525050565b60006137a38286613738565b6020820191506137b38285613780565b6014820191506137c38284613738565b602082019150819050949350505050565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b600061380a6014836127d7565b9150613815826137d4565b602082019050919050565b60006020820190508181036000830152613839816137fd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061389c6026836127d7565b91506138a782613840565b604082019050919050565b600060208201905081810360008301526138cb8161388f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061392e602c836127d7565b9150613939826138d2565b604082019050919050565b6000602082019050818103600083015261395d81613921565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006139c06029836127d7565b91506139cb82613964565b604082019050919050565b600060208201905081810360008301526139ef816139b3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a526024836127d7565b9150613a5d826139f6565b604082019050919050565b60006020820190508181036000830152613a8181613a45565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ac282612887565b9150613acd83612887565b925082821015613ae057613adf613a88565b5b828203905092915050565b6000613af682612887565b9150613b0183612887565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b3657613b35613a88565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613b776019836127d7565b9150613b8282613b41565b602082019050919050565b60006020820190508181036000830152613ba681613b6a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613c096032836127d7565b9150613c1482613bad565b604082019050919050565b60006020820190508181036000830152613c3881613bfc565b9050919050565b7f52616e646f6d207072696d65206e756d626572206d757374206265207370656360008201527f696669656420627920636f6e7472616374206f776e6572206265666f7265206d60208201527f696e74696e670000000000000000000000000000000000000000000000000000604082015250565b6000613cc16046836127d7565b9150613ccc82613c3f565b606082019050919050565b60006020820190508181036000830152613cf081613cb4565b9050919050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b6000613d2d601a836127d7565b9150613d3882613cf7565b602082019050919050565b60006020820190508181036000830152613d5c81613d20565b9050919050565b6000613d6e82612887565b9150613d7983612887565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613db257613db1613a88565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613df782612887565b9150613e0283612887565b925082613e1257613e11613dbd565b5b828206905092915050565b6000613e2882612887565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e5b57613e5a613a88565b5b600182019050919050565b6000613e7182612887565b9150613e7c83612887565b925082613e8c57613e8b613dbd565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613eed82613ec6565b613ef78185613ed1565b9350613f078185602086016127e8565b613f108161281b565b840191505092915050565b6000608082019050613f30600083018761291c565b613f3d602083018661291c565b613f4a6040830185612b83565b8181036060830152613f5c8184613ee2565b905095945050505050565b600081519050613f768161273d565b92915050565b600060208284031215613f9257613f91612707565b5b6000613fa084828501613f67565b91505092915050565b6000819050919050565b613fc4613fbf82612bda565b613fa9565b82525050565b6000613fd68285613fb3565b602082019150613fe68284613fb3565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061402c6020836127d7565b915061403782613ff6565b602082019050919050565b6000602082019050818103600083015261405b8161401f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614098601c836127d7565b91506140a382614062565b602082019050919050565b600060208201905081810360008301526140c78161408b565b905091905056fea2646970667358221220547886fc6c106efca0dc0676d7c23fe920d0289089782502e5978d04a696734d64736f6c634300080a0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80638da5cb5b1161011a578063bcb46291116100ad578063e762268d1161007c578063e762268d14610569578063e985e9c514610587578063ed0c4b4f146105b7578063efb4fa5b146105d5578063f2fde38b146105df57610206565b8063bcb46291146104f5578063c87b56dd146104ff578063ccb81b551461052f578063d5abeb011461054b57610206565b8063b2e778bc116100e9578063b2e778bc1461047f578063b6b6f0c31461049d578063b80777ea146104bb578063b88d4fde146104d957610206565b80638da5cb5b1461040957806395d89b4114610427578063a22cb46514610445578063a87ef51f1461046157610206565b80634728b9f41161019d5780636de9f32b1161016c5780636de9f32b1461038b57806370a08231146103a9578063715018a6146103d95780637cb64759146103e35780637d55094d146103ff57610206565b80634728b9f41461030357806355f804b3146103215780636352211e1461033d5780636c0360eb1461036d57610206565b80631aca3e15116101d95780631aca3e15146102a557806323b872dd146102c15780633ccfd60b146102dd57806342842e0e146102e757610206565b806301ffc9a71461020b57806306fdde031461023b578063081812fc14610259578063095ea7b314610289575b600080fd5b61022560048036038101906102209190612769565b6105fb565b60405161023291906127b1565b60405180910390f35b6102436106dd565b6040516102509190612865565b60405180910390f35b610273600480360381019061026e91906128bd565b61076f565b604051610280919061292b565b60405180910390f35b6102a3600480360381019061029e9190612972565b6107f4565b005b6102bf60048036038101906102ba91906128bd565b61090c565b005b6102db60048036038101906102d691906129b2565b61099e565b005b6102e56109fe565b005b61030160048036038101906102fc91906129b2565b610ac9565b005b61030b610ae9565b60405161031891906127b1565b60405180910390f35b61033b60048036038101906103369190612b3a565b610afc565b005b610357600480360381019061035291906128bd565b610b92565b604051610364919061292b565b60405180910390f35b610375610c44565b6040516103829190612865565b60405180910390f35b610393610cd2565b6040516103a09190612b92565b60405180910390f35b6103c360048036038101906103be9190612bad565b610ce3565b6040516103d09190612b92565b60405180910390f35b6103e1610d9b565b005b6103fd60048036038101906103f89190612c10565b610e23565b005b610407610ec4565b005b610411610f93565b60405161041e919061292b565b60405180910390f35b61042f610fbd565b60405161043c9190612865565b60405180910390f35b61045f600480360381019061045a9190612c69565b61104f565b005b610469611065565b60405161047691906127b1565b60405180910390f35b610487611078565b60405161049491906127b1565b60405180910390f35b6104a561108f565b6040516104b29190612b92565b60405180910390f35b6104c3611094565b6040516104d09190612b92565b60405180910390f35b6104f360048036038101906104ee9190612d4a565b61109a565b005b6104fd6110fc565b005b610519600480360381019061051491906128bd565b6111b4565b6040516105269190612865565b60405180910390f35b61054960048036038101906105449190612e2d565b6111e8565b005b6105536114d8565b6040516105609190612b92565b60405180910390f35b6105716114de565b60405161057e91906127b1565b60405180910390f35b6105a1600480360381019061059c9190612ec7565b6114f1565b6040516105ae91906127b1565b60405180910390f35b6105bf611585565b6040516105cc9190612b92565b60405180910390f35b6105dd61158b565b005b6105f960048036038101906105f49190612bad565b61165a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106c657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106d657506106d582611752565b5b9050919050565b6060600080546106ec90612f36565b80601f016020809104026020016040519081016040528092919081815260200182805461071890612f36565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a826117bc565b6107b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b090612fda565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ff82610b92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610870576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108679061306c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661088f611828565b73ffffffffffffffffffffffffffffffffffffffff1614806108be57506108bd816108b8611828565b6114f1565b5b6108fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f4906130fe565b60405180910390fd5b6109078383611830565b505050565b610914611828565b73ffffffffffffffffffffffffffffffffffffffff16610932610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f9061316a565b60405180910390fd5b6000600c54141561099b5780600c819055505b50565b6109af6109a9611828565b826118e9565b6109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e5906131fc565b60405180910390fd5b6109f98383836119c7565b505050565b610a06611828565b73ffffffffffffffffffffffffffffffffffffffff16610a24610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a719061316a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ac5573d6000803e3d6000fd5b5050565b610ae48383836040518060200160405280600081525061109a565b505050565b600a60029054906101000a900460ff1681565b610b04611828565b73ffffffffffffffffffffffffffffffffffffffff16610b22610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f9061316a565b60405180910390fd5b80600b9080519060200190610b8e92919061265a565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c329061328e565b60405180910390fd5b80915050919050565b600b8054610c5190612f36565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7d90612f36565b8015610cca5780601f10610c9f57610100808354040283529160200191610cca565b820191906000526020600020905b815481529060010190602001808311610cad57829003601f168201915b505050505081565b6000610cde6008611c23565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4b90613320565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610da3611828565b73ffffffffffffffffffffffffffffffffffffffff16610dc1610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e9061316a565b60405180910390fd5b610e216000611c31565b565b610e2b611828565b73ffffffffffffffffffffffffffffffffffffffff16610e49610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e969061316a565b60405180910390fd5b806009819055506001600a60006101000a81548160ff02191690831515021790555050565b610ecc611828565b73ffffffffffffffffffffffffffffffffffffffff16610eea610f93565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f379061316a565b60405180910390fd5b600a60029054906101000a900460ff1615610f75576000600a60026101000a81548160ff021916908315150217905550610f91565b6001600a60026101000a81548160ff0219169083151502179055505b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610fcc90612f36565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff890612f36565b80156110455780601f1061101a57610100808354040283529160200191611045565b820191906000526020600020905b81548152906001019060200180831161102857829003601f168201915b5050505050905090565b61106161105a611828565b8383611cf7565b5050565b600a60039054906101000a900460ff1681565b6000600a60009054906101000a900460ff16905090565b600281565b600d5481565b6110ab6110a5611828565b836118e9565b6110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906131fc565b60405180910390fd5b6110f684848484611e64565b50505050565b611104611828565b73ffffffffffffffffffffffffffffffffffffffff16611122610f93565b73ffffffffffffffffffffffffffffffffffffffff1614611178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116f9061316a565b60405180910390fd5b600a60039054906101000a900460ff166111b2576111966014611ec0565b6001600a60036101000a81548160ff0219169083151502179055505b565b6060600b6111c18361201c565b6040516020016111d2929190613410565b6040516020818303038152906040529050919050565b600a60029054906101000a900460ff16611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e90613480565b60405180910390fd5b600281111561127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906134ec565b60405180910390fd5b6103e86112988261128a610cd2565b61217d90919063ffffffff16565b11156112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d090613558565b60405180910390fd5b60026112f6826112e833610ce3565b61217d90919063ffffffff16565b1115611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e906135ea565b60405180910390fd5b600a60019054906101000a900460ff16156114c757600a60009054906101000a900460ff1661139b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113929061367c565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114009061370e565b60405180910390fd5b600086868660405160200161142093929190613797565b604051602081830303815290604052805190602001209050611486848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612193565b6114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90613820565b60405180910390fd5b505b6114d081611ec0565b505050505050565b6103e881565b600a60019054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b611593611828565b73ffffffffffffffffffffffffffffffffffffffff166115b1610f93565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe9061316a565b60405180910390fd5b600a60019054906101000a900460ff161561163c576000600a60016101000a81548160ff021916908315150217905550611658565b6001600a60016101000a81548160ff0219169083151502179055505b565b611662611828565b73ffffffffffffffffffffffffffffffffffffffff16611680610f93565b73ffffffffffffffffffffffffffffffffffffffff16146116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd9061316a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d906138b2565b60405180910390fd5b61174f81611c31565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118a383610b92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118f4826117bc565b611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90613944565b60405180910390fd5b600061193e83610b92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119ad57508373ffffffffffffffffffffffffffffffffffffffff166119958461076f565b73ffffffffffffffffffffffffffffffffffffffff16145b806119be57506119bd81856114f1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119e782610b92565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a34906139d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa490613a68565b60405180910390fd5b611ab88383836121aa565b611ac3600082611830565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b139190613ab7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b6a9190613aeb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d90613b8d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e5791906127b1565b60405180910390a3505050565b611e6f8484846119c7565b611e7b848484846121af565b611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb190613c1f565b60405180910390fd5b50505050565b6000600c5411611f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efc90613cd7565b60405180910390fd5b60008111611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f90613d43565b60405180910390fd5b6000600d541415611f5b5742600d819055505b60005b81811015611feb5760006001611f72610cd2565b611f7c9190613aeb565b9050600081600c54611f8e9190613d63565b90506000600d5482611fa09190613aeb565b9050600060016103e883611fb49190613dec565b611fbe9190613aeb565b9050611fca3382612337565b611fd46008612355565b505050508080611fe390613e1d565b915050611f5e565b506103e8611ff7610cd2565b1415612019576000600a60026101000a81548160ff0219169083151502179055505b50565b60606000821415612064576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612178565b600082905060005b6000821461209657808061207f90613e1d565b915050600a8261208f9190613e66565b915061206c565b60008167ffffffffffffffff8111156120b2576120b1612a0f565b5b6040519080825280601f01601f1916602001820160405280156120e45781602001600182028036833780820191505090505b5090505b60008514612171576001826120fd9190613ab7565b9150600a8561210c9190613dec565b60306121189190613aeb565b60f81b81838151811061212e5761212d613e97565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561216a9190613e66565b94506120e8565b8093505050505b919050565b6000818361218b9190613aeb565b905092915050565b6000826121a0858461236b565b1490509392505050565b505050565b60006121d08473ffffffffffffffffffffffffffffffffffffffff1661241e565b1561232a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121f9611828565b8786866040518563ffffffff1660e01b815260040161221b9493929190613f1b565b6020604051808303816000875af192505050801561225757506040513d601f19601f820116820180604052508101906122549190613f7c565b60015b6122da573d8060008114612287576040519150601f19603f3d011682016040523d82523d6000602084013e61228c565b606091505b506000815114156122d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c990613c1f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061232f565b600190505b949350505050565b612351828260405180602001604052806000815250612431565b5050565b6001816000016000828254019250508190555050565b60008082905060005b845181101561241357600085828151811061239257612391613e97565b5b602002602001015190508083116123d35782816040516020016123b6929190613fca565b6040516020818303038152906040528051906020012092506123ff565b80836040516020016123e6929190613fca565b6040516020818303038152906040528051906020012092505b50808061240b90613e1d565b915050612374565b508091505092915050565b600080823b905060008111915050919050565b61243b838361248c565b61244860008484846121af565b612487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247e90613c1f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f390614042565b60405180910390fd5b612505816117bc565b15612545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253c906140ae565b60405180910390fd5b612551600083836121aa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a19190613aeb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461266690612f36565b90600052602060002090601f01602090048101928261268857600085556126cf565b82601f106126a157805160ff19168380011785556126cf565b828001600101855582156126cf579182015b828111156126ce5782518255916020019190600101906126b3565b5b5090506126dc91906126e0565b5090565b5b808211156126f95760008160009055506001016126e1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61274681612711565b811461275157600080fd5b50565b6000813590506127638161273d565b92915050565b60006020828403121561277f5761277e612707565b5b600061278d84828501612754565b91505092915050565b60008115159050919050565b6127ab81612796565b82525050565b60006020820190506127c660008301846127a2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156128065780820151818401526020810190506127eb565b83811115612815576000848401525b50505050565b6000601f19601f8301169050919050565b6000612837826127cc565b61284181856127d7565b93506128518185602086016127e8565b61285a8161281b565b840191505092915050565b6000602082019050818103600083015261287f818461282c565b905092915050565b6000819050919050565b61289a81612887565b81146128a557600080fd5b50565b6000813590506128b781612891565b92915050565b6000602082840312156128d3576128d2612707565b5b60006128e1848285016128a8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612915826128ea565b9050919050565b6129258161290a565b82525050565b6000602082019050612940600083018461291c565b92915050565b61294f8161290a565b811461295a57600080fd5b50565b60008135905061296c81612946565b92915050565b6000806040838503121561298957612988612707565b5b60006129978582860161295d565b92505060206129a8858286016128a8565b9150509250929050565b6000806000606084860312156129cb576129ca612707565b5b60006129d98682870161295d565b93505060206129ea8682870161295d565b92505060406129fb868287016128a8565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a478261281b565b810181811067ffffffffffffffff82111715612a6657612a65612a0f565b5b80604052505050565b6000612a796126fd565b9050612a858282612a3e565b919050565b600067ffffffffffffffff821115612aa557612aa4612a0f565b5b612aae8261281b565b9050602081019050919050565b82818337600083830152505050565b6000612add612ad884612a8a565b612a6f565b905082815260208101848484011115612af957612af8612a0a565b5b612b04848285612abb565b509392505050565b600082601f830112612b2157612b20612a05565b5b8135612b31848260208601612aca565b91505092915050565b600060208284031215612b5057612b4f612707565b5b600082013567ffffffffffffffff811115612b6e57612b6d61270c565b5b612b7a84828501612b0c565b91505092915050565b612b8c81612887565b82525050565b6000602082019050612ba76000830184612b83565b92915050565b600060208284031215612bc357612bc2612707565b5b6000612bd18482850161295d565b91505092915050565b6000819050919050565b612bed81612bda565b8114612bf857600080fd5b50565b600081359050612c0a81612be4565b92915050565b600060208284031215612c2657612c25612707565b5b6000612c3484828501612bfb565b91505092915050565b612c4681612796565b8114612c5157600080fd5b50565b600081359050612c6381612c3d565b92915050565b60008060408385031215612c8057612c7f612707565b5b6000612c8e8582860161295d565b9250506020612c9f85828601612c54565b9150509250929050565b600067ffffffffffffffff821115612cc457612cc3612a0f565b5b612ccd8261281b565b9050602081019050919050565b6000612ced612ce884612ca9565b612a6f565b905082815260208101848484011115612d0957612d08612a0a565b5b612d14848285612abb565b509392505050565b600082601f830112612d3157612d30612a05565b5b8135612d41848260208601612cda565b91505092915050565b60008060008060808587031215612d6457612d63612707565b5b6000612d728782880161295d565b9450506020612d838782880161295d565b9350506040612d94878288016128a8565b925050606085013567ffffffffffffffff811115612db557612db461270c565b5b612dc187828801612d1c565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112612ded57612dec612a05565b5b8235905067ffffffffffffffff811115612e0a57612e09612dcd565b5b602083019150836020820283011115612e2657612e25612dd2565b5b9250929050565b60008060008060008060a08789031215612e4a57612e49612707565b5b6000612e5889828a016128a8565b9650506020612e6989828a0161295d565b9550506040612e7a89828a016128a8565b945050606087013567ffffffffffffffff811115612e9b57612e9a61270c565b5b612ea789828a01612dd7565b93509350506080612eba89828a016128a8565b9150509295509295509295565b60008060408385031215612ede57612edd612707565b5b6000612eec8582860161295d565b9250506020612efd8582860161295d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f4e57607f821691505b60208210811415612f6257612f61612f07565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612fc4602c836127d7565b9150612fcf82612f68565b604082019050919050565b60006020820190508181036000830152612ff381612fb7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130566021836127d7565b915061306182612ffa565b604082019050919050565b6000602082019050818103600083015261308581613049565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006130e86038836127d7565b91506130f38261308c565b604082019050919050565b60006020820190508181036000830152613117816130db565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006131546020836127d7565b915061315f8261311e565b602082019050919050565b6000602082019050818103600083015261318381613147565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006131e66031836127d7565b91506131f18261318a565b604082019050919050565b60006020820190508181036000830152613215816131d9565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006132786029836127d7565b91506132838261321c565b604082019050919050565b600060208201905081810360008301526132a78161326b565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061330a602a836127d7565b9150613315826132ae565b604082019050919050565b60006020820190508181036000830152613339816132fd565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461336d81612f36565b6133778186613340565b9450600182166000811461339257600181146133a3576133d6565b60ff198316865281860193506133d6565b6133ac8561334b565b60005b838110156133ce578154818901526001820191506020810190506133af565b838801955050505b50505092915050565b60006133ea826127cc565b6133f48185613340565b93506134048185602086016127e8565b80840191505092915050565b600061341c8285613360565b915061342882846133df565b91508190509392505050565b7f4d696e74696e67206973206e6f74206163746976652e00000000000000000000600082015250565b600061346a6016836127d7565b915061347582613434565b602082019050919050565b600060208201905081810360008301526134998161345d565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e2032000000000000000000600082015250565b60006134d66017836127d7565b91506134e1826134a0565b602082019050919050565b60006020820190508181036000830152613505816134c9565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613542601f836127d7565b915061354d8261350c565b602082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d6178696d756d20616d6f60008201527f756e74206f66203220746f6b656e73207065722077616c6c65742e0000000000602082015250565b60006135d4603b836127d7565b91506135df82613578565b604082019050919050565b60006020820190508181036000830152613603816135c7565b9050919050565b7f4d65726b6c6520726f6f74206e6f742073657420627920636f6e74726163742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006136666025836127d7565b91506136718261360a565b604082019050919050565b6000602082019050818103600083015261369581613659565b9050919050565b7f43616e206f6e6c7920626520636c61696d65642062792074686520686f646c6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136f86021836127d7565b91506137038261369c565b604082019050919050565b60006020820190508181036000830152613727816136eb565b9050919050565b6000819050919050565b61374961374482612887565b61372e565b82525050565b60008160601b9050919050565b60006137678261374f565b9050919050565b60006137798261375c565b9050919050565b61379161378c8261290a565b61376e565b82525050565b60006137a38286613738565b6020820191506137b38285613780565b6014820191506137c38284613738565b602082019150819050949350505050565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b600061380a6014836127d7565b9150613815826137d4565b602082019050919050565b60006020820190508181036000830152613839816137fd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061389c6026836127d7565b91506138a782613840565b604082019050919050565b600060208201905081810360008301526138cb8161388f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061392e602c836127d7565b9150613939826138d2565b604082019050919050565b6000602082019050818103600083015261395d81613921565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006139c06029836127d7565b91506139cb82613964565b604082019050919050565b600060208201905081810360008301526139ef816139b3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a526024836127d7565b9150613a5d826139f6565b604082019050919050565b60006020820190508181036000830152613a8181613a45565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ac282612887565b9150613acd83612887565b925082821015613ae057613adf613a88565b5b828203905092915050565b6000613af682612887565b9150613b0183612887565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b3657613b35613a88565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613b776019836127d7565b9150613b8282613b41565b602082019050919050565b60006020820190508181036000830152613ba681613b6a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613c096032836127d7565b9150613c1482613bad565b604082019050919050565b60006020820190508181036000830152613c3881613bfc565b9050919050565b7f52616e646f6d207072696d65206e756d626572206d757374206265207370656360008201527f696669656420627920636f6e7472616374206f776e6572206265666f7265206d60208201527f696e74696e670000000000000000000000000000000000000000000000000000604082015250565b6000613cc16046836127d7565b9150613ccc82613c3f565b606082019050919050565b60006020820190508181036000830152613cf081613cb4565b9050919050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b6000613d2d601a836127d7565b9150613d3882613cf7565b602082019050919050565b60006020820190508181036000830152613d5c81613d20565b9050919050565b6000613d6e82612887565b9150613d7983612887565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613db257613db1613a88565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613df782612887565b9150613e0283612887565b925082613e1257613e11613dbd565b5b828206905092915050565b6000613e2882612887565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e5b57613e5a613a88565b5b600182019050919050565b6000613e7182612887565b9150613e7c83612887565b925082613e8c57613e8b613dbd565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613eed82613ec6565b613ef78185613ed1565b9350613f078185602086016127e8565b613f108161281b565b840191505092915050565b6000608082019050613f30600083018761291c565b613f3d602083018661291c565b613f4a6040830185612b83565b8181036060830152613f5c8184613ee2565b905095945050505050565b600081519050613f768161273d565b92915050565b600060208284031215613f9257613f91612707565b5b6000613fa084828501613f67565b91505092915050565b6000819050919050565b613fc4613fbf82612bda565b613fa9565b82525050565b6000613fd68285613fb3565b602082019150613fe68284613fb3565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061402c6020836127d7565b915061403782613ff6565b602082019050919050565b6000602082019050818103600083015261405b8161401f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614098601c836127d7565b91506140a382614062565b602082019050919050565b600060208201905081810360008301526140c78161408b565b905091905056fea2646970667358221220547886fc6c106efca0dc0676d7c23fe920d0289089782502e5978d04a696734d64736f6c634300080a0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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