ETH Price: $3,717.47 (+4.36%)

Token

ERC-20: SkullsOnETH (SOE)
 

Overview

Max Total Supply

300 SOE

Holders

49

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
nfthesenuts.eth
Balance
1 SOE
0x344FE9F763cAaf65c7e2ef1add5f4E5C9C684e05
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:
SkullsOnETH

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

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

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

contract SkullsOnETH is ERC721,Ownable {
  mapping(string => uint8) mintedMediaHashes;
  mapping(uint256 => uint256) mintedTokenIds;
  mapping(uint256 => string) metadataHashes;
  string contractMetadataHash;
  uint256 private maxTokenAmount = 365;
  uint256[] private _allTokens;
  mapping(uint256 => uint256) private _allTokensIndex;

  constructor() ERC721("SkullsOnETH", "SOE") {}

  function _baseURI() internal view virtual override returns (string memory) {
    /* Return baseURI */
    return "ipfs://";
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
    require(bytes(metadataHashes[tokenId]).length != 0, "ERC721Metadata: URI query for nonexistent metadata hash");
    require (totalSupply() <= getMaxTokenAmount(), "ERC721: max amount of mintable tokens reached");

    string memory baseURI = _baseURI();
    return bytes(baseURI).length > 0
      ? string(abi.encodePacked(baseURI, metadataHashes[tokenId]))
      : 'no tokenURI found';
  }

  function contractURI() public pure returns (string memory) {
    return "ipfs://QmZ4SvtxXUti5Mr2nvPaKEgsxU7XaRMqJPUf5et6SrdRNw";
  }
  
  function mintToken(address recipient, uint256 tokenId, string memory metadataHash, string memory mediaHash ) 
  public 
  onlyOwner 
  returns (uint256) {
    require(mintedMediaHashes[mediaHash] != 1, "ERC721: mediaHash was already minted");
    require(mintedTokenIds[tokenId] != 1, "ERC721: tokenId was already minted");
    
    mintedMediaHashes[mediaHash] = 1;
    mintedTokenIds[tokenId] = 1;
    metadataHashes[tokenId] = metadataHash;
    
    _mint(recipient, tokenId);

    return tokenId;
  }

  function getMaxTokenAmount() public view returns (uint256) {
    return maxTokenAmount;
  }

  function totalSupply() public view returns (uint256) {
    return _allTokens.length;
  }

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

      if (from == address(0)) {
          _addTokenToAllTokensEnumeration(tokenId);
      }
  }

  function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
      _allTokensIndex[tokenId] = _allTokens.length;
      _allTokens.push(tokenId);
  }
}

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

File 3 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 4 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 5 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 6 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 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 : 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 9 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 10 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 11 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 12 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"metadataHash","type":"string"},{"internalType":"string","name":"mediaHash","type":"string"}],"name":"mintToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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"}]

