Contract 0x2121Bc170a8EF73A5CF576BDf5D55f916D58B18B

 
 
Txn Hash
Method
Block
From
To
Value
0x807c8ab20ac6f4e90a610f830ca0de5826e8acf3de9cc09d16eb08068429dd4aSet Approval For...153514022022-08-16 8:49:5845 days 14 hrs agoENS Name uhh.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.0004215 9.04716469
0x9b07e9cb0f4fb5737ff55f6f9812c8d0f28fbce68371e1e6c3ccca7f2d703420Set Approval For...151291772022-07-12 17:25:0080 days 6 hrs agoENS Name cubantoast.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00199413 42.80181309
0x01bbe0d12d2954c191ad4bea2ed7be7d2f1cfb6bf5feedcd749f0d0b62697f64Set Approval For...148388372022-05-25 0:46:33128 days 23 hrs agoENS Name bonetv.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00070011 15
0x5e5997ce6029794fadbcde6912e909874a5bcccbc748b150ca3783070723a250Set Dates147372612022-05-08 16:58:57145 days 6 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.0029692 29.01403337
0x7dd29dff70d4bbafad8c30b895a16a891542b8348d38732652f6ead1a0e6e588Set Approval For...147361662022-05-08 12:48:39145 days 11 hrs agoENS Name cubantoast.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00116927 25.05196836
0xdc6585725f9b5c96e17ebf2ecd7a0aae1eb0f2870f77433d77851c8c6eaf762fSet Approval For...144293522022-03-21 11:13:52193 days 12 hrs ago0x36e44f650e194af4089ec3d9122c298796b18c1c IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00085214 18.25744349
0xf8e0f58642baf615a1cbbff289ecaff3ab6f61a53f0e03f2a898e55eb7effb01Update Token UR ...143637002022-03-11 5:30:51203 days 18 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.01182797 23.05495016
0xe4ea3bfd6220bcee844cc9ac3d138a41e13b5e5e3ef1fb10fe0d9b3b89b194dcUpdate Token UR ...143622212022-03-10 23:58:43203 days 23 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.01021529 19.91153656
0xce3fe4428207eccb4fdc2387b5639ae75449177827b80b9e0b18a7a41a3998adUpdate Token UR ...142835122022-02-26 18:55:04216 days 4 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.03291514 29.23363199
0x6c271929be5b474447160de0380d8ce33bd02eca07a51d8991563d438b5ae04bSet Approval For...142391682022-02-19 22:33:27223 days 1 hr agoENS Name oveck.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00482958 103.47483302
0x76fa981122978380d6c4587e27a27b14effc37b7298e52b429fd3264e61c62d9Toggle Dates Loc...142383852022-02-19 19:38:43223 days 4 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00318272 69.41900068
0x6e2e3ccf5dec1c9ca7688b32ed43c4fc26976d707066ee8bf58cf3a4c4cb1098Transfer From142381842022-02-19 18:54:56223 days 4 hrs ago0x9e40b2287506bdf4f849524814e5ebe195e20635 IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00935784 61.56679945
0x98da032595373c42ade49748a9a9ab09710b9f5f1c720c90904c8c655d7d659dSet Approval For...142380452022-02-19 18:21:56223 days 5 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.00434182 93.02457456
0xb7bb65a0fa66f0186b04a0945e10574360e3e7176d4136d0197f8f60ad075b18Mint142140452022-02-16 0:45:29226 days 23 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.53184485 151.08949884
0xd7959256ff3ca98bb8da4a1efd81aa450690ad0cd988c9c73e7a84f2d7d00776Update Royalties142138952022-02-16 0:08:47226 days 23 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.01426741 207.42646186
0xf03e49e1e056cb2235a0648e5c4b8d02c196640de36bf9e369ca63b60cb687fbSet Dates142138852022-02-16 0:06:35226 days 23 hrs agoENS Name karsendaily.eth IN  0x2121bc170a8ef73a5cf576bdf5d55f916d58b18b0 Ether0.14254789 217.05476165
0x2dd850de69d843b81b7373a7cb9c8cc0b2962b9d2d4e6fb4568e74fb3fa90d740x60806040142138722022-02-16 0:02:14226 days 23 hrs agoENS Name karsendaily.eth IN  Create: TwentySevenTimes0 Ether0.59842349 146.73284445
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TwentySevenTimes

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : TwentySevenTimes.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @artist: Karsen Daily
/// @author: manifold.xyz

import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

