ETH Price: $3,620.29 (-2.26%)

Token

ERC-20: Gnome Nation (GNOME)
 

Overview

Max Total Supply

262 GNOME

Holders

165

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cryptminal.eth
Balance
3 GNOME
0x502508fdbf1b4ace366223cad0903ebc035dea7a
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:
GnomeNation

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion
File 1 of 12 : GnomeNation.sol
// SPDX-License-Identifier: GPL-3.0
// Author: Pagzi Tech Inc. | 2022
// Gnome Nation | 2022
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract GnomeNation is ERC721, Ownable {
  string public baseURI;
  uint256 public cost = 0.08 ether;
  uint256 public supply = 10000;
  uint256 public totalSupply;
  address gnomebuilder = 0xF4617b57ad853f4Bc2Ce3f06C0D74958c240633c;
  address gnomeartist = 0xB2a0a3568ae7370310F489EbB8947964353D4620;
  address gnomeleader = 0x53729421B21d06E65fbc4C67d12B04A66EC182aA;
  //presale settings
  uint256 public claimDate = 1642078800;
  uint256 public publicDate = 1642165200;
  mapping(address => uint256) public mintPasses;

  constructor(
  string memory _initBaseURI
  ) ERC721("Gnome Nation", "GNOME"){
  setBaseURI(_initBaseURI);
  setMintPasses();
  }
  
  // public
  function mint(uint256 _mintAmount) public payable{
  require(publicDate <= block.timestamp, "Not yet");
  require(totalSupply + _mintAmount + 1 <= supply, "0" );
  require(msg.value >= cost * _mintAmount);
  for (uint256 i; i < _mintAmount; i++) {
  _safeMint(msg.sender, totalSupply + 1 + i);
  }
  totalSupply += _mintAmount;
  }
  function presaleMint(uint256 _mintAmount) public payable{
  require(claimDate <= block.timestamp, "Not yet");
  require(totalSupply + _mintAmount + 1 <= supply, "0" );
  require(msg.value >= cost * _mintAmount);
  for (uint256 i; i < _mintAmount; i++) {
  _safeMint(msg.sender, totalSupply + 1 + i);
  }
  totalSupply += _mintAmount;
  }
  function claim() public{
  require(claimDate <= block.timestamp, "Not yet");
  require(totalSupply + 2 <= supply, "0" );
  uint256 reserve = mintPasses[msg.sender];
  require(reserve > 0, "Low reserve");
  _safeMint(msg.sender, totalSupply + 1);
  mintPasses[msg.sender] = 0;
  totalSupply++;
  }

  //only owner
  function gift(uint[] calldata quantity, address[] calldata recipient) public onlyOwner{
  require(quantity.length == recipient.length, "Provide quantities and recipients" );
  uint totalQuantity = 0;
  for(uint i = 0; i < quantity.length; ++i){
    totalQuantity += quantity[i];
  }
  require(totalSupply + totalQuantity + 1 <= supply, "0" );
  for(uint i = 0; i < recipient.length; ++i){
    for(uint j = 0; j < quantity[i]; ++j){
    _safeMint(recipient[i], totalSupply + 1);
	totalSupply++;
    }
  }
  }
  function withdraw() public onlyOwner {
  uint256 balance = address(this).balance;
  payable(gnomeartist).transfer((balance * 100) / 1000);
  payable(gnomebuilder).transfer((balance * 200) / 1000);
  payable(gnomeleader).transfer((balance * 700) / 1000);
  }  
  function setCost(uint256 _cost) public onlyOwner {
  cost = _cost;
  }
  function setSupply(uint256 _supply) public onlyOwner {
  supply = _supply;
  }
  function setBaseURI(string memory _newBaseURI) public onlyOwner {
  baseURI = _newBaseURI;
  }
  
  //internal
  function setMintPasses() internal {
  mintPasses[0x169353769BE5ff4bC5781d6776DD84af408c7414] = 1;
  mintPasses[0x0005dd02a10F6d0Ba855691B2Ee4457FaC425249] = 1;
  mintPasses[0x63504aCa8fB4c9C16C2F435adBEfAAEc218b0277] = 1;
  mintPasses[0xF23a6D0b3e1E166c78CA2FaB4C524cFA9d2198E3] = 1;
  mintPasses[0x3A516381A0A49534C1576C3F28C646beBb3c8AeB] = 1;
  mintPasses[0x1298BA6179936FDFc7e55f27F58b3b5fe3E09e9e] = 1;
  mintPasses[0x4e0096489B2b3B4b878ab40A33bD53ae38DE4943] = 1;
  mintPasses[0x64Aa03Ae866cc2C3090bd8A868Fdd2D44aD3f3B4] = 1;
  mintPasses[0xf4b3Bd8d26820B2E5e300524000d4eE0FAF7405F] = 1;
  mintPasses[0xAA3CE3786277AbFEBA360aA253D563ed3eb39DEb] = 1;
  mintPasses[0xB2D58aF720ee38f1a9f9c5feD3aB0ffBbc29d183] = 1;
  mintPasses[0xe2729Bc1e9fb2eFA2182e7f44431978CE06352fE] = 1;
  mintPasses[0xEF36f4d2A2f04D9284b1758518A9B8C6371ACCEa] = 1;
  mintPasses[0x23f0FDCf528D715A155A00c07C6B592069BE906F] = 1;
  mintPasses[0xb8a338497c6D44Ced849507a95A79B7dF671D625] = 1;
  mintPasses[0x99b7a3A449849C31Dd693c6E1Cf22D1fd9Eb1450] = 1; 
  }
  function _baseURI() internal view override returns (string memory) {
  return baseURI;
  }
}