608060405261016d600b553480156200001757600080fd5b506040518060400160405280600b81526020017f536b756c6c734f6e4554480000000000000000000000000000000000000000008152506040518060400160405280600381526020017f534f45000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009c92919062000177565b508060019080519060200190620000b592919062000177565b5050506000620000ca6200016f60201b60201c565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200028c565b600033905090565b828054620001859062000227565b90600052602060002090601f016020900481019282620001a95760008555620001f5565b82601f10620001c457805160ff1916838001178555620001f5565b82800160010185558215620001f5579182015b82811115620001f4578251825591602001919060010190620001d7565b5b50905062000204919062000208565b5090565b5b808211156200022357600081600090555060010162000209565b5090565b600060028204905060018216806200024057607f821691505b602082108114156200025757620002566200025d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6131a5806200029c6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063c87b56dd11610071578063c87b56dd1461032f578063e8a3d4851461035f578063e985e9c51461037d578063f0ecf4c1146103ad578063f2fde38b146103cb5761012c565b8063715018a6146102b15780638da5cb5b146102bb57806395d89b41146102d9578063a22cb465146102f7578063b88d4fde146103135761012c565b806318160ddd116100f457806318160ddd146101fb57806323b872dd1461021957806342842e0e146102355780636352211e1461025157806370a08231146102815761012c565b806301ffc9a71461013157806302c9be4a1461016157806306fdde0314610191578063081812fc146101af578063095ea7b3146101df575b600080fd5b61014b6004803603810190610146919061202a565b6103e7565b6040516101589190612552565b60405180910390f35b61017b60048036038101906101769190611f97565b6104c9565b604051610188919061280f565b60405180910390f35b61019961069e565b6040516101a6919061256d565b60405180910390f35b6101c960048036038101906101c4919061207c565b610730565b6040516101d691906124eb565b60405180910390f35b6101f960048036038101906101f49190611f5b565b6107b5565b005b6102036108cd565b604051610210919061280f565b60405180910390f35b610233600480360381019061022e9190611e55565b6108da565b005b61024f600480360381019061024a9190611e55565b61093a565b005b61026b6004803603810190610266919061207c565b61095a565b60405161027891906124eb565b60405180910390f35b61029b60048036038101906102969190611df0565b610a0c565b6040516102a8919061280f565b60405180910390f35b6102b9610ac4565b005b6102c3610c01565b6040516102d091906124eb565b60405180910390f35b6102e1610c2b565b6040516102ee919061256d565b60405180910390f35b610311600480360381019061030c9190611f1f565b610cbd565b005b61032d60048036038101906103289190611ea4565b610e3e565b005b6103496004803603810190610344919061207c565b610ea0565b604051610356919061256d565b60405180910390f35b61036761102b565b604051610374919061256d565b60405180910390f35b61039760048036038101906103929190611e19565b61104b565b6040516103a49190612552565b60405180910390f35b6103b56110df565b6040516103c2919061280f565b60405180910390f35b6103e560048036038101906103e09190611df0565b6110e9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104b257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104c257506104c182611295565b5b9050919050565b60006104d36112ff565b73ffffffffffffffffffffffffffffffffffffffff166104f1610c01565b73ffffffffffffffffffffffffffffffffffffffff1614610547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053e9061272f565b60405180910390fd5b600160078360405161055991906124b0565b908152602001604051809103902060009054906101000a900460ff1660ff1614156105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b09061260f565b60405180910390fd5b600160086000868152602001908152602001600020541415610610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610607906127ef565b60405180910390fd5b600160078360405161062291906124b0565b908152602001604051809103902060006101000a81548160ff021916908360ff1602179055506001600860008681526020019081526020016000208190555082600960008681526020019081526020016000209080519060200190610688929190611c14565b506106938585611307565b839050949350505050565b6060600080546106ad90612a49565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990612a49565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b5050505050905090565b600061073b826114d5565b61077a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107719061270f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c08261095a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610831576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108289061278f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108506112ff565b73ffffffffffffffffffffffffffffffffffffffff16148061087f575061087e816108796112ff565b61104b565b5b6108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b59061268f565b60405180910390fd5b6108c88383611541565b505050565b6000600c80549050905090565b6108eb6108e56112ff565b826115fa565b61092a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610921906127cf565b60405180910390fd5b6109358383836116d8565b505050565b61095583838360405180602001604052806000815250610e3e565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa906126cf565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a74906126af565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610acc6112ff565b73ffffffffffffffffffffffffffffffffffffffff16610aea610c01565b73ffffffffffffffffffffffffffffffffffffffff1614610b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b379061272f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c3a90612a49565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6690612a49565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b5050505050905090565b610cc56112ff565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a9061264f565b60405180910390fd5b8060056000610d406112ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610ded6112ff565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e329190612552565b60405180910390a35050565b610e4f610e496112ff565b836115fa565b610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e85906127cf565b60405180910390fd5b610e9a84848484611934565b50505050565b6060610eab826114d5565b610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee19061276f565b60405180910390fd5b6000600960008481526020019081526020016000208054610f0a90612a49565b90501415610f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f44906127af565b60405180910390fd5b610f556110df565b610f5d6108cd565b1115610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f95906125cf565b60405180910390fd5b6000610fa8611990565b90506000815111610fee576040518060400160405280601181526020017f6e6f20746f6b656e55524920666f756e64000000000000000000000000000000815250611023565b80600960008581526020019081526020016000206040516020016110139291906124c7565b6040516020818303038152906040525b915050919050565b606060405180606001604052806035815260200161313b60359139905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600b54905090565b6110f16112ff565b73ffffffffffffffffffffffffffffffffffffffff1661110f610c01565b73ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c9061272f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc906125af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136e906126ef565b60405180910390fd5b611380816114d5565b156113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b7906125ef565b60405180910390fd5b6113cc600083836119cd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141c9190612909565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166115b48361095a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611605826114d5565b611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163b9061266f565b60405180910390fd5b600061164f8361095a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116be57508373ffffffffffffffffffffffffffffffffffffffff166116a684610730565b73ffffffffffffffffffffffffffffffffffffffff16145b806116cf57506116ce818561104b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166116f88261095a565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117459061274f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b59061262f565b60405180910390fd5b6117c98383836119cd565b6117d4600082611541565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611824919061295f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187b9190612909565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61193f8484846116d8565b61194b84848484611a1c565b61198a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119819061258f565b60405180910390fd5b50505050565b60606040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250905090565b6119d8838383611bb3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a1757611a1681611bb8565b5b505050565b6000611a3d8473ffffffffffffffffffffffffffffffffffffffff16611c01565b15611ba6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a666112ff565b8786866040518563ffffffff1660e01b8152600401611a889493929190612506565b602060405180830381600087803b158015611aa257600080fd5b505af1925050508015611ad357506040513d601f19601f82011682018060405250810190611ad09190612053565b60015b611b56573d8060008114611b03576040519150601f19603f3d011682016040523d82523d6000602084013e611b08565b606091505b50600081511415611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b459061258f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611bab565b600190505b949350505050565b505050565b600c80549050600d600083815260200190815260200160002081905550600c81908060018154018082558091505060019003906000526020600020016000909190919091505550565b600080823b905060008111915050919050565b828054611c2090612a49565b90600052602060002090601f016020900481019282611c425760008555611c89565b82601f10611c5b57805160ff1916838001178555611c89565b82800160010185558215611c89579182015b82811115611c88578251825591602001919060010190611c6d565b5b509050611c969190611c9a565b5090565b5b80821115611cb3576000816000905550600101611c9b565b5090565b6000611cca611cc58461284f565b61282a565b905082815260208101848484011115611ce257600080fd5b611ced848285612a07565b509392505050565b6000611d08611d0384612880565b61282a565b905082815260208101848484011115611d2057600080fd5b611d2b848285612a07565b509392505050565b600081359050611d42816130de565b92915050565b600081359050611d57816130f5565b92915050565b600081359050611d6c8161310c565b92915050565b600081519050611d818161310c565b92915050565b600082601f830112611d9857600080fd5b8135611da8848260208601611cb7565b91505092915050565b600082601f830112611dc257600080fd5b8135611dd2848260208601611cf5565b91505092915050565b600081359050611dea81613123565b92915050565b600060208284031215611e0257600080fd5b6000611e1084828501611d33565b91505092915050565b60008060408385031215611e2c57600080fd5b6000611e3a85828601611d33565b9250506020611e4b85828601611d33565b9150509250929050565b600080600060608486031215611e6a57600080fd5b6000611e7886828701611d33565b9350506020611e8986828701611d33565b9250506040611e9a86828701611ddb565b9150509250925092565b60008060008060808587031215611eba57600080fd5b6000611ec887828801611d33565b9450506020611ed987828801611d33565b9350506040611eea87828801611ddb565b925050606085013567ffffffffffffffff811115611f0757600080fd5b611f1387828801611d87565b91505092959194509250565b60008060408385031215611f3257600080fd5b6000611f4085828601611d33565b9250506020611f5185828601611d48565b9150509250929050565b60008060408385031215611f6e57600080fd5b6000611f7c85828601611d33565b9250506020611f8d85828601611ddb565b9150509250929050565b60008060008060808587031215611fad57600080fd5b6000611fbb87828801611d33565b9450506020611fcc87828801611ddb565b935050604085013567ffffffffffffffff811115611fe957600080fd5b611ff587828801611db1565b925050606085013567ffffffffffffffff81111561201257600080fd5b61201e87828801611db1565b91505092959194509250565b60006020828403121561203c57600080fd5b600061204a84828501611d5d565b91505092915050565b60006020828403121561206557600080fd5b600061207384828501611d72565b91505092915050565b60006020828403121561208e57600080fd5b600061209c84828501611ddb565b91505092915050565b6120ae81612993565b82525050565b6120bd816129a5565b82525050565b60006120ce826128c6565b6120d881856128dc565b93506120e8818560208601612a16565b6120f181612b39565b840191505092915050565b6000612107826128d1565b61211181856128ed565b9350612121818560208601612a16565b61212a81612b39565b840191505092915050565b6000612140826128d1565b61214a81856128fe565b935061215a818560208601612a16565b80840191505092915050565b6000815461217381612a49565b61217d81866128fe565b9450600182166000811461219857600181146121a9576121dc565b60ff198316865281860193506121dc565b6121b2856128b1565b60005b838110156121d4578154818901526001820191506020810190506121b5565b838801955050505b50505092915050565b60006121f26032836128ed565b91506121fd82612b4a565b604082019050919050565b60006122156026836128ed565b915061222082612b99565b604082019050919050565b6000612238602d836128ed565b915061224382612be8565b604082019050919050565b600061225b601c836128ed565b915061226682612c37565b602082019050919050565b600061227e6024836128ed565b915061228982612c60565b604082019050919050565b60006122a16024836128ed565b91506122ac82612caf565b604082019050919050565b60006122c46019836128ed565b91506122cf82612cfe565b602082019050919050565b60006122e7602c836128ed565b91506122f282612d27565b604082019050919050565b600061230a6038836128ed565b915061231582612d76565b604082019050919050565b600061232d602a836128ed565b915061233882612dc5565b604082019050919050565b60006123506029836128ed565b915061235b82612e14565b604082019050919050565b60006123736020836128ed565b915061237e82612e63565b602082019050919050565b6000612396602c836128ed565b91506123a182612e8c565b604082019050919050565b60006123b96020836128ed565b91506123c482612edb565b602082019050919050565b60006123dc6029836128ed565b91506123e782612f04565b604082019050919050565b60006123ff602f836128ed565b915061240a82612f53565b604082019050919050565b60006124226021836128ed565b915061242d82612fa2565b604082019050919050565b60006124456037836128ed565b915061245082612ff1565b604082019050919050565b60006124686031836128ed565b915061247382613040565b604082019050919050565b600061248b6022836128ed565b91506124968261308f565b604082019050919050565b6124aa816129fd565b82525050565b60006124bc8284612135565b915081905092915050565b60006124d38285612135565b91506124df8284612166565b91508190509392505050565b600060208201905061250060008301846120a5565b92915050565b600060808201905061251b60008301876120a5565b61252860208301866120a5565b61253560408301856124a1565b818103606083015261254781846120c3565b905095945050505050565b600060208201905061256760008301846120b4565b92915050565b6000602082019050818103600083015261258781846120fc565b905092915050565b600060208201905081810360008301526125a8816121e5565b9050919050565b600060208201905081810360008301526125c881612208565b9050919050565b600060208201905081810360008301526125e88161222b565b9050919050565b600060208201905081810360008301526126088161224e565b9050919050565b6000602082019050818103600083015261262881612271565b9050919050565b6000602082019050818103600083015261264881612294565b9050919050565b60006020820190508181036000830152612668816122b7565b9050919050565b60006020820190508181036000830152612688816122da565b9050919050565b600060208201905081810360008301526126a8816122fd565b9050919050565b600060208201905081810360008301526126c881612320565b9050919050565b600060208201905081810360008301526126e881612343565b9050919050565b6000602082019050818103600083015261270881612366565b9050919050565b6000602082019050818103600083015261272881612389565b9050919050565b60006020820190508181036000830152612748816123ac565b9050919050565b60006020820190508181036000830152612768816123cf565b9050919050565b60006020820190508181036000830152612788816123f2565b9050919050565b600060208201905081810360008301526127a881612415565b9050919050565b600060208201905081810360008301526127c881612438565b9050919050565b600060208201905081810360008301526127e88161245b565b9050919050565b600060208201905081810360008301526128088161247e565b9050919050565b600060208201905061282460008301846124a1565b92915050565b6000612834612845565b90506128408282612a7b565b919050565b6000604051905090565b600067ffffffffffffffff82111561286a57612869612b0a565b5b61287382612b39565b9050602081019050919050565b600067ffffffffffffffff82111561289b5761289a612b0a565b5b6128a482612b39565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612914826129fd565b915061291f836129fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561295457612953612aac565b5b828201905092915050565b600061296a826129fd565b9150612975836129fd565b92508282101561298857612987612aac565b5b828203905092915050565b600061299e826129dd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a34578082015181840152602081019050612a19565b83811115612a43576000848401525b50505050565b60006002820490506001821680612a6157607f821691505b60208210811415612a7557612a74612adb565b5b50919050565b612a8482612b39565b810181811067ffffffffffffffff82111715612aa357612aa2612b0a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d617820616d6f756e74206f66206d696e7461626c65207460008201527f6f6b656e73207265616368656400000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a206d65646961486173682077617320616c7265616479206d6960008201527f6e74656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e74206d657461646174612068617368000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e49642077617320616c7265616479206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6130e781612993565b81146130f257600080fd5b50565b6130fe816129a5565b811461310957600080fd5b50565b613115816129b1565b811461312057600080fd5b50565b61312c816129fd565b811461313757600080fd5b5056fe697066733a2f2f516d5a345376747858557469354d72326e7650614b4567737855375861524d714a50556635657436537264524e77a264697066735822122037a569f13f60f5b07f4aa79755f932d73b4f9749bc001a88e225975cc87a690564736f6c63430008030033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063c87b56dd11610071578063c87b56dd1461032f578063e8a3d4851461035f578063e985e9c51461037d578063f0ecf4c1146103ad578063f2fde38b146103cb5761012c565b8063715018a6146102b15780638da5cb5b146102bb57806395d89b41146102d9578063a22cb465146102f7578063b88d4fde146103135761012c565b806318160ddd116100f457806318160ddd146101fb57806323b872dd1461021957806342842e0e146102355780636352211e1461025157806370a08231146102815761012c565b806301ffc9a71461013157806302c9be4a1461016157806306fdde0314610191578063081812fc146101af578063095ea7b3146101df575b600080fd5b61014b6004803603810190610146919061202a565b6103e7565b6040516101589190612552565b60405180910390f35b61017b60048036038101906101769190611f97565b6104c9565b604051610188919061280f565b60405180910390f35b61019961069e565b6040516101a6919061256d565b60405180910390f35b6101c960048036038101906101c4919061207c565b610730565b6040516101d691906124eb565b60405180910390f35b6101f960048036038101906101f49190611f5b565b6107b5565b005b6102036108cd565b604051610210919061280f565b60405180910390f35b610233600480360381019061022e9190611e55565b6108da565b005b61024f600480360381019061024a9190611e55565b61093a565b005b61026b6004803603810190610266919061207c565b61095a565b60405161027891906124eb565b60405180910390f35b61029b60048036038101906102969190611df0565b610a0c565b6040516102a8919061280f565b60405180910390f35b6102b9610ac4565b005b6102c3610c01565b6040516102d091906124eb565b60405180910390f35b6102e1610c2b565b6040516102ee919061256d565b60405180910390f35b610311600480360381019061030c9190611f1f565b610cbd565b005b61032d60048036038101906103289190611ea4565b610e3e565b005b6103496004803603810190610344919061207c565b610ea0565b604051610356919061256d565b60405180910390f35b61036761102b565b604051610374919061256d565b60405180910390f35b61039760048036038101906103929190611e19565b61104b565b6040516103a49190612552565b60405180910390f35b6103b56110df565b6040516103c2919061280f565b60405180910390f35b6103e560048036038101906103e09190611df0565b6110e9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104b257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104c257506104c182611295565b5b9050919050565b60006104d36112ff565b73ffffffffffffffffffffffffffffffffffffffff166104f1610c01565b73ffffffffffffffffffffffffffffffffffffffff1614610547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053e9061272f565b60405180910390fd5b600160078360405161055991906124b0565b908152602001604051809103902060009054906101000a900460ff1660ff1614156105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b09061260f565b60405180910390fd5b600160086000868152602001908152602001600020541415610610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610607906127ef565b60405180910390fd5b600160078360405161062291906124b0565b908152602001604051809103902060006101000a81548160ff021916908360ff1602179055506001600860008681526020019081526020016000208190555082600960008681526020019081526020016000209080519060200190610688929190611c14565b506106938585611307565b839050949350505050565b6060600080546106ad90612a49565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990612a49565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b5050505050905090565b600061073b826114d5565b61077a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107719061270f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c08261095a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610831576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108289061278f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108506112ff565b73ffffffffffffffffffffffffffffffffffffffff16148061087f575061087e816108796112ff565b61104b565b5b6108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b59061268f565b60405180910390fd5b6108c88383611541565b505050565b6000600c80549050905090565b6108eb6108e56112ff565b826115fa565b61092a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610921906127cf565b60405180910390fd5b6109358383836116d8565b505050565b61095583838360405180602001604052806000815250610e3e565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fa906126cf565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a74906126af565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610acc6112ff565b73ffffffffffffffffffffffffffffffffffffffff16610aea610c01565b73ffffffffffffffffffffffffffffffffffffffff1614610b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b379061272f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c3a90612a49565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6690612a49565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b5050505050905090565b610cc56112ff565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a9061264f565b60405180910390fd5b8060056000610d406112ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610ded6112ff565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e329190612552565b60405180910390a35050565b610e4f610e496112ff565b836115fa565b610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e85906127cf565b60405180910390fd5b610e9a84848484611934565b50505050565b6060610eab826114d5565b610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee19061276f565b60405180910390fd5b6000600960008481526020019081526020016000208054610f0a90612a49565b90501415610f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f44906127af565b60405180910390fd5b610f556110df565b610f5d6108cd565b1115610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f95906125cf565b60405180910390fd5b6000610fa8611990565b90506000815111610fee576040518060400160405280601181526020017f6e6f20746f6b656e55524920666f756e64000000000000000000000000000000815250611023565b80600960008581526020019081526020016000206040516020016110139291906124c7565b6040516020818303038152906040525b915050919050565b606060405180606001604052806035815260200161313b60359139905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600b54905090565b6110f16112ff565b73ffffffffffffffffffffffffffffffffffffffff1661110f610c01565b73ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c9061272f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc906125af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136e906126ef565b60405180910390fd5b611380816114d5565b156113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b7906125ef565b60405180910390fd5b6113cc600083836119cd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141c9190612909565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166115b48361095a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611605826114d5565b611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163b9061266f565b60405180910390fd5b600061164f8361095a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116be57508373ffffffffffffffffffffffffffffffffffffffff166116a684610730565b73ffffffffffffffffffffffffffffffffffffffff16145b806116cf57506116ce818561104b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166116f88261095a565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117459061274f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b59061262f565b60405180910390fd5b6117c98383836119cd565b6117d4600082611541565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611824919061295f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187b9190612909565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61193f8484846116d8565b61194b84848484611a1c565b61198a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119819061258f565b60405180910390fd5b50505050565b60606040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250905090565b6119d8838383611bb3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a1757611a1681611bb8565b5b505050565b6000611a3d8473ffffffffffffffffffffffffffffffffffffffff16611c01565b15611ba6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611a666112ff565b8786866040518563ffffffff1660e01b8152600401611a889493929190612506565b602060405180830381600087803b158015611aa257600080fd5b505af1925050508015611ad357506040513d601f19601f82011682018060405250810190611ad09190612053565b60015b611b56573d8060008114611b03576040519150601f19603f3d011682016040523d82523d6000602084013e611b08565b606091505b50600081511415611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b459061258f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611bab565b600190505b949350505050565b505050565b600c80549050600d600083815260200190815260200160002081905550600c81908060018154018082558091505060019003906000526020600020016000909190919091505550565b600080823b905060008111915050919050565b828054611c2090612a49565b90600052602060002090601f016020900481019282611c425760008555611c89565b82601f10611c5b57805160ff1916838001178555611c89565b82800160010185558215611c89579182015b82811115611c88578251825591602001919060010190611c6d565b5b509050611c969190611c9a565b5090565b5b80821115611cb3576000816000905550600101611c9b565b5090565b6000611cca611cc58461284f565b61282a565b905082815260208101848484011115611ce257600080fd5b611ced848285612a07565b509392505050565b6000611d08611d0384612880565b61282a565b905082815260208101848484011115611d2057600080fd5b611d2b848285612a07565b509392505050565b600081359050611d42816130de565b92915050565b600081359050611d57816130f5565b92915050565b600081359050611d6c8161310c565b92915050565b600081519050611d818161310c565b92915050565b600082601f830112611d9857600080fd5b8135611da8848260208601611cb7565b91505092915050565b600082601f830112611dc257600080fd5b8135611dd2848260208601611cf5565b91505092915050565b600081359050611dea81613123565b92915050565b600060208284031215611e0257600080fd5b6000611e1084828501611d33565b91505092915050565b60008060408385031215611e2c57600080fd5b6000611e3a85828601611d33565b9250506020611e4b85828601611d33565b9150509250929050565b600080600060608486031215611e6a57600080fd5b6000611e7886828701611d33565b9350506020611e8986828701611d33565b9250506040611e9a86828701611ddb565b9150509250925092565b60008060008060808587031215611eba57600080fd5b6000611ec887828801611d33565b9450506020611ed987828801611d33565b9350506040611eea87828801611ddb565b925050606085013567ffffffffffffffff811115611f0757600080fd5b611f1387828801611d87565b91505092959194509250565b60008060408385031215611f3257600080fd5b6000611f4085828601611d33565b9250506020611f5185828601611d48565b9150509250929050565b60008060408385031215611f6e57600080fd5b6000611f7c85828601611d33565b9250506020611f8d85828601611ddb565b9150509250929050565b60008060008060808587031215611fad57600080fd5b6000611fbb87828801611d33565b9450506020611fcc87828801611ddb565b935050604085013567ffffffffffffffff811115611fe957600080fd5b611ff587828801611db1565b925050606085013567ffffffffffffffff81111561201257600080fd5b61201e87828801611db1565b91505092959194509250565b60006020828403121561203c57600080fd5b600061204a84828501611d5d565b91505092915050565b60006020828403121561206557600080fd5b600061207384828501611d72565b91505092915050565b60006020828403121561208e57600080fd5b600061209c84828501611ddb565b91505092915050565b6120ae81612993565b82525050565b6120bd816129a5565b82525050565b60006120ce826128c6565b6120d881856128dc565b93506120e8818560208601612a16565b6120f181612b39565b840191505092915050565b6000612107826128d1565b61211181856128ed565b9350612121818560208601612a16565b61212a81612b39565b840191505092915050565b6000612140826128d1565b61214a81856128fe565b935061215a818560208601612a16565b80840191505092915050565b6000815461217381612a49565b61217d81866128fe565b9450600182166000811461219857600181146121a9576121dc565b60ff198316865281860193506121dc565b6121b2856128b1565b60005b838110156121d4578154818901526001820191506020810190506121b5565b838801955050505b50505092915050565b60006121f26032836128ed565b91506121fd82612b4a565b604082019050919050565b60006122156026836128ed565b915061222082612b99565b604082019050919050565b6000612238602d836128ed565b915061224382612be8565b604082019050919050565b600061225b601c836128ed565b915061226682612c37565b602082019050919050565b600061227e6024836128ed565b915061228982612c60565b604082019050919050565b60006122a16024836128ed565b91506122ac82612caf565b604082019050919050565b60006122c46019836128ed565b91506122cf82612cfe565b602082019050919050565b60006122e7602c836128ed565b91506122f282612d27565b604082019050919050565b600061230a6038836128ed565b915061231582612d76565b604082019050919050565b600061232d602a836128ed565b915061233882612dc5565b604082019050919050565b60006123506029836128ed565b915061235b82612e14565b604082019050919050565b60006123736020836128ed565b915061237e82612e63565b602082019050919050565b6000612396602c836128ed565b91506123a182612e8c565b604082019050919050565b60006123b96020836128ed565b91506123c482612edb565b602082019050919050565b60006123dc6029836128ed565b91506123e782612f04565b604082019050919050565b60006123ff602f836128ed565b915061240a82612f53565b604082019050919050565b60006124226021836128ed565b915061242d82612fa2565b604082019050919050565b60006124456037836128ed565b915061245082612ff1565b604082019050919050565b60006124686031836128ed565b915061247382613040565b604082019050919050565b600061248b6022836128ed565b91506124968261308f565b604082019050919050565b6124aa816129fd565b82525050565b60006124bc8284612135565b915081905092915050565b60006124d38285612135565b91506124df8284612166565b91508190509392505050565b600060208201905061250060008301846120a5565b92915050565b600060808201905061251b60008301876120a5565b61252860208301866120a5565b61253560408301856124a1565b818103606083015261254781846120c3565b905095945050505050565b600060208201905061256760008301846120b4565b92915050565b6000602082019050818103600083015261258781846120fc565b905092915050565b600060208201905081810360008301526125a8816121e5565b9050919050565b600060208201905081810360008301526125c881612208565b9050919050565b600060208201905081810360008301526125e88161222b565b9050919050565b600060208201905081810360008301526126088161224e565b9050919050565b6000602082019050818103600083015261262881612271565b9050919050565b6000602082019050818103600083015261264881612294565b9050919050565b60006020820190508181036000830152612668816122b7565b9050919050565b60006020820190508181036000830152612688816122da565b9050919050565b600060208201905081810360008301526126a8816122fd565b9050919050565b600060208201905081810360008301526126c881612320565b9050919050565b600060208201905081810360008301526126e881612343565b9050919050565b6000602082019050818103600083015261270881612366565b9050919050565b6000602082019050818103600083015261272881612389565b9050919050565b60006020820190508181036000830152612748816123ac565b9050919050565b60006020820190508181036000830152612768816123cf565b9050919050565b60006020820190508181036000830152612788816123f2565b9050919050565b600060208201905081810360008301526127a881612415565b9050919050565b600060208201905081810360008301526127c881612438565b9050919050565b600060208201905081810360008301526127e88161245b565b9050919050565b600060208201905081810360008301526128088161247e565b9050919050565b600060208201905061282460008301846124a1565b92915050565b6000612834612845565b90506128408282612a7b565b919050565b6000604051905090565b600067ffffffffffffffff82111561286a57612869612b0a565b5b61287382612b39565b9050602081019050919050565b600067ffffffffffffffff82111561289b5761289a612b0a565b5b6128a482612b39565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612914826129fd565b915061291f836129fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561295457612953612aac565b5b828201905092915050565b600061296a826129fd565b9150612975836129fd565b92508282101561298857612987612aac565b5b828203905092915050565b600061299e826129dd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a34578082015181840152602081019050612a19565b83811115612a43576000848401525b50505050565b60006002820490506001821680612a6157607f821691505b60208210811415612a7557612a74612adb565b5b50919050565b612a8482612b39565b810181811067ffffffffffffffff82111715612aa357612aa2612b0a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d617820616d6f756e74206f66206d696e7461626c65207460008201527f6f6b656e73207265616368656400000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a206d65646961486173682077617320616c7265616479206d6960008201527f6e74656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e74206d657461646174612068617368000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e49642077617320616c7265616479206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6130e781612993565b81146130f257600080fd5b50565b6130fe816129a5565b811461310957600080fd5b50565b613115816129b1565b811461312057600080fd5b50565b61312c816129fd565b811461313757600080fd5b5056fe697066733a2f2f516d5a345376747858557469354d72326e7650614b4567737855375861524d714a50556635657436537264524e77a264697066735822122037a569f13f60f5b07f4aa79755f932d73b4f9749bc001a88e225975cc87a690564736f6c63430008030033

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.