//////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                  //
//                                                                                                  //
//    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\|‾‾‾\      |      //
//    |___________________________________________________________________________|    \     |      //
//    |                                                                           |     \    |      //
//    |                ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥      |      \   |      //
//    |                                                                           |       \  |      //
//    |                                                                           |_________\       //
//    |      /$$$$$$  /$$$$$$$$       /$$$$$$$$ /$$$$$$ /$$      /$$ /$$$$$$$$  /$$$$$$      |      //
//    |     /$$__  $$|_____ $$/      |__  $$__/|_  $$_/| $$$    /$$$| $$_____/ /$$__  $$     |      //
//    |    |__/  \ $$     /$$/          | $$     | $$  | $$$$  /$$$$| $$      | $$  \__/     |      //
//    |      /$$$$$$/    /$$/           | $$     | $$  | $$ $$/$$ $$| $$$$$   |  $$$$$$      |      //
//    |     /$$____/    /$$/            | $$     | $$  | $$  $$$| $$| $$__/    \____  $$     |      //
//    |    | $$        /$$/             | $$     | $$  | $$\  $ | $$| $$       /$$  \ $$     |      //
//    |    | $$$$$$$$ /$$/              | $$    /$$$$$$| $$ \/  | $$| $$$$$$$$|  $$$$$$/     |      //
//    |    |________/|__/               |__/   |______/|__/     |__/|________/ \______/      |      //
//    |                                                                                      |      //
//    |                                                                                      |      //
//    |                         a heartcoded crypto art experience                           |      //
//    |                                  by karsen daily                                     |      //
//    |                                                                                      |      //
//    |                ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥                 |      //
//    |                                                                                      |      //
//    |                                                                                      |      //
//    |                __                             __  __                                 |      //
//    |               / /_  ___     ____ ____  ____  / /_/ /__                               |      //
//    |              / __ \/ _ \   / __ `/ _ \/ __ \/ __/ / _ \                              |      //
//    |             / /_/ /  __/  / /_/ /  __/ / / / /_/ /  __/                              |      //
//    |            /_.___/\___/   \__, /\___/_/ /_/\__/_/\___/                               |      //
//    |                          /____/                                                      |      //
//    |                                         _ __  __                                     |      //
//    |                               _      __(_) /_/ /_     ____ ___  ___                  |      //
//    |                              | | /| / / / __/ __ \   / __ `__ \/ _ \                 |      //
//    |                              | |/ |/ / / /_/ / / /  / / / / / /  __/                 |      //
//    |                              |__/|__/_/\__/_/ /_/  /_/ /_/ /_/\___/                  |      //
//    |                                                                                      |      //
//    |                                                                                      |      //
//    |                                                                                      |      //
//    |                                                                                      |      //
//    |______________________________________________________________________________________|      //
//    \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/      //
//                                                                                                  //
//                                                                                                  //
//                                                                                                  //
//////////////////////////////////////////////////////////////////////////////////////////////////////
contract TwentySevenTimes is ReentrancyGuard, AdminControl, ERC721 {

    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;

    uint256 private _royaltyBps;
    address payable private _royaltyRecipient;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_CREATORCORE = 0xbb3bafd6;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584;

    uint256 _tokenIndex;
    mapping(uint256 => string) private _tokenURIs;
    uint[] _dates;
    bool _datesLocked;

    constructor() ERC721("27 Times by Karsen Daily", "27TIMES") {
        _name = "27 Times by Karsen Daily";
        _symbol = "27TIMES";
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(AdminControl, ERC721) returns (bool) {
        return interfaceId == type(IERC721).interfaceId || AdminControl.supportsInterface(interfaceId) ||
            ERC721.supportsInterface(interfaceId) || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == _INTERFACE_ID_ROYALTIES_CREATORCORE || 
            interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981 || interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return _tokenURIs[tokenId];
    }

    function _beforeTokenTransfer(address, address, uint256) internal virtual override {
        uint timeNow = block.timestamp;
        bool transferrable = false;
        for (uint i = 0; i < _dates.length; i++) {
            uint max = _dates[i] + 24 hours;
            uint min = _dates[i];
            if (timeNow < max && timeNow > min) {
                transferrable = true;
            }
        }
        require(transferrable || !_datesLocked, "Cannot transfer today.");
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view override returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (isAdmin(spender) || spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev uint epoch timestamp during that day. Put in midnight of that day
     */
    function setDates(uint[] memory dates) public adminRequired {
        _dates = dates;
    }

    function toggleDatesLocked() public adminRequired {
        _datesLocked = !_datesLocked;
    }

    function updateTokenURIs(uint[] memory _tokenIds, string[] memory _newTokenURIs) public adminRequired {
        for (uint i = 0; i < _tokenIds.length; i++) {
            _tokenURIs[_tokenIds[i]] = _newTokenURIs[i];
        }
    }

    function mint(address to, string[] memory uris) public adminRequired {
        for (uint i = 0; i < uris.length; i++) {
            _tokenIndex++;
            _tokenURIs[_tokenIndex] = uris[i];
            _mint(to, _tokenIndex);
        }
    }

    /**
     * ROYALTY FUNCTIONS
     */
    function updateRoyalties(address payable recipient, uint256 bps) external adminRequired {
        _royaltyRecipient = recipient;
        _royaltyBps = bps;
    }

    function getRoyalties(uint256) external view returns (address payable[] memory recipients, uint256[] memory bps) {
        if (_royaltyRecipient != address(0x0)) {
            recipients = new address payable[](1);
            recipients[0] = _royaltyRecipient;
            bps = new uint256[](1);
            bps[0] = _royaltyBps;
        }
        return (recipients, bps);
    }

    function getFeeRecipients(uint256) external view returns (address payable[] memory recipients) {
        if (_royaltyRecipient != address(0x0)) {
            recipients = new address payable[](1);
            recipients[0] = _royaltyRecipient;
        }
        return recipients;
    }

    function getFeeBps(uint256) external view returns (uint[] memory bps) {
        if (_royaltyRecipient != address(0x0)) {
            bps = new uint256[](1);
            bps[0] = _royaltyBps;
        }
        return bps;
    }

    function royaltyInfo(uint256, uint256 value) external view returns (address, uint256) {
        return (_royaltyRecipient, value*_royaltyBps/10000);
    }
}

File 2 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 3 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return 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 4 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 5 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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);

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

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 6 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 7 of 15 : AdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IAdminControl.sol";

abstract contract AdminControl is Ownable, IAdminControl, ERC165 {
    using EnumerableSet for EnumerableSet.AddressSet;

    // Track registered admins
    EnumerableSet.AddressSet private _admins;

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

    /**
     * @dev Only allows approved admins to call the specified function
     */
    modifier adminRequired() {
        require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin");
        _;
    }   

    /**
     * @dev See {IAdminControl-getAdmins}.
     */
    function getAdmins() external view override returns (address[] memory admins) {
        admins = new address[](_admins.length());
        for (uint i = 0; i < _admins.length(); i++) {
            admins[i] = _admins.at(i);
        }
        return admins;
    }

    /**
     * @dev See {IAdminControl-approveAdmin}.
     */
    function approveAdmin(address admin) external override onlyOwner {
        if (!_admins.contains(admin)) {
            emit AdminApproved(admin, msg.sender);
            _admins.add(admin);
        }
    }

    /**
     * @dev See {IAdminControl-revokeAdmin}.
     */
    function revokeAdmin(address admin) external override onlyOwner {
        if (_admins.contains(admin)) {
            emit AdminRevoked(admin, msg.sender);
            _admins.remove(admin);
        }
    }

    /**
     * @dev See {IAdminControl-isAdmin}.
     */
    function isAdmin(address admin) public override view returns (bool) {
        return (owner() == admin || _admins.contains(admin));
    }

}

File 8 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 9 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 12 of 15 : IAdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Interface for admin control
 */
interface IAdminControl is IERC165 {

    event AdminApproved(address indexed account, address indexed sender);
    event AdminRevoked(address indexed account, address indexed sender);

    /**
     * @dev gets address of all admins
     */
    function getAdmins() external view returns (address[] memory);

    /**
     * @dev add an admin.  Can only be called by contract owner.
     */
    function approveAdmin(address admin) external;

    /**
     * @dev remove an admin.  Can only be called by contract owner.
     */
    function revokeAdmin(address admin) external;

    /**
     * @dev checks whether or not given address is an admin
     * Returns True if they are
     */
    function isAdmin(address admin) external view returns (bool);

}

File 13 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
    }
}

