ETH Price: $2,514.19 (-0.27%)

Token

Portchie - Cycling By The Riverside (PCHICBTR)
 

Overview

Max Total Supply

1,000 PCHICBTR

Holders

72

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x2f691f9192bc8b51bd24723de72b283500f2f3a5
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:
Portchie

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 11 : Porchie.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Portchie is ERC1155, Ownable {
    string public name = "Portchie - Cycling By The Riverside";
    string public symbol = "PCHICBTR";

    uint public constant MAX_TOKENS = 1000;
    uint public _whitelistReserve = 800;
    
    bool internal _isMintRunning = false;
    bool internal _isWhitelistMintRunning = false;
    bool internal _isBaseURIFrozen = false;

    uint256 internal price = 0.075*10**18;
    uint256 internal nextMintIndex = 0;

    string private _baseTokenURI;

    using Strings for string;

    mapping(address => bool) whitelist;

    event AddedToWhitelist(address indexed account);
    event RemovedFromWhitelist(address indexed account);
    event CreateArt(uint256 indexed id, address to);

    constructor(string memory baseURI)
        ERC1155(baseURI)
    {
        _baseTokenURI = baseURI;
    }

    function setURI(string memory baseURI) external onlyOwner {
        require(_isBaseURIFrozen == false, "The URI has been frozen and can not be changed");
        _setURI(baseURI);
        _baseTokenURI = baseURI;
    }

    function uri(uint256 _tokenId) override public view returns (string memory) {
        return _tokenURI(_tokenId);
    }

    // Opensea uses tokenURI
    function tokenURI(uint256 _tokenId) public view returns (string memory) {
        return _tokenURI(_tokenId);
    }

    function _tokenURI(uint256 _tokenId) private view returns (string memory) {
        return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId)));
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function getPrice() public view returns (uint256) {
        return price;
    }

    function setWhitelistReserve(uint maxTokensWhitelist) external onlyOwner {
        _whitelistReserve = maxTokensWhitelist;
    }

    function geWhitelistReserve() public view returns (uint) {
        return _whitelistReserve;
    }

    modifier onlyWhitelisted() {
        require(isWhitelisted(msg.sender), "You need to be whitelisted");
        _;
    }

    function addToWhitelist(address[] memory _addresses) public onlyOwner {
        for(uint256 i; i < _addresses.length; i++) {
            whitelist[_addresses[i]] = true;
            emit AddedToWhitelist(_addresses[i]);
        }
    }

    function removeFromWhitelist(address _address) public onlyOwner {
        whitelist[_address] = false;
        emit RemovedFromWhitelist(_address);
    }

    function isWhitelisted(address _address) public view returns(bool) {
        return whitelist[_address];
    }

    function mintWhitelist(uint256 quantity) external onlyWhitelisted payable {
        require(_isWhitelistMintRunning == true, "Whitelist mint is paused");
        if (nextMintIndex + quantity >= _whitelistReserve) {
            require(balanceOf(msg.sender, 1) == 0, "Whitelist above reserve. And you allready minted.");
            require(quantity == 1, "Whitelist above reserve. Only allowed to mint 1");
        }
        _mintArt(quantity);
    }

    function mint(uint256 quantity) external payable {
        require(_isMintRunning == true, "Mint is paused");
        _mintArt(quantity);
    }

    function _mintArt(uint256 quantity) private {
        require(msg.value >= price * quantity, "Total Ether sent is below the price");
        require(nextMintIndex < MAX_TOKENS, "Mint has already ended");
        require(quantity > 0 && quantity <= 20, "You can mint minimum 1, maximum 20");
        require(nextMintIndex+quantity <= MAX_TOKENS, "Exceeds maximum");

        for (uint i = 0; i < quantity; i++) {
            _mint(msg.sender, nextMintIndex, 1, "");
             emit CreateArt(nextMintIndex, msg.sender);
             nextMintIndex++;
        }
    }

    function startMint() external onlyOwner {
        _isMintRunning = true;
    }

    function pauseMint() external onlyOwner {
        _isMintRunning = false;
    }

    function isMintRunning() public view returns (bool) {
        return _isMintRunning;
    }

    function startWhiteListMint() external onlyOwner {
        _isWhitelistMintRunning = true;
    }

    function pauseWhiteListMint() external onlyOwner {
        _isWhitelistMintRunning = false;
    }

    function isWhitelistMintRunning() public view returns (bool) {
        return _isWhitelistMintRunning;
    }

    function withdrawAll() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    function freezeBaseURI() public onlyOwner {
        require(_isBaseURIFrozen == false, "The BaseURI has already been frozen");
        _isBaseURIFrozen = true;
    }

    function isBaseURIFrozen() public view returns (bool) {
        return _isBaseURIFrozen;
    }

    function totalSupply() external view returns (uint256) {
        return nextMintIndex;
    }

}

