ETH Price: $3,329.39 (-3.82%)

Token

RetroApeClub (RAC)
 

Overview

Max Total Supply

94 RAC

Holders

37

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 RAC
0x5D7b2a7D10b54FF9100e7A07FF2680bb56BBF035
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:
RetroApeClub

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 1500 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./ERC721Pausable.sol";

contract RetroApeClub is  Ownable, ERC721Burnable, ERC721Pausable{
    //using SafeMath for uint256;
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private _tokenCounter;

    string private _baseTokenUri;
    string public placeholder;

    uint256 public RetroApeClubPrice = 5 * 10 ** 16;

    bool public isRevealed;
    
    address financeAddress = 0x77d2A16DCe85372a37719754BFfEbDd4266a5e2d; // address testnet 0x1655147A35e6Cafc1d6E587414286e6287698B7f

    mapping(address => uint256) public walletMintCount;
    mapping(address => bool) public isFreeMintClaimed;
    mapping(address => bool)public freeMintList;

    event mintRetroApeClub(uint256 indexed id, address minter);

    constructor(string memory baseUri, string memory _placeholder) ERC721("RetroApeClub", "RAC"){
        setBaseUri(baseUri);
        placeholder = _placeholder;
        pause(true);
    }

    function totalSupply() public view returns(uint){
        return _tokenCounter.current();
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenUri;
    }

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

        if(!isRevealed){
            return placeholder;
        }
        //string memory baseURI = _baseURI();
        return bytes(_baseTokenUri).length > 0 ? string(abi.encodePacked(_baseTokenUri, tokenId.toString())) : "";
    }

    function setFreeMintList(address[] memory _freeMintList) public onlyOwner{
        for(uint256 index = 0; index < _freeMintList.length; index++){
            freeMintList[_freeMintList[index]] = true;
        }
        return;
    }

    function unsetFreeMintList(address[] memory _freeMintList) public onlyOwner{
        for(uint256 index = 0; index < _freeMintList.length; index++){
            freeMintList[_freeMintList[index]] = false;
        }
        return;
    }

    function setFinanceAddress(address _financeAddress)public onlyOwner{
        financeAddress = _financeAddress;
        return;
    }

    function setPlaceholder(string memory _placeholder)public onlyOwner{
        placeholder = _placeholder;
        return;
    }

    function setRevealed(bool _isRevealed) public onlyOwner{
        isRevealed = _isRevealed;
        return;
    }

    function mint(uint256 _quantity) public payable{
        require((totalSupply() + _quantity) <= 5000 , "RetroApeClub: Cannot mint beyond max supply!");
        require(msg.value >= (RetroApeClubPrice * _quantity), "RetroApeClub: Payment is below the Price!");

        payable(financeAddress).transfer(msg.value);
        //_mintARetroApeClub(msg.sender, _tokenCounter.current());
        for(uint256 pointer = 0; pointer < _quantity; pointer++){
            walletMintCount[msg.sender] ++;
            _safeMint(msg.sender, totalSupply());
            _tokenCounter.increment();
        }
        return;
    }

    function freeMint() public payable{
        require(freeMintList[msg.sender], "RetroApeClub: You aren't eligible for free mints!");
        require(!isFreeMintClaimed[msg.sender], "RetroApeClub: You Already Claimed Your Free Mints!");
        require((totalSupply() + 3) <= 5000, "RetroApeClub: Cannot Mint Free Mints");
        
        isFreeMintClaimed[msg.sender] = true;
        walletMintCount[msg.sender] = 3;

        for(uint256 index; index < 3; index++){
            _safeMint(msg.sender, totalSupply());
            _tokenCounter.increment();
        }

        return;
    }

    function setBaseUri(string memory baseUri) public onlyOwner{
        _baseTokenUri = baseUri;
    }

    function pause(bool isPaused)public onlyOwner{
        if(isPaused == true){
            _pause();
            return;
        }
        
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

     function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 16 : ERC721Pausable.sol
pragma solidity ^0.8.7;

// SPDX-License-Identifier: MIT

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Ownable, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);
        if (_msgSender() != owner()) {
            require(!paused(), "ERC721Pausable: token transfer while paused");
        }
    }
}

