ETH Price: $3,322.15 (+2.39%)

Token

Badiucao 巴丢草 - Beijing Olympics 2022 (BEIJING2022)
 

Overview

Max Total Supply

174 BEIJING2022

Holders

90

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Beijing2022

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 *
 *
 * 巴丢草 Badiucao
 *
 * Beijing Olympics 2022 NFT
 *
 * https://beijing2022.art
 *
 * Five unique artworks in editions of 2022.
 *
 * Collectors have the opportunity to write their own
 * message of opposition to China’s authoritarian regime
 * onto the blockchain as part of the minting process,
 * preserving it as a public decentralized record of protest.
 *
 *
 */
contract Beijing2022 is Context, ERC721, Ownable, IERC2981, ERC165Storage {
    using Counters for Counters.Counter;
    event Mint(
        uint256 indexed tokenId,
        uint256 artwork,
        string msg,
        address to
    );

    // artwork supply and price
    uint256 public maxSupplyEachArtwork = 2022;
    uint256 public maxDevMintsPerArtwork = 220;
    uint256 public price = 0.2022 * 10**18;

    // minting open/closed
    bool private _mintOpen;

    // token counters
    Counters.Counter private _tokenIds;
    Counters.Counter[5] private _artworks;
    Counters.Counter[5] private _artworkDevMints;

    // message mapping
    mapping(uint256 => string) public tokenIdToMessage;
    mapping(uint256 => uint256) public tokenIdToArtwork;

    // base token uri
    string private _baseTokenURI;
    string private _contractURI;

    // secondary market royalties
    address public royaltiesAddress = 0x74e513db7C1856f179AaBFd475e85c27FEF69D8A;
    uint256 public royaltiesPercentage = 10;

    // Bytes4 Code for ERC interfaces
    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /**
     * @dev Beijing2022
     * @param name_ - Token Name
     * @param symbol_ - Token Symbol
     * @param baseTokenURI_ - Base token URI for metadata
     * @param contractURI_ - Contract metadata URI
     */
    constructor(
        string memory name_,
        string memory symbol_,
        string memory baseTokenURI_,
        string memory contractURI_
    ) ERC721(name_, symbol_) {
        _baseTokenURI = baseTokenURI_;
        _contractURI = contractURI_;

        // register the supported ERC interfaces
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC2981);

        // deploy with mint closed
        _mintOpen = false;
    }

    /**
     * @dev get contractURI
     * @return the contractURI string
     */
    function contractURI() public view returns (string memory) {
        return _contractURI;
    }

    /**
     * @dev (OnlyOwner) Mint a reserved mint token
     * @param artwork_ - the artwork
     * @param msg_ - the message
     * @param to_ - the receiving address
     */
    function devMint(
        uint256 artwork_,
        string memory msg_,
        address to_
    ) public onlyOwner {
        require(artwork_ >= 1 && artwork_ <= 5, "Artwork id must be 1 thru 5");

        // increment dev mint counter
        _artworkDevMints[artwork_ - 1].increment();
        uint256 devMintCounterId = _artworkDevMints[artwork_ - 1].current();
        require(
            devMintCounterId <= maxDevMintsPerArtwork,
            "Dev mint supply exhausted"
        );
        _mint(artwork_, msg_, to_);
    }

    /**
     * @dev Mint an artwork with a message
     * @param artwork_ - the id of the artwork
     * @param msg_ - the spell string
     */
    function mint(uint256 artwork_, string memory msg_) public payable {
        require(_mintOpen, "Minting is closed");
        require(artwork_ >= 1 && artwork_ <= 5, "Artwork id must be 1 thru 5");

        // increment artwork counter
        _artworks[artwork_ - 1].increment();
        uint256 artworkCounterId = _artworks[artwork_ - 1].current();
        require(
            artworkCounterId + maxDevMintsPerArtwork <= maxSupplyEachArtwork,
            "Artwork Supply Depleted"
        );

        require(msg.value >= price, "Must pay for minting");
        (bool success, ) = owner().call{value: msg.value}("");
        require(success, "Transfer Failed");
        _mint(artwork_, msg_, _msgSender());
    }

    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId_ - the NFT asset queried for royalty information
     * @param salePrice_ - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return donationAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId_, uint256 salePrice_)
        external
        view
        override(IERC2981)
        returns (address receiver, uint256 donationAmount)
    {
        require(_exists(tokenId_), "ERC721: Nonexistent Token ID");
        receiver = royaltiesAddress;
        donationAmount = (salePrice_ * royaltiesPercentage) / 100;
    }

    /**
     * @dev set public minting open or closed
     * @param isOpen_  - boolean open or closed
     */
    function setMintOpen(bool isOpen_) public onlyOwner {
        _mintOpen = isOpen_;
    }

    /**
     * @dev get mint open or closed
     */
    function getMintOpen() public view returns (bool) {
        return _mintOpen;
    }

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

    /**
     * @dev set baseTokenURI
     */
    function setBaseTokenURI(string memory baseTokenURI_) public onlyOwner {
        _baseTokenURI = baseTokenURI_;
    }

    /**
     * @dev set contractURI
     */
    function setContractURI(string memory contractURI_) public onlyOwner {
        _contractURI = contractURI_;
    }

    /**
     * @dev set royalties address
     */
    function setRoyaltiesAddress(address address_) public onlyOwner {
        royaltiesAddress = address_;
    }

    /**
     * @dev set royalty percentage amount
     */
    function setRoyaltiesPercentage(uint256 percentage_) public onlyOwner {
        royaltiesPercentage = percentage_;
    }

    /**
     * @dev Get total token supply
     * @return _tokenID.current() - the current position of the _tokenIDs counter
     */
    function totalSupply() external view returns (uint256) {
        return _tokenIds.current();
    }

    /**
     * @dev get tokenURI
     * @param tokenId - the tokenid
     * @return the tokenURI string
     */
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory baseTokenURI = _baseURI();
        string memory id = Strings.toString(tokenIdToArtwork[tokenId]);
        return
            bytes(baseTokenURI).length > 0
                ? string(abi.encodePacked(baseTokenURI, id, ".json"))
                : "";
    }

    /**
     * @dev Get baseTokenURI
     * @return _baseTokenURI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @dev Mint token, emits a Mint event
     * @param artwork_ - the artwork id
     * @param msg_ - the spell string
     * @param to_ - the receiving address
     */
    function _mint(
        uint256 artwork_,
        string memory msg_,
        address to_
    ) private {
        // increment token id
        _tokenIds.increment();
        uint256 tokenId = _tokenIds.current();

        // store message if exists
        bytes memory stringMem = bytes(msg_);
        if (stringMem.length > 0) {
            tokenIdToMessage[tokenId] = msg_;
        }

        // store artwork id
        tokenIdToArtwork[tokenId] = artwork_;

        _safeMint(to_, tokenId);
        emit Mint(tokenId, artwork_, msg_, to_);
    }
}

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

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