File 2 of 11 : 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 11 : 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 4 of 11 : 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 5 of 11 : 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 6 of 11 : 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 7 of 11 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 8 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 10 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 11 of 11 : 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": true,
    "runs": 2000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddedToWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"CreateArt","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":"account","type":"address"}],"name":"RemovedFromWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_whitelistReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"geWhitelistReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBaseURIFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintRunning","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistMintRunning","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintWhitelist","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":[],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseWhiteListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTokensWhitelist","type":"uint256"}],"name":"setWhitelistReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhiteListMint","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":"_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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60e06040526023608081815290620030aa60a039805162000029916004916020909101906200015c565b50604080518082019091526008808252672821a424a1a12a2960c11b60209092019182526200005b916005916200015c565b506103206006556007805462ffffff1916905567010a741a4627800060085560006009553480156200008c57600080fd5b50604051620030cd380380620030cd833981016040819052620000af9162000202565b80620000bb81620000ed565b50620000d0620000ca62000106565b6200010a565b8051620000e590600a9060208401906200015c565b505062000324565b8051620001029060029060208401906200015c565b5050565b3390565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016a90620002d1565b90600052602060002090601f0160209004810192826200018e5760008555620001d9565b82601f10620001a957805160ff1916838001178555620001d9565b82800160010185558215620001d9579182015b82811115620001d9578251825591602001919060010190620001bc565b50620001e7929150620001eb565b5090565b5b80821115620001e75760008155600101620001ec565b6000602080838503121562000215578182fd5b82516001600160401b03808211156200022c578384fd5b818501915085601f83011262000240578384fd5b8151818111156200025557620002556200030e565b604051601f8201601f19168101850183811182821017156200027b576200027b6200030e565b604052818152838201850188101562000292578586fd5b8592505b81831015620002b5578383018501518184018601529184019162000296565b81831115620002c657858583830101525b979650505050505050565b600281046001821680620002e657607f821691505b602082108114156200030857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612d7680620003346000396000f3fe60806040526004361061024e5760003560e01c80638da5cb5b11610138578063cd85cdb5116100b0578063efd013231161007f578063f2fde38b11610064578063f2fde38b146105bd578063f47c84c5146105dd578063f72b5e36146105f25761024e565b8063efd0132314610588578063f242432a1461059d5761024e565b8063cd85cdb514610529578063dce226a81461053e578063e7bc820814610553578063e985e9c5146105685761024e565b80639ca89fad11610107578063a22cb465116100ec578063a22cb465146104f4578063bd46225b14610514578063c87b56dd146102fa5761024e565b80639ca89fad146104cc578063a0712d68146104e15761024e565b80638da5cb5b1461046057806391b7f5ed1461048257806395d89b41146104a257806398d5fdca146104b75761024e565b80633af32abf116101cb578063715018a61161019a578063829ddf171161017f578063829ddf1714610423578063853828b6146104385780638ab1d681146104405761024e565b8063715018a6146103ee5780637f649783146104035761024e565b80633af32abf146103795780634618163e146103995780634e1273f4146103ac5780635a845941146103d95761024e565b80630e89341c116102225780632be09561116102075780632be095611461032f5780632eb2c2d614610344578063354b68ec146103645761024e565b80630e89341c146102fa57806318160ddd1461031a5761024e565b8062fdd58e1461025357806301ffc9a71461028957806302fe5305146102b657806306fdde03146102d8575b600080fd5b34801561025f57600080fd5b5061027361026e366004611f42565b610612565b6040516102809190612a9a565b60405180910390f35b34801561029557600080fd5b506102a96102a4366004611fff565b610669565b60405161028091906122aa565b3480156102c257600080fd5b506102d66102d1366004612037565b610713565b005b3480156102e457600080fd5b506102ed61079b565b60405161028091906122b5565b34801561030657600080fd5b506102ed61031536600461207d565b610829565b34801561032657600080fd5b50610273610834565b34801561033b57600080fd5b506102d661083b565b34801561035057600080fd5b506102d661035f366004611dff565b610889565b34801561037057600080fd5b506102736108e7565b34801561038557600080fd5b506102a9610394366004611db3565b6108ed565b6102d66103a736600461207d565b61090b565b3480156103b857600080fd5b506103cc6103c7366004611f9e565b6109c7565b6040516102809190612272565b3480156103e557600080fd5b506102a9610ae7565b3480156103fa57600080fd5b506102d6610af0565b34801561040f57600080fd5b506102d661041e366004611f6b565b610b3b565b34801561042f57600080fd5b50610273610c5a565b6102d6610c60565b34801561044c57600080fd5b506102d661045b366004611db3565b610cc3565b34801561046c57600080fd5b50610475610d4b565b60405161028091906121bd565b34801561048e57600080fd5b506102d661049d36600461207d565b610d5a565b3480156104ae57600080fd5b506102ed610d9e565b3480156104c357600080fd5b50610273610dab565b3480156104d857600080fd5b506102a9610db1565b6102d66104ef36600461207d565b610dc0565b34801561050057600080fd5b506102d661050f366004611f08565b610de7565b34801561052057600080fd5b506102d6610df9565b34801561053557600080fd5b506102d6610e49565b34801561054a57600080fd5b506102d6610e94565b34801561055f57600080fd5b506102d6610ee0565b34801561057457600080fd5b506102a9610583366004611dcd565b610f77565b34801561059457600080fd5b506102a9610fa5565b3480156105a957600080fd5b506102d66105b8366004611ea5565b610fb3565b3480156105c957600080fd5b506102d66105d8366004611db3565b61100a565b3480156105e957600080fd5b50610273611078565b3480156105fe57600080fd5b506102d661060d36600461207d565b61107e565b60006001600160a01b0383166106435760405162461bcd60e51b815260040161063a90612382565b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806106fc57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061070b575061070b826110c2565b90505b919050565b61071b61110c565b6001600160a01b031661072c610d4b565b6001600160a01b0316146107525760405162461bcd60e51b815260040161063a9061267b565b60075462010000900460ff161561077b5760405162461bcd60e51b815260040161063a906125c1565b61078481611110565b805161079790600a906020840190611bb8565b5050565b600480546107a890612b9d565b80601f01602080910402602001604051908101604052809291908181526020018280546107d490612b9d565b80156108215780601f106107f657610100808354040283529160200191610821565b820191906000526020600020905b81548152906001019060200180831161080457829003601f168201915b505050505081565b606061070b82611123565b6009545b90565b61084361110c565b6001600160a01b0316610854610d4b565b6001600160a01b03161461087a5760405162461bcd60e51b815260040161063a9061267b565b6007805460ff19166001179055565b61089161110c565b6001600160a01b0316856001600160a01b031614806108b757506108b78561058361110c565b6108d35760405162461bcd60e51b815260040161063a9061252d565b6108e08585858585611157565b5050505050565b60065481565b6001600160a01b03166000908152600b602052604090205460ff1690565b610914336108ed565b6109305760405162461bcd60e51b815260040161063a906126b0565b60075460ff61010090910416151560011461095d5760405162461bcd60e51b815260040161063a9061258a565b6006548160095461096e9190612b0b565b106109bb5761097e336001610612565b1561099b5760405162461bcd60e51b815260040161063a906126e7565b806001146109bb5760405162461bcd60e51b815260040161063a90612744565b6109c481611328565b50565b606081518351146109ea5760405162461bcd60e51b815260040161063a9061285b565b6000835167ffffffffffffffff811115610a1457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a3d578160200160208202803683370190505b50905060005b8451811015610adf57610aa4858281518110610a6f57634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610a9757634e487b7160e01b600052603260045260246000fd5b6020026020010151610612565b828281518110610ac457634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610ad881612bd8565b9050610a43565b509392505050565b60075460ff1690565b610af861110c565b6001600160a01b0316610b09610d4b565b6001600160a01b031614610b2f5760405162461bcd60e51b815260040161063a9061267b565b610b39600061145f565b565b610b4361110c565b6001600160a01b0316610b54610d4b565b6001600160a01b031614610b7a5760405162461bcd60e51b815260040161063a9061267b565b60005b8151811015610797576001600b6000848481518110610bac57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550818181518110610c0b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03167fa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab0360405160405180910390a280610c5281612bd8565b915050610b7d565b60065490565b610c6861110c565b6001600160a01b0316610c79610d4b565b6001600160a01b031614610c9f5760405162461bcd60e51b815260040161063a9061267b565b60405133904780156108fc02916000818181858888f19350505050610b3957600080fd5b610ccb61110c565b6001600160a01b0316610cdc610d4b565b6001600160a01b031614610d025760405162461bcd60e51b815260040161063a9061267b565b6001600160a01b0381166000818152600b6020526040808220805460ff19169055517fcdd2e9b91a56913d370075169cefa1602ba36be5301664f752192bb1709df7579190a250565b6003546001600160a01b031690565b610d6261110c565b6001600160a01b0316610d73610d4b565b6001600160a01b031614610d995760405162461bcd60e51b815260040161063a9061267b565b600855565b600580546107a890612b9d565b60085490565b60075462010000900460ff1690565b60075460ff1615156001146109bb5760405162461bcd60e51b815260040161063a90612a2c565b610797610df261110c565b83836114c9565b610e0161110c565b6001600160a01b0316610e12610d4b565b6001600160a01b031614610e385760405162461bcd60e51b815260040161063a9061267b565b6007805461ff001916610100179055565b610e5161110c565b6001600160a01b0316610e62610d4b565b6001600160a01b031614610e885760405162461bcd60e51b815260040161063a9061267b565b6007805460ff19169055565b610e9c61110c565b6001600160a01b0316610ead610d4b565b6001600160a01b031614610ed35760405162461bcd60e51b815260040161063a9061267b565b6007805461ff0019169055565b610ee861110c565b6001600160a01b0316610ef9610d4b565b6001600160a01b031614610f1f5760405162461bcd60e51b815260040161063a9061267b565b60075462010000900460ff1615610f485760405162461bcd60e51b815260040161063a906127a1565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b600754610100900460ff1690565b610fbb61110c565b6001600160a01b0316856001600160a01b03161480610fe15750610fe18561058361110c565b610ffd5760405162461bcd60e51b815260040161063a90612473565b6108e0858585858561156c565b61101261110c565b6001600160a01b0316611023610d4b565b6001600160a01b0316146110495760405162461bcd60e51b815260040161063a9061267b565b6001600160a01b03811661106f5760405162461bcd60e51b815260040161063a906123df565b6109c48161145f565b6103e881565b61108661110c565b6001600160a01b0316611097610d4b565b6001600160a01b0316146110bd5760405162461bcd60e51b815260040161063a9061267b565b600655565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b3390565b8051610797906002906020840190611bb8565b6060600a611130836116af565b604051602001611141929190612117565b6040516020818303038152906040529050919050565b81518351146111785760405162461bcd60e51b815260040161063a906128b8565b6001600160a01b03841661119e5760405162461bcd60e51b815260040161063a906124d0565b60006111a861110c565b90506111b8818787878787611320565b60005b84518110156112ba5760008582815181106111e657634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061121257634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156112625760405162461bcd60e51b815260040161063a9061261e565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061129f908490612b0b565b92505081905550505050806112b390612bd8565b90506111bb565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161130a929190612285565b60405180910390a4611320818787878787611806565b505050505050565b806008546113369190612b37565b3410156113555760405162461bcd60e51b815260040161063a90612972565b6103e8600954106113785760405162461bcd60e51b815260040161063a9061243c565b600081118015611389575060148111155b6113a55760405162461bcd60e51b815260040161063a906129cf565b6103e8816009546113b69190612b0b565b11156113d45760405162461bcd60e51b815260040161063a90612a63565b60005b81811015610797576113fd3360095460016040518060200160405280600081525061195e565b6009547f74dbdd2c205d613717fd4827a8c6e141cf3d3048e778451e3b3b3a54b90222873360405161142f91906121bd565b60405180910390a26009805490600061144783612bd8565b9190505550808061145790612bd8565b9150506113d7565b600380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156114fb5760405162461bcd60e51b815260040161063a906127fe565b6001600160a01b0383811660008181526001602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061155f9085906122aa565b60405180910390a3505050565b6001600160a01b0384166115925760405162461bcd60e51b815260040161063a906124d0565b600061159c61110c565b90506115bc8187876115ad88611a3e565b6115b688611a3e565b87611320565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156115fd5760405162461bcd60e51b815260040161063a9061261e565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061163a908490612b0b565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611690929190612aa3565b60405180910390a46116a6828888888888611a97565b50505050505050565b6060816116f0575060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015261070e565b8160005b811561171a578061170481612bd8565b91506117139050600a83612b23565b91506116f4565b60008167ffffffffffffffff81111561174357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561176d576020820181803683370190505b5090505b84156117fe57611782600183612b56565b915061178f600a86612bf3565b61179a906030612b0b565b60f81b8183815181106117bd57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506117f7600a86612b23565b9450611771565b949350505050565b611818846001600160a01b0316611bb2565b15611320576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c819061186a90899089908890889088906004016121d1565b602060405180830381600087803b15801561188457600080fd5b505af19250505080156118b4575060408051601f3d908101601f191682019092526118b19181019061201b565b60015b6118fd576118c0612c4f565b806118cb57506118e5565b8060405162461bcd60e51b815260040161063a91906122b5565b60405162461bcd60e51b815260040161063a906122c8565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146116a65760405162461bcd60e51b815260040161063a90612325565b6001600160a01b0384166119845760405162461bcd60e51b815260040161063a90612915565b600061198e61110c565b90506119a0816000876115ad88611a3e565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906119d0908490612b0b565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611a27929190612aa3565b60405180910390a46108e081600087878787611a97565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a8657634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b611aa9846001600160a01b0316611bb2565b15611320576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e6190611afb908990899088908890889060040161222f565b602060405180830381600087803b158015611b1557600080fd5b505af1925050508015611b45575060408051601f3d908101601f19168201909252611b429181019061201b565b60015b611b51576118c0612c4f565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146116a65760405162461bcd60e51b815260040161063a90612325565b3b151590565b828054611bc490612b9d565b90600052602060002090601f016020900481019282611be65760008555611c2c565b82601f10611bff57805160ff1916838001178555611c2c565b82800160010185558215611c2c579182015b82811115611c2c578251825591602001919060010190611c11565b50611c38929150611c3c565b5090565b5b80821115611c385760008155600101611c3d565b600067ffffffffffffffff831115611c6b57611c6b612c33565b611c7e6020601f19601f86011601612ab1565b9050828152838383011115611c9257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461070e57600080fd5b600082601f830112611cd0578081fd5b81356020611ce5611ce083612adb565b612ab1565b8281528181019085830183850287018401881015611d01578586fd5b855b85811015611d2657611d1482611ca9565b84529284019290840190600101611d03565b5090979650505050505050565b600082601f830112611d43578081fd5b81356020611d53611ce083612adb565b8281528181019085830183850287018401881015611d6f578586fd5b855b85811015611d2657813584529284019290840190600101611d71565b600082601f830112611d9d578081fd5b611dac83833560208501611c51565b9392505050565b600060208284031215611dc4578081fd5b611dac82611ca9565b60008060408385031215611ddf578081fd5b611de883611ca9565b9150611df660208401611ca9565b90509250929050565b600080600080600060a08688031215611e16578081fd5b611e1f86611ca9565b9450611e2d60208701611ca9565b9350604086013567ffffffffffffffff80821115611e49578283fd5b611e5589838a01611d33565b94506060880135915080821115611e6a578283fd5b611e7689838a01611d33565b93506080880135915080821115611e8b578283fd5b50611e9888828901611d8d565b9150509295509295909350565b600080600080600060a08688031215611ebc578081fd5b611ec586611ca9565b9450611ed360208701611ca9565b93506040860135925060608601359150608086013567ffffffffffffffff811115611efc578182fd5b611e9888828901611d8d565b60008060408385031215611f1a578182fd5b611f2383611ca9565b915060208301358015158114611f37578182fd5b809150509250929050565b60008060408385031215611f54578182fd5b611f5d83611ca9565b946020939093013593505050565b600060208284031215611f7c578081fd5b813567ffffffffffffffff811115611f92578182fd5b6117fe84828501611cc0565b60008060408385031215611fb0578182fd5b823567ffffffffffffffff80821115611fc7578384fd5b611fd386838701611cc0565b93506020850135915080821115611fe8578283fd5b50611ff585828601611d33565b9150509250929050565b600060208284031215612010578081fd5b8135611dac81612d12565b60006020828403121561202c578081fd5b8151611dac81612d12565b600060208284031215612048578081fd5b813567ffffffffffffffff81111561205e578182fd5b8201601f8101841361206e578182fd5b6117fe84823560208401611c51565b60006020828403121561208e578081fd5b5035919050565b6000815180845260208085019450808401835b838110156120c4578151875295820195908201906001016120a8565b509495945050505050565b600081518084526120e7816020860160208601612b6d565b601f01601f19169290920160200192915050565b6000815161210d818560208601612b6d565b9290920192915050565b825460009081906002810460018083168061213357607f831692505b602080841082141561215357634e487b7160e01b87526022600452602487fd5b8180156121675760018114612178576121a4565b60ff198616895284890196506121a4565b6121818b612aff565b885b8681101561219c5781548b820152908501908301612183565b505084890196505b5050505050506121b481856120fb565b95945050505050565b6001600160a01b0391909116815260200190565b60006001600160a01b03808816835280871660208401525060a060408301526121fd60a0830186612095565b828103606084015261220f8186612095565b9050828103608084015261222381856120cf565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261226760a08301846120cf565b979650505050505050565b600060208252611dac6020830184612095565b6000604082526122986040830185612095565b82810360208401526121b48185612095565b901515815260200190565b600060208252611dac60208301846120cf565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e746572000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526016908201527f4d696e742068617320616c726561647920656e64656400000000000000000000604082015260600190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201527f20617070726f7665640000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b60208082526018908201527f57686974656c697374206d696e74206973207061757365640000000000000000604082015260600190565b6020808252602e908201527f5468652055524920686173206265656e2066726f7a656e20616e642063616e2060408201527f6e6f74206265206368616e676564000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201527f72207472616e7366657200000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601a908201527f596f75206e65656420746f2062652077686974656c6973746564000000000000604082015260600190565b60208082526031908201527f57686974656c6973742061626f766520726573657276652e20416e6420796f7560408201527f20616c6c7265616479206d696e7465642e000000000000000000000000000000606082015260800190565b6020808252602f908201527f57686974656c6973742061626f766520726573657276652e204f6e6c7920616c60408201527f6c6f77656420746f206d696e7420310000000000000000000000000000000000606082015260800190565b60208082526023908201527f54686520426173655552492068617320616c7265616479206265656e2066726f60408201527f7a656e0000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360408201527f20666f722073656c660000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860408201527f206d69736d617463680000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060408201527f6d69736d61746368000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f546f74616c2045746865722073656e742069732062656c6f772074686520707260408201527f6963650000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f596f752063616e206d696e74206d696e696d756d20312c206d6178696d756d2060408201527f3230000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600e908201527f4d696e7420697320706175736564000000000000000000000000000000000000604082015260600190565b6020808252600f908201527f45786365656473206d6178696d756d0000000000000000000000000000000000604082015260600190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff81118282101715612ad357612ad3612c33565b604052919050565b600067ffffffffffffffff821115612af557612af5612c33565b5060209081020190565b60009081526020902090565b60008219821115612b1e57612b1e612c07565b500190565b600082612b3257612b32612c1d565b500490565b6000816000190483118215151615612b5157612b51612c07565b500290565b600082821015612b6857612b68612c07565b500390565b60005b83811015612b88578181015183820152602001612b70565b83811115612b97576000848401525b50505050565b600281046001821680612bb157607f821691505b60208210811415612bd257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612bec57612bec612c07565b5060010190565b600082612c0257612c02612c1d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015612c5f57610838565b600481823e6308c379a0612c738251612c49565b14612c7d57610838565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d016004823e80513d67ffffffffffffffff8160248401118184111715612ccb5750505050610838565b82840192508251915080821115612ce55750505050610838565b503d83016020828401011115612cfd57505050610838565b601f01601f1916810160200160405291505090565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146109c457600080fdfea2646970667358221220a4bc0ab1e0bf9f2bdda1ed9d220f54832c9fdc480cecc21f80a98aa08d80c8f464736f6c63430008000033506f727463686965202d204379636c696e6720427920546865205269766572736964650000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f7370616365732e706f7274636869652d6e66742e636f6d2f70636869636274725f72696e6b6562792f000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061024e5760003560e01c80638da5cb5b11610138578063cd85cdb5116100b0578063efd013231161007f578063f2fde38b11610064578063f2fde38b146105bd578063f47c84c5146105dd578063f72b5e36146105f25761024e565b8063efd0132314610588578063f242432a1461059d5761024e565b8063cd85cdb514610529578063dce226a81461053e578063e7bc820814610553578063e985e9c5146105685761024e565b80639ca89fad11610107578063a22cb465116100ec578063a22cb465146104f4578063bd46225b14610514578063c87b56dd146102fa5761024e565b80639ca89fad146104cc578063a0712d68146104e15761024e565b80638da5cb5b1461046057806391b7f5ed1461048257806395d89b41146104a257806398d5fdca146104b75761024e565b80633af32abf116101cb578063715018a61161019a578063829ddf171161017f578063829ddf1714610423578063853828b6146104385780638ab1d681146104405761024e565b8063715018a6146103ee5780637f649783146104035761024e565b80633af32abf146103795780634618163e146103995780634e1273f4146103ac5780635a845941146103d95761024e565b80630e89341c116102225780632be09561116102075780632be095611461032f5780632eb2c2d614610344578063354b68ec146103645761024e565b80630e89341c146102fa57806318160ddd1461031a5761024e565b8062fdd58e1461025357806301ffc9a71461028957806302fe5305146102b657806306fdde03146102d8575b600080fd5b34801561025f57600080fd5b5061027361026e366004611f42565b610612565b6040516102809190612a9a565b60405180910390f35b34801561029557600080fd5b506102a96102a4366004611fff565b610669565b60405161028091906122aa565b3480156102c257600080fd5b506102d66102d1366004612037565b610713565b005b3480156102e457600080fd5b506102ed61079b565b60405161028091906122b5565b34801561030657600080fd5b506102ed61031536600461207d565b610829565b34801561032657600080fd5b50610273610834565b34801561033b57600080fd5b506102d661083b565b34801561035057600080fd5b506102d661035f366004611dff565b610889565b34801561037057600080fd5b506102736108e7565b34801561038557600080fd5b506102a9610394366004611db3565b6108ed565b6102d66103a736600461207d565b61090b565b3480156103b857600080fd5b506103cc6103c7366004611f9e565b6109c7565b6040516102809190612272565b3480156103e557600080fd5b506102a9610ae7565b3480156103fa57600080fd5b506102d6610af0565b34801561040f57600080fd5b506102d661041e366004611f6b565b610b3b565b34801561042f57600080fd5b50610273610c5a565b6102d6610c60565b34801561044c57600080fd5b506102d661045b366004611db3565b610cc3565b34801561046c57600080fd5b50610475610d4b565b60405161028091906121bd565b34801561048e57600080fd5b506102d661049d36600461207d565b610d5a565b3480156104ae57600080fd5b506102ed610d9e565b3480156104c357600080fd5b50610273610dab565b3480156104d857600080fd5b506102a9610db1565b6102d66104ef36600461207d565b610dc0565b34801561050057600080fd5b506102d661050f366004611f08565b610de7565b34801561052057600080fd5b506102d6610df9565b34801561053557600080fd5b506102d6610e49565b34801561054a57600080fd5b506102d6610e94565b34801561055f57600080fd5b506102d6610ee0565b34801561057457600080fd5b506102a9610583366004611dcd565b610f77565b34801561059457600080fd5b506102a9610fa5565b3480156105a957600080fd5b506102d66105b8366004611ea5565b610fb3565b3480156105c957600080fd5b506102d66105d8366004611db3565b61100a565b3480156105e957600080fd5b50610273611078565b3480156105fe57600080fd5b506102d661060d36600461207d565b61107e565b60006001600160a01b0383166106435760405162461bcd60e51b815260040161063a90612382565b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806106fc57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061070b575061070b826110c2565b90505b919050565b61071b61110c565b6001600160a01b031661072c610d4b565b6001600160a01b0316146107525760405162461bcd60e51b815260040161063a9061267b565b60075462010000900460ff161561077b5760405162461bcd60e51b815260040161063a906125c1565b61078481611110565b805161079790600a906020840190611bb8565b5050565b600480546107a890612b9d565b80601f01602080910402602001604051908101604052809291908181526020018280546107d490612b9d565b80156108215780601f106107f657610100808354040283529160200191610821565b820191906000526020600020905b81548152906001019060200180831161080457829003601f168201915b505050505081565b606061070b82611123565b6009545b90565b61084361110c565b6001600160a01b0316610854610d4b565b6001600160a01b03161461087a5760405162461bcd60e51b815260040161063a9061267b565b6007805460ff19166001179055565b61089161110c565b6001600160a01b0316856001600160a01b031614806108b757506108b78561058361110c565b6108d35760405162461bcd60e51b815260040161063a9061252d565b6108e08585858585611157565b5050505050565b60065481565b6001600160a01b03166000908152600b602052604090205460ff1690565b610914336108ed565b6109305760405162461bcd60e51b815260040161063a906126b0565b60075460ff61010090910416151560011461095d5760405162461bcd60e51b815260040161063a9061258a565b6006548160095461096e9190612b0b565b106109bb5761097e336001610612565b1561099b5760405162461bcd60e51b815260040161063a906126e7565b806001146109bb5760405162461bcd60e51b815260040161063a90612744565b6109c481611328565b50565b606081518351146109ea5760405162461bcd60e51b815260040161063a9061285b565b6000835167ffffffffffffffff811115610a1457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a3d578160200160208202803683370190505b50905060005b8451811015610adf57610aa4858281518110610a6f57634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610a9757634e487b7160e01b600052603260045260246000fd5b6020026020010151610612565b828281518110610ac457634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610ad881612bd8565b9050610a43565b509392505050565b60075460ff1690565b610af861110c565b6001600160a01b0316610b09610d4b565b6001600160a01b031614610b2f5760405162461bcd60e51b815260040161063a9061267b565b610b39600061145f565b565b610b4361110c565b6001600160a01b0316610b54610d4b565b6001600160a01b031614610b7a5760405162461bcd60e51b815260040161063a9061267b565b60005b8151811015610797576001600b6000848481518110610bac57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550818181518110610c0b57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03167fa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab0360405160405180910390a280610c5281612bd8565b915050610b7d565b60065490565b610c6861110c565b6001600160a01b0316610c79610d4b565b6001600160a01b031614610c9f5760405162461bcd60e51b815260040161063a9061267b565b60405133904780156108fc02916000818181858888f19350505050610b3957600080fd5b610ccb61110c565b6001600160a01b0316610cdc610d4b565b6001600160a01b031614610d025760405162461bcd60e51b815260040161063a9061267b565b6001600160a01b0381166000818152600b6020526040808220805460ff19169055517fcdd2e9b91a56913d370075169cefa1602ba36be5301664f752192bb1709df7579190a250565b6003546001600160a01b031690565b610d6261110c565b6001600160a01b0316610d73610d4b565b6001600160a01b031614610d995760405162461bcd60e51b815260040161063a9061267b565b600855565b600580546107a890612b9d565b60085490565b60075462010000900460ff1690565b60075460ff1615156001146109bb5760405162461bcd60e51b815260040161063a90612a2c565b610797610df261110c565b83836114c9565b610e0161110c565b6001600160a01b0316610e12610d4b565b6001600160a01b031614610e385760405162461bcd60e51b815260040161063a9061267b565b6007805461ff001916610100179055565b610e5161110c565b6001600160a01b0316610e62610d4b565b6001600160a01b031614610e885760405162461bcd60e51b815260040161063a9061267b565b6007805460ff19169055565b610e9c61110c565b6001600160a01b0316610ead610d4b565b6001600160a01b031614610ed35760405162461bcd60e51b815260040161063a9061267b565b6007805461ff0019169055565b610ee861110c565b6001600160a01b0316610ef9610d4b565b6001600160a01b031614610f1f5760405162461bcd60e51b815260040161063a9061267b565b60075462010000900460ff1615610f485760405162461bcd60e51b815260040161063a906127a1565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b600754610100900460ff1690565b610fbb61110c565b6001600160a01b0316856001600160a01b03161480610fe15750610fe18561058361110c565b610ffd5760405162461bcd60e51b815260040161063a90612473565b6108e0858585858561156c565b61101261110c565b6001600160a01b0316611023610d4b565b6001600160a01b0316146110495760405162461bcd60e51b815260040161063a9061267b565b6001600160a01b03811661106f5760405162461bcd60e51b815260040161063a906123df565b6109c48161145f565b6103e881565b61108661110c565b6001600160a01b0316611097610d4b565b6001600160a01b0316146110bd5760405162461bcd60e51b815260040161063a9061267b565b600655565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b3390565b8051610797906002906020840190611bb8565b6060600a611130836116af565b604051602001611141929190612117565b6040516020818303038152906040529050919050565b81518351146111785760405162461bcd60e51b815260040161063a906128b8565b6001600160a01b03841661119e5760405162461bcd60e51b815260040161063a906124d0565b60006111a861110c565b90506111b8818787878787611320565b60005b84518110156112ba5760008582815181106111e657634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061121257634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156112625760405162461bcd60e51b815260040161063a9061261e565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061129f908490612b0b565b92505081905550505050806112b390612bd8565b90506111bb565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161130a929190612285565b60405180910390a4611320818787878787611806565b505050505050565b806008546113369190612b37565b3410156113555760405162461bcd60e51b815260040161063a90612972565b6103e8600954106113785760405162461bcd60e51b815260040161063a9061243c565b600081118015611389575060148111155b6113a55760405162461bcd60e51b815260040161063a906129cf565b6103e8816009546113b69190612b0b565b11156113d45760405162461bcd60e51b815260040161063a90612a63565b60005b81811015610797576113fd3360095460016040518060200160405280600081525061195e565b6009547f74dbdd2c205d613717fd4827a8c6e141cf3d3048e778451e3b3b3a54b90222873360405161142f91906121bd565b60405180910390a26009805490600061144783612bd8565b9190505550808061145790612bd8565b9150506113d7565b600380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156114fb5760405162461bcd60e51b815260040161063a906127fe565b6001600160a01b0383811660008181526001602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061155f9085906122aa565b60405180910390a3505050565b6001600160a01b0384166115925760405162461bcd60e51b815260040161063a906124d0565b600061159c61110c565b90506115bc8187876115ad88611a3e565b6115b688611a3e565b87611320565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156115fd5760405162461bcd60e51b815260040161063a9061261e565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061163a908490612b0b565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611690929190612aa3565b60405180910390a46116a6828888888888611a97565b50505050505050565b6060816116f0575060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015261070e565b8160005b811561171a578061170481612bd8565b91506117139050600a83612b23565b91506116f4565b60008167ffffffffffffffff81111561174357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561176d576020820181803683370190505b5090505b84156117fe57611782600183612b56565b915061178f600a86612bf3565b61179a906030612b0b565b60f81b8183815181106117bd57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506117f7600a86612b23565b9450611771565b949350505050565b611818846001600160a01b0316611bb2565b15611320576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c819061186a90899089908890889088906004016121d1565b602060405180830381600087803b15801561188457600080fd5b505af19250505080156118b4575060408051601f3d908101601f191682019092526118b19181019061201b565b60015b6118fd576118c0612c4f565b806118cb57506118e5565b8060405162461bcd60e51b815260040161063a91906122b5565b60405162461bcd60e51b815260040161063a906122c8565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146116a65760405162461bcd60e51b815260040161063a90612325565b6001600160a01b0384166119845760405162461bcd60e51b815260040161063a90612915565b600061198e61110c565b90506119a0816000876115ad88611a3e565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906119d0908490612b0b565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611a27929190612aa3565b60405180910390a46108e081600087878787611a97565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a8657634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b611aa9846001600160a01b0316611bb2565b15611320576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e6190611afb908990899088908890889060040161222f565b602060405180830381600087803b158015611b1557600080fd5b505af1925050508015611b45575060408051601f3d908101601f19168201909252611b429181019061201b565b60015b611b51576118c0612c4f565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146116a65760405162461bcd60e51b815260040161063a90612325565b3b151590565b828054611bc490612b9d565b90600052602060002090601f016020900481019282611be65760008555611c2c565b82601f10611bff57805160ff1916838001178555611c2c565b82800160010185558215611c2c579182015b82811115611c2c578251825591602001919060010190611c11565b50611c38929150611c3c565b5090565b5b80821115611c385760008155600101611c3d565b600067ffffffffffffffff831115611c6b57611c6b612c33565b611c7e6020601f19601f86011601612ab1565b9050828152838383011115611c9257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461070e57600080fd5b600082601f830112611cd0578081fd5b81356020611ce5611ce083612adb565b612ab1565b8281528181019085830183850287018401881015611d01578586fd5b855b85811015611d2657611d1482611ca9565b84529284019290840190600101611d03565b5090979650505050505050565b600082601f830112611d43578081fd5b81356020611d53611ce083612adb565b8281528181019085830183850287018401881015611d6f578586fd5b855b85811015611d2657813584529284019290840190600101611d71565b600082601f830112611d9d578081fd5b611dac83833560208501611c51565b9392505050565b600060208284031215611dc4578081fd5b611dac82611ca9565b60008060408385031215611ddf578081fd5b611de883611ca9565b9150611df660208401611ca9565b90509250929050565b600080600080600060a08688031215611e16578081fd5b611e1f86611ca9565b9450611e2d60208701611ca9565b9350604086013567ffffffffffffffff80821115611e49578283fd5b611e5589838a01611d33565b94506060880135915080821115611e6a578283fd5b611e7689838a01611d33565b93506080880135915080821115611e8b578283fd5b50611e9888828901611d8d565b9150509295509295909350565b600080600080600060a08688031215611ebc578081fd5b611ec586611ca9565b9450611ed360208701611ca9565b93506040860135925060608601359150608086013567ffffffffffffffff811115611efc578182fd5b611e9888828901611d8d565b60008060408385031215611f1a578182fd5b611f2383611ca9565b915060208301358015158114611f37578182fd5b809150509250929050565b60008060408385031215611f54578182fd5b611f5d83611ca9565b946020939093013593505050565b600060208284031215611f7c578081fd5b813567ffffffffffffffff811115611f92578182fd5b6117fe84828501611cc0565b60008060408385031215611fb0578182fd5b823567ffffffffffffffff80821115611fc7578384fd5b611fd386838701611cc0565b93506020850135915080821115611fe8578283fd5b50611ff585828601611d33565b9150509250929050565b600060208284031215612010578081fd5b8135611dac81612d12565b60006020828403121561202c578081fd5b8151611dac81612d12565b600060208284031215612048578081fd5b813567ffffffffffffffff81111561205e578182fd5b8201601f8101841361206e578182fd5b6117fe84823560208401611c51565b60006020828403121561208e578081fd5b5035919050565b6000815180845260208085019450808401835b838110156120c4578151875295820195908201906001016120a8565b509495945050505050565b600081518084526120e7816020860160208601612b6d565b601f01601f19169290920160200192915050565b6000815161210d818560208601612b6d565b9290920192915050565b825460009081906002810460018083168061213357607f831692505b602080841082141561215357634e487b7160e01b87526022600452602487fd5b8180156121675760018114612178576121a4565b60ff198616895284890196506121a4565b6121818b612aff565b885b8681101561219c5781548b820152908501908301612183565b505084890196505b5050505050506121b481856120fb565b95945050505050565b6001600160a01b0391909116815260200190565b60006001600160a01b03808816835280871660208401525060a060408301526121fd60a0830186612095565b828103606084015261220f8186612095565b9050828103608084015261222381856120cf565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261226760a08301846120cf565b979650505050505050565b600060208252611dac6020830184612095565b6000604082526122986040830185612095565b82810360208401526121b48185612095565b901515815260200190565b600060208252611dac60208301846120cf565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e746572000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526016908201527f4d696e742068617320616c726561647920656e64656400000000000000000000604082015260600190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201527f20617070726f7665640000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b60208082526018908201527f57686974656c697374206d696e74206973207061757365640000000000000000604082015260600190565b6020808252602e908201527f5468652055524920686173206265656e2066726f7a656e20616e642063616e2060408201527f6e6f74206265206368616e676564000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201527f72207472616e7366657200000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601a908201527f596f75206e65656420746f2062652077686974656c6973746564000000000000604082015260600190565b60208082526031908201527f57686974656c6973742061626f766520726573657276652e20416e6420796f7560408201527f20616c6c7265616479206d696e7465642e000000000000000000000000000000606082015260800190565b6020808252602f908201527f57686974656c6973742061626f766520726573657276652e204f6e6c7920616c60408201527f6c6f77656420746f206d696e7420310000000000000000000000000000000000606082015260800190565b60208082526023908201527f54686520426173655552492068617320616c7265616479206265656e2066726f60408201527f7a656e0000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360408201527f20666f722073656c660000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860408201527f206d69736d617463680000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060408201527f6d69736d61746368000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f546f74616c2045746865722073656e742069732062656c6f772074686520707260408201527f6963650000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f596f752063616e206d696e74206d696e696d756d20312c206d6178696d756d2060408201527f3230000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600e908201527f4d696e7420697320706175736564000000000000000000000000000000000000604082015260600190565b6020808252600f908201527f45786365656473206d6178696d756d0000000000000000000000000000000000604082015260600190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff81118282101715612ad357612ad3612c33565b604052919050565b600067ffffffffffffffff821115612af557612af5612c33565b5060209081020190565b60009081526020902090565b60008219821115612b1e57612b1e612c07565b500190565b600082612b3257612b32612c1d565b500490565b6000816000190483118215151615612b5157612b51612c07565b500290565b600082821015612b6857612b68612c07565b500390565b60005b83811015612b88578181015183820152602001612b70565b83811115612b97576000848401525b50505050565b600281046001821680612bb157607f821691505b60208210811415612bd257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612bec57612bec612c07565b5060010190565b600082612c0257612c02612c1d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015612c5f57610838565b600481823e6308c379a0612c738251612c49565b14612c7d57610838565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3d016004823e80513d67ffffffffffffffff8160248401118184111715612ccb5750505050610838565b82840192508251915080821115612ce55750505050610838565b503d83016020828401011115612cfd57505050610838565b601f01601f1916810160200160405291505090565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146109c457600080fdfea2646970667358221220a4bc0ab1e0bf9f2bdda1ed9d220f54832c9fdc480cecc21f80a98aa08d80c8f464736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f7370616365732e706f7274636869652d6e66742e636f6d2f70636869636274725f72696e6b6562792f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://spaces.portchie-nft.com/pchicbtr_rinkeby/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [2] : 68747470733a2f2f7370616365732e706f7274636869652d6e66742e636f6d2f
Arg [3] : 70636869636274725f72696e6b6562792f000000000000000000000000000000


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.