File 3 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"string","name":"_placeholder","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"mintRetroApeClub","type":"event"},{"inputs":[],"name":"RetroApeClubPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFreeMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isPaused","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholder","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_financeAddress","type":"address"}],"name":"setFinanceAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_freeMintList","type":"address[]"}],"name":"setFreeMintList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_placeholder","type":"string"}],"name":"setPlaceholder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"setRevealed","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_freeMintList","type":"address[]"}],"name":"unsetFreeMintList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405266b1a2bc2ec50000600a55600b8054610100600160a81b0319167477d2a16dce85372a37719754bffebdd4266a5e2d001790553480156200004457600080fd5b50604051620030bc380380620030bc833981016040819052620000679162000510565b604080518082018252600c81526b2932ba3937a0b832a1b63ab160a11b60208083019182528351808501909452600384526252414360e81b908401528151919291620000b6916000916200039d565b508051620000cc9060019060208401906200039d565b505050620000e9620000e36200012b60201b60201c565b6200012f565b6006805460ff60a01b19169055620001018262000181565b8051620001169060099060208401906200039d565b50620001236001620001e9565b5050620005b7565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620001d05760405162461bcd60e51b815260206004820181905260248201526000805160206200309c83398151915260448201526064015b60405180910390fd5b8051620001e59060089060208401906200039d565b5050565b6006546001600160a01b03163314620002345760405162461bcd60e51b815260206004820181905260248201526000805160206200309c8339815191526044820152606401620001c7565b600181151514156200024d576200024a62000257565b50565b6200024a62000306565b6200026b600654600160a01b900460ff1690565b15620002ad5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620001c7565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002e93390565b6040516001600160a01b03909116815260200160405180910390a1565b6200031a600654600160a01b900460ff1690565b620003685760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401620001c7565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33620002e9565b828054620003ab906200057a565b90600052602060002090601f016020900481019282620003cf57600085556200041a565b82601f10620003ea57805160ff19168380011785556200041a565b828001600101855582156200041a579182015b828111156200041a578251825591602001919060010190620003fd565b50620004289291506200042c565b5090565b5b808211156200042857600081556001016200042d565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200046b57600080fd5b81516001600160401b038082111562000488576200048862000443565b604051601f8301601f19908116603f01168101908282118183101715620004b357620004b362000443565b81604052838152602092508683858801011115620004d057600080fd5b600091505b83821015620004f45785820183015181830184015290820190620004d5565b83821115620005065760008385830101525b9695505050505050565b600080604083850312156200052457600080fd5b82516001600160401b03808211156200053c57600080fd5b6200054a8683870162000459565b935060208501519150808211156200056157600080fd5b50620005708582860162000459565b9150509250929050565b600181811c908216806200058f57607f821691505b60208210811415620005b157634e487b7160e01b600052602260045260246000fd5b50919050565b612ad580620005c76000396000f3fe6080604052600436106102195760003560e01c806370a082311161011d578063a0bcfc7f116100b0578063c87b56dd1161007f578063e985e9c511610064578063e985e9c514610606578063f2fde38b1461064f578063f4e8b4501461066f57600080fd5b8063c87b56dd146105c6578063e0a80853146105e657600080fd5b8063a0bcfc7f14610536578063a22cb46514610556578063a532409314610576578063b88d4fde146105a657600080fd5b806393ecb0c6116100ec57806393ecb0c6146104cc57806395d89b41146104f95780639e75143c1461050e578063a0712d681461052357600080fd5b806370a0823114610459578063715018a614610479578063780f8d661461048e5780638da5cb5b146104ae57600080fd5b806342966c68116101b05780635b70ea9f1161017f57806360b8faa31161016457806360b8faa3146103f357806362eb30b9146104235780636352211e1461043957600080fd5b80635b70ea9f146103cc5780635c975abb146103d457600080fd5b806342966c68146103525780634e5df7501461037257806354214f691461039257806358c05975146103ac57600080fd5b8063095ea7b3116101ec578063095ea7b3146102cf57806318160ddd146102ef57806323b872dd1461031257806342842e0e1461033257600080fd5b806301ffc9a71461021e57806302329a291461025357806306fdde0314610275578063081812fc14610297575b600080fd5b34801561022a57600080fd5b5061023e610239366004612497565b61068f565b60405190151581526020015b60405180910390f35b34801561025f57600080fd5b5061027361026e3660046124d0565b6106a0565b005b34801561028157600080fd5b5061028a61071d565b60405161024a9190612543565b3480156102a357600080fd5b506102b76102b2366004612556565b6107af565b6040516001600160a01b03909116815260200161024a565b3480156102db57600080fd5b506102736102ea366004612586565b610855565b3480156102fb57600080fd5b50610304610987565b60405190815260200161024a565b34801561031e57600080fd5b5061027361032d3660046125b0565b610997565b34801561033e57600080fd5b5061027361034d3660046125b0565b610a1f565b34801561035e57600080fd5b5061027361036d366004612556565b610a3a565b34801561037e57600080fd5b5061027361038d3660046125ec565b610abe565b34801561039e57600080fd5b50600b5461023e9060ff1681565b3480156103b857600080fd5b506102736103c736600461264e565b610b54565b610273610c1a565b3480156103e057600080fd5b50600654600160a01b900460ff1661023e565b3480156103ff57600080fd5b5061023e61040e3660046125ec565b600d6020526000908152604090205460ff1681565b34801561042f57600080fd5b50610304600a5481565b34801561044557600080fd5b506102b7610454366004612556565b610e11565b34801561046557600080fd5b506103046104743660046125ec565b610e9c565b34801561048557600080fd5b50610273610f36565b34801561049a57600080fd5b506102736104a936600461264e565b610f9c565b3480156104ba57600080fd5b506006546001600160a01b03166102b7565b3480156104d857600080fd5b506103046104e73660046125ec565b600c6020526000908152604090205481565b34801561050557600080fd5b5061028a61105e565b34801561051a57600080fd5b5061028a61106d565b610273610531366004612556565b6110fb565b34801561054257600080fd5b50610273610551366004612753565b6112a0565b34801561056257600080fd5b5061027361057136600461279c565b61130d565b34801561058257600080fd5b5061023e6105913660046125ec565b600e6020526000908152604090205460ff1681565b3480156105b257600080fd5b506102736105c13660046127cf565b611318565b3480156105d257600080fd5b5061028a6105e1366004612556565b6113a6565b3480156105f257600080fd5b506102736106013660046124d0565b61152b565b34801561061257600080fd5b5061023e61062136600461284b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065b57600080fd5b5061027361066a3660046125ec565b611598565b34801561067b57600080fd5b5061027361068a366004612753565b611677565b600061069a826116e4565b92915050565b6006546001600160a01b031633146106ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600181151514156107155761071261177f565b50565b61071261184c565b60606000805461072c90612875565b80601f016020809104026020016040519081016040528092919081815260200182805461075890612875565b80156107a55780601f1061077a576101008083540402835291602001916107a5565b820191906000526020600020905b81548152906001019060200180831161078857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016106f6565b506000908152600460205260409020546001600160a01b031690565b600061086082610e11565b9050806001600160a01b0316836001600160a01b031614156108ea5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106f6565b336001600160a01b038216148061090657506109068133610621565b6109785760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106f6565b61098283836118f4565b505050565b600061099260075490565b905090565b6109a2335b8261196f565b610a145760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f6565b610982838383611a77565b61098283838360405180602001604052806000815250611318565b610a433361099c565b610ab55760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f7665640000000000000000000000000000000060648201526084016106f6565b61071281611c5c565b6006546001600160a01b03163314610b185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b600b80546001600160a01b038316610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff90911617905550565b6006546001600160a01b03163314610bae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b60005b8151811015610c16576001600e6000848481518110610bd257610bd26128b0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c0e816128dc565b915050610bb1565b5050565b336000908152600e602052604090205460ff16610c9f5760405162461bcd60e51b815260206004820152603160248201527f526574726f417065436c75623a20596f75206172656e277420656c696769626c60448201527f6520666f722066726565206d696e74732100000000000000000000000000000060648201526084016106f6565b336000908152600d602052604090205460ff1615610d255760405162461bcd60e51b815260206004820152603260248201527f526574726f417065436c75623a20596f7520416c726561647920436c61696d6560448201527f6420596f75722046726565204d696e747321000000000000000000000000000060648201526084016106f6565b611388610d30610987565b610d3b9060036128f7565b1115610dae5760405162461bcd60e51b8152602060048201526024808201527f526574726f417065436c75623a2043616e6e6f74204d696e742046726565204d60448201527f696e74730000000000000000000000000000000000000000000000000000000060648201526084016106f6565b336000908152600d60209081526040808320805460ff19166001179055600c9091528120600390555b600381101561071257610df133610dec610987565b611d10565b610dff600780546001019055565b80610e09816128dc565b915050610dd7565b6000818152600260205260408120546001600160a01b03168061069a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106f6565b60006001600160a01b038216610f1a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106f6565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b610f9a6000611d2a565b565b6006546001600160a01b03163314610ff65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b60005b8151811015610c16576000600e600084848151811061101a5761101a6128b0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611056816128dc565b915050610ff9565b60606001805461072c90612875565b6009805461107a90612875565b80601f01602080910402602001604051908101604052809291908181526020018280546110a690612875565b80156110f35780601f106110c8576101008083540402835291602001916110f3565b820191906000526020600020905b8154815290600101906020018083116110d657829003601f168201915b505050505081565b61138881611107610987565b61111191906128f7565b11156111855760405162461bcd60e51b815260206004820152602c60248201527f526574726f417065436c75623a2043616e6e6f74206d696e74206265796f6e6460448201527f206d617820737570706c7921000000000000000000000000000000000000000060648201526084016106f6565b80600a54611193919061290f565b3410156112085760405162461bcd60e51b815260206004820152602960248201527f526574726f417065436c75623a205061796d656e742069732062656c6f77207460448201527f686520507269636521000000000000000000000000000000000000000000000060648201526084016106f6565b600b546040516001600160a01b0361010090920491909116903480156108fc02916000818181858888f19350505050158015611248573d6000803e3d6000fd5b5060005b81811015610c1657336000908152600c6020526040812080549161126f836128dc565b919050555061128033610dec610987565b61128e600780546001019055565b80611298816128dc565b91505061124c565b6006546001600160a01b031633146112fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b8051610c169060089060208401906123e8565b610c16338383611d89565b611322338361196f565b6113945760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f6565b6113a084848484611e58565b50505050565b6000818152600260205260409020546060906001600160a01b03166114335760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016106f6565b600b5460ff166114cf576009805461144a90612875565b80601f016020809104026020016040519081016040528092919081815260200182805461147690612875565b80156114c35780601f10611498576101008083540402835291602001916114c3565b820191906000526020600020905b8154815290600101906020018083116114a657829003601f168201915b50505050509050919050565b6000600880546114de90612875565b9050116114fa576040518060200160405280600081525061069a565b600861150583611ee1565b60405160200161151692919061294a565b60405160208183030381529060405292915050565b6006546001600160a01b031633146115855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b600b805482151560ff1990911617905550565b6006546001600160a01b031633146115f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b6001600160a01b03811661166e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106f6565b61071281611d2a565b6006546001600160a01b031633146116d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b8051610c169060099060208401906123e8565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061174757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061069a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461069a565b600654600160a01b900460ff16156117d95760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106f6565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861182f3390565b6040516001600160a01b03909116815260200160405180910390a1565b600654600160a01b900460ff166118a55760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016106f6565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa3361182f565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061193682610e11565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166119f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016106f6565b6000611a0483610e11565b9050806001600160a01b0316846001600160a01b03161480611a3f5750836001600160a01b0316611a34846107af565b6001600160a01b0316145b80611a6f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a8a82610e11565b6001600160a01b031614611b065760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106f6565b6001600160a01b038216611b815760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106f6565b611b8c838383612013565b611b976000826118f4565b6001600160a01b0383166000908152600360205260408120805460019290611bc09084906129f1565b90915550506001600160a01b0382166000908152600360205260408120805460019290611bee9084906128f7565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611c6782610e11565b9050611c7581600084612013565b611c806000836118f4565b6001600160a01b0381166000908152600360205260408120805460019290611ca99084906129f1565b9091555050600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610c1682826040518060200160405280600081525061201e565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611deb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106f6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611e63848484611a77565b611e6f848484846120a7565b6113a05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106f6565b606081611f2157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611f4b5780611f35816128dc565b9150611f449050600a83612a1e565b9150611f25565b60008167ffffffffffffffff811115611f6657611f66612607565b6040519080825280601f01601f191660200182016040528015611f90576020820181803683370190505b5090505b8415611a6f57611fa56001836129f1565b9150611fb2600a86612a32565b611fbd9060306128f7565b60f81b818381518110611fd257611fd26128b0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061200c600a86612a1e565b9450611f94565b6109828383836121fb565b612028838361228d565b61203560008484846120a7565b6109825760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106f6565b60006001600160a01b0384163b156121f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120eb903390899088908890600401612a46565b6020604051808303816000875af1925050508015612126575060408051601f3d908101601f1916820190925261212391810190612a82565b60015b6121d6573d808015612154576040519150601f19603f3d011682016040523d82523d6000602084013e612159565b606091505b5080516121ce5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106f6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a6f565b506001949350505050565b6006546001600160a01b0316331461098257600654600160a01b900460ff16156109825760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c652070617573656400000000000000000000000000000000000000000060648201526084016106f6565b6001600160a01b0382166122e35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106f6565b6000818152600260205260409020546001600160a01b0316156123485760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106f6565b61235460008383612013565b6001600160a01b038216600090815260036020526040812080546001929061237d9084906128f7565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546123f490612875565b90600052602060002090601f016020900481019282612416576000855561245c565b82601f1061242f57805160ff191683800117855561245c565b8280016001018555821561245c579182015b8281111561245c578251825591602001919060010190612441565b5061246892915061246c565b5090565b5b80821115612468576000815560010161246d565b6001600160e01b03198116811461071257600080fd5b6000602082840312156124a957600080fd5b81356124b481612481565b9392505050565b803580151581146124cb57600080fd5b919050565b6000602082840312156124e257600080fd5b6124b4826124bb565b60005b838110156125065781810151838201526020016124ee565b838111156113a05750506000910152565b6000815180845261252f8160208601602086016124eb565b601f01601f19169290920160200192915050565b6020815260006124b46020830184612517565b60006020828403121561256857600080fd5b5035919050565b80356001600160a01b03811681146124cb57600080fd5b6000806040838503121561259957600080fd5b6125a28361256f565b946020939093013593505050565b6000806000606084860312156125c557600080fd5b6125ce8461256f565b92506125dc6020850161256f565b9150604084013590509250925092565b6000602082840312156125fe57600080fd5b6124b48261256f565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561264657612646612607565b604052919050565b6000602080838503121561266157600080fd5b823567ffffffffffffffff8082111561267957600080fd5b818501915085601f83011261268d57600080fd5b81358181111561269f5761269f612607565b8060051b91506126b084830161261d565b81815291830184019184810190888411156126ca57600080fd5b938501935b838510156126ef576126e08561256f565b825293850193908501906126cf565b98975050505050505050565b600067ffffffffffffffff83111561271557612715612607565b612728601f8401601f191660200161261d565b905082815283838301111561273c57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561276557600080fd5b813567ffffffffffffffff81111561277c57600080fd5b8201601f8101841361278d57600080fd5b611a6f848235602084016126fb565b600080604083850312156127af57600080fd5b6127b88361256f565b91506127c6602084016124bb565b90509250929050565b600080600080608085870312156127e557600080fd5b6127ee8561256f565b93506127fc6020860161256f565b925060408501359150606085013567ffffffffffffffff81111561281f57600080fd5b8501601f8101871361283057600080fd5b61283f878235602084016126fb565b91505092959194509250565b6000806040838503121561285e57600080fd5b6128678361256f565b91506127c66020840161256f565b600181811c9082168061288957607f821691505b602082108114156128aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156128f0576128f06128c6565b5060010190565b6000821982111561290a5761290a6128c6565b500190565b6000816000190483118215151615612929576129296128c6565b500290565b600081516129408185602086016124eb565b9290920192915050565b600080845481600182811c91508083168061296657607f831692505b602080841082141561298657634e487b7160e01b86526022600452602486fd5b81801561299a57600181146129ab576129d8565b60ff198616895284890196506129d8565b60008b81526020902060005b868110156129d05781548b8201529085019083016129b7565b505084890196505b5050505050506129e8818561292e565b95945050505050565b600082821015612a0357612a036128c6565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612a2d57612a2d612a08565b500490565b600082612a4157612a41612a08565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a786080830184612517565b9695505050505050565b600060208284031215612a9457600080fd5b81516124b48161248156fea2646970667358221220153c4d9264761031bf91ca5cb3c628591c09984ac69e73d1c2434fcb1562ce7064736f6c634300080b00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617964747461633161662e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f6465762f6170692f00000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f617964747461633161662e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f6465762f707265766965772f3000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102195760003560e01c806370a082311161011d578063a0bcfc7f116100b0578063c87b56dd1161007f578063e985e9c511610064578063e985e9c514610606578063f2fde38b1461064f578063f4e8b4501461066f57600080fd5b8063c87b56dd146105c6578063e0a80853146105e657600080fd5b8063a0bcfc7f14610536578063a22cb46514610556578063a532409314610576578063b88d4fde146105a657600080fd5b806393ecb0c6116100ec57806393ecb0c6146104cc57806395d89b41146104f95780639e75143c1461050e578063a0712d681461052357600080fd5b806370a0823114610459578063715018a614610479578063780f8d661461048e5780638da5cb5b146104ae57600080fd5b806342966c68116101b05780635b70ea9f1161017f57806360b8faa31161016457806360b8faa3146103f357806362eb30b9146104235780636352211e1461043957600080fd5b80635b70ea9f146103cc5780635c975abb146103d457600080fd5b806342966c68146103525780634e5df7501461037257806354214f691461039257806358c05975146103ac57600080fd5b8063095ea7b3116101ec578063095ea7b3146102cf57806318160ddd146102ef57806323b872dd1461031257806342842e0e1461033257600080fd5b806301ffc9a71461021e57806302329a291461025357806306fdde0314610275578063081812fc14610297575b600080fd5b34801561022a57600080fd5b5061023e610239366004612497565b61068f565b60405190151581526020015b60405180910390f35b34801561025f57600080fd5b5061027361026e3660046124d0565b6106a0565b005b34801561028157600080fd5b5061028a61071d565b60405161024a9190612543565b3480156102a357600080fd5b506102b76102b2366004612556565b6107af565b6040516001600160a01b03909116815260200161024a565b3480156102db57600080fd5b506102736102ea366004612586565b610855565b3480156102fb57600080fd5b50610304610987565b60405190815260200161024a565b34801561031e57600080fd5b5061027361032d3660046125b0565b610997565b34801561033e57600080fd5b5061027361034d3660046125b0565b610a1f565b34801561035e57600080fd5b5061027361036d366004612556565b610a3a565b34801561037e57600080fd5b5061027361038d3660046125ec565b610abe565b34801561039e57600080fd5b50600b5461023e9060ff1681565b3480156103b857600080fd5b506102736103c736600461264e565b610b54565b610273610c1a565b3480156103e057600080fd5b50600654600160a01b900460ff1661023e565b3480156103ff57600080fd5b5061023e61040e3660046125ec565b600d6020526000908152604090205460ff1681565b34801561042f57600080fd5b50610304600a5481565b34801561044557600080fd5b506102b7610454366004612556565b610e11565b34801561046557600080fd5b506103046104743660046125ec565b610e9c565b34801561048557600080fd5b50610273610f36565b34801561049a57600080fd5b506102736104a936600461264e565b610f9c565b3480156104ba57600080fd5b506006546001600160a01b03166102b7565b3480156104d857600080fd5b506103046104e73660046125ec565b600c6020526000908152604090205481565b34801561050557600080fd5b5061028a61105e565b34801561051a57600080fd5b5061028a61106d565b610273610531366004612556565b6110fb565b34801561054257600080fd5b50610273610551366004612753565b6112a0565b34801561056257600080fd5b5061027361057136600461279c565b61130d565b34801561058257600080fd5b5061023e6105913660046125ec565b600e6020526000908152604090205460ff1681565b3480156105b257600080fd5b506102736105c13660046127cf565b611318565b3480156105d257600080fd5b5061028a6105e1366004612556565b6113a6565b3480156105f257600080fd5b506102736106013660046124d0565b61152b565b34801561061257600080fd5b5061023e61062136600461284b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065b57600080fd5b5061027361066a3660046125ec565b611598565b34801561067b57600080fd5b5061027361068a366004612753565b611677565b600061069a826116e4565b92915050565b6006546001600160a01b031633146106ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600181151514156107155761071261177f565b50565b61071261184c565b60606000805461072c90612875565b80601f016020809104026020016040519081016040528092919081815260200182805461075890612875565b80156107a55780601f1061077a576101008083540402835291602001916107a5565b820191906000526020600020905b81548152906001019060200180831161078857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016106f6565b506000908152600460205260409020546001600160a01b031690565b600061086082610e11565b9050806001600160a01b0316836001600160a01b031614156108ea5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106f6565b336001600160a01b038216148061090657506109068133610621565b6109785760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106f6565b61098283836118f4565b505050565b600061099260075490565b905090565b6109a2335b8261196f565b610a145760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f6565b610982838383611a77565b61098283838360405180602001604052806000815250611318565b610a433361099c565b610ab55760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f7665640000000000000000000000000000000060648201526084016106f6565b61071281611c5c565b6006546001600160a01b03163314610b185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b600b80546001600160a01b038316610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff90911617905550565b6006546001600160a01b03163314610bae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b60005b8151811015610c16576001600e6000848481518110610bd257610bd26128b0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c0e816128dc565b915050610bb1565b5050565b336000908152600e602052604090205460ff16610c9f5760405162461bcd60e51b815260206004820152603160248201527f526574726f417065436c75623a20596f75206172656e277420656c696769626c60448201527f6520666f722066726565206d696e74732100000000000000000000000000000060648201526084016106f6565b336000908152600d602052604090205460ff1615610d255760405162461bcd60e51b815260206004820152603260248201527f526574726f417065436c75623a20596f7520416c726561647920436c61696d6560448201527f6420596f75722046726565204d696e747321000000000000000000000000000060648201526084016106f6565b611388610d30610987565b610d3b9060036128f7565b1115610dae5760405162461bcd60e51b8152602060048201526024808201527f526574726f417065436c75623a2043616e6e6f74204d696e742046726565204d60448201527f696e74730000000000000000000000000000000000000000000000000000000060648201526084016106f6565b336000908152600d60209081526040808320805460ff19166001179055600c9091528120600390555b600381101561071257610df133610dec610987565b611d10565b610dff600780546001019055565b80610e09816128dc565b915050610dd7565b6000818152600260205260408120546001600160a01b03168061069a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106f6565b60006001600160a01b038216610f1a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106f6565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b610f9a6000611d2a565b565b6006546001600160a01b03163314610ff65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b60005b8151811015610c16576000600e600084848151811061101a5761101a6128b0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611056816128dc565b915050610ff9565b60606001805461072c90612875565b6009805461107a90612875565b80601f01602080910402602001604051908101604052809291908181526020018280546110a690612875565b80156110f35780601f106110c8576101008083540402835291602001916110f3565b820191906000526020600020905b8154815290600101906020018083116110d657829003601f168201915b505050505081565b61138881611107610987565b61111191906128f7565b11156111855760405162461bcd60e51b815260206004820152602c60248201527f526574726f417065436c75623a2043616e6e6f74206d696e74206265796f6e6460448201527f206d617820737570706c7921000000000000000000000000000000000000000060648201526084016106f6565b80600a54611193919061290f565b3410156112085760405162461bcd60e51b815260206004820152602960248201527f526574726f417065436c75623a205061796d656e742069732062656c6f77207460448201527f686520507269636521000000000000000000000000000000000000000000000060648201526084016106f6565b600b546040516001600160a01b0361010090920491909116903480156108fc02916000818181858888f19350505050158015611248573d6000803e3d6000fd5b5060005b81811015610c1657336000908152600c6020526040812080549161126f836128dc565b919050555061128033610dec610987565b61128e600780546001019055565b80611298816128dc565b91505061124c565b6006546001600160a01b031633146112fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b8051610c169060089060208401906123e8565b610c16338383611d89565b611322338361196f565b6113945760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f6565b6113a084848484611e58565b50505050565b6000818152600260205260409020546060906001600160a01b03166114335760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016106f6565b600b5460ff166114cf576009805461144a90612875565b80601f016020809104026020016040519081016040528092919081815260200182805461147690612875565b80156114c35780601f10611498576101008083540402835291602001916114c3565b820191906000526020600020905b8154815290600101906020018083116114a657829003601f168201915b50505050509050919050565b6000600880546114de90612875565b9050116114fa576040518060200160405280600081525061069a565b600861150583611ee1565b60405160200161151692919061294a565b60405160208183030381529060405292915050565b6006546001600160a01b031633146115855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b600b805482151560ff1990911617905550565b6006546001600160a01b031633146115f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b6001600160a01b03811661166e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106f6565b61071281611d2a565b6006546001600160a01b031633146116d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f6565b8051610c169060099060208401906123e8565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061174757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061069a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461069a565b600654600160a01b900460ff16156117d95760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106f6565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861182f3390565b6040516001600160a01b03909116815260200160405180910390a1565b600654600160a01b900460ff166118a55760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016106f6565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa3361182f565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061193682610e11565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166119f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016106f6565b6000611a0483610e11565b9050806001600160a01b0316846001600160a01b03161480611a3f5750836001600160a01b0316611a34846107af565b6001600160a01b0316145b80611a6f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a8a82610e11565b6001600160a01b031614611b065760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106f6565b6001600160a01b038216611b815760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106f6565b611b8c838383612013565b611b976000826118f4565b6001600160a01b0383166000908152600360205260408120805460019290611bc09084906129f1565b90915550506001600160a01b0382166000908152600360205260408120805460019290611bee9084906128f7565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611c6782610e11565b9050611c7581600084612013565b611c806000836118f4565b6001600160a01b0381166000908152600360205260408120805460019290611ca99084906129f1565b9091555050600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610c1682826040518060200160405280600081525061201e565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611deb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106f6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611e63848484611a77565b611e6f848484846120a7565b6113a05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106f6565b606081611f2157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611f4b5780611f35816128dc565b9150611f449050600a83612a1e565b9150611f25565b60008167ffffffffffffffff811115611f6657611f66612607565b6040519080825280601f01601f191660200182016040528015611f90576020820181803683370190505b5090505b8415611a6f57611fa56001836129f1565b9150611fb2600a86612a32565b611fbd9060306128f7565b60f81b818381518110611fd257611fd26128b0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061200c600a86612a1e565b9450611f94565b6109828383836121fb565b612028838361228d565b61203560008484846120a7565b6109825760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106f6565b60006001600160a01b0384163b156121f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120eb903390899088908890600401612a46565b6020604051808303816000875af1925050508015612126575060408051601f3d908101601f1916820190925261212391810190612a82565b60015b6121d6573d808015612154576040519150601f19603f3d011682016040523d82523d6000602084013e612159565b606091505b5080516121ce5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106f6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a6f565b506001949350505050565b6006546001600160a01b0316331461098257600654600160a01b900460ff16156109825760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c652070617573656400000000000000000000000000000000000000000060648201526084016106f6565b6001600160a01b0382166122e35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106f6565b6000818152600260205260409020546001600160a01b0316156123485760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106f6565b61235460008383612013565b6001600160a01b038216600090815260036020526040812080546001929061237d9084906128f7565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546123f490612875565b90600052602060002090601f016020900481019282612416576000855561245c565b82601f1061242f57805160ff191683800117855561245c565b8280016001018555821561245c579182015b8281111561245c578251825591602001919060010190612441565b5061246892915061246c565b5090565b5b80821115612468576000815560010161246d565b6001600160e01b03198116811461071257600080fd5b6000602082840312156124a957600080fd5b81356124b481612481565b9392505050565b803580151581146124cb57600080fd5b919050565b6000602082840312156124e257600080fd5b6124b4826124bb565b60005b838110156125065781810151838201526020016124ee565b838111156113a05750506000910152565b6000815180845261252f8160208601602086016124eb565b601f01601f19169290920160200192915050565b6020815260006124b46020830184612517565b60006020828403121561256857600080fd5b5035919050565b80356001600160a01b03811681146124cb57600080fd5b6000806040838503121561259957600080fd5b6125a28361256f565b946020939093013593505050565b6000806000606084860312156125c557600080fd5b6125ce8461256f565b92506125dc6020850161256f565b9150604084013590509250925092565b6000602082840312156125fe57600080fd5b6124b48261256f565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561264657612646612607565b604052919050565b6000602080838503121561266157600080fd5b823567ffffffffffffffff8082111561267957600080fd5b818501915085601f83011261268d57600080fd5b81358181111561269f5761269f612607565b8060051b91506126b084830161261d565b81815291830184019184810190888411156126ca57600080fd5b938501935b838510156126ef576126e08561256f565b825293850193908501906126cf565b98975050505050505050565b600067ffffffffffffffff83111561271557612715612607565b612728601f8401601f191660200161261d565b905082815283838301111561273c57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561276557600080fd5b813567ffffffffffffffff81111561277c57600080fd5b8201601f8101841361278d57600080fd5b611a6f848235602084016126fb565b600080604083850312156127af57600080fd5b6127b88361256f565b91506127c6602084016124bb565b90509250929050565b600080600080608085870312156127e557600080fd5b6127ee8561256f565b93506127fc6020860161256f565b925060408501359150606085013567ffffffffffffffff81111561281f57600080fd5b8501601f8101871361283057600080fd5b61283f878235602084016126fb565b91505092959194509250565b6000806040838503121561285e57600080fd5b6128678361256f565b91506127c66020840161256f565b600181811c9082168061288957607f821691505b602082108114156128aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156128f0576128f06128c6565b5060010190565b6000821982111561290a5761290a6128c6565b500190565b6000816000190483118215151615612929576129296128c6565b500290565b600081516129408185602086016124eb565b9290920192915050565b600080845481600182811c91508083168061296657607f831692505b602080841082141561298657634e487b7160e01b86526022600452602486fd5b81801561299a57600181146129ab576129d8565b60ff198616895284890196506129d8565b60008b81526020902060005b868110156129d05781548b8201529085019083016129b7565b505084890196505b5050505050506129e8818561292e565b95945050505050565b600082821015612a0357612a036128c6565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612a2d57612a2d612a08565b500490565b600082612a4157612a41612a08565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a786080830184612517565b9695505050505050565b600060208284031215612a9457600080fd5b81516124b48161248156fea2646970667358221220153c4d9264761031bf91ca5cb3c628591c09984ac69e73d1c2434fcb1562ce7064736f6c634300080b0033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617964747461633161662e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f6465762f6170692f00000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f617964747461633161662e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f6465762f707265766965772f3000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseUri (string): https://aydttac1af.execute-api.us-east-1.amazonaws.com/dev/api/
Arg [1] : _placeholder (string): https://aydttac1af.execute-api.us-east-1.amazonaws.com/dev/preview/0

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [3] : 68747470733a2f2f617964747461633161662e657865637574652d6170692e75
Arg [4] : 732d656173742d312e616d617a6f6e6177732e636f6d2f6465762f6170692f00
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [6] : 68747470733a2f2f617964747461633161662e657865637574652d6170692e75
Arg [7] : 732d656173742d312e616d617a6f6e6177732e636f6d2f6465762f7072657669
Arg [8] : 65772f3000000000000000000000000000000000000000000000000000000000


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.