pragma solidity ^0.8.0;

import "./ERC165.sol";

/**
 * @dev Storage based implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165Storage is ERC165 {
    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return super.supportsInterface(interfaceId) || _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

File 4 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 5 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 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 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 10 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 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 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 13 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseTokenURI_","type":"string"},{"internalType":"string","name":"contractURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"artwork","type":"uint256"},{"indexed":false,"internalType":"string","name":"msg","type":"string"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artwork_","type":"uint256"},{"internalType":"string","name":"msg_","type":"string"},{"internalType":"address","name":"to_","type":"address"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintOpen","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":[],"name":"maxDevMintsPerArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyEachArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artwork_","type":"uint256"},{"internalType":"string","name":"msg_","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltiesAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltiesPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"donationAmount","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":"string","name":"baseTokenURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOpen_","type":"bool"}],"name":"setMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setRoyaltiesAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentage_","type":"uint256"}],"name":"setRoyaltiesPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToArtwork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToMessage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526107e660085560dc6009556702ce5bd425958000600a557374e513db7c1856f179aabfd475e85c27fef69d8a601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a601c553480156200008257600080fd5b50604051620049a0380380620049a08339818101604052810190620000a8919062000579565b83838160009080519060200190620000c29291906200032c565b508060019080519060200190620000db9291906200032c565b505050620000fe620000f26200018560201b60201c565b6200018d60201b60201c565b8160199080519060200190620001169291906200032c565b5080601a90805190602001906200012f9291906200032c565b50620001486380ac58cd60e01b6200025360201b60201c565b62000160632a55205a60e01b6200025360201b60201c565b6000600b60006101000a81548160ff021916908315150217905550505050506200074f565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620002bf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b690620006c8565b60405180910390fd5b600160076000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b8280546200033a9062000719565b90600052602060002090601f0160209004810192826200035e5760008555620003aa565b82601f106200037957805160ff1916838001178555620003aa565b82800160010185558215620003aa579182015b82811115620003a95782518255916020019190600101906200038c565b5b509050620003b99190620003bd565b5090565b5b80821115620003d8576000816000905550600101620003be565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200044582620003fa565b810181811067ffffffffffffffff821117156200046757620004666200040b565b5b80604052505050565b60006200047c620003dc565b90506200048a82826200043a565b919050565b600067ffffffffffffffff821115620004ad57620004ac6200040b565b5b620004b882620003fa565b9050602081019050919050565b60005b83811015620004e5578082015181840152602081019050620004c8565b83811115620004f5576000848401525b50505050565b6000620005126200050c846200048f565b62000470565b905082815260208101848484011115620005315762000530620003f5565b5b6200053e848285620004c5565b509392505050565b600082601f8301126200055e576200055d620003f0565b5b815162000570848260208601620004fb565b91505092915050565b60008060008060808587031215620005965762000595620003e6565b5b600085015167ffffffffffffffff811115620005b757620005b6620003eb565b5b620005c58782880162000546565b945050602085015167ffffffffffffffff811115620005e957620005e8620003eb565b5b620005f78782880162000546565b935050604085015167ffffffffffffffff8111156200061b576200061a620003eb565b5b620006298782880162000546565b925050606085015167ffffffffffffffff8111156200064d576200064c620003eb565b5b6200065b8782880162000546565b91505092959194509250565b600082825260208201905092915050565b7f4552433136353a20696e76616c696420696e7465726661636520696400000000600082015250565b6000620006b0601c8362000667565b9150620006bd8262000678565b602082019050919050565b60006020820190508181036000830152620006e381620006a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200073257607f821691505b60208210811415620007495762000748620006ea565b5b50919050565b614241806200075f6000396000f3fe6080604052600436106101f95760003560e01c80638da5cb5b1161010d578063c87b56dd116100a0578063e8a3d4851161006f578063e8a3d48514610737578063e985e9c514610762578063f2fde38b1461079f578063f8004d31146107c8578063ffc1831d146107f1576101f9565b8063c87b56dd14610669578063cafa8dfe146106a6578063cb4c2b41146106d1578063dc95c4a71461070e576101f9565b8063a035b1fe116100dc578063a035b1fe146105c1578063a22cb465146105ec578063b88d4fde14610615578063c7bc9ab71461063e576101f9565b80638da5cb5b14610519578063938e3d7b146105445780639466d2061461056d57806395d89b4114610596576101f9565b806332882535116101905780636352211e1161015f5780636352211e1461042f57806367232e171461046c57806370a08231146104a9578063715018a6146104e657806377097fc8146104fd576101f9565b8063328825351461038757806342842e0e146103b2578063468f98f6146103db5780634b42cdc314610404576101f9565b806318160ddd116101cc57806318160ddd146102cc57806323b872dd146102f75780632a55205a1461032057806330176e131461035e576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612a52565b61081c565b6040516102329190612a9a565b60405180910390f35b34801561024757600080fd5b50610250610896565b60405161025d9190612b4e565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612ba6565b610928565b60405161029a9190612c14565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612c5b565b6109ad565b005b3480156102d857600080fd5b506102e1610ac5565b6040516102ee9190612caa565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190612cc5565b610ad6565b005b34801561032c57600080fd5b5061034760048036038101906103429190612d18565b610b36565b604051610355929190612d58565b60405180910390f35b34801561036a57600080fd5b5061038560048036038101906103809190612eb6565b610bc9565b005b34801561039357600080fd5b5061039c610c5f565b6040516103a99190612c14565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190612cc5565b610c85565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190612eff565b610ca5565b005b34801561041057600080fd5b50610419610e1e565b6040516104269190612caa565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190612ba6565b610e24565b6040516104639190612c14565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e9190612ba6565b610ed6565b6040516104a09190612b4e565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190612f6e565b610f76565b6040516104dd9190612caa565b60405180910390f35b3480156104f257600080fd5b506104fb61102e565b005b61051760048036038101906105129190612f9b565b6110b6565b005b34801561052557600080fd5b5061052e61130e565b60405161053b9190612c14565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190612eb6565b611338565b005b34801561057957600080fd5b50610594600480360381019061058f9190612ba6565b6113ce565b005b3480156105a257600080fd5b506105ab611454565b6040516105b89190612b4e565b60405180910390f35b3480156105cd57600080fd5b506105d66114e6565b6040516105e39190612caa565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e9190613023565b6114ec565b005b34801561062157600080fd5b5061063c60048036038101906106379190613104565b611502565b005b34801561064a57600080fd5b50610653611564565b6040516106609190612caa565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190612ba6565b61156a565b60405161069d9190612b4e565b60405180910390f35b3480156106b257600080fd5b506106bb61162a565b6040516106c89190612caa565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190612ba6565b611630565b6040516107059190612caa565b60405180910390f35b34801561071a57600080fd5b5061073560048036038101906107309190612f6e565b611648565b005b34801561074357600080fd5b5061074c611708565b6040516107599190612b4e565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190613187565b61179a565b6040516107969190612a9a565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190612f6e565b61182e565b005b3480156107d457600080fd5b506107ef60048036038101906107ea91906131c7565b611926565b005b3480156107fd57600080fd5b506108066119bf565b6040516108139190612a9a565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088f575061088e826119d6565b5b9050919050565b6060600080546108a590613223565b80601f01602080910402602001604051908101604052809291908181526020018280546108d190613223565b801561091e5780601f106108f35761010080835404028352916020019161091e565b820191906000526020600020905b81548152906001019060200180831161090157829003601f168201915b5050505050905090565b600061093382611a4e565b610972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610969906132c7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b882610e24565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2090613359565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a48611aba565b73ffffffffffffffffffffffffffffffffffffffff161480610a775750610a7681610a71611aba565b61179a565b5b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906133eb565b60405180910390fd5b610ac08383611ac2565b505050565b6000610ad1600c611b7b565b905090565b610ae7610ae1611aba565b82611b89565b610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d9061347d565b60405180910390fd5b610b31838383611c67565b505050565b600080610b4284611a4e565b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b78906134e9565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506064601c5484610bb69190613538565b610bc091906135c1565b90509250929050565b610bd1611aba565b73ffffffffffffffffffffffffffffffffffffffff16610bef61130e565b73ffffffffffffffffffffffffffffffffffffffff1614610c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3c9061363e565b60405180910390fd5b8060199080519060200190610c5b929190612943565b5050565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ca083838360405180602001604052806000815250611502565b505050565b610cad611aba565b73ffffffffffffffffffffffffffffffffffffffff16610ccb61130e565b73ffffffffffffffffffffffffffffffffffffffff1614610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d189061363e565b60405180910390fd5b60018310158015610d33575060058311155b610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d69906136aa565b60405180910390fd5b610d9b6012600185610d8491906136ca565b60058110610d9557610d946136fe565b5b01611ec3565b6000610dc66012600186610daf91906136ca565b60058110610dc057610dbf6136fe565b5b01611b7b565b9050600954811115610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613779565b60405180910390fd5b610e18848484611ed9565b50505050565b60095481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec49061380b565b60405180910390fd5b80915050919050565b60176020528060005260406000206000915090508054610ef590613223565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2190613223565b8015610f6e5780601f10610f4357610100808354040283529160200191610f6e565b820191906000526020600020905b815481529060010190602001808311610f5157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde9061389d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611036611aba565b73ffffffffffffffffffffffffffffffffffffffff1661105461130e565b73ffffffffffffffffffffffffffffffffffffffff16146110aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a19061363e565b60405180910390fd5b6110b46000611f8e565b565b600b60009054906101000a900460ff16611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90613909565b60405180910390fd5b60018210158015611117575060058211155b611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d906136aa565b60405180910390fd5b61117f600d60018461116891906136ca565b60058110611179576111786136fe565b5b01611ec3565b60006111aa600d60018561119391906136ca565b600581106111a4576111a36136fe565b5b01611b7b565b9050600854600954826111bd9190613929565b11156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f5906139cb565b60405180910390fd5b600a54341015611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90613a37565b60405180910390fd5b600061124d61130e565b73ffffffffffffffffffffffffffffffffffffffff163460405161127090613a88565b60006040518083038185875af1925050503d80600081146112ad576040519150601f19603f3d011682016040523d82523d6000602084013e6112b2565b606091505b50509050806112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90613ae9565b60405180910390fd5b6113088484611303611aba565b611ed9565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611340611aba565b73ffffffffffffffffffffffffffffffffffffffff1661135e61130e565b73ffffffffffffffffffffffffffffffffffffffff16146113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab9061363e565b60405180910390fd5b80601a90805190602001906113ca929190612943565b5050565b6113d6611aba565b73ffffffffffffffffffffffffffffffffffffffff166113f461130e565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114419061363e565b60405180910390fd5b80601c8190555050565b60606001805461146390613223565b80601f016020809104026020016040519081016040528092919081815260200182805461148f90613223565b80156114dc5780601f106114b1576101008083540402835291602001916114dc565b820191906000526020600020905b8154815290600101906020018083116114bf57829003601f168201915b5050505050905090565b600a5481565b6114fe6114f7611aba565b8383612054565b5050565b61151361150d611aba565b83611b89565b611552576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115499061347d565b60405180910390fd5b61155e848484846121c1565b50505050565b60085481565b606061157582611a4e565b6115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab90613b7b565b60405180910390fd5b60006115be61221d565b905060006115de60186000868152602001908152602001600020546122af565b905060008251116115fe5760405180602001604052806000815250611621565b8181604051602001611611929190613c23565b6040516020818303038152906040525b92505050919050565b601c5481565b60186020528060005260406000206000915090505481565b611650611aba565b73ffffffffffffffffffffffffffffffffffffffff1661166e61130e565b73ffffffffffffffffffffffffffffffffffffffff16146116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb9061363e565b60405180910390fd5b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060601a805461171790613223565b80601f016020809104026020016040519081016040528092919081815260200182805461174390613223565b80156117905780601f1061176557610100808354040283529160200191611790565b820191906000526020600020905b81548152906001019060200180831161177357829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611836611aba565b73ffffffffffffffffffffffffffffffffffffffff1661185461130e565b73ffffffffffffffffffffffffffffffffffffffff16146118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a19061363e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190613cc4565b60405180910390fd5b61192381611f8e565b50565b61192e611aba565b73ffffffffffffffffffffffffffffffffffffffff1661194c61130e565b73ffffffffffffffffffffffffffffffffffffffff16146119a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119999061363e565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6000600b60009054906101000a900460ff16905090565b60006119e182612410565b80611a47575060076000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b3583610e24565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611b9482611a4e565b611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca90613d56565b60405180910390fd5b6000611bde83610e24565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c4d57508373ffffffffffffffffffffffffffffffffffffffff16611c3584610928565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c5e5750611c5d818561179a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c8782610e24565b73ffffffffffffffffffffffffffffffffffffffff1614611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490613de8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4490613e7a565b60405180910390fd5b611d588383836124f2565b611d63600082611ac2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611db391906136ca565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e0a9190613929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b611ee3600c611ec3565b6000611eef600c611b7b565b90506000839050600081511115611f295783601760008481526020019081526020016000209080519060200190611f27929190612943565b505b846018600084815260200190815260200160002081905550611f4b83836124f7565b817f2282aaf4c9a52be4e49046bb33fc7011b4fdf6f077305ea3a1916c75b28066e2868686604051611f7f93929190613e9a565b60405180910390a25050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ba90613f24565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b49190612a9a565b60405180910390a3505050565b6121cc848484611c67565b6121d884848484612515565b612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e90613fb6565b60405180910390fd5b50505050565b60606019805461222c90613223565b80601f016020809104026020016040519081016040528092919081815260200182805461225890613223565b80156122a55780601f1061227a576101008083540402835291602001916122a5565b820191906000526020600020905b81548152906001019060200180831161228857829003601f168201915b5050505050905090565b606060008214156122f7576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061240b565b600082905060005b6000821461232957808061231290613fd6565b915050600a8261232291906135c1565b91506122ff565b60008167ffffffffffffffff81111561234557612344612d8b565b5b6040519080825280601f01601f1916602001820160405280156123775781602001600182028036833780820191505090505b5090505b600085146124045760018261239091906136ca565b9150600a8561239f919061401f565b60306123ab9190613929565b60f81b8183815181106123c1576123c06136fe565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123fd91906135c1565b945061237b565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124db57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124eb57506124ea8261269d565b5b9050919050565b505050565b612511828260405180602001604052806000815250612707565b5050565b60006125368473ffffffffffffffffffffffffffffffffffffffff16612762565b15612690578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261255f611aba565b8786866040518563ffffffff1660e01b815260040161258194939291906140a5565b6020604051808303816000875af19250505080156125bd57506040513d601f19601f820116820180604052508101906125ba9190614106565b60015b612640573d80600081146125ed576040519150601f19603f3d011682016040523d82523d6000602084013e6125f2565b606091505b50600081511415612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90613fb6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612695565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127118383612775565b61271e6000848484612515565b61275d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275490613fb6565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dc9061417f565b60405180910390fd5b6127ee81611a4e565b1561282e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612825906141eb565b60405180910390fd5b61283a600083836124f2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288a9190613929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461294f90613223565b90600052602060002090601f01602090048101928261297157600085556129b8565b82601f1061298a57805160ff19168380011785556129b8565b828001600101855582156129b8579182015b828111156129b757825182559160200191906001019061299c565b5b5090506129c591906129c9565b5090565b5b808211156129e25760008160009055506001016129ca565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a2f816129fa565b8114612a3a57600080fd5b50565b600081359050612a4c81612a26565b92915050565b600060208284031215612a6857612a676129f0565b5b6000612a7684828501612a3d565b91505092915050565b60008115159050919050565b612a9481612a7f565b82525050565b6000602082019050612aaf6000830184612a8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612aef578082015181840152602081019050612ad4565b83811115612afe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b2082612ab5565b612b2a8185612ac0565b9350612b3a818560208601612ad1565b612b4381612b04565b840191505092915050565b60006020820190508181036000830152612b688184612b15565b905092915050565b6000819050919050565b612b8381612b70565b8114612b8e57600080fd5b50565b600081359050612ba081612b7a565b92915050565b600060208284031215612bbc57612bbb6129f0565b5b6000612bca84828501612b91565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bfe82612bd3565b9050919050565b612c0e81612bf3565b82525050565b6000602082019050612c296000830184612c05565b92915050565b612c3881612bf3565b8114612c4357600080fd5b50565b600081359050612c5581612c2f565b92915050565b60008060408385031215612c7257612c716129f0565b5b6000612c8085828601612c46565b9250506020612c9185828601612b91565b9150509250929050565b612ca481612b70565b82525050565b6000602082019050612cbf6000830184612c9b565b92915050565b600080600060608486031215612cde57612cdd6129f0565b5b6000612cec86828701612c46565b9350506020612cfd86828701612c46565b9250506040612d0e86828701612b91565b9150509250925092565b60008060408385031215612d2f57612d2e6129f0565b5b6000612d3d85828601612b91565b9250506020612d4e85828601612b91565b9150509250929050565b6000604082019050612d6d6000830185612c05565b612d7a6020830184612c9b565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612dc382612b04565b810181811067ffffffffffffffff82111715612de257612de1612d8b565b5b80604052505050565b6000612df56129e6565b9050612e018282612dba565b919050565b600067ffffffffffffffff821115612e2157612e20612d8b565b5b612e2a82612b04565b9050602081019050919050565b82818337600083830152505050565b6000612e59612e5484612e06565b612deb565b905082815260208101848484011115612e7557612e74612d86565b5b612e80848285612e37565b509392505050565b600082601f830112612e9d57612e9c612d81565b5b8135612ead848260208601612e46565b91505092915050565b600060208284031215612ecc57612ecb6129f0565b5b600082013567ffffffffffffffff811115612eea57612ee96129f5565b5b612ef684828501612e88565b91505092915050565b600080600060608486031215612f1857612f176129f0565b5b6000612f2686828701612b91565b935050602084013567ffffffffffffffff811115612f4757612f466129f5565b5b612f5386828701612e88565b9250506040612f6486828701612c46565b9150509250925092565b600060208284031215612f8457612f836129f0565b5b6000612f9284828501612c46565b91505092915050565b60008060408385031215612fb257612fb16129f0565b5b6000612fc085828601612b91565b925050602083013567ffffffffffffffff811115612fe157612fe06129f5565b5b612fed85828601612e88565b9150509250929050565b61300081612a7f565b811461300b57600080fd5b50565b60008135905061301d81612ff7565b92915050565b6000806040838503121561303a576130396129f0565b5b600061304885828601612c46565b92505060206130598582860161300e565b9150509250929050565b600067ffffffffffffffff82111561307e5761307d612d8b565b5b61308782612b04565b9050602081019050919050565b60006130a76130a284613063565b612deb565b9050828152602081018484840111156130c3576130c2612d86565b5b6130ce848285612e37565b509392505050565b600082601f8301126130eb576130ea612d81565b5b81356130fb848260208601613094565b91505092915050565b6000806000806080858703121561311e5761311d6129f0565b5b600061312c87828801612c46565b945050602061313d87828801612c46565b935050604061314e87828801612b91565b925050606085013567ffffffffffffffff81111561316f5761316e6129f5565b5b61317b878288016130d6565b91505092959194509250565b6000806040838503121561319e5761319d6129f0565b5b60006131ac85828601612c46565b92505060206131bd85828601612c46565b9150509250929050565b6000602082840312156131dd576131dc6129f0565b5b60006131eb8482850161300e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061323b57607f821691505b6020821081141561324f5761324e6131f4565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006132b1602c83612ac0565b91506132bc82613255565b604082019050919050565b600060208201905081810360008301526132e0816132a4565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613343602183612ac0565b915061334e826132e7565b604082019050919050565b6000602082019050818103600083015261337281613336565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133d5603883612ac0565b91506133e082613379565b604082019050919050565b60006020820190508181036000830152613404816133c8565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613467603183612ac0565b91506134728261340b565b604082019050919050565b600060208201905081810360008301526134968161345a565b9050919050565b7f4552433732313a204e6f6e6578697374656e7420546f6b656e20494400000000600082015250565b60006134d3601c83612ac0565b91506134de8261349d565b602082019050919050565b60006020820190508181036000830152613502816134c6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061354382612b70565b915061354e83612b70565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561358757613586613509565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135cc82612b70565b91506135d783612b70565b9250826135e7576135e6613592565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613628602083612ac0565b9150613633826135f2565b602082019050919050565b600060208201905081810360008301526136578161361b565b9050919050565b7f417274776f726b206964206d7573742062652031207468727520350000000000600082015250565b6000613694601b83612ac0565b915061369f8261365e565b602082019050919050565b600060208201905081810360008301526136c381613687565b9050919050565b60006136d582612b70565b91506136e083612b70565b9250828210156136f3576136f2613509565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f446576206d696e7420737570706c792065786861757374656400000000000000600082015250565b6000613763601983612ac0565b915061376e8261372d565b602082019050919050565b6000602082019050818103600083015261379281613756565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006137f5602983612ac0565b915061380082613799565b604082019050919050565b60006020820190508181036000830152613824816137e8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613887602a83612ac0565b91506138928261382b565b604082019050919050565b600060208201905081810360008301526138b68161387a565b9050919050565b7f4d696e74696e6720697320636c6f736564000000000000000000000000000000600082015250565b60006138f3601183612ac0565b91506138fe826138bd565b602082019050919050565b60006020820190508181036000830152613922816138e6565b9050919050565b600061393482612b70565b915061393f83612b70565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561397457613973613509565b5b828201905092915050565b7f417274776f726b20537570706c79204465706c65746564000000000000000000600082015250565b60006139b5601783612ac0565b91506139c08261397f565b602082019050919050565b600060208201905081810360008301526139e4816139a8565b9050919050565b7f4d7573742070617920666f72206d696e74696e67000000000000000000000000600082015250565b6000613a21601483612ac0565b9150613a2c826139eb565b602082019050919050565b60006020820190508181036000830152613a5081613a14565b9050919050565b600081905092915050565b50565b6000613a72600083613a57565b9150613a7d82613a62565b600082019050919050565b6000613a9382613a65565b9150819050919050565b7f5472616e73666572204661696c65640000000000000000000000000000000000600082015250565b6000613ad3600f83612ac0565b9150613ade82613a9d565b602082019050919050565b60006020820190508181036000830152613b0281613ac6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613b65602f83612ac0565b9150613b7082613b09565b604082019050919050565b60006020820190508181036000830152613b9481613b58565b9050919050565b600081905092915050565b6000613bb182612ab5565b613bbb8185613b9b565b9350613bcb818560208601612ad1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613c0d600583613b9b565b9150613c1882613bd7565b600582019050919050565b6000613c2f8285613ba6565b9150613c3b8284613ba6565b9150613c4682613c00565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cae602683612ac0565b9150613cb982613c52565b604082019050919050565b60006020820190508181036000830152613cdd81613ca1565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d40602c83612ac0565b9150613d4b82613ce4565b604082019050919050565b60006020820190508181036000830152613d6f81613d33565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613dd2602983612ac0565b9150613ddd82613d76565b604082019050919050565b60006020820190508181036000830152613e0181613dc5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613e64602483612ac0565b9150613e6f82613e08565b604082019050919050565b60006020820190508181036000830152613e9381613e57565b9050919050565b6000606082019050613eaf6000830186612c9b565b8181036020830152613ec18185612b15565b9050613ed06040830184612c05565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613f0e601983612ac0565b9150613f1982613ed8565b602082019050919050565b60006020820190508181036000830152613f3d81613f01565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613fa0603283612ac0565b9150613fab82613f44565b604082019050919050565b60006020820190508181036000830152613fcf81613f93565b9050919050565b6000613fe182612b70565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561401457614013613509565b5b600182019050919050565b600061402a82612b70565b915061403583612b70565b92508261404557614044613592565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061407782614050565b614081818561405b565b9350614091818560208601612ad1565b61409a81612b04565b840191505092915050565b60006080820190506140ba6000830187612c05565b6140c76020830186612c05565b6140d46040830185612c9b565b81810360608301526140e6818461406c565b905095945050505050565b60008151905061410081612a26565b92915050565b60006020828403121561411c5761411b6129f0565b5b600061412a848285016140f1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614169602083612ac0565b915061417482614133565b602082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141d5601c83612ac0565b91506141e08261419f565b602082019050919050565b60006020820190508181036000830152614204816141c8565b905091905056fea26469706673582212208c57e9a4de5757e74c4c638b659c2bb2d6c09604f57f7924ed6d1a22c216f1ec64736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002a426164697563616f20e5b7b4e4b8a2e88d89202d204265696a696e67204f6c796d70696373203230323200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4245494a494e4732303232000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d61364265584b3338706f734431457678543934367852503943745070354c6a775366423768734241704356682f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f516d61364265584b3338706f734431457678543934367852503943745070354c6a775366423768734241704356682f636f6e74726163742e6a736f6e000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80638da5cb5b1161010d578063c87b56dd116100a0578063e8a3d4851161006f578063e8a3d48514610737578063e985e9c514610762578063f2fde38b1461079f578063f8004d31146107c8578063ffc1831d146107f1576101f9565b8063c87b56dd14610669578063cafa8dfe146106a6578063cb4c2b41146106d1578063dc95c4a71461070e576101f9565b8063a035b1fe116100dc578063a035b1fe146105c1578063a22cb465146105ec578063b88d4fde14610615578063c7bc9ab71461063e576101f9565b80638da5cb5b14610519578063938e3d7b146105445780639466d2061461056d57806395d89b4114610596576101f9565b806332882535116101905780636352211e1161015f5780636352211e1461042f57806367232e171461046c57806370a08231146104a9578063715018a6146104e657806377097fc8146104fd576101f9565b8063328825351461038757806342842e0e146103b2578063468f98f6146103db5780634b42cdc314610404576101f9565b806318160ddd116101cc57806318160ddd146102cc57806323b872dd146102f75780632a55205a1461032057806330176e131461035e576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612a52565b61081c565b6040516102329190612a9a565b60405180910390f35b34801561024757600080fd5b50610250610896565b60405161025d9190612b4e565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612ba6565b610928565b60405161029a9190612c14565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612c5b565b6109ad565b005b3480156102d857600080fd5b506102e1610ac5565b6040516102ee9190612caa565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190612cc5565b610ad6565b005b34801561032c57600080fd5b5061034760048036038101906103429190612d18565b610b36565b604051610355929190612d58565b60405180910390f35b34801561036a57600080fd5b5061038560048036038101906103809190612eb6565b610bc9565b005b34801561039357600080fd5b5061039c610c5f565b6040516103a99190612c14565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190612cc5565b610c85565b005b3480156103e757600080fd5b5061040260048036038101906103fd9190612eff565b610ca5565b005b34801561041057600080fd5b50610419610e1e565b6040516104269190612caa565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190612ba6565b610e24565b6040516104639190612c14565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e9190612ba6565b610ed6565b6040516104a09190612b4e565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190612f6e565b610f76565b6040516104dd9190612caa565b60405180910390f35b3480156104f257600080fd5b506104fb61102e565b005b61051760048036038101906105129190612f9b565b6110b6565b005b34801561052557600080fd5b5061052e61130e565b60405161053b9190612c14565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190612eb6565b611338565b005b34801561057957600080fd5b50610594600480360381019061058f9190612ba6565b6113ce565b005b3480156105a257600080fd5b506105ab611454565b6040516105b89190612b4e565b60405180910390f35b3480156105cd57600080fd5b506105d66114e6565b6040516105e39190612caa565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e9190613023565b6114ec565b005b34801561062157600080fd5b5061063c60048036038101906106379190613104565b611502565b005b34801561064a57600080fd5b50610653611564565b6040516106609190612caa565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b9190612ba6565b61156a565b60405161069d9190612b4e565b60405180910390f35b3480156106b257600080fd5b506106bb61162a565b6040516106c89190612caa565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190612ba6565b611630565b6040516107059190612caa565b60405180910390f35b34801561071a57600080fd5b5061073560048036038101906107309190612f6e565b611648565b005b34801561074357600080fd5b5061074c611708565b6040516107599190612b4e565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190613187565b61179a565b6040516107969190612a9a565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190612f6e565b61182e565b005b3480156107d457600080fd5b506107ef60048036038101906107ea91906131c7565b611926565b005b3480156107fd57600080fd5b506108066119bf565b6040516108139190612a9a565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088f575061088e826119d6565b5b9050919050565b6060600080546108a590613223565b80601f01602080910402602001604051908101604052809291908181526020018280546108d190613223565b801561091e5780601f106108f35761010080835404028352916020019161091e565b820191906000526020600020905b81548152906001019060200180831161090157829003601f168201915b5050505050905090565b600061093382611a4e565b610972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610969906132c7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b882610e24565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2090613359565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a48611aba565b73ffffffffffffffffffffffffffffffffffffffff161480610a775750610a7681610a71611aba565b61179a565b5b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906133eb565b60405180910390fd5b610ac08383611ac2565b505050565b6000610ad1600c611b7b565b905090565b610ae7610ae1611aba565b82611b89565b610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d9061347d565b60405180910390fd5b610b31838383611c67565b505050565b600080610b4284611a4e565b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b78906134e9565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506064601c5484610bb69190613538565b610bc091906135c1565b90509250929050565b610bd1611aba565b73ffffffffffffffffffffffffffffffffffffffff16610bef61130e565b73ffffffffffffffffffffffffffffffffffffffff1614610c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3c9061363e565b60405180910390fd5b8060199080519060200190610c5b929190612943565b5050565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ca083838360405180602001604052806000815250611502565b505050565b610cad611aba565b73ffffffffffffffffffffffffffffffffffffffff16610ccb61130e565b73ffffffffffffffffffffffffffffffffffffffff1614610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d189061363e565b60405180910390fd5b60018310158015610d33575060058311155b610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d69906136aa565b60405180910390fd5b610d9b6012600185610d8491906136ca565b60058110610d9557610d946136fe565b5b01611ec3565b6000610dc66012600186610daf91906136ca565b60058110610dc057610dbf6136fe565b5b01611b7b565b9050600954811115610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613779565b60405180910390fd5b610e18848484611ed9565b50505050565b60095481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec49061380b565b60405180910390fd5b80915050919050565b60176020528060005260406000206000915090508054610ef590613223565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2190613223565b8015610f6e5780601f10610f4357610100808354040283529160200191610f6e565b820191906000526020600020905b815481529060010190602001808311610f5157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde9061389d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611036611aba565b73ffffffffffffffffffffffffffffffffffffffff1661105461130e565b73ffffffffffffffffffffffffffffffffffffffff16146110aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a19061363e565b60405180910390fd5b6110b46000611f8e565b565b600b60009054906101000a900460ff16611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90613909565b60405180910390fd5b60018210158015611117575060058211155b611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d906136aa565b60405180910390fd5b61117f600d60018461116891906136ca565b60058110611179576111786136fe565b5b01611ec3565b60006111aa600d60018561119391906136ca565b600581106111a4576111a36136fe565b5b01611b7b565b9050600854600954826111bd9190613929565b11156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f5906139cb565b60405180910390fd5b600a54341015611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90613a37565b60405180910390fd5b600061124d61130e565b73ffffffffffffffffffffffffffffffffffffffff163460405161127090613a88565b60006040518083038185875af1925050503d80600081146112ad576040519150601f19603f3d011682016040523d82523d6000602084013e6112b2565b606091505b50509050806112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90613ae9565b60405180910390fd5b6113088484611303611aba565b611ed9565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611340611aba565b73ffffffffffffffffffffffffffffffffffffffff1661135e61130e565b73ffffffffffffffffffffffffffffffffffffffff16146113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab9061363e565b60405180910390fd5b80601a90805190602001906113ca929190612943565b5050565b6113d6611aba565b73ffffffffffffffffffffffffffffffffffffffff166113f461130e565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114419061363e565b60405180910390fd5b80601c8190555050565b60606001805461146390613223565b80601f016020809104026020016040519081016040528092919081815260200182805461148f90613223565b80156114dc5780601f106114b1576101008083540402835291602001916114dc565b820191906000526020600020905b8154815290600101906020018083116114bf57829003601f168201915b5050505050905090565b600a5481565b6114fe6114f7611aba565b8383612054565b5050565b61151361150d611aba565b83611b89565b611552576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115499061347d565b60405180910390fd5b61155e848484846121c1565b50505050565b60085481565b606061157582611a4e565b6115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab90613b7b565b60405180910390fd5b60006115be61221d565b905060006115de60186000868152602001908152602001600020546122af565b905060008251116115fe5760405180602001604052806000815250611621565b8181604051602001611611929190613c23565b6040516020818303038152906040525b92505050919050565b601c5481565b60186020528060005260406000206000915090505481565b611650611aba565b73ffffffffffffffffffffffffffffffffffffffff1661166e61130e565b73ffffffffffffffffffffffffffffffffffffffff16146116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb9061363e565b60405180910390fd5b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060601a805461171790613223565b80601f016020809104026020016040519081016040528092919081815260200182805461174390613223565b80156117905780601f1061176557610100808354040283529160200191611790565b820191906000526020600020905b81548152906001019060200180831161177357829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611836611aba565b73ffffffffffffffffffffffffffffffffffffffff1661185461130e565b73ffffffffffffffffffffffffffffffffffffffff16146118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a19061363e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190613cc4565b60405180910390fd5b61192381611f8e565b50565b61192e611aba565b73ffffffffffffffffffffffffffffffffffffffff1661194c61130e565b73ffffffffffffffffffffffffffffffffffffffff16146119a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119999061363e565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6000600b60009054906101000a900460ff16905090565b60006119e182612410565b80611a47575060076000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b3583610e24565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611b9482611a4e565b611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca90613d56565b60405180910390fd5b6000611bde83610e24565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c4d57508373ffffffffffffffffffffffffffffffffffffffff16611c3584610928565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c5e5750611c5d818561179a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c8782610e24565b73ffffffffffffffffffffffffffffffffffffffff1614611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490613de8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4490613e7a565b60405180910390fd5b611d588383836124f2565b611d63600082611ac2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611db391906136ca565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e0a9190613929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b611ee3600c611ec3565b6000611eef600c611b7b565b90506000839050600081511115611f295783601760008481526020019081526020016000209080519060200190611f27929190612943565b505b846018600084815260200190815260200160002081905550611f4b83836124f7565b817f2282aaf4c9a52be4e49046bb33fc7011b4fdf6f077305ea3a1916c75b28066e2868686604051611f7f93929190613e9a565b60405180910390a25050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ba90613f24565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b49190612a9a565b60405180910390a3505050565b6121cc848484611c67565b6121d884848484612515565b612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e90613fb6565b60405180910390fd5b50505050565b60606019805461222c90613223565b80601f016020809104026020016040519081016040528092919081815260200182805461225890613223565b80156122a55780601f1061227a576101008083540402835291602001916122a5565b820191906000526020600020905b81548152906001019060200180831161228857829003601f168201915b5050505050905090565b606060008214156122f7576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061240b565b600082905060005b6000821461232957808061231290613fd6565b915050600a8261232291906135c1565b91506122ff565b60008167ffffffffffffffff81111561234557612344612d8b565b5b6040519080825280601f01601f1916602001820160405280156123775781602001600182028036833780820191505090505b5090505b600085146124045760018261239091906136ca565b9150600a8561239f919061401f565b60306123ab9190613929565b60f81b8183815181106123c1576123c06136fe565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123fd91906135c1565b945061237b565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124db57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124eb57506124ea8261269d565b5b9050919050565b505050565b612511828260405180602001604052806000815250612707565b5050565b60006125368473ffffffffffffffffffffffffffffffffffffffff16612762565b15612690578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261255f611aba565b8786866040518563ffffffff1660e01b815260040161258194939291906140a5565b6020604051808303816000875af19250505080156125bd57506040513d601f19601f820116820180604052508101906125ba9190614106565b60015b612640573d80600081146125ed576040519150601f19603f3d011682016040523d82523d6000602084013e6125f2565b606091505b50600081511415612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90613fb6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612695565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127118383612775565b61271e6000848484612515565b61275d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275490613fb6565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dc9061417f565b60405180910390fd5b6127ee81611a4e565b1561282e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612825906141eb565b60405180910390fd5b61283a600083836124f2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288a9190613929565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461294f90613223565b90600052602060002090601f01602090048101928261297157600085556129b8565b82601f1061298a57805160ff19168380011785556129b8565b828001600101855582156129b8579182015b828111156129b757825182559160200191906001019061299c565b5b5090506129c591906129c9565b5090565b5b808211156129e25760008160009055506001016129ca565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a2f816129fa565b8114612a3a57600080fd5b50565b600081359050612a4c81612a26565b92915050565b600060208284031215612a6857612a676129f0565b5b6000612a7684828501612a3d565b91505092915050565b60008115159050919050565b612a9481612a7f565b82525050565b6000602082019050612aaf6000830184612a8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612aef578082015181840152602081019050612ad4565b83811115612afe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b2082612ab5565b612b2a8185612ac0565b9350612b3a818560208601612ad1565b612b4381612b04565b840191505092915050565b60006020820190508181036000830152612b688184612b15565b905092915050565b6000819050919050565b612b8381612b70565b8114612b8e57600080fd5b50565b600081359050612ba081612b7a565b92915050565b600060208284031215612bbc57612bbb6129f0565b5b6000612bca84828501612b91565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bfe82612bd3565b9050919050565b612c0e81612bf3565b82525050565b6000602082019050612c296000830184612c05565b92915050565b612c3881612bf3565b8114612c4357600080fd5b50565b600081359050612c5581612c2f565b92915050565b60008060408385031215612c7257612c716129f0565b5b6000612c8085828601612c46565b9250506020612c9185828601612b91565b9150509250929050565b612ca481612b70565b82525050565b6000602082019050612cbf6000830184612c9b565b92915050565b600080600060608486031215612cde57612cdd6129f0565b5b6000612cec86828701612c46565b9350506020612cfd86828701612c46565b9250506040612d0e86828701612b91565b9150509250925092565b60008060408385031215612d2f57612d2e6129f0565b5b6000612d3d85828601612b91565b9250506020612d4e85828601612b91565b9150509250929050565b6000604082019050612d6d6000830185612c05565b612d7a6020830184612c9b565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612dc382612b04565b810181811067ffffffffffffffff82111715612de257612de1612d8b565b5b80604052505050565b6000612df56129e6565b9050612e018282612dba565b919050565b600067ffffffffffffffff821115612e2157612e20612d8b565b5b612e2a82612b04565b9050602081019050919050565b82818337600083830152505050565b6000612e59612e5484612e06565b612deb565b905082815260208101848484011115612e7557612e74612d86565b5b612e80848285612e37565b509392505050565b600082601f830112612e9d57612e9c612d81565b5b8135612ead848260208601612e46565b91505092915050565b600060208284031215612ecc57612ecb6129f0565b5b600082013567ffffffffffffffff811115612eea57612ee96129f5565b5b612ef684828501612e88565b91505092915050565b600080600060608486031215612f1857612f176129f0565b5b6000612f2686828701612b91565b935050602084013567ffffffffffffffff811115612f4757612f466129f5565b5b612f5386828701612e88565b9250506040612f6486828701612c46565b9150509250925092565b600060208284031215612f8457612f836129f0565b5b6000612f9284828501612c46565b91505092915050565b60008060408385031215612fb257612fb16129f0565b5b6000612fc085828601612b91565b925050602083013567ffffffffffffffff811115612fe157612fe06129f5565b5b612fed85828601612e88565b9150509250929050565b61300081612a7f565b811461300b57600080fd5b50565b60008135905061301d81612ff7565b92915050565b6000806040838503121561303a576130396129f0565b5b600061304885828601612c46565b92505060206130598582860161300e565b9150509250929050565b600067ffffffffffffffff82111561307e5761307d612d8b565b5b61308782612b04565b9050602081019050919050565b60006130a76130a284613063565b612deb565b9050828152602081018484840111156130c3576130c2612d86565b5b6130ce848285612e37565b509392505050565b600082601f8301126130eb576130ea612d81565b5b81356130fb848260208601613094565b91505092915050565b6000806000806080858703121561311e5761311d6129f0565b5b600061312c87828801612c46565b945050602061313d87828801612c46565b935050604061314e87828801612b91565b925050606085013567ffffffffffffffff81111561316f5761316e6129f5565b5b61317b878288016130d6565b91505092959194509250565b6000806040838503121561319e5761319d6129f0565b5b60006131ac85828601612c46565b92505060206131bd85828601612c46565b9150509250929050565b6000602082840312156131dd576131dc6129f0565b5b60006131eb8482850161300e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061323b57607f821691505b6020821081141561324f5761324e6131f4565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006132b1602c83612ac0565b91506132bc82613255565b604082019050919050565b600060208201905081810360008301526132e0816132a4565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613343602183612ac0565b915061334e826132e7565b604082019050919050565b6000602082019050818103600083015261337281613336565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133d5603883612ac0565b91506133e082613379565b604082019050919050565b60006020820190508181036000830152613404816133c8565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613467603183612ac0565b91506134728261340b565b604082019050919050565b600060208201905081810360008301526134968161345a565b9050919050565b7f4552433732313a204e6f6e6578697374656e7420546f6b656e20494400000000600082015250565b60006134d3601c83612ac0565b91506134de8261349d565b602082019050919050565b60006020820190508181036000830152613502816134c6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061354382612b70565b915061354e83612b70565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561358757613586613509565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135cc82612b70565b91506135d783612b70565b9250826135e7576135e6613592565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613628602083612ac0565b9150613633826135f2565b602082019050919050565b600060208201905081810360008301526136578161361b565b9050919050565b7f417274776f726b206964206d7573742062652031207468727520350000000000600082015250565b6000613694601b83612ac0565b915061369f8261365e565b602082019050919050565b600060208201905081810360008301526136c381613687565b9050919050565b60006136d582612b70565b91506136e083612b70565b9250828210156136f3576136f2613509565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f446576206d696e7420737570706c792065786861757374656400000000000000600082015250565b6000613763601983612ac0565b915061376e8261372d565b602082019050919050565b6000602082019050818103600083015261379281613756565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006137f5602983612ac0565b915061380082613799565b604082019050919050565b60006020820190508181036000830152613824816137e8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613887602a83612ac0565b91506138928261382b565b604082019050919050565b600060208201905081810360008301526138b68161387a565b9050919050565b7f4d696e74696e6720697320636c6f736564000000000000000000000000000000600082015250565b60006138f3601183612ac0565b91506138fe826138bd565b602082019050919050565b60006020820190508181036000830152613922816138e6565b9050919050565b600061393482612b70565b915061393f83612b70565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561397457613973613509565b5b828201905092915050565b7f417274776f726b20537570706c79204465706c65746564000000000000000000600082015250565b60006139b5601783612ac0565b91506139c08261397f565b602082019050919050565b600060208201905081810360008301526139e4816139a8565b9050919050565b7f4d7573742070617920666f72206d696e74696e67000000000000000000000000600082015250565b6000613a21601483612ac0565b9150613a2c826139eb565b602082019050919050565b60006020820190508181036000830152613a5081613a14565b9050919050565b600081905092915050565b50565b6000613a72600083613a57565b9150613a7d82613a62565b600082019050919050565b6000613a9382613a65565b9150819050919050565b7f5472616e73666572204661696c65640000000000000000000000000000000000600082015250565b6000613ad3600f83612ac0565b9150613ade82613a9d565b602082019050919050565b60006020820190508181036000830152613b0281613ac6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613b65602f83612ac0565b9150613b7082613b09565b604082019050919050565b60006020820190508181036000830152613b9481613b58565b9050919050565b600081905092915050565b6000613bb182612ab5565b613bbb8185613b9b565b9350613bcb818560208601612ad1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613c0d600583613b9b565b9150613c1882613bd7565b600582019050919050565b6000613c2f8285613ba6565b9150613c3b8284613ba6565b9150613c4682613c00565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cae602683612ac0565b9150613cb982613c52565b604082019050919050565b60006020820190508181036000830152613cdd81613ca1565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d40602c83612ac0565b9150613d4b82613ce4565b604082019050919050565b60006020820190508181036000830152613d6f81613d33565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613dd2602983612ac0565b9150613ddd82613d76565b604082019050919050565b60006020820190508181036000830152613e0181613dc5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613e64602483612ac0565b9150613e6f82613e08565b604082019050919050565b60006020820190508181036000830152613e9381613e57565b9050919050565b6000606082019050613eaf6000830186612c9b565b8181036020830152613ec18185612b15565b9050613ed06040830184612c05565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613f0e601983612ac0565b9150613f1982613ed8565b602082019050919050565b60006020820190508181036000830152613f3d81613f01565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613fa0603283612ac0565b9150613fab82613f44565b604082019050919050565b60006020820190508181036000830152613fcf81613f93565b9050919050565b6000613fe182612b70565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561401457614013613509565b5b600182019050919050565b600061402a82612b70565b915061403583612b70565b92508261404557614044613592565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061407782614050565b614081818561405b565b9350614091818560208601612ad1565b61409a81612b04565b840191505092915050565b60006080820190506140ba6000830187612c05565b6140c76020830186612c05565b6140d46040830185612c9b565b81810360608301526140e6818461406c565b905095945050505050565b60008151905061410081612a26565b92915050565b60006020828403121561411c5761411b6129f0565b5b600061412a848285016140f1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614169602083612ac0565b915061417482614133565b602082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141d5601c83612ac0565b91506141e08261419f565b602082019050919050565b60006020820190508181036000830152614204816141c8565b905091905056fea26469706673582212208c57e9a4de5757e74c4c638b659c2bb2d6c09604f57f7924ed6d1a22c216f1ec64736f6c634300080b0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002a426164697563616f20e5b7b4e4b8a2e88d89202d204265696a696e67204f6c796d70696373203230323200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4245494a494e4732303232000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d61364265584b3338706f734431457678543934367852503943745070354c6a775366423768734241704356682f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f516d61364265584b3338706f734431457678543934367852503943745070354c6a775366423768734241704356682f636f6e74726163742e6a736f6e000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Badiucao 巴丢草 - Beijing Olympics 2022
Arg [1] : symbol_ (string): BEIJING2022
Arg [2] : baseTokenURI_ (string): https://ipfs.io/ipfs/Qma6BeXK38posD1EvxT946xRP9CtPp5LjwSfB7hsBApCVh/
Arg [3] : contractURI_ (string): https://ipfs.io/ipfs/Qma6BeXK38posD1EvxT946xRP9CtPp5LjwSfB7hsBApCVh/contract.json

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [5] : 426164697563616f20e5b7b4e4b8a2e88d89202d204265696a696e67204f6c79
Arg [6] : 6d70696373203230323200000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 4245494a494e4732303232000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [10] : 68747470733a2f2f697066732e696f2f697066732f516d61364265584b333870
Arg [11] : 6f734431457678543934367852503943745070354c6a77536642376873424170
Arg [12] : 4356682f00000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [14] : 68747470733a2f2f697066732e696f2f697066732f516d61364265584b333870
Arg [15] : 6f734431457678543934367852503943745070354c6a77536642376873424170
Arg [16] : 4356682f636f6e74726163742e6a736f6e000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.