File 14 of 15 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "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":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminRevoked","type":"event"},{"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":"admin","type":"address"}],"name":"approveAdmin","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":"getAdmins","outputs":[{"internalType":"address[]","name":"admins","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRoyalties","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string[]","name":"uris","type":"string[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"uint256[]","name":"dates","type":"uint256[]"}],"name":"setDates","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":"toggleDatesLocked","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_newTokenURIs","type":"string[]"}],"name":"updateTokenURIs","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601881526020017f32372054696d6573206279204b617273656e204461696c7900000000000000008152506040518060400160405280600781526020017f323754494d4553000000000000000000000000000000000000000000000000008152506001600081905550620000a66200009a6200017c60201b60201c565b6200018460201b60201c565b8160049080519060200190620000be9291906200024a565b508060059080519060200190620000d79291906200024a565b5050506040518060400160405280601881526020017f32372054696d6573206279204b617273656e204461696c790000000000000000815250600a9080519060200190620001279291906200024a565b506040518060400160405280600781526020017f323754494d455300000000000000000000000000000000000000000000000000815250600b9080519060200190620001759291906200024a565b506200035f565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025890620002fa565b90600052602060002090601f0160209004810192826200027c5760008555620002c8565b82601f106200029757805160ff1916838001178555620002c8565b82800160010185558215620002c8579182015b82811115620002c7578251825591602001919060010190620002aa565b5b509050620002d79190620002db565b5090565b5b80821115620002f6576000816000905550600101620002dc565b5090565b600060028204905060018216806200031357607f821691505b602082108114156200032a576200032962000330565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614670806200036f6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636352211e11610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461052a578063d90794cf1461055a578063e985e9c514610576578063f2fde38b146105a6576101cf565b8063a22cb46514610491578063b88d4fde146104ad578063b9c4d9fb146104c9578063bb3bafd6146104f9576101cf565b806370a08231116100de57806370a082311461041b578063715018a61461044b5780638da5cb5b1461045557806395d89b4114610473576101cf565b80636352211e146103b35780636c2f5acd146103e35780636d73e669146103ff576101cf565b806321bc54fd116101715780632a55205a1161014b5780632a55205a1461032c5780632d3456701461035d57806331ae450b1461037957806342842e0e14610397576101cf565b806321bc54fd146102c457806323b872dd146102e057806324d7806c146102fc576101cf565b8063095ea7b3116101ad578063095ea7b3146102525780630ebd4c7f1461026e57806319350e101461029e5780631a0bdcdc146102ba576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190613238565b6105c2565b6040516101fb91906138d0565b60405180910390f35b61020c6107a1565b60405161021991906138eb565b60405180910390f35b61023c60048036038101906102379190613292565b610833565b60405161024991906137a3565b60405180910390f35b61026c60048036038101906102679190613137565b6108b8565b005b61028860048036038101906102839190613292565b6109d0565b60405161029591906138ae565b60405180910390f35b6102b860048036038101906102b391906131c0565b610a9d565b005b6102c2610bad565b005b6102de60048036038101906102d99190613177565b610c69565b005b6102fa60048036038101906102f59190612fc5565b610d13565b005b61031660048036038101906103119190612f18565b610d73565b60405161032391906138d0565b60405180910390f35b610346600480360381019061034191906132bf565b610dcd565b60405161035492919061380a565b60405180910390f35b61037760048036038101906103729190612f18565b610e19565b005b610381610f21565b60405161038e9190613833565b60405180910390f35b6103b160048036038101906103ac9190612fc5565b611003565b005b6103cd60048036038101906103c89190613292565b611023565b6040516103da91906137a3565b60405180910390f35b6103fd60048036038101906103f89190612f45565b6110d5565b005b61041960048036038101906104149190612f18565b6111b1565b005b61043560048036038101906104309190612f18565b6112b8565b6040516104429190613b4d565b60405180910390f35b610453611370565b005b61045d6113f8565b60405161046a91906137a3565b60405180910390f35b61047b611422565b60405161048891906138eb565b60405180910390f35b6104ab60048036038101906104a691906130f7565b6114b4565b005b6104c760048036038101906104c29190613018565b6114ca565b005b6104e360048036038101906104de9190613292565b61152c565b6040516104f09190613855565b60405180910390f35b610513600480360381019061050e9190613292565b611647565b604051610521929190613877565b60405180910390f35b610544600480360381019061053f9190613292565b6117d2565b60405161055191906138eb565b60405180910390f35b610574600480360381019061056f919061309b565b6118bf565b005b610590600480360381019061058b9190612f85565b6119db565b60405161059d91906138d0565b60405180910390f35b6105c060048036038101906105bb9190612f18565b611a6f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610635575061063482611b67565b5b80610645575061064482611be1565b5b806106ad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106fc575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061074b5750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079a575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600a80546107b090613f07565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90613f07565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82611cc3565b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490613a8d565b60405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c382611023565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b90613aed565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610953611d2f565b73ffffffffffffffffffffffffffffffffffffffff16148061098257506109818161097c611d2f565b6119db565b5b6109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b890613a0d565b60405180910390fd5b6109cb8383611d37565b505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a9857600167ffffffffffffffff811115610a4357610a4261409e565b5b604051908082528060200260200182016040528015610a715781602001602082028036833780820191505090505b509050600c5481600081518110610a8b57610a8a61406f565b5b6020026020010181815250505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16610abc6113f8565b73ffffffffffffffffffffffffffffffffffffffff161480610aee5750610aed336002611df090919063ffffffff16565b5b610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2490613b2d565b60405180910390fd5b60005b8251811015610ba857818181518110610b4c57610b4b61406f565b5b6020026020010151600f6000858481518110610b6b57610b6a61406f565b5b602002602001015181526020019081526020016000209080519060200190610b94929190612b70565b508080610ba090613f6a565b915050610b30565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16610bcc6113f8565b73ffffffffffffffffffffffffffffffffffffffff161480610bfe5750610bfd336002611df090919063ffffffff16565b5b610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3490613b2d565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff16610c886113f8565b73ffffffffffffffffffffffffffffffffffffffff161480610cba5750610cb9336002611df090919063ffffffff16565b5b610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090613b2d565b60405180910390fd5b8060109080519060200190610d0f929190612bf6565b5050565b610d24610d1e611d2f565b82611e20565b610d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5a90613b0d565b60405180910390fd5b610d6e838383611f0e565b505050565b60008173ffffffffffffffffffffffffffffffffffffffff16610d946113f8565b73ffffffffffffffffffffffffffffffffffffffff161480610dc65750610dc5826002611df090919063ffffffff16565b5b9050919050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600c5485610e049190613db1565b610e0e9190613d80565b915091509250929050565b610e21611d2f565b73ffffffffffffffffffffffffffffffffffffffff16610e3f6113f8565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90613aad565b60405180910390fd5b610ea9816002611df090919063ffffffff16565b15610f1e573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d560405160405180910390a3610f1c81600261217590919063ffffffff16565b505b50565b6060610f2d60026121a5565b67ffffffffffffffff811115610f4657610f4561409e565b5b604051908082528060200260200182016040528015610f745781602001602082028036833780820191505090505b50905060005b610f8460026121a5565b811015610fff57610f9f8160026121ba90919063ffffffff16565b828281518110610fb257610fb161406f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080610ff790613f6a565b915050610f7a565b5090565b61101e838383604051806020016040528060008152506114ca565b505050565b6000806006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390613a4d565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff166110f46113f8565b73ffffffffffffffffffffffffffffffffffffffff1614806111265750611125336002611df090919063ffffffff16565b5b611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c90613b2d565b60405180910390fd5b81600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c819055505050565b6111b9611d2f565b73ffffffffffffffffffffffffffffffffffffffff166111d76113f8565b73ffffffffffffffffffffffffffffffffffffffff161461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490613aad565b60405180910390fd5b611241816002611df090919063ffffffff16565b6112b5573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb160405160405180910390a36112b38160026121d490919063ffffffff16565b505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090613a2d565b60405180910390fd5b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611378611d2f565b73ffffffffffffffffffffffffffffffffffffffff166113966113f8565b73ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390613aad565b60405180910390fd5b6113f66000612204565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600b805461143190613f07565b80601f016020809104026020016040519081016040528092919081815260200182805461145d90613f07565b80156114aa5780601f1061147f576101008083540402835291602001916114aa565b820191906000526020600020905b81548152906001019060200180831161148d57829003601f168201915b5050505050905090565b6114c66114bf611d2f565b83836122ca565b5050565b6114db6114d5611d2f565b83611e20565b61151a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151190613b0d565b60405180910390fd5b61152684848484612437565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461164257600167ffffffffffffffff81111561159f5761159e61409e565b5b6040519080825280602002602001820160405280156115cd5781602001602082028036833780820191505090505b509050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106116075761160661406f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b919050565b606080600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117cd57600167ffffffffffffffff8111156116bb576116ba61409e565b5b6040519080825280602002602001820160405280156116e95781602001602082028036833780820191505090505b509150600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826000815181106117235761172261406f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600167ffffffffffffffff8111156117785761177761409e565b5b6040519080825280602002602001820160405280156117a65781602001602082028036833780820191505090505b509050600c54816000815181106117c0576117bf61406f565b5b6020026020010181815250505b915091565b60606117dd82611cc3565b61181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613acd565b60405180910390fd5b600f6000838152602001908152602001600020805461183a90613f07565b80601f016020809104026020016040519081016040528092919081815260200182805461186690613f07565b80156118b35780601f10611888576101008083540402835291602001916118b3565b820191906000526020600020905b81548152906001019060200180831161189657829003601f168201915b50505050509050919050565b3373ffffffffffffffffffffffffffffffffffffffff166118de6113f8565b73ffffffffffffffffffffffffffffffffffffffff161480611910575061190f336002611df090919063ffffffff16565b5b61194f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194690613b2d565b60405180910390fd5b60005b81518110156119d657600e600081548092919061196e90613f6a565b91905055508181815181106119865761198561406f565b5b6020026020010151600f6000600e54815260200190815260200160002090805190602001906119b6929190612b70565b506119c383600e54612493565b80806119ce90613f6a565b915050611952565b505050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a77611d2f565b73ffffffffffffffffffffffffffffffffffffffff16611a956113f8565b73ffffffffffffffffffffffffffffffffffffffff1614611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae290613aad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b529061392d565b60405180910390fd5b611b6481612204565b50565b60007f553e757e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bda5750611bd98261266d565b5b9050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611cbc5750611cbb82611b67565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611daa83611023565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e18836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6126d7565b905092915050565b6000611e2b82611cc3565b611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e61906139ed565b60405180910390fd5b6000611e7583611023565b9050611e8084610d73565b80611eb657508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80611ef457508373ffffffffffffffffffffffffffffffffffffffff16611edc84610833565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f055750611f0481856119db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f2e82611023565b73ffffffffffffffffffffffffffffffffffffffff1614611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b9061394d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611feb906139ad565b60405180910390fd5b611fff8383836126fa565b61200a600082611d37565b6001600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461205a9190613e0b565b925050819055506001600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120b19190613d2a565b92505081905550816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121708383836127f1565b505050565b600061219d836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6127f6565b905092915050565b60006121b38260000161290a565b9050919050565b60006121c9836000018361291b565b60001c905092915050565b60006121fc836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612946565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612339576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612330906139cd565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161242a91906138d0565b60405180910390a3505050565b612442848484611f0e565b61244e848484846129b6565b61248d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124849061390d565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fa90613a6d565b60405180910390fd5b61250c81611cc3565b1561254c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125439061396d565b60405180910390fd5b612558600083836126fa565b6001600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a89190613d2a565b92505081905550816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612669600083836127f1565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60004290506000805b601080549050811015612791576000620151806010838154811061272a5761272961406f565b5b906000526020600020015461273f9190613d2a565b90506000601083815481106127575761275661406f565b5b90600052602060002001549050818510801561277257508085115b1561277c57600193505b5050808061278990613f6a565b915050612703565b5080806127ab5750601160009054906101000a900460ff16155b6127ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e19061398d565b60405180910390fd5b5050505050565b505050565b600080836001016000848152602001908152602001600020549050600081146128fe5760006001826128289190613e0b565b90506000600186600001805490506128409190613e0b565b90508181146128af5760008660000182815481106128615761286061406f565b5b90600052602060002001549050808760000184815481106128855761288461406f565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806128c3576128c2614040565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612904565b60009150505b92915050565b600081600001805490509050919050565b60008260000182815481106129335761293261406f565b5b9060005260206000200154905092915050565b600061295283836126d7565b6129ab5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506129b0565b600090505b92915050565b60006129d78473ffffffffffffffffffffffffffffffffffffffff16612b4d565b15612b40578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a00611d2f565b8786866040518563ffffffff1660e01b8152600401612a2294939291906137be565b602060405180830381600087803b158015612a3c57600080fd5b505af1925050508015612a6d57506040513d601f19601f82011682018060405250810190612a6a9190613265565b60015b612af0573d8060008114612a9d576040519150601f19603f3d011682016040523d82523d6000602084013e612aa2565b606091505b50600081511415612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf9061390d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b45565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612b7c90613f07565b90600052602060002090601f016020900481019282612b9e5760008555612be5565b82601f10612bb757805160ff1916838001178555612be5565b82800160010185558215612be5579182015b82811115612be4578251825591602001919060010190612bc9565b5b509050612bf29190612c43565b5090565b828054828255906000526020600020908101928215612c32579160200282015b82811115612c31578251825591602001919060010190612c16565b5b509050612c3f9190612c43565b5090565b5b80821115612c5c576000816000905550600101612c44565b5090565b6000612c73612c6e84613b8d565b613b68565b90508083825260208201905082856020860282011115612c9657612c956140d2565b5b60005b85811015612ce457813567ffffffffffffffff811115612cbc57612cbb6140cd565b5b808601612cc98982612ed5565b85526020850194506020840193505050600181019050612c99565b5050509392505050565b6000612d01612cfc84613bb9565b613b68565b90508083825260208201905082856020860282011115612d2457612d236140d2565b5b60005b85811015612d545781612d3a8882612f03565b845260208401935060208301925050600181019050612d27565b5050509392505050565b6000612d71612d6c84613be5565b613b68565b905082815260208101848484011115612d8d57612d8c6140d7565b5b612d98848285613ec5565b509392505050565b6000612db3612dae84613c16565b613b68565b905082815260208101848484011115612dcf57612dce6140d7565b5b612dda848285613ec5565b509392505050565b600081359050612df1816145c7565b92915050565b600081359050612e06816145de565b92915050565b600082601f830112612e2157612e206140cd565b5b8135612e31848260208601612c60565b91505092915050565b600082601f830112612e4f57612e4e6140cd565b5b8135612e5f848260208601612cee565b91505092915050565b600081359050612e77816145f5565b92915050565b600081359050612e8c8161460c565b92915050565b600081519050612ea18161460c565b92915050565b600082601f830112612ebc57612ebb6140cd565b5b8135612ecc848260208601612d5e565b91505092915050565b600082601f830112612eea57612ee96140cd565b5b8135612efa848260208601612da0565b91505092915050565b600081359050612f1281614623565b92915050565b600060208284031215612f2e57612f2d6140e1565b5b6000612f3c84828501612de2565b91505092915050565b60008060408385031215612f5c57612f5b6140e1565b5b6000612f6a85828601612df7565b9250506020612f7b85828601612f03565b9150509250929050565b60008060408385031215612f9c57612f9b6140e1565b5b6000612faa85828601612de2565b9250506020612fbb85828601612de2565b9150509250929050565b600080600060608486031215612fde57612fdd6140e1565b5b6000612fec86828701612de2565b9350506020612ffd86828701612de2565b925050604061300e86828701612f03565b9150509250925092565b60008060008060808587031215613032576130316140e1565b5b600061304087828801612de2565b945050602061305187828801612de2565b935050604061306287828801612f03565b925050606085013567ffffffffffffffff811115613083576130826140dc565b5b61308f87828801612ea7565b91505092959194509250565b600080604083850312156130b2576130b16140e1565b5b60006130c085828601612de2565b925050602083013567ffffffffffffffff8111156130e1576130e06140dc565b5b6130ed85828601612e0c565b9150509250929050565b6000806040838503121561310e5761310d6140e1565b5b600061311c85828601612de2565b925050602061312d85828601612e68565b9150509250929050565b6000806040838503121561314e5761314d6140e1565b5b600061315c85828601612de2565b925050602061316d85828601612f03565b9150509250929050565b60006020828403121561318d5761318c6140e1565b5b600082013567ffffffffffffffff8111156131ab576131aa6140dc565b5b6131b784828501612e3a565b91505092915050565b600080604083850312156131d7576131d66140e1565b5b600083013567ffffffffffffffff8111156131f5576131f46140dc565b5b61320185828601612e3a565b925050602083013567ffffffffffffffff811115613222576132216140dc565b5b61322e85828601612e0c565b9150509250929050565b60006020828403121561324e5761324d6140e1565b5b600061325c84828501612e7d565b91505092915050565b60006020828403121561327b5761327a6140e1565b5b600061328984828501612e92565b91505092915050565b6000602082840312156132a8576132a76140e1565b5b60006132b684828501612f03565b91505092915050565b600080604083850312156132d6576132d56140e1565b5b60006132e485828601612f03565b92505060206132f585828601612f03565b9150509250929050565b600061330b8383613347565b60208301905092915050565b60006133238383613356565b60208301905092915050565b600061333b8383613785565b60208301905092915050565b61335081613e51565b82525050565b61335f81613e3f565b82525050565b61336e81613e3f565b82525050565b600061337f82613c77565b6133898185613cd5565b935061339483613c47565b8060005b838110156133c55781516133ac8882613317565b97506133b783613cae565b925050600181019050613398565b5085935050505092915050565b60006133dd82613c82565b6133e78185613ce6565b93506133f283613c57565b8060005b8381101561342357815161340a88826132ff565b975061341583613cbb565b9250506001810190506133f6565b5085935050505092915050565b600061343b82613c8d565b6134458185613cf7565b935061345083613c67565b8060005b83811015613481578151613468888261332f565b975061347383613cc8565b925050600181019050613454565b5085935050505092915050565b61349781613e63565b82525050565b60006134a882613c98565b6134b28185613d08565b93506134c2818560208601613ed4565b6134cb816140e6565b840191505092915050565b60006134e182613ca3565b6134eb8185613d19565b93506134fb818560208601613ed4565b613504816140e6565b840191505092915050565b600061351c603283613d19565b9150613527826140f7565b604082019050919050565b600061353f602683613d19565b915061354a82614146565b604082019050919050565b6000613562602583613d19565b915061356d82614195565b604082019050919050565b6000613585601c83613d19565b9150613590826141e4565b602082019050919050565b60006135a8601683613d19565b91506135b38261420d565b602082019050919050565b60006135cb602483613d19565b91506135d682614236565b604082019050919050565b60006135ee601983613d19565b91506135f982614285565b602082019050919050565b6000613611602c83613d19565b915061361c826142ae565b604082019050919050565b6000613634603883613d19565b915061363f826142fd565b604082019050919050565b6000613657602a83613d19565b91506136628261434c565b604082019050919050565b600061367a602983613d19565b91506136858261439b565b604082019050919050565b600061369d602083613d19565b91506136a8826143ea565b602082019050919050565b60006136c0602c83613d19565b91506136cb82614413565b604082019050919050565b60006136e3602083613d19565b91506136ee82614462565b602082019050919050565b6000613706602f83613d19565b91506137118261448b565b604082019050919050565b6000613729602183613d19565b9150613734826144da565b604082019050919050565b600061374c603183613d19565b915061375782614529565b604082019050919050565b600061376f602483613d19565b915061377a82614578565b604082019050919050565b61378e81613ebb565b82525050565b61379d81613ebb565b82525050565b60006020820190506137b86000830184613365565b92915050565b60006080820190506137d36000830187613365565b6137e06020830186613365565b6137ed6040830185613794565b81810360608301526137ff818461349d565b905095945050505050565b600060408201905061381f6000830185613365565b61382c6020830184613794565b9392505050565b6000602082019050818103600083015261384d8184613374565b905092915050565b6000602082019050818103600083015261386f81846133d2565b905092915050565b6000604082019050818103600083015261389181856133d2565b905081810360208301526138a58184613430565b90509392505050565b600060208201905081810360008301526138c88184613430565b905092915050565b60006020820190506138e5600083018461348e565b92915050565b6000602082019050818103600083015261390581846134d6565b905092915050565b600060208201905081810360008301526139268161350f565b9050919050565b6000602082019050818103600083015261394681613532565b9050919050565b6000602082019050818103600083015261396681613555565b9050919050565b6000602082019050818103600083015261398681613578565b9050919050565b600060208201905081810360008301526139a68161359b565b9050919050565b600060208201905081810360008301526139c6816135be565b9050919050565b600060208201905081810360008301526139e6816135e1565b9050919050565b60006020820190508181036000830152613a0681613604565b9050919050565b60006020820190508181036000830152613a2681613627565b9050919050565b60006020820190508181036000830152613a468161364a565b9050919050565b60006020820190508181036000830152613a668161366d565b9050919050565b60006020820190508181036000830152613a8681613690565b9050919050565b60006020820190508181036000830152613aa6816136b3565b9050919050565b60006020820190508181036000830152613ac6816136d6565b9050919050565b60006020820190508181036000830152613ae6816136f9565b9050919050565b60006020820190508181036000830152613b068161371c565b9050919050565b60006020820190508181036000830152613b268161373f565b9050919050565b60006020820190508181036000830152613b4681613762565b9050919050565b6000602082019050613b626000830184613794565b92915050565b6000613b72613b83565b9050613b7e8282613f39565b919050565b6000604051905090565b600067ffffffffffffffff821115613ba857613ba761409e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bd457613bd361409e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613c0057613bff61409e565b5b613c09826140e6565b9050602081019050919050565b600067ffffffffffffffff821115613c3157613c3061409e565b5b613c3a826140e6565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613d3582613ebb565b9150613d4083613ebb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d7557613d74613fb3565b5b828201905092915050565b6000613d8b82613ebb565b9150613d9683613ebb565b925082613da657613da5613fe2565b5b828204905092915050565b6000613dbc82613ebb565b9150613dc783613ebb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e0057613dff613fb3565b5b828202905092915050565b6000613e1682613ebb565b9150613e2183613ebb565b925082821015613e3457613e33613fb3565b5b828203905092915050565b6000613e4a82613e9b565b9050919050565b6000613e5c82613e9b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ef2578082015181840152602081019050613ed7565b83811115613f01576000848401525b50505050565b60006002820490506001821680613f1f57607f821691505b60208210811415613f3357613f32614011565b5b50919050565b613f42826140e6565b810181811067ffffffffffffffff82111715613f6157613f6061409e565b5b80604052505050565b6000613f7582613ebb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fa857613fa7613fb3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e6e6f74207472616e7366657220746f6461792e00000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160008201527f646d696e00000000000000000000000000000000000000000000000000000000602082015250565b6145d081613e3f565b81146145db57600080fd5b50565b6145e781613e51565b81146145f257600080fd5b50565b6145fe81613e63565b811461460957600080fd5b50565b61461581613e6f565b811461462057600080fd5b50565b61462c81613ebb565b811461463757600080fd5b5056fea2646970667358221220f74dce97069178069f700bea359b9c05b4632ee03a8006b90bcdf48861d4529f64736f6c63430008070033

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

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.