File 2 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 3 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 5 of 12 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 6 of 12 : Address.sol
// SPDX-License-Identifier: MIT

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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 8 of 12 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 10 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT

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 11 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "./extensions/IERC721Enumerable.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}. 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 || ERC721.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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 || ERC721.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 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 12 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267011c37937e080000600855612710600955600b80546001600160a01b031990811673f4617b57ad853f4bc2ce3f06c0d74958c240633c17909155600c8054821673b2a0a3568ae7370310f489ebb8947964353d4620179055600d80549091167353729421b21d06e65fbc4c67d12b04a66ec182aa1790556361e02250600e556361e173d0600f553480156200009957600080fd5b5060405162002e1b38038062002e1b833981016040819052620000bc9162000533565b604080518082018252600c81526b23b737b6b2902730ba34b7b760a11b602080830191825283518085019094526005845264474e4f4d4560d81b9084015281519192916200010d9160009162000477565b5080516200012390600190602084019062000477565b505050600062000138620003fb60201b60201c565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200019181620003ff565b620003f4601060205260017fa2b3a570bba21e4d08c39299656a23b960ae1e930b6e6f61a8d36194e28554928190557f0b2d03849b404b17536af4c1eabe3ce076a241fa0e7ced30c94893848eac41b58190557f378a4bf5f0a3fa28dd8d1d975ccd89d06bffb7170227567bf4bc7433a6963f238190557f9925ad2940a8a8521c0c5719ae71b088218bf632ce4ff820a09f1c9cce6559ed8190557faa5c37c1a9f4c402d42b501451fc14b5b9e5199005c29ba05b40f18507676f498190557f03eae6b6ed6a2aea97679e0abac1b468f4b8e25dfd12ec374d5c1d5a892b987b8190557f7c7edb49ef1995d2174b7665930a63fc81edd1ddb5e94f29f357e0803ba067fb8190557f50fa2228b5654ebc37f62448a55302dd46b01dcd0c3e6f2194df4088c6c7b5048190557fe9834a8def5187b36fe0ca8d40718a1cb492bcb512eeb8784290e67edd6be5818190557fd019e84d715fbdcf8d52a146aa7963c410d4ad72ed2e2298ca9b131a797fed418190557f9469d00b79214d6f97ff6f9c182499b7f4289d5c776d3002036f1b5c98a7a7a48190557f025c7f088a5e33ded21142e9a1cd0dc5e56ba0377b18e07f9ce97b6823ac65f78190557f4d305438b44e9032b3240eb89b413675b153009dda3c2425437435a4c144dbad8190557f3d6d922e51d6666b76030e6971233100ffcdba918e91eeefe7c24f4d82fa6e918190557f11242431496ccb5956a483ec029b1636dca6649738217fa36e7cdd223903fae08190557399b7a3a449849c31dd693c6e1cf22d1fd9eb14506000527f30c2e521747cc57737ec69e03a27307f553db364a92a96e13d43395775232b6255565b506200064c565b3390565b6006546001600160a01b031633146200045e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200047390600790602084019062000477565b5050565b82805462000485906200060f565b90600052602060002090601f016020900481019282620004a95760008555620004f4565b82601f10620004c457805160ff1916838001178555620004f4565b82800160010185558215620004f4579182015b82811115620004f4578251825591602001919060010190620004d7565b506200050292915062000506565b5090565b5b8082111562000502576000815560010162000507565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200054757600080fd5b82516001600160401b03808211156200055f57600080fd5b818501915085601f8301126200057457600080fd5b8151818111156200058957620005896200051d565b604051601f8201601f19908116603f01168101908382118183101715620005b457620005b46200051d565b816040528281528886848701011115620005cd57600080fd5b600093505b82841015620005f15784840186015181850187015292850192620005d2565b82841115620006035760008684830101525b98975050505050505050565b600181811c908216806200062457607f821691505b602082108114156200064657634e487b7160e01b600052602260045260246000fd5b50919050565b6127bf806200065c6000396000f3fe6080604052600436106101d85760003560e01c806355f804b31161010257806396ea3a4711610095578063c87b56dd11610064578063c87b56dd14610511578063c9b298f114610531578063e985e9c514610544578063f2fde38b1461058d57600080fd5b806396ea3a471461049e578063a0712d68146104be578063a22cb465146104d1578063b88d4fde146104f157600080fd5b8063715018a6116100d1578063715018a6146104295780638da5cb5b1461043e5780638f1bca111461045c57806395d89b411461048957600080fd5b806355f804b3146103b45780636352211e146103d45780636c0360eb146103f457806370a082311461040957600080fd5b806318160ddd1161017a57806342842e0e1161014957806342842e0e1461034957806344a0d68a146103695780634e71d92d1461038957806351463d5b1461039e57600080fd5b806318160ddd146102de57806323b872dd146102f45780633b4c4b25146103145780633ccfd60b1461033457600080fd5b8063081812fc116101b6578063081812fc14610258578063095ea7b3146102905780630db4bad0146102b257806313faede6146102c857600080fd5b806301ffc9a7146101dd578063047fc9aa1461021257806306fdde0314610236575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612184565b6105ad565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061022860095481565b604051908152602001610209565b34801561024257600080fd5b5061024b610692565b60405161020991906121f9565b34801561026457600080fd5b5061027861027336600461220c565b610724565b6040516001600160a01b039091168152602001610209565b34801561029c57600080fd5b506102b06102ab366004612241565b6107cf565b005b3480156102be57600080fd5b50610228600e5481565b3480156102d457600080fd5b5061022860085481565b3480156102ea57600080fd5b50610228600a5481565b34801561030057600080fd5b506102b061030f36600461226b565b610901565b34801561032057600080fd5b506102b061032f36600461220c565b610988565b34801561034057600080fd5b506102b06109e7565b34801561035557600080fd5b506102b061036436600461226b565b610b37565b34801561037557600080fd5b506102b061038436600461220c565b610b52565b34801561039557600080fd5b506102b0610bb1565b3480156103aa57600080fd5b50610228600f5481565b3480156103c057600080fd5b506102b06103cf36600461234c565b610cff565b3480156103e057600080fd5b506102786103ef36600461220c565b610d6c565b34801561040057600080fd5b5061024b610df7565b34801561041557600080fd5b50610228610424366004612395565b610e85565b34801561043557600080fd5b506102b0610f1f565b34801561044a57600080fd5b506006546001600160a01b0316610278565b34801561046857600080fd5b50610228610477366004612395565b60106020526000908152604090205481565b34801561049557600080fd5b5061024b610fdb565b3480156104aa57600080fd5b506102b06104b93660046123fc565b610fea565b6102b06104cc36600461220c565b61120b565b3480156104dd57600080fd5b506102b06104ec366004612468565b611337565b3480156104fd57600080fd5b506102b061050c3660046124a4565b61141a565b34801561051d57600080fd5b5061024b61052c36600461220c565b6114a8565b6102b061053f36600461220c565b611591565b34801561055057600080fd5b506101fd61055f366004612520565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059957600080fd5b506102b06105a8366004612395565b611698565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061064057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061068c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546106a190612553565b80601f01602080910402602001604051908101604052809291908181526020018280546106cd90612553565b801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107da82610d6c565b9050806001600160a01b0316836001600160a01b031614156108645760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107aa565b336001600160a01b03821614806108805750610880813361055f565b6108f25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107aa565b6108fc83836117e2565b505050565b61090b3382611868565b61097d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107aa565b6108fc838383611970565b6006546001600160a01b031633146109e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b600955565b6006546001600160a01b03163314610a415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b600c5447906001600160a01b03166108fc6103e8610a608460646125d6565b610a6a9190612642565b6040518115909202916000818181858888f19350505050158015610a92573d6000803e3d6000fd5b50600b546001600160a01b03166108fc6103e8610ab08460c86125d6565b610aba9190612642565b6040518115909202916000818181858888f19350505050158015610ae2573d6000803e3d6000fd5b50600d546001600160a01b03166108fc6103e8610b01846102bc6125d6565b610b0b9190612642565b6040518115909202916000818181858888f19350505050158015610b33573d6000803e3d6000fd5b5050565b6108fc8383836040518060200160405280600081525061141a565b6006546001600160a01b03163314610bac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b600855565b42600e541115610c035760405162461bcd60e51b815260206004820152600760248201527f4e6f74207965740000000000000000000000000000000000000000000000000060448201526064016107aa565b600954600a54610c14906002612656565b1115610c625760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b3360009081526010602052604090205480610cbf5760405162461bcd60e51b815260206004820152600b60248201527f4c6f77207265736572766500000000000000000000000000000000000000000060448201526064016107aa565b610cd733600a546001610cd29190612656565b611b55565b336000908152601060205260408120819055600a805491610cf78361266e565b919050555050565b6006546001600160a01b03163314610d595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b8051610b339060079060208401906120ba565b6000818152600260205260408120546001600160a01b03168061068c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107aa565b60078054610e0490612553565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3090612553565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b505050505081565b60006001600160a01b038216610f035760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107aa565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6060600180546106a190612553565b6006546001600160a01b031633146110445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b8281146110b95760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107aa565b6000805b848110156110fb578585828181106110d7576110d76126a7565b90506020020135826110e99190612656565b91506110f48161266e565b90506110bd565b5060095481600a5461110d9190612656565b611118906001612656565b11156111665760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b60005b828110156112035760005b868683818110611186576111866126a7565b905060200201358110156111f2576111cc8585848181106111a9576111a96126a7565b90506020020160208101906111be9190612395565b600a54610cd2906001612656565b600a80549060006111dc8361266e565b9190505550806111eb9061266e565b9050611174565b506111fc8161266e565b9050611169565b505050505050565b42600f54111561125d5760405162461bcd60e51b815260206004820152600760248201527f4e6f74207965740000000000000000000000000000000000000000000000000060448201526064016107aa565b60095481600a5461126e9190612656565b611279906001612656565b11156112c75760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b806008546112d591906125d6565b3410156112e157600080fd5b60005b8181101561131c5761130a3382600a5460016113009190612656565b610cd29190612656565b806113148161266e565b9150506112e4565b5080600a600082825461132f9190612656565b909155505050565b6001600160a01b0382163314156113905760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107aa565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114243383611868565b6114965760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107aa565b6114a284848484611b6f565b50505050565b6000818152600260205260409020546060906001600160a01b03166115355760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107aa565b600061153f611bf8565b9050600081511161155f576040518060200160405280600081525061158a565b8061156984611c07565b60405160200161157a9291906126d6565b6040516020818303038152906040525b9392505050565b42600e5411156115e35760405162461bcd60e51b815260206004820152600760248201527f4e6f74207965740000000000000000000000000000000000000000000000000060448201526064016107aa565b60095481600a546115f49190612656565b6115ff906001612656565b111561164d5760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b8060085461165b91906125d6565b34101561166757600080fd5b60005b8181101561131c576116863382600a5460016113009190612656565b806116908161266e565b91505061166a565b6006546001600160a01b031633146116f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b6001600160a01b03811661176e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107aa565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061182f82610d6c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118f25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107aa565b60006118fd83610d6c565b9050806001600160a01b0316846001600160a01b031614806119385750836001600160a01b031661192d84610724565b6001600160a01b0316145b8061196857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661198382610d6c565b6001600160a01b0316146119ff5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107aa565b6001600160a01b038216611a7a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107aa565b611a856000826117e2565b6001600160a01b0383166000908152600360205260408120805460019290611aae908490612705565b90915550506001600160a01b0382166000908152600360205260408120805460019290611adc908490612656565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610b33828260405180602001604052806000815250611d39565b611b7a848484611970565b611b8684848484611dc2565b6114a25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107aa565b6060600780546106a190612553565b606081611c4757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611c715780611c5b8161266e565b9150611c6a9050600a83612642565b9150611c4b565b60008167ffffffffffffffff811115611c8c57611c8c6122a7565b6040519080825280601f01601f191660200182016040528015611cb6576020820181803683370190505b5090505b841561196857611ccb600183612705565b9150611cd8600a8661271c565b611ce3906030612656565b60f81b818381518110611cf857611cf86126a7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611d32600a86612642565b9450611cba565b611d438383611f60565b611d506000848484611dc2565b6108fc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107aa565b60006001600160a01b0384163b15611f55576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611e1f903390899088908890600401612730565b6020604051808303816000875af1925050508015611e5a575060408051601f3d908101601f19168201909252611e579181019061276c565b60015b611f0a573d808015611e88576040519150601f19603f3d011682016040523d82523d6000602084013e611e8d565b606091505b508051611f025760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107aa565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611968565b506001949350505050565b6001600160a01b038216611fb65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107aa565b6000818152600260205260409020546001600160a01b03161561201b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107aa565b6001600160a01b0382166000908152600360205260408120805460019290612044908490612656565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546120c690612553565b90600052602060002090601f0160209004810192826120e8576000855561212e565b82601f1061210157805160ff191683800117855561212e565b8280016001018555821561212e579182015b8281111561212e578251825591602001919060010190612113565b5061213a92915061213e565b5090565b5b8082111561213a576000815560010161213f565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461218157600080fd5b50565b60006020828403121561219657600080fd5b813561158a81612153565b60005b838110156121bc5781810151838201526020016121a4565b838111156114a25750506000910152565b600081518084526121e58160208601602086016121a1565b601f01601f19169290920160200192915050565b60208152600061158a60208301846121cd565b60006020828403121561221e57600080fd5b5035919050565b80356001600160a01b038116811461223c57600080fd5b919050565b6000806040838503121561225457600080fd5b61225d83612225565b946020939093013593505050565b60008060006060848603121561228057600080fd5b61228984612225565b925061229760208501612225565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156122f1576122f16122a7565b604051601f8501601f19908116603f01168101908282118183101715612319576123196122a7565b8160405280935085815286868601111561233257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561235e57600080fd5b813567ffffffffffffffff81111561237557600080fd5b8201601f8101841361238657600080fd5b611968848235602084016122d6565b6000602082840312156123a757600080fd5b61158a82612225565b60008083601f8401126123c257600080fd5b50813567ffffffffffffffff8111156123da57600080fd5b6020830191508360208260051b85010111156123f557600080fd5b9250929050565b6000806000806040858703121561241257600080fd5b843567ffffffffffffffff8082111561242a57600080fd5b612436888389016123b0565b9096509450602087013591508082111561244f57600080fd5b5061245c878288016123b0565b95989497509550505050565b6000806040838503121561247b57600080fd5b61248483612225565b91506020830135801515811461249957600080fd5b809150509250929050565b600080600080608085870312156124ba57600080fd5b6124c385612225565b93506124d160208601612225565b925060408501359150606085013567ffffffffffffffff8111156124f457600080fd5b8501601f8101871361250557600080fd5b612514878235602084016122d6565b91505092959194509250565b6000806040838503121561253357600080fd5b61253c83612225565b915061254a60208401612225565b90509250929050565b600181811c9082168061256757607f821691505b602082108114156125a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561260e5761260e6125a7565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261265157612651612613565b500490565b60008219821115612669576126696125a7565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126a0576126a06125a7565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600083516126e88184602088016121a1565b8351908301906126fc8183602088016121a1565b01949350505050565b600082821015612717576127176125a7565b500390565b60008261272b5761272b612613565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261276260808301846121cd565b9695505050505050565b60006020828403121561277e57600080fd5b815161158a8161215356fea2646970667358221220cc18a478585afc82d3651da9a638d46d302d9559289d21ebbcdeabee9165d8bc64736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f676e6f6d656e6174696f6e2e6e66746170692e6172742f6d6574612f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101d85760003560e01c806355f804b31161010257806396ea3a4711610095578063c87b56dd11610064578063c87b56dd14610511578063c9b298f114610531578063e985e9c514610544578063f2fde38b1461058d57600080fd5b806396ea3a471461049e578063a0712d68146104be578063a22cb465146104d1578063b88d4fde146104f157600080fd5b8063715018a6116100d1578063715018a6146104295780638da5cb5b1461043e5780638f1bca111461045c57806395d89b411461048957600080fd5b806355f804b3146103b45780636352211e146103d45780636c0360eb146103f457806370a082311461040957600080fd5b806318160ddd1161017a57806342842e0e1161014957806342842e0e1461034957806344a0d68a146103695780634e71d92d1461038957806351463d5b1461039e57600080fd5b806318160ddd146102de57806323b872dd146102f45780633b4c4b25146103145780633ccfd60b1461033457600080fd5b8063081812fc116101b6578063081812fc14610258578063095ea7b3146102905780630db4bad0146102b257806313faede6146102c857600080fd5b806301ffc9a7146101dd578063047fc9aa1461021257806306fdde0314610236575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612184565b6105ad565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061022860095481565b604051908152602001610209565b34801561024257600080fd5b5061024b610692565b60405161020991906121f9565b34801561026457600080fd5b5061027861027336600461220c565b610724565b6040516001600160a01b039091168152602001610209565b34801561029c57600080fd5b506102b06102ab366004612241565b6107cf565b005b3480156102be57600080fd5b50610228600e5481565b3480156102d457600080fd5b5061022860085481565b3480156102ea57600080fd5b50610228600a5481565b34801561030057600080fd5b506102b061030f36600461226b565b610901565b34801561032057600080fd5b506102b061032f36600461220c565b610988565b34801561034057600080fd5b506102b06109e7565b34801561035557600080fd5b506102b061036436600461226b565b610b37565b34801561037557600080fd5b506102b061038436600461220c565b610b52565b34801561039557600080fd5b506102b0610bb1565b3480156103aa57600080fd5b50610228600f5481565b3480156103c057600080fd5b506102b06103cf36600461234c565b610cff565b3480156103e057600080fd5b506102786103ef36600461220c565b610d6c565b34801561040057600080fd5b5061024b610df7565b34801561041557600080fd5b50610228610424366004612395565b610e85565b34801561043557600080fd5b506102b0610f1f565b34801561044a57600080fd5b506006546001600160a01b0316610278565b34801561046857600080fd5b50610228610477366004612395565b60106020526000908152604090205481565b34801561049557600080fd5b5061024b610fdb565b3480156104aa57600080fd5b506102b06104b93660046123fc565b610fea565b6102b06104cc36600461220c565b61120b565b3480156104dd57600080fd5b506102b06104ec366004612468565b611337565b3480156104fd57600080fd5b506102b061050c3660046124a4565b61141a565b34801561051d57600080fd5b5061024b61052c36600461220c565b6114a8565b6102b061053f36600461220c565b611591565b34801561055057600080fd5b506101fd61055f366004612520565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059957600080fd5b506102b06105a8366004612395565b611698565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061064057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061068c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546106a190612553565b80601f01602080910402602001604051908101604052809291908181526020018280546106cd90612553565b801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107da82610d6c565b9050806001600160a01b0316836001600160a01b031614156108645760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107aa565b336001600160a01b03821614806108805750610880813361055f565b6108f25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107aa565b6108fc83836117e2565b505050565b61090b3382611868565b61097d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107aa565b6108fc838383611970565b6006546001600160a01b031633146109e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b600955565b6006546001600160a01b03163314610a415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b600c5447906001600160a01b03166108fc6103e8610a608460646125d6565b610a6a9190612642565b6040518115909202916000818181858888f19350505050158015610a92573d6000803e3d6000fd5b50600b546001600160a01b03166108fc6103e8610ab08460c86125d6565b610aba9190612642565b6040518115909202916000818181858888f19350505050158015610ae2573d6000803e3d6000fd5b50600d546001600160a01b03166108fc6103e8610b01846102bc6125d6565b610b0b9190612642565b6040518115909202916000818181858888f19350505050158015610b33573d6000803e3d6000fd5b5050565b6108fc8383836040518060200160405280600081525061141a565b6006546001600160a01b03163314610bac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b600855565b42600e541115610c035760405162461bcd60e51b815260206004820152600760248201527f4e6f74207965740000000000000000000000000000000000000000000000000060448201526064016107aa565b600954600a54610c14906002612656565b1115610c625760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b3360009081526010602052604090205480610cbf5760405162461bcd60e51b815260206004820152600b60248201527f4c6f77207265736572766500000000000000000000000000000000000000000060448201526064016107aa565b610cd733600a546001610cd29190612656565b611b55565b336000908152601060205260408120819055600a805491610cf78361266e565b919050555050565b6006546001600160a01b03163314610d595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b8051610b339060079060208401906120ba565b6000818152600260205260408120546001600160a01b03168061068c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107aa565b60078054610e0490612553565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3090612553565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b505050505081565b60006001600160a01b038216610f035760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107aa565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6060600180546106a190612553565b6006546001600160a01b031633146110445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b8281146110b95760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107aa565b6000805b848110156110fb578585828181106110d7576110d76126a7565b90506020020135826110e99190612656565b91506110f48161266e565b90506110bd565b5060095481600a5461110d9190612656565b611118906001612656565b11156111665760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b60005b828110156112035760005b868683818110611186576111866126a7565b905060200201358110156111f2576111cc8585848181106111a9576111a96126a7565b90506020020160208101906111be9190612395565b600a54610cd2906001612656565b600a80549060006111dc8361266e565b9190505550806111eb9061266e565b9050611174565b506111fc8161266e565b9050611169565b505050505050565b42600f54111561125d5760405162461bcd60e51b815260206004820152600760248201527f4e6f74207965740000000000000000000000000000000000000000000000000060448201526064016107aa565b60095481600a5461126e9190612656565b611279906001612656565b11156112c75760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b806008546112d591906125d6565b3410156112e157600080fd5b60005b8181101561131c5761130a3382600a5460016113009190612656565b610cd29190612656565b806113148161266e565b9150506112e4565b5080600a600082825461132f9190612656565b909155505050565b6001600160a01b0382163314156113905760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107aa565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114243383611868565b6114965760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107aa565b6114a284848484611b6f565b50505050565b6000818152600260205260409020546060906001600160a01b03166115355760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107aa565b600061153f611bf8565b9050600081511161155f576040518060200160405280600081525061158a565b8061156984611c07565b60405160200161157a9291906126d6565b6040516020818303038152906040525b9392505050565b42600e5411156115e35760405162461bcd60e51b815260206004820152600760248201527f4e6f74207965740000000000000000000000000000000000000000000000000060448201526064016107aa565b60095481600a546115f49190612656565b6115ff906001612656565b111561164d5760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016107aa565b8060085461165b91906125d6565b34101561166757600080fd5b60005b8181101561131c576116863382600a5460016113009190612656565b806116908161266e565b91505061166a565b6006546001600160a01b031633146116f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107aa565b6001600160a01b03811661176e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107aa565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061182f82610d6c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118f25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107aa565b60006118fd83610d6c565b9050806001600160a01b0316846001600160a01b031614806119385750836001600160a01b031661192d84610724565b6001600160a01b0316145b8061196857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661198382610d6c565b6001600160a01b0316146119ff5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107aa565b6001600160a01b038216611a7a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107aa565b611a856000826117e2565b6001600160a01b0383166000908152600360205260408120805460019290611aae908490612705565b90915550506001600160a01b0382166000908152600360205260408120805460019290611adc908490612656565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610b33828260405180602001604052806000815250611d39565b611b7a848484611970565b611b8684848484611dc2565b6114a25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107aa565b6060600780546106a190612553565b606081611c4757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611c715780611c5b8161266e565b9150611c6a9050600a83612642565b9150611c4b565b60008167ffffffffffffffff811115611c8c57611c8c6122a7565b6040519080825280601f01601f191660200182016040528015611cb6576020820181803683370190505b5090505b841561196857611ccb600183612705565b9150611cd8600a8661271c565b611ce3906030612656565b60f81b818381518110611cf857611cf86126a7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611d32600a86612642565b9450611cba565b611d438383611f60565b611d506000848484611dc2565b6108fc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107aa565b60006001600160a01b0384163b15611f55576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611e1f903390899088908890600401612730565b6020604051808303816000875af1925050508015611e5a575060408051601f3d908101601f19168201909252611e579181019061276c565b60015b611f0a573d808015611e88576040519150601f19603f3d011682016040523d82523d6000602084013e611e8d565b606091505b508051611f025760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107aa565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611968565b506001949350505050565b6001600160a01b038216611fb65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107aa565b6000818152600260205260409020546001600160a01b03161561201b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107aa565b6001600160a01b0382166000908152600360205260408120805460019290612044908490612656565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546120c690612553565b90600052602060002090601f0160209004810192826120e8576000855561212e565b82601f1061210157805160ff191683800117855561212e565b8280016001018555821561212e579182015b8281111561212e578251825591602001919060010190612113565b5061213a92915061213e565b5090565b5b8082111561213a576000815560010161213f565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461218157600080fd5b50565b60006020828403121561219657600080fd5b813561158a81612153565b60005b838110156121bc5781810151838201526020016121a4565b838111156114a25750506000910152565b600081518084526121e58160208601602086016121a1565b601f01601f19169290920160200192915050565b60208152600061158a60208301846121cd565b60006020828403121561221e57600080fd5b5035919050565b80356001600160a01b038116811461223c57600080fd5b919050565b6000806040838503121561225457600080fd5b61225d83612225565b946020939093013593505050565b60008060006060848603121561228057600080fd5b61228984612225565b925061229760208501612225565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156122f1576122f16122a7565b604051601f8501601f19908116603f01168101908282118183101715612319576123196122a7565b8160405280935085815286868601111561233257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561235e57600080fd5b813567ffffffffffffffff81111561237557600080fd5b8201601f8101841361238657600080fd5b611968848235602084016122d6565b6000602082840312156123a757600080fd5b61158a82612225565b60008083601f8401126123c257600080fd5b50813567ffffffffffffffff8111156123da57600080fd5b6020830191508360208260051b85010111156123f557600080fd5b9250929050565b6000806000806040858703121561241257600080fd5b843567ffffffffffffffff8082111561242a57600080fd5b612436888389016123b0565b9096509450602087013591508082111561244f57600080fd5b5061245c878288016123b0565b95989497509550505050565b6000806040838503121561247b57600080fd5b61248483612225565b91506020830135801515811461249957600080fd5b809150509250929050565b600080600080608085870312156124ba57600080fd5b6124c385612225565b93506124d160208601612225565b925060408501359150606085013567ffffffffffffffff8111156124f457600080fd5b8501601f8101871361250557600080fd5b612514878235602084016122d6565b91505092959194509250565b6000806040838503121561253357600080fd5b61253c83612225565b915061254a60208401612225565b90509250929050565b600181811c9082168061256757607f821691505b602082108114156125a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561260e5761260e6125a7565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261265157612651612613565b500490565b60008219821115612669576126696125a7565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126a0576126a06125a7565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600083516126e88184602088016121a1565b8351908301906126fc8183602088016121a1565b01949350505050565b600082821015612717576127176125a7565b500390565b60008261272b5761272b612613565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261276260808301846121cd565b9695505050505050565b60006020828403121561277e57600080fd5b815161158a8161215356fea2646970667358221220cc18a478585afc82d3651da9a638d46d302d9559289d21ebbcdeabee9165d8bc64736f6c634300080b0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f676e6f6d656e6174696f6e2e6e66746170692e6172742f6d6574612f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://gnomenation.nftapi.art/meta/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [2] : 68747470733a2f2f676e6f6d656e6174696f6e2e6e66746170692e6172742f6d
Arg [3] : 6574612f00000000000000000000000000000000000000000000000000000000


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.